dmime/tests: Avoid discarding old notifications in test.
[wine.git] / configure
blobce5019f76a97877eb4b037b5134bbadb1f585de7
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.71 for Wine 8.20.
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.20'
615 PACKAGE_STRING='Wine 8.20'
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 FLUIDSYNTH_PE_LIBS
744 FLUIDSYNTH_PE_CFLAGS
745 FAUDIO_PE_LIBS
746 FAUDIO_PE_CFLAGS
747 MINGW_PKG_CONFIG
748 PE_ARCHS
749 WINELOADER_DEPENDS
750 ac_ct_OBJC
751 OBJCFLAGS
752 OBJC
753 OPENCL_LIBS
754 COREAUDIO_LIBS
755 SYSTEMCONFIGURATION_LIBS
756 SECURITY_LIBS
757 APPKIT_LIBS
758 CORESERVICES_LIBS
759 APPLICATIONSERVICES_LIBS
760 METAL_LIBS
761 IOKIT_LIBS
762 DISKARBITRATION_LIBS
763 COREFOUNDATION_LIBS
764 CARBON_LIBS
765 CONFIGURE_TARGETS
766 DISABLED_SUBDIRS
767 SUBDIRS
768 READELF
769 OTOOL
771 DLLEXT
772 WINEPRELOADER_LDFLAGS
773 WINELOADER_LDFLAGS
774 TOP_INSTALL_DEV
775 TOP_INSTALL_LIB
776 UNIXLDFLAGS
777 UNIXDLLFLAGS
778 EXTRACFLAGS
779 LDEXECFLAGS
780 LDDLLFLAGS
781 DLLFLAGS
782 OPENGL_LIBS
783 I386_LIBS
784 ICOTOOL
785 CONVERT
786 RSVG
787 FONTFORGE
788 PKG_CONFIG
789 MSGFMT
790 LDCONFIG
791 EGREP
792 GREP
793 LN_S
794 RANLIB
795 STRIP
796 ac_ct_AR
798 BISON
799 FLEX
800 SED_CMD
801 RUNTESTFLAGS
802 MAKEDEP
803 toolsdir
804 x86_64_DISABLED_SUBDIRS
805 x86_64_DELAYLOADFLAG
806 x86_64_TARGET
807 x86_64_DEBUG
808 x86_64_LDFLAGS
809 x86_64_EXTRACFLAGS
810 x86_64_CFLAGS
811 x86_64_CC
812 i386_DISABLED_SUBDIRS
813 i386_DELAYLOADFLAG
814 i386_TARGET
815 i386_DEBUG
816 i386_LDFLAGS
817 i386_EXTRACFLAGS
818 i386_CFLAGS
819 i386_CC
820 arm64ec_DISABLED_SUBDIRS
821 arm64ec_DELAYLOADFLAG
822 arm64ec_TARGET
823 arm64ec_DEBUG
824 arm64ec_LDFLAGS
825 arm64ec_EXTRACFLAGS
826 arm64ec_CFLAGS
827 arm64ec_CC
828 arm_DISABLED_SUBDIRS
829 arm_DELAYLOADFLAG
830 arm_TARGET
831 arm_DEBUG
832 arm_LDFLAGS
833 arm_EXTRACFLAGS
834 arm_CFLAGS
835 arm_CC
836 aarch64_DISABLED_SUBDIRS
837 aarch64_DELAYLOADFLAG
838 aarch64_TARGET
839 aarch64_DEBUG
840 aarch64_LDFLAGS
841 aarch64_EXTRACFLAGS
842 aarch64_CFLAGS
843 aarch64_CC
844 HOST_ARCH
845 toolsext
846 TARGETFLAGS
848 CPPBIN
849 ac_ct_CXX
850 CXXFLAGS
852 OBJEXT
853 EXEEXT
854 ac_ct_CC
855 CPPFLAGS
856 LDFLAGS
857 CFLAGS
859 SET_MAKE
860 srcdir
861 nlsdir
862 fontdir
863 dlldir
864 host_os
865 host_vendor
866 host_cpu
867 host
868 build_os
869 build_vendor
870 build_cpu
871 build
872 system_dllpath
873 target_alias
874 host_alias
875 build_alias
876 LIBS
877 ECHO_T
878 ECHO_N
879 ECHO_C
880 DEFS
881 mandir
882 localedir
883 libdir
884 psdir
885 pdfdir
886 dvidir
887 htmldir
888 infodir
889 docdir
890 oldincludedir
891 includedir
892 runstatedir
893 localstatedir
894 sharedstatedir
895 sysconfdir
896 datadir
897 datarootdir
898 libexecdir
899 sbindir
900 bindir
901 program_transform_name
902 prefix
903 exec_prefix
904 PACKAGE_URL
905 PACKAGE_BUGREPORT
906 PACKAGE_STRING
907 PACKAGE_VERSION
908 PACKAGE_TARNAME
909 PACKAGE_NAME
910 PATH_SEPARATOR
911 SHELL'
912 ac_subst_files=''
913 ac_user_opts='
914 enable_option_checking
915 enable_archs
916 enable_win16
917 enable_win64
918 enable_tests
919 enable_build_id
920 enable_maintainer_mode
921 enable_silent_rules
922 enable_werror
923 with_alsa
924 with_capi
925 with_coreaudio
926 with_cups
927 with_dbus
928 with_float_abi
929 with_fontconfig
930 with_freetype
931 with_gettext
932 with_gettextpo
933 with_gphoto
934 with_gnutls
935 with_gssapi
936 with_gstreamer
937 with_inotify
938 with_krb5
939 with_mingw
940 with_netapi
941 with_opencl
942 with_opengl
943 with_osmesa
944 with_oss
945 with_pcap
946 with_pcsclite
947 with_pthread
948 with_pulse
949 with_sane
950 with_sdl
951 with_udev
952 with_unwind
953 with_usb
954 with_v4l2
955 with_vulkan
956 with_wayland
957 with_xcomposite
958 with_xcursor
959 with_xfixes
960 with_xinerama
961 with_xinput
962 with_xinput2
963 with_xrandr
964 with_xrender
965 with_xshape
966 with_xshm
967 with_xxf86vm
968 with_system_dllpath
969 with_wine_tools
970 with_wine64
971 enable_largefile
972 with_x
973 enable_acledit
974 enable_aclui
975 enable_activeds_tlb
976 enable_activeds
977 enable_actxprxy
978 enable_adsldp
979 enable_adsldpc
980 enable_advapi32
981 enable_advpack
982 enable_amsi
983 enable_amstream
984 enable_apisetschema
985 enable_apphelp
986 enable_appwiz_cpl
987 enable_appxdeploymentclient
988 enable_atl
989 enable_atl100
990 enable_atl110
991 enable_atl80
992 enable_atl90
993 enable_atlthunk
994 enable_atmlib
995 enable_authz
996 enable_avicap32
997 enable_avifil32
998 enable_avrt
999 enable_bcrypt
1000 enable_bcryptprimitives
1001 enable_bluetoothapis
1002 enable_browseui
1003 enable_bthprops_cpl
1004 enable_cabinet
1005 enable_capi2032
1006 enable_cards
1007 enable_cdosys
1008 enable_cfgmgr32
1009 enable_clusapi
1010 enable_cng_sys
1011 enable_combase
1012 enable_comcat
1013 enable_comctl32
1014 enable_comdlg32
1015 enable_compstui
1016 enable_comsvcs
1017 enable_concrt140
1018 enable_connect
1019 enable_credui
1020 enable_crtdll
1021 enable_crypt32
1022 enable_cryptdlg
1023 enable_cryptdll
1024 enable_cryptext
1025 enable_cryptnet
1026 enable_cryptowinrt
1027 enable_cryptsp
1028 enable_cryptui
1029 enable_ctapi32
1030 enable_ctl3d32
1031 enable_d2d1
1032 enable_d3d10
1033 enable_d3d10_1
1034 enable_d3d10core
1035 enable_d3d11
1036 enable_d3d12
1037 enable_d3d12core
1038 enable_d3d8
1039 enable_d3d8thk
1040 enable_d3d9
1041 enable_d3dcompiler_33
1042 enable_d3dcompiler_34
1043 enable_d3dcompiler_35
1044 enable_d3dcompiler_36
1045 enable_d3dcompiler_37
1046 enable_d3dcompiler_38
1047 enable_d3dcompiler_39
1048 enable_d3dcompiler_40
1049 enable_d3dcompiler_41
1050 enable_d3dcompiler_42
1051 enable_d3dcompiler_43
1052 enable_d3dcompiler_46
1053 enable_d3dcompiler_47
1054 enable_d3dim
1055 enable_d3dim700
1056 enable_d3drm
1057 enable_d3dx10_33
1058 enable_d3dx10_34
1059 enable_d3dx10_35
1060 enable_d3dx10_36
1061 enable_d3dx10_37
1062 enable_d3dx10_38
1063 enable_d3dx10_39
1064 enable_d3dx10_40
1065 enable_d3dx10_41
1066 enable_d3dx10_42
1067 enable_d3dx10_43
1068 enable_d3dx11_42
1069 enable_d3dx11_43
1070 enable_d3dx9_24
1071 enable_d3dx9_25
1072 enable_d3dx9_26
1073 enable_d3dx9_27
1074 enable_d3dx9_28
1075 enable_d3dx9_29
1076 enable_d3dx9_30
1077 enable_d3dx9_31
1078 enable_d3dx9_32
1079 enable_d3dx9_33
1080 enable_d3dx9_34
1081 enable_d3dx9_35
1082 enable_d3dx9_36
1083 enable_d3dx9_37
1084 enable_d3dx9_38
1085 enable_d3dx9_39
1086 enable_d3dx9_40
1087 enable_d3dx9_41
1088 enable_d3dx9_42
1089 enable_d3dx9_43
1090 enable_d3dxof
1091 enable_davclnt
1092 enable_dbgeng
1093 enable_dbghelp
1094 enable_dciman32
1095 enable_dcomp
1096 enable_ddraw
1097 enable_ddrawex
1098 enable_devenum
1099 enable_dhcpcsvc
1100 enable_dhcpcsvc6
1101 enable_dhtmled_ocx
1102 enable_diasymreader
1103 enable_difxapi
1104 enable_dinput
1105 enable_dinput8
1106 enable_directmanipulation
1107 enable_dispex
1108 enable_dmband
1109 enable_dmcompos
1110 enable_dmime
1111 enable_dmloader
1112 enable_dmscript
1113 enable_dmstyle
1114 enable_dmsynth
1115 enable_dmusic
1116 enable_dmusic32
1117 enable_dnsapi
1118 enable_dplay
1119 enable_dplayx
1120 enable_dpnaddr
1121 enable_dpnet
1122 enable_dpnhpast
1123 enable_dpnhupnp
1124 enable_dpnlobby
1125 enable_dpvoice
1126 enable_dpwsockx
1127 enable_drmclien
1128 enable_dsdmo
1129 enable_dsound
1130 enable_dsquery
1131 enable_dssenh
1132 enable_dsuiext
1133 enable_dswave
1134 enable_dwmapi
1135 enable_dwrite
1136 enable_dx8vb
1137 enable_dxcore
1138 enable_dxdiagn
1139 enable_dxgi
1140 enable_dxtrans
1141 enable_dxva2
1142 enable_esent
1143 enable_evr
1144 enable_explorerframe
1145 enable_faultrep
1146 enable_feclient
1147 enable_fltlib
1148 enable_fltmgr_sys
1149 enable_fntcache
1150 enable_fontsub
1151 enable_fusion
1152 enable_fwpuclnt
1153 enable_gameux
1154 enable_gamingtcui
1155 enable_gdi32
1156 enable_gdiplus
1157 enable_geolocation
1158 enable_glu32
1159 enable_gphoto2_ds
1160 enable_gpkcsp
1161 enable_graphicscapture
1162 enable_hal
1163 enable_hhctrl_ocx
1164 enable_hid
1165 enable_hidclass_sys
1166 enable_hidparse_sys
1167 enable_hlink
1168 enable_hnetcfg
1169 enable_hrtfapo
1170 enable_http_sys
1171 enable_httpapi
1172 enable_hvsimanagementapi
1173 enable_ia2comproxy
1174 enable_iccvid
1175 enable_icmp
1176 enable_ieframe
1177 enable_ieproxy
1178 enable_imaadp32_acm
1179 enable_imagehlp
1180 enable_imm32
1181 enable_inetcomm
1182 enable_inetcpl_cpl
1183 enable_inetmib1
1184 enable_infosoft
1185 enable_initpki
1186 enable_inkobj
1187 enable_inseng
1188 enable_iphlpapi
1189 enable_iprop
1190 enable_ir50_32
1191 enable_irprops_cpl
1192 enable_itircl
1193 enable_itss
1194 enable_joy_cpl
1195 enable_jscript
1196 enable_jsproxy
1197 enable_kerberos
1198 enable_kernel32
1199 enable_kernelbase
1200 enable_ksecdd_sys
1201 enable_ksproxy_ax
1202 enable_ksuser
1203 enable_ktmw32
1204 enable_l3codeca_acm
1205 enable_light_msstyles
1206 enable_loadperf
1207 enable_localspl
1208 enable_localui
1209 enable_lz32
1210 enable_magnification
1211 enable_mapi32
1212 enable_mapistub
1213 enable_mciavi32
1214 enable_mcicda
1215 enable_mciqtz32
1216 enable_mciseq
1217 enable_mciwave
1218 enable_mf
1219 enable_mf3216
1220 enable_mferror
1221 enable_mfmediaengine
1222 enable_mfplat
1223 enable_mfplay
1224 enable_mfreadwrite
1225 enable_mfsrcsnk
1226 enable_mgmtapi
1227 enable_midimap
1228 enable_mlang
1229 enable_mmcndmgr
1230 enable_mmdevapi
1231 enable_mountmgr_sys
1232 enable_mp3dmod
1233 enable_mpr
1234 enable_mprapi
1235 enable_msacm32_drv
1236 enable_msacm32
1237 enable_msado15
1238 enable_msadp32_acm
1239 enable_msasn1
1240 enable_msauddecmft
1241 enable_mscat32
1242 enable_mscms
1243 enable_mscoree
1244 enable_mscorwks
1245 enable_msctf
1246 enable_msctfmonitor
1247 enable_msctfp
1248 enable_msdaps
1249 enable_msdasql
1250 enable_msdelta
1251 enable_msdmo
1252 enable_msdrm
1253 enable_msftedit
1254 enable_msg711_acm
1255 enable_msgsm32_acm
1256 enable_mshtml_tlb
1257 enable_mshtml
1258 enable_msi
1259 enable_msident
1260 enable_msimg32
1261 enable_msimsg
1262 enable_msimtf
1263 enable_msisip
1264 enable_msisys_ocx
1265 enable_msls31
1266 enable_msmpeg2vdec
1267 enable_msnet32
1268 enable_mspatcha
1269 enable_msports
1270 enable_msrle32
1271 enable_msscript_ocx
1272 enable_mssign32
1273 enable_mssip32
1274 enable_mstask
1275 enable_msttsengine
1276 enable_msv1_0
1277 enable_msvcirt
1278 enable_msvcm80
1279 enable_msvcm90
1280 enable_msvcp100
1281 enable_msvcp110
1282 enable_msvcp120
1283 enable_msvcp120_app
1284 enable_msvcp140
1285 enable_msvcp140_1
1286 enable_msvcp140_2
1287 enable_msvcp140_atomic_wait
1288 enable_msvcp140_codecvt_ids
1289 enable_msvcp60
1290 enable_msvcp70
1291 enable_msvcp71
1292 enable_msvcp80
1293 enable_msvcp90
1294 enable_msvcp_win
1295 enable_msvcr100
1296 enable_msvcr110
1297 enable_msvcr120
1298 enable_msvcr120_app
1299 enable_msvcr70
1300 enable_msvcr71
1301 enable_msvcr80
1302 enable_msvcr90
1303 enable_msvcrt
1304 enable_msvcrt20
1305 enable_msvcrt40
1306 enable_msvcrtd
1307 enable_msvfw32
1308 enable_msvidc32
1309 enable_mswsock
1310 enable_msxml
1311 enable_msxml2
1312 enable_msxml3
1313 enable_msxml4
1314 enable_msxml6
1315 enable_mtxdm
1316 enable_ncrypt
1317 enable_nddeapi
1318 enable_ndis_sys
1319 enable_netapi32
1320 enable_netcfgx
1321 enable_netio_sys
1322 enable_netprofm
1323 enable_netutils
1324 enable_newdev
1325 enable_ninput
1326 enable_normaliz
1327 enable_npmshtml
1328 enable_npptools
1329 enable_nsi
1330 enable_nsiproxy_sys
1331 enable_ntdll
1332 enable_ntdsapi
1333 enable_ntoskrnl_exe
1334 enable_ntprint
1335 enable_objsel
1336 enable_odbc32
1337 enable_odbcbcp
1338 enable_odbccp32
1339 enable_odbccu32
1340 enable_ole32
1341 enable_oleacc
1342 enable_oleaut32
1343 enable_olecli32
1344 enable_oledb32
1345 enable_oledlg
1346 enable_olepro32
1347 enable_olesvr32
1348 enable_olethk32
1349 enable_opcservices
1350 enable_opencl
1351 enable_opengl32
1352 enable_packager
1353 enable_pdh
1354 enable_photometadatahandler
1355 enable_pidgen
1356 enable_powrprof
1357 enable_printui
1358 enable_prntvpt
1359 enable_propsys
1360 enable_psapi
1361 enable_pstorec
1362 enable_pwrshplugin
1363 enable_qasf
1364 enable_qcap
1365 enable_qdvd
1366 enable_qedit
1367 enable_qmgr
1368 enable_qmgrprxy
1369 enable_quartz
1370 enable_query
1371 enable_qwave
1372 enable_rasapi32
1373 enable_rasdlg
1374 enable_regapi
1375 enable_resutils
1376 enable_riched20
1377 enable_riched32
1378 enable_rpcrt4
1379 enable_rsabase
1380 enable_rsaenh
1381 enable_rstrtmgr
1382 enable_rtutils
1383 enable_rtworkq
1384 enable_samlib
1385 enable_sane_ds
1386 enable_sapi
1387 enable_sas
1388 enable_scarddlg
1389 enable_scardsvr
1390 enable_sccbase
1391 enable_schannel
1392 enable_schedsvc
1393 enable_scrobj
1394 enable_scrrun
1395 enable_scsiport_sys
1396 enable_sechost
1397 enable_secur32
1398 enable_security
1399 enable_sensapi
1400 enable_serialui
1401 enable_setupapi
1402 enable_sfc
1403 enable_sfc_os
1404 enable_shcore
1405 enable_shdoclc
1406 enable_shdocvw
1407 enable_shell32
1408 enable_shfolder
1409 enable_shlwapi
1410 enable_slbcsp
1411 enable_slc
1412 enable_snmpapi
1413 enable_softpub
1414 enable_spoolss
1415 enable_sppc
1416 enable_srclient
1417 enable_srvcli
1418 enable_srvsvc
1419 enable_sspicli
1420 enable_stdole2_tlb
1421 enable_stdole32_tlb
1422 enable_sti
1423 enable_strmdll
1424 enable_svrapi
1425 enable_sxs
1426 enable_t2embed
1427 enable_tapi32
1428 enable_taskschd
1429 enable_tbs
1430 enable_tdh
1431 enable_tdi_sys
1432 enable_threadpoolwinrt
1433 enable_traffic
1434 enable_twain_32
1435 enable_twinapi_appcore
1436 enable_tzres
1437 enable_ucrtbase
1438 enable_uianimation
1439 enable_uiautomationcore
1440 enable_uiribbon
1441 enable_unicows
1442 enable_updspapi
1443 enable_url
1444 enable_urlmon
1445 enable_usbd_sys
1446 enable_user32
1447 enable_userenv
1448 enable_usp10
1449 enable_utildll
1450 enable_uxtheme
1451 enable_vbscript
1452 enable_vcomp
1453 enable_vcomp100
1454 enable_vcomp110
1455 enable_vcomp120
1456 enable_vcomp140
1457 enable_vcomp90
1458 enable_vcruntime140
1459 enable_vcruntime140_1
1460 enable_vdmdbg
1461 enable_version
1462 enable_vga
1463 enable_virtdisk
1464 enable_vssapi
1465 enable_vulkan_1
1466 enable_wbemdisp
1467 enable_wbemprox
1468 enable_wdscore
1469 enable_webservices
1470 enable_websocket
1471 enable_wer
1472 enable_wevtapi
1473 enable_wevtsvc
1474 enable_wiaservc
1475 enable_wimgapi
1476 enable_win32u
1477 enable_windows_applicationmodel
1478 enable_windows_devices_bluetooth
1479 enable_windows_devices_enumeration
1480 enable_windows_devices_usb
1481 enable_windows_gaming_input
1482 enable_windows_gaming_ui_gamebar
1483 enable_windows_globalization
1484 enable_windows_media_devices
1485 enable_windows_media_mediacontrol
1486 enable_windows_media_speech
1487 enable_windows_media
1488 enable_windows_networking_hostname
1489 enable_windows_networking
1490 enable_windows_perception_stub
1491 enable_windows_security_credentials_ui_userconsentverifier
1492 enable_windows_storage_applicationdata
1493 enable_windows_system_profile_systemmanufacturers
1494 enable_windows_ui
1495 enable_windowscodecs
1496 enable_windowscodecsext
1497 enable_winealsa_drv
1498 enable_wineandroid_drv
1499 enable_winebus_sys
1500 enable_winecoreaudio_drv
1501 enable_winecrt0
1502 enable_wined3d
1503 enable_winegstreamer
1504 enable_winehid_sys
1505 enable_winemac_drv
1506 enable_winemapi
1507 enable_wineoss_drv
1508 enable_wineps_drv
1509 enable_winepulse_drv
1510 enable_wineusb_sys
1511 enable_winevulkan
1512 enable_winewayland_drv
1513 enable_winex11_drv
1514 enable_winexinput_sys
1515 enable_wing32
1516 enable_winhttp
1517 enable_wininet
1518 enable_winmm
1519 enable_winnls32
1520 enable_winprint
1521 enable_winscard
1522 enable_winspool_drv
1523 enable_winsta
1524 enable_wintab32
1525 enable_wintrust
1526 enable_wintypes
1527 enable_winusb
1528 enable_wlanapi
1529 enable_wlanui
1530 enable_wldap32
1531 enable_wldp
1532 enable_wmasf
1533 enable_wmi
1534 enable_wmiutils
1535 enable_wmp
1536 enable_wmphoto
1537 enable_wmvcore
1538 enable_wnaspi32
1539 enable_wofutil
1540 enable_wow64
1541 enable_wow64cpu
1542 enable_wow64win
1543 enable_wpc
1544 enable_wpcap
1545 enable_ws2_32
1546 enable_wsdapi
1547 enable_wshom_ocx
1548 enable_wsnmp32
1549 enable_wsock32
1550 enable_wtsapi32
1551 enable_wuapi
1552 enable_wuaueng
1553 enable_x3daudio1_0
1554 enable_x3daudio1_1
1555 enable_x3daudio1_2
1556 enable_x3daudio1_3
1557 enable_x3daudio1_4
1558 enable_x3daudio1_5
1559 enable_x3daudio1_6
1560 enable_x3daudio1_7
1561 enable_xactengine2_0
1562 enable_xactengine2_4
1563 enable_xactengine2_7
1564 enable_xactengine2_9
1565 enable_xactengine3_0
1566 enable_xactengine3_1
1567 enable_xactengine3_2
1568 enable_xactengine3_3
1569 enable_xactengine3_4
1570 enable_xactengine3_5
1571 enable_xactengine3_6
1572 enable_xactengine3_7
1573 enable_xapofx1_1
1574 enable_xapofx1_2
1575 enable_xapofx1_3
1576 enable_xapofx1_4
1577 enable_xapofx1_5
1578 enable_xaudio2_0
1579 enable_xaudio2_1
1580 enable_xaudio2_2
1581 enable_xaudio2_3
1582 enable_xaudio2_4
1583 enable_xaudio2_5
1584 enable_xaudio2_6
1585 enable_xaudio2_7
1586 enable_xaudio2_8
1587 enable_xaudio2_9
1588 enable_xinput1_1
1589 enable_xinput1_2
1590 enable_xinput1_3
1591 enable_xinput1_4
1592 enable_xinput9_1_0
1593 enable_xinputuap
1594 enable_xmllite
1595 enable_xolehlp
1596 enable_xpsprint
1597 enable_xpssvcs
1598 enable_fonts
1599 enable_include
1600 enable_adsiid
1601 enable_dmoguids
1602 enable_dxerr8
1603 enable_dxerr9
1604 enable_dxguid
1605 enable_faudio
1606 enable_fluidsynth
1607 enable_gsm
1608 enable_jpeg
1609 enable_jxr
1610 enable_lcms2
1611 enable_ldap
1612 enable_mfuuid
1613 enable_mpg123
1614 enable_musl
1615 enable_png
1616 enable_strmbase
1617 enable_strmiids
1618 enable_tiff
1619 enable_uuid
1620 enable_vkd3d
1621 enable_wbemuuid
1622 enable_wmcodecdspuuid
1623 enable_xml2
1624 enable_xslt
1625 enable_zlib
1626 enable_zydis
1627 enable_loader
1628 enable_nls
1629 enable_po
1630 enable_arp
1631 enable_aspnet_regiis
1632 enable_attrib
1633 enable_cabarc
1634 enable_cacls
1635 enable_certutil
1636 enable_chcp_com
1637 enable_clock
1638 enable_cmd
1639 enable_conhost
1640 enable_control
1641 enable_cscript
1642 enable_dism
1643 enable_dllhost
1644 enable_dplaysvr
1645 enable_dpnsvr
1646 enable_dpvsetup
1647 enable_dxdiag
1648 enable_eject
1649 enable_expand
1650 enable_explorer
1651 enable_extrac32
1652 enable_fc
1653 enable_find
1654 enable_findstr
1655 enable_fsutil
1656 enable_hh
1657 enable_hostname
1658 enable_icacls
1659 enable_icinfo
1660 enable_iexplore
1661 enable_ipconfig
1662 enable_klist
1663 enable_lodctr
1664 enable_mofcomp
1665 enable_mshta
1666 enable_msidb
1667 enable_msiexec
1668 enable_msinfo32
1669 enable_net
1670 enable_netsh
1671 enable_netstat
1672 enable_ngen
1673 enable_notepad
1674 enable_oleview
1675 enable_ping
1676 enable_plugplay
1677 enable_pnputil
1678 enable_powershell
1679 enable_presentationfontcache
1680 enable_progman
1681 enable_reg
1682 enable_regasm
1683 enable_regedit
1684 enable_regini
1685 enable_regsvcs
1686 enable_regsvr32
1687 enable_robocopy
1688 enable_rpcss
1689 enable_rundll32
1690 enable_sc
1691 enable_schtasks
1692 enable_sdbinst
1693 enable_secedit
1694 enable_servicemodelreg
1695 enable_services
1696 enable_setx
1697 enable_shutdown
1698 enable_spoolsv
1699 enable_start
1700 enable_subst
1701 enable_svchost
1702 enable_systeminfo
1703 enable_taskkill
1704 enable_tasklist
1705 enable_taskmgr
1706 enable_termsv
1707 enable_uninstaller
1708 enable_unlodctr
1709 enable_view
1710 enable_wevtutil
1711 enable_where
1712 enable_whoami
1713 enable_wineboot
1714 enable_winebrowser
1715 enable_winecfg
1716 enable_wineconsole
1717 enable_winedbg
1718 enable_winedevice
1719 enable_winefile
1720 enable_winemenubuilder
1721 enable_winemine
1722 enable_winemsibuilder
1723 enable_winepath
1724 enable_winetest
1725 enable_winhlp32
1726 enable_winmgmt
1727 enable_winver
1728 enable_wmic
1729 enable_wmplayer
1730 enable_wordpad
1731 enable_write
1732 enable_wscript
1733 enable_wuauserv
1734 enable_wusa
1735 enable_xcopy
1736 enable_server
1737 enable_tools
1738 enable_sfnt2fon
1739 enable_widl
1740 enable_winebuild
1741 enable_winedump
1742 enable_winegcc
1743 enable_winemaker
1744 enable_wmc
1745 enable_wrc
1747 ac_precious_vars='build_alias
1748 host_alias
1749 target_alias
1751 CFLAGS
1752 LDFLAGS
1753 LIBS
1754 CPPFLAGS
1756 CXXFLAGS
1758 OBJC
1759 OBJCFLAGS
1760 FAUDIO_PE_CFLAGS
1761 FAUDIO_PE_LIBS
1762 FLUIDSYNTH_PE_CFLAGS
1763 FLUIDSYNTH_PE_LIBS
1764 GSM_PE_CFLAGS
1765 GSM_PE_LIBS
1766 JPEG_PE_CFLAGS
1767 JPEG_PE_LIBS
1768 JXR_PE_CFLAGS
1769 JXR_PE_LIBS
1770 LCMS2_PE_CFLAGS
1771 LCMS2_PE_LIBS
1772 LDAP_PE_CFLAGS
1773 LDAP_PE_LIBS
1774 MPG123_PE_CFLAGS
1775 MPG123_PE_LIBS
1776 MUSL_PE_CFLAGS
1777 MUSL_PE_LIBS
1778 PNG_PE_CFLAGS
1779 PNG_PE_LIBS
1780 TIFF_PE_CFLAGS
1781 TIFF_PE_LIBS
1782 VKD3D_PE_CFLAGS
1783 VKD3D_PE_LIBS
1784 XML2_PE_CFLAGS
1785 XML2_PE_LIBS
1786 XSLT_PE_CFLAGS
1787 XSLT_PE_LIBS
1788 ZLIB_PE_CFLAGS
1789 ZLIB_PE_LIBS
1790 ZYDIS_PE_CFLAGS
1791 ZYDIS_PE_LIBS
1792 XMKMF
1794 WAYLAND_CLIENT_CFLAGS
1795 WAYLAND_CLIENT_LIBS
1796 INOTIFY_CFLAGS
1797 INOTIFY_LIBS
1798 DBUS_CFLAGS
1799 DBUS_LIBS
1800 GNUTLS_CFLAGS
1801 GNUTLS_LIBS
1802 SANE_CFLAGS
1803 SANE_LIBS
1804 USB_CFLAGS
1805 USB_LIBS
1806 GPHOTO2_CFLAGS
1807 GPHOTO2_LIBS
1808 GPHOTO2_PORT_CFLAGS
1809 GPHOTO2_PORT_LIBS
1810 FREETYPE_CFLAGS
1811 FREETYPE_LIBS
1812 PULSE_CFLAGS
1813 PULSE_LIBS
1814 GSTREAMER_CFLAGS
1815 GSTREAMER_LIBS
1816 UDEV_CFLAGS
1817 UDEV_LIBS
1818 UNWIND_CFLAGS
1819 UNWIND_LIBS
1820 SDL2_CFLAGS
1821 SDL2_LIBS
1822 CAPI20_CFLAGS
1823 CAPI20_LIBS
1824 CUPS_CFLAGS
1825 CUPS_LIBS
1826 FONTCONFIG_CFLAGS
1827 FONTCONFIG_LIBS
1828 KRB5_CFLAGS
1829 KRB5_LIBS
1830 GSSAPI_CFLAGS
1831 GSSAPI_LIBS
1832 NETAPI_CFLAGS
1833 NETAPI_LIBS'
1836 # Initialize some variables set by options.
1837 ac_init_help=
1838 ac_init_version=false
1839 ac_unrecognized_opts=
1840 ac_unrecognized_sep=
1841 # The variables have the same names as the options, with
1842 # dashes changed to underlines.
1843 cache_file=/dev/null
1844 exec_prefix=NONE
1845 no_create=
1846 no_recursion=
1847 prefix=NONE
1848 program_prefix=NONE
1849 program_suffix=NONE
1850 program_transform_name=s,x,x,
1851 silent=
1852 site=
1853 srcdir=
1854 verbose=
1855 x_includes=NONE
1856 x_libraries=NONE
1858 # Installation directory options.
1859 # These are left unexpanded so users can "make install exec_prefix=/foo"
1860 # and all the variables that are supposed to be based on exec_prefix
1861 # by default will actually change.
1862 # Use braces instead of parens because sh, perl, etc. also accept them.
1863 # (The list follows the same order as the GNU Coding Standards.)
1864 bindir='${exec_prefix}/bin'
1865 sbindir='${exec_prefix}/sbin'
1866 libexecdir='${exec_prefix}/libexec'
1867 datarootdir='${prefix}/share'
1868 datadir='${datarootdir}'
1869 sysconfdir='${prefix}/etc'
1870 sharedstatedir='${prefix}/com'
1871 localstatedir='${prefix}/var'
1872 runstatedir='${localstatedir}/run'
1873 includedir='${prefix}/include'
1874 oldincludedir='/usr/include'
1875 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1876 infodir='${datarootdir}/info'
1877 htmldir='${docdir}'
1878 dvidir='${docdir}'
1879 pdfdir='${docdir}'
1880 psdir='${docdir}'
1881 libdir='${exec_prefix}/lib'
1882 localedir='${datarootdir}/locale'
1883 mandir='${datarootdir}/man'
1885 ac_prev=
1886 ac_dashdash=
1887 for ac_option
1889 # If the previous option needs an argument, assign it.
1890 if test -n "$ac_prev"; then
1891 eval $ac_prev=\$ac_option
1892 ac_prev=
1893 continue
1896 case $ac_option in
1897 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1898 *=) ac_optarg= ;;
1899 *) ac_optarg=yes ;;
1900 esac
1902 case $ac_dashdash$ac_option in
1904 ac_dashdash=yes ;;
1906 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1907 ac_prev=bindir ;;
1908 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1909 bindir=$ac_optarg ;;
1911 -build | --build | --buil | --bui | --bu)
1912 ac_prev=build_alias ;;
1913 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1914 build_alias=$ac_optarg ;;
1916 -cache-file | --cache-file | --cache-fil | --cache-fi \
1917 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1918 ac_prev=cache_file ;;
1919 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1920 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1921 cache_file=$ac_optarg ;;
1923 --config-cache | -C)
1924 cache_file=config.cache ;;
1926 -datadir | --datadir | --datadi | --datad)
1927 ac_prev=datadir ;;
1928 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1929 datadir=$ac_optarg ;;
1931 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1932 | --dataroo | --dataro | --datar)
1933 ac_prev=datarootdir ;;
1934 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1935 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1936 datarootdir=$ac_optarg ;;
1938 -disable-* | --disable-*)
1939 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1940 # Reject names that are not valid shell variable names.
1941 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1942 as_fn_error $? "invalid feature name: \`$ac_useropt'"
1943 ac_useropt_orig=$ac_useropt
1944 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1945 case $ac_user_opts in
1947 "enable_$ac_useropt"
1948 "*) ;;
1949 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1950 ac_unrecognized_sep=', ';;
1951 esac
1952 eval enable_$ac_useropt=no ;;
1954 -docdir | --docdir | --docdi | --doc | --do)
1955 ac_prev=docdir ;;
1956 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1957 docdir=$ac_optarg ;;
1959 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1960 ac_prev=dvidir ;;
1961 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1962 dvidir=$ac_optarg ;;
1964 -enable-* | --enable-*)
1965 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1966 # Reject names that are not valid shell variable names.
1967 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1968 as_fn_error $? "invalid feature name: \`$ac_useropt'"
1969 ac_useropt_orig=$ac_useropt
1970 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1971 case $ac_user_opts in
1973 "enable_$ac_useropt"
1974 "*) ;;
1975 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1976 ac_unrecognized_sep=', ';;
1977 esac
1978 eval enable_$ac_useropt=\$ac_optarg ;;
1980 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1981 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1982 | --exec | --exe | --ex)
1983 ac_prev=exec_prefix ;;
1984 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1985 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1986 | --exec=* | --exe=* | --ex=*)
1987 exec_prefix=$ac_optarg ;;
1989 -gas | --gas | --ga | --g)
1990 # Obsolete; use --with-gas.
1991 with_gas=yes ;;
1993 -help | --help | --hel | --he | -h)
1994 ac_init_help=long ;;
1995 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1996 ac_init_help=recursive ;;
1997 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1998 ac_init_help=short ;;
2000 -host | --host | --hos | --ho)
2001 ac_prev=host_alias ;;
2002 -host=* | --host=* | --hos=* | --ho=*)
2003 host_alias=$ac_optarg ;;
2005 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
2006 ac_prev=htmldir ;;
2007 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
2008 | --ht=*)
2009 htmldir=$ac_optarg ;;
2011 -includedir | --includedir | --includedi | --included | --include \
2012 | --includ | --inclu | --incl | --inc)
2013 ac_prev=includedir ;;
2014 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
2015 | --includ=* | --inclu=* | --incl=* | --inc=*)
2016 includedir=$ac_optarg ;;
2018 -infodir | --infodir | --infodi | --infod | --info | --inf)
2019 ac_prev=infodir ;;
2020 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
2021 infodir=$ac_optarg ;;
2023 -libdir | --libdir | --libdi | --libd)
2024 ac_prev=libdir ;;
2025 -libdir=* | --libdir=* | --libdi=* | --libd=*)
2026 libdir=$ac_optarg ;;
2028 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
2029 | --libexe | --libex | --libe)
2030 ac_prev=libexecdir ;;
2031 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
2032 | --libexe=* | --libex=* | --libe=*)
2033 libexecdir=$ac_optarg ;;
2035 -localedir | --localedir | --localedi | --localed | --locale)
2036 ac_prev=localedir ;;
2037 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
2038 localedir=$ac_optarg ;;
2040 -localstatedir | --localstatedir | --localstatedi | --localstated \
2041 | --localstate | --localstat | --localsta | --localst | --locals)
2042 ac_prev=localstatedir ;;
2043 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
2044 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
2045 localstatedir=$ac_optarg ;;
2047 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
2048 ac_prev=mandir ;;
2049 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
2050 mandir=$ac_optarg ;;
2052 -nfp | --nfp | --nf)
2053 # Obsolete; use --without-fp.
2054 with_fp=no ;;
2056 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
2057 | --no-cr | --no-c | -n)
2058 no_create=yes ;;
2060 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
2061 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
2062 no_recursion=yes ;;
2064 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
2065 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
2066 | --oldin | --oldi | --old | --ol | --o)
2067 ac_prev=oldincludedir ;;
2068 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
2069 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
2070 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
2071 oldincludedir=$ac_optarg ;;
2073 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2074 ac_prev=prefix ;;
2075 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2076 prefix=$ac_optarg ;;
2078 -program-prefix | --program-prefix | --program-prefi | --program-pref \
2079 | --program-pre | --program-pr | --program-p)
2080 ac_prev=program_prefix ;;
2081 -program-prefix=* | --program-prefix=* | --program-prefi=* \
2082 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2083 program_prefix=$ac_optarg ;;
2085 -program-suffix | --program-suffix | --program-suffi | --program-suff \
2086 | --program-suf | --program-su | --program-s)
2087 ac_prev=program_suffix ;;
2088 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2089 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2090 program_suffix=$ac_optarg ;;
2092 -program-transform-name | --program-transform-name \
2093 | --program-transform-nam | --program-transform-na \
2094 | --program-transform-n | --program-transform- \
2095 | --program-transform | --program-transfor \
2096 | --program-transfo | --program-transf \
2097 | --program-trans | --program-tran \
2098 | --progr-tra | --program-tr | --program-t)
2099 ac_prev=program_transform_name ;;
2100 -program-transform-name=* | --program-transform-name=* \
2101 | --program-transform-nam=* | --program-transform-na=* \
2102 | --program-transform-n=* | --program-transform-=* \
2103 | --program-transform=* | --program-transfor=* \
2104 | --program-transfo=* | --program-transf=* \
2105 | --program-trans=* | --program-tran=* \
2106 | --progr-tra=* | --program-tr=* | --program-t=*)
2107 program_transform_name=$ac_optarg ;;
2109 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2110 ac_prev=pdfdir ;;
2111 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2112 pdfdir=$ac_optarg ;;
2114 -psdir | --psdir | --psdi | --psd | --ps)
2115 ac_prev=psdir ;;
2116 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2117 psdir=$ac_optarg ;;
2119 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2120 | -silent | --silent | --silen | --sile | --sil)
2121 silent=yes ;;
2123 -runstatedir | --runstatedir | --runstatedi | --runstated \
2124 | --runstate | --runstat | --runsta | --runst | --runs \
2125 | --run | --ru | --r)
2126 ac_prev=runstatedir ;;
2127 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2128 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2129 | --run=* | --ru=* | --r=*)
2130 runstatedir=$ac_optarg ;;
2132 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2133 ac_prev=sbindir ;;
2134 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2135 | --sbi=* | --sb=*)
2136 sbindir=$ac_optarg ;;
2138 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2139 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2140 | --sharedst | --shareds | --shared | --share | --shar \
2141 | --sha | --sh)
2142 ac_prev=sharedstatedir ;;
2143 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2144 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2145 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2146 | --sha=* | --sh=*)
2147 sharedstatedir=$ac_optarg ;;
2149 -site | --site | --sit)
2150 ac_prev=site ;;
2151 -site=* | --site=* | --sit=*)
2152 site=$ac_optarg ;;
2154 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2155 ac_prev=srcdir ;;
2156 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2157 srcdir=$ac_optarg ;;
2159 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2160 | --syscon | --sysco | --sysc | --sys | --sy)
2161 ac_prev=sysconfdir ;;
2162 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2163 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2164 sysconfdir=$ac_optarg ;;
2166 -target | --target | --targe | --targ | --tar | --ta | --t)
2167 ac_prev=target_alias ;;
2168 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2169 target_alias=$ac_optarg ;;
2171 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2172 verbose=yes ;;
2174 -version | --version | --versio | --versi | --vers | -V)
2175 ac_init_version=: ;;
2177 -with-* | --with-*)
2178 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2179 # Reject names that are not valid shell variable names.
2180 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2181 as_fn_error $? "invalid package name: \`$ac_useropt'"
2182 ac_useropt_orig=$ac_useropt
2183 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2184 case $ac_user_opts in
2186 "with_$ac_useropt"
2187 "*) ;;
2188 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2189 ac_unrecognized_sep=', ';;
2190 esac
2191 eval with_$ac_useropt=\$ac_optarg ;;
2193 -without-* | --without-*)
2194 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2195 # Reject names that are not valid shell variable names.
2196 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2197 as_fn_error $? "invalid package name: \`$ac_useropt'"
2198 ac_useropt_orig=$ac_useropt
2199 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2200 case $ac_user_opts in
2202 "with_$ac_useropt"
2203 "*) ;;
2204 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2205 ac_unrecognized_sep=', ';;
2206 esac
2207 eval with_$ac_useropt=no ;;
2209 --x)
2210 # Obsolete; use --with-x.
2211 with_x=yes ;;
2213 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2214 | --x-incl | --x-inc | --x-in | --x-i)
2215 ac_prev=x_includes ;;
2216 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2217 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2218 x_includes=$ac_optarg ;;
2220 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2221 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2222 ac_prev=x_libraries ;;
2223 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2224 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2225 x_libraries=$ac_optarg ;;
2227 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2228 Try \`$0 --help' for more information"
2231 *=*)
2232 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2233 # Reject names that are not valid shell variable names.
2234 case $ac_envvar in #(
2235 '' | [0-9]* | *[!_$as_cr_alnum]* )
2236 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2237 esac
2238 eval $ac_envvar=\$ac_optarg
2239 export $ac_envvar ;;
2242 # FIXME: should be removed in autoconf 3.0.
2243 printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
2244 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2245 printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
2246 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2249 esac
2250 done
2252 if test -n "$ac_prev"; then
2253 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2254 as_fn_error $? "missing argument to $ac_option"
2257 if test -n "$ac_unrecognized_opts"; then
2258 case $enable_option_checking in
2259 no) ;;
2260 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2261 *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2262 esac
2265 # Check all directory arguments for consistency.
2266 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2267 datadir sysconfdir sharedstatedir localstatedir includedir \
2268 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2269 libdir localedir mandir runstatedir
2271 eval ac_val=\$$ac_var
2272 # Remove trailing slashes.
2273 case $ac_val in
2274 */ )
2275 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2276 eval $ac_var=\$ac_val;;
2277 esac
2278 # Be sure to have absolute directory names.
2279 case $ac_val in
2280 [\\/$]* | ?:[\\/]* ) continue;;
2281 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2282 esac
2283 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2284 done
2286 # There might be people who depend on the old broken behavior: `$host'
2287 # used to hold the argument of --host etc.
2288 # FIXME: To remove some day.
2289 build=$build_alias
2290 host=$host_alias
2291 target=$target_alias
2293 # FIXME: To remove some day.
2294 if test "x$host_alias" != x; then
2295 if test "x$build_alias" = x; then
2296 cross_compiling=maybe
2297 elif test "x$build_alias" != "x$host_alias"; then
2298 cross_compiling=yes
2302 ac_tool_prefix=
2303 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2305 test "$silent" = yes && exec 6>/dev/null
2308 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2309 ac_ls_di=`ls -di .` &&
2310 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2311 as_fn_error $? "working directory cannot be determined"
2312 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2313 as_fn_error $? "pwd does not report name of working directory"
2316 # Find the source files, if location was not specified.
2317 if test -z "$srcdir"; then
2318 ac_srcdir_defaulted=yes
2319 # Try the directory containing this script, then the parent directory.
2320 ac_confdir=`$as_dirname -- "$as_myself" ||
2321 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2322 X"$as_myself" : 'X\(//\)[^/]' \| \
2323 X"$as_myself" : 'X\(//\)$' \| \
2324 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2325 printf "%s\n" X"$as_myself" |
2326 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2327 s//\1/
2330 /^X\(\/\/\)[^/].*/{
2331 s//\1/
2334 /^X\(\/\/\)$/{
2335 s//\1/
2338 /^X\(\/\).*/{
2339 s//\1/
2342 s/.*/./; q'`
2343 srcdir=$ac_confdir
2344 if test ! -r "$srcdir/$ac_unique_file"; then
2345 srcdir=..
2347 else
2348 ac_srcdir_defaulted=no
2350 if test ! -r "$srcdir/$ac_unique_file"; then
2351 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2352 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2354 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2355 ac_abs_confdir=`(
2356 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2357 pwd)`
2358 # When building in place, set srcdir=.
2359 if test "$ac_abs_confdir" = "$ac_pwd"; then
2360 srcdir=.
2362 # Remove unnecessary trailing slashes from srcdir.
2363 # Double slashes in file names in object file debugging info
2364 # mess up M-x gdb in Emacs.
2365 case $srcdir in
2366 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2367 esac
2368 for ac_var in $ac_precious_vars; do
2369 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2370 eval ac_env_${ac_var}_value=\$${ac_var}
2371 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2372 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2373 done
2376 # Report the --help message.
2378 if test "$ac_init_help" = "long"; then
2379 # Omit some internal or obsolete options to make the list less imposing.
2380 # This message is too long to be a string in the A/UX 3.1 sh.
2381 cat <<_ACEOF
2382 \`configure' configures Wine 8.20 to adapt to many kinds of systems.
2384 Usage: $0 [OPTION]... [VAR=VALUE]...
2386 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2387 VAR=VALUE. See below for descriptions of some of the useful variables.
2389 Defaults for the options are specified in brackets.
2391 Configuration:
2392 -h, --help display this help and exit
2393 --help=short display options specific to this package
2394 --help=recursive display the short help of all the included packages
2395 -V, --version display version information and exit
2396 -q, --quiet, --silent do not print \`checking ...' messages
2397 --cache-file=FILE cache test results in FILE [disabled]
2398 -C, --config-cache alias for \`--cache-file=config.cache'
2399 -n, --no-create do not create output files
2400 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2402 Installation directories:
2403 --prefix=PREFIX install architecture-independent files in PREFIX
2404 [$ac_default_prefix]
2405 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2406 [PREFIX]
2408 By default, \`make install' will install all the files in
2409 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2410 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2411 for instance \`--prefix=\$HOME'.
2413 For better control, use the options below.
2415 Fine tuning of the installation directories:
2416 --bindir=DIR user executables [EPREFIX/bin]
2417 --sbindir=DIR system admin executables [EPREFIX/sbin]
2418 --libexecdir=DIR program executables [EPREFIX/libexec]
2419 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2420 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2421 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2422 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2423 --libdir=DIR object code libraries [EPREFIX/lib]
2424 --includedir=DIR C header files [PREFIX/include]
2425 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2426 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2427 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2428 --infodir=DIR info documentation [DATAROOTDIR/info]
2429 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2430 --mandir=DIR man documentation [DATAROOTDIR/man]
2431 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2432 --htmldir=DIR html documentation [DOCDIR]
2433 --dvidir=DIR dvi documentation [DOCDIR]
2434 --pdfdir=DIR pdf documentation [DOCDIR]
2435 --psdir=DIR ps documentation [DOCDIR]
2436 _ACEOF
2438 cat <<\_ACEOF
2440 X features:
2441 --x-includes=DIR X include files are in DIR
2442 --x-libraries=DIR X library files are in DIR
2444 System types:
2445 --build=BUILD configure for building on BUILD [guessed]
2446 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2447 _ACEOF
2450 if test -n "$ac_init_help"; then
2451 case $ac_init_help in
2452 short | recursive ) echo "Configuration of Wine 8.20:";;
2453 esac
2454 cat <<\_ACEOF
2456 Optional Features:
2457 --disable-option-checking ignore unrecognized --enable/--with options
2458 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2459 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2460 --enable-archs={i386,x86_64,arm,aarch64}
2461 enable multiple architectures for PE compilation
2462 --disable-win16 do not include Win16 support
2463 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2464 binaries)
2465 --disable-tests do not build the regression tests
2466 --enable-build-id include .buildid section in output objects
2467 --enable-maintainer-mode
2468 enable maintainer-specific build rules
2469 --enable-silent-rules use silent build rules (override: "make V=1")
2470 --enable-werror treat compilation warnings as errors
2471 --disable-largefile omit support for large files
2473 Optional Packages:
2474 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2475 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2476 --without-alsa do not use the Alsa sound support
2477 --without-capi do not use CAPI (ISDN support)
2478 --without-coreaudio do not use the CoreAudio sound support
2479 --without-cups do not use CUPS
2480 --without-dbus do not use DBus (dynamic device support)
2481 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2482 --without-fontconfig do not use fontconfig
2483 --without-freetype do not use the FreeType library
2484 --without-gettext do not use gettext
2485 --with-gettextpo use the GetTextPO library to rebuild po files
2486 --without-gphoto do not use gphoto (Digital Camera support)
2487 --without-gnutls do not use GnuTLS (schannel support)
2488 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2489 --without-gstreamer do not use GStreamer (codecs support)
2490 --without-inotify do not use inotify (filesystem change notifications)
2491 --without-krb5 do not use krb5 (Kerberos)
2492 --without-mingw do not use the MinGW cross-compiler
2493 --without-netapi do not use the Samba NetAPI library
2494 --without-opencl do not use OpenCL
2495 --without-opengl do not use OpenGL
2496 --without-osmesa do not use the OSMesa library
2497 --without-oss do not use the OSS sound support
2498 --without-pcap do not use the Packet Capture library
2499 --without-pcsclite do not use PCSC lite
2500 --without-pthread do not use the pthread library
2501 --without-pulse do not use PulseAudio sound support
2502 --without-sane do not use SANE (scanner support)
2503 --without-sdl do not use SDL
2504 --without-udev do not use udev (plug and play support)
2505 --without-unwind do not use the libunwind library (exception
2506 handling)
2507 --without-usb do not use the libusb library
2508 --without-v4l2 do not use v4l2 (video capture)
2509 --without-vulkan do not use Vulkan
2510 --without-wayland do not build the Wayland driver
2511 --without-xcomposite do not use the Xcomposite extension
2512 --without-xcursor do not use the Xcursor extension
2513 --without-xfixes do not use Xfixes for clipboard change notifications
2514 --without-xinerama do not use Xinerama (legacy multi-monitor support)
2515 --without-xinput do not use the Xinput extension
2516 --without-xinput2 do not use the Xinput 2 extension
2517 --without-xrandr do not use Xrandr (multi-monitor support)
2518 --without-xrender do not use the Xrender extension
2519 --without-xshape do not use the Xshape extension
2520 --without-xshm do not use XShm (shared memory extension)
2521 --without-xxf86vm do not use XFree video mode extension
2522 --with-system-dllpath=PATH
2523 load external PE dependencies from colon-separated
2524 path PATH
2525 --with-wine-tools=DIR use Wine tools from directory DIR
2526 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2527 --with-x use the X Window System
2529 Some influential environment variables:
2530 CC C compiler command
2531 CFLAGS C compiler flags
2532 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2533 nonstandard directory <lib dir>
2534 LIBS libraries to pass to the linker, e.g. -l<library>
2535 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2536 you have headers in a nonstandard directory <include dir>
2537 CXX C++ compiler command
2538 CXXFLAGS C++ compiler flags
2539 OBJC Objective C compiler command
2540 OBJCFLAGS Objective C compiler flags
2541 FAUDIO_PE_CFLAGS
2542 C compiler flags for the PE faudio, overriding the bundled
2543 version
2544 FAUDIO_PE_LIBS
2545 Linker flags for the PE faudio, overriding the bundled version
2546 FLUIDSYNTH_PE_CFLAGS
2547 C compiler flags for the PE fluidsynth, overriding the bundled
2548 version
2549 FLUIDSYNTH_PE_LIBS
2550 Linker flags for the PE fluidsynth, overriding the bundled
2551 version
2552 GSM_PE_CFLAGS
2553 C compiler flags for the PE gsm, overriding the bundled version
2554 GSM_PE_LIBS Linker flags for the PE gsm, overriding the bundled version
2555 JPEG_PE_CFLAGS
2556 C compiler flags for the PE jpeg, overriding the bundled version
2557 JPEG_PE_LIBS
2558 Linker flags for the PE jpeg, overriding the bundled version
2559 JXR_PE_CFLAGS
2560 C compiler flags for the PE jxr, overriding the bundled version
2561 JXR_PE_LIBS Linker flags for the PE jxr, overriding the bundled version
2562 LCMS2_PE_CFLAGS
2563 C compiler flags for the PE lcms2, overriding the bundled
2564 version
2565 LCMS2_PE_LIBS
2566 Linker flags for the PE lcms2, overriding the bundled version
2567 LDAP_PE_CFLAGS
2568 C compiler flags for the PE ldap, overriding the bundled version
2569 LDAP_PE_LIBS
2570 Linker flags for the PE ldap, overriding the bundled version
2571 MPG123_PE_CFLAGS
2572 C compiler flags for the PE mpg123, overriding the bundled
2573 version
2574 MPG123_PE_LIBS
2575 Linker flags for the PE mpg123, overriding the bundled version
2576 MUSL_PE_CFLAGS
2577 C compiler flags for the PE musl, overriding the bundled version
2578 MUSL_PE_LIBS
2579 Linker flags for the PE musl, overriding the bundled version
2580 PNG_PE_CFLAGS
2581 C compiler flags for the PE png, overriding the bundled version
2582 PNG_PE_LIBS Linker flags for the PE png, overriding the bundled version
2583 TIFF_PE_CFLAGS
2584 C compiler flags for the PE tiff, overriding the bundled version
2585 TIFF_PE_LIBS
2586 Linker flags for the PE tiff, overriding the bundled version
2587 VKD3D_PE_CFLAGS
2588 C compiler flags for the PE vkd3d, overriding the bundled
2589 version
2590 VKD3D_PE_LIBS
2591 Linker flags for the PE vkd3d, overriding the bundled version
2592 XML2_PE_CFLAGS
2593 C compiler flags for the PE xml2, overriding the bundled version
2594 XML2_PE_LIBS
2595 Linker flags for the PE xml2, overriding the bundled version
2596 XSLT_PE_CFLAGS
2597 C compiler flags for the PE xslt, overriding the bundled version
2598 XSLT_PE_LIBS
2599 Linker flags for the PE xslt, overriding the bundled version
2600 ZLIB_PE_CFLAGS
2601 C compiler flags for the PE zlib, overriding the bundled version
2602 ZLIB_PE_LIBS
2603 Linker flags for the PE zlib, overriding the bundled version
2604 ZYDIS_PE_CFLAGS
2605 C compiler flags for the PE zydis, overriding the bundled
2606 version
2607 ZYDIS_PE_LIBS
2608 Linker flags for the PE zydis, overriding the bundled version
2609 XMKMF Path to xmkmf, Makefile generator for X Window System
2610 CPP C preprocessor
2611 WAYLAND_CLIENT_CFLAGS
2612 C compiler flags for wayland-client, overriding pkg-config
2613 WAYLAND_CLIENT_LIBS
2614 Linker flags for wayland-client, overriding pkg-config
2615 INOTIFY_CFLAGS
2616 C compiler flags for libinotify, overriding pkg-config
2617 INOTIFY_LIBS
2618 Linker flags for libinotify, overriding pkg-config
2619 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2620 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2621 GNUTLS_CFLAGS
2622 C compiler flags for gnutls, overriding pkg-config
2623 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2624 SANE_CFLAGS C compiler flags for sane-backends, overriding pkg-config
2625 SANE_LIBS Linker flags for sane-backends, overriding pkg-config
2626 USB_CFLAGS C compiler flags for libusb-1.0, overriding pkg-config
2627 USB_LIBS Linker flags for libusb-1.0, overriding pkg-config
2628 GPHOTO2_CFLAGS
2629 C compiler flags for libgphoto2, overriding pkg-config
2630 GPHOTO2_LIBS
2631 Linker flags for libgphoto2, overriding pkg-config
2632 GPHOTO2_PORT_CFLAGS
2633 C compiler flags for libgphoto2_port, overriding pkg-config
2634 GPHOTO2_PORT_LIBS
2635 Linker flags for libgphoto2_port, overriding pkg-config
2636 FREETYPE_CFLAGS
2637 C compiler flags for freetype2, overriding pkg-config
2638 FREETYPE_LIBS
2639 Linker flags for freetype2, overriding pkg-config
2640 PULSE_CFLAGS
2641 C compiler flags for libpulse, overriding pkg-config
2642 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2643 GSTREAMER_CFLAGS
2644 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2645 gstreamer-audio-1.0 gstreamer-tag-1.0, overriding pkg-config
2646 GSTREAMER_LIBS
2647 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2648 gstreamer-audio-1.0 gstreamer-tag-1.0, overriding pkg-config
2649 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2650 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2651 UNWIND_CFLAGS
2652 C compiler flags for libunwind, overriding pkg-config
2653 UNWIND_LIBS Linker flags for libunwind, overriding pkg-config
2654 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2655 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2656 CAPI20_CFLAGS
2657 C compiler flags for capi20, overriding pkg-config
2658 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2659 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2660 CUPS_LIBS Linker flags for cups, overriding pkg-config
2661 FONTCONFIG_CFLAGS
2662 C compiler flags for fontconfig, overriding pkg-config
2663 FONTCONFIG_LIBS
2664 Linker flags for fontconfig, overriding pkg-config
2665 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2666 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2667 GSSAPI_CFLAGS
2668 C compiler flags for krb5-gssapi, overriding pkg-config
2669 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2670 NETAPI_CFLAGS
2671 C compiler flags for netapi, overriding pkg-config
2672 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2674 Use these variables to override the choices made by `configure' or to help
2675 it to find libraries and programs with nonstandard names/locations.
2677 Report bugs to <wine-devel@winehq.org>.
2678 Wine home page: <https://www.winehq.org>.
2679 _ACEOF
2680 ac_status=$?
2683 if test "$ac_init_help" = "recursive"; then
2684 # If there are subdirs, report their specific --help.
2685 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2686 test -d "$ac_dir" ||
2687 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2688 continue
2689 ac_builddir=.
2691 case "$ac_dir" in
2692 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2694 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
2695 # A ".." for each directory in $ac_dir_suffix.
2696 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2697 case $ac_top_builddir_sub in
2698 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2699 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2700 esac ;;
2701 esac
2702 ac_abs_top_builddir=$ac_pwd
2703 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2704 # for backward compatibility:
2705 ac_top_builddir=$ac_top_build_prefix
2707 case $srcdir in
2708 .) # We are building in place.
2709 ac_srcdir=.
2710 ac_top_srcdir=$ac_top_builddir_sub
2711 ac_abs_top_srcdir=$ac_pwd ;;
2712 [\\/]* | ?:[\\/]* ) # Absolute name.
2713 ac_srcdir=$srcdir$ac_dir_suffix;
2714 ac_top_srcdir=$srcdir
2715 ac_abs_top_srcdir=$srcdir ;;
2716 *) # Relative name.
2717 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2718 ac_top_srcdir=$ac_top_build_prefix$srcdir
2719 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2720 esac
2721 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2723 cd "$ac_dir" || { ac_status=$?; continue; }
2724 # Check for configure.gnu first; this name is used for a wrapper for
2725 # Metaconfig's "Configure" on case-insensitive file systems.
2726 if test -f "$ac_srcdir/configure.gnu"; then
2727 echo &&
2728 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2729 elif test -f "$ac_srcdir/configure"; then
2730 echo &&
2731 $SHELL "$ac_srcdir/configure" --help=recursive
2732 else
2733 printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2734 fi || ac_status=$?
2735 cd "$ac_pwd" || { ac_status=$?; break; }
2736 done
2739 test -n "$ac_init_help" && exit $ac_status
2740 if $ac_init_version; then
2741 cat <<\_ACEOF
2742 Wine configure 8.20
2743 generated by GNU Autoconf 2.71
2745 Copyright (C) 2021 Free Software Foundation, Inc.
2746 This configure script is free software; the Free Software Foundation
2747 gives unlimited permission to copy, distribute and modify it.
2748 _ACEOF
2749 exit
2752 ## ------------------------ ##
2753 ## Autoconf initialization. ##
2754 ## ------------------------ ##
2756 # ac_fn_c_try_compile LINENO
2757 # --------------------------
2758 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2759 ac_fn_c_try_compile ()
2761 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2762 rm -f conftest.$ac_objext conftest.beam
2763 if { { ac_try="$ac_compile"
2764 case "(($ac_try" in
2765 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2766 *) ac_try_echo=$ac_try;;
2767 esac
2768 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2769 printf "%s\n" "$ac_try_echo"; } >&5
2770 (eval "$ac_compile") 2>conftest.err
2771 ac_status=$?
2772 if test -s conftest.err; then
2773 grep -v '^ *+' conftest.err >conftest.er1
2774 cat conftest.er1 >&5
2775 mv -f conftest.er1 conftest.err
2777 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2778 test $ac_status = 0; } && {
2779 test -z "$ac_c_werror_flag" ||
2780 test ! -s conftest.err
2781 } && test -s conftest.$ac_objext
2782 then :
2783 ac_retval=0
2784 else $as_nop
2785 printf "%s\n" "$as_me: failed program was:" >&5
2786 sed 's/^/| /' conftest.$ac_ext >&5
2788 ac_retval=1
2790 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2791 as_fn_set_status $ac_retval
2793 } # ac_fn_c_try_compile
2795 # ac_fn_cxx_try_compile LINENO
2796 # ----------------------------
2797 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2798 ac_fn_cxx_try_compile ()
2800 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2801 rm -f conftest.$ac_objext conftest.beam
2802 if { { ac_try="$ac_compile"
2803 case "(($ac_try" in
2804 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2805 *) ac_try_echo=$ac_try;;
2806 esac
2807 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2808 printf "%s\n" "$ac_try_echo"; } >&5
2809 (eval "$ac_compile") 2>conftest.err
2810 ac_status=$?
2811 if test -s conftest.err; then
2812 grep -v '^ *+' conftest.err >conftest.er1
2813 cat conftest.er1 >&5
2814 mv -f conftest.er1 conftest.err
2816 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2817 test $ac_status = 0; } && {
2818 test -z "$ac_cxx_werror_flag" ||
2819 test ! -s conftest.err
2820 } && test -s conftest.$ac_objext
2821 then :
2822 ac_retval=0
2823 else $as_nop
2824 printf "%s\n" "$as_me: failed program was:" >&5
2825 sed 's/^/| /' conftest.$ac_ext >&5
2827 ac_retval=1
2829 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2830 as_fn_set_status $ac_retval
2832 } # ac_fn_cxx_try_compile
2834 # ac_fn_c_try_link LINENO
2835 # -----------------------
2836 # Try to link conftest.$ac_ext, and return whether this succeeded.
2837 ac_fn_c_try_link ()
2839 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2840 rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
2841 if { { ac_try="$ac_link"
2842 case "(($ac_try" in
2843 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2844 *) ac_try_echo=$ac_try;;
2845 esac
2846 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2847 printf "%s\n" "$ac_try_echo"; } >&5
2848 (eval "$ac_link") 2>conftest.err
2849 ac_status=$?
2850 if test -s conftest.err; then
2851 grep -v '^ *+' conftest.err >conftest.er1
2852 cat conftest.er1 >&5
2853 mv -f conftest.er1 conftest.err
2855 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2856 test $ac_status = 0; } && {
2857 test -z "$ac_c_werror_flag" ||
2858 test ! -s conftest.err
2859 } && test -s conftest$ac_exeext && {
2860 test "$cross_compiling" = yes ||
2861 test -x conftest$ac_exeext
2863 then :
2864 ac_retval=0
2865 else $as_nop
2866 printf "%s\n" "$as_me: failed program was:" >&5
2867 sed 's/^/| /' conftest.$ac_ext >&5
2869 ac_retval=1
2871 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2872 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2873 # interfere with the next link command; also delete a directory that is
2874 # left behind by Apple's compiler. We do this before executing the actions.
2875 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2876 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2877 as_fn_set_status $ac_retval
2879 } # ac_fn_c_try_link
2881 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2882 # -------------------------------------------------------
2883 # Tests whether HEADER exists and can be compiled using the include files in
2884 # INCLUDES, setting the cache variable VAR accordingly.
2885 ac_fn_c_check_header_compile ()
2887 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2888 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2889 printf %s "checking for $2... " >&6; }
2890 if eval test \${$3+y}
2891 then :
2892 printf %s "(cached) " >&6
2893 else $as_nop
2894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2895 /* end confdefs.h. */
2897 #include <$2>
2898 _ACEOF
2899 if ac_fn_c_try_compile "$LINENO"
2900 then :
2901 eval "$3=yes"
2902 else $as_nop
2903 eval "$3=no"
2905 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2907 eval ac_res=\$$3
2908 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2909 printf "%s\n" "$ac_res" >&6; }
2910 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2912 } # ac_fn_c_check_header_compile
2914 # ac_fn_objc_try_compile LINENO
2915 # -----------------------------
2916 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2917 ac_fn_objc_try_compile ()
2919 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2920 rm -f conftest.$ac_objext conftest.beam
2921 if { { ac_try="$ac_compile"
2922 case "(($ac_try" in
2923 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2924 *) ac_try_echo=$ac_try;;
2925 esac
2926 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2927 printf "%s\n" "$ac_try_echo"; } >&5
2928 (eval "$ac_compile") 2>conftest.err
2929 ac_status=$?
2930 if test -s conftest.err; then
2931 grep -v '^ *+' conftest.err >conftest.er1
2932 cat conftest.er1 >&5
2933 mv -f conftest.er1 conftest.err
2935 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2936 test $ac_status = 0; } && {
2937 test -z "$ac_objc_werror_flag" ||
2938 test ! -s conftest.err
2939 } && test -s conftest.$ac_objext
2940 then :
2941 ac_retval=0
2942 else $as_nop
2943 printf "%s\n" "$as_me: failed program was:" >&5
2944 sed 's/^/| /' conftest.$ac_ext >&5
2946 ac_retval=1
2948 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2949 as_fn_set_status $ac_retval
2951 } # ac_fn_objc_try_compile
2953 # ac_fn_c_check_func LINENO FUNC VAR
2954 # ----------------------------------
2955 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2956 ac_fn_c_check_func ()
2958 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2959 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2960 printf %s "checking for $2... " >&6; }
2961 if eval test \${$3+y}
2962 then :
2963 printf %s "(cached) " >&6
2964 else $as_nop
2965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2966 /* end confdefs.h. */
2967 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2968 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2969 #define $2 innocuous_$2
2971 /* System header to define __stub macros and hopefully few prototypes,
2972 which can conflict with char $2 (); below. */
2974 #include <limits.h>
2975 #undef $2
2977 /* Override any GCC internal prototype to avoid an error.
2978 Use char because int might match the return type of a GCC
2979 builtin and then its argument prototype would still apply. */
2980 #ifdef __cplusplus
2981 extern "C"
2982 #endif
2983 char $2 ();
2984 /* The GNU C library defines this for functions which it implements
2985 to always fail with ENOSYS. Some functions are actually named
2986 something starting with __ and the normal name is an alias. */
2987 #if defined __stub_$2 || defined __stub___$2
2988 choke me
2989 #endif
2992 main (void)
2994 return $2 ();
2996 return 0;
2998 _ACEOF
2999 if ac_fn_c_try_link "$LINENO"
3000 then :
3001 eval "$3=yes"
3002 else $as_nop
3003 eval "$3=no"
3005 rm -f core conftest.err conftest.$ac_objext conftest.beam \
3006 conftest$ac_exeext conftest.$ac_ext
3008 eval ac_res=\$$3
3009 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3010 printf "%s\n" "$ac_res" >&6; }
3011 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3013 } # ac_fn_c_check_func
3015 # ac_fn_c_try_cpp LINENO
3016 # ----------------------
3017 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
3018 ac_fn_c_try_cpp ()
3020 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3021 if { { ac_try="$ac_cpp conftest.$ac_ext"
3022 case "(($ac_try" in
3023 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3024 *) ac_try_echo=$ac_try;;
3025 esac
3026 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3027 printf "%s\n" "$ac_try_echo"; } >&5
3028 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
3029 ac_status=$?
3030 if test -s conftest.err; then
3031 grep -v '^ *+' conftest.err >conftest.er1
3032 cat conftest.er1 >&5
3033 mv -f conftest.er1 conftest.err
3035 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3036 test $ac_status = 0; } > conftest.i && {
3037 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3038 test ! -s conftest.err
3040 then :
3041 ac_retval=0
3042 else $as_nop
3043 printf "%s\n" "$as_me: failed program was:" >&5
3044 sed 's/^/| /' conftest.$ac_ext >&5
3046 ac_retval=1
3048 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3049 as_fn_set_status $ac_retval
3051 } # ac_fn_c_try_cpp
3053 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3054 # ----------------------------------------------------
3055 # Tries to find if the field MEMBER exists in type AGGR, after including
3056 # INCLUDES, setting cache variable VAR accordingly.
3057 ac_fn_c_check_member ()
3059 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3060 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3061 printf %s "checking for $2.$3... " >&6; }
3062 if eval test \${$4+y}
3063 then :
3064 printf %s "(cached) " >&6
3065 else $as_nop
3066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3067 /* end confdefs.h. */
3070 main (void)
3072 static $2 ac_aggr;
3073 if (ac_aggr.$3)
3074 return 0;
3076 return 0;
3078 _ACEOF
3079 if ac_fn_c_try_compile "$LINENO"
3080 then :
3081 eval "$4=yes"
3082 else $as_nop
3083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3084 /* end confdefs.h. */
3087 main (void)
3089 static $2 ac_aggr;
3090 if (sizeof ac_aggr.$3)
3091 return 0;
3093 return 0;
3095 _ACEOF
3096 if ac_fn_c_try_compile "$LINENO"
3097 then :
3098 eval "$4=yes"
3099 else $as_nop
3100 eval "$4=no"
3102 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3104 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3106 eval ac_res=\$$4
3107 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3108 printf "%s\n" "$ac_res" >&6; }
3109 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3111 } # ac_fn_c_check_member
3113 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3114 # -------------------------------------------
3115 # Tests whether TYPE exists after having included INCLUDES, setting cache
3116 # variable VAR accordingly.
3117 ac_fn_c_check_type ()
3119 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3120 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3121 printf %s "checking for $2... " >&6; }
3122 if eval test \${$3+y}
3123 then :
3124 printf %s "(cached) " >&6
3125 else $as_nop
3126 eval "$3=no"
3127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3128 /* end confdefs.h. */
3131 main (void)
3133 if (sizeof ($2))
3134 return 0;
3136 return 0;
3138 _ACEOF
3139 if ac_fn_c_try_compile "$LINENO"
3140 then :
3141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3142 /* end confdefs.h. */
3145 main (void)
3147 if (sizeof (($2)))
3148 return 0;
3150 return 0;
3152 _ACEOF
3153 if ac_fn_c_try_compile "$LINENO"
3154 then :
3156 else $as_nop
3157 eval "$3=yes"
3159 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3161 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3163 eval ac_res=\$$3
3164 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3165 printf "%s\n" "$ac_res" >&6; }
3166 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3168 } # ac_fn_c_check_type
3169 ac_configure_args_raw=
3170 for ac_arg
3172 case $ac_arg in
3173 *\'*)
3174 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3175 esac
3176 as_fn_append ac_configure_args_raw " '$ac_arg'"
3177 done
3179 case $ac_configure_args_raw in
3180 *$as_nl*)
3181 ac_safe_unquote= ;;
3183 ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab.
3184 ac_unsafe_a="$ac_unsafe_z#~"
3185 ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
3186 ac_configure_args_raw=` printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
3187 esac
3189 cat >config.log <<_ACEOF
3190 This file contains any messages produced by compilers while
3191 running configure, to aid debugging if configure makes a mistake.
3193 It was created by Wine $as_me 8.20, which was
3194 generated by GNU Autoconf 2.71. Invocation command line was
3196 $ $0$ac_configure_args_raw
3198 _ACEOF
3199 exec 5>>config.log
3201 cat <<_ASUNAME
3202 ## --------- ##
3203 ## Platform. ##
3204 ## --------- ##
3206 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3207 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3208 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3209 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3210 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3212 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3213 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3215 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3216 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3217 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3218 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3219 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3220 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3221 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3223 _ASUNAME
3225 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3226 for as_dir in $PATH
3228 IFS=$as_save_IFS
3229 case $as_dir in #(((
3230 '') as_dir=./ ;;
3231 */) ;;
3232 *) as_dir=$as_dir/ ;;
3233 esac
3234 printf "%s\n" "PATH: $as_dir"
3235 done
3236 IFS=$as_save_IFS
3238 } >&5
3240 cat >&5 <<_ACEOF
3243 ## ----------- ##
3244 ## Core tests. ##
3245 ## ----------- ##
3247 _ACEOF
3250 # Keep a trace of the command line.
3251 # Strip out --no-create and --no-recursion so they do not pile up.
3252 # Strip out --silent because we don't want to record it for future runs.
3253 # Also quote any args containing shell meta-characters.
3254 # Make two passes to allow for proper duplicate-argument suppression.
3255 ac_configure_args=
3256 ac_configure_args0=
3257 ac_configure_args1=
3258 ac_must_keep_next=false
3259 for ac_pass in 1 2
3261 for ac_arg
3263 case $ac_arg in
3264 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3265 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3266 | -silent | --silent | --silen | --sile | --sil)
3267 continue ;;
3268 *\'*)
3269 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3270 esac
3271 case $ac_pass in
3272 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3274 as_fn_append ac_configure_args1 " '$ac_arg'"
3275 if test $ac_must_keep_next = true; then
3276 ac_must_keep_next=false # Got value, back to normal.
3277 else
3278 case $ac_arg in
3279 *=* | --config-cache | -C | -disable-* | --disable-* \
3280 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3281 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3282 | -with-* | --with-* | -without-* | --without-* | --x)
3283 case "$ac_configure_args0 " in
3284 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3285 esac
3287 -* ) ac_must_keep_next=true ;;
3288 esac
3290 as_fn_append ac_configure_args " '$ac_arg'"
3292 esac
3293 done
3294 done
3295 { ac_configure_args0=; unset ac_configure_args0;}
3296 { ac_configure_args1=; unset ac_configure_args1;}
3298 # When interrupted or exit'd, cleanup temporary files, and complete
3299 # config.log. We remove comments because anyway the quotes in there
3300 # would cause problems or look ugly.
3301 # WARNING: Use '\'' to represent an apostrophe within the trap.
3302 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3303 trap 'exit_status=$?
3304 # Sanitize IFS.
3305 IFS=" "" $as_nl"
3306 # Save into config.log some information that might help in debugging.
3308 echo
3310 printf "%s\n" "## ---------------- ##
3311 ## Cache variables. ##
3312 ## ---------------- ##"
3313 echo
3314 # The following way of writing the cache mishandles newlines in values,
3316 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3317 eval ac_val=\$$ac_var
3318 case $ac_val in #(
3319 *${as_nl}*)
3320 case $ac_var in #(
3321 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3322 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3323 esac
3324 case $ac_var in #(
3325 _ | IFS | as_nl) ;; #(
3326 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3327 *) { eval $ac_var=; unset $ac_var;} ;;
3328 esac ;;
3329 esac
3330 done
3331 (set) 2>&1 |
3332 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3333 *${as_nl}ac_space=\ *)
3334 sed -n \
3335 "s/'\''/'\''\\\\'\'''\''/g;
3336 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3337 ;; #(
3339 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3341 esac |
3342 sort
3344 echo
3346 printf "%s\n" "## ----------------- ##
3347 ## Output variables. ##
3348 ## ----------------- ##"
3349 echo
3350 for ac_var in $ac_subst_vars
3352 eval ac_val=\$$ac_var
3353 case $ac_val in
3354 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3355 esac
3356 printf "%s\n" "$ac_var='\''$ac_val'\''"
3357 done | sort
3358 echo
3360 if test -n "$ac_subst_files"; then
3361 printf "%s\n" "## ------------------- ##
3362 ## File substitutions. ##
3363 ## ------------------- ##"
3364 echo
3365 for ac_var in $ac_subst_files
3367 eval ac_val=\$$ac_var
3368 case $ac_val in
3369 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3370 esac
3371 printf "%s\n" "$ac_var='\''$ac_val'\''"
3372 done | sort
3373 echo
3376 if test -s confdefs.h; then
3377 printf "%s\n" "## ----------- ##
3378 ## confdefs.h. ##
3379 ## ----------- ##"
3380 echo
3381 cat confdefs.h
3382 echo
3384 test "$ac_signal" != 0 &&
3385 printf "%s\n" "$as_me: caught signal $ac_signal"
3386 printf "%s\n" "$as_me: exit $exit_status"
3387 } >&5
3388 rm -f core *.core core.conftest.* &&
3389 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3390 exit $exit_status
3392 for ac_signal in 1 2 13 15; do
3393 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3394 done
3395 ac_signal=0
3397 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3398 rm -f -r conftest* confdefs.h
3400 printf "%s\n" "/* confdefs.h */" > confdefs.h
3402 # Predefined preprocessor variables.
3404 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
3406 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
3408 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
3410 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
3412 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
3414 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
3417 # Let the site file select an alternate cache file if it wants to.
3418 # Prefer an explicitly selected file to automatically selected ones.
3419 if test -n "$CONFIG_SITE"; then
3420 ac_site_files="$CONFIG_SITE"
3421 elif test "x$prefix" != xNONE; then
3422 ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
3423 else
3424 ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
3427 for ac_site_file in $ac_site_files
3429 case $ac_site_file in #(
3430 */*) :
3431 ;; #(
3432 *) :
3433 ac_site_file=./$ac_site_file ;;
3434 esac
3435 if test -f "$ac_site_file" && test -r "$ac_site_file"; then
3436 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3437 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
3438 sed 's/^/| /' "$ac_site_file" >&5
3439 . "$ac_site_file" \
3440 || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3441 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
3442 as_fn_error $? "failed to load site script $ac_site_file
3443 See \`config.log' for more details" "$LINENO" 5; }
3445 done
3447 if test -r "$cache_file"; then
3448 # Some versions of bash will fail to source /dev/null (special files
3449 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3450 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3451 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3452 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
3453 case $cache_file in
3454 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3455 *) . "./$cache_file";;
3456 esac
3458 else
3459 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3460 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
3461 >$cache_file
3464 # Test code for whether the C compiler supports C89 (global declarations)
3465 ac_c_conftest_c89_globals='
3466 /* Does the compiler advertise C89 conformance?
3467 Do not test the value of __STDC__, because some compilers set it to 0
3468 while being otherwise adequately conformant. */
3469 #if !defined __STDC__
3470 # error "Compiler does not advertise C89 conformance"
3471 #endif
3473 #include <stddef.h>
3474 #include <stdarg.h>
3475 struct stat;
3476 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */
3477 struct buf { int x; };
3478 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
3479 static char *e (p, i)
3480 char **p;
3481 int i;
3483 return p[i];
3485 static char *f (char * (*g) (char **, int), char **p, ...)
3487 char *s;
3488 va_list v;
3489 va_start (v,p);
3490 s = g (p, va_arg (v,int));
3491 va_end (v);
3492 return s;
3495 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3496 function prototypes and stuff, but not \xHH hex character constants.
3497 These do not provoke an error unfortunately, instead are silently treated
3498 as an "x". The following induces an error, until -std is added to get
3499 proper ANSI mode. Curiously \x00 != x always comes out true, for an
3500 array size at least. It is necessary to write \x00 == 0 to get something
3501 that is true only with -std. */
3502 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
3504 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3505 inside strings and character constants. */
3506 #define FOO(x) '\''x'\''
3507 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
3509 int test (int i, double x);
3510 struct s1 {int (*f) (int a);};
3511 struct s2 {int (*f) (double a);};
3512 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
3513 int, int);'
3515 # Test code for whether the C compiler supports C89 (body of main).
3516 ac_c_conftest_c89_main='
3517 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
3520 # Test code for whether the C compiler supports C99 (global declarations)
3521 ac_c_conftest_c99_globals='
3522 // Does the compiler advertise C99 conformance?
3523 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
3524 # error "Compiler does not advertise C99 conformance"
3525 #endif
3527 #include <stdbool.h>
3528 extern int puts (const char *);
3529 extern int printf (const char *, ...);
3530 extern int dprintf (int, const char *, ...);
3531 extern void *malloc (size_t);
3533 // Check varargs macros. These examples are taken from C99 6.10.3.5.
3534 // dprintf is used instead of fprintf to avoid needing to declare
3535 // FILE and stderr.
3536 #define debug(...) dprintf (2, __VA_ARGS__)
3537 #define showlist(...) puts (#__VA_ARGS__)
3538 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3539 static void
3540 test_varargs_macros (void)
3542 int x = 1234;
3543 int y = 5678;
3544 debug ("Flag");
3545 debug ("X = %d\n", x);
3546 showlist (The first, second, and third items.);
3547 report (x>y, "x is %d but y is %d", x, y);
3550 // Check long long types.
3551 #define BIG64 18446744073709551615ull
3552 #define BIG32 4294967295ul
3553 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3554 #if !BIG_OK
3555 #error "your preprocessor is broken"
3556 #endif
3557 #if BIG_OK
3558 #else
3559 #error "your preprocessor is broken"
3560 #endif
3561 static long long int bignum = -9223372036854775807LL;
3562 static unsigned long long int ubignum = BIG64;
3564 struct incomplete_array
3566 int datasize;
3567 double data[];
3570 struct named_init {
3571 int number;
3572 const wchar_t *name;
3573 double average;
3576 typedef const char *ccp;
3578 static inline int
3579 test_restrict (ccp restrict text)
3581 // See if C++-style comments work.
3582 // Iterate through items via the restricted pointer.
3583 // Also check for declarations in for loops.
3584 for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
3585 continue;
3586 return 0;
3589 // Check varargs and va_copy.
3590 static bool
3591 test_varargs (const char *format, ...)
3593 va_list args;
3594 va_start (args, format);
3595 va_list args_copy;
3596 va_copy (args_copy, args);
3598 const char *str = "";
3599 int number = 0;
3600 float fnumber = 0;
3602 while (*format)
3604 switch (*format++)
3606 case '\''s'\'': // string
3607 str = va_arg (args_copy, const char *);
3608 break;
3609 case '\''d'\'': // int
3610 number = va_arg (args_copy, int);
3611 break;
3612 case '\''f'\'': // float
3613 fnumber = va_arg (args_copy, double);
3614 break;
3615 default:
3616 break;
3619 va_end (args_copy);
3620 va_end (args);
3622 return *str && number && fnumber;
3626 # Test code for whether the C compiler supports C99 (body of main).
3627 ac_c_conftest_c99_main='
3628 // Check bool.
3629 _Bool success = false;
3630 success |= (argc != 0);
3632 // Check restrict.
3633 if (test_restrict ("String literal") == 0)
3634 success = true;
3635 char *restrict newvar = "Another string";
3637 // Check varargs.
3638 success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
3639 test_varargs_macros ();
3641 // Check flexible array members.
3642 struct incomplete_array *ia =
3643 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
3644 ia->datasize = 10;
3645 for (int i = 0; i < ia->datasize; ++i)
3646 ia->data[i] = i * 1.234;
3648 // Check named initializers.
3649 struct named_init ni = {
3650 .number = 34,
3651 .name = L"Test wide string",
3652 .average = 543.34343,
3655 ni.number = 58;
3657 int dynamic_array[ni.number];
3658 dynamic_array[0] = argv[0][0];
3659 dynamic_array[ni.number - 1] = 543;
3661 // work around unused variable warnings
3662 ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
3663 || dynamic_array[ni.number - 1] != 543);
3666 # Test code for whether the C compiler supports C11 (global declarations)
3667 ac_c_conftest_c11_globals='
3668 // Does the compiler advertise C11 conformance?
3669 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
3670 # error "Compiler does not advertise C11 conformance"
3671 #endif
3673 // Check _Alignas.
3674 char _Alignas (double) aligned_as_double;
3675 char _Alignas (0) no_special_alignment;
3676 extern char aligned_as_int;
3677 char _Alignas (0) _Alignas (int) aligned_as_int;
3679 // Check _Alignof.
3680 enum
3682 int_alignment = _Alignof (int),
3683 int_array_alignment = _Alignof (int[100]),
3684 char_alignment = _Alignof (char)
3686 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
3688 // Check _Noreturn.
3689 int _Noreturn does_not_return (void) { for (;;) continue; }
3691 // Check _Static_assert.
3692 struct test_static_assert
3694 int x;
3695 _Static_assert (sizeof (int) <= sizeof (long int),
3696 "_Static_assert does not work in struct");
3697 long int y;
3700 // Check UTF-8 literals.
3701 #define u8 syntax error!
3702 char const utf8_literal[] = u8"happens to be ASCII" "another string";
3704 // Check duplicate typedefs.
3705 typedef long *long_ptr;
3706 typedef long int *long_ptr;
3707 typedef long_ptr long_ptr;
3709 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
3710 struct anonymous
3712 union {
3713 struct { int i; int j; };
3714 struct { int k; long int l; } w;
3716 int m;
3717 } v1;
3720 # Test code for whether the C compiler supports C11 (body of main).
3721 ac_c_conftest_c11_main='
3722 _Static_assert ((offsetof (struct anonymous, i)
3723 == offsetof (struct anonymous, w.k)),
3724 "Anonymous union alignment botch");
3725 v1.i = 2;
3726 v1.w.k = 5;
3727 ok |= v1.i != 5;
3730 # Test code for whether the C compiler supports C11 (complete).
3731 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
3732 ${ac_c_conftest_c99_globals}
3733 ${ac_c_conftest_c11_globals}
3736 main (int argc, char **argv)
3738 int ok = 0;
3739 ${ac_c_conftest_c89_main}
3740 ${ac_c_conftest_c99_main}
3741 ${ac_c_conftest_c11_main}
3742 return ok;
3746 # Test code for whether the C compiler supports C99 (complete).
3747 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
3748 ${ac_c_conftest_c99_globals}
3751 main (int argc, char **argv)
3753 int ok = 0;
3754 ${ac_c_conftest_c89_main}
3755 ${ac_c_conftest_c99_main}
3756 return ok;
3760 # Test code for whether the C compiler supports C89 (complete).
3761 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
3764 main (int argc, char **argv)
3766 int ok = 0;
3767 ${ac_c_conftest_c89_main}
3768 return ok;
3772 # Test code for whether the C++ compiler supports C++98 (global declarations)
3773 ac_cxx_conftest_cxx98_globals='
3774 // Does the compiler advertise C++98 conformance?
3775 #if !defined __cplusplus || __cplusplus < 199711L
3776 # error "Compiler does not advertise C++98 conformance"
3777 #endif
3779 // These inclusions are to reject old compilers that
3780 // lack the unsuffixed header files.
3781 #include <cstdlib>
3782 #include <exception>
3784 // <cassert> and <cstring> are *not* freestanding headers in C++98.
3785 extern void assert (int);
3786 namespace std {
3787 extern int strcmp (const char *, const char *);
3790 // Namespaces, exceptions, and templates were all added after "C++ 2.0".
3791 using std::exception;
3792 using std::strcmp;
3794 namespace {
3796 void test_exception_syntax()
3798 try {
3799 throw "test";
3800 } catch (const char *s) {
3801 // Extra parentheses suppress a warning when building autoconf itself,
3802 // due to lint rules shared with more typical C programs.
3803 assert (!(strcmp) (s, "test"));
3807 template <typename T> struct test_template
3809 T const val;
3810 explicit test_template(T t) : val(t) {}
3811 template <typename U> T add(U u) { return static_cast<T>(u) + val; }
3814 } // anonymous namespace
3817 # Test code for whether the C++ compiler supports C++98 (body of main)
3818 ac_cxx_conftest_cxx98_main='
3819 assert (argc);
3820 assert (! argv[0]);
3822 test_exception_syntax ();
3823 test_template<double> tt (2.0);
3824 assert (tt.add (4) == 6.0);
3825 assert (true && !false);
3829 # Test code for whether the C++ compiler supports C++11 (global declarations)
3830 ac_cxx_conftest_cxx11_globals='
3831 // Does the compiler advertise C++ 2011 conformance?
3832 #if !defined __cplusplus || __cplusplus < 201103L
3833 # error "Compiler does not advertise C++11 conformance"
3834 #endif
3836 namespace cxx11test
3838 constexpr int get_val() { return 20; }
3840 struct testinit
3842 int i;
3843 double d;
3846 class delegate
3848 public:
3849 delegate(int n) : n(n) {}
3850 delegate(): delegate(2354) {}
3852 virtual int getval() { return this->n; };
3853 protected:
3854 int n;
3857 class overridden : public delegate
3859 public:
3860 overridden(int n): delegate(n) {}
3861 virtual int getval() override final { return this->n * 2; }
3864 class nocopy
3866 public:
3867 nocopy(int i): i(i) {}
3868 nocopy() = default;
3869 nocopy(const nocopy&) = delete;
3870 nocopy & operator=(const nocopy&) = delete;
3871 private:
3872 int i;
3875 // for testing lambda expressions
3876 template <typename Ret, typename Fn> Ret eval(Fn f, Ret v)
3878 return f(v);
3881 // for testing variadic templates and trailing return types
3882 template <typename V> auto sum(V first) -> V
3884 return first;
3886 template <typename V, typename... Args> auto sum(V first, Args... rest) -> V
3888 return first + sum(rest...);
3893 # Test code for whether the C++ compiler supports C++11 (body of main)
3894 ac_cxx_conftest_cxx11_main='
3896 // Test auto and decltype
3897 auto a1 = 6538;
3898 auto a2 = 48573953.4;
3899 auto a3 = "String literal";
3901 int total = 0;
3902 for (auto i = a3; *i; ++i) { total += *i; }
3904 decltype(a2) a4 = 34895.034;
3907 // Test constexpr
3908 short sa[cxx11test::get_val()] = { 0 };
3911 // Test initializer lists
3912 cxx11test::testinit il = { 4323, 435234.23544 };
3915 // Test range-based for
3916 int array[] = {9, 7, 13, 15, 4, 18, 12, 10, 5, 3,
3917 14, 19, 17, 8, 6, 20, 16, 2, 11, 1};
3918 for (auto &x : array) { x += 23; }
3921 // Test lambda expressions
3922 using cxx11test::eval;
3923 assert (eval ([](int x) { return x*2; }, 21) == 42);
3924 double d = 2.0;
3925 assert (eval ([&](double x) { return d += x; }, 3.0) == 5.0);
3926 assert (d == 5.0);
3927 assert (eval ([=](double x) mutable { return d += x; }, 4.0) == 9.0);
3928 assert (d == 5.0);
3931 // Test use of variadic templates
3932 using cxx11test::sum;
3933 auto a = sum(1);
3934 auto b = sum(1, 2);
3935 auto c = sum(1.0, 2.0, 3.0);
3938 // Test constructor delegation
3939 cxx11test::delegate d1;
3940 cxx11test::delegate d2();
3941 cxx11test::delegate d3(45);
3944 // Test override and final
3945 cxx11test::overridden o1(55464);
3948 // Test nullptr
3949 char *c = nullptr;
3952 // Test template brackets
3953 test_template<::test_template<int>> v(test_template<int>(12));
3956 // Unicode literals
3957 char const *utf8 = u8"UTF-8 string \u2500";
3958 char16_t const *utf16 = u"UTF-8 string \u2500";
3959 char32_t const *utf32 = U"UTF-32 string \u2500";
3963 # Test code for whether the C compiler supports C++11 (complete).
3964 ac_cxx_conftest_cxx11_program="${ac_cxx_conftest_cxx98_globals}
3965 ${ac_cxx_conftest_cxx11_globals}
3968 main (int argc, char **argv)
3970 int ok = 0;
3971 ${ac_cxx_conftest_cxx98_main}
3972 ${ac_cxx_conftest_cxx11_main}
3973 return ok;
3977 # Test code for whether the C compiler supports C++98 (complete).
3978 ac_cxx_conftest_cxx98_program="${ac_cxx_conftest_cxx98_globals}
3980 main (int argc, char **argv)
3982 int ok = 0;
3983 ${ac_cxx_conftest_cxx98_main}
3984 return ok;
3988 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
3989 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
3990 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
3991 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
3992 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
3993 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
3994 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
3995 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
3996 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
3998 # Auxiliary files required by this configure script.
3999 ac_aux_files="config.guess config.sub"
4001 # Locations in which to look for auxiliary files.
4002 ac_aux_dir_candidates="${srcdir}/tools"
4004 # Search for a directory containing all of the required auxiliary files,
4005 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
4006 # If we don't find one directory that contains all the files we need,
4007 # we report the set of missing files from the *first* directory in
4008 # $ac_aux_dir_candidates and give up.
4009 ac_missing_aux_files=""
4010 ac_first_candidate=:
4011 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
4012 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4013 as_found=false
4014 for as_dir in $ac_aux_dir_candidates
4016 IFS=$as_save_IFS
4017 case $as_dir in #(((
4018 '') as_dir=./ ;;
4019 */) ;;
4020 *) as_dir=$as_dir/ ;;
4021 esac
4022 as_found=:
4024 printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5
4025 ac_aux_dir_found=yes
4026 ac_install_sh=
4027 for ac_aux in $ac_aux_files
4029 # As a special case, if "install-sh" is required, that requirement
4030 # can be satisfied by any of "install-sh", "install.sh", or "shtool",
4031 # and $ac_install_sh is set appropriately for whichever one is found.
4032 if test x"$ac_aux" = x"install-sh"
4033 then
4034 if test -f "${as_dir}install-sh"; then
4035 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5
4036 ac_install_sh="${as_dir}install-sh -c"
4037 elif test -f "${as_dir}install.sh"; then
4038 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5
4039 ac_install_sh="${as_dir}install.sh -c"
4040 elif test -f "${as_dir}shtool"; then
4041 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5
4042 ac_install_sh="${as_dir}shtool install -c"
4043 else
4044 ac_aux_dir_found=no
4045 if $ac_first_candidate; then
4046 ac_missing_aux_files="${ac_missing_aux_files} install-sh"
4047 else
4048 break
4051 else
4052 if test -f "${as_dir}${ac_aux}"; then
4053 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5
4054 else
4055 ac_aux_dir_found=no
4056 if $ac_first_candidate; then
4057 ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
4058 else
4059 break
4063 done
4064 if test "$ac_aux_dir_found" = yes; then
4065 ac_aux_dir="$as_dir"
4066 break
4068 ac_first_candidate=false
4070 as_found=false
4071 done
4072 IFS=$as_save_IFS
4073 if $as_found
4074 then :
4076 else $as_nop
4077 as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
4081 # These three variables are undocumented and unsupported,
4082 # and are intended to be withdrawn in a future Autoconf release.
4083 # They can cause serious problems if a builder's source tree is in a directory
4084 # whose full name contains unusual characters.
4085 if test -f "${ac_aux_dir}config.guess"; then
4086 ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
4088 if test -f "${ac_aux_dir}config.sub"; then
4089 ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
4091 if test -f "$ac_aux_dir/configure"; then
4092 ac_configure="$SHELL ${ac_aux_dir}configure"
4095 # Check that the precious variables saved in the cache have kept the same
4096 # value.
4097 ac_cache_corrupted=false
4098 for ac_var in $ac_precious_vars; do
4099 eval ac_old_set=\$ac_cv_env_${ac_var}_set
4100 eval ac_new_set=\$ac_env_${ac_var}_set
4101 eval ac_old_val=\$ac_cv_env_${ac_var}_value
4102 eval ac_new_val=\$ac_env_${ac_var}_value
4103 case $ac_old_set,$ac_new_set in
4104 set,)
4105 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
4106 printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
4107 ac_cache_corrupted=: ;;
4108 ,set)
4109 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
4110 printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
4111 ac_cache_corrupted=: ;;
4112 ,);;
4114 if test "x$ac_old_val" != "x$ac_new_val"; then
4115 # differences in whitespace do not lead to failure.
4116 ac_old_val_w=`echo x $ac_old_val`
4117 ac_new_val_w=`echo x $ac_new_val`
4118 if test "$ac_old_val_w" != "$ac_new_val_w"; then
4119 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
4120 printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
4121 ac_cache_corrupted=:
4122 else
4123 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
4124 printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
4125 eval $ac_var=\$ac_old_val
4127 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
4128 printf "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;}
4129 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
4130 printf "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;}
4131 fi;;
4132 esac
4133 # Pass precious variables to config.status.
4134 if test "$ac_new_set" = set; then
4135 case $ac_new_val in
4136 *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
4137 *) ac_arg=$ac_var=$ac_new_val ;;
4138 esac
4139 case " $ac_configure_args " in
4140 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
4141 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
4142 esac
4144 done
4145 if $ac_cache_corrupted; then
4146 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4147 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
4148 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
4149 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
4150 as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
4151 and start over" "$LINENO" 5
4153 ## -------------------- ##
4154 ## Main body of script. ##
4155 ## -------------------- ##
4157 ac_ext=c
4158 ac_cpp='$CPP $CPPFLAGS'
4159 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4160 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4161 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4165 ac_config_headers="$ac_config_headers include/config.h"
4169 libwine_version="1.0"
4172 # Check whether --enable-archs was given.
4173 if test ${enable_archs+y}
4174 then :
4175 enableval=$enable_archs;
4178 # Check whether --enable-win16 was given.
4179 if test ${enable_win16+y}
4180 then :
4181 enableval=$enable_win16;
4184 # Check whether --enable-win64 was given.
4185 if test ${enable_win64+y}
4186 then :
4187 enableval=$enable_win64;
4190 # Check whether --enable-tests was given.
4191 if test ${enable_tests+y}
4192 then :
4193 enableval=$enable_tests;
4196 # Check whether --enable-build-id was given.
4197 if test ${enable_build_id+y}
4198 then :
4199 enableval=$enable_build_id;
4202 # Check whether --enable-maintainer-mode was given.
4203 if test ${enable_maintainer_mode+y}
4204 then :
4205 enableval=$enable_maintainer_mode;
4208 # Check whether --enable-silent-rules was given.
4209 if test ${enable_silent_rules+y}
4210 then :
4211 enableval=$enable_silent_rules;
4214 # Check whether --enable-werror was given.
4215 if test ${enable_werror+y}
4216 then :
4217 enableval=$enable_werror;
4222 # Check whether --with-alsa was given.
4223 if test ${with_alsa+y}
4224 then :
4225 withval=$with_alsa;
4229 # Check whether --with-capi was given.
4230 if test ${with_capi+y}
4231 then :
4232 withval=$with_capi;
4236 # Check whether --with-coreaudio was given.
4237 if test ${with_coreaudio+y}
4238 then :
4239 withval=$with_coreaudio;
4243 # Check whether --with-cups was given.
4244 if test ${with_cups+y}
4245 then :
4246 withval=$with_cups;
4250 # Check whether --with-dbus was given.
4251 if test ${with_dbus+y}
4252 then :
4253 withval=$with_dbus;
4257 # Check whether --with-float-abi was given.
4258 if test ${with_float_abi+y}
4259 then :
4260 withval=$with_float_abi;
4264 # Check whether --with-fontconfig was given.
4265 if test ${with_fontconfig+y}
4266 then :
4267 withval=$with_fontconfig;
4271 # Check whether --with-freetype was given.
4272 if test ${with_freetype+y}
4273 then :
4274 withval=$with_freetype;
4278 # Check whether --with-gettext was given.
4279 if test ${with_gettext+y}
4280 then :
4281 withval=$with_gettext;
4285 # Check whether --with-gettextpo was given.
4286 if test ${with_gettextpo+y}
4287 then :
4288 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
4292 # Check whether --with-gphoto was given.
4293 if test ${with_gphoto+y}
4294 then :
4295 withval=$with_gphoto;
4299 # Check whether --with-gnutls was given.
4300 if test ${with_gnutls+y}
4301 then :
4302 withval=$with_gnutls;
4306 # Check whether --with-gssapi was given.
4307 if test ${with_gssapi+y}
4308 then :
4309 withval=$with_gssapi;
4313 # Check whether --with-gstreamer was given.
4314 if test ${with_gstreamer+y}
4315 then :
4316 withval=$with_gstreamer;
4320 # Check whether --with-inotify was given.
4321 if test ${with_inotify+y}
4322 then :
4323 withval=$with_inotify;
4327 # Check whether --with-krb5 was given.
4328 if test ${with_krb5+y}
4329 then :
4330 withval=$with_krb5;
4334 # Check whether --with-mingw was given.
4335 if test ${with_mingw+y}
4336 then :
4337 withval=$with_mingw;
4341 # Check whether --with-netapi was given.
4342 if test ${with_netapi+y}
4343 then :
4344 withval=$with_netapi;
4348 # Check whether --with-opencl was given.
4349 if test ${with_opencl+y}
4350 then :
4351 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
4355 # Check whether --with-opengl was given.
4356 if test ${with_opengl+y}
4357 then :
4358 withval=$with_opengl;
4362 # Check whether --with-osmesa was given.
4363 if test ${with_osmesa+y}
4364 then :
4365 withval=$with_osmesa;
4369 # Check whether --with-oss was given.
4370 if test ${with_oss+y}
4371 then :
4372 withval=$with_oss;
4376 # Check whether --with-pcap was given.
4377 if test ${with_pcap+y}
4378 then :
4379 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
4383 # Check whether --with-pcsclite was given.
4384 if test ${with_pcsclite+y}
4385 then :
4386 withval=$with_pcsclite;
4390 # Check whether --with-pthread was given.
4391 if test ${with_pthread+y}
4392 then :
4393 withval=$with_pthread;
4397 # Check whether --with-pulse was given.
4398 if test ${with_pulse+y}
4399 then :
4400 withval=$with_pulse;
4404 # Check whether --with-sane was given.
4405 if test ${with_sane+y}
4406 then :
4407 withval=$with_sane;
4411 # Check whether --with-sdl was given.
4412 if test ${with_sdl+y}
4413 then :
4414 withval=$with_sdl;
4418 # Check whether --with-udev was given.
4419 if test ${with_udev+y}
4420 then :
4421 withval=$with_udev;
4425 # Check whether --with-unwind was given.
4426 if test ${with_unwind+y}
4427 then :
4428 withval=$with_unwind;
4432 # Check whether --with-usb was given.
4433 if test ${with_usb+y}
4434 then :
4435 withval=$with_usb;
4439 # Check whether --with-v4l2 was given.
4440 if test ${with_v4l2+y}
4441 then :
4442 withval=$with_v4l2;
4446 # Check whether --with-vulkan was given.
4447 if test ${with_vulkan+y}
4448 then :
4449 withval=$with_vulkan;
4453 # Check whether --with-wayland was given.
4454 if test ${with_wayland+y}
4455 then :
4456 withval=$with_wayland;
4460 # Check whether --with-xcomposite was given.
4461 if test ${with_xcomposite+y}
4462 then :
4463 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
4467 # Check whether --with-xcursor was given.
4468 if test ${with_xcursor+y}
4469 then :
4470 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
4474 # Check whether --with-xfixes was given.
4475 if test ${with_xfixes+y}
4476 then :
4477 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
4481 # Check whether --with-xinerama was given.
4482 if test ${with_xinerama+y}
4483 then :
4484 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
4488 # Check whether --with-xinput was given.
4489 if test ${with_xinput+y}
4490 then :
4491 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
4495 # Check whether --with-xinput2 was given.
4496 if test ${with_xinput2+y}
4497 then :
4498 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
4502 # Check whether --with-xrandr was given.
4503 if test ${with_xrandr+y}
4504 then :
4505 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
4509 # Check whether --with-xrender was given.
4510 if test ${with_xrender+y}
4511 then :
4512 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
4516 # Check whether --with-xshape was given.
4517 if test ${with_xshape+y}
4518 then :
4519 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
4523 # Check whether --with-xshm was given.
4524 if test ${with_xshm+y}
4525 then :
4526 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
4530 # Check whether --with-xxf86vm was given.
4531 if test ${with_xxf86vm+y}
4532 then :
4533 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
4538 # Check whether --with-system-dllpath was given.
4539 if test ${with_system_dllpath+y}
4540 then :
4541 withval=$with_system_dllpath; system_dllpath=$withval
4546 # Check whether --with-wine-tools was given.
4547 if test ${with_wine_tools+y}
4548 then :
4549 withval=$with_wine_tools;
4553 # Check whether --with-wine64 was given.
4554 if test ${with_wine64+y}
4555 then :
4556 withval=$with_wine64;
4563 # Make sure we can run config.sub.
4564 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
4565 as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
4567 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4568 printf %s "checking build system type... " >&6; }
4569 if test ${ac_cv_build+y}
4570 then :
4571 printf %s "(cached) " >&6
4572 else $as_nop
4573 ac_build_alias=$build_alias
4574 test "x$ac_build_alias" = x &&
4575 ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
4576 test "x$ac_build_alias" = x &&
4577 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4578 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
4579 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
4582 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4583 printf "%s\n" "$ac_cv_build" >&6; }
4584 case $ac_cv_build in
4585 *-*-*) ;;
4586 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4587 esac
4588 build=$ac_cv_build
4589 ac_save_IFS=$IFS; IFS='-'
4590 set x $ac_cv_build
4591 shift
4592 build_cpu=$1
4593 build_vendor=$2
4594 shift; shift
4595 # Remember, the first character of IFS is used to create $*,
4596 # except with old shells:
4597 build_os=$*
4598 IFS=$ac_save_IFS
4599 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4602 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4603 printf %s "checking host system type... " >&6; }
4604 if test ${ac_cv_host+y}
4605 then :
4606 printf %s "(cached) " >&6
4607 else $as_nop
4608 if test "x$host_alias" = x; then
4609 ac_cv_host=$ac_cv_build
4610 else
4611 ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
4612 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
4616 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4617 printf "%s\n" "$ac_cv_host" >&6; }
4618 case $ac_cv_host in
4619 *-*-*) ;;
4620 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4621 esac
4622 host=$ac_cv_host
4623 ac_save_IFS=$IFS; IFS='-'
4624 set x $ac_cv_host
4625 shift
4626 host_cpu=$1
4627 host_vendor=$2
4628 shift; shift
4629 # Remember, the first character of IFS is used to create $*,
4630 # except with old shells:
4631 host_os=$*
4632 IFS=$ac_save_IFS
4633 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4637 dlldir=\${libdir}/wine
4639 fontdir=\${datadir}/wine/fonts
4641 nlsdir=\${datadir}/wine/nls
4646 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4647 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4648 set x ${MAKE-make}
4649 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4650 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
4651 then :
4652 printf %s "(cached) " >&6
4653 else $as_nop
4654 cat >conftest.make <<\_ACEOF
4655 SHELL = /bin/sh
4656 all:
4657 @echo '@@@%%%=$(MAKE)=@@@%%%'
4658 _ACEOF
4659 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4660 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4661 *@@@%%%=?*=@@@%%%*)
4662 eval ac_cv_prog_make_${ac_make}_set=yes;;
4664 eval ac_cv_prog_make_${ac_make}_set=no;;
4665 esac
4666 rm -f conftest.make
4668 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4669 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4670 printf "%s\n" "yes" >&6; }
4671 SET_MAKE=
4672 else
4673 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4674 printf "%s\n" "no" >&6; }
4675 SET_MAKE="MAKE=${MAKE-make}"
4687 ac_ext=c
4688 ac_cpp='$CPP $CPPFLAGS'
4689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4690 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4691 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4692 if test -n "$ac_tool_prefix"; then
4693 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4694 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4695 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4696 printf %s "checking for $ac_word... " >&6; }
4697 if test ${ac_cv_prog_CC+y}
4698 then :
4699 printf %s "(cached) " >&6
4700 else $as_nop
4701 if test -n "$CC"; then
4702 ac_cv_prog_CC="$CC" # Let the user override the test.
4703 else
4704 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4705 for as_dir in $PATH
4707 IFS=$as_save_IFS
4708 case $as_dir in #(((
4709 '') as_dir=./ ;;
4710 */) ;;
4711 *) as_dir=$as_dir/ ;;
4712 esac
4713 for ac_exec_ext in '' $ac_executable_extensions; do
4714 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4715 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4716 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4717 break 2
4719 done
4720 done
4721 IFS=$as_save_IFS
4725 CC=$ac_cv_prog_CC
4726 if test -n "$CC"; then
4727 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4728 printf "%s\n" "$CC" >&6; }
4729 else
4730 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4731 printf "%s\n" "no" >&6; }
4736 if test -z "$ac_cv_prog_CC"; then
4737 ac_ct_CC=$CC
4738 # Extract the first word of "gcc", so it can be a program name with args.
4739 set dummy gcc; ac_word=$2
4740 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4741 printf %s "checking for $ac_word... " >&6; }
4742 if test ${ac_cv_prog_ac_ct_CC+y}
4743 then :
4744 printf %s "(cached) " >&6
4745 else $as_nop
4746 if test -n "$ac_ct_CC"; then
4747 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4748 else
4749 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4750 for as_dir in $PATH
4752 IFS=$as_save_IFS
4753 case $as_dir in #(((
4754 '') as_dir=./ ;;
4755 */) ;;
4756 *) as_dir=$as_dir/ ;;
4757 esac
4758 for ac_exec_ext in '' $ac_executable_extensions; do
4759 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4760 ac_cv_prog_ac_ct_CC="gcc"
4761 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4762 break 2
4764 done
4765 done
4766 IFS=$as_save_IFS
4770 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4771 if test -n "$ac_ct_CC"; then
4772 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4773 printf "%s\n" "$ac_ct_CC" >&6; }
4774 else
4775 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4776 printf "%s\n" "no" >&6; }
4779 if test "x$ac_ct_CC" = x; then
4780 CC=""
4781 else
4782 case $cross_compiling:$ac_tool_warned in
4783 yes:)
4784 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4785 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4786 ac_tool_warned=yes ;;
4787 esac
4788 CC=$ac_ct_CC
4790 else
4791 CC="$ac_cv_prog_CC"
4794 if test -z "$CC"; then
4795 if test -n "$ac_tool_prefix"; then
4796 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4797 set dummy ${ac_tool_prefix}cc; ac_word=$2
4798 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4799 printf %s "checking for $ac_word... " >&6; }
4800 if test ${ac_cv_prog_CC+y}
4801 then :
4802 printf %s "(cached) " >&6
4803 else $as_nop
4804 if test -n "$CC"; then
4805 ac_cv_prog_CC="$CC" # Let the user override the test.
4806 else
4807 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4808 for as_dir in $PATH
4810 IFS=$as_save_IFS
4811 case $as_dir in #(((
4812 '') as_dir=./ ;;
4813 */) ;;
4814 *) as_dir=$as_dir/ ;;
4815 esac
4816 for ac_exec_ext in '' $ac_executable_extensions; do
4817 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4818 ac_cv_prog_CC="${ac_tool_prefix}cc"
4819 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4820 break 2
4822 done
4823 done
4824 IFS=$as_save_IFS
4828 CC=$ac_cv_prog_CC
4829 if test -n "$CC"; then
4830 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4831 printf "%s\n" "$CC" >&6; }
4832 else
4833 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4834 printf "%s\n" "no" >&6; }
4840 if test -z "$CC"; then
4841 # Extract the first word of "cc", so it can be a program name with args.
4842 set dummy cc; ac_word=$2
4843 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4844 printf %s "checking for $ac_word... " >&6; }
4845 if test ${ac_cv_prog_CC+y}
4846 then :
4847 printf %s "(cached) " >&6
4848 else $as_nop
4849 if test -n "$CC"; then
4850 ac_cv_prog_CC="$CC" # Let the user override the test.
4851 else
4852 ac_prog_rejected=no
4853 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4854 for as_dir in $PATH
4856 IFS=$as_save_IFS
4857 case $as_dir in #(((
4858 '') as_dir=./ ;;
4859 */) ;;
4860 *) as_dir=$as_dir/ ;;
4861 esac
4862 for ac_exec_ext in '' $ac_executable_extensions; do
4863 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4864 if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4865 ac_prog_rejected=yes
4866 continue
4868 ac_cv_prog_CC="cc"
4869 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4870 break 2
4872 done
4873 done
4874 IFS=$as_save_IFS
4876 if test $ac_prog_rejected = yes; then
4877 # We found a bogon in the path, so make sure we never use it.
4878 set dummy $ac_cv_prog_CC
4879 shift
4880 if test $# != 0; then
4881 # We chose a different compiler from the bogus one.
4882 # However, it has the same basename, so the bogon will be chosen
4883 # first if we set CC to just the basename; use the full file name.
4884 shift
4885 ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
4890 CC=$ac_cv_prog_CC
4891 if test -n "$CC"; then
4892 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4893 printf "%s\n" "$CC" >&6; }
4894 else
4895 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4896 printf "%s\n" "no" >&6; }
4901 if test -z "$CC"; then
4902 if test -n "$ac_tool_prefix"; then
4903 for ac_prog in cl.exe
4905 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4906 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4907 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4908 printf %s "checking for $ac_word... " >&6; }
4909 if test ${ac_cv_prog_CC+y}
4910 then :
4911 printf %s "(cached) " >&6
4912 else $as_nop
4913 if test -n "$CC"; then
4914 ac_cv_prog_CC="$CC" # Let the user override the test.
4915 else
4916 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4917 for as_dir in $PATH
4919 IFS=$as_save_IFS
4920 case $as_dir in #(((
4921 '') as_dir=./ ;;
4922 */) ;;
4923 *) as_dir=$as_dir/ ;;
4924 esac
4925 for ac_exec_ext in '' $ac_executable_extensions; do
4926 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4927 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4928 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4929 break 2
4931 done
4932 done
4933 IFS=$as_save_IFS
4937 CC=$ac_cv_prog_CC
4938 if test -n "$CC"; then
4939 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4940 printf "%s\n" "$CC" >&6; }
4941 else
4942 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4943 printf "%s\n" "no" >&6; }
4947 test -n "$CC" && break
4948 done
4950 if test -z "$CC"; then
4951 ac_ct_CC=$CC
4952 for ac_prog in cl.exe
4954 # Extract the first word of "$ac_prog", so it can be a program name with args.
4955 set dummy $ac_prog; ac_word=$2
4956 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4957 printf %s "checking for $ac_word... " >&6; }
4958 if test ${ac_cv_prog_ac_ct_CC+y}
4959 then :
4960 printf %s "(cached) " >&6
4961 else $as_nop
4962 if test -n "$ac_ct_CC"; then
4963 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4964 else
4965 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4966 for as_dir in $PATH
4968 IFS=$as_save_IFS
4969 case $as_dir in #(((
4970 '') as_dir=./ ;;
4971 */) ;;
4972 *) as_dir=$as_dir/ ;;
4973 esac
4974 for ac_exec_ext in '' $ac_executable_extensions; do
4975 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4976 ac_cv_prog_ac_ct_CC="$ac_prog"
4977 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4978 break 2
4980 done
4981 done
4982 IFS=$as_save_IFS
4986 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4987 if test -n "$ac_ct_CC"; then
4988 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4989 printf "%s\n" "$ac_ct_CC" >&6; }
4990 else
4991 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4992 printf "%s\n" "no" >&6; }
4996 test -n "$ac_ct_CC" && break
4997 done
4999 if test "x$ac_ct_CC" = x; then
5000 CC=""
5001 else
5002 case $cross_compiling:$ac_tool_warned in
5003 yes:)
5004 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5005 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5006 ac_tool_warned=yes ;;
5007 esac
5008 CC=$ac_ct_CC
5013 if test -z "$CC"; then
5014 if test -n "$ac_tool_prefix"; then
5015 # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
5016 set dummy ${ac_tool_prefix}clang; ac_word=$2
5017 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5018 printf %s "checking for $ac_word... " >&6; }
5019 if test ${ac_cv_prog_CC+y}
5020 then :
5021 printf %s "(cached) " >&6
5022 else $as_nop
5023 if test -n "$CC"; then
5024 ac_cv_prog_CC="$CC" # Let the user override the test.
5025 else
5026 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5027 for as_dir in $PATH
5029 IFS=$as_save_IFS
5030 case $as_dir in #(((
5031 '') as_dir=./ ;;
5032 */) ;;
5033 *) as_dir=$as_dir/ ;;
5034 esac
5035 for ac_exec_ext in '' $ac_executable_extensions; do
5036 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5037 ac_cv_prog_CC="${ac_tool_prefix}clang"
5038 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5039 break 2
5041 done
5042 done
5043 IFS=$as_save_IFS
5047 CC=$ac_cv_prog_CC
5048 if test -n "$CC"; then
5049 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5050 printf "%s\n" "$CC" >&6; }
5051 else
5052 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5053 printf "%s\n" "no" >&6; }
5058 if test -z "$ac_cv_prog_CC"; then
5059 ac_ct_CC=$CC
5060 # Extract the first word of "clang", so it can be a program name with args.
5061 set dummy clang; ac_word=$2
5062 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5063 printf %s "checking for $ac_word... " >&6; }
5064 if test ${ac_cv_prog_ac_ct_CC+y}
5065 then :
5066 printf %s "(cached) " >&6
5067 else $as_nop
5068 if test -n "$ac_ct_CC"; then
5069 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5070 else
5071 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5072 for as_dir in $PATH
5074 IFS=$as_save_IFS
5075 case $as_dir in #(((
5076 '') as_dir=./ ;;
5077 */) ;;
5078 *) as_dir=$as_dir/ ;;
5079 esac
5080 for ac_exec_ext in '' $ac_executable_extensions; do
5081 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5082 ac_cv_prog_ac_ct_CC="clang"
5083 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5084 break 2
5086 done
5087 done
5088 IFS=$as_save_IFS
5092 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5093 if test -n "$ac_ct_CC"; then
5094 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5095 printf "%s\n" "$ac_ct_CC" >&6; }
5096 else
5097 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5098 printf "%s\n" "no" >&6; }
5101 if test "x$ac_ct_CC" = x; then
5102 CC=""
5103 else
5104 case $cross_compiling:$ac_tool_warned in
5105 yes:)
5106 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5107 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5108 ac_tool_warned=yes ;;
5109 esac
5110 CC=$ac_ct_CC
5112 else
5113 CC="$ac_cv_prog_CC"
5119 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5120 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5121 as_fn_error $? "no acceptable C compiler found in \$PATH
5122 See \`config.log' for more details" "$LINENO" 5; }
5124 # Provide some information about the compiler.
5125 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5126 set X $ac_compile
5127 ac_compiler=$2
5128 for ac_option in --version -v -V -qversion -version; do
5129 { { ac_try="$ac_compiler $ac_option >&5"
5130 case "(($ac_try" in
5131 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5132 *) ac_try_echo=$ac_try;;
5133 esac
5134 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5135 printf "%s\n" "$ac_try_echo"; } >&5
5136 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5137 ac_status=$?
5138 if test -s conftest.err; then
5139 sed '10a\
5140 ... rest of stderr output deleted ...
5141 10q' conftest.err >conftest.er1
5142 cat conftest.er1 >&5
5144 rm -f conftest.er1 conftest.err
5145 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5146 test $ac_status = 0; }
5147 done
5149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5150 /* end confdefs.h. */
5153 main (void)
5157 return 0;
5159 _ACEOF
5160 ac_clean_files_save=$ac_clean_files
5161 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
5162 # Try to create an executable without -o first, disregard a.out.
5163 # It will help us diagnose broken compilers, and finding out an intuition
5164 # of exeext.
5165 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
5166 printf %s "checking whether the C compiler works... " >&6; }
5167 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
5169 # The possible output files:
5170 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
5172 ac_rmfiles=
5173 for ac_file in $ac_files
5175 case $ac_file in
5176 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5177 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
5178 esac
5179 done
5180 rm -f $ac_rmfiles
5182 if { { ac_try="$ac_link_default"
5183 case "(($ac_try" in
5184 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5185 *) ac_try_echo=$ac_try;;
5186 esac
5187 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5188 printf "%s\n" "$ac_try_echo"; } >&5
5189 (eval "$ac_link_default") 2>&5
5190 ac_status=$?
5191 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5192 test $ac_status = 0; }
5193 then :
5194 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
5195 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
5196 # in a Makefile. We should not override ac_cv_exeext if it was cached,
5197 # so that the user can short-circuit this test for compilers unknown to
5198 # Autoconf.
5199 for ac_file in $ac_files ''
5201 test -f "$ac_file" || continue
5202 case $ac_file in
5203 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
5205 [ab].out )
5206 # We found the default executable, but exeext='' is most
5207 # certainly right.
5208 break;;
5209 *.* )
5210 if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
5211 then :; else
5212 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
5214 # We set ac_cv_exeext here because the later test for it is not
5215 # safe: cross compilers may not add the suffix if given an `-o'
5216 # argument, so we may need to know it at that point already.
5217 # Even if this section looks crufty: it has the advantage of
5218 # actually working.
5219 break;;
5221 break;;
5222 esac
5223 done
5224 test "$ac_cv_exeext" = no && ac_cv_exeext=
5226 else $as_nop
5227 ac_file=''
5229 if test -z "$ac_file"
5230 then :
5231 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5232 printf "%s\n" "no" >&6; }
5233 printf "%s\n" "$as_me: failed program was:" >&5
5234 sed 's/^/| /' conftest.$ac_ext >&5
5236 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5237 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5238 as_fn_error 77 "C compiler cannot create executables
5239 See \`config.log' for more details" "$LINENO" 5; }
5240 else $as_nop
5241 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5242 printf "%s\n" "yes" >&6; }
5244 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
5245 printf %s "checking for C compiler default output file name... " >&6; }
5246 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
5247 printf "%s\n" "$ac_file" >&6; }
5248 ac_exeext=$ac_cv_exeext
5250 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
5251 ac_clean_files=$ac_clean_files_save
5252 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
5253 printf %s "checking for suffix of executables... " >&6; }
5254 if { { ac_try="$ac_link"
5255 case "(($ac_try" in
5256 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5257 *) ac_try_echo=$ac_try;;
5258 esac
5259 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5260 printf "%s\n" "$ac_try_echo"; } >&5
5261 (eval "$ac_link") 2>&5
5262 ac_status=$?
5263 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5264 test $ac_status = 0; }
5265 then :
5266 # If both `conftest.exe' and `conftest' are `present' (well, observable)
5267 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
5268 # work properly (i.e., refer to `conftest.exe'), while it won't with
5269 # `rm'.
5270 for ac_file in conftest.exe conftest conftest.*; do
5271 test -f "$ac_file" || continue
5272 case $ac_file in
5273 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5274 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
5275 break;;
5276 * ) break;;
5277 esac
5278 done
5279 else $as_nop
5280 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5281 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5282 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
5283 See \`config.log' for more details" "$LINENO" 5; }
5285 rm -f conftest conftest$ac_cv_exeext
5286 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
5287 printf "%s\n" "$ac_cv_exeext" >&6; }
5289 rm -f conftest.$ac_ext
5290 EXEEXT=$ac_cv_exeext
5291 ac_exeext=$EXEEXT
5292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5293 /* end confdefs.h. */
5294 #include <stdio.h>
5296 main (void)
5298 FILE *f = fopen ("conftest.out", "w");
5299 return ferror (f) || fclose (f) != 0;
5302 return 0;
5304 _ACEOF
5305 ac_clean_files="$ac_clean_files conftest.out"
5306 # Check that the compiler produces executables we can run. If not, either
5307 # the compiler is broken, or we cross compile.
5308 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
5309 printf %s "checking whether we are cross compiling... " >&6; }
5310 if test "$cross_compiling" != yes; then
5311 { { ac_try="$ac_link"
5312 case "(($ac_try" in
5313 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5314 *) ac_try_echo=$ac_try;;
5315 esac
5316 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5317 printf "%s\n" "$ac_try_echo"; } >&5
5318 (eval "$ac_link") 2>&5
5319 ac_status=$?
5320 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5321 test $ac_status = 0; }
5322 if { ac_try='./conftest$ac_cv_exeext'
5323 { { case "(($ac_try" in
5324 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5325 *) ac_try_echo=$ac_try;;
5326 esac
5327 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5328 printf "%s\n" "$ac_try_echo"; } >&5
5329 (eval "$ac_try") 2>&5
5330 ac_status=$?
5331 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5332 test $ac_status = 0; }; }; then
5333 cross_compiling=no
5334 else
5335 if test "$cross_compiling" = maybe; then
5336 cross_compiling=yes
5337 else
5338 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5339 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5340 as_fn_error 77 "cannot run C compiled programs.
5341 If you meant to cross compile, use \`--host'.
5342 See \`config.log' for more details" "$LINENO" 5; }
5346 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
5347 printf "%s\n" "$cross_compiling" >&6; }
5349 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
5350 ac_clean_files=$ac_clean_files_save
5351 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
5352 printf %s "checking for suffix of object files... " >&6; }
5353 if test ${ac_cv_objext+y}
5354 then :
5355 printf %s "(cached) " >&6
5356 else $as_nop
5357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5358 /* end confdefs.h. */
5361 main (void)
5365 return 0;
5367 _ACEOF
5368 rm -f conftest.o conftest.obj
5369 if { { ac_try="$ac_compile"
5370 case "(($ac_try" in
5371 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5372 *) ac_try_echo=$ac_try;;
5373 esac
5374 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5375 printf "%s\n" "$ac_try_echo"; } >&5
5376 (eval "$ac_compile") 2>&5
5377 ac_status=$?
5378 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5379 test $ac_status = 0; }
5380 then :
5381 for ac_file in conftest.o conftest.obj conftest.*; do
5382 test -f "$ac_file" || continue;
5383 case $ac_file in
5384 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
5385 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
5386 break;;
5387 esac
5388 done
5389 else $as_nop
5390 printf "%s\n" "$as_me: failed program was:" >&5
5391 sed 's/^/| /' conftest.$ac_ext >&5
5393 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5394 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5395 as_fn_error $? "cannot compute suffix of object files: cannot compile
5396 See \`config.log' for more details" "$LINENO" 5; }
5398 rm -f conftest.$ac_cv_objext conftest.$ac_ext
5400 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
5401 printf "%s\n" "$ac_cv_objext" >&6; }
5402 OBJEXT=$ac_cv_objext
5403 ac_objext=$OBJEXT
5404 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
5405 printf %s "checking whether the compiler supports GNU C... " >&6; }
5406 if test ${ac_cv_c_compiler_gnu+y}
5407 then :
5408 printf %s "(cached) " >&6
5409 else $as_nop
5410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5411 /* end confdefs.h. */
5414 main (void)
5416 #ifndef __GNUC__
5417 choke me
5418 #endif
5421 return 0;
5423 _ACEOF
5424 if ac_fn_c_try_compile "$LINENO"
5425 then :
5426 ac_compiler_gnu=yes
5427 else $as_nop
5428 ac_compiler_gnu=no
5430 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5431 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5434 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5435 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
5436 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5438 if test $ac_compiler_gnu = yes; then
5439 GCC=yes
5440 else
5441 GCC=
5443 ac_test_CFLAGS=${CFLAGS+y}
5444 ac_save_CFLAGS=$CFLAGS
5445 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5446 printf %s "checking whether $CC accepts -g... " >&6; }
5447 if test ${ac_cv_prog_cc_g+y}
5448 then :
5449 printf %s "(cached) " >&6
5450 else $as_nop
5451 ac_save_c_werror_flag=$ac_c_werror_flag
5452 ac_c_werror_flag=yes
5453 ac_cv_prog_cc_g=no
5454 CFLAGS="-g"
5455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5456 /* end confdefs.h. */
5459 main (void)
5463 return 0;
5465 _ACEOF
5466 if ac_fn_c_try_compile "$LINENO"
5467 then :
5468 ac_cv_prog_cc_g=yes
5469 else $as_nop
5470 CFLAGS=""
5471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5472 /* end confdefs.h. */
5475 main (void)
5479 return 0;
5481 _ACEOF
5482 if ac_fn_c_try_compile "$LINENO"
5483 then :
5485 else $as_nop
5486 ac_c_werror_flag=$ac_save_c_werror_flag
5487 CFLAGS="-g"
5488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5489 /* end confdefs.h. */
5492 main (void)
5496 return 0;
5498 _ACEOF
5499 if ac_fn_c_try_compile "$LINENO"
5500 then :
5501 ac_cv_prog_cc_g=yes
5503 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5505 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5507 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5508 ac_c_werror_flag=$ac_save_c_werror_flag
5510 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5511 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
5512 if test $ac_test_CFLAGS; then
5513 CFLAGS=$ac_save_CFLAGS
5514 elif test $ac_cv_prog_cc_g = yes; then
5515 if test "$GCC" = yes; then
5516 CFLAGS="-g -O2"
5517 else
5518 CFLAGS="-g"
5520 else
5521 if test "$GCC" = yes; then
5522 CFLAGS="-O2"
5523 else
5524 CFLAGS=
5527 ac_prog_cc_stdc=no
5528 if test x$ac_prog_cc_stdc = xno
5529 then :
5530 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
5531 printf %s "checking for $CC option to enable C11 features... " >&6; }
5532 if test ${ac_cv_prog_cc_c11+y}
5533 then :
5534 printf %s "(cached) " >&6
5535 else $as_nop
5536 ac_cv_prog_cc_c11=no
5537 ac_save_CC=$CC
5538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5539 /* end confdefs.h. */
5540 $ac_c_conftest_c11_program
5541 _ACEOF
5542 for ac_arg in '' -std=gnu11
5544 CC="$ac_save_CC $ac_arg"
5545 if ac_fn_c_try_compile "$LINENO"
5546 then :
5547 ac_cv_prog_cc_c11=$ac_arg
5549 rm -f core conftest.err conftest.$ac_objext conftest.beam
5550 test "x$ac_cv_prog_cc_c11" != "xno" && break
5551 done
5552 rm -f conftest.$ac_ext
5553 CC=$ac_save_CC
5556 if test "x$ac_cv_prog_cc_c11" = xno
5557 then :
5558 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5559 printf "%s\n" "unsupported" >&6; }
5560 else $as_nop
5561 if test "x$ac_cv_prog_cc_c11" = x
5562 then :
5563 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5564 printf "%s\n" "none needed" >&6; }
5565 else $as_nop
5566 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
5567 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
5568 CC="$CC $ac_cv_prog_cc_c11"
5570 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
5571 ac_prog_cc_stdc=c11
5574 if test x$ac_prog_cc_stdc = xno
5575 then :
5576 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
5577 printf %s "checking for $CC option to enable C99 features... " >&6; }
5578 if test ${ac_cv_prog_cc_c99+y}
5579 then :
5580 printf %s "(cached) " >&6
5581 else $as_nop
5582 ac_cv_prog_cc_c99=no
5583 ac_save_CC=$CC
5584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5585 /* end confdefs.h. */
5586 $ac_c_conftest_c99_program
5587 _ACEOF
5588 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
5590 CC="$ac_save_CC $ac_arg"
5591 if ac_fn_c_try_compile "$LINENO"
5592 then :
5593 ac_cv_prog_cc_c99=$ac_arg
5595 rm -f core conftest.err conftest.$ac_objext conftest.beam
5596 test "x$ac_cv_prog_cc_c99" != "xno" && break
5597 done
5598 rm -f conftest.$ac_ext
5599 CC=$ac_save_CC
5602 if test "x$ac_cv_prog_cc_c99" = xno
5603 then :
5604 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5605 printf "%s\n" "unsupported" >&6; }
5606 else $as_nop
5607 if test "x$ac_cv_prog_cc_c99" = x
5608 then :
5609 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5610 printf "%s\n" "none needed" >&6; }
5611 else $as_nop
5612 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
5613 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
5614 CC="$CC $ac_cv_prog_cc_c99"
5616 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
5617 ac_prog_cc_stdc=c99
5620 if test x$ac_prog_cc_stdc = xno
5621 then :
5622 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
5623 printf %s "checking for $CC option to enable C89 features... " >&6; }
5624 if test ${ac_cv_prog_cc_c89+y}
5625 then :
5626 printf %s "(cached) " >&6
5627 else $as_nop
5628 ac_cv_prog_cc_c89=no
5629 ac_save_CC=$CC
5630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5631 /* end confdefs.h. */
5632 $ac_c_conftest_c89_program
5633 _ACEOF
5634 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5636 CC="$ac_save_CC $ac_arg"
5637 if ac_fn_c_try_compile "$LINENO"
5638 then :
5639 ac_cv_prog_cc_c89=$ac_arg
5641 rm -f core conftest.err conftest.$ac_objext conftest.beam
5642 test "x$ac_cv_prog_cc_c89" != "xno" && break
5643 done
5644 rm -f conftest.$ac_ext
5645 CC=$ac_save_CC
5648 if test "x$ac_cv_prog_cc_c89" = xno
5649 then :
5650 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5651 printf "%s\n" "unsupported" >&6; }
5652 else $as_nop
5653 if test "x$ac_cv_prog_cc_c89" = x
5654 then :
5655 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5656 printf "%s\n" "none needed" >&6; }
5657 else $as_nop
5658 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5659 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
5660 CC="$CC $ac_cv_prog_cc_c89"
5662 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
5663 ac_prog_cc_stdc=c89
5667 ac_ext=c
5668 ac_cpp='$CPP $CPPFLAGS'
5669 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5670 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5671 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5679 ac_ext=cpp
5680 ac_cpp='$CXXCPP $CPPFLAGS'
5681 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5682 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5683 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5684 if test -z "$CXX"; then
5685 if test -n "$CCC"; then
5686 CXX=$CCC
5687 else
5688 if test -n "$ac_tool_prefix"; then
5689 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5691 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5692 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5693 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5694 printf %s "checking for $ac_word... " >&6; }
5695 if test ${ac_cv_prog_CXX+y}
5696 then :
5697 printf %s "(cached) " >&6
5698 else $as_nop
5699 if test -n "$CXX"; then
5700 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5701 else
5702 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5703 for as_dir in $PATH
5705 IFS=$as_save_IFS
5706 case $as_dir in #(((
5707 '') as_dir=./ ;;
5708 */) ;;
5709 *) as_dir=$as_dir/ ;;
5710 esac
5711 for ac_exec_ext in '' $ac_executable_extensions; do
5712 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5713 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5714 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5715 break 2
5717 done
5718 done
5719 IFS=$as_save_IFS
5723 CXX=$ac_cv_prog_CXX
5724 if test -n "$CXX"; then
5725 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5726 printf "%s\n" "$CXX" >&6; }
5727 else
5728 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5729 printf "%s\n" "no" >&6; }
5733 test -n "$CXX" && break
5734 done
5736 if test -z "$CXX"; then
5737 ac_ct_CXX=$CXX
5738 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5740 # Extract the first word of "$ac_prog", so it can be a program name with args.
5741 set dummy $ac_prog; ac_word=$2
5742 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5743 printf %s "checking for $ac_word... " >&6; }
5744 if test ${ac_cv_prog_ac_ct_CXX+y}
5745 then :
5746 printf %s "(cached) " >&6
5747 else $as_nop
5748 if test -n "$ac_ct_CXX"; then
5749 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5750 else
5751 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5752 for as_dir in $PATH
5754 IFS=$as_save_IFS
5755 case $as_dir in #(((
5756 '') as_dir=./ ;;
5757 */) ;;
5758 *) as_dir=$as_dir/ ;;
5759 esac
5760 for ac_exec_ext in '' $ac_executable_extensions; do
5761 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5762 ac_cv_prog_ac_ct_CXX="$ac_prog"
5763 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5764 break 2
5766 done
5767 done
5768 IFS=$as_save_IFS
5772 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5773 if test -n "$ac_ct_CXX"; then
5774 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5775 printf "%s\n" "$ac_ct_CXX" >&6; }
5776 else
5777 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5778 printf "%s\n" "no" >&6; }
5782 test -n "$ac_ct_CXX" && break
5783 done
5785 if test "x$ac_ct_CXX" = x; then
5786 CXX="g++"
5787 else
5788 case $cross_compiling:$ac_tool_warned in
5789 yes:)
5790 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5791 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5792 ac_tool_warned=yes ;;
5793 esac
5794 CXX=$ac_ct_CXX
5800 # Provide some information about the compiler.
5801 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5802 set X $ac_compile
5803 ac_compiler=$2
5804 for ac_option in --version -v -V -qversion; do
5805 { { ac_try="$ac_compiler $ac_option >&5"
5806 case "(($ac_try" in
5807 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5808 *) ac_try_echo=$ac_try;;
5809 esac
5810 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5811 printf "%s\n" "$ac_try_echo"; } >&5
5812 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5813 ac_status=$?
5814 if test -s conftest.err; then
5815 sed '10a\
5816 ... rest of stderr output deleted ...
5817 10q' conftest.err >conftest.er1
5818 cat conftest.er1 >&5
5820 rm -f conftest.er1 conftest.err
5821 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5822 test $ac_status = 0; }
5823 done
5825 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C++" >&5
5826 printf %s "checking whether the compiler supports GNU C++... " >&6; }
5827 if test ${ac_cv_cxx_compiler_gnu+y}
5828 then :
5829 printf %s "(cached) " >&6
5830 else $as_nop
5831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5832 /* end confdefs.h. */
5835 main (void)
5837 #ifndef __GNUC__
5838 choke me
5839 #endif
5842 return 0;
5844 _ACEOF
5845 if ac_fn_cxx_try_compile "$LINENO"
5846 then :
5847 ac_compiler_gnu=yes
5848 else $as_nop
5849 ac_compiler_gnu=no
5851 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5852 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5855 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5856 printf "%s\n" "$ac_cv_cxx_compiler_gnu" >&6; }
5857 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5859 if test $ac_compiler_gnu = yes; then
5860 GXX=yes
5861 else
5862 GXX=
5864 ac_test_CXXFLAGS=${CXXFLAGS+y}
5865 ac_save_CXXFLAGS=$CXXFLAGS
5866 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5867 printf %s "checking whether $CXX accepts -g... " >&6; }
5868 if test ${ac_cv_prog_cxx_g+y}
5869 then :
5870 printf %s "(cached) " >&6
5871 else $as_nop
5872 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5873 ac_cxx_werror_flag=yes
5874 ac_cv_prog_cxx_g=no
5875 CXXFLAGS="-g"
5876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5877 /* end confdefs.h. */
5880 main (void)
5884 return 0;
5886 _ACEOF
5887 if ac_fn_cxx_try_compile "$LINENO"
5888 then :
5889 ac_cv_prog_cxx_g=yes
5890 else $as_nop
5891 CXXFLAGS=""
5892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5893 /* end confdefs.h. */
5896 main (void)
5900 return 0;
5902 _ACEOF
5903 if ac_fn_cxx_try_compile "$LINENO"
5904 then :
5906 else $as_nop
5907 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5908 CXXFLAGS="-g"
5909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5910 /* end confdefs.h. */
5913 main (void)
5917 return 0;
5919 _ACEOF
5920 if ac_fn_cxx_try_compile "$LINENO"
5921 then :
5922 ac_cv_prog_cxx_g=yes
5924 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5926 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5928 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5929 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5931 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5932 printf "%s\n" "$ac_cv_prog_cxx_g" >&6; }
5933 if test $ac_test_CXXFLAGS; then
5934 CXXFLAGS=$ac_save_CXXFLAGS
5935 elif test $ac_cv_prog_cxx_g = yes; then
5936 if test "$GXX" = yes; then
5937 CXXFLAGS="-g -O2"
5938 else
5939 CXXFLAGS="-g"
5941 else
5942 if test "$GXX" = yes; then
5943 CXXFLAGS="-O2"
5944 else
5945 CXXFLAGS=
5948 ac_prog_cxx_stdcxx=no
5949 if test x$ac_prog_cxx_stdcxx = xno
5950 then :
5951 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++11 features" >&5
5952 printf %s "checking for $CXX option to enable C++11 features... " >&6; }
5953 if test ${ac_cv_prog_cxx_cxx11+y}
5954 then :
5955 printf %s "(cached) " >&6
5956 else $as_nop
5957 ac_cv_prog_cxx_cxx11=no
5958 ac_save_CXX=$CXX
5959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5960 /* end confdefs.h. */
5961 $ac_cxx_conftest_cxx11_program
5962 _ACEOF
5963 for ac_arg in '' -std=gnu++11 -std=gnu++0x -std=c++11 -std=c++0x -qlanglvl=extended0x -AA
5965 CXX="$ac_save_CXX $ac_arg"
5966 if ac_fn_cxx_try_compile "$LINENO"
5967 then :
5968 ac_cv_prog_cxx_cxx11=$ac_arg
5970 rm -f core conftest.err conftest.$ac_objext conftest.beam
5971 test "x$ac_cv_prog_cxx_cxx11" != "xno" && break
5972 done
5973 rm -f conftest.$ac_ext
5974 CXX=$ac_save_CXX
5977 if test "x$ac_cv_prog_cxx_cxx11" = xno
5978 then :
5979 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5980 printf "%s\n" "unsupported" >&6; }
5981 else $as_nop
5982 if test "x$ac_cv_prog_cxx_cxx11" = x
5983 then :
5984 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5985 printf "%s\n" "none needed" >&6; }
5986 else $as_nop
5987 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx11" >&5
5988 printf "%s\n" "$ac_cv_prog_cxx_cxx11" >&6; }
5989 CXX="$CXX $ac_cv_prog_cxx_cxx11"
5991 ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx11
5992 ac_prog_cxx_stdcxx=cxx11
5995 if test x$ac_prog_cxx_stdcxx = xno
5996 then :
5997 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++98 features" >&5
5998 printf %s "checking for $CXX option to enable C++98 features... " >&6; }
5999 if test ${ac_cv_prog_cxx_cxx98+y}
6000 then :
6001 printf %s "(cached) " >&6
6002 else $as_nop
6003 ac_cv_prog_cxx_cxx98=no
6004 ac_save_CXX=$CXX
6005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6006 /* end confdefs.h. */
6007 $ac_cxx_conftest_cxx98_program
6008 _ACEOF
6009 for ac_arg in '' -std=gnu++98 -std=c++98 -qlanglvl=extended -AA
6011 CXX="$ac_save_CXX $ac_arg"
6012 if ac_fn_cxx_try_compile "$LINENO"
6013 then :
6014 ac_cv_prog_cxx_cxx98=$ac_arg
6016 rm -f core conftest.err conftest.$ac_objext conftest.beam
6017 test "x$ac_cv_prog_cxx_cxx98" != "xno" && break
6018 done
6019 rm -f conftest.$ac_ext
6020 CXX=$ac_save_CXX
6023 if test "x$ac_cv_prog_cxx_cxx98" = xno
6024 then :
6025 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
6026 printf "%s\n" "unsupported" >&6; }
6027 else $as_nop
6028 if test "x$ac_cv_prog_cxx_cxx98" = x
6029 then :
6030 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
6031 printf "%s\n" "none needed" >&6; }
6032 else $as_nop
6033 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx98" >&5
6034 printf "%s\n" "$ac_cv_prog_cxx_cxx98" >&6; }
6035 CXX="$CXX $ac_cv_prog_cxx_cxx98"
6037 ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx98
6038 ac_prog_cxx_stdcxx=cxx98
6042 ac_ext=c
6043 ac_cpp='$CPP $CPPFLAGS'
6044 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6045 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6046 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6048 if test -n "$ac_tool_prefix"; then
6049 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
6050 set dummy ${ac_tool_prefix}cpp; ac_word=$2
6051 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6052 printf %s "checking for $ac_word... " >&6; }
6053 if test ${ac_cv_prog_CPPBIN+y}
6054 then :
6055 printf %s "(cached) " >&6
6056 else $as_nop
6057 if test -n "$CPPBIN"; then
6058 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
6059 else
6060 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6061 for as_dir in $PATH
6063 IFS=$as_save_IFS
6064 case $as_dir in #(((
6065 '') as_dir=./ ;;
6066 */) ;;
6067 *) as_dir=$as_dir/ ;;
6068 esac
6069 for ac_exec_ext in '' $ac_executable_extensions; do
6070 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6071 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
6072 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6073 break 2
6075 done
6076 done
6077 IFS=$as_save_IFS
6081 CPPBIN=$ac_cv_prog_CPPBIN
6082 if test -n "$CPPBIN"; then
6083 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
6084 printf "%s\n" "$CPPBIN" >&6; }
6085 else
6086 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6087 printf "%s\n" "no" >&6; }
6092 if test -z "$ac_cv_prog_CPPBIN"; then
6093 ac_ct_CPPBIN=$CPPBIN
6094 # Extract the first word of "cpp", so it can be a program name with args.
6095 set dummy cpp; ac_word=$2
6096 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6097 printf %s "checking for $ac_word... " >&6; }
6098 if test ${ac_cv_prog_ac_ct_CPPBIN+y}
6099 then :
6100 printf %s "(cached) " >&6
6101 else $as_nop
6102 if test -n "$ac_ct_CPPBIN"; then
6103 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
6104 else
6105 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6106 for as_dir in $PATH
6108 IFS=$as_save_IFS
6109 case $as_dir in #(((
6110 '') as_dir=./ ;;
6111 */) ;;
6112 *) as_dir=$as_dir/ ;;
6113 esac
6114 for ac_exec_ext in '' $ac_executable_extensions; do
6115 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6116 ac_cv_prog_ac_ct_CPPBIN="cpp"
6117 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6118 break 2
6120 done
6121 done
6122 IFS=$as_save_IFS
6126 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
6127 if test -n "$ac_ct_CPPBIN"; then
6128 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
6129 printf "%s\n" "$ac_ct_CPPBIN" >&6; }
6130 else
6131 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6132 printf "%s\n" "no" >&6; }
6135 if test "x$ac_ct_CPPBIN" = x; then
6136 CPPBIN="cpp"
6137 else
6138 case $cross_compiling:$ac_tool_warned in
6139 yes:)
6140 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6141 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6142 ac_tool_warned=yes ;;
6143 esac
6144 CPPBIN=$ac_ct_CPPBIN
6146 else
6147 CPPBIN="$ac_cv_prog_CPPBIN"
6151 printf "%s\n" "#define EXEEXT \"$ac_exeext\"" >>confdefs.h
6153 if test -n "$ac_tool_prefix"; then
6154 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
6155 set dummy ${ac_tool_prefix}ld; ac_word=$2
6156 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6157 printf %s "checking for $ac_word... " >&6; }
6158 if test ${ac_cv_prog_LD+y}
6159 then :
6160 printf %s "(cached) " >&6
6161 else $as_nop
6162 if test -n "$LD"; then
6163 ac_cv_prog_LD="$LD" # Let the user override the test.
6164 else
6165 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6166 for as_dir in $PATH
6168 IFS=$as_save_IFS
6169 case $as_dir in #(((
6170 '') as_dir=./ ;;
6171 */) ;;
6172 *) as_dir=$as_dir/ ;;
6173 esac
6174 for ac_exec_ext in '' $ac_executable_extensions; do
6175 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6176 ac_cv_prog_LD="${ac_tool_prefix}ld"
6177 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6178 break 2
6180 done
6181 done
6182 IFS=$as_save_IFS
6186 LD=$ac_cv_prog_LD
6187 if test -n "$LD"; then
6188 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6189 printf "%s\n" "$LD" >&6; }
6190 else
6191 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6192 printf "%s\n" "no" >&6; }
6197 if test -z "$ac_cv_prog_LD"; then
6198 ac_ct_LD=$LD
6199 # Extract the first word of "ld", so it can be a program name with args.
6200 set dummy ld; ac_word=$2
6201 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6202 printf %s "checking for $ac_word... " >&6; }
6203 if test ${ac_cv_prog_ac_ct_LD+y}
6204 then :
6205 printf %s "(cached) " >&6
6206 else $as_nop
6207 if test -n "$ac_ct_LD"; then
6208 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
6209 else
6210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6211 for as_dir in $PATH
6213 IFS=$as_save_IFS
6214 case $as_dir in #(((
6215 '') as_dir=./ ;;
6216 */) ;;
6217 *) as_dir=$as_dir/ ;;
6218 esac
6219 for ac_exec_ext in '' $ac_executable_extensions; do
6220 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6221 ac_cv_prog_ac_ct_LD="ld"
6222 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6223 break 2
6225 done
6226 done
6227 IFS=$as_save_IFS
6231 ac_ct_LD=$ac_cv_prog_ac_ct_LD
6232 if test -n "$ac_ct_LD"; then
6233 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
6234 printf "%s\n" "$ac_ct_LD" >&6; }
6235 else
6236 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6237 printf "%s\n" "no" >&6; }
6240 if test "x$ac_ct_LD" = x; then
6241 LD=""
6242 else
6243 case $cross_compiling:$ac_tool_warned in
6244 yes:)
6245 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6246 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6247 ac_tool_warned=yes ;;
6248 esac
6249 LD=$ac_ct_LD
6251 else
6252 LD="$ac_cv_prog_LD"
6256 case $host in
6257 *-darwin*)
6258 with_fontconfig=${with_fontconfig:-no}
6260 *-mingw32*|*-cygwin*)
6261 enable_win16=${enable_win16:-no}
6262 with_mingw=${with_mingw:-no}
6264 esac
6267 case $host in
6268 x86_64*|amd64*)
6269 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes" -a x"$enable_archs" = x
6270 then
6271 CC="$CC -m32"
6272 CXX="$CXX -m32"
6274 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
6275 printf %s "checking whether $CC works... " >&6; }
6276 if test ${wine_cv_cc_m32+y}
6277 then :
6278 printf %s "(cached) " >&6
6279 else $as_nop
6280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6281 /* end confdefs.h. */
6284 main (void)
6288 return 0;
6290 _ACEOF
6291 if ac_fn_c_try_link "$LINENO"
6292 then :
6293 wine_cv_cc_m32=yes
6294 else $as_nop
6295 wine_cv_cc_m32=no
6297 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6298 conftest$ac_exeext conftest.$ac_ext
6300 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_cc_m32" >&5
6301 printf "%s\n" "$wine_cv_cc_m32" >&6; }
6302 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
6303 host_cpu="i386"
6304 notice_platform="32-bit "
6305 TARGETFLAGS="$TARGETFLAGS -m32"
6306 PKG_CONFIG_LIBDIR=${PKG_CONFIG_LIBDIR:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib32/pkgconfig:/usr/lib/pkgconfig}
6307 export PKG_CONFIG_LIBDIR
6308 with_unwind=${with_unwind:-no}
6309 else
6310 CC="$CC -m64"
6311 CXX="$CXX -m64"
6312 host_cpu="x86_64"
6313 notice_platform="64-bit "
6314 TARGETFLAGS="$TARGETFLAGS -m64"
6317 arm*)
6318 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb-2" >&5
6319 printf %s "checking whether $CC supports Thumb-2... " >&6; }
6320 if test ${wine_cv_thumb2+y}
6321 then :
6322 printf %s "(cached) " >&6
6323 else $as_nop
6324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6325 /* end confdefs.h. */
6328 main (void)
6330 asm(".syntax unified\n\t.thumb\n\tldm r0,{r0-r8}");
6332 return 0;
6334 _ACEOF
6335 if ac_fn_c_try_link "$LINENO"
6336 then :
6337 wine_cv_thumb2=yes
6338 else $as_nop
6339 wine_cv_thumb2=no
6341 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6342 conftest$ac_exeext conftest.$ac_ext
6344 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_thumb2" >&5
6345 printf "%s\n" "$wine_cv_thumb2" >&6; }
6346 if test x"$wine_cv_thumb2" = xyes
6347 then
6348 CFLAGS="$CFLAGS -mthumb"
6349 TARGETFLAGS="$TARGETFLAGS -mthumb"
6350 else
6351 CFLAGS="$CFLAGS -marm"
6352 TARGETFLAGS="$TARGETFLAGS -marm"
6354 case $with_float_abi in
6355 soft|softfp|hard)
6356 float_abi=$with_float_abi ;;
6358 case $host_os in
6359 *eabihf)
6360 float_abi=hard ;;
6362 float_abi=softfp
6363 saved_CFLAGS=$CFLAGS
6364 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
6365 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
6366 printf %s "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
6367 if test ${wine_cv_float_abi+y}
6368 then :
6369 printf %s "(cached) " >&6
6370 else $as_nop
6371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6372 /* end confdefs.h. */
6375 main (void)
6377 asm("vmrs r2,fpscr");
6379 return 0;
6381 _ACEOF
6382 if ac_fn_c_try_link "$LINENO"
6383 then :
6384 wine_cv_float_abi=yes
6385 else $as_nop
6386 wine_cv_float_abi=no
6388 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6389 conftest$ac_exeext conftest.$ac_ext
6391 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_float_abi" >&5
6392 printf "%s\n" "$wine_cv_float_abi" >&6; }
6393 if test $wine_cv_float_abi = no
6394 then
6395 float_abi=soft
6396 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
6398 CFLAGS=$saved_CFLAGS
6399 esac
6401 esac
6402 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
6403 TARGETFLAGS="$TARGETFLAGS -mfloat-abi=$float_abi"
6405 i[3456789]86*)
6406 with_unwind=${with_unwind:-no}
6408 esac
6410 enable_win16=${enable_win16:-i386}
6411 enable_win64=${enable_win64:-no}
6412 enable_wow64=${enable_wow64:-aarch64,x86_64}
6413 enable_wow64win=${enable_wow64win:-aarch64,x86_64}
6414 enable_wow64cpu=${enable_wow64cpu:-x86_64}
6415 enable_vcruntime140_1=${enable_vcruntime140_1:-x86_64,arm64ec}
6417 enable_winetest=${enable_winetest:-$enable_tests}
6419 if test "x$enable_win64" = "xyes"
6420 then
6421 test -z "$with_wine64" || as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
6422 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
6425 case $build_os in
6426 cygwin*|mingw32*) toolsext=".exe"
6428 *) toolsext=""
6430 esac
6432 HOST_ARCH=unknown
6433 case "$host_cpu" in
6434 aarch64*) HOST_ARCH=aarch64 ;;
6435 arm*) HOST_ARCH=arm ;;
6436 i[3456789]86*) HOST_ARCH=i386 ;;
6437 x86_64) HOST_ARCH=x86_64 ;;
6438 esac
6441 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
6442 printf %s "checking for the directory containing the Wine tools... " >&6; }
6443 if test ${wine_cv_toolsdir+y}
6444 then :
6445 printf %s "(cached) " >&6
6446 else $as_nop
6447 wine_cv_toolsdir="$with_wine_tools"
6448 if test -z "$with_wine_tools"; then
6449 if test "$cross_compiling" = "yes"; then
6450 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
6451 elif test -n "$with_wine64"; then
6452 wine_cv_toolsdir="$with_wine64"
6456 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
6457 printf "%s\n" "$wine_cv_toolsdir" >&6; }
6458 if test -z "$wine_cv_toolsdir"; then
6459 wine_makedep=tools/makedep$toolsext
6460 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
6461 wine_makedep=$wine_cv_toolsdir/tools/makedep$toolsext
6462 enable_tools=${enable_tools:-no}
6463 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
6464 else
6465 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
6467 toolsdir=$wine_cv_toolsdir
6469 MAKEDEP=$wine_makedep
6471 RUNTESTFLAGS="-q -P wine"
6473 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'"
6476 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
6477 then
6478 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
6481 for ac_prog in flex
6483 # Extract the first word of "$ac_prog", so it can be a program name with args.
6484 set dummy $ac_prog; ac_word=$2
6485 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6486 printf %s "checking for $ac_word... " >&6; }
6487 if test ${ac_cv_prog_FLEX+y}
6488 then :
6489 printf %s "(cached) " >&6
6490 else $as_nop
6491 if test -n "$FLEX"; then
6492 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
6493 else
6494 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6495 for as_dir in $PATH
6497 IFS=$as_save_IFS
6498 case $as_dir in #(((
6499 '') as_dir=./ ;;
6500 */) ;;
6501 *) as_dir=$as_dir/ ;;
6502 esac
6503 for ac_exec_ext in '' $ac_executable_extensions; do
6504 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6505 ac_cv_prog_FLEX="$ac_prog"
6506 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6507 break 2
6509 done
6510 done
6511 IFS=$as_save_IFS
6515 FLEX=$ac_cv_prog_FLEX
6516 if test -n "$FLEX"; then
6517 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
6518 printf "%s\n" "$FLEX" >&6; }
6519 else
6520 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6521 printf "%s\n" "no" >&6; }
6525 test -n "$FLEX" && break
6526 done
6527 test -n "$FLEX" || FLEX="none"
6529 if test "$FLEX" = "none"
6530 then
6531 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
6533 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
6534 printf %s "checking whether flex is recent enough... " >&6; }
6535 if test ${wine_cv_recent_flex+y}
6536 then :
6537 printf %s "(cached) " >&6
6538 else $as_nop
6539 cat >conftest.l <<EOF
6540 %top{
6541 #include "prediluvian.h"
6545 if $FLEX -t conftest.l >/dev/null 2>&5
6546 then
6547 wine_cv_recent_flex=yes
6548 else
6549 wine_cv_recent_flex=no
6552 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_flex" >&5
6553 printf "%s\n" "$wine_cv_recent_flex" >&6; }
6554 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
6556 for ac_prog in bison
6558 # Extract the first word of "$ac_prog", so it can be a program name with args.
6559 set dummy $ac_prog; ac_word=$2
6560 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6561 printf %s "checking for $ac_word... " >&6; }
6562 if test ${ac_cv_prog_BISON+y}
6563 then :
6564 printf %s "(cached) " >&6
6565 else $as_nop
6566 if test -n "$BISON"; then
6567 ac_cv_prog_BISON="$BISON" # Let the user override the test.
6568 else
6569 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6570 for as_dir in $PATH
6572 IFS=$as_save_IFS
6573 case $as_dir in #(((
6574 '') as_dir=./ ;;
6575 */) ;;
6576 *) as_dir=$as_dir/ ;;
6577 esac
6578 for ac_exec_ext in '' $ac_executable_extensions; do
6579 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6580 ac_cv_prog_BISON="$ac_prog"
6581 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6582 break 2
6584 done
6585 done
6586 IFS=$as_save_IFS
6590 BISON=$ac_cv_prog_BISON
6591 if test -n "$BISON"; then
6592 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
6593 printf "%s\n" "$BISON" >&6; }
6594 else
6595 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6596 printf "%s\n" "no" >&6; }
6600 test -n "$BISON" && break
6601 done
6602 test -n "$BISON" || BISON="none"
6604 if test "$BISON" = "none"
6605 then
6606 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
6608 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether bison is recent enough" >&5
6609 printf %s "checking whether bison is recent enough... " >&6; }
6610 if test ${wine_cv_recent_bison+y}
6611 then :
6612 printf %s "(cached) " >&6
6613 else $as_nop
6614 cat >conftest.y <<EOF
6615 %define parse.error verbose
6617 empty: ;
6619 if $BISON conftest.y >/dev/null 2>&5
6620 then
6621 wine_cv_recent_bison=yes
6622 else
6623 wine_cv_recent_bison=no
6626 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_bison" >&5
6627 printf "%s\n" "$wine_cv_recent_bison" >&6; }
6628 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
6630 if test -n "$ac_tool_prefix"; then
6631 for ac_prog in ar gar
6633 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6634 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6635 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6636 printf %s "checking for $ac_word... " >&6; }
6637 if test ${ac_cv_prog_AR+y}
6638 then :
6639 printf %s "(cached) " >&6
6640 else $as_nop
6641 if test -n "$AR"; then
6642 ac_cv_prog_AR="$AR" # Let the user override the test.
6643 else
6644 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6645 for as_dir in $PATH
6647 IFS=$as_save_IFS
6648 case $as_dir in #(((
6649 '') as_dir=./ ;;
6650 */) ;;
6651 *) as_dir=$as_dir/ ;;
6652 esac
6653 for ac_exec_ext in '' $ac_executable_extensions; do
6654 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6655 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6656 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6657 break 2
6659 done
6660 done
6661 IFS=$as_save_IFS
6665 AR=$ac_cv_prog_AR
6666 if test -n "$AR"; then
6667 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6668 printf "%s\n" "$AR" >&6; }
6669 else
6670 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6671 printf "%s\n" "no" >&6; }
6675 test -n "$AR" && break
6676 done
6678 if test -z "$AR"; then
6679 ac_ct_AR=$AR
6680 for ac_prog in ar gar
6682 # Extract the first word of "$ac_prog", so it can be a program name with args.
6683 set dummy $ac_prog; ac_word=$2
6684 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6685 printf %s "checking for $ac_word... " >&6; }
6686 if test ${ac_cv_prog_ac_ct_AR+y}
6687 then :
6688 printf %s "(cached) " >&6
6689 else $as_nop
6690 if test -n "$ac_ct_AR"; then
6691 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6692 else
6693 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6694 for as_dir in $PATH
6696 IFS=$as_save_IFS
6697 case $as_dir in #(((
6698 '') as_dir=./ ;;
6699 */) ;;
6700 *) as_dir=$as_dir/ ;;
6701 esac
6702 for ac_exec_ext in '' $ac_executable_extensions; do
6703 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6704 ac_cv_prog_ac_ct_AR="$ac_prog"
6705 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6706 break 2
6708 done
6709 done
6710 IFS=$as_save_IFS
6714 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6715 if test -n "$ac_ct_AR"; then
6716 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6717 printf "%s\n" "$ac_ct_AR" >&6; }
6718 else
6719 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6720 printf "%s\n" "no" >&6; }
6724 test -n "$ac_ct_AR" && break
6725 done
6727 if test "x$ac_ct_AR" = x; then
6728 AR="ar"
6729 else
6730 case $cross_compiling:$ac_tool_warned in
6731 yes:)
6732 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6733 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6734 ac_tool_warned=yes ;;
6735 esac
6736 AR=$ac_ct_AR
6740 if test -n "$ac_tool_prefix"; then
6741 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6742 set dummy ${ac_tool_prefix}strip; ac_word=$2
6743 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6744 printf %s "checking for $ac_word... " >&6; }
6745 if test ${ac_cv_prog_STRIP+y}
6746 then :
6747 printf %s "(cached) " >&6
6748 else $as_nop
6749 if test -n "$STRIP"; then
6750 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6751 else
6752 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6753 for as_dir in $PATH
6755 IFS=$as_save_IFS
6756 case $as_dir in #(((
6757 '') as_dir=./ ;;
6758 */) ;;
6759 *) as_dir=$as_dir/ ;;
6760 esac
6761 for ac_exec_ext in '' $ac_executable_extensions; do
6762 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6763 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6764 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6765 break 2
6767 done
6768 done
6769 IFS=$as_save_IFS
6773 STRIP=$ac_cv_prog_STRIP
6774 if test -n "$STRIP"; then
6775 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6776 printf "%s\n" "$STRIP" >&6; }
6777 else
6778 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6779 printf "%s\n" "no" >&6; }
6784 if test -z "$ac_cv_prog_STRIP"; then
6785 ac_ct_STRIP=$STRIP
6786 # Extract the first word of "strip", so it can be a program name with args.
6787 set dummy strip; ac_word=$2
6788 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6789 printf %s "checking for $ac_word... " >&6; }
6790 if test ${ac_cv_prog_ac_ct_STRIP+y}
6791 then :
6792 printf %s "(cached) " >&6
6793 else $as_nop
6794 if test -n "$ac_ct_STRIP"; then
6795 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6796 else
6797 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6798 for as_dir in $PATH
6800 IFS=$as_save_IFS
6801 case $as_dir in #(((
6802 '') as_dir=./ ;;
6803 */) ;;
6804 *) as_dir=$as_dir/ ;;
6805 esac
6806 for ac_exec_ext in '' $ac_executable_extensions; do
6807 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6808 ac_cv_prog_ac_ct_STRIP="strip"
6809 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6810 break 2
6812 done
6813 done
6814 IFS=$as_save_IFS
6818 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6819 if test -n "$ac_ct_STRIP"; then
6820 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6821 printf "%s\n" "$ac_ct_STRIP" >&6; }
6822 else
6823 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6824 printf "%s\n" "no" >&6; }
6827 if test "x$ac_ct_STRIP" = x; then
6828 STRIP="strip"
6829 else
6830 case $cross_compiling:$ac_tool_warned in
6831 yes:)
6832 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6833 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6834 ac_tool_warned=yes ;;
6835 esac
6836 STRIP=$ac_ct_STRIP
6838 else
6839 STRIP="$ac_cv_prog_STRIP"
6842 if test -n "$ac_tool_prefix"; then
6843 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6844 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6845 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6846 printf %s "checking for $ac_word... " >&6; }
6847 if test ${ac_cv_prog_RANLIB+y}
6848 then :
6849 printf %s "(cached) " >&6
6850 else $as_nop
6851 if test -n "$RANLIB"; then
6852 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6853 else
6854 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6855 for as_dir in $PATH
6857 IFS=$as_save_IFS
6858 case $as_dir in #(((
6859 '') as_dir=./ ;;
6860 */) ;;
6861 *) as_dir=$as_dir/ ;;
6862 esac
6863 for ac_exec_ext in '' $ac_executable_extensions; do
6864 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6865 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6866 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6867 break 2
6869 done
6870 done
6871 IFS=$as_save_IFS
6875 RANLIB=$ac_cv_prog_RANLIB
6876 if test -n "$RANLIB"; then
6877 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6878 printf "%s\n" "$RANLIB" >&6; }
6879 else
6880 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6881 printf "%s\n" "no" >&6; }
6886 if test -z "$ac_cv_prog_RANLIB"; then
6887 ac_ct_RANLIB=$RANLIB
6888 # Extract the first word of "ranlib", so it can be a program name with args.
6889 set dummy ranlib; ac_word=$2
6890 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6891 printf %s "checking for $ac_word... " >&6; }
6892 if test ${ac_cv_prog_ac_ct_RANLIB+y}
6893 then :
6894 printf %s "(cached) " >&6
6895 else $as_nop
6896 if test -n "$ac_ct_RANLIB"; then
6897 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6898 else
6899 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6900 for as_dir in $PATH
6902 IFS=$as_save_IFS
6903 case $as_dir in #(((
6904 '') as_dir=./ ;;
6905 */) ;;
6906 *) as_dir=$as_dir/ ;;
6907 esac
6908 for ac_exec_ext in '' $ac_executable_extensions; do
6909 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6910 ac_cv_prog_ac_ct_RANLIB="ranlib"
6911 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6912 break 2
6914 done
6915 done
6916 IFS=$as_save_IFS
6920 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6921 if test -n "$ac_ct_RANLIB"; then
6922 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6923 printf "%s\n" "$ac_ct_RANLIB" >&6; }
6924 else
6925 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6926 printf "%s\n" "no" >&6; }
6929 if test "x$ac_ct_RANLIB" = x; then
6930 RANLIB=":"
6931 else
6932 case $cross_compiling:$ac_tool_warned in
6933 yes:)
6934 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6935 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6936 ac_tool_warned=yes ;;
6937 esac
6938 RANLIB=$ac_ct_RANLIB
6940 else
6941 RANLIB="$ac_cv_prog_RANLIB"
6944 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6945 printf %s "checking whether ln -s works... " >&6; }
6946 LN_S=$as_ln_s
6947 if test "$LN_S" = "ln -s"; then
6948 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6949 printf "%s\n" "yes" >&6; }
6950 else
6951 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6952 printf "%s\n" "no, using $LN_S" >&6; }
6955 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6956 printf %s "checking for grep that handles long lines and -e... " >&6; }
6957 if test ${ac_cv_path_GREP+y}
6958 then :
6959 printf %s "(cached) " >&6
6960 else $as_nop
6961 if test -z "$GREP"; then
6962 ac_path_GREP_found=false
6963 # Loop through the user's path and test for each of PROGNAME-LIST
6964 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6965 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6967 IFS=$as_save_IFS
6968 case $as_dir in #(((
6969 '') as_dir=./ ;;
6970 */) ;;
6971 *) as_dir=$as_dir/ ;;
6972 esac
6973 for ac_prog in grep ggrep
6975 for ac_exec_ext in '' $ac_executable_extensions; do
6976 ac_path_GREP="$as_dir$ac_prog$ac_exec_ext"
6977 as_fn_executable_p "$ac_path_GREP" || continue
6978 # Check for GNU ac_path_GREP and select it if it is found.
6979 # Check for GNU $ac_path_GREP
6980 case `"$ac_path_GREP" --version 2>&1` in
6981 *GNU*)
6982 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6984 ac_count=0
6985 printf %s 0123456789 >"conftest.in"
6986 while :
6988 cat "conftest.in" "conftest.in" >"conftest.tmp"
6989 mv "conftest.tmp" "conftest.in"
6990 cp "conftest.in" "conftest.nl"
6991 printf "%s\n" 'GREP' >> "conftest.nl"
6992 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6993 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6994 as_fn_arith $ac_count + 1 && ac_count=$as_val
6995 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6996 # Best one so far, save it but keep looking for a better one
6997 ac_cv_path_GREP="$ac_path_GREP"
6998 ac_path_GREP_max=$ac_count
7000 # 10*(2^10) chars as input seems more than enough
7001 test $ac_count -gt 10 && break
7002 done
7003 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7004 esac
7006 $ac_path_GREP_found && break 3
7007 done
7008 done
7009 done
7010 IFS=$as_save_IFS
7011 if test -z "$ac_cv_path_GREP"; then
7012 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7014 else
7015 ac_cv_path_GREP=$GREP
7019 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
7020 printf "%s\n" "$ac_cv_path_GREP" >&6; }
7021 GREP="$ac_cv_path_GREP"
7024 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
7025 printf %s "checking for egrep... " >&6; }
7026 if test ${ac_cv_path_EGREP+y}
7027 then :
7028 printf %s "(cached) " >&6
7029 else $as_nop
7030 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
7031 then ac_cv_path_EGREP="$GREP -E"
7032 else
7033 if test -z "$EGREP"; then
7034 ac_path_EGREP_found=false
7035 # Loop through the user's path and test for each of PROGNAME-LIST
7036 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7037 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
7039 IFS=$as_save_IFS
7040 case $as_dir in #(((
7041 '') as_dir=./ ;;
7042 */) ;;
7043 *) as_dir=$as_dir/ ;;
7044 esac
7045 for ac_prog in egrep
7047 for ac_exec_ext in '' $ac_executable_extensions; do
7048 ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext"
7049 as_fn_executable_p "$ac_path_EGREP" || continue
7050 # Check for GNU ac_path_EGREP and select it if it is found.
7051 # Check for GNU $ac_path_EGREP
7052 case `"$ac_path_EGREP" --version 2>&1` in
7053 *GNU*)
7054 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
7056 ac_count=0
7057 printf %s 0123456789 >"conftest.in"
7058 while :
7060 cat "conftest.in" "conftest.in" >"conftest.tmp"
7061 mv "conftest.tmp" "conftest.in"
7062 cp "conftest.in" "conftest.nl"
7063 printf "%s\n" 'EGREP' >> "conftest.nl"
7064 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
7065 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
7066 as_fn_arith $ac_count + 1 && ac_count=$as_val
7067 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
7068 # Best one so far, save it but keep looking for a better one
7069 ac_cv_path_EGREP="$ac_path_EGREP"
7070 ac_path_EGREP_max=$ac_count
7072 # 10*(2^10) chars as input seems more than enough
7073 test $ac_count -gt 10 && break
7074 done
7075 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7076 esac
7078 $ac_path_EGREP_found && break 3
7079 done
7080 done
7081 done
7082 IFS=$as_save_IFS
7083 if test -z "$ac_cv_path_EGREP"; then
7084 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7086 else
7087 ac_cv_path_EGREP=$EGREP
7092 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
7093 printf "%s\n" "$ac_cv_path_EGREP" >&6; }
7094 EGREP="$ac_cv_path_EGREP"
7097 # Extract the first word of "ldconfig", so it can be a program name with args.
7098 set dummy ldconfig; ac_word=$2
7099 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7100 printf %s "checking for $ac_word... " >&6; }
7101 if test ${ac_cv_path_LDCONFIG+y}
7102 then :
7103 printf %s "(cached) " >&6
7104 else $as_nop
7105 case $LDCONFIG in
7106 [\\/]* | ?:[\\/]*)
7107 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
7110 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7111 for as_dir in /sbin /usr/sbin $PATH
7113 IFS=$as_save_IFS
7114 case $as_dir in #(((
7115 '') as_dir=./ ;;
7116 */) ;;
7117 *) as_dir=$as_dir/ ;;
7118 esac
7119 for ac_exec_ext in '' $ac_executable_extensions; do
7120 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7121 ac_cv_path_LDCONFIG="$as_dir$ac_word$ac_exec_ext"
7122 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7123 break 2
7125 done
7126 done
7127 IFS=$as_save_IFS
7129 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
7131 esac
7133 LDCONFIG=$ac_cv_path_LDCONFIG
7134 if test -n "$LDCONFIG"; then
7135 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
7136 printf "%s\n" "$LDCONFIG" >&6; }
7137 else
7138 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7139 printf "%s\n" "no" >&6; }
7143 for ac_prog in msgfmt
7145 # Extract the first word of "$ac_prog", so it can be a program name with args.
7146 set dummy $ac_prog; ac_word=$2
7147 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7148 printf %s "checking for $ac_word... " >&6; }
7149 if test ${ac_cv_prog_MSGFMT+y}
7150 then :
7151 printf %s "(cached) " >&6
7152 else $as_nop
7153 if test -n "$MSGFMT"; then
7154 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
7155 else
7156 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7157 for as_dir in $PATH
7159 IFS=$as_save_IFS
7160 case $as_dir in #(((
7161 '') as_dir=./ ;;
7162 */) ;;
7163 *) as_dir=$as_dir/ ;;
7164 esac
7165 for ac_exec_ext in '' $ac_executable_extensions; do
7166 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7167 ac_cv_prog_MSGFMT="$ac_prog"
7168 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7169 break 2
7171 done
7172 done
7173 IFS=$as_save_IFS
7177 MSGFMT=$ac_cv_prog_MSGFMT
7178 if test -n "$MSGFMT"; then
7179 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
7180 printf "%s\n" "$MSGFMT" >&6; }
7181 else
7182 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7183 printf "%s\n" "no" >&6; }
7187 test -n "$MSGFMT" && break
7188 done
7189 test -n "$MSGFMT" || MSGFMT="false"
7191 if test ${ac_tool_prefix+y}
7192 then :
7193 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
7194 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
7195 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7196 printf %s "checking for $ac_word... " >&6; }
7197 if test ${ac_cv_prog_PKG_CONFIG+y}
7198 then :
7199 printf %s "(cached) " >&6
7200 else $as_nop
7201 if test -n "$PKG_CONFIG"; then
7202 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
7203 else
7204 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7205 for as_dir in $PATH
7207 IFS=$as_save_IFS
7208 case $as_dir in #(((
7209 '') as_dir=./ ;;
7210 */) ;;
7211 *) as_dir=$as_dir/ ;;
7212 esac
7213 for ac_exec_ext in '' $ac_executable_extensions; do
7214 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7215 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
7216 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7217 break 2
7219 done
7220 done
7221 IFS=$as_save_IFS
7225 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7226 if test -n "$PKG_CONFIG"; then
7227 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7228 printf "%s\n" "$PKG_CONFIG" >&6; }
7229 else
7230 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7231 printf "%s\n" "no" >&6; }
7236 if ${ac_cv_prog_PKG_CONFIG:+false} :
7237 then :
7238 if test "x$cross_compiling" = xyes
7239 then :
7241 else $as_nop
7242 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
7243 # Extract the first word of "pkg-config", so it can be a program name with args.
7244 set dummy pkg-config; ac_word=$2
7245 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7246 printf %s "checking for $ac_word... " >&6; }
7247 if test ${ac_cv_prog_PKG_CONFIG+y}
7248 then :
7249 printf %s "(cached) " >&6
7250 else $as_nop
7251 if test -n "$PKG_CONFIG"; then
7252 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
7253 else
7254 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7255 for as_dir in $PATH
7257 IFS=$as_save_IFS
7258 case $as_dir in #(((
7259 '') as_dir=./ ;;
7260 */) ;;
7261 *) as_dir=$as_dir/ ;;
7262 esac
7263 for ac_exec_ext in '' $ac_executable_extensions; do
7264 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7265 ac_cv_prog_PKG_CONFIG="pkg-config"
7266 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7267 break 2
7269 done
7270 done
7271 IFS=$as_save_IFS
7275 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7276 if test -n "$PKG_CONFIG"; then
7277 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7278 printf "%s\n" "$PKG_CONFIG" >&6; }
7279 else
7280 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7281 printf "%s\n" "no" >&6; }
7286 else $as_nop
7287 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7290 if test "x$enable_maintainer_mode" != "xyes"
7291 then
7292 FONTFORGE=""
7293 RSVG=""
7294 CONVERT=""
7295 ICOTOOL=""
7296 else
7297 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
7298 for ac_prog in fontforge
7300 # Extract the first word of "$ac_prog", so it can be a program name with args.
7301 set dummy $ac_prog; ac_word=$2
7302 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7303 printf %s "checking for $ac_word... " >&6; }
7304 if test ${ac_cv_prog_FONTFORGE+y}
7305 then :
7306 printf %s "(cached) " >&6
7307 else $as_nop
7308 if test -n "$FONTFORGE"; then
7309 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
7310 else
7311 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7312 for as_dir in $PATH
7314 IFS=$as_save_IFS
7315 case $as_dir in #(((
7316 '') as_dir=./ ;;
7317 */) ;;
7318 *) as_dir=$as_dir/ ;;
7319 esac
7320 for ac_exec_ext in '' $ac_executable_extensions; do
7321 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7322 ac_cv_prog_FONTFORGE="$ac_prog"
7323 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7324 break 2
7326 done
7327 done
7328 IFS=$as_save_IFS
7332 FONTFORGE=$ac_cv_prog_FONTFORGE
7333 if test -n "$FONTFORGE"; then
7334 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
7335 printf "%s\n" "$FONTFORGE" >&6; }
7336 else
7337 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7338 printf "%s\n" "no" >&6; }
7342 test -n "$FONTFORGE" && break
7343 done
7344 test -n "$FONTFORGE" || FONTFORGE="false"
7346 for ac_prog in rsvg-convert rsvg
7348 # Extract the first word of "$ac_prog", so it can be a program name with args.
7349 set dummy $ac_prog; ac_word=$2
7350 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7351 printf %s "checking for $ac_word... " >&6; }
7352 if test ${ac_cv_prog_RSVG+y}
7353 then :
7354 printf %s "(cached) " >&6
7355 else $as_nop
7356 if test -n "$RSVG"; then
7357 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
7358 else
7359 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7360 for as_dir in $PATH
7362 IFS=$as_save_IFS
7363 case $as_dir in #(((
7364 '') as_dir=./ ;;
7365 */) ;;
7366 *) as_dir=$as_dir/ ;;
7367 esac
7368 for ac_exec_ext in '' $ac_executable_extensions; do
7369 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7370 ac_cv_prog_RSVG="$ac_prog"
7371 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7372 break 2
7374 done
7375 done
7376 IFS=$as_save_IFS
7380 RSVG=$ac_cv_prog_RSVG
7381 if test -n "$RSVG"; then
7382 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
7383 printf "%s\n" "$RSVG" >&6; }
7384 else
7385 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7386 printf "%s\n" "no" >&6; }
7390 test -n "$RSVG" && break
7391 done
7392 test -n "$RSVG" || RSVG="false"
7394 for ac_prog in convert
7396 # Extract the first word of "$ac_prog", so it can be a program name with args.
7397 set dummy $ac_prog; ac_word=$2
7398 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7399 printf %s "checking for $ac_word... " >&6; }
7400 if test ${ac_cv_prog_CONVERT+y}
7401 then :
7402 printf %s "(cached) " >&6
7403 else $as_nop
7404 if test -n "$CONVERT"; then
7405 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
7406 else
7407 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7408 for as_dir in $PATH
7410 IFS=$as_save_IFS
7411 case $as_dir in #(((
7412 '') as_dir=./ ;;
7413 */) ;;
7414 *) as_dir=$as_dir/ ;;
7415 esac
7416 for ac_exec_ext in '' $ac_executable_extensions; do
7417 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7418 ac_cv_prog_CONVERT="$ac_prog"
7419 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7420 break 2
7422 done
7423 done
7424 IFS=$as_save_IFS
7428 CONVERT=$ac_cv_prog_CONVERT
7429 if test -n "$CONVERT"; then
7430 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
7431 printf "%s\n" "$CONVERT" >&6; }
7432 else
7433 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7434 printf "%s\n" "no" >&6; }
7438 test -n "$CONVERT" && break
7439 done
7440 test -n "$CONVERT" || CONVERT="false"
7442 for ac_prog in icotool
7444 # Extract the first word of "$ac_prog", so it can be a program name with args.
7445 set dummy $ac_prog; ac_word=$2
7446 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7447 printf %s "checking for $ac_word... " >&6; }
7448 if test ${ac_cv_prog_ICOTOOL+y}
7449 then :
7450 printf %s "(cached) " >&6
7451 else $as_nop
7452 if test -n "$ICOTOOL"; then
7453 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
7454 else
7455 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7456 for as_dir in $PATH
7458 IFS=$as_save_IFS
7459 case $as_dir in #(((
7460 '') as_dir=./ ;;
7461 */) ;;
7462 *) as_dir=$as_dir/ ;;
7463 esac
7464 for ac_exec_ext in '' $ac_executable_extensions; do
7465 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7466 ac_cv_prog_ICOTOOL="$ac_prog"
7467 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7468 break 2
7470 done
7471 done
7472 IFS=$as_save_IFS
7476 ICOTOOL=$ac_cv_prog_ICOTOOL
7477 if test -n "$ICOTOOL"; then
7478 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
7479 printf "%s\n" "$ICOTOOL" >&6; }
7480 else
7481 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7482 printf "%s\n" "no" >&6; }
7486 test -n "$ICOTOOL" && break
7487 done
7488 test -n "$ICOTOOL" || ICOTOOL="false"
7490 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
7491 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
7493 if test "$CONVERT" = false
7494 then
7495 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
7496 else
7497 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
7498 printf %s "checking for recent enough imagemagick... " >&6; }
7499 convert_version=`convert --version | head -n1`
7500 if test "x$convert_version" != "x"
7501 then
7502 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
7503 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
7504 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
7505 then
7506 CONVERT=false
7509 if test "$CONVERT" = false
7510 then
7511 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
7512 printf "%s\n" "no ($convert_version_major.$convert_version_minor)" >&6; }
7513 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7514 else
7515 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
7516 printf "%s\n" "yes ($convert_version_major.$convert_version_minor)" >&6; }
7520 if test "$ICOTOOL" = false
7521 then
7522 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
7523 else
7524 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
7525 printf %s "checking for recent enough icotool... " >&6; }
7526 icotool_version=`icotool --version | head -n1`
7527 if test "x$icotool_version" != "x"
7528 then
7529 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
7530 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
7531 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
7532 then
7533 ICOTOOL=false
7534 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
7537 if test "$ICOTOOL" = false
7538 then
7539 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
7540 printf "%s\n" "no ($icotool_version_major.$icotool_version_minor)" >&6; }
7541 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7542 else
7543 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
7544 printf "%s\n" "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
7548 with_gettext=yes
7549 with_gettextpo=yes
7551 enable_werror=yes
7554 test "x$with_gettext" != xno || MSGFMT=false
7555 if test "$MSGFMT" != "false"
7556 then
7557 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
7558 printf %s "checking whether msgfmt supports contexts... " >&6; }
7559 if test ${wine_cv_msgfmt_contexts+y}
7560 then :
7561 printf %s "(cached) " >&6
7562 else $as_nop
7563 cat >conftest.po <<EOF
7564 # comment
7565 msgctxt "ctxt"
7566 msgid "id"
7567 msgstr "str"
7569 if $MSGFMT -o /dev/null conftest.po 2>&5
7570 then
7571 wine_cv_msgfmt_contexts=yes
7572 else
7573 wine_cv_msgfmt_contexts=no
7576 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_msgfmt_contexts" >&5
7577 printf "%s\n" "$wine_cv_msgfmt_contexts" >&6; }
7578 test $wine_cv_msgfmt_contexts != no || MSGFMT=false
7580 if test "$MSGFMT" = false
7581 then :
7582 case "x$with_gettext" in
7583 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
7584 xno) ;;
7585 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
7586 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
7587 esac
7588 enable_po=${enable_po:-no}
7592 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
7593 printf %s "checking for i386_set_ldt in -li386... " >&6; }
7594 if test ${ac_cv_lib_i386_i386_set_ldt+y}
7595 then :
7596 printf %s "(cached) " >&6
7597 else $as_nop
7598 ac_check_lib_save_LIBS=$LIBS
7599 LIBS="-li386 $LIBS"
7600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7601 /* end confdefs.h. */
7603 /* Override any GCC internal prototype to avoid an error.
7604 Use char because int might match the return type of a GCC
7605 builtin and then its argument prototype would still apply. */
7606 char i386_set_ldt ();
7608 main (void)
7610 return i386_set_ldt ();
7612 return 0;
7614 _ACEOF
7615 if ac_fn_c_try_link "$LINENO"
7616 then :
7617 ac_cv_lib_i386_i386_set_ldt=yes
7618 else $as_nop
7619 ac_cv_lib_i386_i386_set_ldt=no
7621 rm -f core conftest.err conftest.$ac_objext conftest.beam \
7622 conftest$ac_exeext conftest.$ac_ext
7623 LIBS=$ac_check_lib_save_LIBS
7625 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
7626 printf "%s\n" "$ac_cv_lib_i386_i386_set_ldt" >&6; }
7627 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes
7628 then :
7629 I386_LIBS="-li386"
7634 OPENGL_LIBS=""
7638 # Check whether --enable-largefile was given.
7639 if test ${enable_largefile+y}
7640 then :
7641 enableval=$enable_largefile;
7644 if test "$enable_largefile" != no; then
7646 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
7647 printf %s "checking for special C compiler options needed for large files... " >&6; }
7648 if test ${ac_cv_sys_largefile_CC+y}
7649 then :
7650 printf %s "(cached) " >&6
7651 else $as_nop
7652 ac_cv_sys_largefile_CC=no
7653 if test "$GCC" != yes; then
7654 ac_save_CC=$CC
7655 while :; do
7656 # IRIX 6.2 and later do not support large files by default,
7657 # so use the C compiler's -n32 option if that helps.
7658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7659 /* end confdefs.h. */
7660 #include <sys/types.h>
7661 /* Check that off_t can represent 2**63 - 1 correctly.
7662 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7663 since some C++ compilers masquerading as C compilers
7664 incorrectly reject 9223372036854775807. */
7665 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7666 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7667 && LARGE_OFF_T % 2147483647 == 1)
7668 ? 1 : -1];
7670 main (void)
7674 return 0;
7676 _ACEOF
7677 if ac_fn_c_try_compile "$LINENO"
7678 then :
7679 break
7681 rm -f core conftest.err conftest.$ac_objext conftest.beam
7682 CC="$CC -n32"
7683 if ac_fn_c_try_compile "$LINENO"
7684 then :
7685 ac_cv_sys_largefile_CC=' -n32'; break
7687 rm -f core conftest.err conftest.$ac_objext conftest.beam
7688 break
7689 done
7690 CC=$ac_save_CC
7691 rm -f conftest.$ac_ext
7694 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
7695 printf "%s\n" "$ac_cv_sys_largefile_CC" >&6; }
7696 if test "$ac_cv_sys_largefile_CC" != no; then
7697 CC=$CC$ac_cv_sys_largefile_CC
7700 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
7701 printf %s "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
7702 if test ${ac_cv_sys_file_offset_bits+y}
7703 then :
7704 printf %s "(cached) " >&6
7705 else $as_nop
7706 while :; do
7707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7708 /* end confdefs.h. */
7709 #include <sys/types.h>
7710 /* Check that off_t can represent 2**63 - 1 correctly.
7711 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7712 since some C++ compilers masquerading as C compilers
7713 incorrectly reject 9223372036854775807. */
7714 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7715 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7716 && LARGE_OFF_T % 2147483647 == 1)
7717 ? 1 : -1];
7719 main (void)
7723 return 0;
7725 _ACEOF
7726 if ac_fn_c_try_compile "$LINENO"
7727 then :
7728 ac_cv_sys_file_offset_bits=no; break
7730 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7732 /* end confdefs.h. */
7733 #define _FILE_OFFSET_BITS 64
7734 #include <sys/types.h>
7735 /* Check that off_t can represent 2**63 - 1 correctly.
7736 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7737 since some C++ compilers masquerading as C compilers
7738 incorrectly reject 9223372036854775807. */
7739 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7740 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7741 && LARGE_OFF_T % 2147483647 == 1)
7742 ? 1 : -1];
7744 main (void)
7748 return 0;
7750 _ACEOF
7751 if ac_fn_c_try_compile "$LINENO"
7752 then :
7753 ac_cv_sys_file_offset_bits=64; break
7755 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7756 ac_cv_sys_file_offset_bits=unknown
7757 break
7758 done
7760 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
7761 printf "%s\n" "$ac_cv_sys_file_offset_bits" >&6; }
7762 case $ac_cv_sys_file_offset_bits in #(
7763 no | unknown) ;;
7765 printf "%s\n" "#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits" >>confdefs.h
7767 esac
7768 rm -rf conftest*
7769 if test $ac_cv_sys_file_offset_bits = unknown; then
7770 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
7771 printf %s "checking for _LARGE_FILES value needed for large files... " >&6; }
7772 if test ${ac_cv_sys_large_files+y}
7773 then :
7774 printf %s "(cached) " >&6
7775 else $as_nop
7776 while :; do
7777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7778 /* end confdefs.h. */
7779 #include <sys/types.h>
7780 /* Check that off_t can represent 2**63 - 1 correctly.
7781 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7782 since some C++ compilers masquerading as C compilers
7783 incorrectly reject 9223372036854775807. */
7784 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7785 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7786 && LARGE_OFF_T % 2147483647 == 1)
7787 ? 1 : -1];
7789 main (void)
7793 return 0;
7795 _ACEOF
7796 if ac_fn_c_try_compile "$LINENO"
7797 then :
7798 ac_cv_sys_large_files=no; break
7800 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7802 /* end confdefs.h. */
7803 #define _LARGE_FILES 1
7804 #include <sys/types.h>
7805 /* Check that off_t can represent 2**63 - 1 correctly.
7806 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7807 since some C++ compilers masquerading as C compilers
7808 incorrectly reject 9223372036854775807. */
7809 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7810 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7811 && LARGE_OFF_T % 2147483647 == 1)
7812 ? 1 : -1];
7814 main (void)
7818 return 0;
7820 _ACEOF
7821 if ac_fn_c_try_compile "$LINENO"
7822 then :
7823 ac_cv_sys_large_files=1; break
7825 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7826 ac_cv_sys_large_files=unknown
7827 break
7828 done
7830 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
7831 printf "%s\n" "$ac_cv_sys_large_files" >&6; }
7832 case $ac_cv_sys_large_files in #(
7833 no | unknown) ;;
7835 printf "%s\n" "#define _LARGE_FILES $ac_cv_sys_large_files" >>confdefs.h
7837 esac
7838 rm -rf conftest*
7843 ac_header= ac_cache=
7844 for ac_item in $ac_header_c_list
7846 if test $ac_cache; then
7847 ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
7848 if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
7849 printf "%s\n" "#define $ac_item 1" >> confdefs.h
7851 ac_header= ac_cache=
7852 elif test $ac_header; then
7853 ac_cache=$ac_item
7854 else
7855 ac_header=$ac_item
7857 done
7866 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
7867 then :
7869 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
7872 ac_fn_c_check_header_compile "$LINENO" "CL/cl.h" "ac_cv_header_CL_cl_h" "$ac_includes_default"
7873 if test "x$ac_cv_header_CL_cl_h" = xyes
7874 then :
7875 printf "%s\n" "#define HAVE_CL_CL_H 1" >>confdefs.h
7878 ac_fn_c_check_header_compile "$LINENO" "EGL/egl.h" "ac_cv_header_EGL_egl_h" "$ac_includes_default"
7879 if test "x$ac_cv_header_EGL_egl_h" = xyes
7880 then :
7881 printf "%s\n" "#define HAVE_EGL_EGL_H 1" >>confdefs.h
7884 ac_fn_c_check_header_compile "$LINENO" "OpenCL/opencl.h" "ac_cv_header_OpenCL_opencl_h" "$ac_includes_default"
7885 if test "x$ac_cv_header_OpenCL_opencl_h" = xyes
7886 then :
7887 printf "%s\n" "#define HAVE_OPENCL_OPENCL_H 1" >>confdefs.h
7890 ac_fn_c_check_header_compile "$LINENO" "arpa/inet.h" "ac_cv_header_arpa_inet_h" "$ac_includes_default"
7891 if test "x$ac_cv_header_arpa_inet_h" = xyes
7892 then :
7893 printf "%s\n" "#define HAVE_ARPA_INET_H 1" >>confdefs.h
7896 ac_fn_c_check_header_compile "$LINENO" "arpa/nameser.h" "ac_cv_header_arpa_nameser_h" "$ac_includes_default"
7897 if test "x$ac_cv_header_arpa_nameser_h" = xyes
7898 then :
7899 printf "%s\n" "#define HAVE_ARPA_NAMESER_H 1" >>confdefs.h
7902 ac_fn_c_check_header_compile "$LINENO" "asm/types.h" "ac_cv_header_asm_types_h" "$ac_includes_default"
7903 if test "x$ac_cv_header_asm_types_h" = xyes
7904 then :
7905 printf "%s\n" "#define HAVE_ASM_TYPES_H 1" >>confdefs.h
7908 ac_fn_c_check_header_compile "$LINENO" "asm/user.h" "ac_cv_header_asm_user_h" "$ac_includes_default"
7909 if test "x$ac_cv_header_asm_user_h" = xyes
7910 then :
7911 printf "%s\n" "#define HAVE_ASM_USER_H 1" >>confdefs.h
7914 ac_fn_c_check_header_compile "$LINENO" "elf.h" "ac_cv_header_elf_h" "$ac_includes_default"
7915 if test "x$ac_cv_header_elf_h" = xyes
7916 then :
7917 printf "%s\n" "#define HAVE_ELF_H 1" >>confdefs.h
7920 ac_fn_c_check_header_compile "$LINENO" "float.h" "ac_cv_header_float_h" "$ac_includes_default"
7921 if test "x$ac_cv_header_float_h" = xyes
7922 then :
7923 printf "%s\n" "#define HAVE_FLOAT_H 1" >>confdefs.h
7926 ac_fn_c_check_header_compile "$LINENO" "gettext-po.h" "ac_cv_header_gettext_po_h" "$ac_includes_default"
7927 if test "x$ac_cv_header_gettext_po_h" = xyes
7928 then :
7929 printf "%s\n" "#define HAVE_GETTEXT_PO_H 1" >>confdefs.h
7932 ac_fn_c_check_header_compile "$LINENO" "libproc.h" "ac_cv_header_libproc_h" "$ac_includes_default"
7933 if test "x$ac_cv_header_libproc_h" = xyes
7934 then :
7935 printf "%s\n" "#define HAVE_LIBPROC_H 1" >>confdefs.h
7938 ac_fn_c_check_header_compile "$LINENO" "link.h" "ac_cv_header_link_h" "$ac_includes_default"
7939 if test "x$ac_cv_header_link_h" = xyes
7940 then :
7941 printf "%s\n" "#define HAVE_LINK_H 1" >>confdefs.h
7944 ac_fn_c_check_header_compile "$LINENO" "linux/cdrom.h" "ac_cv_header_linux_cdrom_h" "$ac_includes_default"
7945 if test "x$ac_cv_header_linux_cdrom_h" = xyes
7946 then :
7947 printf "%s\n" "#define HAVE_LINUX_CDROM_H 1" >>confdefs.h
7950 ac_fn_c_check_header_compile "$LINENO" "linux/filter.h" "ac_cv_header_linux_filter_h" "$ac_includes_default"
7951 if test "x$ac_cv_header_linux_filter_h" = xyes
7952 then :
7953 printf "%s\n" "#define HAVE_LINUX_FILTER_H 1" >>confdefs.h
7956 ac_fn_c_check_header_compile "$LINENO" "linux/hdreg.h" "ac_cv_header_linux_hdreg_h" "$ac_includes_default"
7957 if test "x$ac_cv_header_linux_hdreg_h" = xyes
7958 then :
7959 printf "%s\n" "#define HAVE_LINUX_HDREG_H 1" >>confdefs.h
7962 ac_fn_c_check_header_compile "$LINENO" "linux/hidraw.h" "ac_cv_header_linux_hidraw_h" "$ac_includes_default"
7963 if test "x$ac_cv_header_linux_hidraw_h" = xyes
7964 then :
7965 printf "%s\n" "#define HAVE_LINUX_HIDRAW_H 1" >>confdefs.h
7968 ac_fn_c_check_header_compile "$LINENO" "linux/input.h" "ac_cv_header_linux_input_h" "$ac_includes_default"
7969 if test "x$ac_cv_header_linux_input_h" = xyes
7970 then :
7971 printf "%s\n" "#define HAVE_LINUX_INPUT_H 1" >>confdefs.h
7974 ac_fn_c_check_header_compile "$LINENO" "linux/ioctl.h" "ac_cv_header_linux_ioctl_h" "$ac_includes_default"
7975 if test "x$ac_cv_header_linux_ioctl_h" = xyes
7976 then :
7977 printf "%s\n" "#define HAVE_LINUX_IOCTL_H 1" >>confdefs.h
7980 ac_fn_c_check_header_compile "$LINENO" "linux/major.h" "ac_cv_header_linux_major_h" "$ac_includes_default"
7981 if test "x$ac_cv_header_linux_major_h" = xyes
7982 then :
7983 printf "%s\n" "#define HAVE_LINUX_MAJOR_H 1" >>confdefs.h
7986 ac_fn_c_check_header_compile "$LINENO" "linux/param.h" "ac_cv_header_linux_param_h" "$ac_includes_default"
7987 if test "x$ac_cv_header_linux_param_h" = xyes
7988 then :
7989 printf "%s\n" "#define HAVE_LINUX_PARAM_H 1" >>confdefs.h
7992 ac_fn_c_check_header_compile "$LINENO" "linux/serial.h" "ac_cv_header_linux_serial_h" "$ac_includes_default"
7993 if test "x$ac_cv_header_linux_serial_h" = xyes
7994 then :
7995 printf "%s\n" "#define HAVE_LINUX_SERIAL_H 1" >>confdefs.h
7998 ac_fn_c_check_header_compile "$LINENO" "linux/types.h" "ac_cv_header_linux_types_h" "$ac_includes_default"
7999 if test "x$ac_cv_header_linux_types_h" = xyes
8000 then :
8001 printf "%s\n" "#define HAVE_LINUX_TYPES_H 1" >>confdefs.h
8004 ac_fn_c_check_header_compile "$LINENO" "linux/ucdrom.h" "ac_cv_header_linux_ucdrom_h" "$ac_includes_default"
8005 if test "x$ac_cv_header_linux_ucdrom_h" = xyes
8006 then :
8007 printf "%s\n" "#define HAVE_LINUX_UCDROM_H 1" >>confdefs.h
8010 ac_fn_c_check_header_compile "$LINENO" "linux/wireless.h" "ac_cv_header_linux_wireless_h" "$ac_includes_default"
8011 if test "x$ac_cv_header_linux_wireless_h" = xyes
8012 then :
8013 printf "%s\n" "#define HAVE_LINUX_WIRELESS_H 1" >>confdefs.h
8016 ac_fn_c_check_header_compile "$LINENO" "lwp.h" "ac_cv_header_lwp_h" "$ac_includes_default"
8017 if test "x$ac_cv_header_lwp_h" = xyes
8018 then :
8019 printf "%s\n" "#define HAVE_LWP_H 1" >>confdefs.h
8022 ac_fn_c_check_header_compile "$LINENO" "mach-o/loader.h" "ac_cv_header_mach_o_loader_h" "$ac_includes_default"
8023 if test "x$ac_cv_header_mach_o_loader_h" = xyes
8024 then :
8025 printf "%s\n" "#define HAVE_MACH_O_LOADER_H 1" >>confdefs.h
8028 ac_fn_c_check_header_compile "$LINENO" "mach/mach.h" "ac_cv_header_mach_mach_h" "$ac_includes_default"
8029 if test "x$ac_cv_header_mach_mach_h" = xyes
8030 then :
8031 printf "%s\n" "#define HAVE_MACH_MACH_H 1" >>confdefs.h
8034 ac_fn_c_check_header_compile "$LINENO" "machine/cpu.h" "ac_cv_header_machine_cpu_h" "$ac_includes_default"
8035 if test "x$ac_cv_header_machine_cpu_h" = xyes
8036 then :
8037 printf "%s\n" "#define HAVE_MACHINE_CPU_H 1" >>confdefs.h
8040 ac_fn_c_check_header_compile "$LINENO" "machine/sysarch.h" "ac_cv_header_machine_sysarch_h" "$ac_includes_default"
8041 if test "x$ac_cv_header_machine_sysarch_h" = xyes
8042 then :
8043 printf "%s\n" "#define HAVE_MACHINE_SYSARCH_H 1" >>confdefs.h
8046 ac_fn_c_check_header_compile "$LINENO" "mntent.h" "ac_cv_header_mntent_h" "$ac_includes_default"
8047 if test "x$ac_cv_header_mntent_h" = xyes
8048 then :
8049 printf "%s\n" "#define HAVE_MNTENT_H 1" >>confdefs.h
8052 ac_fn_c_check_header_compile "$LINENO" "netdb.h" "ac_cv_header_netdb_h" "$ac_includes_default"
8053 if test "x$ac_cv_header_netdb_h" = xyes
8054 then :
8055 printf "%s\n" "#define HAVE_NETDB_H 1" >>confdefs.h
8058 ac_fn_c_check_header_compile "$LINENO" "netinet/in.h" "ac_cv_header_netinet_in_h" "$ac_includes_default"
8059 if test "x$ac_cv_header_netinet_in_h" = xyes
8060 then :
8061 printf "%s\n" "#define HAVE_NETINET_IN_H 1" >>confdefs.h
8064 ac_fn_c_check_header_compile "$LINENO" "netinet/in_systm.h" "ac_cv_header_netinet_in_systm_h" "$ac_includes_default"
8065 if test "x$ac_cv_header_netinet_in_systm_h" = xyes
8066 then :
8067 printf "%s\n" "#define HAVE_NETINET_IN_SYSTM_H 1" >>confdefs.h
8070 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp.h" "ac_cv_header_netinet_tcp_h" "$ac_includes_default"
8071 if test "x$ac_cv_header_netinet_tcp_h" = xyes
8072 then :
8073 printf "%s\n" "#define HAVE_NETINET_TCP_H 1" >>confdefs.h
8076 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp_fsm.h" "ac_cv_header_netinet_tcp_fsm_h" "$ac_includes_default"
8077 if test "x$ac_cv_header_netinet_tcp_fsm_h" = xyes
8078 then :
8079 printf "%s\n" "#define HAVE_NETINET_TCP_FSM_H 1" >>confdefs.h
8082 ac_fn_c_check_header_compile "$LINENO" "pcap/pcap.h" "ac_cv_header_pcap_pcap_h" "$ac_includes_default"
8083 if test "x$ac_cv_header_pcap_pcap_h" = xyes
8084 then :
8085 printf "%s\n" "#define HAVE_PCAP_PCAP_H 1" >>confdefs.h
8088 ac_fn_c_check_header_compile "$LINENO" "port.h" "ac_cv_header_port_h" "$ac_includes_default"
8089 if test "x$ac_cv_header_port_h" = xyes
8090 then :
8091 printf "%s\n" "#define HAVE_PORT_H 1" >>confdefs.h
8094 ac_fn_c_check_header_compile "$LINENO" "pwd.h" "ac_cv_header_pwd_h" "$ac_includes_default"
8095 if test "x$ac_cv_header_pwd_h" = xyes
8096 then :
8097 printf "%s\n" "#define HAVE_PWD_H 1" >>confdefs.h
8100 ac_fn_c_check_header_compile "$LINENO" "sched.h" "ac_cv_header_sched_h" "$ac_includes_default"
8101 if test "x$ac_cv_header_sched_h" = xyes
8102 then :
8103 printf "%s\n" "#define HAVE_SCHED_H 1" >>confdefs.h
8106 ac_fn_c_check_header_compile "$LINENO" "scsi/scsi.h" "ac_cv_header_scsi_scsi_h" "$ac_includes_default"
8107 if test "x$ac_cv_header_scsi_scsi_h" = xyes
8108 then :
8109 printf "%s\n" "#define HAVE_SCSI_SCSI_H 1" >>confdefs.h
8112 ac_fn_c_check_header_compile "$LINENO" "scsi/scsi_ioctl.h" "ac_cv_header_scsi_scsi_ioctl_h" "$ac_includes_default"
8113 if test "x$ac_cv_header_scsi_scsi_ioctl_h" = xyes
8114 then :
8115 printf "%s\n" "#define HAVE_SCSI_SCSI_IOCTL_H 1" >>confdefs.h
8118 ac_fn_c_check_header_compile "$LINENO" "scsi/sg.h" "ac_cv_header_scsi_sg_h" "$ac_includes_default"
8119 if test "x$ac_cv_header_scsi_sg_h" = xyes
8120 then :
8121 printf "%s\n" "#define HAVE_SCSI_SG_H 1" >>confdefs.h
8124 ac_fn_c_check_header_compile "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
8125 if test "x$ac_cv_header_stdint_h" = xyes
8126 then :
8127 printf "%s\n" "#define HAVE_STDINT_H 1" >>confdefs.h
8130 ac_fn_c_check_header_compile "$LINENO" "sys/attr.h" "ac_cv_header_sys_attr_h" "$ac_includes_default"
8131 if test "x$ac_cv_header_sys_attr_h" = xyes
8132 then :
8133 printf "%s\n" "#define HAVE_SYS_ATTR_H 1" >>confdefs.h
8136 ac_fn_c_check_header_compile "$LINENO" "sys/auxv.h" "ac_cv_header_sys_auxv_h" "$ac_includes_default"
8137 if test "x$ac_cv_header_sys_auxv_h" = xyes
8138 then :
8139 printf "%s\n" "#define HAVE_SYS_AUXV_H 1" >>confdefs.h
8142 ac_fn_c_check_header_compile "$LINENO" "sys/cdio.h" "ac_cv_header_sys_cdio_h" "$ac_includes_default"
8143 if test "x$ac_cv_header_sys_cdio_h" = xyes
8144 then :
8145 printf "%s\n" "#define HAVE_SYS_CDIO_H 1" >>confdefs.h
8148 ac_fn_c_check_header_compile "$LINENO" "sys/epoll.h" "ac_cv_header_sys_epoll_h" "$ac_includes_default"
8149 if test "x$ac_cv_header_sys_epoll_h" = xyes
8150 then :
8151 printf "%s\n" "#define HAVE_SYS_EPOLL_H 1" >>confdefs.h
8154 ac_fn_c_check_header_compile "$LINENO" "sys/event.h" "ac_cv_header_sys_event_h" "$ac_includes_default"
8155 if test "x$ac_cv_header_sys_event_h" = xyes
8156 then :
8157 printf "%s\n" "#define HAVE_SYS_EVENT_H 1" >>confdefs.h
8160 ac_fn_c_check_header_compile "$LINENO" "sys/extattr.h" "ac_cv_header_sys_extattr_h" "$ac_includes_default"
8161 if test "x$ac_cv_header_sys_extattr_h" = xyes
8162 then :
8163 printf "%s\n" "#define HAVE_SYS_EXTATTR_H 1" >>confdefs.h
8166 ac_fn_c_check_header_compile "$LINENO" "sys/filio.h" "ac_cv_header_sys_filio_h" "$ac_includes_default"
8167 if test "x$ac_cv_header_sys_filio_h" = xyes
8168 then :
8169 printf "%s\n" "#define HAVE_SYS_FILIO_H 1" >>confdefs.h
8172 ac_fn_c_check_header_compile "$LINENO" "sys/ipc.h" "ac_cv_header_sys_ipc_h" "$ac_includes_default"
8173 if test "x$ac_cv_header_sys_ipc_h" = xyes
8174 then :
8175 printf "%s\n" "#define HAVE_SYS_IPC_H 1" >>confdefs.h
8178 ac_fn_c_check_header_compile "$LINENO" "sys/link.h" "ac_cv_header_sys_link_h" "$ac_includes_default"
8179 if test "x$ac_cv_header_sys_link_h" = xyes
8180 then :
8181 printf "%s\n" "#define HAVE_SYS_LINK_H 1" >>confdefs.h
8184 ac_fn_c_check_header_compile "$LINENO" "sys/modem.h" "ac_cv_header_sys_modem_h" "$ac_includes_default"
8185 if test "x$ac_cv_header_sys_modem_h" = xyes
8186 then :
8187 printf "%s\n" "#define HAVE_SYS_MODEM_H 1" >>confdefs.h
8190 ac_fn_c_check_header_compile "$LINENO" "sys/mtio.h" "ac_cv_header_sys_mtio_h" "$ac_includes_default"
8191 if test "x$ac_cv_header_sys_mtio_h" = xyes
8192 then :
8193 printf "%s\n" "#define HAVE_SYS_MTIO_H 1" >>confdefs.h
8196 ac_fn_c_check_header_compile "$LINENO" "sys/param.h" "ac_cv_header_sys_param_h" "$ac_includes_default"
8197 if test "x$ac_cv_header_sys_param_h" = xyes
8198 then :
8199 printf "%s\n" "#define HAVE_SYS_PARAM_H 1" >>confdefs.h
8202 ac_fn_c_check_header_compile "$LINENO" "sys/prctl.h" "ac_cv_header_sys_prctl_h" "$ac_includes_default"
8203 if test "x$ac_cv_header_sys_prctl_h" = xyes
8204 then :
8205 printf "%s\n" "#define HAVE_SYS_PRCTL_H 1" >>confdefs.h
8208 ac_fn_c_check_header_compile "$LINENO" "sys/ptrace.h" "ac_cv_header_sys_ptrace_h" "$ac_includes_default"
8209 if test "x$ac_cv_header_sys_ptrace_h" = xyes
8210 then :
8211 printf "%s\n" "#define HAVE_SYS_PTRACE_H 1" >>confdefs.h
8214 ac_fn_c_check_header_compile "$LINENO" "sys/queue.h" "ac_cv_header_sys_queue_h" "$ac_includes_default"
8215 if test "x$ac_cv_header_sys_queue_h" = xyes
8216 then :
8217 printf "%s\n" "#define HAVE_SYS_QUEUE_H 1" >>confdefs.h
8220 ac_fn_c_check_header_compile "$LINENO" "sys/random.h" "ac_cv_header_sys_random_h" "$ac_includes_default"
8221 if test "x$ac_cv_header_sys_random_h" = xyes
8222 then :
8223 printf "%s\n" "#define HAVE_SYS_RANDOM_H 1" >>confdefs.h
8226 ac_fn_c_check_header_compile "$LINENO" "sys/resource.h" "ac_cv_header_sys_resource_h" "$ac_includes_default"
8227 if test "x$ac_cv_header_sys_resource_h" = xyes
8228 then :
8229 printf "%s\n" "#define HAVE_SYS_RESOURCE_H 1" >>confdefs.h
8232 ac_fn_c_check_header_compile "$LINENO" "sys/scsiio.h" "ac_cv_header_sys_scsiio_h" "$ac_includes_default"
8233 if test "x$ac_cv_header_sys_scsiio_h" = xyes
8234 then :
8235 printf "%s\n" "#define HAVE_SYS_SCSIIO_H 1" >>confdefs.h
8238 ac_fn_c_check_header_compile "$LINENO" "sys/shm.h" "ac_cv_header_sys_shm_h" "$ac_includes_default"
8239 if test "x$ac_cv_header_sys_shm_h" = xyes
8240 then :
8241 printf "%s\n" "#define HAVE_SYS_SHM_H 1" >>confdefs.h
8244 ac_fn_c_check_header_compile "$LINENO" "sys/signal.h" "ac_cv_header_sys_signal_h" "$ac_includes_default"
8245 if test "x$ac_cv_header_sys_signal_h" = xyes
8246 then :
8247 printf "%s\n" "#define HAVE_SYS_SIGNAL_H 1" >>confdefs.h
8250 ac_fn_c_check_header_compile "$LINENO" "sys/socketvar.h" "ac_cv_header_sys_socketvar_h" "$ac_includes_default"
8251 if test "x$ac_cv_header_sys_socketvar_h" = xyes
8252 then :
8253 printf "%s\n" "#define HAVE_SYS_SOCKETVAR_H 1" >>confdefs.h
8256 ac_fn_c_check_header_compile "$LINENO" "sys/sockio.h" "ac_cv_header_sys_sockio_h" "$ac_includes_default"
8257 if test "x$ac_cv_header_sys_sockio_h" = xyes
8258 then :
8259 printf "%s\n" "#define HAVE_SYS_SOCKIO_H 1" >>confdefs.h
8262 ac_fn_c_check_header_compile "$LINENO" "sys/statvfs.h" "ac_cv_header_sys_statvfs_h" "$ac_includes_default"
8263 if test "x$ac_cv_header_sys_statvfs_h" = xyes
8264 then :
8265 printf "%s\n" "#define HAVE_SYS_STATVFS_H 1" >>confdefs.h
8268 ac_fn_c_check_header_compile "$LINENO" "sys/strtio.h" "ac_cv_header_sys_strtio_h" "$ac_includes_default"
8269 if test "x$ac_cv_header_sys_strtio_h" = xyes
8270 then :
8271 printf "%s\n" "#define HAVE_SYS_STRTIO_H 1" >>confdefs.h
8274 ac_fn_c_check_header_compile "$LINENO" "sys/syscall.h" "ac_cv_header_sys_syscall_h" "$ac_includes_default"
8275 if test "x$ac_cv_header_sys_syscall_h" = xyes
8276 then :
8277 printf "%s\n" "#define HAVE_SYS_SYSCALL_H 1" >>confdefs.h
8280 ac_fn_c_check_header_compile "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
8281 if test "x$ac_cv_header_sys_sysinfo_h" = xyes
8282 then :
8283 printf "%s\n" "#define HAVE_SYS_SYSINFO_H 1" >>confdefs.h
8286 ac_fn_c_check_header_compile "$LINENO" "sys/times.h" "ac_cv_header_sys_times_h" "$ac_includes_default"
8287 if test "x$ac_cv_header_sys_times_h" = xyes
8288 then :
8289 printf "%s\n" "#define HAVE_SYS_TIMES_H 1" >>confdefs.h
8292 ac_fn_c_check_header_compile "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
8293 if test "x$ac_cv_header_sys_uio_h" = xyes
8294 then :
8295 printf "%s\n" "#define HAVE_SYS_UIO_H 1" >>confdefs.h
8298 ac_fn_c_check_header_compile "$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "$ac_includes_default"
8299 if test "x$ac_cv_header_sys_user_h" = xyes
8300 then :
8301 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8304 ac_fn_c_check_header_compile "$LINENO" "sys/utsname.h" "ac_cv_header_sys_utsname_h" "$ac_includes_default"
8305 if test "x$ac_cv_header_sys_utsname_h" = xyes
8306 then :
8307 printf "%s\n" "#define HAVE_SYS_UTSNAME_H 1" >>confdefs.h
8310 ac_fn_c_check_header_compile "$LINENO" "sys/vnode.h" "ac_cv_header_sys_vnode_h" "$ac_includes_default"
8311 if test "x$ac_cv_header_sys_vnode_h" = xyes
8312 then :
8313 printf "%s\n" "#define HAVE_SYS_VNODE_H 1" >>confdefs.h
8316 ac_fn_c_check_header_compile "$LINENO" "sys/xattr.h" "ac_cv_header_sys_xattr_h" "$ac_includes_default"
8317 if test "x$ac_cv_header_sys_xattr_h" = xyes
8318 then :
8319 printf "%s\n" "#define HAVE_SYS_XATTR_H 1" >>confdefs.h
8322 ac_fn_c_check_header_compile "$LINENO" "syscall.h" "ac_cv_header_syscall_h" "$ac_includes_default"
8323 if test "x$ac_cv_header_syscall_h" = xyes
8324 then :
8325 printf "%s\n" "#define HAVE_SYSCALL_H 1" >>confdefs.h
8328 ac_fn_c_check_header_compile "$LINENO" "utime.h" "ac_cv_header_utime_h" "$ac_includes_default"
8329 if test "x$ac_cv_header_utime_h" = xyes
8330 then :
8331 printf "%s\n" "#define HAVE_UTIME_H 1" >>confdefs.h
8334 ac_fn_c_check_header_compile "$LINENO" "valgrind/memcheck.h" "ac_cv_header_valgrind_memcheck_h" "$ac_includes_default"
8335 if test "x$ac_cv_header_valgrind_memcheck_h" = xyes
8336 then :
8337 printf "%s\n" "#define HAVE_VALGRIND_MEMCHECK_H 1" >>confdefs.h
8340 ac_fn_c_check_header_compile "$LINENO" "valgrind/valgrind.h" "ac_cv_header_valgrind_valgrind_h" "$ac_includes_default"
8341 if test "x$ac_cv_header_valgrind_valgrind_h" = xyes
8342 then :
8343 printf "%s\n" "#define HAVE_VALGRIND_VALGRIND_H 1" >>confdefs.h
8347 ac_fn_c_check_header_compile "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
8348 if test "x$ac_cv_header_sys_mkdev_h" = xyes
8349 then :
8351 printf "%s\n" "#define MAJOR_IN_MKDEV 1" >>confdefs.h
8355 if test $ac_cv_header_sys_mkdev_h = no; then
8356 ac_fn_c_check_header_compile "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
8357 if test "x$ac_cv_header_sys_sysmacros_h" = xyes
8358 then :
8360 printf "%s\n" "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
8365 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
8366 printf %s "checking whether stat file-mode macros are broken... " >&6; }
8367 if test ${ac_cv_header_stat_broken+y}
8368 then :
8369 printf %s "(cached) " >&6
8370 else $as_nop
8371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8372 /* end confdefs.h. */
8373 #include <sys/types.h>
8374 #include <sys/stat.h>
8376 #if defined S_ISBLK && defined S_IFDIR
8377 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
8378 #endif
8380 #if defined S_ISBLK && defined S_IFCHR
8381 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
8382 #endif
8384 #if defined S_ISLNK && defined S_IFREG
8385 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
8386 #endif
8388 #if defined S_ISSOCK && defined S_IFREG
8389 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
8390 #endif
8392 _ACEOF
8393 if ac_fn_c_try_compile "$LINENO"
8394 then :
8395 ac_cv_header_stat_broken=no
8396 else $as_nop
8397 ac_cv_header_stat_broken=yes
8399 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8401 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
8402 printf "%s\n" "$ac_cv_header_stat_broken" >&6; }
8403 if test $ac_cv_header_stat_broken = yes; then
8405 printf "%s\n" "#define STAT_MACROS_BROKEN 1" >>confdefs.h
8411 ac_fn_c_check_header_compile "$LINENO" "sys/conf.h" "ac_cv_header_sys_conf_h" "#include <sys/types.h>
8412 #ifdef HAVE_SYS_PARAM_H
8413 # include <sys/param.h>
8414 #endif
8416 if test "x$ac_cv_header_sys_conf_h" = xyes
8417 then :
8418 printf "%s\n" "#define HAVE_SYS_CONF_H 1" >>confdefs.h
8421 ac_fn_c_check_header_compile "$LINENO" "sys/mount.h" "ac_cv_header_sys_mount_h" "#include <sys/types.h>
8422 #ifdef HAVE_SYS_PARAM_H
8423 # include <sys/param.h>
8424 #endif
8426 if test "x$ac_cv_header_sys_mount_h" = xyes
8427 then :
8428 printf "%s\n" "#define HAVE_SYS_MOUNT_H 1" >>confdefs.h
8431 ac_fn_c_check_header_compile "$LINENO" "sys/statfs.h" "ac_cv_header_sys_statfs_h" "#include <sys/types.h>
8432 #ifdef HAVE_SYS_PARAM_H
8433 # include <sys/param.h>
8434 #endif
8436 if test "x$ac_cv_header_sys_statfs_h" = xyes
8437 then :
8438 printf "%s\n" "#define HAVE_SYS_STATFS_H 1" >>confdefs.h
8441 ac_fn_c_check_header_compile "$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "#include <sys/types.h>
8442 #ifdef HAVE_SYS_PARAM_H
8443 # include <sys/param.h>
8444 #endif
8446 if test "x$ac_cv_header_sys_user_h" = xyes
8447 then :
8448 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8451 ac_fn_c_check_header_compile "$LINENO" "sys/vfs.h" "ac_cv_header_sys_vfs_h" "#include <sys/types.h>
8452 #ifdef HAVE_SYS_PARAM_H
8453 # include <sys/param.h>
8454 #endif
8456 if test "x$ac_cv_header_sys_vfs_h" = xyes
8457 then :
8458 printf "%s\n" "#define HAVE_SYS_VFS_H 1" >>confdefs.h
8463 saved_sysctl_h_CFLAGS=$CFLAGS
8464 test "x${GCC}" != xyes || CFLAGS="$CFLAGS -Werror"
8465 ac_fn_c_check_header_compile "$LINENO" "sys/sysctl.h" "ac_cv_header_sys_sysctl_h" "#include <sys/types.h>
8466 #ifdef HAVE_SYS_PARAM_H
8467 # include <sys/param.h>
8468 #endif
8470 if test "x$ac_cv_header_sys_sysctl_h" = xyes
8471 then :
8472 printf "%s\n" "#define HAVE_SYS_SYSCTL_H 1" >>confdefs.h
8476 CFLAGS=$saved_sysctl_h_CFLAGS
8478 ac_fn_c_check_header_compile "$LINENO" "netinet/ip.h" "ac_cv_header_netinet_ip_h" "#include <sys/types.h>
8479 #include <sys/socket.h>
8480 #ifdef HAVE_SYS_SOCKETVAR_H
8481 # include <sys/socketvar.h>
8482 #endif
8483 #ifdef HAVE_NET_ROUTE_H
8484 # include <net/route.h>
8485 #endif
8486 #ifdef HAVE_NETINET_IN_H
8487 # include <netinet/in.h>
8488 #endif
8489 #ifdef HAVE_NETINET_IN_SYSTM_H
8490 # include <netinet/in_systm.h>
8491 #endif
8492 #ifdef HAVE_NET_IF_H
8493 # include <net/if.h>
8494 #endif
8495 #ifdef HAVE_NETINET_IP_H
8496 # include <netinet/ip.h>
8497 #endif
8499 if test "x$ac_cv_header_netinet_ip_h" = xyes
8500 then :
8501 printf "%s\n" "#define HAVE_NETINET_IP_H 1" >>confdefs.h
8504 ac_fn_c_check_header_compile "$LINENO" "net/if.h" "ac_cv_header_net_if_h" "#include <sys/types.h>
8505 #include <sys/socket.h>
8506 #ifdef HAVE_SYS_SOCKETVAR_H
8507 # include <sys/socketvar.h>
8508 #endif
8509 #ifdef HAVE_NET_ROUTE_H
8510 # include <net/route.h>
8511 #endif
8512 #ifdef HAVE_NETINET_IN_H
8513 # include <netinet/in.h>
8514 #endif
8515 #ifdef HAVE_NETINET_IN_SYSTM_H
8516 # include <netinet/in_systm.h>
8517 #endif
8518 #ifdef HAVE_NET_IF_H
8519 # include <net/if.h>
8520 #endif
8521 #ifdef HAVE_NETINET_IP_H
8522 # include <netinet/ip.h>
8523 #endif
8525 if test "x$ac_cv_header_net_if_h" = xyes
8526 then :
8527 printf "%s\n" "#define HAVE_NET_IF_H 1" >>confdefs.h
8530 ac_fn_c_check_header_compile "$LINENO" "net/if_arp.h" "ac_cv_header_net_if_arp_h" "#include <sys/types.h>
8531 #include <sys/socket.h>
8532 #ifdef HAVE_SYS_SOCKETVAR_H
8533 # include <sys/socketvar.h>
8534 #endif
8535 #ifdef HAVE_NET_ROUTE_H
8536 # include <net/route.h>
8537 #endif
8538 #ifdef HAVE_NETINET_IN_H
8539 # include <netinet/in.h>
8540 #endif
8541 #ifdef HAVE_NETINET_IN_SYSTM_H
8542 # include <netinet/in_systm.h>
8543 #endif
8544 #ifdef HAVE_NET_IF_H
8545 # include <net/if.h>
8546 #endif
8547 #ifdef HAVE_NETINET_IP_H
8548 # include <netinet/ip.h>
8549 #endif
8551 if test "x$ac_cv_header_net_if_arp_h" = xyes
8552 then :
8553 printf "%s\n" "#define HAVE_NET_IF_ARP_H 1" >>confdefs.h
8556 ac_fn_c_check_header_compile "$LINENO" "net/if_dl.h" "ac_cv_header_net_if_dl_h" "#include <sys/types.h>
8557 #include <sys/socket.h>
8558 #ifdef HAVE_SYS_SOCKETVAR_H
8559 # include <sys/socketvar.h>
8560 #endif
8561 #ifdef HAVE_NET_ROUTE_H
8562 # include <net/route.h>
8563 #endif
8564 #ifdef HAVE_NETINET_IN_H
8565 # include <netinet/in.h>
8566 #endif
8567 #ifdef HAVE_NETINET_IN_SYSTM_H
8568 # include <netinet/in_systm.h>
8569 #endif
8570 #ifdef HAVE_NET_IF_H
8571 # include <net/if.h>
8572 #endif
8573 #ifdef HAVE_NETINET_IP_H
8574 # include <netinet/ip.h>
8575 #endif
8577 if test "x$ac_cv_header_net_if_dl_h" = xyes
8578 then :
8579 printf "%s\n" "#define HAVE_NET_IF_DL_H 1" >>confdefs.h
8582 ac_fn_c_check_header_compile "$LINENO" "net/if_types.h" "ac_cv_header_net_if_types_h" "#include <sys/types.h>
8583 #include <sys/socket.h>
8584 #ifdef HAVE_SYS_SOCKETVAR_H
8585 # include <sys/socketvar.h>
8586 #endif
8587 #ifdef HAVE_NET_ROUTE_H
8588 # include <net/route.h>
8589 #endif
8590 #ifdef HAVE_NETINET_IN_H
8591 # include <netinet/in.h>
8592 #endif
8593 #ifdef HAVE_NETINET_IN_SYSTM_H
8594 # include <netinet/in_systm.h>
8595 #endif
8596 #ifdef HAVE_NET_IF_H
8597 # include <net/if.h>
8598 #endif
8599 #ifdef HAVE_NETINET_IP_H
8600 # include <netinet/ip.h>
8601 #endif
8603 if test "x$ac_cv_header_net_if_types_h" = xyes
8604 then :
8605 printf "%s\n" "#define HAVE_NET_IF_TYPES_H 1" >>confdefs.h
8608 ac_fn_c_check_header_compile "$LINENO" "net/route.h" "ac_cv_header_net_route_h" "#include <sys/types.h>
8609 #include <sys/socket.h>
8610 #ifdef HAVE_SYS_SOCKETVAR_H
8611 # include <sys/socketvar.h>
8612 #endif
8613 #ifdef HAVE_NET_ROUTE_H
8614 # include <net/route.h>
8615 #endif
8616 #ifdef HAVE_NETINET_IN_H
8617 # include <netinet/in.h>
8618 #endif
8619 #ifdef HAVE_NETINET_IN_SYSTM_H
8620 # include <netinet/in_systm.h>
8621 #endif
8622 #ifdef HAVE_NET_IF_H
8623 # include <net/if.h>
8624 #endif
8625 #ifdef HAVE_NETINET_IP_H
8626 # include <netinet/ip.h>
8627 #endif
8629 if test "x$ac_cv_header_net_route_h" = xyes
8630 then :
8631 printf "%s\n" "#define HAVE_NET_ROUTE_H 1" >>confdefs.h
8634 ac_fn_c_check_header_compile "$LINENO" "netinet/if_ether.h" "ac_cv_header_netinet_if_ether_h" "#include <sys/types.h>
8635 #include <sys/socket.h>
8636 #ifdef HAVE_SYS_SOCKETVAR_H
8637 # include <sys/socketvar.h>
8638 #endif
8639 #ifdef HAVE_NET_ROUTE_H
8640 # include <net/route.h>
8641 #endif
8642 #ifdef HAVE_NETINET_IN_H
8643 # include <netinet/in.h>
8644 #endif
8645 #ifdef HAVE_NETINET_IN_SYSTM_H
8646 # include <netinet/in_systm.h>
8647 #endif
8648 #ifdef HAVE_NET_IF_H
8649 # include <net/if.h>
8650 #endif
8651 #ifdef HAVE_NETINET_IP_H
8652 # include <netinet/ip.h>
8653 #endif
8655 if test "x$ac_cv_header_netinet_if_ether_h" = xyes
8656 then :
8657 printf "%s\n" "#define HAVE_NETINET_IF_ETHER_H 1" >>confdefs.h
8660 ac_fn_c_check_header_compile "$LINENO" "netinet/in_pcb.h" "ac_cv_header_netinet_in_pcb_h" "#include <sys/types.h>
8661 #include <sys/socket.h>
8662 #ifdef HAVE_SYS_SOCKETVAR_H
8663 # include <sys/socketvar.h>
8664 #endif
8665 #ifdef HAVE_NET_ROUTE_H
8666 # include <net/route.h>
8667 #endif
8668 #ifdef HAVE_NETINET_IN_H
8669 # include <netinet/in.h>
8670 #endif
8671 #ifdef HAVE_NETINET_IN_SYSTM_H
8672 # include <netinet/in_systm.h>
8673 #endif
8674 #ifdef HAVE_NET_IF_H
8675 # include <net/if.h>
8676 #endif
8677 #ifdef HAVE_NETINET_IP_H
8678 # include <netinet/ip.h>
8679 #endif
8681 if test "x$ac_cv_header_netinet_in_pcb_h" = xyes
8682 then :
8683 printf "%s\n" "#define HAVE_NETINET_IN_PCB_H 1" >>confdefs.h
8686 ac_fn_c_check_header_compile "$LINENO" "netinet/ip_icmp.h" "ac_cv_header_netinet_ip_icmp_h" "#include <sys/types.h>
8687 #include <sys/socket.h>
8688 #ifdef HAVE_SYS_SOCKETVAR_H
8689 # include <sys/socketvar.h>
8690 #endif
8691 #ifdef HAVE_NET_ROUTE_H
8692 # include <net/route.h>
8693 #endif
8694 #ifdef HAVE_NETINET_IN_H
8695 # include <netinet/in.h>
8696 #endif
8697 #ifdef HAVE_NETINET_IN_SYSTM_H
8698 # include <netinet/in_systm.h>
8699 #endif
8700 #ifdef HAVE_NET_IF_H
8701 # include <net/if.h>
8702 #endif
8703 #ifdef HAVE_NETINET_IP_H
8704 # include <netinet/ip.h>
8705 #endif
8707 if test "x$ac_cv_header_netinet_ip_icmp_h" = xyes
8708 then :
8709 printf "%s\n" "#define HAVE_NETINET_IP_ICMP_H 1" >>confdefs.h
8712 ac_fn_c_check_header_compile "$LINENO" "netinet/ip_var.h" "ac_cv_header_netinet_ip_var_h" "#include <sys/types.h>
8713 #include <sys/socket.h>
8714 #ifdef HAVE_SYS_SOCKETVAR_H
8715 # include <sys/socketvar.h>
8716 #endif
8717 #ifdef HAVE_NET_ROUTE_H
8718 # include <net/route.h>
8719 #endif
8720 #ifdef HAVE_NETINET_IN_H
8721 # include <netinet/in.h>
8722 #endif
8723 #ifdef HAVE_NETINET_IN_SYSTM_H
8724 # include <netinet/in_systm.h>
8725 #endif
8726 #ifdef HAVE_NET_IF_H
8727 # include <net/if.h>
8728 #endif
8729 #ifdef HAVE_NETINET_IP_H
8730 # include <netinet/ip.h>
8731 #endif
8733 if test "x$ac_cv_header_netinet_ip_var_h" = xyes
8734 then :
8735 printf "%s\n" "#define HAVE_NETINET_IP_VAR_H 1" >>confdefs.h
8738 ac_fn_c_check_header_compile "$LINENO" "netinet/udp.h" "ac_cv_header_netinet_udp_h" "#include <sys/types.h>
8739 #include <sys/socket.h>
8740 #ifdef HAVE_SYS_SOCKETVAR_H
8741 # include <sys/socketvar.h>
8742 #endif
8743 #ifdef HAVE_NET_ROUTE_H
8744 # include <net/route.h>
8745 #endif
8746 #ifdef HAVE_NETINET_IN_H
8747 # include <netinet/in.h>
8748 #endif
8749 #ifdef HAVE_NETINET_IN_SYSTM_H
8750 # include <netinet/in_systm.h>
8751 #endif
8752 #ifdef HAVE_NET_IF_H
8753 # include <net/if.h>
8754 #endif
8755 #ifdef HAVE_NETINET_IP_H
8756 # include <netinet/ip.h>
8757 #endif
8759 if test "x$ac_cv_header_netinet_udp_h" = xyes
8760 then :
8761 printf "%s\n" "#define HAVE_NETINET_UDP_H 1" >>confdefs.h
8764 ac_fn_c_check_header_compile "$LINENO" "netinet6/ip6_var.h" "ac_cv_header_netinet6_ip6_var_h" "#include <sys/types.h>
8765 #include <sys/socket.h>
8766 #ifdef HAVE_SYS_SOCKETVAR_H
8767 # include <sys/socketvar.h>
8768 #endif
8769 #ifdef HAVE_NET_ROUTE_H
8770 # include <net/route.h>
8771 #endif
8772 #ifdef HAVE_NETINET_IN_H
8773 # include <netinet/in.h>
8774 #endif
8775 #ifdef HAVE_NETINET_IN_SYSTM_H
8776 # include <netinet/in_systm.h>
8777 #endif
8778 #ifdef HAVE_NET_IF_H
8779 # include <net/if.h>
8780 #endif
8781 #ifdef HAVE_NETINET_IP_H
8782 # include <netinet/ip.h>
8783 #endif
8785 if test "x$ac_cv_header_netinet6_ip6_var_h" = xyes
8786 then :
8787 printf "%s\n" "#define HAVE_NETINET6_IP6_VAR_H 1" >>confdefs.h
8790 ac_fn_c_check_header_compile "$LINENO" "netipx/ipx.h" "ac_cv_header_netipx_ipx_h" "#include <sys/types.h>
8791 #include <sys/socket.h>
8792 #ifdef HAVE_SYS_SOCKETVAR_H
8793 # include <sys/socketvar.h>
8794 #endif
8795 #ifdef HAVE_NET_ROUTE_H
8796 # include <net/route.h>
8797 #endif
8798 #ifdef HAVE_NETINET_IN_H
8799 # include <netinet/in.h>
8800 #endif
8801 #ifdef HAVE_NETINET_IN_SYSTM_H
8802 # include <netinet/in_systm.h>
8803 #endif
8804 #ifdef HAVE_NET_IF_H
8805 # include <net/if.h>
8806 #endif
8807 #ifdef HAVE_NETINET_IP_H
8808 # include <netinet/ip.h>
8809 #endif
8811 if test "x$ac_cv_header_netipx_ipx_h" = xyes
8812 then :
8813 printf "%s\n" "#define HAVE_NETIPX_IPX_H 1" >>confdefs.h
8816 ac_fn_c_check_header_compile "$LINENO" "sys/un.h" "ac_cv_header_sys_un_h" "#include <sys/types.h>
8817 #include <sys/socket.h>
8818 #ifdef HAVE_SYS_SOCKETVAR_H
8819 # include <sys/socketvar.h>
8820 #endif
8821 #ifdef HAVE_NET_ROUTE_H
8822 # include <net/route.h>
8823 #endif
8824 #ifdef HAVE_NETINET_IN_H
8825 # include <netinet/in.h>
8826 #endif
8827 #ifdef HAVE_NETINET_IN_SYSTM_H
8828 # include <netinet/in_systm.h>
8829 #endif
8830 #ifdef HAVE_NET_IF_H
8831 # include <net/if.h>
8832 #endif
8833 #ifdef HAVE_NETINET_IP_H
8834 # include <netinet/ip.h>
8835 #endif
8837 if test "x$ac_cv_header_sys_un_h" = xyes
8838 then :
8839 printf "%s\n" "#define HAVE_SYS_UN_H 1" >>confdefs.h
8844 ac_fn_c_check_header_compile "$LINENO" "netinet/udp_var.h" "ac_cv_header_netinet_udp_var_h" "#include <sys/types.h>
8845 #include <sys/socket.h>
8846 #ifdef HAVE_SYS_SOCKETVAR_H
8847 # include <sys/socketvar.h>
8848 #endif
8849 #ifdef HAVE_NETINET_IN_H
8850 # include <netinet/in.h>
8851 #endif
8852 #ifdef HAVE_NETINET_IN_SYSTM_H
8853 # include <netinet/in_systm.h>
8854 #endif
8855 #ifdef HAVE_NETINET_IP_H
8856 # include <netinet/ip.h>
8857 #endif
8858 #ifdef HAVE_NETINET_IP_VAR_H
8859 # include <netinet/ip_var.h>
8860 #endif
8861 #ifdef HAVE_NETINET_IP_ICMP_H
8862 # include <netinet/ip_icmp.h>
8863 #endif
8864 #ifdef HAVE_NETINET_UDP_H
8865 # include <netinet/udp.h>
8866 #endif
8867 #ifdef HAVE_NETINET_TCP_H
8868 # include <netinet/tcp.h>
8869 #endif
8871 if test "x$ac_cv_header_netinet_udp_var_h" = xyes
8872 then :
8873 printf "%s\n" "#define HAVE_NETINET_UDP_VAR_H 1" >>confdefs.h
8876 ac_fn_c_check_header_compile "$LINENO" "netinet/icmp_var.h" "ac_cv_header_netinet_icmp_var_h" "#include <sys/types.h>
8877 #include <sys/socket.h>
8878 #ifdef HAVE_SYS_SOCKETVAR_H
8879 # include <sys/socketvar.h>
8880 #endif
8881 #ifdef HAVE_NETINET_IN_H
8882 # include <netinet/in.h>
8883 #endif
8884 #ifdef HAVE_NETINET_IN_SYSTM_H
8885 # include <netinet/in_systm.h>
8886 #endif
8887 #ifdef HAVE_NETINET_IP_H
8888 # include <netinet/ip.h>
8889 #endif
8890 #ifdef HAVE_NETINET_IP_VAR_H
8891 # include <netinet/ip_var.h>
8892 #endif
8893 #ifdef HAVE_NETINET_IP_ICMP_H
8894 # include <netinet/ip_icmp.h>
8895 #endif
8896 #ifdef HAVE_NETINET_UDP_H
8897 # include <netinet/udp.h>
8898 #endif
8899 #ifdef HAVE_NETINET_TCP_H
8900 # include <netinet/tcp.h>
8901 #endif
8903 if test "x$ac_cv_header_netinet_icmp_var_h" = xyes
8904 then :
8905 printf "%s\n" "#define HAVE_NETINET_ICMP_VAR_H 1" >>confdefs.h
8908 ac_fn_c_check_header_compile "$LINENO" "netinet/icmp6.h" "ac_cv_header_netinet_icmp6_h" "#include <sys/types.h>
8909 #include <sys/socket.h>
8910 #ifdef HAVE_SYS_SOCKETVAR_H
8911 # include <sys/socketvar.h>
8912 #endif
8913 #ifdef HAVE_NETINET_IN_H
8914 # include <netinet/in.h>
8915 #endif
8916 #ifdef HAVE_NETINET_IN_SYSTM_H
8917 # include <netinet/in_systm.h>
8918 #endif
8919 #ifdef HAVE_NETINET_IP_H
8920 # include <netinet/ip.h>
8921 #endif
8922 #ifdef HAVE_NETINET_IP_VAR_H
8923 # include <netinet/ip_var.h>
8924 #endif
8925 #ifdef HAVE_NETINET_IP_ICMP_H
8926 # include <netinet/ip_icmp.h>
8927 #endif
8928 #ifdef HAVE_NETINET_UDP_H
8929 # include <netinet/udp.h>
8930 #endif
8931 #ifdef HAVE_NETINET_TCP_H
8932 # include <netinet/tcp.h>
8933 #endif
8935 if test "x$ac_cv_header_netinet_icmp6_h" = xyes
8936 then :
8937 printf "%s\n" "#define HAVE_NETINET_ICMP6_H 1" >>confdefs.h
8940 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp_var.h" "ac_cv_header_netinet_tcp_var_h" "#include <sys/types.h>
8941 #include <sys/socket.h>
8942 #ifdef HAVE_SYS_SOCKETVAR_H
8943 # include <sys/socketvar.h>
8944 #endif
8945 #ifdef HAVE_NETINET_IN_H
8946 # include <netinet/in.h>
8947 #endif
8948 #ifdef HAVE_NETINET_IN_SYSTM_H
8949 # include <netinet/in_systm.h>
8950 #endif
8951 #ifdef HAVE_NETINET_IP_H
8952 # include <netinet/ip.h>
8953 #endif
8954 #ifdef HAVE_NETINET_IP_VAR_H
8955 # include <netinet/ip_var.h>
8956 #endif
8957 #ifdef HAVE_NETINET_IP_ICMP_H
8958 # include <netinet/ip_icmp.h>
8959 #endif
8960 #ifdef HAVE_NETINET_UDP_H
8961 # include <netinet/udp.h>
8962 #endif
8963 #ifdef HAVE_NETINET_TCP_H
8964 # include <netinet/tcp.h>
8965 #endif
8967 if test "x$ac_cv_header_netinet_tcp_var_h" = xyes
8968 then :
8969 printf "%s\n" "#define HAVE_NETINET_TCP_VAR_H 1" >>confdefs.h
8974 ac_fn_c_check_header_compile "$LINENO" "linux/ipx.h" "ac_cv_header_linux_ipx_h" "#include <sys/types.h>
8975 #include <sys/socket.h>
8976 #ifdef HAVE_ASM_TYPES_H
8977 # include <asm/types.h>
8978 #endif
8979 #ifdef HAVE_LINUX_TYPES_H
8980 # include <linux/types.h>
8981 #endif
8983 if test "x$ac_cv_header_linux_ipx_h" = xyes
8984 then :
8985 printf "%s\n" "#define HAVE_LINUX_IPX_H 1" >>confdefs.h
8988 ac_fn_c_check_header_compile "$LINENO" "linux/irda.h" "ac_cv_header_linux_irda_h" "#include <sys/types.h>
8989 #include <sys/socket.h>
8990 #ifdef HAVE_ASM_TYPES_H
8991 # include <asm/types.h>
8992 #endif
8993 #ifdef HAVE_LINUX_TYPES_H
8994 # include <linux/types.h>
8995 #endif
8997 if test "x$ac_cv_header_linux_irda_h" = xyes
8998 then :
8999 printf "%s\n" "#define HAVE_LINUX_IRDA_H 1" >>confdefs.h
9002 ac_fn_c_check_header_compile "$LINENO" "linux/rtnetlink.h" "ac_cv_header_linux_rtnetlink_h" "#include <sys/types.h>
9003 #include <sys/socket.h>
9004 #ifdef HAVE_ASM_TYPES_H
9005 # include <asm/types.h>
9006 #endif
9007 #ifdef HAVE_LINUX_TYPES_H
9008 # include <linux/types.h>
9009 #endif
9011 if test "x$ac_cv_header_linux_rtnetlink_h" = xyes
9012 then :
9013 printf "%s\n" "#define HAVE_LINUX_RTNETLINK_H 1" >>confdefs.h
9018 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
9019 #include <sys/socket.h>
9020 #ifdef HAVE_NETINET_IN_H
9021 # include <netinet/in.h>
9022 #endif
9023 #ifdef HAVE_ARPA_NAMESER_H
9024 # include <arpa/nameser.h>
9025 #endif
9027 if test "x$ac_cv_header_resolv_h" = xyes
9028 then :
9029 printf "%s\n" "#define HAVE_RESOLV_H 1" >>confdefs.h
9034 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
9036 if test "x$ac_cv_header_ifaddrs_h" = xyes
9037 then :
9038 printf "%s\n" "#define HAVE_IFADDRS_H 1" >>confdefs.h
9043 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
9045 if test "x$ac_cv_header_sys_ucontext_h" = xyes
9046 then :
9047 printf "%s\n" "#define HAVE_SYS_UCONTEXT_H 1" >>confdefs.h
9052 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
9053 #ifdef HAVE_SYS_UCONTEXT_H
9054 #include <sys/ucontext.h>
9055 #endif
9057 if test "x$ac_cv_header_sys_thr_h" = xyes
9058 then :
9059 printf "%s\n" "#define HAVE_SYS_THR_H 1" >>confdefs.h
9064 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#include <pthread.h>
9066 if test "x$ac_cv_header_pthread_np_h" = xyes
9067 then :
9068 printf "%s\n" "#define HAVE_PTHREAD_NP_H 1" >>confdefs.h
9073 ac_fn_c_check_header_compile "$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "#include <sys/time.h>
9074 #include <sys/types.h>
9075 #ifdef HAVE_ASM_TYPES_H
9076 #include <asm/types.h>
9077 #endif
9079 if test "x$ac_cv_header_linux_videodev2_h" = xyes
9080 then :
9081 printf "%s\n" "#define HAVE_LINUX_VIDEODEV2_H 1" >>confdefs.h
9086 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
9087 #include <sys/param.h>
9088 #endif
9089 #include <sys/socket.h>
9090 #ifdef HAVE_SYS_QUEUE_H
9091 #include <sys/queue.h>
9092 #endif
9094 if test "x$ac_cv_header_libprocstat_h" = xyes
9095 then :
9096 printf "%s\n" "#define HAVE_LIBPROCSTAT_H 1" >>confdefs.h
9101 if test "x$ac_cv_header_sys_xattr_h" = xyes
9102 then
9103 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether getxattr takes additional arguments" >&5
9104 printf %s "checking whether getxattr takes additional arguments... " >&6; }
9105 if test ${wine_cv_xattr_extra_args+y}
9106 then :
9107 printf %s "(cached) " >&6
9108 else $as_nop
9109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9110 /* end confdefs.h. */
9111 #include <sys/xattr.h>
9113 main (void)
9115 getxattr("", "", "", 0, 0, 0);
9117 return 0;
9119 _ACEOF
9120 if ac_fn_c_try_compile "$LINENO"
9121 then :
9122 wine_cv_xattr_extra_args=yes
9123 else $as_nop
9124 wine_cv_xattr_extra_args=no
9126 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9128 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_xattr_extra_args" >&5
9129 printf "%s\n" "$wine_cv_xattr_extra_args" >&6; }
9130 test $wine_cv_xattr_extra_args != yes ||
9131 printf "%s\n" "#define XATTR_ADDITIONAL_OPTIONS 1" >>confdefs.h
9136 DLLFLAGS=""
9138 LDDLLFLAGS=""
9140 LDEXECFLAGS=""
9142 EXTRACFLAGS=""
9144 UNIXDLLFLAGS="-fPIC"
9146 UNIXLDFLAGS="-shared -Wl,-Bsymbolic -Wl,-soname,\$(UNIXLIB)"
9148 TOP_INSTALL_LIB=""
9150 TOP_INSTALL_DEV=""
9152 WINELOADER_LDFLAGS=""
9154 WINEPRELOADER_LDFLAGS=""
9156 DLLEXT=".so"
9158 LIBEXT="so"
9159 # Extract the first word of "ldd", so it can be a program name with args.
9160 set dummy ldd; ac_word=$2
9161 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9162 printf %s "checking for $ac_word... " >&6; }
9163 if test ${ac_cv_path_LDD+y}
9164 then :
9165 printf %s "(cached) " >&6
9166 else $as_nop
9167 case $LDD in
9168 [\\/]* | ?:[\\/]*)
9169 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
9172 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9173 as_dummy="/sbin:/usr/sbin:$PATH"
9174 for as_dir in $as_dummy
9176 IFS=$as_save_IFS
9177 case $as_dir in #(((
9178 '') as_dir=./ ;;
9179 */) ;;
9180 *) as_dir=$as_dir/ ;;
9181 esac
9182 for ac_exec_ext in '' $ac_executable_extensions; do
9183 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9184 ac_cv_path_LDD="$as_dir$ac_word$ac_exec_ext"
9185 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9186 break 2
9188 done
9189 done
9190 IFS=$as_save_IFS
9192 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
9194 esac
9196 LDD=$ac_cv_path_LDD
9197 if test -n "$LDD"; then
9198 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
9199 printf "%s\n" "$LDD" >&6; }
9200 else
9201 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9202 printf "%s\n" "no" >&6; }
9206 if test -n "$ac_tool_prefix"; then
9207 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
9208 set dummy ${ac_tool_prefix}otool; ac_word=$2
9209 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9210 printf %s "checking for $ac_word... " >&6; }
9211 if test ${ac_cv_prog_OTOOL+y}
9212 then :
9213 printf %s "(cached) " >&6
9214 else $as_nop
9215 if test -n "$OTOOL"; then
9216 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
9217 else
9218 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9219 for as_dir in $PATH
9221 IFS=$as_save_IFS
9222 case $as_dir in #(((
9223 '') as_dir=./ ;;
9224 */) ;;
9225 *) as_dir=$as_dir/ ;;
9226 esac
9227 for ac_exec_ext in '' $ac_executable_extensions; do
9228 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9229 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
9230 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9231 break 2
9233 done
9234 done
9235 IFS=$as_save_IFS
9239 OTOOL=$ac_cv_prog_OTOOL
9240 if test -n "$OTOOL"; then
9241 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
9242 printf "%s\n" "$OTOOL" >&6; }
9243 else
9244 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9245 printf "%s\n" "no" >&6; }
9250 if test -z "$ac_cv_prog_OTOOL"; then
9251 ac_ct_OTOOL=$OTOOL
9252 # Extract the first word of "otool", so it can be a program name with args.
9253 set dummy otool; ac_word=$2
9254 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9255 printf %s "checking for $ac_word... " >&6; }
9256 if test ${ac_cv_prog_ac_ct_OTOOL+y}
9257 then :
9258 printf %s "(cached) " >&6
9259 else $as_nop
9260 if test -n "$ac_ct_OTOOL"; then
9261 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
9262 else
9263 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9264 for as_dir in $PATH
9266 IFS=$as_save_IFS
9267 case $as_dir in #(((
9268 '') as_dir=./ ;;
9269 */) ;;
9270 *) as_dir=$as_dir/ ;;
9271 esac
9272 for ac_exec_ext in '' $ac_executable_extensions; do
9273 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9274 ac_cv_prog_ac_ct_OTOOL="otool"
9275 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9276 break 2
9278 done
9279 done
9280 IFS=$as_save_IFS
9284 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
9285 if test -n "$ac_ct_OTOOL"; then
9286 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
9287 printf "%s\n" "$ac_ct_OTOOL" >&6; }
9288 else
9289 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9290 printf "%s\n" "no" >&6; }
9293 if test "x$ac_ct_OTOOL" = x; then
9294 OTOOL="otool"
9295 else
9296 case $cross_compiling:$ac_tool_warned in
9297 yes:)
9298 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9299 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9300 ac_tool_warned=yes ;;
9301 esac
9302 OTOOL=$ac_ct_OTOOL
9304 else
9305 OTOOL="$ac_cv_prog_OTOOL"
9308 if test -n "$ac_tool_prefix"; then
9309 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
9310 set dummy ${ac_tool_prefix}readelf; ac_word=$2
9311 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9312 printf %s "checking for $ac_word... " >&6; }
9313 if test ${ac_cv_prog_READELF+y}
9314 then :
9315 printf %s "(cached) " >&6
9316 else $as_nop
9317 if test -n "$READELF"; then
9318 ac_cv_prog_READELF="$READELF" # Let the user override the test.
9319 else
9320 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9321 for as_dir in $PATH
9323 IFS=$as_save_IFS
9324 case $as_dir in #(((
9325 '') as_dir=./ ;;
9326 */) ;;
9327 *) as_dir=$as_dir/ ;;
9328 esac
9329 for ac_exec_ext in '' $ac_executable_extensions; do
9330 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9331 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
9332 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9333 break 2
9335 done
9336 done
9337 IFS=$as_save_IFS
9341 READELF=$ac_cv_prog_READELF
9342 if test -n "$READELF"; then
9343 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
9344 printf "%s\n" "$READELF" >&6; }
9345 else
9346 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9347 printf "%s\n" "no" >&6; }
9352 if test -z "$ac_cv_prog_READELF"; then
9353 ac_ct_READELF=$READELF
9354 # Extract the first word of "readelf", so it can be a program name with args.
9355 set dummy readelf; ac_word=$2
9356 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9357 printf %s "checking for $ac_word... " >&6; }
9358 if test ${ac_cv_prog_ac_ct_READELF+y}
9359 then :
9360 printf %s "(cached) " >&6
9361 else $as_nop
9362 if test -n "$ac_ct_READELF"; then
9363 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
9364 else
9365 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9366 for as_dir in $PATH
9368 IFS=$as_save_IFS
9369 case $as_dir in #(((
9370 '') as_dir=./ ;;
9371 */) ;;
9372 *) as_dir=$as_dir/ ;;
9373 esac
9374 for ac_exec_ext in '' $ac_executable_extensions; do
9375 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9376 ac_cv_prog_ac_ct_READELF="readelf"
9377 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9378 break 2
9380 done
9381 done
9382 IFS=$as_save_IFS
9386 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
9387 if test -n "$ac_ct_READELF"; then
9388 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
9389 printf "%s\n" "$ac_ct_READELF" >&6; }
9390 else
9391 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9392 printf "%s\n" "no" >&6; }
9395 if test "x$ac_ct_READELF" = x; then
9396 READELF="true"
9397 else
9398 case $cross_compiling:$ac_tool_warned in
9399 yes:)
9400 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9401 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9402 ac_tool_warned=yes ;;
9403 esac
9404 READELF=$ac_ct_READELF
9406 else
9407 READELF="$ac_cv_prog_READELF"
9410 wine_rules="all:"
9411 SUBDIRS=""
9413 DISABLED_SUBDIRS=""
9415 CONFIGURE_TARGETS=""
9418 wine_fn_config_makefile ()
9420 as_fn_append SUBDIRS " \\$as_nl $1"
9421 eval enable=\$$2
9422 case "$enable" in
9423 no) as_fn_append DISABLED_SUBDIRS " $1" ;;
9424 *aarch64*|*arm*|*i386*|*x86_64*)
9425 if test -n "$PE_ARCHS"
9426 then
9427 for i in $PE_ARCHS
9429 test $(expr ",$enable," : ".*,$i,") -gt 0 || as_fn_append ${i}_DISABLED_SUBDIRS " $1"
9430 done
9431 else
9432 test $(expr ",$enable," : ".*,$HOST_ARCH,") -gt 0 || as_fn_append DISABLED_SUBDIRS " $1"
9433 fi;;
9434 esac
9437 wine_fn_config_symlink ()
9439 ac_links=$@
9440 as_fn_append wine_rules "
9441 $ac_links:
9442 @./config.status \$@"
9443 for f in $ac_links; do as_fn_append CONFIGURE_TARGETS " $f"; done
9446 case $host_os in
9447 cygwin*|mingw32*)
9448 LIBEXT="dll"
9449 DLLEXT=""
9450 EXTRACFLAGS="-D__WINE_PE_BUILD"
9451 if test "x$HOST_ARCH" = xi386
9452 then :
9453 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--disable-stdcall-fixup" >&5
9454 printf %s "checking whether the compiler supports -Wl,--disable-stdcall-fixup... " >&6; }
9455 if test ${ac_cv_cflags__Wl___disable_stdcall_fixup+y}
9456 then :
9457 printf %s "(cached) " >&6
9458 else $as_nop
9459 ac_wine_try_cflags_saved=$CFLAGS
9460 CFLAGS="$CFLAGS -Wl,--disable-stdcall-fixup"
9461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9462 /* end confdefs.h. */
9463 int main(int argc, char **argv) { return 0; }
9464 _ACEOF
9465 if ac_fn_c_try_link "$LINENO"
9466 then :
9467 ac_cv_cflags__Wl___disable_stdcall_fixup=yes
9468 else $as_nop
9469 ac_cv_cflags__Wl___disable_stdcall_fixup=no
9471 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9472 conftest$ac_exeext conftest.$ac_ext
9473 CFLAGS=$ac_wine_try_cflags_saved
9475 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___disable_stdcall_fixup" >&5
9476 printf "%s\n" "$ac_cv_cflags__Wl___disable_stdcall_fixup" >&6; }
9477 if test "x$ac_cv_cflags__Wl___disable_stdcall_fixup" = xyes
9478 then :
9479 LDDLLFLAGS="-Wl,--disable-stdcall-fixup"
9482 enable_loader=${enable_loader:-no}
9483 enable_server=${enable_server:-no}
9484 with_x=${with_x:-no}
9485 with_pthread=${with_pthread:-no}
9488 darwin*|macosx*)
9489 LIBEXT="dylib"
9490 DLLFLAGS="$DLLFLAGS -fPIC"
9491 LDDLLFLAGS="-fPIC"
9492 enable_winemac_drv=${enable_winemac_drv:-yes}
9493 CARBON_LIBS="-framework Carbon"
9495 COREFOUNDATION_LIBS="-framework CoreFoundation"
9497 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
9499 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
9501 METAL_LIBS="-framework Metal"
9503 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
9505 CORESERVICES_LIBS="-framework CoreServices"
9507 APPKIT_LIBS="-framework AppKit"
9509 SECURITY_LIBS="-framework Security -framework CoreFoundation"
9511 SYSTEMCONFIGURATION_LIBS="-framework SystemConfiguration"
9514 WINELOADER_LDFLAGS="-Wl,-pie,-segalign,0x1000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist"
9516 case $HOST_ARCH in
9517 i386|x86_64) wine_can_build_preloader=yes ;;
9518 *) wine_can_build_preloader=no ;;
9519 esac
9521 if test "$wine_can_build_preloader" = "yes"
9522 then
9523 WINEPRELOADER_LDFLAGS="-nostartfiles -nodefaultlibs -e _start -ldylib1.o -mmacosx-version-min=10.7 -Wl,-no_new_main,-segalign,0x1000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist"
9524 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
9525 printf %s "checking whether the compiler supports -Wl,-no_pie... " >&6; }
9526 if test ${ac_cv_cflags__Wl__no_pie+y}
9527 then :
9528 printf %s "(cached) " >&6
9529 else $as_nop
9530 ac_wine_try_cflags_saved=$CFLAGS
9531 CFLAGS="$CFLAGS -Wl,-no_pie"
9532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9533 /* end confdefs.h. */
9534 int main(int argc, char **argv) { return 0; }
9535 _ACEOF
9536 if ac_fn_c_try_link "$LINENO"
9537 then :
9538 ac_cv_cflags__Wl__no_pie=yes
9539 else $as_nop
9540 ac_cv_cflags__Wl__no_pie=no
9542 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9543 conftest$ac_exeext conftest.$ac_ext
9544 CFLAGS=$ac_wine_try_cflags_saved
9546 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
9547 printf "%s\n" "$ac_cv_cflags__Wl__no_pie" >&6; }
9548 if test "x$ac_cv_cflags__Wl__no_pie" = xyes
9549 then :
9550 WINEPRELOADER_LDFLAGS="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
9552 case $HOST_ARCH in
9553 i386)
9554 WINEPRELOADER_LDFLAGS="-Wl,-image_base,0x7d400000 $WINEPRELOADER_LDFLAGS"
9556 x86_64)
9557 WINEPRELOADER_LDFLAGS="-Wl,-image_base,0x200000000,-segalign,0x1000,-segaddr,WINE_RESERVE,0x1000 $WINEPRELOADER_LDFLAGS"
9559 esac
9560 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -mmacosx-version-min=10.7"
9561 else
9562 as_fn_append wine_warnings "|can't build Wine preloader; many programs won't work"
9565 if test "x$with_coreaudio" != "xno";
9566 then
9567 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
9569 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
9571 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
9572 then
9573 OPENCL_LIBS="-framework OpenCL"
9575 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
9578 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether MTLDevice protocol supports registryID property" >&5
9579 printf %s "checking whether MTLDevice protocol supports registryID property... " >&6; }
9580 ac_ext=m
9581 ac_cpp='$OBJCPP $CPPFLAGS'
9582 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9583 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9584 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9586 ac_ext=m
9587 ac_cpp='$OBJCPP $CPPFLAGS'
9588 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9589 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9590 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9591 if test -n "$ac_tool_prefix"; then
9592 for ac_prog in gcc objcc objc cc CC clang
9594 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
9595 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
9596 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9597 printf %s "checking for $ac_word... " >&6; }
9598 if test ${ac_cv_prog_OBJC+y}
9599 then :
9600 printf %s "(cached) " >&6
9601 else $as_nop
9602 if test -n "$OBJC"; then
9603 ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
9604 else
9605 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9606 for as_dir in $PATH
9608 IFS=$as_save_IFS
9609 case $as_dir in #(((
9610 '') as_dir=./ ;;
9611 */) ;;
9612 *) as_dir=$as_dir/ ;;
9613 esac
9614 for ac_exec_ext in '' $ac_executable_extensions; do
9615 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9616 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
9617 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9618 break 2
9620 done
9621 done
9622 IFS=$as_save_IFS
9626 OBJC=$ac_cv_prog_OBJC
9627 if test -n "$OBJC"; then
9628 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
9629 printf "%s\n" "$OBJC" >&6; }
9630 else
9631 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9632 printf "%s\n" "no" >&6; }
9636 test -n "$OBJC" && break
9637 done
9639 if test -z "$OBJC"; then
9640 ac_ct_OBJC=$OBJC
9641 for ac_prog in gcc objcc objc cc CC clang
9643 # Extract the first word of "$ac_prog", so it can be a program name with args.
9644 set dummy $ac_prog; ac_word=$2
9645 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9646 printf %s "checking for $ac_word... " >&6; }
9647 if test ${ac_cv_prog_ac_ct_OBJC+y}
9648 then :
9649 printf %s "(cached) " >&6
9650 else $as_nop
9651 if test -n "$ac_ct_OBJC"; then
9652 ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
9653 else
9654 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9655 for as_dir in $PATH
9657 IFS=$as_save_IFS
9658 case $as_dir in #(((
9659 '') as_dir=./ ;;
9660 */) ;;
9661 *) as_dir=$as_dir/ ;;
9662 esac
9663 for ac_exec_ext in '' $ac_executable_extensions; do
9664 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9665 ac_cv_prog_ac_ct_OBJC="$ac_prog"
9666 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9667 break 2
9669 done
9670 done
9671 IFS=$as_save_IFS
9675 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
9676 if test -n "$ac_ct_OBJC"; then
9677 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
9678 printf "%s\n" "$ac_ct_OBJC" >&6; }
9679 else
9680 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9681 printf "%s\n" "no" >&6; }
9685 test -n "$ac_ct_OBJC" && break
9686 done
9688 if test "x$ac_ct_OBJC" = x; then
9689 OBJC="gcc"
9690 else
9691 case $cross_compiling:$ac_tool_warned in
9692 yes:)
9693 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9694 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9695 ac_tool_warned=yes ;;
9696 esac
9697 OBJC=$ac_ct_OBJC
9701 # Provide some information about the compiler.
9702 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
9703 set X $ac_compile
9704 ac_compiler=$2
9705 for ac_option in --version -v -V -qversion; do
9706 { { ac_try="$ac_compiler $ac_option >&5"
9707 case "(($ac_try" in
9708 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9709 *) ac_try_echo=$ac_try;;
9710 esac
9711 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
9712 printf "%s\n" "$ac_try_echo"; } >&5
9713 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
9714 ac_status=$?
9715 if test -s conftest.err; then
9716 sed '10a\
9717 ... rest of stderr output deleted ...
9718 10q' conftest.err >conftest.er1
9719 cat conftest.er1 >&5
9721 rm -f conftest.er1 conftest.err
9722 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9723 test $ac_status = 0; }
9724 done
9726 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU Objective C" >&5
9727 printf %s "checking whether the compiler supports GNU Objective C... " >&6; }
9728 if test ${ac_cv_objc_compiler_gnu+y}
9729 then :
9730 printf %s "(cached) " >&6
9731 else $as_nop
9732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9733 /* end confdefs.h. */
9736 main (void)
9738 #ifndef __GNUC__
9739 choke me
9740 #endif
9743 return 0;
9745 _ACEOF
9746 if ac_fn_objc_try_compile "$LINENO"
9747 then :
9748 ac_compiler_gnu=yes
9749 else $as_nop
9750 ac_compiler_gnu=no
9752 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9753 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
9756 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
9757 printf "%s\n" "$ac_cv_objc_compiler_gnu" >&6; }
9758 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9760 if test $ac_compiler_gnu = yes; then
9761 GOBJC=yes
9762 else
9763 GOBJC=
9765 ac_test_OBJCFLAGS=${OBJCFLAGS+y}
9766 ac_save_OBJCFLAGS=$OBJCFLAGS
9767 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
9768 printf %s "checking whether $OBJC accepts -g... " >&6; }
9769 if test ${ac_cv_prog_objc_g+y}
9770 then :
9771 printf %s "(cached) " >&6
9772 else $as_nop
9773 ac_save_objc_werror_flag=$ac_objc_werror_flag
9774 ac_objc_werror_flag=yes
9775 ac_cv_prog_objc_g=no
9776 OBJCFLAGS="-g"
9777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9778 /* end confdefs.h. */
9781 main (void)
9785 return 0;
9787 _ACEOF
9788 if ac_fn_objc_try_compile "$LINENO"
9789 then :
9790 ac_cv_prog_objc_g=yes
9791 else $as_nop
9792 OBJCFLAGS=""
9793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9794 /* end confdefs.h. */
9797 main (void)
9801 return 0;
9803 _ACEOF
9804 if ac_fn_objc_try_compile "$LINENO"
9805 then :
9807 else $as_nop
9808 ac_objc_werror_flag=$ac_save_objc_werror_flag
9809 OBJCFLAGS="-g"
9810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9811 /* end confdefs.h. */
9814 main (void)
9818 return 0;
9820 _ACEOF
9821 if ac_fn_objc_try_compile "$LINENO"
9822 then :
9823 ac_cv_prog_objc_g=yes
9825 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9827 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9829 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9830 ac_objc_werror_flag=$ac_save_objc_werror_flag
9832 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
9833 printf "%s\n" "$ac_cv_prog_objc_g" >&6; }
9834 if test $ac_test_OBJCFLAGS; then
9835 OBJCFLAGS=$ac_save_OBJCFLAGS
9836 elif test $ac_cv_prog_objc_g = yes; then
9837 if test "$GOBJC" = yes; then
9838 OBJCFLAGS="-g -O2"
9839 else
9840 OBJCFLAGS="-g"
9842 else
9843 if test "$GOBJC" = yes; then
9844 OBJCFLAGS="-O2"
9845 else
9846 OBJCFLAGS=
9849 ac_ext=m
9850 ac_cpp='$OBJCPP $CPPFLAGS'
9851 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9852 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9853 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9857 /* end confdefs.h. */
9858 #include <Metal/Metal.h>
9860 main (void)
9862 id<MTLDevice> device; device.registryID;
9864 return 0;
9866 _ACEOF
9867 if ac_fn_objc_try_compile "$LINENO"
9868 then :
9869 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9870 printf "%s\n" "yes" >&6; }
9872 printf "%s\n" "#define HAVE_MTLDEVICE_REGISTRYID 1" >>confdefs.h
9874 else $as_nop
9875 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9876 printf "%s\n" "no" >&6; }
9878 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9879 ac_ext=c
9880 ac_cpp='$CPP $CPPFLAGS'
9881 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9882 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9883 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9886 UNIXLDFLAGS="-dynamiclib -install_name @rpath/\$(UNIXLIB) -Wl,-rpath,@loader_path\/"
9887 WINELOADER_DEPENDS="wine_info.plist"
9891 linux-android*)
9893 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
9895 DLLFLAGS="$DLLFLAGS -fPIC"
9896 LDDLLFLAGS="-fPIC"
9897 LDEXECFLAGS="-Wl,-pie"
9898 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
9899 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
9900 printf %s "checking whether the compiler supports -Wl,-z,defs... " >&6; }
9901 if test ${ac_cv_cflags__Wl__z_defs+y}
9902 then :
9903 printf %s "(cached) " >&6
9904 else $as_nop
9905 ac_wine_try_cflags_saved=$CFLAGS
9906 CFLAGS="$CFLAGS -Wl,-z,defs"
9907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9908 /* end confdefs.h. */
9909 int main(int argc, char **argv) { return 0; }
9910 _ACEOF
9911 if ac_fn_c_try_link "$LINENO"
9912 then :
9913 ac_cv_cflags__Wl__z_defs=yes
9914 else $as_nop
9915 ac_cv_cflags__Wl__z_defs=no
9917 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9918 conftest$ac_exeext conftest.$ac_ext
9919 CFLAGS=$ac_wine_try_cflags_saved
9921 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
9922 printf "%s\n" "$ac_cv_cflags__Wl__z_defs" >&6; }
9923 if test "x$ac_cv_cflags__Wl__z_defs" = xyes
9924 then :
9925 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
9927 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
9928 printf %s "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
9929 if test ${ac_cv_cflags__fPIC__Wl___export_dynamic+y}
9930 then :
9931 printf %s "(cached) " >&6
9932 else $as_nop
9933 ac_wine_try_cflags_saved=$CFLAGS
9934 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
9935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9936 /* end confdefs.h. */
9937 int main(int argc, char **argv) { return 0; }
9938 _ACEOF
9939 if ac_fn_c_try_link "$LINENO"
9940 then :
9941 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
9942 else $as_nop
9943 ac_cv_cflags__fPIC__Wl___export_dynamic=no
9945 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9946 conftest$ac_exeext conftest.$ac_ext
9947 CFLAGS=$ac_wine_try_cflags_saved
9949 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
9950 printf "%s\n" "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
9951 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
9952 then :
9953 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9955 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
9957 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
9958 printf %s "checking for -lEGL... " >&6; }
9959 if test ${ac_cv_lib_soname_EGL+y}
9960 then :
9961 printf %s "(cached) " >&6
9962 else $as_nop
9963 ac_check_soname_save_LIBS=$LIBS
9964 LIBS="-lEGL $LIBS"
9965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9966 /* end confdefs.h. */
9968 /* Override any GCC internal prototype to avoid an error.
9969 Use char because int might match the return type of a GCC
9970 builtin and then its argument prototype would still apply. */
9971 char eglGetProcAddress ();
9973 main (void)
9975 return eglGetProcAddress ();
9977 return 0;
9979 _ACEOF
9980 if ac_fn_c_try_link "$LINENO"
9981 then :
9982 case "$LIBEXT" in
9983 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9984 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'` ;;
9985 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9986 if ${ac_cv_lib_soname_EGL:+false} :
9987 then :
9988 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9989 fi ;;
9990 esac
9991 else $as_nop
9992 ac_cv_lib_soname_EGL=
9994 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9995 conftest$ac_exeext conftest.$ac_ext
9996 LIBS=$ac_check_soname_save_LIBS
9998 if ${ac_cv_lib_soname_EGL:+false} :
9999 then :
10000 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10001 printf "%s\n" "not found" >&6; }
10003 else $as_nop
10004 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
10005 printf "%s\n" "$ac_cv_lib_soname_EGL" >&6; }
10007 printf "%s\n" "#define SONAME_LIBEGL \"$ac_cv_lib_soname_EGL\"" >>confdefs.h
10011 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
10012 printf %s "checking for -lGLESv2... " >&6; }
10013 if test ${ac_cv_lib_soname_GLESv2+y}
10014 then :
10015 printf %s "(cached) " >&6
10016 else $as_nop
10017 ac_check_soname_save_LIBS=$LIBS
10018 LIBS="-lGLESv2 $LIBS"
10019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10020 /* end confdefs.h. */
10022 /* Override any GCC internal prototype to avoid an error.
10023 Use char because int might match the return type of a GCC
10024 builtin and then its argument prototype would still apply. */
10025 char glFlush ();
10027 main (void)
10029 return glFlush ();
10031 return 0;
10033 _ACEOF
10034 if ac_fn_c_try_link "$LINENO"
10035 then :
10036 case "$LIBEXT" in
10037 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10038 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'` ;;
10039 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10040 if ${ac_cv_lib_soname_GLESv2:+false} :
10041 then :
10042 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10043 fi ;;
10044 esac
10045 else $as_nop
10046 ac_cv_lib_soname_GLESv2=
10048 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10049 conftest$ac_exeext conftest.$ac_ext
10050 LIBS=$ac_check_soname_save_LIBS
10052 if ${ac_cv_lib_soname_GLESv2:+false} :
10053 then :
10054 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10055 printf "%s\n" "not found" >&6; }
10057 else $as_nop
10058 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
10059 printf "%s\n" "$ac_cv_lib_soname_GLESv2" >&6; }
10061 printf "%s\n" "#define SONAME_LIBGLESV2 \"$ac_cv_lib_soname_GLESv2\"" >>confdefs.h
10066 if test "x$exec_prefix" = xNONE
10067 then
10068 case $HOST_ARCH in
10069 i386) exec_prefix='${prefix}/x86' ;;
10070 x86_64) exec_prefix='${prefix}/x86_64' ;;
10071 arm) exec_prefix='${prefix}/armeabi-v7a' ;;
10072 aarch64) exec_prefix='${prefix}/arm64-v8a' ;;
10073 esac
10079 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
10081 test "$ac_cv_sys_file_offset_bits" = 64 &&
10082 printf "%s\n" "#define _TIME_BITS 64" >>confdefs.h
10084 if test $HOST_ARCH = i386
10085 then
10086 DLLFLAGS="$DLLFLAGS -fno-PIC"
10087 LDDLLFLAGS="-fno-PIC"
10088 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-PIC -Wl,-z,notext" >&5
10089 printf %s "checking whether the compiler supports -fno-PIC -Wl,-z,notext... " >&6; }
10090 if test ${ac_cv_cflags__fno_PIC__Wl__z_notext+y}
10091 then :
10092 printf %s "(cached) " >&6
10093 else $as_nop
10094 ac_wine_try_cflags_saved=$CFLAGS
10095 CFLAGS="$CFLAGS -fno-PIC -Wl,-z,notext"
10096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10097 /* end confdefs.h. */
10098 int main(int argc, char **argv) { return 0; }
10099 _ACEOF
10100 if ac_fn_c_try_link "$LINENO"
10101 then :
10102 ac_cv_cflags__fno_PIC__Wl__z_notext=yes
10103 else $as_nop
10104 ac_cv_cflags__fno_PIC__Wl__z_notext=no
10106 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10107 conftest$ac_exeext conftest.$ac_ext
10108 CFLAGS=$ac_wine_try_cflags_saved
10110 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_PIC__Wl__z_notext" >&5
10111 printf "%s\n" "$ac_cv_cflags__fno_PIC__Wl__z_notext" >&6; }
10112 if test "x$ac_cv_cflags__fno_PIC__Wl__z_notext" = xyes
10113 then :
10114 LDDLLFLAGS="$LDDLLFLAGS -Wl,-z,notext"
10116 else
10117 DLLFLAGS="$DLLFLAGS -fPIC"
10118 LDDLLFLAGS="-fPIC"
10121 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -Wl,-z,defs works correctly" >&5
10122 printf %s "checking whether -Wl,-z,defs works correctly... " >&6; }
10123 if test ${ac_cv_wl_z_defs+y}
10124 then :
10125 printf %s "(cached) " >&6
10126 else $as_nop
10127 ac_save_CFLAGS="$CFLAGS"
10128 CFLAGS="$CFLAGS $UNIXDLLFLAGS $UNIXLDFLAGS -Wl,-z,defs"
10129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10130 /* end confdefs.h. */
10131 extern char **environ; char **envp; void myfunc(void) { envp = environ; }
10132 _ACEOF
10133 if ac_fn_c_try_link "$LINENO"
10134 then :
10135 ac_cv_wl_z_defs=yes
10136 else $as_nop
10137 ac_cv_wl_z_defs=no
10139 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10140 conftest$ac_exeext conftest.$ac_ext
10141 CFLAGS=$ac_save_CFLAGS
10143 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_wl_z_defs" >&5
10144 printf "%s\n" "$ac_cv_wl_z_defs" >&6; }
10145 test $ac_cv_wl_z_defs != yes || as_fn_append UNIXLDFLAGS " -Wl,-z,defs"
10147 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--export-dynamic" >&5
10148 printf %s "checking whether the compiler supports -Wl,--export-dynamic... " >&6; }
10149 if test ${ac_cv_cflags__Wl___export_dynamic+y}
10150 then :
10151 printf %s "(cached) " >&6
10152 else $as_nop
10153 ac_wine_try_cflags_saved=$CFLAGS
10154 CFLAGS="$CFLAGS -Wl,--export-dynamic"
10155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10156 /* end confdefs.h. */
10157 int main(int argc, char **argv) { return 0; }
10158 _ACEOF
10159 if ac_fn_c_try_link "$LINENO"
10160 then :
10161 ac_cv_cflags__Wl___export_dynamic=yes
10162 else $as_nop
10163 ac_cv_cflags__Wl___export_dynamic=no
10165 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10166 conftest$ac_exeext conftest.$ac_ext
10167 CFLAGS=$ac_wine_try_cflags_saved
10169 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___export_dynamic" >&5
10170 printf "%s\n" "$ac_cv_cflags__Wl___export_dynamic" >&6; }
10171 if test "x$ac_cv_cflags__Wl___export_dynamic" = xyes
10172 then :
10173 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
10175 WINEPRELOADER_LDFLAGS="-nostartfiles -nodefaultlibs"
10177 case $host_os in
10178 linux*)
10179 as_fn_append WINELOADER_LDFLAGS " -pie"
10180 case $HOST_ARCH in
10181 i386|arm)
10182 as_fn_append WINEPRELOADER_LDFLAGS " -static -Wl,-Ttext=0x7d400000" ;;
10184 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -static-pie" >&5
10185 printf %s "checking whether the compiler supports -static-pie... " >&6; }
10186 if test ${ac_cv_cflags__static_pie+y}
10187 then :
10188 printf %s "(cached) " >&6
10189 else $as_nop
10190 ac_wine_try_cflags_saved=$CFLAGS
10191 CFLAGS="$CFLAGS -static-pie"
10192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10193 /* end confdefs.h. */
10194 int main(int argc, char **argv) { return 0; }
10195 _ACEOF
10196 if ac_fn_c_try_link "$LINENO"
10197 then :
10198 ac_cv_cflags__static_pie=yes
10199 else $as_nop
10200 ac_cv_cflags__static_pie=no
10202 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10203 conftest$ac_exeext conftest.$ac_ext
10204 CFLAGS=$ac_wine_try_cflags_saved
10206 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__static_pie" >&5
10207 printf "%s\n" "$ac_cv_cflags__static_pie" >&6; }
10208 if test "x$ac_cv_cflags__static_pie" = xyes
10209 then :
10210 as_fn_append WINEPRELOADER_LDFLAGS " -static-pie"
10211 else $as_nop
10212 as_fn_append WINEPRELOADER_LDFLAGS " -static -Wl,-Ttext=0x7d7d00000000"
10215 esac
10218 case $HOST_ARCH in
10219 i386|arm)
10220 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x60000000" >&5
10221 printf %s "checking whether the compiler supports -Wl,-Ttext-segment=0x60000000... " >&6; }
10222 if test ${ac_cv_cflags__Wl__Ttext_segment_0x60000000+y}
10223 then :
10224 printf %s "(cached) " >&6
10225 else $as_nop
10226 ac_wine_try_cflags_saved=$CFLAGS
10227 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x60000000"
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__Ttext_segment_0x60000000=yes
10235 else $as_nop
10236 ac_cv_cflags__Wl__Ttext_segment_0x60000000=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__Ttext_segment_0x60000000" >&5
10243 printf "%s\n" "$ac_cv_cflags__Wl__Ttext_segment_0x60000000" >&6; }
10244 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x60000000" = xyes
10245 then :
10246 as_fn_append WINELOADER_LDFLAGS " -Wl,-Ttext-segment=0x60000000"
10247 else $as_nop
10248 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x60000400" >&5
10249 printf %s "checking whether the compiler supports -Wl,--section-start,.interp=0x60000400... " >&6; }
10250 if test ${ac_cv_cflags__Wl___section_start__interp_0x60000400+y}
10251 then :
10252 printf %s "(cached) " >&6
10253 else $as_nop
10254 ac_wine_try_cflags_saved=$CFLAGS
10255 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x60000400"
10256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10257 /* end confdefs.h. */
10258 int main(int argc, char **argv) { return 0; }
10259 _ACEOF
10260 if ac_fn_c_try_link "$LINENO"
10261 then :
10262 ac_cv_cflags__Wl___section_start__interp_0x60000400=yes
10263 else $as_nop
10264 ac_cv_cflags__Wl___section_start__interp_0x60000400=no
10266 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10267 conftest$ac_exeext conftest.$ac_ext
10268 CFLAGS=$ac_wine_try_cflags_saved
10270 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x60000400" >&5
10271 printf "%s\n" "$ac_cv_cflags__Wl___section_start__interp_0x60000400" >&6; }
10272 if test "x$ac_cv_cflags__Wl___section_start__interp_0x60000400" = xyes
10273 then :
10274 as_fn_append WINELOADER_LDFLAGS " -Wl,--section-start,.interp=0x60000400"
10279 as_fn_append WINELOADER_LDFLAGS " -pie"
10281 esac
10283 esac
10285 esac
10287 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
10288 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
10289 enable_winemac_drv=${enable_winemac_drv:-no}
10291 PE_ARCHS=""
10293 cross_archs=
10294 if test ${enable_archs+y}
10295 then :
10296 test "x$with_system_dllpath" = "x" || as_fn_error $? "\"The --with-system-dllpath option is not compatible with --enable-archs\"" "$LINENO" 5
10297 ac_save_IFS=$IFS
10298 IFS=' ,'
10299 set x $enable_archs
10300 IFS=$ac_save_IFS
10301 shift
10302 for arch
10304 case $arch in
10305 i386|x86_64|arm|aarch64|arm64ec) cross_archs="$cross_archs $arch" ;;
10306 *) as_fn_error $? "Unknown cross-compilation architecture '$arch'" "$LINENO" 5 ;;
10307 esac
10308 done
10309 else $as_nop
10310 if test "x$with_mingw" != xno
10311 then
10312 test $HOST_ARCH = unknown || cross_archs=$HOST_ARCH
10316 for wine_arch in $cross_archs
10318 case "x$with_mingw" in
10319 xclang|x*/clang) eval "${wine_arch}_CC=\$with_mingw" ;;
10320 esac
10321 if eval \${${wine_arch}_CC:+false} :
10322 then :
10323 case $wine_arch in
10324 aarch64)
10325 for ac_prog in aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc clang
10327 # Extract the first word of "$ac_prog", so it can be a program name with args.
10328 set dummy $ac_prog; ac_word=$2
10329 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10330 printf %s "checking for $ac_word... " >&6; }
10331 if test ${ac_cv_prog_aarch64_CC+y}
10332 then :
10333 printf %s "(cached) " >&6
10334 else $as_nop
10335 if test -n "$aarch64_CC"; then
10336 ac_cv_prog_aarch64_CC="$aarch64_CC" # Let the user override the test.
10337 else
10338 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10339 for as_dir in $PATH
10341 IFS=$as_save_IFS
10342 case $as_dir in #(((
10343 '') as_dir=./ ;;
10344 */) ;;
10345 *) as_dir=$as_dir/ ;;
10346 esac
10347 for ac_exec_ext in '' $ac_executable_extensions; do
10348 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10349 ac_cv_prog_aarch64_CC="$ac_prog"
10350 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10351 break 2
10353 done
10354 done
10355 IFS=$as_save_IFS
10359 aarch64_CC=$ac_cv_prog_aarch64_CC
10360 if test -n "$aarch64_CC"; then
10361 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $aarch64_CC" >&5
10362 printf "%s\n" "$aarch64_CC" >&6; }
10363 else
10364 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10365 printf "%s\n" "no" >&6; }
10369 test -n "$aarch64_CC" && break
10370 done
10371 test -n "$aarch64_CC" || aarch64_CC="false"
10374 arm64ec)
10375 for ac_prog in arm64ec-w64-mingw32-clang arm64ec-w64-mingw32-gcc clang
10377 # Extract the first word of "$ac_prog", so it can be a program name with args.
10378 set dummy $ac_prog; ac_word=$2
10379 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10380 printf %s "checking for $ac_word... " >&6; }
10381 if test ${ac_cv_prog_arm64ec_CC+y}
10382 then :
10383 printf %s "(cached) " >&6
10384 else $as_nop
10385 if test -n "$arm64ec_CC"; then
10386 ac_cv_prog_arm64ec_CC="$arm64ec_CC" # Let the user override the test.
10387 else
10388 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10389 for as_dir in $PATH
10391 IFS=$as_save_IFS
10392 case $as_dir in #(((
10393 '') as_dir=./ ;;
10394 */) ;;
10395 *) as_dir=$as_dir/ ;;
10396 esac
10397 for ac_exec_ext in '' $ac_executable_extensions; do
10398 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10399 ac_cv_prog_arm64ec_CC="$ac_prog"
10400 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10401 break 2
10403 done
10404 done
10405 IFS=$as_save_IFS
10409 arm64ec_CC=$ac_cv_prog_arm64ec_CC
10410 if test -n "$arm64ec_CC"; then
10411 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $arm64ec_CC" >&5
10412 printf "%s\n" "$arm64ec_CC" >&6; }
10413 else
10414 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10415 printf "%s\n" "no" >&6; }
10419 test -n "$arm64ec_CC" && break
10420 done
10421 test -n "$arm64ec_CC" || arm64ec_CC="false"
10424 arm)
10425 for ac_prog in armv7-w64-mingw32-clang armv7-w64-mingw32-gcc clang
10427 # Extract the first word of "$ac_prog", so it can be a program name with args.
10428 set dummy $ac_prog; ac_word=$2
10429 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10430 printf %s "checking for $ac_word... " >&6; }
10431 if test ${ac_cv_prog_arm_CC+y}
10432 then :
10433 printf %s "(cached) " >&6
10434 else $as_nop
10435 if test -n "$arm_CC"; then
10436 ac_cv_prog_arm_CC="$arm_CC" # Let the user override the test.
10437 else
10438 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10439 for as_dir in $PATH
10441 IFS=$as_save_IFS
10442 case $as_dir in #(((
10443 '') as_dir=./ ;;
10444 */) ;;
10445 *) as_dir=$as_dir/ ;;
10446 esac
10447 for ac_exec_ext in '' $ac_executable_extensions; do
10448 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10449 ac_cv_prog_arm_CC="$ac_prog"
10450 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10451 break 2
10453 done
10454 done
10455 IFS=$as_save_IFS
10459 arm_CC=$ac_cv_prog_arm_CC
10460 if test -n "$arm_CC"; then
10461 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $arm_CC" >&5
10462 printf "%s\n" "$arm_CC" >&6; }
10463 else
10464 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10465 printf "%s\n" "no" >&6; }
10469 test -n "$arm_CC" && break
10470 done
10471 test -n "$arm_CC" || arm_CC="false"
10474 i386)
10475 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 "
10476 for ac_prog in $ac_prefix_list clang
10478 # Extract the first word of "$ac_prog", so it can be a program name with args.
10479 set dummy $ac_prog; ac_word=$2
10480 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10481 printf %s "checking for $ac_word... " >&6; }
10482 if test ${ac_cv_prog_i386_CC+y}
10483 then :
10484 printf %s "(cached) " >&6
10485 else $as_nop
10486 if test -n "$i386_CC"; then
10487 ac_cv_prog_i386_CC="$i386_CC" # Let the user override the test.
10488 else
10489 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10490 for as_dir in $PATH
10492 IFS=$as_save_IFS
10493 case $as_dir in #(((
10494 '') as_dir=./ ;;
10495 */) ;;
10496 *) as_dir=$as_dir/ ;;
10497 esac
10498 for ac_exec_ext in '' $ac_executable_extensions; do
10499 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10500 ac_cv_prog_i386_CC="$ac_prog"
10501 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10502 break 2
10504 done
10505 done
10506 IFS=$as_save_IFS
10510 i386_CC=$ac_cv_prog_i386_CC
10511 if test -n "$i386_CC"; then
10512 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $i386_CC" >&5
10513 printf "%s\n" "$i386_CC" >&6; }
10514 else
10515 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10516 printf "%s\n" "no" >&6; }
10520 test -n "$i386_CC" && break
10521 done
10522 test -n "$i386_CC" || i386_CC="false"
10525 x86_64)
10526 ac_prefix_list="x86_64-w64-mingw32-gcc amd64-w64-mingw32-gcc x86_64-w64-mingw32-clang amd64-w64-mingw32-clang "
10527 for ac_prog in $ac_prefix_list clang
10529 # Extract the first word of "$ac_prog", so it can be a program name with args.
10530 set dummy $ac_prog; ac_word=$2
10531 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10532 printf %s "checking for $ac_word... " >&6; }
10533 if test ${ac_cv_prog_x86_64_CC+y}
10534 then :
10535 printf %s "(cached) " >&6
10536 else $as_nop
10537 if test -n "$x86_64_CC"; then
10538 ac_cv_prog_x86_64_CC="$x86_64_CC" # Let the user override the test.
10539 else
10540 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10541 for as_dir in $PATH
10543 IFS=$as_save_IFS
10544 case $as_dir in #(((
10545 '') as_dir=./ ;;
10546 */) ;;
10547 *) as_dir=$as_dir/ ;;
10548 esac
10549 for ac_exec_ext in '' $ac_executable_extensions; do
10550 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10551 ac_cv_prog_x86_64_CC="$ac_prog"
10552 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10553 break 2
10555 done
10556 done
10557 IFS=$as_save_IFS
10561 x86_64_CC=$ac_cv_prog_x86_64_CC
10562 if test -n "$x86_64_CC"; then
10563 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $x86_64_CC" >&5
10564 printf "%s\n" "$x86_64_CC" >&6; }
10565 else
10566 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10567 printf "%s\n" "no" >&6; }
10571 test -n "$x86_64_CC" && break
10572 done
10573 test -n "$x86_64_CC" || x86_64_CC="false"
10576 esac
10579 saved_CC=$CC
10580 saved_CFLAGS=$CFLAGS
10581 saved_LDFLAGS=$LDFLAGS
10583 CFLAGS=${CROSSCFLAGS:-"-g -O2"}
10584 LDFLAGS=$CROSSLDFLAGS
10585 eval CC=\$${wine_arch}_CC
10586 eval ${wine_arch}_CFLAGS=\$CFLAGS
10587 eval ${wine_arch}_LDFLAGS=\$LDFLAGS
10588 eval "${wine_arch}_EXTRACFLAGS=\"-D__WINE_PE_BUILD -Wall\""
10590 target=""
10591 as_wine_cv_crosscc=`printf "%s\n" "ac_cv_${wine_arch}_crosscc" | $as_tr_sh`
10593 if eval test \"x\$"${wine_arch}_CC"\" = x"false"
10594 then :
10596 else $as_nop
10597 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
10598 printf %s "checking whether $CC works... " >&6; }
10599 if eval test \${$as_wine_cv_crosscc+y}
10600 then :
10601 printf %s "(cached) " >&6
10602 else $as_nop
10603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10604 /* end confdefs.h. */
10607 main (void)
10611 return 0;
10613 _ACEOF
10614 if ac_fn_c_try_compile "$LINENO"
10615 then :
10616 eval "$as_wine_cv_crosscc=yes"
10617 else $as_nop
10618 eval "$as_wine_cv_crosscc=no"
10620 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10622 eval ac_res=\$$as_wine_cv_crosscc
10623 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10624 printf "%s\n" "$ac_res" >&6; }
10626 if eval test \"x\$"$as_wine_cv_crosscc"\" = x"yes"
10627 then :
10628 set x $CC
10629 shift
10630 while test $# -ge 1
10632 case "$1" in
10633 *-gcc) target=`expr "$1" : '\(.*\)-gcc'` ;;
10634 *-clang) target=`expr "$1" : '\(.*\)-clang'` ;;
10635 esac
10636 shift
10637 done
10639 llvm_target=$target
10640 if test -z "$llvm_target"
10641 then
10642 case $wine_arch in
10643 i386) llvm_target=i686-windows ;;
10644 arm) llvm_target=armv7-windows ;;
10645 *) llvm_target=$wine_arch-windows ;;
10646 esac
10648 llvm_extra_cflags="-target $llvm_target -fuse-ld=lld"
10649 case $llvm_target in
10650 *windows) llvm_cflags="-Wl,-subsystem:console -Wl,-WX" ;;
10651 esac
10652 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_$llvm_extra_cflags $llvm_cflags" | $as_tr_sh`
10653 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports $llvm_extra_cflags $llvm_cflags" >&5
10654 printf %s "checking whether $CC supports $llvm_extra_cflags $llvm_cflags... " >&6; }
10655 if eval test \${$as_ac_var+y}
10656 then :
10657 printf %s "(cached) " >&6
10658 else $as_nop
10659 ac_wine_try_cflags_saved=$CFLAGS
10660 ac_wine_try_cflags_saved_exeext=$ac_exeext
10661 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs $llvm_extra_cflags $llvm_cflags"
10662 ac_exeext=".exe"
10663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10664 /* end confdefs.h. */
10665 void *__os_arm64x_dispatch_ret = 0;
10666 int __cdecl mainCRTStartup(void) { return 0; }
10667 _ACEOF
10668 if ac_fn_c_try_link "$LINENO"
10669 then :
10670 eval "$as_ac_var=yes"
10671 else $as_nop
10672 eval "$as_ac_var=no"
10674 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10675 conftest$ac_exeext conftest.$ac_ext
10676 CFLAGS=$ac_wine_try_cflags_saved
10677 ac_exeext=$ac_wine_try_cflags_saved_exeext
10679 eval ac_res=\$$as_ac_var
10680 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10681 printf "%s\n" "$ac_res" >&6; }
10682 if eval test \"x\$"$as_ac_var"\" = x"yes"
10683 then :
10684 target=$llvm_target
10685 eval "${wine_arch}_DELAYLOADFLAG=\"-Wl,-delayload,\""
10686 as_fn_append ${wine_arch}_EXTRACFLAGS " $llvm_extra_cflags"
10687 CFLAGS="$llvm_extra_cflags $llvm_cflags"
10688 fi }
10689 eval "${wine_arch}_TARGET=\$target"
10693 if test -z "$target"
10694 then
10695 if test ${enable_archs+y}
10696 then :
10697 as_fn_error $? "MinGW $wine_arch compiler not found.
10698 This is an error since --enable-archs=$wine_arch was requested." "$LINENO" 5
10700 CC=$saved_CC
10701 CFLAGS=$saved_CFLAGS
10702 LDFLAGS=$saved_LDFLAGS
10703 continue
10706 as_wine_cv_crosscc_c99=`printf "%s\n" "ac_cv_${wine_arch}_crosscc_c99" | $as_tr_sh`
10708 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
10709 printf %s "checking for $CC option to enable C99 features... " >&6; }
10710 if eval test \${$as_wine_cv_crosscc_c99+y}
10711 then :
10712 printf %s "(cached) " >&6
10713 else $as_nop
10714 eval "$as_wine_cv_crosscc_c99=no"
10715 for arg in '' '-std=gnu99' '-D__STDC__'
10717 test -z "$arg" || CC="$CC $arg"
10718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10719 /* end confdefs.h. */
10720 $ac_c_conftest_c99_program
10721 _ACEOF
10722 if ac_fn_c_try_compile "$LINENO"
10723 then :
10724 eval "$as_wine_cv_crosscc_c99=\$arg"
10725 else $as_nop
10726 eval "$as_wine_cv_crosscc_c99=no"
10728 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10729 eval CC=\$${wine_arch}_CC
10730 if eval test \"x\$"$as_wine_cv_crosscc_c99"\" = x"no"
10731 then :
10733 else $as_nop
10734 break
10736 done
10739 eval res=\$$as_wine_cv_crosscc_c99
10741 case "x$res" in
10742 x) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
10743 printf "%s\n" "none needed" >&6; } ;;
10744 xno) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
10745 printf "%s\n" "unsupported" >&6; }
10746 CC=$saved_CC
10747 CFLAGS=$saved_CFLAGS
10748 LDFLAGS=$saved_LDFLAGS
10749 if test ${enable_archs+y}
10750 then :
10751 as_fn_error $? "MinGW $wine_arch compiler supporting C99 not found.
10752 This is an error since --enable-archs=$wine_arch was requested." "$LINENO" 5
10754 continue
10756 x*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $res" >&5
10757 printf "%s\n" "$res" >&6; }
10758 as_fn_append ${wine_arch}_CC " $res" ;;
10759 esac
10761 as_fn_append PE_ARCHS " $wine_arch"
10762 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-fno-strict-aliasing" | $as_tr_sh`
10763 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -fno-strict-aliasing" >&5
10764 printf %s "checking whether $CC supports -fno-strict-aliasing... " >&6; }
10765 if eval test \${$as_ac_var+y}
10766 then :
10767 printf %s "(cached) " >&6
10768 else $as_nop
10769 ac_wine_try_cflags_saved=$CFLAGS
10770 ac_wine_try_cflags_saved_exeext=$ac_exeext
10771 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -fno-strict-aliasing"
10772 ac_exeext=".exe"
10773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10774 /* end confdefs.h. */
10775 void *__os_arm64x_dispatch_ret = 0;
10776 int __cdecl mainCRTStartup(void) { return 0; }
10777 _ACEOF
10778 if ac_fn_c_try_link "$LINENO"
10779 then :
10780 eval "$as_ac_var=yes"
10781 else $as_nop
10782 eval "$as_ac_var=no"
10784 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10785 conftest$ac_exeext conftest.$ac_ext
10786 CFLAGS=$ac_wine_try_cflags_saved
10787 ac_exeext=$ac_wine_try_cflags_saved_exeext
10789 eval ac_res=\$$as_ac_var
10790 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10791 printf "%s\n" "$ac_res" >&6; }
10792 if eval test \"x\$"$as_ac_var"\" = x"yes"
10793 then :
10794 as_fn_append ${wine_arch}_EXTRACFLAGS " -fno-strict-aliasing"
10795 fi }
10796 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror=unknown-warning-option" | $as_tr_sh`
10797 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror=unknown-warning-option" >&5
10798 printf %s "checking whether $CC supports -Werror=unknown-warning-option... " >&6; }
10799 if eval test \${$as_ac_var+y}
10800 then :
10801 printf %s "(cached) " >&6
10802 else $as_nop
10803 ac_wine_try_cflags_saved=$CFLAGS
10804 ac_wine_try_cflags_saved_exeext=$ac_exeext
10805 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Werror=unknown-warning-option"
10806 ac_exeext=".exe"
10807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10808 /* end confdefs.h. */
10809 void *__os_arm64x_dispatch_ret = 0;
10810 int __cdecl mainCRTStartup(void) { return 0; }
10811 _ACEOF
10812 if ac_fn_c_try_link "$LINENO"
10813 then :
10814 eval "$as_ac_var=yes"
10815 else $as_nop
10816 eval "$as_ac_var=no"
10818 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10819 conftest$ac_exeext conftest.$ac_ext
10820 CFLAGS=$ac_wine_try_cflags_saved
10821 ac_exeext=$ac_wine_try_cflags_saved_exeext
10823 eval ac_res=\$$as_ac_var
10824 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10825 printf "%s\n" "$ac_res" >&6; }
10826 if eval test \"x\$"$as_ac_var"\" = x"yes"
10827 then :
10828 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
10829 fi }
10830 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror=ignored-optimization-argument" | $as_tr_sh`
10831 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror=ignored-optimization-argument" >&5
10832 printf %s "checking whether $CC supports -Werror=ignored-optimization-argument... " >&6; }
10833 if eval test \${$as_ac_var+y}
10834 then :
10835 printf %s "(cached) " >&6
10836 else $as_nop
10837 ac_wine_try_cflags_saved=$CFLAGS
10838 ac_wine_try_cflags_saved_exeext=$ac_exeext
10839 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Werror=ignored-optimization-argument"
10840 ac_exeext=".exe"
10841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10842 /* end confdefs.h. */
10843 void *__os_arm64x_dispatch_ret = 0;
10844 int __cdecl mainCRTStartup(void) { return 0; }
10845 _ACEOF
10846 if ac_fn_c_try_link "$LINENO"
10847 then :
10848 eval "$as_ac_var=yes"
10849 else $as_nop
10850 eval "$as_ac_var=no"
10852 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10853 conftest$ac_exeext conftest.$ac_ext
10854 CFLAGS=$ac_wine_try_cflags_saved
10855 ac_exeext=$ac_wine_try_cflags_saved_exeext
10857 eval ac_res=\$$as_ac_var
10858 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10859 printf "%s\n" "$ac_res" >&6; }
10860 if eval test \"x\$"$as_ac_var"\" = x"yes"
10861 then :
10862 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
10863 fi }
10864 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wdeclaration-after-statement" | $as_tr_sh`
10865 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wdeclaration-after-statement" >&5
10866 printf %s "checking whether $CC supports -Wdeclaration-after-statement... " >&6; }
10867 if eval test \${$as_ac_var+y}
10868 then :
10869 printf %s "(cached) " >&6
10870 else $as_nop
10871 ac_wine_try_cflags_saved=$CFLAGS
10872 ac_wine_try_cflags_saved_exeext=$ac_exeext
10873 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wdeclaration-after-statement"
10874 ac_exeext=".exe"
10875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10876 /* end confdefs.h. */
10877 void *__os_arm64x_dispatch_ret = 0;
10878 int __cdecl mainCRTStartup(void) { return 0; }
10879 _ACEOF
10880 if ac_fn_c_try_link "$LINENO"
10881 then :
10882 eval "$as_ac_var=yes"
10883 else $as_nop
10884 eval "$as_ac_var=no"
10886 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10887 conftest$ac_exeext conftest.$ac_ext
10888 CFLAGS=$ac_wine_try_cflags_saved
10889 ac_exeext=$ac_wine_try_cflags_saved_exeext
10891 eval ac_res=\$$as_ac_var
10892 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10893 printf "%s\n" "$ac_res" >&6; }
10894 if eval test \"x\$"$as_ac_var"\" = x"yes"
10895 then :
10896 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wdeclaration-after-statement"
10897 fi }
10898 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wempty-body" | $as_tr_sh`
10899 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wempty-body" >&5
10900 printf %s "checking whether $CC supports -Wempty-body... " >&6; }
10901 if eval test \${$as_ac_var+y}
10902 then :
10903 printf %s "(cached) " >&6
10904 else $as_nop
10905 ac_wine_try_cflags_saved=$CFLAGS
10906 ac_wine_try_cflags_saved_exeext=$ac_exeext
10907 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wempty-body"
10908 ac_exeext=".exe"
10909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10910 /* end confdefs.h. */
10911 void *__os_arm64x_dispatch_ret = 0;
10912 int __cdecl mainCRTStartup(void) { return 0; }
10913 _ACEOF
10914 if ac_fn_c_try_link "$LINENO"
10915 then :
10916 eval "$as_ac_var=yes"
10917 else $as_nop
10918 eval "$as_ac_var=no"
10920 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10921 conftest$ac_exeext conftest.$ac_ext
10922 CFLAGS=$ac_wine_try_cflags_saved
10923 ac_exeext=$ac_wine_try_cflags_saved_exeext
10925 eval ac_res=\$$as_ac_var
10926 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10927 printf "%s\n" "$ac_res" >&6; }
10928 if eval test \"x\$"$as_ac_var"\" = x"yes"
10929 then :
10930 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wempty-body"
10931 fi }
10932 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wignored-qualifiers" | $as_tr_sh`
10933 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wignored-qualifiers" >&5
10934 printf %s "checking whether $CC supports -Wignored-qualifiers... " >&6; }
10935 if eval test \${$as_ac_var+y}
10936 then :
10937 printf %s "(cached) " >&6
10938 else $as_nop
10939 ac_wine_try_cflags_saved=$CFLAGS
10940 ac_wine_try_cflags_saved_exeext=$ac_exeext
10941 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wignored-qualifiers"
10942 ac_exeext=".exe"
10943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10944 /* end confdefs.h. */
10945 void *__os_arm64x_dispatch_ret = 0;
10946 int __cdecl mainCRTStartup(void) { return 0; }
10947 _ACEOF
10948 if ac_fn_c_try_link "$LINENO"
10949 then :
10950 eval "$as_ac_var=yes"
10951 else $as_nop
10952 eval "$as_ac_var=no"
10954 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10955 conftest$ac_exeext conftest.$ac_ext
10956 CFLAGS=$ac_wine_try_cflags_saved
10957 ac_exeext=$ac_wine_try_cflags_saved_exeext
10959 eval ac_res=\$$as_ac_var
10960 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10961 printf "%s\n" "$ac_res" >&6; }
10962 if eval test \"x\$"$as_ac_var"\" = x"yes"
10963 then :
10964 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wignored-qualifiers"
10965 fi }
10966 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Winit-self" | $as_tr_sh`
10967 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Winit-self" >&5
10968 printf %s "checking whether $CC supports -Winit-self... " >&6; }
10969 if eval test \${$as_ac_var+y}
10970 then :
10971 printf %s "(cached) " >&6
10972 else $as_nop
10973 ac_wine_try_cflags_saved=$CFLAGS
10974 ac_wine_try_cflags_saved_exeext=$ac_exeext
10975 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Winit-self"
10976 ac_exeext=".exe"
10977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10978 /* end confdefs.h. */
10979 void *__os_arm64x_dispatch_ret = 0;
10980 int __cdecl mainCRTStartup(void) { return 0; }
10981 _ACEOF
10982 if ac_fn_c_try_link "$LINENO"
10983 then :
10984 eval "$as_ac_var=yes"
10985 else $as_nop
10986 eval "$as_ac_var=no"
10988 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10989 conftest$ac_exeext conftest.$ac_ext
10990 CFLAGS=$ac_wine_try_cflags_saved
10991 ac_exeext=$ac_wine_try_cflags_saved_exeext
10993 eval ac_res=\$$as_ac_var
10994 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10995 printf "%s\n" "$ac_res" >&6; }
10996 if eval test \"x\$"$as_ac_var"\" = x"yes"
10997 then :
10998 as_fn_append ${wine_arch}_EXTRACFLAGS " -Winit-self"
10999 fi }
11000 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpacked-not-aligned" | $as_tr_sh`
11001 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpacked-not-aligned" >&5
11002 printf %s "checking whether $CC supports -Wpacked-not-aligned... " >&6; }
11003 if eval test \${$as_ac_var+y}
11004 then :
11005 printf %s "(cached) " >&6
11006 else $as_nop
11007 ac_wine_try_cflags_saved=$CFLAGS
11008 ac_wine_try_cflags_saved_exeext=$ac_exeext
11009 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wpacked-not-aligned"
11010 ac_exeext=".exe"
11011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11012 /* end confdefs.h. */
11013 void *__os_arm64x_dispatch_ret = 0;
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 void *__os_arm64x_dispatch_ret = 0;
11048 int __cdecl mainCRTStartup(void) { return 0; }
11049 _ACEOF
11050 if ac_fn_c_try_link "$LINENO"
11051 then :
11052 eval "$as_ac_var=yes"
11053 else $as_nop
11054 eval "$as_ac_var=no"
11056 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11057 conftest$ac_exeext conftest.$ac_ext
11058 CFLAGS=$ac_wine_try_cflags_saved
11059 ac_exeext=$ac_wine_try_cflags_saved_exeext
11061 eval ac_res=\$$as_ac_var
11062 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11063 printf "%s\n" "$ac_res" >&6; }
11064 if eval test \"x\$"$as_ac_var"\" = x"yes"
11065 then :
11066 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-pragma-pack"
11067 fi }
11068 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wmicrosoft-enum-forward-reference" | $as_tr_sh`
11069 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wmicrosoft-enum-forward-reference" >&5
11070 printf %s "checking whether $CC supports -Wmicrosoft-enum-forward-reference... " >&6; }
11071 if eval test \${$as_ac_var+y}
11072 then :
11073 printf %s "(cached) " >&6
11074 else $as_nop
11075 ac_wine_try_cflags_saved=$CFLAGS
11076 ac_wine_try_cflags_saved_exeext=$ac_exeext
11077 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wmicrosoft-enum-forward-reference"
11078 ac_exeext=".exe"
11079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11080 /* end confdefs.h. */
11081 int __cdecl mainCRTStartup(void) { return 0; }
11082 _ACEOF
11083 if ac_fn_c_try_link "$LINENO"
11084 then :
11085 eval "$as_ac_var=yes"
11086 else $as_nop
11087 eval "$as_ac_var=no"
11089 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11090 conftest$ac_exeext conftest.$ac_ext
11091 CFLAGS=$ac_wine_try_cflags_saved
11092 ac_exeext=$ac_wine_try_cflags_saved_exeext
11094 eval ac_res=\$$as_ac_var
11095 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11096 printf "%s\n" "$ac_res" >&6; }
11097 if eval test \"x\$"$as_ac_var"\" = x"yes"
11098 then :
11099 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-microsoft-enum-forward-reference"
11100 fi }
11101 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wshift-overflow=2" | $as_tr_sh`
11102 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wshift-overflow=2" >&5
11103 printf %s "checking whether $CC supports -Wshift-overflow=2... " >&6; }
11104 if eval test \${$as_ac_var+y}
11105 then :
11106 printf %s "(cached) " >&6
11107 else $as_nop
11108 ac_wine_try_cflags_saved=$CFLAGS
11109 ac_wine_try_cflags_saved_exeext=$ac_exeext
11110 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wshift-overflow=2"
11111 ac_exeext=".exe"
11112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11113 /* end confdefs.h. */
11114 void *__os_arm64x_dispatch_ret = 0;
11115 int __cdecl mainCRTStartup(void) { return 0; }
11116 _ACEOF
11117 if ac_fn_c_try_link "$LINENO"
11118 then :
11119 eval "$as_ac_var=yes"
11120 else $as_nop
11121 eval "$as_ac_var=no"
11123 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11124 conftest$ac_exeext conftest.$ac_ext
11125 CFLAGS=$ac_wine_try_cflags_saved
11126 ac_exeext=$ac_wine_try_cflags_saved_exeext
11128 eval ac_res=\$$as_ac_var
11129 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11130 printf "%s\n" "$ac_res" >&6; }
11131 if eval test \"x\$"$as_ac_var"\" = x"yes"
11132 then :
11133 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wshift-overflow=2"
11134 fi }
11135 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wstrict-prototypes" | $as_tr_sh`
11136 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wstrict-prototypes" >&5
11137 printf %s "checking whether $CC supports -Wstrict-prototypes... " >&6; }
11138 if eval test \${$as_ac_var+y}
11139 then :
11140 printf %s "(cached) " >&6
11141 else $as_nop
11142 ac_wine_try_cflags_saved=$CFLAGS
11143 ac_wine_try_cflags_saved_exeext=$ac_exeext
11144 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wstrict-prototypes"
11145 ac_exeext=".exe"
11146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11147 /* end confdefs.h. */
11148 void *__os_arm64x_dispatch_ret = 0;
11149 int __cdecl mainCRTStartup(void) { return 0; }
11150 _ACEOF
11151 if ac_fn_c_try_link "$LINENO"
11152 then :
11153 eval "$as_ac_var=yes"
11154 else $as_nop
11155 eval "$as_ac_var=no"
11157 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11158 conftest$ac_exeext conftest.$ac_ext
11159 CFLAGS=$ac_wine_try_cflags_saved
11160 ac_exeext=$ac_wine_try_cflags_saved_exeext
11162 eval ac_res=\$$as_ac_var
11163 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11164 printf "%s\n" "$ac_res" >&6; }
11165 if eval test \"x\$"$as_ac_var"\" = x"yes"
11166 then :
11167 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wstrict-prototypes"
11168 fi }
11169 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wtype-limits" | $as_tr_sh`
11170 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wtype-limits" >&5
11171 printf %s "checking whether $CC supports -Wtype-limits... " >&6; }
11172 if eval test \${$as_ac_var+y}
11173 then :
11174 printf %s "(cached) " >&6
11175 else $as_nop
11176 ac_wine_try_cflags_saved=$CFLAGS
11177 ac_wine_try_cflags_saved_exeext=$ac_exeext
11178 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wtype-limits"
11179 ac_exeext=".exe"
11180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11181 /* end confdefs.h. */
11182 void *__os_arm64x_dispatch_ret = 0;
11183 int __cdecl mainCRTStartup(void) { return 0; }
11184 _ACEOF
11185 if ac_fn_c_try_link "$LINENO"
11186 then :
11187 eval "$as_ac_var=yes"
11188 else $as_nop
11189 eval "$as_ac_var=no"
11191 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11192 conftest$ac_exeext conftest.$ac_ext
11193 CFLAGS=$ac_wine_try_cflags_saved
11194 ac_exeext=$ac_wine_try_cflags_saved_exeext
11196 eval ac_res=\$$as_ac_var
11197 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11198 printf "%s\n" "$ac_res" >&6; }
11199 if eval test \"x\$"$as_ac_var"\" = x"yes"
11200 then :
11201 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wtype-limits"
11202 fi }
11203 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wunused-but-set-parameter" | $as_tr_sh`
11204 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wunused-but-set-parameter" >&5
11205 printf %s "checking whether $CC supports -Wunused-but-set-parameter... " >&6; }
11206 if eval test \${$as_ac_var+y}
11207 then :
11208 printf %s "(cached) " >&6
11209 else $as_nop
11210 ac_wine_try_cflags_saved=$CFLAGS
11211 ac_wine_try_cflags_saved_exeext=$ac_exeext
11212 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wunused-but-set-parameter"
11213 ac_exeext=".exe"
11214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11215 /* end confdefs.h. */
11216 void *__os_arm64x_dispatch_ret = 0;
11217 int __cdecl mainCRTStartup(void) { return 0; }
11218 _ACEOF
11219 if ac_fn_c_try_link "$LINENO"
11220 then :
11221 eval "$as_ac_var=yes"
11222 else $as_nop
11223 eval "$as_ac_var=no"
11225 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11226 conftest$ac_exeext conftest.$ac_ext
11227 CFLAGS=$ac_wine_try_cflags_saved
11228 ac_exeext=$ac_wine_try_cflags_saved_exeext
11230 eval ac_res=\$$as_ac_var
11231 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11232 printf "%s\n" "$ac_res" >&6; }
11233 if eval test \"x\$"$as_ac_var"\" = x"yes"
11234 then :
11235 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wunused-but-set-parameter"
11236 fi }
11237 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wvla" | $as_tr_sh`
11238 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wvla" >&5
11239 printf %s "checking whether $CC supports -Wvla... " >&6; }
11240 if eval test \${$as_ac_var+y}
11241 then :
11242 printf %s "(cached) " >&6
11243 else $as_nop
11244 ac_wine_try_cflags_saved=$CFLAGS
11245 ac_wine_try_cflags_saved_exeext=$ac_exeext
11246 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wvla"
11247 ac_exeext=".exe"
11248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11249 /* end confdefs.h. */
11250 void *__os_arm64x_dispatch_ret = 0;
11251 int __cdecl mainCRTStartup(void) { return 0; }
11252 _ACEOF
11253 if ac_fn_c_try_link "$LINENO"
11254 then :
11255 eval "$as_ac_var=yes"
11256 else $as_nop
11257 eval "$as_ac_var=no"
11259 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11260 conftest$ac_exeext conftest.$ac_ext
11261 CFLAGS=$ac_wine_try_cflags_saved
11262 ac_exeext=$ac_wine_try_cflags_saved_exeext
11264 eval ac_res=\$$as_ac_var
11265 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11266 printf "%s\n" "$ac_res" >&6; }
11267 if eval test \"x\$"$as_ac_var"\" = x"yes"
11268 then :
11269 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wvla"
11270 fi }
11271 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wwrite-strings" | $as_tr_sh`
11272 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wwrite-strings" >&5
11273 printf %s "checking whether $CC supports -Wwrite-strings... " >&6; }
11274 if eval test \${$as_ac_var+y}
11275 then :
11276 printf %s "(cached) " >&6
11277 else $as_nop
11278 ac_wine_try_cflags_saved=$CFLAGS
11279 ac_wine_try_cflags_saved_exeext=$ac_exeext
11280 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wwrite-strings"
11281 ac_exeext=".exe"
11282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11283 /* end confdefs.h. */
11284 void *__os_arm64x_dispatch_ret = 0;
11285 int __cdecl mainCRTStartup(void) { return 0; }
11286 _ACEOF
11287 if ac_fn_c_try_link "$LINENO"
11288 then :
11289 eval "$as_ac_var=yes"
11290 else $as_nop
11291 eval "$as_ac_var=no"
11293 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11294 conftest$ac_exeext conftest.$ac_ext
11295 CFLAGS=$ac_wine_try_cflags_saved
11296 ac_exeext=$ac_wine_try_cflags_saved_exeext
11298 eval ac_res=\$$as_ac_var
11299 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11300 printf "%s\n" "$ac_res" >&6; }
11301 if eval test \"x\$"$as_ac_var"\" = x"yes"
11302 then :
11303 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wwrite-strings"
11304 fi }
11305 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpointer-arith" | $as_tr_sh`
11306 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpointer-arith" >&5
11307 printf %s "checking whether $CC supports -Wpointer-arith... " >&6; }
11308 if eval test \${$as_ac_var+y}
11309 then :
11310 printf %s "(cached) " >&6
11311 else $as_nop
11312 ac_wine_try_cflags_saved=$CFLAGS
11313 ac_wine_try_cflags_saved_exeext=$ac_exeext
11314 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wpointer-arith"
11315 ac_exeext=".exe"
11316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11317 /* end confdefs.h. */
11318 void *__os_arm64x_dispatch_ret = 0;
11319 int __cdecl mainCRTStartup(void) { return 0; }
11320 _ACEOF
11321 if ac_fn_c_try_link "$LINENO"
11322 then :
11323 eval "$as_ac_var=yes"
11324 else $as_nop
11325 eval "$as_ac_var=no"
11327 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11328 conftest$ac_exeext conftest.$ac_ext
11329 CFLAGS=$ac_wine_try_cflags_saved
11330 ac_exeext=$ac_wine_try_cflags_saved_exeext
11332 eval ac_res=\$$as_ac_var
11333 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11334 printf "%s\n" "$ac_res" >&6; }
11335 if eval test \"x\$"$as_ac_var"\" = x"yes"
11336 then :
11337 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wpointer-arith"
11338 fi }
11339 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wlogical-op" | $as_tr_sh`
11340 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wlogical-op" >&5
11341 printf %s "checking whether $CC supports -Wlogical-op... " >&6; }
11342 if eval test \${$as_ac_var+y}
11343 then :
11344 printf %s "(cached) " >&6
11345 else $as_nop
11346 ac_wine_try_cflags_saved=$CFLAGS
11347 ac_wine_try_cflags_saved_exeext=$ac_exeext
11348 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wlogical-op"
11349 ac_exeext=".exe"
11350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11351 /* end confdefs.h. */
11352 void *__os_arm64x_dispatch_ret = 0;
11353 int __cdecl mainCRTStartup(void) { return 0; }
11354 _ACEOF
11355 if ac_fn_c_try_link "$LINENO"
11356 then :
11357 eval "$as_ac_var=yes"
11358 else $as_nop
11359 eval "$as_ac_var=no"
11361 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11362 conftest$ac_exeext conftest.$ac_ext
11363 CFLAGS=$ac_wine_try_cflags_saved
11364 ac_exeext=$ac_wine_try_cflags_saved_exeext
11366 eval ac_res=\$$as_ac_var
11367 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11368 printf "%s\n" "$ac_res" >&6; }
11369 if eval test \"x\$"$as_ac_var"\" = x"yes"
11370 then :
11371 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wlogical-op"
11372 fi }
11373 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wabsolute-value" | $as_tr_sh`
11374 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wabsolute-value" >&5
11375 printf %s "checking whether $CC supports -Wabsolute-value... " >&6; }
11376 if eval test \${$as_ac_var+y}
11377 then :
11378 printf %s "(cached) " >&6
11379 else $as_nop
11380 ac_wine_try_cflags_saved=$CFLAGS
11381 ac_wine_try_cflags_saved_exeext=$ac_exeext
11382 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wabsolute-value"
11383 ac_exeext=".exe"
11384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11385 /* end confdefs.h. */
11386 void *__os_arm64x_dispatch_ret = 0;
11387 int __cdecl mainCRTStartup(void) { return 0; }
11388 _ACEOF
11389 if ac_fn_c_try_link "$LINENO"
11390 then :
11391 eval "$as_ac_var=yes"
11392 else $as_nop
11393 eval "$as_ac_var=no"
11395 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11396 conftest$ac_exeext conftest.$ac_ext
11397 CFLAGS=$ac_wine_try_cflags_saved
11398 ac_exeext=$ac_wine_try_cflags_saved_exeext
11400 eval ac_res=\$$as_ac_var
11401 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11402 printf "%s\n" "$ac_res" >&6; }
11403 if eval test \"x\$"$as_ac_var"\" = x"yes"
11404 then :
11405 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wabsolute-value"
11406 fi }
11408 case $wine_arch in
11409 i386) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-fno-omit-frame-pointer" | $as_tr_sh`
11410 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -fno-omit-frame-pointer" >&5
11411 printf %s "checking whether $CC supports -fno-omit-frame-pointer... " >&6; }
11412 if eval test \${$as_ac_var+y}
11413 then :
11414 printf %s "(cached) " >&6
11415 else $as_nop
11416 ac_wine_try_cflags_saved=$CFLAGS
11417 ac_wine_try_cflags_saved_exeext=$ac_exeext
11418 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -fno-omit-frame-pointer"
11419 ac_exeext=".exe"
11420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11421 /* end confdefs.h. */
11422 void *__os_arm64x_dispatch_ret = 0;
11423 int __cdecl mainCRTStartup(void) { return 0; }
11424 _ACEOF
11425 if ac_fn_c_try_link "$LINENO"
11426 then :
11427 eval "$as_ac_var=yes"
11428 else $as_nop
11429 eval "$as_ac_var=no"
11431 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11432 conftest$ac_exeext conftest.$ac_ext
11433 CFLAGS=$ac_wine_try_cflags_saved
11434 ac_exeext=$ac_wine_try_cflags_saved_exeext
11436 eval ac_res=\$$as_ac_var
11437 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11438 printf "%s\n" "$ac_res" >&6; }
11439 if eval test \"x\$"$as_ac_var"\" = x"yes"
11440 then :
11441 as_fn_append ${wine_arch}_EXTRACFLAGS " -fno-omit-frame-pointer"
11442 fi }
11443 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wl,--disable-stdcall-fixup" | $as_tr_sh`
11444 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wl,--disable-stdcall-fixup" >&5
11445 printf %s "checking whether $CC supports -Wl,--disable-stdcall-fixup... " >&6; }
11446 if eval test \${$as_ac_var+y}
11447 then :
11448 printf %s "(cached) " >&6
11449 else $as_nop
11450 ac_wine_try_cflags_saved=$CFLAGS
11451 ac_wine_try_cflags_saved_exeext=$ac_exeext
11452 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wl,--disable-stdcall-fixup"
11453 ac_exeext=".exe"
11454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11455 /* end confdefs.h. */
11456 void *__os_arm64x_dispatch_ret = 0;
11457 int __cdecl mainCRTStartup(void) { return 0; }
11458 _ACEOF
11459 if ac_fn_c_try_link "$LINENO"
11460 then :
11461 eval "$as_ac_var=yes"
11462 else $as_nop
11463 eval "$as_ac_var=no"
11465 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11466 conftest$ac_exeext conftest.$ac_ext
11467 CFLAGS=$ac_wine_try_cflags_saved
11468 ac_exeext=$ac_wine_try_cflags_saved_exeext
11470 eval ac_res=\$$as_ac_var
11471 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11472 printf "%s\n" "$ac_res" >&6; }
11473 if eval test \"x\$"$as_ac_var"\" = x"yes"
11474 then :
11475 as_fn_append ${wine_arch}_LDFLAGS " -Wl,--disable-stdcall-fixup"
11476 fi } ;;
11477 x86_64) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wformat-overflow" | $as_tr_sh`
11478 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wformat-overflow" >&5
11479 printf %s "checking whether $CC supports -Wformat-overflow... " >&6; }
11480 if eval test \${$as_ac_var+y}
11481 then :
11482 printf %s "(cached) " >&6
11483 else $as_nop
11484 ac_wine_try_cflags_saved=$CFLAGS
11485 ac_wine_try_cflags_saved_exeext=$ac_exeext
11486 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wformat-overflow"
11487 ac_exeext=".exe"
11488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11489 /* end confdefs.h. */
11490 void *__os_arm64x_dispatch_ret = 0;
11491 int __cdecl mainCRTStartup(void) { return 0; }
11492 _ACEOF
11493 if ac_fn_c_try_link "$LINENO"
11494 then :
11495 eval "$as_ac_var=yes"
11496 else $as_nop
11497 eval "$as_ac_var=no"
11499 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11500 conftest$ac_exeext conftest.$ac_ext
11501 CFLAGS=$ac_wine_try_cflags_saved
11502 ac_exeext=$ac_wine_try_cflags_saved_exeext
11504 eval ac_res=\$$as_ac_var
11505 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11506 printf "%s\n" "$ac_res" >&6; }
11507 if eval test \"x\$"$as_ac_var"\" = x"yes"
11508 then :
11509 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wformat-overflow"
11510 fi }
11511 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wnonnull" | $as_tr_sh`
11512 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wnonnull" >&5
11513 printf %s "checking whether $CC supports -Wnonnull... " >&6; }
11514 if eval test \${$as_ac_var+y}
11515 then :
11516 printf %s "(cached) " >&6
11517 else $as_nop
11518 ac_wine_try_cflags_saved=$CFLAGS
11519 ac_wine_try_cflags_saved_exeext=$ac_exeext
11520 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wnonnull"
11521 ac_exeext=".exe"
11522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11523 /* end confdefs.h. */
11524 void *__os_arm64x_dispatch_ret = 0;
11525 int __cdecl mainCRTStartup(void) { return 0; }
11526 _ACEOF
11527 if ac_fn_c_try_link "$LINENO"
11528 then :
11529 eval "$as_ac_var=yes"
11530 else $as_nop
11531 eval "$as_ac_var=no"
11533 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11534 conftest$ac_exeext conftest.$ac_ext
11535 CFLAGS=$ac_wine_try_cflags_saved
11536 ac_exeext=$ac_wine_try_cflags_saved_exeext
11538 eval ac_res=\$$as_ac_var
11539 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11540 printf "%s\n" "$ac_res" >&6; }
11541 if eval test \"x\$"$as_ac_var"\" = x"yes"
11542 then :
11543 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wnonnull"
11544 fi }
11545 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-mcx16" | $as_tr_sh`
11546 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mcx16" >&5
11547 printf %s "checking whether $CC supports -mcx16... " >&6; }
11548 if eval test \${$as_ac_var+y}
11549 then :
11550 printf %s "(cached) " >&6
11551 else $as_nop
11552 ac_wine_try_cflags_saved=$CFLAGS
11553 ac_wine_try_cflags_saved_exeext=$ac_exeext
11554 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -mcx16"
11555 ac_exeext=".exe"
11556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11557 /* end confdefs.h. */
11558 void *__os_arm64x_dispatch_ret = 0;
11559 int __cdecl mainCRTStartup(void) { return 0; }
11560 _ACEOF
11561 if ac_fn_c_try_link "$LINENO"
11562 then :
11563 eval "$as_ac_var=yes"
11564 else $as_nop
11565 eval "$as_ac_var=no"
11567 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11568 conftest$ac_exeext conftest.$ac_ext
11569 CFLAGS=$ac_wine_try_cflags_saved
11570 ac_exeext=$ac_wine_try_cflags_saved_exeext
11572 eval ac_res=\$$as_ac_var
11573 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11574 printf "%s\n" "$ac_res" >&6; }
11575 if eval test \"x\$"$as_ac_var"\" = x"yes"
11576 then :
11577 as_fn_append ${wine_arch}_EXTRACFLAGS " -mcx16"
11578 fi }
11579 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-mcmodel=small" | $as_tr_sh`
11580 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mcmodel=small" >&5
11581 printf %s "checking whether $CC supports -mcmodel=small... " >&6; }
11582 if eval test \${$as_ac_var+y}
11583 then :
11584 printf %s "(cached) " >&6
11585 else $as_nop
11586 ac_wine_try_cflags_saved=$CFLAGS
11587 ac_wine_try_cflags_saved_exeext=$ac_exeext
11588 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -mcmodel=small"
11589 ac_exeext=".exe"
11590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11591 /* end confdefs.h. */
11592 void *__os_arm64x_dispatch_ret = 0;
11593 int __cdecl mainCRTStartup(void) { return 0; }
11594 _ACEOF
11595 if ac_fn_c_try_link "$LINENO"
11596 then :
11597 eval "$as_ac_var=yes"
11598 else $as_nop
11599 eval "$as_ac_var=no"
11601 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11602 conftest$ac_exeext conftest.$ac_ext
11603 CFLAGS=$ac_wine_try_cflags_saved
11604 ac_exeext=$ac_wine_try_cflags_saved_exeext
11606 eval ac_res=\$$as_ac_var
11607 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11608 printf "%s\n" "$ac_res" >&6; }
11609 if eval test \"x\$"$as_ac_var"\" = x"yes"
11610 then :
11611 as_fn_append ${wine_arch}_EXTRACFLAGS " -mcmodel=small"
11612 fi } ;;
11613 esac
11615 wine_crossdebug=$CROSSDEBUG
11616 if test -z "$wine_crossdebug"
11617 then
11618 for ac_flag in $CFLAGS; do
11619 case $ac_flag in
11620 -gdwarf*) wine_crossdebug=dwarf ;;
11621 -gcodeview) wine_crossdebug=pdb ;;
11622 -g) wine_crossdebug=${wine_crossdebug:-dwarf} ;;
11623 esac
11624 done
11627 ac_debug_format_seen=""
11628 for ac_flag in $CFLAGS; do
11629 case $ac_flag in
11630 -gdwarf*|-gcodeview) ac_debug_format_seen=$ac_flag ;;
11631 esac
11632 done
11633 if test "x$ac_debug_format_seen" = x
11634 then
11635 case $wine_crossdebug in
11636 *dwarf) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-gdwarf-4" | $as_tr_sh`
11637 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -gdwarf-4" >&5
11638 printf %s "checking whether $CC supports -gdwarf-4... " >&6; }
11639 if eval test \${$as_ac_var+y}
11640 then :
11641 printf %s "(cached) " >&6
11642 else $as_nop
11643 ac_wine_try_cflags_saved=$CFLAGS
11644 ac_wine_try_cflags_saved_exeext=$ac_exeext
11645 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -gdwarf-4"
11646 ac_exeext=".exe"
11647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11648 /* end confdefs.h. */
11649 void *__os_arm64x_dispatch_ret = 0;
11650 int __cdecl mainCRTStartup(void) { return 0; }
11651 _ACEOF
11652 if ac_fn_c_try_link "$LINENO"
11653 then :
11654 eval "$as_ac_var=yes"
11655 else $as_nop
11656 eval "$as_ac_var=no"
11658 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11659 conftest$ac_exeext conftest.$ac_ext
11660 CFLAGS=$ac_wine_try_cflags_saved
11661 ac_exeext=$ac_wine_try_cflags_saved_exeext
11663 eval ac_res=\$$as_ac_var
11664 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11665 printf "%s\n" "$ac_res" >&6; }
11666 if eval test \"x\$"$as_ac_var"\" = x"yes"
11667 then :
11668 as_fn_append ${wine_arch}_EXTRACFLAGS " -gdwarf-4"
11669 fi } ;;
11670 pdb) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-gcodeview" | $as_tr_sh`
11671 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -gcodeview" >&5
11672 printf %s "checking whether $CC supports -gcodeview... " >&6; }
11673 if eval test \${$as_ac_var+y}
11674 then :
11675 printf %s "(cached) " >&6
11676 else $as_nop
11677 ac_wine_try_cflags_saved=$CFLAGS
11678 ac_wine_try_cflags_saved_exeext=$ac_exeext
11679 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -gcodeview"
11680 ac_exeext=".exe"
11681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11682 /* end confdefs.h. */
11683 void *__os_arm64x_dispatch_ret = 0;
11684 int __cdecl mainCRTStartup(void) { return 0; }
11685 _ACEOF
11686 if ac_fn_c_try_link "$LINENO"
11687 then :
11688 eval "$as_ac_var=yes"
11689 else $as_nop
11690 eval "$as_ac_var=no"
11692 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11693 conftest$ac_exeext conftest.$ac_ext
11694 CFLAGS=$ac_wine_try_cflags_saved
11695 ac_exeext=$ac_wine_try_cflags_saved_exeext
11697 eval ac_res=\$$as_ac_var
11698 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11699 printf "%s\n" "$ac_res" >&6; }
11700 if eval test \"x\$"$as_ac_var"\" = x"yes"
11701 then :
11702 as_fn_append ${wine_arch}_EXTRACFLAGS " -gcodeview"
11703 fi } ;;
11704 esac
11706 eval "${wine_arch}_DEBUG=\$wine_crossdebug"
11708 test "x$enable_werror" != xyes || { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror" | $as_tr_sh`
11709 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror" >&5
11710 printf %s "checking whether $CC supports -Werror... " >&6; }
11711 if eval test \${$as_ac_var+y}
11712 then :
11713 printf %s "(cached) " >&6
11714 else $as_nop
11715 ac_wine_try_cflags_saved=$CFLAGS
11716 ac_wine_try_cflags_saved_exeext=$ac_exeext
11717 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Werror"
11718 ac_exeext=".exe"
11719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11720 /* end confdefs.h. */
11721 void *__os_arm64x_dispatch_ret = 0;
11722 int __cdecl mainCRTStartup(void) { return 0; }
11723 _ACEOF
11724 if ac_fn_c_try_link "$LINENO"
11725 then :
11726 eval "$as_ac_var=yes"
11727 else $as_nop
11728 eval "$as_ac_var=no"
11730 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11731 conftest$ac_exeext conftest.$ac_ext
11732 CFLAGS=$ac_wine_try_cflags_saved
11733 ac_exeext=$ac_wine_try_cflags_saved_exeext
11735 eval ac_res=\$$as_ac_var
11736 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11737 printf "%s\n" "$ac_res" >&6; }
11738 if eval test \"x\$"$as_ac_var"\" = x"yes"
11739 then :
11740 as_fn_append ${wine_arch}_EXTRACFLAGS " -Werror"
11741 fi }
11742 test "x$enable_build_id" != xyes || { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wl,--build-id" | $as_tr_sh`
11743 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wl,--build-id" >&5
11744 printf %s "checking whether $CC supports -Wl,--build-id... " >&6; }
11745 if eval test \${$as_ac_var+y}
11746 then :
11747 printf %s "(cached) " >&6
11748 else $as_nop
11749 ac_wine_try_cflags_saved=$CFLAGS
11750 ac_wine_try_cflags_saved_exeext=$ac_exeext
11751 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wl,--build-id"
11752 ac_exeext=".exe"
11753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11754 /* end confdefs.h. */
11755 void *__os_arm64x_dispatch_ret = 0;
11756 int __cdecl mainCRTStartup(void) { return 0; }
11757 _ACEOF
11758 if ac_fn_c_try_link "$LINENO"
11759 then :
11760 eval "$as_ac_var=yes"
11761 else $as_nop
11762 eval "$as_ac_var=no"
11764 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11765 conftest$ac_exeext conftest.$ac_ext
11766 CFLAGS=$ac_wine_try_cflags_saved
11767 ac_exeext=$ac_wine_try_cflags_saved_exeext
11769 eval ac_res=\$$as_ac_var
11770 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11771 printf "%s\n" "$ac_res" >&6; }
11772 if eval test \"x\$"$as_ac_var"\" = x"yes"
11773 then :
11774 as_fn_append ${wine_arch}_CFLAGS " -Wl,--build-id"
11775 as_fn_append ${wine_arch}_LDFLAGS " -Wl,--build-id"
11776 fi }
11778 CC=$saved_CC
11779 CFLAGS=$saved_CFLAGS
11780 LDFLAGS=$saved_LDFLAGS
11781 done
11783 if test $HOST_ARCH = aarch64
11784 then
11785 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
11786 DLLEXT=""
11790 if test "x$with_system_dllpath" != "x" -a -n "$PE_ARCHS"
11791 then
11792 if test "x$HOST_ARCH" = xi386
11793 then :
11794 ac_prefix_list="i686-w64-mingw32-pkg-config i586-w64-mingw32-pkg-config i486-w64-mingw32-pkg-config i386-w64-mingw32-pkg-config "
11795 else $as_nop
11796 ac_prefix_list="$host_cpu-w64-mingw32-pkg-config"
11798 for ac_prog in $ac_prefix_list
11800 # Extract the first word of "$ac_prog", so it can be a program name with args.
11801 set dummy $ac_prog; ac_word=$2
11802 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11803 printf %s "checking for $ac_word... " >&6; }
11804 if test ${ac_cv_prog_MINGW_PKG_CONFIG+y}
11805 then :
11806 printf %s "(cached) " >&6
11807 else $as_nop
11808 if test -n "$MINGW_PKG_CONFIG"; then
11809 ac_cv_prog_MINGW_PKG_CONFIG="$MINGW_PKG_CONFIG" # Let the user override the test.
11810 else
11811 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11812 for as_dir in $PATH
11814 IFS=$as_save_IFS
11815 case $as_dir in #(((
11816 '') as_dir=./ ;;
11817 */) ;;
11818 *) as_dir=$as_dir/ ;;
11819 esac
11820 for ac_exec_ext in '' $ac_executable_extensions; do
11821 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
11822 ac_cv_prog_MINGW_PKG_CONFIG="$ac_prog"
11823 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
11824 break 2
11826 done
11827 done
11828 IFS=$as_save_IFS
11832 MINGW_PKG_CONFIG=$ac_cv_prog_MINGW_PKG_CONFIG
11833 if test -n "$MINGW_PKG_CONFIG"; then
11834 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MINGW_PKG_CONFIG" >&5
11835 printf "%s\n" "$MINGW_PKG_CONFIG" >&6; }
11836 else
11837 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11838 printf "%s\n" "no" >&6; }
11842 test -n "$MINGW_PKG_CONFIG" && break
11843 done
11844 test -n "$MINGW_PKG_CONFIG" || MINGW_PKG_CONFIG="false"
11846 if ${FAUDIO_PE_CFLAGS:+false} :
11847 then :
11848 if test ${MINGW_PKG_CONFIG+y}
11849 then :
11850 FAUDIO_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags FAudio 2>/dev/null`
11853 if ${FAUDIO_PE_LIBS:+false} :
11854 then :
11855 if test ${MINGW_PKG_CONFIG+y}
11856 then :
11857 FAUDIO_PE_LIBS=`$MINGW_PKG_CONFIG --libs FAudio 2>/dev/null`
11860 FAUDIO_PE_LIBS=${FAUDIO_PE_LIBS:-"-lFAudio"}
11861 ac_save_CPPFLAGS=$CPPFLAGS
11862 CPPFLAGS="$CPPFLAGS $FAUDIO_PE_CFLAGS"
11863 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW FAudio.h" >&5
11864 printf %s "checking for MinGW FAudio.h... " >&6; }
11865 if test ${ac_cv_mingw_header_FAudio_h+y}
11866 then :
11867 printf %s "(cached) " >&6
11868 else $as_nop
11869 ac_wine_check_headers_saved_cc=$CC
11870 ac_wine_check_headers_saved_exeext=$ac_exeext
11871 eval CC=\$${wine_arch}_CC
11872 ac_exeext=".exe"
11873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11874 /* end confdefs.h. */
11876 #include <FAudio.h>
11878 main (void)
11882 return 0;
11884 _ACEOF
11885 if ac_fn_c_try_compile "$LINENO"
11886 then :
11887 ac_cv_mingw_header_FAudio_h=yes
11888 else $as_nop
11889 ac_cv_mingw_header_FAudio_h=no
11891 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
11892 CC=$ac_wine_check_headers_saved_cc
11893 ac_exeext=$ac_wine_check_headers_saved_exeext
11895 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_FAudio_h" >&5
11896 printf "%s\n" "$ac_cv_mingw_header_FAudio_h" >&6; }
11897 if test "x$ac_cv_mingw_header_FAudio_h" = xyes
11898 then :
11899 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for FAudio_CommitOperationSet in MinGW -lFAudio" >&5
11900 printf %s "checking for FAudio_CommitOperationSet in MinGW -lFAudio... " >&6; }
11901 if test ${ac_cv_mingw_lib_FAudio+y}
11902 then :
11903 printf %s "(cached) " >&6
11904 else $as_nop
11905 ac_wine_check_headers_saved_cc=$CC
11906 ac_wine_check_headers_saved_exeext=$ac_exeext
11907 ac_wine_check_headers_saved_libs=$LIBS
11908 eval CC=\$${wine_arch}_CC
11909 ac_exeext=".exe"
11910 LIBS="-lFAudio $FAUDIO_PE_LIBS $LIBS"
11911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11912 /* end confdefs.h. */
11914 /* Override any GCC internal prototype to avoid an error.
11915 Use char because int might match the return type of a GCC
11916 builtin and then its argument prototype would still apply. */
11917 char FAudio_CommitOperationSet ();
11919 main (void)
11921 return FAudio_CommitOperationSet ();
11923 return 0;
11925 _ACEOF
11926 if ac_fn_c_try_link "$LINENO"
11927 then :
11928 ac_cv_mingw_lib_FAudio=yes
11929 else $as_nop
11930 ac_cv_mingw_lib_FAudio=no
11932 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11933 conftest$ac_exeext conftest.$ac_ext
11934 CC=$ac_wine_check_headers_saved_cc
11935 ac_exeext=$ac_wine_check_headers_saved_exeext
11936 LIBS=$ac_wine_check_headers_saved_libs
11938 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_FAudio" >&5
11939 printf "%s\n" "$ac_cv_mingw_lib_FAudio" >&6; }
11940 if test "x$ac_cv_mingw_lib_FAudio" = xyes
11941 then :
11943 else $as_nop
11944 FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
11946 else $as_nop
11947 FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
11949 CPPFLAGS=$ac_save_CPPFLAGS
11951 if test "x$FAUDIO_PE_LIBS" = "x"
11952 then
11953 as_fn_append wine_notices "|FAudio ${notice_platform}MinGW development files not found (or too old); using bundled version."
11956 if ${FLUIDSYNTH_PE_CFLAGS:+false} :
11957 then :
11958 if test ${MINGW_PKG_CONFIG+y}
11959 then :
11960 FLUIDSYNTH_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags fluidsynth 2>/dev/null`
11963 if ${FLUIDSYNTH_PE_LIBS:+false} :
11964 then :
11965 if test ${MINGW_PKG_CONFIG+y}
11966 then :
11967 FLUIDSYNTH_PE_LIBS=`$MINGW_PKG_CONFIG --libs fluidsynth 2>/dev/null`
11970 FLUIDSYNTH_PE_LIBS=${FLUIDSYNTH_PE_LIBS:-"-lfluidsynth"}
11971 ac_save_CPPFLAGS=$CPPFLAGS
11972 CPPFLAGS="$CPPFLAGS $FLUIDSYNTH_PE_CFLAGS"
11973 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW fluidsynth.h" >&5
11974 printf %s "checking for MinGW fluidsynth.h... " >&6; }
11975 if test ${ac_cv_mingw_header_fluidsynth_h+y}
11976 then :
11977 printf %s "(cached) " >&6
11978 else $as_nop
11979 ac_wine_check_headers_saved_cc=$CC
11980 ac_wine_check_headers_saved_exeext=$ac_exeext
11981 eval CC=\$${wine_arch}_CC
11982 ac_exeext=".exe"
11983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11984 /* end confdefs.h. */
11986 #include <fluidsynth.h>
11988 main (void)
11992 return 0;
11994 _ACEOF
11995 if ac_fn_c_try_compile "$LINENO"
11996 then :
11997 ac_cv_mingw_header_fluidsynth_h=yes
11998 else $as_nop
11999 ac_cv_mingw_header_fluidsynth_h=no
12001 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12002 CC=$ac_wine_check_headers_saved_cc
12003 ac_exeext=$ac_wine_check_headers_saved_exeext
12005 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_fluidsynth_h" >&5
12006 printf "%s\n" "$ac_cv_mingw_header_fluidsynth_h" >&6; }
12007 if test "x$ac_cv_mingw_header_fluidsynth_h" = xyes
12008 then :
12009 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for new_fluid_synth in MinGW -lfluidsynth" >&5
12010 printf %s "checking for new_fluid_synth in MinGW -lfluidsynth... " >&6; }
12011 if test ${ac_cv_mingw_lib_fluidsynth+y}
12012 then :
12013 printf %s "(cached) " >&6
12014 else $as_nop
12015 ac_wine_check_headers_saved_cc=$CC
12016 ac_wine_check_headers_saved_exeext=$ac_exeext
12017 ac_wine_check_headers_saved_libs=$LIBS
12018 eval CC=\$${wine_arch}_CC
12019 ac_exeext=".exe"
12020 LIBS="-lfluidsynth $FLUIDSYNTH_PE_LIBS $LIBS"
12021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12022 /* end confdefs.h. */
12024 /* Override any GCC internal prototype to avoid an error.
12025 Use char because int might match the return type of a GCC
12026 builtin and then its argument prototype would still apply. */
12027 char new_fluid_synth ();
12029 main (void)
12031 return new_fluid_synth ();
12033 return 0;
12035 _ACEOF
12036 if ac_fn_c_try_link "$LINENO"
12037 then :
12038 ac_cv_mingw_lib_fluidsynth=yes
12039 else $as_nop
12040 ac_cv_mingw_lib_fluidsynth=no
12042 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12043 conftest$ac_exeext conftest.$ac_ext
12044 CC=$ac_wine_check_headers_saved_cc
12045 ac_exeext=$ac_wine_check_headers_saved_exeext
12046 LIBS=$ac_wine_check_headers_saved_libs
12048 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_fluidsynth" >&5
12049 printf "%s\n" "$ac_cv_mingw_lib_fluidsynth" >&6; }
12050 if test "x$ac_cv_mingw_lib_fluidsynth" = xyes
12051 then :
12053 else $as_nop
12054 FLUIDSYNTH_PE_CFLAGS=""; FLUIDSYNTH_PE_LIBS=""
12056 else $as_nop
12057 FLUIDSYNTH_PE_CFLAGS=""; FLUIDSYNTH_PE_LIBS=""
12059 CPPFLAGS=$ac_save_CPPFLAGS
12061 if test "x$FLUIDSYNTH_PE_LIBS" = "x"
12062 then
12063 as_fn_append wine_notices "|Fluidsynth ${notice_platform}MinGW development files not found (or too old); using bundled version."
12066 if ${JPEG_PE_CFLAGS:+false} :
12067 then :
12068 if test ${MINGW_PKG_CONFIG+y}
12069 then :
12070 JPEG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libjpeg 2>/dev/null`
12073 if ${JPEG_PE_LIBS:+false} :
12074 then :
12075 if test ${MINGW_PKG_CONFIG+y}
12076 then :
12077 JPEG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libjpeg 2>/dev/null`
12081 ac_save_CPPFLAGS=$CPPFLAGS
12082 CPPFLAGS="$CPPFLAGS $JPEG_PE_CFLAGS"
12083 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW jpeglib.h" >&5
12084 printf %s "checking for MinGW jpeglib.h... " >&6; }
12085 if test ${ac_cv_mingw_header_jpeglib_h+y}
12086 then :
12087 printf %s "(cached) " >&6
12088 else $as_nop
12089 ac_wine_check_headers_saved_cc=$CC
12090 ac_wine_check_headers_saved_exeext=$ac_exeext
12091 eval CC=\$${wine_arch}_CC
12092 ac_exeext=".exe"
12093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12094 /* end confdefs.h. */
12095 #include <stddef.h>
12096 #include <stdio.h>
12097 #include <jpeglib.h>
12099 main (void)
12103 return 0;
12105 _ACEOF
12106 if ac_fn_c_try_compile "$LINENO"
12107 then :
12108 ac_cv_mingw_header_jpeglib_h=yes
12109 else $as_nop
12110 ac_cv_mingw_header_jpeglib_h=no
12112 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12113 CC=$ac_wine_check_headers_saved_cc
12114 ac_exeext=$ac_wine_check_headers_saved_exeext
12116 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_jpeglib_h" >&5
12117 printf "%s\n" "$ac_cv_mingw_header_jpeglib_h" >&6; }
12118 if test "x$ac_cv_mingw_header_jpeglib_h" = xyes
12119 then :
12120 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for jpeg_start_decompress in MinGW -ljpeg" >&5
12121 printf %s "checking for jpeg_start_decompress in MinGW -ljpeg... " >&6; }
12122 if test ${ac_cv_mingw_lib_jpeg+y}
12123 then :
12124 printf %s "(cached) " >&6
12125 else $as_nop
12126 ac_wine_check_headers_saved_cc=$CC
12127 ac_wine_check_headers_saved_exeext=$ac_exeext
12128 ac_wine_check_headers_saved_libs=$LIBS
12129 eval CC=\$${wine_arch}_CC
12130 ac_exeext=".exe"
12131 LIBS="-ljpeg $JPEG_PE_LIBS $LIBS"
12132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12133 /* end confdefs.h. */
12135 /* Override any GCC internal prototype to avoid an error.
12136 Use char because int might match the return type of a GCC
12137 builtin and then its argument prototype would still apply. */
12138 char jpeg_start_decompress ();
12140 main (void)
12142 return jpeg_start_decompress ();
12144 return 0;
12146 _ACEOF
12147 if ac_fn_c_try_link "$LINENO"
12148 then :
12149 ac_cv_mingw_lib_jpeg=yes
12150 else $as_nop
12151 ac_cv_mingw_lib_jpeg=no
12153 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12154 conftest$ac_exeext conftest.$ac_ext
12155 CC=$ac_wine_check_headers_saved_cc
12156 ac_exeext=$ac_wine_check_headers_saved_exeext
12157 LIBS=$ac_wine_check_headers_saved_libs
12159 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_jpeg" >&5
12160 printf "%s\n" "$ac_cv_mingw_lib_jpeg" >&6; }
12161 if test "x$ac_cv_mingw_lib_jpeg" = xyes
12162 then :
12164 else $as_nop
12165 JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
12167 else $as_nop
12168 JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
12170 CPPFLAGS=$ac_save_CPPFLAGS
12172 if test "x$JPEG_PE_LIBS" = "x"
12173 then
12174 as_fn_append wine_notices "|libjpeg ${notice_platform}MinGW development files not found; using bundled version."
12177 if ${LCMS2_PE_CFLAGS:+false} :
12178 then :
12179 if test ${MINGW_PKG_CONFIG+y}
12180 then :
12181 LCMS2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags lcms2 2>/dev/null`
12184 if ${LCMS2_PE_LIBS:+false} :
12185 then :
12186 if test ${MINGW_PKG_CONFIG+y}
12187 then :
12188 LCMS2_PE_LIBS=`$MINGW_PKG_CONFIG --libs lcms2 2>/dev/null`
12191 LCMS2_PE_LIBS=${LCMS2_PE_LIBS:-"-llcms2"}
12192 ac_save_CPPFLAGS=$CPPFLAGS
12193 CPPFLAGS="$CPPFLAGS $LCMS2_PE_CFLAGS"
12194 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW lcms2.h" >&5
12195 printf %s "checking for MinGW lcms2.h... " >&6; }
12196 if test ${ac_cv_mingw_header_lcms2_h+y}
12197 then :
12198 printf %s "(cached) " >&6
12199 else $as_nop
12200 ac_wine_check_headers_saved_cc=$CC
12201 ac_wine_check_headers_saved_exeext=$ac_exeext
12202 eval CC=\$${wine_arch}_CC
12203 ac_exeext=".exe"
12204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12205 /* end confdefs.h. */
12207 #include <lcms2.h>
12209 main (void)
12213 return 0;
12215 _ACEOF
12216 if ac_fn_c_try_compile "$LINENO"
12217 then :
12218 ac_cv_mingw_header_lcms2_h=yes
12219 else $as_nop
12220 ac_cv_mingw_header_lcms2_h=no
12222 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12223 CC=$ac_wine_check_headers_saved_cc
12224 ac_exeext=$ac_wine_check_headers_saved_exeext
12226 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_lcms2_h" >&5
12227 printf "%s\n" "$ac_cv_mingw_header_lcms2_h" >&6; }
12228 if test "x$ac_cv_mingw_header_lcms2_h" = xyes
12229 then :
12230 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in MinGW -llcms2" >&5
12231 printf %s "checking for cmsOpenProfileFromFile in MinGW -llcms2... " >&6; }
12232 if test ${ac_cv_mingw_lib_lcms2+y}
12233 then :
12234 printf %s "(cached) " >&6
12235 else $as_nop
12236 ac_wine_check_headers_saved_cc=$CC
12237 ac_wine_check_headers_saved_exeext=$ac_exeext
12238 ac_wine_check_headers_saved_libs=$LIBS
12239 eval CC=\$${wine_arch}_CC
12240 ac_exeext=".exe"
12241 LIBS="-llcms2 $LCMS2_PE_LIBS $LIBS"
12242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12243 /* end confdefs.h. */
12245 /* Override any GCC internal prototype to avoid an error.
12246 Use char because int might match the return type of a GCC
12247 builtin and then its argument prototype would still apply. */
12248 char cmsOpenProfileFromFile ();
12250 main (void)
12252 return cmsOpenProfileFromFile ();
12254 return 0;
12256 _ACEOF
12257 if ac_fn_c_try_link "$LINENO"
12258 then :
12259 ac_cv_mingw_lib_lcms2=yes
12260 else $as_nop
12261 ac_cv_mingw_lib_lcms2=no
12263 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12264 conftest$ac_exeext conftest.$ac_ext
12265 CC=$ac_wine_check_headers_saved_cc
12266 ac_exeext=$ac_wine_check_headers_saved_exeext
12267 LIBS=$ac_wine_check_headers_saved_libs
12269 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_lcms2" >&5
12270 printf "%s\n" "$ac_cv_mingw_lib_lcms2" >&6; }
12271 if test "x$ac_cv_mingw_lib_lcms2" = xyes
12272 then :
12274 else $as_nop
12275 LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
12277 else $as_nop
12278 LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
12280 CPPFLAGS=$ac_save_CPPFLAGS
12282 if test "x$LCMS2_PE_LIBS" = "x"
12283 then
12284 as_fn_append wine_notices "|liblcms2 ${notice_platform}MinGW development files not found; using bundled version."
12287 if ${MPG123_PE_CFLAGS:+false} :
12288 then :
12289 if test ${MINGW_PKG_CONFIG+y}
12290 then :
12291 MPG123_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libmpg123 2>/dev/null`
12294 if ${MPG123_PE_LIBS:+false} :
12295 then :
12296 if test ${MINGW_PKG_CONFIG+y}
12297 then :
12298 MPG123_PE_LIBS=`$MINGW_PKG_CONFIG --libs libmpg123 2>/dev/null`
12301 MPG123_PE_LIBS=${MPG123_PE_LIBS:-"-lmpg123"}
12302 ac_save_CPPFLAGS=$CPPFLAGS
12303 CPPFLAGS="$CPPFLAGS $MPG123_PE_CFLAGS"
12304 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW mpg123.h" >&5
12305 printf %s "checking for MinGW mpg123.h... " >&6; }
12306 if test ${ac_cv_mingw_header_mpg123_h+y}
12307 then :
12308 printf %s "(cached) " >&6
12309 else $as_nop
12310 ac_wine_check_headers_saved_cc=$CC
12311 ac_wine_check_headers_saved_exeext=$ac_exeext
12312 eval CC=\$${wine_arch}_CC
12313 ac_exeext=".exe"
12314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12315 /* end confdefs.h. */
12317 #include <mpg123.h>
12319 main (void)
12323 return 0;
12325 _ACEOF
12326 if ac_fn_c_try_compile "$LINENO"
12327 then :
12328 ac_cv_mingw_header_mpg123_h=yes
12329 else $as_nop
12330 ac_cv_mingw_header_mpg123_h=no
12332 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12333 CC=$ac_wine_check_headers_saved_cc
12334 ac_exeext=$ac_wine_check_headers_saved_exeext
12336 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_mpg123_h" >&5
12337 printf "%s\n" "$ac_cv_mingw_header_mpg123_h" >&6; }
12338 if test "x$ac_cv_mingw_header_mpg123_h" = xyes
12339 then :
12340 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in MinGW -lmpg123" >&5
12341 printf %s "checking for mpg123_feed in MinGW -lmpg123... " >&6; }
12342 if test ${ac_cv_mingw_lib_mpg123+y}
12343 then :
12344 printf %s "(cached) " >&6
12345 else $as_nop
12346 ac_wine_check_headers_saved_cc=$CC
12347 ac_wine_check_headers_saved_exeext=$ac_exeext
12348 ac_wine_check_headers_saved_libs=$LIBS
12349 eval CC=\$${wine_arch}_CC
12350 ac_exeext=".exe"
12351 LIBS="-lmpg123 $MPG123_PE_LIBS $LIBS"
12352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12353 /* end confdefs.h. */
12355 /* Override any GCC internal prototype to avoid an error.
12356 Use char because int might match the return type of a GCC
12357 builtin and then its argument prototype would still apply. */
12358 char mpg123_feed ();
12360 main (void)
12362 return mpg123_feed ();
12364 return 0;
12366 _ACEOF
12367 if ac_fn_c_try_link "$LINENO"
12368 then :
12369 ac_cv_mingw_lib_mpg123=yes
12370 else $as_nop
12371 ac_cv_mingw_lib_mpg123=no
12373 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12374 conftest$ac_exeext conftest.$ac_ext
12375 CC=$ac_wine_check_headers_saved_cc
12376 ac_exeext=$ac_wine_check_headers_saved_exeext
12377 LIBS=$ac_wine_check_headers_saved_libs
12379 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_mpg123" >&5
12380 printf "%s\n" "$ac_cv_mingw_lib_mpg123" >&6; }
12381 if test "x$ac_cv_mingw_lib_mpg123" = xyes
12382 then :
12384 else $as_nop
12385 MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
12387 else $as_nop
12388 MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
12390 CPPFLAGS=$ac_save_CPPFLAGS
12392 if test "x$MPG123_PE_LIBS" = "x"
12393 then
12394 as_fn_append wine_notices "|libmpg123 ${notice_platform}MinGW development files not found (or too old); using bundled version."
12397 if ${PNG_PE_CFLAGS:+false} :
12398 then :
12399 if test ${MINGW_PKG_CONFIG+y}
12400 then :
12401 PNG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libpng 2>/dev/null`
12404 if ${PNG_PE_LIBS:+false} :
12405 then :
12406 if test ${MINGW_PKG_CONFIG+y}
12407 then :
12408 PNG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libpng 2>/dev/null`
12412 ac_save_CPPFLAGS=$CPPFLAGS
12413 CPPFLAGS="$CPPFLAGS $PNG_PE_CFLAGS"
12414 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW png.h" >&5
12415 printf %s "checking for MinGW png.h... " >&6; }
12416 if test ${ac_cv_mingw_header_png_h+y}
12417 then :
12418 printf %s "(cached) " >&6
12419 else $as_nop
12420 ac_wine_check_headers_saved_cc=$CC
12421 ac_wine_check_headers_saved_exeext=$ac_exeext
12422 eval CC=\$${wine_arch}_CC
12423 ac_exeext=".exe"
12424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12425 /* end confdefs.h. */
12427 #include <png.h>
12429 main (void)
12433 return 0;
12435 _ACEOF
12436 if ac_fn_c_try_compile "$LINENO"
12437 then :
12438 ac_cv_mingw_header_png_h=yes
12439 else $as_nop
12440 ac_cv_mingw_header_png_h=no
12442 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12443 CC=$ac_wine_check_headers_saved_cc
12444 ac_exeext=$ac_wine_check_headers_saved_exeext
12446 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_png_h" >&5
12447 printf "%s\n" "$ac_cv_mingw_header_png_h" >&6; }
12448 if test "x$ac_cv_mingw_header_png_h" = xyes
12449 then :
12450 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for png_create_read_struct in MinGW -lpng" >&5
12451 printf %s "checking for png_create_read_struct in MinGW -lpng... " >&6; }
12452 if test ${ac_cv_mingw_lib_png+y}
12453 then :
12454 printf %s "(cached) " >&6
12455 else $as_nop
12456 ac_wine_check_headers_saved_cc=$CC
12457 ac_wine_check_headers_saved_exeext=$ac_exeext
12458 ac_wine_check_headers_saved_libs=$LIBS
12459 eval CC=\$${wine_arch}_CC
12460 ac_exeext=".exe"
12461 LIBS="-lpng $PNG_PE_LIBS $LIBS"
12462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12463 /* end confdefs.h. */
12465 /* Override any GCC internal prototype to avoid an error.
12466 Use char because int might match the return type of a GCC
12467 builtin and then its argument prototype would still apply. */
12468 char png_create_read_struct ();
12470 main (void)
12472 return png_create_read_struct ();
12474 return 0;
12476 _ACEOF
12477 if ac_fn_c_try_link "$LINENO"
12478 then :
12479 ac_cv_mingw_lib_png=yes
12480 else $as_nop
12481 ac_cv_mingw_lib_png=no
12483 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12484 conftest$ac_exeext conftest.$ac_ext
12485 CC=$ac_wine_check_headers_saved_cc
12486 ac_exeext=$ac_wine_check_headers_saved_exeext
12487 LIBS=$ac_wine_check_headers_saved_libs
12489 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_png" >&5
12490 printf "%s\n" "$ac_cv_mingw_lib_png" >&6; }
12491 if test "x$ac_cv_mingw_lib_png" = xyes
12492 then :
12494 else $as_nop
12495 PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
12497 else $as_nop
12498 PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
12500 CPPFLAGS=$ac_save_CPPFLAGS
12502 if test "x$PNG_PE_LIBS" = "x"
12503 then
12504 as_fn_append wine_notices "|libpng ${notice_platform}MinGW development files not found; using bundled version."
12507 if ${TIFF_PE_CFLAGS:+false} :
12508 then :
12509 if test ${MINGW_PKG_CONFIG+y}
12510 then :
12511 TIFF_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libtiff-4 2>/dev/null`
12514 if ${TIFF_PE_LIBS:+false} :
12515 then :
12516 if test ${MINGW_PKG_CONFIG+y}
12517 then :
12518 TIFF_PE_LIBS=`$MINGW_PKG_CONFIG --libs libtiff-4 2>/dev/null`
12522 ac_save_CPPFLAGS=$CPPFLAGS
12523 CPPFLAGS="$CPPFLAGS $TIFF_PE_CFLAGS"
12524 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW tiffio.h" >&5
12525 printf %s "checking for MinGW tiffio.h... " >&6; }
12526 if test ${ac_cv_mingw_header_tiffio_h+y}
12527 then :
12528 printf %s "(cached) " >&6
12529 else $as_nop
12530 ac_wine_check_headers_saved_cc=$CC
12531 ac_wine_check_headers_saved_exeext=$ac_exeext
12532 eval CC=\$${wine_arch}_CC
12533 ac_exeext=".exe"
12534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12535 /* end confdefs.h. */
12537 #include <tiffio.h>
12539 main (void)
12543 return 0;
12545 _ACEOF
12546 if ac_fn_c_try_compile "$LINENO"
12547 then :
12548 ac_cv_mingw_header_tiffio_h=yes
12549 else $as_nop
12550 ac_cv_mingw_header_tiffio_h=no
12552 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12553 CC=$ac_wine_check_headers_saved_cc
12554 ac_exeext=$ac_wine_check_headers_saved_exeext
12556 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_tiffio_h" >&5
12557 printf "%s\n" "$ac_cv_mingw_header_tiffio_h" >&6; }
12558 if test "x$ac_cv_mingw_header_tiffio_h" = xyes
12559 then :
12560 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for TIFFClientOpen in MinGW -ltiff" >&5
12561 printf %s "checking for TIFFClientOpen in MinGW -ltiff... " >&6; }
12562 if test ${ac_cv_mingw_lib_tiff+y}
12563 then :
12564 printf %s "(cached) " >&6
12565 else $as_nop
12566 ac_wine_check_headers_saved_cc=$CC
12567 ac_wine_check_headers_saved_exeext=$ac_exeext
12568 ac_wine_check_headers_saved_libs=$LIBS
12569 eval CC=\$${wine_arch}_CC
12570 ac_exeext=".exe"
12571 LIBS="-ltiff $TIFF_PE_LIBS $LIBS"
12572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12573 /* end confdefs.h. */
12575 /* Override any GCC internal prototype to avoid an error.
12576 Use char because int might match the return type of a GCC
12577 builtin and then its argument prototype would still apply. */
12578 char TIFFClientOpen ();
12580 main (void)
12582 return TIFFClientOpen ();
12584 return 0;
12586 _ACEOF
12587 if ac_fn_c_try_link "$LINENO"
12588 then :
12589 ac_cv_mingw_lib_tiff=yes
12590 else $as_nop
12591 ac_cv_mingw_lib_tiff=no
12593 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12594 conftest$ac_exeext conftest.$ac_ext
12595 CC=$ac_wine_check_headers_saved_cc
12596 ac_exeext=$ac_wine_check_headers_saved_exeext
12597 LIBS=$ac_wine_check_headers_saved_libs
12599 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_tiff" >&5
12600 printf "%s\n" "$ac_cv_mingw_lib_tiff" >&6; }
12601 if test "x$ac_cv_mingw_lib_tiff" = xyes
12602 then :
12604 else $as_nop
12605 TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
12607 else $as_nop
12608 TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
12610 CPPFLAGS=$ac_save_CPPFLAGS
12612 if test "x$TIFF_PE_LIBS" = "x"
12613 then
12614 as_fn_append wine_notices "|libtiff ${notice_platform}MinGW development files not found; using bundled version."
12617 if ${XML2_PE_CFLAGS:+false} :
12618 then :
12619 if test ${MINGW_PKG_CONFIG+y}
12620 then :
12621 XML2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
12624 if ${XML2_PE_LIBS:+false} :
12625 then :
12626 if test ${MINGW_PKG_CONFIG+y}
12627 then :
12628 XML2_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxml-2.0 2>/dev/null`
12631 XML2_PE_LIBS=${XML2_PE_LIBS:-"-lxml2"}
12632 ac_save_CPPFLAGS=$CPPFLAGS
12633 CPPFLAGS="$CPPFLAGS $XML2_PE_CFLAGS"
12634 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/parser.h" >&5
12635 printf %s "checking for MinGW libxml/parser.h... " >&6; }
12636 if test ${ac_cv_mingw_header_libxml_parser_h+y}
12637 then :
12638 printf %s "(cached) " >&6
12639 else $as_nop
12640 ac_wine_check_headers_saved_cc=$CC
12641 ac_wine_check_headers_saved_exeext=$ac_exeext
12642 eval CC=\$${wine_arch}_CC
12643 ac_exeext=".exe"
12644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12645 /* end confdefs.h. */
12647 #include <libxml/parser.h>
12649 main (void)
12653 return 0;
12655 _ACEOF
12656 if ac_fn_c_try_compile "$LINENO"
12657 then :
12658 ac_cv_mingw_header_libxml_parser_h=yes
12659 else $as_nop
12660 ac_cv_mingw_header_libxml_parser_h=no
12662 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12663 CC=$ac_wine_check_headers_saved_cc
12664 ac_exeext=$ac_wine_check_headers_saved_exeext
12666 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_parser_h" >&5
12667 printf "%s\n" "$ac_cv_mingw_header_libxml_parser_h" >&6; }
12668 if test "x$ac_cv_mingw_header_libxml_parser_h" = xyes
12669 then :
12672 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/xmlsave.h" >&5
12673 printf %s "checking for MinGW libxml/xmlsave.h... " >&6; }
12674 if test ${ac_cv_mingw_header_libxml_xmlsave_h+y}
12675 then :
12676 printf %s "(cached) " >&6
12677 else $as_nop
12678 ac_wine_check_headers_saved_cc=$CC
12679 ac_wine_check_headers_saved_exeext=$ac_exeext
12680 eval CC=\$${wine_arch}_CC
12681 ac_exeext=".exe"
12682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12683 /* end confdefs.h. */
12685 #include <libxml/xmlsave.h>
12687 main (void)
12691 return 0;
12693 _ACEOF
12694 if ac_fn_c_try_compile "$LINENO"
12695 then :
12696 ac_cv_mingw_header_libxml_xmlsave_h=yes
12697 else $as_nop
12698 ac_cv_mingw_header_libxml_xmlsave_h=no
12700 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12701 CC=$ac_wine_check_headers_saved_cc
12702 ac_exeext=$ac_wine_check_headers_saved_exeext
12704 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_xmlsave_h" >&5
12705 printf "%s\n" "$ac_cv_mingw_header_libxml_xmlsave_h" >&6; }
12706 if test "x$ac_cv_mingw_header_libxml_xmlsave_h" = xyes
12707 then :
12710 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/SAX2.h" >&5
12711 printf %s "checking for MinGW libxml/SAX2.h... " >&6; }
12712 if test ${ac_cv_mingw_header_libxml_SAX2_h+y}
12713 then :
12714 printf %s "(cached) " >&6
12715 else $as_nop
12716 ac_wine_check_headers_saved_cc=$CC
12717 ac_wine_check_headers_saved_exeext=$ac_exeext
12718 eval CC=\$${wine_arch}_CC
12719 ac_exeext=".exe"
12720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12721 /* end confdefs.h. */
12723 #include <libxml/SAX2.h>
12725 main (void)
12729 return 0;
12731 _ACEOF
12732 if ac_fn_c_try_compile "$LINENO"
12733 then :
12734 ac_cv_mingw_header_libxml_SAX2_h=yes
12735 else $as_nop
12736 ac_cv_mingw_header_libxml_SAX2_h=no
12738 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12739 CC=$ac_wine_check_headers_saved_cc
12740 ac_exeext=$ac_wine_check_headers_saved_exeext
12742 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_SAX2_h" >&5
12743 printf "%s\n" "$ac_cv_mingw_header_libxml_SAX2_h" >&6; }
12744 if test "x$ac_cv_mingw_header_libxml_SAX2_h" = xyes
12745 then :
12748 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"
12749 then
12750 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in MinGW -lxml2" >&5
12751 printf %s "checking for xmlFirstElementChild in MinGW -lxml2... " >&6; }
12752 if test ${ac_cv_mingw_lib_xml2+y}
12753 then :
12754 printf %s "(cached) " >&6
12755 else $as_nop
12756 ac_wine_check_headers_saved_cc=$CC
12757 ac_wine_check_headers_saved_exeext=$ac_exeext
12758 ac_wine_check_headers_saved_libs=$LIBS
12759 eval CC=\$${wine_arch}_CC
12760 ac_exeext=".exe"
12761 LIBS="-lxml2 $XML2_PE_LIBS $LIBS"
12762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12763 /* end confdefs.h. */
12765 /* Override any GCC internal prototype to avoid an error.
12766 Use char because int might match the return type of a GCC
12767 builtin and then its argument prototype would still apply. */
12768 char xmlFirstElementChild ();
12770 main (void)
12772 return xmlFirstElementChild ();
12774 return 0;
12776 _ACEOF
12777 if ac_fn_c_try_link "$LINENO"
12778 then :
12779 ac_cv_mingw_lib_xml2=yes
12780 else $as_nop
12781 ac_cv_mingw_lib_xml2=no
12783 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12784 conftest$ac_exeext conftest.$ac_ext
12785 CC=$ac_wine_check_headers_saved_cc
12786 ac_exeext=$ac_wine_check_headers_saved_exeext
12787 LIBS=$ac_wine_check_headers_saved_libs
12789 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xml2" >&5
12790 printf "%s\n" "$ac_cv_mingw_lib_xml2" >&6; }
12791 if test "x$ac_cv_mingw_lib_xml2" = xyes
12792 then :
12794 else $as_nop
12795 XML2_PE_CFLAGS=""; XML2_PE_LIBS=""
12797 else
12798 XML2_PE_CFLAGS=""
12799 XML2_PE_LIBS=""
12801 CPPFLAGS=$ac_save_CPPFLAGS
12803 if test "x$XML2_PE_LIBS" = "x"
12804 then
12805 as_fn_append wine_notices "|libxml2 ${notice_platform}MinGW development files not found (or too old); using bundled version."
12808 if ${XSLT_PE_CFLAGS:+false} :
12809 then :
12810 if test ${MINGW_PKG_CONFIG+y}
12811 then :
12812 XSLT_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxslt 2>/dev/null`
12815 if ${XSLT_PE_LIBS:+false} :
12816 then :
12817 if test ${MINGW_PKG_CONFIG+y}
12818 then :
12819 XSLT_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxslt 2>/dev/null`
12822 XSLT_PE_LIBS=${XSLT_PE_LIBS:-"-lxslt"}
12823 ac_save_CPPFLAGS=$CPPFLAGS
12824 CPPFLAGS="$CPPFLAGS $XSLT_PE_CFLAGS"
12825 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/pattern.h" >&5
12826 printf %s "checking for MinGW libxslt/pattern.h... " >&6; }
12827 if test ${ac_cv_mingw_header_libxslt_pattern_h+y}
12828 then :
12829 printf %s "(cached) " >&6
12830 else $as_nop
12831 ac_wine_check_headers_saved_cc=$CC
12832 ac_wine_check_headers_saved_exeext=$ac_exeext
12833 eval CC=\$${wine_arch}_CC
12834 ac_exeext=".exe"
12835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12836 /* end confdefs.h. */
12838 #include <libxslt/pattern.h>
12840 main (void)
12844 return 0;
12846 _ACEOF
12847 if ac_fn_c_try_compile "$LINENO"
12848 then :
12849 ac_cv_mingw_header_libxslt_pattern_h=yes
12850 else $as_nop
12851 ac_cv_mingw_header_libxslt_pattern_h=no
12853 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12854 CC=$ac_wine_check_headers_saved_cc
12855 ac_exeext=$ac_wine_check_headers_saved_exeext
12857 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_pattern_h" >&5
12858 printf "%s\n" "$ac_cv_mingw_header_libxslt_pattern_h" >&6; }
12859 if test "x$ac_cv_mingw_header_libxslt_pattern_h" = xyes
12860 then :
12863 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/transform.h" >&5
12864 printf %s "checking for MinGW libxslt/transform.h... " >&6; }
12865 if test ${ac_cv_mingw_header_libxslt_transform_h+y}
12866 then :
12867 printf %s "(cached) " >&6
12868 else $as_nop
12869 ac_wine_check_headers_saved_cc=$CC
12870 ac_wine_check_headers_saved_exeext=$ac_exeext
12871 eval CC=\$${wine_arch}_CC
12872 ac_exeext=".exe"
12873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12874 /* end confdefs.h. */
12876 #include <libxslt/transform.h>
12878 main (void)
12882 return 0;
12884 _ACEOF
12885 if ac_fn_c_try_compile "$LINENO"
12886 then :
12887 ac_cv_mingw_header_libxslt_transform_h=yes
12888 else $as_nop
12889 ac_cv_mingw_header_libxslt_transform_h=no
12891 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12892 CC=$ac_wine_check_headers_saved_cc
12893 ac_exeext=$ac_wine_check_headers_saved_exeext
12895 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_transform_h" >&5
12896 printf "%s\n" "$ac_cv_mingw_header_libxslt_transform_h" >&6; }
12897 if test "x$ac_cv_mingw_header_libxslt_transform_h" = xyes
12898 then :
12901 if test "$ac_cv_mingw_header_libxslt_pattern_h" = "yes" -a "$ac_cv_mingw_header_libxslt_transform_h" = "yes"
12902 then
12903 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xsltCompilePattern in MinGW -lxslt" >&5
12904 printf %s "checking for xsltCompilePattern in MinGW -lxslt... " >&6; }
12905 if test ${ac_cv_mingw_lib_xslt+y}
12906 then :
12907 printf %s "(cached) " >&6
12908 else $as_nop
12909 ac_wine_check_headers_saved_cc=$CC
12910 ac_wine_check_headers_saved_exeext=$ac_exeext
12911 ac_wine_check_headers_saved_libs=$LIBS
12912 eval CC=\$${wine_arch}_CC
12913 ac_exeext=".exe"
12914 LIBS="-lxslt $XSLT_PE_LIBS $LIBS"
12915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12916 /* end confdefs.h. */
12918 /* Override any GCC internal prototype to avoid an error.
12919 Use char because int might match the return type of a GCC
12920 builtin and then its argument prototype would still apply. */
12921 char xsltCompilePattern ();
12923 main (void)
12925 return xsltCompilePattern ();
12927 return 0;
12929 _ACEOF
12930 if ac_fn_c_try_link "$LINENO"
12931 then :
12932 ac_cv_mingw_lib_xslt=yes
12933 else $as_nop
12934 ac_cv_mingw_lib_xslt=no
12936 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12937 conftest$ac_exeext conftest.$ac_ext
12938 CC=$ac_wine_check_headers_saved_cc
12939 ac_exeext=$ac_wine_check_headers_saved_exeext
12940 LIBS=$ac_wine_check_headers_saved_libs
12942 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xslt" >&5
12943 printf "%s\n" "$ac_cv_mingw_lib_xslt" >&6; }
12944 if test "x$ac_cv_mingw_lib_xslt" = xyes
12945 then :
12947 else $as_nop
12948 XSLT_PE_CFLAGS=""; XSLT_PE_LIBS=""
12950 else
12951 XSLT_PE_CFLAGS=""
12952 XSLT_PE_LIBS=""
12954 CPPFLAGS=$ac_save_CPPFLAGS
12956 if test "x$XSLT_PE_LIBS" = "x"
12957 then
12958 as_fn_append wine_notices "|libxslt ${notice_platform}MinGW development files not found; using bundled version."
12961 if ${VKD3D_PE_CFLAGS:+false} :
12962 then :
12963 if test ${MINGW_PKG_CONFIG+y}
12964 then :
12965 VKD3D_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libvkd3d libvkd3d-shader 2>/dev/null`
12968 if ${VKD3D_PE_LIBS:+false} :
12969 then :
12970 if test ${MINGW_PKG_CONFIG+y}
12971 then :
12972 VKD3D_PE_LIBS=`$MINGW_PKG_CONFIG --libs libvkd3d libvkd3d-shader 2>/dev/null`
12975 VKD3D_PE_LIBS=${VKD3D_PE_LIBS:-"-lvkd3d -lvkd3d-shader"}
12976 ac_save_CPPFLAGS=$CPPFLAGS
12977 CPPFLAGS="$CPPFLAGS $VKD3D_PE_CFLAGS"
12978 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW vkd3d.h" >&5
12979 printf %s "checking for MinGW vkd3d.h... " >&6; }
12980 if test ${ac_cv_mingw_header_vkd3d_h+y}
12981 then :
12982 printf %s "(cached) " >&6
12983 else $as_nop
12984 ac_wine_check_headers_saved_cc=$CC
12985 ac_wine_check_headers_saved_exeext=$ac_exeext
12986 eval CC=\$${wine_arch}_CC
12987 ac_exeext=".exe"
12988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12989 /* end confdefs.h. */
12991 #include <vkd3d.h>
12993 main (void)
12997 return 0;
12999 _ACEOF
13000 if ac_fn_c_try_compile "$LINENO"
13001 then :
13002 ac_cv_mingw_header_vkd3d_h=yes
13003 else $as_nop
13004 ac_cv_mingw_header_vkd3d_h=no
13006 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13007 CC=$ac_wine_check_headers_saved_cc
13008 ac_exeext=$ac_wine_check_headers_saved_exeext
13010 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_vkd3d_h" >&5
13011 printf "%s\n" "$ac_cv_mingw_header_vkd3d_h" >&6; }
13012 if test "x$ac_cv_mingw_header_vkd3d_h" = xyes
13013 then :
13016 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW vkd3d_shader.h" >&5
13017 printf %s "checking for MinGW vkd3d_shader.h... " >&6; }
13018 if test ${ac_cv_mingw_header_vkd3d_shader_h+y}
13019 then :
13020 printf %s "(cached) " >&6
13021 else $as_nop
13022 ac_wine_check_headers_saved_cc=$CC
13023 ac_wine_check_headers_saved_exeext=$ac_exeext
13024 eval CC=\$${wine_arch}_CC
13025 ac_exeext=".exe"
13026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13027 /* end confdefs.h. */
13029 #include <vkd3d_shader.h>
13031 main (void)
13035 return 0;
13037 _ACEOF
13038 if ac_fn_c_try_compile "$LINENO"
13039 then :
13040 ac_cv_mingw_header_vkd3d_shader_h=yes
13041 else $as_nop
13042 ac_cv_mingw_header_vkd3d_shader_h=no
13044 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13045 CC=$ac_wine_check_headers_saved_cc
13046 ac_exeext=$ac_wine_check_headers_saved_exeext
13048 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_vkd3d_shader_h" >&5
13049 printf "%s\n" "$ac_cv_mingw_header_vkd3d_shader_h" >&6; }
13050 if test "x$ac_cv_mingw_header_vkd3d_shader_h" = xyes
13051 then :
13054 if test "$ac_cv_mingw_header_vkd3d_h" = "yes" -a "$ac_cv_mingw_header_vkd3d_shader_h" = "yes"
13055 then
13056 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for vkd3d_set_log_callback in MinGW -lvkd3d" >&5
13057 printf %s "checking for vkd3d_set_log_callback in MinGW -lvkd3d... " >&6; }
13058 if test ${ac_cv_mingw_lib_vkd3d+y}
13059 then :
13060 printf %s "(cached) " >&6
13061 else $as_nop
13062 ac_wine_check_headers_saved_cc=$CC
13063 ac_wine_check_headers_saved_exeext=$ac_exeext
13064 ac_wine_check_headers_saved_libs=$LIBS
13065 eval CC=\$${wine_arch}_CC
13066 ac_exeext=".exe"
13067 LIBS="-lvkd3d $VKD3D_PE_LIBS $LIBS"
13068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13069 /* end confdefs.h. */
13071 /* Override any GCC internal prototype to avoid an error.
13072 Use char because int might match the return type of a GCC
13073 builtin and then its argument prototype would still apply. */
13074 char vkd3d_set_log_callback ();
13076 main (void)
13078 return vkd3d_set_log_callback ();
13080 return 0;
13082 _ACEOF
13083 if ac_fn_c_try_link "$LINENO"
13084 then :
13085 ac_cv_mingw_lib_vkd3d=yes
13086 else $as_nop
13087 ac_cv_mingw_lib_vkd3d=no
13089 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13090 conftest$ac_exeext conftest.$ac_ext
13091 CC=$ac_wine_check_headers_saved_cc
13092 ac_exeext=$ac_wine_check_headers_saved_exeext
13093 LIBS=$ac_wine_check_headers_saved_libs
13095 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_vkd3d" >&5
13096 printf "%s\n" "$ac_cv_mingw_lib_vkd3d" >&6; }
13097 if test "x$ac_cv_mingw_lib_vkd3d" = xyes
13098 then :
13100 else $as_nop
13103 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for vkd3d_shader_serialize_dxbc in MinGW -lvkd3d-shader" >&5
13104 printf %s "checking for vkd3d_shader_serialize_dxbc in MinGW -lvkd3d-shader... " >&6; }
13105 if test ${ac_cv_mingw_lib_vkd3d_shader+y}
13106 then :
13107 printf %s "(cached) " >&6
13108 else $as_nop
13109 ac_wine_check_headers_saved_cc=$CC
13110 ac_wine_check_headers_saved_exeext=$ac_exeext
13111 ac_wine_check_headers_saved_libs=$LIBS
13112 eval CC=\$${wine_arch}_CC
13113 ac_exeext=".exe"
13114 LIBS="-lvkd3d-shader $VKD3D_PE_LIBS $LIBS"
13115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13116 /* end confdefs.h. */
13118 /* Override any GCC internal prototype to avoid an error.
13119 Use char because int might match the return type of a GCC
13120 builtin and then its argument prototype would still apply. */
13121 char vkd3d_shader_serialize_dxbc ();
13123 main (void)
13125 return vkd3d_shader_serialize_dxbc ();
13127 return 0;
13129 _ACEOF
13130 if ac_fn_c_try_link "$LINENO"
13131 then :
13132 ac_cv_mingw_lib_vkd3d_shader=yes
13133 else $as_nop
13134 ac_cv_mingw_lib_vkd3d_shader=no
13136 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13137 conftest$ac_exeext conftest.$ac_ext
13138 CC=$ac_wine_check_headers_saved_cc
13139 ac_exeext=$ac_wine_check_headers_saved_exeext
13140 LIBS=$ac_wine_check_headers_saved_libs
13142 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_vkd3d_shader" >&5
13143 printf "%s\n" "$ac_cv_mingw_lib_vkd3d_shader" >&6; }
13144 if test "x$ac_cv_mingw_lib_vkd3d_shader" = xyes
13145 then :
13147 else $as_nop
13150 if test "$ac_cv_mingw_lib_vkd3d" = "no" -o "$ac_cv_mingw_lib_vkd3d_shader" = "no"
13151 then
13152 VKD3D_PE_CFLAGS=""
13153 VKD3D_PE_LIBS=""
13155 else
13156 VKD3D_PE_CFLAGS=""
13157 VKD3D_PE_LIBS=""
13159 CPPFLAGS=$ac_save_CPPFLAGS
13161 if test "x$VKD3D_PE_LIBS" = "x"
13162 then
13163 as_fn_append wine_notices "|libvkd3d ${notice_platform}MinGW development files not found (or too old); using bundled version."
13166 if ${ZLIB_PE_CFLAGS:+false} :
13167 then :
13168 if test ${MINGW_PKG_CONFIG+y}
13169 then :
13170 ZLIB_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags zlib 2>/dev/null`
13173 if ${ZLIB_PE_LIBS:+false} :
13174 then :
13175 if test ${MINGW_PKG_CONFIG+y}
13176 then :
13177 ZLIB_PE_LIBS=`$MINGW_PKG_CONFIG --libs zlib 2>/dev/null`
13180 ZLIB_PE_LIBS=${ZLIB_PE_LIBS:-"-lz"}
13181 ac_save_CPPFLAGS=$CPPFLAGS
13182 CPPFLAGS="$CPPFLAGS $ZLIB_PE_CFLAGS"
13183 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW zlib.h" >&5
13184 printf %s "checking for MinGW zlib.h... " >&6; }
13185 if test ${ac_cv_mingw_header_zlib_h+y}
13186 then :
13187 printf %s "(cached) " >&6
13188 else $as_nop
13189 ac_wine_check_headers_saved_cc=$CC
13190 ac_wine_check_headers_saved_exeext=$ac_exeext
13191 eval CC=\$${wine_arch}_CC
13192 ac_exeext=".exe"
13193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13194 /* end confdefs.h. */
13196 #include <zlib.h>
13198 main (void)
13202 return 0;
13204 _ACEOF
13205 if ac_fn_c_try_compile "$LINENO"
13206 then :
13207 ac_cv_mingw_header_zlib_h=yes
13208 else $as_nop
13209 ac_cv_mingw_header_zlib_h=no
13211 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13212 CC=$ac_wine_check_headers_saved_cc
13213 ac_exeext=$ac_wine_check_headers_saved_exeext
13215 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_zlib_h" >&5
13216 printf "%s\n" "$ac_cv_mingw_header_zlib_h" >&6; }
13217 if test "x$ac_cv_mingw_header_zlib_h" = xyes
13218 then :
13219 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inflate in MinGW -lz" >&5
13220 printf %s "checking for inflate in MinGW -lz... " >&6; }
13221 if test ${ac_cv_mingw_lib_z+y}
13222 then :
13223 printf %s "(cached) " >&6
13224 else $as_nop
13225 ac_wine_check_headers_saved_cc=$CC
13226 ac_wine_check_headers_saved_exeext=$ac_exeext
13227 ac_wine_check_headers_saved_libs=$LIBS
13228 eval CC=\$${wine_arch}_CC
13229 ac_exeext=".exe"
13230 LIBS="-lz $ZLIB_PE_LIBS $LIBS"
13231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13232 /* end confdefs.h. */
13234 /* Override any GCC internal prototype to avoid an error.
13235 Use char because int might match the return type of a GCC
13236 builtin and then its argument prototype would still apply. */
13237 char inflate ();
13239 main (void)
13241 return inflate ();
13243 return 0;
13245 _ACEOF
13246 if ac_fn_c_try_link "$LINENO"
13247 then :
13248 ac_cv_mingw_lib_z=yes
13249 else $as_nop
13250 ac_cv_mingw_lib_z=no
13252 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13253 conftest$ac_exeext conftest.$ac_ext
13254 CC=$ac_wine_check_headers_saved_cc
13255 ac_exeext=$ac_wine_check_headers_saved_exeext
13256 LIBS=$ac_wine_check_headers_saved_libs
13258 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_z" >&5
13259 printf "%s\n" "$ac_cv_mingw_lib_z" >&6; }
13260 if test "x$ac_cv_mingw_lib_z" = xyes
13261 then :
13263 else $as_nop
13264 ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
13266 else $as_nop
13267 ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
13269 CPPFLAGS=$ac_save_CPPFLAGS
13271 if test "x$ZLIB_PE_LIBS" = "x"
13272 then
13273 as_fn_append wine_notices "|zlib ${notice_platform}MinGW development files not found; using bundled version."
13277 if ${FAUDIO_PE_LIBS:+false} :
13278 then :
13279 FAUDIO_PE_LIBS="faudio mfplat mfreadwrite mfuuid propsys"
13280 if ${FAUDIO_PE_CFLAGS:+false} :
13281 then :
13282 FAUDIO_PE_CFLAGS="-I\$(top_srcdir)/libs/faudio/include"
13283 else $as_nop
13284 enable_faudio=no
13286 else $as_nop
13287 enable_faudio=no
13289 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio cflags: $FAUDIO_PE_CFLAGS" >&5
13290 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio libs: $FAUDIO_PE_LIBS" >&5
13292 if ${FLUIDSYNTH_PE_LIBS:+false} :
13293 then :
13294 FLUIDSYNTH_PE_LIBS="fluidsynth"
13295 if ${FLUIDSYNTH_PE_CFLAGS:+false} :
13296 then :
13297 FLUIDSYNTH_PE_CFLAGS="-I\$(top_srcdir)/libs/fluidsynth/include"
13298 else $as_nop
13299 enable_fluidsynth=no
13301 else $as_nop
13302 enable_fluidsynth=no
13304 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fluidsynth cflags: $FLUIDSYNTH_PE_CFLAGS" >&5
13305 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fluidsynth libs: $FLUIDSYNTH_PE_LIBS" >&5
13307 if ${GSM_PE_LIBS:+false} :
13308 then :
13309 GSM_PE_LIBS=gsm
13310 if ${GSM_PE_CFLAGS:+false} :
13311 then :
13312 GSM_PE_CFLAGS="-I\$(top_srcdir)/libs/gsm/inc"
13313 else $as_nop
13314 enable_gsm=no
13316 else $as_nop
13317 enable_gsm=no
13319 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm cflags: $GSM_PE_CFLAGS" >&5
13320 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm libs: $GSM_PE_LIBS" >&5
13322 if ${JPEG_PE_LIBS:+false} :
13323 then :
13324 JPEG_PE_LIBS=jpeg
13325 if ${JPEG_PE_CFLAGS:+false} :
13326 then :
13327 JPEG_PE_CFLAGS="-I\$(top_srcdir)/libs/jpeg"
13328 else $as_nop
13329 enable_jpeg=no
13331 else $as_nop
13332 enable_jpeg=no
13334 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg cflags: $JPEG_PE_CFLAGS" >&5
13335 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg libs: $JPEG_PE_LIBS" >&5
13337 if ${JXR_PE_LIBS:+false} :
13338 then :
13339 JXR_PE_LIBS=jxr
13340 if ${JXR_PE_CFLAGS:+false} :
13341 then :
13342 JXR_PE_CFLAGS="-I\$(top_srcdir)/libs/jxr/jxrgluelib -I\$(top_srcdir)/libs/jxr/image/sys"
13343 else $as_nop
13344 enable_jxr=no
13346 else $as_nop
13347 enable_jxr=no
13349 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr cflags: $JXR_PE_CFLAGS" >&5
13350 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr libs: $JXR_PE_LIBS" >&5
13352 if ${LCMS2_PE_LIBS:+false} :
13353 then :
13354 LCMS2_PE_LIBS=lcms2
13355 if ${LCMS2_PE_CFLAGS:+false} :
13356 then :
13357 LCMS2_PE_CFLAGS="-I\$(top_srcdir)/libs/lcms2/include"
13358 else $as_nop
13359 enable_lcms2=no
13361 else $as_nop
13362 enable_lcms2=no
13364 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_PE_CFLAGS" >&5
13365 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_PE_LIBS" >&5
13367 if ${LDAP_PE_LIBS:+false} :
13368 then :
13369 LDAP_PE_LIBS=ldap
13370 if ${LDAP_PE_CFLAGS:+false} :
13371 then :
13372 LDAP_PE_CFLAGS="-I\$(top_srcdir)/libs/ldap/include"
13373 else $as_nop
13374 enable_ldap=no
13376 else $as_nop
13377 enable_ldap=no
13379 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ldap cflags: $LDAP_PE_CFLAGS" >&5
13380 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ldap libs: $LDAP_PE_LIBS" >&5
13382 if ${MPG123_PE_LIBS:+false} :
13383 then :
13384 MPG123_PE_LIBS=mpg123
13385 if ${MPG123_PE_CFLAGS:+false} :
13386 then :
13387 MPG123_PE_CFLAGS="-I\$(top_srcdir)/libs/mpg123/src/libmpg123"
13388 else $as_nop
13389 enable_mpg123=no
13391 else $as_nop
13392 enable_mpg123=no
13394 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 cflags: $MPG123_PE_CFLAGS" >&5
13395 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 libs: $MPG123_PE_LIBS" >&5
13397 if ${MUSL_PE_LIBS:+false} :
13398 then :
13399 MUSL_PE_LIBS=musl
13400 if ${MUSL_PE_CFLAGS:+false} :
13401 then :
13402 MUSL_PE_CFLAGS=
13403 else $as_nop
13404 enable_musl=no
13406 else $as_nop
13407 enable_musl=no
13409 printf "%s\n" "$as_me:${as_lineno-$LINENO}: musl cflags: $MUSL_PE_CFLAGS" >&5
13410 printf "%s\n" "$as_me:${as_lineno-$LINENO}: musl libs: $MUSL_PE_LIBS" >&5
13412 if ${PNG_PE_LIBS:+false} :
13413 then :
13414 PNG_PE_LIBS="png \$(ZLIB_PE_LIBS)"
13415 if ${PNG_PE_CFLAGS:+false} :
13416 then :
13417 PNG_PE_CFLAGS="-I\$(top_srcdir)/libs/png"
13418 else $as_nop
13419 enable_png=no
13421 else $as_nop
13422 enable_png=no
13424 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png cflags: $PNG_PE_CFLAGS" >&5
13425 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png libs: $PNG_PE_LIBS" >&5
13427 if ${TIFF_PE_LIBS:+false} :
13428 then :
13429 TIFF_PE_LIBS="tiff \$(ZLIB_PE_LIBS)"
13430 if ${TIFF_PE_CFLAGS:+false} :
13431 then :
13432 TIFF_PE_CFLAGS="-I\$(top_srcdir)/libs/tiff/libtiff"
13433 else $as_nop
13434 enable_tiff=no
13436 else $as_nop
13437 enable_tiff=no
13439 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff cflags: $TIFF_PE_CFLAGS" >&5
13440 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff libs: $TIFF_PE_LIBS" >&5
13442 if ${VKD3D_PE_LIBS:+false} :
13443 then :
13444 VKD3D_PE_LIBS=vkd3d
13445 if ${VKD3D_PE_CFLAGS:+false} :
13446 then :
13447 VKD3D_PE_CFLAGS="-I\$(top_srcdir)/libs/vkd3d/include"
13448 else $as_nop
13449 enable_vkd3d=no
13451 else $as_nop
13452 enable_vkd3d=no
13454 printf "%s\n" "$as_me:${as_lineno-$LINENO}: vkd3d cflags: $VKD3D_PE_CFLAGS" >&5
13455 printf "%s\n" "$as_me:${as_lineno-$LINENO}: vkd3d libs: $VKD3D_PE_LIBS" >&5
13457 if ${XML2_PE_LIBS:+false} :
13458 then :
13459 XML2_PE_LIBS=xml2
13460 if ${XML2_PE_CFLAGS:+false} :
13461 then :
13462 XML2_PE_CFLAGS="-I\$(top_srcdir)/libs/xml2/include -DLIBXML_STATIC"
13463 else $as_nop
13464 enable_xml2=no
13466 else $as_nop
13467 enable_xml2=no
13469 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 cflags: $XML2_PE_CFLAGS" >&5
13470 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 libs: $XML2_PE_LIBS" >&5
13472 if ${XSLT_PE_LIBS:+false} :
13473 then :
13474 XSLT_PE_LIBS=xslt
13475 if ${XSLT_PE_CFLAGS:+false} :
13476 then :
13477 XSLT_PE_CFLAGS="-I\$(top_srcdir)/libs/xslt/libxslt -I\$(top_srcdir)/libs/xslt -DLIBXSLT_STATIC"
13478 else $as_nop
13479 enable_xslt=no
13481 else $as_nop
13482 enable_xslt=no
13484 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt cflags: $XSLT_PE_CFLAGS" >&5
13485 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt libs: $XSLT_PE_LIBS" >&5
13487 if ${ZLIB_PE_LIBS:+false} :
13488 then :
13489 ZLIB_PE_LIBS=z
13490 if ${ZLIB_PE_CFLAGS:+false} :
13491 then :
13492 ZLIB_PE_CFLAGS="-I\$(top_srcdir)/libs/zlib -DFAR= -DZ_SOLO"
13493 else $as_nop
13494 enable_zlib=no
13496 else $as_nop
13497 enable_zlib=no
13499 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib cflags: $ZLIB_PE_CFLAGS" >&5
13500 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib libs: $ZLIB_PE_LIBS" >&5
13502 if ${ZYDIS_PE_LIBS:+false} :
13503 then :
13504 ZYDIS_PE_LIBS=zydis
13505 if ${ZYDIS_PE_CFLAGS:+false} :
13506 then :
13507 ZYDIS_PE_CFLAGS="-I\$(top_srcdir)/libs/zydis/include"
13508 else $as_nop
13509 enable_zydis=no
13511 else $as_nop
13512 enable_zydis=no
13514 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zydis cflags: $ZYDIS_PE_CFLAGS" >&5
13515 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zydis libs: $ZYDIS_PE_LIBS" >&5
13519 if test "x$with_pthread" = xno
13520 then :
13522 else $as_nop
13523 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
13524 if test "x$ac_cv_func_pthread_create" = xyes
13525 then :
13527 else $as_nop
13528 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
13529 printf %s "checking for pthread_create in -lpthread... " >&6; }
13530 if test ${ac_cv_lib_pthread_pthread_create+y}
13531 then :
13532 printf %s "(cached) " >&6
13533 else $as_nop
13534 ac_check_lib_save_LIBS=$LIBS
13535 LIBS="-lpthread $LIBS"
13536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13537 /* end confdefs.h. */
13539 /* Override any GCC internal prototype to avoid an error.
13540 Use char because int might match the return type of a GCC
13541 builtin and then its argument prototype would still apply. */
13542 char pthread_create ();
13544 main (void)
13546 return pthread_create ();
13548 return 0;
13550 _ACEOF
13551 if ac_fn_c_try_link "$LINENO"
13552 then :
13553 ac_cv_lib_pthread_pthread_create=yes
13554 else $as_nop
13555 ac_cv_lib_pthread_pthread_create=no
13557 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13558 conftest$ac_exeext conftest.$ac_ext
13559 LIBS=$ac_check_lib_save_LIBS
13561 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
13562 printf "%s\n" "$ac_cv_lib_pthread_pthread_create" >&6; }
13563 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
13564 then :
13565 PTHREAD_LIBS="-lpthread"
13572 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x
13573 then :
13574 case "x$with_pthread" in
13575 xno) ;;
13576 *) as_fn_error $? "pthread ${notice_platform}development files not found.
13577 Wine cannot support threads without libpthread.
13578 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
13579 esac
13584 ac_ext=c
13585 ac_cpp='$CPP $CPPFLAGS'
13586 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13587 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13588 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13589 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
13590 printf %s "checking how to run the C preprocessor... " >&6; }
13591 # On Suns, sometimes $CPP names a directory.
13592 if test -n "$CPP" && test -d "$CPP"; then
13593 CPP=
13595 if test -z "$CPP"; then
13596 if test ${ac_cv_prog_CPP+y}
13597 then :
13598 printf %s "(cached) " >&6
13599 else $as_nop
13600 # Double quotes because $CC needs to be expanded
13601 for CPP in "$CC -E" "$CC -E -traditional-cpp" cpp /lib/cpp
13603 ac_preproc_ok=false
13604 for ac_c_preproc_warn_flag in '' yes
13606 # Use a header file that comes with gcc, so configuring glibc
13607 # with a fresh cross-compiler works.
13608 # On the NeXT, cc -E runs the code through the compiler's parser,
13609 # not just through cpp. "Syntax error" is here to catch this case.
13610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13611 /* end confdefs.h. */
13612 #include <limits.h>
13613 Syntax error
13614 _ACEOF
13615 if ac_fn_c_try_cpp "$LINENO"
13616 then :
13618 else $as_nop
13619 # Broken: fails on valid input.
13620 continue
13622 rm -f conftest.err conftest.i conftest.$ac_ext
13624 # OK, works on sane cases. Now check whether nonexistent headers
13625 # can be detected and how.
13626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13627 /* end confdefs.h. */
13628 #include <ac_nonexistent.h>
13629 _ACEOF
13630 if ac_fn_c_try_cpp "$LINENO"
13631 then :
13632 # Broken: success on invalid input.
13633 continue
13634 else $as_nop
13635 # Passes both tests.
13636 ac_preproc_ok=:
13637 break
13639 rm -f conftest.err conftest.i conftest.$ac_ext
13641 done
13642 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13643 rm -f conftest.i conftest.err conftest.$ac_ext
13644 if $ac_preproc_ok
13645 then :
13646 break
13649 done
13650 ac_cv_prog_CPP=$CPP
13653 CPP=$ac_cv_prog_CPP
13654 else
13655 ac_cv_prog_CPP=$CPP
13657 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
13658 printf "%s\n" "$CPP" >&6; }
13659 ac_preproc_ok=false
13660 for ac_c_preproc_warn_flag in '' yes
13662 # Use a header file that comes with gcc, so configuring glibc
13663 # with a fresh cross-compiler works.
13664 # On the NeXT, cc -E runs the code through the compiler's parser,
13665 # not just through cpp. "Syntax error" is here to catch this case.
13666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13667 /* end confdefs.h. */
13668 #include <limits.h>
13669 Syntax error
13670 _ACEOF
13671 if ac_fn_c_try_cpp "$LINENO"
13672 then :
13674 else $as_nop
13675 # Broken: fails on valid input.
13676 continue
13678 rm -f conftest.err conftest.i conftest.$ac_ext
13680 # OK, works on sane cases. Now check whether nonexistent headers
13681 # can be detected and how.
13682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13683 /* end confdefs.h. */
13684 #include <ac_nonexistent.h>
13685 _ACEOF
13686 if ac_fn_c_try_cpp "$LINENO"
13687 then :
13688 # Broken: success on invalid input.
13689 continue
13690 else $as_nop
13691 # Passes both tests.
13692 ac_preproc_ok=:
13693 break
13695 rm -f conftest.err conftest.i conftest.$ac_ext
13697 done
13698 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13699 rm -f conftest.i conftest.err conftest.$ac_ext
13700 if $ac_preproc_ok
13701 then :
13703 else $as_nop
13704 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13705 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
13706 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
13707 See \`config.log' for more details" "$LINENO" 5; }
13710 ac_ext=c
13711 ac_cpp='$CPP $CPPFLAGS'
13712 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13713 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13714 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13717 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for X" >&5
13718 printf %s "checking for X... " >&6; }
13721 # Check whether --with-x was given.
13722 if test ${with_x+y}
13723 then :
13724 withval=$with_x;
13727 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
13728 if test "x$with_x" = xno; then
13729 # The user explicitly disabled X.
13730 have_x=disabled
13731 else
13732 case $x_includes,$x_libraries in #(
13733 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
13734 *,NONE | NONE,*) if test ${ac_cv_have_x+y}
13735 then :
13736 printf %s "(cached) " >&6
13737 else $as_nop
13738 # One or both of the vars are not set, and there is no cached value.
13739 ac_x_includes=no
13740 ac_x_libraries=no
13741 # Do we need to do anything special at all?
13742 ac_save_LIBS=$LIBS
13743 LIBS="-lX11 $LIBS"
13744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13745 /* end confdefs.h. */
13746 #include <X11/Xlib.h>
13748 main (void)
13750 XrmInitialize ()
13752 return 0;
13754 _ACEOF
13755 if ac_fn_c_try_link "$LINENO"
13756 then :
13757 # We can compile and link X programs with no special options.
13758 ac_x_includes=
13759 ac_x_libraries=
13761 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13762 conftest$ac_exeext conftest.$ac_ext
13763 LIBS="$ac_save_LIBS"
13764 # If that didn't work, only try xmkmf and file system searches
13765 # for native compilation.
13766 if test x"$ac_x_includes" = xno && test "$cross_compiling" = no
13767 then :
13768 rm -f -r conftest.dir
13769 if mkdir conftest.dir; then
13770 cd conftest.dir
13771 cat >Imakefile <<'_ACEOF'
13772 incroot:
13773 @echo incroot='${INCROOT}'
13774 usrlibdir:
13775 @echo usrlibdir='${USRLIBDIR}'
13776 libdir:
13777 @echo libdir='${LIBDIR}'
13778 _ACEOF
13779 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
13780 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
13781 for ac_var in incroot usrlibdir libdir; do
13782 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
13783 done
13784 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
13785 for ac_extension in a so sl dylib la dll; do
13786 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
13787 test -f "$ac_im_libdir/libX11.$ac_extension"; then
13788 ac_im_usrlibdir=$ac_im_libdir; break
13790 done
13791 # Screen out bogus values from the imake configuration. They are
13792 # bogus both because they are the default anyway, and because
13793 # using them would break gcc on systems where it needs fixed includes.
13794 case $ac_im_incroot in
13795 /usr/include) ac_x_includes= ;;
13796 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
13797 esac
13798 case $ac_im_usrlibdir in
13799 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
13800 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
13801 esac
13803 cd ..
13804 rm -f -r conftest.dir
13807 # Standard set of common directories for X headers.
13808 # Check X11 before X11Rn because it is often a symlink to the current release.
13809 ac_x_header_dirs='
13810 /usr/X11/include
13811 /usr/X11R7/include
13812 /usr/X11R6/include
13813 /usr/X11R5/include
13814 /usr/X11R4/include
13816 /usr/include/X11
13817 /usr/include/X11R7
13818 /usr/include/X11R6
13819 /usr/include/X11R5
13820 /usr/include/X11R4
13822 /usr/local/X11/include
13823 /usr/local/X11R7/include
13824 /usr/local/X11R6/include
13825 /usr/local/X11R5/include
13826 /usr/local/X11R4/include
13828 /usr/local/include/X11
13829 /usr/local/include/X11R7
13830 /usr/local/include/X11R6
13831 /usr/local/include/X11R5
13832 /usr/local/include/X11R4
13834 /opt/X11/include
13836 /usr/X386/include
13837 /usr/x386/include
13838 /usr/XFree86/include/X11
13840 /usr/include
13841 /usr/local/include
13842 /usr/unsupported/include
13843 /usr/athena/include
13844 /usr/local/x11r5/include
13845 /usr/lpp/Xamples/include
13847 /usr/openwin/include
13848 /usr/openwin/share/include'
13850 if test "$ac_x_includes" = no; then
13851 # Guess where to find include files, by looking for Xlib.h.
13852 # First, try using that file with no special directory specified.
13853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13854 /* end confdefs.h. */
13855 #include <X11/Xlib.h>
13856 _ACEOF
13857 if ac_fn_c_try_cpp "$LINENO"
13858 then :
13859 # We can compile using X headers with no special include directory.
13860 ac_x_includes=
13861 else $as_nop
13862 for ac_dir in $ac_x_header_dirs; do
13863 if test -r "$ac_dir/X11/Xlib.h"; then
13864 ac_x_includes=$ac_dir
13865 break
13867 done
13869 rm -f conftest.err conftest.i conftest.$ac_ext
13870 fi # $ac_x_includes = no
13872 if test "$ac_x_libraries" = no; then
13873 # Check for the libraries.
13874 # See if we find them without any special options.
13875 # Don't add to $LIBS permanently.
13876 ac_save_LIBS=$LIBS
13877 LIBS="-lX11 $LIBS"
13878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13879 /* end confdefs.h. */
13880 #include <X11/Xlib.h>
13882 main (void)
13884 XrmInitialize ()
13886 return 0;
13888 _ACEOF
13889 if ac_fn_c_try_link "$LINENO"
13890 then :
13891 LIBS=$ac_save_LIBS
13892 # We can link X programs with no special library path.
13893 ac_x_libraries=
13894 else $as_nop
13895 LIBS=$ac_save_LIBS
13896 for ac_dir in `printf "%s\n" "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
13898 # Don't even attempt the hair of trying to link an X program!
13899 for ac_extension in a so sl dylib la dll; do
13900 if test -r "$ac_dir/libX11.$ac_extension"; then
13901 ac_x_libraries=$ac_dir
13902 break 2
13904 done
13905 done
13907 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13908 conftest$ac_exeext conftest.$ac_ext
13909 fi # $ac_x_libraries = no
13912 # Record the results.
13913 case $ac_x_includes,$ac_x_libraries in #(
13914 no,* | *,no | *\'*) :
13915 # Didn't find X, or a directory has "'" in its name.
13916 ac_cv_have_x="have_x=no" ;; #(
13917 *) :
13918 # Record where we found X for the cache.
13919 ac_cv_have_x="have_x=yes\
13920 ac_x_includes='$ac_x_includes'\
13921 ac_x_libraries='$ac_x_libraries'" ;;
13922 esac
13924 ;; #(
13925 *) have_x=yes;;
13926 esac
13927 eval "$ac_cv_have_x"
13928 fi # $with_x != no
13930 if test "$have_x" != yes; then
13931 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
13932 printf "%s\n" "$have_x" >&6; }
13933 no_x=yes
13934 else
13935 # If each of the values was on the command line, it overrides each guess.
13936 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
13937 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
13938 # Update the cache value to reflect the command line values.
13939 ac_cv_have_x="have_x=yes\
13940 ac_x_includes='$x_includes'\
13941 ac_x_libraries='$x_libraries'"
13942 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
13943 printf "%s\n" "libraries $x_libraries, headers $x_includes" >&6; }
13946 if test "$no_x" = yes; then
13947 # Not all programs may use this symbol, but it does not hurt to define it.
13949 printf "%s\n" "#define X_DISPLAY_MISSING 1" >>confdefs.h
13951 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
13952 else
13953 if test -n "$x_includes"; then
13954 X_CFLAGS="$X_CFLAGS -I$x_includes"
13957 # It would also be nice to do this for all -L options, not just this one.
13958 if test -n "$x_libraries"; then
13959 X_LIBS="$X_LIBS -L$x_libraries"
13960 # For Solaris; some versions of Sun CC require a space after -R and
13961 # others require no space. Words are not sufficient . . . .
13962 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
13963 printf %s "checking whether -R must be followed by a space... " >&6; }
13964 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
13965 ac_xsave_c_werror_flag=$ac_c_werror_flag
13966 ac_c_werror_flag=yes
13967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13968 /* end confdefs.h. */
13971 main (void)
13975 return 0;
13977 _ACEOF
13978 if ac_fn_c_try_link "$LINENO"
13979 then :
13980 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
13981 printf "%s\n" "no" >&6; }
13982 X_LIBS="$X_LIBS -R$x_libraries"
13983 else $as_nop
13984 LIBS="$ac_xsave_LIBS -R $x_libraries"
13985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13986 /* end confdefs.h. */
13989 main (void)
13993 return 0;
13995 _ACEOF
13996 if ac_fn_c_try_link "$LINENO"
13997 then :
13998 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13999 printf "%s\n" "yes" >&6; }
14000 X_LIBS="$X_LIBS -R $x_libraries"
14001 else $as_nop
14002 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
14003 printf "%s\n" "neither works" >&6; }
14005 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14006 conftest$ac_exeext conftest.$ac_ext
14008 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14009 conftest$ac_exeext conftest.$ac_ext
14010 ac_c_werror_flag=$ac_xsave_c_werror_flag
14011 LIBS=$ac_xsave_LIBS
14014 # Check for system-dependent libraries X programs must link with.
14015 # Do this before checking for the system-independent R6 libraries
14016 # (-lICE), since we may need -lsocket or whatever for X linking.
14018 if test "$ISC" = yes; then
14019 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
14020 else
14021 # Martyn Johnson says this is needed for Ultrix, if the X
14022 # libraries were built with DECnet support. And Karl Berry says
14023 # the Alpha needs dnet_stub (dnet does not exist).
14024 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
14025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14026 /* end confdefs.h. */
14028 /* Override any GCC internal prototype to avoid an error.
14029 Use char because int might match the return type of a GCC
14030 builtin and then its argument prototype would still apply. */
14031 char XOpenDisplay ();
14033 main (void)
14035 return XOpenDisplay ();
14037 return 0;
14039 _ACEOF
14040 if ac_fn_c_try_link "$LINENO"
14041 then :
14043 else $as_nop
14044 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
14045 printf %s "checking for dnet_ntoa in -ldnet... " >&6; }
14046 if test ${ac_cv_lib_dnet_dnet_ntoa+y}
14047 then :
14048 printf %s "(cached) " >&6
14049 else $as_nop
14050 ac_check_lib_save_LIBS=$LIBS
14051 LIBS="-ldnet $LIBS"
14052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14053 /* end confdefs.h. */
14055 /* Override any GCC internal prototype to avoid an error.
14056 Use char because int might match the return type of a GCC
14057 builtin and then its argument prototype would still apply. */
14058 char dnet_ntoa ();
14060 main (void)
14062 return dnet_ntoa ();
14064 return 0;
14066 _ACEOF
14067 if ac_fn_c_try_link "$LINENO"
14068 then :
14069 ac_cv_lib_dnet_dnet_ntoa=yes
14070 else $as_nop
14071 ac_cv_lib_dnet_dnet_ntoa=no
14073 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14074 conftest$ac_exeext conftest.$ac_ext
14075 LIBS=$ac_check_lib_save_LIBS
14077 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
14078 printf "%s\n" "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
14079 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
14080 then :
14081 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
14084 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
14085 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
14086 printf %s "checking for dnet_ntoa in -ldnet_stub... " >&6; }
14087 if test ${ac_cv_lib_dnet_stub_dnet_ntoa+y}
14088 then :
14089 printf %s "(cached) " >&6
14090 else $as_nop
14091 ac_check_lib_save_LIBS=$LIBS
14092 LIBS="-ldnet_stub $LIBS"
14093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14094 /* end confdefs.h. */
14096 /* Override any GCC internal prototype to avoid an error.
14097 Use char because int might match the return type of a GCC
14098 builtin and then its argument prototype would still apply. */
14099 char dnet_ntoa ();
14101 main (void)
14103 return dnet_ntoa ();
14105 return 0;
14107 _ACEOF
14108 if ac_fn_c_try_link "$LINENO"
14109 then :
14110 ac_cv_lib_dnet_stub_dnet_ntoa=yes
14111 else $as_nop
14112 ac_cv_lib_dnet_stub_dnet_ntoa=no
14114 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14115 conftest$ac_exeext conftest.$ac_ext
14116 LIBS=$ac_check_lib_save_LIBS
14118 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
14119 printf "%s\n" "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
14120 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
14121 then :
14122 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
14127 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14128 conftest$ac_exeext conftest.$ac_ext
14129 LIBS="$ac_xsave_LIBS"
14131 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
14132 # to get the SysV transport functions.
14133 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
14134 # needs -lnsl.
14135 # The nsl library prevents programs from opening the X display
14136 # on Irix 5.2, according to T.E. Dickey.
14137 # The functions gethostbyname, getservbyname, and inet_addr are
14138 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
14139 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
14140 if test "x$ac_cv_func_gethostbyname" = xyes
14141 then :
14145 if test $ac_cv_func_gethostbyname = no; then
14146 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
14147 printf %s "checking for gethostbyname in -lnsl... " >&6; }
14148 if test ${ac_cv_lib_nsl_gethostbyname+y}
14149 then :
14150 printf %s "(cached) " >&6
14151 else $as_nop
14152 ac_check_lib_save_LIBS=$LIBS
14153 LIBS="-lnsl $LIBS"
14154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14155 /* end confdefs.h. */
14157 /* Override any GCC internal prototype to avoid an error.
14158 Use char because int might match the return type of a GCC
14159 builtin and then its argument prototype would still apply. */
14160 char gethostbyname ();
14162 main (void)
14164 return gethostbyname ();
14166 return 0;
14168 _ACEOF
14169 if ac_fn_c_try_link "$LINENO"
14170 then :
14171 ac_cv_lib_nsl_gethostbyname=yes
14172 else $as_nop
14173 ac_cv_lib_nsl_gethostbyname=no
14175 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14176 conftest$ac_exeext conftest.$ac_ext
14177 LIBS=$ac_check_lib_save_LIBS
14179 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
14180 printf "%s\n" "$ac_cv_lib_nsl_gethostbyname" >&6; }
14181 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
14182 then :
14183 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
14186 if test $ac_cv_lib_nsl_gethostbyname = no; then
14187 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
14188 printf %s "checking for gethostbyname in -lbsd... " >&6; }
14189 if test ${ac_cv_lib_bsd_gethostbyname+y}
14190 then :
14191 printf %s "(cached) " >&6
14192 else $as_nop
14193 ac_check_lib_save_LIBS=$LIBS
14194 LIBS="-lbsd $LIBS"
14195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14196 /* end confdefs.h. */
14198 /* Override any GCC internal prototype to avoid an error.
14199 Use char because int might match the return type of a GCC
14200 builtin and then its argument prototype would still apply. */
14201 char gethostbyname ();
14203 main (void)
14205 return gethostbyname ();
14207 return 0;
14209 _ACEOF
14210 if ac_fn_c_try_link "$LINENO"
14211 then :
14212 ac_cv_lib_bsd_gethostbyname=yes
14213 else $as_nop
14214 ac_cv_lib_bsd_gethostbyname=no
14216 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14217 conftest$ac_exeext conftest.$ac_ext
14218 LIBS=$ac_check_lib_save_LIBS
14220 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
14221 printf "%s\n" "$ac_cv_lib_bsd_gethostbyname" >&6; }
14222 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
14223 then :
14224 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
14230 # lieder@skyler.mavd.honeywell.com says without -lsocket,
14231 # socket/setsockopt and other routines are undefined under SCO ODT
14232 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
14233 # on later versions), says Simon Leinen: it contains gethostby*
14234 # variants that don't use the name server (or something). -lsocket
14235 # must be given before -lnsl if both are needed. We assume that
14236 # if connect needs -lnsl, so does gethostbyname.
14237 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
14238 if test "x$ac_cv_func_connect" = xyes
14239 then :
14243 if test $ac_cv_func_connect = no; then
14244 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
14245 printf %s "checking for connect in -lsocket... " >&6; }
14246 if test ${ac_cv_lib_socket_connect+y}
14247 then :
14248 printf %s "(cached) " >&6
14249 else $as_nop
14250 ac_check_lib_save_LIBS=$LIBS
14251 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
14252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14253 /* end confdefs.h. */
14255 /* Override any GCC internal prototype to avoid an error.
14256 Use char because int might match the return type of a GCC
14257 builtin and then its argument prototype would still apply. */
14258 char connect ();
14260 main (void)
14262 return connect ();
14264 return 0;
14266 _ACEOF
14267 if ac_fn_c_try_link "$LINENO"
14268 then :
14269 ac_cv_lib_socket_connect=yes
14270 else $as_nop
14271 ac_cv_lib_socket_connect=no
14273 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14274 conftest$ac_exeext conftest.$ac_ext
14275 LIBS=$ac_check_lib_save_LIBS
14277 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
14278 printf "%s\n" "$ac_cv_lib_socket_connect" >&6; }
14279 if test "x$ac_cv_lib_socket_connect" = xyes
14280 then :
14281 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
14286 # Guillermo Gomez says -lposix is necessary on A/UX.
14287 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
14288 if test "x$ac_cv_func_remove" = xyes
14289 then :
14293 if test $ac_cv_func_remove = no; then
14294 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
14295 printf %s "checking for remove in -lposix... " >&6; }
14296 if test ${ac_cv_lib_posix_remove+y}
14297 then :
14298 printf %s "(cached) " >&6
14299 else $as_nop
14300 ac_check_lib_save_LIBS=$LIBS
14301 LIBS="-lposix $LIBS"
14302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14303 /* end confdefs.h. */
14305 /* Override any GCC internal prototype to avoid an error.
14306 Use char because int might match the return type of a GCC
14307 builtin and then its argument prototype would still apply. */
14308 char remove ();
14310 main (void)
14312 return remove ();
14314 return 0;
14316 _ACEOF
14317 if ac_fn_c_try_link "$LINENO"
14318 then :
14319 ac_cv_lib_posix_remove=yes
14320 else $as_nop
14321 ac_cv_lib_posix_remove=no
14323 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14324 conftest$ac_exeext conftest.$ac_ext
14325 LIBS=$ac_check_lib_save_LIBS
14327 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
14328 printf "%s\n" "$ac_cv_lib_posix_remove" >&6; }
14329 if test "x$ac_cv_lib_posix_remove" = xyes
14330 then :
14331 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
14336 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
14337 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
14338 if test "x$ac_cv_func_shmat" = xyes
14339 then :
14343 if test $ac_cv_func_shmat = no; then
14344 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
14345 printf %s "checking for shmat in -lipc... " >&6; }
14346 if test ${ac_cv_lib_ipc_shmat+y}
14347 then :
14348 printf %s "(cached) " >&6
14349 else $as_nop
14350 ac_check_lib_save_LIBS=$LIBS
14351 LIBS="-lipc $LIBS"
14352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14353 /* end confdefs.h. */
14355 /* Override any GCC internal prototype to avoid an error.
14356 Use char because int might match the return type of a GCC
14357 builtin and then its argument prototype would still apply. */
14358 char shmat ();
14360 main (void)
14362 return shmat ();
14364 return 0;
14366 _ACEOF
14367 if ac_fn_c_try_link "$LINENO"
14368 then :
14369 ac_cv_lib_ipc_shmat=yes
14370 else $as_nop
14371 ac_cv_lib_ipc_shmat=no
14373 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14374 conftest$ac_exeext conftest.$ac_ext
14375 LIBS=$ac_check_lib_save_LIBS
14377 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
14378 printf "%s\n" "$ac_cv_lib_ipc_shmat" >&6; }
14379 if test "x$ac_cv_lib_ipc_shmat" = xyes
14380 then :
14381 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
14387 # Check for libraries that X11R6 Xt/Xaw programs need.
14388 ac_save_LDFLAGS=$LDFLAGS
14389 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
14390 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
14391 # check for ICE first), but we must link in the order -lSM -lICE or
14392 # we get undefined symbols. So assume we have SM if we have ICE.
14393 # These have to be linked with before -lX11, unlike the other
14394 # libraries we check for below, so use a different variable.
14395 # John Interrante, Karl Berry
14396 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
14397 printf %s "checking for IceConnectionNumber in -lICE... " >&6; }
14398 if test ${ac_cv_lib_ICE_IceConnectionNumber+y}
14399 then :
14400 printf %s "(cached) " >&6
14401 else $as_nop
14402 ac_check_lib_save_LIBS=$LIBS
14403 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
14404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14405 /* end confdefs.h. */
14407 /* Override any GCC internal prototype to avoid an error.
14408 Use char because int might match the return type of a GCC
14409 builtin and then its argument prototype would still apply. */
14410 char IceConnectionNumber ();
14412 main (void)
14414 return IceConnectionNumber ();
14416 return 0;
14418 _ACEOF
14419 if ac_fn_c_try_link "$LINENO"
14420 then :
14421 ac_cv_lib_ICE_IceConnectionNumber=yes
14422 else $as_nop
14423 ac_cv_lib_ICE_IceConnectionNumber=no
14425 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14426 conftest$ac_exeext conftest.$ac_ext
14427 LIBS=$ac_check_lib_save_LIBS
14429 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
14430 printf "%s\n" "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
14431 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
14432 then :
14433 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
14436 LDFLAGS=$ac_save_LDFLAGS
14441 if test "$have_x" = "yes"
14442 then
14443 ac_save_CPPFLAGS="$CPPFLAGS"
14444 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
14446 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
14447 printf %s "checking for -lX11... " >&6; }
14448 if test ${ac_cv_lib_soname_X11+y}
14449 then :
14450 printf %s "(cached) " >&6
14451 else $as_nop
14452 ac_check_soname_save_LIBS=$LIBS
14453 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
14454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14455 /* end confdefs.h. */
14457 /* Override any GCC internal prototype to avoid an error.
14458 Use char because int might match the return type of a GCC
14459 builtin and then its argument prototype would still apply. */
14460 char XCreateWindow ();
14462 main (void)
14464 return XCreateWindow ();
14466 return 0;
14468 _ACEOF
14469 if ac_fn_c_try_link "$LINENO"
14470 then :
14471 case "$LIBEXT" in
14472 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14473 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'` ;;
14474 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14475 if ${ac_cv_lib_soname_X11:+false} :
14476 then :
14477 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14478 fi ;;
14479 esac
14480 else $as_nop
14481 ac_cv_lib_soname_X11=
14483 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14484 conftest$ac_exeext conftest.$ac_ext
14485 LIBS=$ac_check_soname_save_LIBS
14487 if ${ac_cv_lib_soname_X11:+false} :
14488 then :
14489 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14490 printf "%s\n" "not found" >&6; }
14492 else $as_nop
14493 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
14494 printf "%s\n" "$ac_cv_lib_soname_X11" >&6; }
14496 printf "%s\n" "#define SONAME_LIBX11 \"$ac_cv_lib_soname_X11\"" >>confdefs.h
14500 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
14501 printf %s "checking for -lXext... " >&6; }
14502 if test ${ac_cv_lib_soname_Xext+y}
14503 then :
14504 printf %s "(cached) " >&6
14505 else $as_nop
14506 ac_check_soname_save_LIBS=$LIBS
14507 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
14508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14509 /* end confdefs.h. */
14511 /* Override any GCC internal prototype to avoid an error.
14512 Use char because int might match the return type of a GCC
14513 builtin and then its argument prototype would still apply. */
14514 char XextCreateExtension ();
14516 main (void)
14518 return XextCreateExtension ();
14520 return 0;
14522 _ACEOF
14523 if ac_fn_c_try_link "$LINENO"
14524 then :
14525 case "$LIBEXT" in
14526 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14527 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'` ;;
14528 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14529 if ${ac_cv_lib_soname_Xext:+false} :
14530 then :
14531 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14532 fi ;;
14533 esac
14534 else $as_nop
14535 ac_cv_lib_soname_Xext=
14537 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14538 conftest$ac_exeext conftest.$ac_ext
14539 LIBS=$ac_check_soname_save_LIBS
14541 if ${ac_cv_lib_soname_Xext:+false} :
14542 then :
14543 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14544 printf "%s\n" "not found" >&6; }
14546 else $as_nop
14547 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
14548 printf "%s\n" "$ac_cv_lib_soname_Xext" >&6; }
14550 printf "%s\n" "#define SONAME_LIBXEXT \"$ac_cv_lib_soname_Xext\"" >>confdefs.h
14552 X_LIBS="$X_LIBS -lXext"
14554 X_LIBS="$X_LIBS -lX11"
14556 xlib_includes="#include <X11/Xlib.h>
14557 #include <X11/Xutil.h>"
14559 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/shape.h" "ac_cv_header_X11_extensions_shape_h" "$xlib_includes
14561 if test "x$ac_cv_header_X11_extensions_shape_h" = xyes
14562 then :
14563 printf "%s\n" "#define HAVE_X11_EXTENSIONS_SHAPE_H 1" >>confdefs.h
14566 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XInput2.h" "ac_cv_header_X11_extensions_XInput2_h" "$xlib_includes
14568 if test "x$ac_cv_header_X11_extensions_XInput2_h" = xyes
14569 then :
14570 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINPUT2_H 1" >>confdefs.h
14573 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XShm.h" "ac_cv_header_X11_extensions_XShm_h" "$xlib_includes
14575 if test "x$ac_cv_header_X11_extensions_XShm_h" = xyes
14576 then :
14577 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XSHM_H 1" >>confdefs.h
14580 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xfixes.h" "ac_cv_header_X11_extensions_Xfixes_h" "$xlib_includes
14582 if test "x$ac_cv_header_X11_extensions_Xfixes_h" = xyes
14583 then :
14584 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XFIXES_H 1" >>confdefs.h
14587 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xinerama.h" "ac_cv_header_X11_extensions_Xinerama_h" "$xlib_includes
14589 if test "x$ac_cv_header_X11_extensions_Xinerama_h" = xyes
14590 then :
14591 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINERAMA_H 1" >>confdefs.h
14594 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xrandr.h" "ac_cv_header_X11_extensions_Xrandr_h" "$xlib_includes
14596 if test "x$ac_cv_header_X11_extensions_Xrandr_h" = xyes
14597 then :
14598 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRANDR_H 1" >>confdefs.h
14601 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xrender.h" "ac_cv_header_X11_extensions_Xrender_h" "$xlib_includes
14603 if test "x$ac_cv_header_X11_extensions_Xrender_h" = xyes
14604 then :
14605 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRENDER_H 1" >>confdefs.h
14608 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/xf86vmode.h" "ac_cv_header_X11_extensions_xf86vmode_h" "$xlib_includes
14610 if test "x$ac_cv_header_X11_extensions_xf86vmode_h" = xyes
14611 then :
14612 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMODE_H 1" >>confdefs.h
14615 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/xf86vmproto.h" "ac_cv_header_X11_extensions_xf86vmproto_h" "$xlib_includes
14617 if test "x$ac_cv_header_X11_extensions_xf86vmproto_h" = xyes
14618 then :
14619 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMPROTO_H 1" >>confdefs.h
14624 ac_fn_c_check_header_compile "$LINENO" "X11/Xcursor/Xcursor.h" "ac_cv_header_X11_Xcursor_Xcursor_h" "$xlib_includes
14626 if test "x$ac_cv_header_X11_Xcursor_Xcursor_h" = xyes
14627 then :
14628 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
14629 printf %s "checking for -lXcursor... " >&6; }
14630 if test ${ac_cv_lib_soname_Xcursor+y}
14631 then :
14632 printf %s "(cached) " >&6
14633 else $as_nop
14634 ac_check_soname_save_LIBS=$LIBS
14635 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
14636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14637 /* end confdefs.h. */
14639 /* Override any GCC internal prototype to avoid an error.
14640 Use char because int might match the return type of a GCC
14641 builtin and then its argument prototype would still apply. */
14642 char XcursorImageLoadCursor ();
14644 main (void)
14646 return XcursorImageLoadCursor ();
14648 return 0;
14650 _ACEOF
14651 if ac_fn_c_try_link "$LINENO"
14652 then :
14653 case "$LIBEXT" in
14654 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14655 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'` ;;
14656 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14657 if ${ac_cv_lib_soname_Xcursor:+false} :
14658 then :
14659 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14660 fi ;;
14661 esac
14662 else $as_nop
14663 ac_cv_lib_soname_Xcursor=
14665 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14666 conftest$ac_exeext conftest.$ac_ext
14667 LIBS=$ac_check_soname_save_LIBS
14669 if ${ac_cv_lib_soname_Xcursor:+false} :
14670 then :
14671 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14672 printf "%s\n" "not found" >&6; }
14674 else $as_nop
14675 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
14676 printf "%s\n" "$ac_cv_lib_soname_Xcursor" >&6; }
14678 printf "%s\n" "#define SONAME_LIBXCURSOR \"$ac_cv_lib_soname_Xcursor\"" >>confdefs.h
14684 if test "x$ac_cv_lib_soname_Xcursor" = "x"
14685 then :
14686 case "x$with_xcursor" in
14687 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
14688 xno) ;;
14689 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
14690 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
14691 esac
14695 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XInput.h" "ac_cv_header_X11_extensions_XInput_h" "$xlib_includes
14697 if test "x$ac_cv_header_X11_extensions_XInput_h" = xyes
14698 then :
14699 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
14700 printf %s "checking for -lXi... " >&6; }
14701 if test ${ac_cv_lib_soname_Xi+y}
14702 then :
14703 printf %s "(cached) " >&6
14704 else $as_nop
14705 ac_check_soname_save_LIBS=$LIBS
14706 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
14707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14708 /* end confdefs.h. */
14710 /* Override any GCC internal prototype to avoid an error.
14711 Use char because int might match the return type of a GCC
14712 builtin and then its argument prototype would still apply. */
14713 char XOpenDevice ();
14715 main (void)
14717 return XOpenDevice ();
14719 return 0;
14721 _ACEOF
14722 if ac_fn_c_try_link "$LINENO"
14723 then :
14724 case "$LIBEXT" in
14725 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14726 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'` ;;
14727 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14728 if ${ac_cv_lib_soname_Xi:+false} :
14729 then :
14730 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14731 fi ;;
14732 esac
14733 else $as_nop
14734 ac_cv_lib_soname_Xi=
14736 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14737 conftest$ac_exeext conftest.$ac_ext
14738 LIBS=$ac_check_soname_save_LIBS
14740 if ${ac_cv_lib_soname_Xi:+false} :
14741 then :
14742 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14743 printf "%s\n" "not found" >&6; }
14745 else $as_nop
14746 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
14747 printf "%s\n" "$ac_cv_lib_soname_Xi" >&6; }
14749 printf "%s\n" "#define SONAME_LIBXI \"$ac_cv_lib_soname_Xi\"" >>confdefs.h
14755 if test "x$ac_cv_lib_soname_Xi" = "x"
14756 then :
14757 case "x$with_xinput" in
14758 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
14759 xno) ;;
14760 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
14761 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
14762 esac
14766 if test "x$ac_cv_lib_soname_Xi" != x
14767 then
14768 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"
14769 then :
14770 case "x$with_xinput2" in
14771 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
14772 xno) ;;
14773 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
14774 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
14775 esac
14780 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
14781 then
14782 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
14783 printf %s "checking for XShmQueryExtension in -lXext... " >&6; }
14784 if test ${ac_cv_lib_Xext_XShmQueryExtension+y}
14785 then :
14786 printf %s "(cached) " >&6
14787 else $as_nop
14788 ac_check_lib_save_LIBS=$LIBS
14789 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
14790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14791 /* end confdefs.h. */
14793 /* Override any GCC internal prototype to avoid an error.
14794 Use char because int might match the return type of a GCC
14795 builtin and then its argument prototype would still apply. */
14796 char XShmQueryExtension ();
14798 main (void)
14800 return XShmQueryExtension ();
14802 return 0;
14804 _ACEOF
14805 if ac_fn_c_try_link "$LINENO"
14806 then :
14807 ac_cv_lib_Xext_XShmQueryExtension=yes
14808 else $as_nop
14809 ac_cv_lib_Xext_XShmQueryExtension=no
14811 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14812 conftest$ac_exeext conftest.$ac_ext
14813 LIBS=$ac_check_lib_save_LIBS
14815 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
14816 printf "%s\n" "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
14817 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
14818 then :
14820 printf "%s\n" "#define HAVE_LIBXXSHM 1" >>confdefs.h
14825 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"
14826 then :
14827 case "x$with_xshm" in
14828 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
14829 xno) ;;
14830 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
14831 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
14832 esac
14836 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
14837 then
14838 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
14839 printf %s "checking for XShapeQueryExtension in -lXext... " >&6; }
14840 if test ${ac_cv_lib_Xext_XShapeQueryExtension+y}
14841 then :
14842 printf %s "(cached) " >&6
14843 else $as_nop
14844 ac_check_lib_save_LIBS=$LIBS
14845 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
14846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14847 /* end confdefs.h. */
14849 /* Override any GCC internal prototype to avoid an error.
14850 Use char because int might match the return type of a GCC
14851 builtin and then its argument prototype would still apply. */
14852 char XShapeQueryExtension ();
14854 main (void)
14856 return XShapeQueryExtension ();
14858 return 0;
14860 _ACEOF
14861 if ac_fn_c_try_link "$LINENO"
14862 then :
14863 ac_cv_lib_Xext_XShapeQueryExtension=yes
14864 else $as_nop
14865 ac_cv_lib_Xext_XShapeQueryExtension=no
14867 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14868 conftest$ac_exeext conftest.$ac_ext
14869 LIBS=$ac_check_lib_save_LIBS
14871 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
14872 printf "%s\n" "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
14873 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
14874 then :
14876 printf "%s\n" "#define HAVE_LIBXSHAPE 1" >>confdefs.h
14881 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"
14882 then :
14883 case "x$with_xshape" in
14884 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
14885 xno) ;;
14886 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
14887 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
14888 esac
14892 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
14893 then
14894 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
14895 printf %s "checking for -lXxf86vm... " >&6; }
14896 if test ${ac_cv_lib_soname_Xxf86vm+y}
14897 then :
14898 printf %s "(cached) " >&6
14899 else $as_nop
14900 ac_check_soname_save_LIBS=$LIBS
14901 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
14902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14903 /* end confdefs.h. */
14905 /* Override any GCC internal prototype to avoid an error.
14906 Use char because int might match the return type of a GCC
14907 builtin and then its argument prototype would still apply. */
14908 char XF86VidModeQueryExtension ();
14910 main (void)
14912 return XF86VidModeQueryExtension ();
14914 return 0;
14916 _ACEOF
14917 if ac_fn_c_try_link "$LINENO"
14918 then :
14919 case "$LIBEXT" in
14920 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14921 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'` ;;
14922 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14923 if ${ac_cv_lib_soname_Xxf86vm:+false} :
14924 then :
14925 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14926 fi ;;
14927 esac
14928 else $as_nop
14929 ac_cv_lib_soname_Xxf86vm=
14931 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14932 conftest$ac_exeext conftest.$ac_ext
14933 LIBS=$ac_check_soname_save_LIBS
14935 if ${ac_cv_lib_soname_Xxf86vm:+false} :
14936 then :
14937 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14938 printf "%s\n" "not found" >&6; }
14940 else $as_nop
14941 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
14942 printf "%s\n" "$ac_cv_lib_soname_Xxf86vm" >&6; }
14944 printf "%s\n" "#define SONAME_LIBXXF86VM \"$ac_cv_lib_soname_Xxf86vm\"" >>confdefs.h
14949 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"
14950 then :
14951 case "x$with_xxf86vm" in
14952 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
14953 xno) ;;
14954 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
14955 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
14956 esac
14960 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
14961 then
14962 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
14963 printf %s "checking for -lXrender... " >&6; }
14964 if test ${ac_cv_lib_soname_Xrender+y}
14965 then :
14966 printf %s "(cached) " >&6
14967 else $as_nop
14968 ac_check_soname_save_LIBS=$LIBS
14969 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
14970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14971 /* end confdefs.h. */
14973 /* Override any GCC internal prototype to avoid an error.
14974 Use char because int might match the return type of a GCC
14975 builtin and then its argument prototype would still apply. */
14976 char XRenderQueryExtension ();
14978 main (void)
14980 return XRenderQueryExtension ();
14982 return 0;
14984 _ACEOF
14985 if ac_fn_c_try_link "$LINENO"
14986 then :
14987 case "$LIBEXT" in
14988 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14989 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'` ;;
14990 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14991 if ${ac_cv_lib_soname_Xrender:+false} :
14992 then :
14993 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14994 fi ;;
14995 esac
14996 else $as_nop
14997 ac_cv_lib_soname_Xrender=
14999 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15000 conftest$ac_exeext conftest.$ac_ext
15001 LIBS=$ac_check_soname_save_LIBS
15003 if ${ac_cv_lib_soname_Xrender:+false} :
15004 then :
15005 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15006 printf "%s\n" "not found" >&6; }
15008 else $as_nop
15009 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
15010 printf "%s\n" "$ac_cv_lib_soname_Xrender" >&6; }
15012 printf "%s\n" "#define SONAME_LIBXRENDER \"$ac_cv_lib_soname_Xrender\"" >>confdefs.h
15014 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
15015 printf %s "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
15016 if test ${ac_cv_lib_Xrender_XRenderSetPictureTransform+y}
15017 then :
15018 printf %s "(cached) " >&6
15019 else $as_nop
15020 ac_check_lib_save_LIBS=$LIBS
15021 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
15022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15023 /* end confdefs.h. */
15025 /* Override any GCC internal prototype to avoid an error.
15026 Use char because int might match the return type of a GCC
15027 builtin and then its argument prototype would still apply. */
15028 char XRenderSetPictureTransform ();
15030 main (void)
15032 return XRenderSetPictureTransform ();
15034 return 0;
15036 _ACEOF
15037 if ac_fn_c_try_link "$LINENO"
15038 then :
15039 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
15040 else $as_nop
15041 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
15043 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15044 conftest$ac_exeext conftest.$ac_ext
15045 LIBS=$ac_check_lib_save_LIBS
15047 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
15048 printf "%s\n" "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
15049 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
15050 then :
15052 printf "%s\n" "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
15056 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
15057 printf %s "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
15058 if test ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+y}
15059 then :
15060 printf %s "(cached) " >&6
15061 else $as_nop
15062 ac_check_lib_save_LIBS=$LIBS
15063 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
15064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15065 /* end confdefs.h. */
15067 /* Override any GCC internal prototype to avoid an error.
15068 Use char because int might match the return type of a GCC
15069 builtin and then its argument prototype would still apply. */
15070 char XRenderCreateLinearGradient ();
15072 main (void)
15074 return XRenderCreateLinearGradient ();
15076 return 0;
15078 _ACEOF
15079 if ac_fn_c_try_link "$LINENO"
15080 then :
15081 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
15082 else $as_nop
15083 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
15085 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15086 conftest$ac_exeext conftest.$ac_ext
15087 LIBS=$ac_check_lib_save_LIBS
15089 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
15090 printf "%s\n" "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
15091 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes
15092 then :
15094 printf "%s\n" "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
15101 if test "x$ac_cv_lib_soname_Xrender" = "x"
15102 then :
15103 case "x$with_xrender" in
15104 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
15105 xno) ;;
15106 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
15107 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
15108 esac
15112 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
15113 then
15114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15115 /* end confdefs.h. */
15116 #include <X11/Xlib.h>
15117 #include <X11/extensions/Xrandr.h>
15119 main (void)
15121 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
15123 return 0;
15125 _ACEOF
15126 if ac_fn_c_try_compile "$LINENO"
15127 then :
15128 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
15129 printf %s "checking for -lXrandr... " >&6; }
15130 if test ${ac_cv_lib_soname_Xrandr+y}
15131 then :
15132 printf %s "(cached) " >&6
15133 else $as_nop
15134 ac_check_soname_save_LIBS=$LIBS
15135 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
15136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15137 /* end confdefs.h. */
15139 /* Override any GCC internal prototype to avoid an error.
15140 Use char because int might match the return type of a GCC
15141 builtin and then its argument prototype would still apply. */
15142 char XRRQueryExtension ();
15144 main (void)
15146 return XRRQueryExtension ();
15148 return 0;
15150 _ACEOF
15151 if ac_fn_c_try_link "$LINENO"
15152 then :
15153 case "$LIBEXT" in
15154 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15155 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'` ;;
15156 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15157 if ${ac_cv_lib_soname_Xrandr:+false} :
15158 then :
15159 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15160 fi ;;
15161 esac
15162 else $as_nop
15163 ac_cv_lib_soname_Xrandr=
15165 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15166 conftest$ac_exeext conftest.$ac_ext
15167 LIBS=$ac_check_soname_save_LIBS
15169 if ${ac_cv_lib_soname_Xrandr:+false} :
15170 then :
15171 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15172 printf "%s\n" "not found" >&6; }
15174 else $as_nop
15175 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
15176 printf "%s\n" "$ac_cv_lib_soname_Xrandr" >&6; }
15178 printf "%s\n" "#define SONAME_LIBXRANDR \"$ac_cv_lib_soname_Xrandr\"" >>confdefs.h
15180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15181 /* end confdefs.h. */
15182 #include <X11/Xlib.h>
15183 #include <X11/extensions/Xrandr.h>
15185 main (void)
15187 static typeof(XRRGetProviderResources) *f; if (f) return 0;
15189 return 0;
15191 _ACEOF
15192 if ac_fn_c_try_compile "$LINENO"
15193 then :
15195 printf "%s\n" "#define HAVE_XRRGETPROVIDERRESOURCES 1" >>confdefs.h
15197 else $as_nop
15198 as_fn_append wine_notices "|libxrandr ${notice_platform}development files too old, XRandR display device handler won't be supported."
15200 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15203 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15205 if test "x$ac_cv_lib_soname_Xrandr" = "x"
15206 then :
15207 case "x$with_xrandr" in
15208 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
15209 xno) ;;
15210 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
15211 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
15212 esac
15216 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
15217 then
15218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15219 /* end confdefs.h. */
15220 #include <X11/Xlib.h>
15221 #include <X11/extensions/Xfixes.h>
15223 main (void)
15225 static typeof(XFixesQueryVersion) * func; if (func) return 0;
15227 return 0;
15229 _ACEOF
15230 if ac_fn_c_try_compile "$LINENO"
15231 then :
15232 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
15233 printf %s "checking for -lXfixes... " >&6; }
15234 if test ${ac_cv_lib_soname_Xfixes+y}
15235 then :
15236 printf %s "(cached) " >&6
15237 else $as_nop
15238 ac_check_soname_save_LIBS=$LIBS
15239 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
15240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15241 /* end confdefs.h. */
15243 /* Override any GCC internal prototype to avoid an error.
15244 Use char because int might match the return type of a GCC
15245 builtin and then its argument prototype would still apply. */
15246 char XFixesQueryVersion ();
15248 main (void)
15250 return XFixesQueryVersion ();
15252 return 0;
15254 _ACEOF
15255 if ac_fn_c_try_link "$LINENO"
15256 then :
15257 case "$LIBEXT" in
15258 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15259 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'` ;;
15260 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15261 if ${ac_cv_lib_soname_Xfixes:+false} :
15262 then :
15263 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15264 fi ;;
15265 esac
15266 else $as_nop
15267 ac_cv_lib_soname_Xfixes=
15269 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15270 conftest$ac_exeext conftest.$ac_ext
15271 LIBS=$ac_check_soname_save_LIBS
15273 if ${ac_cv_lib_soname_Xfixes:+false} :
15274 then :
15275 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15276 printf "%s\n" "not found" >&6; }
15278 else $as_nop
15279 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
15280 printf "%s\n" "$ac_cv_lib_soname_Xfixes" >&6; }
15282 printf "%s\n" "#define SONAME_LIBXFIXES \"$ac_cv_lib_soname_Xfixes\"" >>confdefs.h
15287 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15289 if test "x$ac_cv_lib_soname_Xfixes" = "x"
15290 then :
15291 case "x$with_xfixes" in
15292 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
15293 xno) ;;
15294 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
15295 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
15296 esac
15300 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
15301 then
15302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15303 /* end confdefs.h. */
15304 #include <X11/Xlib.h>
15305 #include <X11/extensions/Xinerama.h>
15307 main (void)
15309 static typeof(XineramaQueryScreens) * func; if (func) return 0;
15311 return 0;
15313 _ACEOF
15314 if ac_fn_c_try_compile "$LINENO"
15315 then :
15316 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
15317 printf %s "checking for -lXinerama... " >&6; }
15318 if test ${ac_cv_lib_soname_Xinerama+y}
15319 then :
15320 printf %s "(cached) " >&6
15321 else $as_nop
15322 ac_check_soname_save_LIBS=$LIBS
15323 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
15324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15325 /* end confdefs.h. */
15327 /* Override any GCC internal prototype to avoid an error.
15328 Use char because int might match the return type of a GCC
15329 builtin and then its argument prototype would still apply. */
15330 char XineramaQueryScreens ();
15332 main (void)
15334 return XineramaQueryScreens ();
15336 return 0;
15338 _ACEOF
15339 if ac_fn_c_try_link "$LINENO"
15340 then :
15341 case "$LIBEXT" in
15342 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15343 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'` ;;
15344 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15345 if ${ac_cv_lib_soname_Xinerama:+false} :
15346 then :
15347 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15348 fi ;;
15349 esac
15350 else $as_nop
15351 ac_cv_lib_soname_Xinerama=
15353 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15354 conftest$ac_exeext conftest.$ac_ext
15355 LIBS=$ac_check_soname_save_LIBS
15357 if ${ac_cv_lib_soname_Xinerama:+false} :
15358 then :
15359 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15360 printf "%s\n" "not found" >&6; }
15362 else $as_nop
15363 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
15364 printf "%s\n" "$ac_cv_lib_soname_Xinerama" >&6; }
15366 printf "%s\n" "#define SONAME_LIBXINERAMA \"$ac_cv_lib_soname_Xinerama\"" >>confdefs.h
15371 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15373 if test "x$ac_cv_lib_soname_Xinerama" = "x"
15374 then :
15375 case "x$with_xinerama" in
15376 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
15377 xno) ;;
15378 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
15379 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
15380 esac
15384 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xcomposite.h" "ac_cv_header_X11_extensions_Xcomposite_h" "$xlib_includes
15386 if test "x$ac_cv_header_X11_extensions_Xcomposite_h" = xyes
15387 then :
15388 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
15389 printf %s "checking for -lXcomposite... " >&6; }
15390 if test ${ac_cv_lib_soname_Xcomposite+y}
15391 then :
15392 printf %s "(cached) " >&6
15393 else $as_nop
15394 ac_check_soname_save_LIBS=$LIBS
15395 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
15396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15397 /* end confdefs.h. */
15399 /* Override any GCC internal prototype to avoid an error.
15400 Use char because int might match the return type of a GCC
15401 builtin and then its argument prototype would still apply. */
15402 char XCompositeRedirectWindow ();
15404 main (void)
15406 return XCompositeRedirectWindow ();
15408 return 0;
15410 _ACEOF
15411 if ac_fn_c_try_link "$LINENO"
15412 then :
15413 case "$LIBEXT" in
15414 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15415 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'` ;;
15416 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15417 if ${ac_cv_lib_soname_Xcomposite:+false} :
15418 then :
15419 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15420 fi ;;
15421 esac
15422 else $as_nop
15423 ac_cv_lib_soname_Xcomposite=
15425 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15426 conftest$ac_exeext conftest.$ac_ext
15427 LIBS=$ac_check_soname_save_LIBS
15429 if ${ac_cv_lib_soname_Xcomposite:+false} :
15430 then :
15431 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15432 printf "%s\n" "not found" >&6; }
15434 else $as_nop
15435 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
15436 printf "%s\n" "$ac_cv_lib_soname_Xcomposite" >&6; }
15438 printf "%s\n" "#define SONAME_LIBXCOMPOSITE \"$ac_cv_lib_soname_Xcomposite\"" >>confdefs.h
15444 if test "x$ac_cv_lib_soname_Xcomposite" = "x"
15445 then :
15446 case "x$with_xcomposite" in
15447 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
15448 xno) ;;
15449 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
15450 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
15451 esac
15455 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "$xlib_includes
15457 if test "x$ac_cv_member_XICCallback_callback" = xyes
15458 then :
15460 printf "%s\n" "#define HAVE_XICCALLBACK_CALLBACK 1" >>confdefs.h
15464 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "$xlib_includes
15466 if test "x$ac_cv_member_XEvent_xcookie" = xyes
15467 then :
15469 printf "%s\n" "#define HAVE_XEVENT_XCOOKIE 1" >>confdefs.h
15476 opengl_msg=""
15477 if test "x$with_opengl" != "xno"
15478 then
15479 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
15480 printf %s "checking for -lGL... " >&6; }
15481 if test ${ac_cv_lib_soname_GL+y}
15482 then :
15483 printf %s "(cached) " >&6
15484 else $as_nop
15485 ac_check_soname_save_LIBS=$LIBS
15486 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
15487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15488 /* end confdefs.h. */
15490 /* Override any GCC internal prototype to avoid an error.
15491 Use char because int might match the return type of a GCC
15492 builtin and then its argument prototype would still apply. */
15493 char glXCreateContext ();
15495 main (void)
15497 return glXCreateContext ();
15499 return 0;
15501 _ACEOF
15502 if ac_fn_c_try_link "$LINENO"
15503 then :
15504 case "$LIBEXT" in
15505 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15506 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'` ;;
15507 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15508 if ${ac_cv_lib_soname_GL:+false} :
15509 then :
15510 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15511 fi ;;
15512 esac
15513 else $as_nop
15514 ac_cv_lib_soname_GL=
15516 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15517 conftest$ac_exeext conftest.$ac_ext
15518 LIBS=$ac_check_soname_save_LIBS
15520 if ${ac_cv_lib_soname_GL:+false} :
15521 then :
15522 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15523 printf "%s\n" "not found" >&6; }
15524 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
15525 printf %s "checking for -lGL... " >&6; }
15526 if test ${ac_cv_lib_soname_GL+y}
15527 then :
15528 printf %s "(cached) " >&6
15529 else $as_nop
15530 ac_check_soname_save_LIBS=$LIBS
15531 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"
15532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15533 /* end confdefs.h. */
15535 /* Override any GCC internal prototype to avoid an error.
15536 Use char because int might match the return type of a GCC
15537 builtin and then its argument prototype would still apply. */
15538 char glXCreateContext ();
15540 main (void)
15542 return glXCreateContext ();
15544 return 0;
15546 _ACEOF
15547 if ac_fn_c_try_link "$LINENO"
15548 then :
15549 case "$LIBEXT" in
15550 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15551 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'` ;;
15552 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15553 if ${ac_cv_lib_soname_GL:+false} :
15554 then :
15555 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15556 fi ;;
15557 esac
15558 else $as_nop
15559 ac_cv_lib_soname_GL=
15561 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15562 conftest$ac_exeext conftest.$ac_ext
15563 LIBS=$ac_check_soname_save_LIBS
15565 if ${ac_cv_lib_soname_GL:+false} :
15566 then :
15567 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15568 printf "%s\n" "not found" >&6; }
15569 if test -f /usr/X11R6/lib/libGL.a
15570 then
15571 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
15572 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
15573 else
15574 opengl_msg="No OpenGL library found on this system."
15576 else $as_nop
15577 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
15578 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
15580 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
15582 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"
15584 else $as_nop
15585 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
15586 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
15588 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
15590 OPENGL_LIBS="-lGL"
15592 if test "x$with_osmesa" != "xno"
15593 then
15594 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
15595 printf %s "checking for -lOSMesa... " >&6; }
15596 if test ${ac_cv_lib_soname_OSMesa+y}
15597 then :
15598 printf %s "(cached) " >&6
15599 else $as_nop
15600 ac_check_soname_save_LIBS=$LIBS
15601 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
15602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15603 /* end confdefs.h. */
15605 /* Override any GCC internal prototype to avoid an error.
15606 Use char because int might match the return type of a GCC
15607 builtin and then its argument prototype would still apply. */
15608 char OSMesaGetProcAddress ();
15610 main (void)
15612 return OSMesaGetProcAddress ();
15614 return 0;
15616 _ACEOF
15617 if ac_fn_c_try_link "$LINENO"
15618 then :
15619 case "$LIBEXT" in
15620 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15621 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'` ;;
15622 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15623 if ${ac_cv_lib_soname_OSMesa:+false} :
15624 then :
15625 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15626 fi ;;
15627 esac
15628 else $as_nop
15629 ac_cv_lib_soname_OSMesa=
15631 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15632 conftest$ac_exeext conftest.$ac_ext
15633 LIBS=$ac_check_soname_save_LIBS
15635 if ${ac_cv_lib_soname_OSMesa:+false} :
15636 then :
15637 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15638 printf "%s\n" "not found" >&6; }
15640 else $as_nop
15641 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
15642 printf "%s\n" "$ac_cv_lib_soname_OSMesa" >&6; }
15644 printf "%s\n" "#define SONAME_LIBOSMESA \"$ac_cv_lib_soname_OSMesa\"" >>confdefs.h
15648 if test "x$ac_cv_lib_soname_OSMesa" = "x"
15649 then :
15650 case "x$with_osmesa" in
15651 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
15652 xno) ;;
15653 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
15654 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
15655 esac
15660 if test -n "$opengl_msg"
15661 then :
15662 case "x$with_opengl" in
15663 x) as_fn_append wine_warnings "|$opengl_msg
15664 OpenGL and Direct3D won't be supported." ;;
15665 xno) ;;
15666 *) as_fn_error $? "$opengl_msg
15667 OpenGL and Direct3D won't be supported.
15668 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
15669 esac
15673 CPPFLAGS="$ac_save_CPPFLAGS"
15674 else
15675 X_CFLAGS=""
15676 X_LIBS=""
15679 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
15680 then
15681 if test "x$X_LIBS" = "x"
15682 then :
15683 case "x$with_x" in
15684 xno) ;;
15685 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
15686 without X support, which probably isn't what you want. You will need
15687 to install ${notice_platform}development packages of Xlib at the very least.
15688 Use the --without-x option if you really want this." "$LINENO" 5 ;;
15689 esac
15690 enable_winex11_drv=${enable_winex11_drv:-no}
15692 else
15693 if test "x$X_LIBS" = "x"
15694 then :
15695 case "x$with_x" in
15696 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
15697 xno) ;;
15698 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
15699 This is an error since --with-x was requested." "$LINENO" 5 ;;
15700 esac
15701 enable_winex11_drv=${enable_winex11_drv:-no}
15705 if test "x$with_wayland" != "xno"
15706 then
15707 rm -f conftest.err
15708 if ${WAYLAND_CLIENT_CFLAGS:+false} :
15709 then :
15710 if test ${PKG_CONFIG+y}
15711 then :
15712 WAYLAND_CLIENT_CFLAGS=`$PKG_CONFIG --cflags wayland-client 2>conftest.err`
15716 if ${WAYLAND_CLIENT_LIBS:+false} :
15717 then :
15718 if test ${PKG_CONFIG+y}
15719 then :
15720 WAYLAND_CLIENT_LIBS=`$PKG_CONFIG --libs wayland-client 2>/dev/null`
15725 printf "%s\n" "$as_me:${as_lineno-$LINENO}: wayland-client cflags: $WAYLAND_CLIENT_CFLAGS" >&5
15726 printf "%s\n" "$as_me:${as_lineno-$LINENO}: wayland-client libs: $WAYLAND_CLIENT_LIBS" >&5
15727 if test -s conftest.err; then
15728 printf %s "$as_me:${as_lineno-$LINENO}: wayland-client errors: " >&5
15729 cat conftest.err >&5
15731 rm -f conftest.err
15732 ac_save_CPPFLAGS=$CPPFLAGS
15733 CPPFLAGS="$CPPFLAGS $WAYLAND_CLIENT_CFLAGS"
15734 ac_fn_c_check_header_compile "$LINENO" "wayland-client.h" "ac_cv_header_wayland_client_h" "$ac_includes_default"
15735 if test "x$ac_cv_header_wayland_client_h" = xyes
15736 then :
15737 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for wl_display_connect in -lwayland-client" >&5
15738 printf %s "checking for wl_display_connect in -lwayland-client... " >&6; }
15739 if test ${ac_cv_lib_wayland_client_wl_display_connect+y}
15740 then :
15741 printf %s "(cached) " >&6
15742 else $as_nop
15743 ac_check_lib_save_LIBS=$LIBS
15744 LIBS="-lwayland-client $WAYLAND_CLIENT_LIBS $LIBS"
15745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15746 /* end confdefs.h. */
15748 /* Override any GCC internal prototype to avoid an error.
15749 Use char because int might match the return type of a GCC
15750 builtin and then its argument prototype would still apply. */
15751 char wl_display_connect ();
15753 main (void)
15755 return wl_display_connect ();
15757 return 0;
15759 _ACEOF
15760 if ac_fn_c_try_link "$LINENO"
15761 then :
15762 ac_cv_lib_wayland_client_wl_display_connect=yes
15763 else $as_nop
15764 ac_cv_lib_wayland_client_wl_display_connect=no
15766 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15767 conftest$ac_exeext conftest.$ac_ext
15768 LIBS=$ac_check_lib_save_LIBS
15770 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_wayland_client_wl_display_connect" >&5
15771 printf "%s\n" "$ac_cv_lib_wayland_client_wl_display_connect" >&6; }
15772 if test "x$ac_cv_lib_wayland_client_wl_display_connect" = xyes
15773 then :
15774 # Extract the first word of "wayland-scanner", so it can be a program name with args.
15775 set dummy wayland-scanner; ac_word=$2
15776 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15777 printf %s "checking for $ac_word... " >&6; }
15778 if test ${ac_cv_path_WAYLAND_SCANNER+y}
15779 then :
15780 printf %s "(cached) " >&6
15781 else $as_nop
15782 case $WAYLAND_SCANNER in
15783 [\\/]* | ?:[\\/]*)
15784 ac_cv_path_WAYLAND_SCANNER="$WAYLAND_SCANNER" # Let the user override the test with a path.
15787 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15788 for as_dir in $PATH
15790 IFS=$as_save_IFS
15791 case $as_dir in #(((
15792 '') as_dir=./ ;;
15793 */) ;;
15794 *) as_dir=$as_dir/ ;;
15795 esac
15796 for ac_exec_ext in '' $ac_executable_extensions; do
15797 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
15798 ac_cv_path_WAYLAND_SCANNER="$as_dir$ac_word$ac_exec_ext"
15799 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
15800 break 2
15802 done
15803 done
15804 IFS=$as_save_IFS
15806 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`"
15808 esac
15810 WAYLAND_SCANNER=$ac_cv_path_WAYLAND_SCANNER
15811 if test -n "$WAYLAND_SCANNER"; then
15812 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $WAYLAND_SCANNER" >&5
15813 printf "%s\n" "$WAYLAND_SCANNER" >&6; }
15814 else
15815 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
15816 printf "%s\n" "no" >&6; }
15820 else $as_nop
15821 WAYLAND_CLIENT_LIBS=""
15826 CPPFLAGS=$ac_save_CPPFLAGS
15829 if test -z "$WAYLAND_CLIENT_LIBS" -o -z "$WAYLAND_SCANNER" -o "$ac_cv_header_linux_input_h" = "no"
15830 then :
15831 case "x$with_wayland" in
15832 x) as_fn_append wine_notices "|Wayland ${notice_platform}development files not found, the Wayland driver won't be supported." ;;
15833 xno) ;;
15834 *) as_fn_error $? "Wayland ${notice_platform}development files not found, the Wayland driver won't be supported.
15835 This is an error since --with-wayland was requested." "$LINENO" 5 ;;
15836 esac
15837 enable_winewayland_drv=${enable_winewayland_drv:-no}
15840 if test "$ac_cv_header_CL_cl_h" = "yes"
15841 then
15842 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
15843 printf %s "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
15844 if test ${ac_cv_lib_OpenCL_clGetPlatformInfo+y}
15845 then :
15846 printf %s "(cached) " >&6
15847 else $as_nop
15848 ac_check_lib_save_LIBS=$LIBS
15849 LIBS="-lOpenCL $LIBS"
15850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15851 /* end confdefs.h. */
15853 /* Override any GCC internal prototype to avoid an error.
15854 Use char because int might match the return type of a GCC
15855 builtin and then its argument prototype would still apply. */
15856 char clGetPlatformInfo ();
15858 main (void)
15860 return clGetPlatformInfo ();
15862 return 0;
15864 _ACEOF
15865 if ac_fn_c_try_link "$LINENO"
15866 then :
15867 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
15868 else $as_nop
15869 ac_cv_lib_OpenCL_clGetPlatformInfo=no
15871 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15872 conftest$ac_exeext conftest.$ac_ext
15873 LIBS=$ac_check_lib_save_LIBS
15875 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
15876 printf "%s\n" "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
15877 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
15878 then :
15879 OPENCL_LIBS="-lOpenCL"
15884 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
15885 then :
15886 case "x$with_opencl" in
15887 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
15888 xno) ;;
15889 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
15890 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
15891 esac
15892 enable_opencl=${enable_opencl:-no}
15895 if test "$ac_cv_header_pcap_pcap_h" = "yes"
15896 then
15897 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pcap_init in -lpcap" >&5
15898 printf %s "checking for pcap_init in -lpcap... " >&6; }
15899 if test ${ac_cv_lib_pcap_pcap_init+y}
15900 then :
15901 printf %s "(cached) " >&6
15902 else $as_nop
15903 ac_check_lib_save_LIBS=$LIBS
15904 LIBS="-lpcap $LIBS"
15905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15906 /* end confdefs.h. */
15908 /* Override any GCC internal prototype to avoid an error.
15909 Use char because int might match the return type of a GCC
15910 builtin and then its argument prototype would still apply. */
15911 char pcap_init ();
15913 main (void)
15915 return pcap_init ();
15917 return 0;
15919 _ACEOF
15920 if ac_fn_c_try_link "$LINENO"
15921 then :
15922 ac_cv_lib_pcap_pcap_init=yes
15923 else $as_nop
15924 ac_cv_lib_pcap_pcap_init=no
15926 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15927 conftest$ac_exeext conftest.$ac_ext
15928 LIBS=$ac_check_lib_save_LIBS
15930 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_init" >&5
15931 printf "%s\n" "$ac_cv_lib_pcap_pcap_init" >&6; }
15932 if test "x$ac_cv_lib_pcap_pcap_init" = xyes
15933 then :
15934 PCAP_LIBS="-lpcap"
15939 if test "x$ac_cv_lib_pcap_pcap_init" != xyes
15940 then :
15941 case "x$with_pcap" in
15942 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
15943 xno) ;;
15944 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
15945 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
15946 esac
15947 enable_wpcap=${enable_wpcap:-no}
15950 if test "x$with_pcsclite" != "xno"
15951 then
15952 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for SCardEstablishContext in -lpcsclite" >&5
15953 printf %s "checking for SCardEstablishContext in -lpcsclite... " >&6; }
15954 if test ${ac_cv_lib_pcsclite_SCardEstablishContext+y}
15955 then :
15956 printf %s "(cached) " >&6
15957 else $as_nop
15958 ac_check_lib_save_LIBS=$LIBS
15959 LIBS="-lpcsclite $LIBS"
15960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15961 /* end confdefs.h. */
15963 /* Override any GCC internal prototype to avoid an error.
15964 Use char because int might match the return type of a GCC
15965 builtin and then its argument prototype would still apply. */
15966 char SCardEstablishContext ();
15968 main (void)
15970 return SCardEstablishContext ();
15972 return 0;
15974 _ACEOF
15975 if ac_fn_c_try_link "$LINENO"
15976 then :
15977 ac_cv_lib_pcsclite_SCardEstablishContext=yes
15978 else $as_nop
15979 ac_cv_lib_pcsclite_SCardEstablishContext=no
15981 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15982 conftest$ac_exeext conftest.$ac_ext
15983 LIBS=$ac_check_lib_save_LIBS
15985 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcsclite_SCardEstablishContext" >&5
15986 printf "%s\n" "$ac_cv_lib_pcsclite_SCardEstablishContext" >&6; }
15987 if test "x$ac_cv_lib_pcsclite_SCardEstablishContext" = xyes
15988 then :
15989 PCSCLITE_LIBS="-lpcsclite"
15991 else $as_nop
15992 case $host_os in
15993 darwin*|macosx*) PCSCLITE_LIBS="-framework PCSC"
15995 esac
15999 if test "x$PCSCLITE_LIBS" = x
16000 then :
16001 case "x$with_pcsclite" in
16002 x) as_fn_append wine_notices "|libpcsclite not found, smart cards won't be supported." ;;
16003 xno) ;;
16004 *) as_fn_error $? "libpcsclite not found, smart cards won't be supported.
16005 This is an error since --with-pcsclite was requested." "$LINENO" 5 ;;
16006 esac
16007 enable_winscard=${enable_winscard:-no}
16010 if test "x$with_inotify" != "xno"
16011 then
16012 rm -f conftest.err
16013 if ${INOTIFY_CFLAGS:+false} :
16014 then :
16015 if test ${PKG_CONFIG+y}
16016 then :
16017 INOTIFY_CFLAGS=`$PKG_CONFIG --cflags libinotify 2>conftest.err`
16021 if ${INOTIFY_LIBS:+false} :
16022 then :
16023 if test ${PKG_CONFIG+y}
16024 then :
16025 INOTIFY_LIBS=`$PKG_CONFIG --libs libinotify 2>/dev/null`
16030 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
16031 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
16032 if test -s conftest.err; then
16033 printf %s "$as_me:${as_lineno-$LINENO}: libinotify errors: " >&5
16034 cat conftest.err >&5
16036 rm -f conftest.err
16037 ac_save_CPPFLAGS=$CPPFLAGS
16038 CPPFLAGS="$CPPFLAGS $INOTIFY_CFLAGS"
16039 ac_fn_c_check_header_compile "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
16040 if test "x$ac_cv_header_sys_inotify_h" = xyes
16041 then :
16042 printf "%s\n" "#define HAVE_SYS_INOTIFY_H 1" >>confdefs.h
16046 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
16047 printf %s "checking for inotify_add_watch in -linotify... " >&6; }
16048 if test ${ac_cv_lib_inotify_inotify_add_watch+y}
16049 then :
16050 printf %s "(cached) " >&6
16051 else $as_nop
16052 ac_check_lib_save_LIBS=$LIBS
16053 LIBS="-linotify $INOTIFY_LIBS $LIBS"
16054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16055 /* end confdefs.h. */
16057 /* Override any GCC internal prototype to avoid an error.
16058 Use char because int might match the return type of a GCC
16059 builtin and then its argument prototype would still apply. */
16060 char inotify_add_watch ();
16062 main (void)
16064 return inotify_add_watch ();
16066 return 0;
16068 _ACEOF
16069 if ac_fn_c_try_link "$LINENO"
16070 then :
16071 ac_cv_lib_inotify_inotify_add_watch=yes
16072 else $as_nop
16073 ac_cv_lib_inotify_inotify_add_watch=no
16075 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16076 conftest$ac_exeext conftest.$ac_ext
16077 LIBS=$ac_check_lib_save_LIBS
16079 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
16080 printf "%s\n" "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
16081 if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes
16082 then :
16084 else $as_nop
16085 INOTIFY_LIBS=""
16088 CPPFLAGS=$ac_save_CPPFLAGS
16091 if test "$ac_cv_header_sys_inotify_h" != "yes"
16092 then :
16093 case "x$with_inotify" in
16094 x) as_fn_append wine_notices "|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
16095 xno) ;;
16096 *) as_fn_error $? "libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
16097 This is an error since --with-inotify was requested." "$LINENO" 5 ;;
16098 esac
16102 if test "x$with_dbus" != "xno"
16103 then
16104 rm -f conftest.err
16105 if ${DBUS_CFLAGS:+false} :
16106 then :
16107 if test ${PKG_CONFIG+y}
16108 then :
16109 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>conftest.err`
16113 if ${DBUS_LIBS:+false} :
16114 then :
16115 if test ${PKG_CONFIG+y}
16116 then :
16117 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
16122 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
16123 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
16124 if test -s conftest.err; then
16125 printf %s "$as_me:${as_lineno-$LINENO}: dbus-1 errors: " >&5
16126 cat conftest.err >&5
16128 rm -f conftest.err
16129 ac_save_CPPFLAGS=$CPPFLAGS
16130 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
16131 ac_fn_c_check_header_compile "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
16132 if test "x$ac_cv_header_dbus_dbus_h" = xyes
16133 then :
16134 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
16135 printf %s "checking for -ldbus-1... " >&6; }
16136 if test ${ac_cv_lib_soname_dbus_1+y}
16137 then :
16138 printf %s "(cached) " >&6
16139 else $as_nop
16140 ac_check_soname_save_LIBS=$LIBS
16141 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
16142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16143 /* end confdefs.h. */
16145 /* Override any GCC internal prototype to avoid an error.
16146 Use char because int might match the return type of a GCC
16147 builtin and then its argument prototype would still apply. */
16148 char dbus_connection_close ();
16150 main (void)
16152 return dbus_connection_close ();
16154 return 0;
16156 _ACEOF
16157 if ac_fn_c_try_link "$LINENO"
16158 then :
16159 case "$LIBEXT" in
16160 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16161 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'` ;;
16162 *) 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'`
16163 if ${ac_cv_lib_soname_dbus_1:+false} :
16164 then :
16165 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16166 fi ;;
16167 esac
16168 else $as_nop
16169 ac_cv_lib_soname_dbus_1=
16171 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16172 conftest$ac_exeext conftest.$ac_ext
16173 LIBS=$ac_check_soname_save_LIBS
16175 if ${ac_cv_lib_soname_dbus_1:+false} :
16176 then :
16177 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16178 printf "%s\n" "not found" >&6; }
16179 DBUS_CFLAGS=""
16180 else $as_nop
16181 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
16182 printf "%s\n" "$ac_cv_lib_soname_dbus_1" >&6; }
16184 printf "%s\n" "#define SONAME_LIBDBUS_1 \"$ac_cv_lib_soname_dbus_1\"" >>confdefs.h
16188 else $as_nop
16189 DBUS_CFLAGS=""
16192 CPPFLAGS=$ac_save_CPPFLAGS
16195 case $host_os in
16196 darwin*|macosx*) ;;
16197 *) if test "x$ac_cv_lib_soname_dbus_1" = "x"
16198 then :
16199 case "x$with_dbus" in
16200 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
16201 xno) ;;
16202 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
16203 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
16204 esac
16206 fi ;;
16207 esac
16209 if test "x$with_gnutls" != "xno"
16210 then
16211 rm -f conftest.err
16212 if ${GNUTLS_CFLAGS:+false} :
16213 then :
16214 if test ${PKG_CONFIG+y}
16215 then :
16216 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>conftest.err`
16220 if ${GNUTLS_LIBS:+false} :
16221 then :
16222 if test ${PKG_CONFIG+y}
16223 then :
16224 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
16228 GNUTLS_LIBS=${GNUTLS_LIBS:-"-lgnutls"}
16229 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
16230 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
16231 if test -s conftest.err; then
16232 printf %s "$as_me:${as_lineno-$LINENO}: gnutls errors: " >&5
16233 cat conftest.err >&5
16235 rm -f conftest.err
16236 ac_save_CPPFLAGS=$CPPFLAGS
16237 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
16238 ac_fn_c_check_header_compile "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
16239 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
16240 then :
16241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16242 /* end confdefs.h. */
16243 #include <gnutls/gnutls.h>
16244 #include <gnutls/crypto.h>
16246 main (void)
16248 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
16250 return 0;
16252 _ACEOF
16253 if ac_fn_c_try_compile "$LINENO"
16254 then :
16255 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
16256 printf %s "checking for -lgnutls... " >&6; }
16257 if test ${ac_cv_lib_soname_gnutls+y}
16258 then :
16259 printf %s "(cached) " >&6
16260 else $as_nop
16261 ac_check_soname_save_LIBS=$LIBS
16262 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
16263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16264 /* end confdefs.h. */
16266 /* Override any GCC internal prototype to avoid an error.
16267 Use char because int might match the return type of a GCC
16268 builtin and then its argument prototype would still apply. */
16269 char gnutls_global_init ();
16271 main (void)
16273 return gnutls_global_init ();
16275 return 0;
16277 _ACEOF
16278 if ac_fn_c_try_link "$LINENO"
16279 then :
16280 case "$LIBEXT" in
16281 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16282 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'` ;;
16283 *) 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'`
16284 if ${ac_cv_lib_soname_gnutls:+false} :
16285 then :
16286 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'`
16287 fi ;;
16288 esac
16289 else $as_nop
16290 ac_cv_lib_soname_gnutls=
16292 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16293 conftest$ac_exeext conftest.$ac_ext
16294 LIBS=$ac_check_soname_save_LIBS
16296 if ${ac_cv_lib_soname_gnutls:+false} :
16297 then :
16298 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16299 printf "%s\n" "not found" >&6; }
16300 GNUTLS_CFLAGS=""
16301 else $as_nop
16302 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
16303 printf "%s\n" "$ac_cv_lib_soname_gnutls" >&6; }
16305 printf "%s\n" "#define SONAME_LIBGNUTLS \"$ac_cv_lib_soname_gnutls\"" >>confdefs.h
16309 ac_wine_check_funcs_save_LIBS="$LIBS"
16310 LIBS="$LIBS $GNUTLS_LIBS"
16312 for ac_func in gnutls_cipher_init
16313 do :
16314 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
16315 if test "x$ac_cv_func_gnutls_cipher_init" = xyes
16316 then :
16317 printf "%s\n" "#define HAVE_GNUTLS_CIPHER_INIT 1" >>confdefs.h
16319 else $as_nop
16320 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
16323 done
16324 LIBS="$ac_wine_check_funcs_save_LIBS"
16326 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
16327 else $as_nop
16328 GNUTLS_CFLAGS=""
16331 CPPFLAGS=$ac_save_CPPFLAGS
16334 if test "x$ac_cv_lib_soname_gnutls" = "x"
16335 then :
16336 case "x$with_gnutls" in
16337 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
16338 xno) ;;
16339 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
16340 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
16341 esac
16345 if test "x$with_sane" != "xno"
16346 then
16347 rm -f conftest.err
16348 if ${SANE_CFLAGS:+false} :
16349 then :
16350 if test ${PKG_CONFIG+y}
16351 then :
16352 SANE_CFLAGS=`$PKG_CONFIG --cflags sane-backends 2>conftest.err`
16355 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
16356 if ${SANE_LIBS:+false} :
16357 then :
16358 if test ${PKG_CONFIG+y}
16359 then :
16360 SANE_LIBS=`$PKG_CONFIG --libs sane-backends 2>/dev/null`
16363 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
16365 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends cflags: $SANE_CFLAGS" >&5
16366 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends libs: $SANE_LIBS" >&5
16367 if test -s conftest.err; then
16368 printf %s "$as_me:${as_lineno-$LINENO}: sane-backends errors: " >&5
16369 cat conftest.err >&5
16371 rm -f conftest.err
16372 ac_save_CPPFLAGS=$CPPFLAGS
16373 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
16374 ac_fn_c_check_header_compile "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
16375 if test "x$ac_cv_header_sane_sane_h" = xyes
16376 then :
16377 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sane_init in -lsane" >&5
16378 printf %s "checking for sane_init in -lsane... " >&6; }
16379 if test ${ac_cv_lib_sane_sane_init+y}
16380 then :
16381 printf %s "(cached) " >&6
16382 else $as_nop
16383 ac_check_lib_save_LIBS=$LIBS
16384 LIBS="-lsane $SANE_LIBS $LIBS"
16385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16386 /* end confdefs.h. */
16388 /* Override any GCC internal prototype to avoid an error.
16389 Use char because int might match the return type of a GCC
16390 builtin and then its argument prototype would still apply. */
16391 char sane_init ();
16393 main (void)
16395 return sane_init ();
16397 return 0;
16399 _ACEOF
16400 if ac_fn_c_try_link "$LINENO"
16401 then :
16402 ac_cv_lib_sane_sane_init=yes
16403 else $as_nop
16404 ac_cv_lib_sane_sane_init=no
16406 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16407 conftest$ac_exeext conftest.$ac_ext
16408 LIBS=$ac_check_lib_save_LIBS
16410 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sane_sane_init" >&5
16411 printf "%s\n" "$ac_cv_lib_sane_sane_init" >&6; }
16412 if test "x$ac_cv_lib_sane_sane_init" = xyes
16413 then :
16419 CPPFLAGS=$ac_save_CPPFLAGS
16422 if test "$ac_cv_lib_sane_sane_init" != "yes"
16423 then :
16424 case "x$with_sane" in
16425 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
16426 xno) ;;
16427 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
16428 This is an error since --with-sane was requested." "$LINENO" 5 ;;
16429 esac
16430 enable_sane_ds=${enable_sane_ds:-no}
16433 if test "x$with_usb" != "xno"
16434 then
16435 rm -f conftest.err
16436 if ${USB_CFLAGS:+false} :
16437 then :
16438 if test ${PKG_CONFIG+y}
16439 then :
16440 USB_CFLAGS=`$PKG_CONFIG --cflags libusb-1.0 2>conftest.err`
16444 if ${USB_LIBS:+false} :
16445 then :
16446 if test ${PKG_CONFIG+y}
16447 then :
16448 USB_LIBS=`$PKG_CONFIG --libs libusb-1.0 2>/dev/null`
16452 USB_LIBS=${USB_LIBS:-"-lusb-1.0"}
16453 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 cflags: $USB_CFLAGS" >&5
16454 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 libs: $USB_LIBS" >&5
16455 if test -s conftest.err; then
16456 printf %s "$as_me:${as_lineno-$LINENO}: libusb-1.0 errors: " >&5
16457 cat conftest.err >&5
16459 rm -f conftest.err
16460 ac_save_CPPFLAGS=$CPPFLAGS
16461 CPPFLAGS="$CPPFLAGS $USB_CFLAGS"
16462 ac_fn_c_check_header_compile "$LINENO" "libusb.h" "ac_cv_header_libusb_h" "$ac_includes_default"
16463 if test "x$ac_cv_header_libusb_h" = xyes
16464 then :
16465 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libusb_interrupt_event_handler in -lusb-1.0" >&5
16466 printf %s "checking for libusb_interrupt_event_handler in -lusb-1.0... " >&6; }
16467 if test ${ac_cv_lib_usb_1_0_libusb_interrupt_event_handler+y}
16468 then :
16469 printf %s "(cached) " >&6
16470 else $as_nop
16471 ac_check_lib_save_LIBS=$LIBS
16472 LIBS="-lusb-1.0 $USB_LIBS $LIBS"
16473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16474 /* end confdefs.h. */
16476 /* Override any GCC internal prototype to avoid an error.
16477 Use char because int might match the return type of a GCC
16478 builtin and then its argument prototype would still apply. */
16479 char libusb_interrupt_event_handler ();
16481 main (void)
16483 return libusb_interrupt_event_handler ();
16485 return 0;
16487 _ACEOF
16488 if ac_fn_c_try_link "$LINENO"
16489 then :
16490 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=yes
16491 else $as_nop
16492 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=no
16494 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16495 conftest$ac_exeext conftest.$ac_ext
16496 LIBS=$ac_check_lib_save_LIBS
16498 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&5
16499 printf "%s\n" "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&6; }
16500 if test "x$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" = xyes
16501 then :
16503 else $as_nop
16504 USB_LIBS=""
16507 else $as_nop
16508 USB_LIBS=""
16511 CPPFLAGS=$ac_save_CPPFLAGS
16514 if test "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" != "yes"
16515 then :
16516 case "x$with_usb" in
16517 x) as_fn_append wine_notices "|libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported." ;;
16518 xno) ;;
16519 *) as_fn_error $? "libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported.
16520 This is an error since --with-usb was requested." "$LINENO" 5 ;;
16521 esac
16522 enable_wineusb_sys=${enable_wineusb_sys:-no}
16525 if test "x$with_v4l2" != "xno"
16526 then
16527 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
16528 printf %s "checking for -lv4l2... " >&6; }
16529 if test ${ac_cv_lib_soname_v4l2+y}
16530 then :
16531 printf %s "(cached) " >&6
16532 else $as_nop
16533 ac_check_soname_save_LIBS=$LIBS
16534 LIBS="-lv4l2 $LIBS"
16535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16536 /* end confdefs.h. */
16538 /* Override any GCC internal prototype to avoid an error.
16539 Use char because int might match the return type of a GCC
16540 builtin and then its argument prototype would still apply. */
16541 char v4l2_open ();
16543 main (void)
16545 return v4l2_open ();
16547 return 0;
16549 _ACEOF
16550 if ac_fn_c_try_link "$LINENO"
16551 then :
16552 case "$LIBEXT" in
16553 dll) ac_cv_lib_soname_v4l2=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16554 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'` ;;
16555 *) ac_cv_lib_soname_v4l2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16556 if ${ac_cv_lib_soname_v4l2:+false} :
16557 then :
16558 ac_cv_lib_soname_v4l2=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16559 fi ;;
16560 esac
16561 else $as_nop
16562 ac_cv_lib_soname_v4l2=
16564 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16565 conftest$ac_exeext conftest.$ac_ext
16566 LIBS=$ac_check_soname_save_LIBS
16568 if ${ac_cv_lib_soname_v4l2:+false} :
16569 then :
16570 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16571 printf "%s\n" "not found" >&6; }
16573 else $as_nop
16574 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
16575 printf "%s\n" "$ac_cv_lib_soname_v4l2" >&6; }
16577 printf "%s\n" "#define SONAME_LIBV4L2 \"$ac_cv_lib_soname_v4l2\"" >>confdefs.h
16582 if test "x$ac_cv_lib_soname_v4l2" = "x"
16583 then :
16584 case "x$with_v4l2" in
16585 x) as_fn_append wine_notices "|libv4l2 ${notice_platform}development files not found." ;;
16586 xno) ;;
16587 *) as_fn_error $? "libv4l2 ${notice_platform}development files not found.
16588 This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
16589 esac
16593 if test "x$with_gphoto" != "xno"
16594 then
16595 rm -f conftest.err
16596 if ${GPHOTO2_CFLAGS:+false} :
16597 then :
16598 if test ${PKG_CONFIG+y}
16599 then :
16600 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>conftest.err`
16603 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
16604 if ${GPHOTO2_LIBS:+false} :
16605 then :
16606 if test ${PKG_CONFIG+y}
16607 then :
16608 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
16611 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
16612 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
16613 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
16614 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
16615 if test -s conftest.err; then
16616 printf %s "$as_me:${as_lineno-$LINENO}: libgphoto2 errors: " >&5
16617 cat conftest.err >&5
16619 rm -f conftest.err
16620 ac_save_CPPFLAGS=$CPPFLAGS
16621 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
16622 ac_fn_c_check_header_compile "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
16623 if test "x$ac_cv_header_gphoto2_camera_h" = xyes
16624 then :
16625 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
16626 printf %s "checking for gp_camera_new in -lgphoto2... " >&6; }
16627 if test ${ac_cv_lib_gphoto2_gp_camera_new+y}
16628 then :
16629 printf %s "(cached) " >&6
16630 else $as_nop
16631 ac_check_lib_save_LIBS=$LIBS
16632 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
16633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16634 /* end confdefs.h. */
16636 /* Override any GCC internal prototype to avoid an error.
16637 Use char because int might match the return type of a GCC
16638 builtin and then its argument prototype would still apply. */
16639 char gp_camera_new ();
16641 main (void)
16643 return gp_camera_new ();
16645 return 0;
16647 _ACEOF
16648 if ac_fn_c_try_link "$LINENO"
16649 then :
16650 ac_cv_lib_gphoto2_gp_camera_new=yes
16651 else $as_nop
16652 ac_cv_lib_gphoto2_gp_camera_new=no
16654 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16655 conftest$ac_exeext conftest.$ac_ext
16656 LIBS=$ac_check_lib_save_LIBS
16658 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
16659 printf "%s\n" "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
16660 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
16661 then :
16667 CPPFLAGS=$ac_save_CPPFLAGS
16669 rm -f conftest.err
16670 if ${GPHOTO2_PORT_CFLAGS:+false} :
16671 then :
16672 if test ${PKG_CONFIG+y}
16673 then :
16674 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>conftest.err`
16677 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
16678 if ${GPHOTO2_PORT_LIBS:+false} :
16679 then :
16680 if test ${PKG_CONFIG+y}
16681 then :
16682 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
16685 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
16686 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
16687 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
16688 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
16689 if test -s conftest.err; then
16690 printf %s "$as_me:${as_lineno-$LINENO}: libgphoto2_port errors: " >&5
16691 cat conftest.err >&5
16693 rm -f conftest.err
16694 ac_save_CPPFLAGS=$CPPFLAGS
16695 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
16696 ac_fn_c_check_header_compile "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
16697 if test "x$ac_cv_header_gphoto2_port_h" = xyes
16698 then :
16699 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
16700 printf %s "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
16701 if test ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+y}
16702 then :
16703 printf %s "(cached) " >&6
16704 else $as_nop
16705 ac_check_lib_save_LIBS=$LIBS
16706 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
16707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16708 /* end confdefs.h. */
16710 /* Override any GCC internal prototype to avoid an error.
16711 Use char because int might match the return type of a GCC
16712 builtin and then its argument prototype would still apply. */
16713 char gp_port_info_list_new ();
16715 main (void)
16717 return gp_port_info_list_new ();
16719 return 0;
16721 _ACEOF
16722 if ac_fn_c_try_link "$LINENO"
16723 then :
16724 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
16725 else $as_nop
16726 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
16728 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16729 conftest$ac_exeext conftest.$ac_ext
16730 LIBS=$ac_check_lib_save_LIBS
16732 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
16733 printf "%s\n" "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
16734 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes
16735 then :
16737 printf "%s\n" "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
16739 else $as_nop
16740 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
16743 else $as_nop
16744 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
16747 CPPFLAGS=$ac_save_CPPFLAGS
16750 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"
16751 then :
16752 case "x$with_gphoto" in
16753 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
16754 xno) ;;
16755 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
16756 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
16757 esac
16758 enable_gphoto2_ds=${enable_gphoto2_ds:-no}
16760 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"
16761 then :
16762 case "x$with_gphoto" in
16763 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
16764 xno) ;;
16765 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
16766 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
16767 esac
16772 if test "$ac_cv_header_resolv_h" = "yes"
16773 then
16774 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
16775 printf %s "checking for resolver library... " >&6; }
16776 if test ${ac_cv_have_resolv+y}
16777 then :
16778 printf %s "(cached) " >&6
16779 else $as_nop
16780 ac_save_LIBS="$LIBS"
16781 for lib in '' -lresolv
16783 LIBS="$lib $ac_save_LIBS"
16784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16785 /* end confdefs.h. */
16786 #ifdef HAVE_NETINET_IN_H
16787 #include <netinet/in.h>
16788 #endif
16789 #include <resolv.h>
16791 main (void)
16793 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0); ns_initparse(0,0,0)
16795 return 0;
16797 _ACEOF
16798 if ac_fn_c_try_link "$LINENO"
16799 then :
16800 ac_cv_have_resolv=${lib:-"none required"}
16801 else $as_nop
16802 ac_cv_have_resolv="not found"
16804 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16805 conftest$ac_exeext conftest.$ac_ext
16806 test "x$ac_cv_have_resolv" = "xnot found" || break
16807 done
16808 LIBS="$ac_save_LIBS"
16810 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
16811 printf "%s\n" "$ac_cv_have_resolv" >&6; }
16813 case "$ac_cv_have_resolv" in
16814 "not found") ;;
16815 "none required")
16817 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
16820 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
16822 RESOLV_LIBS=$ac_cv_have_resolv
16824 esac
16826 if test "x$ac_cv_have_resolv" != "xnot found"
16827 then
16828 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for res_getservers" >&5
16829 printf %s "checking for res_getservers... " >&6; }
16830 if test ${ac_cv_have_res_getservers+y}
16831 then :
16832 printf %s "(cached) " >&6
16833 else $as_nop
16834 ac_save_LIBS="$LIBS"
16835 LIBS="$RESOLV_LIBS $LIBS"
16836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16837 /* end confdefs.h. */
16838 #include <resolv.h>
16840 main (void)
16842 res_getservers(NULL, NULL, 0);
16844 return 0;
16846 _ACEOF
16847 if ac_fn_c_try_link "$LINENO"
16848 then :
16849 ac_cv_have_res_getservers=yes
16850 else $as_nop
16851 ac_cv_have_res_getservers=no
16853 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16854 conftest$ac_exeext conftest.$ac_ext
16855 LIBS="$ac_save_LIBS"
16857 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_res_getservers" >&5
16858 printf "%s\n" "$ac_cv_have_res_getservers" >&6; }
16859 if test "$ac_cv_have_res_getservers" = "yes"
16860 then
16862 printf "%s\n" "#define HAVE_RES_GETSERVERS 1" >>confdefs.h
16868 if test "x$with_freetype" != "xno"
16869 then
16870 rm -f conftest.err
16871 if ${FREETYPE_CFLAGS:+false} :
16872 then :
16873 if test ${PKG_CONFIG+y}
16874 then :
16875 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>conftest.err`
16878 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
16879 if ${FREETYPE_LIBS:+false} :
16880 then :
16881 if test ${PKG_CONFIG+y}
16882 then :
16883 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
16886 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
16887 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
16888 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
16889 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
16890 if test -s conftest.err; then
16891 printf %s "$as_me:${as_lineno-$LINENO}: freetype2 errors: " >&5
16892 cat conftest.err >&5
16894 rm -f conftest.err
16895 ac_save_CPPFLAGS=$CPPFLAGS
16896 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
16897 ac_fn_c_check_header_compile "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
16898 if test "x$ac_cv_header_ft2build_h" = xyes
16899 then :
16900 printf "%s\n" "#define HAVE_FT2BUILD_H 1" >>confdefs.h
16904 if test "$ac_cv_header_ft2build_h" = "yes"
16905 then
16906 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
16907 printf %s "checking for -lfreetype... " >&6; }
16908 if test ${ac_cv_lib_soname_freetype+y}
16909 then :
16910 printf %s "(cached) " >&6
16911 else $as_nop
16912 ac_check_soname_save_LIBS=$LIBS
16913 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
16914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16915 /* end confdefs.h. */
16917 /* Override any GCC internal prototype to avoid an error.
16918 Use char because int might match the return type of a GCC
16919 builtin and then its argument prototype would still apply. */
16920 char FT_Init_FreeType ();
16922 main (void)
16924 return FT_Init_FreeType ();
16926 return 0;
16928 _ACEOF
16929 if ac_fn_c_try_link "$LINENO"
16930 then :
16931 case "$LIBEXT" in
16932 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16933 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'` ;;
16934 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16935 if ${ac_cv_lib_soname_freetype:+false} :
16936 then :
16937 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16938 fi ;;
16939 esac
16940 else $as_nop
16941 ac_cv_lib_soname_freetype=
16943 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16944 conftest$ac_exeext conftest.$ac_ext
16945 LIBS=$ac_check_soname_save_LIBS
16947 if ${ac_cv_lib_soname_freetype:+false} :
16948 then :
16949 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16950 printf "%s\n" "not found" >&6; }
16951 FREETYPE_LIBS=""
16952 else $as_nop
16953 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
16954 printf "%s\n" "$ac_cv_lib_soname_freetype" >&6; }
16956 printf "%s\n" "#define SONAME_LIBFREETYPE \"$ac_cv_lib_soname_freetype\"" >>confdefs.h
16959 printf "%s\n" "#define HAVE_FREETYPE 1" >>confdefs.h
16961 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
16962 #include FT_MODULE_H
16964 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
16965 then :
16967 printf "%s\n" "#define HAVE_FT_TRUETYPEENGINETYPE 1" >>confdefs.h
16973 else
16974 FREETYPE_CFLAGS=""
16975 FREETYPE_LIBS=""
16977 CPPFLAGS=$ac_save_CPPFLAGS
16980 if test "x$ac_cv_lib_soname_freetype" = x
16981 then :
16982 case "x$with_freetype" in
16983 xno) ;;
16984 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
16985 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
16986 esac
16987 enable_fonts=${enable_fonts:-no}
16990 ac_wine_check_funcs_save_LIBS="$LIBS"
16991 LIBS="$LIBS $PTHREAD_LIBS"
16992 ac_fn_c_check_func "$LINENO" "pthread_getthreadid_np" "ac_cv_func_pthread_getthreadid_np"
16993 if test "x$ac_cv_func_pthread_getthreadid_np" = xyes
16994 then :
16995 printf "%s\n" "#define HAVE_PTHREAD_GETTHREADID_NP 1" >>confdefs.h
16999 LIBS="$ac_wine_check_funcs_save_LIBS"
17001 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
17002 then
17003 if test "$ac_cv_header_gettext_po_h" = "yes"
17004 then
17005 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
17006 printf %s "checking for po_message_msgctxt in -lgettextpo... " >&6; }
17007 if test ${ac_cv_lib_gettextpo_po_message_msgctxt+y}
17008 then :
17009 printf %s "(cached) " >&6
17010 else $as_nop
17011 ac_check_lib_save_LIBS=$LIBS
17012 LIBS="-lgettextpo $LIBS"
17013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17014 /* end confdefs.h. */
17016 /* Override any GCC internal prototype to avoid an error.
17017 Use char because int might match the return type of a GCC
17018 builtin and then its argument prototype would still apply. */
17019 char po_message_msgctxt ();
17021 main (void)
17023 return po_message_msgctxt ();
17025 return 0;
17027 _ACEOF
17028 if ac_fn_c_try_link "$LINENO"
17029 then :
17030 ac_cv_lib_gettextpo_po_message_msgctxt=yes
17031 else $as_nop
17032 ac_cv_lib_gettextpo_po_message_msgctxt=no
17034 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17035 conftest$ac_exeext conftest.$ac_ext
17036 LIBS=$ac_check_lib_save_LIBS
17038 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
17039 printf "%s\n" "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
17040 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
17041 then :
17043 printf "%s\n" "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
17045 GETTEXTPO_LIBS="-lgettextpo"
17050 if test "x$GETTEXTPO_LIBS" = "x"
17051 then :
17052 case "x$with_gettextpo" in
17053 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
17054 xno) ;;
17055 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
17056 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
17057 esac
17060 if test "$srcdir" != .
17061 then :
17062 case "x$with_gettextpo" in
17063 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
17064 xno) ;;
17065 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
17066 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
17067 esac
17072 if test "x$with_pulse" != "xno";
17073 then
17074 rm -f conftest.err
17075 if ${PULSE_CFLAGS:+false} :
17076 then :
17077 if test ${PKG_CONFIG+y}
17078 then :
17079 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>conftest.err`
17083 if ${PULSE_LIBS:+false} :
17084 then :
17085 if test ${PKG_CONFIG+y}
17086 then :
17087 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
17092 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
17093 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
17094 if test -s conftest.err; then
17095 printf %s "$as_me:${as_lineno-$LINENO}: libpulse errors: " >&5
17096 cat conftest.err >&5
17098 rm -f conftest.err
17099 ac_save_CPPFLAGS=$CPPFLAGS
17100 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
17101 ac_fn_c_check_header_compile "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
17102 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes
17103 then :
17104 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
17105 printf %s "checking for pa_stream_is_corked in -lpulse... " >&6; }
17106 if test ${ac_cv_lib_pulse_pa_stream_is_corked+y}
17107 then :
17108 printf %s "(cached) " >&6
17109 else $as_nop
17110 ac_check_lib_save_LIBS=$LIBS
17111 LIBS="-lpulse $PULSE_LIBS $LIBS"
17112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17113 /* end confdefs.h. */
17115 /* Override any GCC internal prototype to avoid an error.
17116 Use char because int might match the return type of a GCC
17117 builtin and then its argument prototype would still apply. */
17118 char pa_stream_is_corked ();
17120 main (void)
17122 return pa_stream_is_corked ();
17124 return 0;
17126 _ACEOF
17127 if ac_fn_c_try_link "$LINENO"
17128 then :
17129 ac_cv_lib_pulse_pa_stream_is_corked=yes
17130 else $as_nop
17131 ac_cv_lib_pulse_pa_stream_is_corked=no
17133 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17134 conftest$ac_exeext conftest.$ac_ext
17135 LIBS=$ac_check_lib_save_LIBS
17137 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
17138 printf "%s\n" "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
17139 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes
17140 then :
17142 else $as_nop
17143 PULSE_LIBS=""
17146 else $as_nop
17147 PULSE_LIBS=""
17150 CPPFLAGS=$ac_save_CPPFLAGS
17153 if test -z "$PULSE_LIBS"
17154 then :
17155 case "x$with_pulse" in
17156 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
17157 xno) ;;
17158 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
17159 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
17160 esac
17161 enable_winepulse_drv=${enable_winepulse_drv:-no}
17164 if test "x$with_gstreamer" != "xno"
17165 then
17166 rm -f conftest.err
17167 if ${GSTREAMER_CFLAGS:+false} :
17168 then :
17169 if test ${PKG_CONFIG+y}
17170 then :
17171 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 2>conftest.err`
17175 if ${GSTREAMER_LIBS:+false} :
17176 then :
17177 if test ${PKG_CONFIG+y}
17178 then :
17179 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 2>/dev/null`
17184 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
17185 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
17186 if test -s conftest.err; then
17187 printf %s "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 errors: " >&5
17188 cat conftest.err >&5
17190 rm -f conftest.err
17191 ac_save_CPPFLAGS=$CPPFLAGS
17192 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
17193 ac_fn_c_check_header_compile "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
17194 if test "x$ac_cv_header_gst_gst_h" = xyes
17195 then :
17196 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
17197 printf %s "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
17198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17199 /* end confdefs.h. */
17200 #include <gst/gst.h>
17202 main (void)
17204 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
17206 return 0;
17208 _ACEOF
17209 if ac_fn_c_try_compile "$LINENO"
17210 then :
17211 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17212 printf "%s\n" "yes" >&6; }
17213 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
17214 printf %s "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
17215 if test ${ac_cv_lib_gstreamer_1_0_gst_pad_new+y}
17216 then :
17217 printf %s "(cached) " >&6
17218 else $as_nop
17219 ac_check_lib_save_LIBS=$LIBS
17220 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
17221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17222 /* end confdefs.h. */
17224 /* Override any GCC internal prototype to avoid an error.
17225 Use char because int might match the return type of a GCC
17226 builtin and then its argument prototype would still apply. */
17227 char gst_pad_new ();
17229 main (void)
17231 return gst_pad_new ();
17233 return 0;
17235 _ACEOF
17236 if ac_fn_c_try_link "$LINENO"
17237 then :
17238 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
17239 else $as_nop
17240 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
17242 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17243 conftest$ac_exeext conftest.$ac_ext
17244 LIBS=$ac_check_lib_save_LIBS
17246 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
17247 printf "%s\n" "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
17248 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes
17249 then :
17253 else $as_nop
17254 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
17255 printf "%s\n" "no" >&6; }
17256 ac_glib2_broken=yes
17257 enable_winegstreamer=${enable_winegstreamer:-no}
17258 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
17260 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
17263 CPPFLAGS=$ac_save_CPPFLAGS
17266 if test "x$ac_glib2_broken" != xyes -a "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" != xyes
17267 then :
17268 case "x$with_gstreamer" in
17269 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
17270 xno) ;;
17271 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
17272 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
17273 esac
17274 enable_winegstreamer=${enable_winegstreamer:-no}
17277 ALSA_LIBS=""
17279 if test "x$with_alsa" != "xno"
17280 then
17281 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
17282 printf %s "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
17283 if test ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+y}
17284 then :
17285 printf %s "(cached) " >&6
17286 else $as_nop
17287 ac_check_lib_save_LIBS=$LIBS
17288 LIBS="-lasound $LIBS"
17289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17290 /* end confdefs.h. */
17292 /* Override any GCC internal prototype to avoid an error.
17293 Use char because int might match the return type of a GCC
17294 builtin and then its argument prototype would still apply. */
17295 char snd_pcm_hw_params_get_access_mask ();
17297 main (void)
17299 return snd_pcm_hw_params_get_access_mask ();
17301 return 0;
17303 _ACEOF
17304 if ac_fn_c_try_link "$LINENO"
17305 then :
17306 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
17307 else $as_nop
17308 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
17310 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17311 conftest$ac_exeext conftest.$ac_ext
17312 LIBS=$ac_check_lib_save_LIBS
17314 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
17315 printf "%s\n" "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
17316 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
17317 then :
17318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17319 /* end confdefs.h. */
17320 #include <alsa/asoundlib.h>
17322 main (void)
17324 snd_pcm_hw_params_get_access_mask(NULL, NULL)
17326 return 0;
17328 _ACEOF
17329 if ac_fn_c_try_compile "$LINENO"
17330 then :
17331 ALSA_LIBS="-lasound"
17333 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
17337 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
17339 if test "x$with_oss" != xno
17340 then
17341 ac_save_CPPFLAGS="$CPPFLAGS"
17342 if test -f /etc/oss.conf
17343 then
17344 . /etc/oss.conf
17346 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
17347 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
17348 ac_fn_c_check_header_compile "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
17349 if test "x$ac_cv_header_sys_soundcard_h" = xyes
17350 then :
17351 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
17353 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
17354 then :
17356 printf "%s\n" "#define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1" >>confdefs.h
17358 OSS4_CFLAGS="$ac_oss_incl"
17360 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
17361 printf %s "checking for _oss_ioctl in -lossaudio... " >&6; }
17362 if test ${ac_cv_lib_ossaudio__oss_ioctl+y}
17363 then :
17364 printf %s "(cached) " >&6
17365 else $as_nop
17366 ac_check_lib_save_LIBS=$LIBS
17367 LIBS="-lossaudio $LIBS"
17368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17369 /* end confdefs.h. */
17371 /* Override any GCC internal prototype to avoid an error.
17372 Use char because int might match the return type of a GCC
17373 builtin and then its argument prototype would still apply. */
17374 char _oss_ioctl ();
17376 main (void)
17378 return _oss_ioctl ();
17380 return 0;
17382 _ACEOF
17383 if ac_fn_c_try_link "$LINENO"
17384 then :
17385 ac_cv_lib_ossaudio__oss_ioctl=yes
17386 else $as_nop
17387 ac_cv_lib_ossaudio__oss_ioctl=no
17389 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17390 conftest$ac_exeext conftest.$ac_ext
17391 LIBS=$ac_check_lib_save_LIBS
17393 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
17394 printf "%s\n" "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
17395 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
17396 then :
17397 OSS4_LIBS="-lossaudio"
17405 CPPFLAGS="$ac_save_CPPFLAGS"
17407 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
17408 then :
17409 case "x$with_oss" in
17410 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
17411 xno) ;;
17412 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
17413 This is an error since --with-oss was requested." "$LINENO" 5 ;;
17414 esac
17415 enable_wineoss_drv=${enable_wineoss_drv:-no}
17418 if test "x$with_udev" != "xno"
17419 then
17420 rm -f conftest.err
17421 if ${UDEV_CFLAGS:+false} :
17422 then :
17423 if test ${PKG_CONFIG+y}
17424 then :
17425 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>conftest.err`
17429 if ${UDEV_LIBS:+false} :
17430 then :
17431 if test ${PKG_CONFIG+y}
17432 then :
17433 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
17437 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
17438 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
17439 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
17440 if test -s conftest.err; then
17441 printf %s "$as_me:${as_lineno-$LINENO}: libudev errors: " >&5
17442 cat conftest.err >&5
17444 rm -f conftest.err
17445 ac_save_CPPFLAGS=$CPPFLAGS
17446 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
17447 for ac_header in libudev.h
17448 do :
17449 ac_fn_c_check_header_compile "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
17450 if test "x$ac_cv_header_libudev_h" = xyes
17451 then :
17452 printf "%s\n" "#define HAVE_LIBUDEV_H 1" >>confdefs.h
17453 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
17454 printf %s "checking for udev_new in -ludev... " >&6; }
17455 if test ${ac_cv_lib_udev_udev_new+y}
17456 then :
17457 printf %s "(cached) " >&6
17458 else $as_nop
17459 ac_check_lib_save_LIBS=$LIBS
17460 LIBS="-ludev $UDEV_LIBS $LIBS"
17461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17462 /* end confdefs.h. */
17464 /* Override any GCC internal prototype to avoid an error.
17465 Use char because int might match the return type of a GCC
17466 builtin and then its argument prototype would still apply. */
17467 char udev_new ();
17469 main (void)
17471 return udev_new ();
17473 return 0;
17475 _ACEOF
17476 if ac_fn_c_try_link "$LINENO"
17477 then :
17478 ac_cv_lib_udev_udev_new=yes
17479 else $as_nop
17480 ac_cv_lib_udev_udev_new=no
17482 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17483 conftest$ac_exeext conftest.$ac_ext
17484 LIBS=$ac_check_lib_save_LIBS
17486 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
17487 printf "%s\n" "$ac_cv_lib_udev_udev_new" >&6; }
17488 if test "x$ac_cv_lib_udev_udev_new" = xyes
17489 then :
17491 printf "%s\n" "#define HAVE_UDEV 1" >>confdefs.h
17493 else $as_nop
17494 UDEV_LIBS=""
17497 else $as_nop
17498 UDEV_LIBS=""
17501 done
17502 CPPFLAGS=$ac_save_CPPFLAGS
17505 if test "x$UDEV_LIBS" = "x"
17506 then :
17507 case "x$with_udev" in
17508 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
17509 xno) ;;
17510 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
17511 This is an error since --with-udev was requested." "$LINENO" 5 ;;
17512 esac
17516 if test "x$with_unwind" != xno
17517 then
17518 rm -f conftest.err
17519 if ${UNWIND_CFLAGS:+false} :
17520 then :
17521 if test ${PKG_CONFIG+y}
17522 then :
17523 UNWIND_CFLAGS=`$PKG_CONFIG --cflags libunwind 2>conftest.err`
17527 if ${UNWIND_LIBS:+false} :
17528 then :
17529 if test ${PKG_CONFIG+y}
17530 then :
17531 UNWIND_LIBS=`$PKG_CONFIG --libs libunwind 2>/dev/null`
17535 UNWIND_LIBS=${UNWIND_LIBS:-"-lunwind"}
17536 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind cflags: $UNWIND_CFLAGS" >&5
17537 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind libs: $UNWIND_LIBS" >&5
17538 if test -s conftest.err; then
17539 printf %s "$as_me:${as_lineno-$LINENO}: libunwind errors: " >&5
17540 cat conftest.err >&5
17542 rm -f conftest.err
17543 ac_save_CPPFLAGS=$CPPFLAGS
17544 CPPFLAGS="$CPPFLAGS $UNWIND_CFLAGS"
17545 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step" >&5
17546 printf %s "checking for unw_step... " >&6; }
17547 if test ${wine_cv_have_unw_step+y}
17548 then :
17549 printf %s "(cached) " >&6
17550 else $as_nop
17551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17552 /* end confdefs.h. */
17553 #define UNW_LOCAL_ONLY
17554 #include <libunwind.h>
17556 main (void)
17558 unw_cursor_t cursor; unw_step( &cursor );
17560 return 0;
17562 _ACEOF
17563 if ac_fn_c_try_link "$LINENO"
17564 then :
17565 wine_cv_have_unw_step="yes"
17566 else $as_nop
17567 wine_cv_have_unw_step="no"
17569 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17570 conftest$ac_exeext conftest.$ac_ext
17572 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_unw_step" >&5
17573 printf "%s\n" "$wine_cv_have_unw_step" >&6; }
17574 if test "$wine_cv_have_unw_step" = no -a -n "$UNWIND_LIBS"
17575 then
17576 save_libs=$LIBS
17577 UNWIND_LIBS="-static-libgcc $UNWIND_LIBS"
17578 LIBS="$UNWIND_LIBS $LIBS"
17579 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step in libunwind" >&5
17580 printf %s "checking for unw_step in libunwind... " >&6; }
17581 if test ${wine_cv_have_libunwind_unw_step+y}
17582 then :
17583 printf %s "(cached) " >&6
17584 else $as_nop
17585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17586 /* end confdefs.h. */
17587 #define UNW_LOCAL_ONLY
17588 #include <libunwind.h>
17590 main (void)
17592 unw_cursor_t cursor; unw_step( &cursor );
17594 return 0;
17596 _ACEOF
17597 if ac_fn_c_try_link "$LINENO"
17598 then :
17599 wine_cv_have_libunwind_unw_step="yes"
17600 else $as_nop
17601 wine_cv_have_libunwind_unw_step="no"
17603 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17604 conftest$ac_exeext conftest.$ac_ext
17606 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_libunwind_unw_step" >&5
17607 printf "%s\n" "$wine_cv_have_libunwind_unw_step" >&6; }
17608 LIBS=$save_libs
17610 test "$wine_cv_have_libunwind_unw_step" = yes || UNWIND_LIBS=""
17611 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" != xnono
17612 then
17614 printf "%s\n" "#define HAVE_LIBUNWIND 1" >>confdefs.h
17617 CPPFLAGS=$ac_save_CPPFLAGS
17620 case $host in
17621 aarch64*|*-darwin*)
17622 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" = xnono
17623 then :
17624 case "x$with_unwind" in
17625 x) as_fn_append wine_notices "|libunwind ${notice_platform}development files not found, stack unwinding won't work." ;;
17626 xno) ;;
17627 *) as_fn_error $? "libunwind ${notice_platform}development files not found, stack unwinding won't work.
17628 This is an error since --with-unwind was requested." "$LINENO" 5 ;;
17629 esac
17631 fi ;;
17632 esac
17634 if test "x$with_sdl" != "xno"
17635 then
17636 rm -f conftest.err
17637 if ${SDL2_CFLAGS:+false} :
17638 then :
17639 if test ${PKG_CONFIG+y}
17640 then :
17641 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>conftest.err`
17645 if ${SDL2_LIBS:+false} :
17646 then :
17647 if test ${PKG_CONFIG+y}
17648 then :
17649 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
17653 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
17654 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
17655 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
17656 if test -s conftest.err; then
17657 printf %s "$as_me:${as_lineno-$LINENO}: sdl2 errors: " >&5
17658 cat conftest.err >&5
17660 rm -f conftest.err
17661 ac_save_CPPFLAGS=$CPPFLAGS
17662 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
17663 for ac_header in SDL.h
17664 do :
17665 ac_fn_c_check_header_compile "$LINENO" "SDL.h" "ac_cv_header_SDL_h" "$ac_includes_default"
17666 if test "x$ac_cv_header_SDL_h" = xyes
17667 then :
17668 printf "%s\n" "#define HAVE_SDL_H 1" >>confdefs.h
17669 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
17670 printf %s "checking for -lSDL2... " >&6; }
17671 if test ${ac_cv_lib_soname_SDL2+y}
17672 then :
17673 printf %s "(cached) " >&6
17674 else $as_nop
17675 ac_check_soname_save_LIBS=$LIBS
17676 LIBS="-lSDL2 $SDL2_LIBS $LIBS"
17677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17678 /* end confdefs.h. */
17680 /* Override any GCC internal prototype to avoid an error.
17681 Use char because int might match the return type of a GCC
17682 builtin and then its argument prototype would still apply. */
17683 char SDL_Init ();
17685 main (void)
17687 return SDL_Init ();
17689 return 0;
17691 _ACEOF
17692 if ac_fn_c_try_link "$LINENO"
17693 then :
17694 case "$LIBEXT" in
17695 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17696 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'` ;;
17697 *) 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'`
17698 if ${ac_cv_lib_soname_SDL2:+false} :
17699 then :
17700 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17701 fi ;;
17702 esac
17703 else $as_nop
17704 ac_cv_lib_soname_SDL2=
17706 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17707 conftest$ac_exeext conftest.$ac_ext
17708 LIBS=$ac_check_soname_save_LIBS
17710 if ${ac_cv_lib_soname_SDL2:+false} :
17711 then :
17712 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17713 printf "%s\n" "not found" >&6; }
17715 else $as_nop
17716 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
17717 printf "%s\n" "$ac_cv_lib_soname_SDL2" >&6; }
17719 printf "%s\n" "#define SONAME_LIBSDL2 \"$ac_cv_lib_soname_SDL2\"" >>confdefs.h
17725 done
17726 CPPFLAGS=$ac_save_CPPFLAGS
17729 if test "x$ac_cv_lib_soname_SDL2" = "x"
17730 then :
17731 case "x$with_sdl" in
17732 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
17733 xno) ;;
17734 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
17735 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
17736 esac
17740 if test "x$with_capi" != "xno"
17741 then
17742 rm -f conftest.err
17743 if ${CAPI20_CFLAGS:+false} :
17744 then :
17745 if test ${PKG_CONFIG+y}
17746 then :
17747 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>conftest.err`
17751 if ${CAPI20_LIBS:+false} :
17752 then :
17753 if test ${PKG_CONFIG+y}
17754 then :
17755 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
17760 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
17761 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
17762 if test -s conftest.err; then
17763 printf %s "$as_me:${as_lineno-$LINENO}: capi20 errors: " >&5
17764 cat conftest.err >&5
17766 rm -f conftest.err
17767 ac_save_CPPFLAGS=$CPPFLAGS
17768 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
17769 ac_fn_c_check_header_compile "$LINENO" "capi20.h" "ac_cv_header_capi20_h" "#define __user
17771 if test "x$ac_cv_header_capi20_h" = xyes
17772 then :
17773 printf "%s\n" "#define HAVE_CAPI20_H 1" >>confdefs.h
17776 ac_fn_c_check_header_compile "$LINENO" "linux/capi.h" "ac_cv_header_linux_capi_h" "#define __user
17778 if test "x$ac_cv_header_linux_capi_h" = xyes
17779 then :
17780 printf "%s\n" "#define HAVE_LINUX_CAPI_H 1" >>confdefs.h
17784 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
17785 then
17786 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for capi20_register in -lcapi20" >&5
17787 printf %s "checking for capi20_register in -lcapi20... " >&6; }
17788 if test ${ac_cv_lib_capi20_capi20_register+y}
17789 then :
17790 printf %s "(cached) " >&6
17791 else $as_nop
17792 ac_check_lib_save_LIBS=$LIBS
17793 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
17794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17795 /* end confdefs.h. */
17797 /* Override any GCC internal prototype to avoid an error.
17798 Use char because int might match the return type of a GCC
17799 builtin and then its argument prototype would still apply. */
17800 char capi20_register ();
17802 main (void)
17804 return capi20_register ();
17806 return 0;
17808 _ACEOF
17809 if ac_fn_c_try_link "$LINENO"
17810 then :
17811 ac_cv_lib_capi20_capi20_register=yes
17812 else $as_nop
17813 ac_cv_lib_capi20_capi20_register=no
17815 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17816 conftest$ac_exeext conftest.$ac_ext
17817 LIBS=$ac_check_lib_save_LIBS
17819 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_capi20_capi20_register" >&5
17820 printf "%s\n" "$ac_cv_lib_capi20_capi20_register" >&6; }
17821 if test "x$ac_cv_lib_capi20_capi20_register" = xyes
17822 then :
17824 else $as_nop
17825 CAPI20_LIBS=""
17829 CPPFLAGS=$ac_save_CPPFLAGS
17832 if test "x$ac_cv_lib_capi20_capi20_register" != xyes
17833 then :
17834 case "x$with_capi" in
17835 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
17836 xno) ;;
17837 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
17838 This is an error since --with-capi was requested." "$LINENO" 5 ;;
17839 esac
17840 enable_capi2032=${enable_capi2032:-no}
17843 if test "x$with_cups" != "xno"
17844 then
17845 rm -f conftest.err
17846 if ${CUPS_CFLAGS:+false} :
17847 then :
17848 if test ${PKG_CONFIG+y}
17849 then :
17850 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>conftest.err`
17853 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
17854 if ${CUPS_LIBS:+false} :
17855 then :
17856 if test ${PKG_CONFIG+y}
17857 then :
17858 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
17861 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
17862 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
17863 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
17864 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
17865 if test -s conftest.err; then
17866 printf %s "$as_me:${as_lineno-$LINENO}: cups errors: " >&5
17867 cat conftest.err >&5
17869 rm -f conftest.err
17870 ac_save_CPPFLAGS=$CPPFLAGS
17871 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
17872 ac_fn_c_check_header_compile "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
17873 if test "x$ac_cv_header_cups_cups_h" = xyes
17874 then :
17875 printf "%s\n" "#define HAVE_CUPS_CUPS_H 1" >>confdefs.h
17878 ac_fn_c_check_header_compile "$LINENO" "cups/ppd.h" "ac_cv_header_cups_ppd_h" "$ac_includes_default"
17879 if test "x$ac_cv_header_cups_ppd_h" = xyes
17880 then :
17881 printf "%s\n" "#define HAVE_CUPS_PPD_H 1" >>confdefs.h
17885 if test "$ac_cv_header_cups_cups_h" = "yes"
17886 then
17887 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
17888 printf %s "checking for -lcups... " >&6; }
17889 if test ${ac_cv_lib_soname_cups+y}
17890 then :
17891 printf %s "(cached) " >&6
17892 else $as_nop
17893 ac_check_soname_save_LIBS=$LIBS
17894 LIBS="-lcups $CUPS_LIBS $LIBS"
17895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17896 /* end confdefs.h. */
17898 /* Override any GCC internal prototype to avoid an error.
17899 Use char because int might match the return type of a GCC
17900 builtin and then its argument prototype would still apply. */
17901 char cupsGetDefault ();
17903 main (void)
17905 return cupsGetDefault ();
17907 return 0;
17909 _ACEOF
17910 if ac_fn_c_try_link "$LINENO"
17911 then :
17912 case "$LIBEXT" in
17913 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17914 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'` ;;
17915 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17916 if ${ac_cv_lib_soname_cups:+false} :
17917 then :
17918 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17919 fi ;;
17920 esac
17921 else $as_nop
17922 ac_cv_lib_soname_cups=
17924 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17925 conftest$ac_exeext conftest.$ac_ext
17926 LIBS=$ac_check_soname_save_LIBS
17928 if ${ac_cv_lib_soname_cups:+false} :
17929 then :
17930 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17931 printf "%s\n" "not found" >&6; }
17932 CUPS_LIBS=""
17933 else $as_nop
17934 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
17935 printf "%s\n" "$ac_cv_lib_soname_cups" >&6; }
17937 printf "%s\n" "#define SONAME_LIBCUPS \"$ac_cv_lib_soname_cups\"" >>confdefs.h
17941 else
17942 CUPS_CFLAGS=""
17943 CUPS_LIBS=""
17945 CPPFLAGS=$ac_save_CPPFLAGS
17948 if test "x$ac_cv_lib_soname_cups" = "x"
17949 then :
17950 case "x$with_cups" in
17951 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
17952 xno) ;;
17953 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
17954 This is an error since --with-cups was requested." "$LINENO" 5 ;;
17955 esac
17959 if test "x$with_fontconfig" != "xno"
17960 then
17961 rm -f conftest.err
17962 if ${FONTCONFIG_CFLAGS:+false} :
17963 then :
17964 if test ${PKG_CONFIG+y}
17965 then :
17966 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>conftest.err`
17969 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
17970 if ${FONTCONFIG_LIBS:+false} :
17971 then :
17972 if test ${PKG_CONFIG+y}
17973 then :
17974 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
17977 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
17979 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
17980 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
17981 if test -s conftest.err; then
17982 printf %s "$as_me:${as_lineno-$LINENO}: fontconfig errors: " >&5
17983 cat conftest.err >&5
17985 rm -f conftest.err
17986 ac_save_CPPFLAGS=$CPPFLAGS
17987 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
17988 ac_fn_c_check_header_compile "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
17989 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
17990 then :
17991 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
17992 printf %s "checking for -lfontconfig... " >&6; }
17993 if test ${ac_cv_lib_soname_fontconfig+y}
17994 then :
17995 printf %s "(cached) " >&6
17996 else $as_nop
17997 ac_check_soname_save_LIBS=$LIBS
17998 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
17999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18000 /* end confdefs.h. */
18002 /* Override any GCC internal prototype to avoid an error.
18003 Use char because int might match the return type of a GCC
18004 builtin and then its argument prototype would still apply. */
18005 char FcInit ();
18007 main (void)
18009 return FcInit ();
18011 return 0;
18013 _ACEOF
18014 if ac_fn_c_try_link "$LINENO"
18015 then :
18016 case "$LIBEXT" in
18017 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18018 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'` ;;
18019 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18020 if ${ac_cv_lib_soname_fontconfig:+false} :
18021 then :
18022 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18023 fi ;;
18024 esac
18025 else $as_nop
18026 ac_cv_lib_soname_fontconfig=
18028 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18029 conftest$ac_exeext conftest.$ac_ext
18030 LIBS=$ac_check_soname_save_LIBS
18032 if ${ac_cv_lib_soname_fontconfig:+false} :
18033 then :
18034 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18035 printf "%s\n" "not found" >&6; }
18036 FONTCONFIG_CFLAGS=""
18037 else $as_nop
18038 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
18039 printf "%s\n" "$ac_cv_lib_soname_fontconfig" >&6; }
18041 printf "%s\n" "#define SONAME_LIBFONTCONFIG \"$ac_cv_lib_soname_fontconfig\"" >>confdefs.h
18045 else $as_nop
18046 FONTCONFIG_CFLAGS=""
18049 CPPFLAGS=$ac_save_CPPFLAGS
18052 if test "x$ac_cv_lib_soname_fontconfig" = "x"
18053 then :
18054 case "x$with_fontconfig" in
18055 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
18056 xno) ;;
18057 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
18058 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
18059 esac
18063 if test "x$with_krb5" != "xno"
18064 then
18065 rm -f conftest.err
18066 if ${KRB5_CFLAGS:+false} :
18067 then :
18068 if test ${PKG_CONFIG+y}
18069 then :
18070 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>conftest.err`
18073 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
18074 if ${KRB5_LIBS:+false} :
18075 then :
18076 if test ${PKG_CONFIG+y}
18077 then :
18078 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
18081 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
18083 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
18084 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
18085 if test -s conftest.err; then
18086 printf %s "$as_me:${as_lineno-$LINENO}: krb5 errors: " >&5
18087 cat conftest.err >&5
18089 rm -f conftest.err
18090 ac_save_CPPFLAGS=$CPPFLAGS
18091 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
18092 ac_fn_c_check_header_compile "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
18093 if test "x$ac_cv_header_krb5_krb5_h" = xyes
18094 then :
18095 printf "%s\n" "#define HAVE_KRB5_KRB5_H 1" >>confdefs.h
18099 if test "$ac_cv_header_krb5_krb5_h" = "yes"
18100 then
18101 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
18102 printf %s "checking for -lkrb5... " >&6; }
18103 if test ${ac_cv_lib_soname_krb5+y}
18104 then :
18105 printf %s "(cached) " >&6
18106 else $as_nop
18107 ac_check_soname_save_LIBS=$LIBS
18108 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
18109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18110 /* end confdefs.h. */
18112 /* Override any GCC internal prototype to avoid an error.
18113 Use char because int might match the return type of a GCC
18114 builtin and then its argument prototype would still apply. */
18115 char krb5_is_config_principal ();
18117 main (void)
18119 return krb5_is_config_principal ();
18121 return 0;
18123 _ACEOF
18124 if ac_fn_c_try_link "$LINENO"
18125 then :
18126 case "$LIBEXT" in
18127 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18128 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'` ;;
18129 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18130 if ${ac_cv_lib_soname_krb5:+false} :
18131 then :
18132 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18133 fi ;;
18134 esac
18135 else $as_nop
18136 ac_cv_lib_soname_krb5=
18138 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18139 conftest$ac_exeext conftest.$ac_ext
18140 LIBS=$ac_check_soname_save_LIBS
18142 if ${ac_cv_lib_soname_krb5:+false} :
18143 then :
18144 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18145 printf "%s\n" "not found" >&6; }
18146 KRB5_CFLAGS=""
18147 else $as_nop
18148 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
18149 printf "%s\n" "$ac_cv_lib_soname_krb5" >&6; }
18151 printf "%s\n" "#define SONAME_LIBKRB5 \"$ac_cv_lib_soname_krb5\"" >>confdefs.h
18155 else
18156 KRB5_CFLAGS=""
18158 CPPFLAGS=$ac_save_CPPFLAGS
18161 if test "x$ac_cv_lib_soname_krb5" = "x"
18162 then :
18163 case "x$with_krb5" in
18164 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
18165 xno) ;;
18166 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
18167 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
18168 esac
18171 test "x$ac_cv_lib_soname_krb5" != "x" || with_gssapi=${with_gssapi:-no}
18173 if test "x$with_gssapi" != "xno"
18174 then
18175 rm -f conftest.err
18176 if ${GSSAPI_CFLAGS:+false} :
18177 then :
18178 if test ${PKG_CONFIG+y}
18179 then :
18180 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>conftest.err`
18183 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
18184 if ${GSSAPI_LIBS:+false} :
18185 then :
18186 if test ${PKG_CONFIG+y}
18187 then :
18188 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
18191 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
18193 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
18194 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
18195 if test -s conftest.err; then
18196 printf %s "$as_me:${as_lineno-$LINENO}: krb5-gssapi errors: " >&5
18197 cat conftest.err >&5
18199 rm -f conftest.err
18200 ac_save_CPPFLAGS=$CPPFLAGS
18201 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
18202 ac_fn_c_check_header_compile "$LINENO" "gssapi/gssapi.h" "ac_cv_header_gssapi_gssapi_h" "$ac_includes_default"
18203 if test "x$ac_cv_header_gssapi_gssapi_h" = xyes
18204 then :
18205 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_H 1" >>confdefs.h
18208 ac_fn_c_check_header_compile "$LINENO" "gssapi/gssapi_ext.h" "ac_cv_header_gssapi_gssapi_ext_h" "$ac_includes_default"
18209 if test "x$ac_cv_header_gssapi_gssapi_ext_h" = xyes
18210 then :
18211 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_EXT_H 1" >>confdefs.h
18215 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
18216 then
18217 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
18218 printf %s "checking for -lgssapi_krb5... " >&6; }
18219 if test ${ac_cv_lib_soname_gssapi_krb5+y}
18220 then :
18221 printf %s "(cached) " >&6
18222 else $as_nop
18223 ac_check_soname_save_LIBS=$LIBS
18224 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
18225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18226 /* end confdefs.h. */
18228 /* Override any GCC internal prototype to avoid an error.
18229 Use char because int might match the return type of a GCC
18230 builtin and then its argument prototype would still apply. */
18231 char gss_init_sec_context ();
18233 main (void)
18235 return gss_init_sec_context ();
18237 return 0;
18239 _ACEOF
18240 if ac_fn_c_try_link "$LINENO"
18241 then :
18242 case "$LIBEXT" in
18243 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18244 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'` ;;
18245 *) 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'`
18246 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
18247 then :
18248 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18249 fi ;;
18250 esac
18251 else $as_nop
18252 ac_cv_lib_soname_gssapi_krb5=
18254 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18255 conftest$ac_exeext conftest.$ac_ext
18256 LIBS=$ac_check_soname_save_LIBS
18258 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
18259 then :
18260 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18261 printf "%s\n" "not found" >&6; }
18262 GSSAPI_CFLAGS=""
18263 else $as_nop
18264 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
18265 printf "%s\n" "$ac_cv_lib_soname_gssapi_krb5" >&6; }
18267 printf "%s\n" "#define SONAME_LIBGSSAPI_KRB5 \"$ac_cv_lib_soname_gssapi_krb5\"" >>confdefs.h
18271 else
18272 GSSAPI_CFLAGS=""
18274 CPPFLAGS=$ac_save_CPPFLAGS
18277 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"
18278 then :
18279 case "x$with_gssapi" in
18280 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
18281 xno) ;;
18282 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
18283 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
18284 esac
18288 if test "$ac_cv_header_libprocstat_h" = "yes"
18289 then
18290 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
18291 printf %s "checking for procstat_open_sysctl in -lprocstat... " >&6; }
18292 if test ${ac_cv_lib_procstat_procstat_open_sysctl+y}
18293 then :
18294 printf %s "(cached) " >&6
18295 else $as_nop
18296 ac_check_lib_save_LIBS=$LIBS
18297 LIBS="-lprocstat $LIBS"
18298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18299 /* end confdefs.h. */
18301 /* Override any GCC internal prototype to avoid an error.
18302 Use char because int might match the return type of a GCC
18303 builtin and then its argument prototype would still apply. */
18304 char procstat_open_sysctl ();
18306 main (void)
18308 return procstat_open_sysctl ();
18310 return 0;
18312 _ACEOF
18313 if ac_fn_c_try_link "$LINENO"
18314 then :
18315 ac_cv_lib_procstat_procstat_open_sysctl=yes
18316 else $as_nop
18317 ac_cv_lib_procstat_procstat_open_sysctl=no
18319 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18320 conftest$ac_exeext conftest.$ac_ext
18321 LIBS=$ac_check_lib_save_LIBS
18323 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
18324 printf "%s\n" "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
18325 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes
18326 then :
18328 printf "%s\n" "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
18330 PROCSTAT_LIBS="-lprocstat"
18336 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
18337 printf %s "checking for -lodbc... " >&6; }
18338 if test ${ac_cv_lib_soname_odbc+y}
18339 then :
18340 printf %s "(cached) " >&6
18341 else $as_nop
18342 ac_check_soname_save_LIBS=$LIBS
18343 LIBS="-lodbc $LIBS"
18344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18345 /* end confdefs.h. */
18347 /* Override any GCC internal prototype to avoid an error.
18348 Use char because int might match the return type of a GCC
18349 builtin and then its argument prototype would still apply. */
18350 char SQLConnect ();
18352 main (void)
18354 return SQLConnect ();
18356 return 0;
18358 _ACEOF
18359 if ac_fn_c_try_link "$LINENO"
18360 then :
18361 case "$LIBEXT" in
18362 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18363 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'` ;;
18364 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18365 if ${ac_cv_lib_soname_odbc:+false} :
18366 then :
18367 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18368 fi ;;
18369 esac
18370 else $as_nop
18371 ac_cv_lib_soname_odbc=
18373 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18374 conftest$ac_exeext conftest.$ac_ext
18375 LIBS=$ac_check_soname_save_LIBS
18377 if ${ac_cv_lib_soname_odbc:+false} :
18378 then :
18379 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18380 printf "%s\n" "not found" >&6; }
18381 printf "%s\n" "#define SONAME_LIBODBC \"libodbc.$LIBEXT\"" >>confdefs.h
18383 else $as_nop
18384 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
18385 printf "%s\n" "$ac_cv_lib_soname_odbc" >&6; }
18387 printf "%s\n" "#define SONAME_LIBODBC \"$ac_cv_lib_soname_odbc\"" >>confdefs.h
18392 if test "x$with_netapi" != "xno"
18393 then
18394 rm -f conftest.err
18395 if ${NETAPI_CFLAGS:+false} :
18396 then :
18397 if test ${PKG_CONFIG+y}
18398 then :
18399 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>conftest.err`
18403 if ${NETAPI_LIBS:+false} :
18404 then :
18405 if test ${PKG_CONFIG+y}
18406 then :
18407 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
18412 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
18413 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
18414 if test -s conftest.err; then
18415 printf %s "$as_me:${as_lineno-$LINENO}: netapi errors: " >&5
18416 cat conftest.err >&5
18418 rm -f conftest.err
18419 ac_save_CPPFLAGS=$CPPFLAGS
18420 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
18421 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
18422 printf %s "checking for -lnetapi... " >&6; }
18423 if test ${ac_cv_lib_soname_netapi+y}
18424 then :
18425 printf %s "(cached) " >&6
18426 else $as_nop
18427 ac_check_soname_save_LIBS=$LIBS
18428 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
18429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18430 /* end confdefs.h. */
18432 /* Override any GCC internal prototype to avoid an error.
18433 Use char because int might match the return type of a GCC
18434 builtin and then its argument prototype would still apply. */
18435 char libnetapi_init ();
18437 main (void)
18439 return libnetapi_init ();
18441 return 0;
18443 _ACEOF
18444 if ac_fn_c_try_link "$LINENO"
18445 then :
18446 case "$LIBEXT" in
18447 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18448 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'` ;;
18449 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18450 if ${ac_cv_lib_soname_netapi:+false} :
18451 then :
18452 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18453 fi ;;
18454 esac
18455 else $as_nop
18456 ac_cv_lib_soname_netapi=
18458 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18459 conftest$ac_exeext conftest.$ac_ext
18460 LIBS=$ac_check_soname_save_LIBS
18462 if ${ac_cv_lib_soname_netapi:+false} :
18463 then :
18464 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18465 printf "%s\n" "not found" >&6; }
18466 printf "%s\n" "#define SONAME_LIBNETAPI \"libnetapi.$LIBEXT\"" >>confdefs.h
18468 else $as_nop
18469 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
18470 printf "%s\n" "$ac_cv_lib_soname_netapi" >&6; }
18472 printf "%s\n" "#define SONAME_LIBNETAPI \"$ac_cv_lib_soname_netapi\"" >>confdefs.h
18476 CPPFLAGS=$ac_save_CPPFLAGS
18479 if test "x$ac_cv_lib_soname_netapi" = "x"
18480 then :
18481 case "x$with_netapi" in
18482 x) as_fn_append wine_notices "|libnetapi not found, Samba NetAPI won't be supported." ;;
18483 xno) ;;
18484 *) as_fn_error $? "libnetapi not found, Samba NetAPI won't be supported.
18485 This is an error since --with-netapi was requested." "$LINENO" 5 ;;
18486 esac
18487 enable_netapi=${enable_netapi:-no}
18491 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
18492 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
18493 then
18494 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
18497 if test "x$with_vulkan" != "xno"
18498 then
18499 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
18500 printf %s "checking for -lvulkan... " >&6; }
18501 if test ${ac_cv_lib_soname_vulkan+y}
18502 then :
18503 printf %s "(cached) " >&6
18504 else $as_nop
18505 ac_check_soname_save_LIBS=$LIBS
18506 LIBS="-lvulkan $LIBS"
18507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18508 /* end confdefs.h. */
18510 /* Override any GCC internal prototype to avoid an error.
18511 Use char because int might match the return type of a GCC
18512 builtin and then its argument prototype would still apply. */
18513 char vkGetInstanceProcAddr ();
18515 main (void)
18517 return vkGetInstanceProcAddr ();
18519 return 0;
18521 _ACEOF
18522 if ac_fn_c_try_link "$LINENO"
18523 then :
18524 case "$LIBEXT" in
18525 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18526 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'` ;;
18527 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18528 if ${ac_cv_lib_soname_vulkan:+false} :
18529 then :
18530 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18531 fi ;;
18532 esac
18533 else $as_nop
18534 ac_cv_lib_soname_vulkan=
18536 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18537 conftest$ac_exeext conftest.$ac_ext
18538 LIBS=$ac_check_soname_save_LIBS
18540 if ${ac_cv_lib_soname_vulkan:+false} :
18541 then :
18542 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18543 printf "%s\n" "not found" >&6; }
18545 else $as_nop
18546 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
18547 printf "%s\n" "$ac_cv_lib_soname_vulkan" >&6; }
18549 printf "%s\n" "#define SONAME_LIBVULKAN \"$ac_cv_lib_soname_vulkan\"" >>confdefs.h
18553 if test "x$ac_cv_lib_soname_vulkan" = "x"
18554 then
18555 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
18556 printf %s "checking for -lMoltenVK... " >&6; }
18557 if test ${ac_cv_lib_soname_MoltenVK+y}
18558 then :
18559 printf %s "(cached) " >&6
18560 else $as_nop
18561 ac_check_soname_save_LIBS=$LIBS
18562 LIBS="-lMoltenVK $LIBS"
18563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18564 /* end confdefs.h. */
18566 /* Override any GCC internal prototype to avoid an error.
18567 Use char because int might match the return type of a GCC
18568 builtin and then its argument prototype would still apply. */
18569 char vkGetInstanceProcAddr ();
18571 main (void)
18573 return vkGetInstanceProcAddr ();
18575 return 0;
18577 _ACEOF
18578 if ac_fn_c_try_link "$LINENO"
18579 then :
18580 case "$LIBEXT" in
18581 dll) ac_cv_lib_soname_MoltenVK=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18582 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'` ;;
18583 *) ac_cv_lib_soname_MoltenVK=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18584 if ${ac_cv_lib_soname_MoltenVK:+false} :
18585 then :
18586 ac_cv_lib_soname_MoltenVK=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18587 fi ;;
18588 esac
18589 else $as_nop
18590 ac_cv_lib_soname_MoltenVK=
18592 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18593 conftest$ac_exeext conftest.$ac_ext
18594 LIBS=$ac_check_soname_save_LIBS
18596 if ${ac_cv_lib_soname_MoltenVK:+false} :
18597 then :
18598 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18599 printf "%s\n" "not found" >&6; }
18601 else $as_nop
18602 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
18603 printf "%s\n" "$ac_cv_lib_soname_MoltenVK" >&6; }
18605 printf "%s\n" "#define SONAME_LIBMOLTENVK \"$ac_cv_lib_soname_MoltenVK\"" >>confdefs.h
18611 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"
18612 then :
18613 case "x$with_vulkan" in
18614 x) as_fn_append wine_notices "|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
18615 xno) ;;
18616 *) as_fn_error $? "libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
18617 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
18618 esac
18623 if test "x${GCC}" = "xyes"
18624 then
18625 EXTRACFLAGS="$EXTRACFLAGS -Wall -pipe"
18627 saved_CFLAGS=$CFLAGS
18628 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
18629 printf %s "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
18630 if test ${ac_cv_cflags__Werror_unknown_warning_option+y}
18631 then :
18632 printf %s "(cached) " >&6
18633 else $as_nop
18634 ac_wine_try_cflags_saved=$CFLAGS
18635 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
18636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18637 /* end confdefs.h. */
18638 int main(int argc, char **argv) { return 0; }
18639 _ACEOF
18640 if ac_fn_c_try_link "$LINENO"
18641 then :
18642 ac_cv_cflags__Werror_unknown_warning_option=yes
18643 else $as_nop
18644 ac_cv_cflags__Werror_unknown_warning_option=no
18646 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18647 conftest$ac_exeext conftest.$ac_ext
18648 CFLAGS=$ac_wine_try_cflags_saved
18650 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
18651 printf "%s\n" "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
18652 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes
18653 then :
18654 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
18656 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unused-command-line-argument" >&5
18657 printf %s "checking whether the compiler supports -Werror=unused-command-line-argument... " >&6; }
18658 if test ${ac_cv_cflags__Werror_unused_command_line_argument+y}
18659 then :
18660 printf %s "(cached) " >&6
18661 else $as_nop
18662 ac_wine_try_cflags_saved=$CFLAGS
18663 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
18664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18665 /* end confdefs.h. */
18666 int main(int argc, char **argv) { return 0; }
18667 _ACEOF
18668 if ac_fn_c_try_link "$LINENO"
18669 then :
18670 ac_cv_cflags__Werror_unused_command_line_argument=yes
18671 else $as_nop
18672 ac_cv_cflags__Werror_unused_command_line_argument=no
18674 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18675 conftest$ac_exeext conftest.$ac_ext
18676 CFLAGS=$ac_wine_try_cflags_saved
18678 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unused_command_line_argument" >&5
18679 printf "%s\n" "$ac_cv_cflags__Werror_unused_command_line_argument" >&6; }
18680 if test "x$ac_cv_cflags__Werror_unused_command_line_argument" = xyes
18681 then :
18682 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
18684 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=ignored-optimization-argument" >&5
18685 printf %s "checking whether the compiler supports -Werror=ignored-optimization-argument... " >&6; }
18686 if test ${ac_cv_cflags__Werror_ignored_optimization_argument+y}
18687 then :
18688 printf %s "(cached) " >&6
18689 else $as_nop
18690 ac_wine_try_cflags_saved=$CFLAGS
18691 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
18692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18693 /* end confdefs.h. */
18694 int main(int argc, char **argv) { return 0; }
18695 _ACEOF
18696 if ac_fn_c_try_link "$LINENO"
18697 then :
18698 ac_cv_cflags__Werror_ignored_optimization_argument=yes
18699 else $as_nop
18700 ac_cv_cflags__Werror_ignored_optimization_argument=no
18702 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18703 conftest$ac_exeext conftest.$ac_ext
18704 CFLAGS=$ac_wine_try_cflags_saved
18706 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_ignored_optimization_argument" >&5
18707 printf "%s\n" "$ac_cv_cflags__Werror_ignored_optimization_argument" >&6; }
18708 if test "x$ac_cv_cflags__Werror_ignored_optimization_argument" = xyes
18709 then :
18710 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
18712 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fcf-protection=none" >&5
18713 printf %s "checking whether the compiler supports -fcf-protection=none... " >&6; }
18714 if test ${ac_cv_cflags__fcf_protection_none+y}
18715 then :
18716 printf %s "(cached) " >&6
18717 else $as_nop
18718 ac_wine_try_cflags_saved=$CFLAGS
18719 CFLAGS="$CFLAGS -fcf-protection=none"
18720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18721 /* end confdefs.h. */
18722 int main(int argc, char **argv) { return 0; }
18723 _ACEOF
18724 if ac_fn_c_try_link "$LINENO"
18725 then :
18726 ac_cv_cflags__fcf_protection_none=yes
18727 else $as_nop
18728 ac_cv_cflags__fcf_protection_none=no
18730 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18731 conftest$ac_exeext conftest.$ac_ext
18732 CFLAGS=$ac_wine_try_cflags_saved
18734 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fcf_protection_none" >&5
18735 printf "%s\n" "$ac_cv_cflags__fcf_protection_none" >&6; }
18736 if test "x$ac_cv_cflags__fcf_protection_none" = xyes
18737 then :
18738 EXTRACFLAGS="$EXTRACFLAGS -fcf-protection=none"
18740 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fvisibility=hidden" >&5
18741 printf %s "checking whether the compiler supports -fvisibility=hidden... " >&6; }
18742 if test ${ac_cv_cflags__fvisibility_hidden+y}
18743 then :
18744 printf %s "(cached) " >&6
18745 else $as_nop
18746 ac_wine_try_cflags_saved=$CFLAGS
18747 CFLAGS="$CFLAGS -fvisibility=hidden"
18748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18749 /* end confdefs.h. */
18750 int main(int argc, char **argv) { return 0; }
18751 _ACEOF
18752 if ac_fn_c_try_link "$LINENO"
18753 then :
18754 ac_cv_cflags__fvisibility_hidden=yes
18755 else $as_nop
18756 ac_cv_cflags__fvisibility_hidden=no
18758 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18759 conftest$ac_exeext conftest.$ac_ext
18760 CFLAGS=$ac_wine_try_cflags_saved
18762 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fvisibility_hidden" >&5
18763 printf "%s\n" "$ac_cv_cflags__fvisibility_hidden" >&6; }
18764 if test "x$ac_cv_cflags__fvisibility_hidden" = xyes
18765 then :
18766 EXTRACFLAGS="$EXTRACFLAGS -fvisibility=hidden"
18768 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-stack-protector" >&5
18769 printf %s "checking whether the compiler supports -fno-stack-protector... " >&6; }
18770 if test ${ac_cv_cflags__fno_stack_protector+y}
18771 then :
18772 printf %s "(cached) " >&6
18773 else $as_nop
18774 ac_wine_try_cflags_saved=$CFLAGS
18775 CFLAGS="$CFLAGS -fno-stack-protector"
18776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18777 /* end confdefs.h. */
18778 int main(int argc, char **argv) { return 0; }
18779 _ACEOF
18780 if ac_fn_c_try_link "$LINENO"
18781 then :
18782 ac_cv_cflags__fno_stack_protector=yes
18783 else $as_nop
18784 ac_cv_cflags__fno_stack_protector=no
18786 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18787 conftest$ac_exeext conftest.$ac_ext
18788 CFLAGS=$ac_wine_try_cflags_saved
18790 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_stack_protector" >&5
18791 printf "%s\n" "$ac_cv_cflags__fno_stack_protector" >&6; }
18792 if test "x$ac_cv_cflags__fno_stack_protector" = xyes
18793 then :
18794 EXTRACFLAGS="$EXTRACFLAGS -fno-stack-protector"
18796 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
18797 printf %s "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
18798 if test ${ac_cv_cflags__fno_strict_aliasing+y}
18799 then :
18800 printf %s "(cached) " >&6
18801 else $as_nop
18802 ac_wine_try_cflags_saved=$CFLAGS
18803 CFLAGS="$CFLAGS -fno-strict-aliasing"
18804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18805 /* end confdefs.h. */
18806 int main(int argc, char **argv) { return 0; }
18807 _ACEOF
18808 if ac_fn_c_try_link "$LINENO"
18809 then :
18810 ac_cv_cflags__fno_strict_aliasing=yes
18811 else $as_nop
18812 ac_cv_cflags__fno_strict_aliasing=no
18814 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18815 conftest$ac_exeext conftest.$ac_ext
18816 CFLAGS=$ac_wine_try_cflags_saved
18818 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
18819 printf "%s\n" "$ac_cv_cflags__fno_strict_aliasing" >&6; }
18820 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes
18821 then :
18822 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
18824 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
18825 printf %s "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
18826 if test ${ac_cv_cflags__Wdeclaration_after_statement+y}
18827 then :
18828 printf %s "(cached) " >&6
18829 else $as_nop
18830 ac_wine_try_cflags_saved=$CFLAGS
18831 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
18832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18833 /* end confdefs.h. */
18834 int main(int argc, char **argv) { return 0; }
18835 _ACEOF
18836 if ac_fn_c_try_link "$LINENO"
18837 then :
18838 ac_cv_cflags__Wdeclaration_after_statement=yes
18839 else $as_nop
18840 ac_cv_cflags__Wdeclaration_after_statement=no
18842 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18843 conftest$ac_exeext conftest.$ac_ext
18844 CFLAGS=$ac_wine_try_cflags_saved
18846 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
18847 printf "%s\n" "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
18848 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes
18849 then :
18850 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
18852 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
18853 printf %s "checking whether the compiler supports -Wempty-body... " >&6; }
18854 if test ${ac_cv_cflags__Wempty_body+y}
18855 then :
18856 printf %s "(cached) " >&6
18857 else $as_nop
18858 ac_wine_try_cflags_saved=$CFLAGS
18859 CFLAGS="$CFLAGS -Wempty-body"
18860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18861 /* end confdefs.h. */
18862 int main(int argc, char **argv) { return 0; }
18863 _ACEOF
18864 if ac_fn_c_try_link "$LINENO"
18865 then :
18866 ac_cv_cflags__Wempty_body=yes
18867 else $as_nop
18868 ac_cv_cflags__Wempty_body=no
18870 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18871 conftest$ac_exeext conftest.$ac_ext
18872 CFLAGS=$ac_wine_try_cflags_saved
18874 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
18875 printf "%s\n" "$ac_cv_cflags__Wempty_body" >&6; }
18876 if test "x$ac_cv_cflags__Wempty_body" = xyes
18877 then :
18878 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
18880 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
18881 printf %s "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
18882 if test ${ac_cv_cflags__Wignored_qualifiers+y}
18883 then :
18884 printf %s "(cached) " >&6
18885 else $as_nop
18886 ac_wine_try_cflags_saved=$CFLAGS
18887 CFLAGS="$CFLAGS -Wignored-qualifiers"
18888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18889 /* end confdefs.h. */
18890 int main(int argc, char **argv) { return 0; }
18891 _ACEOF
18892 if ac_fn_c_try_link "$LINENO"
18893 then :
18894 ac_cv_cflags__Wignored_qualifiers=yes
18895 else $as_nop
18896 ac_cv_cflags__Wignored_qualifiers=no
18898 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18899 conftest$ac_exeext conftest.$ac_ext
18900 CFLAGS=$ac_wine_try_cflags_saved
18902 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
18903 printf "%s\n" "$ac_cv_cflags__Wignored_qualifiers" >&6; }
18904 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes
18905 then :
18906 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
18908 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Winit-self" >&5
18909 printf %s "checking whether the compiler supports -Winit-self... " >&6; }
18910 if test ${ac_cv_cflags__Winit_self+y}
18911 then :
18912 printf %s "(cached) " >&6
18913 else $as_nop
18914 ac_wine_try_cflags_saved=$CFLAGS
18915 CFLAGS="$CFLAGS -Winit-self"
18916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18917 /* end confdefs.h. */
18918 int main(int argc, char **argv) { return 0; }
18919 _ACEOF
18920 if ac_fn_c_try_link "$LINENO"
18921 then :
18922 ac_cv_cflags__Winit_self=yes
18923 else $as_nop
18924 ac_cv_cflags__Winit_self=no
18926 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18927 conftest$ac_exeext conftest.$ac_ext
18928 CFLAGS=$ac_wine_try_cflags_saved
18930 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Winit_self" >&5
18931 printf "%s\n" "$ac_cv_cflags__Winit_self" >&6; }
18932 if test "x$ac_cv_cflags__Winit_self" = xyes
18933 then :
18934 EXTRACFLAGS="$EXTRACFLAGS -Winit-self"
18936 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
18937 printf %s "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
18938 if test ${ac_cv_cflags__Wpacked_not_aligned+y}
18939 then :
18940 printf %s "(cached) " >&6
18941 else $as_nop
18942 ac_wine_try_cflags_saved=$CFLAGS
18943 CFLAGS="$CFLAGS -Wpacked-not-aligned"
18944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18945 /* end confdefs.h. */
18946 int main(int argc, char **argv) { return 0; }
18947 _ACEOF
18948 if ac_fn_c_try_link "$LINENO"
18949 then :
18950 ac_cv_cflags__Wpacked_not_aligned=yes
18951 else $as_nop
18952 ac_cv_cflags__Wpacked_not_aligned=no
18954 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18955 conftest$ac_exeext conftest.$ac_ext
18956 CFLAGS=$ac_wine_try_cflags_saved
18958 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
18959 printf "%s\n" "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
18960 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes
18961 then :
18962 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
18964 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
18965 printf %s "checking whether the compiler supports -Wpragma-pack... " >&6; }
18966 if test ${ac_cv_cflags__Wpragma_pack+y}
18967 then :
18968 printf %s "(cached) " >&6
18969 else $as_nop
18970 ac_wine_try_cflags_saved=$CFLAGS
18971 CFLAGS="$CFLAGS -Wpragma-pack"
18972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18973 /* end confdefs.h. */
18974 int main(int argc, char **argv) { return 0; }
18975 _ACEOF
18976 if ac_fn_c_try_link "$LINENO"
18977 then :
18978 ac_cv_cflags__Wpragma_pack=yes
18979 else $as_nop
18980 ac_cv_cflags__Wpragma_pack=no
18982 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18983 conftest$ac_exeext conftest.$ac_ext
18984 CFLAGS=$ac_wine_try_cflags_saved
18986 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
18987 printf "%s\n" "$ac_cv_cflags__Wpragma_pack" >&6; }
18988 if test "x$ac_cv_cflags__Wpragma_pack" = xyes
18989 then :
18990 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
18992 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
18993 printf %s "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
18994 if test ${ac_cv_cflags__Wshift_overflow_2+y}
18995 then :
18996 printf %s "(cached) " >&6
18997 else $as_nop
18998 ac_wine_try_cflags_saved=$CFLAGS
18999 CFLAGS="$CFLAGS -Wshift-overflow=2"
19000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19001 /* end confdefs.h. */
19002 int main(int argc, char **argv) { return 0; }
19003 _ACEOF
19004 if ac_fn_c_try_link "$LINENO"
19005 then :
19006 ac_cv_cflags__Wshift_overflow_2=yes
19007 else $as_nop
19008 ac_cv_cflags__Wshift_overflow_2=no
19010 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19011 conftest$ac_exeext conftest.$ac_ext
19012 CFLAGS=$ac_wine_try_cflags_saved
19014 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
19015 printf "%s\n" "$ac_cv_cflags__Wshift_overflow_2" >&6; }
19016 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes
19017 then :
19018 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
19020 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
19021 printf %s "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
19022 if test ${ac_cv_cflags__Wstrict_prototypes+y}
19023 then :
19024 printf %s "(cached) " >&6
19025 else $as_nop
19026 ac_wine_try_cflags_saved=$CFLAGS
19027 CFLAGS="$CFLAGS -Wstrict-prototypes"
19028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19029 /* end confdefs.h. */
19030 int main(int argc, char **argv) { return 0; }
19031 _ACEOF
19032 if ac_fn_c_try_link "$LINENO"
19033 then :
19034 ac_cv_cflags__Wstrict_prototypes=yes
19035 else $as_nop
19036 ac_cv_cflags__Wstrict_prototypes=no
19038 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19039 conftest$ac_exeext conftest.$ac_ext
19040 CFLAGS=$ac_wine_try_cflags_saved
19042 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
19043 printf "%s\n" "$ac_cv_cflags__Wstrict_prototypes" >&6; }
19044 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes
19045 then :
19046 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
19048 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
19049 printf %s "checking whether the compiler supports -Wtype-limits... " >&6; }
19050 if test ${ac_cv_cflags__Wtype_limits+y}
19051 then :
19052 printf %s "(cached) " >&6
19053 else $as_nop
19054 ac_wine_try_cflags_saved=$CFLAGS
19055 CFLAGS="$CFLAGS -Wtype-limits"
19056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19057 /* end confdefs.h. */
19058 int main(int argc, char **argv) { return 0; }
19059 _ACEOF
19060 if ac_fn_c_try_link "$LINENO"
19061 then :
19062 ac_cv_cflags__Wtype_limits=yes
19063 else $as_nop
19064 ac_cv_cflags__Wtype_limits=no
19066 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19067 conftest$ac_exeext conftest.$ac_ext
19068 CFLAGS=$ac_wine_try_cflags_saved
19070 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
19071 printf "%s\n" "$ac_cv_cflags__Wtype_limits" >&6; }
19072 if test "x$ac_cv_cflags__Wtype_limits" = xyes
19073 then :
19074 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
19076 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
19077 printf %s "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
19078 if test ${ac_cv_cflags__Wunused_but_set_parameter+y}
19079 then :
19080 printf %s "(cached) " >&6
19081 else $as_nop
19082 ac_wine_try_cflags_saved=$CFLAGS
19083 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
19084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19085 /* end confdefs.h. */
19086 int main(int argc, char **argv) { return 0; }
19087 _ACEOF
19088 if ac_fn_c_try_link "$LINENO"
19089 then :
19090 ac_cv_cflags__Wunused_but_set_parameter=yes
19091 else $as_nop
19092 ac_cv_cflags__Wunused_but_set_parameter=no
19094 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19095 conftest$ac_exeext conftest.$ac_ext
19096 CFLAGS=$ac_wine_try_cflags_saved
19098 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
19099 printf "%s\n" "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
19100 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes
19101 then :
19102 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
19104 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
19105 printf %s "checking whether the compiler supports -Wvla... " >&6; }
19106 if test ${ac_cv_cflags__Wvla+y}
19107 then :
19108 printf %s "(cached) " >&6
19109 else $as_nop
19110 ac_wine_try_cflags_saved=$CFLAGS
19111 CFLAGS="$CFLAGS -Wvla"
19112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19113 /* end confdefs.h. */
19114 int main(int argc, char **argv) { return 0; }
19115 _ACEOF
19116 if ac_fn_c_try_link "$LINENO"
19117 then :
19118 ac_cv_cflags__Wvla=yes
19119 else $as_nop
19120 ac_cv_cflags__Wvla=no
19122 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19123 conftest$ac_exeext conftest.$ac_ext
19124 CFLAGS=$ac_wine_try_cflags_saved
19126 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
19127 printf "%s\n" "$ac_cv_cflags__Wvla" >&6; }
19128 if test "x$ac_cv_cflags__Wvla" = xyes
19129 then :
19130 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
19132 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
19133 printf %s "checking whether the compiler supports -Wwrite-strings... " >&6; }
19134 if test ${ac_cv_cflags__Wwrite_strings+y}
19135 then :
19136 printf %s "(cached) " >&6
19137 else $as_nop
19138 ac_wine_try_cflags_saved=$CFLAGS
19139 CFLAGS="$CFLAGS -Wwrite-strings"
19140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19141 /* end confdefs.h. */
19142 int main(int argc, char **argv) { return 0; }
19143 _ACEOF
19144 if ac_fn_c_try_link "$LINENO"
19145 then :
19146 ac_cv_cflags__Wwrite_strings=yes
19147 else $as_nop
19148 ac_cv_cflags__Wwrite_strings=no
19150 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19151 conftest$ac_exeext conftest.$ac_ext
19152 CFLAGS=$ac_wine_try_cflags_saved
19154 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
19155 printf "%s\n" "$ac_cv_cflags__Wwrite_strings" >&6; }
19156 if test "x$ac_cv_cflags__Wwrite_strings" = xyes
19157 then :
19158 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
19161 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
19162 printf %s "checking whether the compiler supports -Wpointer-arith... " >&6; }
19163 if test ${ac_cv_cflags__Wpointer_arith+y}
19164 then :
19165 printf %s "(cached) " >&6
19166 else $as_nop
19167 ac_wine_try_cflags_saved=$CFLAGS
19168 CFLAGS="$CFLAGS -Wpointer-arith"
19169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19170 /* end confdefs.h. */
19171 int main(int argc, char **argv) { return 0; }
19172 _ACEOF
19173 if ac_fn_c_try_link "$LINENO"
19174 then :
19175 ac_cv_cflags__Wpointer_arith=yes
19176 else $as_nop
19177 ac_cv_cflags__Wpointer_arith=no
19179 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19180 conftest$ac_exeext conftest.$ac_ext
19181 CFLAGS=$ac_wine_try_cflags_saved
19183 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
19184 printf "%s\n" "$ac_cv_cflags__Wpointer_arith" >&6; }
19185 if test "x$ac_cv_cflags__Wpointer_arith" = xyes
19186 then :
19187 saved_string_h_CFLAGS=$CFLAGS
19188 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
19189 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
19190 printf %s "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
19191 if test ${ac_cv_c_string_h_warnings+y}
19192 then :
19193 printf %s "(cached) " >&6
19194 else $as_nop
19195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19196 /* end confdefs.h. */
19197 #include <string.h>
19199 main (void)
19203 return 0;
19205 _ACEOF
19206 if ac_fn_c_try_compile "$LINENO"
19207 then :
19208 ac_cv_c_string_h_warnings=no
19209 else $as_nop
19210 ac_cv_c_string_h_warnings=yes
19212 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19214 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
19215 printf "%s\n" "$ac_cv_c_string_h_warnings" >&6; }
19216 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
19217 CFLAGS=$saved_string_h_CFLAGS
19220 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
19221 printf %s "checking whether the compiler supports -Wlogical-op... " >&6; }
19222 if test ${ac_cv_cflags__Wlogical_op+y}
19223 then :
19224 printf %s "(cached) " >&6
19225 else $as_nop
19226 ac_wine_try_cflags_saved=$CFLAGS
19227 CFLAGS="$CFLAGS -Wlogical-op"
19228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19229 /* end confdefs.h. */
19230 int main(int argc, char **argv) { return 0; }
19231 _ACEOF
19232 if ac_fn_c_try_link "$LINENO"
19233 then :
19234 ac_cv_cflags__Wlogical_op=yes
19235 else $as_nop
19236 ac_cv_cflags__Wlogical_op=no
19238 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19239 conftest$ac_exeext conftest.$ac_ext
19240 CFLAGS=$ac_wine_try_cflags_saved
19242 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
19243 printf "%s\n" "$ac_cv_cflags__Wlogical_op" >&6; }
19244 if test "x$ac_cv_cflags__Wlogical_op" = xyes
19245 then :
19246 saved_string_h_CFLAGS=$CFLAGS
19247 CFLAGS="$CFLAGS -Wlogical-op -Werror"
19248 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
19249 printf %s "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
19250 if test ${ac_cv_c_logicalop_noisy+y}
19251 then :
19252 printf %s "(cached) " >&6
19253 else $as_nop
19254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19255 /* end confdefs.h. */
19256 #include <string.h>
19257 char*f(const char *h,char n) {return strchr(h,n);}
19259 main (void)
19263 return 0;
19265 _ACEOF
19266 if ac_fn_c_try_compile "$LINENO"
19267 then :
19268 ac_cv_c_logicalop_noisy=no
19269 else $as_nop
19270 ac_cv_c_logicalop_noisy=yes
19272 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19274 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
19275 printf "%s\n" "$ac_cv_c_logicalop_noisy" >&6; }
19276 CFLAGS=$saved_string_h_CFLAGS
19277 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
19280 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for flags needed for 64-bit compare-and-swap support" >&5
19281 printf %s "checking for flags needed for 64-bit compare-and-swap support... " >&6; }
19282 if test ${wine_cv_64bit_compare_swap+y}
19283 then :
19284 printf %s "(cached) " >&6
19285 else $as_nop
19286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19287 /* end confdefs.h. */
19288 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
19289 #error no
19290 #endif
19292 main (void)
19296 return 0;
19298 _ACEOF
19299 if ac_fn_c_try_compile "$LINENO"
19300 then :
19301 wine_cv_64bit_compare_swap="none needed"
19302 else $as_nop
19303 case $HOST_ARCH in
19304 i386) wine_cv_64bit_compare_swap="-march=i586" ;;
19305 arm) wine_cv_64bit_compare_swap="-march=armv7-a" ;;
19306 *) wine_cv_64bit_compare_swap="unknown" ;;
19307 esac
19308 if test "x$wine_cv_64bit_compare_swap" != xunknown
19309 then
19310 CFLAGS="$CFLAGS $wine_cv_64bit_compare_swap"
19311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19312 /* end confdefs.h. */
19313 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
19314 #error no
19315 #endif
19317 main (void)
19321 return 0;
19323 _ACEOF
19324 if ac_fn_c_try_compile "$LINENO"
19325 then :
19327 else $as_nop
19328 wine_cv_64bit_compare_swap="unknown"
19330 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19331 CFLAGS=$saved_CFLAGS
19334 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19336 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_64bit_compare_swap" >&5
19337 printf "%s\n" "$wine_cv_64bit_compare_swap" >&6; }
19338 case "$wine_cv_64bit_compare_swap" in
19339 unknown) as_fn_error $? "gcc doesn't support 64-bit compare-and-swap on this platform" "$LINENO" 5 ;;
19340 "none needed") ;;
19341 *) EXTRACFLAGS="$EXTRACFLAGS $wine_cv_64bit_compare_swap" ;;
19342 esac
19344 ac_debug_format_seen=""
19345 for ac_flag in $CFLAGS; do
19346 case $ac_flag in
19347 -gdwarf*) ac_debug_format_seen=yes ;;
19348 -g) ac_debug_format_seen=${ac_debug_format_seen:-default} ;;
19349 esac
19350 done
19351 if test "x$ac_debug_format_seen" = xdefault
19352 then
19353 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-4" >&5
19354 printf %s "checking whether the compiler supports -gdwarf-4... " >&6; }
19355 if test ${ac_cv_cflags__gdwarf_4+y}
19356 then :
19357 printf %s "(cached) " >&6
19358 else $as_nop
19359 ac_wine_try_cflags_saved=$CFLAGS
19360 CFLAGS="$CFLAGS -gdwarf-4"
19361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19362 /* end confdefs.h. */
19363 int main(int argc, char **argv) { return 0; }
19364 _ACEOF
19365 if ac_fn_c_try_link "$LINENO"
19366 then :
19367 ac_cv_cflags__gdwarf_4=yes
19368 else $as_nop
19369 ac_cv_cflags__gdwarf_4=no
19371 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19372 conftest$ac_exeext conftest.$ac_ext
19373 CFLAGS=$ac_wine_try_cflags_saved
19375 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_4" >&5
19376 printf "%s\n" "$ac_cv_cflags__gdwarf_4" >&6; }
19377 if test "x$ac_cv_cflags__gdwarf_4" = xyes
19378 then :
19379 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-4"
19383 MSVCRTFLAGS=""
19385 case $host_os in
19386 mingw32*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-delayload,autoconftest.dll" >&5
19387 printf %s "checking whether the compiler supports -Wl,-delayload,autoconftest.dll... " >&6; }
19388 if test ${ac_cv_cflags__Wl__delayload_autoconftest_dll+y}
19389 then :
19390 printf %s "(cached) " >&6
19391 else $as_nop
19392 ac_wine_try_cflags_saved=$CFLAGS
19393 CFLAGS="$CFLAGS -Wl,-delayload,autoconftest.dll"
19394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19395 /* end confdefs.h. */
19396 int main(int argc, char **argv) { return 0; }
19397 _ACEOF
19398 if ac_fn_c_try_link "$LINENO"
19399 then :
19400 ac_cv_cflags__Wl__delayload_autoconftest_dll=yes
19401 else $as_nop
19402 ac_cv_cflags__Wl__delayload_autoconftest_dll=no
19404 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19405 conftest$ac_exeext conftest.$ac_ext
19406 CFLAGS=$ac_wine_try_cflags_saved
19408 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__delayload_autoconftest_dll" >&5
19409 printf "%s\n" "$ac_cv_cflags__Wl__delayload_autoconftest_dll" >&6; }
19410 if test "x$ac_cv_cflags__Wl__delayload_autoconftest_dll" = xyes
19411 then :
19412 DELAYLOADFLAG="-Wl,-delayload,"
19414 fi ;;
19415 *) MSVCRTFLAGS="-D_WIN32"
19416 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
19417 printf %s "checking whether the compiler supports -fno-builtin... " >&6; }
19418 if test ${ac_cv_cflags__fno_builtin+y}
19419 then :
19420 printf %s "(cached) " >&6
19421 else $as_nop
19422 ac_wine_try_cflags_saved=$CFLAGS
19423 CFLAGS="$CFLAGS -fno-builtin"
19424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19425 /* end confdefs.h. */
19426 int main(int argc, char **argv) { return 0; }
19427 _ACEOF
19428 if ac_fn_c_try_link "$LINENO"
19429 then :
19430 ac_cv_cflags__fno_builtin=yes
19431 else $as_nop
19432 ac_cv_cflags__fno_builtin=no
19434 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19435 conftest$ac_exeext conftest.$ac_ext
19436 CFLAGS=$ac_wine_try_cflags_saved
19438 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
19439 printf "%s\n" "$ac_cv_cflags__fno_builtin" >&6; }
19440 if test "x$ac_cv_cflags__fno_builtin" = xyes
19441 then :
19442 MSVCRTFLAGS="$MSVCRTFLAGS -fno-builtin"
19444 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
19445 printf %s "checking whether the compiler supports -fshort-wchar... " >&6; }
19446 if test ${ac_cv_cflags__fshort_wchar+y}
19447 then :
19448 printf %s "(cached) " >&6
19449 else $as_nop
19450 ac_wine_try_cflags_saved=$CFLAGS
19451 CFLAGS="$CFLAGS -fshort-wchar"
19452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19453 /* end confdefs.h. */
19454 int main(int argc, char **argv) { return 0; }
19455 _ACEOF
19456 if ac_fn_c_try_link "$LINENO"
19457 then :
19458 ac_cv_cflags__fshort_wchar=yes
19459 else $as_nop
19460 ac_cv_cflags__fshort_wchar=no
19462 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19463 conftest$ac_exeext conftest.$ac_ext
19464 CFLAGS=$ac_wine_try_cflags_saved
19466 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fshort_wchar" >&5
19467 printf "%s\n" "$ac_cv_cflags__fshort_wchar" >&6; }
19468 if test "x$ac_cv_cflags__fshort_wchar" = xyes
19469 then :
19470 MSVCRTFLAGS="$MSVCRTFLAGS -fshort-wchar"
19472 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
19473 printf %s "checking whether the compiler supports -Wno-format... " >&6; }
19474 if test ${ac_cv_cflags__Wno_format+y}
19475 then :
19476 printf %s "(cached) " >&6
19477 else $as_nop
19478 ac_wine_try_cflags_saved=$CFLAGS
19479 CFLAGS="$CFLAGS -Wno-format"
19480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19481 /* end confdefs.h. */
19482 int main(int argc, char **argv) { return 0; }
19483 _ACEOF
19484 if ac_fn_c_try_link "$LINENO"
19485 then :
19486 ac_cv_cflags__Wno_format=yes
19487 else $as_nop
19488 ac_cv_cflags__Wno_format=no
19490 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19491 conftest$ac_exeext conftest.$ac_ext
19492 CFLAGS=$ac_wine_try_cflags_saved
19494 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
19495 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
19496 if test "x$ac_cv_cflags__Wno_format" = xyes
19497 then :
19498 MSVCRTFLAGS="$MSVCRTFLAGS -Wno-format"
19499 fi ;;
19500 esac
19502 case $HOST_ARCH in
19503 i386) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
19504 printf %s "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
19505 if test ${ac_cv_cflags__fno_omit_frame_pointer+y}
19506 then :
19507 printf %s "(cached) " >&6
19508 else $as_nop
19509 ac_wine_try_cflags_saved=$CFLAGS
19510 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
19511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19512 /* end confdefs.h. */
19513 int main(int argc, char **argv) { return 0; }
19514 _ACEOF
19515 if ac_fn_c_try_link "$LINENO"
19516 then :
19517 ac_cv_cflags__fno_omit_frame_pointer=yes
19518 else $as_nop
19519 ac_cv_cflags__fno_omit_frame_pointer=no
19521 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19522 conftest$ac_exeext conftest.$ac_ext
19523 CFLAGS=$ac_wine_try_cflags_saved
19525 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
19526 printf "%s\n" "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
19527 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes
19528 then :
19529 MSVCRTFLAGS="$MSVCRTFLAGS -fno-omit-frame-pointer"
19530 fi ;;
19531 x86_64)
19532 case $host_os in
19533 cygwin*|mingw32*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
19534 printf %s "checking whether the compiler supports -Wno-format... " >&6; }
19535 if test ${ac_cv_cflags__Wno_format+y}
19536 then :
19537 printf %s "(cached) " >&6
19538 else $as_nop
19539 ac_wine_try_cflags_saved=$CFLAGS
19540 CFLAGS="$CFLAGS -Wno-format"
19541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19542 /* end confdefs.h. */
19543 int main(int argc, char **argv) { return 0; }
19544 _ACEOF
19545 if ac_fn_c_try_link "$LINENO"
19546 then :
19547 ac_cv_cflags__Wno_format=yes
19548 else $as_nop
19549 ac_cv_cflags__Wno_format=no
19551 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19552 conftest$ac_exeext conftest.$ac_ext
19553 CFLAGS=$ac_wine_try_cflags_saved
19555 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
19556 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
19557 if test "x$ac_cv_cflags__Wno_format" = xyes
19558 then :
19559 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
19560 fi ;;
19561 *) if test -z "$PE_ARCHS"
19562 then
19563 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working -mabi=ms" >&5
19564 printf %s "checking for working -mabi=ms... " >&6; }
19565 if test ${ac_cv_mabi_ms+y}
19566 then :
19567 printf %s "(cached) " >&6
19568 else $as_nop
19569 CFLAGS="$CFLAGS -mabi=ms"
19570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19571 /* end confdefs.h. */
19572 #include <stdarg.h>
19573 int a(int b, ...) { __builtin_ms_va_list list; __builtin_ms_va_start(list,b); }
19575 main (void)
19579 return 0;
19581 _ACEOF
19582 if ac_fn_c_try_compile "$LINENO"
19583 then :
19584 ac_cv_mabi_ms=yes
19585 else $as_nop
19586 ac_cv_mabi_ms=no
19588 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19589 CFLAGS=$saved_CFLAGS
19591 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mabi_ms" >&5
19592 printf "%s\n" "$ac_cv_mabi_ms" >&6; }
19593 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
19595 MSVCRTFLAGS="$MSVCRTFLAGS -mabi=ms" ;;
19596 esac ;;
19597 arm)
19598 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wincompatible-function-pointer-types" >&5
19599 printf %s "checking whether the compiler supports -Wincompatible-function-pointer-types... " >&6; }
19600 if test ${ac_cv_cflags__Wincompatible_function_pointer_types+y}
19601 then :
19602 printf %s "(cached) " >&6
19603 else $as_nop
19604 ac_wine_try_cflags_saved=$CFLAGS
19605 CFLAGS="$CFLAGS -Wincompatible-function-pointer-types"
19606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19607 /* end confdefs.h. */
19608 int main(int argc, char **argv) { return 0; }
19609 _ACEOF
19610 if ac_fn_c_try_link "$LINENO"
19611 then :
19612 ac_cv_cflags__Wincompatible_function_pointer_types=yes
19613 else $as_nop
19614 ac_cv_cflags__Wincompatible_function_pointer_types=no
19616 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19617 conftest$ac_exeext conftest.$ac_ext
19618 CFLAGS=$ac_wine_try_cflags_saved
19620 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wincompatible_function_pointer_types" >&5
19621 printf "%s\n" "$ac_cv_cflags__Wincompatible_function_pointer_types" >&6; }
19622 if test "x$ac_cv_cflags__Wincompatible_function_pointer_types" = xyes
19623 then :
19624 EXTRACFLAGS="$EXTRACFLAGS -Wno-error=incompatible-function-pointer-types"
19625 fi ;;
19626 esac
19628 CFLAGS=$saved_CFLAGS
19630 if test "x$enable_werror" = "xyes"
19631 then
19632 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
19633 printf %s "checking whether the compiler supports -Werror... " >&6; }
19634 if test ${ac_cv_cflags__Werror+y}
19635 then :
19636 printf %s "(cached) " >&6
19637 else $as_nop
19638 ac_wine_try_cflags_saved=$CFLAGS
19639 CFLAGS="$CFLAGS -Werror"
19640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19641 /* end confdefs.h. */
19642 int main(int argc, char **argv) { return 0; }
19643 _ACEOF
19644 if ac_fn_c_try_link "$LINENO"
19645 then :
19646 ac_cv_cflags__Werror=yes
19647 else $as_nop
19648 ac_cv_cflags__Werror=no
19650 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19651 conftest$ac_exeext conftest.$ac_ext
19652 CFLAGS=$ac_wine_try_cflags_saved
19654 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
19655 printf "%s\n" "$ac_cv_cflags__Werror" >&6; }
19656 if test "x$ac_cv_cflags__Werror" = xyes
19657 then :
19658 EXTRACFLAGS="$EXTRACFLAGS -Werror"
19661 if test "x$enable_build_id" = "xyes"
19662 then
19663 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--build-id" >&5
19664 printf %s "checking whether the compiler supports -Wl,--build-id... " >&6; }
19665 if test ${ac_cv_cflags__Wl___build_id+y}
19666 then :
19667 printf %s "(cached) " >&6
19668 else $as_nop
19669 ac_wine_try_cflags_saved=$CFLAGS
19670 CFLAGS="$CFLAGS -Wl,--build-id"
19671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19672 /* end confdefs.h. */
19673 int main(int argc, char **argv) { return 0; }
19674 _ACEOF
19675 if ac_fn_c_try_link "$LINENO"
19676 then :
19677 ac_cv_cflags__Wl___build_id=yes
19678 else $as_nop
19679 ac_cv_cflags__Wl___build_id=no
19681 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19682 conftest$ac_exeext conftest.$ac_ext
19683 CFLAGS=$ac_wine_try_cflags_saved
19685 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___build_id" >&5
19686 printf "%s\n" "$ac_cv_cflags__Wl___build_id" >&6; }
19687 if test "x$ac_cv_cflags__Wl___build_id" = xyes
19688 then :
19689 CFLAGS="$CFLAGS -Wl,--build-id"
19690 LDFLAGS="$LDFLAGS -Wl,--build-id"
19696 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
19697 printf %s "checking for the need to disable Fortify... " >&6; }
19698 if test ${ac_cv_c_fortify_enabled+y}
19699 then :
19700 printf %s "(cached) " >&6
19701 else $as_nop
19702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19703 /* end confdefs.h. */
19704 #include <string.h>
19706 main (void)
19708 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
19709 #error Fortify enabled
19710 #endif
19712 return 0;
19714 _ACEOF
19715 if ac_fn_c_try_compile "$LINENO"
19716 then :
19717 ac_cv_c_fortify_enabled=no
19718 else $as_nop
19719 ac_cv_c_fortify_enabled=yes
19721 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19723 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
19724 printf "%s\n" "$ac_cv_c_fortify_enabled" >&6; }
19725 if test "$ac_cv_c_fortify_enabled" = yes
19726 then
19727 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
19731 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
19732 printf %s "checking whether CFI directives are supported in assembly code... " >&6; }
19733 if test ${ac_cv_c_cfi_support+y}
19734 then :
19735 printf %s "(cached) " >&6
19736 else $as_nop
19737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19738 /* end confdefs.h. */
19739 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
19741 main (void)
19745 return 0;
19747 _ACEOF
19748 if ac_fn_c_try_compile "$LINENO"
19749 then :
19750 ac_cv_c_cfi_support="yes"
19751 else $as_nop
19752 ac_cv_c_cfi_support="no"
19754 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19756 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
19757 printf "%s\n" "$ac_cv_c_cfi_support" >&6; }
19758 if test "$ac_cv_c_cfi_support" = "yes"
19759 then
19760 DLLFLAGS="$DLLFLAGS -fasynchronous-unwind-tables"
19761 LDDLLFLAGS="$LDDLLFLAGS -fasynchronous-unwind-tables"
19762 UNIXDLLFLAGS="$UNIXDLLFLAGS -fasynchronous-unwind-tables"
19763 elif test $HOST_ARCH = x86_64
19764 then
19765 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
19769 case "$HOST_ARCH,$PE_ARCHS" in
19770 x86_64,*i386*) wine_binary="wine" ;;
19771 x86_64,*) wine_binary="wine64" ;;
19772 *) wine_binary="wine" ;;
19773 esac
19774 WINELOADER_PROGRAMS="$wine_binary"
19777 case $host_os in
19778 linux*)
19779 if test $HOST_ARCH != unknown
19780 then
19781 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS " loader/wine-preloader"
19782 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
19785 darwin*|macosx*)
19786 if test "$wine_can_build_preloader" = "yes"
19787 then
19788 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS " loader/wine-preloader"
19789 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
19792 esac
19795 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
19796 printf %s "checking for library containing dlopen... " >&6; }
19797 if test ${ac_cv_search_dlopen+y}
19798 then :
19799 printf %s "(cached) " >&6
19800 else $as_nop
19801 ac_func_search_save_LIBS=$LIBS
19802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19803 /* end confdefs.h. */
19805 /* Override any GCC internal prototype to avoid an error.
19806 Use char because int might match the return type of a GCC
19807 builtin and then its argument prototype would still apply. */
19808 char dlopen ();
19810 main (void)
19812 return dlopen ();
19814 return 0;
19816 _ACEOF
19817 for ac_lib in '' dl
19819 if test -z "$ac_lib"; then
19820 ac_res="none required"
19821 else
19822 ac_res=-l$ac_lib
19823 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19825 if ac_fn_c_try_link "$LINENO"
19826 then :
19827 ac_cv_search_dlopen=$ac_res
19829 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19830 conftest$ac_exeext
19831 if test ${ac_cv_search_dlopen+y}
19832 then :
19833 break
19835 done
19836 if test ${ac_cv_search_dlopen+y}
19837 then :
19839 else $as_nop
19840 ac_cv_search_dlopen=no
19842 rm conftest.$ac_ext
19843 LIBS=$ac_func_search_save_LIBS
19845 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
19846 printf "%s\n" "$ac_cv_search_dlopen" >&6; }
19847 ac_res=$ac_cv_search_dlopen
19848 if test "$ac_res" != no
19849 then :
19850 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19855 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
19856 printf %s "checking for library containing gethostbyname... " >&6; }
19857 if test ${ac_cv_search_gethostbyname+y}
19858 then :
19859 printf %s "(cached) " >&6
19860 else $as_nop
19861 ac_func_search_save_LIBS=$LIBS
19862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19863 /* end confdefs.h. */
19865 /* Override any GCC internal prototype to avoid an error.
19866 Use char because int might match the return type of a GCC
19867 builtin and then its argument prototype would still apply. */
19868 char gethostbyname ();
19870 main (void)
19872 return gethostbyname ();
19874 return 0;
19876 _ACEOF
19877 for ac_lib in '' nsl
19879 if test -z "$ac_lib"; then
19880 ac_res="none required"
19881 else
19882 ac_res=-l$ac_lib
19883 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19885 if ac_fn_c_try_link "$LINENO"
19886 then :
19887 ac_cv_search_gethostbyname=$ac_res
19889 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19890 conftest$ac_exeext
19891 if test ${ac_cv_search_gethostbyname+y}
19892 then :
19893 break
19895 done
19896 if test ${ac_cv_search_gethostbyname+y}
19897 then :
19899 else $as_nop
19900 ac_cv_search_gethostbyname=no
19902 rm conftest.$ac_ext
19903 LIBS=$ac_func_search_save_LIBS
19905 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
19906 printf "%s\n" "$ac_cv_search_gethostbyname" >&6; }
19907 ac_res=$ac_cv_search_gethostbyname
19908 if test "$ac_res" != no
19909 then :
19910 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19915 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
19916 printf %s "checking for library containing connect... " >&6; }
19917 if test ${ac_cv_search_connect+y}
19918 then :
19919 printf %s "(cached) " >&6
19920 else $as_nop
19921 ac_func_search_save_LIBS=$LIBS
19922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19923 /* end confdefs.h. */
19925 /* Override any GCC internal prototype to avoid an error.
19926 Use char because int might match the return type of a GCC
19927 builtin and then its argument prototype would still apply. */
19928 char connect ();
19930 main (void)
19932 return connect ();
19934 return 0;
19936 _ACEOF
19937 for ac_lib in '' socket
19939 if test -z "$ac_lib"; then
19940 ac_res="none required"
19941 else
19942 ac_res=-l$ac_lib
19943 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19945 if ac_fn_c_try_link "$LINENO"
19946 then :
19947 ac_cv_search_connect=$ac_res
19949 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19950 conftest$ac_exeext
19951 if test ${ac_cv_search_connect+y}
19952 then :
19953 break
19955 done
19956 if test ${ac_cv_search_connect+y}
19957 then :
19959 else $as_nop
19960 ac_cv_search_connect=no
19962 rm conftest.$ac_ext
19963 LIBS=$ac_func_search_save_LIBS
19965 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
19966 printf "%s\n" "$ac_cv_search_connect" >&6; }
19967 ac_res=$ac_cv_search_connect
19968 if test "$ac_res" != no
19969 then :
19970 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19975 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
19976 printf %s "checking for library containing inet_aton... " >&6; }
19977 if test ${ac_cv_search_inet_aton+y}
19978 then :
19979 printf %s "(cached) " >&6
19980 else $as_nop
19981 ac_func_search_save_LIBS=$LIBS
19982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19983 /* end confdefs.h. */
19985 /* Override any GCC internal prototype to avoid an error.
19986 Use char because int might match the return type of a GCC
19987 builtin and then its argument prototype would still apply. */
19988 char inet_aton ();
19990 main (void)
19992 return inet_aton ();
19994 return 0;
19996 _ACEOF
19997 for ac_lib in '' resolv
19999 if test -z "$ac_lib"; then
20000 ac_res="none required"
20001 else
20002 ac_res=-l$ac_lib
20003 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20005 if ac_fn_c_try_link "$LINENO"
20006 then :
20007 ac_cv_search_inet_aton=$ac_res
20009 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20010 conftest$ac_exeext
20011 if test ${ac_cv_search_inet_aton+y}
20012 then :
20013 break
20015 done
20016 if test ${ac_cv_search_inet_aton+y}
20017 then :
20019 else $as_nop
20020 ac_cv_search_inet_aton=no
20022 rm conftest.$ac_ext
20023 LIBS=$ac_func_search_save_LIBS
20025 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
20026 printf "%s\n" "$ac_cv_search_inet_aton" >&6; }
20027 ac_res=$ac_cv_search_inet_aton
20028 if test "$ac_res" != no
20029 then :
20030 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20035 ac_save_CFLAGS="$CFLAGS"
20036 CFLAGS="$CFLAGS $BUILTINFLAG"
20037 ac_fn_c_check_func "$LINENO" "dladdr1" "ac_cv_func_dladdr1"
20038 if test "x$ac_cv_func_dladdr1" = xyes
20039 then :
20040 printf "%s\n" "#define HAVE_DLADDR1 1" >>confdefs.h
20043 ac_fn_c_check_func "$LINENO" "dlinfo" "ac_cv_func_dlinfo"
20044 if test "x$ac_cv_func_dlinfo" = xyes
20045 then :
20046 printf "%s\n" "#define HAVE_DLINFO 1" >>confdefs.h
20049 ac_fn_c_check_func "$LINENO" "epoll_create" "ac_cv_func_epoll_create"
20050 if test "x$ac_cv_func_epoll_create" = xyes
20051 then :
20052 printf "%s\n" "#define HAVE_EPOLL_CREATE 1" >>confdefs.h
20055 ac_fn_c_check_func "$LINENO" "fstatfs" "ac_cv_func_fstatfs"
20056 if test "x$ac_cv_func_fstatfs" = xyes
20057 then :
20058 printf "%s\n" "#define HAVE_FSTATFS 1" >>confdefs.h
20061 ac_fn_c_check_func "$LINENO" "futimens" "ac_cv_func_futimens"
20062 if test "x$ac_cv_func_futimens" = xyes
20063 then :
20064 printf "%s\n" "#define HAVE_FUTIMENS 1" >>confdefs.h
20067 ac_fn_c_check_func "$LINENO" "futimes" "ac_cv_func_futimes"
20068 if test "x$ac_cv_func_futimes" = xyes
20069 then :
20070 printf "%s\n" "#define HAVE_FUTIMES 1" >>confdefs.h
20073 ac_fn_c_check_func "$LINENO" "futimesat" "ac_cv_func_futimesat"
20074 if test "x$ac_cv_func_futimesat" = xyes
20075 then :
20076 printf "%s\n" "#define HAVE_FUTIMESAT 1" >>confdefs.h
20079 ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
20080 if test "x$ac_cv_func_getaddrinfo" = xyes
20081 then :
20082 printf "%s\n" "#define HAVE_GETADDRINFO 1" >>confdefs.h
20085 ac_fn_c_check_func "$LINENO" "getattrlist" "ac_cv_func_getattrlist"
20086 if test "x$ac_cv_func_getattrlist" = xyes
20087 then :
20088 printf "%s\n" "#define HAVE_GETATTRLIST 1" >>confdefs.h
20091 ac_fn_c_check_func "$LINENO" "getauxval" "ac_cv_func_getauxval"
20092 if test "x$ac_cv_func_getauxval" = xyes
20093 then :
20094 printf "%s\n" "#define HAVE_GETAUXVAL 1" >>confdefs.h
20097 ac_fn_c_check_func "$LINENO" "getifaddrs" "ac_cv_func_getifaddrs"
20098 if test "x$ac_cv_func_getifaddrs" = xyes
20099 then :
20100 printf "%s\n" "#define HAVE_GETIFADDRS 1" >>confdefs.h
20103 ac_fn_c_check_func "$LINENO" "getrandom" "ac_cv_func_getrandom"
20104 if test "x$ac_cv_func_getrandom" = xyes
20105 then :
20106 printf "%s\n" "#define HAVE_GETRANDOM 1" >>confdefs.h
20109 ac_fn_c_check_func "$LINENO" "kqueue" "ac_cv_func_kqueue"
20110 if test "x$ac_cv_func_kqueue" = xyes
20111 then :
20112 printf "%s\n" "#define HAVE_KQUEUE 1" >>confdefs.h
20115 ac_fn_c_check_func "$LINENO" "mach_continuous_time" "ac_cv_func_mach_continuous_time"
20116 if test "x$ac_cv_func_mach_continuous_time" = xyes
20117 then :
20118 printf "%s\n" "#define HAVE_MACH_CONTINUOUS_TIME 1" >>confdefs.h
20121 ac_fn_c_check_func "$LINENO" "pipe2" "ac_cv_func_pipe2"
20122 if test "x$ac_cv_func_pipe2" = xyes
20123 then :
20124 printf "%s\n" "#define HAVE_PIPE2 1" >>confdefs.h
20127 ac_fn_c_check_func "$LINENO" "port_create" "ac_cv_func_port_create"
20128 if test "x$ac_cv_func_port_create" = xyes
20129 then :
20130 printf "%s\n" "#define HAVE_PORT_CREATE 1" >>confdefs.h
20133 ac_fn_c_check_func "$LINENO" "posix_fadvise" "ac_cv_func_posix_fadvise"
20134 if test "x$ac_cv_func_posix_fadvise" = xyes
20135 then :
20136 printf "%s\n" "#define HAVE_POSIX_FADVISE 1" >>confdefs.h
20139 ac_fn_c_check_func "$LINENO" "posix_fallocate" "ac_cv_func_posix_fallocate"
20140 if test "x$ac_cv_func_posix_fallocate" = xyes
20141 then :
20142 printf "%s\n" "#define HAVE_POSIX_FALLOCATE 1" >>confdefs.h
20145 ac_fn_c_check_func "$LINENO" "prctl" "ac_cv_func_prctl"
20146 if test "x$ac_cv_func_prctl" = xyes
20147 then :
20148 printf "%s\n" "#define HAVE_PRCTL 1" >>confdefs.h
20151 ac_fn_c_check_func "$LINENO" "proc_pidinfo" "ac_cv_func_proc_pidinfo"
20152 if test "x$ac_cv_func_proc_pidinfo" = xyes
20153 then :
20154 printf "%s\n" "#define HAVE_PROC_PIDINFO 1" >>confdefs.h
20157 ac_fn_c_check_func "$LINENO" "sched_yield" "ac_cv_func_sched_yield"
20158 if test "x$ac_cv_func_sched_yield" = xyes
20159 then :
20160 printf "%s\n" "#define HAVE_SCHED_YIELD 1" >>confdefs.h
20163 ac_fn_c_check_func "$LINENO" "setproctitle" "ac_cv_func_setproctitle"
20164 if test "x$ac_cv_func_setproctitle" = xyes
20165 then :
20166 printf "%s\n" "#define HAVE_SETPROCTITLE 1" >>confdefs.h
20169 ac_fn_c_check_func "$LINENO" "setprogname" "ac_cv_func_setprogname"
20170 if test "x$ac_cv_func_setprogname" = xyes
20171 then :
20172 printf "%s\n" "#define HAVE_SETPROGNAME 1" >>confdefs.h
20175 ac_fn_c_check_func "$LINENO" "sigprocmask" "ac_cv_func_sigprocmask"
20176 if test "x$ac_cv_func_sigprocmask" = xyes
20177 then :
20178 printf "%s\n" "#define HAVE_SIGPROCMASK 1" >>confdefs.h
20181 ac_fn_c_check_func "$LINENO" "sysinfo" "ac_cv_func_sysinfo"
20182 if test "x$ac_cv_func_sysinfo" = xyes
20183 then :
20184 printf "%s\n" "#define HAVE_SYSINFO 1" >>confdefs.h
20187 ac_fn_c_check_func "$LINENO" "tcdrain" "ac_cv_func_tcdrain"
20188 if test "x$ac_cv_func_tcdrain" = xyes
20189 then :
20190 printf "%s\n" "#define HAVE_TCDRAIN 1" >>confdefs.h
20193 ac_fn_c_check_func "$LINENO" "thr_kill2" "ac_cv_func_thr_kill2"
20194 if test "x$ac_cv_func_thr_kill2" = xyes
20195 then :
20196 printf "%s\n" "#define HAVE_THR_KILL2 1" >>confdefs.h
20200 CFLAGS="$ac_save_CFLAGS"
20202 case $host_os in
20203 darwin*|macosx*) ;;
20204 *) ac_save_LIBS=$LIBS
20205 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
20206 printf %s "checking for library containing clock_gettime... " >&6; }
20207 if test ${ac_cv_search_clock_gettime+y}
20208 then :
20209 printf %s "(cached) " >&6
20210 else $as_nop
20211 ac_func_search_save_LIBS=$LIBS
20212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20213 /* end confdefs.h. */
20215 /* Override any GCC internal prototype to avoid an error.
20216 Use char because int might match the return type of a GCC
20217 builtin and then its argument prototype would still apply. */
20218 char clock_gettime ();
20220 main (void)
20222 return clock_gettime ();
20224 return 0;
20226 _ACEOF
20227 for ac_lib in '' rt
20229 if test -z "$ac_lib"; then
20230 ac_res="none required"
20231 else
20232 ac_res=-l$ac_lib
20233 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20235 if ac_fn_c_try_link "$LINENO"
20236 then :
20237 ac_cv_search_clock_gettime=$ac_res
20239 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20240 conftest$ac_exeext
20241 if test ${ac_cv_search_clock_gettime+y}
20242 then :
20243 break
20245 done
20246 if test ${ac_cv_search_clock_gettime+y}
20247 then :
20249 else $as_nop
20250 ac_cv_search_clock_gettime=no
20252 rm conftest.$ac_ext
20253 LIBS=$ac_func_search_save_LIBS
20255 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
20256 printf "%s\n" "$ac_cv_search_clock_gettime" >&6; }
20257 ac_res=$ac_cv_search_clock_gettime
20258 if test "$ac_res" != no
20259 then :
20260 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20262 printf "%s\n" "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
20264 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
20268 LIBS=$ac_save_LIBS
20270 esac
20272 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
20273 printf %s "checking for sched_setaffinity... " >&6; }
20274 if test ${wine_cv_have_sched_setaffinity+y}
20275 then :
20276 printf %s "(cached) " >&6
20277 else $as_nop
20278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20279 /* end confdefs.h. */
20280 #include <sched.h>
20282 main (void)
20284 sched_setaffinity(0, 0, 0);
20286 return 0;
20288 _ACEOF
20289 if ac_fn_c_try_link "$LINENO"
20290 then :
20291 wine_cv_have_sched_setaffinity=yes
20292 else $as_nop
20293 wine_cv_have_sched_setaffinity=no
20295 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20296 conftest$ac_exeext conftest.$ac_ext
20298 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
20299 printf "%s\n" "$wine_cv_have_sched_setaffinity" >&6; }
20300 if test "$wine_cv_have_sched_setaffinity" = "yes"
20301 then
20303 printf "%s\n" "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
20308 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
20309 printf %s "checking for inline... " >&6; }
20310 if test ${ac_cv_c_inline+y}
20311 then :
20312 printf %s "(cached) " >&6
20313 else $as_nop
20314 ac_cv_c_inline=no
20315 for ac_kw in inline __inline__ __inline; do
20316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20317 /* end confdefs.h. */
20318 #ifndef __cplusplus
20319 typedef int foo_t;
20320 static $ac_kw foo_t static_foo (void) {return 0; }
20321 $ac_kw foo_t foo (void) {return 0; }
20322 #endif
20324 _ACEOF
20325 if ac_fn_c_try_compile "$LINENO"
20326 then :
20327 ac_cv_c_inline=$ac_kw
20329 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
20330 test "$ac_cv_c_inline" != no && break
20331 done
20334 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
20335 printf "%s\n" "$ac_cv_c_inline" >&6; }
20337 case $ac_cv_c_inline in
20338 inline | yes) ;;
20340 case $ac_cv_c_inline in
20341 no) ac_val=;;
20342 *) ac_val=$ac_cv_c_inline;;
20343 esac
20344 cat >>confdefs.h <<_ACEOF
20345 #ifndef __cplusplus
20346 #define inline $ac_val
20347 #endif
20348 _ACEOF
20350 esac
20352 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
20354 if test "x$ac_cv_type_request_sense" = xyes
20355 then :
20357 printf "%s\n" "#define HAVE_REQUEST_SENSE 1" >>confdefs.h
20363 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
20364 #include <sys/socket.h>
20365 #ifdef HAVE_SYS_SOCKETVAR_H
20366 #include <sys/socketvar.h>
20367 #endif
20368 #ifdef HAVE_NET_ROUTE_H
20369 #include <net/route.h>
20370 #endif
20371 #ifdef HAVE_NETINET_IN_H
20372 #include <netinet/in.h>
20373 #endif
20374 #ifdef HAVE_NETINET_IN_SYSTM_H
20375 #include <netinet/in_systm.h>
20376 #endif
20377 #ifdef HAVE_NETINET_IP_H
20378 #include <netinet/ip.h>
20379 #endif
20380 #ifdef HAVE_NETINET_IN_PCB_H
20381 #include <netinet/in_pcb.h>
20382 #endif
20384 if test "x$ac_cv_type_struct_xinpgen" = xyes
20385 then :
20387 printf "%s\n" "#define HAVE_STRUCT_XINPGEN 1" >>confdefs.h
20393 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
20394 printf %s "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
20395 if test ${wine_cv_linux_gethostbyname_r_6+y}
20396 then :
20397 printf %s "(cached) " >&6
20398 else $as_nop
20399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20400 /* end confdefs.h. */
20401 #include <netdb.h>
20403 main (void)
20406 char *name=0;
20407 struct hostent he;
20408 struct hostent *result;
20409 char *buf=0;
20410 int bufsize=0;
20411 int errnr;
20412 char *addr=0;
20413 int addrlen=0;
20414 int addrtype=0;
20415 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
20416 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
20419 return 0;
20421 _ACEOF
20422 if ac_fn_c_try_link "$LINENO"
20423 then :
20424 wine_cv_linux_gethostbyname_r_6=yes
20425 else $as_nop
20426 wine_cv_linux_gethostbyname_r_6=no
20429 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20430 conftest$ac_exeext conftest.$ac_ext
20433 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
20434 printf "%s\n" "$wine_cv_linux_gethostbyname_r_6" >&6; }
20435 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
20436 then
20438 printf "%s\n" "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
20442 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
20443 #include <sys/socket.h>
20444 #ifdef HAVE_SYS_UN_H
20445 # include <sys/un.h>
20446 #endif
20448 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes
20449 then :
20451 printf "%s\n" "#define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1" >>confdefs.h
20455 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
20456 #include <sys/socket.h>
20457 #ifdef HAVE_SYS_UN_H
20458 # include <sys/un.h>
20459 #endif
20461 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
20462 then :
20464 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1" >>confdefs.h
20470 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
20471 #ifdef HAVE_SCSI_SG_H
20472 #include <scsi/sg.h>
20473 #endif
20475 if test "x$ac_cv_member_scsireq_t_cmd" = xyes
20476 then :
20478 printf "%s\n" "#define HAVE_SCSIREQ_T_CMD 1" >>confdefs.h
20482 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>
20483 #ifdef HAVE_SCSI_SG_H
20484 #include <scsi/sg.h>
20485 #endif
20487 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
20488 then :
20490 printf "%s\n" "#define HAVE_SG_IO_HDR_T_INTERFACE_ID 1" >>confdefs.h
20496 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
20498 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
20499 then :
20501 printf "%s\n" "#define HAVE_SIGINFO_T_SI_FD 1" >>confdefs.h
20507 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
20508 #ifdef HAVE_SYS_MTIO_H
20509 #include <sys/mtio.h>
20510 #endif
20512 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes
20513 then :
20515 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKSIZ 1" >>confdefs.h
20519 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
20520 #ifdef HAVE_SYS_MTIO_H
20521 #include <sys/mtio.h>
20522 #endif
20524 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes
20525 then :
20527 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_GSTAT 1" >>confdefs.h
20531 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
20532 #ifdef HAVE_SYS_MTIO_H
20533 #include <sys/mtio.h>
20534 #endif
20536 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
20537 then :
20539 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKNO 1" >>confdefs.h
20545 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
20546 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
20547 then :
20549 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIM 1" >>confdefs.h
20553 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
20554 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes
20555 then :
20557 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIMESPEC 1" >>confdefs.h
20561 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
20562 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
20563 then :
20565 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIM 1" >>confdefs.h
20569 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
20570 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes
20571 then :
20573 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIMESPEC 1" >>confdefs.h
20577 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
20578 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
20579 then :
20581 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIM 1" >>confdefs.h
20585 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
20586 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes
20587 then :
20589 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIMESPEC 1" >>confdefs.h
20593 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
20594 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes
20595 then :
20597 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIME 1" >>confdefs.h
20601 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
20602 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes
20603 then :
20605 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIM 1" >>confdefs.h
20609 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
20610 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes
20611 then :
20613 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1" >>confdefs.h
20617 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
20618 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes
20619 then :
20621 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIME 1" >>confdefs.h
20625 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
20626 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes
20627 then :
20629 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIM 1" >>confdefs.h
20635 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>
20636 #ifdef HAVE_NETINET_IN_H
20637 #include <netinet/in.h>
20638 #endif
20640 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
20641 then :
20643 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1" >>confdefs.h
20649 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
20650 #include <resolv.h>
20651 #endif
20653 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes
20654 then :
20656 printf "%s\n" "#define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1" >>confdefs.h
20662 ac_fn_c_check_member "$LINENO" "struct in6_pktinfo" "ipi6_addr" "ac_cv_member_struct_in6_pktinfo_ipi6_addr" "#ifdef HAVE_NETINET_IN_H
20663 #include <netinet/in.h>
20664 #endif
20666 if test "x$ac_cv_member_struct_in6_pktinfo_ipi6_addr" = xyes
20667 then :
20669 printf "%s\n" "#define HAVE_STRUCT_IN6_PKTINFO_IPI6_ADDR 1" >>confdefs.h
20675 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#include <sys/types.h>
20676 #ifdef HAVE_SYS_SOCKETVAR_H
20677 #include <sys/socketvar.h>
20678 #endif
20679 #ifdef HAVE_NETINET_IN_H
20680 #include <netinet/in.h>
20681 #endif
20682 #ifdef HAVE_NETINET_IP_VAR_H
20683 #include <netinet/ip_var.h>
20684 #endif
20686 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes
20687 then :
20689 printf "%s\n" "#define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1" >>confdefs.h
20695 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
20696 #include <netinet/ip_var.h>
20697 #endif
20699 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes
20700 then :
20702 printf "%s\n" "#define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1" >>confdefs.h
20708 ac_fn_c_check_member "$LINENO" "struct ip6stat" "ip6s_total" "ac_cv_member_struct_ip6stat_ip6s_total" "#include <sys/types.h>
20709 #ifdef HAVE_SYS_SOCKETVAR_H
20710 #include <sys/socketvar.h>
20711 #endif
20712 #ifdef HAVE_NETINET_IN_H
20713 #include <netinet/in.h>
20714 #endif
20715 #ifdef HAVE_NETINET6_IP6_VAR_H
20716 #include <netinet6/ip6_var.h>
20717 #endif
20719 if test "x$ac_cv_member_struct_ip6stat_ip6s_total" = xyes
20720 then :
20722 printf "%s\n" "#define HAVE_STRUCT_IP6STAT_IP6S_TOTAL 1" >>confdefs.h
20728 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_error" "ac_cv_member_struct_icmpstat_icps_error" "#include <sys/types.h>
20729 #ifdef HAVE_SYS_SOCKETVAR_H
20730 #include <sys/socketvar.h>
20731 #endif
20732 #ifdef HAVE_NETINET_IN_H
20733 #include <netinet/in.h>
20734 #endif
20735 #ifdef HAVE_NETINET_IP_H
20736 #include <netinet/ip.h>
20737 #endif
20738 #ifdef HAVE_NETINET_IP_ICMP_H
20739 #include <netinet/ip_icmp.h>
20740 #endif
20741 #ifdef HAVE_NETINET_ICMP_VAR_H
20742 #include <netinet/icmp_var.h>
20743 #endif
20745 if test "x$ac_cv_member_struct_icmpstat_icps_error" = xyes
20746 then :
20748 printf "%s\n" "#define HAVE_STRUCT_ICMPSTAT_ICPS_ERROR 1" >>confdefs.h
20754 ac_fn_c_check_member "$LINENO" "struct icmp6stat" "icp6s_error" "ac_cv_member_struct_icmp6stat_icp6s_error" "#include <sys/types.h>
20755 #ifdef HAVE_SYS_SOCKETVAR_H
20756 #include <sys/socketvar.h>
20757 #endif
20758 #ifdef HAVE_NETINET_IN_H
20759 #include <netinet/in.h>
20760 #endif
20761 #ifdef HAVE_NETINET_ICMP6_H
20762 #include <netinet/icmp6.h>
20763 #endif
20765 if test "x$ac_cv_member_struct_icmp6stat_icp6s_error" = xyes
20766 then :
20768 printf "%s\n" "#define HAVE_STRUCT_ICMP6STAT_ICP6S_ERROR 1" >>confdefs.h
20774 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#include <sys/types.h>
20775 #ifdef HAVE_SYS_SOCKETVAR_H
20776 #include <sys/socketvar.h>
20777 #endif
20778 #ifdef HAVE_NETINET_IN_H
20779 #include <netinet/in.h>
20780 #endif
20781 #ifdef HAVE_NETINET_TCP_H
20782 #include <netinet/tcp.h>
20783 #endif
20784 #ifdef HAVE_NETINET_TCP_VAR_H
20785 #include <netinet/tcp_var.h>
20786 #endif
20788 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes
20789 then :
20791 printf "%s\n" "#define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1" >>confdefs.h
20797 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
20798 #include <netinet/tcp_var.h>
20799 #endif
20801 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes
20802 then :
20804 printf "%s\n" "#define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1" >>confdefs.h
20810 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#include <sys/types.h>
20811 #ifdef HAVE_NETINET_IN_H
20812 #include <netinet/in.h>
20813 #endif
20814 #ifdef HAVE_NETINET_IP_VAR_H
20815 #include <netinet/ip_var.h>
20816 #endif
20817 #ifdef HAVE_NETINET_UDP_H
20818 #include <netinet/udp.h>
20819 #endif
20820 #ifdef HAVE_NETINET_UDP_VAR_H
20821 #include <netinet/udp_var.h>
20822 #endif
20824 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes
20825 then :
20827 printf "%s\n" "#define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1" >>confdefs.h
20833 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#include <sys/types.h>
20834 #ifdef HAVE_NET_IF_H
20835 # include <net/if.h>
20836 #endif
20838 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
20839 then :
20841 printf "%s\n" "#define HAVE_STRUCT_IFREQ_IFR_HWADDR 1" >>confdefs.h
20847 ac_fn_c_check_member "$LINENO" "struct sysinfo" "totalram" "ac_cv_member_struct_sysinfo_totalram" "#ifdef HAVE_SYS_SYSINFO_H
20848 # include <sys/sysinfo.h>
20849 #endif
20851 if test "x$ac_cv_member_struct_sysinfo_totalram" = xyes
20852 then :
20854 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_TOTALRAM 1" >>confdefs.h
20858 ac_fn_c_check_member "$LINENO" "struct sysinfo" "mem_unit" "ac_cv_member_struct_sysinfo_mem_unit" "#ifdef HAVE_SYS_SYSINFO_H
20859 # include <sys/sysinfo.h>
20860 #endif
20862 if test "x$ac_cv_member_struct_sysinfo_mem_unit" = xyes
20863 then :
20865 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_MEM_UNIT 1" >>confdefs.h
20871 LIBS="$ac_save_LIBS"
20873 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
20874 printf %s "checking for __builtin_popcount... " >&6; }
20875 if test ${ac_cv_have___builtin_popcount+y}
20876 then :
20877 printf %s "(cached) " >&6
20878 else $as_nop
20879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20880 /* end confdefs.h. */
20883 main (void)
20885 return __builtin_popcount(1)
20887 return 0;
20889 _ACEOF
20890 if ac_fn_c_try_link "$LINENO"
20891 then :
20892 ac_cv_have___builtin_popcount="yes"
20893 else $as_nop
20894 ac_cv_have___builtin_popcount="no"
20896 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20897 conftest$ac_exeext conftest.$ac_ext
20899 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
20900 printf "%s\n" "$ac_cv_have___builtin_popcount" >&6; }
20901 if test "$ac_cv_have___builtin_popcount" = "yes"
20902 then
20904 printf "%s\n" "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
20908 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
20909 printf %s "checking for __clear_cache... " >&6; }
20910 if test ${ac_cv_have___clear_cache+y}
20911 then :
20912 printf %s "(cached) " >&6
20913 else $as_nop
20914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20915 /* end confdefs.h. */
20918 main (void)
20920 __clear_cache((void*)0, (void*)0); return 0;
20922 return 0;
20924 _ACEOF
20925 if ac_fn_c_try_link "$LINENO"
20926 then :
20927 ac_cv_have___clear_cache="yes"
20928 else $as_nop
20929 ac_cv_have___clear_cache="no"
20931 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20932 conftest$ac_exeext conftest.$ac_ext
20934 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
20935 printf "%s\n" "$ac_cv_have___clear_cache" >&6; }
20936 if test "$ac_cv_have___clear_cache" = "yes"
20937 then
20939 printf "%s\n" "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
20944 case $host_cpu in
20945 *i[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
20946 printf %s "checking whether we need to define __i386__... " >&6; }
20947 if test ${ac_cv_cpp_def___i386__+y}
20948 then :
20949 printf %s "(cached) " >&6
20950 else $as_nop
20951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20952 /* end confdefs.h. */
20953 #ifndef __i386__
20955 #endif
20956 _ACEOF
20957 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20958 $EGREP "yes" >/dev/null 2>&1
20959 then :
20960 ac_cv_cpp_def___i386__=yes
20961 else $as_nop
20962 ac_cv_cpp_def___i386__=no
20964 rm -rf conftest*
20967 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
20968 printf "%s\n" "$ac_cv_cpp_def___i386__" >&6; }
20969 if test "x$ac_cv_cpp_def___i386__" = xyes
20970 then :
20971 CFLAGS="$CFLAGS -D__i386__"
20972 LINTFLAGS="$LINTFLAGS -D__i386__"
20973 fi ;;
20974 *x86_64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
20975 printf %s "checking whether we need to define __x86_64__... " >&6; }
20976 if test ${ac_cv_cpp_def___x86_64__+y}
20977 then :
20978 printf %s "(cached) " >&6
20979 else $as_nop
20980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20981 /* end confdefs.h. */
20982 #ifndef __x86_64__
20984 #endif
20985 _ACEOF
20986 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20987 $EGREP "yes" >/dev/null 2>&1
20988 then :
20989 ac_cv_cpp_def___x86_64__=yes
20990 else $as_nop
20991 ac_cv_cpp_def___x86_64__=no
20993 rm -rf conftest*
20996 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
20997 printf "%s\n" "$ac_cv_cpp_def___x86_64__" >&6; }
20998 if test "x$ac_cv_cpp_def___x86_64__" = xyes
20999 then :
21000 CFLAGS="$CFLAGS -D__x86_64__"
21001 LINTFLAGS="$LINTFLAGS -D__x86_64__"
21002 fi ;;
21003 *sparc64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
21004 printf %s "checking whether we need to define __sparc64__... " >&6; }
21005 if test ${ac_cv_cpp_def___sparc64__+y}
21006 then :
21007 printf %s "(cached) " >&6
21008 else $as_nop
21009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21010 /* end confdefs.h. */
21011 #ifndef __sparc64__
21013 #endif
21014 _ACEOF
21015 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21016 $EGREP "yes" >/dev/null 2>&1
21017 then :
21018 ac_cv_cpp_def___sparc64__=yes
21019 else $as_nop
21020 ac_cv_cpp_def___sparc64__=no
21022 rm -rf conftest*
21025 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
21026 printf "%s\n" "$ac_cv_cpp_def___sparc64__" >&6; }
21027 if test "x$ac_cv_cpp_def___sparc64__" = xyes
21028 then :
21029 CFLAGS="$CFLAGS -D__sparc64__"
21030 LINTFLAGS="$LINTFLAGS -D__sparc64__"
21031 fi ;;
21032 *sparc*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
21033 printf %s "checking whether we need to define __sparc__... " >&6; }
21034 if test ${ac_cv_cpp_def___sparc__+y}
21035 then :
21036 printf %s "(cached) " >&6
21037 else $as_nop
21038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21039 /* end confdefs.h. */
21040 #ifndef __sparc__
21042 #endif
21043 _ACEOF
21044 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21045 $EGREP "yes" >/dev/null 2>&1
21046 then :
21047 ac_cv_cpp_def___sparc__=yes
21048 else $as_nop
21049 ac_cv_cpp_def___sparc__=no
21051 rm -rf conftest*
21054 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
21055 printf "%s\n" "$ac_cv_cpp_def___sparc__" >&6; }
21056 if test "x$ac_cv_cpp_def___sparc__" = xyes
21057 then :
21058 CFLAGS="$CFLAGS -D__sparc__"
21059 LINTFLAGS="$LINTFLAGS -D__sparc__"
21060 fi ;;
21061 *powerpc64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
21062 printf %s "checking whether we need to define __powerpc64__... " >&6; }
21063 if test ${ac_cv_cpp_def___powerpc64__+y}
21064 then :
21065 printf %s "(cached) " >&6
21066 else $as_nop
21067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21068 /* end confdefs.h. */
21069 #ifndef __powerpc64__
21071 #endif
21072 _ACEOF
21073 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21074 $EGREP "yes" >/dev/null 2>&1
21075 then :
21076 ac_cv_cpp_def___powerpc64__=yes
21077 else $as_nop
21078 ac_cv_cpp_def___powerpc64__=no
21080 rm -rf conftest*
21083 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
21084 printf "%s\n" "$ac_cv_cpp_def___powerpc64__" >&6; }
21085 if test "x$ac_cv_cpp_def___powerpc64__" = xyes
21086 then :
21087 CFLAGS="$CFLAGS -D__powerpc64__"
21088 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
21089 fi ;;
21090 *powerpc*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
21091 printf %s "checking whether we need to define __powerpc__... " >&6; }
21092 if test ${ac_cv_cpp_def___powerpc__+y}
21093 then :
21094 printf %s "(cached) " >&6
21095 else $as_nop
21096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21097 /* end confdefs.h. */
21098 #ifndef __powerpc__
21100 #endif
21101 _ACEOF
21102 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21103 $EGREP "yes" >/dev/null 2>&1
21104 then :
21105 ac_cv_cpp_def___powerpc__=yes
21106 else $as_nop
21107 ac_cv_cpp_def___powerpc__=no
21109 rm -rf conftest*
21112 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
21113 printf "%s\n" "$ac_cv_cpp_def___powerpc__" >&6; }
21114 if test "x$ac_cv_cpp_def___powerpc__" = xyes
21115 then :
21116 CFLAGS="$CFLAGS -D__powerpc__"
21117 LINTFLAGS="$LINTFLAGS -D__powerpc__"
21118 fi ;;
21119 *aarch64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
21120 printf %s "checking whether we need to define __aarch64__... " >&6; }
21121 if test ${ac_cv_cpp_def___aarch64__+y}
21122 then :
21123 printf %s "(cached) " >&6
21124 else $as_nop
21125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21126 /* end confdefs.h. */
21127 #ifndef __aarch64__
21129 #endif
21130 _ACEOF
21131 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21132 $EGREP "yes" >/dev/null 2>&1
21133 then :
21134 ac_cv_cpp_def___aarch64__=yes
21135 else $as_nop
21136 ac_cv_cpp_def___aarch64__=no
21138 rm -rf conftest*
21141 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
21142 printf "%s\n" "$ac_cv_cpp_def___aarch64__" >&6; }
21143 if test "x$ac_cv_cpp_def___aarch64__" = xyes
21144 then :
21145 CFLAGS="$CFLAGS -D__aarch64__"
21146 LINTFLAGS="$LINTFLAGS -D__aarch64__"
21147 fi ;;
21148 *arm*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
21149 printf %s "checking whether we need to define __arm__... " >&6; }
21150 if test ${ac_cv_cpp_def___arm__+y}
21151 then :
21152 printf %s "(cached) " >&6
21153 else $as_nop
21154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21155 /* end confdefs.h. */
21156 #ifndef __arm__
21158 #endif
21159 _ACEOF
21160 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21161 $EGREP "yes" >/dev/null 2>&1
21162 then :
21163 ac_cv_cpp_def___arm__=yes
21164 else $as_nop
21165 ac_cv_cpp_def___arm__=no
21167 rm -rf conftest*
21170 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
21171 printf "%s\n" "$ac_cv_cpp_def___arm__" >&6; }
21172 if test "x$ac_cv_cpp_def___arm__" = xyes
21173 then :
21174 CFLAGS="$CFLAGS -D__arm__"
21175 LINTFLAGS="$LINTFLAGS -D__arm__"
21176 fi ;;
21177 esac
21179 case $host_vendor in
21180 *sun*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
21181 printf %s "checking whether we need to define __sun__... " >&6; }
21182 if test ${ac_cv_cpp_def___sun__+y}
21183 then :
21184 printf %s "(cached) " >&6
21185 else $as_nop
21186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21187 /* end confdefs.h. */
21188 #ifndef __sun__
21190 #endif
21191 _ACEOF
21192 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21193 $EGREP "yes" >/dev/null 2>&1
21194 then :
21195 ac_cv_cpp_def___sun__=yes
21196 else $as_nop
21197 ac_cv_cpp_def___sun__=no
21199 rm -rf conftest*
21202 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
21203 printf "%s\n" "$ac_cv_cpp_def___sun__" >&6; }
21204 if test "x$ac_cv_cpp_def___sun__" = xyes
21205 then :
21206 CFLAGS="$CFLAGS -D__sun__"
21207 LINTFLAGS="$LINTFLAGS -D__sun__"
21208 fi ;;
21209 esac
21215 ac_config_commands="$ac_config_commands include/stamp-h"
21217 printf %s "creating Makefile rules..." >&6
21219 makedep_flags=""
21220 test "x$enable_silent_rules" = xyes && makedep_flags="$makedep_flags -S"
21222 wine_srcdir=
21223 test "$srcdir" = . || wine_srcdir="$srcdir/"
21225 ac_config_links="$ac_config_links wine:tools/winewrapper"
21226 wine_fn_config_symlink wine
21227 if test "$wine_binary" = wine64 -o -n "$with_wine64"; then
21228 ac_config_links="$ac_config_links wine64:tools/winewrapper"
21229 wine_fn_config_symlink wine64
21232 wine_fn_config_makefile dlls/acledit enable_acledit
21233 wine_fn_config_makefile dlls/aclui enable_aclui
21234 wine_fn_config_makefile dlls/activeds.tlb enable_activeds_tlb
21235 wine_fn_config_makefile dlls/activeds enable_activeds
21236 wine_fn_config_makefile dlls/activeds/tests enable_tests
21237 wine_fn_config_makefile dlls/actxprxy enable_actxprxy
21238 wine_fn_config_makefile dlls/adsldp enable_adsldp
21239 wine_fn_config_makefile dlls/adsldp/tests enable_tests
21240 wine_fn_config_makefile dlls/adsldpc enable_adsldpc
21241 wine_fn_config_makefile dlls/advapi32 enable_advapi32
21242 wine_fn_config_makefile dlls/advapi32/tests enable_tests
21243 wine_fn_config_makefile dlls/advpack enable_advpack
21244 wine_fn_config_makefile dlls/advpack/tests enable_tests
21245 wine_fn_config_makefile dlls/amsi enable_amsi
21246 wine_fn_config_makefile dlls/amstream enable_amstream
21247 wine_fn_config_makefile dlls/amstream/tests enable_tests
21248 wine_fn_config_makefile dlls/apisetschema enable_apisetschema
21249 wine_fn_config_makefile dlls/apphelp enable_apphelp
21250 wine_fn_config_makefile dlls/apphelp/tests enable_tests
21251 wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
21252 wine_fn_config_makefile dlls/appxdeploymentclient enable_appxdeploymentclient
21253 wine_fn_config_makefile dlls/atl enable_atl
21254 wine_fn_config_makefile dlls/atl/tests enable_tests
21255 wine_fn_config_makefile dlls/atl100 enable_atl100
21256 wine_fn_config_makefile dlls/atl100/tests enable_tests
21257 wine_fn_config_makefile dlls/atl110 enable_atl110
21258 wine_fn_config_makefile dlls/atl110/tests enable_tests
21259 wine_fn_config_makefile dlls/atl80 enable_atl80
21260 wine_fn_config_makefile dlls/atl80/tests enable_tests
21261 wine_fn_config_makefile dlls/atl90 enable_atl90
21262 wine_fn_config_makefile dlls/atlthunk enable_atlthunk
21263 wine_fn_config_makefile dlls/atlthunk/tests enable_tests
21264 wine_fn_config_makefile dlls/atmlib enable_atmlib
21265 wine_fn_config_makefile dlls/authz enable_authz
21266 wine_fn_config_makefile dlls/avicap32 enable_avicap32
21267 wine_fn_config_makefile dlls/avifil32 enable_avifil32
21268 wine_fn_config_makefile dlls/avifil32/tests enable_tests
21269 wine_fn_config_makefile dlls/avifile.dll16 enable_win16
21270 wine_fn_config_makefile dlls/avrt enable_avrt
21271 wine_fn_config_makefile dlls/bcrypt enable_bcrypt
21272 wine_fn_config_makefile dlls/bcrypt/tests enable_tests
21273 wine_fn_config_makefile dlls/bcryptprimitives enable_bcryptprimitives
21274 wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
21275 wine_fn_config_makefile dlls/browseui enable_browseui
21276 wine_fn_config_makefile dlls/browseui/tests enable_tests
21277 wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
21278 wine_fn_config_makefile dlls/cabinet enable_cabinet
21279 wine_fn_config_makefile dlls/cabinet/tests enable_tests
21280 wine_fn_config_makefile dlls/capi2032 enable_capi2032
21281 wine_fn_config_makefile dlls/cards enable_cards
21282 wine_fn_config_makefile dlls/cdosys enable_cdosys
21283 wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
21284 wine_fn_config_makefile dlls/cfgmgr32/tests enable_tests
21285 wine_fn_config_makefile dlls/clusapi enable_clusapi
21286 wine_fn_config_makefile dlls/cng.sys enable_cng_sys
21287 wine_fn_config_makefile dlls/combase enable_combase
21288 wine_fn_config_makefile dlls/combase/tests enable_tests
21289 wine_fn_config_makefile dlls/comcat enable_comcat
21290 wine_fn_config_makefile dlls/comcat/tests enable_tests
21291 wine_fn_config_makefile dlls/comctl32 enable_comctl32
21292 wine_fn_config_makefile dlls/comctl32/tests enable_tests
21293 wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
21294 wine_fn_config_makefile dlls/comdlg32/tests enable_tests
21295 wine_fn_config_makefile dlls/comm.drv16 enable_win16
21296 wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
21297 wine_fn_config_makefile dlls/compobj.dll16 enable_win16
21298 wine_fn_config_makefile dlls/compstui enable_compstui
21299 wine_fn_config_makefile dlls/compstui/tests enable_tests
21300 wine_fn_config_makefile dlls/comsvcs enable_comsvcs
21301 wine_fn_config_makefile dlls/comsvcs/tests enable_tests
21302 wine_fn_config_makefile dlls/concrt140 enable_concrt140
21303 wine_fn_config_makefile dlls/concrt140/tests enable_tests
21304 wine_fn_config_makefile dlls/connect enable_connect
21305 wine_fn_config_makefile dlls/credui enable_credui
21306 wine_fn_config_makefile dlls/credui/tests enable_tests
21307 wine_fn_config_makefile dlls/crtdll enable_crtdll
21308 wine_fn_config_makefile dlls/crypt32 enable_crypt32
21309 wine_fn_config_makefile dlls/crypt32/tests enable_tests
21310 wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
21311 wine_fn_config_makefile dlls/cryptdll enable_cryptdll
21312 wine_fn_config_makefile dlls/cryptext enable_cryptext
21313 wine_fn_config_makefile dlls/cryptnet enable_cryptnet
21314 wine_fn_config_makefile dlls/cryptnet/tests enable_tests
21315 wine_fn_config_makefile dlls/cryptowinrt enable_cryptowinrt
21316 wine_fn_config_makefile dlls/cryptowinrt/tests enable_tests
21317 wine_fn_config_makefile dlls/cryptsp enable_cryptsp
21318 wine_fn_config_makefile dlls/cryptui enable_cryptui
21319 wine_fn_config_makefile dlls/cryptui/tests enable_tests
21320 wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
21321 wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
21322 wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
21323 wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
21324 wine_fn_config_makefile dlls/d2d1 enable_d2d1
21325 wine_fn_config_makefile dlls/d2d1/tests enable_tests
21326 wine_fn_config_makefile dlls/d3d10 enable_d3d10
21327 wine_fn_config_makefile dlls/d3d10/tests enable_tests
21328 wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
21329 wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
21330 wine_fn_config_makefile dlls/d3d10core enable_d3d10core
21331 wine_fn_config_makefile dlls/d3d10core/tests enable_tests
21332 wine_fn_config_makefile dlls/d3d11 enable_d3d11
21333 wine_fn_config_makefile dlls/d3d11/tests enable_tests
21334 wine_fn_config_makefile dlls/d3d12 enable_d3d12
21335 wine_fn_config_makefile dlls/d3d12/tests enable_tests
21336 wine_fn_config_makefile dlls/d3d12core enable_d3d12core
21337 wine_fn_config_makefile dlls/d3d8 enable_d3d8
21338 wine_fn_config_makefile dlls/d3d8/tests enable_tests
21339 wine_fn_config_makefile dlls/d3d8thk enable_d3d8thk
21340 wine_fn_config_makefile dlls/d3d9 enable_d3d9
21341 wine_fn_config_makefile dlls/d3d9/tests enable_tests
21342 wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
21343 wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
21344 wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
21345 wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
21346 wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
21347 wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
21348 wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
21349 wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
21350 wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
21351 wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
21352 wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
21353 wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
21354 wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
21355 wine_fn_config_makefile dlls/d3dcompiler_46/tests enable_tests
21356 wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
21357 wine_fn_config_makefile dlls/d3dcompiler_47/tests enable_tests
21358 wine_fn_config_makefile dlls/d3dim enable_d3dim
21359 wine_fn_config_makefile dlls/d3dim700 enable_d3dim700
21360 wine_fn_config_makefile dlls/d3drm enable_d3drm
21361 wine_fn_config_makefile dlls/d3drm/tests enable_tests
21362 wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
21363 wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
21364 wine_fn_config_makefile dlls/d3dx10_34/tests enable_tests
21365 wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
21366 wine_fn_config_makefile dlls/d3dx10_35/tests enable_tests
21367 wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
21368 wine_fn_config_makefile dlls/d3dx10_36/tests enable_tests
21369 wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
21370 wine_fn_config_makefile dlls/d3dx10_37/tests enable_tests
21371 wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
21372 wine_fn_config_makefile dlls/d3dx10_38/tests enable_tests
21373 wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
21374 wine_fn_config_makefile dlls/d3dx10_39/tests enable_tests
21375 wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
21376 wine_fn_config_makefile dlls/d3dx10_40/tests enable_tests
21377 wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
21378 wine_fn_config_makefile dlls/d3dx10_41/tests enable_tests
21379 wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
21380 wine_fn_config_makefile dlls/d3dx10_42/tests enable_tests
21381 wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
21382 wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
21383 wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
21384 wine_fn_config_makefile dlls/d3dx11_42/tests enable_tests
21385 wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
21386 wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
21387 wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
21388 wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
21389 wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
21390 wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
21391 wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
21392 wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
21393 wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
21394 wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
21395 wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
21396 wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
21397 wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
21398 wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
21399 wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
21400 wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
21401 wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
21402 wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
21403 wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
21404 wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
21405 wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
21406 wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
21407 wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
21408 wine_fn_config_makefile dlls/d3dxof enable_d3dxof
21409 wine_fn_config_makefile dlls/d3dxof/tests enable_tests
21410 wine_fn_config_makefile dlls/davclnt enable_davclnt
21411 wine_fn_config_makefile dlls/dbgeng enable_dbgeng
21412 wine_fn_config_makefile dlls/dbgeng/tests enable_tests
21413 wine_fn_config_makefile dlls/dbghelp enable_dbghelp
21414 wine_fn_config_makefile dlls/dbghelp/tests enable_tests
21415 wine_fn_config_makefile dlls/dciman32 enable_dciman32
21416 wine_fn_config_makefile dlls/dcomp enable_dcomp
21417 wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
21418 wine_fn_config_makefile dlls/ddraw enable_ddraw
21419 wine_fn_config_makefile dlls/ddraw/tests enable_tests
21420 wine_fn_config_makefile dlls/ddrawex enable_ddrawex
21421 wine_fn_config_makefile dlls/ddrawex/tests enable_tests
21422 wine_fn_config_makefile dlls/devenum enable_devenum
21423 wine_fn_config_makefile dlls/devenum/tests enable_tests
21424 wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
21425 wine_fn_config_makefile dlls/dhcpcsvc/tests enable_tests
21426 wine_fn_config_makefile dlls/dhcpcsvc6 enable_dhcpcsvc6
21427 wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
21428 wine_fn_config_makefile dlls/diasymreader enable_diasymreader
21429 wine_fn_config_makefile dlls/difxapi enable_difxapi
21430 wine_fn_config_makefile dlls/dinput enable_dinput
21431 wine_fn_config_makefile dlls/dinput/tests enable_tests
21432 wine_fn_config_makefile dlls/dinput8 enable_dinput8
21433 wine_fn_config_makefile dlls/directmanipulation enable_directmanipulation
21434 wine_fn_config_makefile dlls/directmanipulation/tests enable_tests
21435 wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
21436 wine_fn_config_makefile dlls/dispex enable_dispex
21437 wine_fn_config_makefile dlls/dispex/tests enable_tests
21438 wine_fn_config_makefile dlls/display.drv16 enable_win16
21439 wine_fn_config_makefile dlls/dmband enable_dmband
21440 wine_fn_config_makefile dlls/dmband/tests enable_tests
21441 wine_fn_config_makefile dlls/dmcompos enable_dmcompos
21442 wine_fn_config_makefile dlls/dmcompos/tests enable_tests
21443 wine_fn_config_makefile dlls/dmime enable_dmime
21444 wine_fn_config_makefile dlls/dmime/tests enable_tests
21445 wine_fn_config_makefile dlls/dmloader enable_dmloader
21446 wine_fn_config_makefile dlls/dmloader/tests enable_tests
21447 wine_fn_config_makefile dlls/dmscript enable_dmscript
21448 wine_fn_config_makefile dlls/dmscript/tests enable_tests
21449 wine_fn_config_makefile dlls/dmstyle enable_dmstyle
21450 wine_fn_config_makefile dlls/dmstyle/tests enable_tests
21451 wine_fn_config_makefile dlls/dmsynth enable_dmsynth
21452 wine_fn_config_makefile dlls/dmsynth/tests enable_tests
21453 wine_fn_config_makefile dlls/dmusic enable_dmusic
21454 wine_fn_config_makefile dlls/dmusic/tests enable_tests
21455 wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
21456 wine_fn_config_makefile dlls/dnsapi enable_dnsapi
21457 wine_fn_config_makefile dlls/dnsapi/tests enable_tests
21458 wine_fn_config_makefile dlls/dplay enable_dplay
21459 wine_fn_config_makefile dlls/dplayx enable_dplayx
21460 wine_fn_config_makefile dlls/dplayx/tests enable_tests
21461 wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
21462 wine_fn_config_makefile dlls/dpnet enable_dpnet
21463 wine_fn_config_makefile dlls/dpnet/tests enable_tests
21464 wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
21465 wine_fn_config_makefile dlls/dpnhupnp enable_dpnhupnp
21466 wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
21467 wine_fn_config_makefile dlls/dpvoice enable_dpvoice
21468 wine_fn_config_makefile dlls/dpvoice/tests enable_tests
21469 wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
21470 wine_fn_config_makefile dlls/drmclien enable_drmclien
21471 wine_fn_config_makefile dlls/dsdmo enable_dsdmo
21472 wine_fn_config_makefile dlls/dsdmo/tests enable_tests
21473 wine_fn_config_makefile dlls/dsound enable_dsound
21474 wine_fn_config_makefile dlls/dsound/tests enable_tests
21475 wine_fn_config_makefile dlls/dsquery enable_dsquery
21476 wine_fn_config_makefile dlls/dssenh enable_dssenh
21477 wine_fn_config_makefile dlls/dssenh/tests enable_tests
21478 wine_fn_config_makefile dlls/dsuiext enable_dsuiext
21479 wine_fn_config_makefile dlls/dswave enable_dswave
21480 wine_fn_config_makefile dlls/dswave/tests enable_tests
21481 wine_fn_config_makefile dlls/dwmapi enable_dwmapi
21482 wine_fn_config_makefile dlls/dwmapi/tests enable_tests
21483 wine_fn_config_makefile dlls/dwrite enable_dwrite
21484 wine_fn_config_makefile dlls/dwrite/tests enable_tests
21485 wine_fn_config_makefile dlls/dx8vb enable_dx8vb
21486 wine_fn_config_makefile dlls/dxcore enable_dxcore
21487 wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
21488 wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
21489 wine_fn_config_makefile dlls/dxgi enable_dxgi
21490 wine_fn_config_makefile dlls/dxgi/tests enable_tests
21491 wine_fn_config_makefile dlls/dxtrans enable_dxtrans
21492 wine_fn_config_makefile dlls/dxva2 enable_dxva2
21493 wine_fn_config_makefile dlls/dxva2/tests enable_tests
21494 wine_fn_config_makefile dlls/esent enable_esent
21495 wine_fn_config_makefile dlls/evr enable_evr
21496 wine_fn_config_makefile dlls/evr/tests enable_tests
21497 wine_fn_config_makefile dlls/explorerframe enable_explorerframe
21498 wine_fn_config_makefile dlls/explorerframe/tests enable_tests
21499 wine_fn_config_makefile dlls/faultrep enable_faultrep
21500 wine_fn_config_makefile dlls/faultrep/tests enable_tests
21501 wine_fn_config_makefile dlls/feclient enable_feclient
21502 wine_fn_config_makefile dlls/fltlib enable_fltlib
21503 wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
21504 wine_fn_config_makefile dlls/fntcache enable_fntcache
21505 wine_fn_config_makefile dlls/fontsub enable_fontsub
21506 wine_fn_config_makefile dlls/fusion enable_fusion
21507 wine_fn_config_makefile dlls/fusion/tests enable_tests
21508 wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
21509 wine_fn_config_makefile dlls/gameux enable_gameux
21510 wine_fn_config_makefile dlls/gameux/tests enable_tests
21511 wine_fn_config_makefile dlls/gamingtcui enable_gamingtcui
21512 wine_fn_config_makefile dlls/gdi.exe16 enable_win16
21513 wine_fn_config_makefile dlls/gdi32 enable_gdi32
21514 wine_fn_config_makefile dlls/gdi32/tests enable_tests
21515 wine_fn_config_makefile dlls/gdiplus enable_gdiplus
21516 wine_fn_config_makefile dlls/gdiplus/tests enable_tests
21517 wine_fn_config_makefile dlls/geolocation enable_geolocation
21518 wine_fn_config_makefile dlls/geolocation/tests enable_tests
21519 wine_fn_config_makefile dlls/glu32 enable_glu32
21520 wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
21521 wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
21522 wine_fn_config_makefile dlls/graphicscapture enable_graphicscapture
21523 wine_fn_config_makefile dlls/graphicscapture/tests enable_tests
21524 wine_fn_config_makefile dlls/hal enable_hal
21525 wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
21526 wine_fn_config_makefile dlls/hid enable_hid
21527 wine_fn_config_makefile dlls/hid/tests enable_tests
21528 wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
21529 wine_fn_config_makefile dlls/hidparse.sys enable_hidparse_sys
21530 wine_fn_config_makefile dlls/hlink enable_hlink
21531 wine_fn_config_makefile dlls/hlink/tests enable_tests
21532 wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
21533 wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
21534 wine_fn_config_makefile dlls/hrtfapo enable_hrtfapo
21535 wine_fn_config_makefile dlls/http.sys enable_http_sys
21536 wine_fn_config_makefile dlls/httpapi enable_httpapi
21537 wine_fn_config_makefile dlls/httpapi/tests enable_tests
21538 wine_fn_config_makefile dlls/hvsimanagementapi enable_hvsimanagementapi
21539 wine_fn_config_makefile dlls/hvsimanagementapi/tests enable_tests
21540 wine_fn_config_makefile dlls/ia2comproxy enable_ia2comproxy
21541 wine_fn_config_makefile dlls/iccvid enable_iccvid
21542 wine_fn_config_makefile dlls/icmp enable_icmp
21543 wine_fn_config_makefile dlls/ieframe enable_ieframe
21544 wine_fn_config_makefile dlls/ieframe/tests enable_tests
21545 wine_fn_config_makefile dlls/ieproxy enable_ieproxy
21546 wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
21547 wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
21548 wine_fn_config_makefile dlls/imagehlp enable_imagehlp
21549 wine_fn_config_makefile dlls/imagehlp/tests enable_tests
21550 wine_fn_config_makefile dlls/imm.dll16 enable_win16
21551 wine_fn_config_makefile dlls/imm32 enable_imm32
21552 wine_fn_config_makefile dlls/imm32/tests enable_tests
21553 wine_fn_config_makefile dlls/inetcomm enable_inetcomm
21554 wine_fn_config_makefile dlls/inetcomm/tests enable_tests
21555 wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
21556 wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
21557 wine_fn_config_makefile dlls/inetmib1/tests enable_tests
21558 wine_fn_config_makefile dlls/infosoft enable_infosoft
21559 wine_fn_config_makefile dlls/infosoft/tests enable_tests
21560 wine_fn_config_makefile dlls/initpki enable_initpki
21561 wine_fn_config_makefile dlls/inkobj enable_inkobj
21562 wine_fn_config_makefile dlls/inseng enable_inseng
21563 wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
21564 wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
21565 wine_fn_config_makefile dlls/iprop enable_iprop
21566 wine_fn_config_makefile dlls/ir50_32 enable_ir50_32
21567 wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
21568 wine_fn_config_makefile dlls/itircl enable_itircl
21569 wine_fn_config_makefile dlls/itss enable_itss
21570 wine_fn_config_makefile dlls/itss/tests enable_tests
21571 wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
21572 wine_fn_config_makefile dlls/jscript enable_jscript
21573 wine_fn_config_makefile dlls/jscript/tests enable_tests
21574 wine_fn_config_makefile dlls/jsproxy enable_jsproxy
21575 wine_fn_config_makefile dlls/jsproxy/tests enable_tests
21576 wine_fn_config_makefile dlls/kerberos enable_kerberos
21577 wine_fn_config_makefile dlls/kernel32 enable_kernel32
21578 wine_fn_config_makefile dlls/kernel32/tests enable_tests
21579 wine_fn_config_makefile dlls/kernelbase enable_kernelbase
21580 wine_fn_config_makefile dlls/kernelbase/tests enable_tests
21581 wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
21582 wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
21583 wine_fn_config_makefile dlls/ksecdd.sys enable_ksecdd_sys
21584 wine_fn_config_makefile dlls/ksproxy.ax enable_ksproxy_ax
21585 wine_fn_config_makefile dlls/ksuser enable_ksuser
21586 wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
21587 wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
21588 wine_fn_config_makefile dlls/light.msstyles enable_light_msstyles
21589 wine_fn_config_makefile dlls/loadperf enable_loadperf
21590 wine_fn_config_makefile dlls/localspl enable_localspl
21591 wine_fn_config_makefile dlls/localspl/tests enable_tests
21592 wine_fn_config_makefile dlls/localui enable_localui
21593 wine_fn_config_makefile dlls/localui/tests enable_tests
21594 wine_fn_config_makefile dlls/lz32 enable_lz32
21595 wine_fn_config_makefile dlls/lz32/tests enable_tests
21596 wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
21597 wine_fn_config_makefile dlls/magnification enable_magnification
21598 wine_fn_config_makefile dlls/mapi32 enable_mapi32
21599 wine_fn_config_makefile dlls/mapi32/tests enable_tests
21600 wine_fn_config_makefile dlls/mapistub enable_mapistub
21601 wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
21602 wine_fn_config_makefile dlls/mcicda enable_mcicda
21603 wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
21604 wine_fn_config_makefile dlls/mciseq enable_mciseq
21605 wine_fn_config_makefile dlls/mciwave enable_mciwave
21606 wine_fn_config_makefile dlls/mf enable_mf
21607 wine_fn_config_makefile dlls/mf/tests enable_tests
21608 wine_fn_config_makefile dlls/mf3216 enable_mf3216
21609 wine_fn_config_makefile dlls/mferror enable_mferror
21610 wine_fn_config_makefile dlls/mfmediaengine enable_mfmediaengine
21611 wine_fn_config_makefile dlls/mfmediaengine/tests enable_tests
21612 wine_fn_config_makefile dlls/mfplat enable_mfplat
21613 wine_fn_config_makefile dlls/mfplat/tests enable_tests
21614 wine_fn_config_makefile dlls/mfplay enable_mfplay
21615 wine_fn_config_makefile dlls/mfplay/tests enable_tests
21616 wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
21617 wine_fn_config_makefile dlls/mfreadwrite/tests enable_tests
21618 wine_fn_config_makefile dlls/mfsrcsnk enable_mfsrcsnk
21619 wine_fn_config_makefile dlls/mfsrcsnk/tests enable_tests
21620 wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
21621 wine_fn_config_makefile dlls/midimap enable_midimap
21622 wine_fn_config_makefile dlls/mlang enable_mlang
21623 wine_fn_config_makefile dlls/mlang/tests enable_tests
21624 wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
21625 wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
21626 wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
21627 wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
21628 wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
21629 wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
21630 wine_fn_config_makefile dlls/monodebg.vxd enable_win16
21631 wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
21632 wine_fn_config_makefile dlls/mouse.drv16 enable_win16
21633 wine_fn_config_makefile dlls/mp3dmod enable_mp3dmod
21634 wine_fn_config_makefile dlls/mp3dmod/tests enable_tests
21635 wine_fn_config_makefile dlls/mpr enable_mpr
21636 wine_fn_config_makefile dlls/mpr/tests enable_tests
21637 wine_fn_config_makefile dlls/mprapi enable_mprapi
21638 wine_fn_config_makefile dlls/msacm.dll16 enable_win16
21639 wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
21640 wine_fn_config_makefile dlls/msacm32 enable_msacm32
21641 wine_fn_config_makefile dlls/msacm32/tests enable_tests
21642 wine_fn_config_makefile dlls/msado15 enable_msado15
21643 wine_fn_config_makefile dlls/msado15/tests enable_tests
21644 wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
21645 wine_fn_config_makefile dlls/msasn1 enable_msasn1
21646 wine_fn_config_makefile dlls/msasn1/tests enable_tests
21647 wine_fn_config_makefile dlls/msauddecmft enable_msauddecmft
21648 wine_fn_config_makefile dlls/mscat32 enable_mscat32
21649 wine_fn_config_makefile dlls/mscms enable_mscms
21650 wine_fn_config_makefile dlls/mscms/tests enable_tests
21651 wine_fn_config_makefile dlls/mscoree enable_mscoree
21652 wine_fn_config_makefile dlls/mscoree/tests enable_tests
21653 wine_fn_config_makefile dlls/mscorwks enable_mscorwks
21654 wine_fn_config_makefile dlls/msctf enable_msctf
21655 wine_fn_config_makefile dlls/msctf/tests enable_tests
21656 wine_fn_config_makefile dlls/msctfmonitor enable_msctfmonitor
21657 wine_fn_config_makefile dlls/msctfp enable_msctfp
21658 wine_fn_config_makefile dlls/msdaps enable_msdaps
21659 wine_fn_config_makefile dlls/msdasql enable_msdasql
21660 wine_fn_config_makefile dlls/msdasql/tests enable_tests
21661 wine_fn_config_makefile dlls/msdelta enable_msdelta
21662 wine_fn_config_makefile dlls/msdmo enable_msdmo
21663 wine_fn_config_makefile dlls/msdmo/tests enable_tests
21664 wine_fn_config_makefile dlls/msdrm enable_msdrm
21665 wine_fn_config_makefile dlls/msftedit enable_msftedit
21666 wine_fn_config_makefile dlls/msftedit/tests enable_tests
21667 wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
21668 wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
21669 wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
21670 wine_fn_config_makefile dlls/mshtml enable_mshtml
21671 wine_fn_config_makefile dlls/mshtml/tests enable_tests
21672 wine_fn_config_makefile dlls/msi enable_msi
21673 wine_fn_config_makefile dlls/msi/tests enable_tests
21674 wine_fn_config_makefile dlls/msident enable_msident
21675 wine_fn_config_makefile dlls/msimg32 enable_msimg32
21676 wine_fn_config_makefile dlls/msimsg enable_msimsg
21677 wine_fn_config_makefile dlls/msimtf enable_msimtf
21678 wine_fn_config_makefile dlls/msisip enable_msisip
21679 wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
21680 wine_fn_config_makefile dlls/msls31 enable_msls31
21681 wine_fn_config_makefile dlls/msmpeg2vdec enable_msmpeg2vdec
21682 wine_fn_config_makefile dlls/msnet32 enable_msnet32
21683 wine_fn_config_makefile dlls/mspatcha enable_mspatcha
21684 wine_fn_config_makefile dlls/mspatcha/tests enable_tests
21685 wine_fn_config_makefile dlls/msports enable_msports
21686 wine_fn_config_makefile dlls/msrle32 enable_msrle32
21687 wine_fn_config_makefile dlls/msrle32/tests enable_tests
21688 wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
21689 wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
21690 wine_fn_config_makefile dlls/mssign32 enable_mssign32
21691 wine_fn_config_makefile dlls/mssip32 enable_mssip32
21692 wine_fn_config_makefile dlls/mstask enable_mstask
21693 wine_fn_config_makefile dlls/mstask/tests enable_tests
21694 wine_fn_config_makefile dlls/msttsengine enable_msttsengine
21695 wine_fn_config_makefile dlls/msv1_0 enable_msv1_0
21696 wine_fn_config_makefile dlls/msvcirt enable_msvcirt
21697 wine_fn_config_makefile dlls/msvcirt/tests enable_tests
21698 wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
21699 wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
21700 wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
21701 wine_fn_config_makefile dlls/msvcp100/tests enable_tests
21702 wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
21703 wine_fn_config_makefile dlls/msvcp110/tests enable_tests
21704 wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
21705 wine_fn_config_makefile dlls/msvcp120/tests enable_tests
21706 wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
21707 wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
21708 wine_fn_config_makefile dlls/msvcp140/tests enable_tests
21709 wine_fn_config_makefile dlls/msvcp140_1 enable_msvcp140_1
21710 wine_fn_config_makefile dlls/msvcp140_1/tests enable_tests
21711 wine_fn_config_makefile dlls/msvcp140_2 enable_msvcp140_2
21712 wine_fn_config_makefile dlls/msvcp140_atomic_wait enable_msvcp140_atomic_wait
21713 wine_fn_config_makefile dlls/msvcp140_atomic_wait/tests enable_tests
21714 wine_fn_config_makefile dlls/msvcp140_codecvt_ids enable_msvcp140_codecvt_ids
21715 wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
21716 wine_fn_config_makefile dlls/msvcp60/tests enable_tests
21717 wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
21718 wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
21719 wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
21720 wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
21721 wine_fn_config_makefile dlls/msvcp90/tests enable_tests
21722 wine_fn_config_makefile dlls/msvcp_win enable_msvcp_win
21723 wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
21724 wine_fn_config_makefile dlls/msvcr100/tests enable_tests
21725 wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
21726 wine_fn_config_makefile dlls/msvcr110/tests enable_tests
21727 wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
21728 wine_fn_config_makefile dlls/msvcr120/tests enable_tests
21729 wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
21730 wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
21731 wine_fn_config_makefile dlls/msvcr70/tests enable_tests
21732 wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
21733 wine_fn_config_makefile dlls/msvcr71/tests enable_tests
21734 wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
21735 wine_fn_config_makefile dlls/msvcr80/tests enable_tests
21736 wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
21737 wine_fn_config_makefile dlls/msvcr90/tests enable_tests
21738 wine_fn_config_makefile dlls/msvcrt enable_msvcrt
21739 wine_fn_config_makefile dlls/msvcrt/tests enable_tests
21740 wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
21741 wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
21742 wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
21743 wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
21744 wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
21745 wine_fn_config_makefile dlls/msvfw32/tests enable_tests
21746 wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
21747 wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
21748 wine_fn_config_makefile dlls/mswsock enable_mswsock
21749 wine_fn_config_makefile dlls/msxml enable_msxml
21750 wine_fn_config_makefile dlls/msxml2 enable_msxml2
21751 wine_fn_config_makefile dlls/msxml3 enable_msxml3
21752 wine_fn_config_makefile dlls/msxml3/tests enable_tests
21753 wine_fn_config_makefile dlls/msxml4 enable_msxml4
21754 wine_fn_config_makefile dlls/msxml4/tests enable_tests
21755 wine_fn_config_makefile dlls/msxml6 enable_msxml6
21756 wine_fn_config_makefile dlls/msxml6/tests enable_tests
21757 wine_fn_config_makefile dlls/mtxdm enable_mtxdm
21758 wine_fn_config_makefile dlls/ncrypt enable_ncrypt
21759 wine_fn_config_makefile dlls/ncrypt/tests enable_tests
21760 wine_fn_config_makefile dlls/nddeapi enable_nddeapi
21761 wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
21762 wine_fn_config_makefile dlls/ndis.sys/tests enable_tests
21763 wine_fn_config_makefile dlls/netapi32 enable_netapi32
21764 wine_fn_config_makefile dlls/netapi32/tests enable_tests
21765 wine_fn_config_makefile dlls/netcfgx enable_netcfgx
21766 wine_fn_config_makefile dlls/netcfgx/tests enable_tests
21767 wine_fn_config_makefile dlls/netio.sys enable_netio_sys
21768 wine_fn_config_makefile dlls/netprofm enable_netprofm
21769 wine_fn_config_makefile dlls/netprofm/tests enable_tests
21770 wine_fn_config_makefile dlls/netutils enable_netutils
21771 wine_fn_config_makefile dlls/newdev enable_newdev
21772 wine_fn_config_makefile dlls/ninput enable_ninput
21773 wine_fn_config_makefile dlls/ninput/tests enable_tests
21774 wine_fn_config_makefile dlls/normaliz enable_normaliz
21775 wine_fn_config_makefile dlls/npmshtml enable_npmshtml
21776 wine_fn_config_makefile dlls/npptools enable_npptools
21777 wine_fn_config_makefile dlls/nsi enable_nsi
21778 wine_fn_config_makefile dlls/nsi/tests enable_tests
21779 wine_fn_config_makefile dlls/nsiproxy.sys enable_nsiproxy_sys
21780 wine_fn_config_makefile dlls/ntdll enable_ntdll
21781 wine_fn_config_makefile dlls/ntdll/tests enable_tests
21782 wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
21783 wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
21784 wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
21785 wine_fn_config_makefile dlls/ntoskrnl.exe/tests enable_tests
21786 wine_fn_config_makefile dlls/ntprint enable_ntprint
21787 wine_fn_config_makefile dlls/ntprint/tests enable_tests
21788 wine_fn_config_makefile dlls/objsel enable_objsel
21789 wine_fn_config_makefile dlls/odbc32 enable_odbc32
21790 wine_fn_config_makefile dlls/odbcbcp enable_odbcbcp
21791 wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
21792 wine_fn_config_makefile dlls/odbccp32/tests enable_tests
21793 wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
21794 wine_fn_config_makefile dlls/ole2.dll16 enable_win16
21795 wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
21796 wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
21797 wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
21798 wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
21799 wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
21800 wine_fn_config_makefile dlls/ole32 enable_ole32
21801 wine_fn_config_makefile dlls/ole32/tests enable_tests
21802 wine_fn_config_makefile dlls/oleacc enable_oleacc
21803 wine_fn_config_makefile dlls/oleacc/tests enable_tests
21804 wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
21805 wine_fn_config_makefile dlls/oleaut32/tests enable_tests
21806 wine_fn_config_makefile dlls/olecli.dll16 enable_win16
21807 wine_fn_config_makefile dlls/olecli32 enable_olecli32
21808 wine_fn_config_makefile dlls/oledb32 enable_oledb32
21809 wine_fn_config_makefile dlls/oledb32/tests enable_tests
21810 wine_fn_config_makefile dlls/oledlg enable_oledlg
21811 wine_fn_config_makefile dlls/oledlg/tests enable_tests
21812 wine_fn_config_makefile dlls/olepro32 enable_olepro32
21813 wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
21814 wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
21815 wine_fn_config_makefile dlls/olethk32 enable_olethk32
21816 wine_fn_config_makefile dlls/opcservices enable_opcservices
21817 wine_fn_config_makefile dlls/opcservices/tests enable_tests
21818 wine_fn_config_makefile dlls/opencl enable_opencl
21819 wine_fn_config_makefile dlls/opengl32 enable_opengl32
21820 wine_fn_config_makefile dlls/opengl32/tests enable_tests
21821 wine_fn_config_makefile dlls/packager enable_packager
21822 wine_fn_config_makefile dlls/packager/tests enable_tests
21823 wine_fn_config_makefile dlls/pdh enable_pdh
21824 wine_fn_config_makefile dlls/pdh/tests enable_tests
21825 wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
21826 wine_fn_config_makefile dlls/pidgen enable_pidgen
21827 wine_fn_config_makefile dlls/powrprof enable_powrprof
21828 wine_fn_config_makefile dlls/printui enable_printui
21829 wine_fn_config_makefile dlls/prntvpt enable_prntvpt
21830 wine_fn_config_makefile dlls/prntvpt/tests enable_tests
21831 wine_fn_config_makefile dlls/propsys enable_propsys
21832 wine_fn_config_makefile dlls/propsys/tests enable_tests
21833 wine_fn_config_makefile dlls/psapi enable_psapi
21834 wine_fn_config_makefile dlls/psapi/tests enable_tests
21835 wine_fn_config_makefile dlls/pstorec enable_pstorec
21836 wine_fn_config_makefile dlls/pstorec/tests enable_tests
21837 wine_fn_config_makefile dlls/pwrshplugin enable_pwrshplugin
21838 wine_fn_config_makefile dlls/qasf enable_qasf
21839 wine_fn_config_makefile dlls/qasf/tests enable_tests
21840 wine_fn_config_makefile dlls/qcap enable_qcap
21841 wine_fn_config_makefile dlls/qcap/tests enable_tests
21842 wine_fn_config_makefile dlls/qdvd enable_qdvd
21843 wine_fn_config_makefile dlls/qdvd/tests enable_tests
21844 wine_fn_config_makefile dlls/qedit enable_qedit
21845 wine_fn_config_makefile dlls/qedit/tests enable_tests
21846 wine_fn_config_makefile dlls/qmgr enable_qmgr
21847 wine_fn_config_makefile dlls/qmgr/tests enable_tests
21848 wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
21849 wine_fn_config_makefile dlls/quartz enable_quartz
21850 wine_fn_config_makefile dlls/quartz/tests enable_tests
21851 wine_fn_config_makefile dlls/query enable_query
21852 wine_fn_config_makefile dlls/qwave enable_qwave
21853 wine_fn_config_makefile dlls/qwave/tests enable_tests
21854 wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
21855 wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
21856 wine_fn_config_makefile dlls/rasapi32/tests enable_tests
21857 wine_fn_config_makefile dlls/rasdlg enable_rasdlg
21858 wine_fn_config_makefile dlls/regapi enable_regapi
21859 wine_fn_config_makefile dlls/resutils enable_resutils
21860 wine_fn_config_makefile dlls/riched20 enable_riched20
21861 wine_fn_config_makefile dlls/riched20/tests enable_tests
21862 wine_fn_config_makefile dlls/riched32 enable_riched32
21863 wine_fn_config_makefile dlls/riched32/tests enable_tests
21864 wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
21865 wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
21866 wine_fn_config_makefile dlls/rsabase enable_rsabase
21867 wine_fn_config_makefile dlls/rsaenh enable_rsaenh
21868 wine_fn_config_makefile dlls/rsaenh/tests enable_tests
21869 wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
21870 wine_fn_config_makefile dlls/rtutils enable_rtutils
21871 wine_fn_config_makefile dlls/rtworkq enable_rtworkq
21872 wine_fn_config_makefile dlls/rtworkq/tests enable_tests
21873 wine_fn_config_makefile dlls/samlib enable_samlib
21874 wine_fn_config_makefile dlls/sane.ds enable_sane_ds
21875 wine_fn_config_makefile dlls/sapi enable_sapi
21876 wine_fn_config_makefile dlls/sapi/tests enable_tests
21877 wine_fn_config_makefile dlls/sas enable_sas
21878 wine_fn_config_makefile dlls/scarddlg enable_scarddlg
21879 wine_fn_config_makefile dlls/scardsvr enable_scardsvr
21880 wine_fn_config_makefile dlls/sccbase enable_sccbase
21881 wine_fn_config_makefile dlls/schannel enable_schannel
21882 wine_fn_config_makefile dlls/schannel/tests enable_tests
21883 wine_fn_config_makefile dlls/schedsvc enable_schedsvc
21884 wine_fn_config_makefile dlls/schedsvc/tests enable_tests
21885 wine_fn_config_makefile dlls/scrobj enable_scrobj
21886 wine_fn_config_makefile dlls/scrobj/tests enable_tests
21887 wine_fn_config_makefile dlls/scrrun enable_scrrun
21888 wine_fn_config_makefile dlls/scrrun/tests enable_tests
21889 wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
21890 wine_fn_config_makefile dlls/sechost enable_sechost
21891 wine_fn_config_makefile dlls/secur32 enable_secur32
21892 wine_fn_config_makefile dlls/secur32/tests enable_tests
21893 wine_fn_config_makefile dlls/security enable_security
21894 wine_fn_config_makefile dlls/sensapi enable_sensapi
21895 wine_fn_config_makefile dlls/serialui enable_serialui
21896 wine_fn_config_makefile dlls/serialui/tests enable_tests
21897 wine_fn_config_makefile dlls/setupapi enable_setupapi
21898 wine_fn_config_makefile dlls/setupapi/tests enable_tests
21899 wine_fn_config_makefile dlls/setupx.dll16 enable_win16
21900 wine_fn_config_makefile dlls/sfc enable_sfc
21901 wine_fn_config_makefile dlls/sfc_os enable_sfc_os
21902 wine_fn_config_makefile dlls/shcore enable_shcore
21903 wine_fn_config_makefile dlls/shcore/tests enable_tests
21904 wine_fn_config_makefile dlls/shdoclc enable_shdoclc
21905 wine_fn_config_makefile dlls/shdocvw enable_shdocvw
21906 wine_fn_config_makefile dlls/shdocvw/tests enable_tests
21907 wine_fn_config_makefile dlls/shell.dll16 enable_win16
21908 wine_fn_config_makefile dlls/shell32 enable_shell32
21909 wine_fn_config_makefile dlls/shell32/tests enable_tests
21910 wine_fn_config_makefile dlls/shfolder enable_shfolder
21911 wine_fn_config_makefile dlls/shlwapi enable_shlwapi
21912 wine_fn_config_makefile dlls/shlwapi/tests enable_tests
21913 wine_fn_config_makefile dlls/slbcsp enable_slbcsp
21914 wine_fn_config_makefile dlls/slc enable_slc
21915 wine_fn_config_makefile dlls/slc/tests enable_tests
21916 wine_fn_config_makefile dlls/snmpapi enable_snmpapi
21917 wine_fn_config_makefile dlls/snmpapi/tests enable_tests
21918 wine_fn_config_makefile dlls/softpub enable_softpub
21919 wine_fn_config_makefile dlls/sound.drv16 enable_win16
21920 wine_fn_config_makefile dlls/spoolss enable_spoolss
21921 wine_fn_config_makefile dlls/spoolss/tests enable_tests
21922 wine_fn_config_makefile dlls/sppc enable_sppc
21923 wine_fn_config_makefile dlls/srclient enable_srclient
21924 wine_fn_config_makefile dlls/srvcli enable_srvcli
21925 wine_fn_config_makefile dlls/srvsvc enable_srvsvc
21926 wine_fn_config_makefile dlls/sspicli enable_sspicli
21927 wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
21928 wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
21929 wine_fn_config_makefile dlls/sti enable_sti
21930 wine_fn_config_makefile dlls/sti/tests enable_tests
21931 wine_fn_config_makefile dlls/storage.dll16 enable_win16
21932 wine_fn_config_makefile dlls/stress.dll16 enable_win16
21933 wine_fn_config_makefile dlls/strmdll enable_strmdll
21934 wine_fn_config_makefile dlls/svrapi enable_svrapi
21935 wine_fn_config_makefile dlls/sxs enable_sxs
21936 wine_fn_config_makefile dlls/sxs/tests enable_tests
21937 wine_fn_config_makefile dlls/system.drv16 enable_win16
21938 wine_fn_config_makefile dlls/t2embed enable_t2embed
21939 wine_fn_config_makefile dlls/t2embed/tests enable_tests
21940 wine_fn_config_makefile dlls/tapi32 enable_tapi32
21941 wine_fn_config_makefile dlls/tapi32/tests enable_tests
21942 wine_fn_config_makefile dlls/taskschd enable_taskschd
21943 wine_fn_config_makefile dlls/taskschd/tests enable_tests
21944 wine_fn_config_makefile dlls/tbs enable_tbs
21945 wine_fn_config_makefile dlls/tdh enable_tdh
21946 wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
21947 wine_fn_config_makefile dlls/threadpoolwinrt enable_threadpoolwinrt
21948 wine_fn_config_makefile dlls/threadpoolwinrt/tests enable_tests
21949 wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
21950 wine_fn_config_makefile dlls/traffic enable_traffic
21951 wine_fn_config_makefile dlls/twain.dll16 enable_win16
21952 wine_fn_config_makefile dlls/twain_32 enable_twain_32
21953 wine_fn_config_makefile dlls/twain_32/tests enable_tests
21954 wine_fn_config_makefile dlls/twinapi.appcore enable_twinapi_appcore
21955 wine_fn_config_makefile dlls/typelib.dll16 enable_win16
21956 wine_fn_config_makefile dlls/tzres enable_tzres
21957 wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
21958 wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
21959 wine_fn_config_makefile dlls/uianimation enable_uianimation
21960 wine_fn_config_makefile dlls/uianimation/tests enable_tests
21961 wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
21962 wine_fn_config_makefile dlls/uiautomationcore/tests enable_tests
21963 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
21964 wine_fn_config_makefile dlls/unicows enable_unicows
21965 wine_fn_config_makefile dlls/updspapi enable_updspapi
21966 wine_fn_config_makefile dlls/url enable_url
21967 wine_fn_config_makefile dlls/urlmon enable_urlmon
21968 wine_fn_config_makefile dlls/urlmon/tests enable_tests
21969 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
21970 wine_fn_config_makefile dlls/user.exe16 enable_win16
21971 wine_fn_config_makefile dlls/user32 enable_user32
21972 wine_fn_config_makefile dlls/user32/tests enable_tests
21973 wine_fn_config_makefile dlls/userenv enable_userenv
21974 wine_fn_config_makefile dlls/userenv/tests enable_tests
21975 wine_fn_config_makefile dlls/usp10 enable_usp10
21976 wine_fn_config_makefile dlls/usp10/tests enable_tests
21977 wine_fn_config_makefile dlls/utildll enable_utildll
21978 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
21979 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
21980 wine_fn_config_makefile dlls/vbscript enable_vbscript
21981 wine_fn_config_makefile dlls/vbscript/tests enable_tests
21982 wine_fn_config_makefile dlls/vcomp enable_vcomp
21983 wine_fn_config_makefile dlls/vcomp/tests enable_tests
21984 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
21985 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
21986 wine_fn_config_makefile dlls/vcomp110/tests enable_tests
21987 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
21988 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
21989 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
21990 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
21991 wine_fn_config_makefile dlls/vcruntime140_1 enable_vcruntime140_1
21992 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
21993 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
21994 wine_fn_config_makefile dlls/ver.dll16 enable_win16
21995 wine_fn_config_makefile dlls/version enable_version
21996 wine_fn_config_makefile dlls/version/tests enable_tests
21997 wine_fn_config_makefile dlls/vga enable_vga
21998 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
21999 wine_fn_config_makefile dlls/virtdisk/tests enable_tests
22000 wine_fn_config_makefile dlls/vmm.vxd enable_win16
22001 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
22002 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
22003 wine_fn_config_makefile dlls/vssapi enable_vssapi
22004 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
22005 wine_fn_config_makefile dlls/vulkan-1 enable_vulkan_1
22006 wine_fn_config_makefile dlls/vulkan-1/tests enable_tests
22007 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
22008 wine_fn_config_makefile dlls/w32skrnl enable_win16
22009 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
22010 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
22011 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
22012 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
22013 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
22014 wine_fn_config_makefile dlls/wdscore enable_wdscore
22015 wine_fn_config_makefile dlls/webservices enable_webservices
22016 wine_fn_config_makefile dlls/webservices/tests enable_tests
22017 wine_fn_config_makefile dlls/websocket enable_websocket
22018 wine_fn_config_makefile dlls/wer enable_wer
22019 wine_fn_config_makefile dlls/wer/tests enable_tests
22020 wine_fn_config_makefile dlls/wevtapi enable_wevtapi
22021 wine_fn_config_makefile dlls/wevtapi/tests enable_tests
22022 wine_fn_config_makefile dlls/wevtsvc enable_wevtsvc
22023 wine_fn_config_makefile dlls/wiaservc enable_wiaservc
22024 wine_fn_config_makefile dlls/wiaservc/tests enable_tests
22025 wine_fn_config_makefile dlls/wimgapi enable_wimgapi
22026 wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
22027 wine_fn_config_makefile dlls/win32u enable_win32u
22028 wine_fn_config_makefile dlls/win32u/tests enable_tests
22029 wine_fn_config_makefile dlls/win87em.dll16 enable_win16
22030 wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
22031 wine_fn_config_makefile dlls/windebug.dll16 enable_win16
22032 wine_fn_config_makefile dlls/windows.applicationmodel enable_windows_applicationmodel
22033 wine_fn_config_makefile dlls/windows.applicationmodel/tests enable_tests
22034 wine_fn_config_makefile dlls/windows.devices.bluetooth enable_windows_devices_bluetooth
22035 wine_fn_config_makefile dlls/windows.devices.bluetooth/tests enable_tests
22036 wine_fn_config_makefile dlls/windows.devices.enumeration enable_windows_devices_enumeration
22037 wine_fn_config_makefile dlls/windows.devices.enumeration/tests enable_tests
22038 wine_fn_config_makefile dlls/windows.devices.usb enable_windows_devices_usb
22039 wine_fn_config_makefile dlls/windows.devices.usb/tests enable_tests
22040 wine_fn_config_makefile dlls/windows.gaming.input enable_windows_gaming_input
22041 wine_fn_config_makefile dlls/windows.gaming.input/tests enable_tests
22042 wine_fn_config_makefile dlls/windows.gaming.ui.gamebar enable_windows_gaming_ui_gamebar
22043 wine_fn_config_makefile dlls/windows.gaming.ui.gamebar/tests enable_tests
22044 wine_fn_config_makefile dlls/windows.globalization enable_windows_globalization
22045 wine_fn_config_makefile dlls/windows.globalization/tests enable_tests
22046 wine_fn_config_makefile dlls/windows.media.devices enable_windows_media_devices
22047 wine_fn_config_makefile dlls/windows.media.devices/tests enable_tests
22048 wine_fn_config_makefile dlls/windows.media.mediacontrol enable_windows_media_mediacontrol
22049 wine_fn_config_makefile dlls/windows.media.mediacontrol/tests enable_tests
22050 wine_fn_config_makefile dlls/windows.media.speech enable_windows_media_speech
22051 wine_fn_config_makefile dlls/windows.media.speech/tests enable_tests
22052 wine_fn_config_makefile dlls/windows.media enable_windows_media
22053 wine_fn_config_makefile dlls/windows.media/tests enable_tests
22054 wine_fn_config_makefile dlls/windows.networking.hostname enable_windows_networking_hostname
22055 wine_fn_config_makefile dlls/windows.networking.hostname/tests enable_tests
22056 wine_fn_config_makefile dlls/windows.networking enable_windows_networking
22057 wine_fn_config_makefile dlls/windows.perception.stub enable_windows_perception_stub
22058 wine_fn_config_makefile dlls/windows.perception.stub/tests enable_tests
22059 wine_fn_config_makefile dlls/windows.security.credentials.ui.userconsentverifier enable_windows_security_credentials_ui_userconsentverifier
22060 wine_fn_config_makefile dlls/windows.security.credentials.ui.userconsentverifier/tests enable_tests
22061 wine_fn_config_makefile dlls/windows.storage.applicationdata enable_windows_storage_applicationdata
22062 wine_fn_config_makefile dlls/windows.storage.applicationdata/tests enable_tests
22063 wine_fn_config_makefile dlls/windows.system.profile.systemmanufacturers enable_windows_system_profile_systemmanufacturers
22064 wine_fn_config_makefile dlls/windows.system.profile.systemmanufacturers/tests enable_tests
22065 wine_fn_config_makefile dlls/windows.ui enable_windows_ui
22066 wine_fn_config_makefile dlls/windows.ui/tests enable_tests
22067 wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
22068 wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
22069 wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
22070 wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
22071 wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
22072 wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
22073 wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
22074 wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
22075 wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
22076 wine_fn_config_makefile dlls/wined3d enable_wined3d
22077 wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
22078 wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
22079 wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
22080 wine_fn_config_makefile dlls/winemapi enable_winemapi
22081 wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
22082 wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
22083 wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
22084 wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
22085 wine_fn_config_makefile dlls/wineusb.sys enable_wineusb_sys
22086 wine_fn_config_makefile dlls/winevulkan enable_winevulkan
22087 wine_fn_config_makefile dlls/winewayland.drv enable_winewayland_drv
22088 wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
22089 wine_fn_config_makefile dlls/winexinput.sys enable_winexinput_sys
22090 wine_fn_config_makefile dlls/wing.dll16 enable_win16
22091 wine_fn_config_makefile dlls/wing32 enable_wing32
22092 wine_fn_config_makefile dlls/winhttp enable_winhttp
22093 wine_fn_config_makefile dlls/winhttp/tests enable_tests
22094 wine_fn_config_makefile dlls/wininet enable_wininet
22095 wine_fn_config_makefile dlls/wininet/tests enable_tests
22096 wine_fn_config_makefile dlls/winmm enable_winmm
22097 wine_fn_config_makefile dlls/winmm/tests enable_tests
22098 wine_fn_config_makefile dlls/winnls.dll16 enable_win16
22099 wine_fn_config_makefile dlls/winnls32 enable_winnls32
22100 wine_fn_config_makefile dlls/winprint enable_winprint
22101 wine_fn_config_makefile dlls/winscard enable_winscard
22102 wine_fn_config_makefile dlls/winscard/tests enable_tests
22103 wine_fn_config_makefile dlls/winsock.dll16 enable_win16
22104 wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
22105 wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
22106 wine_fn_config_makefile dlls/winsta enable_winsta
22107 wine_fn_config_makefile dlls/wintab.dll16 enable_win16
22108 wine_fn_config_makefile dlls/wintab32 enable_wintab32
22109 wine_fn_config_makefile dlls/wintab32/tests enable_tests
22110 wine_fn_config_makefile dlls/wintrust enable_wintrust
22111 wine_fn_config_makefile dlls/wintrust/tests enable_tests
22112 wine_fn_config_makefile dlls/wintypes enable_wintypes
22113 wine_fn_config_makefile dlls/wintypes/tests enable_tests
22114 wine_fn_config_makefile dlls/winusb enable_winusb
22115 wine_fn_config_makefile dlls/wlanapi enable_wlanapi
22116 wine_fn_config_makefile dlls/wlanapi/tests enable_tests
22117 wine_fn_config_makefile dlls/wlanui enable_wlanui
22118 wine_fn_config_makefile dlls/wldap32 enable_wldap32
22119 wine_fn_config_makefile dlls/wldap32/tests enable_tests
22120 wine_fn_config_makefile dlls/wldp enable_wldp
22121 wine_fn_config_makefile dlls/wmasf enable_wmasf
22122 wine_fn_config_makefile dlls/wmi enable_wmi
22123 wine_fn_config_makefile dlls/wmiutils enable_wmiutils
22124 wine_fn_config_makefile dlls/wmiutils/tests enable_tests
22125 wine_fn_config_makefile dlls/wmp enable_wmp
22126 wine_fn_config_makefile dlls/wmp/tests enable_tests
22127 wine_fn_config_makefile dlls/wmphoto enable_wmphoto
22128 wine_fn_config_makefile dlls/wmvcore enable_wmvcore
22129 wine_fn_config_makefile dlls/wmvcore/tests enable_tests
22130 wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
22131 wine_fn_config_makefile dlls/wofutil enable_wofutil
22132 wine_fn_config_makefile dlls/wow32 enable_win16
22133 wine_fn_config_makefile dlls/wow64 enable_wow64
22134 wine_fn_config_makefile dlls/wow64cpu enable_wow64cpu
22135 wine_fn_config_makefile dlls/wow64win enable_wow64win
22136 wine_fn_config_makefile dlls/wpc enable_wpc
22137 wine_fn_config_makefile dlls/wpc/tests enable_tests
22138 wine_fn_config_makefile dlls/wpcap enable_wpcap
22139 wine_fn_config_makefile dlls/wpcap/tests enable_tests
22140 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
22141 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
22142 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
22143 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
22144 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
22145 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
22146 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
22147 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
22148 wine_fn_config_makefile dlls/wsock32 enable_wsock32
22149 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
22150 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
22151 wine_fn_config_makefile dlls/wuapi enable_wuapi
22152 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
22153 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
22154 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
22155 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
22156 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
22157 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
22158 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
22159 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
22160 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
22161 wine_fn_config_makefile dlls/xactengine2_0 enable_xactengine2_0
22162 wine_fn_config_makefile dlls/xactengine2_4 enable_xactengine2_4
22163 wine_fn_config_makefile dlls/xactengine2_7 enable_xactengine2_7
22164 wine_fn_config_makefile dlls/xactengine2_9 enable_xactengine2_9
22165 wine_fn_config_makefile dlls/xactengine3_0 enable_xactengine3_0
22166 wine_fn_config_makefile dlls/xactengine3_1 enable_xactengine3_1
22167 wine_fn_config_makefile dlls/xactengine3_2 enable_xactengine3_2
22168 wine_fn_config_makefile dlls/xactengine3_3 enable_xactengine3_3
22169 wine_fn_config_makefile dlls/xactengine3_4 enable_xactengine3_4
22170 wine_fn_config_makefile dlls/xactengine3_5 enable_xactengine3_5
22171 wine_fn_config_makefile dlls/xactengine3_6 enable_xactengine3_6
22172 wine_fn_config_makefile dlls/xactengine3_7 enable_xactengine3_7
22173 wine_fn_config_makefile dlls/xactengine3_7/tests enable_tests
22174 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
22175 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
22176 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
22177 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
22178 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
22179 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
22180 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
22181 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
22182 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
22183 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
22184 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
22185 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
22186 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
22187 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
22188 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
22189 wine_fn_config_makefile dlls/xaudio2_8/tests enable_tests
22190 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
22191 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
22192 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
22193 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
22194 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
22195 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
22196 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
22197 wine_fn_config_makefile dlls/xinputuap enable_xinputuap
22198 wine_fn_config_makefile dlls/xmllite enable_xmllite
22199 wine_fn_config_makefile dlls/xmllite/tests enable_tests
22200 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
22201 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
22202 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
22203 wine_fn_config_makefile fonts enable_fonts
22204 wine_fn_config_makefile include enable_include
22205 wine_fn_config_makefile libs/adsiid enable_adsiid
22206 wine_fn_config_makefile libs/dmoguids enable_dmoguids
22207 wine_fn_config_makefile libs/dxerr8 enable_dxerr8
22208 wine_fn_config_makefile libs/dxerr9 enable_dxerr9
22209 wine_fn_config_makefile libs/dxguid enable_dxguid
22210 wine_fn_config_makefile libs/faudio enable_faudio
22211 wine_fn_config_makefile libs/fluidsynth enable_fluidsynth
22212 wine_fn_config_makefile libs/gsm enable_gsm
22213 wine_fn_config_makefile libs/jpeg enable_jpeg
22214 wine_fn_config_makefile libs/jxr enable_jxr
22215 wine_fn_config_makefile libs/lcms2 enable_lcms2
22216 wine_fn_config_makefile libs/ldap enable_ldap
22217 wine_fn_config_makefile libs/mfuuid enable_mfuuid
22218 wine_fn_config_makefile libs/mpg123 enable_mpg123
22219 wine_fn_config_makefile libs/musl enable_musl
22220 wine_fn_config_makefile libs/png enable_png
22221 wine_fn_config_makefile libs/strmbase enable_strmbase
22222 wine_fn_config_makefile libs/strmiids enable_strmiids
22223 wine_fn_config_makefile libs/tiff enable_tiff
22224 wine_fn_config_makefile libs/uuid enable_uuid
22225 wine_fn_config_makefile libs/vkd3d enable_vkd3d
22226 wine_fn_config_makefile libs/wbemuuid enable_wbemuuid
22227 wine_fn_config_makefile libs/wmcodecdspuuid enable_wmcodecdspuuid
22228 wine_fn_config_makefile libs/xml2 enable_xml2
22229 wine_fn_config_makefile libs/xslt enable_xslt
22230 wine_fn_config_makefile libs/zlib enable_zlib
22231 wine_fn_config_makefile libs/zydis enable_zydis
22232 wine_fn_config_makefile loader enable_loader
22233 wine_fn_config_makefile nls enable_nls
22234 wine_fn_config_makefile po enable_po
22235 wine_fn_config_makefile programs/arp enable_arp
22236 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
22237 wine_fn_config_makefile programs/attrib enable_attrib
22238 wine_fn_config_makefile programs/cabarc enable_cabarc
22239 wine_fn_config_makefile programs/cacls enable_cacls
22240 wine_fn_config_makefile programs/certutil enable_certutil
22241 wine_fn_config_makefile programs/chcp.com enable_chcp_com
22242 wine_fn_config_makefile programs/clock enable_clock
22243 wine_fn_config_makefile programs/cmd enable_cmd
22244 wine_fn_config_makefile programs/cmd/tests enable_tests
22245 wine_fn_config_makefile programs/conhost enable_conhost
22246 wine_fn_config_makefile programs/conhost/tests enable_tests
22247 wine_fn_config_makefile programs/control enable_control
22248 wine_fn_config_makefile programs/cscript enable_cscript
22249 wine_fn_config_makefile programs/dism enable_dism
22250 wine_fn_config_makefile programs/dllhost enable_dllhost
22251 wine_fn_config_makefile programs/dplaysvr enable_dplaysvr
22252 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
22253 wine_fn_config_makefile programs/dpvsetup enable_dpvsetup
22254 wine_fn_config_makefile programs/dxdiag enable_dxdiag
22255 wine_fn_config_makefile programs/eject enable_eject
22256 wine_fn_config_makefile programs/expand enable_expand
22257 wine_fn_config_makefile programs/explorer enable_explorer
22258 wine_fn_config_makefile programs/explorer/tests enable_tests
22259 wine_fn_config_makefile programs/extrac32 enable_extrac32
22260 wine_fn_config_makefile programs/fc enable_fc
22261 wine_fn_config_makefile programs/find enable_find
22262 wine_fn_config_makefile programs/find/tests enable_tests
22263 wine_fn_config_makefile programs/findstr enable_findstr
22264 wine_fn_config_makefile programs/findstr/tests enable_tests
22265 wine_fn_config_makefile programs/fsutil enable_fsutil
22266 wine_fn_config_makefile programs/fsutil/tests enable_tests
22267 wine_fn_config_makefile programs/hh enable_hh
22268 wine_fn_config_makefile programs/hostname enable_hostname
22269 wine_fn_config_makefile programs/icacls enable_icacls
22270 wine_fn_config_makefile programs/icinfo enable_icinfo
22271 wine_fn_config_makefile programs/iexplore enable_iexplore
22272 wine_fn_config_makefile programs/ipconfig enable_ipconfig
22273 wine_fn_config_makefile programs/klist enable_klist
22274 wine_fn_config_makefile programs/lodctr enable_lodctr
22275 wine_fn_config_makefile programs/mofcomp enable_mofcomp
22276 wine_fn_config_makefile programs/mshta enable_mshta
22277 wine_fn_config_makefile programs/msidb enable_msidb
22278 wine_fn_config_makefile programs/msiexec enable_msiexec
22279 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
22280 wine_fn_config_makefile programs/net enable_net
22281 wine_fn_config_makefile programs/netsh enable_netsh
22282 wine_fn_config_makefile programs/netstat enable_netstat
22283 wine_fn_config_makefile programs/ngen enable_ngen
22284 wine_fn_config_makefile programs/notepad enable_notepad
22285 wine_fn_config_makefile programs/oleview enable_oleview
22286 wine_fn_config_makefile programs/ping enable_ping
22287 wine_fn_config_makefile programs/plugplay enable_plugplay
22288 wine_fn_config_makefile programs/pnputil enable_pnputil
22289 wine_fn_config_makefile programs/powershell enable_powershell
22290 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
22291 wine_fn_config_makefile programs/progman enable_progman
22292 wine_fn_config_makefile programs/reg enable_reg
22293 wine_fn_config_makefile programs/reg/tests enable_tests
22294 wine_fn_config_makefile programs/regasm enable_regasm
22295 wine_fn_config_makefile programs/regedit enable_regedit
22296 wine_fn_config_makefile programs/regedit/tests enable_tests
22297 wine_fn_config_makefile programs/regini enable_regini
22298 wine_fn_config_makefile programs/regsvcs enable_regsvcs
22299 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
22300 wine_fn_config_makefile programs/robocopy enable_robocopy
22301 wine_fn_config_makefile programs/rpcss enable_rpcss
22302 wine_fn_config_makefile programs/rundll.exe16 enable_win16
22303 wine_fn_config_makefile programs/rundll32 enable_rundll32
22304 wine_fn_config_makefile programs/sc enable_sc
22305 wine_fn_config_makefile programs/sc/tests enable_tests
22306 wine_fn_config_makefile programs/schtasks enable_schtasks
22307 wine_fn_config_makefile programs/schtasks/tests enable_tests
22308 wine_fn_config_makefile programs/sdbinst enable_sdbinst
22309 wine_fn_config_makefile programs/secedit enable_secedit
22310 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
22311 wine_fn_config_makefile programs/services enable_services
22312 wine_fn_config_makefile programs/services/tests enable_tests
22313 wine_fn_config_makefile programs/setx enable_setx
22314 wine_fn_config_makefile programs/shutdown enable_shutdown
22315 wine_fn_config_makefile programs/spoolsv enable_spoolsv
22316 wine_fn_config_makefile programs/start enable_start
22317 wine_fn_config_makefile programs/subst enable_subst
22318 wine_fn_config_makefile programs/svchost enable_svchost
22319 wine_fn_config_makefile programs/systeminfo enable_systeminfo
22320 wine_fn_config_makefile programs/taskkill enable_taskkill
22321 wine_fn_config_makefile programs/tasklist enable_tasklist
22322 wine_fn_config_makefile programs/tasklist/tests enable_tests
22323 wine_fn_config_makefile programs/taskmgr enable_taskmgr
22324 wine_fn_config_makefile programs/termsv enable_termsv
22325 wine_fn_config_makefile programs/uninstaller enable_uninstaller
22326 wine_fn_config_makefile programs/unlodctr enable_unlodctr
22327 wine_fn_config_makefile programs/view enable_view
22328 wine_fn_config_makefile programs/wevtutil enable_wevtutil
22329 wine_fn_config_makefile programs/where enable_where
22330 wine_fn_config_makefile programs/whoami enable_whoami
22331 wine_fn_config_makefile programs/wineboot enable_wineboot
22332 wine_fn_config_makefile programs/winebrowser enable_winebrowser
22333 wine_fn_config_makefile programs/winecfg enable_winecfg
22334 wine_fn_config_makefile programs/wineconsole enable_wineconsole
22335 wine_fn_config_makefile programs/winedbg enable_winedbg
22336 wine_fn_config_makefile programs/winedevice enable_winedevice
22337 wine_fn_config_makefile programs/winefile enable_winefile
22338 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
22339 wine_fn_config_makefile programs/winemine enable_winemine
22340 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
22341 wine_fn_config_makefile programs/winepath enable_winepath
22342 wine_fn_config_makefile programs/winetest enable_winetest
22343 wine_fn_config_makefile programs/winevdm enable_win16
22344 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
22345 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
22346 wine_fn_config_makefile programs/winmgmt enable_winmgmt
22347 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
22348 wine_fn_config_makefile programs/winver enable_winver
22349 wine_fn_config_makefile programs/wmic enable_wmic
22350 wine_fn_config_makefile programs/wmplayer enable_wmplayer
22351 wine_fn_config_makefile programs/wordpad enable_wordpad
22352 wine_fn_config_makefile programs/write enable_write
22353 wine_fn_config_makefile programs/wscript enable_wscript
22354 wine_fn_config_makefile programs/wscript/tests enable_tests
22355 wine_fn_config_makefile programs/wuauserv enable_wuauserv
22356 wine_fn_config_makefile programs/wusa enable_wusa
22357 wine_fn_config_makefile programs/xcopy enable_xcopy
22358 wine_fn_config_makefile programs/xcopy/tests enable_tests
22359 wine_fn_config_makefile server enable_server
22360 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
22361 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
22362 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
22363 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
22364 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
22365 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
22366 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
22367 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
22368 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
22371 as_fn_append CONFIGURE_TARGETS " TAGS"
22372 as_fn_append CONFIGURE_TARGETS " tags"
22373 as_fn_append CONFIGURE_TARGETS " autom4te.cache"
22374 as_fn_append CONFIGURE_TARGETS " config.log"
22375 as_fn_append CONFIGURE_TARGETS " config.status"
22376 as_fn_append CONFIGURE_TARGETS " include/config.h"
22377 as_fn_append CONFIGURE_TARGETS " include/stamp-h"
22378 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS " loader/wine"
22380 if test "x$enable_tools" != xno
22381 then
22382 as_fn_append CONFIGURE_TARGETS " tools/makedep$ac_exeext"
22383 ac_config_commands="$ac_config_commands tools/makedep"
22387 ac_config_commands="$ac_config_commands Makefile"
22391 SHELL=/bin/sh
22394 as_fn_append wine_rules "
22395 all: wine
22396 @echo \"Wine build complete.\"
22397 .INIT: Makefile
22398 .MAKEFILEDEPS:
22399 all: Makefile
22400 Makefile: config.status \$(MAKEDEP)
22401 @./config.status Makefile
22402 depend: \$(MAKEDEP)
22403 \$(MAKEDEP)$makedep_flags"
22406 as_fn_append wine_rules "
22407 config.status: ${wine_srcdir}configure
22408 @./config.status --recheck
22409 include/config.h: include/stamp-h
22410 include/stamp-h: ${wine_srcdir}include/config.h.in config.status
22411 @./config.status include/config.h include/stamp-h"
22413 if test "x$enable_maintainer_mode" = xyes
22414 then
22415 as_fn_append wine_rules "
22416 configure: configure.ac aclocal.m4
22417 autoconf --warnings=all
22418 include/config.h.in: include/stamp-h.in
22419 include/stamp-h.in: configure.ac aclocal.m4
22420 autoheader --warnings=all
22421 @echo timestamp > \$@"
22424 if test "x$enable_tools" != xno
22425 then
22426 as_fn_append wine_rules "
22427 tools/makedep$ac_exeext: ${wine_srcdir}tools/makedep.c include/config.h config.status
22428 @./config.status tools/makedep
22429 Makefile: tools/makedep$ac_exeext"
22430 else
22431 as_fn_append wine_rules "
22432 \$(MAKEDEP):
22433 @echo \"You need to run make in $toolsdir first\" && false"
22437 if test -n "$with_wine64"
22438 then
22439 case "$with_wine64" in
22440 /*) reldir="" ;;
22441 *) reldir="../" ;;
22442 esac
22443 rm -f fonts server 2>/dev/null
22444 as_fn_append wine_rules "
22445 all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
22446 loader/wine64 loader/wine64-preloader:
22447 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
22448 $with_wine64/loader/wine:
22449 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
22450 $with_wine64/loader/wine-preloader:
22451 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
22452 clean::
22453 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
22454 else
22455 TOP_INSTALL_DEV="$TOP_INSTALL_DEV include"
22456 TOP_INSTALL_LIB="$TOP_INSTALL_LIB \
22457 fonts \
22458 loader/wine.inf \
22459 nls \
22460 programs/msidb/msidb \
22461 programs/msiexec/msiexec \
22462 programs/notepad/notepad \
22463 programs/regedit/regedit \
22464 programs/regsvr32/regsvr32 \
22465 programs/wineboot/wineboot \
22466 programs/winecfg/winecfg \
22467 programs/wineconsole/wineconsole \
22468 programs/winedbg/winedbg \
22469 programs/winefile/winefile \
22470 programs/winemine/winemine \
22471 programs/winepath/winepath \
22472 server/wineserver"
22474 case $host_os in
22475 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
22476 *) TOP_INSTALL_LIB="$TOP_INSTALL_LIB loader/wine.desktop" ;;
22477 esac
22481 as_fn_append wine_rules "
22482 distclean:: clean
22483 rm -rf autom4te.cache
22484 maintainer-clean::
22485 rm -f configure include/config.h.in"
22488 as_fn_append wine_rules "
22489 dlls/ntdll/unix/version.c: dummy
22490 @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)
22491 programs/winetest/build.rc: dummy
22492 @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)
22493 programs/winetest/build.nfo:
22494 @-\$(CC) -v 2>\$@
22495 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
22496 cd dlls/wineandroid.drv && gradle -q -Psrcdir=$srcdir assembleDebug
22497 mv dlls/wineandroid.drv/build/outputs/apk/wine-debug.apk \$@"
22500 TAGSFLAGS="--langmap='c:+.idl.l.rh,make:(Make*.in)'"
22502 as_fn_append wine_rules "
22503 TAGS etags:
22504 rm -f TAGS
22505 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs etags -a \$(TAGSFLAGS)
22506 tags ctags:
22507 rm -f tags
22508 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs ctags -a \$(TAGSFLAGS)
22509 dummy:
22510 .PHONY: depend dummy install-manpages"
22512 printf "%s\n" " done" >&6
22513 cat >confcache <<\_ACEOF
22514 # This file is a shell script that caches the results of configure
22515 # tests run on this system so they can be shared between configure
22516 # scripts and configure runs, see configure's option --config-cache.
22517 # It is not useful on other systems. If it contains results you don't
22518 # want to keep, you may remove or edit it.
22520 # config.status only pays attention to the cache file if you give it
22521 # the --recheck option to rerun configure.
22523 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22524 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22525 # following values.
22527 _ACEOF
22529 # The following way of writing the cache mishandles newlines in values,
22530 # but we know of no workaround that is simple, portable, and efficient.
22531 # So, we kill variables containing newlines.
22532 # Ultrix sh set writes to stderr and can't be redirected directly,
22533 # and sets the high bit in the cache file unless we assign to the vars.
22535 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
22536 eval ac_val=\$$ac_var
22537 case $ac_val in #(
22538 *${as_nl}*)
22539 case $ac_var in #(
22540 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
22541 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
22542 esac
22543 case $ac_var in #(
22544 _ | IFS | as_nl) ;; #(
22545 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
22546 *) { eval $ac_var=; unset $ac_var;} ;;
22547 esac ;;
22548 esac
22549 done
22551 (set) 2>&1 |
22552 case $as_nl`(ac_space=' '; set) 2>&1` in #(
22553 *${as_nl}ac_space=\ *)
22554 # `set' does not quote correctly, so add quotes: double-quote
22555 # substitution turns \\\\ into \\, and sed turns \\ into \.
22556 sed -n \
22557 "s/'/'\\\\''/g;
22558 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22559 ;; #(
22561 # `set' quotes correctly as required by POSIX, so do not add quotes.
22562 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22564 esac |
22565 sort
22567 sed '
22568 /^ac_cv_env_/b end
22569 t clear
22570 :clear
22571 s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
22572 t end
22573 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22574 :end' >>confcache
22575 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
22576 if test -w "$cache_file"; then
22577 if test "x$cache_file" != "x/dev/null"; then
22578 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
22579 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
22580 if test ! -f "$cache_file" || test -h "$cache_file"; then
22581 cat confcache >"$cache_file"
22582 else
22583 case $cache_file in #(
22584 */* | ?:*)
22585 mv -f confcache "$cache_file"$$ &&
22586 mv -f "$cache_file"$$ "$cache_file" ;; #(
22588 mv -f confcache "$cache_file" ;;
22589 esac
22592 else
22593 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
22594 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
22597 rm -f confcache
22599 test "x$prefix" = xNONE && prefix=$ac_default_prefix
22600 # Let make expand exec_prefix.
22601 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
22603 DEFS=-DHAVE_CONFIG_H
22605 ac_libobjs=
22606 ac_ltlibobjs=
22608 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
22609 # 1. Remove the extension, and $U if already installed.
22610 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
22611 ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
22612 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
22613 # will be set to the directory where LIBOBJS objects are built.
22614 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
22615 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
22616 done
22617 LIBOBJS=$ac_libobjs
22619 LTLIBOBJS=$ac_ltlibobjs
22623 : "${CONFIG_STATUS=./config.status}"
22624 ac_write_fail=0
22625 ac_clean_files_save=$ac_clean_files
22626 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
22627 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
22628 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
22629 as_write_fail=0
22630 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
22631 #! $SHELL
22632 # Generated by $as_me.
22633 # Run this file to recreate the current configuration.
22634 # Compiler output produced by configure, useful for debugging
22635 # configure, is in config.log if it exists.
22637 debug=false
22638 ac_cs_recheck=false
22639 ac_cs_silent=false
22641 SHELL=\${CONFIG_SHELL-$SHELL}
22642 export SHELL
22643 _ASEOF
22644 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
22645 ## -------------------- ##
22646 ## M4sh Initialization. ##
22647 ## -------------------- ##
22649 # Be more Bourne compatible
22650 DUALCASE=1; export DUALCASE # for MKS sh
22651 as_nop=:
22652 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
22653 then :
22654 emulate sh
22655 NULLCMD=:
22656 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
22657 # is contrary to our usage. Disable this feature.
22658 alias -g '${1+"$@"}'='"$@"'
22659 setopt NO_GLOB_SUBST
22660 else $as_nop
22661 case `(set -o) 2>/dev/null` in #(
22662 *posix*) :
22663 set -o posix ;; #(
22664 *) :
22666 esac
22671 # Reset variables that may have inherited troublesome values from
22672 # the environment.
22674 # IFS needs to be set, to space, tab, and newline, in precisely that order.
22675 # (If _AS_PATH_WALK were called with IFS unset, it would have the
22676 # side effect of setting IFS to empty, thus disabling word splitting.)
22677 # Quoting is to prevent editors from complaining about space-tab.
22678 as_nl='
22680 export as_nl
22681 IFS=" "" $as_nl"
22683 PS1='$ '
22684 PS2='> '
22685 PS4='+ '
22687 # Ensure predictable behavior from utilities with locale-dependent output.
22688 LC_ALL=C
22689 export LC_ALL
22690 LANGUAGE=C
22691 export LANGUAGE
22693 # We cannot yet rely on "unset" to work, but we need these variables
22694 # to be unset--not just set to an empty or harmless value--now, to
22695 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
22696 # also avoids known problems related to "unset" and subshell syntax
22697 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
22698 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
22699 do eval test \${$as_var+y} \
22700 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
22701 done
22703 # Ensure that fds 0, 1, and 2 are open.
22704 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
22705 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
22706 if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
22708 # The user is always right.
22709 if ${PATH_SEPARATOR+false} :; then
22710 PATH_SEPARATOR=:
22711 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
22712 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
22713 PATH_SEPARATOR=';'
22718 # Find who we are. Look in the path if we contain no directory separator.
22719 as_myself=
22720 case $0 in #((
22721 *[\\/]* ) as_myself=$0 ;;
22722 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22723 for as_dir in $PATH
22725 IFS=$as_save_IFS
22726 case $as_dir in #(((
22727 '') as_dir=./ ;;
22728 */) ;;
22729 *) as_dir=$as_dir/ ;;
22730 esac
22731 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
22732 done
22733 IFS=$as_save_IFS
22736 esac
22737 # We did not find ourselves, most probably we were run as `sh COMMAND'
22738 # in which case we are not to be found in the path.
22739 if test "x$as_myself" = x; then
22740 as_myself=$0
22742 if test ! -f "$as_myself"; then
22743 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
22744 exit 1
22749 # as_fn_error STATUS ERROR [LINENO LOG_FD]
22750 # ----------------------------------------
22751 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
22752 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
22753 # script with STATUS, using 1 if that was 0.
22754 as_fn_error ()
22756 as_status=$1; test $as_status -eq 0 && as_status=1
22757 if test "$4"; then
22758 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
22759 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
22761 printf "%s\n" "$as_me: error: $2" >&2
22762 as_fn_exit $as_status
22763 } # as_fn_error
22767 # as_fn_set_status STATUS
22768 # -----------------------
22769 # Set $? to STATUS, without forking.
22770 as_fn_set_status ()
22772 return $1
22773 } # as_fn_set_status
22775 # as_fn_exit STATUS
22776 # -----------------
22777 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
22778 as_fn_exit ()
22780 set +e
22781 as_fn_set_status $1
22782 exit $1
22783 } # as_fn_exit
22785 # as_fn_unset VAR
22786 # ---------------
22787 # Portably unset VAR.
22788 as_fn_unset ()
22790 { eval $1=; unset $1;}
22792 as_unset=as_fn_unset
22794 # as_fn_append VAR VALUE
22795 # ----------------------
22796 # Append the text in VALUE to the end of the definition contained in VAR. Take
22797 # advantage of any shell optimizations that allow amortized linear growth over
22798 # repeated appends, instead of the typical quadratic growth present in naive
22799 # implementations.
22800 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
22801 then :
22802 eval 'as_fn_append ()
22804 eval $1+=\$2
22806 else $as_nop
22807 as_fn_append ()
22809 eval $1=\$$1\$2
22811 fi # as_fn_append
22813 # as_fn_arith ARG...
22814 # ------------------
22815 # Perform arithmetic evaluation on the ARGs, and store the result in the
22816 # global $as_val. Take advantage of shells that can avoid forks. The arguments
22817 # must be portable across $(()) and expr.
22818 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
22819 then :
22820 eval 'as_fn_arith ()
22822 as_val=$(( $* ))
22824 else $as_nop
22825 as_fn_arith ()
22827 as_val=`expr "$@" || test $? -eq 1`
22829 fi # as_fn_arith
22832 if expr a : '\(a\)' >/dev/null 2>&1 &&
22833 test "X`expr 00001 : '.*\(...\)'`" = X001; then
22834 as_expr=expr
22835 else
22836 as_expr=false
22839 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
22840 as_basename=basename
22841 else
22842 as_basename=false
22845 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
22846 as_dirname=dirname
22847 else
22848 as_dirname=false
22851 as_me=`$as_basename -- "$0" ||
22852 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22853 X"$0" : 'X\(//\)$' \| \
22854 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
22855 printf "%s\n" X/"$0" |
22856 sed '/^.*\/\([^/][^/]*\)\/*$/{
22857 s//\1/
22860 /^X\/\(\/\/\)$/{
22861 s//\1/
22864 /^X\/\(\/\).*/{
22865 s//\1/
22868 s/.*/./; q'`
22870 # Avoid depending upon Character Ranges.
22871 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
22872 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22873 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
22874 as_cr_digits='0123456789'
22875 as_cr_alnum=$as_cr_Letters$as_cr_digits
22878 # Determine whether it's possible to make 'echo' print without a newline.
22879 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
22880 # for compatibility with existing Makefiles.
22881 ECHO_C= ECHO_N= ECHO_T=
22882 case `echo -n x` in #(((((
22883 -n*)
22884 case `echo 'xy\c'` in
22885 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
22886 xy) ECHO_C='\c';;
22887 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
22888 ECHO_T=' ';;
22889 esac;;
22891 ECHO_N='-n';;
22892 esac
22894 # For backward compatibility with old third-party macros, we provide
22895 # the shell variables $as_echo and $as_echo_n. New code should use
22896 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
22897 as_echo='printf %s\n'
22898 as_echo_n='printf %s'
22900 rm -f conf$$ conf$$.exe conf$$.file
22901 if test -d conf$$.dir; then
22902 rm -f conf$$.dir/conf$$.file
22903 else
22904 rm -f conf$$.dir
22905 mkdir conf$$.dir 2>/dev/null
22907 if (echo >conf$$.file) 2>/dev/null; then
22908 if ln -s conf$$.file conf$$ 2>/dev/null; then
22909 as_ln_s='ln -s'
22910 # ... but there are two gotchas:
22911 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
22912 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
22913 # In both cases, we have to default to `cp -pR'.
22914 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
22915 as_ln_s='cp -pR'
22916 elif ln conf$$.file conf$$ 2>/dev/null; then
22917 as_ln_s=ln
22918 else
22919 as_ln_s='cp -pR'
22921 else
22922 as_ln_s='cp -pR'
22924 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
22925 rmdir conf$$.dir 2>/dev/null
22928 # as_fn_mkdir_p
22929 # -------------
22930 # Create "$as_dir" as a directory, including parents if necessary.
22931 as_fn_mkdir_p ()
22934 case $as_dir in #(
22935 -*) as_dir=./$as_dir;;
22936 esac
22937 test -d "$as_dir" || eval $as_mkdir_p || {
22938 as_dirs=
22939 while :; do
22940 case $as_dir in #(
22941 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
22942 *) as_qdir=$as_dir;;
22943 esac
22944 as_dirs="'$as_qdir' $as_dirs"
22945 as_dir=`$as_dirname -- "$as_dir" ||
22946 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22947 X"$as_dir" : 'X\(//\)[^/]' \| \
22948 X"$as_dir" : 'X\(//\)$' \| \
22949 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22950 printf "%s\n" X"$as_dir" |
22951 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22952 s//\1/
22955 /^X\(\/\/\)[^/].*/{
22956 s//\1/
22959 /^X\(\/\/\)$/{
22960 s//\1/
22963 /^X\(\/\).*/{
22964 s//\1/
22967 s/.*/./; q'`
22968 test -d "$as_dir" && break
22969 done
22970 test -z "$as_dirs" || eval "mkdir $as_dirs"
22971 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
22974 } # as_fn_mkdir_p
22975 if mkdir -p . 2>/dev/null; then
22976 as_mkdir_p='mkdir -p "$as_dir"'
22977 else
22978 test -d ./-p && rmdir ./-p
22979 as_mkdir_p=false
22983 # as_fn_executable_p FILE
22984 # -----------------------
22985 # Test if FILE is an executable regular file.
22986 as_fn_executable_p ()
22988 test -f "$1" && test -x "$1"
22989 } # as_fn_executable_p
22990 as_test_x='test -x'
22991 as_executable_p=as_fn_executable_p
22993 # Sed expression to map a string onto a valid CPP name.
22994 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
22996 # Sed expression to map a string onto a valid variable name.
22997 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
23000 exec 6>&1
23001 ## ----------------------------------- ##
23002 ## Main body of $CONFIG_STATUS script. ##
23003 ## ----------------------------------- ##
23004 _ASEOF
23005 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
23007 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23008 # Save the log message, to keep $0 and so on meaningful, and to
23009 # report actual input values of CONFIG_FILES etc. instead of their
23010 # values after options handling.
23011 ac_log="
23012 This file was extended by Wine $as_me 8.20, which was
23013 generated by GNU Autoconf 2.71. Invocation command line was
23015 CONFIG_FILES = $CONFIG_FILES
23016 CONFIG_HEADERS = $CONFIG_HEADERS
23017 CONFIG_LINKS = $CONFIG_LINKS
23018 CONFIG_COMMANDS = $CONFIG_COMMANDS
23019 $ $0 $@
23021 on `(hostname || uname -n) 2>/dev/null | sed 1q`
23024 _ACEOF
23027 case $ac_config_headers in *"
23028 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
23029 esac
23032 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23033 # Files that config.status was made for.
23034 config_headers="$ac_config_headers"
23035 config_links="$ac_config_links"
23036 config_commands="$ac_config_commands"
23038 _ACEOF
23040 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23041 ac_cs_usage="\
23042 \`$as_me' instantiates files and other configuration actions
23043 from templates according to the current configuration. Unless the files
23044 and actions are specified as TAGs, all are instantiated by default.
23046 Usage: $0 [OPTION]... [TAG]...
23048 -h, --help print this help, then exit
23049 -V, --version print version number and configuration settings, then exit
23050 --config print configuration, then exit
23051 -q, --quiet, --silent
23052 do not print progress messages
23053 -d, --debug don't remove temporary files
23054 --recheck update $as_me by reconfiguring in the same conditions
23055 --header=FILE[:TEMPLATE]
23056 instantiate the configuration header FILE
23058 Configuration headers:
23059 $config_headers
23061 Configuration links:
23062 $config_links
23064 Configuration commands:
23065 $config_commands
23067 Report bugs to <wine-devel@winehq.org>.
23068 Wine home page: <https://www.winehq.org>."
23070 _ACEOF
23071 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
23072 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
23073 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23074 ac_cs_config='$ac_cs_config_escaped'
23075 ac_cs_version="\\
23076 Wine config.status 8.20
23077 configured by $0, generated by GNU Autoconf 2.71,
23078 with options \\"\$ac_cs_config\\"
23080 Copyright (C) 2021 Free Software Foundation, Inc.
23081 This config.status script is free software; the Free Software Foundation
23082 gives unlimited permission to copy, distribute and modify it."
23084 ac_pwd='$ac_pwd'
23085 srcdir='$srcdir'
23086 test -n "\$AWK" || AWK=awk
23087 _ACEOF
23089 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23090 # The default lists apply if the user does not specify any file.
23091 ac_need_defaults=:
23092 while test $# != 0
23094 case $1 in
23095 --*=?*)
23096 ac_option=`expr "X$1" : 'X\([^=]*\)='`
23097 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
23098 ac_shift=:
23100 --*=)
23101 ac_option=`expr "X$1" : 'X\([^=]*\)='`
23102 ac_optarg=
23103 ac_shift=:
23106 ac_option=$1
23107 ac_optarg=$2
23108 ac_shift=shift
23110 esac
23112 case $ac_option in
23113 # Handling of the options.
23114 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
23115 ac_cs_recheck=: ;;
23116 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
23117 printf "%s\n" "$ac_cs_version"; exit ;;
23118 --config | --confi | --conf | --con | --co | --c )
23119 printf "%s\n" "$ac_cs_config"; exit ;;
23120 --debug | --debu | --deb | --de | --d | -d )
23121 debug=: ;;
23122 --header | --heade | --head | --hea )
23123 $ac_shift
23124 case $ac_optarg in
23125 *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
23126 esac
23127 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
23128 ac_need_defaults=false;;
23129 --he | --h)
23130 # Conflict between --help and --header
23131 as_fn_error $? "ambiguous option: \`$1'
23132 Try \`$0 --help' for more information.";;
23133 --help | --hel | -h )
23134 printf "%s\n" "$ac_cs_usage"; exit ;;
23135 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
23136 | -silent | --silent | --silen | --sile | --sil | --si | --s)
23137 ac_cs_silent=: ;;
23139 # This is an error.
23140 -*) as_fn_error $? "unrecognized option: \`$1'
23141 Try \`$0 --help' for more information." ;;
23143 *) as_fn_append ac_config_targets " $1"
23144 ac_need_defaults=false ;;
23146 esac
23147 shift
23148 done
23150 ac_configure_extra_args=
23152 if $ac_cs_silent; then
23153 exec 6>/dev/null
23154 ac_configure_extra_args="$ac_configure_extra_args --silent"
23157 _ACEOF
23158 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23159 if \$ac_cs_recheck; then
23160 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
23161 shift
23162 \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
23163 CONFIG_SHELL='$SHELL'
23164 export CONFIG_SHELL
23165 exec "\$@"
23168 _ACEOF
23169 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23170 exec 5>>config.log
23172 echo
23173 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
23174 ## Running $as_me. ##
23175 _ASBOX
23176 printf "%s\n" "$ac_log"
23177 } >&5
23179 _ACEOF
23180 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23182 # INIT-COMMANDS
23184 wine_fn_output_makedep ()
23186 as_dir=tools; as_fn_mkdir_p
23187 $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
23189 wine_fn_output_makefile ()
23191 cat <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && "$wine_makedep"$makedep_flags && return
23192 # This Makefile understands the following targets:
23194 # all (default): build wine
23195 # clean: remove all intermediate files
23196 # distclean: also remove all files created by configure
23197 # test: run tests
23198 # testclean: clean test results to force running all tests again
23199 # install-lib: install libraries needed to run applications
23200 # install-dev: install development environment
23201 # install: install everything
23202 # uninstall: uninstall everything
23203 # ctags: create a tags file for vim and others.
23204 # etags: create a TAGS file for Emacs.
23206 SHELL = $SHELL
23207 PATH_SEPARATOR = $PATH_SEPARATOR
23208 PACKAGE_NAME = $PACKAGE_NAME
23209 PACKAGE_TARNAME = $PACKAGE_TARNAME
23210 PACKAGE_VERSION = $PACKAGE_VERSION
23211 PACKAGE_STRING = $PACKAGE_STRING
23212 PACKAGE_BUGREPORT = $PACKAGE_BUGREPORT
23213 PACKAGE_URL = $PACKAGE_URL
23214 exec_prefix = $exec_prefix
23215 prefix = $prefix
23216 program_transform_name = $program_transform_name
23217 bindir = $bindir
23218 sbindir = $sbindir
23219 libexecdir = $libexecdir
23220 datarootdir = $datarootdir
23221 datadir = $datadir
23222 sysconfdir = $sysconfdir
23223 sharedstatedir = $sharedstatedir
23224 localstatedir = $localstatedir
23225 runstatedir = $runstatedir
23226 includedir = $includedir
23227 oldincludedir = $oldincludedir
23228 docdir = $docdir
23229 infodir = $infodir
23230 htmldir = $htmldir
23231 dvidir = $dvidir
23232 pdfdir = $pdfdir
23233 psdir = $psdir
23234 libdir = $libdir
23235 localedir = $localedir
23236 mandir = $mandir
23237 DEFS = $DEFS
23238 ECHO_C = $ECHO_C
23239 ECHO_N = $ECHO_N
23240 ECHO_T = $ECHO_T
23241 LIBS = $LIBS
23242 build_alias = $build_alias
23243 host_alias = $host_alias
23244 target_alias = $target_alias
23245 system_dllpath = $system_dllpath
23246 build = $build
23247 build_cpu = $build_cpu
23248 build_vendor = $build_vendor
23249 build_os = $build_os
23250 host = $host
23251 host_cpu = $host_cpu
23252 host_vendor = $host_vendor
23253 host_os = $host_os
23254 dlldir = $dlldir
23255 fontdir = $fontdir
23256 nlsdir = $nlsdir
23257 srcdir = $srcdir
23258 SET_MAKE = $SET_MAKE
23259 CC = $CC
23260 CFLAGS = $CFLAGS
23261 LDFLAGS = $LDFLAGS
23262 CPPFLAGS = $CPPFLAGS
23263 ac_ct_CC = $ac_ct_CC
23264 EXEEXT = $EXEEXT
23265 OBJEXT = $OBJEXT
23266 CXX = $CXX
23267 CXXFLAGS = $CXXFLAGS
23268 ac_ct_CXX = $ac_ct_CXX
23269 CPPBIN = $CPPBIN
23270 LD = $LD
23271 TARGETFLAGS = $TARGETFLAGS
23272 toolsext = $toolsext
23273 HOST_ARCH = $HOST_ARCH
23274 aarch64_CC = $aarch64_CC
23275 aarch64_CFLAGS = $aarch64_CFLAGS
23276 aarch64_EXTRACFLAGS = $aarch64_EXTRACFLAGS
23277 aarch64_LDFLAGS = $aarch64_LDFLAGS
23278 aarch64_DEBUG = $aarch64_DEBUG
23279 aarch64_TARGET = $aarch64_TARGET
23280 aarch64_DELAYLOADFLAG = $aarch64_DELAYLOADFLAG
23281 aarch64_DISABLED_SUBDIRS = $aarch64_DISABLED_SUBDIRS
23282 arm_CC = $arm_CC
23283 arm_CFLAGS = $arm_CFLAGS
23284 arm_EXTRACFLAGS = $arm_EXTRACFLAGS
23285 arm_LDFLAGS = $arm_LDFLAGS
23286 arm_DEBUG = $arm_DEBUG
23287 arm_TARGET = $arm_TARGET
23288 arm_DELAYLOADFLAG = $arm_DELAYLOADFLAG
23289 arm_DISABLED_SUBDIRS = $arm_DISABLED_SUBDIRS
23290 arm64ec_CC = $arm64ec_CC
23291 arm64ec_CFLAGS = $arm64ec_CFLAGS
23292 arm64ec_EXTRACFLAGS = $arm64ec_EXTRACFLAGS
23293 arm64ec_LDFLAGS = $arm64ec_LDFLAGS
23294 arm64ec_DEBUG = $arm64ec_DEBUG
23295 arm64ec_TARGET = $arm64ec_TARGET
23296 arm64ec_DELAYLOADFLAG = $arm64ec_DELAYLOADFLAG
23297 arm64ec_DISABLED_SUBDIRS = $arm64ec_DISABLED_SUBDIRS
23298 i386_CC = $i386_CC
23299 i386_CFLAGS = $i386_CFLAGS
23300 i386_EXTRACFLAGS = $i386_EXTRACFLAGS
23301 i386_LDFLAGS = $i386_LDFLAGS
23302 i386_DEBUG = $i386_DEBUG
23303 i386_TARGET = $i386_TARGET
23304 i386_DELAYLOADFLAG = $i386_DELAYLOADFLAG
23305 i386_DISABLED_SUBDIRS = $i386_DISABLED_SUBDIRS
23306 x86_64_CC = $x86_64_CC
23307 x86_64_CFLAGS = $x86_64_CFLAGS
23308 x86_64_EXTRACFLAGS = $x86_64_EXTRACFLAGS
23309 x86_64_LDFLAGS = $x86_64_LDFLAGS
23310 x86_64_DEBUG = $x86_64_DEBUG
23311 x86_64_TARGET = $x86_64_TARGET
23312 x86_64_DELAYLOADFLAG = $x86_64_DELAYLOADFLAG
23313 x86_64_DISABLED_SUBDIRS = $x86_64_DISABLED_SUBDIRS
23314 toolsdir = $toolsdir
23315 MAKEDEP = $MAKEDEP
23316 RUNTESTFLAGS = $RUNTESTFLAGS
23317 SED_CMD = $SED_CMD
23318 FLEX = $FLEX
23319 BISON = $BISON
23320 AR = $AR
23321 ac_ct_AR = $ac_ct_AR
23322 STRIP = $STRIP
23323 RANLIB = $RANLIB
23324 LN_S = $LN_S
23325 GREP = $GREP
23326 EGREP = $EGREP
23327 LDCONFIG = $LDCONFIG
23328 MSGFMT = $MSGFMT
23329 PKG_CONFIG = $PKG_CONFIG
23330 FONTFORGE = $FONTFORGE
23331 RSVG = $RSVG
23332 CONVERT = $CONVERT
23333 ICOTOOL = $ICOTOOL
23334 I386_LIBS = $I386_LIBS
23335 OPENGL_LIBS = $OPENGL_LIBS
23336 DLLFLAGS = $DLLFLAGS
23337 LDDLLFLAGS = $LDDLLFLAGS
23338 LDEXECFLAGS = $LDEXECFLAGS
23339 EXTRACFLAGS = $EXTRACFLAGS
23340 UNIXDLLFLAGS = $UNIXDLLFLAGS
23341 UNIXLDFLAGS = $UNIXLDFLAGS
23342 TOP_INSTALL_LIB = $TOP_INSTALL_LIB
23343 TOP_INSTALL_DEV = $TOP_INSTALL_DEV
23344 WINELOADER_LDFLAGS = $WINELOADER_LDFLAGS
23345 WINEPRELOADER_LDFLAGS = $WINEPRELOADER_LDFLAGS
23346 DLLEXT = $DLLEXT
23347 LDD = $LDD
23348 OTOOL = $OTOOL
23349 READELF = $READELF
23350 SUBDIRS = $SUBDIRS
23351 DISABLED_SUBDIRS = $DISABLED_SUBDIRS
23352 CONFIGURE_TARGETS = $CONFIGURE_TARGETS
23353 CARBON_LIBS = $CARBON_LIBS
23354 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
23355 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
23356 IOKIT_LIBS = $IOKIT_LIBS
23357 METAL_LIBS = $METAL_LIBS
23358 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
23359 CORESERVICES_LIBS = $CORESERVICES_LIBS
23360 APPKIT_LIBS = $APPKIT_LIBS
23361 SECURITY_LIBS = $SECURITY_LIBS
23362 SYSTEMCONFIGURATION_LIBS = $SYSTEMCONFIGURATION_LIBS
23363 COREAUDIO_LIBS = $COREAUDIO_LIBS
23364 OPENCL_LIBS = $OPENCL_LIBS
23365 OBJC = $OBJC
23366 OBJCFLAGS = $OBJCFLAGS
23367 ac_ct_OBJC = $ac_ct_OBJC
23368 WINELOADER_DEPENDS = $WINELOADER_DEPENDS
23369 PE_ARCHS = $PE_ARCHS
23370 MINGW_PKG_CONFIG = $MINGW_PKG_CONFIG
23371 FAUDIO_PE_CFLAGS = $FAUDIO_PE_CFLAGS
23372 FAUDIO_PE_LIBS = $FAUDIO_PE_LIBS
23373 FLUIDSYNTH_PE_CFLAGS = $FLUIDSYNTH_PE_CFLAGS
23374 FLUIDSYNTH_PE_LIBS = $FLUIDSYNTH_PE_LIBS
23375 GSM_PE_CFLAGS = $GSM_PE_CFLAGS
23376 GSM_PE_LIBS = $GSM_PE_LIBS
23377 JPEG_PE_CFLAGS = $JPEG_PE_CFLAGS
23378 JPEG_PE_LIBS = $JPEG_PE_LIBS
23379 JXR_PE_CFLAGS = $JXR_PE_CFLAGS
23380 JXR_PE_LIBS = $JXR_PE_LIBS
23381 LCMS2_PE_CFLAGS = $LCMS2_PE_CFLAGS
23382 LCMS2_PE_LIBS = $LCMS2_PE_LIBS
23383 LDAP_PE_CFLAGS = $LDAP_PE_CFLAGS
23384 LDAP_PE_LIBS = $LDAP_PE_LIBS
23385 MPG123_PE_CFLAGS = $MPG123_PE_CFLAGS
23386 MPG123_PE_LIBS = $MPG123_PE_LIBS
23387 MUSL_PE_CFLAGS = $MUSL_PE_CFLAGS
23388 MUSL_PE_LIBS = $MUSL_PE_LIBS
23389 PNG_PE_CFLAGS = $PNG_PE_CFLAGS
23390 PNG_PE_LIBS = $PNG_PE_LIBS
23391 TIFF_PE_CFLAGS = $TIFF_PE_CFLAGS
23392 TIFF_PE_LIBS = $TIFF_PE_LIBS
23393 VKD3D_PE_CFLAGS = $VKD3D_PE_CFLAGS
23394 VKD3D_PE_LIBS = $VKD3D_PE_LIBS
23395 XML2_PE_CFLAGS = $XML2_PE_CFLAGS
23396 XML2_PE_LIBS = $XML2_PE_LIBS
23397 XSLT_PE_CFLAGS = $XSLT_PE_CFLAGS
23398 XSLT_PE_LIBS = $XSLT_PE_LIBS
23399 ZLIB_PE_CFLAGS = $ZLIB_PE_CFLAGS
23400 ZLIB_PE_LIBS = $ZLIB_PE_LIBS
23401 ZYDIS_PE_CFLAGS = $ZYDIS_PE_CFLAGS
23402 ZYDIS_PE_LIBS = $ZYDIS_PE_LIBS
23403 PTHREAD_LIBS = $PTHREAD_LIBS
23404 XMKMF = $XMKMF
23405 CPP = $CPP
23406 X_CFLAGS = $X_CFLAGS
23407 X_PRE_LIBS = $X_PRE_LIBS
23408 X_LIBS = $X_LIBS
23409 X_EXTRA_LIBS = $X_EXTRA_LIBS
23410 WAYLAND_CLIENT_CFLAGS = $WAYLAND_CLIENT_CFLAGS
23411 WAYLAND_CLIENT_LIBS = $WAYLAND_CLIENT_LIBS
23412 WAYLAND_SCANNER = $WAYLAND_SCANNER
23413 PCAP_LIBS = $PCAP_LIBS
23414 PCSCLITE_LIBS = $PCSCLITE_LIBS
23415 INOTIFY_CFLAGS = $INOTIFY_CFLAGS
23416 INOTIFY_LIBS = $INOTIFY_LIBS
23417 DBUS_CFLAGS = $DBUS_CFLAGS
23418 DBUS_LIBS = $DBUS_LIBS
23419 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
23420 GNUTLS_LIBS = $GNUTLS_LIBS
23421 SANE_CFLAGS = $SANE_CFLAGS
23422 SANE_LIBS = $SANE_LIBS
23423 USB_CFLAGS = $USB_CFLAGS
23424 USB_LIBS = $USB_LIBS
23425 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
23426 GPHOTO2_LIBS = $GPHOTO2_LIBS
23427 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
23428 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
23429 RESOLV_LIBS = $RESOLV_LIBS
23430 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
23431 FREETYPE_LIBS = $FREETYPE_LIBS
23432 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
23433 PULSE_CFLAGS = $PULSE_CFLAGS
23434 PULSE_LIBS = $PULSE_LIBS
23435 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
23436 GSTREAMER_LIBS = $GSTREAMER_LIBS
23437 ALSA_LIBS = $ALSA_LIBS
23438 OSS4_CFLAGS = $OSS4_CFLAGS
23439 OSS4_LIBS = $OSS4_LIBS
23440 UDEV_CFLAGS = $UDEV_CFLAGS
23441 UDEV_LIBS = $UDEV_LIBS
23442 UNWIND_CFLAGS = $UNWIND_CFLAGS
23443 UNWIND_LIBS = $UNWIND_LIBS
23444 SDL2_CFLAGS = $SDL2_CFLAGS
23445 SDL2_LIBS = $SDL2_LIBS
23446 CAPI20_CFLAGS = $CAPI20_CFLAGS
23447 CAPI20_LIBS = $CAPI20_LIBS
23448 CUPS_CFLAGS = $CUPS_CFLAGS
23449 CUPS_LIBS = $CUPS_LIBS
23450 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
23451 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
23452 KRB5_CFLAGS = $KRB5_CFLAGS
23453 KRB5_LIBS = $KRB5_LIBS
23454 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
23455 GSSAPI_LIBS = $GSSAPI_LIBS
23456 PROCSTAT_LIBS = $PROCSTAT_LIBS
23457 NETAPI_CFLAGS = $NETAPI_CFLAGS
23458 NETAPI_LIBS = $NETAPI_LIBS
23459 MSVCRTFLAGS = $MSVCRTFLAGS
23460 DELAYLOADFLAG = $DELAYLOADFLAG
23461 WINELOADER_PROGRAMS = $WINELOADER_PROGRAMS
23462 RT_LIBS = $RT_LIBS
23463 TAGSFLAGS = $TAGSFLAGS
23464 LIBOBJS = $LIBOBJS
23465 LTLIBOBJS = $LTLIBOBJS
23466 $SET_MAKE
23467 $wine_rules
23468 _WINE_EOF
23469 as_fn_error $? "could not create Makefile" "$LINENO" 5
23472 _ACEOF
23474 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23476 # Handling of arguments.
23477 for ac_config_target in $ac_config_targets
23479 case $ac_config_target in
23480 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
23481 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
23482 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
23483 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
23484 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
23485 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
23487 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
23488 esac
23489 done
23492 # If the user did not use the arguments to specify the items to instantiate,
23493 # then the envvar interface is used. Set only those that are not.
23494 # We use the long form for the default assignment because of an extremely
23495 # bizarre bug on SunOS 4.1.3.
23496 if $ac_need_defaults; then
23497 test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
23498 test ${CONFIG_LINKS+y} || CONFIG_LINKS=$config_links
23499 test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
23502 # Have a temporary directory for convenience. Make it in the build tree
23503 # simply because there is no reason against having it here, and in addition,
23504 # creating and moving files from /tmp can sometimes cause problems.
23505 # Hook for its removal unless debugging.
23506 # Note that there is a small window in which the directory will not be cleaned:
23507 # after its creation but before its name has been assigned to `$tmp'.
23508 $debug ||
23510 tmp= ac_tmp=
23511 trap 'exit_status=$?
23512 : "${ac_tmp:=$tmp}"
23513 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
23515 trap 'as_fn_exit 1' 1 2 13 15
23517 # Create a (secure) tmp directory for tmp files.
23520 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
23521 test -d "$tmp"
23522 } ||
23524 tmp=./conf$$-$RANDOM
23525 (umask 077 && mkdir "$tmp")
23526 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
23527 ac_tmp=$tmp
23529 # Set up the scripts for CONFIG_HEADERS section.
23530 # No need to generate them if there are no CONFIG_HEADERS.
23531 # This happens for instance with `./config.status Makefile'.
23532 if test -n "$CONFIG_HEADERS"; then
23533 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
23534 BEGIN {
23535 _ACEOF
23537 # Transform confdefs.h into an awk script `defines.awk', embedded as
23538 # here-document in config.status, that substitutes the proper values into
23539 # config.h.in to produce config.h.
23541 # Create a delimiter string that does not exist in confdefs.h, to ease
23542 # handling of long lines.
23543 ac_delim='%!_!# '
23544 for ac_last_try in false false :; do
23545 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
23546 if test -z "$ac_tt"; then
23547 break
23548 elif $ac_last_try; then
23549 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
23550 else
23551 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
23553 done
23555 # For the awk script, D is an array of macro values keyed by name,
23556 # likewise P contains macro parameters if any. Preserve backslash
23557 # newline sequences.
23559 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
23560 sed -n '
23561 s/.\{148\}/&'"$ac_delim"'/g
23562 t rset
23563 :rset
23564 s/^[ ]*#[ ]*define[ ][ ]*/ /
23565 t def
23567 :def
23568 s/\\$//
23569 t bsnl
23570 s/["\\]/\\&/g
23571 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
23572 D["\1"]=" \3"/p
23573 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
23575 :bsnl
23576 s/["\\]/\\&/g
23577 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
23578 D["\1"]=" \3\\\\\\n"\\/p
23579 t cont
23580 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
23581 t cont
23583 :cont
23585 s/.\{148\}/&'"$ac_delim"'/g
23586 t clear
23587 :clear
23588 s/\\$//
23589 t bsnlc
23590 s/["\\]/\\&/g; s/^/"/; s/$/"/p
23592 :bsnlc
23593 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
23594 b cont
23595 ' <confdefs.h | sed '
23596 s/'"$ac_delim"'/"\\\
23597 "/g' >>$CONFIG_STATUS || ac_write_fail=1
23599 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23600 for (key in D) D_is_set[key] = 1
23601 FS = "\a"
23603 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
23604 line = \$ 0
23605 split(line, arg, " ")
23606 if (arg[1] == "#") {
23607 defundef = arg[2]
23608 mac1 = arg[3]
23609 } else {
23610 defundef = substr(arg[1], 2)
23611 mac1 = arg[2]
23613 split(mac1, mac2, "(") #)
23614 macro = mac2[1]
23615 prefix = substr(line, 1, index(line, defundef) - 1)
23616 if (D_is_set[macro]) {
23617 # Preserve the white space surrounding the "#".
23618 print prefix "define", macro P[macro] D[macro]
23619 next
23620 } else {
23621 # Replace #undef with comments. This is necessary, for example,
23622 # in the case of _POSIX_SOURCE, which is predefined and required
23623 # on some systems where configure will not decide to define it.
23624 if (defundef == "undef") {
23625 print "/*", prefix defundef, macro, "*/"
23626 next
23630 { print }
23631 _ACAWK
23632 _ACEOF
23633 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23634 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
23635 fi # test -n "$CONFIG_HEADERS"
23638 eval set X " :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
23639 shift
23640 for ac_tag
23642 case $ac_tag in
23643 :[FHLC]) ac_mode=$ac_tag; continue;;
23644 esac
23645 case $ac_mode$ac_tag in
23646 :[FHL]*:*);;
23647 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
23648 :[FH]-) ac_tag=-:-;;
23649 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
23650 esac
23651 ac_save_IFS=$IFS
23652 IFS=:
23653 set x $ac_tag
23654 IFS=$ac_save_IFS
23655 shift
23656 ac_file=$1
23657 shift
23659 case $ac_mode in
23660 :L) ac_source=$1;;
23661 :[FH])
23662 ac_file_inputs=
23663 for ac_f
23665 case $ac_f in
23666 -) ac_f="$ac_tmp/stdin";;
23667 *) # Look for the file first in the build tree, then in the source tree
23668 # (if the path is not absolute). The absolute path cannot be DOS-style,
23669 # because $ac_f cannot contain `:'.
23670 test -f "$ac_f" ||
23671 case $ac_f in
23672 [\\/$]*) false;;
23673 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
23674 esac ||
23675 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
23676 esac
23677 case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
23678 as_fn_append ac_file_inputs " '$ac_f'"
23679 done
23681 # Let's still pretend it is `configure' which instantiates (i.e., don't
23682 # use $as_me), people would be surprised to read:
23683 # /* config.h. Generated by config.status. */
23684 configure_input='Generated from '`
23685 printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
23686 `' by configure.'
23687 if test x"$ac_file" != x-; then
23688 configure_input="$ac_file. $configure_input"
23689 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
23690 printf "%s\n" "$as_me: creating $ac_file" >&6;}
23692 # Neutralize special characters interpreted by sed in replacement strings.
23693 case $configure_input in #(
23694 *\&* | *\|* | *\\* )
23695 ac_sed_conf_input=`printf "%s\n" "$configure_input" |
23696 sed 's/[\\\\&|]/\\\\&/g'`;; #(
23697 *) ac_sed_conf_input=$configure_input;;
23698 esac
23700 case $ac_tag in
23701 *:-:* | *:-) cat >"$ac_tmp/stdin" \
23702 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
23703 esac
23705 esac
23707 ac_dir=`$as_dirname -- "$ac_file" ||
23708 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23709 X"$ac_file" : 'X\(//\)[^/]' \| \
23710 X"$ac_file" : 'X\(//\)$' \| \
23711 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
23712 printf "%s\n" X"$ac_file" |
23713 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23714 s//\1/
23717 /^X\(\/\/\)[^/].*/{
23718 s//\1/
23721 /^X\(\/\/\)$/{
23722 s//\1/
23725 /^X\(\/\).*/{
23726 s//\1/
23729 s/.*/./; q'`
23730 as_dir="$ac_dir"; as_fn_mkdir_p
23731 ac_builddir=.
23733 case "$ac_dir" in
23734 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
23736 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
23737 # A ".." for each directory in $ac_dir_suffix.
23738 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
23739 case $ac_top_builddir_sub in
23740 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
23741 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
23742 esac ;;
23743 esac
23744 ac_abs_top_builddir=$ac_pwd
23745 ac_abs_builddir=$ac_pwd$ac_dir_suffix
23746 # for backward compatibility:
23747 ac_top_builddir=$ac_top_build_prefix
23749 case $srcdir in
23750 .) # We are building in place.
23751 ac_srcdir=.
23752 ac_top_srcdir=$ac_top_builddir_sub
23753 ac_abs_top_srcdir=$ac_pwd ;;
23754 [\\/]* | ?:[\\/]* ) # Absolute name.
23755 ac_srcdir=$srcdir$ac_dir_suffix;
23756 ac_top_srcdir=$srcdir
23757 ac_abs_top_srcdir=$srcdir ;;
23758 *) # Relative name.
23759 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
23760 ac_top_srcdir=$ac_top_build_prefix$srcdir
23761 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
23762 esac
23763 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
23766 case $ac_mode in
23770 # CONFIG_HEADER
23772 if test x"$ac_file" != x-; then
23774 printf "%s\n" "/* $configure_input */" >&1 \
23775 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
23776 } >"$ac_tmp/config.h" \
23777 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
23778 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
23779 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
23780 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
23781 else
23782 rm -f "$ac_file"
23783 mv "$ac_tmp/config.h" "$ac_file" \
23784 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
23786 else
23787 printf "%s\n" "/* $configure_input */" >&1 \
23788 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
23789 || as_fn_error $? "could not create -" "$LINENO" 5
23794 # CONFIG_LINK
23797 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
23799 else
23800 # Prefer the file from the source tree if names are identical.
23801 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
23802 ac_source=$srcdir/$ac_source
23805 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
23806 printf "%s\n" "$as_me: linking $ac_source to $ac_file" >&6;}
23808 if test ! -r "$ac_source"; then
23809 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
23811 rm -f "$ac_file"
23813 # Try a relative symlink, then a hard link, then a copy.
23814 case $ac_source in
23815 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
23816 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
23817 esac
23818 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
23819 ln "$ac_source" "$ac_file" 2>/dev/null ||
23820 cp -p "$ac_source" "$ac_file" ||
23821 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
23824 :C) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
23825 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
23827 esac
23830 case $ac_file$ac_mode in
23831 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
23832 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
23833 "Makefile":C) wine_fn_output_makefile Makefile ;;
23835 esac
23836 done # for ac_tag
23839 as_fn_exit 0
23840 _ACEOF
23841 ac_clean_files=$ac_clean_files_save
23843 test $ac_write_fail = 0 ||
23844 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
23847 # configure is writing to config.log, and then calls config.status.
23848 # config.status does its own redirection, appending to config.log.
23849 # Unfortunately, on DOS this fails, as config.log is still kept open
23850 # by configure, so config.status won't be able to write to it; its
23851 # output is simply discarded. So we exec the FD to /dev/null,
23852 # effectively closing config.log, so it can be properly (re)opened and
23853 # appended to by config.status. When coming back to configure, we
23854 # need to make the FD available again.
23855 if test "$no_create" != yes; then
23856 ac_cs_success=:
23857 ac_config_status_args=
23858 test "$silent" = yes &&
23859 ac_config_status_args="$ac_config_status_args --quiet"
23860 exec 5>/dev/null
23861 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
23862 exec 5>>config.log
23863 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
23864 # would make configure fail if this is the last instruction.
23865 $ac_cs_success || as_fn_exit 1
23867 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
23868 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
23869 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
23873 if test "$no_create" = "yes"
23874 then
23875 exit 0
23878 ac_save_IFS="$IFS"
23879 if test "x$wine_notices" != x; then
23880 echo >&6
23881 IFS="|"
23882 for msg in $wine_notices; do
23883 IFS="$ac_save_IFS"
23884 if ${msg:+false} :
23885 then :
23887 else $as_nop
23888 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $msg" >&5
23889 printf "%s\n" "$as_me: $msg" >&6;}
23891 done
23893 IFS="|"
23894 for msg in $wine_warnings; do
23895 IFS="$ac_save_IFS"
23896 if ${msg:+false} :
23897 then :
23899 else $as_nop
23900 echo >&2
23901 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
23902 printf "%s\n" "$as_me: WARNING: $msg" >&2;}
23904 done
23905 IFS="$ac_save_IFS"
23907 printf "%s\n" "
23908 $as_me: Finished. Do '${ac_make}' to compile Wine.
23909 " >&6