odbccp32: SQLConfigDataSource/W fix crash with passed NULL attribute parameter.
[wine.git] / configure
blobe77f0893dd8af113fabce44c2a8e285731dd9b57
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.71 for Wine 9.11.
5 # Report bugs to <wine-devel@winehq.org>.
8 # Copyright (C) 1992-1996, 1998-2017, 2020-2021 Free Software Foundation,
9 # Inc.
12 # This configure script is free software; the Free Software Foundation
13 # gives unlimited permission to copy, distribute and modify it.
14 ## -------------------- ##
15 ## M4sh Initialization. ##
16 ## -------------------- ##
18 # Be more Bourne compatible
19 DUALCASE=1; export DUALCASE # for MKS sh
20 as_nop=:
21 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
22 then :
23 emulate sh
24 NULLCMD=:
25 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
26 # is contrary to our usage. Disable this feature.
27 alias -g '${1+"$@"}'='"$@"'
28 setopt NO_GLOB_SUBST
29 else $as_nop
30 case `(set -o) 2>/dev/null` in #(
31 *posix*) :
32 set -o posix ;; #(
33 *) :
35 esac
40 # Reset variables that may have inherited troublesome values from
41 # the environment.
43 # IFS needs to be set, to space, tab, and newline, in precisely that order.
44 # (If _AS_PATH_WALK were called with IFS unset, it would have the
45 # side effect of setting IFS to empty, thus disabling word splitting.)
46 # Quoting is to prevent editors from complaining about space-tab.
47 as_nl='
49 export as_nl
50 IFS=" "" $as_nl"
52 PS1='$ '
53 PS2='> '
54 PS4='+ '
56 # Ensure predictable behavior from utilities with locale-dependent output.
57 LC_ALL=C
58 export LC_ALL
59 LANGUAGE=C
60 export LANGUAGE
62 # We cannot yet rely on "unset" to work, but we need these variables
63 # to be unset--not just set to an empty or harmless value--now, to
64 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
65 # also avoids known problems related to "unset" and subshell syntax
66 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
67 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
68 do eval test \${$as_var+y} \
69 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
70 done
72 # Ensure that fds 0, 1, and 2 are open.
73 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
74 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
75 if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
77 # The user is always right.
78 if ${PATH_SEPARATOR+false} :; then
79 PATH_SEPARATOR=:
80 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
81 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
82 PATH_SEPARATOR=';'
87 # Find who we are. Look in the path if we contain no directory separator.
88 as_myself=
89 case $0 in #((
90 *[\\/]* ) as_myself=$0 ;;
91 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
92 for as_dir in $PATH
94 IFS=$as_save_IFS
95 case $as_dir in #(((
96 '') as_dir=./ ;;
97 */) ;;
98 *) as_dir=$as_dir/ ;;
99 esac
100 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
101 done
102 IFS=$as_save_IFS
105 esac
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
109 as_myself=$0
111 if test ! -f "$as_myself"; then
112 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 exit 1
117 # Use a proper internal environment variable to ensure we don't fall
118 # into an infinite loop, continuously re-executing ourselves.
119 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
120 _as_can_reexec=no; export _as_can_reexec;
121 # We cannot yet assume a decent shell, so we have to provide a
122 # neutralization value for shells without unset; and this also
123 # works around shells that cannot unset nonexistent variables.
124 # Preserve -v and -x to the replacement shell.
125 BASH_ENV=/dev/null
126 ENV=/dev/null
127 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
128 case $- in # ((((
129 *v*x* | *x*v* ) as_opts=-vx ;;
130 *v* ) as_opts=-v ;;
131 *x* ) as_opts=-x ;;
132 * ) as_opts= ;;
133 esac
134 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
135 # Admittedly, this is quite paranoid, since all the known shells bail
136 # out after a failed `exec'.
137 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
138 exit 255
140 # We don't want this to propagate to other subprocesses.
141 { _as_can_reexec=; unset _as_can_reexec;}
142 if test "x$CONFIG_SHELL" = x; then
143 as_bourne_compatible="as_nop=:
144 if test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
145 then :
146 emulate sh
147 NULLCMD=:
148 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
149 # is contrary to our usage. Disable this feature.
150 alias -g '\${1+\"\$@\"}'='\"\$@\"'
151 setopt NO_GLOB_SUBST
152 else \$as_nop
153 case \`(set -o) 2>/dev/null\` in #(
154 *posix*) :
155 set -o posix ;; #(
156 *) :
158 esac
161 as_required="as_fn_return () { (exit \$1); }
162 as_fn_success () { as_fn_return 0; }
163 as_fn_failure () { as_fn_return 1; }
164 as_fn_ret_success () { return 0; }
165 as_fn_ret_failure () { return 1; }
167 exitcode=0
168 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
169 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
170 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
171 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
172 if ( set x; as_fn_ret_success y && test x = \"\$1\" )
173 then :
175 else \$as_nop
176 exitcode=1; echo positional parameters were not saved.
178 test x\$exitcode = x0 || exit 1
179 blah=\$(echo \$(echo blah))
180 test x\"\$blah\" = xblah || exit 1
181 test -x / || exit 1"
182 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
183 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
184 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
185 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
186 test \$(( 1 + 1 )) = 2 || exit 1"
187 if (eval "$as_required") 2>/dev/null
188 then :
189 as_have_required=yes
190 else $as_nop
191 as_have_required=no
193 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null
194 then :
196 else $as_nop
197 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
198 as_found=false
199 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
201 IFS=$as_save_IFS
202 case $as_dir in #(((
203 '') as_dir=./ ;;
204 */) ;;
205 *) as_dir=$as_dir/ ;;
206 esac
207 as_found=:
208 case $as_dir in #(
210 for as_base in sh bash ksh sh5; do
211 # Try only shells that exist, to save several forks.
212 as_shell=$as_dir$as_base
213 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
214 as_run=a "$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev/null
215 then :
216 CONFIG_SHELL=$as_shell as_have_required=yes
217 if as_run=a "$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev/null
218 then :
219 break 2
222 done;;
223 esac
224 as_found=false
225 done
226 IFS=$as_save_IFS
227 if $as_found
228 then :
230 else $as_nop
231 if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
232 as_run=a "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev/null
233 then :
234 CONFIG_SHELL=$SHELL as_have_required=yes
239 if test "x$CONFIG_SHELL" != x
240 then :
241 export CONFIG_SHELL
242 # We cannot yet assume a decent shell, so we have to provide a
243 # neutralization value for shells without unset; and this also
244 # works around shells that cannot unset nonexistent variables.
245 # Preserve -v and -x to the replacement shell.
246 BASH_ENV=/dev/null
247 ENV=/dev/null
248 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
249 case $- in # ((((
250 *v*x* | *x*v* ) as_opts=-vx ;;
251 *v* ) as_opts=-v ;;
252 *x* ) as_opts=-x ;;
253 * ) as_opts= ;;
254 esac
255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
256 # Admittedly, this is quite paranoid, since all the known shells bail
257 # out after a failed `exec'.
258 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
259 exit 255
262 if test x$as_have_required = xno
263 then :
264 printf "%s\n" "$0: This script requires a shell more modern than all"
265 printf "%s\n" "$0: the shells that I found on your system."
266 if test ${ZSH_VERSION+y} ; then
267 printf "%s\n" "$0: In particular, zsh $ZSH_VERSION has bugs and should"
268 printf "%s\n" "$0: be upgraded to zsh 4.3.4 or later."
269 else
270 printf "%s\n" "$0: Please tell bug-autoconf@gnu.org and
271 $0: wine-devel@winehq.org about your system, including any
272 $0: error possibly output before this message. Then install
273 $0: a modern shell, or manually run the script under such a
274 $0: shell if you do have one."
276 exit 1
280 SHELL=${CONFIG_SHELL-/bin/sh}
281 export SHELL
282 # Unset more variables known to interfere with behavior of common tools.
283 CLICOLOR_FORCE= GREP_OPTIONS=
284 unset CLICOLOR_FORCE GREP_OPTIONS
286 ## --------------------- ##
287 ## M4sh Shell Functions. ##
288 ## --------------------- ##
289 # as_fn_unset VAR
290 # ---------------
291 # Portably unset VAR.
292 as_fn_unset ()
294 { eval $1=; unset $1;}
296 as_unset=as_fn_unset
299 # as_fn_set_status STATUS
300 # -----------------------
301 # Set $? to STATUS, without forking.
302 as_fn_set_status ()
304 return $1
305 } # as_fn_set_status
307 # as_fn_exit STATUS
308 # -----------------
309 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
310 as_fn_exit ()
312 set +e
313 as_fn_set_status $1
314 exit $1
315 } # as_fn_exit
316 # as_fn_nop
317 # ---------
318 # Do nothing but, unlike ":", preserve the value of $?.
319 as_fn_nop ()
321 return $?
323 as_nop=as_fn_nop
325 # as_fn_mkdir_p
326 # -------------
327 # Create "$as_dir" as a directory, including parents if necessary.
328 as_fn_mkdir_p ()
331 case $as_dir in #(
332 -*) as_dir=./$as_dir;;
333 esac
334 test -d "$as_dir" || eval $as_mkdir_p || {
335 as_dirs=
336 while :; do
337 case $as_dir in #(
338 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
339 *) as_qdir=$as_dir;;
340 esac
341 as_dirs="'$as_qdir' $as_dirs"
342 as_dir=`$as_dirname -- "$as_dir" ||
343 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
344 X"$as_dir" : 'X\(//\)[^/]' \| \
345 X"$as_dir" : 'X\(//\)$' \| \
346 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
347 printf "%s\n" X"$as_dir" |
348 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
349 s//\1/
352 /^X\(\/\/\)[^/].*/{
353 s//\1/
356 /^X\(\/\/\)$/{
357 s//\1/
360 /^X\(\/\).*/{
361 s//\1/
364 s/.*/./; q'`
365 test -d "$as_dir" && break
366 done
367 test -z "$as_dirs" || eval "mkdir $as_dirs"
368 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
371 } # as_fn_mkdir_p
373 # as_fn_executable_p FILE
374 # -----------------------
375 # Test if FILE is an executable regular file.
376 as_fn_executable_p ()
378 test -f "$1" && test -x "$1"
379 } # as_fn_executable_p
380 # as_fn_append VAR VALUE
381 # ----------------------
382 # Append the text in VALUE to the end of the definition contained in VAR. Take
383 # advantage of any shell optimizations that allow amortized linear growth over
384 # repeated appends, instead of the typical quadratic growth present in naive
385 # implementations.
386 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
387 then :
388 eval 'as_fn_append ()
390 eval $1+=\$2
392 else $as_nop
393 as_fn_append ()
395 eval $1=\$$1\$2
397 fi # as_fn_append
399 # as_fn_arith ARG...
400 # ------------------
401 # Perform arithmetic evaluation on the ARGs, and store the result in the
402 # global $as_val. Take advantage of shells that can avoid forks. The arguments
403 # must be portable across $(()) and expr.
404 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
405 then :
406 eval 'as_fn_arith ()
408 as_val=$(( $* ))
410 else $as_nop
411 as_fn_arith ()
413 as_val=`expr "$@" || test $? -eq 1`
415 fi # as_fn_arith
417 # as_fn_nop
418 # ---------
419 # Do nothing but, unlike ":", preserve the value of $?.
420 as_fn_nop ()
422 return $?
424 as_nop=as_fn_nop
426 # as_fn_error STATUS ERROR [LINENO LOG_FD]
427 # ----------------------------------------
428 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
429 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
430 # script with STATUS, using 1 if that was 0.
431 as_fn_error ()
433 as_status=$1; test $as_status -eq 0 && as_status=1
434 if test "$4"; then
435 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
436 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
438 printf "%s\n" "$as_me: error: $2" >&2
439 as_fn_exit $as_status
440 } # as_fn_error
442 if expr a : '\(a\)' >/dev/null 2>&1 &&
443 test "X`expr 00001 : '.*\(...\)'`" = X001; then
444 as_expr=expr
445 else
446 as_expr=false
449 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
450 as_basename=basename
451 else
452 as_basename=false
455 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
456 as_dirname=dirname
457 else
458 as_dirname=false
461 as_me=`$as_basename -- "$0" ||
462 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
463 X"$0" : 'X\(//\)$' \| \
464 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
465 printf "%s\n" X/"$0" |
466 sed '/^.*\/\([^/][^/]*\)\/*$/{
467 s//\1/
470 /^X\/\(\/\/\)$/{
471 s//\1/
474 /^X\/\(\/\).*/{
475 s//\1/
478 s/.*/./; q'`
480 # Avoid depending upon Character Ranges.
481 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
482 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
483 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
484 as_cr_digits='0123456789'
485 as_cr_alnum=$as_cr_Letters$as_cr_digits
488 as_lineno_1=$LINENO as_lineno_1a=$LINENO
489 as_lineno_2=$LINENO as_lineno_2a=$LINENO
490 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
491 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
492 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
493 sed -n '
495 /[$]LINENO/=
496 ' <$as_myself |
497 sed '
498 s/[$]LINENO.*/&-/
499 t lineno
501 :lineno
503 :loop
504 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
505 t loop
506 s/-\n.*//
507 ' >$as_me.lineno &&
508 chmod +x "$as_me.lineno" ||
509 { printf "%s\n" "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
511 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
512 # already done that, so ensure we don't try to do so again and fall
513 # in an infinite loop. This has already happened in practice.
514 _as_can_reexec=no; export _as_can_reexec
515 # Don't try to exec as it changes $[0], causing all sort of problems
516 # (the dirname of $[0] is not the place where we might find the
517 # original and so on. Autoconf is especially sensitive to this).
518 . "./$as_me.lineno"
519 # Exit status is that of the last command.
520 exit
524 # Determine whether it's possible to make 'echo' print without a newline.
525 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
526 # for compatibility with existing Makefiles.
527 ECHO_C= ECHO_N= ECHO_T=
528 case `echo -n x` in #(((((
529 -n*)
530 case `echo 'xy\c'` in
531 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
532 xy) ECHO_C='\c';;
533 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
534 ECHO_T=' ';;
535 esac;;
537 ECHO_N='-n';;
538 esac
540 # For backward compatibility with old third-party macros, we provide
541 # the shell variables $as_echo and $as_echo_n. New code should use
542 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
543 as_echo='printf %s\n'
544 as_echo_n='printf %s'
547 rm -f conf$$ conf$$.exe conf$$.file
548 if test -d conf$$.dir; then
549 rm -f conf$$.dir/conf$$.file
550 else
551 rm -f conf$$.dir
552 mkdir conf$$.dir 2>/dev/null
554 if (echo >conf$$.file) 2>/dev/null; then
555 if ln -s conf$$.file conf$$ 2>/dev/null; then
556 as_ln_s='ln -s'
557 # ... but there are two gotchas:
558 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
559 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
560 # In both cases, we have to default to `cp -pR'.
561 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
562 as_ln_s='cp -pR'
563 elif ln conf$$.file conf$$ 2>/dev/null; then
564 as_ln_s=ln
565 else
566 as_ln_s='cp -pR'
568 else
569 as_ln_s='cp -pR'
571 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
572 rmdir conf$$.dir 2>/dev/null
574 if mkdir -p . 2>/dev/null; then
575 as_mkdir_p='mkdir -p "$as_dir"'
576 else
577 test -d ./-p && rmdir ./-p
578 as_mkdir_p=false
581 as_test_x='test -x'
582 as_executable_p=as_fn_executable_p
584 # Sed expression to map a string onto a valid CPP name.
585 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
587 # Sed expression to map a string onto a valid variable name.
588 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
591 test -n "$DJDIR" || exec 7<&0 </dev/null
592 exec 6>&1
594 # Name of the host.
595 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
596 # so uname gets run too.
597 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
600 # Initializations.
602 ac_default_prefix=/usr/local
603 ac_clean_files=
604 ac_config_libobj_dir=.
605 LIBOBJS=
606 cross_compiling=no
607 subdirs=
608 MFLAGS=
609 MAKEFLAGS=
611 # Identity of this package.
612 PACKAGE_NAME='Wine'
613 PACKAGE_TARNAME='wine'
614 PACKAGE_VERSION='9.11'
615 PACKAGE_STRING='Wine 9.11'
616 PACKAGE_BUGREPORT='wine-devel@winehq.org'
617 PACKAGE_URL='https://www.winehq.org'
619 ac_unique_file="server/atom.c"
620 # Factoring default headers for most tests.
621 ac_includes_default="\
622 #include <stddef.h>
623 #ifdef HAVE_STDIO_H
624 # include <stdio.h>
625 #endif
626 #ifdef HAVE_STDLIB_H
627 # include <stdlib.h>
628 #endif
629 #ifdef HAVE_STRING_H
630 # include <string.h>
631 #endif
632 #ifdef HAVE_INTTYPES_H
633 # include <inttypes.h>
634 #endif
635 #ifdef HAVE_STDINT_H
636 # include <stdint.h>
637 #endif
638 #ifdef HAVE_STRINGS_H
639 # include <strings.h>
640 #endif
641 #ifdef HAVE_SYS_TYPES_H
642 # include <sys/types.h>
643 #endif
644 #ifdef HAVE_SYS_STAT_H
645 # include <sys/stat.h>
646 #endif
647 #ifdef HAVE_UNISTD_H
648 # include <unistd.h>
649 #endif"
651 ac_header_c_list=
652 ac_subst_vars='LTLIBOBJS
653 LIBOBJS
654 TAGSFLAGS
655 RT_LIBS
656 WINELOADER_PROGRAMS
657 DELAYLOADFLAG
658 MSVCRTFLAGS
659 NETAPI_LIBS
660 NETAPI_CFLAGS
661 PROCSTAT_LIBS
662 GSSAPI_LIBS
663 GSSAPI_CFLAGS
664 KRB5_LIBS
665 KRB5_CFLAGS
666 FONTCONFIG_LIBS
667 FONTCONFIG_CFLAGS
668 CUPS_LIBS
669 CUPS_CFLAGS
670 CAPI20_LIBS
671 CAPI20_CFLAGS
672 SDL2_LIBS
673 SDL2_CFLAGS
674 UNWIND_LIBS
675 UNWIND_CFLAGS
676 UDEV_LIBS
677 UDEV_CFLAGS
678 OSS4_LIBS
679 OSS4_CFLAGS
680 ALSA_LIBS
681 GSTREAMER_LIBS
682 GSTREAMER_CFLAGS
683 PULSE_LIBS
684 PULSE_CFLAGS
685 GETTEXTPO_LIBS
686 FREETYPE_LIBS
687 FREETYPE_CFLAGS
688 RESOLV_LIBS
689 GPHOTO2_PORT_LIBS
690 GPHOTO2_PORT_CFLAGS
691 GPHOTO2_LIBS
692 GPHOTO2_CFLAGS
693 USB_LIBS
694 USB_CFLAGS
695 SANE_LIBS
696 SANE_CFLAGS
697 GNUTLS_LIBS
698 GNUTLS_CFLAGS
699 DBUS_LIBS
700 DBUS_CFLAGS
701 INOTIFY_LIBS
702 INOTIFY_CFLAGS
703 ODBC_LIBS
704 ODBC_CFLAGS
705 PCSCLITE_LIBS
706 PCAP_LIBS
707 WAYLAND_EGL_LIBS
708 WAYLAND_EGL_CFLAGS
709 EGL_LIBS
710 EGL_CFLAGS
711 XKBREGISTRY_LIBS
712 XKBREGISTRY_CFLAGS
713 XKBCOMMON_LIBS
714 XKBCOMMON_CFLAGS
715 WAYLAND_SCANNER
716 WAYLAND_CLIENT_LIBS
717 WAYLAND_CLIENT_CFLAGS
718 X_EXTRA_LIBS
719 X_LIBS
720 X_PRE_LIBS
721 X_CFLAGS
723 XMKMF
724 PTHREAD_LIBS
725 ZYDIS_PE_LIBS
726 ZYDIS_PE_CFLAGS
727 ZLIB_PE_LIBS
728 ZLIB_PE_CFLAGS
729 XSLT_PE_LIBS
730 XSLT_PE_CFLAGS
731 XML2_PE_LIBS
732 XML2_PE_CFLAGS
733 VKD3D_PE_LIBS
734 VKD3D_PE_CFLAGS
735 TIFF_PE_LIBS
736 TIFF_PE_CFLAGS
737 PNG_PE_LIBS
738 PNG_PE_CFLAGS
739 MUSL_PE_LIBS
740 MUSL_PE_CFLAGS
741 MPG123_PE_LIBS
742 MPG123_PE_CFLAGS
743 LDAP_PE_LIBS
744 LDAP_PE_CFLAGS
745 LCMS2_PE_LIBS
746 LCMS2_PE_CFLAGS
747 JXR_PE_LIBS
748 JXR_PE_CFLAGS
749 JPEG_PE_LIBS
750 JPEG_PE_CFLAGS
751 GSM_PE_LIBS
752 GSM_PE_CFLAGS
753 FLUIDSYNTH_PE_LIBS
754 FLUIDSYNTH_PE_CFLAGS
755 FAUDIO_PE_LIBS
756 FAUDIO_PE_CFLAGS
757 MINGW_PKG_CONFIG
758 PE_ARCHS
759 WINELOADER_DEPENDS
760 ac_ct_OBJC
761 OBJCFLAGS
762 OBJC
763 OPENCL_LIBS
764 COREAUDIO_LIBS
765 SYSTEMCONFIGURATION_LIBS
766 SECURITY_LIBS
767 APPKIT_LIBS
768 CORESERVICES_LIBS
769 APPLICATIONSERVICES_LIBS
770 METAL_LIBS
771 IOKIT_LIBS
772 DISKARBITRATION_LIBS
773 COREFOUNDATION_LIBS
774 CARBON_LIBS
775 CONFIGURE_TARGETS
776 DISABLED_SUBDIRS
777 SUBDIRS
778 READELF
779 OTOOL
781 DLLEXT
782 WINEPRELOADER_LDFLAGS
783 WINELOADER_LDFLAGS
784 TOP_INSTALL_DEV
785 TOP_INSTALL_LIB
786 UNIXLDFLAGS
787 UNIXDLLFLAGS
788 EXTRACFLAGS
789 LDEXECFLAGS
790 LDDLLFLAGS
791 DLLFLAGS
792 OPENGL_LIBS
793 I386_LIBS
794 ICOTOOL
795 CONVERT
796 RSVG
797 FONTFORGE
798 PKG_CONFIG
799 MSGFMT
800 LDCONFIG
801 EGREP
802 GREP
803 LN_S
804 RANLIB
805 STRIP
806 ac_ct_AR
808 BISON
809 FLEX
810 SED_CMD
811 RUNTESTFLAGS
812 MAKEDEP
813 toolsdir
814 x86_64_DISABLED_SUBDIRS
815 x86_64_DELAYLOADFLAG
816 x86_64_TARGET
817 x86_64_DEBUG
818 x86_64_LDFLAGS
819 x86_64_EXTRACFLAGS
820 x86_64_CFLAGS
821 x86_64_CC
822 i386_DISABLED_SUBDIRS
823 i386_DELAYLOADFLAG
824 i386_TARGET
825 i386_DEBUG
826 i386_LDFLAGS
827 i386_EXTRACFLAGS
828 i386_CFLAGS
829 i386_CC
830 arm64ec_DISABLED_SUBDIRS
831 arm64ec_DELAYLOADFLAG
832 arm64ec_TARGET
833 arm64ec_DEBUG
834 arm64ec_LDFLAGS
835 arm64ec_EXTRACFLAGS
836 arm64ec_CFLAGS
837 arm64ec_CC
838 arm_DISABLED_SUBDIRS
839 arm_DELAYLOADFLAG
840 arm_TARGET
841 arm_DEBUG
842 arm_LDFLAGS
843 arm_EXTRACFLAGS
844 arm_CFLAGS
845 arm_CC
846 aarch64_DISABLED_SUBDIRS
847 aarch64_DELAYLOADFLAG
848 aarch64_TARGET
849 aarch64_DEBUG
850 aarch64_LDFLAGS
851 aarch64_EXTRACFLAGS
852 aarch64_CFLAGS
853 aarch64_CC
854 HOST_ARCH
855 toolsext
856 TARGETFLAGS
858 CPPBIN
859 ac_ct_CXX
860 CXXFLAGS
862 OBJEXT
863 EXEEXT
864 ac_ct_CC
865 CPPFLAGS
866 LDFLAGS
867 CFLAGS
869 SET_MAKE
870 srcdir
871 nlsdir
872 fontdir
873 dlldir
874 host_os
875 host_vendor
876 host_cpu
877 host
878 build_os
879 build_vendor
880 build_cpu
881 build
882 system_dllpath
883 target_alias
884 host_alias
885 build_alias
886 LIBS
887 ECHO_T
888 ECHO_N
889 ECHO_C
890 DEFS
891 mandir
892 localedir
893 libdir
894 psdir
895 pdfdir
896 dvidir
897 htmldir
898 infodir
899 docdir
900 oldincludedir
901 includedir
902 runstatedir
903 localstatedir
904 sharedstatedir
905 sysconfdir
906 datadir
907 datarootdir
908 libexecdir
909 sbindir
910 bindir
911 program_transform_name
912 prefix
913 exec_prefix
914 PACKAGE_URL
915 PACKAGE_BUGREPORT
916 PACKAGE_STRING
917 PACKAGE_VERSION
918 PACKAGE_TARNAME
919 PACKAGE_NAME
920 PATH_SEPARATOR
921 SHELL'
922 ac_subst_files=''
923 ac_user_opts='
924 enable_option_checking
925 enable_archs
926 enable_win16
927 enable_win64
928 enable_tests
929 enable_build_id
930 enable_maintainer_mode
931 enable_silent_rules
932 enable_werror
933 with_alsa
934 with_capi
935 with_coreaudio
936 with_cups
937 with_dbus
938 with_fontconfig
939 with_freetype
940 with_gettext
941 with_gettextpo
942 with_gphoto
943 with_gnutls
944 with_gssapi
945 with_gstreamer
946 with_inotify
947 with_krb5
948 with_mingw
949 with_netapi
950 with_odbc
951 with_opencl
952 with_opengl
953 with_osmesa
954 with_oss
955 with_pcap
956 with_pcsclite
957 with_pthread
958 with_pulse
959 with_sane
960 with_sdl
961 with_udev
962 with_unwind
963 with_usb
964 with_v4l2
965 with_vulkan
966 with_wayland
967 with_xcomposite
968 with_xcursor
969 with_xfixes
970 with_xinerama
971 with_xinput
972 with_xinput2
973 with_xrandr
974 with_xrender
975 with_xshape
976 with_xshm
977 with_xxf86vm
978 with_system_dllpath
979 with_wine_tools
980 with_wine64
981 enable_largefile
982 with_x
983 enable_acledit
984 enable_aclui
985 enable_activeds_tlb
986 enable_activeds
987 enable_actxprxy
988 enable_adsldp
989 enable_adsldpc
990 enable_advapi32
991 enable_advpack
992 enable_amsi
993 enable_amstream
994 enable_apisetschema
995 enable_apphelp
996 enable_appwiz_cpl
997 enable_appxdeploymentclient
998 enable_atl
999 enable_atl100
1000 enable_atl110
1001 enable_atl80
1002 enable_atl90
1003 enable_atlthunk
1004 enable_atmlib
1005 enable_authz
1006 enable_avicap32
1007 enable_avifil32
1008 enable_avrt
1009 enable_bcp47langs
1010 enable_bcrypt
1011 enable_bcryptprimitives
1012 enable_bluetoothapis
1013 enable_browseui
1014 enable_bthprops_cpl
1015 enable_cabinet
1016 enable_capi2032
1017 enable_cards
1018 enable_cdosys
1019 enable_cfgmgr32
1020 enable_clusapi
1021 enable_cng_sys
1022 enable_combase
1023 enable_comcat
1024 enable_comctl32
1025 enable_comdlg32
1026 enable_coml2
1027 enable_compstui
1028 enable_comsvcs
1029 enable_concrt140
1030 enable_connect
1031 enable_coremessaging
1032 enable_credui
1033 enable_crtdll
1034 enable_crypt32
1035 enable_cryptdlg
1036 enable_cryptdll
1037 enable_cryptext
1038 enable_cryptnet
1039 enable_cryptowinrt
1040 enable_cryptsp
1041 enable_cryptui
1042 enable_ctapi32
1043 enable_ctl3d32
1044 enable_d2d1
1045 enable_d3d10
1046 enable_d3d10_1
1047 enable_d3d10core
1048 enable_d3d11
1049 enable_d3d12
1050 enable_d3d12core
1051 enable_d3d8
1052 enable_d3d8thk
1053 enable_d3d9
1054 enable_d3dcompiler_33
1055 enable_d3dcompiler_34
1056 enable_d3dcompiler_35
1057 enable_d3dcompiler_36
1058 enable_d3dcompiler_37
1059 enable_d3dcompiler_38
1060 enable_d3dcompiler_39
1061 enable_d3dcompiler_40
1062 enable_d3dcompiler_41
1063 enable_d3dcompiler_42
1064 enable_d3dcompiler_43
1065 enable_d3dcompiler_46
1066 enable_d3dcompiler_47
1067 enable_d3dim
1068 enable_d3dim700
1069 enable_d3drm
1070 enable_d3dx10_33
1071 enable_d3dx10_34
1072 enable_d3dx10_35
1073 enable_d3dx10_36
1074 enable_d3dx10_37
1075 enable_d3dx10_38
1076 enable_d3dx10_39
1077 enable_d3dx10_40
1078 enable_d3dx10_41
1079 enable_d3dx10_42
1080 enable_d3dx10_43
1081 enable_d3dx11_42
1082 enable_d3dx11_43
1083 enable_d3dx9_24
1084 enable_d3dx9_25
1085 enable_d3dx9_26
1086 enable_d3dx9_27
1087 enable_d3dx9_28
1088 enable_d3dx9_29
1089 enable_d3dx9_30
1090 enable_d3dx9_31
1091 enable_d3dx9_32
1092 enable_d3dx9_33
1093 enable_d3dx9_34
1094 enable_d3dx9_35
1095 enable_d3dx9_36
1096 enable_d3dx9_37
1097 enable_d3dx9_38
1098 enable_d3dx9_39
1099 enable_d3dx9_40
1100 enable_d3dx9_41
1101 enable_d3dx9_42
1102 enable_d3dx9_43
1103 enable_d3dxof
1104 enable_davclnt
1105 enable_dbgeng
1106 enable_dbghelp
1107 enable_dciman32
1108 enable_dcomp
1109 enable_ddraw
1110 enable_ddrawex
1111 enable_devenum
1112 enable_dhcpcsvc
1113 enable_dhcpcsvc6
1114 enable_dhtmled_ocx
1115 enable_diasymreader
1116 enable_difxapi
1117 enable_dinput
1118 enable_dinput8
1119 enable_directmanipulation
1120 enable_dispex
1121 enable_dmband
1122 enable_dmcompos
1123 enable_dmime
1124 enable_dmloader
1125 enable_dmscript
1126 enable_dmstyle
1127 enable_dmsynth
1128 enable_dmusic
1129 enable_dmusic32
1130 enable_dnsapi
1131 enable_dplay
1132 enable_dplayx
1133 enable_dpnaddr
1134 enable_dpnet
1135 enable_dpnhpast
1136 enable_dpnhupnp
1137 enable_dpnlobby
1138 enable_dpvoice
1139 enable_dpwsockx
1140 enable_drmclien
1141 enable_dsdmo
1142 enable_dsound
1143 enable_dsquery
1144 enable_dssenh
1145 enable_dsuiext
1146 enable_dswave
1147 enable_dwmapi
1148 enable_dwrite
1149 enable_dx8vb
1150 enable_dxcore
1151 enable_dxdiagn
1152 enable_dxgi
1153 enable_dxtrans
1154 enable_dxva2
1155 enable_esent
1156 enable_evr
1157 enable_explorerframe
1158 enable_faultrep
1159 enable_feclient
1160 enable_fltlib
1161 enable_fltmgr_sys
1162 enable_fntcache
1163 enable_fontsub
1164 enable_fusion
1165 enable_fwpuclnt
1166 enable_gameux
1167 enable_gamingtcui
1168 enable_gdi32
1169 enable_gdiplus
1170 enable_geolocation
1171 enable_glu32
1172 enable_gphoto2_ds
1173 enable_gpkcsp
1174 enable_graphicscapture
1175 enable_hal
1176 enable_hhctrl_ocx
1177 enable_hid
1178 enable_hidclass_sys
1179 enable_hidparse_sys
1180 enable_hlink
1181 enable_hnetcfg
1182 enable_hrtfapo
1183 enable_http_sys
1184 enable_httpapi
1185 enable_hvsimanagementapi
1186 enable_ia2comproxy
1187 enable_iccvid
1188 enable_icmp
1189 enable_ieframe
1190 enable_ieproxy
1191 enable_imaadp32_acm
1192 enable_imagehlp
1193 enable_imm32
1194 enable_inetcomm
1195 enable_inetcpl_cpl
1196 enable_inetmib1
1197 enable_infosoft
1198 enable_initpki
1199 enable_inkobj
1200 enable_inseng
1201 enable_iphlpapi
1202 enable_iprop
1203 enable_ir50_32
1204 enable_irprops_cpl
1205 enable_itircl
1206 enable_itss
1207 enable_joy_cpl
1208 enable_jscript
1209 enable_jsproxy
1210 enable_kerberos
1211 enable_kernel32
1212 enable_kernelbase
1213 enable_ksecdd_sys
1214 enable_ksproxy_ax
1215 enable_ksuser
1216 enable_ktmw32
1217 enable_l3codeca_acm
1218 enable_light_msstyles
1219 enable_loadperf
1220 enable_localspl
1221 enable_localui
1222 enable_lz32
1223 enable_magnification
1224 enable_mapi32
1225 enable_mapistub
1226 enable_mciavi32
1227 enable_mcicda
1228 enable_mciqtz32
1229 enable_mciseq
1230 enable_mciwave
1231 enable_mf
1232 enable_mf3216
1233 enable_mferror
1234 enable_mfmediaengine
1235 enable_mfplat
1236 enable_mfplay
1237 enable_mfreadwrite
1238 enable_mfsrcsnk
1239 enable_mgmtapi
1240 enable_midimap
1241 enable_mlang
1242 enable_mmcndmgr
1243 enable_mmdevapi
1244 enable_mouhid_sys
1245 enable_mountmgr_sys
1246 enable_mp3dmod
1247 enable_mpr
1248 enable_mprapi
1249 enable_msacm32_drv
1250 enable_msacm32
1251 enable_msado15
1252 enable_msadp32_acm
1253 enable_msasn1
1254 enable_msauddecmft
1255 enable_mscat32
1256 enable_mscms
1257 enable_mscoree
1258 enable_mscorwks
1259 enable_msctf
1260 enable_msctfmonitor
1261 enable_msctfp
1262 enable_msdaps
1263 enable_msdasql
1264 enable_msdelta
1265 enable_msdmo
1266 enable_msdrm
1267 enable_msftedit
1268 enable_msg711_acm
1269 enable_msgsm32_acm
1270 enable_mshtml_tlb
1271 enable_mshtml
1272 enable_msi
1273 enable_msident
1274 enable_msimg32
1275 enable_msimsg
1276 enable_msimtf
1277 enable_msisip
1278 enable_msisys_ocx
1279 enable_msls31
1280 enable_msmpeg2vdec
1281 enable_msnet32
1282 enable_mspatcha
1283 enable_msports
1284 enable_msrle32
1285 enable_msscript_ocx
1286 enable_mssign32
1287 enable_mssip32
1288 enable_mstask
1289 enable_msttsengine
1290 enable_msv1_0
1291 enable_msvcirt
1292 enable_msvcm80
1293 enable_msvcm90
1294 enable_msvcp100
1295 enable_msvcp110
1296 enable_msvcp120
1297 enable_msvcp120_app
1298 enable_msvcp140
1299 enable_msvcp140_1
1300 enable_msvcp140_2
1301 enable_msvcp140_atomic_wait
1302 enable_msvcp140_codecvt_ids
1303 enable_msvcp60
1304 enable_msvcp70
1305 enable_msvcp71
1306 enable_msvcp80
1307 enable_msvcp90
1308 enable_msvcp_win
1309 enable_msvcr100
1310 enable_msvcr110
1311 enable_msvcr120
1312 enable_msvcr120_app
1313 enable_msvcr70
1314 enable_msvcr71
1315 enable_msvcr80
1316 enable_msvcr90
1317 enable_msvcrt
1318 enable_msvcrt20
1319 enable_msvcrt40
1320 enable_msvcrtd
1321 enable_msvfw32
1322 enable_msvidc32
1323 enable_mswsock
1324 enable_msxml
1325 enable_msxml2
1326 enable_msxml3
1327 enable_msxml4
1328 enable_msxml6
1329 enable_mtxdm
1330 enable_ncrypt
1331 enable_nddeapi
1332 enable_ndis_sys
1333 enable_netapi32
1334 enable_netcfgx
1335 enable_netio_sys
1336 enable_netprofm
1337 enable_netutils
1338 enable_newdev
1339 enable_ninput
1340 enable_normaliz
1341 enable_npmshtml
1342 enable_npptools
1343 enable_nsi
1344 enable_nsiproxy_sys
1345 enable_ntdll
1346 enable_ntdsapi
1347 enable_ntoskrnl_exe
1348 enable_ntprint
1349 enable_objsel
1350 enable_odbc32
1351 enable_odbcbcp
1352 enable_odbccp32
1353 enable_odbccu32
1354 enable_ole32
1355 enable_oleacc
1356 enable_oleaut32
1357 enable_olecli32
1358 enable_oledb32
1359 enable_oledlg
1360 enable_olepro32
1361 enable_olesvr32
1362 enable_olethk32
1363 enable_opcservices
1364 enable_opencl
1365 enable_opengl32
1366 enable_packager
1367 enable_pdh
1368 enable_photometadatahandler
1369 enable_pidgen
1370 enable_powrprof
1371 enable_printui
1372 enable_prntvpt
1373 enable_profapi
1374 enable_propsys
1375 enable_psapi
1376 enable_pstorec
1377 enable_pwrshplugin
1378 enable_qasf
1379 enable_qcap
1380 enable_qdvd
1381 enable_qedit
1382 enable_qmgr
1383 enable_qmgrprxy
1384 enable_quartz
1385 enable_query
1386 enable_qwave
1387 enable_rasapi32
1388 enable_rasdlg
1389 enable_regapi
1390 enable_resutils
1391 enable_riched20
1392 enable_riched32
1393 enable_rpcrt4
1394 enable_rsabase
1395 enable_rsaenh
1396 enable_rstrtmgr
1397 enable_rtutils
1398 enable_rtworkq
1399 enable_samlib
1400 enable_sane_ds
1401 enable_sapi
1402 enable_sas
1403 enable_scarddlg
1404 enable_scardsvr
1405 enable_sccbase
1406 enable_schannel
1407 enable_schedsvc
1408 enable_scrobj
1409 enable_scrrun
1410 enable_scsiport_sys
1411 enable_sechost
1412 enable_secur32
1413 enable_security
1414 enable_sensapi
1415 enable_serialui
1416 enable_setupapi
1417 enable_sfc
1418 enable_sfc_os
1419 enable_shcore
1420 enable_shdoclc
1421 enable_shdocvw
1422 enable_shell32
1423 enable_shfolder
1424 enable_shlwapi
1425 enable_slbcsp
1426 enable_slc
1427 enable_snmpapi
1428 enable_softpub
1429 enable_spoolss
1430 enable_sppc
1431 enable_srclient
1432 enable_srvcli
1433 enable_srvsvc
1434 enable_sspicli
1435 enable_stdole2_tlb
1436 enable_stdole32_tlb
1437 enable_sti
1438 enable_strmdll
1439 enable_svrapi
1440 enable_sxs
1441 enable_t2embed
1442 enable_tapi32
1443 enable_taskschd
1444 enable_tbs
1445 enable_tdh
1446 enable_tdi_sys
1447 enable_threadpoolwinrt
1448 enable_traffic
1449 enable_twain_32
1450 enable_twinapi_appcore
1451 enable_tzres
1452 enable_ucrtbase
1453 enable_uianimation
1454 enable_uiautomationcore
1455 enable_uiribbon
1456 enable_unicows
1457 enable_updspapi
1458 enable_url
1459 enable_urlmon
1460 enable_usbd_sys
1461 enable_user32
1462 enable_userenv
1463 enable_usp10
1464 enable_utildll
1465 enable_uxtheme
1466 enable_vbscript
1467 enable_vcomp
1468 enable_vcomp100
1469 enable_vcomp110
1470 enable_vcomp120
1471 enable_vcomp140
1472 enable_vcomp90
1473 enable_vcruntime140
1474 enable_vcruntime140_1
1475 enable_vdmdbg
1476 enable_version
1477 enable_vga
1478 enable_virtdisk
1479 enable_vssapi
1480 enable_vulkan_1
1481 enable_wbemdisp
1482 enable_wbemprox
1483 enable_wdscore
1484 enable_webservices
1485 enable_websocket
1486 enable_wer
1487 enable_wevtapi
1488 enable_wevtsvc
1489 enable_wiaservc
1490 enable_wimgapi
1491 enable_win32u
1492 enable_windows_applicationmodel
1493 enable_windows_devices_bluetooth
1494 enable_windows_devices_enumeration
1495 enable_windows_devices_usb
1496 enable_windows_gaming_input
1497 enable_windows_gaming_ui_gamebar
1498 enable_windows_globalization
1499 enable_windows_media_devices
1500 enable_windows_media_mediacontrol
1501 enable_windows_media_speech
1502 enable_windows_media
1503 enable_windows_networking_hostname
1504 enable_windows_networking
1505 enable_windows_perception_stub
1506 enable_windows_security_authentication_onlineid
1507 enable_windows_security_credentials_ui_userconsentverifier
1508 enable_windows_storage_applicationdata
1509 enable_windows_system_profile_systemmanufacturers
1510 enable_windows_ui
1511 enable_windowscodecs
1512 enable_windowscodecsext
1513 enable_winealsa_drv
1514 enable_wineandroid_drv
1515 enable_winebus_sys
1516 enable_winecoreaudio_drv
1517 enable_winecrt0
1518 enable_wined3d
1519 enable_winegstreamer
1520 enable_winehid_sys
1521 enable_winemac_drv
1522 enable_winemapi
1523 enable_wineoss_drv
1524 enable_wineps_drv
1525 enable_winepulse_drv
1526 enable_wineusb_sys
1527 enable_winevulkan
1528 enable_winewayland_drv
1529 enable_winex11_drv
1530 enable_winexinput_sys
1531 enable_wing32
1532 enable_winhttp
1533 enable_wininet
1534 enable_winmm
1535 enable_winnls32
1536 enable_winprint
1537 enable_winscard
1538 enable_winspool_drv
1539 enable_winsta
1540 enable_wintab32
1541 enable_wintrust
1542 enable_wintypes
1543 enable_winusb
1544 enable_wlanapi
1545 enable_wlanui
1546 enable_wldap32
1547 enable_wldp
1548 enable_wmasf
1549 enable_wmi
1550 enable_wmiutils
1551 enable_wmp
1552 enable_wmphoto
1553 enable_wmvcore
1554 enable_wnaspi32
1555 enable_wofutil
1556 enable_wow64
1557 enable_wow64cpu
1558 enable_wow64win
1559 enable_wpc
1560 enable_wpcap
1561 enable_ws2_32
1562 enable_wsdapi
1563 enable_wshom_ocx
1564 enable_wsnmp32
1565 enable_wsock32
1566 enable_wtsapi32
1567 enable_wuapi
1568 enable_wuaueng
1569 enable_x3daudio1_0
1570 enable_x3daudio1_1
1571 enable_x3daudio1_2
1572 enable_x3daudio1_3
1573 enable_x3daudio1_4
1574 enable_x3daudio1_5
1575 enable_x3daudio1_6
1576 enable_x3daudio1_7
1577 enable_xactengine2_0
1578 enable_xactengine2_4
1579 enable_xactengine2_7
1580 enable_xactengine2_9
1581 enable_xactengine3_0
1582 enable_xactengine3_1
1583 enable_xactengine3_2
1584 enable_xactengine3_3
1585 enable_xactengine3_4
1586 enable_xactengine3_5
1587 enable_xactengine3_6
1588 enable_xactengine3_7
1589 enable_xapofx1_1
1590 enable_xapofx1_2
1591 enable_xapofx1_3
1592 enable_xapofx1_4
1593 enable_xapofx1_5
1594 enable_xaudio2_0
1595 enable_xaudio2_1
1596 enable_xaudio2_2
1597 enable_xaudio2_3
1598 enable_xaudio2_4
1599 enable_xaudio2_5
1600 enable_xaudio2_6
1601 enable_xaudio2_7
1602 enable_xaudio2_8
1603 enable_xaudio2_9
1604 enable_xinput1_1
1605 enable_xinput1_2
1606 enable_xinput1_3
1607 enable_xinput1_4
1608 enable_xinput9_1_0
1609 enable_xinputuap
1610 enable_xmllite
1611 enable_xolehlp
1612 enable_xpsprint
1613 enable_xpssvcs
1614 enable_fonts
1615 enable_include
1616 enable_adsiid
1617 enable_dmoguids
1618 enable_dxerr8
1619 enable_dxerr9
1620 enable_dxguid
1621 enable_faudio
1622 enable_fluidsynth
1623 enable_gsm
1624 enable_jpeg
1625 enable_jxr
1626 enable_lcms2
1627 enable_ldap
1628 enable_mfuuid
1629 enable_mpg123
1630 enable_musl
1631 enable_png
1632 enable_strmbase
1633 enable_strmiids
1634 enable_tiff
1635 enable_uuid
1636 enable_vkd3d
1637 enable_wbemuuid
1638 enable_wmcodecdspuuid
1639 enable_xml2
1640 enable_xslt
1641 enable_zlib
1642 enable_zydis
1643 enable_loader
1644 enable_nls
1645 enable_po
1646 enable_arp
1647 enable_aspnet_regiis
1648 enable_attrib
1649 enable_cabarc
1650 enable_cacls
1651 enable_certutil
1652 enable_chcp_com
1653 enable_clock
1654 enable_cmd
1655 enable_conhost
1656 enable_control
1657 enable_cscript
1658 enable_dism
1659 enable_dllhost
1660 enable_dplaysvr
1661 enable_dpnsvr
1662 enable_dpvsetup
1663 enable_dxdiag
1664 enable_eject
1665 enable_expand
1666 enable_explorer
1667 enable_extrac32
1668 enable_fc
1669 enable_find
1670 enable_findstr
1671 enable_fsutil
1672 enable_hh
1673 enable_hostname
1674 enable_icacls
1675 enable_icinfo
1676 enable_iexplore
1677 enable_ipconfig
1678 enable_klist
1679 enable_lodctr
1680 enable_mofcomp
1681 enable_mshta
1682 enable_msidb
1683 enable_msiexec
1684 enable_msinfo32
1685 enable_net
1686 enable_netsh
1687 enable_netstat
1688 enable_ngen
1689 enable_notepad
1690 enable_oleview
1691 enable_ping
1692 enable_plugplay
1693 enable_pnputil
1694 enable_powershell
1695 enable_presentationfontcache
1696 enable_progman
1697 enable_reg
1698 enable_regasm
1699 enable_regedit
1700 enable_regini
1701 enable_regsvcs
1702 enable_regsvr32
1703 enable_robocopy
1704 enable_rpcss
1705 enable_rundll32
1706 enable_sc
1707 enable_schtasks
1708 enable_sdbinst
1709 enable_secedit
1710 enable_servicemodelreg
1711 enable_services
1712 enable_setx
1713 enable_shutdown
1714 enable_spoolsv
1715 enable_start
1716 enable_subst
1717 enable_svchost
1718 enable_systeminfo
1719 enable_taskkill
1720 enable_tasklist
1721 enable_taskmgr
1722 enable_termsv
1723 enable_uninstaller
1724 enable_unlodctr
1725 enable_view
1726 enable_wevtutil
1727 enable_where
1728 enable_whoami
1729 enable_wineboot
1730 enable_winebrowser
1731 enable_winecfg
1732 enable_wineconsole
1733 enable_winedbg
1734 enable_winedevice
1735 enable_winefile
1736 enable_winemenubuilder
1737 enable_winemine
1738 enable_winemsibuilder
1739 enable_winepath
1740 enable_winetest
1741 enable_winhlp32
1742 enable_winmgmt
1743 enable_winver
1744 enable_wmic
1745 enable_wmplayer
1746 enable_wordpad
1747 enable_write
1748 enable_wscript
1749 enable_wuauserv
1750 enable_wusa
1751 enable_xcopy
1752 enable_server
1753 enable_tools
1754 enable_sfnt2fon
1755 enable_widl
1756 enable_winebuild
1757 enable_winedump
1758 enable_winegcc
1759 enable_winemaker
1760 enable_wmc
1761 enable_wrc
1763 ac_precious_vars='build_alias
1764 host_alias
1765 target_alias
1767 CFLAGS
1768 LDFLAGS
1769 LIBS
1770 CPPFLAGS
1772 CXXFLAGS
1774 OBJC
1775 OBJCFLAGS
1776 FAUDIO_PE_CFLAGS
1777 FAUDIO_PE_LIBS
1778 FLUIDSYNTH_PE_CFLAGS
1779 FLUIDSYNTH_PE_LIBS
1780 GSM_PE_CFLAGS
1781 GSM_PE_LIBS
1782 JPEG_PE_CFLAGS
1783 JPEG_PE_LIBS
1784 JXR_PE_CFLAGS
1785 JXR_PE_LIBS
1786 LCMS2_PE_CFLAGS
1787 LCMS2_PE_LIBS
1788 LDAP_PE_CFLAGS
1789 LDAP_PE_LIBS
1790 MPG123_PE_CFLAGS
1791 MPG123_PE_LIBS
1792 MUSL_PE_CFLAGS
1793 MUSL_PE_LIBS
1794 PNG_PE_CFLAGS
1795 PNG_PE_LIBS
1796 TIFF_PE_CFLAGS
1797 TIFF_PE_LIBS
1798 VKD3D_PE_CFLAGS
1799 VKD3D_PE_LIBS
1800 XML2_PE_CFLAGS
1801 XML2_PE_LIBS
1802 XSLT_PE_CFLAGS
1803 XSLT_PE_LIBS
1804 ZLIB_PE_CFLAGS
1805 ZLIB_PE_LIBS
1806 ZYDIS_PE_CFLAGS
1807 ZYDIS_PE_LIBS
1808 XMKMF
1810 WAYLAND_CLIENT_CFLAGS
1811 WAYLAND_CLIENT_LIBS
1812 XKBCOMMON_CFLAGS
1813 XKBCOMMON_LIBS
1814 XKBREGISTRY_CFLAGS
1815 XKBREGISTRY_LIBS
1816 EGL_CFLAGS
1817 EGL_LIBS
1818 WAYLAND_EGL_CFLAGS
1819 WAYLAND_EGL_LIBS
1820 ODBC_CFLAGS
1821 ODBC_LIBS
1822 INOTIFY_CFLAGS
1823 INOTIFY_LIBS
1824 DBUS_CFLAGS
1825 DBUS_LIBS
1826 GNUTLS_CFLAGS
1827 GNUTLS_LIBS
1828 SANE_CFLAGS
1829 SANE_LIBS
1830 USB_CFLAGS
1831 USB_LIBS
1832 GPHOTO2_CFLAGS
1833 GPHOTO2_LIBS
1834 GPHOTO2_PORT_CFLAGS
1835 GPHOTO2_PORT_LIBS
1836 FREETYPE_CFLAGS
1837 FREETYPE_LIBS
1838 PULSE_CFLAGS
1839 PULSE_LIBS
1840 GSTREAMER_CFLAGS
1841 GSTREAMER_LIBS
1842 UDEV_CFLAGS
1843 UDEV_LIBS
1844 UNWIND_CFLAGS
1845 UNWIND_LIBS
1846 SDL2_CFLAGS
1847 SDL2_LIBS
1848 CAPI20_CFLAGS
1849 CAPI20_LIBS
1850 CUPS_CFLAGS
1851 CUPS_LIBS
1852 FONTCONFIG_CFLAGS
1853 FONTCONFIG_LIBS
1854 KRB5_CFLAGS
1855 KRB5_LIBS
1856 GSSAPI_CFLAGS
1857 GSSAPI_LIBS
1858 NETAPI_CFLAGS
1859 NETAPI_LIBS'
1862 # Initialize some variables set by options.
1863 ac_init_help=
1864 ac_init_version=false
1865 ac_unrecognized_opts=
1866 ac_unrecognized_sep=
1867 # The variables have the same names as the options, with
1868 # dashes changed to underlines.
1869 cache_file=/dev/null
1870 exec_prefix=NONE
1871 no_create=
1872 no_recursion=
1873 prefix=NONE
1874 program_prefix=NONE
1875 program_suffix=NONE
1876 program_transform_name=s,x,x,
1877 silent=
1878 site=
1879 srcdir=
1880 verbose=
1881 x_includes=NONE
1882 x_libraries=NONE
1884 # Installation directory options.
1885 # These are left unexpanded so users can "make install exec_prefix=/foo"
1886 # and all the variables that are supposed to be based on exec_prefix
1887 # by default will actually change.
1888 # Use braces instead of parens because sh, perl, etc. also accept them.
1889 # (The list follows the same order as the GNU Coding Standards.)
1890 bindir='${exec_prefix}/bin'
1891 sbindir='${exec_prefix}/sbin'
1892 libexecdir='${exec_prefix}/libexec'
1893 datarootdir='${prefix}/share'
1894 datadir='${datarootdir}'
1895 sysconfdir='${prefix}/etc'
1896 sharedstatedir='${prefix}/com'
1897 localstatedir='${prefix}/var'
1898 runstatedir='${localstatedir}/run'
1899 includedir='${prefix}/include'
1900 oldincludedir='/usr/include'
1901 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1902 infodir='${datarootdir}/info'
1903 htmldir='${docdir}'
1904 dvidir='${docdir}'
1905 pdfdir='${docdir}'
1906 psdir='${docdir}'
1907 libdir='${exec_prefix}/lib'
1908 localedir='${datarootdir}/locale'
1909 mandir='${datarootdir}/man'
1911 ac_prev=
1912 ac_dashdash=
1913 for ac_option
1915 # If the previous option needs an argument, assign it.
1916 if test -n "$ac_prev"; then
1917 eval $ac_prev=\$ac_option
1918 ac_prev=
1919 continue
1922 case $ac_option in
1923 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1924 *=) ac_optarg= ;;
1925 *) ac_optarg=yes ;;
1926 esac
1928 case $ac_dashdash$ac_option in
1930 ac_dashdash=yes ;;
1932 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1933 ac_prev=bindir ;;
1934 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1935 bindir=$ac_optarg ;;
1937 -build | --build | --buil | --bui | --bu)
1938 ac_prev=build_alias ;;
1939 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1940 build_alias=$ac_optarg ;;
1942 -cache-file | --cache-file | --cache-fil | --cache-fi \
1943 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1944 ac_prev=cache_file ;;
1945 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1946 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1947 cache_file=$ac_optarg ;;
1949 --config-cache | -C)
1950 cache_file=config.cache ;;
1952 -datadir | --datadir | --datadi | --datad)
1953 ac_prev=datadir ;;
1954 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1955 datadir=$ac_optarg ;;
1957 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1958 | --dataroo | --dataro | --datar)
1959 ac_prev=datarootdir ;;
1960 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1961 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1962 datarootdir=$ac_optarg ;;
1964 -disable-* | --disable-*)
1965 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
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--disable-$ac_useropt_orig"
1976 ac_unrecognized_sep=', ';;
1977 esac
1978 eval enable_$ac_useropt=no ;;
1980 -docdir | --docdir | --docdi | --doc | --do)
1981 ac_prev=docdir ;;
1982 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1983 docdir=$ac_optarg ;;
1985 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1986 ac_prev=dvidir ;;
1987 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1988 dvidir=$ac_optarg ;;
1990 -enable-* | --enable-*)
1991 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1992 # Reject names that are not valid shell variable names.
1993 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1994 as_fn_error $? "invalid feature name: \`$ac_useropt'"
1995 ac_useropt_orig=$ac_useropt
1996 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1997 case $ac_user_opts in
1999 "enable_$ac_useropt"
2000 "*) ;;
2001 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
2002 ac_unrecognized_sep=', ';;
2003 esac
2004 eval enable_$ac_useropt=\$ac_optarg ;;
2006 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
2007 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
2008 | --exec | --exe | --ex)
2009 ac_prev=exec_prefix ;;
2010 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
2011 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
2012 | --exec=* | --exe=* | --ex=*)
2013 exec_prefix=$ac_optarg ;;
2015 -gas | --gas | --ga | --g)
2016 # Obsolete; use --with-gas.
2017 with_gas=yes ;;
2019 -help | --help | --hel | --he | -h)
2020 ac_init_help=long ;;
2021 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
2022 ac_init_help=recursive ;;
2023 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
2024 ac_init_help=short ;;
2026 -host | --host | --hos | --ho)
2027 ac_prev=host_alias ;;
2028 -host=* | --host=* | --hos=* | --ho=*)
2029 host_alias=$ac_optarg ;;
2031 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
2032 ac_prev=htmldir ;;
2033 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
2034 | --ht=*)
2035 htmldir=$ac_optarg ;;
2037 -includedir | --includedir | --includedi | --included | --include \
2038 | --includ | --inclu | --incl | --inc)
2039 ac_prev=includedir ;;
2040 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
2041 | --includ=* | --inclu=* | --incl=* | --inc=*)
2042 includedir=$ac_optarg ;;
2044 -infodir | --infodir | --infodi | --infod | --info | --inf)
2045 ac_prev=infodir ;;
2046 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
2047 infodir=$ac_optarg ;;
2049 -libdir | --libdir | --libdi | --libd)
2050 ac_prev=libdir ;;
2051 -libdir=* | --libdir=* | --libdi=* | --libd=*)
2052 libdir=$ac_optarg ;;
2054 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
2055 | --libexe | --libex | --libe)
2056 ac_prev=libexecdir ;;
2057 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
2058 | --libexe=* | --libex=* | --libe=*)
2059 libexecdir=$ac_optarg ;;
2061 -localedir | --localedir | --localedi | --localed | --locale)
2062 ac_prev=localedir ;;
2063 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
2064 localedir=$ac_optarg ;;
2066 -localstatedir | --localstatedir | --localstatedi | --localstated \
2067 | --localstate | --localstat | --localsta | --localst | --locals)
2068 ac_prev=localstatedir ;;
2069 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
2070 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
2071 localstatedir=$ac_optarg ;;
2073 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
2074 ac_prev=mandir ;;
2075 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
2076 mandir=$ac_optarg ;;
2078 -nfp | --nfp | --nf)
2079 # Obsolete; use --without-fp.
2080 with_fp=no ;;
2082 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
2083 | --no-cr | --no-c | -n)
2084 no_create=yes ;;
2086 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
2087 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
2088 no_recursion=yes ;;
2090 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
2091 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
2092 | --oldin | --oldi | --old | --ol | --o)
2093 ac_prev=oldincludedir ;;
2094 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
2095 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
2096 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
2097 oldincludedir=$ac_optarg ;;
2099 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2100 ac_prev=prefix ;;
2101 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2102 prefix=$ac_optarg ;;
2104 -program-prefix | --program-prefix | --program-prefi | --program-pref \
2105 | --program-pre | --program-pr | --program-p)
2106 ac_prev=program_prefix ;;
2107 -program-prefix=* | --program-prefix=* | --program-prefi=* \
2108 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2109 program_prefix=$ac_optarg ;;
2111 -program-suffix | --program-suffix | --program-suffi | --program-suff \
2112 | --program-suf | --program-su | --program-s)
2113 ac_prev=program_suffix ;;
2114 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2115 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2116 program_suffix=$ac_optarg ;;
2118 -program-transform-name | --program-transform-name \
2119 | --program-transform-nam | --program-transform-na \
2120 | --program-transform-n | --program-transform- \
2121 | --program-transform | --program-transfor \
2122 | --program-transfo | --program-transf \
2123 | --program-trans | --program-tran \
2124 | --progr-tra | --program-tr | --program-t)
2125 ac_prev=program_transform_name ;;
2126 -program-transform-name=* | --program-transform-name=* \
2127 | --program-transform-nam=* | --program-transform-na=* \
2128 | --program-transform-n=* | --program-transform-=* \
2129 | --program-transform=* | --program-transfor=* \
2130 | --program-transfo=* | --program-transf=* \
2131 | --program-trans=* | --program-tran=* \
2132 | --progr-tra=* | --program-tr=* | --program-t=*)
2133 program_transform_name=$ac_optarg ;;
2135 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2136 ac_prev=pdfdir ;;
2137 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2138 pdfdir=$ac_optarg ;;
2140 -psdir | --psdir | --psdi | --psd | --ps)
2141 ac_prev=psdir ;;
2142 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2143 psdir=$ac_optarg ;;
2145 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2146 | -silent | --silent | --silen | --sile | --sil)
2147 silent=yes ;;
2149 -runstatedir | --runstatedir | --runstatedi | --runstated \
2150 | --runstate | --runstat | --runsta | --runst | --runs \
2151 | --run | --ru | --r)
2152 ac_prev=runstatedir ;;
2153 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2154 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2155 | --run=* | --ru=* | --r=*)
2156 runstatedir=$ac_optarg ;;
2158 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2159 ac_prev=sbindir ;;
2160 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2161 | --sbi=* | --sb=*)
2162 sbindir=$ac_optarg ;;
2164 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2165 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2166 | --sharedst | --shareds | --shared | --share | --shar \
2167 | --sha | --sh)
2168 ac_prev=sharedstatedir ;;
2169 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2170 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2171 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2172 | --sha=* | --sh=*)
2173 sharedstatedir=$ac_optarg ;;
2175 -site | --site | --sit)
2176 ac_prev=site ;;
2177 -site=* | --site=* | --sit=*)
2178 site=$ac_optarg ;;
2180 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2181 ac_prev=srcdir ;;
2182 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2183 srcdir=$ac_optarg ;;
2185 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2186 | --syscon | --sysco | --sysc | --sys | --sy)
2187 ac_prev=sysconfdir ;;
2188 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2189 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2190 sysconfdir=$ac_optarg ;;
2192 -target | --target | --targe | --targ | --tar | --ta | --t)
2193 ac_prev=target_alias ;;
2194 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2195 target_alias=$ac_optarg ;;
2197 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2198 verbose=yes ;;
2200 -version | --version | --versio | --versi | --vers | -V)
2201 ac_init_version=: ;;
2203 -with-* | --with-*)
2204 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2205 # Reject names that are not valid shell variable names.
2206 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2207 as_fn_error $? "invalid package name: \`$ac_useropt'"
2208 ac_useropt_orig=$ac_useropt
2209 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2210 case $ac_user_opts in
2212 "with_$ac_useropt"
2213 "*) ;;
2214 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2215 ac_unrecognized_sep=', ';;
2216 esac
2217 eval with_$ac_useropt=\$ac_optarg ;;
2219 -without-* | --without-*)
2220 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2221 # Reject names that are not valid shell variable names.
2222 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2223 as_fn_error $? "invalid package name: \`$ac_useropt'"
2224 ac_useropt_orig=$ac_useropt
2225 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2226 case $ac_user_opts in
2228 "with_$ac_useropt"
2229 "*) ;;
2230 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2231 ac_unrecognized_sep=', ';;
2232 esac
2233 eval with_$ac_useropt=no ;;
2235 --x)
2236 # Obsolete; use --with-x.
2237 with_x=yes ;;
2239 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2240 | --x-incl | --x-inc | --x-in | --x-i)
2241 ac_prev=x_includes ;;
2242 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2243 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2244 x_includes=$ac_optarg ;;
2246 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2247 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2248 ac_prev=x_libraries ;;
2249 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2250 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2251 x_libraries=$ac_optarg ;;
2253 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2254 Try \`$0 --help' for more information"
2257 *=*)
2258 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2259 # Reject names that are not valid shell variable names.
2260 case $ac_envvar in #(
2261 '' | [0-9]* | *[!_$as_cr_alnum]* )
2262 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2263 esac
2264 eval $ac_envvar=\$ac_optarg
2265 export $ac_envvar ;;
2268 # FIXME: should be removed in autoconf 3.0.
2269 printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
2270 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2271 printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
2272 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2275 esac
2276 done
2278 if test -n "$ac_prev"; then
2279 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2280 as_fn_error $? "missing argument to $ac_option"
2283 if test -n "$ac_unrecognized_opts"; then
2284 case $enable_option_checking in
2285 no) ;;
2286 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2287 *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2288 esac
2291 # Check all directory arguments for consistency.
2292 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2293 datadir sysconfdir sharedstatedir localstatedir includedir \
2294 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2295 libdir localedir mandir runstatedir
2297 eval ac_val=\$$ac_var
2298 # Remove trailing slashes.
2299 case $ac_val in
2300 */ )
2301 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2302 eval $ac_var=\$ac_val;;
2303 esac
2304 # Be sure to have absolute directory names.
2305 case $ac_val in
2306 [\\/$]* | ?:[\\/]* ) continue;;
2307 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2308 esac
2309 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2310 done
2312 # There might be people who depend on the old broken behavior: `$host'
2313 # used to hold the argument of --host etc.
2314 # FIXME: To remove some day.
2315 build=$build_alias
2316 host=$host_alias
2317 target=$target_alias
2319 # FIXME: To remove some day.
2320 if test "x$host_alias" != x; then
2321 if test "x$build_alias" = x; then
2322 cross_compiling=maybe
2323 elif test "x$build_alias" != "x$host_alias"; then
2324 cross_compiling=yes
2328 ac_tool_prefix=
2329 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2331 test "$silent" = yes && exec 6>/dev/null
2334 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2335 ac_ls_di=`ls -di .` &&
2336 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2337 as_fn_error $? "working directory cannot be determined"
2338 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2339 as_fn_error $? "pwd does not report name of working directory"
2342 # Find the source files, if location was not specified.
2343 if test -z "$srcdir"; then
2344 ac_srcdir_defaulted=yes
2345 # Try the directory containing this script, then the parent directory.
2346 ac_confdir=`$as_dirname -- "$as_myself" ||
2347 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2348 X"$as_myself" : 'X\(//\)[^/]' \| \
2349 X"$as_myself" : 'X\(//\)$' \| \
2350 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2351 printf "%s\n" X"$as_myself" |
2352 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2353 s//\1/
2356 /^X\(\/\/\)[^/].*/{
2357 s//\1/
2360 /^X\(\/\/\)$/{
2361 s//\1/
2364 /^X\(\/\).*/{
2365 s//\1/
2368 s/.*/./; q'`
2369 srcdir=$ac_confdir
2370 if test ! -r "$srcdir/$ac_unique_file"; then
2371 srcdir=..
2373 else
2374 ac_srcdir_defaulted=no
2376 if test ! -r "$srcdir/$ac_unique_file"; then
2377 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2378 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2380 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2381 ac_abs_confdir=`(
2382 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2383 pwd)`
2384 # When building in place, set srcdir=.
2385 if test "$ac_abs_confdir" = "$ac_pwd"; then
2386 srcdir=.
2388 # Remove unnecessary trailing slashes from srcdir.
2389 # Double slashes in file names in object file debugging info
2390 # mess up M-x gdb in Emacs.
2391 case $srcdir in
2392 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2393 esac
2394 for ac_var in $ac_precious_vars; do
2395 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2396 eval ac_env_${ac_var}_value=\$${ac_var}
2397 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2398 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2399 done
2402 # Report the --help message.
2404 if test "$ac_init_help" = "long"; then
2405 # Omit some internal or obsolete options to make the list less imposing.
2406 # This message is too long to be a string in the A/UX 3.1 sh.
2407 cat <<_ACEOF
2408 \`configure' configures Wine 9.11 to adapt to many kinds of systems.
2410 Usage: $0 [OPTION]... [VAR=VALUE]...
2412 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2413 VAR=VALUE. See below for descriptions of some of the useful variables.
2415 Defaults for the options are specified in brackets.
2417 Configuration:
2418 -h, --help display this help and exit
2419 --help=short display options specific to this package
2420 --help=recursive display the short help of all the included packages
2421 -V, --version display version information and exit
2422 -q, --quiet, --silent do not print \`checking ...' messages
2423 --cache-file=FILE cache test results in FILE [disabled]
2424 -C, --config-cache alias for \`--cache-file=config.cache'
2425 -n, --no-create do not create output files
2426 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2428 Installation directories:
2429 --prefix=PREFIX install architecture-independent files in PREFIX
2430 [$ac_default_prefix]
2431 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2432 [PREFIX]
2434 By default, \`make install' will install all the files in
2435 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2436 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2437 for instance \`--prefix=\$HOME'.
2439 For better control, use the options below.
2441 Fine tuning of the installation directories:
2442 --bindir=DIR user executables [EPREFIX/bin]
2443 --sbindir=DIR system admin executables [EPREFIX/sbin]
2444 --libexecdir=DIR program executables [EPREFIX/libexec]
2445 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2446 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2447 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2448 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2449 --libdir=DIR object code libraries [EPREFIX/lib]
2450 --includedir=DIR C header files [PREFIX/include]
2451 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2452 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2453 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2454 --infodir=DIR info documentation [DATAROOTDIR/info]
2455 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2456 --mandir=DIR man documentation [DATAROOTDIR/man]
2457 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2458 --htmldir=DIR html documentation [DOCDIR]
2459 --dvidir=DIR dvi documentation [DOCDIR]
2460 --pdfdir=DIR pdf documentation [DOCDIR]
2461 --psdir=DIR ps documentation [DOCDIR]
2462 _ACEOF
2464 cat <<\_ACEOF
2466 X features:
2467 --x-includes=DIR X include files are in DIR
2468 --x-libraries=DIR X library files are in DIR
2470 System types:
2471 --build=BUILD configure for building on BUILD [guessed]
2472 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2473 _ACEOF
2476 if test -n "$ac_init_help"; then
2477 case $ac_init_help in
2478 short | recursive ) echo "Configuration of Wine 9.11:";;
2479 esac
2480 cat <<\_ACEOF
2482 Optional Features:
2483 --disable-option-checking ignore unrecognized --enable/--with options
2484 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2485 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2486 --enable-archs={i386,x86_64,arm,aarch64}
2487 enable multiple architectures for PE compilation
2488 --disable-win16 do not include Win16 support
2489 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2490 binaries)
2491 --disable-tests do not build the regression tests
2492 --enable-build-id include .buildid section in output objects
2493 --enable-maintainer-mode
2494 enable maintainer-specific build rules
2495 --enable-silent-rules use silent build rules (override: "make V=1")
2496 --enable-werror treat compilation warnings as errors
2497 --disable-largefile omit support for large files
2499 Optional Packages:
2500 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2501 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2502 --without-alsa do not use the Alsa sound support
2503 --without-capi do not use CAPI (ISDN support)
2504 --without-coreaudio do not use the CoreAudio sound support
2505 --without-cups do not use CUPS
2506 --without-dbus do not use DBus (dynamic device support)
2507 --without-fontconfig do not use fontconfig
2508 --without-freetype do not use the FreeType library
2509 --without-gettext do not use gettext
2510 --with-gettextpo use the GetTextPO library to rebuild po files
2511 --without-gphoto do not use gphoto (Digital Camera support)
2512 --without-gnutls do not use GnuTLS (schannel support)
2513 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2514 --without-gstreamer do not use GStreamer (codecs support)
2515 --without-inotify do not use inotify (filesystem change notifications)
2516 --without-krb5 do not use krb5 (Kerberos)
2517 --without-mingw do not use the MinGW cross-compiler
2518 --without-netapi do not use the Samba NetAPI library
2519 --without-odbc do not use the ODBC library
2520 --without-opencl do not use OpenCL
2521 --without-opengl do not use OpenGL
2522 --without-osmesa do not use the OSMesa library
2523 --without-oss do not use the OSS sound support
2524 --without-pcap do not use the Packet Capture library
2525 --without-pcsclite do not use PCSC lite
2526 --without-pthread do not use the pthread library
2527 --without-pulse do not use PulseAudio sound support
2528 --without-sane do not use SANE (scanner support)
2529 --without-sdl do not use SDL
2530 --without-udev do not use udev (plug and play support)
2531 --without-unwind do not use the libunwind library (exception
2532 handling)
2533 --without-usb do not use the libusb library
2534 --without-v4l2 do not use v4l2 (video capture)
2535 --without-vulkan do not use Vulkan
2536 --without-wayland do not build the Wayland driver
2537 --without-xcomposite do not use the Xcomposite extension
2538 --without-xcursor do not use the Xcursor extension
2539 --without-xfixes do not use Xfixes for clipboard change notifications
2540 --without-xinerama do not use Xinerama (legacy multi-monitor support)
2541 --without-xinput do not use the Xinput extension
2542 --without-xinput2 do not use the Xinput 2 extension
2543 --without-xrandr do not use Xrandr (multi-monitor support)
2544 --without-xrender do not use the Xrender extension
2545 --without-xshape do not use the Xshape extension
2546 --without-xshm do not use XShm (shared memory extension)
2547 --without-xxf86vm do not use XFree video mode extension
2548 --with-system-dllpath=PATH
2549 load external PE dependencies from colon-separated
2550 path PATH
2551 --with-wine-tools=DIR use Wine tools from directory DIR
2552 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2553 --with-x use the X Window System
2555 Some influential environment variables:
2556 CC C compiler command
2557 CFLAGS C compiler flags
2558 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2559 nonstandard directory <lib dir>
2560 LIBS libraries to pass to the linker, e.g. -l<library>
2561 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2562 you have headers in a nonstandard directory <include dir>
2563 CXX C++ compiler command
2564 CXXFLAGS C++ compiler flags
2565 OBJC Objective C compiler command
2566 OBJCFLAGS Objective C compiler flags
2567 FAUDIO_PE_CFLAGS
2568 C compiler flags for the PE faudio, overriding the bundled
2569 version
2570 FAUDIO_PE_LIBS
2571 Linker flags for the PE faudio, overriding the bundled version
2572 FLUIDSYNTH_PE_CFLAGS
2573 C compiler flags for the PE fluidsynth, overriding the bundled
2574 version
2575 FLUIDSYNTH_PE_LIBS
2576 Linker flags for the PE fluidsynth, overriding the bundled
2577 version
2578 GSM_PE_CFLAGS
2579 C compiler flags for the PE gsm, overriding the bundled version
2580 GSM_PE_LIBS Linker flags for the PE gsm, overriding the bundled version
2581 JPEG_PE_CFLAGS
2582 C compiler flags for the PE jpeg, overriding the bundled version
2583 JPEG_PE_LIBS
2584 Linker flags for the PE jpeg, overriding the bundled version
2585 JXR_PE_CFLAGS
2586 C compiler flags for the PE jxr, overriding the bundled version
2587 JXR_PE_LIBS Linker flags for the PE jxr, overriding the bundled version
2588 LCMS2_PE_CFLAGS
2589 C compiler flags for the PE lcms2, overriding the bundled
2590 version
2591 LCMS2_PE_LIBS
2592 Linker flags for the PE lcms2, overriding the bundled version
2593 LDAP_PE_CFLAGS
2594 C compiler flags for the PE ldap, overriding the bundled version
2595 LDAP_PE_LIBS
2596 Linker flags for the PE ldap, overriding the bundled version
2597 MPG123_PE_CFLAGS
2598 C compiler flags for the PE mpg123, overriding the bundled
2599 version
2600 MPG123_PE_LIBS
2601 Linker flags for the PE mpg123, overriding the bundled version
2602 MUSL_PE_CFLAGS
2603 C compiler flags for the PE musl, overriding the bundled version
2604 MUSL_PE_LIBS
2605 Linker flags for the PE musl, overriding the bundled version
2606 PNG_PE_CFLAGS
2607 C compiler flags for the PE png, overriding the bundled version
2608 PNG_PE_LIBS Linker flags for the PE png, overriding the bundled version
2609 TIFF_PE_CFLAGS
2610 C compiler flags for the PE tiff, overriding the bundled version
2611 TIFF_PE_LIBS
2612 Linker flags for the PE tiff, overriding the bundled version
2613 VKD3D_PE_CFLAGS
2614 C compiler flags for the PE vkd3d, overriding the bundled
2615 version
2616 VKD3D_PE_LIBS
2617 Linker flags for the PE vkd3d, overriding the bundled version
2618 XML2_PE_CFLAGS
2619 C compiler flags for the PE xml2, overriding the bundled version
2620 XML2_PE_LIBS
2621 Linker flags for the PE xml2, overriding the bundled version
2622 XSLT_PE_CFLAGS
2623 C compiler flags for the PE xslt, overriding the bundled version
2624 XSLT_PE_LIBS
2625 Linker flags for the PE xslt, overriding the bundled version
2626 ZLIB_PE_CFLAGS
2627 C compiler flags for the PE zlib, overriding the bundled version
2628 ZLIB_PE_LIBS
2629 Linker flags for the PE zlib, overriding the bundled version
2630 ZYDIS_PE_CFLAGS
2631 C compiler flags for the PE zydis, overriding the bundled
2632 version
2633 ZYDIS_PE_LIBS
2634 Linker flags for the PE zydis, overriding the bundled version
2635 XMKMF Path to xmkmf, Makefile generator for X Window System
2636 CPP C preprocessor
2637 WAYLAND_CLIENT_CFLAGS
2638 C compiler flags for wayland-client, overriding pkg-config
2639 WAYLAND_CLIENT_LIBS
2640 Linker flags for wayland-client, overriding pkg-config
2641 XKBCOMMON_CFLAGS
2642 C compiler flags for xkbcommon, overriding pkg-config
2643 XKBCOMMON_LIBS
2644 Linker flags for xkbcommon, overriding pkg-config
2645 XKBREGISTRY_CFLAGS
2646 C compiler flags for xkbregistry, overriding pkg-config
2647 XKBREGISTRY_LIBS
2648 Linker flags for xkbregistry, overriding pkg-config
2649 EGL_CFLAGS C compiler flags for egl, overriding pkg-config
2650 EGL_LIBS Linker flags for egl, overriding pkg-config
2651 WAYLAND_EGL_CFLAGS
2652 C compiler flags for wayland-egl, overriding pkg-config
2653 WAYLAND_EGL_LIBS
2654 Linker flags for wayland-egl, overriding pkg-config
2655 ODBC_CFLAGS C compiler flags for odbc, overriding pkg-config
2656 ODBC_LIBS Linker flags for odbc, overriding pkg-config
2657 INOTIFY_CFLAGS
2658 C compiler flags for libinotify, overriding pkg-config
2659 INOTIFY_LIBS
2660 Linker flags for libinotify, overriding pkg-config
2661 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2662 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2663 GNUTLS_CFLAGS
2664 C compiler flags for gnutls, overriding pkg-config
2665 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2666 SANE_CFLAGS C compiler flags for sane-backends, overriding pkg-config
2667 SANE_LIBS Linker flags for sane-backends, overriding pkg-config
2668 USB_CFLAGS C compiler flags for libusb-1.0, overriding pkg-config
2669 USB_LIBS Linker flags for libusb-1.0, overriding pkg-config
2670 GPHOTO2_CFLAGS
2671 C compiler flags for libgphoto2, overriding pkg-config
2672 GPHOTO2_LIBS
2673 Linker flags for libgphoto2, overriding pkg-config
2674 GPHOTO2_PORT_CFLAGS
2675 C compiler flags for libgphoto2_port, overriding pkg-config
2676 GPHOTO2_PORT_LIBS
2677 Linker flags for libgphoto2_port, overriding pkg-config
2678 FREETYPE_CFLAGS
2679 C compiler flags for freetype2, overriding pkg-config
2680 FREETYPE_LIBS
2681 Linker flags for freetype2, overriding pkg-config
2682 PULSE_CFLAGS
2683 C compiler flags for libpulse, overriding pkg-config
2684 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2685 GSTREAMER_CFLAGS
2686 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2687 gstreamer-audio-1.0 gstreamer-tag-1.0, overriding pkg-config
2688 GSTREAMER_LIBS
2689 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2690 gstreamer-audio-1.0 gstreamer-tag-1.0, overriding pkg-config
2691 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2692 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2693 UNWIND_CFLAGS
2694 C compiler flags for libunwind, overriding pkg-config
2695 UNWIND_LIBS Linker flags for libunwind, overriding pkg-config
2696 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2697 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2698 CAPI20_CFLAGS
2699 C compiler flags for capi20, overriding pkg-config
2700 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2701 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2702 CUPS_LIBS Linker flags for cups, overriding pkg-config
2703 FONTCONFIG_CFLAGS
2704 C compiler flags for fontconfig, overriding pkg-config
2705 FONTCONFIG_LIBS
2706 Linker flags for fontconfig, overriding pkg-config
2707 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2708 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2709 GSSAPI_CFLAGS
2710 C compiler flags for krb5-gssapi, overriding pkg-config
2711 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2712 NETAPI_CFLAGS
2713 C compiler flags for netapi, overriding pkg-config
2714 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2716 Use these variables to override the choices made by `configure' or to help
2717 it to find libraries and programs with nonstandard names/locations.
2719 Report bugs to <wine-devel@winehq.org>.
2720 Wine home page: <https://www.winehq.org>.
2721 _ACEOF
2722 ac_status=$?
2725 if test "$ac_init_help" = "recursive"; then
2726 # If there are subdirs, report their specific --help.
2727 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2728 test -d "$ac_dir" ||
2729 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2730 continue
2731 ac_builddir=.
2733 case "$ac_dir" in
2734 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2736 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
2737 # A ".." for each directory in $ac_dir_suffix.
2738 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2739 case $ac_top_builddir_sub in
2740 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2741 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2742 esac ;;
2743 esac
2744 ac_abs_top_builddir=$ac_pwd
2745 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2746 # for backward compatibility:
2747 ac_top_builddir=$ac_top_build_prefix
2749 case $srcdir in
2750 .) # We are building in place.
2751 ac_srcdir=.
2752 ac_top_srcdir=$ac_top_builddir_sub
2753 ac_abs_top_srcdir=$ac_pwd ;;
2754 [\\/]* | ?:[\\/]* ) # Absolute name.
2755 ac_srcdir=$srcdir$ac_dir_suffix;
2756 ac_top_srcdir=$srcdir
2757 ac_abs_top_srcdir=$srcdir ;;
2758 *) # Relative name.
2759 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2760 ac_top_srcdir=$ac_top_build_prefix$srcdir
2761 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2762 esac
2763 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2765 cd "$ac_dir" || { ac_status=$?; continue; }
2766 # Check for configure.gnu first; this name is used for a wrapper for
2767 # Metaconfig's "Configure" on case-insensitive file systems.
2768 if test -f "$ac_srcdir/configure.gnu"; then
2769 echo &&
2770 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2771 elif test -f "$ac_srcdir/configure"; then
2772 echo &&
2773 $SHELL "$ac_srcdir/configure" --help=recursive
2774 else
2775 printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2776 fi || ac_status=$?
2777 cd "$ac_pwd" || { ac_status=$?; break; }
2778 done
2781 test -n "$ac_init_help" && exit $ac_status
2782 if $ac_init_version; then
2783 cat <<\_ACEOF
2784 Wine configure 9.11
2785 generated by GNU Autoconf 2.71
2787 Copyright (C) 2021 Free Software Foundation, Inc.
2788 This configure script is free software; the Free Software Foundation
2789 gives unlimited permission to copy, distribute and modify it.
2790 _ACEOF
2791 exit
2794 ## ------------------------ ##
2795 ## Autoconf initialization. ##
2796 ## ------------------------ ##
2798 # ac_fn_c_try_compile LINENO
2799 # --------------------------
2800 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2801 ac_fn_c_try_compile ()
2803 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2804 rm -f conftest.$ac_objext conftest.beam
2805 if { { ac_try="$ac_compile"
2806 case "(($ac_try" in
2807 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2808 *) ac_try_echo=$ac_try;;
2809 esac
2810 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2811 printf "%s\n" "$ac_try_echo"; } >&5
2812 (eval "$ac_compile") 2>conftest.err
2813 ac_status=$?
2814 if test -s conftest.err; then
2815 grep -v '^ *+' conftest.err >conftest.er1
2816 cat conftest.er1 >&5
2817 mv -f conftest.er1 conftest.err
2819 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2820 test $ac_status = 0; } && {
2821 test -z "$ac_c_werror_flag" ||
2822 test ! -s conftest.err
2823 } && test -s conftest.$ac_objext
2824 then :
2825 ac_retval=0
2826 else $as_nop
2827 printf "%s\n" "$as_me: failed program was:" >&5
2828 sed 's/^/| /' conftest.$ac_ext >&5
2830 ac_retval=1
2832 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2833 as_fn_set_status $ac_retval
2835 } # ac_fn_c_try_compile
2837 # ac_fn_cxx_try_compile LINENO
2838 # ----------------------------
2839 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2840 ac_fn_cxx_try_compile ()
2842 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2843 rm -f conftest.$ac_objext conftest.beam
2844 if { { ac_try="$ac_compile"
2845 case "(($ac_try" in
2846 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2847 *) ac_try_echo=$ac_try;;
2848 esac
2849 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2850 printf "%s\n" "$ac_try_echo"; } >&5
2851 (eval "$ac_compile") 2>conftest.err
2852 ac_status=$?
2853 if test -s conftest.err; then
2854 grep -v '^ *+' conftest.err >conftest.er1
2855 cat conftest.er1 >&5
2856 mv -f conftest.er1 conftest.err
2858 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2859 test $ac_status = 0; } && {
2860 test -z "$ac_cxx_werror_flag" ||
2861 test ! -s conftest.err
2862 } && test -s conftest.$ac_objext
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 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2872 as_fn_set_status $ac_retval
2874 } # ac_fn_cxx_try_compile
2876 # ac_fn_c_try_link LINENO
2877 # -----------------------
2878 # Try to link conftest.$ac_ext, and return whether this succeeded.
2879 ac_fn_c_try_link ()
2881 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2882 rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
2883 if { { ac_try="$ac_link"
2884 case "(($ac_try" in
2885 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2886 *) ac_try_echo=$ac_try;;
2887 esac
2888 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2889 printf "%s\n" "$ac_try_echo"; } >&5
2890 (eval "$ac_link") 2>conftest.err
2891 ac_status=$?
2892 if test -s conftest.err; then
2893 grep -v '^ *+' conftest.err >conftest.er1
2894 cat conftest.er1 >&5
2895 mv -f conftest.er1 conftest.err
2897 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2898 test $ac_status = 0; } && {
2899 test -z "$ac_c_werror_flag" ||
2900 test ! -s conftest.err
2901 } && test -s conftest$ac_exeext && {
2902 test "$cross_compiling" = yes ||
2903 test -x conftest$ac_exeext
2905 then :
2906 ac_retval=0
2907 else $as_nop
2908 printf "%s\n" "$as_me: failed program was:" >&5
2909 sed 's/^/| /' conftest.$ac_ext >&5
2911 ac_retval=1
2913 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2914 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2915 # interfere with the next link command; also delete a directory that is
2916 # left behind by Apple's compiler. We do this before executing the actions.
2917 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2918 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2919 as_fn_set_status $ac_retval
2921 } # ac_fn_c_try_link
2923 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2924 # -------------------------------------------------------
2925 # Tests whether HEADER exists and can be compiled using the include files in
2926 # INCLUDES, setting the cache variable VAR accordingly.
2927 ac_fn_c_check_header_compile ()
2929 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2930 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2931 printf %s "checking for $2... " >&6; }
2932 if eval test \${$3+y}
2933 then :
2934 printf %s "(cached) " >&6
2935 else $as_nop
2936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2937 /* end confdefs.h. */
2939 #include <$2>
2940 _ACEOF
2941 if ac_fn_c_try_compile "$LINENO"
2942 then :
2943 eval "$3=yes"
2944 else $as_nop
2945 eval "$3=no"
2947 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2949 eval ac_res=\$$3
2950 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2951 printf "%s\n" "$ac_res" >&6; }
2952 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2954 } # ac_fn_c_check_header_compile
2956 # ac_fn_objc_try_compile LINENO
2957 # -----------------------------
2958 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2959 ac_fn_objc_try_compile ()
2961 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2962 rm -f conftest.$ac_objext conftest.beam
2963 if { { ac_try="$ac_compile"
2964 case "(($ac_try" in
2965 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2966 *) ac_try_echo=$ac_try;;
2967 esac
2968 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2969 printf "%s\n" "$ac_try_echo"; } >&5
2970 (eval "$ac_compile") 2>conftest.err
2971 ac_status=$?
2972 if test -s conftest.err; then
2973 grep -v '^ *+' conftest.err >conftest.er1
2974 cat conftest.er1 >&5
2975 mv -f conftest.er1 conftest.err
2977 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2978 test $ac_status = 0; } && {
2979 test -z "$ac_objc_werror_flag" ||
2980 test ! -s conftest.err
2981 } && test -s conftest.$ac_objext
2982 then :
2983 ac_retval=0
2984 else $as_nop
2985 printf "%s\n" "$as_me: failed program was:" >&5
2986 sed 's/^/| /' conftest.$ac_ext >&5
2988 ac_retval=1
2990 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2991 as_fn_set_status $ac_retval
2993 } # ac_fn_objc_try_compile
2995 # ac_fn_c_check_func LINENO FUNC VAR
2996 # ----------------------------------
2997 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2998 ac_fn_c_check_func ()
3000 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3001 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3002 printf %s "checking for $2... " >&6; }
3003 if eval test \${$3+y}
3004 then :
3005 printf %s "(cached) " >&6
3006 else $as_nop
3007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3008 /* end confdefs.h. */
3009 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
3010 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3011 #define $2 innocuous_$2
3013 /* System header to define __stub macros and hopefully few prototypes,
3014 which can conflict with char $2 (); below. */
3016 #include <limits.h>
3017 #undef $2
3019 /* Override any GCC internal prototype to avoid an error.
3020 Use char because int might match the return type of a GCC
3021 builtin and then its argument prototype would still apply. */
3022 #ifdef __cplusplus
3023 extern "C"
3024 #endif
3025 char $2 ();
3026 /* The GNU C library defines this for functions which it implements
3027 to always fail with ENOSYS. Some functions are actually named
3028 something starting with __ and the normal name is an alias. */
3029 #if defined __stub_$2 || defined __stub___$2
3030 choke me
3031 #endif
3034 main (void)
3036 return $2 ();
3038 return 0;
3040 _ACEOF
3041 if ac_fn_c_try_link "$LINENO"
3042 then :
3043 eval "$3=yes"
3044 else $as_nop
3045 eval "$3=no"
3047 rm -f core conftest.err conftest.$ac_objext conftest.beam \
3048 conftest$ac_exeext conftest.$ac_ext
3050 eval ac_res=\$$3
3051 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3052 printf "%s\n" "$ac_res" >&6; }
3053 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3055 } # ac_fn_c_check_func
3057 # ac_fn_c_try_cpp LINENO
3058 # ----------------------
3059 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
3060 ac_fn_c_try_cpp ()
3062 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3063 if { { ac_try="$ac_cpp conftest.$ac_ext"
3064 case "(($ac_try" in
3065 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3066 *) ac_try_echo=$ac_try;;
3067 esac
3068 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3069 printf "%s\n" "$ac_try_echo"; } >&5
3070 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
3071 ac_status=$?
3072 if test -s conftest.err; then
3073 grep -v '^ *+' conftest.err >conftest.er1
3074 cat conftest.er1 >&5
3075 mv -f conftest.er1 conftest.err
3077 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3078 test $ac_status = 0; } > conftest.i && {
3079 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3080 test ! -s conftest.err
3082 then :
3083 ac_retval=0
3084 else $as_nop
3085 printf "%s\n" "$as_me: failed program was:" >&5
3086 sed 's/^/| /' conftest.$ac_ext >&5
3088 ac_retval=1
3090 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3091 as_fn_set_status $ac_retval
3093 } # ac_fn_c_try_cpp
3095 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3096 # ----------------------------------------------------
3097 # Tries to find if the field MEMBER exists in type AGGR, after including
3098 # INCLUDES, setting cache variable VAR accordingly.
3099 ac_fn_c_check_member ()
3101 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3102 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3103 printf %s "checking for $2.$3... " >&6; }
3104 if eval test \${$4+y}
3105 then :
3106 printf %s "(cached) " >&6
3107 else $as_nop
3108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3109 /* end confdefs.h. */
3112 main (void)
3114 static $2 ac_aggr;
3115 if (ac_aggr.$3)
3116 return 0;
3118 return 0;
3120 _ACEOF
3121 if ac_fn_c_try_compile "$LINENO"
3122 then :
3123 eval "$4=yes"
3124 else $as_nop
3125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3126 /* end confdefs.h. */
3129 main (void)
3131 static $2 ac_aggr;
3132 if (sizeof ac_aggr.$3)
3133 return 0;
3135 return 0;
3137 _ACEOF
3138 if ac_fn_c_try_compile "$LINENO"
3139 then :
3140 eval "$4=yes"
3141 else $as_nop
3142 eval "$4=no"
3144 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3146 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3148 eval ac_res=\$$4
3149 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3150 printf "%s\n" "$ac_res" >&6; }
3151 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3153 } # ac_fn_c_check_member
3155 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3156 # -------------------------------------------
3157 # Tests whether TYPE exists after having included INCLUDES, setting cache
3158 # variable VAR accordingly.
3159 ac_fn_c_check_type ()
3161 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3162 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3163 printf %s "checking for $2... " >&6; }
3164 if eval test \${$3+y}
3165 then :
3166 printf %s "(cached) " >&6
3167 else $as_nop
3168 eval "$3=no"
3169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3170 /* end confdefs.h. */
3173 main (void)
3175 if (sizeof ($2))
3176 return 0;
3178 return 0;
3180 _ACEOF
3181 if ac_fn_c_try_compile "$LINENO"
3182 then :
3183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3184 /* end confdefs.h. */
3187 main (void)
3189 if (sizeof (($2)))
3190 return 0;
3192 return 0;
3194 _ACEOF
3195 if ac_fn_c_try_compile "$LINENO"
3196 then :
3198 else $as_nop
3199 eval "$3=yes"
3201 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3203 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3205 eval ac_res=\$$3
3206 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3207 printf "%s\n" "$ac_res" >&6; }
3208 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3210 } # ac_fn_c_check_type
3211 ac_configure_args_raw=
3212 for ac_arg
3214 case $ac_arg in
3215 *\'*)
3216 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3217 esac
3218 as_fn_append ac_configure_args_raw " '$ac_arg'"
3219 done
3221 case $ac_configure_args_raw in
3222 *$as_nl*)
3223 ac_safe_unquote= ;;
3225 ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab.
3226 ac_unsafe_a="$ac_unsafe_z#~"
3227 ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
3228 ac_configure_args_raw=` printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
3229 esac
3231 cat >config.log <<_ACEOF
3232 This file contains any messages produced by compilers while
3233 running configure, to aid debugging if configure makes a mistake.
3235 It was created by Wine $as_me 9.11, which was
3236 generated by GNU Autoconf 2.71. Invocation command line was
3238 $ $0$ac_configure_args_raw
3240 _ACEOF
3241 exec 5>>config.log
3243 cat <<_ASUNAME
3244 ## --------- ##
3245 ## Platform. ##
3246 ## --------- ##
3248 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3249 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3250 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3251 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3252 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3254 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3255 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3257 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3258 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3259 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3260 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3261 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3262 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3263 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3265 _ASUNAME
3267 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3268 for as_dir in $PATH
3270 IFS=$as_save_IFS
3271 case $as_dir in #(((
3272 '') as_dir=./ ;;
3273 */) ;;
3274 *) as_dir=$as_dir/ ;;
3275 esac
3276 printf "%s\n" "PATH: $as_dir"
3277 done
3278 IFS=$as_save_IFS
3280 } >&5
3282 cat >&5 <<_ACEOF
3285 ## ----------- ##
3286 ## Core tests. ##
3287 ## ----------- ##
3289 _ACEOF
3292 # Keep a trace of the command line.
3293 # Strip out --no-create and --no-recursion so they do not pile up.
3294 # Strip out --silent because we don't want to record it for future runs.
3295 # Also quote any args containing shell meta-characters.
3296 # Make two passes to allow for proper duplicate-argument suppression.
3297 ac_configure_args=
3298 ac_configure_args0=
3299 ac_configure_args1=
3300 ac_must_keep_next=false
3301 for ac_pass in 1 2
3303 for ac_arg
3305 case $ac_arg in
3306 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3307 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3308 | -silent | --silent | --silen | --sile | --sil)
3309 continue ;;
3310 *\'*)
3311 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3312 esac
3313 case $ac_pass in
3314 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3316 as_fn_append ac_configure_args1 " '$ac_arg'"
3317 if test $ac_must_keep_next = true; then
3318 ac_must_keep_next=false # Got value, back to normal.
3319 else
3320 case $ac_arg in
3321 *=* | --config-cache | -C | -disable-* | --disable-* \
3322 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3323 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3324 | -with-* | --with-* | -without-* | --without-* | --x)
3325 case "$ac_configure_args0 " in
3326 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3327 esac
3329 -* ) ac_must_keep_next=true ;;
3330 esac
3332 as_fn_append ac_configure_args " '$ac_arg'"
3334 esac
3335 done
3336 done
3337 { ac_configure_args0=; unset ac_configure_args0;}
3338 { ac_configure_args1=; unset ac_configure_args1;}
3340 # When interrupted or exit'd, cleanup temporary files, and complete
3341 # config.log. We remove comments because anyway the quotes in there
3342 # would cause problems or look ugly.
3343 # WARNING: Use '\'' to represent an apostrophe within the trap.
3344 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3345 trap 'exit_status=$?
3346 # Sanitize IFS.
3347 IFS=" "" $as_nl"
3348 # Save into config.log some information that might help in debugging.
3350 echo
3352 printf "%s\n" "## ---------------- ##
3353 ## Cache variables. ##
3354 ## ---------------- ##"
3355 echo
3356 # The following way of writing the cache mishandles newlines in values,
3358 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3359 eval ac_val=\$$ac_var
3360 case $ac_val in #(
3361 *${as_nl}*)
3362 case $ac_var in #(
3363 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3364 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3365 esac
3366 case $ac_var in #(
3367 _ | IFS | as_nl) ;; #(
3368 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3369 *) { eval $ac_var=; unset $ac_var;} ;;
3370 esac ;;
3371 esac
3372 done
3373 (set) 2>&1 |
3374 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3375 *${as_nl}ac_space=\ *)
3376 sed -n \
3377 "s/'\''/'\''\\\\'\'''\''/g;
3378 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3379 ;; #(
3381 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3383 esac |
3384 sort
3386 echo
3388 printf "%s\n" "## ----------------- ##
3389 ## Output variables. ##
3390 ## ----------------- ##"
3391 echo
3392 for ac_var in $ac_subst_vars
3394 eval ac_val=\$$ac_var
3395 case $ac_val in
3396 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3397 esac
3398 printf "%s\n" "$ac_var='\''$ac_val'\''"
3399 done | sort
3400 echo
3402 if test -n "$ac_subst_files"; then
3403 printf "%s\n" "## ------------------- ##
3404 ## File substitutions. ##
3405 ## ------------------- ##"
3406 echo
3407 for ac_var in $ac_subst_files
3409 eval ac_val=\$$ac_var
3410 case $ac_val in
3411 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3412 esac
3413 printf "%s\n" "$ac_var='\''$ac_val'\''"
3414 done | sort
3415 echo
3418 if test -s confdefs.h; then
3419 printf "%s\n" "## ----------- ##
3420 ## confdefs.h. ##
3421 ## ----------- ##"
3422 echo
3423 cat confdefs.h
3424 echo
3426 test "$ac_signal" != 0 &&
3427 printf "%s\n" "$as_me: caught signal $ac_signal"
3428 printf "%s\n" "$as_me: exit $exit_status"
3429 } >&5
3430 rm -f core *.core core.conftest.* &&
3431 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3432 exit $exit_status
3434 for ac_signal in 1 2 13 15; do
3435 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3436 done
3437 ac_signal=0
3439 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3440 rm -f -r conftest* confdefs.h
3442 printf "%s\n" "/* confdefs.h */" > confdefs.h
3444 # Predefined preprocessor variables.
3446 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
3448 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
3450 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
3452 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
3454 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
3456 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
3459 # Let the site file select an alternate cache file if it wants to.
3460 # Prefer an explicitly selected file to automatically selected ones.
3461 if test -n "$CONFIG_SITE"; then
3462 ac_site_files="$CONFIG_SITE"
3463 elif test "x$prefix" != xNONE; then
3464 ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
3465 else
3466 ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
3469 for ac_site_file in $ac_site_files
3471 case $ac_site_file in #(
3472 */*) :
3473 ;; #(
3474 *) :
3475 ac_site_file=./$ac_site_file ;;
3476 esac
3477 if test -f "$ac_site_file" && test -r "$ac_site_file"; then
3478 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3479 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
3480 sed 's/^/| /' "$ac_site_file" >&5
3481 . "$ac_site_file" \
3482 || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3483 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
3484 as_fn_error $? "failed to load site script $ac_site_file
3485 See \`config.log' for more details" "$LINENO" 5; }
3487 done
3489 if test -r "$cache_file"; then
3490 # Some versions of bash will fail to source /dev/null (special files
3491 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3492 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3493 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3494 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
3495 case $cache_file in
3496 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3497 *) . "./$cache_file";;
3498 esac
3500 else
3501 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3502 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
3503 >$cache_file
3506 # Test code for whether the C compiler supports C89 (global declarations)
3507 ac_c_conftest_c89_globals='
3508 /* Does the compiler advertise C89 conformance?
3509 Do not test the value of __STDC__, because some compilers set it to 0
3510 while being otherwise adequately conformant. */
3511 #if !defined __STDC__
3512 # error "Compiler does not advertise C89 conformance"
3513 #endif
3515 #include <stddef.h>
3516 #include <stdarg.h>
3517 struct stat;
3518 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */
3519 struct buf { int x; };
3520 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
3521 static char *e (p, i)
3522 char **p;
3523 int i;
3525 return p[i];
3527 static char *f (char * (*g) (char **, int), char **p, ...)
3529 char *s;
3530 va_list v;
3531 va_start (v,p);
3532 s = g (p, va_arg (v,int));
3533 va_end (v);
3534 return s;
3537 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3538 function prototypes and stuff, but not \xHH hex character constants.
3539 These do not provoke an error unfortunately, instead are silently treated
3540 as an "x". The following induces an error, until -std is added to get
3541 proper ANSI mode. Curiously \x00 != x always comes out true, for an
3542 array size at least. It is necessary to write \x00 == 0 to get something
3543 that is true only with -std. */
3544 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
3546 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3547 inside strings and character constants. */
3548 #define FOO(x) '\''x'\''
3549 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
3551 int test (int i, double x);
3552 struct s1 {int (*f) (int a);};
3553 struct s2 {int (*f) (double a);};
3554 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
3555 int, int);'
3557 # Test code for whether the C compiler supports C89 (body of main).
3558 ac_c_conftest_c89_main='
3559 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
3562 # Test code for whether the C compiler supports C99 (global declarations)
3563 ac_c_conftest_c99_globals='
3564 // Does the compiler advertise C99 conformance?
3565 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
3566 # error "Compiler does not advertise C99 conformance"
3567 #endif
3569 #include <stdbool.h>
3570 extern int puts (const char *);
3571 extern int printf (const char *, ...);
3572 extern int dprintf (int, const char *, ...);
3573 extern void *malloc (size_t);
3575 // Check varargs macros. These examples are taken from C99 6.10.3.5.
3576 // dprintf is used instead of fprintf to avoid needing to declare
3577 // FILE and stderr.
3578 #define debug(...) dprintf (2, __VA_ARGS__)
3579 #define showlist(...) puts (#__VA_ARGS__)
3580 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3581 static void
3582 test_varargs_macros (void)
3584 int x = 1234;
3585 int y = 5678;
3586 debug ("Flag");
3587 debug ("X = %d\n", x);
3588 showlist (The first, second, and third items.);
3589 report (x>y, "x is %d but y is %d", x, y);
3592 // Check long long types.
3593 #define BIG64 18446744073709551615ull
3594 #define BIG32 4294967295ul
3595 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3596 #if !BIG_OK
3597 #error "your preprocessor is broken"
3598 #endif
3599 #if BIG_OK
3600 #else
3601 #error "your preprocessor is broken"
3602 #endif
3603 static long long int bignum = -9223372036854775807LL;
3604 static unsigned long long int ubignum = BIG64;
3606 struct incomplete_array
3608 int datasize;
3609 double data[];
3612 struct named_init {
3613 int number;
3614 const wchar_t *name;
3615 double average;
3618 typedef const char *ccp;
3620 static inline int
3621 test_restrict (ccp restrict text)
3623 // See if C++-style comments work.
3624 // Iterate through items via the restricted pointer.
3625 // Also check for declarations in for loops.
3626 for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
3627 continue;
3628 return 0;
3631 // Check varargs and va_copy.
3632 static bool
3633 test_varargs (const char *format, ...)
3635 va_list args;
3636 va_start (args, format);
3637 va_list args_copy;
3638 va_copy (args_copy, args);
3640 const char *str = "";
3641 int number = 0;
3642 float fnumber = 0;
3644 while (*format)
3646 switch (*format++)
3648 case '\''s'\'': // string
3649 str = va_arg (args_copy, const char *);
3650 break;
3651 case '\''d'\'': // int
3652 number = va_arg (args_copy, int);
3653 break;
3654 case '\''f'\'': // float
3655 fnumber = va_arg (args_copy, double);
3656 break;
3657 default:
3658 break;
3661 va_end (args_copy);
3662 va_end (args);
3664 return *str && number && fnumber;
3668 # Test code for whether the C compiler supports C99 (body of main).
3669 ac_c_conftest_c99_main='
3670 // Check bool.
3671 _Bool success = false;
3672 success |= (argc != 0);
3674 // Check restrict.
3675 if (test_restrict ("String literal") == 0)
3676 success = true;
3677 char *restrict newvar = "Another string";
3679 // Check varargs.
3680 success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
3681 test_varargs_macros ();
3683 // Check flexible array members.
3684 struct incomplete_array *ia =
3685 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
3686 ia->datasize = 10;
3687 for (int i = 0; i < ia->datasize; ++i)
3688 ia->data[i] = i * 1.234;
3690 // Check named initializers.
3691 struct named_init ni = {
3692 .number = 34,
3693 .name = L"Test wide string",
3694 .average = 543.34343,
3697 ni.number = 58;
3699 int dynamic_array[ni.number];
3700 dynamic_array[0] = argv[0][0];
3701 dynamic_array[ni.number - 1] = 543;
3703 // work around unused variable warnings
3704 ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
3705 || dynamic_array[ni.number - 1] != 543);
3708 # Test code for whether the C compiler supports C11 (global declarations)
3709 ac_c_conftest_c11_globals='
3710 // Does the compiler advertise C11 conformance?
3711 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
3712 # error "Compiler does not advertise C11 conformance"
3713 #endif
3715 // Check _Alignas.
3716 char _Alignas (double) aligned_as_double;
3717 char _Alignas (0) no_special_alignment;
3718 extern char aligned_as_int;
3719 char _Alignas (0) _Alignas (int) aligned_as_int;
3721 // Check _Alignof.
3722 enum
3724 int_alignment = _Alignof (int),
3725 int_array_alignment = _Alignof (int[100]),
3726 char_alignment = _Alignof (char)
3728 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
3730 // Check _Noreturn.
3731 int _Noreturn does_not_return (void) { for (;;) continue; }
3733 // Check _Static_assert.
3734 struct test_static_assert
3736 int x;
3737 _Static_assert (sizeof (int) <= sizeof (long int),
3738 "_Static_assert does not work in struct");
3739 long int y;
3742 // Check UTF-8 literals.
3743 #define u8 syntax error!
3744 char const utf8_literal[] = u8"happens to be ASCII" "another string";
3746 // Check duplicate typedefs.
3747 typedef long *long_ptr;
3748 typedef long int *long_ptr;
3749 typedef long_ptr long_ptr;
3751 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
3752 struct anonymous
3754 union {
3755 struct { int i; int j; };
3756 struct { int k; long int l; } w;
3758 int m;
3759 } v1;
3762 # Test code for whether the C compiler supports C11 (body of main).
3763 ac_c_conftest_c11_main='
3764 _Static_assert ((offsetof (struct anonymous, i)
3765 == offsetof (struct anonymous, w.k)),
3766 "Anonymous union alignment botch");
3767 v1.i = 2;
3768 v1.w.k = 5;
3769 ok |= v1.i != 5;
3772 # Test code for whether the C compiler supports C11 (complete).
3773 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
3774 ${ac_c_conftest_c99_globals}
3775 ${ac_c_conftest_c11_globals}
3778 main (int argc, char **argv)
3780 int ok = 0;
3781 ${ac_c_conftest_c89_main}
3782 ${ac_c_conftest_c99_main}
3783 ${ac_c_conftest_c11_main}
3784 return ok;
3788 # Test code for whether the C compiler supports C99 (complete).
3789 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
3790 ${ac_c_conftest_c99_globals}
3793 main (int argc, char **argv)
3795 int ok = 0;
3796 ${ac_c_conftest_c89_main}
3797 ${ac_c_conftest_c99_main}
3798 return ok;
3802 # Test code for whether the C compiler supports C89 (complete).
3803 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
3806 main (int argc, char **argv)
3808 int ok = 0;
3809 ${ac_c_conftest_c89_main}
3810 return ok;
3814 # Test code for whether the C++ compiler supports C++98 (global declarations)
3815 ac_cxx_conftest_cxx98_globals='
3816 // Does the compiler advertise C++98 conformance?
3817 #if !defined __cplusplus || __cplusplus < 199711L
3818 # error "Compiler does not advertise C++98 conformance"
3819 #endif
3821 // These inclusions are to reject old compilers that
3822 // lack the unsuffixed header files.
3823 #include <cstdlib>
3824 #include <exception>
3826 // <cassert> and <cstring> are *not* freestanding headers in C++98.
3827 extern void assert (int);
3828 namespace std {
3829 extern int strcmp (const char *, const char *);
3832 // Namespaces, exceptions, and templates were all added after "C++ 2.0".
3833 using std::exception;
3834 using std::strcmp;
3836 namespace {
3838 void test_exception_syntax()
3840 try {
3841 throw "test";
3842 } catch (const char *s) {
3843 // Extra parentheses suppress a warning when building autoconf itself,
3844 // due to lint rules shared with more typical C programs.
3845 assert (!(strcmp) (s, "test"));
3849 template <typename T> struct test_template
3851 T const val;
3852 explicit test_template(T t) : val(t) {}
3853 template <typename U> T add(U u) { return static_cast<T>(u) + val; }
3856 } // anonymous namespace
3859 # Test code for whether the C++ compiler supports C++98 (body of main)
3860 ac_cxx_conftest_cxx98_main='
3861 assert (argc);
3862 assert (! argv[0]);
3864 test_exception_syntax ();
3865 test_template<double> tt (2.0);
3866 assert (tt.add (4) == 6.0);
3867 assert (true && !false);
3871 # Test code for whether the C++ compiler supports C++11 (global declarations)
3872 ac_cxx_conftest_cxx11_globals='
3873 // Does the compiler advertise C++ 2011 conformance?
3874 #if !defined __cplusplus || __cplusplus < 201103L
3875 # error "Compiler does not advertise C++11 conformance"
3876 #endif
3878 namespace cxx11test
3880 constexpr int get_val() { return 20; }
3882 struct testinit
3884 int i;
3885 double d;
3888 class delegate
3890 public:
3891 delegate(int n) : n(n) {}
3892 delegate(): delegate(2354) {}
3894 virtual int getval() { return this->n; };
3895 protected:
3896 int n;
3899 class overridden : public delegate
3901 public:
3902 overridden(int n): delegate(n) {}
3903 virtual int getval() override final { return this->n * 2; }
3906 class nocopy
3908 public:
3909 nocopy(int i): i(i) {}
3910 nocopy() = default;
3911 nocopy(const nocopy&) = delete;
3912 nocopy & operator=(const nocopy&) = delete;
3913 private:
3914 int i;
3917 // for testing lambda expressions
3918 template <typename Ret, typename Fn> Ret eval(Fn f, Ret v)
3920 return f(v);
3923 // for testing variadic templates and trailing return types
3924 template <typename V> auto sum(V first) -> V
3926 return first;
3928 template <typename V, typename... Args> auto sum(V first, Args... rest) -> V
3930 return first + sum(rest...);
3935 # Test code for whether the C++ compiler supports C++11 (body of main)
3936 ac_cxx_conftest_cxx11_main='
3938 // Test auto and decltype
3939 auto a1 = 6538;
3940 auto a2 = 48573953.4;
3941 auto a3 = "String literal";
3943 int total = 0;
3944 for (auto i = a3; *i; ++i) { total += *i; }
3946 decltype(a2) a4 = 34895.034;
3949 // Test constexpr
3950 short sa[cxx11test::get_val()] = { 0 };
3953 // Test initializer lists
3954 cxx11test::testinit il = { 4323, 435234.23544 };
3957 // Test range-based for
3958 int array[] = {9, 7, 13, 15, 4, 18, 12, 10, 5, 3,
3959 14, 19, 17, 8, 6, 20, 16, 2, 11, 1};
3960 for (auto &x : array) { x += 23; }
3963 // Test lambda expressions
3964 using cxx11test::eval;
3965 assert (eval ([](int x) { return x*2; }, 21) == 42);
3966 double d = 2.0;
3967 assert (eval ([&](double x) { return d += x; }, 3.0) == 5.0);
3968 assert (d == 5.0);
3969 assert (eval ([=](double x) mutable { return d += x; }, 4.0) == 9.0);
3970 assert (d == 5.0);
3973 // Test use of variadic templates
3974 using cxx11test::sum;
3975 auto a = sum(1);
3976 auto b = sum(1, 2);
3977 auto c = sum(1.0, 2.0, 3.0);
3980 // Test constructor delegation
3981 cxx11test::delegate d1;
3982 cxx11test::delegate d2();
3983 cxx11test::delegate d3(45);
3986 // Test override and final
3987 cxx11test::overridden o1(55464);
3990 // Test nullptr
3991 char *c = nullptr;
3994 // Test template brackets
3995 test_template<::test_template<int>> v(test_template<int>(12));
3998 // Unicode literals
3999 char const *utf8 = u8"UTF-8 string \u2500";
4000 char16_t const *utf16 = u"UTF-8 string \u2500";
4001 char32_t const *utf32 = U"UTF-32 string \u2500";
4005 # Test code for whether the C compiler supports C++11 (complete).
4006 ac_cxx_conftest_cxx11_program="${ac_cxx_conftest_cxx98_globals}
4007 ${ac_cxx_conftest_cxx11_globals}
4010 main (int argc, char **argv)
4012 int ok = 0;
4013 ${ac_cxx_conftest_cxx98_main}
4014 ${ac_cxx_conftest_cxx11_main}
4015 return ok;
4019 # Test code for whether the C compiler supports C++98 (complete).
4020 ac_cxx_conftest_cxx98_program="${ac_cxx_conftest_cxx98_globals}
4022 main (int argc, char **argv)
4024 int ok = 0;
4025 ${ac_cxx_conftest_cxx98_main}
4026 return ok;
4030 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
4031 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
4032 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
4033 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
4034 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
4035 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
4036 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
4037 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
4038 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
4040 # Auxiliary files required by this configure script.
4041 ac_aux_files="config.guess config.sub"
4043 # Locations in which to look for auxiliary files.
4044 ac_aux_dir_candidates="${srcdir}/tools"
4046 # Search for a directory containing all of the required auxiliary files,
4047 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
4048 # If we don't find one directory that contains all the files we need,
4049 # we report the set of missing files from the *first* directory in
4050 # $ac_aux_dir_candidates and give up.
4051 ac_missing_aux_files=""
4052 ac_first_candidate=:
4053 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
4054 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4055 as_found=false
4056 for as_dir in $ac_aux_dir_candidates
4058 IFS=$as_save_IFS
4059 case $as_dir in #(((
4060 '') as_dir=./ ;;
4061 */) ;;
4062 *) as_dir=$as_dir/ ;;
4063 esac
4064 as_found=:
4066 printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5
4067 ac_aux_dir_found=yes
4068 ac_install_sh=
4069 for ac_aux in $ac_aux_files
4071 # As a special case, if "install-sh" is required, that requirement
4072 # can be satisfied by any of "install-sh", "install.sh", or "shtool",
4073 # and $ac_install_sh is set appropriately for whichever one is found.
4074 if test x"$ac_aux" = x"install-sh"
4075 then
4076 if test -f "${as_dir}install-sh"; then
4077 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5
4078 ac_install_sh="${as_dir}install-sh -c"
4079 elif test -f "${as_dir}install.sh"; then
4080 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5
4081 ac_install_sh="${as_dir}install.sh -c"
4082 elif test -f "${as_dir}shtool"; then
4083 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5
4084 ac_install_sh="${as_dir}shtool install -c"
4085 else
4086 ac_aux_dir_found=no
4087 if $ac_first_candidate; then
4088 ac_missing_aux_files="${ac_missing_aux_files} install-sh"
4089 else
4090 break
4093 else
4094 if test -f "${as_dir}${ac_aux}"; then
4095 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5
4096 else
4097 ac_aux_dir_found=no
4098 if $ac_first_candidate; then
4099 ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
4100 else
4101 break
4105 done
4106 if test "$ac_aux_dir_found" = yes; then
4107 ac_aux_dir="$as_dir"
4108 break
4110 ac_first_candidate=false
4112 as_found=false
4113 done
4114 IFS=$as_save_IFS
4115 if $as_found
4116 then :
4118 else $as_nop
4119 as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
4123 # These three variables are undocumented and unsupported,
4124 # and are intended to be withdrawn in a future Autoconf release.
4125 # They can cause serious problems if a builder's source tree is in a directory
4126 # whose full name contains unusual characters.
4127 if test -f "${ac_aux_dir}config.guess"; then
4128 ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
4130 if test -f "${ac_aux_dir}config.sub"; then
4131 ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
4133 if test -f "$ac_aux_dir/configure"; then
4134 ac_configure="$SHELL ${ac_aux_dir}configure"
4137 # Check that the precious variables saved in the cache have kept the same
4138 # value.
4139 ac_cache_corrupted=false
4140 for ac_var in $ac_precious_vars; do
4141 eval ac_old_set=\$ac_cv_env_${ac_var}_set
4142 eval ac_new_set=\$ac_env_${ac_var}_set
4143 eval ac_old_val=\$ac_cv_env_${ac_var}_value
4144 eval ac_new_val=\$ac_env_${ac_var}_value
4145 case $ac_old_set,$ac_new_set in
4146 set,)
4147 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
4148 printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
4149 ac_cache_corrupted=: ;;
4150 ,set)
4151 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
4152 printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
4153 ac_cache_corrupted=: ;;
4154 ,);;
4156 if test "x$ac_old_val" != "x$ac_new_val"; then
4157 # differences in whitespace do not lead to failure.
4158 ac_old_val_w=`echo x $ac_old_val`
4159 ac_new_val_w=`echo x $ac_new_val`
4160 if test "$ac_old_val_w" != "$ac_new_val_w"; then
4161 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
4162 printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
4163 ac_cache_corrupted=:
4164 else
4165 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
4166 printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
4167 eval $ac_var=\$ac_old_val
4169 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
4170 printf "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;}
4171 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
4172 printf "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;}
4173 fi;;
4174 esac
4175 # Pass precious variables to config.status.
4176 if test "$ac_new_set" = set; then
4177 case $ac_new_val in
4178 *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
4179 *) ac_arg=$ac_var=$ac_new_val ;;
4180 esac
4181 case " $ac_configure_args " in
4182 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
4183 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
4184 esac
4186 done
4187 if $ac_cache_corrupted; then
4188 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4189 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
4190 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
4191 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
4192 as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
4193 and start over" "$LINENO" 5
4195 ## -------------------- ##
4196 ## Main body of script. ##
4197 ## -------------------- ##
4199 ac_ext=c
4200 ac_cpp='$CPP $CPPFLAGS'
4201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4207 ac_config_headers="$ac_config_headers include/config.h"
4211 libwine_version="1.0"
4214 # Check whether --enable-archs was given.
4215 if test ${enable_archs+y}
4216 then :
4217 enableval=$enable_archs;
4220 # Check whether --enable-win16 was given.
4221 if test ${enable_win16+y}
4222 then :
4223 enableval=$enable_win16;
4226 # Check whether --enable-win64 was given.
4227 if test ${enable_win64+y}
4228 then :
4229 enableval=$enable_win64;
4232 # Check whether --enable-tests was given.
4233 if test ${enable_tests+y}
4234 then :
4235 enableval=$enable_tests;
4238 # Check whether --enable-build-id was given.
4239 if test ${enable_build_id+y}
4240 then :
4241 enableval=$enable_build_id;
4244 # Check whether --enable-maintainer-mode was given.
4245 if test ${enable_maintainer_mode+y}
4246 then :
4247 enableval=$enable_maintainer_mode;
4250 # Check whether --enable-silent-rules was given.
4251 if test ${enable_silent_rules+y}
4252 then :
4253 enableval=$enable_silent_rules;
4256 # Check whether --enable-werror was given.
4257 if test ${enable_werror+y}
4258 then :
4259 enableval=$enable_werror;
4264 # Check whether --with-alsa was given.
4265 if test ${with_alsa+y}
4266 then :
4267 withval=$with_alsa;
4271 # Check whether --with-capi was given.
4272 if test ${with_capi+y}
4273 then :
4274 withval=$with_capi;
4278 # Check whether --with-coreaudio was given.
4279 if test ${with_coreaudio+y}
4280 then :
4281 withval=$with_coreaudio;
4285 # Check whether --with-cups was given.
4286 if test ${with_cups+y}
4287 then :
4288 withval=$with_cups;
4292 # Check whether --with-dbus was given.
4293 if test ${with_dbus+y}
4294 then :
4295 withval=$with_dbus;
4299 # Check whether --with-fontconfig was given.
4300 if test ${with_fontconfig+y}
4301 then :
4302 withval=$with_fontconfig;
4306 # Check whether --with-freetype was given.
4307 if test ${with_freetype+y}
4308 then :
4309 withval=$with_freetype;
4313 # Check whether --with-gettext was given.
4314 if test ${with_gettext+y}
4315 then :
4316 withval=$with_gettext;
4320 # Check whether --with-gettextpo was given.
4321 if test ${with_gettextpo+y}
4322 then :
4323 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
4327 # Check whether --with-gphoto was given.
4328 if test ${with_gphoto+y}
4329 then :
4330 withval=$with_gphoto;
4334 # Check whether --with-gnutls was given.
4335 if test ${with_gnutls+y}
4336 then :
4337 withval=$with_gnutls;
4341 # Check whether --with-gssapi was given.
4342 if test ${with_gssapi+y}
4343 then :
4344 withval=$with_gssapi;
4348 # Check whether --with-gstreamer was given.
4349 if test ${with_gstreamer+y}
4350 then :
4351 withval=$with_gstreamer;
4355 # Check whether --with-inotify was given.
4356 if test ${with_inotify+y}
4357 then :
4358 withval=$with_inotify;
4362 # Check whether --with-krb5 was given.
4363 if test ${with_krb5+y}
4364 then :
4365 withval=$with_krb5;
4369 # Check whether --with-mingw was given.
4370 if test ${with_mingw+y}
4371 then :
4372 withval=$with_mingw;
4376 # Check whether --with-netapi was given.
4377 if test ${with_netapi+y}
4378 then :
4379 withval=$with_netapi;
4383 # Check whether --with-odbc was given.
4384 if test ${with_odbc+y}
4385 then :
4386 withval=$with_odbc;
4390 # Check whether --with-opencl was given.
4391 if test ${with_opencl+y}
4392 then :
4393 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
4397 # Check whether --with-opengl was given.
4398 if test ${with_opengl+y}
4399 then :
4400 withval=$with_opengl;
4404 # Check whether --with-osmesa was given.
4405 if test ${with_osmesa+y}
4406 then :
4407 withval=$with_osmesa;
4411 # Check whether --with-oss was given.
4412 if test ${with_oss+y}
4413 then :
4414 withval=$with_oss;
4418 # Check whether --with-pcap was given.
4419 if test ${with_pcap+y}
4420 then :
4421 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
4425 # Check whether --with-pcsclite was given.
4426 if test ${with_pcsclite+y}
4427 then :
4428 withval=$with_pcsclite;
4432 # Check whether --with-pthread was given.
4433 if test ${with_pthread+y}
4434 then :
4435 withval=$with_pthread;
4439 # Check whether --with-pulse was given.
4440 if test ${with_pulse+y}
4441 then :
4442 withval=$with_pulse;
4446 # Check whether --with-sane was given.
4447 if test ${with_sane+y}
4448 then :
4449 withval=$with_sane;
4453 # Check whether --with-sdl was given.
4454 if test ${with_sdl+y}
4455 then :
4456 withval=$with_sdl;
4460 # Check whether --with-udev was given.
4461 if test ${with_udev+y}
4462 then :
4463 withval=$with_udev;
4467 # Check whether --with-unwind was given.
4468 if test ${with_unwind+y}
4469 then :
4470 withval=$with_unwind;
4474 # Check whether --with-usb was given.
4475 if test ${with_usb+y}
4476 then :
4477 withval=$with_usb;
4481 # Check whether --with-v4l2 was given.
4482 if test ${with_v4l2+y}
4483 then :
4484 withval=$with_v4l2;
4488 # Check whether --with-vulkan was given.
4489 if test ${with_vulkan+y}
4490 then :
4491 withval=$with_vulkan;
4495 # Check whether --with-wayland was given.
4496 if test ${with_wayland+y}
4497 then :
4498 withval=$with_wayland;
4502 # Check whether --with-xcomposite was given.
4503 if test ${with_xcomposite+y}
4504 then :
4505 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
4509 # Check whether --with-xcursor was given.
4510 if test ${with_xcursor+y}
4511 then :
4512 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
4516 # Check whether --with-xfixes was given.
4517 if test ${with_xfixes+y}
4518 then :
4519 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
4523 # Check whether --with-xinerama was given.
4524 if test ${with_xinerama+y}
4525 then :
4526 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
4530 # Check whether --with-xinput was given.
4531 if test ${with_xinput+y}
4532 then :
4533 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
4537 # Check whether --with-xinput2 was given.
4538 if test ${with_xinput2+y}
4539 then :
4540 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
4544 # Check whether --with-xrandr was given.
4545 if test ${with_xrandr+y}
4546 then :
4547 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
4551 # Check whether --with-xrender was given.
4552 if test ${with_xrender+y}
4553 then :
4554 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
4558 # Check whether --with-xshape was given.
4559 if test ${with_xshape+y}
4560 then :
4561 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
4565 # Check whether --with-xshm was given.
4566 if test ${with_xshm+y}
4567 then :
4568 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
4572 # Check whether --with-xxf86vm was given.
4573 if test ${with_xxf86vm+y}
4574 then :
4575 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
4580 # Check whether --with-system-dllpath was given.
4581 if test ${with_system_dllpath+y}
4582 then :
4583 withval=$with_system_dllpath; system_dllpath=$withval
4588 # Check whether --with-wine-tools was given.
4589 if test ${with_wine_tools+y}
4590 then :
4591 withval=$with_wine_tools;
4595 # Check whether --with-wine64 was given.
4596 if test ${with_wine64+y}
4597 then :
4598 withval=$with_wine64;
4605 # Make sure we can run config.sub.
4606 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
4607 as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
4609 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4610 printf %s "checking build system type... " >&6; }
4611 if test ${ac_cv_build+y}
4612 then :
4613 printf %s "(cached) " >&6
4614 else $as_nop
4615 ac_build_alias=$build_alias
4616 test "x$ac_build_alias" = x &&
4617 ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
4618 test "x$ac_build_alias" = x &&
4619 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4620 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
4621 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
4624 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4625 printf "%s\n" "$ac_cv_build" >&6; }
4626 case $ac_cv_build in
4627 *-*-*) ;;
4628 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4629 esac
4630 build=$ac_cv_build
4631 ac_save_IFS=$IFS; IFS='-'
4632 set x $ac_cv_build
4633 shift
4634 build_cpu=$1
4635 build_vendor=$2
4636 shift; shift
4637 # Remember, the first character of IFS is used to create $*,
4638 # except with old shells:
4639 build_os=$*
4640 IFS=$ac_save_IFS
4641 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4644 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4645 printf %s "checking host system type... " >&6; }
4646 if test ${ac_cv_host+y}
4647 then :
4648 printf %s "(cached) " >&6
4649 else $as_nop
4650 if test "x$host_alias" = x; then
4651 ac_cv_host=$ac_cv_build
4652 else
4653 ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
4654 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
4658 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4659 printf "%s\n" "$ac_cv_host" >&6; }
4660 case $ac_cv_host in
4661 *-*-*) ;;
4662 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4663 esac
4664 host=$ac_cv_host
4665 ac_save_IFS=$IFS; IFS='-'
4666 set x $ac_cv_host
4667 shift
4668 host_cpu=$1
4669 host_vendor=$2
4670 shift; shift
4671 # Remember, the first character of IFS is used to create $*,
4672 # except with old shells:
4673 host_os=$*
4674 IFS=$ac_save_IFS
4675 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4679 dlldir=\${libdir}/wine
4681 fontdir=\${datadir}/wine/fonts
4683 nlsdir=\${datadir}/wine/nls
4688 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4689 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4690 set x ${MAKE-make}
4691 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4692 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
4693 then :
4694 printf %s "(cached) " >&6
4695 else $as_nop
4696 cat >conftest.make <<\_ACEOF
4697 SHELL = /bin/sh
4698 all:
4699 @echo '@@@%%%=$(MAKE)=@@@%%%'
4700 _ACEOF
4701 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4702 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4703 *@@@%%%=?*=@@@%%%*)
4704 eval ac_cv_prog_make_${ac_make}_set=yes;;
4706 eval ac_cv_prog_make_${ac_make}_set=no;;
4707 esac
4708 rm -f conftest.make
4710 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4711 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4712 printf "%s\n" "yes" >&6; }
4713 SET_MAKE=
4714 else
4715 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4716 printf "%s\n" "no" >&6; }
4717 SET_MAKE="MAKE=${MAKE-make}"
4729 ac_ext=c
4730 ac_cpp='$CPP $CPPFLAGS'
4731 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4732 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4733 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4734 if test -n "$ac_tool_prefix"; then
4735 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4736 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4737 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4738 printf %s "checking for $ac_word... " >&6; }
4739 if test ${ac_cv_prog_CC+y}
4740 then :
4741 printf %s "(cached) " >&6
4742 else $as_nop
4743 if test -n "$CC"; then
4744 ac_cv_prog_CC="$CC" # Let the user override the test.
4745 else
4746 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4747 for as_dir in $PATH
4749 IFS=$as_save_IFS
4750 case $as_dir in #(((
4751 '') as_dir=./ ;;
4752 */) ;;
4753 *) as_dir=$as_dir/ ;;
4754 esac
4755 for ac_exec_ext in '' $ac_executable_extensions; do
4756 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4757 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4758 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4759 break 2
4761 done
4762 done
4763 IFS=$as_save_IFS
4767 CC=$ac_cv_prog_CC
4768 if test -n "$CC"; then
4769 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4770 printf "%s\n" "$CC" >&6; }
4771 else
4772 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4773 printf "%s\n" "no" >&6; }
4778 if test -z "$ac_cv_prog_CC"; then
4779 ac_ct_CC=$CC
4780 # Extract the first word of "gcc", so it can be a program name with args.
4781 set dummy gcc; ac_word=$2
4782 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4783 printf %s "checking for $ac_word... " >&6; }
4784 if test ${ac_cv_prog_ac_ct_CC+y}
4785 then :
4786 printf %s "(cached) " >&6
4787 else $as_nop
4788 if test -n "$ac_ct_CC"; then
4789 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4790 else
4791 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4792 for as_dir in $PATH
4794 IFS=$as_save_IFS
4795 case $as_dir in #(((
4796 '') as_dir=./ ;;
4797 */) ;;
4798 *) as_dir=$as_dir/ ;;
4799 esac
4800 for ac_exec_ext in '' $ac_executable_extensions; do
4801 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4802 ac_cv_prog_ac_ct_CC="gcc"
4803 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4804 break 2
4806 done
4807 done
4808 IFS=$as_save_IFS
4812 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4813 if test -n "$ac_ct_CC"; then
4814 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4815 printf "%s\n" "$ac_ct_CC" >&6; }
4816 else
4817 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4818 printf "%s\n" "no" >&6; }
4821 if test "x$ac_ct_CC" = x; then
4822 CC=""
4823 else
4824 case $cross_compiling:$ac_tool_warned in
4825 yes:)
4826 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4827 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4828 ac_tool_warned=yes ;;
4829 esac
4830 CC=$ac_ct_CC
4832 else
4833 CC="$ac_cv_prog_CC"
4836 if test -z "$CC"; then
4837 if test -n "$ac_tool_prefix"; then
4838 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4839 set dummy ${ac_tool_prefix}cc; ac_word=$2
4840 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4841 printf %s "checking for $ac_word... " >&6; }
4842 if test ${ac_cv_prog_CC+y}
4843 then :
4844 printf %s "(cached) " >&6
4845 else $as_nop
4846 if test -n "$CC"; then
4847 ac_cv_prog_CC="$CC" # Let the user override the test.
4848 else
4849 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4850 for as_dir in $PATH
4852 IFS=$as_save_IFS
4853 case $as_dir in #(((
4854 '') as_dir=./ ;;
4855 */) ;;
4856 *) as_dir=$as_dir/ ;;
4857 esac
4858 for ac_exec_ext in '' $ac_executable_extensions; do
4859 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4860 ac_cv_prog_CC="${ac_tool_prefix}cc"
4861 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4862 break 2
4864 done
4865 done
4866 IFS=$as_save_IFS
4870 CC=$ac_cv_prog_CC
4871 if test -n "$CC"; then
4872 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4873 printf "%s\n" "$CC" >&6; }
4874 else
4875 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4876 printf "%s\n" "no" >&6; }
4882 if test -z "$CC"; then
4883 # Extract the first word of "cc", so it can be a program name with args.
4884 set dummy cc; ac_word=$2
4885 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4886 printf %s "checking for $ac_word... " >&6; }
4887 if test ${ac_cv_prog_CC+y}
4888 then :
4889 printf %s "(cached) " >&6
4890 else $as_nop
4891 if test -n "$CC"; then
4892 ac_cv_prog_CC="$CC" # Let the user override the test.
4893 else
4894 ac_prog_rejected=no
4895 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4896 for as_dir in $PATH
4898 IFS=$as_save_IFS
4899 case $as_dir in #(((
4900 '') as_dir=./ ;;
4901 */) ;;
4902 *) as_dir=$as_dir/ ;;
4903 esac
4904 for ac_exec_ext in '' $ac_executable_extensions; do
4905 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4906 if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4907 ac_prog_rejected=yes
4908 continue
4910 ac_cv_prog_CC="cc"
4911 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4912 break 2
4914 done
4915 done
4916 IFS=$as_save_IFS
4918 if test $ac_prog_rejected = yes; then
4919 # We found a bogon in the path, so make sure we never use it.
4920 set dummy $ac_cv_prog_CC
4921 shift
4922 if test $# != 0; then
4923 # We chose a different compiler from the bogus one.
4924 # However, it has the same basename, so the bogon will be chosen
4925 # first if we set CC to just the basename; use the full file name.
4926 shift
4927 ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
4932 CC=$ac_cv_prog_CC
4933 if test -n "$CC"; then
4934 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4935 printf "%s\n" "$CC" >&6; }
4936 else
4937 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4938 printf "%s\n" "no" >&6; }
4943 if test -z "$CC"; then
4944 if test -n "$ac_tool_prefix"; then
4945 for ac_prog in cl.exe
4947 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4948 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4949 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4950 printf %s "checking for $ac_word... " >&6; }
4951 if test ${ac_cv_prog_CC+y}
4952 then :
4953 printf %s "(cached) " >&6
4954 else $as_nop
4955 if test -n "$CC"; then
4956 ac_cv_prog_CC="$CC" # Let the user override the test.
4957 else
4958 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4959 for as_dir in $PATH
4961 IFS=$as_save_IFS
4962 case $as_dir in #(((
4963 '') as_dir=./ ;;
4964 */) ;;
4965 *) as_dir=$as_dir/ ;;
4966 esac
4967 for ac_exec_ext in '' $ac_executable_extensions; do
4968 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4969 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4970 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4971 break 2
4973 done
4974 done
4975 IFS=$as_save_IFS
4979 CC=$ac_cv_prog_CC
4980 if test -n "$CC"; then
4981 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4982 printf "%s\n" "$CC" >&6; }
4983 else
4984 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4985 printf "%s\n" "no" >&6; }
4989 test -n "$CC" && break
4990 done
4992 if test -z "$CC"; then
4993 ac_ct_CC=$CC
4994 for ac_prog in cl.exe
4996 # Extract the first word of "$ac_prog", so it can be a program name with args.
4997 set dummy $ac_prog; ac_word=$2
4998 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4999 printf %s "checking for $ac_word... " >&6; }
5000 if test ${ac_cv_prog_ac_ct_CC+y}
5001 then :
5002 printf %s "(cached) " >&6
5003 else $as_nop
5004 if test -n "$ac_ct_CC"; then
5005 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5006 else
5007 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5008 for as_dir in $PATH
5010 IFS=$as_save_IFS
5011 case $as_dir in #(((
5012 '') as_dir=./ ;;
5013 */) ;;
5014 *) as_dir=$as_dir/ ;;
5015 esac
5016 for ac_exec_ext in '' $ac_executable_extensions; do
5017 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5018 ac_cv_prog_ac_ct_CC="$ac_prog"
5019 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5020 break 2
5022 done
5023 done
5024 IFS=$as_save_IFS
5028 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5029 if test -n "$ac_ct_CC"; then
5030 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5031 printf "%s\n" "$ac_ct_CC" >&6; }
5032 else
5033 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5034 printf "%s\n" "no" >&6; }
5038 test -n "$ac_ct_CC" && break
5039 done
5041 if test "x$ac_ct_CC" = x; then
5042 CC=""
5043 else
5044 case $cross_compiling:$ac_tool_warned in
5045 yes:)
5046 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5047 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5048 ac_tool_warned=yes ;;
5049 esac
5050 CC=$ac_ct_CC
5055 if test -z "$CC"; then
5056 if test -n "$ac_tool_prefix"; then
5057 # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
5058 set dummy ${ac_tool_prefix}clang; ac_word=$2
5059 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5060 printf %s "checking for $ac_word... " >&6; }
5061 if test ${ac_cv_prog_CC+y}
5062 then :
5063 printf %s "(cached) " >&6
5064 else $as_nop
5065 if test -n "$CC"; then
5066 ac_cv_prog_CC="$CC" # Let the user override the test.
5067 else
5068 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5069 for as_dir in $PATH
5071 IFS=$as_save_IFS
5072 case $as_dir in #(((
5073 '') as_dir=./ ;;
5074 */) ;;
5075 *) as_dir=$as_dir/ ;;
5076 esac
5077 for ac_exec_ext in '' $ac_executable_extensions; do
5078 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5079 ac_cv_prog_CC="${ac_tool_prefix}clang"
5080 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5081 break 2
5083 done
5084 done
5085 IFS=$as_save_IFS
5089 CC=$ac_cv_prog_CC
5090 if test -n "$CC"; then
5091 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5092 printf "%s\n" "$CC" >&6; }
5093 else
5094 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5095 printf "%s\n" "no" >&6; }
5100 if test -z "$ac_cv_prog_CC"; then
5101 ac_ct_CC=$CC
5102 # Extract the first word of "clang", so it can be a program name with args.
5103 set dummy clang; ac_word=$2
5104 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5105 printf %s "checking for $ac_word... " >&6; }
5106 if test ${ac_cv_prog_ac_ct_CC+y}
5107 then :
5108 printf %s "(cached) " >&6
5109 else $as_nop
5110 if test -n "$ac_ct_CC"; then
5111 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5112 else
5113 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5114 for as_dir in $PATH
5116 IFS=$as_save_IFS
5117 case $as_dir in #(((
5118 '') as_dir=./ ;;
5119 */) ;;
5120 *) as_dir=$as_dir/ ;;
5121 esac
5122 for ac_exec_ext in '' $ac_executable_extensions; do
5123 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5124 ac_cv_prog_ac_ct_CC="clang"
5125 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5126 break 2
5128 done
5129 done
5130 IFS=$as_save_IFS
5134 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5135 if test -n "$ac_ct_CC"; then
5136 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5137 printf "%s\n" "$ac_ct_CC" >&6; }
5138 else
5139 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5140 printf "%s\n" "no" >&6; }
5143 if test "x$ac_ct_CC" = x; then
5144 CC=""
5145 else
5146 case $cross_compiling:$ac_tool_warned in
5147 yes:)
5148 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5149 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5150 ac_tool_warned=yes ;;
5151 esac
5152 CC=$ac_ct_CC
5154 else
5155 CC="$ac_cv_prog_CC"
5161 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5162 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5163 as_fn_error $? "no acceptable C compiler found in \$PATH
5164 See \`config.log' for more details" "$LINENO" 5; }
5166 # Provide some information about the compiler.
5167 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5168 set X $ac_compile
5169 ac_compiler=$2
5170 for ac_option in --version -v -V -qversion -version; do
5171 { { ac_try="$ac_compiler $ac_option >&5"
5172 case "(($ac_try" in
5173 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5174 *) ac_try_echo=$ac_try;;
5175 esac
5176 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5177 printf "%s\n" "$ac_try_echo"; } >&5
5178 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5179 ac_status=$?
5180 if test -s conftest.err; then
5181 sed '10a\
5182 ... rest of stderr output deleted ...
5183 10q' conftest.err >conftest.er1
5184 cat conftest.er1 >&5
5186 rm -f conftest.er1 conftest.err
5187 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5188 test $ac_status = 0; }
5189 done
5191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5192 /* end confdefs.h. */
5195 main (void)
5199 return 0;
5201 _ACEOF
5202 ac_clean_files_save=$ac_clean_files
5203 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
5204 # Try to create an executable without -o first, disregard a.out.
5205 # It will help us diagnose broken compilers, and finding out an intuition
5206 # of exeext.
5207 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
5208 printf %s "checking whether the C compiler works... " >&6; }
5209 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
5211 # The possible output files:
5212 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
5214 ac_rmfiles=
5215 for ac_file in $ac_files
5217 case $ac_file in
5218 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5219 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
5220 esac
5221 done
5222 rm -f $ac_rmfiles
5224 if { { ac_try="$ac_link_default"
5225 case "(($ac_try" in
5226 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5227 *) ac_try_echo=$ac_try;;
5228 esac
5229 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5230 printf "%s\n" "$ac_try_echo"; } >&5
5231 (eval "$ac_link_default") 2>&5
5232 ac_status=$?
5233 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5234 test $ac_status = 0; }
5235 then :
5236 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
5237 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
5238 # in a Makefile. We should not override ac_cv_exeext if it was cached,
5239 # so that the user can short-circuit this test for compilers unknown to
5240 # Autoconf.
5241 for ac_file in $ac_files ''
5243 test -f "$ac_file" || continue
5244 case $ac_file in
5245 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
5247 [ab].out )
5248 # We found the default executable, but exeext='' is most
5249 # certainly right.
5250 break;;
5251 *.* )
5252 if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
5253 then :; else
5254 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
5256 # We set ac_cv_exeext here because the later test for it is not
5257 # safe: cross compilers may not add the suffix if given an `-o'
5258 # argument, so we may need to know it at that point already.
5259 # Even if this section looks crufty: it has the advantage of
5260 # actually working.
5261 break;;
5263 break;;
5264 esac
5265 done
5266 test "$ac_cv_exeext" = no && ac_cv_exeext=
5268 else $as_nop
5269 ac_file=''
5271 if test -z "$ac_file"
5272 then :
5273 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5274 printf "%s\n" "no" >&6; }
5275 printf "%s\n" "$as_me: failed program was:" >&5
5276 sed 's/^/| /' conftest.$ac_ext >&5
5278 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5279 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5280 as_fn_error 77 "C compiler cannot create executables
5281 See \`config.log' for more details" "$LINENO" 5; }
5282 else $as_nop
5283 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5284 printf "%s\n" "yes" >&6; }
5286 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
5287 printf %s "checking for C compiler default output file name... " >&6; }
5288 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
5289 printf "%s\n" "$ac_file" >&6; }
5290 ac_exeext=$ac_cv_exeext
5292 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
5293 ac_clean_files=$ac_clean_files_save
5294 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
5295 printf %s "checking for suffix of executables... " >&6; }
5296 if { { ac_try="$ac_link"
5297 case "(($ac_try" in
5298 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5299 *) ac_try_echo=$ac_try;;
5300 esac
5301 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5302 printf "%s\n" "$ac_try_echo"; } >&5
5303 (eval "$ac_link") 2>&5
5304 ac_status=$?
5305 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5306 test $ac_status = 0; }
5307 then :
5308 # If both `conftest.exe' and `conftest' are `present' (well, observable)
5309 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
5310 # work properly (i.e., refer to `conftest.exe'), while it won't with
5311 # `rm'.
5312 for ac_file in conftest.exe conftest conftest.*; do
5313 test -f "$ac_file" || continue
5314 case $ac_file in
5315 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5316 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
5317 break;;
5318 * ) break;;
5319 esac
5320 done
5321 else $as_nop
5322 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5323 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5324 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
5325 See \`config.log' for more details" "$LINENO" 5; }
5327 rm -f conftest conftest$ac_cv_exeext
5328 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
5329 printf "%s\n" "$ac_cv_exeext" >&6; }
5331 rm -f conftest.$ac_ext
5332 EXEEXT=$ac_cv_exeext
5333 ac_exeext=$EXEEXT
5334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5335 /* end confdefs.h. */
5336 #include <stdio.h>
5338 main (void)
5340 FILE *f = fopen ("conftest.out", "w");
5341 return ferror (f) || fclose (f) != 0;
5344 return 0;
5346 _ACEOF
5347 ac_clean_files="$ac_clean_files conftest.out"
5348 # Check that the compiler produces executables we can run. If not, either
5349 # the compiler is broken, or we cross compile.
5350 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
5351 printf %s "checking whether we are cross compiling... " >&6; }
5352 if test "$cross_compiling" != yes; then
5353 { { ac_try="$ac_link"
5354 case "(($ac_try" in
5355 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5356 *) ac_try_echo=$ac_try;;
5357 esac
5358 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5359 printf "%s\n" "$ac_try_echo"; } >&5
5360 (eval "$ac_link") 2>&5
5361 ac_status=$?
5362 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5363 test $ac_status = 0; }
5364 if { ac_try='./conftest$ac_cv_exeext'
5365 { { case "(($ac_try" in
5366 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5367 *) ac_try_echo=$ac_try;;
5368 esac
5369 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5370 printf "%s\n" "$ac_try_echo"; } >&5
5371 (eval "$ac_try") 2>&5
5372 ac_status=$?
5373 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5374 test $ac_status = 0; }; }; then
5375 cross_compiling=no
5376 else
5377 if test "$cross_compiling" = maybe; then
5378 cross_compiling=yes
5379 else
5380 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5381 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5382 as_fn_error 77 "cannot run C compiled programs.
5383 If you meant to cross compile, use \`--host'.
5384 See \`config.log' for more details" "$LINENO" 5; }
5388 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
5389 printf "%s\n" "$cross_compiling" >&6; }
5391 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
5392 ac_clean_files=$ac_clean_files_save
5393 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
5394 printf %s "checking for suffix of object files... " >&6; }
5395 if test ${ac_cv_objext+y}
5396 then :
5397 printf %s "(cached) " >&6
5398 else $as_nop
5399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5400 /* end confdefs.h. */
5403 main (void)
5407 return 0;
5409 _ACEOF
5410 rm -f conftest.o conftest.obj
5411 if { { ac_try="$ac_compile"
5412 case "(($ac_try" in
5413 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5414 *) ac_try_echo=$ac_try;;
5415 esac
5416 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5417 printf "%s\n" "$ac_try_echo"; } >&5
5418 (eval "$ac_compile") 2>&5
5419 ac_status=$?
5420 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5421 test $ac_status = 0; }
5422 then :
5423 for ac_file in conftest.o conftest.obj conftest.*; do
5424 test -f "$ac_file" || continue;
5425 case $ac_file in
5426 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
5427 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
5428 break;;
5429 esac
5430 done
5431 else $as_nop
5432 printf "%s\n" "$as_me: failed program was:" >&5
5433 sed 's/^/| /' conftest.$ac_ext >&5
5435 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5436 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5437 as_fn_error $? "cannot compute suffix of object files: cannot compile
5438 See \`config.log' for more details" "$LINENO" 5; }
5440 rm -f conftest.$ac_cv_objext conftest.$ac_ext
5442 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
5443 printf "%s\n" "$ac_cv_objext" >&6; }
5444 OBJEXT=$ac_cv_objext
5445 ac_objext=$OBJEXT
5446 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
5447 printf %s "checking whether the compiler supports GNU C... " >&6; }
5448 if test ${ac_cv_c_compiler_gnu+y}
5449 then :
5450 printf %s "(cached) " >&6
5451 else $as_nop
5452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5453 /* end confdefs.h. */
5456 main (void)
5458 #ifndef __GNUC__
5459 choke me
5460 #endif
5463 return 0;
5465 _ACEOF
5466 if ac_fn_c_try_compile "$LINENO"
5467 then :
5468 ac_compiler_gnu=yes
5469 else $as_nop
5470 ac_compiler_gnu=no
5472 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5473 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5476 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5477 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
5478 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5480 if test $ac_compiler_gnu = yes; then
5481 GCC=yes
5482 else
5483 GCC=
5485 ac_test_CFLAGS=${CFLAGS+y}
5486 ac_save_CFLAGS=$CFLAGS
5487 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5488 printf %s "checking whether $CC accepts -g... " >&6; }
5489 if test ${ac_cv_prog_cc_g+y}
5490 then :
5491 printf %s "(cached) " >&6
5492 else $as_nop
5493 ac_save_c_werror_flag=$ac_c_werror_flag
5494 ac_c_werror_flag=yes
5495 ac_cv_prog_cc_g=no
5496 CFLAGS="-g"
5497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5498 /* end confdefs.h. */
5501 main (void)
5505 return 0;
5507 _ACEOF
5508 if ac_fn_c_try_compile "$LINENO"
5509 then :
5510 ac_cv_prog_cc_g=yes
5511 else $as_nop
5512 CFLAGS=""
5513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5514 /* end confdefs.h. */
5517 main (void)
5521 return 0;
5523 _ACEOF
5524 if ac_fn_c_try_compile "$LINENO"
5525 then :
5527 else $as_nop
5528 ac_c_werror_flag=$ac_save_c_werror_flag
5529 CFLAGS="-g"
5530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5531 /* end confdefs.h. */
5534 main (void)
5538 return 0;
5540 _ACEOF
5541 if ac_fn_c_try_compile "$LINENO"
5542 then :
5543 ac_cv_prog_cc_g=yes
5545 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5547 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5549 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5550 ac_c_werror_flag=$ac_save_c_werror_flag
5552 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5553 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
5554 if test $ac_test_CFLAGS; then
5555 CFLAGS=$ac_save_CFLAGS
5556 elif test $ac_cv_prog_cc_g = yes; then
5557 if test "$GCC" = yes; then
5558 CFLAGS="-g -O2"
5559 else
5560 CFLAGS="-g"
5562 else
5563 if test "$GCC" = yes; then
5564 CFLAGS="-O2"
5565 else
5566 CFLAGS=
5569 ac_prog_cc_stdc=no
5570 if test x$ac_prog_cc_stdc = xno
5571 then :
5572 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
5573 printf %s "checking for $CC option to enable C11 features... " >&6; }
5574 if test ${ac_cv_prog_cc_c11+y}
5575 then :
5576 printf %s "(cached) " >&6
5577 else $as_nop
5578 ac_cv_prog_cc_c11=no
5579 ac_save_CC=$CC
5580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5581 /* end confdefs.h. */
5582 $ac_c_conftest_c11_program
5583 _ACEOF
5584 for ac_arg in '' -std=gnu11
5586 CC="$ac_save_CC $ac_arg"
5587 if ac_fn_c_try_compile "$LINENO"
5588 then :
5589 ac_cv_prog_cc_c11=$ac_arg
5591 rm -f core conftest.err conftest.$ac_objext conftest.beam
5592 test "x$ac_cv_prog_cc_c11" != "xno" && break
5593 done
5594 rm -f conftest.$ac_ext
5595 CC=$ac_save_CC
5598 if test "x$ac_cv_prog_cc_c11" = xno
5599 then :
5600 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5601 printf "%s\n" "unsupported" >&6; }
5602 else $as_nop
5603 if test "x$ac_cv_prog_cc_c11" = x
5604 then :
5605 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5606 printf "%s\n" "none needed" >&6; }
5607 else $as_nop
5608 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
5609 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
5610 CC="$CC $ac_cv_prog_cc_c11"
5612 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
5613 ac_prog_cc_stdc=c11
5616 if test x$ac_prog_cc_stdc = xno
5617 then :
5618 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
5619 printf %s "checking for $CC option to enable C99 features... " >&6; }
5620 if test ${ac_cv_prog_cc_c99+y}
5621 then :
5622 printf %s "(cached) " >&6
5623 else $as_nop
5624 ac_cv_prog_cc_c99=no
5625 ac_save_CC=$CC
5626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5627 /* end confdefs.h. */
5628 $ac_c_conftest_c99_program
5629 _ACEOF
5630 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
5632 CC="$ac_save_CC $ac_arg"
5633 if ac_fn_c_try_compile "$LINENO"
5634 then :
5635 ac_cv_prog_cc_c99=$ac_arg
5637 rm -f core conftest.err conftest.$ac_objext conftest.beam
5638 test "x$ac_cv_prog_cc_c99" != "xno" && break
5639 done
5640 rm -f conftest.$ac_ext
5641 CC=$ac_save_CC
5644 if test "x$ac_cv_prog_cc_c99" = xno
5645 then :
5646 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5647 printf "%s\n" "unsupported" >&6; }
5648 else $as_nop
5649 if test "x$ac_cv_prog_cc_c99" = x
5650 then :
5651 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5652 printf "%s\n" "none needed" >&6; }
5653 else $as_nop
5654 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
5655 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
5656 CC="$CC $ac_cv_prog_cc_c99"
5658 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
5659 ac_prog_cc_stdc=c99
5662 if test x$ac_prog_cc_stdc = xno
5663 then :
5664 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
5665 printf %s "checking for $CC option to enable C89 features... " >&6; }
5666 if test ${ac_cv_prog_cc_c89+y}
5667 then :
5668 printf %s "(cached) " >&6
5669 else $as_nop
5670 ac_cv_prog_cc_c89=no
5671 ac_save_CC=$CC
5672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5673 /* end confdefs.h. */
5674 $ac_c_conftest_c89_program
5675 _ACEOF
5676 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5678 CC="$ac_save_CC $ac_arg"
5679 if ac_fn_c_try_compile "$LINENO"
5680 then :
5681 ac_cv_prog_cc_c89=$ac_arg
5683 rm -f core conftest.err conftest.$ac_objext conftest.beam
5684 test "x$ac_cv_prog_cc_c89" != "xno" && break
5685 done
5686 rm -f conftest.$ac_ext
5687 CC=$ac_save_CC
5690 if test "x$ac_cv_prog_cc_c89" = xno
5691 then :
5692 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5693 printf "%s\n" "unsupported" >&6; }
5694 else $as_nop
5695 if test "x$ac_cv_prog_cc_c89" = x
5696 then :
5697 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5698 printf "%s\n" "none needed" >&6; }
5699 else $as_nop
5700 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5701 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
5702 CC="$CC $ac_cv_prog_cc_c89"
5704 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
5705 ac_prog_cc_stdc=c89
5709 ac_ext=c
5710 ac_cpp='$CPP $CPPFLAGS'
5711 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5712 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5713 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5721 ac_ext=cpp
5722 ac_cpp='$CXXCPP $CPPFLAGS'
5723 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5724 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5725 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5726 if test -z "$CXX"; then
5727 if test -n "$CCC"; then
5728 CXX=$CCC
5729 else
5730 if test -n "$ac_tool_prefix"; then
5731 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5733 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5734 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5735 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5736 printf %s "checking for $ac_word... " >&6; }
5737 if test ${ac_cv_prog_CXX+y}
5738 then :
5739 printf %s "(cached) " >&6
5740 else $as_nop
5741 if test -n "$CXX"; then
5742 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5743 else
5744 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5745 for as_dir in $PATH
5747 IFS=$as_save_IFS
5748 case $as_dir in #(((
5749 '') as_dir=./ ;;
5750 */) ;;
5751 *) as_dir=$as_dir/ ;;
5752 esac
5753 for ac_exec_ext in '' $ac_executable_extensions; do
5754 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5755 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5756 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5757 break 2
5759 done
5760 done
5761 IFS=$as_save_IFS
5765 CXX=$ac_cv_prog_CXX
5766 if test -n "$CXX"; then
5767 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5768 printf "%s\n" "$CXX" >&6; }
5769 else
5770 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5771 printf "%s\n" "no" >&6; }
5775 test -n "$CXX" && break
5776 done
5778 if test -z "$CXX"; then
5779 ac_ct_CXX=$CXX
5780 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5782 # Extract the first word of "$ac_prog", so it can be a program name with args.
5783 set dummy $ac_prog; ac_word=$2
5784 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5785 printf %s "checking for $ac_word... " >&6; }
5786 if test ${ac_cv_prog_ac_ct_CXX+y}
5787 then :
5788 printf %s "(cached) " >&6
5789 else $as_nop
5790 if test -n "$ac_ct_CXX"; then
5791 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5792 else
5793 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5794 for as_dir in $PATH
5796 IFS=$as_save_IFS
5797 case $as_dir in #(((
5798 '') as_dir=./ ;;
5799 */) ;;
5800 *) as_dir=$as_dir/ ;;
5801 esac
5802 for ac_exec_ext in '' $ac_executable_extensions; do
5803 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5804 ac_cv_prog_ac_ct_CXX="$ac_prog"
5805 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5806 break 2
5808 done
5809 done
5810 IFS=$as_save_IFS
5814 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5815 if test -n "$ac_ct_CXX"; then
5816 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5817 printf "%s\n" "$ac_ct_CXX" >&6; }
5818 else
5819 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5820 printf "%s\n" "no" >&6; }
5824 test -n "$ac_ct_CXX" && break
5825 done
5827 if test "x$ac_ct_CXX" = x; then
5828 CXX="g++"
5829 else
5830 case $cross_compiling:$ac_tool_warned in
5831 yes:)
5832 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5833 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5834 ac_tool_warned=yes ;;
5835 esac
5836 CXX=$ac_ct_CXX
5842 # Provide some information about the compiler.
5843 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5844 set X $ac_compile
5845 ac_compiler=$2
5846 for ac_option in --version -v -V -qversion; do
5847 { { ac_try="$ac_compiler $ac_option >&5"
5848 case "(($ac_try" in
5849 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5850 *) ac_try_echo=$ac_try;;
5851 esac
5852 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5853 printf "%s\n" "$ac_try_echo"; } >&5
5854 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5855 ac_status=$?
5856 if test -s conftest.err; then
5857 sed '10a\
5858 ... rest of stderr output deleted ...
5859 10q' conftest.err >conftest.er1
5860 cat conftest.er1 >&5
5862 rm -f conftest.er1 conftest.err
5863 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5864 test $ac_status = 0; }
5865 done
5867 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C++" >&5
5868 printf %s "checking whether the compiler supports GNU C++... " >&6; }
5869 if test ${ac_cv_cxx_compiler_gnu+y}
5870 then :
5871 printf %s "(cached) " >&6
5872 else $as_nop
5873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5874 /* end confdefs.h. */
5877 main (void)
5879 #ifndef __GNUC__
5880 choke me
5881 #endif
5884 return 0;
5886 _ACEOF
5887 if ac_fn_cxx_try_compile "$LINENO"
5888 then :
5889 ac_compiler_gnu=yes
5890 else $as_nop
5891 ac_compiler_gnu=no
5893 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5894 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5897 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5898 printf "%s\n" "$ac_cv_cxx_compiler_gnu" >&6; }
5899 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5901 if test $ac_compiler_gnu = yes; then
5902 GXX=yes
5903 else
5904 GXX=
5906 ac_test_CXXFLAGS=${CXXFLAGS+y}
5907 ac_save_CXXFLAGS=$CXXFLAGS
5908 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5909 printf %s "checking whether $CXX accepts -g... " >&6; }
5910 if test ${ac_cv_prog_cxx_g+y}
5911 then :
5912 printf %s "(cached) " >&6
5913 else $as_nop
5914 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5915 ac_cxx_werror_flag=yes
5916 ac_cv_prog_cxx_g=no
5917 CXXFLAGS="-g"
5918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5919 /* end confdefs.h. */
5922 main (void)
5926 return 0;
5928 _ACEOF
5929 if ac_fn_cxx_try_compile "$LINENO"
5930 then :
5931 ac_cv_prog_cxx_g=yes
5932 else $as_nop
5933 CXXFLAGS=""
5934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5935 /* end confdefs.h. */
5938 main (void)
5942 return 0;
5944 _ACEOF
5945 if ac_fn_cxx_try_compile "$LINENO"
5946 then :
5948 else $as_nop
5949 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5950 CXXFLAGS="-g"
5951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5952 /* end confdefs.h. */
5955 main (void)
5959 return 0;
5961 _ACEOF
5962 if ac_fn_cxx_try_compile "$LINENO"
5963 then :
5964 ac_cv_prog_cxx_g=yes
5966 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5968 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5970 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5971 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5973 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5974 printf "%s\n" "$ac_cv_prog_cxx_g" >&6; }
5975 if test $ac_test_CXXFLAGS; then
5976 CXXFLAGS=$ac_save_CXXFLAGS
5977 elif test $ac_cv_prog_cxx_g = yes; then
5978 if test "$GXX" = yes; then
5979 CXXFLAGS="-g -O2"
5980 else
5981 CXXFLAGS="-g"
5983 else
5984 if test "$GXX" = yes; then
5985 CXXFLAGS="-O2"
5986 else
5987 CXXFLAGS=
5990 ac_prog_cxx_stdcxx=no
5991 if test x$ac_prog_cxx_stdcxx = xno
5992 then :
5993 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++11 features" >&5
5994 printf %s "checking for $CXX option to enable C++11 features... " >&6; }
5995 if test ${ac_cv_prog_cxx_cxx11+y}
5996 then :
5997 printf %s "(cached) " >&6
5998 else $as_nop
5999 ac_cv_prog_cxx_cxx11=no
6000 ac_save_CXX=$CXX
6001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6002 /* end confdefs.h. */
6003 $ac_cxx_conftest_cxx11_program
6004 _ACEOF
6005 for ac_arg in '' -std=gnu++11 -std=gnu++0x -std=c++11 -std=c++0x -qlanglvl=extended0x -AA
6007 CXX="$ac_save_CXX $ac_arg"
6008 if ac_fn_cxx_try_compile "$LINENO"
6009 then :
6010 ac_cv_prog_cxx_cxx11=$ac_arg
6012 rm -f core conftest.err conftest.$ac_objext conftest.beam
6013 test "x$ac_cv_prog_cxx_cxx11" != "xno" && break
6014 done
6015 rm -f conftest.$ac_ext
6016 CXX=$ac_save_CXX
6019 if test "x$ac_cv_prog_cxx_cxx11" = xno
6020 then :
6021 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
6022 printf "%s\n" "unsupported" >&6; }
6023 else $as_nop
6024 if test "x$ac_cv_prog_cxx_cxx11" = x
6025 then :
6026 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
6027 printf "%s\n" "none needed" >&6; }
6028 else $as_nop
6029 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx11" >&5
6030 printf "%s\n" "$ac_cv_prog_cxx_cxx11" >&6; }
6031 CXX="$CXX $ac_cv_prog_cxx_cxx11"
6033 ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx11
6034 ac_prog_cxx_stdcxx=cxx11
6037 if test x$ac_prog_cxx_stdcxx = xno
6038 then :
6039 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++98 features" >&5
6040 printf %s "checking for $CXX option to enable C++98 features... " >&6; }
6041 if test ${ac_cv_prog_cxx_cxx98+y}
6042 then :
6043 printf %s "(cached) " >&6
6044 else $as_nop
6045 ac_cv_prog_cxx_cxx98=no
6046 ac_save_CXX=$CXX
6047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6048 /* end confdefs.h. */
6049 $ac_cxx_conftest_cxx98_program
6050 _ACEOF
6051 for ac_arg in '' -std=gnu++98 -std=c++98 -qlanglvl=extended -AA
6053 CXX="$ac_save_CXX $ac_arg"
6054 if ac_fn_cxx_try_compile "$LINENO"
6055 then :
6056 ac_cv_prog_cxx_cxx98=$ac_arg
6058 rm -f core conftest.err conftest.$ac_objext conftest.beam
6059 test "x$ac_cv_prog_cxx_cxx98" != "xno" && break
6060 done
6061 rm -f conftest.$ac_ext
6062 CXX=$ac_save_CXX
6065 if test "x$ac_cv_prog_cxx_cxx98" = xno
6066 then :
6067 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
6068 printf "%s\n" "unsupported" >&6; }
6069 else $as_nop
6070 if test "x$ac_cv_prog_cxx_cxx98" = x
6071 then :
6072 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
6073 printf "%s\n" "none needed" >&6; }
6074 else $as_nop
6075 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx98" >&5
6076 printf "%s\n" "$ac_cv_prog_cxx_cxx98" >&6; }
6077 CXX="$CXX $ac_cv_prog_cxx_cxx98"
6079 ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx98
6080 ac_prog_cxx_stdcxx=cxx98
6084 ac_ext=c
6085 ac_cpp='$CPP $CPPFLAGS'
6086 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6087 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6088 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6090 if test -n "$ac_tool_prefix"; then
6091 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
6092 set dummy ${ac_tool_prefix}cpp; ac_word=$2
6093 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6094 printf %s "checking for $ac_word... " >&6; }
6095 if test ${ac_cv_prog_CPPBIN+y}
6096 then :
6097 printf %s "(cached) " >&6
6098 else $as_nop
6099 if test -n "$CPPBIN"; then
6100 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
6101 else
6102 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6103 for as_dir in $PATH
6105 IFS=$as_save_IFS
6106 case $as_dir in #(((
6107 '') as_dir=./ ;;
6108 */) ;;
6109 *) as_dir=$as_dir/ ;;
6110 esac
6111 for ac_exec_ext in '' $ac_executable_extensions; do
6112 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6113 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
6114 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6115 break 2
6117 done
6118 done
6119 IFS=$as_save_IFS
6123 CPPBIN=$ac_cv_prog_CPPBIN
6124 if test -n "$CPPBIN"; then
6125 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
6126 printf "%s\n" "$CPPBIN" >&6; }
6127 else
6128 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6129 printf "%s\n" "no" >&6; }
6134 if test -z "$ac_cv_prog_CPPBIN"; then
6135 ac_ct_CPPBIN=$CPPBIN
6136 # Extract the first word of "cpp", so it can be a program name with args.
6137 set dummy cpp; ac_word=$2
6138 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6139 printf %s "checking for $ac_word... " >&6; }
6140 if test ${ac_cv_prog_ac_ct_CPPBIN+y}
6141 then :
6142 printf %s "(cached) " >&6
6143 else $as_nop
6144 if test -n "$ac_ct_CPPBIN"; then
6145 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
6146 else
6147 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6148 for as_dir in $PATH
6150 IFS=$as_save_IFS
6151 case $as_dir in #(((
6152 '') as_dir=./ ;;
6153 */) ;;
6154 *) as_dir=$as_dir/ ;;
6155 esac
6156 for ac_exec_ext in '' $ac_executable_extensions; do
6157 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6158 ac_cv_prog_ac_ct_CPPBIN="cpp"
6159 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6160 break 2
6162 done
6163 done
6164 IFS=$as_save_IFS
6168 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
6169 if test -n "$ac_ct_CPPBIN"; then
6170 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
6171 printf "%s\n" "$ac_ct_CPPBIN" >&6; }
6172 else
6173 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6174 printf "%s\n" "no" >&6; }
6177 if test "x$ac_ct_CPPBIN" = x; then
6178 CPPBIN="cpp"
6179 else
6180 case $cross_compiling:$ac_tool_warned in
6181 yes:)
6182 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6183 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6184 ac_tool_warned=yes ;;
6185 esac
6186 CPPBIN=$ac_ct_CPPBIN
6188 else
6189 CPPBIN="$ac_cv_prog_CPPBIN"
6193 printf "%s\n" "#define EXEEXT \"$ac_exeext\"" >>confdefs.h
6195 if test -n "$ac_tool_prefix"; then
6196 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
6197 set dummy ${ac_tool_prefix}ld; ac_word=$2
6198 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6199 printf %s "checking for $ac_word... " >&6; }
6200 if test ${ac_cv_prog_LD+y}
6201 then :
6202 printf %s "(cached) " >&6
6203 else $as_nop
6204 if test -n "$LD"; then
6205 ac_cv_prog_LD="$LD" # Let the user override the test.
6206 else
6207 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6208 for as_dir in $PATH
6210 IFS=$as_save_IFS
6211 case $as_dir in #(((
6212 '') as_dir=./ ;;
6213 */) ;;
6214 *) as_dir=$as_dir/ ;;
6215 esac
6216 for ac_exec_ext in '' $ac_executable_extensions; do
6217 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6218 ac_cv_prog_LD="${ac_tool_prefix}ld"
6219 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6220 break 2
6222 done
6223 done
6224 IFS=$as_save_IFS
6228 LD=$ac_cv_prog_LD
6229 if test -n "$LD"; then
6230 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6231 printf "%s\n" "$LD" >&6; }
6232 else
6233 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6234 printf "%s\n" "no" >&6; }
6239 if test -z "$ac_cv_prog_LD"; then
6240 ac_ct_LD=$LD
6241 # Extract the first word of "ld", so it can be a program name with args.
6242 set dummy ld; ac_word=$2
6243 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6244 printf %s "checking for $ac_word... " >&6; }
6245 if test ${ac_cv_prog_ac_ct_LD+y}
6246 then :
6247 printf %s "(cached) " >&6
6248 else $as_nop
6249 if test -n "$ac_ct_LD"; then
6250 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
6251 else
6252 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6253 for as_dir in $PATH
6255 IFS=$as_save_IFS
6256 case $as_dir in #(((
6257 '') as_dir=./ ;;
6258 */) ;;
6259 *) as_dir=$as_dir/ ;;
6260 esac
6261 for ac_exec_ext in '' $ac_executable_extensions; do
6262 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6263 ac_cv_prog_ac_ct_LD="ld"
6264 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6265 break 2
6267 done
6268 done
6269 IFS=$as_save_IFS
6273 ac_ct_LD=$ac_cv_prog_ac_ct_LD
6274 if test -n "$ac_ct_LD"; then
6275 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
6276 printf "%s\n" "$ac_ct_LD" >&6; }
6277 else
6278 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6279 printf "%s\n" "no" >&6; }
6282 if test "x$ac_ct_LD" = x; then
6283 LD=""
6284 else
6285 case $cross_compiling:$ac_tool_warned in
6286 yes:)
6287 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6288 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6289 ac_tool_warned=yes ;;
6290 esac
6291 LD=$ac_ct_LD
6293 else
6294 LD="$ac_cv_prog_LD"
6298 case $host in
6299 *-darwin*)
6300 with_fontconfig=${with_fontconfig:-no}
6302 *-mingw32*|*-cygwin*)
6303 enable_win16=${enable_win16:-no}
6304 with_mingw=${with_mingw:-no}
6306 esac
6309 case $host in
6310 x86_64*|amd64*)
6311 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes" -a x"$enable_archs" = x
6312 then
6313 CC="$CC -m32"
6314 CXX="$CXX -m32"
6316 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
6317 printf %s "checking whether $CC works... " >&6; }
6318 if test ${wine_cv_cc_m32+y}
6319 then :
6320 printf %s "(cached) " >&6
6321 else $as_nop
6322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6323 /* end confdefs.h. */
6326 main (void)
6330 return 0;
6332 _ACEOF
6333 if ac_fn_c_try_link "$LINENO"
6334 then :
6335 wine_cv_cc_m32=yes
6336 else $as_nop
6337 wine_cv_cc_m32=no
6339 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6340 conftest$ac_exeext conftest.$ac_ext
6342 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_cc_m32" >&5
6343 printf "%s\n" "$wine_cv_cc_m32" >&6; }
6344 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
6345 host_cpu="i386"
6346 notice_platform="32-bit "
6347 TARGETFLAGS="$TARGETFLAGS -m32"
6348 PKG_CONFIG_LIBDIR=${PKG_CONFIG_LIBDIR:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib32/pkgconfig:/usr/lib/pkgconfig}
6349 export PKG_CONFIG_LIBDIR
6350 else
6351 CC="$CC -m64"
6352 CXX="$CXX -m64"
6353 host_cpu="x86_64"
6354 notice_platform="64-bit "
6355 TARGETFLAGS="$TARGETFLAGS -m64"
6358 arm*)
6359 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb-2" >&5
6360 printf %s "checking whether $CC supports Thumb-2... " >&6; }
6361 if test ${wine_cv_thumb2+y}
6362 then :
6363 printf %s "(cached) " >&6
6364 else $as_nop
6365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6366 /* end confdefs.h. */
6369 main (void)
6371 asm(".syntax unified\n\t.thumb\n\tldm r0,{r0-r8}");
6373 return 0;
6375 _ACEOF
6376 if ac_fn_c_try_link "$LINENO"
6377 then :
6378 wine_cv_thumb2=yes
6379 else $as_nop
6380 wine_cv_thumb2=no
6382 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6383 conftest$ac_exeext conftest.$ac_ext
6385 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_thumb2" >&5
6386 printf "%s\n" "$wine_cv_thumb2" >&6; }
6387 if test x"$wine_cv_thumb2" = xyes
6388 then
6389 CFLAGS="$CFLAGS -mthumb"
6390 else
6391 CFLAGS="$CFLAGS -marm"
6393 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports floating point instructions" >&5
6394 printf %s "checking whether $CC supports floating point instructions... " >&6; }
6395 if test ${wine_cv_float_abi+y}
6396 then :
6397 printf %s "(cached) " >&6
6398 else $as_nop
6399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6400 /* end confdefs.h. */
6403 main (void)
6405 asm("vmrs r2,fpscr");
6407 return 0;
6409 _ACEOF
6410 if ac_fn_c_try_link "$LINENO"
6411 then :
6412 wine_cv_float_abi=yes
6413 else $as_nop
6414 wine_cv_float_abi=no
6416 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6417 conftest$ac_exeext conftest.$ac_ext
6419 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_float_abi" >&5
6420 printf "%s\n" "$wine_cv_float_abi" >&6; }
6421 test $wine_cv_float_abi != no || as_fn_error $? "The ARM target needs to support floating point instructions." "$LINENO" 5
6423 esac
6425 if test "x$enable_win64" = "xyes"
6426 then
6427 test -z "$with_wine64" || as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
6428 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
6431 case $build_os in
6432 cygwin*|mingw32*) toolsext=".exe"
6434 *) toolsext=""
6436 esac
6438 HOST_ARCH=unknown
6439 case "$host_cpu" in
6440 aarch64*) HOST_ARCH=aarch64 ;;
6441 arm*) HOST_ARCH=arm ;;
6442 i[3456789]86*) HOST_ARCH=i386 ;;
6443 x86_64) HOST_ARCH=x86_64 ;;
6444 esac
6447 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
6448 printf %s "checking for the directory containing the Wine tools... " >&6; }
6449 if test ${wine_cv_toolsdir+y}
6450 then :
6451 printf %s "(cached) " >&6
6452 else $as_nop
6453 wine_cv_toolsdir="$with_wine_tools"
6454 if test -z "$with_wine_tools"; then
6455 if test "$cross_compiling" = "yes"; then
6456 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
6457 elif test -n "$with_wine64"; then
6458 wine_cv_toolsdir="$with_wine64"
6462 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
6463 printf "%s\n" "$wine_cv_toolsdir" >&6; }
6464 if test -z "$wine_cv_toolsdir"; then
6465 wine_makedep=tools/makedep$toolsext
6466 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
6467 wine_makedep=$wine_cv_toolsdir/tools/makedep$toolsext
6468 enable_tools=${enable_tools:-no}
6469 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
6470 else
6471 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
6473 toolsdir=$wine_cv_toolsdir
6475 MAKEDEP=$wine_makedep
6477 RUNTESTFLAGS="-q -P wine"
6479 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'"
6482 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
6483 then
6484 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
6487 for ac_prog in flex
6489 # Extract the first word of "$ac_prog", so it can be a program name with args.
6490 set dummy $ac_prog; ac_word=$2
6491 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6492 printf %s "checking for $ac_word... " >&6; }
6493 if test ${ac_cv_prog_FLEX+y}
6494 then :
6495 printf %s "(cached) " >&6
6496 else $as_nop
6497 if test -n "$FLEX"; then
6498 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
6499 else
6500 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6501 for as_dir in $PATH
6503 IFS=$as_save_IFS
6504 case $as_dir in #(((
6505 '') as_dir=./ ;;
6506 */) ;;
6507 *) as_dir=$as_dir/ ;;
6508 esac
6509 for ac_exec_ext in '' $ac_executable_extensions; do
6510 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6511 ac_cv_prog_FLEX="$ac_prog"
6512 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6513 break 2
6515 done
6516 done
6517 IFS=$as_save_IFS
6521 FLEX=$ac_cv_prog_FLEX
6522 if test -n "$FLEX"; then
6523 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
6524 printf "%s\n" "$FLEX" >&6; }
6525 else
6526 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6527 printf "%s\n" "no" >&6; }
6531 test -n "$FLEX" && break
6532 done
6533 test -n "$FLEX" || FLEX="none"
6535 if test "$FLEX" = "none"
6536 then
6537 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
6539 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
6540 printf %s "checking whether flex is recent enough... " >&6; }
6541 if test ${wine_cv_recent_flex+y}
6542 then :
6543 printf %s "(cached) " >&6
6544 else $as_nop
6545 cat >conftest.l <<EOF
6546 %top{
6547 #include "prediluvian.h"
6551 if $FLEX -t conftest.l >/dev/null 2>&5
6552 then
6553 wine_cv_recent_flex=yes
6554 else
6555 wine_cv_recent_flex=no
6558 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_flex" >&5
6559 printf "%s\n" "$wine_cv_recent_flex" >&6; }
6560 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
6562 for ac_prog in bison
6564 # Extract the first word of "$ac_prog", so it can be a program name with args.
6565 set dummy $ac_prog; ac_word=$2
6566 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6567 printf %s "checking for $ac_word... " >&6; }
6568 if test ${ac_cv_prog_BISON+y}
6569 then :
6570 printf %s "(cached) " >&6
6571 else $as_nop
6572 if test -n "$BISON"; then
6573 ac_cv_prog_BISON="$BISON" # Let the user override the test.
6574 else
6575 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6576 for as_dir in $PATH
6578 IFS=$as_save_IFS
6579 case $as_dir in #(((
6580 '') as_dir=./ ;;
6581 */) ;;
6582 *) as_dir=$as_dir/ ;;
6583 esac
6584 for ac_exec_ext in '' $ac_executable_extensions; do
6585 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6586 ac_cv_prog_BISON="$ac_prog"
6587 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6588 break 2
6590 done
6591 done
6592 IFS=$as_save_IFS
6596 BISON=$ac_cv_prog_BISON
6597 if test -n "$BISON"; then
6598 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
6599 printf "%s\n" "$BISON" >&6; }
6600 else
6601 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6602 printf "%s\n" "no" >&6; }
6606 test -n "$BISON" && break
6607 done
6608 test -n "$BISON" || BISON="none"
6610 if test "$BISON" = "none"
6611 then
6612 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
6614 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether bison is recent enough" >&5
6615 printf %s "checking whether bison is recent enough... " >&6; }
6616 if test ${wine_cv_recent_bison+y}
6617 then :
6618 printf %s "(cached) " >&6
6619 else $as_nop
6620 cat >conftest.y <<EOF
6621 %define parse.error verbose
6623 empty: ;
6625 if $BISON conftest.y >/dev/null 2>&5
6626 then
6627 wine_cv_recent_bison=yes
6628 else
6629 wine_cv_recent_bison=no
6632 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_bison" >&5
6633 printf "%s\n" "$wine_cv_recent_bison" >&6; }
6634 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
6636 if test -n "$ac_tool_prefix"; then
6637 for ac_prog in ar gar
6639 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6640 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6641 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6642 printf %s "checking for $ac_word... " >&6; }
6643 if test ${ac_cv_prog_AR+y}
6644 then :
6645 printf %s "(cached) " >&6
6646 else $as_nop
6647 if test -n "$AR"; then
6648 ac_cv_prog_AR="$AR" # Let the user override the test.
6649 else
6650 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6651 for as_dir in $PATH
6653 IFS=$as_save_IFS
6654 case $as_dir in #(((
6655 '') as_dir=./ ;;
6656 */) ;;
6657 *) as_dir=$as_dir/ ;;
6658 esac
6659 for ac_exec_ext in '' $ac_executable_extensions; do
6660 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6661 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6662 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6663 break 2
6665 done
6666 done
6667 IFS=$as_save_IFS
6671 AR=$ac_cv_prog_AR
6672 if test -n "$AR"; then
6673 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6674 printf "%s\n" "$AR" >&6; }
6675 else
6676 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6677 printf "%s\n" "no" >&6; }
6681 test -n "$AR" && break
6682 done
6684 if test -z "$AR"; then
6685 ac_ct_AR=$AR
6686 for ac_prog in ar gar
6688 # Extract the first word of "$ac_prog", so it can be a program name with args.
6689 set dummy $ac_prog; ac_word=$2
6690 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6691 printf %s "checking for $ac_word... " >&6; }
6692 if test ${ac_cv_prog_ac_ct_AR+y}
6693 then :
6694 printf %s "(cached) " >&6
6695 else $as_nop
6696 if test -n "$ac_ct_AR"; then
6697 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6698 else
6699 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6700 for as_dir in $PATH
6702 IFS=$as_save_IFS
6703 case $as_dir in #(((
6704 '') as_dir=./ ;;
6705 */) ;;
6706 *) as_dir=$as_dir/ ;;
6707 esac
6708 for ac_exec_ext in '' $ac_executable_extensions; do
6709 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6710 ac_cv_prog_ac_ct_AR="$ac_prog"
6711 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6712 break 2
6714 done
6715 done
6716 IFS=$as_save_IFS
6720 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6721 if test -n "$ac_ct_AR"; then
6722 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6723 printf "%s\n" "$ac_ct_AR" >&6; }
6724 else
6725 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6726 printf "%s\n" "no" >&6; }
6730 test -n "$ac_ct_AR" && break
6731 done
6733 if test "x$ac_ct_AR" = x; then
6734 AR="ar"
6735 else
6736 case $cross_compiling:$ac_tool_warned in
6737 yes:)
6738 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6739 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6740 ac_tool_warned=yes ;;
6741 esac
6742 AR=$ac_ct_AR
6746 if test -n "$ac_tool_prefix"; then
6747 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6748 set dummy ${ac_tool_prefix}strip; ac_word=$2
6749 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6750 printf %s "checking for $ac_word... " >&6; }
6751 if test ${ac_cv_prog_STRIP+y}
6752 then :
6753 printf %s "(cached) " >&6
6754 else $as_nop
6755 if test -n "$STRIP"; then
6756 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6757 else
6758 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6759 for as_dir in $PATH
6761 IFS=$as_save_IFS
6762 case $as_dir in #(((
6763 '') as_dir=./ ;;
6764 */) ;;
6765 *) as_dir=$as_dir/ ;;
6766 esac
6767 for ac_exec_ext in '' $ac_executable_extensions; do
6768 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6769 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6770 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6771 break 2
6773 done
6774 done
6775 IFS=$as_save_IFS
6779 STRIP=$ac_cv_prog_STRIP
6780 if test -n "$STRIP"; then
6781 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6782 printf "%s\n" "$STRIP" >&6; }
6783 else
6784 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6785 printf "%s\n" "no" >&6; }
6790 if test -z "$ac_cv_prog_STRIP"; then
6791 ac_ct_STRIP=$STRIP
6792 # Extract the first word of "strip", so it can be a program name with args.
6793 set dummy strip; ac_word=$2
6794 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6795 printf %s "checking for $ac_word... " >&6; }
6796 if test ${ac_cv_prog_ac_ct_STRIP+y}
6797 then :
6798 printf %s "(cached) " >&6
6799 else $as_nop
6800 if test -n "$ac_ct_STRIP"; then
6801 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6802 else
6803 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6804 for as_dir in $PATH
6806 IFS=$as_save_IFS
6807 case $as_dir in #(((
6808 '') as_dir=./ ;;
6809 */) ;;
6810 *) as_dir=$as_dir/ ;;
6811 esac
6812 for ac_exec_ext in '' $ac_executable_extensions; do
6813 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6814 ac_cv_prog_ac_ct_STRIP="strip"
6815 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6816 break 2
6818 done
6819 done
6820 IFS=$as_save_IFS
6824 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6825 if test -n "$ac_ct_STRIP"; then
6826 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6827 printf "%s\n" "$ac_ct_STRIP" >&6; }
6828 else
6829 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6830 printf "%s\n" "no" >&6; }
6833 if test "x$ac_ct_STRIP" = x; then
6834 STRIP="strip"
6835 else
6836 case $cross_compiling:$ac_tool_warned in
6837 yes:)
6838 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6839 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6840 ac_tool_warned=yes ;;
6841 esac
6842 STRIP=$ac_ct_STRIP
6844 else
6845 STRIP="$ac_cv_prog_STRIP"
6848 if test -n "$ac_tool_prefix"; then
6849 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6850 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6851 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6852 printf %s "checking for $ac_word... " >&6; }
6853 if test ${ac_cv_prog_RANLIB+y}
6854 then :
6855 printf %s "(cached) " >&6
6856 else $as_nop
6857 if test -n "$RANLIB"; then
6858 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6859 else
6860 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6861 for as_dir in $PATH
6863 IFS=$as_save_IFS
6864 case $as_dir in #(((
6865 '') as_dir=./ ;;
6866 */) ;;
6867 *) as_dir=$as_dir/ ;;
6868 esac
6869 for ac_exec_ext in '' $ac_executable_extensions; do
6870 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6871 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6872 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6873 break 2
6875 done
6876 done
6877 IFS=$as_save_IFS
6881 RANLIB=$ac_cv_prog_RANLIB
6882 if test -n "$RANLIB"; then
6883 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6884 printf "%s\n" "$RANLIB" >&6; }
6885 else
6886 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6887 printf "%s\n" "no" >&6; }
6892 if test -z "$ac_cv_prog_RANLIB"; then
6893 ac_ct_RANLIB=$RANLIB
6894 # Extract the first word of "ranlib", so it can be a program name with args.
6895 set dummy ranlib; ac_word=$2
6896 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6897 printf %s "checking for $ac_word... " >&6; }
6898 if test ${ac_cv_prog_ac_ct_RANLIB+y}
6899 then :
6900 printf %s "(cached) " >&6
6901 else $as_nop
6902 if test -n "$ac_ct_RANLIB"; then
6903 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6904 else
6905 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6906 for as_dir in $PATH
6908 IFS=$as_save_IFS
6909 case $as_dir in #(((
6910 '') as_dir=./ ;;
6911 */) ;;
6912 *) as_dir=$as_dir/ ;;
6913 esac
6914 for ac_exec_ext in '' $ac_executable_extensions; do
6915 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6916 ac_cv_prog_ac_ct_RANLIB="ranlib"
6917 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6918 break 2
6920 done
6921 done
6922 IFS=$as_save_IFS
6926 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6927 if test -n "$ac_ct_RANLIB"; then
6928 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6929 printf "%s\n" "$ac_ct_RANLIB" >&6; }
6930 else
6931 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6932 printf "%s\n" "no" >&6; }
6935 if test "x$ac_ct_RANLIB" = x; then
6936 RANLIB=":"
6937 else
6938 case $cross_compiling:$ac_tool_warned in
6939 yes:)
6940 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6941 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6942 ac_tool_warned=yes ;;
6943 esac
6944 RANLIB=$ac_ct_RANLIB
6946 else
6947 RANLIB="$ac_cv_prog_RANLIB"
6950 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6951 printf %s "checking whether ln -s works... " >&6; }
6952 LN_S=$as_ln_s
6953 if test "$LN_S" = "ln -s"; then
6954 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6955 printf "%s\n" "yes" >&6; }
6956 else
6957 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6958 printf "%s\n" "no, using $LN_S" >&6; }
6961 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6962 printf %s "checking for grep that handles long lines and -e... " >&6; }
6963 if test ${ac_cv_path_GREP+y}
6964 then :
6965 printf %s "(cached) " >&6
6966 else $as_nop
6967 if test -z "$GREP"; then
6968 ac_path_GREP_found=false
6969 # Loop through the user's path and test for each of PROGNAME-LIST
6970 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6971 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6973 IFS=$as_save_IFS
6974 case $as_dir in #(((
6975 '') as_dir=./ ;;
6976 */) ;;
6977 *) as_dir=$as_dir/ ;;
6978 esac
6979 for ac_prog in grep ggrep
6981 for ac_exec_ext in '' $ac_executable_extensions; do
6982 ac_path_GREP="$as_dir$ac_prog$ac_exec_ext"
6983 as_fn_executable_p "$ac_path_GREP" || continue
6984 # Check for GNU ac_path_GREP and select it if it is found.
6985 # Check for GNU $ac_path_GREP
6986 case `"$ac_path_GREP" --version 2>&1` in
6987 *GNU*)
6988 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6990 ac_count=0
6991 printf %s 0123456789 >"conftest.in"
6992 while :
6994 cat "conftest.in" "conftest.in" >"conftest.tmp"
6995 mv "conftest.tmp" "conftest.in"
6996 cp "conftest.in" "conftest.nl"
6997 printf "%s\n" 'GREP' >> "conftest.nl"
6998 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6999 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
7000 as_fn_arith $ac_count + 1 && ac_count=$as_val
7001 if test $ac_count -gt ${ac_path_GREP_max-0}; then
7002 # Best one so far, save it but keep looking for a better one
7003 ac_cv_path_GREP="$ac_path_GREP"
7004 ac_path_GREP_max=$ac_count
7006 # 10*(2^10) chars as input seems more than enough
7007 test $ac_count -gt 10 && break
7008 done
7009 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7010 esac
7012 $ac_path_GREP_found && break 3
7013 done
7014 done
7015 done
7016 IFS=$as_save_IFS
7017 if test -z "$ac_cv_path_GREP"; then
7018 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7020 else
7021 ac_cv_path_GREP=$GREP
7025 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
7026 printf "%s\n" "$ac_cv_path_GREP" >&6; }
7027 GREP="$ac_cv_path_GREP"
7030 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
7031 printf %s "checking for egrep... " >&6; }
7032 if test ${ac_cv_path_EGREP+y}
7033 then :
7034 printf %s "(cached) " >&6
7035 else $as_nop
7036 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
7037 then ac_cv_path_EGREP="$GREP -E"
7038 else
7039 if test -z "$EGREP"; then
7040 ac_path_EGREP_found=false
7041 # Loop through the user's path and test for each of PROGNAME-LIST
7042 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7043 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
7045 IFS=$as_save_IFS
7046 case $as_dir in #(((
7047 '') as_dir=./ ;;
7048 */) ;;
7049 *) as_dir=$as_dir/ ;;
7050 esac
7051 for ac_prog in egrep
7053 for ac_exec_ext in '' $ac_executable_extensions; do
7054 ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext"
7055 as_fn_executable_p "$ac_path_EGREP" || continue
7056 # Check for GNU ac_path_EGREP and select it if it is found.
7057 # Check for GNU $ac_path_EGREP
7058 case `"$ac_path_EGREP" --version 2>&1` in
7059 *GNU*)
7060 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
7062 ac_count=0
7063 printf %s 0123456789 >"conftest.in"
7064 while :
7066 cat "conftest.in" "conftest.in" >"conftest.tmp"
7067 mv "conftest.tmp" "conftest.in"
7068 cp "conftest.in" "conftest.nl"
7069 printf "%s\n" 'EGREP' >> "conftest.nl"
7070 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
7071 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
7072 as_fn_arith $ac_count + 1 && ac_count=$as_val
7073 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
7074 # Best one so far, save it but keep looking for a better one
7075 ac_cv_path_EGREP="$ac_path_EGREP"
7076 ac_path_EGREP_max=$ac_count
7078 # 10*(2^10) chars as input seems more than enough
7079 test $ac_count -gt 10 && break
7080 done
7081 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7082 esac
7084 $ac_path_EGREP_found && break 3
7085 done
7086 done
7087 done
7088 IFS=$as_save_IFS
7089 if test -z "$ac_cv_path_EGREP"; then
7090 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7092 else
7093 ac_cv_path_EGREP=$EGREP
7098 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
7099 printf "%s\n" "$ac_cv_path_EGREP" >&6; }
7100 EGREP="$ac_cv_path_EGREP"
7103 # Extract the first word of "ldconfig", so it can be a program name with args.
7104 set dummy ldconfig; ac_word=$2
7105 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7106 printf %s "checking for $ac_word... " >&6; }
7107 if test ${ac_cv_path_LDCONFIG+y}
7108 then :
7109 printf %s "(cached) " >&6
7110 else $as_nop
7111 case $LDCONFIG in
7112 [\\/]* | ?:[\\/]*)
7113 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
7116 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7117 for as_dir in /sbin /usr/sbin $PATH
7119 IFS=$as_save_IFS
7120 case $as_dir in #(((
7121 '') as_dir=./ ;;
7122 */) ;;
7123 *) as_dir=$as_dir/ ;;
7124 esac
7125 for ac_exec_ext in '' $ac_executable_extensions; do
7126 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7127 ac_cv_path_LDCONFIG="$as_dir$ac_word$ac_exec_ext"
7128 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7129 break 2
7131 done
7132 done
7133 IFS=$as_save_IFS
7135 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
7137 esac
7139 LDCONFIG=$ac_cv_path_LDCONFIG
7140 if test -n "$LDCONFIG"; then
7141 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
7142 printf "%s\n" "$LDCONFIG" >&6; }
7143 else
7144 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7145 printf "%s\n" "no" >&6; }
7149 for ac_prog in msgfmt
7151 # Extract the first word of "$ac_prog", so it can be a program name with args.
7152 set dummy $ac_prog; ac_word=$2
7153 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7154 printf %s "checking for $ac_word... " >&6; }
7155 if test ${ac_cv_prog_MSGFMT+y}
7156 then :
7157 printf %s "(cached) " >&6
7158 else $as_nop
7159 if test -n "$MSGFMT"; then
7160 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
7161 else
7162 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7163 for as_dir in $PATH
7165 IFS=$as_save_IFS
7166 case $as_dir in #(((
7167 '') as_dir=./ ;;
7168 */) ;;
7169 *) as_dir=$as_dir/ ;;
7170 esac
7171 for ac_exec_ext in '' $ac_executable_extensions; do
7172 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7173 ac_cv_prog_MSGFMT="$ac_prog"
7174 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7175 break 2
7177 done
7178 done
7179 IFS=$as_save_IFS
7183 MSGFMT=$ac_cv_prog_MSGFMT
7184 if test -n "$MSGFMT"; then
7185 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
7186 printf "%s\n" "$MSGFMT" >&6; }
7187 else
7188 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7189 printf "%s\n" "no" >&6; }
7193 test -n "$MSGFMT" && break
7194 done
7195 test -n "$MSGFMT" || MSGFMT="false"
7197 if test ${ac_tool_prefix+y}
7198 then :
7199 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
7200 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
7201 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7202 printf %s "checking for $ac_word... " >&6; }
7203 if test ${ac_cv_prog_PKG_CONFIG+y}
7204 then :
7205 printf %s "(cached) " >&6
7206 else $as_nop
7207 if test -n "$PKG_CONFIG"; then
7208 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
7209 else
7210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7211 for as_dir in $PATH
7213 IFS=$as_save_IFS
7214 case $as_dir in #(((
7215 '') as_dir=./ ;;
7216 */) ;;
7217 *) as_dir=$as_dir/ ;;
7218 esac
7219 for ac_exec_ext in '' $ac_executable_extensions; do
7220 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7221 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
7222 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7223 break 2
7225 done
7226 done
7227 IFS=$as_save_IFS
7231 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7232 if test -n "$PKG_CONFIG"; then
7233 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7234 printf "%s\n" "$PKG_CONFIG" >&6; }
7235 else
7236 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7237 printf "%s\n" "no" >&6; }
7242 if ${ac_cv_prog_PKG_CONFIG:+false} :
7243 then :
7244 if test "x$cross_compiling" = xyes
7245 then :
7247 else $as_nop
7248 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
7249 # Extract the first word of "pkg-config", so it can be a program name with args.
7250 set dummy pkg-config; ac_word=$2
7251 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7252 printf %s "checking for $ac_word... " >&6; }
7253 if test ${ac_cv_prog_PKG_CONFIG+y}
7254 then :
7255 printf %s "(cached) " >&6
7256 else $as_nop
7257 if test -n "$PKG_CONFIG"; then
7258 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
7259 else
7260 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7261 for as_dir in $PATH
7263 IFS=$as_save_IFS
7264 case $as_dir in #(((
7265 '') as_dir=./ ;;
7266 */) ;;
7267 *) as_dir=$as_dir/ ;;
7268 esac
7269 for ac_exec_ext in '' $ac_executable_extensions; do
7270 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7271 ac_cv_prog_PKG_CONFIG="pkg-config"
7272 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7273 break 2
7275 done
7276 done
7277 IFS=$as_save_IFS
7281 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7282 if test -n "$PKG_CONFIG"; then
7283 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7284 printf "%s\n" "$PKG_CONFIG" >&6; }
7285 else
7286 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7287 printf "%s\n" "no" >&6; }
7292 else $as_nop
7293 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7296 if test "x$enable_maintainer_mode" != "xyes"
7297 then
7298 FONTFORGE=""
7299 RSVG=""
7300 CONVERT=""
7301 ICOTOOL=""
7302 else
7303 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
7304 for ac_prog in fontforge
7306 # Extract the first word of "$ac_prog", so it can be a program name with args.
7307 set dummy $ac_prog; ac_word=$2
7308 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7309 printf %s "checking for $ac_word... " >&6; }
7310 if test ${ac_cv_prog_FONTFORGE+y}
7311 then :
7312 printf %s "(cached) " >&6
7313 else $as_nop
7314 if test -n "$FONTFORGE"; then
7315 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
7316 else
7317 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7318 for as_dir in $PATH
7320 IFS=$as_save_IFS
7321 case $as_dir in #(((
7322 '') as_dir=./ ;;
7323 */) ;;
7324 *) as_dir=$as_dir/ ;;
7325 esac
7326 for ac_exec_ext in '' $ac_executable_extensions; do
7327 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7328 ac_cv_prog_FONTFORGE="$ac_prog"
7329 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7330 break 2
7332 done
7333 done
7334 IFS=$as_save_IFS
7338 FONTFORGE=$ac_cv_prog_FONTFORGE
7339 if test -n "$FONTFORGE"; then
7340 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
7341 printf "%s\n" "$FONTFORGE" >&6; }
7342 else
7343 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7344 printf "%s\n" "no" >&6; }
7348 test -n "$FONTFORGE" && break
7349 done
7350 test -n "$FONTFORGE" || FONTFORGE="false"
7352 for ac_prog in rsvg-convert rsvg
7354 # Extract the first word of "$ac_prog", so it can be a program name with args.
7355 set dummy $ac_prog; ac_word=$2
7356 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7357 printf %s "checking for $ac_word... " >&6; }
7358 if test ${ac_cv_prog_RSVG+y}
7359 then :
7360 printf %s "(cached) " >&6
7361 else $as_nop
7362 if test -n "$RSVG"; then
7363 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
7364 else
7365 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7366 for as_dir in $PATH
7368 IFS=$as_save_IFS
7369 case $as_dir in #(((
7370 '') as_dir=./ ;;
7371 */) ;;
7372 *) as_dir=$as_dir/ ;;
7373 esac
7374 for ac_exec_ext in '' $ac_executable_extensions; do
7375 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7376 ac_cv_prog_RSVG="$ac_prog"
7377 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7378 break 2
7380 done
7381 done
7382 IFS=$as_save_IFS
7386 RSVG=$ac_cv_prog_RSVG
7387 if test -n "$RSVG"; then
7388 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
7389 printf "%s\n" "$RSVG" >&6; }
7390 else
7391 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7392 printf "%s\n" "no" >&6; }
7396 test -n "$RSVG" && break
7397 done
7398 test -n "$RSVG" || RSVG="false"
7400 for ac_prog in convert
7402 # Extract the first word of "$ac_prog", so it can be a program name with args.
7403 set dummy $ac_prog; ac_word=$2
7404 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7405 printf %s "checking for $ac_word... " >&6; }
7406 if test ${ac_cv_prog_CONVERT+y}
7407 then :
7408 printf %s "(cached) " >&6
7409 else $as_nop
7410 if test -n "$CONVERT"; then
7411 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
7412 else
7413 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7414 for as_dir in $PATH
7416 IFS=$as_save_IFS
7417 case $as_dir in #(((
7418 '') as_dir=./ ;;
7419 */) ;;
7420 *) as_dir=$as_dir/ ;;
7421 esac
7422 for ac_exec_ext in '' $ac_executable_extensions; do
7423 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7424 ac_cv_prog_CONVERT="$ac_prog"
7425 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7426 break 2
7428 done
7429 done
7430 IFS=$as_save_IFS
7434 CONVERT=$ac_cv_prog_CONVERT
7435 if test -n "$CONVERT"; then
7436 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
7437 printf "%s\n" "$CONVERT" >&6; }
7438 else
7439 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7440 printf "%s\n" "no" >&6; }
7444 test -n "$CONVERT" && break
7445 done
7446 test -n "$CONVERT" || CONVERT="false"
7448 for ac_prog in icotool
7450 # Extract the first word of "$ac_prog", so it can be a program name with args.
7451 set dummy $ac_prog; ac_word=$2
7452 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7453 printf %s "checking for $ac_word... " >&6; }
7454 if test ${ac_cv_prog_ICOTOOL+y}
7455 then :
7456 printf %s "(cached) " >&6
7457 else $as_nop
7458 if test -n "$ICOTOOL"; then
7459 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
7460 else
7461 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7462 for as_dir in $PATH
7464 IFS=$as_save_IFS
7465 case $as_dir in #(((
7466 '') as_dir=./ ;;
7467 */) ;;
7468 *) as_dir=$as_dir/ ;;
7469 esac
7470 for ac_exec_ext in '' $ac_executable_extensions; do
7471 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7472 ac_cv_prog_ICOTOOL="$ac_prog"
7473 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7474 break 2
7476 done
7477 done
7478 IFS=$as_save_IFS
7482 ICOTOOL=$ac_cv_prog_ICOTOOL
7483 if test -n "$ICOTOOL"; then
7484 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
7485 printf "%s\n" "$ICOTOOL" >&6; }
7486 else
7487 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7488 printf "%s\n" "no" >&6; }
7492 test -n "$ICOTOOL" && break
7493 done
7494 test -n "$ICOTOOL" || ICOTOOL="false"
7496 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
7497 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
7499 if test "$CONVERT" = false
7500 then
7501 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
7502 else
7503 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
7504 printf %s "checking for recent enough imagemagick... " >&6; }
7505 convert_version=`convert --version | head -n1`
7506 if test "x$convert_version" != "x"
7507 then
7508 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
7509 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
7510 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
7511 then
7512 CONVERT=false
7515 if test "$CONVERT" = false
7516 then
7517 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
7518 printf "%s\n" "no ($convert_version_major.$convert_version_minor)" >&6; }
7519 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7520 else
7521 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
7522 printf "%s\n" "yes ($convert_version_major.$convert_version_minor)" >&6; }
7526 if test "$ICOTOOL" = false
7527 then
7528 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
7529 else
7530 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
7531 printf %s "checking for recent enough icotool... " >&6; }
7532 icotool_version=`icotool --version | head -n1`
7533 if test "x$icotool_version" != "x"
7534 then
7535 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
7536 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
7537 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
7538 then
7539 ICOTOOL=false
7540 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
7543 if test "$ICOTOOL" = false
7544 then
7545 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
7546 printf "%s\n" "no ($icotool_version_major.$icotool_version_minor)" >&6; }
7547 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7548 else
7549 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
7550 printf "%s\n" "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
7554 with_gettext=yes
7555 with_gettextpo=yes
7557 enable_werror=yes
7560 test "x$with_gettext" != xno || MSGFMT=false
7561 if test "$MSGFMT" != "false"
7562 then
7563 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
7564 printf %s "checking whether msgfmt supports contexts... " >&6; }
7565 if test ${wine_cv_msgfmt_contexts+y}
7566 then :
7567 printf %s "(cached) " >&6
7568 else $as_nop
7569 cat >conftest.po <<EOF
7570 # comment
7571 msgctxt "ctxt"
7572 msgid "id"
7573 msgstr "str"
7575 if $MSGFMT -o /dev/null conftest.po 2>&5
7576 then
7577 wine_cv_msgfmt_contexts=yes
7578 else
7579 wine_cv_msgfmt_contexts=no
7582 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_msgfmt_contexts" >&5
7583 printf "%s\n" "$wine_cv_msgfmt_contexts" >&6; }
7584 test $wine_cv_msgfmt_contexts != no || MSGFMT=false
7586 if test "$MSGFMT" = false
7587 then :
7588 case "x$with_gettext" in
7589 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
7590 xno) ;;
7591 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
7592 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
7593 esac
7594 enable_po=${enable_po:-no}
7598 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
7599 printf %s "checking for i386_set_ldt in -li386... " >&6; }
7600 if test ${ac_cv_lib_i386_i386_set_ldt+y}
7601 then :
7602 printf %s "(cached) " >&6
7603 else $as_nop
7604 ac_check_lib_save_LIBS=$LIBS
7605 LIBS="-li386 $LIBS"
7606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7607 /* end confdefs.h. */
7609 /* Override any GCC internal prototype to avoid an error.
7610 Use char because int might match the return type of a GCC
7611 builtin and then its argument prototype would still apply. */
7612 char i386_set_ldt ();
7614 main (void)
7616 return i386_set_ldt ();
7618 return 0;
7620 _ACEOF
7621 if ac_fn_c_try_link "$LINENO"
7622 then :
7623 ac_cv_lib_i386_i386_set_ldt=yes
7624 else $as_nop
7625 ac_cv_lib_i386_i386_set_ldt=no
7627 rm -f core conftest.err conftest.$ac_objext conftest.beam \
7628 conftest$ac_exeext conftest.$ac_ext
7629 LIBS=$ac_check_lib_save_LIBS
7631 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
7632 printf "%s\n" "$ac_cv_lib_i386_i386_set_ldt" >&6; }
7633 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes
7634 then :
7635 I386_LIBS="-li386"
7640 OPENGL_LIBS=""
7644 # Check whether --enable-largefile was given.
7645 if test ${enable_largefile+y}
7646 then :
7647 enableval=$enable_largefile;
7650 if test "$enable_largefile" != no; then
7652 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
7653 printf %s "checking for special C compiler options needed for large files... " >&6; }
7654 if test ${ac_cv_sys_largefile_CC+y}
7655 then :
7656 printf %s "(cached) " >&6
7657 else $as_nop
7658 ac_cv_sys_largefile_CC=no
7659 if test "$GCC" != yes; then
7660 ac_save_CC=$CC
7661 while :; do
7662 # IRIX 6.2 and later do not support large files by default,
7663 # so use the C compiler's -n32 option if that helps.
7664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7665 /* end confdefs.h. */
7666 #include <sys/types.h>
7667 /* Check that off_t can represent 2**63 - 1 correctly.
7668 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7669 since some C++ compilers masquerading as C compilers
7670 incorrectly reject 9223372036854775807. */
7671 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7672 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7673 && LARGE_OFF_T % 2147483647 == 1)
7674 ? 1 : -1];
7676 main (void)
7680 return 0;
7682 _ACEOF
7683 if ac_fn_c_try_compile "$LINENO"
7684 then :
7685 break
7687 rm -f core conftest.err conftest.$ac_objext conftest.beam
7688 CC="$CC -n32"
7689 if ac_fn_c_try_compile "$LINENO"
7690 then :
7691 ac_cv_sys_largefile_CC=' -n32'; break
7693 rm -f core conftest.err conftest.$ac_objext conftest.beam
7694 break
7695 done
7696 CC=$ac_save_CC
7697 rm -f conftest.$ac_ext
7700 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
7701 printf "%s\n" "$ac_cv_sys_largefile_CC" >&6; }
7702 if test "$ac_cv_sys_largefile_CC" != no; then
7703 CC=$CC$ac_cv_sys_largefile_CC
7706 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
7707 printf %s "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
7708 if test ${ac_cv_sys_file_offset_bits+y}
7709 then :
7710 printf %s "(cached) " >&6
7711 else $as_nop
7712 while :; do
7713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7714 /* end confdefs.h. */
7715 #include <sys/types.h>
7716 /* Check that off_t can represent 2**63 - 1 correctly.
7717 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7718 since some C++ compilers masquerading as C compilers
7719 incorrectly reject 9223372036854775807. */
7720 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7721 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7722 && LARGE_OFF_T % 2147483647 == 1)
7723 ? 1 : -1];
7725 main (void)
7729 return 0;
7731 _ACEOF
7732 if ac_fn_c_try_compile "$LINENO"
7733 then :
7734 ac_cv_sys_file_offset_bits=no; break
7736 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7738 /* end confdefs.h. */
7739 #define _FILE_OFFSET_BITS 64
7740 #include <sys/types.h>
7741 /* Check that off_t can represent 2**63 - 1 correctly.
7742 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7743 since some C++ compilers masquerading as C compilers
7744 incorrectly reject 9223372036854775807. */
7745 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7746 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7747 && LARGE_OFF_T % 2147483647 == 1)
7748 ? 1 : -1];
7750 main (void)
7754 return 0;
7756 _ACEOF
7757 if ac_fn_c_try_compile "$LINENO"
7758 then :
7759 ac_cv_sys_file_offset_bits=64; break
7761 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7762 ac_cv_sys_file_offset_bits=unknown
7763 break
7764 done
7766 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
7767 printf "%s\n" "$ac_cv_sys_file_offset_bits" >&6; }
7768 case $ac_cv_sys_file_offset_bits in #(
7769 no | unknown) ;;
7771 printf "%s\n" "#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits" >>confdefs.h
7773 esac
7774 rm -rf conftest*
7775 if test $ac_cv_sys_file_offset_bits = unknown; then
7776 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
7777 printf %s "checking for _LARGE_FILES value needed for large files... " >&6; }
7778 if test ${ac_cv_sys_large_files+y}
7779 then :
7780 printf %s "(cached) " >&6
7781 else $as_nop
7782 while :; do
7783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7784 /* end confdefs.h. */
7785 #include <sys/types.h>
7786 /* Check that off_t can represent 2**63 - 1 correctly.
7787 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7788 since some C++ compilers masquerading as C compilers
7789 incorrectly reject 9223372036854775807. */
7790 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7791 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7792 && LARGE_OFF_T % 2147483647 == 1)
7793 ? 1 : -1];
7795 main (void)
7799 return 0;
7801 _ACEOF
7802 if ac_fn_c_try_compile "$LINENO"
7803 then :
7804 ac_cv_sys_large_files=no; break
7806 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7808 /* end confdefs.h. */
7809 #define _LARGE_FILES 1
7810 #include <sys/types.h>
7811 /* Check that off_t can represent 2**63 - 1 correctly.
7812 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7813 since some C++ compilers masquerading as C compilers
7814 incorrectly reject 9223372036854775807. */
7815 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7816 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7817 && LARGE_OFF_T % 2147483647 == 1)
7818 ? 1 : -1];
7820 main (void)
7824 return 0;
7826 _ACEOF
7827 if ac_fn_c_try_compile "$LINENO"
7828 then :
7829 ac_cv_sys_large_files=1; break
7831 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7832 ac_cv_sys_large_files=unknown
7833 break
7834 done
7836 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
7837 printf "%s\n" "$ac_cv_sys_large_files" >&6; }
7838 case $ac_cv_sys_large_files in #(
7839 no | unknown) ;;
7841 printf "%s\n" "#define _LARGE_FILES $ac_cv_sys_large_files" >>confdefs.h
7843 esac
7844 rm -rf conftest*
7848 test "$ac_cv_sys_file_offset_bits" = 64 &&
7849 printf "%s\n" "#define _TIME_BITS 64" >>confdefs.h
7852 ac_header= ac_cache=
7853 for ac_item in $ac_header_c_list
7855 if test $ac_cache; then
7856 ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
7857 if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
7858 printf "%s\n" "#define $ac_item 1" >> confdefs.h
7860 ac_header= ac_cache=
7861 elif test $ac_header; then
7862 ac_cache=$ac_item
7863 else
7864 ac_header=$ac_item
7866 done
7875 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
7876 then :
7878 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
7881 ac_fn_c_check_header_compile "$LINENO" "CL/cl.h" "ac_cv_header_CL_cl_h" "$ac_includes_default"
7882 if test "x$ac_cv_header_CL_cl_h" = xyes
7883 then :
7884 printf "%s\n" "#define HAVE_CL_CL_H 1" >>confdefs.h
7887 ac_fn_c_check_header_compile "$LINENO" "EGL/egl.h" "ac_cv_header_EGL_egl_h" "$ac_includes_default"
7888 if test "x$ac_cv_header_EGL_egl_h" = xyes
7889 then :
7890 printf "%s\n" "#define HAVE_EGL_EGL_H 1" >>confdefs.h
7893 ac_fn_c_check_header_compile "$LINENO" "OpenCL/opencl.h" "ac_cv_header_OpenCL_opencl_h" "$ac_includes_default"
7894 if test "x$ac_cv_header_OpenCL_opencl_h" = xyes
7895 then :
7896 printf "%s\n" "#define HAVE_OPENCL_OPENCL_H 1" >>confdefs.h
7899 ac_fn_c_check_header_compile "$LINENO" "arpa/inet.h" "ac_cv_header_arpa_inet_h" "$ac_includes_default"
7900 if test "x$ac_cv_header_arpa_inet_h" = xyes
7901 then :
7902 printf "%s\n" "#define HAVE_ARPA_INET_H 1" >>confdefs.h
7905 ac_fn_c_check_header_compile "$LINENO" "arpa/nameser.h" "ac_cv_header_arpa_nameser_h" "$ac_includes_default"
7906 if test "x$ac_cv_header_arpa_nameser_h" = xyes
7907 then :
7908 printf "%s\n" "#define HAVE_ARPA_NAMESER_H 1" >>confdefs.h
7911 ac_fn_c_check_header_compile "$LINENO" "asm/termbits.h" "ac_cv_header_asm_termbits_h" "$ac_includes_default"
7912 if test "x$ac_cv_header_asm_termbits_h" = xyes
7913 then :
7914 printf "%s\n" "#define HAVE_ASM_TERMBITS_H 1" >>confdefs.h
7917 ac_fn_c_check_header_compile "$LINENO" "asm/types.h" "ac_cv_header_asm_types_h" "$ac_includes_default"
7918 if test "x$ac_cv_header_asm_types_h" = xyes
7919 then :
7920 printf "%s\n" "#define HAVE_ASM_TYPES_H 1" >>confdefs.h
7923 ac_fn_c_check_header_compile "$LINENO" "asm/user.h" "ac_cv_header_asm_user_h" "$ac_includes_default"
7924 if test "x$ac_cv_header_asm_user_h" = xyes
7925 then :
7926 printf "%s\n" "#define HAVE_ASM_USER_H 1" >>confdefs.h
7929 ac_fn_c_check_header_compile "$LINENO" "elf.h" "ac_cv_header_elf_h" "$ac_includes_default"
7930 if test "x$ac_cv_header_elf_h" = xyes
7931 then :
7932 printf "%s\n" "#define HAVE_ELF_H 1" >>confdefs.h
7935 ac_fn_c_check_header_compile "$LINENO" "float.h" "ac_cv_header_float_h" "$ac_includes_default"
7936 if test "x$ac_cv_header_float_h" = xyes
7937 then :
7938 printf "%s\n" "#define HAVE_FLOAT_H 1" >>confdefs.h
7941 ac_fn_c_check_header_compile "$LINENO" "gettext-po.h" "ac_cv_header_gettext_po_h" "$ac_includes_default"
7942 if test "x$ac_cv_header_gettext_po_h" = xyes
7943 then :
7944 printf "%s\n" "#define HAVE_GETTEXT_PO_H 1" >>confdefs.h
7947 ac_fn_c_check_header_compile "$LINENO" "libproc.h" "ac_cv_header_libproc_h" "$ac_includes_default"
7948 if test "x$ac_cv_header_libproc_h" = xyes
7949 then :
7950 printf "%s\n" "#define HAVE_LIBPROC_H 1" >>confdefs.h
7953 ac_fn_c_check_header_compile "$LINENO" "link.h" "ac_cv_header_link_h" "$ac_includes_default"
7954 if test "x$ac_cv_header_link_h" = xyes
7955 then :
7956 printf "%s\n" "#define HAVE_LINK_H 1" >>confdefs.h
7959 ac_fn_c_check_header_compile "$LINENO" "linux/cdrom.h" "ac_cv_header_linux_cdrom_h" "$ac_includes_default"
7960 if test "x$ac_cv_header_linux_cdrom_h" = xyes
7961 then :
7962 printf "%s\n" "#define HAVE_LINUX_CDROM_H 1" >>confdefs.h
7965 ac_fn_c_check_header_compile "$LINENO" "linux/filter.h" "ac_cv_header_linux_filter_h" "$ac_includes_default"
7966 if test "x$ac_cv_header_linux_filter_h" = xyes
7967 then :
7968 printf "%s\n" "#define HAVE_LINUX_FILTER_H 1" >>confdefs.h
7971 ac_fn_c_check_header_compile "$LINENO" "linux/hdreg.h" "ac_cv_header_linux_hdreg_h" "$ac_includes_default"
7972 if test "x$ac_cv_header_linux_hdreg_h" = xyes
7973 then :
7974 printf "%s\n" "#define HAVE_LINUX_HDREG_H 1" >>confdefs.h
7977 ac_fn_c_check_header_compile "$LINENO" "linux/hidraw.h" "ac_cv_header_linux_hidraw_h" "$ac_includes_default"
7978 if test "x$ac_cv_header_linux_hidraw_h" = xyes
7979 then :
7980 printf "%s\n" "#define HAVE_LINUX_HIDRAW_H 1" >>confdefs.h
7983 ac_fn_c_check_header_compile "$LINENO" "linux/input.h" "ac_cv_header_linux_input_h" "$ac_includes_default"
7984 if test "x$ac_cv_header_linux_input_h" = xyes
7985 then :
7986 printf "%s\n" "#define HAVE_LINUX_INPUT_H 1" >>confdefs.h
7989 ac_fn_c_check_header_compile "$LINENO" "linux/ioctl.h" "ac_cv_header_linux_ioctl_h" "$ac_includes_default"
7990 if test "x$ac_cv_header_linux_ioctl_h" = xyes
7991 then :
7992 printf "%s\n" "#define HAVE_LINUX_IOCTL_H 1" >>confdefs.h
7995 ac_fn_c_check_header_compile "$LINENO" "linux/major.h" "ac_cv_header_linux_major_h" "$ac_includes_default"
7996 if test "x$ac_cv_header_linux_major_h" = xyes
7997 then :
7998 printf "%s\n" "#define HAVE_LINUX_MAJOR_H 1" >>confdefs.h
8001 ac_fn_c_check_header_compile "$LINENO" "linux/param.h" "ac_cv_header_linux_param_h" "$ac_includes_default"
8002 if test "x$ac_cv_header_linux_param_h" = xyes
8003 then :
8004 printf "%s\n" "#define HAVE_LINUX_PARAM_H 1" >>confdefs.h
8007 ac_fn_c_check_header_compile "$LINENO" "linux/serial.h" "ac_cv_header_linux_serial_h" "$ac_includes_default"
8008 if test "x$ac_cv_header_linux_serial_h" = xyes
8009 then :
8010 printf "%s\n" "#define HAVE_LINUX_SERIAL_H 1" >>confdefs.h
8013 ac_fn_c_check_header_compile "$LINENO" "linux/types.h" "ac_cv_header_linux_types_h" "$ac_includes_default"
8014 if test "x$ac_cv_header_linux_types_h" = xyes
8015 then :
8016 printf "%s\n" "#define HAVE_LINUX_TYPES_H 1" >>confdefs.h
8019 ac_fn_c_check_header_compile "$LINENO" "linux/ucdrom.h" "ac_cv_header_linux_ucdrom_h" "$ac_includes_default"
8020 if test "x$ac_cv_header_linux_ucdrom_h" = xyes
8021 then :
8022 printf "%s\n" "#define HAVE_LINUX_UCDROM_H 1" >>confdefs.h
8025 ac_fn_c_check_header_compile "$LINENO" "linux/wireless.h" "ac_cv_header_linux_wireless_h" "$ac_includes_default"
8026 if test "x$ac_cv_header_linux_wireless_h" = xyes
8027 then :
8028 printf "%s\n" "#define HAVE_LINUX_WIRELESS_H 1" >>confdefs.h
8031 ac_fn_c_check_header_compile "$LINENO" "lwp.h" "ac_cv_header_lwp_h" "$ac_includes_default"
8032 if test "x$ac_cv_header_lwp_h" = xyes
8033 then :
8034 printf "%s\n" "#define HAVE_LWP_H 1" >>confdefs.h
8037 ac_fn_c_check_header_compile "$LINENO" "mach-o/loader.h" "ac_cv_header_mach_o_loader_h" "$ac_includes_default"
8038 if test "x$ac_cv_header_mach_o_loader_h" = xyes
8039 then :
8040 printf "%s\n" "#define HAVE_MACH_O_LOADER_H 1" >>confdefs.h
8043 ac_fn_c_check_header_compile "$LINENO" "mach/mach.h" "ac_cv_header_mach_mach_h" "$ac_includes_default"
8044 if test "x$ac_cv_header_mach_mach_h" = xyes
8045 then :
8046 printf "%s\n" "#define HAVE_MACH_MACH_H 1" >>confdefs.h
8049 ac_fn_c_check_header_compile "$LINENO" "machine/cpu.h" "ac_cv_header_machine_cpu_h" "$ac_includes_default"
8050 if test "x$ac_cv_header_machine_cpu_h" = xyes
8051 then :
8052 printf "%s\n" "#define HAVE_MACHINE_CPU_H 1" >>confdefs.h
8055 ac_fn_c_check_header_compile "$LINENO" "machine/sysarch.h" "ac_cv_header_machine_sysarch_h" "$ac_includes_default"
8056 if test "x$ac_cv_header_machine_sysarch_h" = xyes
8057 then :
8058 printf "%s\n" "#define HAVE_MACHINE_SYSARCH_H 1" >>confdefs.h
8061 ac_fn_c_check_header_compile "$LINENO" "mntent.h" "ac_cv_header_mntent_h" "$ac_includes_default"
8062 if test "x$ac_cv_header_mntent_h" = xyes
8063 then :
8064 printf "%s\n" "#define HAVE_MNTENT_H 1" >>confdefs.h
8067 ac_fn_c_check_header_compile "$LINENO" "netdb.h" "ac_cv_header_netdb_h" "$ac_includes_default"
8068 if test "x$ac_cv_header_netdb_h" = xyes
8069 then :
8070 printf "%s\n" "#define HAVE_NETDB_H 1" >>confdefs.h
8073 ac_fn_c_check_header_compile "$LINENO" "netinet/in.h" "ac_cv_header_netinet_in_h" "$ac_includes_default"
8074 if test "x$ac_cv_header_netinet_in_h" = xyes
8075 then :
8076 printf "%s\n" "#define HAVE_NETINET_IN_H 1" >>confdefs.h
8079 ac_fn_c_check_header_compile "$LINENO" "netinet/in_systm.h" "ac_cv_header_netinet_in_systm_h" "$ac_includes_default"
8080 if test "x$ac_cv_header_netinet_in_systm_h" = xyes
8081 then :
8082 printf "%s\n" "#define HAVE_NETINET_IN_SYSTM_H 1" >>confdefs.h
8085 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp.h" "ac_cv_header_netinet_tcp_h" "$ac_includes_default"
8086 if test "x$ac_cv_header_netinet_tcp_h" = xyes
8087 then :
8088 printf "%s\n" "#define HAVE_NETINET_TCP_H 1" >>confdefs.h
8091 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp_fsm.h" "ac_cv_header_netinet_tcp_fsm_h" "$ac_includes_default"
8092 if test "x$ac_cv_header_netinet_tcp_fsm_h" = xyes
8093 then :
8094 printf "%s\n" "#define HAVE_NETINET_TCP_FSM_H 1" >>confdefs.h
8097 ac_fn_c_check_header_compile "$LINENO" "pcap/pcap.h" "ac_cv_header_pcap_pcap_h" "$ac_includes_default"
8098 if test "x$ac_cv_header_pcap_pcap_h" = xyes
8099 then :
8100 printf "%s\n" "#define HAVE_PCAP_PCAP_H 1" >>confdefs.h
8103 ac_fn_c_check_header_compile "$LINENO" "port.h" "ac_cv_header_port_h" "$ac_includes_default"
8104 if test "x$ac_cv_header_port_h" = xyes
8105 then :
8106 printf "%s\n" "#define HAVE_PORT_H 1" >>confdefs.h
8109 ac_fn_c_check_header_compile "$LINENO" "pwd.h" "ac_cv_header_pwd_h" "$ac_includes_default"
8110 if test "x$ac_cv_header_pwd_h" = xyes
8111 then :
8112 printf "%s\n" "#define HAVE_PWD_H 1" >>confdefs.h
8115 ac_fn_c_check_header_compile "$LINENO" "sched.h" "ac_cv_header_sched_h" "$ac_includes_default"
8116 if test "x$ac_cv_header_sched_h" = xyes
8117 then :
8118 printf "%s\n" "#define HAVE_SCHED_H 1" >>confdefs.h
8121 ac_fn_c_check_header_compile "$LINENO" "scsi/scsi.h" "ac_cv_header_scsi_scsi_h" "$ac_includes_default"
8122 if test "x$ac_cv_header_scsi_scsi_h" = xyes
8123 then :
8124 printf "%s\n" "#define HAVE_SCSI_SCSI_H 1" >>confdefs.h
8127 ac_fn_c_check_header_compile "$LINENO" "scsi/scsi_ioctl.h" "ac_cv_header_scsi_scsi_ioctl_h" "$ac_includes_default"
8128 if test "x$ac_cv_header_scsi_scsi_ioctl_h" = xyes
8129 then :
8130 printf "%s\n" "#define HAVE_SCSI_SCSI_IOCTL_H 1" >>confdefs.h
8133 ac_fn_c_check_header_compile "$LINENO" "scsi/sg.h" "ac_cv_header_scsi_sg_h" "$ac_includes_default"
8134 if test "x$ac_cv_header_scsi_sg_h" = xyes
8135 then :
8136 printf "%s\n" "#define HAVE_SCSI_SG_H 1" >>confdefs.h
8139 ac_fn_c_check_header_compile "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
8140 if test "x$ac_cv_header_stdint_h" = xyes
8141 then :
8142 printf "%s\n" "#define HAVE_STDINT_H 1" >>confdefs.h
8145 ac_fn_c_check_header_compile "$LINENO" "sys/attr.h" "ac_cv_header_sys_attr_h" "$ac_includes_default"
8146 if test "x$ac_cv_header_sys_attr_h" = xyes
8147 then :
8148 printf "%s\n" "#define HAVE_SYS_ATTR_H 1" >>confdefs.h
8151 ac_fn_c_check_header_compile "$LINENO" "sys/auxv.h" "ac_cv_header_sys_auxv_h" "$ac_includes_default"
8152 if test "x$ac_cv_header_sys_auxv_h" = xyes
8153 then :
8154 printf "%s\n" "#define HAVE_SYS_AUXV_H 1" >>confdefs.h
8157 ac_fn_c_check_header_compile "$LINENO" "sys/cdio.h" "ac_cv_header_sys_cdio_h" "$ac_includes_default"
8158 if test "x$ac_cv_header_sys_cdio_h" = xyes
8159 then :
8160 printf "%s\n" "#define HAVE_SYS_CDIO_H 1" >>confdefs.h
8163 ac_fn_c_check_header_compile "$LINENO" "sys/epoll.h" "ac_cv_header_sys_epoll_h" "$ac_includes_default"
8164 if test "x$ac_cv_header_sys_epoll_h" = xyes
8165 then :
8166 printf "%s\n" "#define HAVE_SYS_EPOLL_H 1" >>confdefs.h
8169 ac_fn_c_check_header_compile "$LINENO" "sys/event.h" "ac_cv_header_sys_event_h" "$ac_includes_default"
8170 if test "x$ac_cv_header_sys_event_h" = xyes
8171 then :
8172 printf "%s\n" "#define HAVE_SYS_EVENT_H 1" >>confdefs.h
8175 ac_fn_c_check_header_compile "$LINENO" "sys/extattr.h" "ac_cv_header_sys_extattr_h" "$ac_includes_default"
8176 if test "x$ac_cv_header_sys_extattr_h" = xyes
8177 then :
8178 printf "%s\n" "#define HAVE_SYS_EXTATTR_H 1" >>confdefs.h
8181 ac_fn_c_check_header_compile "$LINENO" "sys/filio.h" "ac_cv_header_sys_filio_h" "$ac_includes_default"
8182 if test "x$ac_cv_header_sys_filio_h" = xyes
8183 then :
8184 printf "%s\n" "#define HAVE_SYS_FILIO_H 1" >>confdefs.h
8187 ac_fn_c_check_header_compile "$LINENO" "sys/ipc.h" "ac_cv_header_sys_ipc_h" "$ac_includes_default"
8188 if test "x$ac_cv_header_sys_ipc_h" = xyes
8189 then :
8190 printf "%s\n" "#define HAVE_SYS_IPC_H 1" >>confdefs.h
8193 ac_fn_c_check_header_compile "$LINENO" "sys/link.h" "ac_cv_header_sys_link_h" "$ac_includes_default"
8194 if test "x$ac_cv_header_sys_link_h" = xyes
8195 then :
8196 printf "%s\n" "#define HAVE_SYS_LINK_H 1" >>confdefs.h
8199 ac_fn_c_check_header_compile "$LINENO" "sys/modem.h" "ac_cv_header_sys_modem_h" "$ac_includes_default"
8200 if test "x$ac_cv_header_sys_modem_h" = xyes
8201 then :
8202 printf "%s\n" "#define HAVE_SYS_MODEM_H 1" >>confdefs.h
8205 ac_fn_c_check_header_compile "$LINENO" "sys/mtio.h" "ac_cv_header_sys_mtio_h" "$ac_includes_default"
8206 if test "x$ac_cv_header_sys_mtio_h" = xyes
8207 then :
8208 printf "%s\n" "#define HAVE_SYS_MTIO_H 1" >>confdefs.h
8211 ac_fn_c_check_header_compile "$LINENO" "sys/param.h" "ac_cv_header_sys_param_h" "$ac_includes_default"
8212 if test "x$ac_cv_header_sys_param_h" = xyes
8213 then :
8214 printf "%s\n" "#define HAVE_SYS_PARAM_H 1" >>confdefs.h
8217 ac_fn_c_check_header_compile "$LINENO" "sys/prctl.h" "ac_cv_header_sys_prctl_h" "$ac_includes_default"
8218 if test "x$ac_cv_header_sys_prctl_h" = xyes
8219 then :
8220 printf "%s\n" "#define HAVE_SYS_PRCTL_H 1" >>confdefs.h
8223 ac_fn_c_check_header_compile "$LINENO" "sys/ptrace.h" "ac_cv_header_sys_ptrace_h" "$ac_includes_default"
8224 if test "x$ac_cv_header_sys_ptrace_h" = xyes
8225 then :
8226 printf "%s\n" "#define HAVE_SYS_PTRACE_H 1" >>confdefs.h
8229 ac_fn_c_check_header_compile "$LINENO" "sys/queue.h" "ac_cv_header_sys_queue_h" "$ac_includes_default"
8230 if test "x$ac_cv_header_sys_queue_h" = xyes
8231 then :
8232 printf "%s\n" "#define HAVE_SYS_QUEUE_H 1" >>confdefs.h
8235 ac_fn_c_check_header_compile "$LINENO" "sys/random.h" "ac_cv_header_sys_random_h" "$ac_includes_default"
8236 if test "x$ac_cv_header_sys_random_h" = xyes
8237 then :
8238 printf "%s\n" "#define HAVE_SYS_RANDOM_H 1" >>confdefs.h
8241 ac_fn_c_check_header_compile "$LINENO" "sys/resource.h" "ac_cv_header_sys_resource_h" "$ac_includes_default"
8242 if test "x$ac_cv_header_sys_resource_h" = xyes
8243 then :
8244 printf "%s\n" "#define HAVE_SYS_RESOURCE_H 1" >>confdefs.h
8247 ac_fn_c_check_header_compile "$LINENO" "sys/scsiio.h" "ac_cv_header_sys_scsiio_h" "$ac_includes_default"
8248 if test "x$ac_cv_header_sys_scsiio_h" = xyes
8249 then :
8250 printf "%s\n" "#define HAVE_SYS_SCSIIO_H 1" >>confdefs.h
8253 ac_fn_c_check_header_compile "$LINENO" "sys/shm.h" "ac_cv_header_sys_shm_h" "$ac_includes_default"
8254 if test "x$ac_cv_header_sys_shm_h" = xyes
8255 then :
8256 printf "%s\n" "#define HAVE_SYS_SHM_H 1" >>confdefs.h
8259 ac_fn_c_check_header_compile "$LINENO" "sys/signal.h" "ac_cv_header_sys_signal_h" "$ac_includes_default"
8260 if test "x$ac_cv_header_sys_signal_h" = xyes
8261 then :
8262 printf "%s\n" "#define HAVE_SYS_SIGNAL_H 1" >>confdefs.h
8265 ac_fn_c_check_header_compile "$LINENO" "sys/socketvar.h" "ac_cv_header_sys_socketvar_h" "$ac_includes_default"
8266 if test "x$ac_cv_header_sys_socketvar_h" = xyes
8267 then :
8268 printf "%s\n" "#define HAVE_SYS_SOCKETVAR_H 1" >>confdefs.h
8271 ac_fn_c_check_header_compile "$LINENO" "sys/sockio.h" "ac_cv_header_sys_sockio_h" "$ac_includes_default"
8272 if test "x$ac_cv_header_sys_sockio_h" = xyes
8273 then :
8274 printf "%s\n" "#define HAVE_SYS_SOCKIO_H 1" >>confdefs.h
8277 ac_fn_c_check_header_compile "$LINENO" "sys/statvfs.h" "ac_cv_header_sys_statvfs_h" "$ac_includes_default"
8278 if test "x$ac_cv_header_sys_statvfs_h" = xyes
8279 then :
8280 printf "%s\n" "#define HAVE_SYS_STATVFS_H 1" >>confdefs.h
8283 ac_fn_c_check_header_compile "$LINENO" "sys/strtio.h" "ac_cv_header_sys_strtio_h" "$ac_includes_default"
8284 if test "x$ac_cv_header_sys_strtio_h" = xyes
8285 then :
8286 printf "%s\n" "#define HAVE_SYS_STRTIO_H 1" >>confdefs.h
8289 ac_fn_c_check_header_compile "$LINENO" "sys/syscall.h" "ac_cv_header_sys_syscall_h" "$ac_includes_default"
8290 if test "x$ac_cv_header_sys_syscall_h" = xyes
8291 then :
8292 printf "%s\n" "#define HAVE_SYS_SYSCALL_H 1" >>confdefs.h
8295 ac_fn_c_check_header_compile "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
8296 if test "x$ac_cv_header_sys_sysinfo_h" = xyes
8297 then :
8298 printf "%s\n" "#define HAVE_SYS_SYSINFO_H 1" >>confdefs.h
8301 ac_fn_c_check_header_compile "$LINENO" "sys/times.h" "ac_cv_header_sys_times_h" "$ac_includes_default"
8302 if test "x$ac_cv_header_sys_times_h" = xyes
8303 then :
8304 printf "%s\n" "#define HAVE_SYS_TIMES_H 1" >>confdefs.h
8307 ac_fn_c_check_header_compile "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
8308 if test "x$ac_cv_header_sys_uio_h" = xyes
8309 then :
8310 printf "%s\n" "#define HAVE_SYS_UIO_H 1" >>confdefs.h
8313 ac_fn_c_check_header_compile "$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "$ac_includes_default"
8314 if test "x$ac_cv_header_sys_user_h" = xyes
8315 then :
8316 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8319 ac_fn_c_check_header_compile "$LINENO" "sys/utsname.h" "ac_cv_header_sys_utsname_h" "$ac_includes_default"
8320 if test "x$ac_cv_header_sys_utsname_h" = xyes
8321 then :
8322 printf "%s\n" "#define HAVE_SYS_UTSNAME_H 1" >>confdefs.h
8325 ac_fn_c_check_header_compile "$LINENO" "sys/vnode.h" "ac_cv_header_sys_vnode_h" "$ac_includes_default"
8326 if test "x$ac_cv_header_sys_vnode_h" = xyes
8327 then :
8328 printf "%s\n" "#define HAVE_SYS_VNODE_H 1" >>confdefs.h
8331 ac_fn_c_check_header_compile "$LINENO" "sys/xattr.h" "ac_cv_header_sys_xattr_h" "$ac_includes_default"
8332 if test "x$ac_cv_header_sys_xattr_h" = xyes
8333 then :
8334 printf "%s\n" "#define HAVE_SYS_XATTR_H 1" >>confdefs.h
8337 ac_fn_c_check_header_compile "$LINENO" "syscall.h" "ac_cv_header_syscall_h" "$ac_includes_default"
8338 if test "x$ac_cv_header_syscall_h" = xyes
8339 then :
8340 printf "%s\n" "#define HAVE_SYSCALL_H 1" >>confdefs.h
8343 ac_fn_c_check_header_compile "$LINENO" "utime.h" "ac_cv_header_utime_h" "$ac_includes_default"
8344 if test "x$ac_cv_header_utime_h" = xyes
8345 then :
8346 printf "%s\n" "#define HAVE_UTIME_H 1" >>confdefs.h
8349 ac_fn_c_check_header_compile "$LINENO" "valgrind/memcheck.h" "ac_cv_header_valgrind_memcheck_h" "$ac_includes_default"
8350 if test "x$ac_cv_header_valgrind_memcheck_h" = xyes
8351 then :
8352 printf "%s\n" "#define HAVE_VALGRIND_MEMCHECK_H 1" >>confdefs.h
8355 ac_fn_c_check_header_compile "$LINENO" "valgrind/valgrind.h" "ac_cv_header_valgrind_valgrind_h" "$ac_includes_default"
8356 if test "x$ac_cv_header_valgrind_valgrind_h" = xyes
8357 then :
8358 printf "%s\n" "#define HAVE_VALGRIND_VALGRIND_H 1" >>confdefs.h
8362 ac_fn_c_check_header_compile "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
8363 if test "x$ac_cv_header_sys_mkdev_h" = xyes
8364 then :
8366 printf "%s\n" "#define MAJOR_IN_MKDEV 1" >>confdefs.h
8370 if test $ac_cv_header_sys_mkdev_h = no; then
8371 ac_fn_c_check_header_compile "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
8372 if test "x$ac_cv_header_sys_sysmacros_h" = xyes
8373 then :
8375 printf "%s\n" "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
8380 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
8381 printf %s "checking whether stat file-mode macros are broken... " >&6; }
8382 if test ${ac_cv_header_stat_broken+y}
8383 then :
8384 printf %s "(cached) " >&6
8385 else $as_nop
8386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8387 /* end confdefs.h. */
8388 #include <sys/types.h>
8389 #include <sys/stat.h>
8391 #if defined S_ISBLK && defined S_IFDIR
8392 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
8393 #endif
8395 #if defined S_ISBLK && defined S_IFCHR
8396 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
8397 #endif
8399 #if defined S_ISLNK && defined S_IFREG
8400 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
8401 #endif
8403 #if defined S_ISSOCK && defined S_IFREG
8404 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
8405 #endif
8407 _ACEOF
8408 if ac_fn_c_try_compile "$LINENO"
8409 then :
8410 ac_cv_header_stat_broken=no
8411 else $as_nop
8412 ac_cv_header_stat_broken=yes
8414 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8416 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
8417 printf "%s\n" "$ac_cv_header_stat_broken" >&6; }
8418 if test $ac_cv_header_stat_broken = yes; then
8420 printf "%s\n" "#define STAT_MACROS_BROKEN 1" >>confdefs.h
8426 ac_fn_c_check_header_compile "$LINENO" "sys/conf.h" "ac_cv_header_sys_conf_h" "#include <sys/types.h>
8427 #ifdef HAVE_SYS_PARAM_H
8428 # include <sys/param.h>
8429 #endif
8431 if test "x$ac_cv_header_sys_conf_h" = xyes
8432 then :
8433 printf "%s\n" "#define HAVE_SYS_CONF_H 1" >>confdefs.h
8436 ac_fn_c_check_header_compile "$LINENO" "sys/mount.h" "ac_cv_header_sys_mount_h" "#include <sys/types.h>
8437 #ifdef HAVE_SYS_PARAM_H
8438 # include <sys/param.h>
8439 #endif
8441 if test "x$ac_cv_header_sys_mount_h" = xyes
8442 then :
8443 printf "%s\n" "#define HAVE_SYS_MOUNT_H 1" >>confdefs.h
8446 ac_fn_c_check_header_compile "$LINENO" "sys/statfs.h" "ac_cv_header_sys_statfs_h" "#include <sys/types.h>
8447 #ifdef HAVE_SYS_PARAM_H
8448 # include <sys/param.h>
8449 #endif
8451 if test "x$ac_cv_header_sys_statfs_h" = xyes
8452 then :
8453 printf "%s\n" "#define HAVE_SYS_STATFS_H 1" >>confdefs.h
8456 ac_fn_c_check_header_compile "$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "#include <sys/types.h>
8457 #ifdef HAVE_SYS_PARAM_H
8458 # include <sys/param.h>
8459 #endif
8461 if test "x$ac_cv_header_sys_user_h" = xyes
8462 then :
8463 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8466 ac_fn_c_check_header_compile "$LINENO" "sys/vfs.h" "ac_cv_header_sys_vfs_h" "#include <sys/types.h>
8467 #ifdef HAVE_SYS_PARAM_H
8468 # include <sys/param.h>
8469 #endif
8471 if test "x$ac_cv_header_sys_vfs_h" = xyes
8472 then :
8473 printf "%s\n" "#define HAVE_SYS_VFS_H 1" >>confdefs.h
8478 saved_sysctl_h_CFLAGS=$CFLAGS
8479 test "x${GCC}" != xyes || CFLAGS="$CFLAGS -Werror"
8480 ac_fn_c_check_header_compile "$LINENO" "sys/sysctl.h" "ac_cv_header_sys_sysctl_h" "#include <sys/types.h>
8481 #ifdef HAVE_SYS_PARAM_H
8482 # include <sys/param.h>
8483 #endif
8485 if test "x$ac_cv_header_sys_sysctl_h" = xyes
8486 then :
8487 printf "%s\n" "#define HAVE_SYS_SYSCTL_H 1" >>confdefs.h
8491 CFLAGS=$saved_sysctl_h_CFLAGS
8493 ac_fn_c_check_header_compile "$LINENO" "netinet/ip.h" "ac_cv_header_netinet_ip_h" "#include <sys/types.h>
8494 #include <sys/socket.h>
8495 #ifdef HAVE_SYS_SOCKETVAR_H
8496 # include <sys/socketvar.h>
8497 #endif
8498 #ifdef HAVE_NET_ROUTE_H
8499 # include <net/route.h>
8500 #endif
8501 #ifdef HAVE_NETINET_IN_H
8502 # include <netinet/in.h>
8503 #endif
8504 #ifdef HAVE_NETINET_IN_SYSTM_H
8505 # include <netinet/in_systm.h>
8506 #endif
8507 #ifdef HAVE_NET_IF_H
8508 # include <net/if.h>
8509 #endif
8510 #ifdef HAVE_NETINET_IP_H
8511 # include <netinet/ip.h>
8512 #endif
8514 if test "x$ac_cv_header_netinet_ip_h" = xyes
8515 then :
8516 printf "%s\n" "#define HAVE_NETINET_IP_H 1" >>confdefs.h
8519 ac_fn_c_check_header_compile "$LINENO" "net/if.h" "ac_cv_header_net_if_h" "#include <sys/types.h>
8520 #include <sys/socket.h>
8521 #ifdef HAVE_SYS_SOCKETVAR_H
8522 # include <sys/socketvar.h>
8523 #endif
8524 #ifdef HAVE_NET_ROUTE_H
8525 # include <net/route.h>
8526 #endif
8527 #ifdef HAVE_NETINET_IN_H
8528 # include <netinet/in.h>
8529 #endif
8530 #ifdef HAVE_NETINET_IN_SYSTM_H
8531 # include <netinet/in_systm.h>
8532 #endif
8533 #ifdef HAVE_NET_IF_H
8534 # include <net/if.h>
8535 #endif
8536 #ifdef HAVE_NETINET_IP_H
8537 # include <netinet/ip.h>
8538 #endif
8540 if test "x$ac_cv_header_net_if_h" = xyes
8541 then :
8542 printf "%s\n" "#define HAVE_NET_IF_H 1" >>confdefs.h
8545 ac_fn_c_check_header_compile "$LINENO" "net/if_arp.h" "ac_cv_header_net_if_arp_h" "#include <sys/types.h>
8546 #include <sys/socket.h>
8547 #ifdef HAVE_SYS_SOCKETVAR_H
8548 # include <sys/socketvar.h>
8549 #endif
8550 #ifdef HAVE_NET_ROUTE_H
8551 # include <net/route.h>
8552 #endif
8553 #ifdef HAVE_NETINET_IN_H
8554 # include <netinet/in.h>
8555 #endif
8556 #ifdef HAVE_NETINET_IN_SYSTM_H
8557 # include <netinet/in_systm.h>
8558 #endif
8559 #ifdef HAVE_NET_IF_H
8560 # include <net/if.h>
8561 #endif
8562 #ifdef HAVE_NETINET_IP_H
8563 # include <netinet/ip.h>
8564 #endif
8566 if test "x$ac_cv_header_net_if_arp_h" = xyes
8567 then :
8568 printf "%s\n" "#define HAVE_NET_IF_ARP_H 1" >>confdefs.h
8571 ac_fn_c_check_header_compile "$LINENO" "net/if_dl.h" "ac_cv_header_net_if_dl_h" "#include <sys/types.h>
8572 #include <sys/socket.h>
8573 #ifdef HAVE_SYS_SOCKETVAR_H
8574 # include <sys/socketvar.h>
8575 #endif
8576 #ifdef HAVE_NET_ROUTE_H
8577 # include <net/route.h>
8578 #endif
8579 #ifdef HAVE_NETINET_IN_H
8580 # include <netinet/in.h>
8581 #endif
8582 #ifdef HAVE_NETINET_IN_SYSTM_H
8583 # include <netinet/in_systm.h>
8584 #endif
8585 #ifdef HAVE_NET_IF_H
8586 # include <net/if.h>
8587 #endif
8588 #ifdef HAVE_NETINET_IP_H
8589 # include <netinet/ip.h>
8590 #endif
8592 if test "x$ac_cv_header_net_if_dl_h" = xyes
8593 then :
8594 printf "%s\n" "#define HAVE_NET_IF_DL_H 1" >>confdefs.h
8597 ac_fn_c_check_header_compile "$LINENO" "net/if_types.h" "ac_cv_header_net_if_types_h" "#include <sys/types.h>
8598 #include <sys/socket.h>
8599 #ifdef HAVE_SYS_SOCKETVAR_H
8600 # include <sys/socketvar.h>
8601 #endif
8602 #ifdef HAVE_NET_ROUTE_H
8603 # include <net/route.h>
8604 #endif
8605 #ifdef HAVE_NETINET_IN_H
8606 # include <netinet/in.h>
8607 #endif
8608 #ifdef HAVE_NETINET_IN_SYSTM_H
8609 # include <netinet/in_systm.h>
8610 #endif
8611 #ifdef HAVE_NET_IF_H
8612 # include <net/if.h>
8613 #endif
8614 #ifdef HAVE_NETINET_IP_H
8615 # include <netinet/ip.h>
8616 #endif
8618 if test "x$ac_cv_header_net_if_types_h" = xyes
8619 then :
8620 printf "%s\n" "#define HAVE_NET_IF_TYPES_H 1" >>confdefs.h
8623 ac_fn_c_check_header_compile "$LINENO" "net/route.h" "ac_cv_header_net_route_h" "#include <sys/types.h>
8624 #include <sys/socket.h>
8625 #ifdef HAVE_SYS_SOCKETVAR_H
8626 # include <sys/socketvar.h>
8627 #endif
8628 #ifdef HAVE_NET_ROUTE_H
8629 # include <net/route.h>
8630 #endif
8631 #ifdef HAVE_NETINET_IN_H
8632 # include <netinet/in.h>
8633 #endif
8634 #ifdef HAVE_NETINET_IN_SYSTM_H
8635 # include <netinet/in_systm.h>
8636 #endif
8637 #ifdef HAVE_NET_IF_H
8638 # include <net/if.h>
8639 #endif
8640 #ifdef HAVE_NETINET_IP_H
8641 # include <netinet/ip.h>
8642 #endif
8644 if test "x$ac_cv_header_net_route_h" = xyes
8645 then :
8646 printf "%s\n" "#define HAVE_NET_ROUTE_H 1" >>confdefs.h
8649 ac_fn_c_check_header_compile "$LINENO" "netinet/if_ether.h" "ac_cv_header_netinet_if_ether_h" "#include <sys/types.h>
8650 #include <sys/socket.h>
8651 #ifdef HAVE_SYS_SOCKETVAR_H
8652 # include <sys/socketvar.h>
8653 #endif
8654 #ifdef HAVE_NET_ROUTE_H
8655 # include <net/route.h>
8656 #endif
8657 #ifdef HAVE_NETINET_IN_H
8658 # include <netinet/in.h>
8659 #endif
8660 #ifdef HAVE_NETINET_IN_SYSTM_H
8661 # include <netinet/in_systm.h>
8662 #endif
8663 #ifdef HAVE_NET_IF_H
8664 # include <net/if.h>
8665 #endif
8666 #ifdef HAVE_NETINET_IP_H
8667 # include <netinet/ip.h>
8668 #endif
8670 if test "x$ac_cv_header_netinet_if_ether_h" = xyes
8671 then :
8672 printf "%s\n" "#define HAVE_NETINET_IF_ETHER_H 1" >>confdefs.h
8675 ac_fn_c_check_header_compile "$LINENO" "netinet/in_pcb.h" "ac_cv_header_netinet_in_pcb_h" "#include <sys/types.h>
8676 #include <sys/socket.h>
8677 #ifdef HAVE_SYS_SOCKETVAR_H
8678 # include <sys/socketvar.h>
8679 #endif
8680 #ifdef HAVE_NET_ROUTE_H
8681 # include <net/route.h>
8682 #endif
8683 #ifdef HAVE_NETINET_IN_H
8684 # include <netinet/in.h>
8685 #endif
8686 #ifdef HAVE_NETINET_IN_SYSTM_H
8687 # include <netinet/in_systm.h>
8688 #endif
8689 #ifdef HAVE_NET_IF_H
8690 # include <net/if.h>
8691 #endif
8692 #ifdef HAVE_NETINET_IP_H
8693 # include <netinet/ip.h>
8694 #endif
8696 if test "x$ac_cv_header_netinet_in_pcb_h" = xyes
8697 then :
8698 printf "%s\n" "#define HAVE_NETINET_IN_PCB_H 1" >>confdefs.h
8701 ac_fn_c_check_header_compile "$LINENO" "netinet/ip_icmp.h" "ac_cv_header_netinet_ip_icmp_h" "#include <sys/types.h>
8702 #include <sys/socket.h>
8703 #ifdef HAVE_SYS_SOCKETVAR_H
8704 # include <sys/socketvar.h>
8705 #endif
8706 #ifdef HAVE_NET_ROUTE_H
8707 # include <net/route.h>
8708 #endif
8709 #ifdef HAVE_NETINET_IN_H
8710 # include <netinet/in.h>
8711 #endif
8712 #ifdef HAVE_NETINET_IN_SYSTM_H
8713 # include <netinet/in_systm.h>
8714 #endif
8715 #ifdef HAVE_NET_IF_H
8716 # include <net/if.h>
8717 #endif
8718 #ifdef HAVE_NETINET_IP_H
8719 # include <netinet/ip.h>
8720 #endif
8722 if test "x$ac_cv_header_netinet_ip_icmp_h" = xyes
8723 then :
8724 printf "%s\n" "#define HAVE_NETINET_IP_ICMP_H 1" >>confdefs.h
8727 ac_fn_c_check_header_compile "$LINENO" "netinet/ip_var.h" "ac_cv_header_netinet_ip_var_h" "#include <sys/types.h>
8728 #include <sys/socket.h>
8729 #ifdef HAVE_SYS_SOCKETVAR_H
8730 # include <sys/socketvar.h>
8731 #endif
8732 #ifdef HAVE_NET_ROUTE_H
8733 # include <net/route.h>
8734 #endif
8735 #ifdef HAVE_NETINET_IN_H
8736 # include <netinet/in.h>
8737 #endif
8738 #ifdef HAVE_NETINET_IN_SYSTM_H
8739 # include <netinet/in_systm.h>
8740 #endif
8741 #ifdef HAVE_NET_IF_H
8742 # include <net/if.h>
8743 #endif
8744 #ifdef HAVE_NETINET_IP_H
8745 # include <netinet/ip.h>
8746 #endif
8748 if test "x$ac_cv_header_netinet_ip_var_h" = xyes
8749 then :
8750 printf "%s\n" "#define HAVE_NETINET_IP_VAR_H 1" >>confdefs.h
8753 ac_fn_c_check_header_compile "$LINENO" "netinet/udp.h" "ac_cv_header_netinet_udp_h" "#include <sys/types.h>
8754 #include <sys/socket.h>
8755 #ifdef HAVE_SYS_SOCKETVAR_H
8756 # include <sys/socketvar.h>
8757 #endif
8758 #ifdef HAVE_NET_ROUTE_H
8759 # include <net/route.h>
8760 #endif
8761 #ifdef HAVE_NETINET_IN_H
8762 # include <netinet/in.h>
8763 #endif
8764 #ifdef HAVE_NETINET_IN_SYSTM_H
8765 # include <netinet/in_systm.h>
8766 #endif
8767 #ifdef HAVE_NET_IF_H
8768 # include <net/if.h>
8769 #endif
8770 #ifdef HAVE_NETINET_IP_H
8771 # include <netinet/ip.h>
8772 #endif
8774 if test "x$ac_cv_header_netinet_udp_h" = xyes
8775 then :
8776 printf "%s\n" "#define HAVE_NETINET_UDP_H 1" >>confdefs.h
8779 ac_fn_c_check_header_compile "$LINENO" "netinet6/ip6_var.h" "ac_cv_header_netinet6_ip6_var_h" "#include <sys/types.h>
8780 #include <sys/socket.h>
8781 #ifdef HAVE_SYS_SOCKETVAR_H
8782 # include <sys/socketvar.h>
8783 #endif
8784 #ifdef HAVE_NET_ROUTE_H
8785 # include <net/route.h>
8786 #endif
8787 #ifdef HAVE_NETINET_IN_H
8788 # include <netinet/in.h>
8789 #endif
8790 #ifdef HAVE_NETINET_IN_SYSTM_H
8791 # include <netinet/in_systm.h>
8792 #endif
8793 #ifdef HAVE_NET_IF_H
8794 # include <net/if.h>
8795 #endif
8796 #ifdef HAVE_NETINET_IP_H
8797 # include <netinet/ip.h>
8798 #endif
8800 if test "x$ac_cv_header_netinet6_ip6_var_h" = xyes
8801 then :
8802 printf "%s\n" "#define HAVE_NETINET6_IP6_VAR_H 1" >>confdefs.h
8805 ac_fn_c_check_header_compile "$LINENO" "netipx/ipx.h" "ac_cv_header_netipx_ipx_h" "#include <sys/types.h>
8806 #include <sys/socket.h>
8807 #ifdef HAVE_SYS_SOCKETVAR_H
8808 # include <sys/socketvar.h>
8809 #endif
8810 #ifdef HAVE_NET_ROUTE_H
8811 # include <net/route.h>
8812 #endif
8813 #ifdef HAVE_NETINET_IN_H
8814 # include <netinet/in.h>
8815 #endif
8816 #ifdef HAVE_NETINET_IN_SYSTM_H
8817 # include <netinet/in_systm.h>
8818 #endif
8819 #ifdef HAVE_NET_IF_H
8820 # include <net/if.h>
8821 #endif
8822 #ifdef HAVE_NETINET_IP_H
8823 # include <netinet/ip.h>
8824 #endif
8826 if test "x$ac_cv_header_netipx_ipx_h" = xyes
8827 then :
8828 printf "%s\n" "#define HAVE_NETIPX_IPX_H 1" >>confdefs.h
8831 ac_fn_c_check_header_compile "$LINENO" "sys/un.h" "ac_cv_header_sys_un_h" "#include <sys/types.h>
8832 #include <sys/socket.h>
8833 #ifdef HAVE_SYS_SOCKETVAR_H
8834 # include <sys/socketvar.h>
8835 #endif
8836 #ifdef HAVE_NET_ROUTE_H
8837 # include <net/route.h>
8838 #endif
8839 #ifdef HAVE_NETINET_IN_H
8840 # include <netinet/in.h>
8841 #endif
8842 #ifdef HAVE_NETINET_IN_SYSTM_H
8843 # include <netinet/in_systm.h>
8844 #endif
8845 #ifdef HAVE_NET_IF_H
8846 # include <net/if.h>
8847 #endif
8848 #ifdef HAVE_NETINET_IP_H
8849 # include <netinet/ip.h>
8850 #endif
8852 if test "x$ac_cv_header_sys_un_h" = xyes
8853 then :
8854 printf "%s\n" "#define HAVE_SYS_UN_H 1" >>confdefs.h
8859 ac_fn_c_check_header_compile "$LINENO" "netinet/udp_var.h" "ac_cv_header_netinet_udp_var_h" "#include <sys/types.h>
8860 #include <sys/socket.h>
8861 #ifdef HAVE_SYS_SOCKETVAR_H
8862 # include <sys/socketvar.h>
8863 #endif
8864 #ifdef HAVE_NETINET_IN_H
8865 # include <netinet/in.h>
8866 #endif
8867 #ifdef HAVE_NETINET_IN_SYSTM_H
8868 # include <netinet/in_systm.h>
8869 #endif
8870 #ifdef HAVE_NETINET_IP_H
8871 # include <netinet/ip.h>
8872 #endif
8873 #ifdef HAVE_NETINET_IP_VAR_H
8874 # include <netinet/ip_var.h>
8875 #endif
8876 #ifdef HAVE_NETINET_IP_ICMP_H
8877 # include <netinet/ip_icmp.h>
8878 #endif
8879 #ifdef HAVE_NETINET_UDP_H
8880 # include <netinet/udp.h>
8881 #endif
8882 #ifdef HAVE_NETINET_TCP_H
8883 # include <netinet/tcp.h>
8884 #endif
8886 if test "x$ac_cv_header_netinet_udp_var_h" = xyes
8887 then :
8888 printf "%s\n" "#define HAVE_NETINET_UDP_VAR_H 1" >>confdefs.h
8891 ac_fn_c_check_header_compile "$LINENO" "netinet/icmp_var.h" "ac_cv_header_netinet_icmp_var_h" "#include <sys/types.h>
8892 #include <sys/socket.h>
8893 #ifdef HAVE_SYS_SOCKETVAR_H
8894 # include <sys/socketvar.h>
8895 #endif
8896 #ifdef HAVE_NETINET_IN_H
8897 # include <netinet/in.h>
8898 #endif
8899 #ifdef HAVE_NETINET_IN_SYSTM_H
8900 # include <netinet/in_systm.h>
8901 #endif
8902 #ifdef HAVE_NETINET_IP_H
8903 # include <netinet/ip.h>
8904 #endif
8905 #ifdef HAVE_NETINET_IP_VAR_H
8906 # include <netinet/ip_var.h>
8907 #endif
8908 #ifdef HAVE_NETINET_IP_ICMP_H
8909 # include <netinet/ip_icmp.h>
8910 #endif
8911 #ifdef HAVE_NETINET_UDP_H
8912 # include <netinet/udp.h>
8913 #endif
8914 #ifdef HAVE_NETINET_TCP_H
8915 # include <netinet/tcp.h>
8916 #endif
8918 if test "x$ac_cv_header_netinet_icmp_var_h" = xyes
8919 then :
8920 printf "%s\n" "#define HAVE_NETINET_ICMP_VAR_H 1" >>confdefs.h
8923 ac_fn_c_check_header_compile "$LINENO" "netinet/icmp6.h" "ac_cv_header_netinet_icmp6_h" "#include <sys/types.h>
8924 #include <sys/socket.h>
8925 #ifdef HAVE_SYS_SOCKETVAR_H
8926 # include <sys/socketvar.h>
8927 #endif
8928 #ifdef HAVE_NETINET_IN_H
8929 # include <netinet/in.h>
8930 #endif
8931 #ifdef HAVE_NETINET_IN_SYSTM_H
8932 # include <netinet/in_systm.h>
8933 #endif
8934 #ifdef HAVE_NETINET_IP_H
8935 # include <netinet/ip.h>
8936 #endif
8937 #ifdef HAVE_NETINET_IP_VAR_H
8938 # include <netinet/ip_var.h>
8939 #endif
8940 #ifdef HAVE_NETINET_IP_ICMP_H
8941 # include <netinet/ip_icmp.h>
8942 #endif
8943 #ifdef HAVE_NETINET_UDP_H
8944 # include <netinet/udp.h>
8945 #endif
8946 #ifdef HAVE_NETINET_TCP_H
8947 # include <netinet/tcp.h>
8948 #endif
8950 if test "x$ac_cv_header_netinet_icmp6_h" = xyes
8951 then :
8952 printf "%s\n" "#define HAVE_NETINET_ICMP6_H 1" >>confdefs.h
8955 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp_var.h" "ac_cv_header_netinet_tcp_var_h" "#include <sys/types.h>
8956 #include <sys/socket.h>
8957 #ifdef HAVE_SYS_SOCKETVAR_H
8958 # include <sys/socketvar.h>
8959 #endif
8960 #ifdef HAVE_NETINET_IN_H
8961 # include <netinet/in.h>
8962 #endif
8963 #ifdef HAVE_NETINET_IN_SYSTM_H
8964 # include <netinet/in_systm.h>
8965 #endif
8966 #ifdef HAVE_NETINET_IP_H
8967 # include <netinet/ip.h>
8968 #endif
8969 #ifdef HAVE_NETINET_IP_VAR_H
8970 # include <netinet/ip_var.h>
8971 #endif
8972 #ifdef HAVE_NETINET_IP_ICMP_H
8973 # include <netinet/ip_icmp.h>
8974 #endif
8975 #ifdef HAVE_NETINET_UDP_H
8976 # include <netinet/udp.h>
8977 #endif
8978 #ifdef HAVE_NETINET_TCP_H
8979 # include <netinet/tcp.h>
8980 #endif
8982 if test "x$ac_cv_header_netinet_tcp_var_h" = xyes
8983 then :
8984 printf "%s\n" "#define HAVE_NETINET_TCP_VAR_H 1" >>confdefs.h
8989 ac_fn_c_check_header_compile "$LINENO" "linux/ipx.h" "ac_cv_header_linux_ipx_h" "#include <sys/types.h>
8990 #include <sys/socket.h>
8991 #ifdef HAVE_ASM_TYPES_H
8992 # include <asm/types.h>
8993 #endif
8994 #ifdef HAVE_LINUX_TYPES_H
8995 # include <linux/types.h>
8996 #endif
8998 if test "x$ac_cv_header_linux_ipx_h" = xyes
8999 then :
9000 printf "%s\n" "#define HAVE_LINUX_IPX_H 1" >>confdefs.h
9003 ac_fn_c_check_header_compile "$LINENO" "linux/irda.h" "ac_cv_header_linux_irda_h" "#include <sys/types.h>
9004 #include <sys/socket.h>
9005 #ifdef HAVE_ASM_TYPES_H
9006 # include <asm/types.h>
9007 #endif
9008 #ifdef HAVE_LINUX_TYPES_H
9009 # include <linux/types.h>
9010 #endif
9012 if test "x$ac_cv_header_linux_irda_h" = xyes
9013 then :
9014 printf "%s\n" "#define HAVE_LINUX_IRDA_H 1" >>confdefs.h
9017 ac_fn_c_check_header_compile "$LINENO" "linux/rtnetlink.h" "ac_cv_header_linux_rtnetlink_h" "#include <sys/types.h>
9018 #include <sys/socket.h>
9019 #ifdef HAVE_ASM_TYPES_H
9020 # include <asm/types.h>
9021 #endif
9022 #ifdef HAVE_LINUX_TYPES_H
9023 # include <linux/types.h>
9024 #endif
9026 if test "x$ac_cv_header_linux_rtnetlink_h" = xyes
9027 then :
9028 printf "%s\n" "#define HAVE_LINUX_RTNETLINK_H 1" >>confdefs.h
9033 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
9034 #include <sys/socket.h>
9035 #ifdef HAVE_NETINET_IN_H
9036 # include <netinet/in.h>
9037 #endif
9038 #ifdef HAVE_ARPA_NAMESER_H
9039 # include <arpa/nameser.h>
9040 #endif
9042 if test "x$ac_cv_header_resolv_h" = xyes
9043 then :
9044 printf "%s\n" "#define HAVE_RESOLV_H 1" >>confdefs.h
9049 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
9051 if test "x$ac_cv_header_ifaddrs_h" = xyes
9052 then :
9053 printf "%s\n" "#define HAVE_IFADDRS_H 1" >>confdefs.h
9058 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
9060 if test "x$ac_cv_header_sys_ucontext_h" = xyes
9061 then :
9062 printf "%s\n" "#define HAVE_SYS_UCONTEXT_H 1" >>confdefs.h
9067 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
9068 #ifdef HAVE_SYS_UCONTEXT_H
9069 #include <sys/ucontext.h>
9070 #endif
9072 if test "x$ac_cv_header_sys_thr_h" = xyes
9073 then :
9074 printf "%s\n" "#define HAVE_SYS_THR_H 1" >>confdefs.h
9079 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#include <pthread.h>
9081 if test "x$ac_cv_header_pthread_np_h" = xyes
9082 then :
9083 printf "%s\n" "#define HAVE_PTHREAD_NP_H 1" >>confdefs.h
9088 ac_fn_c_check_header_compile "$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "#include <sys/time.h>
9089 #include <sys/types.h>
9090 #ifdef HAVE_ASM_TYPES_H
9091 #include <asm/types.h>
9092 #endif
9094 if test "x$ac_cv_header_linux_videodev2_h" = xyes
9095 then :
9096 printf "%s\n" "#define HAVE_LINUX_VIDEODEV2_H 1" >>confdefs.h
9101 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
9102 #include <sys/param.h>
9103 #endif
9104 #include <sys/socket.h>
9105 #ifdef HAVE_SYS_QUEUE_H
9106 #include <sys/queue.h>
9107 #endif
9109 if test "x$ac_cv_header_libprocstat_h" = xyes
9110 then :
9111 printf "%s\n" "#define HAVE_LIBPROCSTAT_H 1" >>confdefs.h
9116 if test "x$ac_cv_header_sys_xattr_h" = xyes
9117 then
9118 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether getxattr takes additional arguments" >&5
9119 printf %s "checking whether getxattr takes additional arguments... " >&6; }
9120 if test ${wine_cv_xattr_extra_args+y}
9121 then :
9122 printf %s "(cached) " >&6
9123 else $as_nop
9124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9125 /* end confdefs.h. */
9126 #include <sys/xattr.h>
9128 main (void)
9130 getxattr("", "", "", 0, 0, 0);
9132 return 0;
9134 _ACEOF
9135 if ac_fn_c_try_compile "$LINENO"
9136 then :
9137 wine_cv_xattr_extra_args=yes
9138 else $as_nop
9139 wine_cv_xattr_extra_args=no
9141 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9143 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_xattr_extra_args" >&5
9144 printf "%s\n" "$wine_cv_xattr_extra_args" >&6; }
9145 test $wine_cv_xattr_extra_args != yes ||
9146 printf "%s\n" "#define XATTR_ADDITIONAL_OPTIONS 1" >>confdefs.h
9151 DLLFLAGS=""
9153 LDDLLFLAGS=""
9155 LDEXECFLAGS=""
9157 EXTRACFLAGS=""
9159 UNIXDLLFLAGS="-fPIC"
9161 UNIXLDFLAGS="-shared -Wl,-Bsymbolic -Wl,-soname,\$(UNIXLIB)"
9163 TOP_INSTALL_LIB=""
9165 TOP_INSTALL_DEV=""
9167 WINELOADER_LDFLAGS=""
9169 WINEPRELOADER_LDFLAGS=""
9171 DLLEXT=".so"
9173 LIBEXT="so"
9174 # Extract the first word of "ldd", so it can be a program name with args.
9175 set dummy ldd; ac_word=$2
9176 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9177 printf %s "checking for $ac_word... " >&6; }
9178 if test ${ac_cv_path_LDD+y}
9179 then :
9180 printf %s "(cached) " >&6
9181 else $as_nop
9182 case $LDD in
9183 [\\/]* | ?:[\\/]*)
9184 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
9187 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9188 as_dummy="/sbin:/usr/sbin:$PATH"
9189 for as_dir in $as_dummy
9191 IFS=$as_save_IFS
9192 case $as_dir in #(((
9193 '') as_dir=./ ;;
9194 */) ;;
9195 *) as_dir=$as_dir/ ;;
9196 esac
9197 for ac_exec_ext in '' $ac_executable_extensions; do
9198 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9199 ac_cv_path_LDD="$as_dir$ac_word$ac_exec_ext"
9200 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9201 break 2
9203 done
9204 done
9205 IFS=$as_save_IFS
9207 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
9209 esac
9211 LDD=$ac_cv_path_LDD
9212 if test -n "$LDD"; then
9213 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
9214 printf "%s\n" "$LDD" >&6; }
9215 else
9216 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9217 printf "%s\n" "no" >&6; }
9221 if test -n "$ac_tool_prefix"; then
9222 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
9223 set dummy ${ac_tool_prefix}otool; ac_word=$2
9224 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9225 printf %s "checking for $ac_word... " >&6; }
9226 if test ${ac_cv_prog_OTOOL+y}
9227 then :
9228 printf %s "(cached) " >&6
9229 else $as_nop
9230 if test -n "$OTOOL"; then
9231 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
9232 else
9233 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9234 for as_dir in $PATH
9236 IFS=$as_save_IFS
9237 case $as_dir in #(((
9238 '') as_dir=./ ;;
9239 */) ;;
9240 *) as_dir=$as_dir/ ;;
9241 esac
9242 for ac_exec_ext in '' $ac_executable_extensions; do
9243 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9244 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
9245 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9246 break 2
9248 done
9249 done
9250 IFS=$as_save_IFS
9254 OTOOL=$ac_cv_prog_OTOOL
9255 if test -n "$OTOOL"; then
9256 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
9257 printf "%s\n" "$OTOOL" >&6; }
9258 else
9259 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9260 printf "%s\n" "no" >&6; }
9265 if test -z "$ac_cv_prog_OTOOL"; then
9266 ac_ct_OTOOL=$OTOOL
9267 # Extract the first word of "otool", so it can be a program name with args.
9268 set dummy otool; ac_word=$2
9269 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9270 printf %s "checking for $ac_word... " >&6; }
9271 if test ${ac_cv_prog_ac_ct_OTOOL+y}
9272 then :
9273 printf %s "(cached) " >&6
9274 else $as_nop
9275 if test -n "$ac_ct_OTOOL"; then
9276 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
9277 else
9278 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9279 for as_dir in $PATH
9281 IFS=$as_save_IFS
9282 case $as_dir in #(((
9283 '') as_dir=./ ;;
9284 */) ;;
9285 *) as_dir=$as_dir/ ;;
9286 esac
9287 for ac_exec_ext in '' $ac_executable_extensions; do
9288 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9289 ac_cv_prog_ac_ct_OTOOL="otool"
9290 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9291 break 2
9293 done
9294 done
9295 IFS=$as_save_IFS
9299 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
9300 if test -n "$ac_ct_OTOOL"; then
9301 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
9302 printf "%s\n" "$ac_ct_OTOOL" >&6; }
9303 else
9304 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9305 printf "%s\n" "no" >&6; }
9308 if test "x$ac_ct_OTOOL" = x; then
9309 OTOOL="otool"
9310 else
9311 case $cross_compiling:$ac_tool_warned in
9312 yes:)
9313 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9314 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9315 ac_tool_warned=yes ;;
9316 esac
9317 OTOOL=$ac_ct_OTOOL
9319 else
9320 OTOOL="$ac_cv_prog_OTOOL"
9323 if test -n "$ac_tool_prefix"; then
9324 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
9325 set dummy ${ac_tool_prefix}readelf; ac_word=$2
9326 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9327 printf %s "checking for $ac_word... " >&6; }
9328 if test ${ac_cv_prog_READELF+y}
9329 then :
9330 printf %s "(cached) " >&6
9331 else $as_nop
9332 if test -n "$READELF"; then
9333 ac_cv_prog_READELF="$READELF" # Let the user override the test.
9334 else
9335 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9336 for as_dir in $PATH
9338 IFS=$as_save_IFS
9339 case $as_dir in #(((
9340 '') as_dir=./ ;;
9341 */) ;;
9342 *) as_dir=$as_dir/ ;;
9343 esac
9344 for ac_exec_ext in '' $ac_executable_extensions; do
9345 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9346 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
9347 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9348 break 2
9350 done
9351 done
9352 IFS=$as_save_IFS
9356 READELF=$ac_cv_prog_READELF
9357 if test -n "$READELF"; then
9358 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
9359 printf "%s\n" "$READELF" >&6; }
9360 else
9361 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9362 printf "%s\n" "no" >&6; }
9367 if test -z "$ac_cv_prog_READELF"; then
9368 ac_ct_READELF=$READELF
9369 # Extract the first word of "readelf", so it can be a program name with args.
9370 set dummy readelf; ac_word=$2
9371 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9372 printf %s "checking for $ac_word... " >&6; }
9373 if test ${ac_cv_prog_ac_ct_READELF+y}
9374 then :
9375 printf %s "(cached) " >&6
9376 else $as_nop
9377 if test -n "$ac_ct_READELF"; then
9378 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
9379 else
9380 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9381 for as_dir in $PATH
9383 IFS=$as_save_IFS
9384 case $as_dir in #(((
9385 '') as_dir=./ ;;
9386 */) ;;
9387 *) as_dir=$as_dir/ ;;
9388 esac
9389 for ac_exec_ext in '' $ac_executable_extensions; do
9390 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9391 ac_cv_prog_ac_ct_READELF="readelf"
9392 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9393 break 2
9395 done
9396 done
9397 IFS=$as_save_IFS
9401 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
9402 if test -n "$ac_ct_READELF"; then
9403 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
9404 printf "%s\n" "$ac_ct_READELF" >&6; }
9405 else
9406 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9407 printf "%s\n" "no" >&6; }
9410 if test "x$ac_ct_READELF" = x; then
9411 READELF="true"
9412 else
9413 case $cross_compiling:$ac_tool_warned in
9414 yes:)
9415 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9416 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9417 ac_tool_warned=yes ;;
9418 esac
9419 READELF=$ac_ct_READELF
9421 else
9422 READELF="$ac_cv_prog_READELF"
9425 wine_rules="all:"
9426 SUBDIRS=""
9428 DISABLED_SUBDIRS=""
9430 CONFIGURE_TARGETS=""
9433 wine_fn_config_makefile ()
9435 as_fn_append SUBDIRS " \\$as_nl $1"
9436 eval enable=\$$2
9437 case "$enable" in
9438 no) as_fn_append DISABLED_SUBDIRS " $1" ;;
9439 yes) ;;
9440 *aarch64*|*arm*|*i386*|*x86_64*)
9441 if test -n "$PE_ARCHS"
9442 then
9443 for i in $PE_ARCHS
9445 test $(expr ",$enable," : ".*,$i,") -gt 0 || as_fn_append ${i}_DISABLED_SUBDIRS " $1"
9446 done
9447 else
9448 test $(expr ",$enable," : ".*,$HOST_ARCH,") -gt 0 || as_fn_append DISABLED_SUBDIRS " $1"
9449 fi ;;
9451 case "$1, $PE_ARCHS " in
9452 programs/*,*\ arm64ec\ *) as_fn_append arm64ec_DISABLED_SUBDIRS " $1" ;;
9453 esac ;;
9454 esac
9457 wine_fn_config_symlink ()
9459 ac_links=$@
9460 as_fn_append wine_rules "
9461 $ac_links:
9462 @./config.status \$@"
9463 for f in $ac_links; do as_fn_append CONFIGURE_TARGETS " $f"; done
9466 case $host_os in
9467 cygwin*|mingw32*)
9468 LIBEXT="dll"
9469 DLLEXT=""
9470 EXTRACFLAGS="-D__WINE_PE_BUILD"
9471 if test "x$HOST_ARCH" = xi386
9472 then :
9473 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--disable-stdcall-fixup" >&5
9474 printf %s "checking whether the compiler supports -Wl,--disable-stdcall-fixup... " >&6; }
9475 if test ${ac_cv_cflags__Wl___disable_stdcall_fixup+y}
9476 then :
9477 printf %s "(cached) " >&6
9478 else $as_nop
9479 ac_wine_try_cflags_saved=$CFLAGS
9480 CFLAGS="$CFLAGS -Wl,--disable-stdcall-fixup"
9481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9482 /* end confdefs.h. */
9483 int main(int argc, char **argv) { return 0; }
9484 _ACEOF
9485 if ac_fn_c_try_link "$LINENO"
9486 then :
9487 ac_cv_cflags__Wl___disable_stdcall_fixup=yes
9488 else $as_nop
9489 ac_cv_cflags__Wl___disable_stdcall_fixup=no
9491 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9492 conftest$ac_exeext conftest.$ac_ext
9493 CFLAGS=$ac_wine_try_cflags_saved
9495 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___disable_stdcall_fixup" >&5
9496 printf "%s\n" "$ac_cv_cflags__Wl___disable_stdcall_fixup" >&6; }
9497 if test "x$ac_cv_cflags__Wl___disable_stdcall_fixup" = xyes
9498 then :
9499 LDDLLFLAGS="-Wl,--disable-stdcall-fixup"
9502 enable_loader=${enable_loader:-no}
9503 enable_server=${enable_server:-no}
9504 with_x=${with_x:-no}
9505 with_pthread=${with_pthread:-no}
9508 darwin*|macosx*)
9509 LIBEXT="dylib"
9510 DLLFLAGS="$DLLFLAGS -fPIC"
9511 LDDLLFLAGS="-fPIC"
9512 enable_winemac_drv=${enable_winemac_drv:-yes}
9513 CARBON_LIBS="-framework Carbon"
9515 COREFOUNDATION_LIBS="-framework CoreFoundation"
9517 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
9519 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
9521 METAL_LIBS="-framework Metal"
9523 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
9525 CORESERVICES_LIBS="-framework CoreServices"
9527 APPKIT_LIBS="-framework AppKit"
9529 SECURITY_LIBS="-framework Security -framework CoreFoundation"
9531 SYSTEMCONFIGURATION_LIBS="-framework SystemConfiguration"
9534 WINELOADER_LDFLAGS="-Wl,-segalign,0x1000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist"
9536 case $HOST_ARCH in
9537 i386) wine_use_preloader=yes ;;
9538 x86_64)
9539 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_huge" >&5
9540 printf %s "checking whether the compiler supports -Wl,-no_huge... " >&6; }
9541 if test ${ac_cv_cflags__Wl__no_huge+y}
9542 then :
9543 printf %s "(cached) " >&6
9544 else $as_nop
9545 ac_wine_try_cflags_saved=$CFLAGS
9546 CFLAGS="$CFLAGS -Wl,-no_huge"
9547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9548 /* end confdefs.h. */
9549 int main(int argc, char **argv) { return 0; }
9550 _ACEOF
9551 if ac_fn_c_try_link "$LINENO"
9552 then :
9553 ac_cv_cflags__Wl__no_huge=yes
9554 else $as_nop
9555 ac_cv_cflags__Wl__no_huge=no
9557 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9558 conftest$ac_exeext conftest.$ac_ext
9559 CFLAGS=$ac_wine_try_cflags_saved
9561 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_huge" >&5
9562 printf "%s\n" "$ac_cv_cflags__Wl__no_huge" >&6; }
9563 if test "x$ac_cv_cflags__Wl__no_huge" = xyes
9564 then :
9565 wine_use_preloader=no
9566 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-no_pie,-image_base,0x200000000,-no_huge,-no_fixup_chains,-segalign,0x1000,-segaddr,WINE_RESERVE,0x1000,-segaddr,WINE_TOP_DOWN,0x7ff000000000"
9567 else $as_nop
9568 wine_use_preloader=yes
9571 *) wine_use_preloader=no ;;
9572 esac
9574 if test "$wine_use_preloader" = "yes"
9575 then
9576 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"
9577 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
9578 printf %s "checking whether the compiler supports -Wl,-no_pie... " >&6; }
9579 if test ${ac_cv_cflags__Wl__no_pie+y}
9580 then :
9581 printf %s "(cached) " >&6
9582 else $as_nop
9583 ac_wine_try_cflags_saved=$CFLAGS
9584 CFLAGS="$CFLAGS -Wl,-no_pie"
9585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9586 /* end confdefs.h. */
9587 int main(int argc, char **argv) { return 0; }
9588 _ACEOF
9589 if ac_fn_c_try_link "$LINENO"
9590 then :
9591 ac_cv_cflags__Wl__no_pie=yes
9592 else $as_nop
9593 ac_cv_cflags__Wl__no_pie=no
9595 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9596 conftest$ac_exeext conftest.$ac_ext
9597 CFLAGS=$ac_wine_try_cflags_saved
9599 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
9600 printf "%s\n" "$ac_cv_cflags__Wl__no_pie" >&6; }
9601 if test "x$ac_cv_cflags__Wl__no_pie" = xyes
9602 then :
9603 WINEPRELOADER_LDFLAGS="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
9605 case $HOST_ARCH in
9606 i386)
9607 WINEPRELOADER_LDFLAGS="-Wl,-image_base,0x7d400000 $WINEPRELOADER_LDFLAGS"
9609 x86_64)
9610 WINEPRELOADER_LDFLAGS="-Wl,-image_base,0x200000000,-segalign,0x1000,-segaddr,WINE_RESERVE,0x1000 $WINEPRELOADER_LDFLAGS"
9612 esac
9613 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -mmacosx-version-min=10.7"
9616 if test "x$with_coreaudio" != "xno";
9617 then
9618 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
9620 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
9622 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
9623 then
9624 OPENCL_LIBS="-framework OpenCL"
9626 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
9629 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether MTLDevice protocol supports registryID property" >&5
9630 printf %s "checking whether MTLDevice protocol supports registryID property... " >&6; }
9631 ac_ext=m
9632 ac_cpp='$OBJCPP $CPPFLAGS'
9633 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9634 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9635 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9637 ac_ext=m
9638 ac_cpp='$OBJCPP $CPPFLAGS'
9639 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9640 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9641 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9642 if test -n "$ac_tool_prefix"; then
9643 for ac_prog in gcc objcc objc cc CC clang
9645 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
9646 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
9647 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9648 printf %s "checking for $ac_word... " >&6; }
9649 if test ${ac_cv_prog_OBJC+y}
9650 then :
9651 printf %s "(cached) " >&6
9652 else $as_nop
9653 if test -n "$OBJC"; then
9654 ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
9655 else
9656 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9657 for as_dir in $PATH
9659 IFS=$as_save_IFS
9660 case $as_dir in #(((
9661 '') as_dir=./ ;;
9662 */) ;;
9663 *) as_dir=$as_dir/ ;;
9664 esac
9665 for ac_exec_ext in '' $ac_executable_extensions; do
9666 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9667 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
9668 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9669 break 2
9671 done
9672 done
9673 IFS=$as_save_IFS
9677 OBJC=$ac_cv_prog_OBJC
9678 if test -n "$OBJC"; then
9679 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
9680 printf "%s\n" "$OBJC" >&6; }
9681 else
9682 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9683 printf "%s\n" "no" >&6; }
9687 test -n "$OBJC" && break
9688 done
9690 if test -z "$OBJC"; then
9691 ac_ct_OBJC=$OBJC
9692 for ac_prog in gcc objcc objc cc CC clang
9694 # Extract the first word of "$ac_prog", so it can be a program name with args.
9695 set dummy $ac_prog; ac_word=$2
9696 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9697 printf %s "checking for $ac_word... " >&6; }
9698 if test ${ac_cv_prog_ac_ct_OBJC+y}
9699 then :
9700 printf %s "(cached) " >&6
9701 else $as_nop
9702 if test -n "$ac_ct_OBJC"; then
9703 ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
9704 else
9705 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9706 for as_dir in $PATH
9708 IFS=$as_save_IFS
9709 case $as_dir in #(((
9710 '') as_dir=./ ;;
9711 */) ;;
9712 *) as_dir=$as_dir/ ;;
9713 esac
9714 for ac_exec_ext in '' $ac_executable_extensions; do
9715 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9716 ac_cv_prog_ac_ct_OBJC="$ac_prog"
9717 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9718 break 2
9720 done
9721 done
9722 IFS=$as_save_IFS
9726 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
9727 if test -n "$ac_ct_OBJC"; then
9728 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
9729 printf "%s\n" "$ac_ct_OBJC" >&6; }
9730 else
9731 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9732 printf "%s\n" "no" >&6; }
9736 test -n "$ac_ct_OBJC" && break
9737 done
9739 if test "x$ac_ct_OBJC" = x; then
9740 OBJC="gcc"
9741 else
9742 case $cross_compiling:$ac_tool_warned in
9743 yes:)
9744 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9745 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9746 ac_tool_warned=yes ;;
9747 esac
9748 OBJC=$ac_ct_OBJC
9752 # Provide some information about the compiler.
9753 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
9754 set X $ac_compile
9755 ac_compiler=$2
9756 for ac_option in --version -v -V -qversion; do
9757 { { ac_try="$ac_compiler $ac_option >&5"
9758 case "(($ac_try" in
9759 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9760 *) ac_try_echo=$ac_try;;
9761 esac
9762 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
9763 printf "%s\n" "$ac_try_echo"; } >&5
9764 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
9765 ac_status=$?
9766 if test -s conftest.err; then
9767 sed '10a\
9768 ... rest of stderr output deleted ...
9769 10q' conftest.err >conftest.er1
9770 cat conftest.er1 >&5
9772 rm -f conftest.er1 conftest.err
9773 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9774 test $ac_status = 0; }
9775 done
9777 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU Objective C" >&5
9778 printf %s "checking whether the compiler supports GNU Objective C... " >&6; }
9779 if test ${ac_cv_objc_compiler_gnu+y}
9780 then :
9781 printf %s "(cached) " >&6
9782 else $as_nop
9783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9784 /* end confdefs.h. */
9787 main (void)
9789 #ifndef __GNUC__
9790 choke me
9791 #endif
9794 return 0;
9796 _ACEOF
9797 if ac_fn_objc_try_compile "$LINENO"
9798 then :
9799 ac_compiler_gnu=yes
9800 else $as_nop
9801 ac_compiler_gnu=no
9803 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9804 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
9807 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
9808 printf "%s\n" "$ac_cv_objc_compiler_gnu" >&6; }
9809 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9811 if test $ac_compiler_gnu = yes; then
9812 GOBJC=yes
9813 else
9814 GOBJC=
9816 ac_test_OBJCFLAGS=${OBJCFLAGS+y}
9817 ac_save_OBJCFLAGS=$OBJCFLAGS
9818 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
9819 printf %s "checking whether $OBJC accepts -g... " >&6; }
9820 if test ${ac_cv_prog_objc_g+y}
9821 then :
9822 printf %s "(cached) " >&6
9823 else $as_nop
9824 ac_save_objc_werror_flag=$ac_objc_werror_flag
9825 ac_objc_werror_flag=yes
9826 ac_cv_prog_objc_g=no
9827 OBJCFLAGS="-g"
9828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9829 /* end confdefs.h. */
9832 main (void)
9836 return 0;
9838 _ACEOF
9839 if ac_fn_objc_try_compile "$LINENO"
9840 then :
9841 ac_cv_prog_objc_g=yes
9842 else $as_nop
9843 OBJCFLAGS=""
9844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9845 /* end confdefs.h. */
9848 main (void)
9852 return 0;
9854 _ACEOF
9855 if ac_fn_objc_try_compile "$LINENO"
9856 then :
9858 else $as_nop
9859 ac_objc_werror_flag=$ac_save_objc_werror_flag
9860 OBJCFLAGS="-g"
9861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9862 /* end confdefs.h. */
9865 main (void)
9869 return 0;
9871 _ACEOF
9872 if ac_fn_objc_try_compile "$LINENO"
9873 then :
9874 ac_cv_prog_objc_g=yes
9876 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9878 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9880 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9881 ac_objc_werror_flag=$ac_save_objc_werror_flag
9883 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
9884 printf "%s\n" "$ac_cv_prog_objc_g" >&6; }
9885 if test $ac_test_OBJCFLAGS; then
9886 OBJCFLAGS=$ac_save_OBJCFLAGS
9887 elif test $ac_cv_prog_objc_g = yes; then
9888 if test "$GOBJC" = yes; then
9889 OBJCFLAGS="-g -O2"
9890 else
9891 OBJCFLAGS="-g"
9893 else
9894 if test "$GOBJC" = yes; then
9895 OBJCFLAGS="-O2"
9896 else
9897 OBJCFLAGS=
9900 ac_ext=m
9901 ac_cpp='$OBJCPP $CPPFLAGS'
9902 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9903 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9904 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9908 /* end confdefs.h. */
9909 #include <Metal/Metal.h>
9911 main (void)
9913 id<MTLDevice> device; device.registryID;
9915 return 0;
9917 _ACEOF
9918 if ac_fn_objc_try_compile "$LINENO"
9919 then :
9920 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9921 printf "%s\n" "yes" >&6; }
9923 printf "%s\n" "#define HAVE_MTLDEVICE_REGISTRYID 1" >>confdefs.h
9925 else $as_nop
9926 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9927 printf "%s\n" "no" >&6; }
9929 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9930 ac_ext=c
9931 ac_cpp='$CPP $CPPFLAGS'
9932 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9933 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9934 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9937 UNIXLDFLAGS="-dynamiclib -install_name @rpath/\$(UNIXLIB) -Wl,-rpath,@loader_path\/"
9938 WINELOADER_DEPENDS="wine_info.plist"
9942 linux-android*)
9944 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
9946 DLLFLAGS="$DLLFLAGS -fPIC"
9947 LDDLLFLAGS="-fPIC"
9948 LDEXECFLAGS="-Wl,-pie"
9949 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
9950 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
9951 printf %s "checking whether the compiler supports -Wl,-z,defs... " >&6; }
9952 if test ${ac_cv_cflags__Wl__z_defs+y}
9953 then :
9954 printf %s "(cached) " >&6
9955 else $as_nop
9956 ac_wine_try_cflags_saved=$CFLAGS
9957 CFLAGS="$CFLAGS -Wl,-z,defs"
9958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9959 /* end confdefs.h. */
9960 int main(int argc, char **argv) { return 0; }
9961 _ACEOF
9962 if ac_fn_c_try_link "$LINENO"
9963 then :
9964 ac_cv_cflags__Wl__z_defs=yes
9965 else $as_nop
9966 ac_cv_cflags__Wl__z_defs=no
9968 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9969 conftest$ac_exeext conftest.$ac_ext
9970 CFLAGS=$ac_wine_try_cflags_saved
9972 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
9973 printf "%s\n" "$ac_cv_cflags__Wl__z_defs" >&6; }
9974 if test "x$ac_cv_cflags__Wl__z_defs" = xyes
9975 then :
9976 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
9978 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
9979 printf %s "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
9980 if test ${ac_cv_cflags__fPIC__Wl___export_dynamic+y}
9981 then :
9982 printf %s "(cached) " >&6
9983 else $as_nop
9984 ac_wine_try_cflags_saved=$CFLAGS
9985 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
9986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9987 /* end confdefs.h. */
9988 int main(int argc, char **argv) { return 0; }
9989 _ACEOF
9990 if ac_fn_c_try_link "$LINENO"
9991 then :
9992 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
9993 else $as_nop
9994 ac_cv_cflags__fPIC__Wl___export_dynamic=no
9996 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9997 conftest$ac_exeext conftest.$ac_ext
9998 CFLAGS=$ac_wine_try_cflags_saved
10000 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
10001 printf "%s\n" "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
10002 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
10003 then :
10004 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
10006 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
10008 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
10009 printf %s "checking for -lEGL... " >&6; }
10010 if test ${ac_cv_lib_soname_EGL+y}
10011 then :
10012 printf %s "(cached) " >&6
10013 else $as_nop
10014 ac_check_soname_save_LIBS=$LIBS
10015 LIBS="-lEGL $LIBS"
10016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10017 /* end confdefs.h. */
10019 /* Override any GCC internal prototype to avoid an error.
10020 Use char because int might match the return type of a GCC
10021 builtin and then its argument prototype would still apply. */
10022 char eglGetProcAddress ();
10024 main (void)
10026 return eglGetProcAddress ();
10028 return 0;
10030 _ACEOF
10031 if ac_fn_c_try_link "$LINENO"
10032 then :
10033 case "$LIBEXT" in
10034 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10035 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'` ;;
10036 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10037 if ${ac_cv_lib_soname_EGL:+false} :
10038 then :
10039 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10040 fi ;;
10041 esac
10042 else $as_nop
10043 ac_cv_lib_soname_EGL=
10045 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10046 conftest$ac_exeext conftest.$ac_ext
10047 LIBS=$ac_check_soname_save_LIBS
10049 if ${ac_cv_lib_soname_EGL:+false} :
10050 then :
10051 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10052 printf "%s\n" "not found" >&6; }
10054 else $as_nop
10055 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
10056 printf "%s\n" "$ac_cv_lib_soname_EGL" >&6; }
10058 printf "%s\n" "#define SONAME_LIBEGL \"$ac_cv_lib_soname_EGL\"" >>confdefs.h
10062 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
10063 printf %s "checking for -lGLESv2... " >&6; }
10064 if test ${ac_cv_lib_soname_GLESv2+y}
10065 then :
10066 printf %s "(cached) " >&6
10067 else $as_nop
10068 ac_check_soname_save_LIBS=$LIBS
10069 LIBS="-lGLESv2 $LIBS"
10070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10071 /* end confdefs.h. */
10073 /* Override any GCC internal prototype to avoid an error.
10074 Use char because int might match the return type of a GCC
10075 builtin and then its argument prototype would still apply. */
10076 char glFlush ();
10078 main (void)
10080 return glFlush ();
10082 return 0;
10084 _ACEOF
10085 if ac_fn_c_try_link "$LINENO"
10086 then :
10087 case "$LIBEXT" in
10088 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10089 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'` ;;
10090 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10091 if ${ac_cv_lib_soname_GLESv2:+false} :
10092 then :
10093 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10094 fi ;;
10095 esac
10096 else $as_nop
10097 ac_cv_lib_soname_GLESv2=
10099 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10100 conftest$ac_exeext conftest.$ac_ext
10101 LIBS=$ac_check_soname_save_LIBS
10103 if ${ac_cv_lib_soname_GLESv2:+false} :
10104 then :
10105 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10106 printf "%s\n" "not found" >&6; }
10108 else $as_nop
10109 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
10110 printf "%s\n" "$ac_cv_lib_soname_GLESv2" >&6; }
10112 printf "%s\n" "#define SONAME_LIBGLESV2 \"$ac_cv_lib_soname_GLESv2\"" >>confdefs.h
10117 if test "x$exec_prefix" = xNONE
10118 then
10119 case $HOST_ARCH in
10120 i386) exec_prefix='${prefix}/x86' ;;
10121 x86_64) exec_prefix='${prefix}/x86_64' ;;
10122 arm) exec_prefix='${prefix}/armeabi-v7a' ;;
10123 aarch64) exec_prefix='${prefix}/arm64-v8a' ;;
10124 esac
10130 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
10132 if test $HOST_ARCH = i386
10133 then
10134 DLLFLAGS="$DLLFLAGS -fno-PIC"
10135 LDDLLFLAGS="-fno-PIC"
10136 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-PIC -Wl,-z,notext" >&5
10137 printf %s "checking whether the compiler supports -fno-PIC -Wl,-z,notext... " >&6; }
10138 if test ${ac_cv_cflags__fno_PIC__Wl__z_notext+y}
10139 then :
10140 printf %s "(cached) " >&6
10141 else $as_nop
10142 ac_wine_try_cflags_saved=$CFLAGS
10143 CFLAGS="$CFLAGS -fno-PIC -Wl,-z,notext"
10144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10145 /* end confdefs.h. */
10146 int main(int argc, char **argv) { return 0; }
10147 _ACEOF
10148 if ac_fn_c_try_link "$LINENO"
10149 then :
10150 ac_cv_cflags__fno_PIC__Wl__z_notext=yes
10151 else $as_nop
10152 ac_cv_cflags__fno_PIC__Wl__z_notext=no
10154 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10155 conftest$ac_exeext conftest.$ac_ext
10156 CFLAGS=$ac_wine_try_cflags_saved
10158 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_PIC__Wl__z_notext" >&5
10159 printf "%s\n" "$ac_cv_cflags__fno_PIC__Wl__z_notext" >&6; }
10160 if test "x$ac_cv_cflags__fno_PIC__Wl__z_notext" = xyes
10161 then :
10162 LDDLLFLAGS="$LDDLLFLAGS -Wl,-z,notext"
10164 else
10165 DLLFLAGS="$DLLFLAGS -fPIC"
10166 LDDLLFLAGS="-fPIC"
10169 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -Wl,-z,defs works correctly" >&5
10170 printf %s "checking whether -Wl,-z,defs works correctly... " >&6; }
10171 if test ${ac_cv_wl_z_defs+y}
10172 then :
10173 printf %s "(cached) " >&6
10174 else $as_nop
10175 ac_save_CFLAGS="$CFLAGS"
10176 CFLAGS="$CFLAGS $UNIXDLLFLAGS $UNIXLDFLAGS -Wl,-z,defs"
10177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10178 /* end confdefs.h. */
10179 extern char **environ; char **envp; void myfunc(void) { envp = environ; }
10180 _ACEOF
10181 if ac_fn_c_try_link "$LINENO"
10182 then :
10183 ac_cv_wl_z_defs=yes
10184 else $as_nop
10185 ac_cv_wl_z_defs=no
10187 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10188 conftest$ac_exeext conftest.$ac_ext
10189 CFLAGS=$ac_save_CFLAGS
10191 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_wl_z_defs" >&5
10192 printf "%s\n" "$ac_cv_wl_z_defs" >&6; }
10193 test $ac_cv_wl_z_defs != yes || as_fn_append UNIXLDFLAGS " -Wl,-z,defs"
10195 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--export-dynamic" >&5
10196 printf %s "checking whether the compiler supports -Wl,--export-dynamic... " >&6; }
10197 if test ${ac_cv_cflags__Wl___export_dynamic+y}
10198 then :
10199 printf %s "(cached) " >&6
10200 else $as_nop
10201 ac_wine_try_cflags_saved=$CFLAGS
10202 CFLAGS="$CFLAGS -Wl,--export-dynamic"
10203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10204 /* end confdefs.h. */
10205 int main(int argc, char **argv) { return 0; }
10206 _ACEOF
10207 if ac_fn_c_try_link "$LINENO"
10208 then :
10209 ac_cv_cflags__Wl___export_dynamic=yes
10210 else $as_nop
10211 ac_cv_cflags__Wl___export_dynamic=no
10213 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10214 conftest$ac_exeext conftest.$ac_ext
10215 CFLAGS=$ac_wine_try_cflags_saved
10217 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___export_dynamic" >&5
10218 printf "%s\n" "$ac_cv_cflags__Wl___export_dynamic" >&6; }
10219 if test "x$ac_cv_cflags__Wl___export_dynamic" = xyes
10220 then :
10221 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
10223 WINEPRELOADER_LDFLAGS="-nostartfiles -nodefaultlibs"
10225 case $host_os in
10226 linux*)
10227 as_fn_append WINELOADER_LDFLAGS " -pie"
10228 case $HOST_ARCH in
10229 i386|arm)
10230 as_fn_append WINEPRELOADER_LDFLAGS " -static -Wl,-Ttext=0x7d400000" ;;
10232 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -static-pie" >&5
10233 printf %s "checking whether the compiler supports -static-pie... " >&6; }
10234 if test ${ac_cv_cflags__static_pie+y}
10235 then :
10236 printf %s "(cached) " >&6
10237 else $as_nop
10238 ac_wine_try_cflags_saved=$CFLAGS
10239 CFLAGS="$CFLAGS -static-pie"
10240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10241 /* end confdefs.h. */
10242 int main(int argc, char **argv) { return 0; }
10243 _ACEOF
10244 if ac_fn_c_try_link "$LINENO"
10245 then :
10246 ac_cv_cflags__static_pie=yes
10247 else $as_nop
10248 ac_cv_cflags__static_pie=no
10250 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10251 conftest$ac_exeext conftest.$ac_ext
10252 CFLAGS=$ac_wine_try_cflags_saved
10254 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__static_pie" >&5
10255 printf "%s\n" "$ac_cv_cflags__static_pie" >&6; }
10256 if test "x$ac_cv_cflags__static_pie" = xyes
10257 then :
10258 as_fn_append WINEPRELOADER_LDFLAGS " -static-pie"
10259 else $as_nop
10260 as_fn_append WINEPRELOADER_LDFLAGS " -static -Wl,-Ttext=0x7d7d00000000"
10263 esac
10266 case $HOST_ARCH in
10267 i386|arm)
10268 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x60000000" >&5
10269 printf %s "checking whether the compiler supports -Wl,-Ttext-segment=0x60000000... " >&6; }
10270 if test ${ac_cv_cflags__Wl__Ttext_segment_0x60000000+y}
10271 then :
10272 printf %s "(cached) " >&6
10273 else $as_nop
10274 ac_wine_try_cflags_saved=$CFLAGS
10275 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x60000000"
10276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10277 /* end confdefs.h. */
10278 int main(int argc, char **argv) { return 0; }
10279 _ACEOF
10280 if ac_fn_c_try_link "$LINENO"
10281 then :
10282 ac_cv_cflags__Wl__Ttext_segment_0x60000000=yes
10283 else $as_nop
10284 ac_cv_cflags__Wl__Ttext_segment_0x60000000=no
10286 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10287 conftest$ac_exeext conftest.$ac_ext
10288 CFLAGS=$ac_wine_try_cflags_saved
10290 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x60000000" >&5
10291 printf "%s\n" "$ac_cv_cflags__Wl__Ttext_segment_0x60000000" >&6; }
10292 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x60000000" = xyes
10293 then :
10294 as_fn_append WINELOADER_LDFLAGS " -Wl,-Ttext-segment=0x60000000"
10295 else $as_nop
10296 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x60000400" >&5
10297 printf %s "checking whether the compiler supports -Wl,--section-start,.interp=0x60000400... " >&6; }
10298 if test ${ac_cv_cflags__Wl___section_start__interp_0x60000400+y}
10299 then :
10300 printf %s "(cached) " >&6
10301 else $as_nop
10302 ac_wine_try_cflags_saved=$CFLAGS
10303 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x60000400"
10304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10305 /* end confdefs.h. */
10306 int main(int argc, char **argv) { return 0; }
10307 _ACEOF
10308 if ac_fn_c_try_link "$LINENO"
10309 then :
10310 ac_cv_cflags__Wl___section_start__interp_0x60000400=yes
10311 else $as_nop
10312 ac_cv_cflags__Wl___section_start__interp_0x60000400=no
10314 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10315 conftest$ac_exeext conftest.$ac_ext
10316 CFLAGS=$ac_wine_try_cflags_saved
10318 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x60000400" >&5
10319 printf "%s\n" "$ac_cv_cflags__Wl___section_start__interp_0x60000400" >&6; }
10320 if test "x$ac_cv_cflags__Wl___section_start__interp_0x60000400" = xyes
10321 then :
10322 as_fn_append WINELOADER_LDFLAGS " -Wl,--section-start,.interp=0x60000400"
10327 as_fn_append WINELOADER_LDFLAGS " -pie"
10329 esac
10331 esac
10333 esac
10335 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
10336 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
10337 enable_winemac_drv=${enable_winemac_drv:-no}
10339 PE_ARCHS=""
10341 cross_archs=
10342 if test ${enable_archs+y}
10343 then :
10344 test "x$with_system_dllpath" = "x" || as_fn_error $? "\"The --with-system-dllpath option is not compatible with --enable-archs\"" "$LINENO" 5
10345 ac_save_IFS=$IFS
10346 IFS=' ,'
10347 set x $enable_archs
10348 IFS=$ac_save_IFS
10349 shift
10350 for arch
10352 case $arch in
10353 i386|x86_64|arm|aarch64|arm64ec) cross_archs="$cross_archs $arch" ;;
10354 *) as_fn_error $? "Unknown cross-compilation architecture '$arch'" "$LINENO" 5 ;;
10355 esac
10356 done
10357 else $as_nop
10358 if test "x$with_mingw" != xno
10359 then
10360 test $HOST_ARCH = unknown || cross_archs=$HOST_ARCH
10364 saved_CC=$CC
10365 saved_CFLAGS=$CFLAGS
10366 saved_LDFLAGS=$LDFLAGS
10368 { extra_arch=; unset extra_arch;}
10369 for arch in $cross_archs
10371 case $arch in
10372 arm64ec) test ${extra_arch+y} || extra_arch=x86_64 ;;
10373 x86_64) extra_arch="" ;;
10374 esac
10375 done
10377 for wine_arch in $cross_archs $extra_arch
10379 case "x$with_mingw" in
10380 xclang|x*/clang) eval "${wine_arch}_CC=\$with_mingw" ;;
10381 esac
10382 if eval \${${wine_arch}_CC:+false} :
10383 then :
10384 case $wine_arch in
10385 aarch64)
10386 for ac_prog in aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc clang
10388 # Extract the first word of "$ac_prog", so it can be a program name with args.
10389 set dummy $ac_prog; ac_word=$2
10390 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10391 printf %s "checking for $ac_word... " >&6; }
10392 if test ${ac_cv_prog_aarch64_CC+y}
10393 then :
10394 printf %s "(cached) " >&6
10395 else $as_nop
10396 if test -n "$aarch64_CC"; then
10397 ac_cv_prog_aarch64_CC="$aarch64_CC" # Let the user override the test.
10398 else
10399 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10400 for as_dir in $PATH
10402 IFS=$as_save_IFS
10403 case $as_dir in #(((
10404 '') as_dir=./ ;;
10405 */) ;;
10406 *) as_dir=$as_dir/ ;;
10407 esac
10408 for ac_exec_ext in '' $ac_executable_extensions; do
10409 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10410 ac_cv_prog_aarch64_CC="$ac_prog"
10411 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10412 break 2
10414 done
10415 done
10416 IFS=$as_save_IFS
10420 aarch64_CC=$ac_cv_prog_aarch64_CC
10421 if test -n "$aarch64_CC"; then
10422 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $aarch64_CC" >&5
10423 printf "%s\n" "$aarch64_CC" >&6; }
10424 else
10425 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10426 printf "%s\n" "no" >&6; }
10430 test -n "$aarch64_CC" && break
10431 done
10432 test -n "$aarch64_CC" || aarch64_CC="false"
10435 arm64ec)
10436 for ac_prog in arm64ec-w64-mingw32-clang arm64ec-w64-mingw32-gcc clang
10438 # Extract the first word of "$ac_prog", so it can be a program name with args.
10439 set dummy $ac_prog; ac_word=$2
10440 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10441 printf %s "checking for $ac_word... " >&6; }
10442 if test ${ac_cv_prog_arm64ec_CC+y}
10443 then :
10444 printf %s "(cached) " >&6
10445 else $as_nop
10446 if test -n "$arm64ec_CC"; then
10447 ac_cv_prog_arm64ec_CC="$arm64ec_CC" # Let the user override the test.
10448 else
10449 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10450 for as_dir in $PATH
10452 IFS=$as_save_IFS
10453 case $as_dir in #(((
10454 '') as_dir=./ ;;
10455 */) ;;
10456 *) as_dir=$as_dir/ ;;
10457 esac
10458 for ac_exec_ext in '' $ac_executable_extensions; do
10459 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10460 ac_cv_prog_arm64ec_CC="$ac_prog"
10461 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10462 break 2
10464 done
10465 done
10466 IFS=$as_save_IFS
10470 arm64ec_CC=$ac_cv_prog_arm64ec_CC
10471 if test -n "$arm64ec_CC"; then
10472 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $arm64ec_CC" >&5
10473 printf "%s\n" "$arm64ec_CC" >&6; }
10474 else
10475 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10476 printf "%s\n" "no" >&6; }
10480 test -n "$arm64ec_CC" && break
10481 done
10482 test -n "$arm64ec_CC" || arm64ec_CC="false"
10485 arm)
10486 for ac_prog in armv7-w64-mingw32-clang armv7-w64-mingw32-gcc clang
10488 # Extract the first word of "$ac_prog", so it can be a program name with args.
10489 set dummy $ac_prog; ac_word=$2
10490 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10491 printf %s "checking for $ac_word... " >&6; }
10492 if test ${ac_cv_prog_arm_CC+y}
10493 then :
10494 printf %s "(cached) " >&6
10495 else $as_nop
10496 if test -n "$arm_CC"; then
10497 ac_cv_prog_arm_CC="$arm_CC" # Let the user override the test.
10498 else
10499 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10500 for as_dir in $PATH
10502 IFS=$as_save_IFS
10503 case $as_dir in #(((
10504 '') as_dir=./ ;;
10505 */) ;;
10506 *) as_dir=$as_dir/ ;;
10507 esac
10508 for ac_exec_ext in '' $ac_executable_extensions; do
10509 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10510 ac_cv_prog_arm_CC="$ac_prog"
10511 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10512 break 2
10514 done
10515 done
10516 IFS=$as_save_IFS
10520 arm_CC=$ac_cv_prog_arm_CC
10521 if test -n "$arm_CC"; then
10522 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $arm_CC" >&5
10523 printf "%s\n" "$arm_CC" >&6; }
10524 else
10525 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10526 printf "%s\n" "no" >&6; }
10530 test -n "$arm_CC" && break
10531 done
10532 test -n "$arm_CC" || arm_CC="false"
10535 i386)
10536 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 "
10537 for ac_prog in $ac_prefix_list clang
10539 # Extract the first word of "$ac_prog", so it can be a program name with args.
10540 set dummy $ac_prog; ac_word=$2
10541 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10542 printf %s "checking for $ac_word... " >&6; }
10543 if test ${ac_cv_prog_i386_CC+y}
10544 then :
10545 printf %s "(cached) " >&6
10546 else $as_nop
10547 if test -n "$i386_CC"; then
10548 ac_cv_prog_i386_CC="$i386_CC" # Let the user override the test.
10549 else
10550 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10551 for as_dir in $PATH
10553 IFS=$as_save_IFS
10554 case $as_dir in #(((
10555 '') as_dir=./ ;;
10556 */) ;;
10557 *) as_dir=$as_dir/ ;;
10558 esac
10559 for ac_exec_ext in '' $ac_executable_extensions; do
10560 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10561 ac_cv_prog_i386_CC="$ac_prog"
10562 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10563 break 2
10565 done
10566 done
10567 IFS=$as_save_IFS
10571 i386_CC=$ac_cv_prog_i386_CC
10572 if test -n "$i386_CC"; then
10573 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $i386_CC" >&5
10574 printf "%s\n" "$i386_CC" >&6; }
10575 else
10576 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10577 printf "%s\n" "no" >&6; }
10581 test -n "$i386_CC" && break
10582 done
10583 test -n "$i386_CC" || i386_CC="false"
10586 x86_64)
10587 ac_prefix_list="x86_64-w64-mingw32-gcc amd64-w64-mingw32-gcc x86_64-w64-mingw32-clang amd64-w64-mingw32-clang "
10588 for ac_prog in $ac_prefix_list clang
10590 # Extract the first word of "$ac_prog", so it can be a program name with args.
10591 set dummy $ac_prog; ac_word=$2
10592 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10593 printf %s "checking for $ac_word... " >&6; }
10594 if test ${ac_cv_prog_x86_64_CC+y}
10595 then :
10596 printf %s "(cached) " >&6
10597 else $as_nop
10598 if test -n "$x86_64_CC"; then
10599 ac_cv_prog_x86_64_CC="$x86_64_CC" # Let the user override the test.
10600 else
10601 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10602 for as_dir in $PATH
10604 IFS=$as_save_IFS
10605 case $as_dir in #(((
10606 '') as_dir=./ ;;
10607 */) ;;
10608 *) as_dir=$as_dir/ ;;
10609 esac
10610 for ac_exec_ext in '' $ac_executable_extensions; do
10611 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10612 ac_cv_prog_x86_64_CC="$ac_prog"
10613 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10614 break 2
10616 done
10617 done
10618 IFS=$as_save_IFS
10622 x86_64_CC=$ac_cv_prog_x86_64_CC
10623 if test -n "$x86_64_CC"; then
10624 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $x86_64_CC" >&5
10625 printf "%s\n" "$x86_64_CC" >&6; }
10626 else
10627 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10628 printf "%s\n" "no" >&6; }
10632 test -n "$x86_64_CC" && break
10633 done
10634 test -n "$x86_64_CC" || x86_64_CC="false"
10637 esac
10640 CFLAGS=${CROSSCFLAGS:-"-g -O2"}
10641 LDFLAGS=$CROSSLDFLAGS
10642 eval CC=\$${wine_arch}_CC
10643 eval ${wine_arch}_CFLAGS=\$CFLAGS
10644 eval ${wine_arch}_LDFLAGS=\$LDFLAGS
10645 eval "${wine_arch}_EXTRACFLAGS=\"-D__WINE_PE_BUILD -Wall\""
10647 target=""
10648 as_wine_cv_crosscc=`printf "%s\n" "ac_cv_${wine_arch}_crosscc" | $as_tr_sh`
10650 if eval test \"x\$"${wine_arch}_CC"\" = x"false"
10651 then :
10653 else $as_nop
10654 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
10655 printf %s "checking whether $CC works... " >&6; }
10656 if eval test \${$as_wine_cv_crosscc+y}
10657 then :
10658 printf %s "(cached) " >&6
10659 else $as_nop
10660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10661 /* end confdefs.h. */
10664 main (void)
10668 return 0;
10670 _ACEOF
10671 if ac_fn_c_try_compile "$LINENO"
10672 then :
10673 eval "$as_wine_cv_crosscc=yes"
10674 else $as_nop
10675 eval "$as_wine_cv_crosscc=no"
10677 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10679 eval ac_res=\$$as_wine_cv_crosscc
10680 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10681 printf "%s\n" "$ac_res" >&6; }
10683 if eval test \"x\$"$as_wine_cv_crosscc"\" = x"yes"
10684 then :
10685 set x $CC
10686 shift
10687 while test $# -ge 1
10689 case "$1" in
10690 */*-gcc) target=`expr "$1" : '.*/\(.*\)-gcc'` ;;
10691 */*-clang) target=`expr "$1" : '.*/\(.*\)-clang'` ;;
10692 *-gcc) target=`expr "$1" : '\(.*\)-gcc'` ;;
10693 *-clang) target=`expr "$1" : '\(.*\)-clang'` ;;
10694 esac
10695 shift
10696 done
10698 llvm_target=$target
10699 if test -z "$llvm_target"
10700 then
10701 case $wine_arch in
10702 i386) llvm_target=i686-windows ;;
10703 arm) llvm_target=armv7-windows ;;
10704 *) llvm_target=$wine_arch-windows ;;
10705 esac
10707 llvm_extra_cflags="-target $llvm_target -fuse-ld=lld"
10708 llvm_extra_ldflags=""
10709 case $llvm_target in
10710 *windows) llvm_cflags="-Wl,-subsystem:console -Wl,-WX" ;;
10711 esac
10712 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_$llvm_extra_cflags $llvm_cflags --no-default-config" | $as_tr_sh`
10713 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports $llvm_extra_cflags $llvm_cflags --no-default-config" >&5
10714 printf %s "checking whether $CC supports $llvm_extra_cflags $llvm_cflags --no-default-config... " >&6; }
10715 if eval test \${$as_ac_var+y}
10716 then :
10717 printf %s "(cached) " >&6
10718 else $as_nop
10719 ac_wine_try_cflags_saved=$CFLAGS
10720 ac_wine_try_cflags_saved_exeext=$ac_exeext
10721 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs $llvm_extra_cflags $llvm_cflags --no-default-config"
10722 ac_exeext=".exe"
10723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10724 /* end confdefs.h. */
10725 void *__os_arm64x_dispatch_ret = 0;
10726 int __cdecl mainCRTStartup(void) { return 0; }
10727 _ACEOF
10728 if ac_fn_c_try_link "$LINENO"
10729 then :
10730 eval "$as_ac_var=yes"
10731 else $as_nop
10732 eval "$as_ac_var=no"
10734 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10735 conftest$ac_exeext conftest.$ac_ext
10736 CFLAGS=$ac_wine_try_cflags_saved
10737 ac_exeext=$ac_wine_try_cflags_saved_exeext
10739 eval ac_res=\$$as_ac_var
10740 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10741 printf "%s\n" "$ac_res" >&6; }
10742 if eval test \"x\$"$as_ac_var"\" = x"yes"
10743 then :
10744 llvm_extra_cflags="$llvm_extra_cflags --no-default-config"
10745 llvm_extra_ldflags="--no-default-config"
10746 else $as_nop
10747 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_$llvm_extra_cflags $llvm_cflags" | $as_tr_sh`
10748 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports $llvm_extra_cflags $llvm_cflags" >&5
10749 printf %s "checking whether $CC supports $llvm_extra_cflags $llvm_cflags... " >&6; }
10750 if eval test \${$as_ac_var+y}
10751 then :
10752 printf %s "(cached) " >&6
10753 else $as_nop
10754 ac_wine_try_cflags_saved=$CFLAGS
10755 ac_wine_try_cflags_saved_exeext=$ac_exeext
10756 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs $llvm_extra_cflags $llvm_cflags"
10757 ac_exeext=".exe"
10758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10759 /* end confdefs.h. */
10760 void *__os_arm64x_dispatch_ret = 0;
10761 int __cdecl mainCRTStartup(void) { return 0; }
10762 _ACEOF
10763 if ac_fn_c_try_link "$LINENO"
10764 then :
10765 eval "$as_ac_var=yes"
10766 else $as_nop
10767 eval "$as_ac_var=no"
10769 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10770 conftest$ac_exeext conftest.$ac_ext
10771 CFLAGS=$ac_wine_try_cflags_saved
10772 ac_exeext=$ac_wine_try_cflags_saved_exeext
10774 eval ac_res=\$$as_ac_var
10775 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10776 printf "%s\n" "$ac_res" >&6; }
10777 if eval test \"x\$"$as_ac_var"\" = x"yes"
10778 then :
10780 else $as_nop
10781 llvm_extra_cflags=""
10782 fi }
10783 fi }
10784 if test -n "$llvm_extra_cflags"
10785 then
10786 target=$llvm_target
10787 eval "${wine_arch}_DELAYLOADFLAG=\"-Wl,-delayload,\""
10788 as_fn_append ${wine_arch}_EXTRACFLAGS " $llvm_extra_cflags"
10789 as_fn_append ${wine_arch}_LDFLAGS " $llvm_extra_ldflags"
10790 CFLAGS="$llvm_extra_cflags $llvm_cflags"
10792 eval "${wine_arch}_TARGET=\$target"
10796 if test -z "$target"
10797 then
10798 if test ${enable_archs+y}
10799 then :
10800 as_fn_error $? "$wine_arch PE cross-compiler not found.
10801 This is an error since --enable-archs=$wine_arch was requested." "$LINENO" 5
10803 continue
10806 as_wine_cv_crosscc_c99=`printf "%s\n" "ac_cv_${wine_arch}_crosscc_c99" | $as_tr_sh`
10808 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
10809 printf %s "checking for $CC option to enable C99 features... " >&6; }
10810 if eval test \${$as_wine_cv_crosscc_c99+y}
10811 then :
10812 printf %s "(cached) " >&6
10813 else $as_nop
10814 eval "$as_wine_cv_crosscc_c99=no"
10815 for arg in '' '-std=gnu99' '-D__STDC__'
10817 test -z "$arg" || CC="$CC $arg"
10818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10819 /* end confdefs.h. */
10820 $ac_c_conftest_c99_program
10821 _ACEOF
10822 if ac_fn_c_try_compile "$LINENO"
10823 then :
10824 eval "$as_wine_cv_crosscc_c99=\$arg"
10825 else $as_nop
10826 eval "$as_wine_cv_crosscc_c99=no"
10828 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10829 eval CC=\$${wine_arch}_CC
10830 if eval test \"x\$"$as_wine_cv_crosscc_c99"\" = x"no"
10831 then :
10833 else $as_nop
10834 break
10836 done
10839 eval res=\$$as_wine_cv_crosscc_c99
10841 case "x$res" in
10842 x) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
10843 printf "%s\n" "none needed" >&6; } ;;
10844 xno) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
10845 printf "%s\n" "unsupported" >&6; }
10846 if test ${enable_archs+y}
10847 then :
10848 as_fn_error $? "$wine_arch PE cross-compiler supporting C99 not found.
10849 This is an error since --enable-archs=$wine_arch was requested." "$LINENO" 5
10851 continue
10853 x*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $res" >&5
10854 printf "%s\n" "$res" >&6; }
10855 as_fn_append ${wine_arch}_CC " $res" ;;
10856 esac
10858 if test "x$wine_arch" = xi386
10859 then :
10861 else $as_nop
10862 as_wine_cv_seh_support=`printf "%s\n" "ac_cv_${wine_arch}_seh_support" | $as_tr_sh`
10864 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports SEH directives" >&5
10865 printf %s "checking whether $CC supports SEH directives... " >&6; }
10866 if eval test \${$as_wine_cv_seh_support+y}
10867 then :
10868 printf %s "(cached) " >&6
10869 else $as_nop
10870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10871 /* end confdefs.h. */
10872 asm(".text\nac_test:\t.seh_proc ac_test\n\tnop\n\t.seh_stackalloc 16\n\t.seh_endprologue\n\t.seh_endproc");
10874 main (void)
10878 return 0;
10880 _ACEOF
10881 if ac_fn_c_try_compile "$LINENO"
10882 then :
10883 eval "$as_wine_cv_seh_support=yes"
10884 else $as_nop
10885 eval "$as_wine_cv_seh_support=no"
10887 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10889 eval ac_res=\$$as_wine_cv_seh_support
10890 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10891 printf "%s\n" "$ac_res" >&6; }
10892 eval res=\$$as_wine_cv_seh_support
10894 if test "x$res" = xyes
10895 then :
10897 else $as_nop
10898 if test ${enable_archs+y}
10899 then :
10900 as_fn_error $? "The $wine_arch PE cross-compiler doesn't support SEH directives.
10901 This is an error since --enable-archs=$wine_arch was requested." "$LINENO" 5
10903 continue
10907 if test "x$wine_arch" = x$extra_arch
10908 then :
10910 else $as_nop
10911 as_fn_append PE_ARCHS " $wine_arch"
10914 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-fno-strict-aliasing" | $as_tr_sh`
10915 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -fno-strict-aliasing" >&5
10916 printf %s "checking whether $CC supports -fno-strict-aliasing... " >&6; }
10917 if eval test \${$as_ac_var+y}
10918 then :
10919 printf %s "(cached) " >&6
10920 else $as_nop
10921 ac_wine_try_cflags_saved=$CFLAGS
10922 ac_wine_try_cflags_saved_exeext=$ac_exeext
10923 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -fno-strict-aliasing"
10924 ac_exeext=".exe"
10925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10926 /* end confdefs.h. */
10927 void *__os_arm64x_dispatch_ret = 0;
10928 int __cdecl mainCRTStartup(void) { return 0; }
10929 _ACEOF
10930 if ac_fn_c_try_link "$LINENO"
10931 then :
10932 eval "$as_ac_var=yes"
10933 else $as_nop
10934 eval "$as_ac_var=no"
10936 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10937 conftest$ac_exeext conftest.$ac_ext
10938 CFLAGS=$ac_wine_try_cflags_saved
10939 ac_exeext=$ac_wine_try_cflags_saved_exeext
10941 eval ac_res=\$$as_ac_var
10942 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10943 printf "%s\n" "$ac_res" >&6; }
10944 if eval test \"x\$"$as_ac_var"\" = x"yes"
10945 then :
10946 as_fn_append ${wine_arch}_EXTRACFLAGS " -fno-strict-aliasing"
10947 fi }
10948 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror=unknown-warning-option" | $as_tr_sh`
10949 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror=unknown-warning-option" >&5
10950 printf %s "checking whether $CC supports -Werror=unknown-warning-option... " >&6; }
10951 if eval test \${$as_ac_var+y}
10952 then :
10953 printf %s "(cached) " >&6
10954 else $as_nop
10955 ac_wine_try_cflags_saved=$CFLAGS
10956 ac_wine_try_cflags_saved_exeext=$ac_exeext
10957 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Werror=unknown-warning-option"
10958 ac_exeext=".exe"
10959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10960 /* end confdefs.h. */
10961 void *__os_arm64x_dispatch_ret = 0;
10962 int __cdecl mainCRTStartup(void) { return 0; }
10963 _ACEOF
10964 if ac_fn_c_try_link "$LINENO"
10965 then :
10966 eval "$as_ac_var=yes"
10967 else $as_nop
10968 eval "$as_ac_var=no"
10970 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10971 conftest$ac_exeext conftest.$ac_ext
10972 CFLAGS=$ac_wine_try_cflags_saved
10973 ac_exeext=$ac_wine_try_cflags_saved_exeext
10975 eval ac_res=\$$as_ac_var
10976 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10977 printf "%s\n" "$ac_res" >&6; }
10978 if eval test \"x\$"$as_ac_var"\" = x"yes"
10979 then :
10980 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
10981 fi }
10982 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror=ignored-optimization-argument" | $as_tr_sh`
10983 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror=ignored-optimization-argument" >&5
10984 printf %s "checking whether $CC supports -Werror=ignored-optimization-argument... " >&6; }
10985 if eval test \${$as_ac_var+y}
10986 then :
10987 printf %s "(cached) " >&6
10988 else $as_nop
10989 ac_wine_try_cflags_saved=$CFLAGS
10990 ac_wine_try_cflags_saved_exeext=$ac_exeext
10991 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Werror=ignored-optimization-argument"
10992 ac_exeext=".exe"
10993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10994 /* end confdefs.h. */
10995 void *__os_arm64x_dispatch_ret = 0;
10996 int __cdecl mainCRTStartup(void) { return 0; }
10997 _ACEOF
10998 if ac_fn_c_try_link "$LINENO"
10999 then :
11000 eval "$as_ac_var=yes"
11001 else $as_nop
11002 eval "$as_ac_var=no"
11004 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11005 conftest$ac_exeext conftest.$ac_ext
11006 CFLAGS=$ac_wine_try_cflags_saved
11007 ac_exeext=$ac_wine_try_cflags_saved_exeext
11009 eval ac_res=\$$as_ac_var
11010 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11011 printf "%s\n" "$ac_res" >&6; }
11012 if eval test \"x\$"$as_ac_var"\" = x"yes"
11013 then :
11014 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
11015 fi }
11016 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wdeclaration-after-statement" | $as_tr_sh`
11017 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wdeclaration-after-statement" >&5
11018 printf %s "checking whether $CC supports -Wdeclaration-after-statement... " >&6; }
11019 if eval test \${$as_ac_var+y}
11020 then :
11021 printf %s "(cached) " >&6
11022 else $as_nop
11023 ac_wine_try_cflags_saved=$CFLAGS
11024 ac_wine_try_cflags_saved_exeext=$ac_exeext
11025 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wdeclaration-after-statement"
11026 ac_exeext=".exe"
11027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11028 /* end confdefs.h. */
11029 void *__os_arm64x_dispatch_ret = 0;
11030 int __cdecl mainCRTStartup(void) { return 0; }
11031 _ACEOF
11032 if ac_fn_c_try_link "$LINENO"
11033 then :
11034 eval "$as_ac_var=yes"
11035 else $as_nop
11036 eval "$as_ac_var=no"
11038 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11039 conftest$ac_exeext conftest.$ac_ext
11040 CFLAGS=$ac_wine_try_cflags_saved
11041 ac_exeext=$ac_wine_try_cflags_saved_exeext
11043 eval ac_res=\$$as_ac_var
11044 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11045 printf "%s\n" "$ac_res" >&6; }
11046 if eval test \"x\$"$as_ac_var"\" = x"yes"
11047 then :
11048 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wdeclaration-after-statement"
11049 fi }
11050 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wempty-body" | $as_tr_sh`
11051 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wempty-body" >&5
11052 printf %s "checking whether $CC supports -Wempty-body... " >&6; }
11053 if eval test \${$as_ac_var+y}
11054 then :
11055 printf %s "(cached) " >&6
11056 else $as_nop
11057 ac_wine_try_cflags_saved=$CFLAGS
11058 ac_wine_try_cflags_saved_exeext=$ac_exeext
11059 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wempty-body"
11060 ac_exeext=".exe"
11061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11062 /* end confdefs.h. */
11063 void *__os_arm64x_dispatch_ret = 0;
11064 int __cdecl mainCRTStartup(void) { return 0; }
11065 _ACEOF
11066 if ac_fn_c_try_link "$LINENO"
11067 then :
11068 eval "$as_ac_var=yes"
11069 else $as_nop
11070 eval "$as_ac_var=no"
11072 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11073 conftest$ac_exeext conftest.$ac_ext
11074 CFLAGS=$ac_wine_try_cflags_saved
11075 ac_exeext=$ac_wine_try_cflags_saved_exeext
11077 eval ac_res=\$$as_ac_var
11078 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11079 printf "%s\n" "$ac_res" >&6; }
11080 if eval test \"x\$"$as_ac_var"\" = x"yes"
11081 then :
11082 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wempty-body"
11083 fi }
11084 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wignored-qualifiers" | $as_tr_sh`
11085 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wignored-qualifiers" >&5
11086 printf %s "checking whether $CC supports -Wignored-qualifiers... " >&6; }
11087 if eval test \${$as_ac_var+y}
11088 then :
11089 printf %s "(cached) " >&6
11090 else $as_nop
11091 ac_wine_try_cflags_saved=$CFLAGS
11092 ac_wine_try_cflags_saved_exeext=$ac_exeext
11093 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wignored-qualifiers"
11094 ac_exeext=".exe"
11095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11096 /* end confdefs.h. */
11097 void *__os_arm64x_dispatch_ret = 0;
11098 int __cdecl mainCRTStartup(void) { return 0; }
11099 _ACEOF
11100 if ac_fn_c_try_link "$LINENO"
11101 then :
11102 eval "$as_ac_var=yes"
11103 else $as_nop
11104 eval "$as_ac_var=no"
11106 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11107 conftest$ac_exeext conftest.$ac_ext
11108 CFLAGS=$ac_wine_try_cflags_saved
11109 ac_exeext=$ac_wine_try_cflags_saved_exeext
11111 eval ac_res=\$$as_ac_var
11112 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11113 printf "%s\n" "$ac_res" >&6; }
11114 if eval test \"x\$"$as_ac_var"\" = x"yes"
11115 then :
11116 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wignored-qualifiers"
11117 fi }
11118 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Winit-self" | $as_tr_sh`
11119 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Winit-self" >&5
11120 printf %s "checking whether $CC supports -Winit-self... " >&6; }
11121 if eval test \${$as_ac_var+y}
11122 then :
11123 printf %s "(cached) " >&6
11124 else $as_nop
11125 ac_wine_try_cflags_saved=$CFLAGS
11126 ac_wine_try_cflags_saved_exeext=$ac_exeext
11127 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Winit-self"
11128 ac_exeext=".exe"
11129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11130 /* end confdefs.h. */
11131 void *__os_arm64x_dispatch_ret = 0;
11132 int __cdecl mainCRTStartup(void) { return 0; }
11133 _ACEOF
11134 if ac_fn_c_try_link "$LINENO"
11135 then :
11136 eval "$as_ac_var=yes"
11137 else $as_nop
11138 eval "$as_ac_var=no"
11140 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11141 conftest$ac_exeext conftest.$ac_ext
11142 CFLAGS=$ac_wine_try_cflags_saved
11143 ac_exeext=$ac_wine_try_cflags_saved_exeext
11145 eval ac_res=\$$as_ac_var
11146 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11147 printf "%s\n" "$ac_res" >&6; }
11148 if eval test \"x\$"$as_ac_var"\" = x"yes"
11149 then :
11150 as_fn_append ${wine_arch}_EXTRACFLAGS " -Winit-self"
11151 fi }
11152 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpacked-not-aligned" | $as_tr_sh`
11153 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpacked-not-aligned" >&5
11154 printf %s "checking whether $CC supports -Wpacked-not-aligned... " >&6; }
11155 if eval test \${$as_ac_var+y}
11156 then :
11157 printf %s "(cached) " >&6
11158 else $as_nop
11159 ac_wine_try_cflags_saved=$CFLAGS
11160 ac_wine_try_cflags_saved_exeext=$ac_exeext
11161 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wpacked-not-aligned"
11162 ac_exeext=".exe"
11163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11164 /* end confdefs.h. */
11165 void *__os_arm64x_dispatch_ret = 0;
11166 int __cdecl mainCRTStartup(void) { return 0; }
11167 _ACEOF
11168 if ac_fn_c_try_link "$LINENO"
11169 then :
11170 eval "$as_ac_var=yes"
11171 else $as_nop
11172 eval "$as_ac_var=no"
11174 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11175 conftest$ac_exeext conftest.$ac_ext
11176 CFLAGS=$ac_wine_try_cflags_saved
11177 ac_exeext=$ac_wine_try_cflags_saved_exeext
11179 eval ac_res=\$$as_ac_var
11180 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11181 printf "%s\n" "$ac_res" >&6; }
11182 if eval test \"x\$"$as_ac_var"\" = x"yes"
11183 then :
11184 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-packed-not-aligned"
11185 fi }
11186 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpragma-pack" | $as_tr_sh`
11187 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpragma-pack" >&5
11188 printf %s "checking whether $CC supports -Wpragma-pack... " >&6; }
11189 if eval test \${$as_ac_var+y}
11190 then :
11191 printf %s "(cached) " >&6
11192 else $as_nop
11193 ac_wine_try_cflags_saved=$CFLAGS
11194 ac_wine_try_cflags_saved_exeext=$ac_exeext
11195 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wpragma-pack"
11196 ac_exeext=".exe"
11197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11198 /* end confdefs.h. */
11199 void *__os_arm64x_dispatch_ret = 0;
11200 int __cdecl mainCRTStartup(void) { return 0; }
11201 _ACEOF
11202 if ac_fn_c_try_link "$LINENO"
11203 then :
11204 eval "$as_ac_var=yes"
11205 else $as_nop
11206 eval "$as_ac_var=no"
11208 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11209 conftest$ac_exeext conftest.$ac_ext
11210 CFLAGS=$ac_wine_try_cflags_saved
11211 ac_exeext=$ac_wine_try_cflags_saved_exeext
11213 eval ac_res=\$$as_ac_var
11214 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11215 printf "%s\n" "$ac_res" >&6; }
11216 if eval test \"x\$"$as_ac_var"\" = x"yes"
11217 then :
11218 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-pragma-pack"
11219 fi }
11220 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wmicrosoft-enum-forward-reference" | $as_tr_sh`
11221 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wmicrosoft-enum-forward-reference" >&5
11222 printf %s "checking whether $CC supports -Wmicrosoft-enum-forward-reference... " >&6; }
11223 if eval test \${$as_ac_var+y}
11224 then :
11225 printf %s "(cached) " >&6
11226 else $as_nop
11227 ac_wine_try_cflags_saved=$CFLAGS
11228 ac_wine_try_cflags_saved_exeext=$ac_exeext
11229 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wmicrosoft-enum-forward-reference"
11230 ac_exeext=".exe"
11231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11232 /* end confdefs.h. */
11233 void *__os_arm64x_dispatch_ret = 0;
11234 int __cdecl mainCRTStartup(void) { return 0; }
11235 _ACEOF
11236 if ac_fn_c_try_link "$LINENO"
11237 then :
11238 eval "$as_ac_var=yes"
11239 else $as_nop
11240 eval "$as_ac_var=no"
11242 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11243 conftest$ac_exeext conftest.$ac_ext
11244 CFLAGS=$ac_wine_try_cflags_saved
11245 ac_exeext=$ac_wine_try_cflags_saved_exeext
11247 eval ac_res=\$$as_ac_var
11248 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11249 printf "%s\n" "$ac_res" >&6; }
11250 if eval test \"x\$"$as_ac_var"\" = x"yes"
11251 then :
11252 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-microsoft-enum-forward-reference"
11253 fi }
11254 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wshift-overflow=2" | $as_tr_sh`
11255 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wshift-overflow=2" >&5
11256 printf %s "checking whether $CC supports -Wshift-overflow=2... " >&6; }
11257 if eval test \${$as_ac_var+y}
11258 then :
11259 printf %s "(cached) " >&6
11260 else $as_nop
11261 ac_wine_try_cflags_saved=$CFLAGS
11262 ac_wine_try_cflags_saved_exeext=$ac_exeext
11263 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wshift-overflow=2"
11264 ac_exeext=".exe"
11265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11266 /* end confdefs.h. */
11267 void *__os_arm64x_dispatch_ret = 0;
11268 int __cdecl mainCRTStartup(void) { return 0; }
11269 _ACEOF
11270 if ac_fn_c_try_link "$LINENO"
11271 then :
11272 eval "$as_ac_var=yes"
11273 else $as_nop
11274 eval "$as_ac_var=no"
11276 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11277 conftest$ac_exeext conftest.$ac_ext
11278 CFLAGS=$ac_wine_try_cflags_saved
11279 ac_exeext=$ac_wine_try_cflags_saved_exeext
11281 eval ac_res=\$$as_ac_var
11282 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11283 printf "%s\n" "$ac_res" >&6; }
11284 if eval test \"x\$"$as_ac_var"\" = x"yes"
11285 then :
11286 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wshift-overflow=2"
11287 fi }
11288 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wstrict-prototypes" | $as_tr_sh`
11289 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wstrict-prototypes" >&5
11290 printf %s "checking whether $CC supports -Wstrict-prototypes... " >&6; }
11291 if eval test \${$as_ac_var+y}
11292 then :
11293 printf %s "(cached) " >&6
11294 else $as_nop
11295 ac_wine_try_cflags_saved=$CFLAGS
11296 ac_wine_try_cflags_saved_exeext=$ac_exeext
11297 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wstrict-prototypes"
11298 ac_exeext=".exe"
11299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11300 /* end confdefs.h. */
11301 void *__os_arm64x_dispatch_ret = 0;
11302 int __cdecl mainCRTStartup(void) { return 0; }
11303 _ACEOF
11304 if ac_fn_c_try_link "$LINENO"
11305 then :
11306 eval "$as_ac_var=yes"
11307 else $as_nop
11308 eval "$as_ac_var=no"
11310 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11311 conftest$ac_exeext conftest.$ac_ext
11312 CFLAGS=$ac_wine_try_cflags_saved
11313 ac_exeext=$ac_wine_try_cflags_saved_exeext
11315 eval ac_res=\$$as_ac_var
11316 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11317 printf "%s\n" "$ac_res" >&6; }
11318 if eval test \"x\$"$as_ac_var"\" = x"yes"
11319 then :
11320 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wstrict-prototypes"
11321 fi }
11322 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wtype-limits" | $as_tr_sh`
11323 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wtype-limits" >&5
11324 printf %s "checking whether $CC supports -Wtype-limits... " >&6; }
11325 if eval test \${$as_ac_var+y}
11326 then :
11327 printf %s "(cached) " >&6
11328 else $as_nop
11329 ac_wine_try_cflags_saved=$CFLAGS
11330 ac_wine_try_cflags_saved_exeext=$ac_exeext
11331 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wtype-limits"
11332 ac_exeext=".exe"
11333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11334 /* end confdefs.h. */
11335 void *__os_arm64x_dispatch_ret = 0;
11336 int __cdecl mainCRTStartup(void) { return 0; }
11337 _ACEOF
11338 if ac_fn_c_try_link "$LINENO"
11339 then :
11340 eval "$as_ac_var=yes"
11341 else $as_nop
11342 eval "$as_ac_var=no"
11344 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11345 conftest$ac_exeext conftest.$ac_ext
11346 CFLAGS=$ac_wine_try_cflags_saved
11347 ac_exeext=$ac_wine_try_cflags_saved_exeext
11349 eval ac_res=\$$as_ac_var
11350 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11351 printf "%s\n" "$ac_res" >&6; }
11352 if eval test \"x\$"$as_ac_var"\" = x"yes"
11353 then :
11354 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wtype-limits"
11355 fi }
11356 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wunused-but-set-parameter" | $as_tr_sh`
11357 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wunused-but-set-parameter" >&5
11358 printf %s "checking whether $CC supports -Wunused-but-set-parameter... " >&6; }
11359 if eval test \${$as_ac_var+y}
11360 then :
11361 printf %s "(cached) " >&6
11362 else $as_nop
11363 ac_wine_try_cflags_saved=$CFLAGS
11364 ac_wine_try_cflags_saved_exeext=$ac_exeext
11365 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wunused-but-set-parameter"
11366 ac_exeext=".exe"
11367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11368 /* end confdefs.h. */
11369 void *__os_arm64x_dispatch_ret = 0;
11370 int __cdecl mainCRTStartup(void) { return 0; }
11371 _ACEOF
11372 if ac_fn_c_try_link "$LINENO"
11373 then :
11374 eval "$as_ac_var=yes"
11375 else $as_nop
11376 eval "$as_ac_var=no"
11378 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11379 conftest$ac_exeext conftest.$ac_ext
11380 CFLAGS=$ac_wine_try_cflags_saved
11381 ac_exeext=$ac_wine_try_cflags_saved_exeext
11383 eval ac_res=\$$as_ac_var
11384 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11385 printf "%s\n" "$ac_res" >&6; }
11386 if eval test \"x\$"$as_ac_var"\" = x"yes"
11387 then :
11388 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wunused-but-set-parameter"
11389 fi }
11390 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wvla" | $as_tr_sh`
11391 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wvla" >&5
11392 printf %s "checking whether $CC supports -Wvla... " >&6; }
11393 if eval test \${$as_ac_var+y}
11394 then :
11395 printf %s "(cached) " >&6
11396 else $as_nop
11397 ac_wine_try_cflags_saved=$CFLAGS
11398 ac_wine_try_cflags_saved_exeext=$ac_exeext
11399 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wvla"
11400 ac_exeext=".exe"
11401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11402 /* end confdefs.h. */
11403 void *__os_arm64x_dispatch_ret = 0;
11404 int __cdecl mainCRTStartup(void) { return 0; }
11405 _ACEOF
11406 if ac_fn_c_try_link "$LINENO"
11407 then :
11408 eval "$as_ac_var=yes"
11409 else $as_nop
11410 eval "$as_ac_var=no"
11412 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11413 conftest$ac_exeext conftest.$ac_ext
11414 CFLAGS=$ac_wine_try_cflags_saved
11415 ac_exeext=$ac_wine_try_cflags_saved_exeext
11417 eval ac_res=\$$as_ac_var
11418 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11419 printf "%s\n" "$ac_res" >&6; }
11420 if eval test \"x\$"$as_ac_var"\" = x"yes"
11421 then :
11422 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wvla"
11423 fi }
11424 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wwrite-strings" | $as_tr_sh`
11425 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wwrite-strings" >&5
11426 printf %s "checking whether $CC supports -Wwrite-strings... " >&6; }
11427 if eval test \${$as_ac_var+y}
11428 then :
11429 printf %s "(cached) " >&6
11430 else $as_nop
11431 ac_wine_try_cflags_saved=$CFLAGS
11432 ac_wine_try_cflags_saved_exeext=$ac_exeext
11433 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wwrite-strings"
11434 ac_exeext=".exe"
11435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11436 /* end confdefs.h. */
11437 void *__os_arm64x_dispatch_ret = 0;
11438 int __cdecl mainCRTStartup(void) { return 0; }
11439 _ACEOF
11440 if ac_fn_c_try_link "$LINENO"
11441 then :
11442 eval "$as_ac_var=yes"
11443 else $as_nop
11444 eval "$as_ac_var=no"
11446 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11447 conftest$ac_exeext conftest.$ac_ext
11448 CFLAGS=$ac_wine_try_cflags_saved
11449 ac_exeext=$ac_wine_try_cflags_saved_exeext
11451 eval ac_res=\$$as_ac_var
11452 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11453 printf "%s\n" "$ac_res" >&6; }
11454 if eval test \"x\$"$as_ac_var"\" = x"yes"
11455 then :
11456 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wwrite-strings"
11457 fi }
11458 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpointer-arith" | $as_tr_sh`
11459 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpointer-arith" >&5
11460 printf %s "checking whether $CC supports -Wpointer-arith... " >&6; }
11461 if eval test \${$as_ac_var+y}
11462 then :
11463 printf %s "(cached) " >&6
11464 else $as_nop
11465 ac_wine_try_cflags_saved=$CFLAGS
11466 ac_wine_try_cflags_saved_exeext=$ac_exeext
11467 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wpointer-arith"
11468 ac_exeext=".exe"
11469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11470 /* end confdefs.h. */
11471 void *__os_arm64x_dispatch_ret = 0;
11472 int __cdecl mainCRTStartup(void) { return 0; }
11473 _ACEOF
11474 if ac_fn_c_try_link "$LINENO"
11475 then :
11476 eval "$as_ac_var=yes"
11477 else $as_nop
11478 eval "$as_ac_var=no"
11480 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11481 conftest$ac_exeext conftest.$ac_ext
11482 CFLAGS=$ac_wine_try_cflags_saved
11483 ac_exeext=$ac_wine_try_cflags_saved_exeext
11485 eval ac_res=\$$as_ac_var
11486 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11487 printf "%s\n" "$ac_res" >&6; }
11488 if eval test \"x\$"$as_ac_var"\" = x"yes"
11489 then :
11490 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wpointer-arith"
11491 fi }
11492 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wlogical-op" | $as_tr_sh`
11493 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wlogical-op" >&5
11494 printf %s "checking whether $CC supports -Wlogical-op... " >&6; }
11495 if eval test \${$as_ac_var+y}
11496 then :
11497 printf %s "(cached) " >&6
11498 else $as_nop
11499 ac_wine_try_cflags_saved=$CFLAGS
11500 ac_wine_try_cflags_saved_exeext=$ac_exeext
11501 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wlogical-op"
11502 ac_exeext=".exe"
11503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11504 /* end confdefs.h. */
11505 void *__os_arm64x_dispatch_ret = 0;
11506 int __cdecl mainCRTStartup(void) { return 0; }
11507 _ACEOF
11508 if ac_fn_c_try_link "$LINENO"
11509 then :
11510 eval "$as_ac_var=yes"
11511 else $as_nop
11512 eval "$as_ac_var=no"
11514 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11515 conftest$ac_exeext conftest.$ac_ext
11516 CFLAGS=$ac_wine_try_cflags_saved
11517 ac_exeext=$ac_wine_try_cflags_saved_exeext
11519 eval ac_res=\$$as_ac_var
11520 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11521 printf "%s\n" "$ac_res" >&6; }
11522 if eval test \"x\$"$as_ac_var"\" = x"yes"
11523 then :
11524 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wlogical-op"
11525 fi }
11526 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wabsolute-value" | $as_tr_sh`
11527 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wabsolute-value" >&5
11528 printf %s "checking whether $CC supports -Wabsolute-value... " >&6; }
11529 if eval test \${$as_ac_var+y}
11530 then :
11531 printf %s "(cached) " >&6
11532 else $as_nop
11533 ac_wine_try_cflags_saved=$CFLAGS
11534 ac_wine_try_cflags_saved_exeext=$ac_exeext
11535 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wabsolute-value"
11536 ac_exeext=".exe"
11537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11538 /* end confdefs.h. */
11539 void *__os_arm64x_dispatch_ret = 0;
11540 int __cdecl mainCRTStartup(void) { return 0; }
11541 _ACEOF
11542 if ac_fn_c_try_link "$LINENO"
11543 then :
11544 eval "$as_ac_var=yes"
11545 else $as_nop
11546 eval "$as_ac_var=no"
11548 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11549 conftest$ac_exeext conftest.$ac_ext
11550 CFLAGS=$ac_wine_try_cflags_saved
11551 ac_exeext=$ac_wine_try_cflags_saved_exeext
11553 eval ac_res=\$$as_ac_var
11554 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11555 printf "%s\n" "$ac_res" >&6; }
11556 if eval test \"x\$"$as_ac_var"\" = x"yes"
11557 then :
11558 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wabsolute-value"
11559 fi }
11560 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wenum-enum-conversion" | $as_tr_sh`
11561 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wenum-enum-conversion" >&5
11562 printf %s "checking whether $CC supports -Wenum-enum-conversion... " >&6; }
11563 if eval test \${$as_ac_var+y}
11564 then :
11565 printf %s "(cached) " >&6
11566 else $as_nop
11567 ac_wine_try_cflags_saved=$CFLAGS
11568 ac_wine_try_cflags_saved_exeext=$ac_exeext
11569 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wenum-enum-conversion"
11570 ac_exeext=".exe"
11571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11572 /* end confdefs.h. */
11573 void *__os_arm64x_dispatch_ret = 0;
11574 int __cdecl mainCRTStartup(void) { return 0; }
11575 _ACEOF
11576 if ac_fn_c_try_link "$LINENO"
11577 then :
11578 eval "$as_ac_var=yes"
11579 else $as_nop
11580 eval "$as_ac_var=no"
11582 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11583 conftest$ac_exeext conftest.$ac_ext
11584 CFLAGS=$ac_wine_try_cflags_saved
11585 ac_exeext=$ac_wine_try_cflags_saved_exeext
11587 eval ac_res=\$$as_ac_var
11588 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11589 printf "%s\n" "$ac_res" >&6; }
11590 if eval test \"x\$"$as_ac_var"\" = x"yes"
11591 then :
11593 else $as_nop
11594 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wenum-conversion" | $as_tr_sh`
11595 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wenum-conversion" >&5
11596 printf %s "checking whether $CC supports -Wenum-conversion... " >&6; }
11597 if eval test \${$as_ac_var+y}
11598 then :
11599 printf %s "(cached) " >&6
11600 else $as_nop
11601 ac_wine_try_cflags_saved=$CFLAGS
11602 ac_wine_try_cflags_saved_exeext=$ac_exeext
11603 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wenum-conversion"
11604 ac_exeext=".exe"
11605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11606 /* end confdefs.h. */
11607 void *__os_arm64x_dispatch_ret = 0;
11608 int __cdecl mainCRTStartup(void) { return 0; }
11609 _ACEOF
11610 if ac_fn_c_try_link "$LINENO"
11611 then :
11612 eval "$as_ac_var=yes"
11613 else $as_nop
11614 eval "$as_ac_var=no"
11616 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11617 conftest$ac_exeext conftest.$ac_ext
11618 CFLAGS=$ac_wine_try_cflags_saved
11619 ac_exeext=$ac_wine_try_cflags_saved_exeext
11621 eval ac_res=\$$as_ac_var
11622 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11623 printf "%s\n" "$ac_res" >&6; }
11624 if eval test \"x\$"$as_ac_var"\" = x"yes"
11625 then :
11626 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wenum-conversion"
11627 fi }
11628 fi }
11630 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-flarge-source-files -Wmisleading-indentation" | $as_tr_sh`
11631 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -flarge-source-files -Wmisleading-indentation" >&5
11632 printf %s "checking whether $CC supports -flarge-source-files -Wmisleading-indentation... " >&6; }
11633 if eval test \${$as_ac_var+y}
11634 then :
11635 printf %s "(cached) " >&6
11636 else $as_nop
11637 ac_wine_try_cflags_saved=$CFLAGS
11638 ac_wine_try_cflags_saved_exeext=$ac_exeext
11639 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -flarge-source-files -Wmisleading-indentation"
11640 ac_exeext=".exe"
11641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11642 /* end confdefs.h. */
11643 void *__os_arm64x_dispatch_ret = 0;
11644 int __cdecl mainCRTStartup(void) { return 0; }
11645 _ACEOF
11646 if ac_fn_c_try_link "$LINENO"
11647 then :
11648 eval "$as_ac_var=yes"
11649 else $as_nop
11650 eval "$as_ac_var=no"
11652 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11653 conftest$ac_exeext conftest.$ac_ext
11654 CFLAGS=$ac_wine_try_cflags_saved
11655 ac_exeext=$ac_wine_try_cflags_saved_exeext
11657 eval ac_res=\$$as_ac_var
11658 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11659 printf "%s\n" "$ac_res" >&6; }
11660 if eval test \"x\$"$as_ac_var"\" = x"yes"
11661 then :
11662 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-misleading-indentation"
11663 fi }
11665 case $wine_arch in
11666 i386) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-fno-omit-frame-pointer" | $as_tr_sh`
11667 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -fno-omit-frame-pointer" >&5
11668 printf %s "checking whether $CC supports -fno-omit-frame-pointer... " >&6; }
11669 if eval test \${$as_ac_var+y}
11670 then :
11671 printf %s "(cached) " >&6
11672 else $as_nop
11673 ac_wine_try_cflags_saved=$CFLAGS
11674 ac_wine_try_cflags_saved_exeext=$ac_exeext
11675 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -fno-omit-frame-pointer"
11676 ac_exeext=".exe"
11677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11678 /* end confdefs.h. */
11679 void *__os_arm64x_dispatch_ret = 0;
11680 int __cdecl mainCRTStartup(void) { return 0; }
11681 _ACEOF
11682 if ac_fn_c_try_link "$LINENO"
11683 then :
11684 eval "$as_ac_var=yes"
11685 else $as_nop
11686 eval "$as_ac_var=no"
11688 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11689 conftest$ac_exeext conftest.$ac_ext
11690 CFLAGS=$ac_wine_try_cflags_saved
11691 ac_exeext=$ac_wine_try_cflags_saved_exeext
11693 eval ac_res=\$$as_ac_var
11694 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11695 printf "%s\n" "$ac_res" >&6; }
11696 if eval test \"x\$"$as_ac_var"\" = x"yes"
11697 then :
11698 as_fn_append ${wine_arch}_EXTRACFLAGS " -fno-omit-frame-pointer"
11699 fi }
11700 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-mpreferred-stack-boundary=2" | $as_tr_sh`
11701 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mpreferred-stack-boundary=2" >&5
11702 printf %s "checking whether $CC supports -mpreferred-stack-boundary=2... " >&6; }
11703 if eval test \${$as_ac_var+y}
11704 then :
11705 printf %s "(cached) " >&6
11706 else $as_nop
11707 ac_wine_try_cflags_saved=$CFLAGS
11708 ac_wine_try_cflags_saved_exeext=$ac_exeext
11709 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -mpreferred-stack-boundary=2"
11710 ac_exeext=".exe"
11711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11712 /* end confdefs.h. */
11713 void *__os_arm64x_dispatch_ret = 0;
11714 int __cdecl mainCRTStartup(void) { return 0; }
11715 _ACEOF
11716 if ac_fn_c_try_link "$LINENO"
11717 then :
11718 eval "$as_ac_var=yes"
11719 else $as_nop
11720 eval "$as_ac_var=no"
11722 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11723 conftest$ac_exeext conftest.$ac_ext
11724 CFLAGS=$ac_wine_try_cflags_saved
11725 ac_exeext=$ac_wine_try_cflags_saved_exeext
11727 eval ac_res=\$$as_ac_var
11728 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11729 printf "%s\n" "$ac_res" >&6; }
11730 if eval test \"x\$"$as_ac_var"\" = x"yes"
11731 then :
11732 as_fn_append ${wine_arch}_EXTRACFLAGS " -mpreferred-stack-boundary=2"
11733 fi }
11734 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wl,--disable-stdcall-fixup" | $as_tr_sh`
11735 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wl,--disable-stdcall-fixup" >&5
11736 printf %s "checking whether $CC supports -Wl,--disable-stdcall-fixup... " >&6; }
11737 if eval test \${$as_ac_var+y}
11738 then :
11739 printf %s "(cached) " >&6
11740 else $as_nop
11741 ac_wine_try_cflags_saved=$CFLAGS
11742 ac_wine_try_cflags_saved_exeext=$ac_exeext
11743 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wl,--disable-stdcall-fixup"
11744 ac_exeext=".exe"
11745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11746 /* end confdefs.h. */
11747 void *__os_arm64x_dispatch_ret = 0;
11748 int __cdecl mainCRTStartup(void) { return 0; }
11749 _ACEOF
11750 if ac_fn_c_try_link "$LINENO"
11751 then :
11752 eval "$as_ac_var=yes"
11753 else $as_nop
11754 eval "$as_ac_var=no"
11756 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11757 conftest$ac_exeext conftest.$ac_ext
11758 CFLAGS=$ac_wine_try_cflags_saved
11759 ac_exeext=$ac_wine_try_cflags_saved_exeext
11761 eval ac_res=\$$as_ac_var
11762 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11763 printf "%s\n" "$ac_res" >&6; }
11764 if eval test \"x\$"$as_ac_var"\" = x"yes"
11765 then :
11766 as_fn_append ${wine_arch}_LDFLAGS " -Wl,--disable-stdcall-fixup"
11767 fi } ;;
11768 x86_64) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wformat-overflow" | $as_tr_sh`
11769 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wformat-overflow" >&5
11770 printf %s "checking whether $CC supports -Wformat-overflow... " >&6; }
11771 if eval test \${$as_ac_var+y}
11772 then :
11773 printf %s "(cached) " >&6
11774 else $as_nop
11775 ac_wine_try_cflags_saved=$CFLAGS
11776 ac_wine_try_cflags_saved_exeext=$ac_exeext
11777 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wformat-overflow"
11778 ac_exeext=".exe"
11779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11780 /* end confdefs.h. */
11781 void *__os_arm64x_dispatch_ret = 0;
11782 int __cdecl mainCRTStartup(void) { return 0; }
11783 _ACEOF
11784 if ac_fn_c_try_link "$LINENO"
11785 then :
11786 eval "$as_ac_var=yes"
11787 else $as_nop
11788 eval "$as_ac_var=no"
11790 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11791 conftest$ac_exeext conftest.$ac_ext
11792 CFLAGS=$ac_wine_try_cflags_saved
11793 ac_exeext=$ac_wine_try_cflags_saved_exeext
11795 eval ac_res=\$$as_ac_var
11796 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11797 printf "%s\n" "$ac_res" >&6; }
11798 if eval test \"x\$"$as_ac_var"\" = x"yes"
11799 then :
11800 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wformat-overflow"
11801 fi }
11802 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wnonnull" | $as_tr_sh`
11803 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wnonnull" >&5
11804 printf %s "checking whether $CC supports -Wnonnull... " >&6; }
11805 if eval test \${$as_ac_var+y}
11806 then :
11807 printf %s "(cached) " >&6
11808 else $as_nop
11809 ac_wine_try_cflags_saved=$CFLAGS
11810 ac_wine_try_cflags_saved_exeext=$ac_exeext
11811 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wnonnull"
11812 ac_exeext=".exe"
11813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11814 /* end confdefs.h. */
11815 void *__os_arm64x_dispatch_ret = 0;
11816 int __cdecl mainCRTStartup(void) { return 0; }
11817 _ACEOF
11818 if ac_fn_c_try_link "$LINENO"
11819 then :
11820 eval "$as_ac_var=yes"
11821 else $as_nop
11822 eval "$as_ac_var=no"
11824 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11825 conftest$ac_exeext conftest.$ac_ext
11826 CFLAGS=$ac_wine_try_cflags_saved
11827 ac_exeext=$ac_wine_try_cflags_saved_exeext
11829 eval ac_res=\$$as_ac_var
11830 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11831 printf "%s\n" "$ac_res" >&6; }
11832 if eval test \"x\$"$as_ac_var"\" = x"yes"
11833 then :
11834 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wnonnull"
11835 fi }
11836 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-mcx16" | $as_tr_sh`
11837 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mcx16" >&5
11838 printf %s "checking whether $CC supports -mcx16... " >&6; }
11839 if eval test \${$as_ac_var+y}
11840 then :
11841 printf %s "(cached) " >&6
11842 else $as_nop
11843 ac_wine_try_cflags_saved=$CFLAGS
11844 ac_wine_try_cflags_saved_exeext=$ac_exeext
11845 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -mcx16"
11846 ac_exeext=".exe"
11847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11848 /* end confdefs.h. */
11849 void *__os_arm64x_dispatch_ret = 0;
11850 int __cdecl mainCRTStartup(void) { return 0; }
11851 _ACEOF
11852 if ac_fn_c_try_link "$LINENO"
11853 then :
11854 eval "$as_ac_var=yes"
11855 else $as_nop
11856 eval "$as_ac_var=no"
11858 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11859 conftest$ac_exeext conftest.$ac_ext
11860 CFLAGS=$ac_wine_try_cflags_saved
11861 ac_exeext=$ac_wine_try_cflags_saved_exeext
11863 eval ac_res=\$$as_ac_var
11864 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11865 printf "%s\n" "$ac_res" >&6; }
11866 if eval test \"x\$"$as_ac_var"\" = x"yes"
11867 then :
11868 as_fn_append ${wine_arch}_EXTRACFLAGS " -mcx16"
11869 fi }
11870 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-mcmodel=small" | $as_tr_sh`
11871 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mcmodel=small" >&5
11872 printf %s "checking whether $CC supports -mcmodel=small... " >&6; }
11873 if eval test \${$as_ac_var+y}
11874 then :
11875 printf %s "(cached) " >&6
11876 else $as_nop
11877 ac_wine_try_cflags_saved=$CFLAGS
11878 ac_wine_try_cflags_saved_exeext=$ac_exeext
11879 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -mcmodel=small"
11880 ac_exeext=".exe"
11881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11882 /* end confdefs.h. */
11883 void *__os_arm64x_dispatch_ret = 0;
11884 int __cdecl mainCRTStartup(void) { return 0; }
11885 _ACEOF
11886 if ac_fn_c_try_link "$LINENO"
11887 then :
11888 eval "$as_ac_var=yes"
11889 else $as_nop
11890 eval "$as_ac_var=no"
11892 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11893 conftest$ac_exeext conftest.$ac_ext
11894 CFLAGS=$ac_wine_try_cflags_saved
11895 ac_exeext=$ac_wine_try_cflags_saved_exeext
11897 eval ac_res=\$$as_ac_var
11898 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11899 printf "%s\n" "$ac_res" >&6; }
11900 if eval test \"x\$"$as_ac_var"\" = x"yes"
11901 then :
11902 as_fn_append ${wine_arch}_EXTRACFLAGS " -mcmodel=small"
11903 fi } ;;
11904 esac
11906 wine_crossdebug=$CROSSDEBUG
11907 if test -z "$wine_crossdebug"
11908 then
11909 for ac_flag in $CFLAGS; do
11910 case $ac_flag in
11911 -gdwarf*) wine_crossdebug=dwarf ;;
11912 -gcodeview) wine_crossdebug=pdb ;;
11913 -g) wine_crossdebug=${wine_crossdebug:-dwarf} ;;
11914 esac
11915 done
11918 ac_debug_format_seen=""
11919 for ac_flag in $CFLAGS; do
11920 case $ac_flag in
11921 -gdwarf*|-gcodeview) ac_debug_format_seen=$ac_flag ;;
11922 esac
11923 done
11924 if test "x$ac_debug_format_seen" = x
11925 then
11926 case $wine_crossdebug in
11927 *dwarf) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-gdwarf-4" | $as_tr_sh`
11928 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -gdwarf-4" >&5
11929 printf %s "checking whether $CC supports -gdwarf-4... " >&6; }
11930 if eval test \${$as_ac_var+y}
11931 then :
11932 printf %s "(cached) " >&6
11933 else $as_nop
11934 ac_wine_try_cflags_saved=$CFLAGS
11935 ac_wine_try_cflags_saved_exeext=$ac_exeext
11936 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -gdwarf-4"
11937 ac_exeext=".exe"
11938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11939 /* end confdefs.h. */
11940 void *__os_arm64x_dispatch_ret = 0;
11941 int __cdecl mainCRTStartup(void) { return 0; }
11942 _ACEOF
11943 if ac_fn_c_try_link "$LINENO"
11944 then :
11945 eval "$as_ac_var=yes"
11946 else $as_nop
11947 eval "$as_ac_var=no"
11949 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11950 conftest$ac_exeext conftest.$ac_ext
11951 CFLAGS=$ac_wine_try_cflags_saved
11952 ac_exeext=$ac_wine_try_cflags_saved_exeext
11954 eval ac_res=\$$as_ac_var
11955 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11956 printf "%s\n" "$ac_res" >&6; }
11957 if eval test \"x\$"$as_ac_var"\" = x"yes"
11958 then :
11959 as_fn_append ${wine_arch}_EXTRACFLAGS " -gdwarf-4"
11960 fi } ;;
11961 pdb) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-gcodeview" | $as_tr_sh`
11962 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -gcodeview" >&5
11963 printf %s "checking whether $CC supports -gcodeview... " >&6; }
11964 if eval test \${$as_ac_var+y}
11965 then :
11966 printf %s "(cached) " >&6
11967 else $as_nop
11968 ac_wine_try_cflags_saved=$CFLAGS
11969 ac_wine_try_cflags_saved_exeext=$ac_exeext
11970 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -gcodeview"
11971 ac_exeext=".exe"
11972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11973 /* end confdefs.h. */
11974 void *__os_arm64x_dispatch_ret = 0;
11975 int __cdecl mainCRTStartup(void) { return 0; }
11976 _ACEOF
11977 if ac_fn_c_try_link "$LINENO"
11978 then :
11979 eval "$as_ac_var=yes"
11980 else $as_nop
11981 eval "$as_ac_var=no"
11983 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11984 conftest$ac_exeext conftest.$ac_ext
11985 CFLAGS=$ac_wine_try_cflags_saved
11986 ac_exeext=$ac_wine_try_cflags_saved_exeext
11988 eval ac_res=\$$as_ac_var
11989 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11990 printf "%s\n" "$ac_res" >&6; }
11991 if eval test \"x\$"$as_ac_var"\" = x"yes"
11992 then :
11993 as_fn_append ${wine_arch}_EXTRACFLAGS " -gcodeview"
11994 fi } ;;
11995 esac
11997 eval "${wine_arch}_DEBUG=\$wine_crossdebug"
11999 test "x$enable_werror" != xyes || { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror" | $as_tr_sh`
12000 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror" >&5
12001 printf %s "checking whether $CC supports -Werror... " >&6; }
12002 if eval test \${$as_ac_var+y}
12003 then :
12004 printf %s "(cached) " >&6
12005 else $as_nop
12006 ac_wine_try_cflags_saved=$CFLAGS
12007 ac_wine_try_cflags_saved_exeext=$ac_exeext
12008 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Werror"
12009 ac_exeext=".exe"
12010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12011 /* end confdefs.h. */
12012 void *__os_arm64x_dispatch_ret = 0;
12013 int __cdecl mainCRTStartup(void) { return 0; }
12014 _ACEOF
12015 if ac_fn_c_try_link "$LINENO"
12016 then :
12017 eval "$as_ac_var=yes"
12018 else $as_nop
12019 eval "$as_ac_var=no"
12021 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12022 conftest$ac_exeext conftest.$ac_ext
12023 CFLAGS=$ac_wine_try_cflags_saved
12024 ac_exeext=$ac_wine_try_cflags_saved_exeext
12026 eval ac_res=\$$as_ac_var
12027 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
12028 printf "%s\n" "$ac_res" >&6; }
12029 if eval test \"x\$"$as_ac_var"\" = x"yes"
12030 then :
12031 as_fn_append ${wine_arch}_EXTRACFLAGS " -Werror"
12032 fi }
12033 test "x$enable_build_id" != xyes || { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wl,--build-id" | $as_tr_sh`
12034 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wl,--build-id" >&5
12035 printf %s "checking whether $CC supports -Wl,--build-id... " >&6; }
12036 if eval test \${$as_ac_var+y}
12037 then :
12038 printf %s "(cached) " >&6
12039 else $as_nop
12040 ac_wine_try_cflags_saved=$CFLAGS
12041 ac_wine_try_cflags_saved_exeext=$ac_exeext
12042 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wl,--build-id"
12043 ac_exeext=".exe"
12044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12045 /* end confdefs.h. */
12046 void *__os_arm64x_dispatch_ret = 0;
12047 int __cdecl mainCRTStartup(void) { return 0; }
12048 _ACEOF
12049 if ac_fn_c_try_link "$LINENO"
12050 then :
12051 eval "$as_ac_var=yes"
12052 else $as_nop
12053 eval "$as_ac_var=no"
12055 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12056 conftest$ac_exeext conftest.$ac_ext
12057 CFLAGS=$ac_wine_try_cflags_saved
12058 ac_exeext=$ac_wine_try_cflags_saved_exeext
12060 eval ac_res=\$$as_ac_var
12061 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
12062 printf "%s\n" "$ac_res" >&6; }
12063 if eval test \"x\$"$as_ac_var"\" = x"yes"
12064 then :
12065 as_fn_append ${wine_arch}_CFLAGS " -Wl,--build-id"
12066 as_fn_append ${wine_arch}_LDFLAGS " -Wl,--build-id"
12067 fi }
12069 done
12071 CC=$saved_CC
12072 CFLAGS=$saved_CFLAGS
12073 LDFLAGS=$saved_LDFLAGS
12075 case $HOST_ARCH in
12076 arm|aarch64)
12077 test "x$PE_ARCHS" != x || as_fn_error $? "PE cross-compilation is required for $HOST_ARCH, please install clang/llvm-dlltool/lld, or llvm-mingw." "$LINENO" 5
12078 DLLEXT="" ;;
12080 if test "x$PE_ARCHS" = "x"
12081 then :
12082 case "x$with_mingw" in
12083 x) as_fn_append wine_notices "|Suitable PE cross-compiler not found, PE files won't be built." ;;
12084 xno) ;;
12085 *) as_fn_error $? "Suitable PE cross-compiler not found, PE files won't be built.
12086 This is an error since --with-mingw was requested." "$LINENO" 5 ;;
12087 esac
12089 fi ;;
12090 esac
12093 if test "x$with_system_dllpath" != "x" -a -n "$PE_ARCHS"
12094 then
12095 if test "x$HOST_ARCH" = xi386
12096 then :
12097 ac_prefix_list="i686-w64-mingw32-pkg-config i586-w64-mingw32-pkg-config i486-w64-mingw32-pkg-config i386-w64-mingw32-pkg-config "
12098 else $as_nop
12099 ac_prefix_list="$host_cpu-w64-mingw32-pkg-config"
12101 for ac_prog in $ac_prefix_list
12103 # Extract the first word of "$ac_prog", so it can be a program name with args.
12104 set dummy $ac_prog; ac_word=$2
12105 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12106 printf %s "checking for $ac_word... " >&6; }
12107 if test ${ac_cv_prog_MINGW_PKG_CONFIG+y}
12108 then :
12109 printf %s "(cached) " >&6
12110 else $as_nop
12111 if test -n "$MINGW_PKG_CONFIG"; then
12112 ac_cv_prog_MINGW_PKG_CONFIG="$MINGW_PKG_CONFIG" # Let the user override the test.
12113 else
12114 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12115 for as_dir in $PATH
12117 IFS=$as_save_IFS
12118 case $as_dir in #(((
12119 '') as_dir=./ ;;
12120 */) ;;
12121 *) as_dir=$as_dir/ ;;
12122 esac
12123 for ac_exec_ext in '' $ac_executable_extensions; do
12124 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
12125 ac_cv_prog_MINGW_PKG_CONFIG="$ac_prog"
12126 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
12127 break 2
12129 done
12130 done
12131 IFS=$as_save_IFS
12135 MINGW_PKG_CONFIG=$ac_cv_prog_MINGW_PKG_CONFIG
12136 if test -n "$MINGW_PKG_CONFIG"; then
12137 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MINGW_PKG_CONFIG" >&5
12138 printf "%s\n" "$MINGW_PKG_CONFIG" >&6; }
12139 else
12140 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
12141 printf "%s\n" "no" >&6; }
12145 test -n "$MINGW_PKG_CONFIG" && break
12146 done
12147 test -n "$MINGW_PKG_CONFIG" || MINGW_PKG_CONFIG="false"
12149 if ${FAUDIO_PE_CFLAGS:+false} :
12150 then :
12151 if test ${MINGW_PKG_CONFIG+y}
12152 then :
12153 FAUDIO_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags FAudio 2>/dev/null`
12156 if ${FAUDIO_PE_LIBS:+false} :
12157 then :
12158 if test ${MINGW_PKG_CONFIG+y}
12159 then :
12160 FAUDIO_PE_LIBS=`$MINGW_PKG_CONFIG --libs FAudio 2>/dev/null`
12163 FAUDIO_PE_LIBS=${FAUDIO_PE_LIBS:-"-lFAudio"}
12164 ac_save_CPPFLAGS=$CPPFLAGS
12165 CPPFLAGS="$CPPFLAGS $FAUDIO_PE_CFLAGS"
12166 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW FAudio.h" >&5
12167 printf %s "checking for MinGW FAudio.h... " >&6; }
12168 if test ${ac_cv_mingw_header_FAudio_h+y}
12169 then :
12170 printf %s "(cached) " >&6
12171 else $as_nop
12172 ac_wine_check_headers_saved_cc=$CC
12173 ac_wine_check_headers_saved_exeext=$ac_exeext
12174 eval CC=\$${wine_arch}_CC
12175 ac_exeext=".exe"
12176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12177 /* end confdefs.h. */
12179 #include <FAudio.h>
12181 main (void)
12185 return 0;
12187 _ACEOF
12188 if ac_fn_c_try_compile "$LINENO"
12189 then :
12190 ac_cv_mingw_header_FAudio_h=yes
12191 else $as_nop
12192 ac_cv_mingw_header_FAudio_h=no
12194 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12195 CC=$ac_wine_check_headers_saved_cc
12196 ac_exeext=$ac_wine_check_headers_saved_exeext
12198 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_FAudio_h" >&5
12199 printf "%s\n" "$ac_cv_mingw_header_FAudio_h" >&6; }
12200 if test "x$ac_cv_mingw_header_FAudio_h" = xyes
12201 then :
12202 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for FAudio_CommitOperationSet in MinGW -lFAudio" >&5
12203 printf %s "checking for FAudio_CommitOperationSet in MinGW -lFAudio... " >&6; }
12204 if test ${ac_cv_mingw_lib_FAudio+y}
12205 then :
12206 printf %s "(cached) " >&6
12207 else $as_nop
12208 ac_wine_check_headers_saved_cc=$CC
12209 ac_wine_check_headers_saved_exeext=$ac_exeext
12210 ac_wine_check_headers_saved_libs=$LIBS
12211 eval CC=\$${wine_arch}_CC
12212 ac_exeext=".exe"
12213 LIBS="-lFAudio $FAUDIO_PE_LIBS $LIBS"
12214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12215 /* end confdefs.h. */
12217 /* Override any GCC internal prototype to avoid an error.
12218 Use char because int might match the return type of a GCC
12219 builtin and then its argument prototype would still apply. */
12220 char FAudio_CommitOperationSet ();
12222 main (void)
12224 return FAudio_CommitOperationSet ();
12226 return 0;
12228 _ACEOF
12229 if ac_fn_c_try_link "$LINENO"
12230 then :
12231 ac_cv_mingw_lib_FAudio=yes
12232 else $as_nop
12233 ac_cv_mingw_lib_FAudio=no
12235 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12236 conftest$ac_exeext conftest.$ac_ext
12237 CC=$ac_wine_check_headers_saved_cc
12238 ac_exeext=$ac_wine_check_headers_saved_exeext
12239 LIBS=$ac_wine_check_headers_saved_libs
12241 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_FAudio" >&5
12242 printf "%s\n" "$ac_cv_mingw_lib_FAudio" >&6; }
12243 if test "x$ac_cv_mingw_lib_FAudio" = xyes
12244 then :
12246 else $as_nop
12247 FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
12249 else $as_nop
12250 FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
12252 CPPFLAGS=$ac_save_CPPFLAGS
12254 if test "x$FAUDIO_PE_LIBS" = "x"
12255 then
12256 as_fn_append wine_notices "|FAudio ${notice_platform}MinGW development files not found (or too old); using bundled version."
12259 if ${FLUIDSYNTH_PE_CFLAGS:+false} :
12260 then :
12261 if test ${MINGW_PKG_CONFIG+y}
12262 then :
12263 FLUIDSYNTH_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags fluidsynth 2>/dev/null`
12266 if ${FLUIDSYNTH_PE_LIBS:+false} :
12267 then :
12268 if test ${MINGW_PKG_CONFIG+y}
12269 then :
12270 FLUIDSYNTH_PE_LIBS=`$MINGW_PKG_CONFIG --libs fluidsynth 2>/dev/null`
12273 FLUIDSYNTH_PE_LIBS=${FLUIDSYNTH_PE_LIBS:-"-lfluidsynth"}
12274 ac_save_CPPFLAGS=$CPPFLAGS
12275 CPPFLAGS="$CPPFLAGS $FLUIDSYNTH_PE_CFLAGS"
12276 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW fluidsynth.h" >&5
12277 printf %s "checking for MinGW fluidsynth.h... " >&6; }
12278 if test ${ac_cv_mingw_header_fluidsynth_h+y}
12279 then :
12280 printf %s "(cached) " >&6
12281 else $as_nop
12282 ac_wine_check_headers_saved_cc=$CC
12283 ac_wine_check_headers_saved_exeext=$ac_exeext
12284 eval CC=\$${wine_arch}_CC
12285 ac_exeext=".exe"
12286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12287 /* end confdefs.h. */
12289 #include <fluidsynth.h>
12291 main (void)
12295 return 0;
12297 _ACEOF
12298 if ac_fn_c_try_compile "$LINENO"
12299 then :
12300 ac_cv_mingw_header_fluidsynth_h=yes
12301 else $as_nop
12302 ac_cv_mingw_header_fluidsynth_h=no
12304 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12305 CC=$ac_wine_check_headers_saved_cc
12306 ac_exeext=$ac_wine_check_headers_saved_exeext
12308 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_fluidsynth_h" >&5
12309 printf "%s\n" "$ac_cv_mingw_header_fluidsynth_h" >&6; }
12310 if test "x$ac_cv_mingw_header_fluidsynth_h" = xyes
12311 then :
12312 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for new_fluid_synth in MinGW -lfluidsynth" >&5
12313 printf %s "checking for new_fluid_synth in MinGW -lfluidsynth... " >&6; }
12314 if test ${ac_cv_mingw_lib_fluidsynth+y}
12315 then :
12316 printf %s "(cached) " >&6
12317 else $as_nop
12318 ac_wine_check_headers_saved_cc=$CC
12319 ac_wine_check_headers_saved_exeext=$ac_exeext
12320 ac_wine_check_headers_saved_libs=$LIBS
12321 eval CC=\$${wine_arch}_CC
12322 ac_exeext=".exe"
12323 LIBS="-lfluidsynth $FLUIDSYNTH_PE_LIBS $LIBS"
12324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12325 /* end confdefs.h. */
12327 /* Override any GCC internal prototype to avoid an error.
12328 Use char because int might match the return type of a GCC
12329 builtin and then its argument prototype would still apply. */
12330 char new_fluid_synth ();
12332 main (void)
12334 return new_fluid_synth ();
12336 return 0;
12338 _ACEOF
12339 if ac_fn_c_try_link "$LINENO"
12340 then :
12341 ac_cv_mingw_lib_fluidsynth=yes
12342 else $as_nop
12343 ac_cv_mingw_lib_fluidsynth=no
12345 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12346 conftest$ac_exeext conftest.$ac_ext
12347 CC=$ac_wine_check_headers_saved_cc
12348 ac_exeext=$ac_wine_check_headers_saved_exeext
12349 LIBS=$ac_wine_check_headers_saved_libs
12351 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_fluidsynth" >&5
12352 printf "%s\n" "$ac_cv_mingw_lib_fluidsynth" >&6; }
12353 if test "x$ac_cv_mingw_lib_fluidsynth" = xyes
12354 then :
12356 else $as_nop
12357 FLUIDSYNTH_PE_CFLAGS=""; FLUIDSYNTH_PE_LIBS=""
12359 else $as_nop
12360 FLUIDSYNTH_PE_CFLAGS=""; FLUIDSYNTH_PE_LIBS=""
12362 CPPFLAGS=$ac_save_CPPFLAGS
12364 if test "x$FLUIDSYNTH_PE_LIBS" = "x"
12365 then
12366 as_fn_append wine_notices "|Fluidsynth ${notice_platform}MinGW development files not found (or too old); using bundled version."
12369 if ${JPEG_PE_CFLAGS:+false} :
12370 then :
12371 if test ${MINGW_PKG_CONFIG+y}
12372 then :
12373 JPEG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libjpeg 2>/dev/null`
12376 if ${JPEG_PE_LIBS:+false} :
12377 then :
12378 if test ${MINGW_PKG_CONFIG+y}
12379 then :
12380 JPEG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libjpeg 2>/dev/null`
12384 ac_save_CPPFLAGS=$CPPFLAGS
12385 CPPFLAGS="$CPPFLAGS $JPEG_PE_CFLAGS"
12386 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW jpeglib.h" >&5
12387 printf %s "checking for MinGW jpeglib.h... " >&6; }
12388 if test ${ac_cv_mingw_header_jpeglib_h+y}
12389 then :
12390 printf %s "(cached) " >&6
12391 else $as_nop
12392 ac_wine_check_headers_saved_cc=$CC
12393 ac_wine_check_headers_saved_exeext=$ac_exeext
12394 eval CC=\$${wine_arch}_CC
12395 ac_exeext=".exe"
12396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12397 /* end confdefs.h. */
12398 #include <stddef.h>
12399 #include <stdio.h>
12400 #include <jpeglib.h>
12402 main (void)
12406 return 0;
12408 _ACEOF
12409 if ac_fn_c_try_compile "$LINENO"
12410 then :
12411 ac_cv_mingw_header_jpeglib_h=yes
12412 else $as_nop
12413 ac_cv_mingw_header_jpeglib_h=no
12415 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12416 CC=$ac_wine_check_headers_saved_cc
12417 ac_exeext=$ac_wine_check_headers_saved_exeext
12419 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_jpeglib_h" >&5
12420 printf "%s\n" "$ac_cv_mingw_header_jpeglib_h" >&6; }
12421 if test "x$ac_cv_mingw_header_jpeglib_h" = xyes
12422 then :
12423 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for jpeg_start_decompress in MinGW -ljpeg" >&5
12424 printf %s "checking for jpeg_start_decompress in MinGW -ljpeg... " >&6; }
12425 if test ${ac_cv_mingw_lib_jpeg+y}
12426 then :
12427 printf %s "(cached) " >&6
12428 else $as_nop
12429 ac_wine_check_headers_saved_cc=$CC
12430 ac_wine_check_headers_saved_exeext=$ac_exeext
12431 ac_wine_check_headers_saved_libs=$LIBS
12432 eval CC=\$${wine_arch}_CC
12433 ac_exeext=".exe"
12434 LIBS="-ljpeg $JPEG_PE_LIBS $LIBS"
12435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12436 /* end confdefs.h. */
12438 /* Override any GCC internal prototype to avoid an error.
12439 Use char because int might match the return type of a GCC
12440 builtin and then its argument prototype would still apply. */
12441 char jpeg_start_decompress ();
12443 main (void)
12445 return jpeg_start_decompress ();
12447 return 0;
12449 _ACEOF
12450 if ac_fn_c_try_link "$LINENO"
12451 then :
12452 ac_cv_mingw_lib_jpeg=yes
12453 else $as_nop
12454 ac_cv_mingw_lib_jpeg=no
12456 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12457 conftest$ac_exeext conftest.$ac_ext
12458 CC=$ac_wine_check_headers_saved_cc
12459 ac_exeext=$ac_wine_check_headers_saved_exeext
12460 LIBS=$ac_wine_check_headers_saved_libs
12462 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_jpeg" >&5
12463 printf "%s\n" "$ac_cv_mingw_lib_jpeg" >&6; }
12464 if test "x$ac_cv_mingw_lib_jpeg" = xyes
12465 then :
12467 else $as_nop
12468 JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
12470 else $as_nop
12471 JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
12473 CPPFLAGS=$ac_save_CPPFLAGS
12475 if test "x$JPEG_PE_LIBS" = "x"
12476 then
12477 as_fn_append wine_notices "|libjpeg ${notice_platform}MinGW development files not found; using bundled version."
12480 if ${LCMS2_PE_CFLAGS:+false} :
12481 then :
12482 if test ${MINGW_PKG_CONFIG+y}
12483 then :
12484 LCMS2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags lcms2 2>/dev/null`
12487 if ${LCMS2_PE_LIBS:+false} :
12488 then :
12489 if test ${MINGW_PKG_CONFIG+y}
12490 then :
12491 LCMS2_PE_LIBS=`$MINGW_PKG_CONFIG --libs lcms2 2>/dev/null`
12494 LCMS2_PE_LIBS=${LCMS2_PE_LIBS:-"-llcms2"}
12495 ac_save_CPPFLAGS=$CPPFLAGS
12496 CPPFLAGS="$CPPFLAGS $LCMS2_PE_CFLAGS"
12497 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW lcms2.h" >&5
12498 printf %s "checking for MinGW lcms2.h... " >&6; }
12499 if test ${ac_cv_mingw_header_lcms2_h+y}
12500 then :
12501 printf %s "(cached) " >&6
12502 else $as_nop
12503 ac_wine_check_headers_saved_cc=$CC
12504 ac_wine_check_headers_saved_exeext=$ac_exeext
12505 eval CC=\$${wine_arch}_CC
12506 ac_exeext=".exe"
12507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12508 /* end confdefs.h. */
12510 #include <lcms2.h>
12512 main (void)
12516 return 0;
12518 _ACEOF
12519 if ac_fn_c_try_compile "$LINENO"
12520 then :
12521 ac_cv_mingw_header_lcms2_h=yes
12522 else $as_nop
12523 ac_cv_mingw_header_lcms2_h=no
12525 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12526 CC=$ac_wine_check_headers_saved_cc
12527 ac_exeext=$ac_wine_check_headers_saved_exeext
12529 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_lcms2_h" >&5
12530 printf "%s\n" "$ac_cv_mingw_header_lcms2_h" >&6; }
12531 if test "x$ac_cv_mingw_header_lcms2_h" = xyes
12532 then :
12533 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in MinGW -llcms2" >&5
12534 printf %s "checking for cmsOpenProfileFromFile in MinGW -llcms2... " >&6; }
12535 if test ${ac_cv_mingw_lib_lcms2+y}
12536 then :
12537 printf %s "(cached) " >&6
12538 else $as_nop
12539 ac_wine_check_headers_saved_cc=$CC
12540 ac_wine_check_headers_saved_exeext=$ac_exeext
12541 ac_wine_check_headers_saved_libs=$LIBS
12542 eval CC=\$${wine_arch}_CC
12543 ac_exeext=".exe"
12544 LIBS="-llcms2 $LCMS2_PE_LIBS $LIBS"
12545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12546 /* end confdefs.h. */
12548 /* Override any GCC internal prototype to avoid an error.
12549 Use char because int might match the return type of a GCC
12550 builtin and then its argument prototype would still apply. */
12551 char cmsOpenProfileFromFile ();
12553 main (void)
12555 return cmsOpenProfileFromFile ();
12557 return 0;
12559 _ACEOF
12560 if ac_fn_c_try_link "$LINENO"
12561 then :
12562 ac_cv_mingw_lib_lcms2=yes
12563 else $as_nop
12564 ac_cv_mingw_lib_lcms2=no
12566 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12567 conftest$ac_exeext conftest.$ac_ext
12568 CC=$ac_wine_check_headers_saved_cc
12569 ac_exeext=$ac_wine_check_headers_saved_exeext
12570 LIBS=$ac_wine_check_headers_saved_libs
12572 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_lcms2" >&5
12573 printf "%s\n" "$ac_cv_mingw_lib_lcms2" >&6; }
12574 if test "x$ac_cv_mingw_lib_lcms2" = xyes
12575 then :
12577 else $as_nop
12578 LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
12580 else $as_nop
12581 LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
12583 CPPFLAGS=$ac_save_CPPFLAGS
12585 if test "x$LCMS2_PE_LIBS" = "x"
12586 then
12587 as_fn_append wine_notices "|liblcms2 ${notice_platform}MinGW development files not found; using bundled version."
12590 if ${MPG123_PE_CFLAGS:+false} :
12591 then :
12592 if test ${MINGW_PKG_CONFIG+y}
12593 then :
12594 MPG123_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libmpg123 2>/dev/null`
12597 if ${MPG123_PE_LIBS:+false} :
12598 then :
12599 if test ${MINGW_PKG_CONFIG+y}
12600 then :
12601 MPG123_PE_LIBS=`$MINGW_PKG_CONFIG --libs libmpg123 2>/dev/null`
12604 MPG123_PE_LIBS=${MPG123_PE_LIBS:-"-lmpg123"}
12605 ac_save_CPPFLAGS=$CPPFLAGS
12606 CPPFLAGS="$CPPFLAGS $MPG123_PE_CFLAGS"
12607 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW mpg123.h" >&5
12608 printf %s "checking for MinGW mpg123.h... " >&6; }
12609 if test ${ac_cv_mingw_header_mpg123_h+y}
12610 then :
12611 printf %s "(cached) " >&6
12612 else $as_nop
12613 ac_wine_check_headers_saved_cc=$CC
12614 ac_wine_check_headers_saved_exeext=$ac_exeext
12615 eval CC=\$${wine_arch}_CC
12616 ac_exeext=".exe"
12617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12618 /* end confdefs.h. */
12620 #include <mpg123.h>
12622 main (void)
12626 return 0;
12628 _ACEOF
12629 if ac_fn_c_try_compile "$LINENO"
12630 then :
12631 ac_cv_mingw_header_mpg123_h=yes
12632 else $as_nop
12633 ac_cv_mingw_header_mpg123_h=no
12635 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12636 CC=$ac_wine_check_headers_saved_cc
12637 ac_exeext=$ac_wine_check_headers_saved_exeext
12639 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_mpg123_h" >&5
12640 printf "%s\n" "$ac_cv_mingw_header_mpg123_h" >&6; }
12641 if test "x$ac_cv_mingw_header_mpg123_h" = xyes
12642 then :
12643 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in MinGW -lmpg123" >&5
12644 printf %s "checking for mpg123_feed in MinGW -lmpg123... " >&6; }
12645 if test ${ac_cv_mingw_lib_mpg123+y}
12646 then :
12647 printf %s "(cached) " >&6
12648 else $as_nop
12649 ac_wine_check_headers_saved_cc=$CC
12650 ac_wine_check_headers_saved_exeext=$ac_exeext
12651 ac_wine_check_headers_saved_libs=$LIBS
12652 eval CC=\$${wine_arch}_CC
12653 ac_exeext=".exe"
12654 LIBS="-lmpg123 $MPG123_PE_LIBS $LIBS"
12655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12656 /* end confdefs.h. */
12658 /* Override any GCC internal prototype to avoid an error.
12659 Use char because int might match the return type of a GCC
12660 builtin and then its argument prototype would still apply. */
12661 char mpg123_feed ();
12663 main (void)
12665 return mpg123_feed ();
12667 return 0;
12669 _ACEOF
12670 if ac_fn_c_try_link "$LINENO"
12671 then :
12672 ac_cv_mingw_lib_mpg123=yes
12673 else $as_nop
12674 ac_cv_mingw_lib_mpg123=no
12676 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12677 conftest$ac_exeext conftest.$ac_ext
12678 CC=$ac_wine_check_headers_saved_cc
12679 ac_exeext=$ac_wine_check_headers_saved_exeext
12680 LIBS=$ac_wine_check_headers_saved_libs
12682 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_mpg123" >&5
12683 printf "%s\n" "$ac_cv_mingw_lib_mpg123" >&6; }
12684 if test "x$ac_cv_mingw_lib_mpg123" = xyes
12685 then :
12687 else $as_nop
12688 MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
12690 else $as_nop
12691 MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
12693 CPPFLAGS=$ac_save_CPPFLAGS
12695 if test "x$MPG123_PE_LIBS" = "x"
12696 then
12697 as_fn_append wine_notices "|libmpg123 ${notice_platform}MinGW development files not found (or too old); using bundled version."
12700 if ${PNG_PE_CFLAGS:+false} :
12701 then :
12702 if test ${MINGW_PKG_CONFIG+y}
12703 then :
12704 PNG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libpng 2>/dev/null`
12707 if ${PNG_PE_LIBS:+false} :
12708 then :
12709 if test ${MINGW_PKG_CONFIG+y}
12710 then :
12711 PNG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libpng 2>/dev/null`
12715 ac_save_CPPFLAGS=$CPPFLAGS
12716 CPPFLAGS="$CPPFLAGS $PNG_PE_CFLAGS"
12717 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW png.h" >&5
12718 printf %s "checking for MinGW png.h... " >&6; }
12719 if test ${ac_cv_mingw_header_png_h+y}
12720 then :
12721 printf %s "(cached) " >&6
12722 else $as_nop
12723 ac_wine_check_headers_saved_cc=$CC
12724 ac_wine_check_headers_saved_exeext=$ac_exeext
12725 eval CC=\$${wine_arch}_CC
12726 ac_exeext=".exe"
12727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12728 /* end confdefs.h. */
12730 #include <png.h>
12732 main (void)
12736 return 0;
12738 _ACEOF
12739 if ac_fn_c_try_compile "$LINENO"
12740 then :
12741 ac_cv_mingw_header_png_h=yes
12742 else $as_nop
12743 ac_cv_mingw_header_png_h=no
12745 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12746 CC=$ac_wine_check_headers_saved_cc
12747 ac_exeext=$ac_wine_check_headers_saved_exeext
12749 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_png_h" >&5
12750 printf "%s\n" "$ac_cv_mingw_header_png_h" >&6; }
12751 if test "x$ac_cv_mingw_header_png_h" = xyes
12752 then :
12753 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for png_create_read_struct in MinGW -lpng" >&5
12754 printf %s "checking for png_create_read_struct in MinGW -lpng... " >&6; }
12755 if test ${ac_cv_mingw_lib_png+y}
12756 then :
12757 printf %s "(cached) " >&6
12758 else $as_nop
12759 ac_wine_check_headers_saved_cc=$CC
12760 ac_wine_check_headers_saved_exeext=$ac_exeext
12761 ac_wine_check_headers_saved_libs=$LIBS
12762 eval CC=\$${wine_arch}_CC
12763 ac_exeext=".exe"
12764 LIBS="-lpng $PNG_PE_LIBS $LIBS"
12765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12766 /* end confdefs.h. */
12768 /* Override any GCC internal prototype to avoid an error.
12769 Use char because int might match the return type of a GCC
12770 builtin and then its argument prototype would still apply. */
12771 char png_create_read_struct ();
12773 main (void)
12775 return png_create_read_struct ();
12777 return 0;
12779 _ACEOF
12780 if ac_fn_c_try_link "$LINENO"
12781 then :
12782 ac_cv_mingw_lib_png=yes
12783 else $as_nop
12784 ac_cv_mingw_lib_png=no
12786 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12787 conftest$ac_exeext conftest.$ac_ext
12788 CC=$ac_wine_check_headers_saved_cc
12789 ac_exeext=$ac_wine_check_headers_saved_exeext
12790 LIBS=$ac_wine_check_headers_saved_libs
12792 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_png" >&5
12793 printf "%s\n" "$ac_cv_mingw_lib_png" >&6; }
12794 if test "x$ac_cv_mingw_lib_png" = xyes
12795 then :
12797 else $as_nop
12798 PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
12800 else $as_nop
12801 PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
12803 CPPFLAGS=$ac_save_CPPFLAGS
12805 if test "x$PNG_PE_LIBS" = "x"
12806 then
12807 as_fn_append wine_notices "|libpng ${notice_platform}MinGW development files not found; using bundled version."
12810 if ${TIFF_PE_CFLAGS:+false} :
12811 then :
12812 if test ${MINGW_PKG_CONFIG+y}
12813 then :
12814 TIFF_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libtiff-4 2>/dev/null`
12817 if ${TIFF_PE_LIBS:+false} :
12818 then :
12819 if test ${MINGW_PKG_CONFIG+y}
12820 then :
12821 TIFF_PE_LIBS=`$MINGW_PKG_CONFIG --libs libtiff-4 2>/dev/null`
12825 ac_save_CPPFLAGS=$CPPFLAGS
12826 CPPFLAGS="$CPPFLAGS $TIFF_PE_CFLAGS"
12827 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW tiffio.h" >&5
12828 printf %s "checking for MinGW tiffio.h... " >&6; }
12829 if test ${ac_cv_mingw_header_tiffio_h+y}
12830 then :
12831 printf %s "(cached) " >&6
12832 else $as_nop
12833 ac_wine_check_headers_saved_cc=$CC
12834 ac_wine_check_headers_saved_exeext=$ac_exeext
12835 eval CC=\$${wine_arch}_CC
12836 ac_exeext=".exe"
12837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12838 /* end confdefs.h. */
12840 #include <tiffio.h>
12842 main (void)
12846 return 0;
12848 _ACEOF
12849 if ac_fn_c_try_compile "$LINENO"
12850 then :
12851 ac_cv_mingw_header_tiffio_h=yes
12852 else $as_nop
12853 ac_cv_mingw_header_tiffio_h=no
12855 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12856 CC=$ac_wine_check_headers_saved_cc
12857 ac_exeext=$ac_wine_check_headers_saved_exeext
12859 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_tiffio_h" >&5
12860 printf "%s\n" "$ac_cv_mingw_header_tiffio_h" >&6; }
12861 if test "x$ac_cv_mingw_header_tiffio_h" = xyes
12862 then :
12863 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for TIFFClientOpen in MinGW -ltiff" >&5
12864 printf %s "checking for TIFFClientOpen in MinGW -ltiff... " >&6; }
12865 if test ${ac_cv_mingw_lib_tiff+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 ac_wine_check_headers_saved_libs=$LIBS
12872 eval CC=\$${wine_arch}_CC
12873 ac_exeext=".exe"
12874 LIBS="-ltiff $TIFF_PE_LIBS $LIBS"
12875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12876 /* end confdefs.h. */
12878 /* Override any GCC internal prototype to avoid an error.
12879 Use char because int might match the return type of a GCC
12880 builtin and then its argument prototype would still apply. */
12881 char TIFFClientOpen ();
12883 main (void)
12885 return TIFFClientOpen ();
12887 return 0;
12889 _ACEOF
12890 if ac_fn_c_try_link "$LINENO"
12891 then :
12892 ac_cv_mingw_lib_tiff=yes
12893 else $as_nop
12894 ac_cv_mingw_lib_tiff=no
12896 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12897 conftest$ac_exeext conftest.$ac_ext
12898 CC=$ac_wine_check_headers_saved_cc
12899 ac_exeext=$ac_wine_check_headers_saved_exeext
12900 LIBS=$ac_wine_check_headers_saved_libs
12902 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_tiff" >&5
12903 printf "%s\n" "$ac_cv_mingw_lib_tiff" >&6; }
12904 if test "x$ac_cv_mingw_lib_tiff" = xyes
12905 then :
12907 else $as_nop
12908 TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
12910 else $as_nop
12911 TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
12913 CPPFLAGS=$ac_save_CPPFLAGS
12915 if test "x$TIFF_PE_LIBS" = "x"
12916 then
12917 as_fn_append wine_notices "|libtiff ${notice_platform}MinGW development files not found; using bundled version."
12920 if ${XML2_PE_CFLAGS:+false} :
12921 then :
12922 if test ${MINGW_PKG_CONFIG+y}
12923 then :
12924 XML2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
12927 if ${XML2_PE_LIBS:+false} :
12928 then :
12929 if test ${MINGW_PKG_CONFIG+y}
12930 then :
12931 XML2_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxml-2.0 2>/dev/null`
12934 XML2_PE_LIBS=${XML2_PE_LIBS:-"-lxml2"}
12935 ac_save_CPPFLAGS=$CPPFLAGS
12936 CPPFLAGS="$CPPFLAGS $XML2_PE_CFLAGS"
12937 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/parser.h" >&5
12938 printf %s "checking for MinGW libxml/parser.h... " >&6; }
12939 if test ${ac_cv_mingw_header_libxml_parser_h+y}
12940 then :
12941 printf %s "(cached) " >&6
12942 else $as_nop
12943 ac_wine_check_headers_saved_cc=$CC
12944 ac_wine_check_headers_saved_exeext=$ac_exeext
12945 eval CC=\$${wine_arch}_CC
12946 ac_exeext=".exe"
12947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12948 /* end confdefs.h. */
12950 #include <libxml/parser.h>
12952 main (void)
12956 return 0;
12958 _ACEOF
12959 if ac_fn_c_try_compile "$LINENO"
12960 then :
12961 ac_cv_mingw_header_libxml_parser_h=yes
12962 else $as_nop
12963 ac_cv_mingw_header_libxml_parser_h=no
12965 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12966 CC=$ac_wine_check_headers_saved_cc
12967 ac_exeext=$ac_wine_check_headers_saved_exeext
12969 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_parser_h" >&5
12970 printf "%s\n" "$ac_cv_mingw_header_libxml_parser_h" >&6; }
12971 if test "x$ac_cv_mingw_header_libxml_parser_h" = xyes
12972 then :
12975 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/xmlsave.h" >&5
12976 printf %s "checking for MinGW libxml/xmlsave.h... " >&6; }
12977 if test ${ac_cv_mingw_header_libxml_xmlsave_h+y}
12978 then :
12979 printf %s "(cached) " >&6
12980 else $as_nop
12981 ac_wine_check_headers_saved_cc=$CC
12982 ac_wine_check_headers_saved_exeext=$ac_exeext
12983 eval CC=\$${wine_arch}_CC
12984 ac_exeext=".exe"
12985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12986 /* end confdefs.h. */
12988 #include <libxml/xmlsave.h>
12990 main (void)
12994 return 0;
12996 _ACEOF
12997 if ac_fn_c_try_compile "$LINENO"
12998 then :
12999 ac_cv_mingw_header_libxml_xmlsave_h=yes
13000 else $as_nop
13001 ac_cv_mingw_header_libxml_xmlsave_h=no
13003 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13004 CC=$ac_wine_check_headers_saved_cc
13005 ac_exeext=$ac_wine_check_headers_saved_exeext
13007 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_xmlsave_h" >&5
13008 printf "%s\n" "$ac_cv_mingw_header_libxml_xmlsave_h" >&6; }
13009 if test "x$ac_cv_mingw_header_libxml_xmlsave_h" = xyes
13010 then :
13013 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/SAX2.h" >&5
13014 printf %s "checking for MinGW libxml/SAX2.h... " >&6; }
13015 if test ${ac_cv_mingw_header_libxml_SAX2_h+y}
13016 then :
13017 printf %s "(cached) " >&6
13018 else $as_nop
13019 ac_wine_check_headers_saved_cc=$CC
13020 ac_wine_check_headers_saved_exeext=$ac_exeext
13021 eval CC=\$${wine_arch}_CC
13022 ac_exeext=".exe"
13023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13024 /* end confdefs.h. */
13026 #include <libxml/SAX2.h>
13028 main (void)
13032 return 0;
13034 _ACEOF
13035 if ac_fn_c_try_compile "$LINENO"
13036 then :
13037 ac_cv_mingw_header_libxml_SAX2_h=yes
13038 else $as_nop
13039 ac_cv_mingw_header_libxml_SAX2_h=no
13041 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13042 CC=$ac_wine_check_headers_saved_cc
13043 ac_exeext=$ac_wine_check_headers_saved_exeext
13045 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_SAX2_h" >&5
13046 printf "%s\n" "$ac_cv_mingw_header_libxml_SAX2_h" >&6; }
13047 if test "x$ac_cv_mingw_header_libxml_SAX2_h" = xyes
13048 then :
13051 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"
13052 then
13053 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in MinGW -lxml2" >&5
13054 printf %s "checking for xmlFirstElementChild in MinGW -lxml2... " >&6; }
13055 if test ${ac_cv_mingw_lib_xml2+y}
13056 then :
13057 printf %s "(cached) " >&6
13058 else $as_nop
13059 ac_wine_check_headers_saved_cc=$CC
13060 ac_wine_check_headers_saved_exeext=$ac_exeext
13061 ac_wine_check_headers_saved_libs=$LIBS
13062 eval CC=\$${wine_arch}_CC
13063 ac_exeext=".exe"
13064 LIBS="-lxml2 $XML2_PE_LIBS $LIBS"
13065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13066 /* end confdefs.h. */
13068 /* Override any GCC internal prototype to avoid an error.
13069 Use char because int might match the return type of a GCC
13070 builtin and then its argument prototype would still apply. */
13071 char xmlFirstElementChild ();
13073 main (void)
13075 return xmlFirstElementChild ();
13077 return 0;
13079 _ACEOF
13080 if ac_fn_c_try_link "$LINENO"
13081 then :
13082 ac_cv_mingw_lib_xml2=yes
13083 else $as_nop
13084 ac_cv_mingw_lib_xml2=no
13086 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13087 conftest$ac_exeext conftest.$ac_ext
13088 CC=$ac_wine_check_headers_saved_cc
13089 ac_exeext=$ac_wine_check_headers_saved_exeext
13090 LIBS=$ac_wine_check_headers_saved_libs
13092 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xml2" >&5
13093 printf "%s\n" "$ac_cv_mingw_lib_xml2" >&6; }
13094 if test "x$ac_cv_mingw_lib_xml2" = xyes
13095 then :
13097 else $as_nop
13098 XML2_PE_CFLAGS=""; XML2_PE_LIBS=""
13100 else
13101 XML2_PE_CFLAGS=""
13102 XML2_PE_LIBS=""
13104 CPPFLAGS=$ac_save_CPPFLAGS
13106 if test "x$XML2_PE_LIBS" = "x"
13107 then
13108 as_fn_append wine_notices "|libxml2 ${notice_platform}MinGW development files not found (or too old); using bundled version."
13111 if ${XSLT_PE_CFLAGS:+false} :
13112 then :
13113 if test ${MINGW_PKG_CONFIG+y}
13114 then :
13115 XSLT_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxslt 2>/dev/null`
13118 if ${XSLT_PE_LIBS:+false} :
13119 then :
13120 if test ${MINGW_PKG_CONFIG+y}
13121 then :
13122 XSLT_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxslt 2>/dev/null`
13125 XSLT_PE_LIBS=${XSLT_PE_LIBS:-"-lxslt"}
13126 ac_save_CPPFLAGS=$CPPFLAGS
13127 CPPFLAGS="$CPPFLAGS $XSLT_PE_CFLAGS"
13128 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/pattern.h" >&5
13129 printf %s "checking for MinGW libxslt/pattern.h... " >&6; }
13130 if test ${ac_cv_mingw_header_libxslt_pattern_h+y}
13131 then :
13132 printf %s "(cached) " >&6
13133 else $as_nop
13134 ac_wine_check_headers_saved_cc=$CC
13135 ac_wine_check_headers_saved_exeext=$ac_exeext
13136 eval CC=\$${wine_arch}_CC
13137 ac_exeext=".exe"
13138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13139 /* end confdefs.h. */
13141 #include <libxslt/pattern.h>
13143 main (void)
13147 return 0;
13149 _ACEOF
13150 if ac_fn_c_try_compile "$LINENO"
13151 then :
13152 ac_cv_mingw_header_libxslt_pattern_h=yes
13153 else $as_nop
13154 ac_cv_mingw_header_libxslt_pattern_h=no
13156 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13157 CC=$ac_wine_check_headers_saved_cc
13158 ac_exeext=$ac_wine_check_headers_saved_exeext
13160 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_pattern_h" >&5
13161 printf "%s\n" "$ac_cv_mingw_header_libxslt_pattern_h" >&6; }
13162 if test "x$ac_cv_mingw_header_libxslt_pattern_h" = xyes
13163 then :
13166 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/transform.h" >&5
13167 printf %s "checking for MinGW libxslt/transform.h... " >&6; }
13168 if test ${ac_cv_mingw_header_libxslt_transform_h+y}
13169 then :
13170 printf %s "(cached) " >&6
13171 else $as_nop
13172 ac_wine_check_headers_saved_cc=$CC
13173 ac_wine_check_headers_saved_exeext=$ac_exeext
13174 eval CC=\$${wine_arch}_CC
13175 ac_exeext=".exe"
13176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13177 /* end confdefs.h. */
13179 #include <libxslt/transform.h>
13181 main (void)
13185 return 0;
13187 _ACEOF
13188 if ac_fn_c_try_compile "$LINENO"
13189 then :
13190 ac_cv_mingw_header_libxslt_transform_h=yes
13191 else $as_nop
13192 ac_cv_mingw_header_libxslt_transform_h=no
13194 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13195 CC=$ac_wine_check_headers_saved_cc
13196 ac_exeext=$ac_wine_check_headers_saved_exeext
13198 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_transform_h" >&5
13199 printf "%s\n" "$ac_cv_mingw_header_libxslt_transform_h" >&6; }
13200 if test "x$ac_cv_mingw_header_libxslt_transform_h" = xyes
13201 then :
13204 if test "$ac_cv_mingw_header_libxslt_pattern_h" = "yes" -a "$ac_cv_mingw_header_libxslt_transform_h" = "yes"
13205 then
13206 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xsltCompilePattern in MinGW -lxslt" >&5
13207 printf %s "checking for xsltCompilePattern in MinGW -lxslt... " >&6; }
13208 if test ${ac_cv_mingw_lib_xslt+y}
13209 then :
13210 printf %s "(cached) " >&6
13211 else $as_nop
13212 ac_wine_check_headers_saved_cc=$CC
13213 ac_wine_check_headers_saved_exeext=$ac_exeext
13214 ac_wine_check_headers_saved_libs=$LIBS
13215 eval CC=\$${wine_arch}_CC
13216 ac_exeext=".exe"
13217 LIBS="-lxslt $XSLT_PE_LIBS $LIBS"
13218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13219 /* end confdefs.h. */
13221 /* Override any GCC internal prototype to avoid an error.
13222 Use char because int might match the return type of a GCC
13223 builtin and then its argument prototype would still apply. */
13224 char xsltCompilePattern ();
13226 main (void)
13228 return xsltCompilePattern ();
13230 return 0;
13232 _ACEOF
13233 if ac_fn_c_try_link "$LINENO"
13234 then :
13235 ac_cv_mingw_lib_xslt=yes
13236 else $as_nop
13237 ac_cv_mingw_lib_xslt=no
13239 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13240 conftest$ac_exeext conftest.$ac_ext
13241 CC=$ac_wine_check_headers_saved_cc
13242 ac_exeext=$ac_wine_check_headers_saved_exeext
13243 LIBS=$ac_wine_check_headers_saved_libs
13245 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xslt" >&5
13246 printf "%s\n" "$ac_cv_mingw_lib_xslt" >&6; }
13247 if test "x$ac_cv_mingw_lib_xslt" = xyes
13248 then :
13250 else $as_nop
13251 XSLT_PE_CFLAGS=""; XSLT_PE_LIBS=""
13253 else
13254 XSLT_PE_CFLAGS=""
13255 XSLT_PE_LIBS=""
13257 CPPFLAGS=$ac_save_CPPFLAGS
13259 if test "x$XSLT_PE_LIBS" = "x"
13260 then
13261 as_fn_append wine_notices "|libxslt ${notice_platform}MinGW development files not found; using bundled version."
13264 if ${VKD3D_PE_CFLAGS:+false} :
13265 then :
13266 if test ${MINGW_PKG_CONFIG+y}
13267 then :
13268 VKD3D_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libvkd3d libvkd3d-shader 2>/dev/null`
13271 if ${VKD3D_PE_LIBS:+false} :
13272 then :
13273 if test ${MINGW_PKG_CONFIG+y}
13274 then :
13275 VKD3D_PE_LIBS=`$MINGW_PKG_CONFIG --libs libvkd3d libvkd3d-shader 2>/dev/null`
13278 VKD3D_PE_LIBS=${VKD3D_PE_LIBS:-"-lvkd3d -lvkd3d-shader"}
13279 ac_save_CPPFLAGS=$CPPFLAGS
13280 CPPFLAGS="$CPPFLAGS $VKD3D_PE_CFLAGS"
13281 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW vkd3d.h" >&5
13282 printf %s "checking for MinGW vkd3d.h... " >&6; }
13283 if test ${ac_cv_mingw_header_vkd3d_h+y}
13284 then :
13285 printf %s "(cached) " >&6
13286 else $as_nop
13287 ac_wine_check_headers_saved_cc=$CC
13288 ac_wine_check_headers_saved_exeext=$ac_exeext
13289 eval CC=\$${wine_arch}_CC
13290 ac_exeext=".exe"
13291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13292 /* end confdefs.h. */
13294 #include <vkd3d.h>
13296 main (void)
13300 return 0;
13302 _ACEOF
13303 if ac_fn_c_try_compile "$LINENO"
13304 then :
13305 ac_cv_mingw_header_vkd3d_h=yes
13306 else $as_nop
13307 ac_cv_mingw_header_vkd3d_h=no
13309 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13310 CC=$ac_wine_check_headers_saved_cc
13311 ac_exeext=$ac_wine_check_headers_saved_exeext
13313 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_vkd3d_h" >&5
13314 printf "%s\n" "$ac_cv_mingw_header_vkd3d_h" >&6; }
13315 if test "x$ac_cv_mingw_header_vkd3d_h" = xyes
13316 then :
13319 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW vkd3d_shader.h" >&5
13320 printf %s "checking for MinGW vkd3d_shader.h... " >&6; }
13321 if test ${ac_cv_mingw_header_vkd3d_shader_h+y}
13322 then :
13323 printf %s "(cached) " >&6
13324 else $as_nop
13325 ac_wine_check_headers_saved_cc=$CC
13326 ac_wine_check_headers_saved_exeext=$ac_exeext
13327 eval CC=\$${wine_arch}_CC
13328 ac_exeext=".exe"
13329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13330 /* end confdefs.h. */
13332 #include <vkd3d_shader.h>
13334 main (void)
13338 return 0;
13340 _ACEOF
13341 if ac_fn_c_try_compile "$LINENO"
13342 then :
13343 ac_cv_mingw_header_vkd3d_shader_h=yes
13344 else $as_nop
13345 ac_cv_mingw_header_vkd3d_shader_h=no
13347 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13348 CC=$ac_wine_check_headers_saved_cc
13349 ac_exeext=$ac_wine_check_headers_saved_exeext
13351 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_vkd3d_shader_h" >&5
13352 printf "%s\n" "$ac_cv_mingw_header_vkd3d_shader_h" >&6; }
13353 if test "x$ac_cv_mingw_header_vkd3d_shader_h" = xyes
13354 then :
13357 if test "$ac_cv_mingw_header_vkd3d_h" = "yes" -a "$ac_cv_mingw_header_vkd3d_shader_h" = "yes"
13358 then
13359 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for vkd3d_set_log_callback in MinGW -lvkd3d" >&5
13360 printf %s "checking for vkd3d_set_log_callback in MinGW -lvkd3d... " >&6; }
13361 if test ${ac_cv_mingw_lib_vkd3d+y}
13362 then :
13363 printf %s "(cached) " >&6
13364 else $as_nop
13365 ac_wine_check_headers_saved_cc=$CC
13366 ac_wine_check_headers_saved_exeext=$ac_exeext
13367 ac_wine_check_headers_saved_libs=$LIBS
13368 eval CC=\$${wine_arch}_CC
13369 ac_exeext=".exe"
13370 LIBS="-lvkd3d $VKD3D_PE_LIBS $LIBS"
13371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13372 /* end confdefs.h. */
13374 /* Override any GCC internal prototype to avoid an error.
13375 Use char because int might match the return type of a GCC
13376 builtin and then its argument prototype would still apply. */
13377 char vkd3d_set_log_callback ();
13379 main (void)
13381 return vkd3d_set_log_callback ();
13383 return 0;
13385 _ACEOF
13386 if ac_fn_c_try_link "$LINENO"
13387 then :
13388 ac_cv_mingw_lib_vkd3d=yes
13389 else $as_nop
13390 ac_cv_mingw_lib_vkd3d=no
13392 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13393 conftest$ac_exeext conftest.$ac_ext
13394 CC=$ac_wine_check_headers_saved_cc
13395 ac_exeext=$ac_wine_check_headers_saved_exeext
13396 LIBS=$ac_wine_check_headers_saved_libs
13398 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_vkd3d" >&5
13399 printf "%s\n" "$ac_cv_mingw_lib_vkd3d" >&6; }
13400 if test "x$ac_cv_mingw_lib_vkd3d" = xyes
13401 then :
13403 else $as_nop
13406 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for vkd3d_shader_build_varying_map in MinGW -lvkd3d-shader" >&5
13407 printf %s "checking for vkd3d_shader_build_varying_map in MinGW -lvkd3d-shader... " >&6; }
13408 if test ${ac_cv_mingw_lib_vkd3d_shader+y}
13409 then :
13410 printf %s "(cached) " >&6
13411 else $as_nop
13412 ac_wine_check_headers_saved_cc=$CC
13413 ac_wine_check_headers_saved_exeext=$ac_exeext
13414 ac_wine_check_headers_saved_libs=$LIBS
13415 eval CC=\$${wine_arch}_CC
13416 ac_exeext=".exe"
13417 LIBS="-lvkd3d-shader $VKD3D_PE_LIBS $LIBS"
13418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13419 /* end confdefs.h. */
13421 /* Override any GCC internal prototype to avoid an error.
13422 Use char because int might match the return type of a GCC
13423 builtin and then its argument prototype would still apply. */
13424 char vkd3d_shader_build_varying_map ();
13426 main (void)
13428 return vkd3d_shader_build_varying_map ();
13430 return 0;
13432 _ACEOF
13433 if ac_fn_c_try_link "$LINENO"
13434 then :
13435 ac_cv_mingw_lib_vkd3d_shader=yes
13436 else $as_nop
13437 ac_cv_mingw_lib_vkd3d_shader=no
13439 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13440 conftest$ac_exeext conftest.$ac_ext
13441 CC=$ac_wine_check_headers_saved_cc
13442 ac_exeext=$ac_wine_check_headers_saved_exeext
13443 LIBS=$ac_wine_check_headers_saved_libs
13445 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_vkd3d_shader" >&5
13446 printf "%s\n" "$ac_cv_mingw_lib_vkd3d_shader" >&6; }
13447 if test "x$ac_cv_mingw_lib_vkd3d_shader" = xyes
13448 then :
13450 else $as_nop
13453 if test "$ac_cv_mingw_lib_vkd3d" = "no" -o "$ac_cv_mingw_lib_vkd3d_shader" = "no"
13454 then
13455 VKD3D_PE_CFLAGS=""
13456 VKD3D_PE_LIBS=""
13458 else
13459 VKD3D_PE_CFLAGS=""
13460 VKD3D_PE_LIBS=""
13462 CPPFLAGS=$ac_save_CPPFLAGS
13464 if test "x$VKD3D_PE_LIBS" = "x"
13465 then
13466 as_fn_append wine_notices "|libvkd3d ${notice_platform}MinGW development files not found (or too old); using bundled version."
13469 if ${ZLIB_PE_CFLAGS:+false} :
13470 then :
13471 if test ${MINGW_PKG_CONFIG+y}
13472 then :
13473 ZLIB_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags zlib 2>/dev/null`
13476 if ${ZLIB_PE_LIBS:+false} :
13477 then :
13478 if test ${MINGW_PKG_CONFIG+y}
13479 then :
13480 ZLIB_PE_LIBS=`$MINGW_PKG_CONFIG --libs zlib 2>/dev/null`
13483 ZLIB_PE_LIBS=${ZLIB_PE_LIBS:-"-lz"}
13484 ac_save_CPPFLAGS=$CPPFLAGS
13485 CPPFLAGS="$CPPFLAGS $ZLIB_PE_CFLAGS"
13486 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW zlib.h" >&5
13487 printf %s "checking for MinGW zlib.h... " >&6; }
13488 if test ${ac_cv_mingw_header_zlib_h+y}
13489 then :
13490 printf %s "(cached) " >&6
13491 else $as_nop
13492 ac_wine_check_headers_saved_cc=$CC
13493 ac_wine_check_headers_saved_exeext=$ac_exeext
13494 eval CC=\$${wine_arch}_CC
13495 ac_exeext=".exe"
13496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13497 /* end confdefs.h. */
13499 #include <zlib.h>
13501 main (void)
13505 return 0;
13507 _ACEOF
13508 if ac_fn_c_try_compile "$LINENO"
13509 then :
13510 ac_cv_mingw_header_zlib_h=yes
13511 else $as_nop
13512 ac_cv_mingw_header_zlib_h=no
13514 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13515 CC=$ac_wine_check_headers_saved_cc
13516 ac_exeext=$ac_wine_check_headers_saved_exeext
13518 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_zlib_h" >&5
13519 printf "%s\n" "$ac_cv_mingw_header_zlib_h" >&6; }
13520 if test "x$ac_cv_mingw_header_zlib_h" = xyes
13521 then :
13522 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inflate in MinGW -lz" >&5
13523 printf %s "checking for inflate in MinGW -lz... " >&6; }
13524 if test ${ac_cv_mingw_lib_z+y}
13525 then :
13526 printf %s "(cached) " >&6
13527 else $as_nop
13528 ac_wine_check_headers_saved_cc=$CC
13529 ac_wine_check_headers_saved_exeext=$ac_exeext
13530 ac_wine_check_headers_saved_libs=$LIBS
13531 eval CC=\$${wine_arch}_CC
13532 ac_exeext=".exe"
13533 LIBS="-lz $ZLIB_PE_LIBS $LIBS"
13534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13535 /* end confdefs.h. */
13537 /* Override any GCC internal prototype to avoid an error.
13538 Use char because int might match the return type of a GCC
13539 builtin and then its argument prototype would still apply. */
13540 char inflate ();
13542 main (void)
13544 return inflate ();
13546 return 0;
13548 _ACEOF
13549 if ac_fn_c_try_link "$LINENO"
13550 then :
13551 ac_cv_mingw_lib_z=yes
13552 else $as_nop
13553 ac_cv_mingw_lib_z=no
13555 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13556 conftest$ac_exeext conftest.$ac_ext
13557 CC=$ac_wine_check_headers_saved_cc
13558 ac_exeext=$ac_wine_check_headers_saved_exeext
13559 LIBS=$ac_wine_check_headers_saved_libs
13561 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_z" >&5
13562 printf "%s\n" "$ac_cv_mingw_lib_z" >&6; }
13563 if test "x$ac_cv_mingw_lib_z" = xyes
13564 then :
13566 else $as_nop
13567 ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
13569 else $as_nop
13570 ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
13572 CPPFLAGS=$ac_save_CPPFLAGS
13574 if test "x$ZLIB_PE_LIBS" = "x"
13575 then
13576 as_fn_append wine_notices "|zlib ${notice_platform}MinGW development files not found; using bundled version."
13580 if ${FAUDIO_PE_LIBS:+false} :
13581 then :
13582 FAUDIO_PE_LIBS="faudio mfplat mfreadwrite mfuuid propsys"
13583 if ${FAUDIO_PE_CFLAGS:+false} :
13584 then :
13585 FAUDIO_PE_CFLAGS="-I\$(top_srcdir)/libs/faudio/include"
13586 else $as_nop
13587 enable_faudio=no
13589 else $as_nop
13590 enable_faudio=no
13592 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio cflags: $FAUDIO_PE_CFLAGS" >&5
13593 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio libs: $FAUDIO_PE_LIBS" >&5
13595 if ${FLUIDSYNTH_PE_LIBS:+false} :
13596 then :
13597 FLUIDSYNTH_PE_LIBS="fluidsynth"
13598 if ${FLUIDSYNTH_PE_CFLAGS:+false} :
13599 then :
13600 FLUIDSYNTH_PE_CFLAGS="-I\$(top_srcdir)/libs/fluidsynth/include"
13601 else $as_nop
13602 enable_fluidsynth=no
13604 else $as_nop
13605 enable_fluidsynth=no
13607 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fluidsynth cflags: $FLUIDSYNTH_PE_CFLAGS" >&5
13608 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fluidsynth libs: $FLUIDSYNTH_PE_LIBS" >&5
13610 if ${GSM_PE_LIBS:+false} :
13611 then :
13612 GSM_PE_LIBS=gsm
13613 if ${GSM_PE_CFLAGS:+false} :
13614 then :
13615 GSM_PE_CFLAGS="-I\$(top_srcdir)/libs/gsm/inc"
13616 else $as_nop
13617 enable_gsm=no
13619 else $as_nop
13620 enable_gsm=no
13622 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm cflags: $GSM_PE_CFLAGS" >&5
13623 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm libs: $GSM_PE_LIBS" >&5
13625 if ${JPEG_PE_LIBS:+false} :
13626 then :
13627 JPEG_PE_LIBS=jpeg
13628 if ${JPEG_PE_CFLAGS:+false} :
13629 then :
13630 JPEG_PE_CFLAGS="-I\$(top_srcdir)/libs/jpeg"
13631 else $as_nop
13632 enable_jpeg=no
13634 else $as_nop
13635 enable_jpeg=no
13637 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg cflags: $JPEG_PE_CFLAGS" >&5
13638 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg libs: $JPEG_PE_LIBS" >&5
13640 if ${JXR_PE_LIBS:+false} :
13641 then :
13642 JXR_PE_LIBS=jxr
13643 if ${JXR_PE_CFLAGS:+false} :
13644 then :
13645 JXR_PE_CFLAGS="-I\$(top_srcdir)/libs/jxr/jxrgluelib -I\$(top_srcdir)/libs/jxr/image/sys"
13646 else $as_nop
13647 enable_jxr=no
13649 else $as_nop
13650 enable_jxr=no
13652 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr cflags: $JXR_PE_CFLAGS" >&5
13653 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr libs: $JXR_PE_LIBS" >&5
13655 if ${LCMS2_PE_LIBS:+false} :
13656 then :
13657 LCMS2_PE_LIBS=lcms2
13658 if ${LCMS2_PE_CFLAGS:+false} :
13659 then :
13660 LCMS2_PE_CFLAGS="-I\$(top_srcdir)/libs/lcms2/include"
13661 else $as_nop
13662 enable_lcms2=no
13664 else $as_nop
13665 enable_lcms2=no
13667 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_PE_CFLAGS" >&5
13668 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_PE_LIBS" >&5
13670 if ${LDAP_PE_LIBS:+false} :
13671 then :
13672 LDAP_PE_LIBS=ldap
13673 if ${LDAP_PE_CFLAGS:+false} :
13674 then :
13675 LDAP_PE_CFLAGS="-I\$(top_srcdir)/libs/ldap/include"
13676 else $as_nop
13677 enable_ldap=no
13679 else $as_nop
13680 enable_ldap=no
13682 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ldap cflags: $LDAP_PE_CFLAGS" >&5
13683 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ldap libs: $LDAP_PE_LIBS" >&5
13685 if ${MPG123_PE_LIBS:+false} :
13686 then :
13687 MPG123_PE_LIBS=mpg123
13688 if ${MPG123_PE_CFLAGS:+false} :
13689 then :
13690 MPG123_PE_CFLAGS="-I\$(top_srcdir)/libs/mpg123/src/include"
13691 else $as_nop
13692 enable_mpg123=no
13694 else $as_nop
13695 enable_mpg123=no
13697 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 cflags: $MPG123_PE_CFLAGS" >&5
13698 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 libs: $MPG123_PE_LIBS" >&5
13700 if ${MUSL_PE_LIBS:+false} :
13701 then :
13702 MUSL_PE_LIBS=musl
13703 if ${MUSL_PE_CFLAGS:+false} :
13704 then :
13705 MUSL_PE_CFLAGS=
13706 else $as_nop
13707 enable_musl=no
13709 else $as_nop
13710 enable_musl=no
13712 printf "%s\n" "$as_me:${as_lineno-$LINENO}: musl cflags: $MUSL_PE_CFLAGS" >&5
13713 printf "%s\n" "$as_me:${as_lineno-$LINENO}: musl libs: $MUSL_PE_LIBS" >&5
13715 if ${PNG_PE_LIBS:+false} :
13716 then :
13717 PNG_PE_LIBS="png \$(ZLIB_PE_LIBS)"
13718 if ${PNG_PE_CFLAGS:+false} :
13719 then :
13720 PNG_PE_CFLAGS="-I\$(top_srcdir)/libs/png"
13721 else $as_nop
13722 enable_png=no
13724 else $as_nop
13725 enable_png=no
13727 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png cflags: $PNG_PE_CFLAGS" >&5
13728 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png libs: $PNG_PE_LIBS" >&5
13730 if ${TIFF_PE_LIBS:+false} :
13731 then :
13732 TIFF_PE_LIBS="tiff \$(ZLIB_PE_LIBS)"
13733 if ${TIFF_PE_CFLAGS:+false} :
13734 then :
13735 TIFF_PE_CFLAGS="-I\$(top_srcdir)/libs/tiff/libtiff"
13736 else $as_nop
13737 enable_tiff=no
13739 else $as_nop
13740 enable_tiff=no
13742 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff cflags: $TIFF_PE_CFLAGS" >&5
13743 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff libs: $TIFF_PE_LIBS" >&5
13745 if ${VKD3D_PE_LIBS:+false} :
13746 then :
13747 VKD3D_PE_LIBS=vkd3d
13748 if ${VKD3D_PE_CFLAGS:+false} :
13749 then :
13750 VKD3D_PE_CFLAGS="-I\$(top_srcdir)/libs/vkd3d/include"
13751 else $as_nop
13752 enable_vkd3d=no
13754 else $as_nop
13755 enable_vkd3d=no
13757 printf "%s\n" "$as_me:${as_lineno-$LINENO}: vkd3d cflags: $VKD3D_PE_CFLAGS" >&5
13758 printf "%s\n" "$as_me:${as_lineno-$LINENO}: vkd3d libs: $VKD3D_PE_LIBS" >&5
13760 if ${XML2_PE_LIBS:+false} :
13761 then :
13762 XML2_PE_LIBS=xml2
13763 if ${XML2_PE_CFLAGS:+false} :
13764 then :
13765 XML2_PE_CFLAGS="-I\$(top_srcdir)/libs/xml2/include -DLIBXML_STATIC"
13766 else $as_nop
13767 enable_xml2=no
13769 else $as_nop
13770 enable_xml2=no
13772 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 cflags: $XML2_PE_CFLAGS" >&5
13773 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 libs: $XML2_PE_LIBS" >&5
13775 if ${XSLT_PE_LIBS:+false} :
13776 then :
13777 XSLT_PE_LIBS=xslt
13778 if ${XSLT_PE_CFLAGS:+false} :
13779 then :
13780 XSLT_PE_CFLAGS="-I\$(top_srcdir)/libs/xslt/libxslt -I\$(top_srcdir)/libs/xslt -DLIBXSLT_STATIC"
13781 else $as_nop
13782 enable_xslt=no
13784 else $as_nop
13785 enable_xslt=no
13787 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt cflags: $XSLT_PE_CFLAGS" >&5
13788 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt libs: $XSLT_PE_LIBS" >&5
13790 if ${ZLIB_PE_LIBS:+false} :
13791 then :
13792 ZLIB_PE_LIBS=z
13793 if ${ZLIB_PE_CFLAGS:+false} :
13794 then :
13795 ZLIB_PE_CFLAGS="-I\$(top_srcdir)/libs/zlib -DFAR= -DZ_SOLO"
13796 else $as_nop
13797 enable_zlib=no
13799 else $as_nop
13800 enable_zlib=no
13802 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib cflags: $ZLIB_PE_CFLAGS" >&5
13803 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib libs: $ZLIB_PE_LIBS" >&5
13805 if ${ZYDIS_PE_LIBS:+false} :
13806 then :
13807 ZYDIS_PE_LIBS=zydis
13808 if ${ZYDIS_PE_CFLAGS:+false} :
13809 then :
13810 ZYDIS_PE_CFLAGS="-I\$(top_srcdir)/libs/zydis/include"
13811 else $as_nop
13812 enable_zydis=no
13814 else $as_nop
13815 enable_zydis=no
13817 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zydis cflags: $ZYDIS_PE_CFLAGS" >&5
13818 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zydis libs: $ZYDIS_PE_LIBS" >&5
13822 if test "x$with_pthread" = xno
13823 then :
13825 else $as_nop
13826 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
13827 if test "x$ac_cv_func_pthread_create" = xyes
13828 then :
13830 else $as_nop
13831 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
13832 printf %s "checking for pthread_create in -lpthread... " >&6; }
13833 if test ${ac_cv_lib_pthread_pthread_create+y}
13834 then :
13835 printf %s "(cached) " >&6
13836 else $as_nop
13837 ac_check_lib_save_LIBS=$LIBS
13838 LIBS="-lpthread $LIBS"
13839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13840 /* end confdefs.h. */
13842 /* Override any GCC internal prototype to avoid an error.
13843 Use char because int might match the return type of a GCC
13844 builtin and then its argument prototype would still apply. */
13845 char pthread_create ();
13847 main (void)
13849 return pthread_create ();
13851 return 0;
13853 _ACEOF
13854 if ac_fn_c_try_link "$LINENO"
13855 then :
13856 ac_cv_lib_pthread_pthread_create=yes
13857 else $as_nop
13858 ac_cv_lib_pthread_pthread_create=no
13860 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13861 conftest$ac_exeext conftest.$ac_ext
13862 LIBS=$ac_check_lib_save_LIBS
13864 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
13865 printf "%s\n" "$ac_cv_lib_pthread_pthread_create" >&6; }
13866 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
13867 then :
13868 PTHREAD_LIBS="-lpthread"
13875 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x
13876 then :
13877 case "x$with_pthread" in
13878 xno) ;;
13879 *) as_fn_error $? "pthread ${notice_platform}development files not found.
13880 Wine cannot support threads without libpthread.
13881 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
13882 esac
13887 ac_ext=c
13888 ac_cpp='$CPP $CPPFLAGS'
13889 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13890 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13891 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13892 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
13893 printf %s "checking how to run the C preprocessor... " >&6; }
13894 # On Suns, sometimes $CPP names a directory.
13895 if test -n "$CPP" && test -d "$CPP"; then
13896 CPP=
13898 if test -z "$CPP"; then
13899 if test ${ac_cv_prog_CPP+y}
13900 then :
13901 printf %s "(cached) " >&6
13902 else $as_nop
13903 # Double quotes because $CC needs to be expanded
13904 for CPP in "$CC -E" "$CC -E -traditional-cpp" cpp /lib/cpp
13906 ac_preproc_ok=false
13907 for ac_c_preproc_warn_flag in '' yes
13909 # Use a header file that comes with gcc, so configuring glibc
13910 # with a fresh cross-compiler works.
13911 # On the NeXT, cc -E runs the code through the compiler's parser,
13912 # not just through cpp. "Syntax error" is here to catch this case.
13913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13914 /* end confdefs.h. */
13915 #include <limits.h>
13916 Syntax error
13917 _ACEOF
13918 if ac_fn_c_try_cpp "$LINENO"
13919 then :
13921 else $as_nop
13922 # Broken: fails on valid input.
13923 continue
13925 rm -f conftest.err conftest.i conftest.$ac_ext
13927 # OK, works on sane cases. Now check whether nonexistent headers
13928 # can be detected and how.
13929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13930 /* end confdefs.h. */
13931 #include <ac_nonexistent.h>
13932 _ACEOF
13933 if ac_fn_c_try_cpp "$LINENO"
13934 then :
13935 # Broken: success on invalid input.
13936 continue
13937 else $as_nop
13938 # Passes both tests.
13939 ac_preproc_ok=:
13940 break
13942 rm -f conftest.err conftest.i conftest.$ac_ext
13944 done
13945 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13946 rm -f conftest.i conftest.err conftest.$ac_ext
13947 if $ac_preproc_ok
13948 then :
13949 break
13952 done
13953 ac_cv_prog_CPP=$CPP
13956 CPP=$ac_cv_prog_CPP
13957 else
13958 ac_cv_prog_CPP=$CPP
13960 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
13961 printf "%s\n" "$CPP" >&6; }
13962 ac_preproc_ok=false
13963 for ac_c_preproc_warn_flag in '' yes
13965 # Use a header file that comes with gcc, so configuring glibc
13966 # with a fresh cross-compiler works.
13967 # On the NeXT, cc -E runs the code through the compiler's parser,
13968 # not just through cpp. "Syntax error" is here to catch this case.
13969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13970 /* end confdefs.h. */
13971 #include <limits.h>
13972 Syntax error
13973 _ACEOF
13974 if ac_fn_c_try_cpp "$LINENO"
13975 then :
13977 else $as_nop
13978 # Broken: fails on valid input.
13979 continue
13981 rm -f conftest.err conftest.i conftest.$ac_ext
13983 # OK, works on sane cases. Now check whether nonexistent headers
13984 # can be detected and how.
13985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13986 /* end confdefs.h. */
13987 #include <ac_nonexistent.h>
13988 _ACEOF
13989 if ac_fn_c_try_cpp "$LINENO"
13990 then :
13991 # Broken: success on invalid input.
13992 continue
13993 else $as_nop
13994 # Passes both tests.
13995 ac_preproc_ok=:
13996 break
13998 rm -f conftest.err conftest.i conftest.$ac_ext
14000 done
14001 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
14002 rm -f conftest.i conftest.err conftest.$ac_ext
14003 if $ac_preproc_ok
14004 then :
14006 else $as_nop
14007 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14008 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
14009 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
14010 See \`config.log' for more details" "$LINENO" 5; }
14013 ac_ext=c
14014 ac_cpp='$CPP $CPPFLAGS'
14015 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14016 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14017 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14020 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for X" >&5
14021 printf %s "checking for X... " >&6; }
14024 # Check whether --with-x was given.
14025 if test ${with_x+y}
14026 then :
14027 withval=$with_x;
14030 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
14031 if test "x$with_x" = xno; then
14032 # The user explicitly disabled X.
14033 have_x=disabled
14034 else
14035 case $x_includes,$x_libraries in #(
14036 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
14037 *,NONE | NONE,*) if test ${ac_cv_have_x+y}
14038 then :
14039 printf %s "(cached) " >&6
14040 else $as_nop
14041 # One or both of the vars are not set, and there is no cached value.
14042 ac_x_includes=no
14043 ac_x_libraries=no
14044 # Do we need to do anything special at all?
14045 ac_save_LIBS=$LIBS
14046 LIBS="-lX11 $LIBS"
14047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14048 /* end confdefs.h. */
14049 #include <X11/Xlib.h>
14051 main (void)
14053 XrmInitialize ()
14055 return 0;
14057 _ACEOF
14058 if ac_fn_c_try_link "$LINENO"
14059 then :
14060 # We can compile and link X programs with no special options.
14061 ac_x_includes=
14062 ac_x_libraries=
14064 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14065 conftest$ac_exeext conftest.$ac_ext
14066 LIBS="$ac_save_LIBS"
14067 # If that didn't work, only try xmkmf and file system searches
14068 # for native compilation.
14069 if test x"$ac_x_includes" = xno && test "$cross_compiling" = no
14070 then :
14071 rm -f -r conftest.dir
14072 if mkdir conftest.dir; then
14073 cd conftest.dir
14074 cat >Imakefile <<'_ACEOF'
14075 incroot:
14076 @echo incroot='${INCROOT}'
14077 usrlibdir:
14078 @echo usrlibdir='${USRLIBDIR}'
14079 libdir:
14080 @echo libdir='${LIBDIR}'
14081 _ACEOF
14082 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
14083 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
14084 for ac_var in incroot usrlibdir libdir; do
14085 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
14086 done
14087 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
14088 for ac_extension in a so sl dylib la dll; do
14089 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
14090 test -f "$ac_im_libdir/libX11.$ac_extension"; then
14091 ac_im_usrlibdir=$ac_im_libdir; break
14093 done
14094 # Screen out bogus values from the imake configuration. They are
14095 # bogus both because they are the default anyway, and because
14096 # using them would break gcc on systems where it needs fixed includes.
14097 case $ac_im_incroot in
14098 /usr/include) ac_x_includes= ;;
14099 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
14100 esac
14101 case $ac_im_usrlibdir in
14102 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
14103 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
14104 esac
14106 cd ..
14107 rm -f -r conftest.dir
14110 # Standard set of common directories for X headers.
14111 # Check X11 before X11Rn because it is often a symlink to the current release.
14112 ac_x_header_dirs='
14113 /usr/X11/include
14114 /usr/X11R7/include
14115 /usr/X11R6/include
14116 /usr/X11R5/include
14117 /usr/X11R4/include
14119 /usr/include/X11
14120 /usr/include/X11R7
14121 /usr/include/X11R6
14122 /usr/include/X11R5
14123 /usr/include/X11R4
14125 /usr/local/X11/include
14126 /usr/local/X11R7/include
14127 /usr/local/X11R6/include
14128 /usr/local/X11R5/include
14129 /usr/local/X11R4/include
14131 /usr/local/include/X11
14132 /usr/local/include/X11R7
14133 /usr/local/include/X11R6
14134 /usr/local/include/X11R5
14135 /usr/local/include/X11R4
14137 /opt/X11/include
14139 /usr/X386/include
14140 /usr/x386/include
14141 /usr/XFree86/include/X11
14143 /usr/include
14144 /usr/local/include
14145 /usr/unsupported/include
14146 /usr/athena/include
14147 /usr/local/x11r5/include
14148 /usr/lpp/Xamples/include
14150 /usr/openwin/include
14151 /usr/openwin/share/include'
14153 if test "$ac_x_includes" = no; then
14154 # Guess where to find include files, by looking for Xlib.h.
14155 # First, try using that file with no special directory specified.
14156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14157 /* end confdefs.h. */
14158 #include <X11/Xlib.h>
14159 _ACEOF
14160 if ac_fn_c_try_cpp "$LINENO"
14161 then :
14162 # We can compile using X headers with no special include directory.
14163 ac_x_includes=
14164 else $as_nop
14165 for ac_dir in $ac_x_header_dirs; do
14166 if test -r "$ac_dir/X11/Xlib.h"; then
14167 ac_x_includes=$ac_dir
14168 break
14170 done
14172 rm -f conftest.err conftest.i conftest.$ac_ext
14173 fi # $ac_x_includes = no
14175 if test "$ac_x_libraries" = no; then
14176 # Check for the libraries.
14177 # See if we find them without any special options.
14178 # Don't add to $LIBS permanently.
14179 ac_save_LIBS=$LIBS
14180 LIBS="-lX11 $LIBS"
14181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14182 /* end confdefs.h. */
14183 #include <X11/Xlib.h>
14185 main (void)
14187 XrmInitialize ()
14189 return 0;
14191 _ACEOF
14192 if ac_fn_c_try_link "$LINENO"
14193 then :
14194 LIBS=$ac_save_LIBS
14195 # We can link X programs with no special library path.
14196 ac_x_libraries=
14197 else $as_nop
14198 LIBS=$ac_save_LIBS
14199 for ac_dir in `printf "%s\n" "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
14201 # Don't even attempt the hair of trying to link an X program!
14202 for ac_extension in a so sl dylib la dll; do
14203 if test -r "$ac_dir/libX11.$ac_extension"; then
14204 ac_x_libraries=$ac_dir
14205 break 2
14207 done
14208 done
14210 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14211 conftest$ac_exeext conftest.$ac_ext
14212 fi # $ac_x_libraries = no
14215 # Record the results.
14216 case $ac_x_includes,$ac_x_libraries in #(
14217 no,* | *,no | *\'*) :
14218 # Didn't find X, or a directory has "'" in its name.
14219 ac_cv_have_x="have_x=no" ;; #(
14220 *) :
14221 # Record where we found X for the cache.
14222 ac_cv_have_x="have_x=yes\
14223 ac_x_includes='$ac_x_includes'\
14224 ac_x_libraries='$ac_x_libraries'" ;;
14225 esac
14227 ;; #(
14228 *) have_x=yes;;
14229 esac
14230 eval "$ac_cv_have_x"
14231 fi # $with_x != no
14233 if test "$have_x" != yes; then
14234 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
14235 printf "%s\n" "$have_x" >&6; }
14236 no_x=yes
14237 else
14238 # If each of the values was on the command line, it overrides each guess.
14239 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
14240 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
14241 # Update the cache value to reflect the command line values.
14242 ac_cv_have_x="have_x=yes\
14243 ac_x_includes='$x_includes'\
14244 ac_x_libraries='$x_libraries'"
14245 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
14246 printf "%s\n" "libraries $x_libraries, headers $x_includes" >&6; }
14249 if test "$no_x" = yes; then
14250 # Not all programs may use this symbol, but it does not hurt to define it.
14252 printf "%s\n" "#define X_DISPLAY_MISSING 1" >>confdefs.h
14254 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
14255 else
14256 if test -n "$x_includes"; then
14257 X_CFLAGS="$X_CFLAGS -I$x_includes"
14260 # It would also be nice to do this for all -L options, not just this one.
14261 if test -n "$x_libraries"; then
14262 X_LIBS="$X_LIBS -L$x_libraries"
14263 # For Solaris; some versions of Sun CC require a space after -R and
14264 # others require no space. Words are not sufficient . . . .
14265 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
14266 printf %s "checking whether -R must be followed by a space... " >&6; }
14267 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
14268 ac_xsave_c_werror_flag=$ac_c_werror_flag
14269 ac_c_werror_flag=yes
14270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14271 /* end confdefs.h. */
14274 main (void)
14278 return 0;
14280 _ACEOF
14281 if ac_fn_c_try_link "$LINENO"
14282 then :
14283 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
14284 printf "%s\n" "no" >&6; }
14285 X_LIBS="$X_LIBS -R$x_libraries"
14286 else $as_nop
14287 LIBS="$ac_xsave_LIBS -R $x_libraries"
14288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14289 /* end confdefs.h. */
14292 main (void)
14296 return 0;
14298 _ACEOF
14299 if ac_fn_c_try_link "$LINENO"
14300 then :
14301 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14302 printf "%s\n" "yes" >&6; }
14303 X_LIBS="$X_LIBS -R $x_libraries"
14304 else $as_nop
14305 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
14306 printf "%s\n" "neither works" >&6; }
14308 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14309 conftest$ac_exeext conftest.$ac_ext
14311 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14312 conftest$ac_exeext conftest.$ac_ext
14313 ac_c_werror_flag=$ac_xsave_c_werror_flag
14314 LIBS=$ac_xsave_LIBS
14317 # Check for system-dependent libraries X programs must link with.
14318 # Do this before checking for the system-independent R6 libraries
14319 # (-lICE), since we may need -lsocket or whatever for X linking.
14321 if test "$ISC" = yes; then
14322 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
14323 else
14324 # Martyn Johnson says this is needed for Ultrix, if the X
14325 # libraries were built with DECnet support. And Karl Berry says
14326 # the Alpha needs dnet_stub (dnet does not exist).
14327 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
14328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14329 /* end confdefs.h. */
14331 /* Override any GCC internal prototype to avoid an error.
14332 Use char because int might match the return type of a GCC
14333 builtin and then its argument prototype would still apply. */
14334 char XOpenDisplay ();
14336 main (void)
14338 return XOpenDisplay ();
14340 return 0;
14342 _ACEOF
14343 if ac_fn_c_try_link "$LINENO"
14344 then :
14346 else $as_nop
14347 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
14348 printf %s "checking for dnet_ntoa in -ldnet... " >&6; }
14349 if test ${ac_cv_lib_dnet_dnet_ntoa+y}
14350 then :
14351 printf %s "(cached) " >&6
14352 else $as_nop
14353 ac_check_lib_save_LIBS=$LIBS
14354 LIBS="-ldnet $LIBS"
14355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14356 /* end confdefs.h. */
14358 /* Override any GCC internal prototype to avoid an error.
14359 Use char because int might match the return type of a GCC
14360 builtin and then its argument prototype would still apply. */
14361 char dnet_ntoa ();
14363 main (void)
14365 return dnet_ntoa ();
14367 return 0;
14369 _ACEOF
14370 if ac_fn_c_try_link "$LINENO"
14371 then :
14372 ac_cv_lib_dnet_dnet_ntoa=yes
14373 else $as_nop
14374 ac_cv_lib_dnet_dnet_ntoa=no
14376 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14377 conftest$ac_exeext conftest.$ac_ext
14378 LIBS=$ac_check_lib_save_LIBS
14380 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
14381 printf "%s\n" "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
14382 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
14383 then :
14384 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
14387 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
14388 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
14389 printf %s "checking for dnet_ntoa in -ldnet_stub... " >&6; }
14390 if test ${ac_cv_lib_dnet_stub_dnet_ntoa+y}
14391 then :
14392 printf %s "(cached) " >&6
14393 else $as_nop
14394 ac_check_lib_save_LIBS=$LIBS
14395 LIBS="-ldnet_stub $LIBS"
14396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14397 /* end confdefs.h. */
14399 /* Override any GCC internal prototype to avoid an error.
14400 Use char because int might match the return type of a GCC
14401 builtin and then its argument prototype would still apply. */
14402 char dnet_ntoa ();
14404 main (void)
14406 return dnet_ntoa ();
14408 return 0;
14410 _ACEOF
14411 if ac_fn_c_try_link "$LINENO"
14412 then :
14413 ac_cv_lib_dnet_stub_dnet_ntoa=yes
14414 else $as_nop
14415 ac_cv_lib_dnet_stub_dnet_ntoa=no
14417 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14418 conftest$ac_exeext conftest.$ac_ext
14419 LIBS=$ac_check_lib_save_LIBS
14421 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
14422 printf "%s\n" "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
14423 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
14424 then :
14425 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
14430 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14431 conftest$ac_exeext conftest.$ac_ext
14432 LIBS="$ac_xsave_LIBS"
14434 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
14435 # to get the SysV transport functions.
14436 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
14437 # needs -lnsl.
14438 # The nsl library prevents programs from opening the X display
14439 # on Irix 5.2, according to T.E. Dickey.
14440 # The functions gethostbyname, getservbyname, and inet_addr are
14441 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
14442 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
14443 if test "x$ac_cv_func_gethostbyname" = xyes
14444 then :
14448 if test $ac_cv_func_gethostbyname = no; then
14449 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
14450 printf %s "checking for gethostbyname in -lnsl... " >&6; }
14451 if test ${ac_cv_lib_nsl_gethostbyname+y}
14452 then :
14453 printf %s "(cached) " >&6
14454 else $as_nop
14455 ac_check_lib_save_LIBS=$LIBS
14456 LIBS="-lnsl $LIBS"
14457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14458 /* end confdefs.h. */
14460 /* Override any GCC internal prototype to avoid an error.
14461 Use char because int might match the return type of a GCC
14462 builtin and then its argument prototype would still apply. */
14463 char gethostbyname ();
14465 main (void)
14467 return gethostbyname ();
14469 return 0;
14471 _ACEOF
14472 if ac_fn_c_try_link "$LINENO"
14473 then :
14474 ac_cv_lib_nsl_gethostbyname=yes
14475 else $as_nop
14476 ac_cv_lib_nsl_gethostbyname=no
14478 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14479 conftest$ac_exeext conftest.$ac_ext
14480 LIBS=$ac_check_lib_save_LIBS
14482 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
14483 printf "%s\n" "$ac_cv_lib_nsl_gethostbyname" >&6; }
14484 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
14485 then :
14486 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
14489 if test $ac_cv_lib_nsl_gethostbyname = no; then
14490 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
14491 printf %s "checking for gethostbyname in -lbsd... " >&6; }
14492 if test ${ac_cv_lib_bsd_gethostbyname+y}
14493 then :
14494 printf %s "(cached) " >&6
14495 else $as_nop
14496 ac_check_lib_save_LIBS=$LIBS
14497 LIBS="-lbsd $LIBS"
14498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14499 /* end confdefs.h. */
14501 /* Override any GCC internal prototype to avoid an error.
14502 Use char because int might match the return type of a GCC
14503 builtin and then its argument prototype would still apply. */
14504 char gethostbyname ();
14506 main (void)
14508 return gethostbyname ();
14510 return 0;
14512 _ACEOF
14513 if ac_fn_c_try_link "$LINENO"
14514 then :
14515 ac_cv_lib_bsd_gethostbyname=yes
14516 else $as_nop
14517 ac_cv_lib_bsd_gethostbyname=no
14519 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14520 conftest$ac_exeext conftest.$ac_ext
14521 LIBS=$ac_check_lib_save_LIBS
14523 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
14524 printf "%s\n" "$ac_cv_lib_bsd_gethostbyname" >&6; }
14525 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
14526 then :
14527 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
14533 # lieder@skyler.mavd.honeywell.com says without -lsocket,
14534 # socket/setsockopt and other routines are undefined under SCO ODT
14535 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
14536 # on later versions), says Simon Leinen: it contains gethostby*
14537 # variants that don't use the name server (or something). -lsocket
14538 # must be given before -lnsl if both are needed. We assume that
14539 # if connect needs -lnsl, so does gethostbyname.
14540 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
14541 if test "x$ac_cv_func_connect" = xyes
14542 then :
14546 if test $ac_cv_func_connect = no; then
14547 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
14548 printf %s "checking for connect in -lsocket... " >&6; }
14549 if test ${ac_cv_lib_socket_connect+y}
14550 then :
14551 printf %s "(cached) " >&6
14552 else $as_nop
14553 ac_check_lib_save_LIBS=$LIBS
14554 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
14555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14556 /* end confdefs.h. */
14558 /* Override any GCC internal prototype to avoid an error.
14559 Use char because int might match the return type of a GCC
14560 builtin and then its argument prototype would still apply. */
14561 char connect ();
14563 main (void)
14565 return connect ();
14567 return 0;
14569 _ACEOF
14570 if ac_fn_c_try_link "$LINENO"
14571 then :
14572 ac_cv_lib_socket_connect=yes
14573 else $as_nop
14574 ac_cv_lib_socket_connect=no
14576 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14577 conftest$ac_exeext conftest.$ac_ext
14578 LIBS=$ac_check_lib_save_LIBS
14580 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
14581 printf "%s\n" "$ac_cv_lib_socket_connect" >&6; }
14582 if test "x$ac_cv_lib_socket_connect" = xyes
14583 then :
14584 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
14589 # Guillermo Gomez says -lposix is necessary on A/UX.
14590 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
14591 if test "x$ac_cv_func_remove" = xyes
14592 then :
14596 if test $ac_cv_func_remove = no; then
14597 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
14598 printf %s "checking for remove in -lposix... " >&6; }
14599 if test ${ac_cv_lib_posix_remove+y}
14600 then :
14601 printf %s "(cached) " >&6
14602 else $as_nop
14603 ac_check_lib_save_LIBS=$LIBS
14604 LIBS="-lposix $LIBS"
14605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14606 /* end confdefs.h. */
14608 /* Override any GCC internal prototype to avoid an error.
14609 Use char because int might match the return type of a GCC
14610 builtin and then its argument prototype would still apply. */
14611 char remove ();
14613 main (void)
14615 return remove ();
14617 return 0;
14619 _ACEOF
14620 if ac_fn_c_try_link "$LINENO"
14621 then :
14622 ac_cv_lib_posix_remove=yes
14623 else $as_nop
14624 ac_cv_lib_posix_remove=no
14626 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14627 conftest$ac_exeext conftest.$ac_ext
14628 LIBS=$ac_check_lib_save_LIBS
14630 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
14631 printf "%s\n" "$ac_cv_lib_posix_remove" >&6; }
14632 if test "x$ac_cv_lib_posix_remove" = xyes
14633 then :
14634 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
14639 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
14640 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
14641 if test "x$ac_cv_func_shmat" = xyes
14642 then :
14646 if test $ac_cv_func_shmat = no; then
14647 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
14648 printf %s "checking for shmat in -lipc... " >&6; }
14649 if test ${ac_cv_lib_ipc_shmat+y}
14650 then :
14651 printf %s "(cached) " >&6
14652 else $as_nop
14653 ac_check_lib_save_LIBS=$LIBS
14654 LIBS="-lipc $LIBS"
14655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14656 /* end confdefs.h. */
14658 /* Override any GCC internal prototype to avoid an error.
14659 Use char because int might match the return type of a GCC
14660 builtin and then its argument prototype would still apply. */
14661 char shmat ();
14663 main (void)
14665 return shmat ();
14667 return 0;
14669 _ACEOF
14670 if ac_fn_c_try_link "$LINENO"
14671 then :
14672 ac_cv_lib_ipc_shmat=yes
14673 else $as_nop
14674 ac_cv_lib_ipc_shmat=no
14676 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14677 conftest$ac_exeext conftest.$ac_ext
14678 LIBS=$ac_check_lib_save_LIBS
14680 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
14681 printf "%s\n" "$ac_cv_lib_ipc_shmat" >&6; }
14682 if test "x$ac_cv_lib_ipc_shmat" = xyes
14683 then :
14684 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
14690 # Check for libraries that X11R6 Xt/Xaw programs need.
14691 ac_save_LDFLAGS=$LDFLAGS
14692 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
14693 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
14694 # check for ICE first), but we must link in the order -lSM -lICE or
14695 # we get undefined symbols. So assume we have SM if we have ICE.
14696 # These have to be linked with before -lX11, unlike the other
14697 # libraries we check for below, so use a different variable.
14698 # John Interrante, Karl Berry
14699 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
14700 printf %s "checking for IceConnectionNumber in -lICE... " >&6; }
14701 if test ${ac_cv_lib_ICE_IceConnectionNumber+y}
14702 then :
14703 printf %s "(cached) " >&6
14704 else $as_nop
14705 ac_check_lib_save_LIBS=$LIBS
14706 LIBS="-lICE $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 IceConnectionNumber ();
14715 main (void)
14717 return IceConnectionNumber ();
14719 return 0;
14721 _ACEOF
14722 if ac_fn_c_try_link "$LINENO"
14723 then :
14724 ac_cv_lib_ICE_IceConnectionNumber=yes
14725 else $as_nop
14726 ac_cv_lib_ICE_IceConnectionNumber=no
14728 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14729 conftest$ac_exeext conftest.$ac_ext
14730 LIBS=$ac_check_lib_save_LIBS
14732 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
14733 printf "%s\n" "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
14734 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
14735 then :
14736 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
14739 LDFLAGS=$ac_save_LDFLAGS
14744 if test "$have_x" = "yes"
14745 then
14746 ac_save_CPPFLAGS="$CPPFLAGS"
14747 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
14749 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
14750 printf %s "checking for -lX11... " >&6; }
14751 if test ${ac_cv_lib_soname_X11+y}
14752 then :
14753 printf %s "(cached) " >&6
14754 else $as_nop
14755 ac_check_soname_save_LIBS=$LIBS
14756 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
14757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14758 /* end confdefs.h. */
14760 /* Override any GCC internal prototype to avoid an error.
14761 Use char because int might match the return type of a GCC
14762 builtin and then its argument prototype would still apply. */
14763 char XCreateWindow ();
14765 main (void)
14767 return XCreateWindow ();
14769 return 0;
14771 _ACEOF
14772 if ac_fn_c_try_link "$LINENO"
14773 then :
14774 case "$LIBEXT" in
14775 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14776 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'` ;;
14777 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14778 if ${ac_cv_lib_soname_X11:+false} :
14779 then :
14780 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14781 fi ;;
14782 esac
14783 else $as_nop
14784 ac_cv_lib_soname_X11=
14786 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14787 conftest$ac_exeext conftest.$ac_ext
14788 LIBS=$ac_check_soname_save_LIBS
14790 if ${ac_cv_lib_soname_X11:+false} :
14791 then :
14792 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14793 printf "%s\n" "not found" >&6; }
14795 else $as_nop
14796 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
14797 printf "%s\n" "$ac_cv_lib_soname_X11" >&6; }
14799 printf "%s\n" "#define SONAME_LIBX11 \"$ac_cv_lib_soname_X11\"" >>confdefs.h
14803 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
14804 printf %s "checking for -lXext... " >&6; }
14805 if test ${ac_cv_lib_soname_Xext+y}
14806 then :
14807 printf %s "(cached) " >&6
14808 else $as_nop
14809 ac_check_soname_save_LIBS=$LIBS
14810 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
14811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14812 /* end confdefs.h. */
14814 /* Override any GCC internal prototype to avoid an error.
14815 Use char because int might match the return type of a GCC
14816 builtin and then its argument prototype would still apply. */
14817 char XextCreateExtension ();
14819 main (void)
14821 return XextCreateExtension ();
14823 return 0;
14825 _ACEOF
14826 if ac_fn_c_try_link "$LINENO"
14827 then :
14828 case "$LIBEXT" in
14829 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14830 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'` ;;
14831 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14832 if ${ac_cv_lib_soname_Xext:+false} :
14833 then :
14834 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14835 fi ;;
14836 esac
14837 else $as_nop
14838 ac_cv_lib_soname_Xext=
14840 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14841 conftest$ac_exeext conftest.$ac_ext
14842 LIBS=$ac_check_soname_save_LIBS
14844 if ${ac_cv_lib_soname_Xext:+false} :
14845 then :
14846 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14847 printf "%s\n" "not found" >&6; }
14849 else $as_nop
14850 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
14851 printf "%s\n" "$ac_cv_lib_soname_Xext" >&6; }
14853 printf "%s\n" "#define SONAME_LIBXEXT \"$ac_cv_lib_soname_Xext\"" >>confdefs.h
14855 X_LIBS="$X_LIBS -lXext"
14857 X_LIBS="$X_LIBS -lX11"
14859 xlib_includes="#include <X11/Xlib.h>
14860 #include <X11/Xutil.h>"
14862 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/shape.h" "ac_cv_header_X11_extensions_shape_h" "$xlib_includes
14864 if test "x$ac_cv_header_X11_extensions_shape_h" = xyes
14865 then :
14866 printf "%s\n" "#define HAVE_X11_EXTENSIONS_SHAPE_H 1" >>confdefs.h
14869 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XInput2.h" "ac_cv_header_X11_extensions_XInput2_h" "$xlib_includes
14871 if test "x$ac_cv_header_X11_extensions_XInput2_h" = xyes
14872 then :
14873 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINPUT2_H 1" >>confdefs.h
14876 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XShm.h" "ac_cv_header_X11_extensions_XShm_h" "$xlib_includes
14878 if test "x$ac_cv_header_X11_extensions_XShm_h" = xyes
14879 then :
14880 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XSHM_H 1" >>confdefs.h
14883 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xfixes.h" "ac_cv_header_X11_extensions_Xfixes_h" "$xlib_includes
14885 if test "x$ac_cv_header_X11_extensions_Xfixes_h" = xyes
14886 then :
14887 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XFIXES_H 1" >>confdefs.h
14890 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xinerama.h" "ac_cv_header_X11_extensions_Xinerama_h" "$xlib_includes
14892 if test "x$ac_cv_header_X11_extensions_Xinerama_h" = xyes
14893 then :
14894 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINERAMA_H 1" >>confdefs.h
14897 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xrandr.h" "ac_cv_header_X11_extensions_Xrandr_h" "$xlib_includes
14899 if test "x$ac_cv_header_X11_extensions_Xrandr_h" = xyes
14900 then :
14901 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRANDR_H 1" >>confdefs.h
14904 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xrender.h" "ac_cv_header_X11_extensions_Xrender_h" "$xlib_includes
14906 if test "x$ac_cv_header_X11_extensions_Xrender_h" = xyes
14907 then :
14908 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRENDER_H 1" >>confdefs.h
14911 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/xf86vmode.h" "ac_cv_header_X11_extensions_xf86vmode_h" "$xlib_includes
14913 if test "x$ac_cv_header_X11_extensions_xf86vmode_h" = xyes
14914 then :
14915 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMODE_H 1" >>confdefs.h
14918 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/xf86vmproto.h" "ac_cv_header_X11_extensions_xf86vmproto_h" "$xlib_includes
14920 if test "x$ac_cv_header_X11_extensions_xf86vmproto_h" = xyes
14921 then :
14922 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMPROTO_H 1" >>confdefs.h
14927 ac_fn_c_check_header_compile "$LINENO" "X11/Xcursor/Xcursor.h" "ac_cv_header_X11_Xcursor_Xcursor_h" "$xlib_includes
14929 if test "x$ac_cv_header_X11_Xcursor_Xcursor_h" = xyes
14930 then :
14931 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
14932 printf %s "checking for -lXcursor... " >&6; }
14933 if test ${ac_cv_lib_soname_Xcursor+y}
14934 then :
14935 printf %s "(cached) " >&6
14936 else $as_nop
14937 ac_check_soname_save_LIBS=$LIBS
14938 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
14939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14940 /* end confdefs.h. */
14942 /* Override any GCC internal prototype to avoid an error.
14943 Use char because int might match the return type of a GCC
14944 builtin and then its argument prototype would still apply. */
14945 char XcursorImageLoadCursor ();
14947 main (void)
14949 return XcursorImageLoadCursor ();
14951 return 0;
14953 _ACEOF
14954 if ac_fn_c_try_link "$LINENO"
14955 then :
14956 case "$LIBEXT" in
14957 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14958 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'` ;;
14959 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14960 if ${ac_cv_lib_soname_Xcursor:+false} :
14961 then :
14962 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14963 fi ;;
14964 esac
14965 else $as_nop
14966 ac_cv_lib_soname_Xcursor=
14968 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14969 conftest$ac_exeext conftest.$ac_ext
14970 LIBS=$ac_check_soname_save_LIBS
14972 if ${ac_cv_lib_soname_Xcursor:+false} :
14973 then :
14974 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14975 printf "%s\n" "not found" >&6; }
14977 else $as_nop
14978 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
14979 printf "%s\n" "$ac_cv_lib_soname_Xcursor" >&6; }
14981 printf "%s\n" "#define SONAME_LIBXCURSOR \"$ac_cv_lib_soname_Xcursor\"" >>confdefs.h
14987 if test "x$ac_cv_lib_soname_Xcursor" = "x"
14988 then :
14989 case "x$with_xcursor" in
14990 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
14991 xno) ;;
14992 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
14993 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
14994 esac
14998 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XInput.h" "ac_cv_header_X11_extensions_XInput_h" "$xlib_includes
15000 if test "x$ac_cv_header_X11_extensions_XInput_h" = xyes
15001 then :
15002 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
15003 printf %s "checking for -lXi... " >&6; }
15004 if test ${ac_cv_lib_soname_Xi+y}
15005 then :
15006 printf %s "(cached) " >&6
15007 else $as_nop
15008 ac_check_soname_save_LIBS=$LIBS
15009 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
15010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15011 /* end confdefs.h. */
15013 /* Override any GCC internal prototype to avoid an error.
15014 Use char because int might match the return type of a GCC
15015 builtin and then its argument prototype would still apply. */
15016 char XOpenDevice ();
15018 main (void)
15020 return XOpenDevice ();
15022 return 0;
15024 _ACEOF
15025 if ac_fn_c_try_link "$LINENO"
15026 then :
15027 case "$LIBEXT" in
15028 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15029 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'` ;;
15030 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15031 if ${ac_cv_lib_soname_Xi:+false} :
15032 then :
15033 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15034 fi ;;
15035 esac
15036 else $as_nop
15037 ac_cv_lib_soname_Xi=
15039 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15040 conftest$ac_exeext conftest.$ac_ext
15041 LIBS=$ac_check_soname_save_LIBS
15043 if ${ac_cv_lib_soname_Xi:+false} :
15044 then :
15045 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15046 printf "%s\n" "not found" >&6; }
15048 else $as_nop
15049 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
15050 printf "%s\n" "$ac_cv_lib_soname_Xi" >&6; }
15052 printf "%s\n" "#define SONAME_LIBXI \"$ac_cv_lib_soname_Xi\"" >>confdefs.h
15058 if test "x$ac_cv_lib_soname_Xi" = "x"
15059 then :
15060 case "x$with_xinput" in
15061 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
15062 xno) ;;
15063 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
15064 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
15065 esac
15069 if test "x$ac_cv_lib_soname_Xi" != x
15070 then
15071 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"
15072 then :
15073 case "x$with_xinput2" in
15074 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
15075 xno) ;;
15076 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
15077 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
15078 esac
15083 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
15084 then
15085 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
15086 printf %s "checking for XShmQueryExtension in -lXext... " >&6; }
15087 if test ${ac_cv_lib_Xext_XShmQueryExtension+y}
15088 then :
15089 printf %s "(cached) " >&6
15090 else $as_nop
15091 ac_check_lib_save_LIBS=$LIBS
15092 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
15093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15094 /* end confdefs.h. */
15096 /* Override any GCC internal prototype to avoid an error.
15097 Use char because int might match the return type of a GCC
15098 builtin and then its argument prototype would still apply. */
15099 char XShmQueryExtension ();
15101 main (void)
15103 return XShmQueryExtension ();
15105 return 0;
15107 _ACEOF
15108 if ac_fn_c_try_link "$LINENO"
15109 then :
15110 ac_cv_lib_Xext_XShmQueryExtension=yes
15111 else $as_nop
15112 ac_cv_lib_Xext_XShmQueryExtension=no
15114 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15115 conftest$ac_exeext conftest.$ac_ext
15116 LIBS=$ac_check_lib_save_LIBS
15118 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
15119 printf "%s\n" "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
15120 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
15121 then :
15123 printf "%s\n" "#define HAVE_LIBXXSHM 1" >>confdefs.h
15128 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"
15129 then :
15130 case "x$with_xshm" in
15131 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
15132 xno) ;;
15133 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
15134 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
15135 esac
15139 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
15140 then
15141 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
15142 printf %s "checking for XShapeQueryExtension in -lXext... " >&6; }
15143 if test ${ac_cv_lib_Xext_XShapeQueryExtension+y}
15144 then :
15145 printf %s "(cached) " >&6
15146 else $as_nop
15147 ac_check_lib_save_LIBS=$LIBS
15148 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
15149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15150 /* end confdefs.h. */
15152 /* Override any GCC internal prototype to avoid an error.
15153 Use char because int might match the return type of a GCC
15154 builtin and then its argument prototype would still apply. */
15155 char XShapeQueryExtension ();
15157 main (void)
15159 return XShapeQueryExtension ();
15161 return 0;
15163 _ACEOF
15164 if ac_fn_c_try_link "$LINENO"
15165 then :
15166 ac_cv_lib_Xext_XShapeQueryExtension=yes
15167 else $as_nop
15168 ac_cv_lib_Xext_XShapeQueryExtension=no
15170 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15171 conftest$ac_exeext conftest.$ac_ext
15172 LIBS=$ac_check_lib_save_LIBS
15174 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
15175 printf "%s\n" "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
15176 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
15177 then :
15179 printf "%s\n" "#define HAVE_LIBXSHAPE 1" >>confdefs.h
15184 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"
15185 then :
15186 case "x$with_xshape" in
15187 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
15188 xno) ;;
15189 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
15190 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
15191 esac
15195 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
15196 then
15197 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
15198 printf %s "checking for -lXxf86vm... " >&6; }
15199 if test ${ac_cv_lib_soname_Xxf86vm+y}
15200 then :
15201 printf %s "(cached) " >&6
15202 else $as_nop
15203 ac_check_soname_save_LIBS=$LIBS
15204 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
15205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15206 /* end confdefs.h. */
15208 /* Override any GCC internal prototype to avoid an error.
15209 Use char because int might match the return type of a GCC
15210 builtin and then its argument prototype would still apply. */
15211 char XF86VidModeQueryExtension ();
15213 main (void)
15215 return XF86VidModeQueryExtension ();
15217 return 0;
15219 _ACEOF
15220 if ac_fn_c_try_link "$LINENO"
15221 then :
15222 case "$LIBEXT" in
15223 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15224 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'` ;;
15225 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15226 if ${ac_cv_lib_soname_Xxf86vm:+false} :
15227 then :
15228 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15229 fi ;;
15230 esac
15231 else $as_nop
15232 ac_cv_lib_soname_Xxf86vm=
15234 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15235 conftest$ac_exeext conftest.$ac_ext
15236 LIBS=$ac_check_soname_save_LIBS
15238 if ${ac_cv_lib_soname_Xxf86vm:+false} :
15239 then :
15240 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15241 printf "%s\n" "not found" >&6; }
15243 else $as_nop
15244 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
15245 printf "%s\n" "$ac_cv_lib_soname_Xxf86vm" >&6; }
15247 printf "%s\n" "#define SONAME_LIBXXF86VM \"$ac_cv_lib_soname_Xxf86vm\"" >>confdefs.h
15252 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"
15253 then :
15254 case "x$with_xxf86vm" in
15255 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
15256 xno) ;;
15257 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
15258 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
15259 esac
15263 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
15264 then
15265 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
15266 printf %s "checking for -lXrender... " >&6; }
15267 if test ${ac_cv_lib_soname_Xrender+y}
15268 then :
15269 printf %s "(cached) " >&6
15270 else $as_nop
15271 ac_check_soname_save_LIBS=$LIBS
15272 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
15273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15274 /* end confdefs.h. */
15276 /* Override any GCC internal prototype to avoid an error.
15277 Use char because int might match the return type of a GCC
15278 builtin and then its argument prototype would still apply. */
15279 char XRenderQueryExtension ();
15281 main (void)
15283 return XRenderQueryExtension ();
15285 return 0;
15287 _ACEOF
15288 if ac_fn_c_try_link "$LINENO"
15289 then :
15290 case "$LIBEXT" in
15291 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15292 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'` ;;
15293 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15294 if ${ac_cv_lib_soname_Xrender:+false} :
15295 then :
15296 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15297 fi ;;
15298 esac
15299 else $as_nop
15300 ac_cv_lib_soname_Xrender=
15302 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15303 conftest$ac_exeext conftest.$ac_ext
15304 LIBS=$ac_check_soname_save_LIBS
15306 if ${ac_cv_lib_soname_Xrender:+false} :
15307 then :
15308 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15309 printf "%s\n" "not found" >&6; }
15311 else $as_nop
15312 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
15313 printf "%s\n" "$ac_cv_lib_soname_Xrender" >&6; }
15315 printf "%s\n" "#define SONAME_LIBXRENDER \"$ac_cv_lib_soname_Xrender\"" >>confdefs.h
15317 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
15318 printf %s "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
15319 if test ${ac_cv_lib_Xrender_XRenderSetPictureTransform+y}
15320 then :
15321 printf %s "(cached) " >&6
15322 else $as_nop
15323 ac_check_lib_save_LIBS=$LIBS
15324 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
15325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15326 /* end confdefs.h. */
15328 /* Override any GCC internal prototype to avoid an error.
15329 Use char because int might match the return type of a GCC
15330 builtin and then its argument prototype would still apply. */
15331 char XRenderSetPictureTransform ();
15333 main (void)
15335 return XRenderSetPictureTransform ();
15337 return 0;
15339 _ACEOF
15340 if ac_fn_c_try_link "$LINENO"
15341 then :
15342 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
15343 else $as_nop
15344 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
15346 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15347 conftest$ac_exeext conftest.$ac_ext
15348 LIBS=$ac_check_lib_save_LIBS
15350 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
15351 printf "%s\n" "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
15352 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
15353 then :
15355 printf "%s\n" "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
15359 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
15360 printf %s "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
15361 if test ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+y}
15362 then :
15363 printf %s "(cached) " >&6
15364 else $as_nop
15365 ac_check_lib_save_LIBS=$LIBS
15366 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
15367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15368 /* end confdefs.h. */
15370 /* Override any GCC internal prototype to avoid an error.
15371 Use char because int might match the return type of a GCC
15372 builtin and then its argument prototype would still apply. */
15373 char XRenderCreateLinearGradient ();
15375 main (void)
15377 return XRenderCreateLinearGradient ();
15379 return 0;
15381 _ACEOF
15382 if ac_fn_c_try_link "$LINENO"
15383 then :
15384 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
15385 else $as_nop
15386 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
15388 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15389 conftest$ac_exeext conftest.$ac_ext
15390 LIBS=$ac_check_lib_save_LIBS
15392 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
15393 printf "%s\n" "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
15394 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes
15395 then :
15397 printf "%s\n" "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
15404 if test "x$ac_cv_lib_soname_Xrender" = "x"
15405 then :
15406 case "x$with_xrender" in
15407 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
15408 xno) ;;
15409 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
15410 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
15411 esac
15415 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
15416 then
15417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15418 /* end confdefs.h. */
15419 #include <X11/Xlib.h>
15420 #include <X11/extensions/Xrandr.h>
15422 main (void)
15424 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
15426 return 0;
15428 _ACEOF
15429 if ac_fn_c_try_compile "$LINENO"
15430 then :
15431 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
15432 printf %s "checking for -lXrandr... " >&6; }
15433 if test ${ac_cv_lib_soname_Xrandr+y}
15434 then :
15435 printf %s "(cached) " >&6
15436 else $as_nop
15437 ac_check_soname_save_LIBS=$LIBS
15438 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
15439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15440 /* end confdefs.h. */
15442 /* Override any GCC internal prototype to avoid an error.
15443 Use char because int might match the return type of a GCC
15444 builtin and then its argument prototype would still apply. */
15445 char XRRQueryExtension ();
15447 main (void)
15449 return XRRQueryExtension ();
15451 return 0;
15453 _ACEOF
15454 if ac_fn_c_try_link "$LINENO"
15455 then :
15456 case "$LIBEXT" in
15457 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15458 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'` ;;
15459 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15460 if ${ac_cv_lib_soname_Xrandr:+false} :
15461 then :
15462 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15463 fi ;;
15464 esac
15465 else $as_nop
15466 ac_cv_lib_soname_Xrandr=
15468 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15469 conftest$ac_exeext conftest.$ac_ext
15470 LIBS=$ac_check_soname_save_LIBS
15472 if ${ac_cv_lib_soname_Xrandr:+false} :
15473 then :
15474 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15475 printf "%s\n" "not found" >&6; }
15477 else $as_nop
15478 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
15479 printf "%s\n" "$ac_cv_lib_soname_Xrandr" >&6; }
15481 printf "%s\n" "#define SONAME_LIBXRANDR \"$ac_cv_lib_soname_Xrandr\"" >>confdefs.h
15483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15484 /* end confdefs.h. */
15485 #include <X11/Xlib.h>
15486 #include <X11/extensions/Xrandr.h>
15488 main (void)
15490 static typeof(XRRGetProviderResources) *f; if (f) return 0;
15492 return 0;
15494 _ACEOF
15495 if ac_fn_c_try_compile "$LINENO"
15496 then :
15498 printf "%s\n" "#define HAVE_XRRGETPROVIDERRESOURCES 1" >>confdefs.h
15500 else $as_nop
15501 as_fn_append wine_notices "|libxrandr ${notice_platform}development files too old, XRandR display device handler won't be supported."
15503 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15506 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15508 if test "x$ac_cv_lib_soname_Xrandr" = "x"
15509 then :
15510 case "x$with_xrandr" in
15511 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
15512 xno) ;;
15513 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
15514 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
15515 esac
15519 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
15520 then
15521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15522 /* end confdefs.h. */
15523 #include <X11/Xlib.h>
15524 #include <X11/extensions/Xfixes.h>
15526 main (void)
15528 static typeof(XFixesQueryVersion) * func; if (func) return 0;
15530 return 0;
15532 _ACEOF
15533 if ac_fn_c_try_compile "$LINENO"
15534 then :
15535 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
15536 printf %s "checking for -lXfixes... " >&6; }
15537 if test ${ac_cv_lib_soname_Xfixes+y}
15538 then :
15539 printf %s "(cached) " >&6
15540 else $as_nop
15541 ac_check_soname_save_LIBS=$LIBS
15542 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
15543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15544 /* end confdefs.h. */
15546 /* Override any GCC internal prototype to avoid an error.
15547 Use char because int might match the return type of a GCC
15548 builtin and then its argument prototype would still apply. */
15549 char XFixesQueryVersion ();
15551 main (void)
15553 return XFixesQueryVersion ();
15555 return 0;
15557 _ACEOF
15558 if ac_fn_c_try_link "$LINENO"
15559 then :
15560 case "$LIBEXT" in
15561 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15562 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'` ;;
15563 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15564 if ${ac_cv_lib_soname_Xfixes:+false} :
15565 then :
15566 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15567 fi ;;
15568 esac
15569 else $as_nop
15570 ac_cv_lib_soname_Xfixes=
15572 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15573 conftest$ac_exeext conftest.$ac_ext
15574 LIBS=$ac_check_soname_save_LIBS
15576 if ${ac_cv_lib_soname_Xfixes:+false} :
15577 then :
15578 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15579 printf "%s\n" "not found" >&6; }
15581 else $as_nop
15582 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
15583 printf "%s\n" "$ac_cv_lib_soname_Xfixes" >&6; }
15585 printf "%s\n" "#define SONAME_LIBXFIXES \"$ac_cv_lib_soname_Xfixes\"" >>confdefs.h
15590 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15592 if test "x$ac_cv_lib_soname_Xfixes" = "x"
15593 then :
15594 case "x$with_xfixes" in
15595 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
15596 xno) ;;
15597 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
15598 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
15599 esac
15603 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
15604 then
15605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15606 /* end confdefs.h. */
15607 #include <X11/Xlib.h>
15608 #include <X11/extensions/Xinerama.h>
15610 main (void)
15612 static typeof(XineramaQueryScreens) * func; if (func) return 0;
15614 return 0;
15616 _ACEOF
15617 if ac_fn_c_try_compile "$LINENO"
15618 then :
15619 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
15620 printf %s "checking for -lXinerama... " >&6; }
15621 if test ${ac_cv_lib_soname_Xinerama+y}
15622 then :
15623 printf %s "(cached) " >&6
15624 else $as_nop
15625 ac_check_soname_save_LIBS=$LIBS
15626 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
15627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15628 /* end confdefs.h. */
15630 /* Override any GCC internal prototype to avoid an error.
15631 Use char because int might match the return type of a GCC
15632 builtin and then its argument prototype would still apply. */
15633 char XineramaQueryScreens ();
15635 main (void)
15637 return XineramaQueryScreens ();
15639 return 0;
15641 _ACEOF
15642 if ac_fn_c_try_link "$LINENO"
15643 then :
15644 case "$LIBEXT" in
15645 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15646 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'` ;;
15647 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15648 if ${ac_cv_lib_soname_Xinerama:+false} :
15649 then :
15650 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15651 fi ;;
15652 esac
15653 else $as_nop
15654 ac_cv_lib_soname_Xinerama=
15656 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15657 conftest$ac_exeext conftest.$ac_ext
15658 LIBS=$ac_check_soname_save_LIBS
15660 if ${ac_cv_lib_soname_Xinerama:+false} :
15661 then :
15662 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15663 printf "%s\n" "not found" >&6; }
15665 else $as_nop
15666 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
15667 printf "%s\n" "$ac_cv_lib_soname_Xinerama" >&6; }
15669 printf "%s\n" "#define SONAME_LIBXINERAMA \"$ac_cv_lib_soname_Xinerama\"" >>confdefs.h
15674 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15676 if test "x$ac_cv_lib_soname_Xinerama" = "x"
15677 then :
15678 case "x$with_xinerama" in
15679 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
15680 xno) ;;
15681 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
15682 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
15683 esac
15687 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xcomposite.h" "ac_cv_header_X11_extensions_Xcomposite_h" "$xlib_includes
15689 if test "x$ac_cv_header_X11_extensions_Xcomposite_h" = xyes
15690 then :
15691 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
15692 printf %s "checking for -lXcomposite... " >&6; }
15693 if test ${ac_cv_lib_soname_Xcomposite+y}
15694 then :
15695 printf %s "(cached) " >&6
15696 else $as_nop
15697 ac_check_soname_save_LIBS=$LIBS
15698 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
15699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15700 /* end confdefs.h. */
15702 /* Override any GCC internal prototype to avoid an error.
15703 Use char because int might match the return type of a GCC
15704 builtin and then its argument prototype would still apply. */
15705 char XCompositeRedirectWindow ();
15707 main (void)
15709 return XCompositeRedirectWindow ();
15711 return 0;
15713 _ACEOF
15714 if ac_fn_c_try_link "$LINENO"
15715 then :
15716 case "$LIBEXT" in
15717 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15718 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'` ;;
15719 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15720 if ${ac_cv_lib_soname_Xcomposite:+false} :
15721 then :
15722 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15723 fi ;;
15724 esac
15725 else $as_nop
15726 ac_cv_lib_soname_Xcomposite=
15728 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15729 conftest$ac_exeext conftest.$ac_ext
15730 LIBS=$ac_check_soname_save_LIBS
15732 if ${ac_cv_lib_soname_Xcomposite:+false} :
15733 then :
15734 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15735 printf "%s\n" "not found" >&6; }
15737 else $as_nop
15738 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
15739 printf "%s\n" "$ac_cv_lib_soname_Xcomposite" >&6; }
15741 printf "%s\n" "#define SONAME_LIBXCOMPOSITE \"$ac_cv_lib_soname_Xcomposite\"" >>confdefs.h
15747 if test "x$ac_cv_lib_soname_Xcomposite" = "x"
15748 then :
15749 case "x$with_xcomposite" in
15750 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
15751 xno) ;;
15752 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
15753 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
15754 esac
15758 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "$xlib_includes
15760 if test "x$ac_cv_member_XICCallback_callback" = xyes
15761 then :
15763 printf "%s\n" "#define HAVE_XICCALLBACK_CALLBACK 1" >>confdefs.h
15767 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "$xlib_includes
15769 if test "x$ac_cv_member_XEvent_xcookie" = xyes
15770 then :
15772 printf "%s\n" "#define HAVE_XEVENT_XCOOKIE 1" >>confdefs.h
15779 opengl_msg=""
15780 if test "x$with_opengl" != "xno"
15781 then
15782 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
15783 printf %s "checking for -lGL... " >&6; }
15784 if test ${ac_cv_lib_soname_GL+y}
15785 then :
15786 printf %s "(cached) " >&6
15787 else $as_nop
15788 ac_check_soname_save_LIBS=$LIBS
15789 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
15790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15791 /* end confdefs.h. */
15793 /* Override any GCC internal prototype to avoid an error.
15794 Use char because int might match the return type of a GCC
15795 builtin and then its argument prototype would still apply. */
15796 char glXCreateContext ();
15798 main (void)
15800 return glXCreateContext ();
15802 return 0;
15804 _ACEOF
15805 if ac_fn_c_try_link "$LINENO"
15806 then :
15807 case "$LIBEXT" in
15808 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15809 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'` ;;
15810 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15811 if ${ac_cv_lib_soname_GL:+false} :
15812 then :
15813 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15814 fi ;;
15815 esac
15816 else $as_nop
15817 ac_cv_lib_soname_GL=
15819 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15820 conftest$ac_exeext conftest.$ac_ext
15821 LIBS=$ac_check_soname_save_LIBS
15823 if ${ac_cv_lib_soname_GL:+false} :
15824 then :
15825 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15826 printf "%s\n" "not found" >&6; }
15827 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
15828 printf %s "checking for -lGL... " >&6; }
15829 if test ${ac_cv_lib_soname_GL+y}
15830 then :
15831 printf %s "(cached) " >&6
15832 else $as_nop
15833 ac_check_soname_save_LIBS=$LIBS
15834 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"
15835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15836 /* end confdefs.h. */
15838 /* Override any GCC internal prototype to avoid an error.
15839 Use char because int might match the return type of a GCC
15840 builtin and then its argument prototype would still apply. */
15841 char glXCreateContext ();
15843 main (void)
15845 return glXCreateContext ();
15847 return 0;
15849 _ACEOF
15850 if ac_fn_c_try_link "$LINENO"
15851 then :
15852 case "$LIBEXT" in
15853 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15854 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'` ;;
15855 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15856 if ${ac_cv_lib_soname_GL:+false} :
15857 then :
15858 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15859 fi ;;
15860 esac
15861 else $as_nop
15862 ac_cv_lib_soname_GL=
15864 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15865 conftest$ac_exeext conftest.$ac_ext
15866 LIBS=$ac_check_soname_save_LIBS
15868 if ${ac_cv_lib_soname_GL:+false} :
15869 then :
15870 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15871 printf "%s\n" "not found" >&6; }
15872 if test -f /usr/X11R6/lib/libGL.a
15873 then
15874 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
15875 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
15876 else
15877 opengl_msg="No OpenGL library found on this system."
15879 else $as_nop
15880 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
15881 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
15883 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
15885 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"
15887 else $as_nop
15888 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
15889 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
15891 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
15893 OPENGL_LIBS="-lGL"
15895 if test "x$with_osmesa" != "xno"
15896 then
15897 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
15898 printf %s "checking for -lOSMesa... " >&6; }
15899 if test ${ac_cv_lib_soname_OSMesa+y}
15900 then :
15901 printf %s "(cached) " >&6
15902 else $as_nop
15903 ac_check_soname_save_LIBS=$LIBS
15904 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $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 OSMesaGetProcAddress ();
15913 main (void)
15915 return OSMesaGetProcAddress ();
15917 return 0;
15919 _ACEOF
15920 if ac_fn_c_try_link "$LINENO"
15921 then :
15922 case "$LIBEXT" in
15923 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15924 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'` ;;
15925 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15926 if ${ac_cv_lib_soname_OSMesa:+false} :
15927 then :
15928 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15929 fi ;;
15930 esac
15931 else $as_nop
15932 ac_cv_lib_soname_OSMesa=
15934 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15935 conftest$ac_exeext conftest.$ac_ext
15936 LIBS=$ac_check_soname_save_LIBS
15938 if ${ac_cv_lib_soname_OSMesa:+false} :
15939 then :
15940 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15941 printf "%s\n" "not found" >&6; }
15943 else $as_nop
15944 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
15945 printf "%s\n" "$ac_cv_lib_soname_OSMesa" >&6; }
15947 printf "%s\n" "#define SONAME_LIBOSMESA \"$ac_cv_lib_soname_OSMesa\"" >>confdefs.h
15951 if test "x$ac_cv_lib_soname_OSMesa" = "x"
15952 then :
15953 case "x$with_osmesa" in
15954 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
15955 xno) ;;
15956 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
15957 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
15958 esac
15963 if test -n "$opengl_msg"
15964 then :
15965 case "x$with_opengl" in
15966 x) as_fn_append wine_warnings "|$opengl_msg
15967 OpenGL and Direct3D won't be supported." ;;
15968 xno) ;;
15969 *) as_fn_error $? "$opengl_msg
15970 OpenGL and Direct3D won't be supported.
15971 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
15972 esac
15976 CPPFLAGS="$ac_save_CPPFLAGS"
15977 else
15978 X_CFLAGS=""
15979 X_LIBS=""
15982 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
15983 then
15984 if test "x$X_LIBS" = "x"
15985 then :
15986 case "x$with_x" in
15987 xno) ;;
15988 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
15989 without X support, which probably isn't what you want. You will need
15990 to install ${notice_platform}development packages of Xlib at the very least.
15991 Use the --without-x option if you really want this." "$LINENO" 5 ;;
15992 esac
15993 enable_winex11_drv=${enable_winex11_drv:-no}
15995 else
15996 if test "x$X_LIBS" = "x"
15997 then :
15998 case "x$with_x" in
15999 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
16000 xno) ;;
16001 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
16002 This is an error since --with-x was requested." "$LINENO" 5 ;;
16003 esac
16004 enable_winex11_drv=${enable_winex11_drv:-no}
16008 if test "x$with_wayland" != "xno"
16009 then
16010 rm -f conftest.err
16011 if ${WAYLAND_CLIENT_CFLAGS:+false} :
16012 then :
16013 if test ${PKG_CONFIG+y}
16014 then :
16015 WAYLAND_CLIENT_CFLAGS=`$PKG_CONFIG --cflags wayland-client 2>conftest.err`
16019 if ${WAYLAND_CLIENT_LIBS:+false} :
16020 then :
16021 if test ${PKG_CONFIG+y}
16022 then :
16023 WAYLAND_CLIENT_LIBS=`$PKG_CONFIG --libs wayland-client 2>/dev/null`
16028 printf "%s\n" "$as_me:${as_lineno-$LINENO}: wayland-client cflags: $WAYLAND_CLIENT_CFLAGS" >&5
16029 printf "%s\n" "$as_me:${as_lineno-$LINENO}: wayland-client libs: $WAYLAND_CLIENT_LIBS" >&5
16030 if test -s conftest.err; then
16031 printf %s "$as_me:${as_lineno-$LINENO}: wayland-client errors: " >&5
16032 cat conftest.err >&5
16034 rm -f conftest.err
16035 ac_save_CPPFLAGS=$CPPFLAGS
16036 CPPFLAGS="$CPPFLAGS $WAYLAND_CLIENT_CFLAGS"
16037 ac_fn_c_check_header_compile "$LINENO" "wayland-client.h" "ac_cv_header_wayland_client_h" "$ac_includes_default"
16038 if test "x$ac_cv_header_wayland_client_h" = xyes
16039 then :
16040 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for wl_display_connect in -lwayland-client" >&5
16041 printf %s "checking for wl_display_connect in -lwayland-client... " >&6; }
16042 if test ${ac_cv_lib_wayland_client_wl_display_connect+y}
16043 then :
16044 printf %s "(cached) " >&6
16045 else $as_nop
16046 ac_check_lib_save_LIBS=$LIBS
16047 LIBS="-lwayland-client $WAYLAND_CLIENT_LIBS $LIBS"
16048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16049 /* end confdefs.h. */
16051 /* Override any GCC internal prototype to avoid an error.
16052 Use char because int might match the return type of a GCC
16053 builtin and then its argument prototype would still apply. */
16054 char wl_display_connect ();
16056 main (void)
16058 return wl_display_connect ();
16060 return 0;
16062 _ACEOF
16063 if ac_fn_c_try_link "$LINENO"
16064 then :
16065 ac_cv_lib_wayland_client_wl_display_connect=yes
16066 else $as_nop
16067 ac_cv_lib_wayland_client_wl_display_connect=no
16069 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16070 conftest$ac_exeext conftest.$ac_ext
16071 LIBS=$ac_check_lib_save_LIBS
16073 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_wayland_client_wl_display_connect" >&5
16074 printf "%s\n" "$ac_cv_lib_wayland_client_wl_display_connect" >&6; }
16075 if test "x$ac_cv_lib_wayland_client_wl_display_connect" = xyes
16076 then :
16077 # Extract the first word of "wayland-scanner", so it can be a program name with args.
16078 set dummy wayland-scanner; ac_word=$2
16079 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16080 printf %s "checking for $ac_word... " >&6; }
16081 if test ${ac_cv_path_WAYLAND_SCANNER+y}
16082 then :
16083 printf %s "(cached) " >&6
16084 else $as_nop
16085 case $WAYLAND_SCANNER in
16086 [\\/]* | ?:[\\/]*)
16087 ac_cv_path_WAYLAND_SCANNER="$WAYLAND_SCANNER" # Let the user override the test with a path.
16090 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16091 for as_dir in $PATH
16093 IFS=$as_save_IFS
16094 case $as_dir in #(((
16095 '') as_dir=./ ;;
16096 */) ;;
16097 *) as_dir=$as_dir/ ;;
16098 esac
16099 for ac_exec_ext in '' $ac_executable_extensions; do
16100 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
16101 ac_cv_path_WAYLAND_SCANNER="$as_dir$ac_word$ac_exec_ext"
16102 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
16103 break 2
16105 done
16106 done
16107 IFS=$as_save_IFS
16109 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`"
16111 esac
16113 WAYLAND_SCANNER=$ac_cv_path_WAYLAND_SCANNER
16114 if test -n "$WAYLAND_SCANNER"; then
16115 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $WAYLAND_SCANNER" >&5
16116 printf "%s\n" "$WAYLAND_SCANNER" >&6; }
16117 else
16118 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
16119 printf "%s\n" "no" >&6; }
16123 else $as_nop
16124 WAYLAND_CLIENT_LIBS=""
16129 CPPFLAGS=$ac_save_CPPFLAGS
16131 rm -f conftest.err
16132 if ${XKBCOMMON_CFLAGS:+false} :
16133 then :
16134 if test ${PKG_CONFIG+y}
16135 then :
16136 XKBCOMMON_CFLAGS=`$PKG_CONFIG --cflags xkbcommon 2>conftest.err`
16140 if ${XKBCOMMON_LIBS:+false} :
16141 then :
16142 if test ${PKG_CONFIG+y}
16143 then :
16144 XKBCOMMON_LIBS=`$PKG_CONFIG --libs xkbcommon 2>/dev/null`
16149 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xkbcommon cflags: $XKBCOMMON_CFLAGS" >&5
16150 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xkbcommon libs: $XKBCOMMON_LIBS" >&5
16151 if test -s conftest.err; then
16152 printf %s "$as_me:${as_lineno-$LINENO}: xkbcommon errors: " >&5
16153 cat conftest.err >&5
16155 rm -f conftest.err
16156 ac_save_CPPFLAGS=$CPPFLAGS
16157 CPPFLAGS="$CPPFLAGS $XKBCOMMON_CFLAGS"
16158 ac_fn_c_check_header_compile "$LINENO" "xkbcommon/xkbcommon.h" "ac_cv_header_xkbcommon_xkbcommon_h" "$ac_includes_default"
16159 if test "x$ac_cv_header_xkbcommon_xkbcommon_h" = xyes
16160 then :
16161 printf "%s\n" "#define HAVE_XKBCOMMON_XKBCOMMON_H 1" >>confdefs.h
16165 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xkb_context_new in -lxkbcommon" >&5
16166 printf %s "checking for xkb_context_new in -lxkbcommon... " >&6; }
16167 if test ${ac_cv_lib_xkbcommon_xkb_context_new+y}
16168 then :
16169 printf %s "(cached) " >&6
16170 else $as_nop
16171 ac_check_lib_save_LIBS=$LIBS
16172 LIBS="-lxkbcommon $XKBCOMMON_LIBS $LIBS"
16173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16174 /* end confdefs.h. */
16176 /* Override any GCC internal prototype to avoid an error.
16177 Use char because int might match the return type of a GCC
16178 builtin and then its argument prototype would still apply. */
16179 char xkb_context_new ();
16181 main (void)
16183 return xkb_context_new ();
16185 return 0;
16187 _ACEOF
16188 if ac_fn_c_try_link "$LINENO"
16189 then :
16190 ac_cv_lib_xkbcommon_xkb_context_new=yes
16191 else $as_nop
16192 ac_cv_lib_xkbcommon_xkb_context_new=no
16194 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16195 conftest$ac_exeext conftest.$ac_ext
16196 LIBS=$ac_check_lib_save_LIBS
16198 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xkbcommon_xkb_context_new" >&5
16199 printf "%s\n" "$ac_cv_lib_xkbcommon_xkb_context_new" >&6; }
16200 if test "x$ac_cv_lib_xkbcommon_xkb_context_new" = xyes
16201 then :
16203 else $as_nop
16204 XKBCOMMON_LIBS=""
16207 CPPFLAGS=$ac_save_CPPFLAGS
16209 rm -f conftest.err
16210 if ${XKBREGISTRY_CFLAGS:+false} :
16211 then :
16212 if test ${PKG_CONFIG+y}
16213 then :
16214 XKBREGISTRY_CFLAGS=`$PKG_CONFIG --cflags xkbregistry 2>conftest.err`
16218 if ${XKBREGISTRY_LIBS:+false} :
16219 then :
16220 if test ${PKG_CONFIG+y}
16221 then :
16222 XKBREGISTRY_LIBS=`$PKG_CONFIG --libs xkbregistry 2>/dev/null`
16227 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xkbregistry cflags: $XKBREGISTRY_CFLAGS" >&5
16228 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xkbregistry libs: $XKBREGISTRY_LIBS" >&5
16229 if test -s conftest.err; then
16230 printf %s "$as_me:${as_lineno-$LINENO}: xkbregistry errors: " >&5
16231 cat conftest.err >&5
16233 rm -f conftest.err
16234 ac_save_CPPFLAGS=$CPPFLAGS
16235 CPPFLAGS="$CPPFLAGS $XKBREGISTRY_CFLAGS"
16236 ac_fn_c_check_header_compile "$LINENO" "xkbcommon/xkbregistry.h" "ac_cv_header_xkbcommon_xkbregistry_h" "$ac_includes_default"
16237 if test "x$ac_cv_header_xkbcommon_xkbregistry_h" = xyes
16238 then :
16239 printf "%s\n" "#define HAVE_XKBCOMMON_XKBREGISTRY_H 1" >>confdefs.h
16243 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for rxkb_context_new in -lxkbregistry" >&5
16244 printf %s "checking for rxkb_context_new in -lxkbregistry... " >&6; }
16245 if test ${ac_cv_lib_xkbregistry_rxkb_context_new+y}
16246 then :
16247 printf %s "(cached) " >&6
16248 else $as_nop
16249 ac_check_lib_save_LIBS=$LIBS
16250 LIBS="-lxkbregistry $XKBREGISTRY_LIBS $LIBS"
16251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16252 /* end confdefs.h. */
16254 /* Override any GCC internal prototype to avoid an error.
16255 Use char because int might match the return type of a GCC
16256 builtin and then its argument prototype would still apply. */
16257 char rxkb_context_new ();
16259 main (void)
16261 return rxkb_context_new ();
16263 return 0;
16265 _ACEOF
16266 if ac_fn_c_try_link "$LINENO"
16267 then :
16268 ac_cv_lib_xkbregistry_rxkb_context_new=yes
16269 else $as_nop
16270 ac_cv_lib_xkbregistry_rxkb_context_new=no
16272 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16273 conftest$ac_exeext conftest.$ac_ext
16274 LIBS=$ac_check_lib_save_LIBS
16276 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xkbregistry_rxkb_context_new" >&5
16277 printf "%s\n" "$ac_cv_lib_xkbregistry_rxkb_context_new" >&6; }
16278 if test "x$ac_cv_lib_xkbregistry_rxkb_context_new" = xyes
16279 then :
16281 else $as_nop
16282 XKBREGISTRY_LIBS=""
16285 CPPFLAGS=$ac_save_CPPFLAGS
16287 if test "x$with_opengl" != "xno"
16288 then
16289 rm -f conftest.err
16290 if ${EGL_CFLAGS:+false} :
16291 then :
16292 if test ${PKG_CONFIG+y}
16293 then :
16294 EGL_CFLAGS=`$PKG_CONFIG --cflags egl 2>conftest.err`
16298 if ${EGL_LIBS:+false} :
16299 then :
16300 if test ${PKG_CONFIG+y}
16301 then :
16302 EGL_LIBS=`$PKG_CONFIG --libs egl 2>/dev/null`
16306 EGL_LIBS=${EGL_LIBS:-"-lEGL"}
16307 printf "%s\n" "$as_me:${as_lineno-$LINENO}: egl cflags: $EGL_CFLAGS" >&5
16308 printf "%s\n" "$as_me:${as_lineno-$LINENO}: egl libs: $EGL_LIBS" >&5
16309 if test -s conftest.err; then
16310 printf %s "$as_me:${as_lineno-$LINENO}: egl errors: " >&5
16311 cat conftest.err >&5
16313 rm -f conftest.err
16314 ac_save_CPPFLAGS=$CPPFLAGS
16315 CPPFLAGS="$CPPFLAGS $EGL_CFLAGS"
16316 ac_fn_c_check_header_compile "$LINENO" "EGL/egl.h" "ac_cv_header_EGL_egl_h" "$ac_includes_default"
16317 if test "x$ac_cv_header_EGL_egl_h" = xyes
16318 then :
16319 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
16320 printf %s "checking for -lEGL... " >&6; }
16321 if test ${ac_cv_lib_soname_EGL+y}
16322 then :
16323 printf %s "(cached) " >&6
16324 else $as_nop
16325 ac_check_soname_save_LIBS=$LIBS
16326 LIBS="-lEGL $EGL_LIBS $LIBS"
16327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16328 /* end confdefs.h. */
16330 /* Override any GCC internal prototype to avoid an error.
16331 Use char because int might match the return type of a GCC
16332 builtin and then its argument prototype would still apply. */
16333 char eglGetProcAddress ();
16335 main (void)
16337 return eglGetProcAddress ();
16339 return 0;
16341 _ACEOF
16342 if ac_fn_c_try_link "$LINENO"
16343 then :
16344 case "$LIBEXT" in
16345 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16346 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'` ;;
16347 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16348 if ${ac_cv_lib_soname_EGL:+false} :
16349 then :
16350 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16351 fi ;;
16352 esac
16353 else $as_nop
16354 ac_cv_lib_soname_EGL=
16356 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16357 conftest$ac_exeext conftest.$ac_ext
16358 LIBS=$ac_check_soname_save_LIBS
16360 if ${ac_cv_lib_soname_EGL:+false} :
16361 then :
16362 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16363 printf "%s\n" "not found" >&6; }
16365 else $as_nop
16366 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
16367 printf "%s\n" "$ac_cv_lib_soname_EGL" >&6; }
16369 printf "%s\n" "#define SONAME_LIBEGL \"$ac_cv_lib_soname_EGL\"" >>confdefs.h
16375 CPPFLAGS=$ac_save_CPPFLAGS
16377 rm -f conftest.err
16378 if ${WAYLAND_EGL_CFLAGS:+false} :
16379 then :
16380 if test ${PKG_CONFIG+y}
16381 then :
16382 WAYLAND_EGL_CFLAGS=`$PKG_CONFIG --cflags wayland-egl 2>conftest.err`
16386 if ${WAYLAND_EGL_LIBS:+false} :
16387 then :
16388 if test ${PKG_CONFIG+y}
16389 then :
16390 WAYLAND_EGL_LIBS=`$PKG_CONFIG --libs wayland-egl 2>/dev/null`
16395 printf "%s\n" "$as_me:${as_lineno-$LINENO}: wayland-egl cflags: $WAYLAND_EGL_CFLAGS" >&5
16396 printf "%s\n" "$as_me:${as_lineno-$LINENO}: wayland-egl libs: $WAYLAND_EGL_LIBS" >&5
16397 if test -s conftest.err; then
16398 printf %s "$as_me:${as_lineno-$LINENO}: wayland-egl errors: " >&5
16399 cat conftest.err >&5
16401 rm -f conftest.err
16402 ac_save_CPPFLAGS=$CPPFLAGS
16403 CPPFLAGS="$CPPFLAGS $WAYLAND_EGL_CFLAGS"
16404 ac_fn_c_check_header_compile "$LINENO" "wayland-egl.h" "ac_cv_header_wayland_egl_h" "$ac_includes_default"
16405 if test "x$ac_cv_header_wayland_egl_h" = xyes
16406 then :
16407 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for wl_egl_window_create in -lwayland-egl" >&5
16408 printf %s "checking for wl_egl_window_create in -lwayland-egl... " >&6; }
16409 if test ${ac_cv_lib_wayland_egl_wl_egl_window_create+y}
16410 then :
16411 printf %s "(cached) " >&6
16412 else $as_nop
16413 ac_check_lib_save_LIBS=$LIBS
16414 LIBS="-lwayland-egl $WAYLAND_EGL_LIBS $LIBS"
16415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16416 /* end confdefs.h. */
16418 /* Override any GCC internal prototype to avoid an error.
16419 Use char because int might match the return type of a GCC
16420 builtin and then its argument prototype would still apply. */
16421 char wl_egl_window_create ();
16423 main (void)
16425 return wl_egl_window_create ();
16427 return 0;
16429 _ACEOF
16430 if ac_fn_c_try_link "$LINENO"
16431 then :
16432 ac_cv_lib_wayland_egl_wl_egl_window_create=yes
16433 else $as_nop
16434 ac_cv_lib_wayland_egl_wl_egl_window_create=no
16436 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16437 conftest$ac_exeext conftest.$ac_ext
16438 LIBS=$ac_check_lib_save_LIBS
16440 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_wayland_egl_wl_egl_window_create" >&5
16441 printf "%s\n" "$ac_cv_lib_wayland_egl_wl_egl_window_create" >&6; }
16442 if test "x$ac_cv_lib_wayland_egl_wl_egl_window_create" = xyes
16443 then :
16445 printf "%s\n" "#define HAVE_LIBWAYLAND_EGL 1" >>confdefs.h
16447 else $as_nop
16448 WAYLAND_EGL_LIBS=""
16453 CPPFLAGS=$ac_save_CPPFLAGS
16455 if test "x$with_wayland" != "x"
16456 then
16457 if test -z "$ac_cv_lib_soname_EGL" -o "$ac_cv_lib_wayland_egl_wl_egl_window_create" != yes
16458 then :
16459 case "x$with_opengl" in
16460 x) as_fn_append wine_notices "|EGL ${notice_platform}development files not found, the Wayland driver won't support OpenGL" ;;
16461 xno) ;;
16462 *) as_fn_error $? "EGL ${notice_platform}development files not found, the Wayland driver won't support OpenGL
16463 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
16464 esac
16470 if test -z "$WAYLAND_CLIENT_LIBS" -o -z "$WAYLAND_SCANNER" -o -z "$XKBCOMMON_LIBS" -o -z "$XKBREGISTRY_LIBS" -o "$ac_cv_header_linux_input_h" = "no"
16471 then :
16472 case "x$with_wayland" in
16473 x) as_fn_append wine_notices "|Wayland ${notice_platform}development files not found, the Wayland driver won't be supported." ;;
16474 xno) ;;
16475 *) as_fn_error $? "Wayland ${notice_platform}development files not found, the Wayland driver won't be supported.
16476 This is an error since --with-wayland was requested." "$LINENO" 5 ;;
16477 esac
16478 enable_winewayland_drv=${enable_winewayland_drv:-no}
16481 if test "$ac_cv_header_CL_cl_h" = "yes"
16482 then
16483 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
16484 printf %s "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
16485 if test ${ac_cv_lib_OpenCL_clGetPlatformInfo+y}
16486 then :
16487 printf %s "(cached) " >&6
16488 else $as_nop
16489 ac_check_lib_save_LIBS=$LIBS
16490 LIBS="-lOpenCL $LIBS"
16491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16492 /* end confdefs.h. */
16494 /* Override any GCC internal prototype to avoid an error.
16495 Use char because int might match the return type of a GCC
16496 builtin and then its argument prototype would still apply. */
16497 char clGetPlatformInfo ();
16499 main (void)
16501 return clGetPlatformInfo ();
16503 return 0;
16505 _ACEOF
16506 if ac_fn_c_try_link "$LINENO"
16507 then :
16508 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
16509 else $as_nop
16510 ac_cv_lib_OpenCL_clGetPlatformInfo=no
16512 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16513 conftest$ac_exeext conftest.$ac_ext
16514 LIBS=$ac_check_lib_save_LIBS
16516 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
16517 printf "%s\n" "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
16518 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
16519 then :
16520 OPENCL_LIBS="-lOpenCL"
16525 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
16526 then :
16527 case "x$with_opencl" in
16528 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
16529 xno) ;;
16530 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
16531 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
16532 esac
16533 enable_opencl=${enable_opencl:-no}
16536 if test "$ac_cv_header_pcap_pcap_h" = "yes"
16537 then
16538 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pcap_init in -lpcap" >&5
16539 printf %s "checking for pcap_init in -lpcap... " >&6; }
16540 if test ${ac_cv_lib_pcap_pcap_init+y}
16541 then :
16542 printf %s "(cached) " >&6
16543 else $as_nop
16544 ac_check_lib_save_LIBS=$LIBS
16545 LIBS="-lpcap $LIBS"
16546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16547 /* end confdefs.h. */
16549 /* Override any GCC internal prototype to avoid an error.
16550 Use char because int might match the return type of a GCC
16551 builtin and then its argument prototype would still apply. */
16552 char pcap_init ();
16554 main (void)
16556 return pcap_init ();
16558 return 0;
16560 _ACEOF
16561 if ac_fn_c_try_link "$LINENO"
16562 then :
16563 ac_cv_lib_pcap_pcap_init=yes
16564 else $as_nop
16565 ac_cv_lib_pcap_pcap_init=no
16567 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16568 conftest$ac_exeext conftest.$ac_ext
16569 LIBS=$ac_check_lib_save_LIBS
16571 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_init" >&5
16572 printf "%s\n" "$ac_cv_lib_pcap_pcap_init" >&6; }
16573 if test "x$ac_cv_lib_pcap_pcap_init" = xyes
16574 then :
16575 PCAP_LIBS="-lpcap"
16580 if test "x$ac_cv_lib_pcap_pcap_init" != xyes
16581 then :
16582 case "x$with_pcap" in
16583 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
16584 xno) ;;
16585 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
16586 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
16587 esac
16588 enable_wpcap=${enable_wpcap:-no}
16591 if test "x$with_pcsclite" != "xno"
16592 then
16593 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for SCardEstablishContext in -lpcsclite" >&5
16594 printf %s "checking for SCardEstablishContext in -lpcsclite... " >&6; }
16595 if test ${ac_cv_lib_pcsclite_SCardEstablishContext+y}
16596 then :
16597 printf %s "(cached) " >&6
16598 else $as_nop
16599 ac_check_lib_save_LIBS=$LIBS
16600 LIBS="-lpcsclite $LIBS"
16601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16602 /* end confdefs.h. */
16604 /* Override any GCC internal prototype to avoid an error.
16605 Use char because int might match the return type of a GCC
16606 builtin and then its argument prototype would still apply. */
16607 char SCardEstablishContext ();
16609 main (void)
16611 return SCardEstablishContext ();
16613 return 0;
16615 _ACEOF
16616 if ac_fn_c_try_link "$LINENO"
16617 then :
16618 ac_cv_lib_pcsclite_SCardEstablishContext=yes
16619 else $as_nop
16620 ac_cv_lib_pcsclite_SCardEstablishContext=no
16622 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16623 conftest$ac_exeext conftest.$ac_ext
16624 LIBS=$ac_check_lib_save_LIBS
16626 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcsclite_SCardEstablishContext" >&5
16627 printf "%s\n" "$ac_cv_lib_pcsclite_SCardEstablishContext" >&6; }
16628 if test "x$ac_cv_lib_pcsclite_SCardEstablishContext" = xyes
16629 then :
16630 PCSCLITE_LIBS="-lpcsclite"
16632 else $as_nop
16633 case $host_os in
16634 darwin*|macosx*) PCSCLITE_LIBS="-framework PCSC"
16636 esac
16640 if test "x$PCSCLITE_LIBS" = x
16641 then :
16642 case "x$with_pcsclite" in
16643 x) as_fn_append wine_notices "|libpcsclite not found, smart cards won't be supported." ;;
16644 xno) ;;
16645 *) as_fn_error $? "libpcsclite not found, smart cards won't be supported.
16646 This is an error since --with-pcsclite was requested." "$LINENO" 5 ;;
16647 esac
16648 enable_winscard=${enable_winscard:-no}
16651 if test "x$with_odbc" != "xno"
16652 then
16653 rm -f conftest.err
16654 if ${ODBC_CFLAGS:+false} :
16655 then :
16656 if test ${PKG_CONFIG+y}
16657 then :
16658 ODBC_CFLAGS=`$PKG_CONFIG --cflags odbc 2>conftest.err`
16662 if ${ODBC_LIBS:+false} :
16663 then :
16664 if test ${PKG_CONFIG+y}
16665 then :
16666 ODBC_LIBS=`$PKG_CONFIG --libs odbc 2>/dev/null`
16670 ODBC_LIBS=${ODBC_LIBS:-"-lodbc"}
16671 printf "%s\n" "$as_me:${as_lineno-$LINENO}: odbc cflags: $ODBC_CFLAGS" >&5
16672 printf "%s\n" "$as_me:${as_lineno-$LINENO}: odbc libs: $ODBC_LIBS" >&5
16673 if test -s conftest.err; then
16674 printf %s "$as_me:${as_lineno-$LINENO}: odbc errors: " >&5
16675 cat conftest.err >&5
16677 rm -f conftest.err
16678 ac_save_CPPFLAGS=$CPPFLAGS
16679 CPPFLAGS="$CPPFLAGS $ODBC_CFLAGS"
16680 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for SQLConnect in -lodbc" >&5
16681 printf %s "checking for SQLConnect in -lodbc... " >&6; }
16682 if test ${ac_cv_lib_odbc_SQLConnect+y}
16683 then :
16684 printf %s "(cached) " >&6
16685 else $as_nop
16686 ac_check_lib_save_LIBS=$LIBS
16687 LIBS="-lodbc $ODBC_LIBS $LIBS"
16688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16689 /* end confdefs.h. */
16691 /* Override any GCC internal prototype to avoid an error.
16692 Use char because int might match the return type of a GCC
16693 builtin and then its argument prototype would still apply. */
16694 char SQLConnect ();
16696 main (void)
16698 return SQLConnect ();
16700 return 0;
16702 _ACEOF
16703 if ac_fn_c_try_link "$LINENO"
16704 then :
16705 ac_cv_lib_odbc_SQLConnect=yes
16706 else $as_nop
16707 ac_cv_lib_odbc_SQLConnect=no
16709 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16710 conftest$ac_exeext conftest.$ac_ext
16711 LIBS=$ac_check_lib_save_LIBS
16713 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_odbc_SQLConnect" >&5
16714 printf "%s\n" "$ac_cv_lib_odbc_SQLConnect" >&6; }
16715 if test "x$ac_cv_lib_odbc_SQLConnect" = xyes
16716 then :
16718 else $as_nop
16719 ODBC_LIBS=""
16722 CPPFLAGS=$ac_save_CPPFLAGS
16725 if test "x$ODBC_LIBS" = x
16726 then :
16727 case "x$with_odbc" in
16728 x) as_fn_append wine_notices "|libodbc not found, ODBC won't be supported." ;;
16729 xno) ;;
16730 *) as_fn_error $? "libodbc not found, ODBC won't be supported.
16731 This is an error since --with-odbc was requested." "$LINENO" 5 ;;
16732 esac
16733 enable_odbc32=${enable_odbc32:-no}
16736 if test "x$with_inotify" != "xno"
16737 then
16738 rm -f conftest.err
16739 if ${INOTIFY_CFLAGS:+false} :
16740 then :
16741 if test ${PKG_CONFIG+y}
16742 then :
16743 INOTIFY_CFLAGS=`$PKG_CONFIG --cflags libinotify 2>conftest.err`
16747 if ${INOTIFY_LIBS:+false} :
16748 then :
16749 if test ${PKG_CONFIG+y}
16750 then :
16751 INOTIFY_LIBS=`$PKG_CONFIG --libs libinotify 2>/dev/null`
16756 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
16757 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
16758 if test -s conftest.err; then
16759 printf %s "$as_me:${as_lineno-$LINENO}: libinotify errors: " >&5
16760 cat conftest.err >&5
16762 rm -f conftest.err
16763 ac_save_CPPFLAGS=$CPPFLAGS
16764 CPPFLAGS="$CPPFLAGS $INOTIFY_CFLAGS"
16765 ac_fn_c_check_header_compile "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
16766 if test "x$ac_cv_header_sys_inotify_h" = xyes
16767 then :
16768 printf "%s\n" "#define HAVE_SYS_INOTIFY_H 1" >>confdefs.h
16772 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
16773 printf %s "checking for inotify_add_watch in -linotify... " >&6; }
16774 if test ${ac_cv_lib_inotify_inotify_add_watch+y}
16775 then :
16776 printf %s "(cached) " >&6
16777 else $as_nop
16778 ac_check_lib_save_LIBS=$LIBS
16779 LIBS="-linotify $INOTIFY_LIBS $LIBS"
16780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16781 /* end confdefs.h. */
16783 /* Override any GCC internal prototype to avoid an error.
16784 Use char because int might match the return type of a GCC
16785 builtin and then its argument prototype would still apply. */
16786 char inotify_add_watch ();
16788 main (void)
16790 return inotify_add_watch ();
16792 return 0;
16794 _ACEOF
16795 if ac_fn_c_try_link "$LINENO"
16796 then :
16797 ac_cv_lib_inotify_inotify_add_watch=yes
16798 else $as_nop
16799 ac_cv_lib_inotify_inotify_add_watch=no
16801 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16802 conftest$ac_exeext conftest.$ac_ext
16803 LIBS=$ac_check_lib_save_LIBS
16805 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
16806 printf "%s\n" "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
16807 if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes
16808 then :
16810 else $as_nop
16811 INOTIFY_LIBS=""
16814 CPPFLAGS=$ac_save_CPPFLAGS
16817 if test "$ac_cv_header_sys_inotify_h" != "yes"
16818 then :
16819 case "x$with_inotify" in
16820 x) as_fn_append wine_notices "|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
16821 xno) ;;
16822 *) as_fn_error $? "libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
16823 This is an error since --with-inotify was requested." "$LINENO" 5 ;;
16824 esac
16828 if test "x$with_dbus" != "xno"
16829 then
16830 rm -f conftest.err
16831 if ${DBUS_CFLAGS:+false} :
16832 then :
16833 if test ${PKG_CONFIG+y}
16834 then :
16835 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>conftest.err`
16839 if ${DBUS_LIBS:+false} :
16840 then :
16841 if test ${PKG_CONFIG+y}
16842 then :
16843 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
16848 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
16849 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
16850 if test -s conftest.err; then
16851 printf %s "$as_me:${as_lineno-$LINENO}: dbus-1 errors: " >&5
16852 cat conftest.err >&5
16854 rm -f conftest.err
16855 ac_save_CPPFLAGS=$CPPFLAGS
16856 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
16857 ac_fn_c_check_header_compile "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
16858 if test "x$ac_cv_header_dbus_dbus_h" = xyes
16859 then :
16860 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
16861 printf %s "checking for -ldbus-1... " >&6; }
16862 if test ${ac_cv_lib_soname_dbus_1+y}
16863 then :
16864 printf %s "(cached) " >&6
16865 else $as_nop
16866 ac_check_soname_save_LIBS=$LIBS
16867 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
16868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16869 /* end confdefs.h. */
16871 /* Override any GCC internal prototype to avoid an error.
16872 Use char because int might match the return type of a GCC
16873 builtin and then its argument prototype would still apply. */
16874 char dbus_connection_close ();
16876 main (void)
16878 return dbus_connection_close ();
16880 return 0;
16882 _ACEOF
16883 if ac_fn_c_try_link "$LINENO"
16884 then :
16885 case "$LIBEXT" in
16886 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16887 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'` ;;
16888 *) 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'`
16889 if ${ac_cv_lib_soname_dbus_1:+false} :
16890 then :
16891 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16892 fi ;;
16893 esac
16894 else $as_nop
16895 ac_cv_lib_soname_dbus_1=
16897 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16898 conftest$ac_exeext conftest.$ac_ext
16899 LIBS=$ac_check_soname_save_LIBS
16901 if ${ac_cv_lib_soname_dbus_1:+false} :
16902 then :
16903 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16904 printf "%s\n" "not found" >&6; }
16905 DBUS_CFLAGS=""
16906 else $as_nop
16907 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
16908 printf "%s\n" "$ac_cv_lib_soname_dbus_1" >&6; }
16910 printf "%s\n" "#define SONAME_LIBDBUS_1 \"$ac_cv_lib_soname_dbus_1\"" >>confdefs.h
16914 else $as_nop
16915 DBUS_CFLAGS=""
16918 CPPFLAGS=$ac_save_CPPFLAGS
16921 case $host_os in
16922 darwin*|macosx*) ;;
16923 *) if test "x$ac_cv_lib_soname_dbus_1" = "x"
16924 then :
16925 case "x$with_dbus" in
16926 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
16927 xno) ;;
16928 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
16929 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
16930 esac
16932 fi ;;
16933 esac
16935 if test "x$with_gnutls" != "xno"
16936 then
16937 rm -f conftest.err
16938 if ${GNUTLS_CFLAGS:+false} :
16939 then :
16940 if test ${PKG_CONFIG+y}
16941 then :
16942 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>conftest.err`
16946 if ${GNUTLS_LIBS:+false} :
16947 then :
16948 if test ${PKG_CONFIG+y}
16949 then :
16950 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
16954 GNUTLS_LIBS=${GNUTLS_LIBS:-"-lgnutls"}
16955 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
16956 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
16957 if test -s conftest.err; then
16958 printf %s "$as_me:${as_lineno-$LINENO}: gnutls errors: " >&5
16959 cat conftest.err >&5
16961 rm -f conftest.err
16962 ac_save_CPPFLAGS=$CPPFLAGS
16963 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
16964 ac_fn_c_check_header_compile "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
16965 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
16966 then :
16967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16968 /* end confdefs.h. */
16969 #include <gnutls/gnutls.h>
16970 #include <gnutls/crypto.h>
16972 main (void)
16974 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
16976 return 0;
16978 _ACEOF
16979 if ac_fn_c_try_compile "$LINENO"
16980 then :
16981 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
16982 printf %s "checking for -lgnutls... " >&6; }
16983 if test ${ac_cv_lib_soname_gnutls+y}
16984 then :
16985 printf %s "(cached) " >&6
16986 else $as_nop
16987 ac_check_soname_save_LIBS=$LIBS
16988 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
16989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16990 /* end confdefs.h. */
16992 /* Override any GCC internal prototype to avoid an error.
16993 Use char because int might match the return type of a GCC
16994 builtin and then its argument prototype would still apply. */
16995 char gnutls_global_init ();
16997 main (void)
16999 return gnutls_global_init ();
17001 return 0;
17003 _ACEOF
17004 if ac_fn_c_try_link "$LINENO"
17005 then :
17006 case "$LIBEXT" in
17007 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17008 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'` ;;
17009 *) 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'`
17010 if ${ac_cv_lib_soname_gnutls:+false} :
17011 then :
17012 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'`
17013 fi ;;
17014 esac
17015 else $as_nop
17016 ac_cv_lib_soname_gnutls=
17018 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17019 conftest$ac_exeext conftest.$ac_ext
17020 LIBS=$ac_check_soname_save_LIBS
17022 if ${ac_cv_lib_soname_gnutls:+false} :
17023 then :
17024 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17025 printf "%s\n" "not found" >&6; }
17026 GNUTLS_CFLAGS=""
17027 else $as_nop
17028 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
17029 printf "%s\n" "$ac_cv_lib_soname_gnutls" >&6; }
17031 printf "%s\n" "#define SONAME_LIBGNUTLS \"$ac_cv_lib_soname_gnutls\"" >>confdefs.h
17035 ac_wine_check_funcs_save_LIBS="$LIBS"
17036 LIBS="$LIBS $GNUTLS_LIBS"
17038 for ac_func in gnutls_cipher_init
17039 do :
17040 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
17041 if test "x$ac_cv_func_gnutls_cipher_init" = xyes
17042 then :
17043 printf "%s\n" "#define HAVE_GNUTLS_CIPHER_INIT 1" >>confdefs.h
17045 else $as_nop
17046 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
17049 done
17050 LIBS="$ac_wine_check_funcs_save_LIBS"
17052 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
17053 else $as_nop
17054 GNUTLS_CFLAGS=""
17057 CPPFLAGS=$ac_save_CPPFLAGS
17060 if test "x$ac_cv_lib_soname_gnutls" = "x"
17061 then :
17062 case "x$with_gnutls" in
17063 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
17064 xno) ;;
17065 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
17066 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
17067 esac
17071 if test "x$with_sane" != "xno"
17072 then
17073 rm -f conftest.err
17074 if ${SANE_CFLAGS:+false} :
17075 then :
17076 if test ${PKG_CONFIG+y}
17077 then :
17078 SANE_CFLAGS=`$PKG_CONFIG --cflags sane-backends 2>conftest.err`
17081 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
17082 if ${SANE_LIBS:+false} :
17083 then :
17084 if test ${PKG_CONFIG+y}
17085 then :
17086 SANE_LIBS=`$PKG_CONFIG --libs sane-backends 2>/dev/null`
17089 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
17091 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends cflags: $SANE_CFLAGS" >&5
17092 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends libs: $SANE_LIBS" >&5
17093 if test -s conftest.err; then
17094 printf %s "$as_me:${as_lineno-$LINENO}: sane-backends errors: " >&5
17095 cat conftest.err >&5
17097 rm -f conftest.err
17098 ac_save_CPPFLAGS=$CPPFLAGS
17099 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
17100 ac_fn_c_check_header_compile "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
17101 if test "x$ac_cv_header_sane_sane_h" = xyes
17102 then :
17103 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sane_init in -lsane" >&5
17104 printf %s "checking for sane_init in -lsane... " >&6; }
17105 if test ${ac_cv_lib_sane_sane_init+y}
17106 then :
17107 printf %s "(cached) " >&6
17108 else $as_nop
17109 ac_check_lib_save_LIBS=$LIBS
17110 LIBS="-lsane $SANE_LIBS $LIBS"
17111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17112 /* end confdefs.h. */
17114 /* Override any GCC internal prototype to avoid an error.
17115 Use char because int might match the return type of a GCC
17116 builtin and then its argument prototype would still apply. */
17117 char sane_init ();
17119 main (void)
17121 return sane_init ();
17123 return 0;
17125 _ACEOF
17126 if ac_fn_c_try_link "$LINENO"
17127 then :
17128 ac_cv_lib_sane_sane_init=yes
17129 else $as_nop
17130 ac_cv_lib_sane_sane_init=no
17132 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17133 conftest$ac_exeext conftest.$ac_ext
17134 LIBS=$ac_check_lib_save_LIBS
17136 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sane_sane_init" >&5
17137 printf "%s\n" "$ac_cv_lib_sane_sane_init" >&6; }
17138 if test "x$ac_cv_lib_sane_sane_init" = xyes
17139 then :
17145 CPPFLAGS=$ac_save_CPPFLAGS
17148 if test "$ac_cv_lib_sane_sane_init" != "yes"
17149 then :
17150 case "x$with_sane" in
17151 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
17152 xno) ;;
17153 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
17154 This is an error since --with-sane was requested." "$LINENO" 5 ;;
17155 esac
17156 enable_sane_ds=${enable_sane_ds:-no}
17159 if test "x$with_usb" != "xno"
17160 then
17161 rm -f conftest.err
17162 if ${USB_CFLAGS:+false} :
17163 then :
17164 if test ${PKG_CONFIG+y}
17165 then :
17166 USB_CFLAGS=`$PKG_CONFIG --cflags libusb-1.0 2>conftest.err`
17170 if ${USB_LIBS:+false} :
17171 then :
17172 if test ${PKG_CONFIG+y}
17173 then :
17174 USB_LIBS=`$PKG_CONFIG --libs libusb-1.0 2>/dev/null`
17178 USB_LIBS=${USB_LIBS:-"-lusb-1.0"}
17179 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 cflags: $USB_CFLAGS" >&5
17180 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 libs: $USB_LIBS" >&5
17181 if test -s conftest.err; then
17182 printf %s "$as_me:${as_lineno-$LINENO}: libusb-1.0 errors: " >&5
17183 cat conftest.err >&5
17185 rm -f conftest.err
17186 ac_save_CPPFLAGS=$CPPFLAGS
17187 CPPFLAGS="$CPPFLAGS $USB_CFLAGS"
17188 ac_fn_c_check_header_compile "$LINENO" "libusb.h" "ac_cv_header_libusb_h" "$ac_includes_default"
17189 if test "x$ac_cv_header_libusb_h" = xyes
17190 then :
17191 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libusb_interrupt_event_handler in -lusb-1.0" >&5
17192 printf %s "checking for libusb_interrupt_event_handler in -lusb-1.0... " >&6; }
17193 if test ${ac_cv_lib_usb_1_0_libusb_interrupt_event_handler+y}
17194 then :
17195 printf %s "(cached) " >&6
17196 else $as_nop
17197 ac_check_lib_save_LIBS=$LIBS
17198 LIBS="-lusb-1.0 $USB_LIBS $LIBS"
17199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17200 /* end confdefs.h. */
17202 /* Override any GCC internal prototype to avoid an error.
17203 Use char because int might match the return type of a GCC
17204 builtin and then its argument prototype would still apply. */
17205 char libusb_interrupt_event_handler ();
17207 main (void)
17209 return libusb_interrupt_event_handler ();
17211 return 0;
17213 _ACEOF
17214 if ac_fn_c_try_link "$LINENO"
17215 then :
17216 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=yes
17217 else $as_nop
17218 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=no
17220 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17221 conftest$ac_exeext conftest.$ac_ext
17222 LIBS=$ac_check_lib_save_LIBS
17224 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&5
17225 printf "%s\n" "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&6; }
17226 if test "x$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" = xyes
17227 then :
17229 else $as_nop
17230 USB_LIBS=""
17233 else $as_nop
17234 USB_LIBS=""
17237 CPPFLAGS=$ac_save_CPPFLAGS
17240 if test "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" != "yes"
17241 then :
17242 case "x$with_usb" in
17243 x) as_fn_append wine_notices "|libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported." ;;
17244 xno) ;;
17245 *) as_fn_error $? "libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported.
17246 This is an error since --with-usb was requested." "$LINENO" 5 ;;
17247 esac
17248 enable_wineusb_sys=${enable_wineusb_sys:-no}
17251 if test "x$with_v4l2" != "xno"
17252 then
17253 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
17254 printf %s "checking for -lv4l2... " >&6; }
17255 if test ${ac_cv_lib_soname_v4l2+y}
17256 then :
17257 printf %s "(cached) " >&6
17258 else $as_nop
17259 ac_check_soname_save_LIBS=$LIBS
17260 LIBS="-lv4l2 $LIBS"
17261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17262 /* end confdefs.h. */
17264 /* Override any GCC internal prototype to avoid an error.
17265 Use char because int might match the return type of a GCC
17266 builtin and then its argument prototype would still apply. */
17267 char v4l2_open ();
17269 main (void)
17271 return v4l2_open ();
17273 return 0;
17275 _ACEOF
17276 if ac_fn_c_try_link "$LINENO"
17277 then :
17278 case "$LIBEXT" in
17279 dll) ac_cv_lib_soname_v4l2=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17280 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'` ;;
17281 *) ac_cv_lib_soname_v4l2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17282 if ${ac_cv_lib_soname_v4l2:+false} :
17283 then :
17284 ac_cv_lib_soname_v4l2=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17285 fi ;;
17286 esac
17287 else $as_nop
17288 ac_cv_lib_soname_v4l2=
17290 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17291 conftest$ac_exeext conftest.$ac_ext
17292 LIBS=$ac_check_soname_save_LIBS
17294 if ${ac_cv_lib_soname_v4l2:+false} :
17295 then :
17296 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17297 printf "%s\n" "not found" >&6; }
17299 else $as_nop
17300 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
17301 printf "%s\n" "$ac_cv_lib_soname_v4l2" >&6; }
17303 printf "%s\n" "#define SONAME_LIBV4L2 \"$ac_cv_lib_soname_v4l2\"" >>confdefs.h
17308 if test "x$ac_cv_lib_soname_v4l2" = "x"
17309 then :
17310 case "x$with_v4l2" in
17311 x) as_fn_append wine_notices "|libv4l2 ${notice_platform}development files not found." ;;
17312 xno) ;;
17313 *) as_fn_error $? "libv4l2 ${notice_platform}development files not found.
17314 This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
17315 esac
17319 if test "x$with_gphoto" != "xno"
17320 then
17321 rm -f conftest.err
17322 if ${GPHOTO2_CFLAGS:+false} :
17323 then :
17324 if test ${PKG_CONFIG+y}
17325 then :
17326 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>conftest.err`
17329 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
17330 if ${GPHOTO2_LIBS:+false} :
17331 then :
17332 if test ${PKG_CONFIG+y}
17333 then :
17334 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
17337 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
17338 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
17339 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
17340 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
17341 if test -s conftest.err; then
17342 printf %s "$as_me:${as_lineno-$LINENO}: libgphoto2 errors: " >&5
17343 cat conftest.err >&5
17345 rm -f conftest.err
17346 ac_save_CPPFLAGS=$CPPFLAGS
17347 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
17348 ac_fn_c_check_header_compile "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
17349 if test "x$ac_cv_header_gphoto2_camera_h" = xyes
17350 then :
17351 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
17352 printf %s "checking for gp_camera_new in -lgphoto2... " >&6; }
17353 if test ${ac_cv_lib_gphoto2_gp_camera_new+y}
17354 then :
17355 printf %s "(cached) " >&6
17356 else $as_nop
17357 ac_check_lib_save_LIBS=$LIBS
17358 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
17359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17360 /* end confdefs.h. */
17362 /* Override any GCC internal prototype to avoid an error.
17363 Use char because int might match the return type of a GCC
17364 builtin and then its argument prototype would still apply. */
17365 char gp_camera_new ();
17367 main (void)
17369 return gp_camera_new ();
17371 return 0;
17373 _ACEOF
17374 if ac_fn_c_try_link "$LINENO"
17375 then :
17376 ac_cv_lib_gphoto2_gp_camera_new=yes
17377 else $as_nop
17378 ac_cv_lib_gphoto2_gp_camera_new=no
17380 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17381 conftest$ac_exeext conftest.$ac_ext
17382 LIBS=$ac_check_lib_save_LIBS
17384 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
17385 printf "%s\n" "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
17386 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
17387 then :
17393 CPPFLAGS=$ac_save_CPPFLAGS
17395 rm -f conftest.err
17396 if ${GPHOTO2_PORT_CFLAGS:+false} :
17397 then :
17398 if test ${PKG_CONFIG+y}
17399 then :
17400 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>conftest.err`
17403 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
17404 if ${GPHOTO2_PORT_LIBS:+false} :
17405 then :
17406 if test ${PKG_CONFIG+y}
17407 then :
17408 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
17411 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
17412 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
17413 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
17414 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
17415 if test -s conftest.err; then
17416 printf %s "$as_me:${as_lineno-$LINENO}: libgphoto2_port errors: " >&5
17417 cat conftest.err >&5
17419 rm -f conftest.err
17420 ac_save_CPPFLAGS=$CPPFLAGS
17421 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
17422 ac_fn_c_check_header_compile "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
17423 if test "x$ac_cv_header_gphoto2_port_h" = xyes
17424 then :
17425 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
17426 printf %s "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
17427 if test ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+y}
17428 then :
17429 printf %s "(cached) " >&6
17430 else $as_nop
17431 ac_check_lib_save_LIBS=$LIBS
17432 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
17433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17434 /* end confdefs.h. */
17436 /* Override any GCC internal prototype to avoid an error.
17437 Use char because int might match the return type of a GCC
17438 builtin and then its argument prototype would still apply. */
17439 char gp_port_info_list_new ();
17441 main (void)
17443 return gp_port_info_list_new ();
17445 return 0;
17447 _ACEOF
17448 if ac_fn_c_try_link "$LINENO"
17449 then :
17450 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
17451 else $as_nop
17452 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
17454 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17455 conftest$ac_exeext conftest.$ac_ext
17456 LIBS=$ac_check_lib_save_LIBS
17458 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
17459 printf "%s\n" "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
17460 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes
17461 then :
17463 printf "%s\n" "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
17465 else $as_nop
17466 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
17469 else $as_nop
17470 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
17473 CPPFLAGS=$ac_save_CPPFLAGS
17476 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"
17477 then :
17478 case "x$with_gphoto" in
17479 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
17480 xno) ;;
17481 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
17482 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
17483 esac
17484 enable_gphoto2_ds=${enable_gphoto2_ds:-no}
17486 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"
17487 then :
17488 case "x$with_gphoto" in
17489 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
17490 xno) ;;
17491 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
17492 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
17493 esac
17498 if test "$ac_cv_header_resolv_h" = "yes"
17499 then
17500 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
17501 printf %s "checking for resolver library... " >&6; }
17502 if test ${ac_cv_have_resolv+y}
17503 then :
17504 printf %s "(cached) " >&6
17505 else $as_nop
17506 ac_save_LIBS="$LIBS"
17507 for lib in '' -lresolv
17509 LIBS="$lib $ac_save_LIBS"
17510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17511 /* end confdefs.h. */
17512 #ifdef HAVE_NETINET_IN_H
17513 #include <netinet/in.h>
17514 #endif
17515 #include <resolv.h>
17517 main (void)
17519 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0); ns_initparse(0,0,0)
17521 return 0;
17523 _ACEOF
17524 if ac_fn_c_try_link "$LINENO"
17525 then :
17526 ac_cv_have_resolv=${lib:-"none required"}
17527 else $as_nop
17528 ac_cv_have_resolv="not found"
17530 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17531 conftest$ac_exeext conftest.$ac_ext
17532 test "x$ac_cv_have_resolv" = "xnot found" || break
17533 done
17534 LIBS="$ac_save_LIBS"
17536 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
17537 printf "%s\n" "$ac_cv_have_resolv" >&6; }
17539 case "$ac_cv_have_resolv" in
17540 "not found") ;;
17541 "none required")
17543 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
17546 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
17548 RESOLV_LIBS=$ac_cv_have_resolv
17550 esac
17552 if test "x$ac_cv_have_resolv" != "xnot found"
17553 then
17554 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for res_getservers" >&5
17555 printf %s "checking for res_getservers... " >&6; }
17556 if test ${ac_cv_have_res_getservers+y}
17557 then :
17558 printf %s "(cached) " >&6
17559 else $as_nop
17560 ac_save_LIBS="$LIBS"
17561 LIBS="$RESOLV_LIBS $LIBS"
17562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17563 /* end confdefs.h. */
17564 #include <resolv.h>
17566 main (void)
17568 res_getservers(NULL, NULL, 0);
17570 return 0;
17572 _ACEOF
17573 if ac_fn_c_try_link "$LINENO"
17574 then :
17575 ac_cv_have_res_getservers=yes
17576 else $as_nop
17577 ac_cv_have_res_getservers=no
17579 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17580 conftest$ac_exeext conftest.$ac_ext
17581 LIBS="$ac_save_LIBS"
17583 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_res_getservers" >&5
17584 printf "%s\n" "$ac_cv_have_res_getservers" >&6; }
17585 if test "$ac_cv_have_res_getservers" = "yes"
17586 then
17588 printf "%s\n" "#define HAVE_RES_GETSERVERS 1" >>confdefs.h
17594 if test "x$with_freetype" != "xno"
17595 then
17596 rm -f conftest.err
17597 if ${FREETYPE_CFLAGS:+false} :
17598 then :
17599 if test ${PKG_CONFIG+y}
17600 then :
17601 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>conftest.err`
17604 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
17605 if ${FREETYPE_LIBS:+false} :
17606 then :
17607 if test ${PKG_CONFIG+y}
17608 then :
17609 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
17612 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
17613 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
17614 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
17615 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
17616 if test -s conftest.err; then
17617 printf %s "$as_me:${as_lineno-$LINENO}: freetype2 errors: " >&5
17618 cat conftest.err >&5
17620 rm -f conftest.err
17621 ac_save_CPPFLAGS=$CPPFLAGS
17622 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
17623 ac_fn_c_check_header_compile "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
17624 if test "x$ac_cv_header_ft2build_h" = xyes
17625 then :
17626 printf "%s\n" "#define HAVE_FT2BUILD_H 1" >>confdefs.h
17630 if test "$ac_cv_header_ft2build_h" = "yes"
17631 then
17632 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
17633 printf %s "checking for -lfreetype... " >&6; }
17634 if test ${ac_cv_lib_soname_freetype+y}
17635 then :
17636 printf %s "(cached) " >&6
17637 else $as_nop
17638 ac_check_soname_save_LIBS=$LIBS
17639 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
17640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17641 /* end confdefs.h. */
17643 /* Override any GCC internal prototype to avoid an error.
17644 Use char because int might match the return type of a GCC
17645 builtin and then its argument prototype would still apply. */
17646 char FT_Init_FreeType ();
17648 main (void)
17650 return FT_Init_FreeType ();
17652 return 0;
17654 _ACEOF
17655 if ac_fn_c_try_link "$LINENO"
17656 then :
17657 case "$LIBEXT" in
17658 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17659 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'` ;;
17660 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17661 if ${ac_cv_lib_soname_freetype:+false} :
17662 then :
17663 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17664 fi ;;
17665 esac
17666 else $as_nop
17667 ac_cv_lib_soname_freetype=
17669 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17670 conftest$ac_exeext conftest.$ac_ext
17671 LIBS=$ac_check_soname_save_LIBS
17673 if ${ac_cv_lib_soname_freetype:+false} :
17674 then :
17675 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17676 printf "%s\n" "not found" >&6; }
17677 FREETYPE_LIBS=""
17678 else $as_nop
17679 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
17680 printf "%s\n" "$ac_cv_lib_soname_freetype" >&6; }
17682 printf "%s\n" "#define SONAME_LIBFREETYPE \"$ac_cv_lib_soname_freetype\"" >>confdefs.h
17685 printf "%s\n" "#define HAVE_FREETYPE 1" >>confdefs.h
17687 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
17688 #include FT_MODULE_H
17690 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
17691 then :
17693 printf "%s\n" "#define HAVE_FT_TRUETYPEENGINETYPE 1" >>confdefs.h
17699 else
17700 FREETYPE_CFLAGS=""
17701 FREETYPE_LIBS=""
17703 CPPFLAGS=$ac_save_CPPFLAGS
17706 if test "x$ac_cv_lib_soname_freetype" = x
17707 then :
17708 case "x$with_freetype" in
17709 xno) ;;
17710 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
17711 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
17712 esac
17713 enable_fonts=${enable_fonts:-no}
17716 ac_wine_check_funcs_save_LIBS="$LIBS"
17717 LIBS="$LIBS $PTHREAD_LIBS"
17718 ac_fn_c_check_func "$LINENO" "pthread_getthreadid_np" "ac_cv_func_pthread_getthreadid_np"
17719 if test "x$ac_cv_func_pthread_getthreadid_np" = xyes
17720 then :
17721 printf "%s\n" "#define HAVE_PTHREAD_GETTHREADID_NP 1" >>confdefs.h
17725 LIBS="$ac_wine_check_funcs_save_LIBS"
17727 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
17728 then
17729 if test "$ac_cv_header_gettext_po_h" = "yes"
17730 then
17731 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
17732 printf %s "checking for po_message_msgctxt in -lgettextpo... " >&6; }
17733 if test ${ac_cv_lib_gettextpo_po_message_msgctxt+y}
17734 then :
17735 printf %s "(cached) " >&6
17736 else $as_nop
17737 ac_check_lib_save_LIBS=$LIBS
17738 LIBS="-lgettextpo $LIBS"
17739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17740 /* end confdefs.h. */
17742 /* Override any GCC internal prototype to avoid an error.
17743 Use char because int might match the return type of a GCC
17744 builtin and then its argument prototype would still apply. */
17745 char po_message_msgctxt ();
17747 main (void)
17749 return po_message_msgctxt ();
17751 return 0;
17753 _ACEOF
17754 if ac_fn_c_try_link "$LINENO"
17755 then :
17756 ac_cv_lib_gettextpo_po_message_msgctxt=yes
17757 else $as_nop
17758 ac_cv_lib_gettextpo_po_message_msgctxt=no
17760 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17761 conftest$ac_exeext conftest.$ac_ext
17762 LIBS=$ac_check_lib_save_LIBS
17764 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
17765 printf "%s\n" "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
17766 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
17767 then :
17769 printf "%s\n" "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
17771 GETTEXTPO_LIBS="-lgettextpo"
17776 if test "x$GETTEXTPO_LIBS" = "x"
17777 then :
17778 case "x$with_gettextpo" in
17779 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
17780 xno) ;;
17781 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
17782 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
17783 esac
17786 if test "$srcdir" != .
17787 then :
17788 case "x$with_gettextpo" in
17789 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
17790 xno) ;;
17791 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
17792 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
17793 esac
17798 if test "x$with_pulse" != "xno";
17799 then
17800 rm -f conftest.err
17801 if ${PULSE_CFLAGS:+false} :
17802 then :
17803 if test ${PKG_CONFIG+y}
17804 then :
17805 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>conftest.err`
17809 if ${PULSE_LIBS:+false} :
17810 then :
17811 if test ${PKG_CONFIG+y}
17812 then :
17813 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
17818 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
17819 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
17820 if test -s conftest.err; then
17821 printf %s "$as_me:${as_lineno-$LINENO}: libpulse errors: " >&5
17822 cat conftest.err >&5
17824 rm -f conftest.err
17825 ac_save_CPPFLAGS=$CPPFLAGS
17826 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
17827 ac_fn_c_check_header_compile "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
17828 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes
17829 then :
17830 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
17831 printf %s "checking for pa_stream_is_corked in -lpulse... " >&6; }
17832 if test ${ac_cv_lib_pulse_pa_stream_is_corked+y}
17833 then :
17834 printf %s "(cached) " >&6
17835 else $as_nop
17836 ac_check_lib_save_LIBS=$LIBS
17837 LIBS="-lpulse $PULSE_LIBS $LIBS"
17838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17839 /* end confdefs.h. */
17841 /* Override any GCC internal prototype to avoid an error.
17842 Use char because int might match the return type of a GCC
17843 builtin and then its argument prototype would still apply. */
17844 char pa_stream_is_corked ();
17846 main (void)
17848 return pa_stream_is_corked ();
17850 return 0;
17852 _ACEOF
17853 if ac_fn_c_try_link "$LINENO"
17854 then :
17855 ac_cv_lib_pulse_pa_stream_is_corked=yes
17856 else $as_nop
17857 ac_cv_lib_pulse_pa_stream_is_corked=no
17859 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17860 conftest$ac_exeext conftest.$ac_ext
17861 LIBS=$ac_check_lib_save_LIBS
17863 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
17864 printf "%s\n" "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
17865 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes
17866 then :
17868 else $as_nop
17869 PULSE_LIBS=""
17872 else $as_nop
17873 PULSE_LIBS=""
17876 CPPFLAGS=$ac_save_CPPFLAGS
17879 if test -z "$PULSE_LIBS"
17880 then :
17881 case "x$with_pulse" in
17882 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
17883 xno) ;;
17884 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
17885 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
17886 esac
17887 enable_winepulse_drv=${enable_winepulse_drv:-no}
17890 if test "x$with_gstreamer" != "xno"
17891 then
17892 rm -f conftest.err
17893 if ${GSTREAMER_CFLAGS:+false} :
17894 then :
17895 if test ${PKG_CONFIG+y}
17896 then :
17897 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 2>conftest.err`
17901 if ${GSTREAMER_LIBS:+false} :
17902 then :
17903 if test ${PKG_CONFIG+y}
17904 then :
17905 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 2>/dev/null`
17910 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
17911 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
17912 if test -s conftest.err; then
17913 printf %s "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 errors: " >&5
17914 cat conftest.err >&5
17916 rm -f conftest.err
17917 ac_save_CPPFLAGS=$CPPFLAGS
17918 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
17919 ac_fn_c_check_header_compile "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
17920 if test "x$ac_cv_header_gst_gst_h" = xyes
17921 then :
17922 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
17923 printf %s "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
17924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17925 /* end confdefs.h. */
17926 #include <gst/gst.h>
17928 main (void)
17930 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
17932 return 0;
17934 _ACEOF
17935 if ac_fn_c_try_compile "$LINENO"
17936 then :
17937 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17938 printf "%s\n" "yes" >&6; }
17939 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
17940 printf %s "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
17941 if test ${ac_cv_lib_gstreamer_1_0_gst_pad_new+y}
17942 then :
17943 printf %s "(cached) " >&6
17944 else $as_nop
17945 ac_check_lib_save_LIBS=$LIBS
17946 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
17947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17948 /* end confdefs.h. */
17950 /* Override any GCC internal prototype to avoid an error.
17951 Use char because int might match the return type of a GCC
17952 builtin and then its argument prototype would still apply. */
17953 char gst_pad_new ();
17955 main (void)
17957 return gst_pad_new ();
17959 return 0;
17961 _ACEOF
17962 if ac_fn_c_try_link "$LINENO"
17963 then :
17964 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
17965 else $as_nop
17966 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
17968 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17969 conftest$ac_exeext conftest.$ac_ext
17970 LIBS=$ac_check_lib_save_LIBS
17972 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
17973 printf "%s\n" "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
17974 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes
17975 then :
17979 else $as_nop
17980 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
17981 printf "%s\n" "no" >&6; }
17982 ac_glib2_broken=yes
17983 enable_winegstreamer=${enable_winegstreamer:-no}
17984 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
17986 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
17989 CPPFLAGS=$ac_save_CPPFLAGS
17992 if test "x$ac_glib2_broken" != xyes -a "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" != xyes
17993 then :
17994 case "x$with_gstreamer" in
17995 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
17996 xno) ;;
17997 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
17998 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
17999 esac
18000 enable_winegstreamer=${enable_winegstreamer:-no}
18003 ALSA_LIBS=""
18005 if test "x$with_alsa" != "xno"
18006 then
18007 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
18008 printf %s "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
18009 if test ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+y}
18010 then :
18011 printf %s "(cached) " >&6
18012 else $as_nop
18013 ac_check_lib_save_LIBS=$LIBS
18014 LIBS="-lasound $LIBS"
18015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18016 /* end confdefs.h. */
18018 /* Override any GCC internal prototype to avoid an error.
18019 Use char because int might match the return type of a GCC
18020 builtin and then its argument prototype would still apply. */
18021 char snd_pcm_hw_params_get_access_mask ();
18023 main (void)
18025 return snd_pcm_hw_params_get_access_mask ();
18027 return 0;
18029 _ACEOF
18030 if ac_fn_c_try_link "$LINENO"
18031 then :
18032 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
18033 else $as_nop
18034 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
18036 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18037 conftest$ac_exeext conftest.$ac_ext
18038 LIBS=$ac_check_lib_save_LIBS
18040 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
18041 printf "%s\n" "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
18042 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
18043 then :
18044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18045 /* end confdefs.h. */
18046 #include <alsa/asoundlib.h>
18048 main (void)
18050 snd_pcm_hw_params_get_access_mask(NULL, NULL)
18052 return 0;
18054 _ACEOF
18055 if ac_fn_c_try_compile "$LINENO"
18056 then :
18057 ALSA_LIBS="-lasound"
18059 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
18063 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
18065 if test "x$with_oss" != xno
18066 then
18067 ac_save_CPPFLAGS="$CPPFLAGS"
18068 if test -f /etc/oss.conf
18069 then
18070 . /etc/oss.conf
18072 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
18073 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
18074 ac_fn_c_check_header_compile "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
18075 if test "x$ac_cv_header_sys_soundcard_h" = xyes
18076 then :
18077 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
18079 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
18080 then :
18082 printf "%s\n" "#define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1" >>confdefs.h
18084 OSS4_CFLAGS="$ac_oss_incl"
18086 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
18087 printf %s "checking for _oss_ioctl in -lossaudio... " >&6; }
18088 if test ${ac_cv_lib_ossaudio__oss_ioctl+y}
18089 then :
18090 printf %s "(cached) " >&6
18091 else $as_nop
18092 ac_check_lib_save_LIBS=$LIBS
18093 LIBS="-lossaudio $LIBS"
18094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18095 /* end confdefs.h. */
18097 /* Override any GCC internal prototype to avoid an error.
18098 Use char because int might match the return type of a GCC
18099 builtin and then its argument prototype would still apply. */
18100 char _oss_ioctl ();
18102 main (void)
18104 return _oss_ioctl ();
18106 return 0;
18108 _ACEOF
18109 if ac_fn_c_try_link "$LINENO"
18110 then :
18111 ac_cv_lib_ossaudio__oss_ioctl=yes
18112 else $as_nop
18113 ac_cv_lib_ossaudio__oss_ioctl=no
18115 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18116 conftest$ac_exeext conftest.$ac_ext
18117 LIBS=$ac_check_lib_save_LIBS
18119 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
18120 printf "%s\n" "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
18121 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
18122 then :
18123 OSS4_LIBS="-lossaudio"
18131 CPPFLAGS="$ac_save_CPPFLAGS"
18133 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
18134 then :
18135 case "x$with_oss" in
18136 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
18137 xno) ;;
18138 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
18139 This is an error since --with-oss was requested." "$LINENO" 5 ;;
18140 esac
18141 enable_wineoss_drv=${enable_wineoss_drv:-no}
18144 if test "x$with_udev" != "xno"
18145 then
18146 rm -f conftest.err
18147 if ${UDEV_CFLAGS:+false} :
18148 then :
18149 if test ${PKG_CONFIG+y}
18150 then :
18151 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>conftest.err`
18155 if ${UDEV_LIBS:+false} :
18156 then :
18157 if test ${PKG_CONFIG+y}
18158 then :
18159 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
18163 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
18164 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
18165 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
18166 if test -s conftest.err; then
18167 printf %s "$as_me:${as_lineno-$LINENO}: libudev errors: " >&5
18168 cat conftest.err >&5
18170 rm -f conftest.err
18171 ac_save_CPPFLAGS=$CPPFLAGS
18172 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
18173 for ac_header in libudev.h
18174 do :
18175 ac_fn_c_check_header_compile "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
18176 if test "x$ac_cv_header_libudev_h" = xyes
18177 then :
18178 printf "%s\n" "#define HAVE_LIBUDEV_H 1" >>confdefs.h
18179 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
18180 printf %s "checking for udev_new in -ludev... " >&6; }
18181 if test ${ac_cv_lib_udev_udev_new+y}
18182 then :
18183 printf %s "(cached) " >&6
18184 else $as_nop
18185 ac_check_lib_save_LIBS=$LIBS
18186 LIBS="-ludev $UDEV_LIBS $LIBS"
18187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18188 /* end confdefs.h. */
18190 /* Override any GCC internal prototype to avoid an error.
18191 Use char because int might match the return type of a GCC
18192 builtin and then its argument prototype would still apply. */
18193 char udev_new ();
18195 main (void)
18197 return udev_new ();
18199 return 0;
18201 _ACEOF
18202 if ac_fn_c_try_link "$LINENO"
18203 then :
18204 ac_cv_lib_udev_udev_new=yes
18205 else $as_nop
18206 ac_cv_lib_udev_udev_new=no
18208 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18209 conftest$ac_exeext conftest.$ac_ext
18210 LIBS=$ac_check_lib_save_LIBS
18212 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
18213 printf "%s\n" "$ac_cv_lib_udev_udev_new" >&6; }
18214 if test "x$ac_cv_lib_udev_udev_new" = xyes
18215 then :
18217 printf "%s\n" "#define HAVE_UDEV 1" >>confdefs.h
18219 else $as_nop
18220 UDEV_LIBS=""
18223 else $as_nop
18224 UDEV_LIBS=""
18227 done
18228 CPPFLAGS=$ac_save_CPPFLAGS
18231 if test "x$UDEV_LIBS" = "x"
18232 then :
18233 case "x$with_udev" in
18234 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
18235 xno) ;;
18236 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
18237 This is an error since --with-udev was requested." "$LINENO" 5 ;;
18238 esac
18242 if test $HOST_ARCH = x86_64
18243 then
18244 if test "x$with_unwind" != xno
18245 then
18246 rm -f conftest.err
18247 if ${UNWIND_CFLAGS:+false} :
18248 then :
18249 if test ${PKG_CONFIG+y}
18250 then :
18251 UNWIND_CFLAGS=`$PKG_CONFIG --cflags libunwind 2>conftest.err`
18255 if ${UNWIND_LIBS:+false} :
18256 then :
18257 if test ${PKG_CONFIG+y}
18258 then :
18259 UNWIND_LIBS=`$PKG_CONFIG --libs libunwind 2>/dev/null`
18263 UNWIND_LIBS=${UNWIND_LIBS:-"-lunwind"}
18264 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind cflags: $UNWIND_CFLAGS" >&5
18265 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind libs: $UNWIND_LIBS" >&5
18266 if test -s conftest.err; then
18267 printf %s "$as_me:${as_lineno-$LINENO}: libunwind errors: " >&5
18268 cat conftest.err >&5
18270 rm -f conftest.err
18271 ac_save_CPPFLAGS=$CPPFLAGS
18272 CPPFLAGS="$CPPFLAGS $UNWIND_CFLAGS"
18273 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step" >&5
18274 printf %s "checking for unw_step... " >&6; }
18275 if test ${wine_cv_have_unw_step+y}
18276 then :
18277 printf %s "(cached) " >&6
18278 else $as_nop
18279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18280 /* end confdefs.h. */
18281 #define UNW_LOCAL_ONLY
18282 #include <libunwind.h>
18284 main (void)
18286 unw_cursor_t cursor; unw_step( &cursor );
18288 return 0;
18290 _ACEOF
18291 if ac_fn_c_try_link "$LINENO"
18292 then :
18293 wine_cv_have_unw_step="yes"
18294 else $as_nop
18295 wine_cv_have_unw_step="no"
18297 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18298 conftest$ac_exeext conftest.$ac_ext
18300 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_unw_step" >&5
18301 printf "%s\n" "$wine_cv_have_unw_step" >&6; }
18302 if test "$wine_cv_have_unw_step" = no -a -n "$UNWIND_LIBS"
18303 then
18304 save_libs=$LIBS
18305 UNWIND_LIBS="-static-libgcc $UNWIND_LIBS"
18306 LIBS="$UNWIND_LIBS $LIBS"
18307 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step in libunwind" >&5
18308 printf %s "checking for unw_step in libunwind... " >&6; }
18309 if test ${wine_cv_have_libunwind_unw_step+y}
18310 then :
18311 printf %s "(cached) " >&6
18312 else $as_nop
18313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18314 /* end confdefs.h. */
18315 #define UNW_LOCAL_ONLY
18316 #include <libunwind.h>
18318 main (void)
18320 unw_cursor_t cursor; unw_step( &cursor );
18322 return 0;
18324 _ACEOF
18325 if ac_fn_c_try_link "$LINENO"
18326 then :
18327 wine_cv_have_libunwind_unw_step="yes"
18328 else $as_nop
18329 wine_cv_have_libunwind_unw_step="no"
18331 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18332 conftest$ac_exeext conftest.$ac_ext
18334 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_libunwind_unw_step" >&5
18335 printf "%s\n" "$wine_cv_have_libunwind_unw_step" >&6; }
18336 LIBS=$save_libs
18338 test "$wine_cv_have_libunwind_unw_step" = yes || UNWIND_LIBS=""
18339 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" != xnono
18340 then
18342 printf "%s\n" "#define HAVE_LIBUNWIND 1" >>confdefs.h
18345 CPPFLAGS=$ac_save_CPPFLAGS
18348 case $host in
18349 *-darwin*)
18350 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" = xnono
18351 then :
18352 case "x$with_unwind" in
18353 x) as_fn_append wine_notices "|libunwind ${notice_platform}development files not found, stack unwinding won't work." ;;
18354 xno) ;;
18355 *) as_fn_error $? "libunwind ${notice_platform}development files not found, stack unwinding won't work.
18356 This is an error since --with-unwind was requested." "$LINENO" 5 ;;
18357 esac
18359 fi ;;
18360 esac
18363 if test "x$with_sdl" != "xno"
18364 then
18365 rm -f conftest.err
18366 if ${SDL2_CFLAGS:+false} :
18367 then :
18368 if test ${PKG_CONFIG+y}
18369 then :
18370 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>conftest.err`
18374 if ${SDL2_LIBS:+false} :
18375 then :
18376 if test ${PKG_CONFIG+y}
18377 then :
18378 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
18382 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
18383 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
18384 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
18385 if test -s conftest.err; then
18386 printf %s "$as_me:${as_lineno-$LINENO}: sdl2 errors: " >&5
18387 cat conftest.err >&5
18389 rm -f conftest.err
18390 ac_save_CPPFLAGS=$CPPFLAGS
18391 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
18392 for ac_header in SDL.h
18393 do :
18394 ac_fn_c_check_header_compile "$LINENO" "SDL.h" "ac_cv_header_SDL_h" "$ac_includes_default"
18395 if test "x$ac_cv_header_SDL_h" = xyes
18396 then :
18397 printf "%s\n" "#define HAVE_SDL_H 1" >>confdefs.h
18398 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
18399 printf %s "checking for -lSDL2... " >&6; }
18400 if test ${ac_cv_lib_soname_SDL2+y}
18401 then :
18402 printf %s "(cached) " >&6
18403 else $as_nop
18404 ac_check_soname_save_LIBS=$LIBS
18405 LIBS="-lSDL2 $SDL2_LIBS $LIBS"
18406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18407 /* end confdefs.h. */
18409 /* Override any GCC internal prototype to avoid an error.
18410 Use char because int might match the return type of a GCC
18411 builtin and then its argument prototype would still apply. */
18412 char SDL_Init ();
18414 main (void)
18416 return SDL_Init ();
18418 return 0;
18420 _ACEOF
18421 if ac_fn_c_try_link "$LINENO"
18422 then :
18423 case "$LIBEXT" in
18424 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18425 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'` ;;
18426 *) 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'`
18427 if ${ac_cv_lib_soname_SDL2:+false} :
18428 then :
18429 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18430 fi ;;
18431 esac
18432 else $as_nop
18433 ac_cv_lib_soname_SDL2=
18435 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18436 conftest$ac_exeext conftest.$ac_ext
18437 LIBS=$ac_check_soname_save_LIBS
18439 if ${ac_cv_lib_soname_SDL2:+false} :
18440 then :
18441 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18442 printf "%s\n" "not found" >&6; }
18444 else $as_nop
18445 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
18446 printf "%s\n" "$ac_cv_lib_soname_SDL2" >&6; }
18448 printf "%s\n" "#define SONAME_LIBSDL2 \"$ac_cv_lib_soname_SDL2\"" >>confdefs.h
18454 done
18455 CPPFLAGS=$ac_save_CPPFLAGS
18458 if test "x$ac_cv_lib_soname_SDL2" = "x"
18459 then :
18460 case "x$with_sdl" in
18461 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
18462 xno) ;;
18463 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
18464 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
18465 esac
18469 if test "x$with_capi" != "xno"
18470 then
18471 rm -f conftest.err
18472 if ${CAPI20_CFLAGS:+false} :
18473 then :
18474 if test ${PKG_CONFIG+y}
18475 then :
18476 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>conftest.err`
18480 if ${CAPI20_LIBS:+false} :
18481 then :
18482 if test ${PKG_CONFIG+y}
18483 then :
18484 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
18489 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
18490 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
18491 if test -s conftest.err; then
18492 printf %s "$as_me:${as_lineno-$LINENO}: capi20 errors: " >&5
18493 cat conftest.err >&5
18495 rm -f conftest.err
18496 ac_save_CPPFLAGS=$CPPFLAGS
18497 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
18498 ac_fn_c_check_header_compile "$LINENO" "capi20.h" "ac_cv_header_capi20_h" "#define __user
18500 if test "x$ac_cv_header_capi20_h" = xyes
18501 then :
18502 printf "%s\n" "#define HAVE_CAPI20_H 1" >>confdefs.h
18505 ac_fn_c_check_header_compile "$LINENO" "linux/capi.h" "ac_cv_header_linux_capi_h" "#define __user
18507 if test "x$ac_cv_header_linux_capi_h" = xyes
18508 then :
18509 printf "%s\n" "#define HAVE_LINUX_CAPI_H 1" >>confdefs.h
18513 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
18514 then
18515 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for capi20_register in -lcapi20" >&5
18516 printf %s "checking for capi20_register in -lcapi20... " >&6; }
18517 if test ${ac_cv_lib_capi20_capi20_register+y}
18518 then :
18519 printf %s "(cached) " >&6
18520 else $as_nop
18521 ac_check_lib_save_LIBS=$LIBS
18522 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
18523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18524 /* end confdefs.h. */
18526 /* Override any GCC internal prototype to avoid an error.
18527 Use char because int might match the return type of a GCC
18528 builtin and then its argument prototype would still apply. */
18529 char capi20_register ();
18531 main (void)
18533 return capi20_register ();
18535 return 0;
18537 _ACEOF
18538 if ac_fn_c_try_link "$LINENO"
18539 then :
18540 ac_cv_lib_capi20_capi20_register=yes
18541 else $as_nop
18542 ac_cv_lib_capi20_capi20_register=no
18544 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18545 conftest$ac_exeext conftest.$ac_ext
18546 LIBS=$ac_check_lib_save_LIBS
18548 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_capi20_capi20_register" >&5
18549 printf "%s\n" "$ac_cv_lib_capi20_capi20_register" >&6; }
18550 if test "x$ac_cv_lib_capi20_capi20_register" = xyes
18551 then :
18553 else $as_nop
18554 CAPI20_LIBS=""
18558 CPPFLAGS=$ac_save_CPPFLAGS
18561 if test "x$ac_cv_lib_capi20_capi20_register" != xyes
18562 then :
18563 case "x$with_capi" in
18564 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
18565 xno) ;;
18566 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
18567 This is an error since --with-capi was requested." "$LINENO" 5 ;;
18568 esac
18569 enable_capi2032=${enable_capi2032:-no}
18572 if test "x$with_cups" != "xno"
18573 then
18574 rm -f conftest.err
18575 if ${CUPS_CFLAGS:+false} :
18576 then :
18577 if test ${PKG_CONFIG+y}
18578 then :
18579 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>conftest.err`
18582 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
18583 if ${CUPS_LIBS:+false} :
18584 then :
18585 if test ${PKG_CONFIG+y}
18586 then :
18587 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
18590 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
18591 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
18592 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
18593 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
18594 if test -s conftest.err; then
18595 printf %s "$as_me:${as_lineno-$LINENO}: cups errors: " >&5
18596 cat conftest.err >&5
18598 rm -f conftest.err
18599 ac_save_CPPFLAGS=$CPPFLAGS
18600 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
18601 ac_fn_c_check_header_compile "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
18602 if test "x$ac_cv_header_cups_cups_h" = xyes
18603 then :
18604 printf "%s\n" "#define HAVE_CUPS_CUPS_H 1" >>confdefs.h
18607 ac_fn_c_check_header_compile "$LINENO" "cups/ppd.h" "ac_cv_header_cups_ppd_h" "$ac_includes_default"
18608 if test "x$ac_cv_header_cups_ppd_h" = xyes
18609 then :
18610 printf "%s\n" "#define HAVE_CUPS_PPD_H 1" >>confdefs.h
18614 if test "$ac_cv_header_cups_cups_h" = "yes"
18615 then
18616 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
18617 printf %s "checking for -lcups... " >&6; }
18618 if test ${ac_cv_lib_soname_cups+y}
18619 then :
18620 printf %s "(cached) " >&6
18621 else $as_nop
18622 ac_check_soname_save_LIBS=$LIBS
18623 LIBS="-lcups $CUPS_LIBS $LIBS"
18624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18625 /* end confdefs.h. */
18627 /* Override any GCC internal prototype to avoid an error.
18628 Use char because int might match the return type of a GCC
18629 builtin and then its argument prototype would still apply. */
18630 char cupsGetDefault ();
18632 main (void)
18634 return cupsGetDefault ();
18636 return 0;
18638 _ACEOF
18639 if ac_fn_c_try_link "$LINENO"
18640 then :
18641 case "$LIBEXT" in
18642 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18643 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'` ;;
18644 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18645 if ${ac_cv_lib_soname_cups:+false} :
18646 then :
18647 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18648 fi ;;
18649 esac
18650 else $as_nop
18651 ac_cv_lib_soname_cups=
18653 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18654 conftest$ac_exeext conftest.$ac_ext
18655 LIBS=$ac_check_soname_save_LIBS
18657 if ${ac_cv_lib_soname_cups:+false} :
18658 then :
18659 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18660 printf "%s\n" "not found" >&6; }
18661 CUPS_LIBS=""
18662 else $as_nop
18663 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
18664 printf "%s\n" "$ac_cv_lib_soname_cups" >&6; }
18666 printf "%s\n" "#define SONAME_LIBCUPS \"$ac_cv_lib_soname_cups\"" >>confdefs.h
18670 else
18671 CUPS_CFLAGS=""
18672 CUPS_LIBS=""
18674 CPPFLAGS=$ac_save_CPPFLAGS
18677 if test "x$ac_cv_lib_soname_cups" = "x"
18678 then :
18679 case "x$with_cups" in
18680 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
18681 xno) ;;
18682 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
18683 This is an error since --with-cups was requested." "$LINENO" 5 ;;
18684 esac
18688 if test "x$with_fontconfig" != "xno"
18689 then
18690 rm -f conftest.err
18691 if ${FONTCONFIG_CFLAGS:+false} :
18692 then :
18693 if test ${PKG_CONFIG+y}
18694 then :
18695 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>conftest.err`
18698 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
18699 if ${FONTCONFIG_LIBS:+false} :
18700 then :
18701 if test ${PKG_CONFIG+y}
18702 then :
18703 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
18706 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
18708 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
18709 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
18710 if test -s conftest.err; then
18711 printf %s "$as_me:${as_lineno-$LINENO}: fontconfig errors: " >&5
18712 cat conftest.err >&5
18714 rm -f conftest.err
18715 ac_save_CPPFLAGS=$CPPFLAGS
18716 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
18717 ac_fn_c_check_header_compile "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
18718 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
18719 then :
18720 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
18721 printf %s "checking for -lfontconfig... " >&6; }
18722 if test ${ac_cv_lib_soname_fontconfig+y}
18723 then :
18724 printf %s "(cached) " >&6
18725 else $as_nop
18726 ac_check_soname_save_LIBS=$LIBS
18727 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
18728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18729 /* end confdefs.h. */
18731 /* Override any GCC internal prototype to avoid an error.
18732 Use char because int might match the return type of a GCC
18733 builtin and then its argument prototype would still apply. */
18734 char FcInit ();
18736 main (void)
18738 return FcInit ();
18740 return 0;
18742 _ACEOF
18743 if ac_fn_c_try_link "$LINENO"
18744 then :
18745 case "$LIBEXT" in
18746 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18747 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'` ;;
18748 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18749 if ${ac_cv_lib_soname_fontconfig:+false} :
18750 then :
18751 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18752 fi ;;
18753 esac
18754 else $as_nop
18755 ac_cv_lib_soname_fontconfig=
18757 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18758 conftest$ac_exeext conftest.$ac_ext
18759 LIBS=$ac_check_soname_save_LIBS
18761 if ${ac_cv_lib_soname_fontconfig:+false} :
18762 then :
18763 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18764 printf "%s\n" "not found" >&6; }
18765 FONTCONFIG_CFLAGS=""
18766 else $as_nop
18767 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
18768 printf "%s\n" "$ac_cv_lib_soname_fontconfig" >&6; }
18770 printf "%s\n" "#define SONAME_LIBFONTCONFIG \"$ac_cv_lib_soname_fontconfig\"" >>confdefs.h
18774 else $as_nop
18775 FONTCONFIG_CFLAGS=""
18778 CPPFLAGS=$ac_save_CPPFLAGS
18781 if test "x$ac_cv_lib_soname_fontconfig" = "x"
18782 then :
18783 case "x$with_fontconfig" in
18784 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
18785 xno) ;;
18786 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
18787 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
18788 esac
18792 if test "x$with_krb5" != "xno"
18793 then
18794 rm -f conftest.err
18795 if ${KRB5_CFLAGS:+false} :
18796 then :
18797 if test ${PKG_CONFIG+y}
18798 then :
18799 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>conftest.err`
18802 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
18803 if ${KRB5_LIBS:+false} :
18804 then :
18805 if test ${PKG_CONFIG+y}
18806 then :
18807 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
18810 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
18812 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
18813 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
18814 if test -s conftest.err; then
18815 printf %s "$as_me:${as_lineno-$LINENO}: krb5 errors: " >&5
18816 cat conftest.err >&5
18818 rm -f conftest.err
18819 ac_save_CPPFLAGS=$CPPFLAGS
18820 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
18821 ac_fn_c_check_header_compile "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
18822 if test "x$ac_cv_header_krb5_krb5_h" = xyes
18823 then :
18824 printf "%s\n" "#define HAVE_KRB5_KRB5_H 1" >>confdefs.h
18828 if test "$ac_cv_header_krb5_krb5_h" = "yes"
18829 then
18830 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
18831 printf %s "checking for -lkrb5... " >&6; }
18832 if test ${ac_cv_lib_soname_krb5+y}
18833 then :
18834 printf %s "(cached) " >&6
18835 else $as_nop
18836 ac_check_soname_save_LIBS=$LIBS
18837 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
18838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18839 /* end confdefs.h. */
18841 /* Override any GCC internal prototype to avoid an error.
18842 Use char because int might match the return type of a GCC
18843 builtin and then its argument prototype would still apply. */
18844 char krb5_is_config_principal ();
18846 main (void)
18848 return krb5_is_config_principal ();
18850 return 0;
18852 _ACEOF
18853 if ac_fn_c_try_link "$LINENO"
18854 then :
18855 case "$LIBEXT" in
18856 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18857 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'` ;;
18858 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18859 if ${ac_cv_lib_soname_krb5:+false} :
18860 then :
18861 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18862 fi ;;
18863 esac
18864 else $as_nop
18865 ac_cv_lib_soname_krb5=
18867 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18868 conftest$ac_exeext conftest.$ac_ext
18869 LIBS=$ac_check_soname_save_LIBS
18871 if ${ac_cv_lib_soname_krb5:+false} :
18872 then :
18873 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18874 printf "%s\n" "not found" >&6; }
18875 KRB5_CFLAGS=""
18876 else $as_nop
18877 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
18878 printf "%s\n" "$ac_cv_lib_soname_krb5" >&6; }
18880 printf "%s\n" "#define SONAME_LIBKRB5 \"$ac_cv_lib_soname_krb5\"" >>confdefs.h
18884 else
18885 KRB5_CFLAGS=""
18887 CPPFLAGS=$ac_save_CPPFLAGS
18890 if test "x$ac_cv_lib_soname_krb5" = "x"
18891 then :
18892 case "x$with_krb5" in
18893 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
18894 xno) ;;
18895 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
18896 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
18897 esac
18900 test "x$ac_cv_lib_soname_krb5" != "x" || with_gssapi=${with_gssapi:-no}
18902 if test "x$with_gssapi" != "xno"
18903 then
18904 rm -f conftest.err
18905 if ${GSSAPI_CFLAGS:+false} :
18906 then :
18907 if test ${PKG_CONFIG+y}
18908 then :
18909 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>conftest.err`
18912 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
18913 if ${GSSAPI_LIBS:+false} :
18914 then :
18915 if test ${PKG_CONFIG+y}
18916 then :
18917 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
18920 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
18922 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
18923 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
18924 if test -s conftest.err; then
18925 printf %s "$as_me:${as_lineno-$LINENO}: krb5-gssapi errors: " >&5
18926 cat conftest.err >&5
18928 rm -f conftest.err
18929 ac_save_CPPFLAGS=$CPPFLAGS
18930 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
18931 ac_fn_c_check_header_compile "$LINENO" "gssapi/gssapi.h" "ac_cv_header_gssapi_gssapi_h" "$ac_includes_default"
18932 if test "x$ac_cv_header_gssapi_gssapi_h" = xyes
18933 then :
18934 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_H 1" >>confdefs.h
18937 ac_fn_c_check_header_compile "$LINENO" "gssapi/gssapi_ext.h" "ac_cv_header_gssapi_gssapi_ext_h" "$ac_includes_default"
18938 if test "x$ac_cv_header_gssapi_gssapi_ext_h" = xyes
18939 then :
18940 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_EXT_H 1" >>confdefs.h
18944 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
18945 then
18946 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
18947 printf %s "checking for -lgssapi_krb5... " >&6; }
18948 if test ${ac_cv_lib_soname_gssapi_krb5+y}
18949 then :
18950 printf %s "(cached) " >&6
18951 else $as_nop
18952 ac_check_soname_save_LIBS=$LIBS
18953 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
18954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18955 /* end confdefs.h. */
18957 /* Override any GCC internal prototype to avoid an error.
18958 Use char because int might match the return type of a GCC
18959 builtin and then its argument prototype would still apply. */
18960 char gss_init_sec_context ();
18962 main (void)
18964 return gss_init_sec_context ();
18966 return 0;
18968 _ACEOF
18969 if ac_fn_c_try_link "$LINENO"
18970 then :
18971 case "$LIBEXT" in
18972 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18973 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'` ;;
18974 *) 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'`
18975 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
18976 then :
18977 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18978 fi ;;
18979 esac
18980 else $as_nop
18981 ac_cv_lib_soname_gssapi_krb5=
18983 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18984 conftest$ac_exeext conftest.$ac_ext
18985 LIBS=$ac_check_soname_save_LIBS
18987 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
18988 then :
18989 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18990 printf "%s\n" "not found" >&6; }
18991 GSSAPI_CFLAGS=""
18992 else $as_nop
18993 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
18994 printf "%s\n" "$ac_cv_lib_soname_gssapi_krb5" >&6; }
18996 printf "%s\n" "#define SONAME_LIBGSSAPI_KRB5 \"$ac_cv_lib_soname_gssapi_krb5\"" >>confdefs.h
19000 else
19001 GSSAPI_CFLAGS=""
19003 CPPFLAGS=$ac_save_CPPFLAGS
19006 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"
19007 then :
19008 case "x$with_gssapi" in
19009 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
19010 xno) ;;
19011 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
19012 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
19013 esac
19017 if test "$ac_cv_header_libprocstat_h" = "yes"
19018 then
19019 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
19020 printf %s "checking for procstat_open_sysctl in -lprocstat... " >&6; }
19021 if test ${ac_cv_lib_procstat_procstat_open_sysctl+y}
19022 then :
19023 printf %s "(cached) " >&6
19024 else $as_nop
19025 ac_check_lib_save_LIBS=$LIBS
19026 LIBS="-lprocstat $LIBS"
19027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19028 /* end confdefs.h. */
19030 /* Override any GCC internal prototype to avoid an error.
19031 Use char because int might match the return type of a GCC
19032 builtin and then its argument prototype would still apply. */
19033 char procstat_open_sysctl ();
19035 main (void)
19037 return procstat_open_sysctl ();
19039 return 0;
19041 _ACEOF
19042 if ac_fn_c_try_link "$LINENO"
19043 then :
19044 ac_cv_lib_procstat_procstat_open_sysctl=yes
19045 else $as_nop
19046 ac_cv_lib_procstat_procstat_open_sysctl=no
19048 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19049 conftest$ac_exeext conftest.$ac_ext
19050 LIBS=$ac_check_lib_save_LIBS
19052 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
19053 printf "%s\n" "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
19054 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes
19055 then :
19057 printf "%s\n" "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
19059 PROCSTAT_LIBS="-lprocstat"
19065 if test "x$with_netapi" != "xno"
19066 then
19067 rm -f conftest.err
19068 if ${NETAPI_CFLAGS:+false} :
19069 then :
19070 if test ${PKG_CONFIG+y}
19071 then :
19072 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>conftest.err`
19076 if ${NETAPI_LIBS:+false} :
19077 then :
19078 if test ${PKG_CONFIG+y}
19079 then :
19080 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
19085 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
19086 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
19087 if test -s conftest.err; then
19088 printf %s "$as_me:${as_lineno-$LINENO}: netapi errors: " >&5
19089 cat conftest.err >&5
19091 rm -f conftest.err
19092 ac_save_CPPFLAGS=$CPPFLAGS
19093 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
19094 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
19095 printf %s "checking for -lnetapi... " >&6; }
19096 if test ${ac_cv_lib_soname_netapi+y}
19097 then :
19098 printf %s "(cached) " >&6
19099 else $as_nop
19100 ac_check_soname_save_LIBS=$LIBS
19101 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
19102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19103 /* end confdefs.h. */
19105 /* Override any GCC internal prototype to avoid an error.
19106 Use char because int might match the return type of a GCC
19107 builtin and then its argument prototype would still apply. */
19108 char libnetapi_init ();
19110 main (void)
19112 return libnetapi_init ();
19114 return 0;
19116 _ACEOF
19117 if ac_fn_c_try_link "$LINENO"
19118 then :
19119 case "$LIBEXT" in
19120 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
19121 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'` ;;
19122 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
19123 if ${ac_cv_lib_soname_netapi:+false} :
19124 then :
19125 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
19126 fi ;;
19127 esac
19128 else $as_nop
19129 ac_cv_lib_soname_netapi=
19131 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19132 conftest$ac_exeext conftest.$ac_ext
19133 LIBS=$ac_check_soname_save_LIBS
19135 if ${ac_cv_lib_soname_netapi:+false} :
19136 then :
19137 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
19138 printf "%s\n" "not found" >&6; }
19139 printf "%s\n" "#define SONAME_LIBNETAPI \"libnetapi.$LIBEXT\"" >>confdefs.h
19141 else $as_nop
19142 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
19143 printf "%s\n" "$ac_cv_lib_soname_netapi" >&6; }
19145 printf "%s\n" "#define SONAME_LIBNETAPI \"$ac_cv_lib_soname_netapi\"" >>confdefs.h
19149 CPPFLAGS=$ac_save_CPPFLAGS
19152 if test "x$ac_cv_lib_soname_netapi" = "x"
19153 then :
19154 case "x$with_netapi" in
19155 x) as_fn_append wine_notices "|libnetapi not found, Samba NetAPI won't be supported." ;;
19156 xno) ;;
19157 *) as_fn_error $? "libnetapi not found, Samba NetAPI won't be supported.
19158 This is an error since --with-netapi was requested." "$LINENO" 5 ;;
19159 esac
19160 enable_netapi=${enable_netapi:-no}
19164 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
19165 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
19166 then
19167 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
19170 if test "x$with_vulkan" != "xno"
19171 then
19172 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
19173 printf %s "checking for -lvulkan... " >&6; }
19174 if test ${ac_cv_lib_soname_vulkan+y}
19175 then :
19176 printf %s "(cached) " >&6
19177 else $as_nop
19178 ac_check_soname_save_LIBS=$LIBS
19179 LIBS="-lvulkan $LIBS"
19180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19181 /* end confdefs.h. */
19183 /* Override any GCC internal prototype to avoid an error.
19184 Use char because int might match the return type of a GCC
19185 builtin and then its argument prototype would still apply. */
19186 char vkGetInstanceProcAddr ();
19188 main (void)
19190 return vkGetInstanceProcAddr ();
19192 return 0;
19194 _ACEOF
19195 if ac_fn_c_try_link "$LINENO"
19196 then :
19197 case "$LIBEXT" in
19198 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
19199 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'` ;;
19200 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
19201 if ${ac_cv_lib_soname_vulkan:+false} :
19202 then :
19203 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
19204 fi ;;
19205 esac
19206 else $as_nop
19207 ac_cv_lib_soname_vulkan=
19209 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19210 conftest$ac_exeext conftest.$ac_ext
19211 LIBS=$ac_check_soname_save_LIBS
19213 if ${ac_cv_lib_soname_vulkan:+false} :
19214 then :
19215 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
19216 printf "%s\n" "not found" >&6; }
19218 else $as_nop
19219 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
19220 printf "%s\n" "$ac_cv_lib_soname_vulkan" >&6; }
19222 printf "%s\n" "#define SONAME_LIBVULKAN \"$ac_cv_lib_soname_vulkan\"" >>confdefs.h
19226 if test "x$ac_cv_lib_soname_vulkan" = "x"
19227 then
19228 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
19229 printf %s "checking for -lMoltenVK... " >&6; }
19230 if test ${ac_cv_lib_soname_MoltenVK+y}
19231 then :
19232 printf %s "(cached) " >&6
19233 else $as_nop
19234 ac_check_soname_save_LIBS=$LIBS
19235 LIBS="-lMoltenVK $LIBS"
19236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19237 /* end confdefs.h. */
19239 /* Override any GCC internal prototype to avoid an error.
19240 Use char because int might match the return type of a GCC
19241 builtin and then its argument prototype would still apply. */
19242 char vkGetInstanceProcAddr ();
19244 main (void)
19246 return vkGetInstanceProcAddr ();
19248 return 0;
19250 _ACEOF
19251 if ac_fn_c_try_link "$LINENO"
19252 then :
19253 case "$LIBEXT" in
19254 dll) ac_cv_lib_soname_MoltenVK=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
19255 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'` ;;
19256 *) ac_cv_lib_soname_MoltenVK=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
19257 if ${ac_cv_lib_soname_MoltenVK:+false} :
19258 then :
19259 ac_cv_lib_soname_MoltenVK=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
19260 fi ;;
19261 esac
19262 else $as_nop
19263 ac_cv_lib_soname_MoltenVK=
19265 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19266 conftest$ac_exeext conftest.$ac_ext
19267 LIBS=$ac_check_soname_save_LIBS
19269 if ${ac_cv_lib_soname_MoltenVK:+false} :
19270 then :
19271 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
19272 printf "%s\n" "not found" >&6; }
19274 else $as_nop
19275 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
19276 printf "%s\n" "$ac_cv_lib_soname_MoltenVK" >&6; }
19278 printf "%s\n" "#define SONAME_LIBMOLTENVK \"$ac_cv_lib_soname_MoltenVK\"" >>confdefs.h
19280 printf "%s\n" "#define SONAME_LIBVULKAN \"$ac_cv_lib_soname_MoltenVK\"" >>confdefs.h
19285 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"
19286 then :
19287 case "x$with_vulkan" in
19288 x) as_fn_append wine_notices "|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
19289 xno) ;;
19290 *) as_fn_error $? "libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
19291 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
19292 esac
19297 if test "x${GCC}" = "xyes"
19298 then
19299 EXTRACFLAGS="$EXTRACFLAGS -Wall -pipe"
19301 saved_CFLAGS=$CFLAGS
19302 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
19303 printf %s "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
19304 if test ${ac_cv_cflags__Werror_unknown_warning_option+y}
19305 then :
19306 printf %s "(cached) " >&6
19307 else $as_nop
19308 ac_wine_try_cflags_saved=$CFLAGS
19309 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
19310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19311 /* end confdefs.h. */
19312 int main(int argc, char **argv) { return 0; }
19313 _ACEOF
19314 if ac_fn_c_try_link "$LINENO"
19315 then :
19316 ac_cv_cflags__Werror_unknown_warning_option=yes
19317 else $as_nop
19318 ac_cv_cflags__Werror_unknown_warning_option=no
19320 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19321 conftest$ac_exeext conftest.$ac_ext
19322 CFLAGS=$ac_wine_try_cflags_saved
19324 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
19325 printf "%s\n" "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
19326 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes
19327 then :
19328 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
19330 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unused-command-line-argument" >&5
19331 printf %s "checking whether the compiler supports -Werror=unused-command-line-argument... " >&6; }
19332 if test ${ac_cv_cflags__Werror_unused_command_line_argument+y}
19333 then :
19334 printf %s "(cached) " >&6
19335 else $as_nop
19336 ac_wine_try_cflags_saved=$CFLAGS
19337 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
19338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19339 /* end confdefs.h. */
19340 int main(int argc, char **argv) { return 0; }
19341 _ACEOF
19342 if ac_fn_c_try_link "$LINENO"
19343 then :
19344 ac_cv_cflags__Werror_unused_command_line_argument=yes
19345 else $as_nop
19346 ac_cv_cflags__Werror_unused_command_line_argument=no
19348 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19349 conftest$ac_exeext conftest.$ac_ext
19350 CFLAGS=$ac_wine_try_cflags_saved
19352 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unused_command_line_argument" >&5
19353 printf "%s\n" "$ac_cv_cflags__Werror_unused_command_line_argument" >&6; }
19354 if test "x$ac_cv_cflags__Werror_unused_command_line_argument" = xyes
19355 then :
19356 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
19358 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=ignored-optimization-argument" >&5
19359 printf %s "checking whether the compiler supports -Werror=ignored-optimization-argument... " >&6; }
19360 if test ${ac_cv_cflags__Werror_ignored_optimization_argument+y}
19361 then :
19362 printf %s "(cached) " >&6
19363 else $as_nop
19364 ac_wine_try_cflags_saved=$CFLAGS
19365 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
19366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19367 /* end confdefs.h. */
19368 int main(int argc, char **argv) { return 0; }
19369 _ACEOF
19370 if ac_fn_c_try_link "$LINENO"
19371 then :
19372 ac_cv_cflags__Werror_ignored_optimization_argument=yes
19373 else $as_nop
19374 ac_cv_cflags__Werror_ignored_optimization_argument=no
19376 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19377 conftest$ac_exeext conftest.$ac_ext
19378 CFLAGS=$ac_wine_try_cflags_saved
19380 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_ignored_optimization_argument" >&5
19381 printf "%s\n" "$ac_cv_cflags__Werror_ignored_optimization_argument" >&6; }
19382 if test "x$ac_cv_cflags__Werror_ignored_optimization_argument" = xyes
19383 then :
19384 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
19386 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fcf-protection=none" >&5
19387 printf %s "checking whether the compiler supports -fcf-protection=none... " >&6; }
19388 if test ${ac_cv_cflags__fcf_protection_none+y}
19389 then :
19390 printf %s "(cached) " >&6
19391 else $as_nop
19392 ac_wine_try_cflags_saved=$CFLAGS
19393 CFLAGS="$CFLAGS -fcf-protection=none"
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__fcf_protection_none=yes
19401 else $as_nop
19402 ac_cv_cflags__fcf_protection_none=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__fcf_protection_none" >&5
19409 printf "%s\n" "$ac_cv_cflags__fcf_protection_none" >&6; }
19410 if test "x$ac_cv_cflags__fcf_protection_none" = xyes
19411 then :
19412 EXTRACFLAGS="$EXTRACFLAGS -fcf-protection=none"
19414 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fvisibility=hidden" >&5
19415 printf %s "checking whether the compiler supports -fvisibility=hidden... " >&6; }
19416 if test ${ac_cv_cflags__fvisibility_hidden+y}
19417 then :
19418 printf %s "(cached) " >&6
19419 else $as_nop
19420 ac_wine_try_cflags_saved=$CFLAGS
19421 CFLAGS="$CFLAGS -fvisibility=hidden"
19422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19423 /* end confdefs.h. */
19424 int main(int argc, char **argv) { return 0; }
19425 _ACEOF
19426 if ac_fn_c_try_link "$LINENO"
19427 then :
19428 ac_cv_cflags__fvisibility_hidden=yes
19429 else $as_nop
19430 ac_cv_cflags__fvisibility_hidden=no
19432 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19433 conftest$ac_exeext conftest.$ac_ext
19434 CFLAGS=$ac_wine_try_cflags_saved
19436 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fvisibility_hidden" >&5
19437 printf "%s\n" "$ac_cv_cflags__fvisibility_hidden" >&6; }
19438 if test "x$ac_cv_cflags__fvisibility_hidden" = xyes
19439 then :
19440 EXTRACFLAGS="$EXTRACFLAGS -fvisibility=hidden"
19442 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-stack-protector" >&5
19443 printf %s "checking whether the compiler supports -fno-stack-protector... " >&6; }
19444 if test ${ac_cv_cflags__fno_stack_protector+y}
19445 then :
19446 printf %s "(cached) " >&6
19447 else $as_nop
19448 ac_wine_try_cflags_saved=$CFLAGS
19449 CFLAGS="$CFLAGS -fno-stack-protector"
19450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19451 /* end confdefs.h. */
19452 int main(int argc, char **argv) { return 0; }
19453 _ACEOF
19454 if ac_fn_c_try_link "$LINENO"
19455 then :
19456 ac_cv_cflags__fno_stack_protector=yes
19457 else $as_nop
19458 ac_cv_cflags__fno_stack_protector=no
19460 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19461 conftest$ac_exeext conftest.$ac_ext
19462 CFLAGS=$ac_wine_try_cflags_saved
19464 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_stack_protector" >&5
19465 printf "%s\n" "$ac_cv_cflags__fno_stack_protector" >&6; }
19466 if test "x$ac_cv_cflags__fno_stack_protector" = xyes
19467 then :
19468 EXTRACFLAGS="$EXTRACFLAGS -fno-stack-protector"
19470 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
19471 printf %s "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
19472 if test ${ac_cv_cflags__fno_strict_aliasing+y}
19473 then :
19474 printf %s "(cached) " >&6
19475 else $as_nop
19476 ac_wine_try_cflags_saved=$CFLAGS
19477 CFLAGS="$CFLAGS -fno-strict-aliasing"
19478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19479 /* end confdefs.h. */
19480 int main(int argc, char **argv) { return 0; }
19481 _ACEOF
19482 if ac_fn_c_try_link "$LINENO"
19483 then :
19484 ac_cv_cflags__fno_strict_aliasing=yes
19485 else $as_nop
19486 ac_cv_cflags__fno_strict_aliasing=no
19488 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19489 conftest$ac_exeext conftest.$ac_ext
19490 CFLAGS=$ac_wine_try_cflags_saved
19492 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
19493 printf "%s\n" "$ac_cv_cflags__fno_strict_aliasing" >&6; }
19494 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes
19495 then :
19496 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
19498 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
19499 printf %s "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
19500 if test ${ac_cv_cflags__Wdeclaration_after_statement+y}
19501 then :
19502 printf %s "(cached) " >&6
19503 else $as_nop
19504 ac_wine_try_cflags_saved=$CFLAGS
19505 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
19506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19507 /* end confdefs.h. */
19508 int main(int argc, char **argv) { return 0; }
19509 _ACEOF
19510 if ac_fn_c_try_link "$LINENO"
19511 then :
19512 ac_cv_cflags__Wdeclaration_after_statement=yes
19513 else $as_nop
19514 ac_cv_cflags__Wdeclaration_after_statement=no
19516 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19517 conftest$ac_exeext conftest.$ac_ext
19518 CFLAGS=$ac_wine_try_cflags_saved
19520 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
19521 printf "%s\n" "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
19522 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes
19523 then :
19524 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
19526 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
19527 printf %s "checking whether the compiler supports -Wempty-body... " >&6; }
19528 if test ${ac_cv_cflags__Wempty_body+y}
19529 then :
19530 printf %s "(cached) " >&6
19531 else $as_nop
19532 ac_wine_try_cflags_saved=$CFLAGS
19533 CFLAGS="$CFLAGS -Wempty-body"
19534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19535 /* end confdefs.h. */
19536 int main(int argc, char **argv) { return 0; }
19537 _ACEOF
19538 if ac_fn_c_try_link "$LINENO"
19539 then :
19540 ac_cv_cflags__Wempty_body=yes
19541 else $as_nop
19542 ac_cv_cflags__Wempty_body=no
19544 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19545 conftest$ac_exeext conftest.$ac_ext
19546 CFLAGS=$ac_wine_try_cflags_saved
19548 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
19549 printf "%s\n" "$ac_cv_cflags__Wempty_body" >&6; }
19550 if test "x$ac_cv_cflags__Wempty_body" = xyes
19551 then :
19552 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
19554 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
19555 printf %s "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
19556 if test ${ac_cv_cflags__Wignored_qualifiers+y}
19557 then :
19558 printf %s "(cached) " >&6
19559 else $as_nop
19560 ac_wine_try_cflags_saved=$CFLAGS
19561 CFLAGS="$CFLAGS -Wignored-qualifiers"
19562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19563 /* end confdefs.h. */
19564 int main(int argc, char **argv) { return 0; }
19565 _ACEOF
19566 if ac_fn_c_try_link "$LINENO"
19567 then :
19568 ac_cv_cflags__Wignored_qualifiers=yes
19569 else $as_nop
19570 ac_cv_cflags__Wignored_qualifiers=no
19572 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19573 conftest$ac_exeext conftest.$ac_ext
19574 CFLAGS=$ac_wine_try_cflags_saved
19576 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
19577 printf "%s\n" "$ac_cv_cflags__Wignored_qualifiers" >&6; }
19578 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes
19579 then :
19580 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
19582 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Winit-self" >&5
19583 printf %s "checking whether the compiler supports -Winit-self... " >&6; }
19584 if test ${ac_cv_cflags__Winit_self+y}
19585 then :
19586 printf %s "(cached) " >&6
19587 else $as_nop
19588 ac_wine_try_cflags_saved=$CFLAGS
19589 CFLAGS="$CFLAGS -Winit-self"
19590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19591 /* end confdefs.h. */
19592 int main(int argc, char **argv) { return 0; }
19593 _ACEOF
19594 if ac_fn_c_try_link "$LINENO"
19595 then :
19596 ac_cv_cflags__Winit_self=yes
19597 else $as_nop
19598 ac_cv_cflags__Winit_self=no
19600 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19601 conftest$ac_exeext conftest.$ac_ext
19602 CFLAGS=$ac_wine_try_cflags_saved
19604 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Winit_self" >&5
19605 printf "%s\n" "$ac_cv_cflags__Winit_self" >&6; }
19606 if test "x$ac_cv_cflags__Winit_self" = xyes
19607 then :
19608 EXTRACFLAGS="$EXTRACFLAGS -Winit-self"
19610 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
19611 printf %s "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
19612 if test ${ac_cv_cflags__Wpacked_not_aligned+y}
19613 then :
19614 printf %s "(cached) " >&6
19615 else $as_nop
19616 ac_wine_try_cflags_saved=$CFLAGS
19617 CFLAGS="$CFLAGS -Wpacked-not-aligned"
19618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19619 /* end confdefs.h. */
19620 int main(int argc, char **argv) { return 0; }
19621 _ACEOF
19622 if ac_fn_c_try_link "$LINENO"
19623 then :
19624 ac_cv_cflags__Wpacked_not_aligned=yes
19625 else $as_nop
19626 ac_cv_cflags__Wpacked_not_aligned=no
19628 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19629 conftest$ac_exeext conftest.$ac_ext
19630 CFLAGS=$ac_wine_try_cflags_saved
19632 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
19633 printf "%s\n" "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
19634 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes
19635 then :
19636 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
19638 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
19639 printf %s "checking whether the compiler supports -Wpragma-pack... " >&6; }
19640 if test ${ac_cv_cflags__Wpragma_pack+y}
19641 then :
19642 printf %s "(cached) " >&6
19643 else $as_nop
19644 ac_wine_try_cflags_saved=$CFLAGS
19645 CFLAGS="$CFLAGS -Wpragma-pack"
19646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19647 /* end confdefs.h. */
19648 int main(int argc, char **argv) { return 0; }
19649 _ACEOF
19650 if ac_fn_c_try_link "$LINENO"
19651 then :
19652 ac_cv_cflags__Wpragma_pack=yes
19653 else $as_nop
19654 ac_cv_cflags__Wpragma_pack=no
19656 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19657 conftest$ac_exeext conftest.$ac_ext
19658 CFLAGS=$ac_wine_try_cflags_saved
19660 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
19661 printf "%s\n" "$ac_cv_cflags__Wpragma_pack" >&6; }
19662 if test "x$ac_cv_cflags__Wpragma_pack" = xyes
19663 then :
19664 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
19666 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
19667 printf %s "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
19668 if test ${ac_cv_cflags__Wshift_overflow_2+y}
19669 then :
19670 printf %s "(cached) " >&6
19671 else $as_nop
19672 ac_wine_try_cflags_saved=$CFLAGS
19673 CFLAGS="$CFLAGS -Wshift-overflow=2"
19674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19675 /* end confdefs.h. */
19676 int main(int argc, char **argv) { return 0; }
19677 _ACEOF
19678 if ac_fn_c_try_link "$LINENO"
19679 then :
19680 ac_cv_cflags__Wshift_overflow_2=yes
19681 else $as_nop
19682 ac_cv_cflags__Wshift_overflow_2=no
19684 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19685 conftest$ac_exeext conftest.$ac_ext
19686 CFLAGS=$ac_wine_try_cflags_saved
19688 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
19689 printf "%s\n" "$ac_cv_cflags__Wshift_overflow_2" >&6; }
19690 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes
19691 then :
19692 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
19694 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
19695 printf %s "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
19696 if test ${ac_cv_cflags__Wstrict_prototypes+y}
19697 then :
19698 printf %s "(cached) " >&6
19699 else $as_nop
19700 ac_wine_try_cflags_saved=$CFLAGS
19701 CFLAGS="$CFLAGS -Wstrict-prototypes"
19702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19703 /* end confdefs.h. */
19704 int main(int argc, char **argv) { return 0; }
19705 _ACEOF
19706 if ac_fn_c_try_link "$LINENO"
19707 then :
19708 ac_cv_cflags__Wstrict_prototypes=yes
19709 else $as_nop
19710 ac_cv_cflags__Wstrict_prototypes=no
19712 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19713 conftest$ac_exeext conftest.$ac_ext
19714 CFLAGS=$ac_wine_try_cflags_saved
19716 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
19717 printf "%s\n" "$ac_cv_cflags__Wstrict_prototypes" >&6; }
19718 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes
19719 then :
19720 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
19722 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
19723 printf %s "checking whether the compiler supports -Wtype-limits... " >&6; }
19724 if test ${ac_cv_cflags__Wtype_limits+y}
19725 then :
19726 printf %s "(cached) " >&6
19727 else $as_nop
19728 ac_wine_try_cflags_saved=$CFLAGS
19729 CFLAGS="$CFLAGS -Wtype-limits"
19730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19731 /* end confdefs.h. */
19732 int main(int argc, char **argv) { return 0; }
19733 _ACEOF
19734 if ac_fn_c_try_link "$LINENO"
19735 then :
19736 ac_cv_cflags__Wtype_limits=yes
19737 else $as_nop
19738 ac_cv_cflags__Wtype_limits=no
19740 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19741 conftest$ac_exeext conftest.$ac_ext
19742 CFLAGS=$ac_wine_try_cflags_saved
19744 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
19745 printf "%s\n" "$ac_cv_cflags__Wtype_limits" >&6; }
19746 if test "x$ac_cv_cflags__Wtype_limits" = xyes
19747 then :
19748 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
19750 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
19751 printf %s "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
19752 if test ${ac_cv_cflags__Wunused_but_set_parameter+y}
19753 then :
19754 printf %s "(cached) " >&6
19755 else $as_nop
19756 ac_wine_try_cflags_saved=$CFLAGS
19757 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
19758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19759 /* end confdefs.h. */
19760 int main(int argc, char **argv) { return 0; }
19761 _ACEOF
19762 if ac_fn_c_try_link "$LINENO"
19763 then :
19764 ac_cv_cflags__Wunused_but_set_parameter=yes
19765 else $as_nop
19766 ac_cv_cflags__Wunused_but_set_parameter=no
19768 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19769 conftest$ac_exeext conftest.$ac_ext
19770 CFLAGS=$ac_wine_try_cflags_saved
19772 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
19773 printf "%s\n" "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
19774 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes
19775 then :
19776 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
19778 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
19779 printf %s "checking whether the compiler supports -Wvla... " >&6; }
19780 if test ${ac_cv_cflags__Wvla+y}
19781 then :
19782 printf %s "(cached) " >&6
19783 else $as_nop
19784 ac_wine_try_cflags_saved=$CFLAGS
19785 CFLAGS="$CFLAGS -Wvla"
19786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19787 /* end confdefs.h. */
19788 int main(int argc, char **argv) { return 0; }
19789 _ACEOF
19790 if ac_fn_c_try_link "$LINENO"
19791 then :
19792 ac_cv_cflags__Wvla=yes
19793 else $as_nop
19794 ac_cv_cflags__Wvla=no
19796 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19797 conftest$ac_exeext conftest.$ac_ext
19798 CFLAGS=$ac_wine_try_cflags_saved
19800 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
19801 printf "%s\n" "$ac_cv_cflags__Wvla" >&6; }
19802 if test "x$ac_cv_cflags__Wvla" = xyes
19803 then :
19804 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
19806 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
19807 printf %s "checking whether the compiler supports -Wwrite-strings... " >&6; }
19808 if test ${ac_cv_cflags__Wwrite_strings+y}
19809 then :
19810 printf %s "(cached) " >&6
19811 else $as_nop
19812 ac_wine_try_cflags_saved=$CFLAGS
19813 CFLAGS="$CFLAGS -Wwrite-strings"
19814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19815 /* end confdefs.h. */
19816 int main(int argc, char **argv) { return 0; }
19817 _ACEOF
19818 if ac_fn_c_try_link "$LINENO"
19819 then :
19820 ac_cv_cflags__Wwrite_strings=yes
19821 else $as_nop
19822 ac_cv_cflags__Wwrite_strings=no
19824 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19825 conftest$ac_exeext conftest.$ac_ext
19826 CFLAGS=$ac_wine_try_cflags_saved
19828 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
19829 printf "%s\n" "$ac_cv_cflags__Wwrite_strings" >&6; }
19830 if test "x$ac_cv_cflags__Wwrite_strings" = xyes
19831 then :
19832 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
19835 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -flarge-source-files -Wmisleading-indentation" >&5
19836 printf %s "checking whether the compiler supports -flarge-source-files -Wmisleading-indentation... " >&6; }
19837 if test ${ac_cv_cflags__flarge_source_files__Wmisleading_indentation+y}
19838 then :
19839 printf %s "(cached) " >&6
19840 else $as_nop
19841 ac_wine_try_cflags_saved=$CFLAGS
19842 CFLAGS="$CFLAGS -flarge-source-files -Wmisleading-indentation"
19843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19844 /* end confdefs.h. */
19845 int main(int argc, char **argv) { return 0; }
19846 _ACEOF
19847 if ac_fn_c_try_link "$LINENO"
19848 then :
19849 ac_cv_cflags__flarge_source_files__Wmisleading_indentation=yes
19850 else $as_nop
19851 ac_cv_cflags__flarge_source_files__Wmisleading_indentation=no
19853 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19854 conftest$ac_exeext conftest.$ac_ext
19855 CFLAGS=$ac_wine_try_cflags_saved
19857 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__flarge_source_files__Wmisleading_indentation" >&5
19858 printf "%s\n" "$ac_cv_cflags__flarge_source_files__Wmisleading_indentation" >&6; }
19859 if test "x$ac_cv_cflags__flarge_source_files__Wmisleading_indentation" = xyes
19860 then :
19861 EXTRACFLAGS="$EXTRACFLAGS -Wno-misleading-indentation"
19864 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
19865 printf %s "checking whether the compiler supports -Wpointer-arith... " >&6; }
19866 if test ${ac_cv_cflags__Wpointer_arith+y}
19867 then :
19868 printf %s "(cached) " >&6
19869 else $as_nop
19870 ac_wine_try_cflags_saved=$CFLAGS
19871 CFLAGS="$CFLAGS -Wpointer-arith"
19872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19873 /* end confdefs.h. */
19874 int main(int argc, char **argv) { return 0; }
19875 _ACEOF
19876 if ac_fn_c_try_link "$LINENO"
19877 then :
19878 ac_cv_cflags__Wpointer_arith=yes
19879 else $as_nop
19880 ac_cv_cflags__Wpointer_arith=no
19882 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19883 conftest$ac_exeext conftest.$ac_ext
19884 CFLAGS=$ac_wine_try_cflags_saved
19886 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
19887 printf "%s\n" "$ac_cv_cflags__Wpointer_arith" >&6; }
19888 if test "x$ac_cv_cflags__Wpointer_arith" = xyes
19889 then :
19890 saved_string_h_CFLAGS=$CFLAGS
19891 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
19892 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
19893 printf %s "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
19894 if test ${ac_cv_c_string_h_warnings+y}
19895 then :
19896 printf %s "(cached) " >&6
19897 else $as_nop
19898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19899 /* end confdefs.h. */
19900 #include <string.h>
19902 main (void)
19906 return 0;
19908 _ACEOF
19909 if ac_fn_c_try_compile "$LINENO"
19910 then :
19911 ac_cv_c_string_h_warnings=no
19912 else $as_nop
19913 ac_cv_c_string_h_warnings=yes
19915 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19917 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
19918 printf "%s\n" "$ac_cv_c_string_h_warnings" >&6; }
19919 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
19920 CFLAGS=$saved_string_h_CFLAGS
19923 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
19924 printf %s "checking whether the compiler supports -Wlogical-op... " >&6; }
19925 if test ${ac_cv_cflags__Wlogical_op+y}
19926 then :
19927 printf %s "(cached) " >&6
19928 else $as_nop
19929 ac_wine_try_cflags_saved=$CFLAGS
19930 CFLAGS="$CFLAGS -Wlogical-op"
19931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19932 /* end confdefs.h. */
19933 int main(int argc, char **argv) { return 0; }
19934 _ACEOF
19935 if ac_fn_c_try_link "$LINENO"
19936 then :
19937 ac_cv_cflags__Wlogical_op=yes
19938 else $as_nop
19939 ac_cv_cflags__Wlogical_op=no
19941 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19942 conftest$ac_exeext conftest.$ac_ext
19943 CFLAGS=$ac_wine_try_cflags_saved
19945 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
19946 printf "%s\n" "$ac_cv_cflags__Wlogical_op" >&6; }
19947 if test "x$ac_cv_cflags__Wlogical_op" = xyes
19948 then :
19949 saved_string_h_CFLAGS=$CFLAGS
19950 CFLAGS="$CFLAGS -Wlogical-op -Werror"
19951 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
19952 printf %s "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
19953 if test ${ac_cv_c_logicalop_noisy+y}
19954 then :
19955 printf %s "(cached) " >&6
19956 else $as_nop
19957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19958 /* end confdefs.h. */
19959 #include <string.h>
19960 char*f(const char *h,char n) {return strchr(h,n);}
19962 main (void)
19966 return 0;
19968 _ACEOF
19969 if ac_fn_c_try_compile "$LINENO"
19970 then :
19971 ac_cv_c_logicalop_noisy=no
19972 else $as_nop
19973 ac_cv_c_logicalop_noisy=yes
19975 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19977 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
19978 printf "%s\n" "$ac_cv_c_logicalop_noisy" >&6; }
19979 CFLAGS=$saved_string_h_CFLAGS
19980 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
19983 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for flags needed for 64-bit compare-and-swap support" >&5
19984 printf %s "checking for flags needed for 64-bit compare-and-swap support... " >&6; }
19985 if test ${wine_cv_64bit_compare_swap+y}
19986 then :
19987 printf %s "(cached) " >&6
19988 else $as_nop
19989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19990 /* end confdefs.h. */
19991 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
19992 #error no
19993 #endif
19995 main (void)
19999 return 0;
20001 _ACEOF
20002 if ac_fn_c_try_compile "$LINENO"
20003 then :
20004 wine_cv_64bit_compare_swap="none needed"
20005 else $as_nop
20006 case $HOST_ARCH in
20007 i386) wine_cv_64bit_compare_swap="-march=i586" ;;
20008 arm) wine_cv_64bit_compare_swap="-march=armv7-a" ;;
20009 *) wine_cv_64bit_compare_swap="unknown" ;;
20010 esac
20011 if test "x$wine_cv_64bit_compare_swap" != xunknown
20012 then
20013 CFLAGS="$CFLAGS $wine_cv_64bit_compare_swap"
20014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20015 /* end confdefs.h. */
20016 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
20017 #error no
20018 #endif
20020 main (void)
20024 return 0;
20026 _ACEOF
20027 if ac_fn_c_try_compile "$LINENO"
20028 then :
20030 else $as_nop
20031 wine_cv_64bit_compare_swap="unknown"
20033 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
20034 CFLAGS=$saved_CFLAGS
20037 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
20039 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_64bit_compare_swap" >&5
20040 printf "%s\n" "$wine_cv_64bit_compare_swap" >&6; }
20041 case "$wine_cv_64bit_compare_swap" in
20042 unknown) as_fn_error $? "gcc doesn't support 64-bit compare-and-swap on this platform" "$LINENO" 5 ;;
20043 "none needed") ;;
20044 *) EXTRACFLAGS="$EXTRACFLAGS $wine_cv_64bit_compare_swap" ;;
20045 esac
20047 ac_debug_format_seen=""
20048 for ac_flag in $CFLAGS; do
20049 case $ac_flag in
20050 -gdwarf*) ac_debug_format_seen=yes ;;
20051 -g) ac_debug_format_seen=${ac_debug_format_seen:-default} ;;
20052 esac
20053 done
20054 if test "x$ac_debug_format_seen" = xdefault
20055 then
20056 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-4" >&5
20057 printf %s "checking whether the compiler supports -gdwarf-4... " >&6; }
20058 if test ${ac_cv_cflags__gdwarf_4+y}
20059 then :
20060 printf %s "(cached) " >&6
20061 else $as_nop
20062 ac_wine_try_cflags_saved=$CFLAGS
20063 CFLAGS="$CFLAGS -gdwarf-4"
20064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20065 /* end confdefs.h. */
20066 int main(int argc, char **argv) { return 0; }
20067 _ACEOF
20068 if ac_fn_c_try_link "$LINENO"
20069 then :
20070 ac_cv_cflags__gdwarf_4=yes
20071 else $as_nop
20072 ac_cv_cflags__gdwarf_4=no
20074 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20075 conftest$ac_exeext conftest.$ac_ext
20076 CFLAGS=$ac_wine_try_cflags_saved
20078 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_4" >&5
20079 printf "%s\n" "$ac_cv_cflags__gdwarf_4" >&6; }
20080 if test "x$ac_cv_cflags__gdwarf_4" = xyes
20081 then :
20082 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-4"
20086 MSVCRTFLAGS=""
20088 case $host_os in
20089 mingw32*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-delayload,autoconftest.dll" >&5
20090 printf %s "checking whether the compiler supports -Wl,-delayload,autoconftest.dll... " >&6; }
20091 if test ${ac_cv_cflags__Wl__delayload_autoconftest_dll+y}
20092 then :
20093 printf %s "(cached) " >&6
20094 else $as_nop
20095 ac_wine_try_cflags_saved=$CFLAGS
20096 CFLAGS="$CFLAGS -Wl,-delayload,autoconftest.dll"
20097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20098 /* end confdefs.h. */
20099 int main(int argc, char **argv) { return 0; }
20100 _ACEOF
20101 if ac_fn_c_try_link "$LINENO"
20102 then :
20103 ac_cv_cflags__Wl__delayload_autoconftest_dll=yes
20104 else $as_nop
20105 ac_cv_cflags__Wl__delayload_autoconftest_dll=no
20107 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20108 conftest$ac_exeext conftest.$ac_ext
20109 CFLAGS=$ac_wine_try_cflags_saved
20111 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__delayload_autoconftest_dll" >&5
20112 printf "%s\n" "$ac_cv_cflags__Wl__delayload_autoconftest_dll" >&6; }
20113 if test "x$ac_cv_cflags__Wl__delayload_autoconftest_dll" = xyes
20114 then :
20115 DELAYLOADFLAG="-Wl,-delayload,"
20117 fi ;;
20118 *) MSVCRTFLAGS="-D_WIN32"
20119 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
20120 printf %s "checking whether the compiler supports -fno-builtin... " >&6; }
20121 if test ${ac_cv_cflags__fno_builtin+y}
20122 then :
20123 printf %s "(cached) " >&6
20124 else $as_nop
20125 ac_wine_try_cflags_saved=$CFLAGS
20126 CFLAGS="$CFLAGS -fno-builtin"
20127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20128 /* end confdefs.h. */
20129 int main(int argc, char **argv) { return 0; }
20130 _ACEOF
20131 if ac_fn_c_try_link "$LINENO"
20132 then :
20133 ac_cv_cflags__fno_builtin=yes
20134 else $as_nop
20135 ac_cv_cflags__fno_builtin=no
20137 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20138 conftest$ac_exeext conftest.$ac_ext
20139 CFLAGS=$ac_wine_try_cflags_saved
20141 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
20142 printf "%s\n" "$ac_cv_cflags__fno_builtin" >&6; }
20143 if test "x$ac_cv_cflags__fno_builtin" = xyes
20144 then :
20145 MSVCRTFLAGS="$MSVCRTFLAGS -fno-builtin"
20147 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
20148 printf %s "checking whether the compiler supports -fshort-wchar... " >&6; }
20149 if test ${ac_cv_cflags__fshort_wchar+y}
20150 then :
20151 printf %s "(cached) " >&6
20152 else $as_nop
20153 ac_wine_try_cflags_saved=$CFLAGS
20154 CFLAGS="$CFLAGS -fshort-wchar"
20155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20156 /* end confdefs.h. */
20157 int main(int argc, char **argv) { return 0; }
20158 _ACEOF
20159 if ac_fn_c_try_link "$LINENO"
20160 then :
20161 ac_cv_cflags__fshort_wchar=yes
20162 else $as_nop
20163 ac_cv_cflags__fshort_wchar=no
20165 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20166 conftest$ac_exeext conftest.$ac_ext
20167 CFLAGS=$ac_wine_try_cflags_saved
20169 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fshort_wchar" >&5
20170 printf "%s\n" "$ac_cv_cflags__fshort_wchar" >&6; }
20171 if test "x$ac_cv_cflags__fshort_wchar" = xyes
20172 then :
20173 MSVCRTFLAGS="$MSVCRTFLAGS -fshort-wchar"
20175 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
20176 printf %s "checking whether the compiler supports -Wno-format... " >&6; }
20177 if test ${ac_cv_cflags__Wno_format+y}
20178 then :
20179 printf %s "(cached) " >&6
20180 else $as_nop
20181 ac_wine_try_cflags_saved=$CFLAGS
20182 CFLAGS="$CFLAGS -Wno-format"
20183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20184 /* end confdefs.h. */
20185 int main(int argc, char **argv) { return 0; }
20186 _ACEOF
20187 if ac_fn_c_try_link "$LINENO"
20188 then :
20189 ac_cv_cflags__Wno_format=yes
20190 else $as_nop
20191 ac_cv_cflags__Wno_format=no
20193 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20194 conftest$ac_exeext conftest.$ac_ext
20195 CFLAGS=$ac_wine_try_cflags_saved
20197 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
20198 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
20199 if test "x$ac_cv_cflags__Wno_format" = xyes
20200 then :
20201 MSVCRTFLAGS="$MSVCRTFLAGS -Wno-format"
20202 fi ;;
20203 esac
20205 case $HOST_ARCH in
20206 i386) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
20207 printf %s "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
20208 if test ${ac_cv_cflags__fno_omit_frame_pointer+y}
20209 then :
20210 printf %s "(cached) " >&6
20211 else $as_nop
20212 ac_wine_try_cflags_saved=$CFLAGS
20213 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
20214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20215 /* end confdefs.h. */
20216 int main(int argc, char **argv) { return 0; }
20217 _ACEOF
20218 if ac_fn_c_try_link "$LINENO"
20219 then :
20220 ac_cv_cflags__fno_omit_frame_pointer=yes
20221 else $as_nop
20222 ac_cv_cflags__fno_omit_frame_pointer=no
20224 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20225 conftest$ac_exeext conftest.$ac_ext
20226 CFLAGS=$ac_wine_try_cflags_saved
20228 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
20229 printf "%s\n" "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
20230 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes
20231 then :
20232 MSVCRTFLAGS="$MSVCRTFLAGS -fno-omit-frame-pointer"
20233 fi ;;
20234 x86_64)
20235 case $host_os in
20236 cygwin*|mingw32*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
20237 printf %s "checking whether the compiler supports -Wno-format... " >&6; }
20238 if test ${ac_cv_cflags__Wno_format+y}
20239 then :
20240 printf %s "(cached) " >&6
20241 else $as_nop
20242 ac_wine_try_cflags_saved=$CFLAGS
20243 CFLAGS="$CFLAGS -Wno-format"
20244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20245 /* end confdefs.h. */
20246 int main(int argc, char **argv) { return 0; }
20247 _ACEOF
20248 if ac_fn_c_try_link "$LINENO"
20249 then :
20250 ac_cv_cflags__Wno_format=yes
20251 else $as_nop
20252 ac_cv_cflags__Wno_format=no
20254 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20255 conftest$ac_exeext conftest.$ac_ext
20256 CFLAGS=$ac_wine_try_cflags_saved
20258 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
20259 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
20260 if test "x$ac_cv_cflags__Wno_format" = xyes
20261 then :
20262 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
20263 fi ;;
20264 *) if test -z "$PE_ARCHS"
20265 then
20266 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working -mabi=ms" >&5
20267 printf %s "checking for working -mabi=ms... " >&6; }
20268 if test ${ac_cv_mabi_ms+y}
20269 then :
20270 printf %s "(cached) " >&6
20271 else $as_nop
20272 CFLAGS="$CFLAGS -mabi=ms"
20273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20274 /* end confdefs.h. */
20275 #include <stdarg.h>
20276 int a(int b, ...) { __builtin_ms_va_list list; __builtin_ms_va_start(list,b); }
20278 main (void)
20282 return 0;
20284 _ACEOF
20285 if ac_fn_c_try_compile "$LINENO"
20286 then :
20287 ac_cv_mabi_ms=yes
20288 else $as_nop
20289 ac_cv_mabi_ms=no
20291 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
20292 CFLAGS=$saved_CFLAGS
20294 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mabi_ms" >&5
20295 printf "%s\n" "$ac_cv_mabi_ms" >&6; }
20296 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
20298 MSVCRTFLAGS="$MSVCRTFLAGS -mabi=ms" ;;
20299 esac ;;
20300 arm)
20301 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wincompatible-function-pointer-types" >&5
20302 printf %s "checking whether the compiler supports -Wincompatible-function-pointer-types... " >&6; }
20303 if test ${ac_cv_cflags__Wincompatible_function_pointer_types+y}
20304 then :
20305 printf %s "(cached) " >&6
20306 else $as_nop
20307 ac_wine_try_cflags_saved=$CFLAGS
20308 CFLAGS="$CFLAGS -Wincompatible-function-pointer-types"
20309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20310 /* end confdefs.h. */
20311 int main(int argc, char **argv) { return 0; }
20312 _ACEOF
20313 if ac_fn_c_try_link "$LINENO"
20314 then :
20315 ac_cv_cflags__Wincompatible_function_pointer_types=yes
20316 else $as_nop
20317 ac_cv_cflags__Wincompatible_function_pointer_types=no
20319 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20320 conftest$ac_exeext conftest.$ac_ext
20321 CFLAGS=$ac_wine_try_cflags_saved
20323 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wincompatible_function_pointer_types" >&5
20324 printf "%s\n" "$ac_cv_cflags__Wincompatible_function_pointer_types" >&6; }
20325 if test "x$ac_cv_cflags__Wincompatible_function_pointer_types" = xyes
20326 then :
20327 EXTRACFLAGS="$EXTRACFLAGS -Wno-error=incompatible-function-pointer-types"
20328 fi ;;
20329 esac
20331 CFLAGS=$saved_CFLAGS
20333 if test "x$enable_werror" = "xyes"
20334 then
20335 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
20336 printf %s "checking whether the compiler supports -Werror... " >&6; }
20337 if test ${ac_cv_cflags__Werror+y}
20338 then :
20339 printf %s "(cached) " >&6
20340 else $as_nop
20341 ac_wine_try_cflags_saved=$CFLAGS
20342 CFLAGS="$CFLAGS -Werror"
20343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20344 /* end confdefs.h. */
20345 int main(int argc, char **argv) { return 0; }
20346 _ACEOF
20347 if ac_fn_c_try_link "$LINENO"
20348 then :
20349 ac_cv_cflags__Werror=yes
20350 else $as_nop
20351 ac_cv_cflags__Werror=no
20353 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20354 conftest$ac_exeext conftest.$ac_ext
20355 CFLAGS=$ac_wine_try_cflags_saved
20357 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
20358 printf "%s\n" "$ac_cv_cflags__Werror" >&6; }
20359 if test "x$ac_cv_cflags__Werror" = xyes
20360 then :
20361 EXTRACFLAGS="$EXTRACFLAGS -Werror"
20364 if test "x$enable_build_id" = "xyes"
20365 then
20366 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--build-id" >&5
20367 printf %s "checking whether the compiler supports -Wl,--build-id... " >&6; }
20368 if test ${ac_cv_cflags__Wl___build_id+y}
20369 then :
20370 printf %s "(cached) " >&6
20371 else $as_nop
20372 ac_wine_try_cflags_saved=$CFLAGS
20373 CFLAGS="$CFLAGS -Wl,--build-id"
20374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20375 /* end confdefs.h. */
20376 int main(int argc, char **argv) { return 0; }
20377 _ACEOF
20378 if ac_fn_c_try_link "$LINENO"
20379 then :
20380 ac_cv_cflags__Wl___build_id=yes
20381 else $as_nop
20382 ac_cv_cflags__Wl___build_id=no
20384 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20385 conftest$ac_exeext conftest.$ac_ext
20386 CFLAGS=$ac_wine_try_cflags_saved
20388 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___build_id" >&5
20389 printf "%s\n" "$ac_cv_cflags__Wl___build_id" >&6; }
20390 if test "x$ac_cv_cflags__Wl___build_id" = xyes
20391 then :
20392 CFLAGS="$CFLAGS -Wl,--build-id"
20393 LDFLAGS="$LDFLAGS -Wl,--build-id"
20399 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
20400 printf %s "checking for the need to disable Fortify... " >&6; }
20401 if test ${ac_cv_c_fortify_enabled+y}
20402 then :
20403 printf %s "(cached) " >&6
20404 else $as_nop
20405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20406 /* end confdefs.h. */
20407 #include <string.h>
20409 main (void)
20411 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
20412 #error Fortify enabled
20413 #endif
20415 return 0;
20417 _ACEOF
20418 if ac_fn_c_try_compile "$LINENO"
20419 then :
20420 ac_cv_c_fortify_enabled=no
20421 else $as_nop
20422 ac_cv_c_fortify_enabled=yes
20424 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
20426 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
20427 printf "%s\n" "$ac_cv_c_fortify_enabled" >&6; }
20428 if test "$ac_cv_c_fortify_enabled" = yes
20429 then
20430 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
20434 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
20435 printf %s "checking whether CFI directives are supported in assembly code... " >&6; }
20436 if test ${ac_cv_c_cfi_support+y}
20437 then :
20438 printf %s "(cached) " >&6
20439 else $as_nop
20440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20441 /* end confdefs.h. */
20442 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
20444 main (void)
20448 return 0;
20450 _ACEOF
20451 if ac_fn_c_try_compile "$LINENO"
20452 then :
20453 ac_cv_c_cfi_support="yes"
20454 else $as_nop
20455 ac_cv_c_cfi_support="no"
20457 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
20459 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
20460 printf "%s\n" "$ac_cv_c_cfi_support" >&6; }
20461 if test "$ac_cv_c_cfi_support" = "yes"
20462 then
20463 DLLFLAGS="$DLLFLAGS -fasynchronous-unwind-tables"
20464 LDDLLFLAGS="$LDDLLFLAGS -fasynchronous-unwind-tables"
20465 UNIXDLLFLAGS="$UNIXDLLFLAGS -fasynchronous-unwind-tables"
20466 elif test $HOST_ARCH = x86_64
20467 then
20468 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
20472 case "$HOST_ARCH,$PE_ARCHS" in
20473 x86_64,*i386*) wine_binary="wine" ;;
20474 x86_64,*) wine_binary="wine64" ;;
20475 *) wine_binary="wine" ;;
20476 esac
20477 WINELOADER_PROGRAMS="$wine_binary"
20480 case $host_os in
20481 linux*)
20482 if test $HOST_ARCH != unknown
20483 then
20484 wine_use_preloader=yes
20487 esac
20489 if test "$wine_use_preloader" = "yes"
20490 then
20491 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS " loader/wine-preloader"
20492 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
20494 printf "%s\n" "#define HAVE_WINE_PRELOADER 1" >>confdefs.h
20499 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
20500 printf %s "checking for library containing dlopen... " >&6; }
20501 if test ${ac_cv_search_dlopen+y}
20502 then :
20503 printf %s "(cached) " >&6
20504 else $as_nop
20505 ac_func_search_save_LIBS=$LIBS
20506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20507 /* end confdefs.h. */
20509 /* Override any GCC internal prototype to avoid an error.
20510 Use char because int might match the return type of a GCC
20511 builtin and then its argument prototype would still apply. */
20512 char dlopen ();
20514 main (void)
20516 return dlopen ();
20518 return 0;
20520 _ACEOF
20521 for ac_lib in '' dl
20523 if test -z "$ac_lib"; then
20524 ac_res="none required"
20525 else
20526 ac_res=-l$ac_lib
20527 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20529 if ac_fn_c_try_link "$LINENO"
20530 then :
20531 ac_cv_search_dlopen=$ac_res
20533 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20534 conftest$ac_exeext
20535 if test ${ac_cv_search_dlopen+y}
20536 then :
20537 break
20539 done
20540 if test ${ac_cv_search_dlopen+y}
20541 then :
20543 else $as_nop
20544 ac_cv_search_dlopen=no
20546 rm conftest.$ac_ext
20547 LIBS=$ac_func_search_save_LIBS
20549 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
20550 printf "%s\n" "$ac_cv_search_dlopen" >&6; }
20551 ac_res=$ac_cv_search_dlopen
20552 if test "$ac_res" != no
20553 then :
20554 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20559 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
20560 printf %s "checking for library containing gethostbyname... " >&6; }
20561 if test ${ac_cv_search_gethostbyname+y}
20562 then :
20563 printf %s "(cached) " >&6
20564 else $as_nop
20565 ac_func_search_save_LIBS=$LIBS
20566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20567 /* end confdefs.h. */
20569 /* Override any GCC internal prototype to avoid an error.
20570 Use char because int might match the return type of a GCC
20571 builtin and then its argument prototype would still apply. */
20572 char gethostbyname ();
20574 main (void)
20576 return gethostbyname ();
20578 return 0;
20580 _ACEOF
20581 for ac_lib in '' nsl
20583 if test -z "$ac_lib"; then
20584 ac_res="none required"
20585 else
20586 ac_res=-l$ac_lib
20587 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20589 if ac_fn_c_try_link "$LINENO"
20590 then :
20591 ac_cv_search_gethostbyname=$ac_res
20593 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20594 conftest$ac_exeext
20595 if test ${ac_cv_search_gethostbyname+y}
20596 then :
20597 break
20599 done
20600 if test ${ac_cv_search_gethostbyname+y}
20601 then :
20603 else $as_nop
20604 ac_cv_search_gethostbyname=no
20606 rm conftest.$ac_ext
20607 LIBS=$ac_func_search_save_LIBS
20609 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
20610 printf "%s\n" "$ac_cv_search_gethostbyname" >&6; }
20611 ac_res=$ac_cv_search_gethostbyname
20612 if test "$ac_res" != no
20613 then :
20614 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20619 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
20620 printf %s "checking for library containing connect... " >&6; }
20621 if test ${ac_cv_search_connect+y}
20622 then :
20623 printf %s "(cached) " >&6
20624 else $as_nop
20625 ac_func_search_save_LIBS=$LIBS
20626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20627 /* end confdefs.h. */
20629 /* Override any GCC internal prototype to avoid an error.
20630 Use char because int might match the return type of a GCC
20631 builtin and then its argument prototype would still apply. */
20632 char connect ();
20634 main (void)
20636 return connect ();
20638 return 0;
20640 _ACEOF
20641 for ac_lib in '' socket
20643 if test -z "$ac_lib"; then
20644 ac_res="none required"
20645 else
20646 ac_res=-l$ac_lib
20647 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20649 if ac_fn_c_try_link "$LINENO"
20650 then :
20651 ac_cv_search_connect=$ac_res
20653 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20654 conftest$ac_exeext
20655 if test ${ac_cv_search_connect+y}
20656 then :
20657 break
20659 done
20660 if test ${ac_cv_search_connect+y}
20661 then :
20663 else $as_nop
20664 ac_cv_search_connect=no
20666 rm conftest.$ac_ext
20667 LIBS=$ac_func_search_save_LIBS
20669 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
20670 printf "%s\n" "$ac_cv_search_connect" >&6; }
20671 ac_res=$ac_cv_search_connect
20672 if test "$ac_res" != no
20673 then :
20674 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20679 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
20680 printf %s "checking for library containing inet_aton... " >&6; }
20681 if test ${ac_cv_search_inet_aton+y}
20682 then :
20683 printf %s "(cached) " >&6
20684 else $as_nop
20685 ac_func_search_save_LIBS=$LIBS
20686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20687 /* end confdefs.h. */
20689 /* Override any GCC internal prototype to avoid an error.
20690 Use char because int might match the return type of a GCC
20691 builtin and then its argument prototype would still apply. */
20692 char inet_aton ();
20694 main (void)
20696 return inet_aton ();
20698 return 0;
20700 _ACEOF
20701 for ac_lib in '' resolv
20703 if test -z "$ac_lib"; then
20704 ac_res="none required"
20705 else
20706 ac_res=-l$ac_lib
20707 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20709 if ac_fn_c_try_link "$LINENO"
20710 then :
20711 ac_cv_search_inet_aton=$ac_res
20713 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20714 conftest$ac_exeext
20715 if test ${ac_cv_search_inet_aton+y}
20716 then :
20717 break
20719 done
20720 if test ${ac_cv_search_inet_aton+y}
20721 then :
20723 else $as_nop
20724 ac_cv_search_inet_aton=no
20726 rm conftest.$ac_ext
20727 LIBS=$ac_func_search_save_LIBS
20729 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
20730 printf "%s\n" "$ac_cv_search_inet_aton" >&6; }
20731 ac_res=$ac_cv_search_inet_aton
20732 if test "$ac_res" != no
20733 then :
20734 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20739 ac_save_CFLAGS="$CFLAGS"
20740 CFLAGS="$CFLAGS $BUILTINFLAG"
20741 ac_fn_c_check_func "$LINENO" "dladdr1" "ac_cv_func_dladdr1"
20742 if test "x$ac_cv_func_dladdr1" = xyes
20743 then :
20744 printf "%s\n" "#define HAVE_DLADDR1 1" >>confdefs.h
20747 ac_fn_c_check_func "$LINENO" "dlinfo" "ac_cv_func_dlinfo"
20748 if test "x$ac_cv_func_dlinfo" = xyes
20749 then :
20750 printf "%s\n" "#define HAVE_DLINFO 1" >>confdefs.h
20753 ac_fn_c_check_func "$LINENO" "epoll_create" "ac_cv_func_epoll_create"
20754 if test "x$ac_cv_func_epoll_create" = xyes
20755 then :
20756 printf "%s\n" "#define HAVE_EPOLL_CREATE 1" >>confdefs.h
20759 ac_fn_c_check_func "$LINENO" "fstatfs" "ac_cv_func_fstatfs"
20760 if test "x$ac_cv_func_fstatfs" = xyes
20761 then :
20762 printf "%s\n" "#define HAVE_FSTATFS 1" >>confdefs.h
20765 ac_fn_c_check_func "$LINENO" "futimens" "ac_cv_func_futimens"
20766 if test "x$ac_cv_func_futimens" = xyes
20767 then :
20768 printf "%s\n" "#define HAVE_FUTIMENS 1" >>confdefs.h
20771 ac_fn_c_check_func "$LINENO" "futimes" "ac_cv_func_futimes"
20772 if test "x$ac_cv_func_futimes" = xyes
20773 then :
20774 printf "%s\n" "#define HAVE_FUTIMES 1" >>confdefs.h
20777 ac_fn_c_check_func "$LINENO" "futimesat" "ac_cv_func_futimesat"
20778 if test "x$ac_cv_func_futimesat" = xyes
20779 then :
20780 printf "%s\n" "#define HAVE_FUTIMESAT 1" >>confdefs.h
20783 ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
20784 if test "x$ac_cv_func_getaddrinfo" = xyes
20785 then :
20786 printf "%s\n" "#define HAVE_GETADDRINFO 1" >>confdefs.h
20789 ac_fn_c_check_func "$LINENO" "getattrlist" "ac_cv_func_getattrlist"
20790 if test "x$ac_cv_func_getattrlist" = xyes
20791 then :
20792 printf "%s\n" "#define HAVE_GETATTRLIST 1" >>confdefs.h
20795 ac_fn_c_check_func "$LINENO" "getauxval" "ac_cv_func_getauxval"
20796 if test "x$ac_cv_func_getauxval" = xyes
20797 then :
20798 printf "%s\n" "#define HAVE_GETAUXVAL 1" >>confdefs.h
20801 ac_fn_c_check_func "$LINENO" "getifaddrs" "ac_cv_func_getifaddrs"
20802 if test "x$ac_cv_func_getifaddrs" = xyes
20803 then :
20804 printf "%s\n" "#define HAVE_GETIFADDRS 1" >>confdefs.h
20807 ac_fn_c_check_func "$LINENO" "getrandom" "ac_cv_func_getrandom"
20808 if test "x$ac_cv_func_getrandom" = xyes
20809 then :
20810 printf "%s\n" "#define HAVE_GETRANDOM 1" >>confdefs.h
20813 ac_fn_c_check_func "$LINENO" "kqueue" "ac_cv_func_kqueue"
20814 if test "x$ac_cv_func_kqueue" = xyes
20815 then :
20816 printf "%s\n" "#define HAVE_KQUEUE 1" >>confdefs.h
20819 ac_fn_c_check_func "$LINENO" "mach_continuous_time" "ac_cv_func_mach_continuous_time"
20820 if test "x$ac_cv_func_mach_continuous_time" = xyes
20821 then :
20822 printf "%s\n" "#define HAVE_MACH_CONTINUOUS_TIME 1" >>confdefs.h
20825 ac_fn_c_check_func "$LINENO" "pipe2" "ac_cv_func_pipe2"
20826 if test "x$ac_cv_func_pipe2" = xyes
20827 then :
20828 printf "%s\n" "#define HAVE_PIPE2 1" >>confdefs.h
20831 ac_fn_c_check_func "$LINENO" "port_create" "ac_cv_func_port_create"
20832 if test "x$ac_cv_func_port_create" = xyes
20833 then :
20834 printf "%s\n" "#define HAVE_PORT_CREATE 1" >>confdefs.h
20837 ac_fn_c_check_func "$LINENO" "posix_fadvise" "ac_cv_func_posix_fadvise"
20838 if test "x$ac_cv_func_posix_fadvise" = xyes
20839 then :
20840 printf "%s\n" "#define HAVE_POSIX_FADVISE 1" >>confdefs.h
20843 ac_fn_c_check_func "$LINENO" "posix_fallocate" "ac_cv_func_posix_fallocate"
20844 if test "x$ac_cv_func_posix_fallocate" = xyes
20845 then :
20846 printf "%s\n" "#define HAVE_POSIX_FALLOCATE 1" >>confdefs.h
20849 ac_fn_c_check_func "$LINENO" "prctl" "ac_cv_func_prctl"
20850 if test "x$ac_cv_func_prctl" = xyes
20851 then :
20852 printf "%s\n" "#define HAVE_PRCTL 1" >>confdefs.h
20855 ac_fn_c_check_func "$LINENO" "proc_pidinfo" "ac_cv_func_proc_pidinfo"
20856 if test "x$ac_cv_func_proc_pidinfo" = xyes
20857 then :
20858 printf "%s\n" "#define HAVE_PROC_PIDINFO 1" >>confdefs.h
20861 ac_fn_c_check_func "$LINENO" "sched_yield" "ac_cv_func_sched_yield"
20862 if test "x$ac_cv_func_sched_yield" = xyes
20863 then :
20864 printf "%s\n" "#define HAVE_SCHED_YIELD 1" >>confdefs.h
20867 ac_fn_c_check_func "$LINENO" "setproctitle" "ac_cv_func_setproctitle"
20868 if test "x$ac_cv_func_setproctitle" = xyes
20869 then :
20870 printf "%s\n" "#define HAVE_SETPROCTITLE 1" >>confdefs.h
20873 ac_fn_c_check_func "$LINENO" "setprogname" "ac_cv_func_setprogname"
20874 if test "x$ac_cv_func_setprogname" = xyes
20875 then :
20876 printf "%s\n" "#define HAVE_SETPROGNAME 1" >>confdefs.h
20879 ac_fn_c_check_func "$LINENO" "sigprocmask" "ac_cv_func_sigprocmask"
20880 if test "x$ac_cv_func_sigprocmask" = xyes
20881 then :
20882 printf "%s\n" "#define HAVE_SIGPROCMASK 1" >>confdefs.h
20885 ac_fn_c_check_func "$LINENO" "sysinfo" "ac_cv_func_sysinfo"
20886 if test "x$ac_cv_func_sysinfo" = xyes
20887 then :
20888 printf "%s\n" "#define HAVE_SYSINFO 1" >>confdefs.h
20891 ac_fn_c_check_func "$LINENO" "tcdrain" "ac_cv_func_tcdrain"
20892 if test "x$ac_cv_func_tcdrain" = xyes
20893 then :
20894 printf "%s\n" "#define HAVE_TCDRAIN 1" >>confdefs.h
20897 ac_fn_c_check_func "$LINENO" "thr_kill2" "ac_cv_func_thr_kill2"
20898 if test "x$ac_cv_func_thr_kill2" = xyes
20899 then :
20900 printf "%s\n" "#define HAVE_THR_KILL2 1" >>confdefs.h
20904 CFLAGS="$ac_save_CFLAGS"
20906 case $host_os in
20907 darwin*|macosx*) ;;
20908 *) ac_save_LIBS=$LIBS
20909 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
20910 printf %s "checking for library containing clock_gettime... " >&6; }
20911 if test ${ac_cv_search_clock_gettime+y}
20912 then :
20913 printf %s "(cached) " >&6
20914 else $as_nop
20915 ac_func_search_save_LIBS=$LIBS
20916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20917 /* end confdefs.h. */
20919 /* Override any GCC internal prototype to avoid an error.
20920 Use char because int might match the return type of a GCC
20921 builtin and then its argument prototype would still apply. */
20922 char clock_gettime ();
20924 main (void)
20926 return clock_gettime ();
20928 return 0;
20930 _ACEOF
20931 for ac_lib in '' rt
20933 if test -z "$ac_lib"; then
20934 ac_res="none required"
20935 else
20936 ac_res=-l$ac_lib
20937 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20939 if ac_fn_c_try_link "$LINENO"
20940 then :
20941 ac_cv_search_clock_gettime=$ac_res
20943 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20944 conftest$ac_exeext
20945 if test ${ac_cv_search_clock_gettime+y}
20946 then :
20947 break
20949 done
20950 if test ${ac_cv_search_clock_gettime+y}
20951 then :
20953 else $as_nop
20954 ac_cv_search_clock_gettime=no
20956 rm conftest.$ac_ext
20957 LIBS=$ac_func_search_save_LIBS
20959 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
20960 printf "%s\n" "$ac_cv_search_clock_gettime" >&6; }
20961 ac_res=$ac_cv_search_clock_gettime
20962 if test "$ac_res" != no
20963 then :
20964 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20966 printf "%s\n" "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
20968 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
20972 LIBS=$ac_save_LIBS
20974 esac
20976 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
20977 printf %s "checking for sched_setaffinity... " >&6; }
20978 if test ${wine_cv_have_sched_setaffinity+y}
20979 then :
20980 printf %s "(cached) " >&6
20981 else $as_nop
20982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20983 /* end confdefs.h. */
20984 #include <sched.h>
20986 main (void)
20988 sched_setaffinity(0, 0, 0);
20990 return 0;
20992 _ACEOF
20993 if ac_fn_c_try_link "$LINENO"
20994 then :
20995 wine_cv_have_sched_setaffinity=yes
20996 else $as_nop
20997 wine_cv_have_sched_setaffinity=no
20999 rm -f core conftest.err conftest.$ac_objext conftest.beam \
21000 conftest$ac_exeext conftest.$ac_ext
21002 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
21003 printf "%s\n" "$wine_cv_have_sched_setaffinity" >&6; }
21004 if test "$wine_cv_have_sched_setaffinity" = "yes"
21005 then
21007 printf "%s\n" "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
21012 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
21013 printf %s "checking for inline... " >&6; }
21014 if test ${ac_cv_c_inline+y}
21015 then :
21016 printf %s "(cached) " >&6
21017 else $as_nop
21018 ac_cv_c_inline=no
21019 for ac_kw in inline __inline__ __inline; do
21020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21021 /* end confdefs.h. */
21022 #ifndef __cplusplus
21023 typedef int foo_t;
21024 static $ac_kw foo_t static_foo (void) {return 0; }
21025 $ac_kw foo_t foo (void) {return 0; }
21026 #endif
21028 _ACEOF
21029 if ac_fn_c_try_compile "$LINENO"
21030 then :
21031 ac_cv_c_inline=$ac_kw
21033 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
21034 test "$ac_cv_c_inline" != no && break
21035 done
21038 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
21039 printf "%s\n" "$ac_cv_c_inline" >&6; }
21041 case $ac_cv_c_inline in
21042 inline | yes) ;;
21044 case $ac_cv_c_inline in
21045 no) ac_val=;;
21046 *) ac_val=$ac_cv_c_inline;;
21047 esac
21048 cat >>confdefs.h <<_ACEOF
21049 #ifndef __cplusplus
21050 #define inline $ac_val
21051 #endif
21052 _ACEOF
21054 esac
21056 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
21058 if test "x$ac_cv_type_request_sense" = xyes
21059 then :
21061 printf "%s\n" "#define HAVE_REQUEST_SENSE 1" >>confdefs.h
21067 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
21068 #include <sys/socket.h>
21069 #ifdef HAVE_SYS_SOCKETVAR_H
21070 #include <sys/socketvar.h>
21071 #endif
21072 #ifdef HAVE_NET_ROUTE_H
21073 #include <net/route.h>
21074 #endif
21075 #ifdef HAVE_NETINET_IN_H
21076 #include <netinet/in.h>
21077 #endif
21078 #ifdef HAVE_NETINET_IN_SYSTM_H
21079 #include <netinet/in_systm.h>
21080 #endif
21081 #ifdef HAVE_NETINET_IP_H
21082 #include <netinet/ip.h>
21083 #endif
21084 #ifdef HAVE_NETINET_IN_PCB_H
21085 #include <netinet/in_pcb.h>
21086 #endif
21088 if test "x$ac_cv_type_struct_xinpgen" = xyes
21089 then :
21091 printf "%s\n" "#define HAVE_STRUCT_XINPGEN 1" >>confdefs.h
21097 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
21098 printf %s "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
21099 if test ${wine_cv_linux_gethostbyname_r_6+y}
21100 then :
21101 printf %s "(cached) " >&6
21102 else $as_nop
21103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21104 /* end confdefs.h. */
21105 #include <netdb.h>
21107 main (void)
21110 char *name=0;
21111 struct hostent he;
21112 struct hostent *result;
21113 char *buf=0;
21114 int bufsize=0;
21115 int errnr;
21116 char *addr=0;
21117 int addrlen=0;
21118 int addrtype=0;
21119 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
21120 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
21123 return 0;
21125 _ACEOF
21126 if ac_fn_c_try_link "$LINENO"
21127 then :
21128 wine_cv_linux_gethostbyname_r_6=yes
21129 else $as_nop
21130 wine_cv_linux_gethostbyname_r_6=no
21133 rm -f core conftest.err conftest.$ac_objext conftest.beam \
21134 conftest$ac_exeext conftest.$ac_ext
21137 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
21138 printf "%s\n" "$wine_cv_linux_gethostbyname_r_6" >&6; }
21139 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
21140 then
21142 printf "%s\n" "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
21146 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
21147 #include <sys/socket.h>
21148 #ifdef HAVE_SYS_UN_H
21149 # include <sys/un.h>
21150 #endif
21152 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
21153 then :
21155 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1" >>confdefs.h
21161 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
21162 #ifdef HAVE_SCSI_SG_H
21163 #include <scsi/sg.h>
21164 #endif
21166 if test "x$ac_cv_member_scsireq_t_cmd" = xyes
21167 then :
21169 printf "%s\n" "#define HAVE_SCSIREQ_T_CMD 1" >>confdefs.h
21173 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>
21174 #ifdef HAVE_SCSI_SG_H
21175 #include <scsi/sg.h>
21176 #endif
21178 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
21179 then :
21181 printf "%s\n" "#define HAVE_SG_IO_HDR_T_INTERFACE_ID 1" >>confdefs.h
21187 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
21189 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
21190 then :
21192 printf "%s\n" "#define HAVE_SIGINFO_T_SI_FD 1" >>confdefs.h
21198 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
21199 #ifdef HAVE_SYS_MTIO_H
21200 #include <sys/mtio.h>
21201 #endif
21203 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes
21204 then :
21206 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKSIZ 1" >>confdefs.h
21210 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
21211 #ifdef HAVE_SYS_MTIO_H
21212 #include <sys/mtio.h>
21213 #endif
21215 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes
21216 then :
21218 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_GSTAT 1" >>confdefs.h
21222 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
21223 #ifdef HAVE_SYS_MTIO_H
21224 #include <sys/mtio.h>
21225 #endif
21227 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
21228 then :
21230 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKNO 1" >>confdefs.h
21236 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
21237 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
21238 then :
21240 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIM 1" >>confdefs.h
21244 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
21245 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes
21246 then :
21248 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIMESPEC 1" >>confdefs.h
21252 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
21253 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
21254 then :
21256 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIM 1" >>confdefs.h
21260 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
21261 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes
21262 then :
21264 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIMESPEC 1" >>confdefs.h
21268 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
21269 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
21270 then :
21272 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIM 1" >>confdefs.h
21276 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
21277 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes
21278 then :
21280 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIMESPEC 1" >>confdefs.h
21284 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
21285 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes
21286 then :
21288 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIME 1" >>confdefs.h
21292 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
21293 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes
21294 then :
21296 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIM 1" >>confdefs.h
21300 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
21301 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes
21302 then :
21304 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1" >>confdefs.h
21308 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
21309 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes
21310 then :
21312 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIME 1" >>confdefs.h
21316 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
21317 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes
21318 then :
21320 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIM 1" >>confdefs.h
21326 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>
21327 #ifdef HAVE_NETINET_IN_H
21328 #include <netinet/in.h>
21329 #endif
21331 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
21332 then :
21334 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1" >>confdefs.h
21340 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
21341 #include <resolv.h>
21342 #endif
21344 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes
21345 then :
21347 printf "%s\n" "#define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1" >>confdefs.h
21353 ac_fn_c_check_member "$LINENO" "struct in6_pktinfo" "ipi6_addr" "ac_cv_member_struct_in6_pktinfo_ipi6_addr" "#ifdef HAVE_NETINET_IN_H
21354 #include <netinet/in.h>
21355 #endif
21357 if test "x$ac_cv_member_struct_in6_pktinfo_ipi6_addr" = xyes
21358 then :
21360 printf "%s\n" "#define HAVE_STRUCT_IN6_PKTINFO_IPI6_ADDR 1" >>confdefs.h
21366 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#include <sys/types.h>
21367 #ifdef HAVE_SYS_SOCKETVAR_H
21368 #include <sys/socketvar.h>
21369 #endif
21370 #ifdef HAVE_NETINET_IN_H
21371 #include <netinet/in.h>
21372 #endif
21373 #ifdef HAVE_NETINET_IP_VAR_H
21374 #include <netinet/ip_var.h>
21375 #endif
21377 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes
21378 then :
21380 printf "%s\n" "#define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1" >>confdefs.h
21386 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
21387 #include <netinet/ip_var.h>
21388 #endif
21390 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes
21391 then :
21393 printf "%s\n" "#define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1" >>confdefs.h
21399 ac_fn_c_check_member "$LINENO" "struct ip6stat" "ip6s_total" "ac_cv_member_struct_ip6stat_ip6s_total" "#include <sys/types.h>
21400 #ifdef HAVE_SYS_SOCKETVAR_H
21401 #include <sys/socketvar.h>
21402 #endif
21403 #ifdef HAVE_NETINET_IN_H
21404 #include <netinet/in.h>
21405 #endif
21406 #ifdef HAVE_NETINET6_IP6_VAR_H
21407 #include <netinet6/ip6_var.h>
21408 #endif
21410 if test "x$ac_cv_member_struct_ip6stat_ip6s_total" = xyes
21411 then :
21413 printf "%s\n" "#define HAVE_STRUCT_IP6STAT_IP6S_TOTAL 1" >>confdefs.h
21419 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_error" "ac_cv_member_struct_icmpstat_icps_error" "#include <sys/types.h>
21420 #ifdef HAVE_SYS_SOCKETVAR_H
21421 #include <sys/socketvar.h>
21422 #endif
21423 #ifdef HAVE_NETINET_IN_H
21424 #include <netinet/in.h>
21425 #endif
21426 #ifdef HAVE_NETINET_IP_H
21427 #include <netinet/ip.h>
21428 #endif
21429 #ifdef HAVE_NETINET_IP_ICMP_H
21430 #include <netinet/ip_icmp.h>
21431 #endif
21432 #ifdef HAVE_NETINET_ICMP_VAR_H
21433 #include <netinet/icmp_var.h>
21434 #endif
21436 if test "x$ac_cv_member_struct_icmpstat_icps_error" = xyes
21437 then :
21439 printf "%s\n" "#define HAVE_STRUCT_ICMPSTAT_ICPS_ERROR 1" >>confdefs.h
21445 ac_fn_c_check_member "$LINENO" "struct icmp6stat" "icp6s_error" "ac_cv_member_struct_icmp6stat_icp6s_error" "#include <sys/types.h>
21446 #ifdef HAVE_SYS_SOCKETVAR_H
21447 #include <sys/socketvar.h>
21448 #endif
21449 #ifdef HAVE_NETINET_IN_H
21450 #include <netinet/in.h>
21451 #endif
21452 #ifdef HAVE_NETINET_ICMP6_H
21453 #include <netinet/icmp6.h>
21454 #endif
21456 if test "x$ac_cv_member_struct_icmp6stat_icp6s_error" = xyes
21457 then :
21459 printf "%s\n" "#define HAVE_STRUCT_ICMP6STAT_ICP6S_ERROR 1" >>confdefs.h
21465 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#include <sys/types.h>
21466 #ifdef HAVE_SYS_SOCKETVAR_H
21467 #include <sys/socketvar.h>
21468 #endif
21469 #ifdef HAVE_NETINET_IN_H
21470 #include <netinet/in.h>
21471 #endif
21472 #ifdef HAVE_NETINET_TCP_H
21473 #include <netinet/tcp.h>
21474 #endif
21475 #ifdef HAVE_NETINET_TCP_VAR_H
21476 #include <netinet/tcp_var.h>
21477 #endif
21479 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes
21480 then :
21482 printf "%s\n" "#define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1" >>confdefs.h
21488 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
21489 #include <netinet/tcp_var.h>
21490 #endif
21492 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes
21493 then :
21495 printf "%s\n" "#define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1" >>confdefs.h
21501 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#include <sys/types.h>
21502 #ifdef HAVE_NETINET_IN_H
21503 #include <netinet/in.h>
21504 #endif
21505 #ifdef HAVE_NETINET_IP_VAR_H
21506 #include <netinet/ip_var.h>
21507 #endif
21508 #ifdef HAVE_NETINET_UDP_H
21509 #include <netinet/udp.h>
21510 #endif
21511 #ifdef HAVE_NETINET_UDP_VAR_H
21512 #include <netinet/udp_var.h>
21513 #endif
21515 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes
21516 then :
21518 printf "%s\n" "#define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1" >>confdefs.h
21524 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#include <sys/types.h>
21525 #ifdef HAVE_NET_IF_H
21526 # include <net/if.h>
21527 #endif
21529 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
21530 then :
21532 printf "%s\n" "#define HAVE_STRUCT_IFREQ_IFR_HWADDR 1" >>confdefs.h
21538 ac_fn_c_check_member "$LINENO" "struct sysinfo" "totalram" "ac_cv_member_struct_sysinfo_totalram" "#ifdef HAVE_SYS_SYSINFO_H
21539 # include <sys/sysinfo.h>
21540 #endif
21542 if test "x$ac_cv_member_struct_sysinfo_totalram" = xyes
21543 then :
21545 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_TOTALRAM 1" >>confdefs.h
21549 ac_fn_c_check_member "$LINENO" "struct sysinfo" "mem_unit" "ac_cv_member_struct_sysinfo_mem_unit" "#ifdef HAVE_SYS_SYSINFO_H
21550 # include <sys/sysinfo.h>
21551 #endif
21553 if test "x$ac_cv_member_struct_sysinfo_mem_unit" = xyes
21554 then :
21556 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_MEM_UNIT 1" >>confdefs.h
21562 LIBS="$ac_save_LIBS"
21564 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
21565 printf %s "checking for __builtin_popcount... " >&6; }
21566 if test ${ac_cv_have___builtin_popcount+y}
21567 then :
21568 printf %s "(cached) " >&6
21569 else $as_nop
21570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21571 /* end confdefs.h. */
21574 main (void)
21576 return __builtin_popcount(1)
21578 return 0;
21580 _ACEOF
21581 if ac_fn_c_try_link "$LINENO"
21582 then :
21583 ac_cv_have___builtin_popcount="yes"
21584 else $as_nop
21585 ac_cv_have___builtin_popcount="no"
21587 rm -f core conftest.err conftest.$ac_objext conftest.beam \
21588 conftest$ac_exeext conftest.$ac_ext
21590 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
21591 printf "%s\n" "$ac_cv_have___builtin_popcount" >&6; }
21592 if test "$ac_cv_have___builtin_popcount" = "yes"
21593 then
21595 printf "%s\n" "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
21599 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
21600 printf %s "checking for __clear_cache... " >&6; }
21601 if test ${ac_cv_have___clear_cache+y}
21602 then :
21603 printf %s "(cached) " >&6
21604 else $as_nop
21605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21606 /* end confdefs.h. */
21609 main (void)
21611 __clear_cache((void*)0, (void*)0); return 0;
21613 return 0;
21615 _ACEOF
21616 if ac_fn_c_try_link "$LINENO"
21617 then :
21618 ac_cv_have___clear_cache="yes"
21619 else $as_nop
21620 ac_cv_have___clear_cache="no"
21622 rm -f core conftest.err conftest.$ac_objext conftest.beam \
21623 conftest$ac_exeext conftest.$ac_ext
21625 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
21626 printf "%s\n" "$ac_cv_have___clear_cache" >&6; }
21627 if test "$ac_cv_have___clear_cache" = "yes"
21628 then
21630 printf "%s\n" "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
21635 case $host_cpu in
21636 *i[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
21637 printf %s "checking whether we need to define __i386__... " >&6; }
21638 if test ${ac_cv_cpp_def___i386__+y}
21639 then :
21640 printf %s "(cached) " >&6
21641 else $as_nop
21642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21643 /* end confdefs.h. */
21644 #ifndef __i386__
21646 #endif
21647 _ACEOF
21648 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21649 $EGREP "yes" >/dev/null 2>&1
21650 then :
21651 ac_cv_cpp_def___i386__=yes
21652 else $as_nop
21653 ac_cv_cpp_def___i386__=no
21655 rm -rf conftest*
21658 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
21659 printf "%s\n" "$ac_cv_cpp_def___i386__" >&6; }
21660 if test "x$ac_cv_cpp_def___i386__" = xyes
21661 then :
21662 CFLAGS="$CFLAGS -D__i386__"
21663 LINTFLAGS="$LINTFLAGS -D__i386__"
21664 fi ;;
21665 *x86_64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
21666 printf %s "checking whether we need to define __x86_64__... " >&6; }
21667 if test ${ac_cv_cpp_def___x86_64__+y}
21668 then :
21669 printf %s "(cached) " >&6
21670 else $as_nop
21671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21672 /* end confdefs.h. */
21673 #ifndef __x86_64__
21675 #endif
21676 _ACEOF
21677 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21678 $EGREP "yes" >/dev/null 2>&1
21679 then :
21680 ac_cv_cpp_def___x86_64__=yes
21681 else $as_nop
21682 ac_cv_cpp_def___x86_64__=no
21684 rm -rf conftest*
21687 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
21688 printf "%s\n" "$ac_cv_cpp_def___x86_64__" >&6; }
21689 if test "x$ac_cv_cpp_def___x86_64__" = xyes
21690 then :
21691 CFLAGS="$CFLAGS -D__x86_64__"
21692 LINTFLAGS="$LINTFLAGS -D__x86_64__"
21693 fi ;;
21694 *sparc64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
21695 printf %s "checking whether we need to define __sparc64__... " >&6; }
21696 if test ${ac_cv_cpp_def___sparc64__+y}
21697 then :
21698 printf %s "(cached) " >&6
21699 else $as_nop
21700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21701 /* end confdefs.h. */
21702 #ifndef __sparc64__
21704 #endif
21705 _ACEOF
21706 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21707 $EGREP "yes" >/dev/null 2>&1
21708 then :
21709 ac_cv_cpp_def___sparc64__=yes
21710 else $as_nop
21711 ac_cv_cpp_def___sparc64__=no
21713 rm -rf conftest*
21716 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
21717 printf "%s\n" "$ac_cv_cpp_def___sparc64__" >&6; }
21718 if test "x$ac_cv_cpp_def___sparc64__" = xyes
21719 then :
21720 CFLAGS="$CFLAGS -D__sparc64__"
21721 LINTFLAGS="$LINTFLAGS -D__sparc64__"
21722 fi ;;
21723 *sparc*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
21724 printf %s "checking whether we need to define __sparc__... " >&6; }
21725 if test ${ac_cv_cpp_def___sparc__+y}
21726 then :
21727 printf %s "(cached) " >&6
21728 else $as_nop
21729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21730 /* end confdefs.h. */
21731 #ifndef __sparc__
21733 #endif
21734 _ACEOF
21735 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21736 $EGREP "yes" >/dev/null 2>&1
21737 then :
21738 ac_cv_cpp_def___sparc__=yes
21739 else $as_nop
21740 ac_cv_cpp_def___sparc__=no
21742 rm -rf conftest*
21745 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
21746 printf "%s\n" "$ac_cv_cpp_def___sparc__" >&6; }
21747 if test "x$ac_cv_cpp_def___sparc__" = xyes
21748 then :
21749 CFLAGS="$CFLAGS -D__sparc__"
21750 LINTFLAGS="$LINTFLAGS -D__sparc__"
21751 fi ;;
21752 *powerpc64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
21753 printf %s "checking whether we need to define __powerpc64__... " >&6; }
21754 if test ${ac_cv_cpp_def___powerpc64__+y}
21755 then :
21756 printf %s "(cached) " >&6
21757 else $as_nop
21758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21759 /* end confdefs.h. */
21760 #ifndef __powerpc64__
21762 #endif
21763 _ACEOF
21764 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21765 $EGREP "yes" >/dev/null 2>&1
21766 then :
21767 ac_cv_cpp_def___powerpc64__=yes
21768 else $as_nop
21769 ac_cv_cpp_def___powerpc64__=no
21771 rm -rf conftest*
21774 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
21775 printf "%s\n" "$ac_cv_cpp_def___powerpc64__" >&6; }
21776 if test "x$ac_cv_cpp_def___powerpc64__" = xyes
21777 then :
21778 CFLAGS="$CFLAGS -D__powerpc64__"
21779 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
21780 fi ;;
21781 *powerpc*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
21782 printf %s "checking whether we need to define __powerpc__... " >&6; }
21783 if test ${ac_cv_cpp_def___powerpc__+y}
21784 then :
21785 printf %s "(cached) " >&6
21786 else $as_nop
21787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21788 /* end confdefs.h. */
21789 #ifndef __powerpc__
21791 #endif
21792 _ACEOF
21793 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21794 $EGREP "yes" >/dev/null 2>&1
21795 then :
21796 ac_cv_cpp_def___powerpc__=yes
21797 else $as_nop
21798 ac_cv_cpp_def___powerpc__=no
21800 rm -rf conftest*
21803 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
21804 printf "%s\n" "$ac_cv_cpp_def___powerpc__" >&6; }
21805 if test "x$ac_cv_cpp_def___powerpc__" = xyes
21806 then :
21807 CFLAGS="$CFLAGS -D__powerpc__"
21808 LINTFLAGS="$LINTFLAGS -D__powerpc__"
21809 fi ;;
21810 *aarch64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
21811 printf %s "checking whether we need to define __aarch64__... " >&6; }
21812 if test ${ac_cv_cpp_def___aarch64__+y}
21813 then :
21814 printf %s "(cached) " >&6
21815 else $as_nop
21816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21817 /* end confdefs.h. */
21818 #ifndef __aarch64__
21820 #endif
21821 _ACEOF
21822 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21823 $EGREP "yes" >/dev/null 2>&1
21824 then :
21825 ac_cv_cpp_def___aarch64__=yes
21826 else $as_nop
21827 ac_cv_cpp_def___aarch64__=no
21829 rm -rf conftest*
21832 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
21833 printf "%s\n" "$ac_cv_cpp_def___aarch64__" >&6; }
21834 if test "x$ac_cv_cpp_def___aarch64__" = xyes
21835 then :
21836 CFLAGS="$CFLAGS -D__aarch64__"
21837 LINTFLAGS="$LINTFLAGS -D__aarch64__"
21838 fi ;;
21839 *arm*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
21840 printf %s "checking whether we need to define __arm__... " >&6; }
21841 if test ${ac_cv_cpp_def___arm__+y}
21842 then :
21843 printf %s "(cached) " >&6
21844 else $as_nop
21845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21846 /* end confdefs.h. */
21847 #ifndef __arm__
21849 #endif
21850 _ACEOF
21851 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21852 $EGREP "yes" >/dev/null 2>&1
21853 then :
21854 ac_cv_cpp_def___arm__=yes
21855 else $as_nop
21856 ac_cv_cpp_def___arm__=no
21858 rm -rf conftest*
21861 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
21862 printf "%s\n" "$ac_cv_cpp_def___arm__" >&6; }
21863 if test "x$ac_cv_cpp_def___arm__" = xyes
21864 then :
21865 CFLAGS="$CFLAGS -D__arm__"
21866 LINTFLAGS="$LINTFLAGS -D__arm__"
21867 fi ;;
21868 esac
21870 case $host_vendor in
21871 *sun*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
21872 printf %s "checking whether we need to define __sun__... " >&6; }
21873 if test ${ac_cv_cpp_def___sun__+y}
21874 then :
21875 printf %s "(cached) " >&6
21876 else $as_nop
21877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21878 /* end confdefs.h. */
21879 #ifndef __sun__
21881 #endif
21882 _ACEOF
21883 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21884 $EGREP "yes" >/dev/null 2>&1
21885 then :
21886 ac_cv_cpp_def___sun__=yes
21887 else $as_nop
21888 ac_cv_cpp_def___sun__=no
21890 rm -rf conftest*
21893 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
21894 printf "%s\n" "$ac_cv_cpp_def___sun__" >&6; }
21895 if test "x$ac_cv_cpp_def___sun__" = xyes
21896 then :
21897 CFLAGS="$CFLAGS -D__sun__"
21898 LINTFLAGS="$LINTFLAGS -D__sun__"
21899 fi ;;
21900 esac
21903 enable_win16=${enable_win16:-i386}
21904 enable_vcruntime140_1=${enable_vcruntime140_1:-x86_64,arm64ec}
21906 if test -n "$PE_ARCHS"
21907 then
21908 enable_wow64=${enable_wow64:-aarch64,x86_64}
21909 enable_wow64win=${enable_wow64win:-aarch64,x86_64}
21910 enable_wow64cpu=${enable_wow64cpu:-x86_64}
21911 else
21912 enable_wow64=${enable_wow64:-no}
21913 enable_wow64win=${enable_wow64win:-no}
21914 enable_wow64cpu=${enable_wow64cpu:-no}
21917 enable_cmd=${enable_cmd:-yes}
21918 enable_dllhost=${enable_dllhost:-yes}
21919 enable_dpnsvr=${enable_dpnsvr:-i386,x86_64,arm64ec}
21920 enable_dxdiag=${enable_dxdiag:-yes}
21921 enable_msiexec=${enable_msiexec:-yes}
21922 enable_netsh=${enable_netsh:-yes}
21923 enable_regsvr32=${enable_regsvr32:-yes}
21924 enable_rundll32=${enable_rundll32:-yes}
21926 enable_winetest=${enable_winetest:-$enable_tests}
21932 ac_config_commands="$ac_config_commands include/stamp-h"
21934 printf %s "creating Makefile rules..." >&6
21936 makedep_flags=""
21937 test "x$enable_silent_rules" = xyes && makedep_flags="$makedep_flags -S"
21939 wine_srcdir=
21940 test "$srcdir" = . || wine_srcdir="$srcdir/"
21942 ac_config_links="$ac_config_links wine:tools/winewrapper"
21943 wine_fn_config_symlink wine
21944 if test "$wine_binary" = wine64 -o -n "$with_wine64"; then
21945 ac_config_links="$ac_config_links wine64:tools/winewrapper"
21946 wine_fn_config_symlink wine64
21949 wine_fn_config_makefile dlls/acledit enable_acledit
21950 wine_fn_config_makefile dlls/aclui enable_aclui
21951 wine_fn_config_makefile dlls/activeds.tlb enable_activeds_tlb
21952 wine_fn_config_makefile dlls/activeds enable_activeds
21953 wine_fn_config_makefile dlls/activeds/tests enable_tests
21954 wine_fn_config_makefile dlls/actxprxy enable_actxprxy
21955 wine_fn_config_makefile dlls/adsldp enable_adsldp
21956 wine_fn_config_makefile dlls/adsldp/tests enable_tests
21957 wine_fn_config_makefile dlls/adsldpc enable_adsldpc
21958 wine_fn_config_makefile dlls/advapi32 enable_advapi32
21959 wine_fn_config_makefile dlls/advapi32/tests enable_tests
21960 wine_fn_config_makefile dlls/advpack enable_advpack
21961 wine_fn_config_makefile dlls/advpack/tests enable_tests
21962 wine_fn_config_makefile dlls/amsi enable_amsi
21963 wine_fn_config_makefile dlls/amstream enable_amstream
21964 wine_fn_config_makefile dlls/amstream/tests enable_tests
21965 wine_fn_config_makefile dlls/apisetschema enable_apisetschema
21966 wine_fn_config_makefile dlls/apphelp enable_apphelp
21967 wine_fn_config_makefile dlls/apphelp/tests enable_tests
21968 wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
21969 wine_fn_config_makefile dlls/appxdeploymentclient enable_appxdeploymentclient
21970 wine_fn_config_makefile dlls/atl enable_atl
21971 wine_fn_config_makefile dlls/atl/tests enable_tests
21972 wine_fn_config_makefile dlls/atl100 enable_atl100
21973 wine_fn_config_makefile dlls/atl100/tests enable_tests
21974 wine_fn_config_makefile dlls/atl110 enable_atl110
21975 wine_fn_config_makefile dlls/atl110/tests enable_tests
21976 wine_fn_config_makefile dlls/atl80 enable_atl80
21977 wine_fn_config_makefile dlls/atl80/tests enable_tests
21978 wine_fn_config_makefile dlls/atl90 enable_atl90
21979 wine_fn_config_makefile dlls/atlthunk enable_atlthunk
21980 wine_fn_config_makefile dlls/atlthunk/tests enable_tests
21981 wine_fn_config_makefile dlls/atmlib enable_atmlib
21982 wine_fn_config_makefile dlls/authz enable_authz
21983 wine_fn_config_makefile dlls/avicap32 enable_avicap32
21984 wine_fn_config_makefile dlls/avifil32 enable_avifil32
21985 wine_fn_config_makefile dlls/avifil32/tests enable_tests
21986 wine_fn_config_makefile dlls/avifile.dll16 enable_win16
21987 wine_fn_config_makefile dlls/avrt enable_avrt
21988 wine_fn_config_makefile dlls/bcp47langs enable_bcp47langs
21989 wine_fn_config_makefile dlls/bcrypt enable_bcrypt
21990 wine_fn_config_makefile dlls/bcrypt/tests enable_tests
21991 wine_fn_config_makefile dlls/bcryptprimitives enable_bcryptprimitives
21992 wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
21993 wine_fn_config_makefile dlls/browseui enable_browseui
21994 wine_fn_config_makefile dlls/browseui/tests enable_tests
21995 wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
21996 wine_fn_config_makefile dlls/cabinet enable_cabinet
21997 wine_fn_config_makefile dlls/cabinet/tests enable_tests
21998 wine_fn_config_makefile dlls/capi2032 enable_capi2032
21999 wine_fn_config_makefile dlls/cards enable_cards
22000 wine_fn_config_makefile dlls/cdosys enable_cdosys
22001 wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
22002 wine_fn_config_makefile dlls/cfgmgr32/tests enable_tests
22003 wine_fn_config_makefile dlls/clusapi enable_clusapi
22004 wine_fn_config_makefile dlls/cng.sys enable_cng_sys
22005 wine_fn_config_makefile dlls/combase enable_combase
22006 wine_fn_config_makefile dlls/combase/tests enable_tests
22007 wine_fn_config_makefile dlls/comcat enable_comcat
22008 wine_fn_config_makefile dlls/comcat/tests enable_tests
22009 wine_fn_config_makefile dlls/comctl32 enable_comctl32
22010 wine_fn_config_makefile dlls/comctl32/tests enable_tests
22011 wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
22012 wine_fn_config_makefile dlls/comdlg32/tests enable_tests
22013 wine_fn_config_makefile dlls/coml2 enable_coml2
22014 wine_fn_config_makefile dlls/comm.drv16 enable_win16
22015 wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
22016 wine_fn_config_makefile dlls/compobj.dll16 enable_win16
22017 wine_fn_config_makefile dlls/compstui enable_compstui
22018 wine_fn_config_makefile dlls/compstui/tests enable_tests
22019 wine_fn_config_makefile dlls/comsvcs enable_comsvcs
22020 wine_fn_config_makefile dlls/comsvcs/tests enable_tests
22021 wine_fn_config_makefile dlls/concrt140 enable_concrt140
22022 wine_fn_config_makefile dlls/concrt140/tests enable_tests
22023 wine_fn_config_makefile dlls/connect enable_connect
22024 wine_fn_config_makefile dlls/coremessaging enable_coremessaging
22025 wine_fn_config_makefile dlls/credui enable_credui
22026 wine_fn_config_makefile dlls/credui/tests enable_tests
22027 wine_fn_config_makefile dlls/crtdll enable_crtdll
22028 wine_fn_config_makefile dlls/crypt32 enable_crypt32
22029 wine_fn_config_makefile dlls/crypt32/tests enable_tests
22030 wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
22031 wine_fn_config_makefile dlls/cryptdll enable_cryptdll
22032 wine_fn_config_makefile dlls/cryptext enable_cryptext
22033 wine_fn_config_makefile dlls/cryptnet enable_cryptnet
22034 wine_fn_config_makefile dlls/cryptnet/tests enable_tests
22035 wine_fn_config_makefile dlls/cryptowinrt enable_cryptowinrt
22036 wine_fn_config_makefile dlls/cryptowinrt/tests enable_tests
22037 wine_fn_config_makefile dlls/cryptsp enable_cryptsp
22038 wine_fn_config_makefile dlls/cryptui enable_cryptui
22039 wine_fn_config_makefile dlls/cryptui/tests enable_tests
22040 wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
22041 wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
22042 wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
22043 wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
22044 wine_fn_config_makefile dlls/d2d1 enable_d2d1
22045 wine_fn_config_makefile dlls/d2d1/tests enable_tests
22046 wine_fn_config_makefile dlls/d3d10 enable_d3d10
22047 wine_fn_config_makefile dlls/d3d10/tests enable_tests
22048 wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
22049 wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
22050 wine_fn_config_makefile dlls/d3d10core enable_d3d10core
22051 wine_fn_config_makefile dlls/d3d10core/tests enable_tests
22052 wine_fn_config_makefile dlls/d3d11 enable_d3d11
22053 wine_fn_config_makefile dlls/d3d11/tests enable_tests
22054 wine_fn_config_makefile dlls/d3d12 enable_d3d12
22055 wine_fn_config_makefile dlls/d3d12/tests enable_tests
22056 wine_fn_config_makefile dlls/d3d12core enable_d3d12core
22057 wine_fn_config_makefile dlls/d3d8 enable_d3d8
22058 wine_fn_config_makefile dlls/d3d8/tests enable_tests
22059 wine_fn_config_makefile dlls/d3d8thk enable_d3d8thk
22060 wine_fn_config_makefile dlls/d3d9 enable_d3d9
22061 wine_fn_config_makefile dlls/d3d9/tests enable_tests
22062 wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
22063 wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
22064 wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
22065 wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
22066 wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
22067 wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
22068 wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
22069 wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
22070 wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
22071 wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
22072 wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
22073 wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
22074 wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
22075 wine_fn_config_makefile dlls/d3dcompiler_46/tests enable_tests
22076 wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
22077 wine_fn_config_makefile dlls/d3dcompiler_47/tests enable_tests
22078 wine_fn_config_makefile dlls/d3dim enable_d3dim
22079 wine_fn_config_makefile dlls/d3dim700 enable_d3dim700
22080 wine_fn_config_makefile dlls/d3drm enable_d3drm
22081 wine_fn_config_makefile dlls/d3drm/tests enable_tests
22082 wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
22083 wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
22084 wine_fn_config_makefile dlls/d3dx10_34/tests enable_tests
22085 wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
22086 wine_fn_config_makefile dlls/d3dx10_35/tests enable_tests
22087 wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
22088 wine_fn_config_makefile dlls/d3dx10_36/tests enable_tests
22089 wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
22090 wine_fn_config_makefile dlls/d3dx10_37/tests enable_tests
22091 wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
22092 wine_fn_config_makefile dlls/d3dx10_38/tests enable_tests
22093 wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
22094 wine_fn_config_makefile dlls/d3dx10_39/tests enable_tests
22095 wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
22096 wine_fn_config_makefile dlls/d3dx10_40/tests enable_tests
22097 wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
22098 wine_fn_config_makefile dlls/d3dx10_41/tests enable_tests
22099 wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
22100 wine_fn_config_makefile dlls/d3dx10_42/tests enable_tests
22101 wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
22102 wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
22103 wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
22104 wine_fn_config_makefile dlls/d3dx11_42/tests enable_tests
22105 wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
22106 wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
22107 wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
22108 wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
22109 wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
22110 wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
22111 wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
22112 wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
22113 wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
22114 wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
22115 wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
22116 wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
22117 wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
22118 wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
22119 wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
22120 wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
22121 wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
22122 wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
22123 wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
22124 wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
22125 wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
22126 wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
22127 wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
22128 wine_fn_config_makefile dlls/d3dxof enable_d3dxof
22129 wine_fn_config_makefile dlls/d3dxof/tests enable_tests
22130 wine_fn_config_makefile dlls/davclnt enable_davclnt
22131 wine_fn_config_makefile dlls/dbgeng enable_dbgeng
22132 wine_fn_config_makefile dlls/dbgeng/tests enable_tests
22133 wine_fn_config_makefile dlls/dbghelp enable_dbghelp
22134 wine_fn_config_makefile dlls/dbghelp/tests enable_tests
22135 wine_fn_config_makefile dlls/dciman32 enable_dciman32
22136 wine_fn_config_makefile dlls/dcomp enable_dcomp
22137 wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
22138 wine_fn_config_makefile dlls/ddraw enable_ddraw
22139 wine_fn_config_makefile dlls/ddraw/tests enable_tests
22140 wine_fn_config_makefile dlls/ddrawex enable_ddrawex
22141 wine_fn_config_makefile dlls/ddrawex/tests enable_tests
22142 wine_fn_config_makefile dlls/devenum enable_devenum
22143 wine_fn_config_makefile dlls/devenum/tests enable_tests
22144 wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
22145 wine_fn_config_makefile dlls/dhcpcsvc/tests enable_tests
22146 wine_fn_config_makefile dlls/dhcpcsvc6 enable_dhcpcsvc6
22147 wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
22148 wine_fn_config_makefile dlls/diasymreader enable_diasymreader
22149 wine_fn_config_makefile dlls/difxapi enable_difxapi
22150 wine_fn_config_makefile dlls/dinput enable_dinput
22151 wine_fn_config_makefile dlls/dinput/tests enable_tests
22152 wine_fn_config_makefile dlls/dinput8 enable_dinput8
22153 wine_fn_config_makefile dlls/directmanipulation enable_directmanipulation
22154 wine_fn_config_makefile dlls/directmanipulation/tests enable_tests
22155 wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
22156 wine_fn_config_makefile dlls/dispex enable_dispex
22157 wine_fn_config_makefile dlls/dispex/tests enable_tests
22158 wine_fn_config_makefile dlls/display.drv16 enable_win16
22159 wine_fn_config_makefile dlls/dmband enable_dmband
22160 wine_fn_config_makefile dlls/dmband/tests enable_tests
22161 wine_fn_config_makefile dlls/dmcompos enable_dmcompos
22162 wine_fn_config_makefile dlls/dmcompos/tests enable_tests
22163 wine_fn_config_makefile dlls/dmime enable_dmime
22164 wine_fn_config_makefile dlls/dmime/tests enable_tests
22165 wine_fn_config_makefile dlls/dmloader enable_dmloader
22166 wine_fn_config_makefile dlls/dmloader/tests enable_tests
22167 wine_fn_config_makefile dlls/dmscript enable_dmscript
22168 wine_fn_config_makefile dlls/dmscript/tests enable_tests
22169 wine_fn_config_makefile dlls/dmstyle enable_dmstyle
22170 wine_fn_config_makefile dlls/dmstyle/tests enable_tests
22171 wine_fn_config_makefile dlls/dmsynth enable_dmsynth
22172 wine_fn_config_makefile dlls/dmsynth/tests enable_tests
22173 wine_fn_config_makefile dlls/dmusic enable_dmusic
22174 wine_fn_config_makefile dlls/dmusic/tests enable_tests
22175 wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
22176 wine_fn_config_makefile dlls/dnsapi enable_dnsapi
22177 wine_fn_config_makefile dlls/dnsapi/tests enable_tests
22178 wine_fn_config_makefile dlls/dplay enable_dplay
22179 wine_fn_config_makefile dlls/dplayx enable_dplayx
22180 wine_fn_config_makefile dlls/dplayx/tests enable_tests
22181 wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
22182 wine_fn_config_makefile dlls/dpnet enable_dpnet
22183 wine_fn_config_makefile dlls/dpnet/tests enable_tests
22184 wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
22185 wine_fn_config_makefile dlls/dpnhupnp enable_dpnhupnp
22186 wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
22187 wine_fn_config_makefile dlls/dpvoice enable_dpvoice
22188 wine_fn_config_makefile dlls/dpvoice/tests enable_tests
22189 wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
22190 wine_fn_config_makefile dlls/drmclien enable_drmclien
22191 wine_fn_config_makefile dlls/dsdmo enable_dsdmo
22192 wine_fn_config_makefile dlls/dsdmo/tests enable_tests
22193 wine_fn_config_makefile dlls/dsound enable_dsound
22194 wine_fn_config_makefile dlls/dsound/tests enable_tests
22195 wine_fn_config_makefile dlls/dsquery enable_dsquery
22196 wine_fn_config_makefile dlls/dssenh enable_dssenh
22197 wine_fn_config_makefile dlls/dssenh/tests enable_tests
22198 wine_fn_config_makefile dlls/dsuiext enable_dsuiext
22199 wine_fn_config_makefile dlls/dswave enable_dswave
22200 wine_fn_config_makefile dlls/dswave/tests enable_tests
22201 wine_fn_config_makefile dlls/dwmapi enable_dwmapi
22202 wine_fn_config_makefile dlls/dwmapi/tests enable_tests
22203 wine_fn_config_makefile dlls/dwrite enable_dwrite
22204 wine_fn_config_makefile dlls/dwrite/tests enable_tests
22205 wine_fn_config_makefile dlls/dx8vb enable_dx8vb
22206 wine_fn_config_makefile dlls/dxcore enable_dxcore
22207 wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
22208 wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
22209 wine_fn_config_makefile dlls/dxgi enable_dxgi
22210 wine_fn_config_makefile dlls/dxgi/tests enable_tests
22211 wine_fn_config_makefile dlls/dxtrans enable_dxtrans
22212 wine_fn_config_makefile dlls/dxva2 enable_dxva2
22213 wine_fn_config_makefile dlls/dxva2/tests enable_tests
22214 wine_fn_config_makefile dlls/esent enable_esent
22215 wine_fn_config_makefile dlls/evr enable_evr
22216 wine_fn_config_makefile dlls/evr/tests enable_tests
22217 wine_fn_config_makefile dlls/explorerframe enable_explorerframe
22218 wine_fn_config_makefile dlls/explorerframe/tests enable_tests
22219 wine_fn_config_makefile dlls/faultrep enable_faultrep
22220 wine_fn_config_makefile dlls/faultrep/tests enable_tests
22221 wine_fn_config_makefile dlls/feclient enable_feclient
22222 wine_fn_config_makefile dlls/fltlib enable_fltlib
22223 wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
22224 wine_fn_config_makefile dlls/fntcache enable_fntcache
22225 wine_fn_config_makefile dlls/fontsub enable_fontsub
22226 wine_fn_config_makefile dlls/fusion enable_fusion
22227 wine_fn_config_makefile dlls/fusion/tests enable_tests
22228 wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
22229 wine_fn_config_makefile dlls/gameux enable_gameux
22230 wine_fn_config_makefile dlls/gameux/tests enable_tests
22231 wine_fn_config_makefile dlls/gamingtcui enable_gamingtcui
22232 wine_fn_config_makefile dlls/gdi.exe16 enable_win16
22233 wine_fn_config_makefile dlls/gdi32 enable_gdi32
22234 wine_fn_config_makefile dlls/gdi32/tests enable_tests
22235 wine_fn_config_makefile dlls/gdiplus enable_gdiplus
22236 wine_fn_config_makefile dlls/gdiplus/tests enable_tests
22237 wine_fn_config_makefile dlls/geolocation enable_geolocation
22238 wine_fn_config_makefile dlls/geolocation/tests enable_tests
22239 wine_fn_config_makefile dlls/glu32 enable_glu32
22240 wine_fn_config_makefile dlls/glu32/tests enable_tests
22241 wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
22242 wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
22243 wine_fn_config_makefile dlls/graphicscapture enable_graphicscapture
22244 wine_fn_config_makefile dlls/graphicscapture/tests enable_tests
22245 wine_fn_config_makefile dlls/hal enable_hal
22246 wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
22247 wine_fn_config_makefile dlls/hid enable_hid
22248 wine_fn_config_makefile dlls/hid/tests enable_tests
22249 wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
22250 wine_fn_config_makefile dlls/hidparse.sys enable_hidparse_sys
22251 wine_fn_config_makefile dlls/hlink enable_hlink
22252 wine_fn_config_makefile dlls/hlink/tests enable_tests
22253 wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
22254 wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
22255 wine_fn_config_makefile dlls/hrtfapo enable_hrtfapo
22256 wine_fn_config_makefile dlls/http.sys enable_http_sys
22257 wine_fn_config_makefile dlls/httpapi enable_httpapi
22258 wine_fn_config_makefile dlls/httpapi/tests enable_tests
22259 wine_fn_config_makefile dlls/hvsimanagementapi enable_hvsimanagementapi
22260 wine_fn_config_makefile dlls/hvsimanagementapi/tests enable_tests
22261 wine_fn_config_makefile dlls/ia2comproxy enable_ia2comproxy
22262 wine_fn_config_makefile dlls/iccvid enable_iccvid
22263 wine_fn_config_makefile dlls/icmp enable_icmp
22264 wine_fn_config_makefile dlls/ieframe enable_ieframe
22265 wine_fn_config_makefile dlls/ieframe/tests enable_tests
22266 wine_fn_config_makefile dlls/ieproxy enable_ieproxy
22267 wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
22268 wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
22269 wine_fn_config_makefile dlls/imagehlp enable_imagehlp
22270 wine_fn_config_makefile dlls/imagehlp/tests enable_tests
22271 wine_fn_config_makefile dlls/imm.dll16 enable_win16
22272 wine_fn_config_makefile dlls/imm32 enable_imm32
22273 wine_fn_config_makefile dlls/imm32/tests enable_tests
22274 wine_fn_config_makefile dlls/inetcomm enable_inetcomm
22275 wine_fn_config_makefile dlls/inetcomm/tests enable_tests
22276 wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
22277 wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
22278 wine_fn_config_makefile dlls/inetmib1/tests enable_tests
22279 wine_fn_config_makefile dlls/infosoft enable_infosoft
22280 wine_fn_config_makefile dlls/infosoft/tests enable_tests
22281 wine_fn_config_makefile dlls/initpki enable_initpki
22282 wine_fn_config_makefile dlls/inkobj enable_inkobj
22283 wine_fn_config_makefile dlls/inseng enable_inseng
22284 wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
22285 wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
22286 wine_fn_config_makefile dlls/iprop enable_iprop
22287 wine_fn_config_makefile dlls/ir50_32 enable_ir50_32
22288 wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
22289 wine_fn_config_makefile dlls/itircl enable_itircl
22290 wine_fn_config_makefile dlls/itss enable_itss
22291 wine_fn_config_makefile dlls/itss/tests enable_tests
22292 wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
22293 wine_fn_config_makefile dlls/jscript enable_jscript
22294 wine_fn_config_makefile dlls/jscript/tests enable_tests
22295 wine_fn_config_makefile dlls/jsproxy enable_jsproxy
22296 wine_fn_config_makefile dlls/jsproxy/tests enable_tests
22297 wine_fn_config_makefile dlls/kerberos enable_kerberos
22298 wine_fn_config_makefile dlls/kernel32 enable_kernel32
22299 wine_fn_config_makefile dlls/kernel32/tests enable_tests
22300 wine_fn_config_makefile dlls/kernelbase enable_kernelbase
22301 wine_fn_config_makefile dlls/kernelbase/tests enable_tests
22302 wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
22303 wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
22304 wine_fn_config_makefile dlls/ksecdd.sys enable_ksecdd_sys
22305 wine_fn_config_makefile dlls/ksproxy.ax enable_ksproxy_ax
22306 wine_fn_config_makefile dlls/ksuser enable_ksuser
22307 wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
22308 wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
22309 wine_fn_config_makefile dlls/light.msstyles enable_light_msstyles
22310 wine_fn_config_makefile dlls/loadperf enable_loadperf
22311 wine_fn_config_makefile dlls/localspl enable_localspl
22312 wine_fn_config_makefile dlls/localspl/tests enable_tests
22313 wine_fn_config_makefile dlls/localui enable_localui
22314 wine_fn_config_makefile dlls/localui/tests enable_tests
22315 wine_fn_config_makefile dlls/lz32 enable_lz32
22316 wine_fn_config_makefile dlls/lz32/tests enable_tests
22317 wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
22318 wine_fn_config_makefile dlls/magnification enable_magnification
22319 wine_fn_config_makefile dlls/mapi32 enable_mapi32
22320 wine_fn_config_makefile dlls/mapi32/tests enable_tests
22321 wine_fn_config_makefile dlls/mapistub enable_mapistub
22322 wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
22323 wine_fn_config_makefile dlls/mcicda enable_mcicda
22324 wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
22325 wine_fn_config_makefile dlls/mciseq enable_mciseq
22326 wine_fn_config_makefile dlls/mciwave enable_mciwave
22327 wine_fn_config_makefile dlls/mf enable_mf
22328 wine_fn_config_makefile dlls/mf/tests enable_tests
22329 wine_fn_config_makefile dlls/mf3216 enable_mf3216
22330 wine_fn_config_makefile dlls/mferror enable_mferror
22331 wine_fn_config_makefile dlls/mfmediaengine enable_mfmediaengine
22332 wine_fn_config_makefile dlls/mfmediaengine/tests enable_tests
22333 wine_fn_config_makefile dlls/mfplat enable_mfplat
22334 wine_fn_config_makefile dlls/mfplat/tests enable_tests
22335 wine_fn_config_makefile dlls/mfplay enable_mfplay
22336 wine_fn_config_makefile dlls/mfplay/tests enable_tests
22337 wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
22338 wine_fn_config_makefile dlls/mfreadwrite/tests enable_tests
22339 wine_fn_config_makefile dlls/mfsrcsnk enable_mfsrcsnk
22340 wine_fn_config_makefile dlls/mfsrcsnk/tests enable_tests
22341 wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
22342 wine_fn_config_makefile dlls/midimap enable_midimap
22343 wine_fn_config_makefile dlls/mlang enable_mlang
22344 wine_fn_config_makefile dlls/mlang/tests enable_tests
22345 wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
22346 wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
22347 wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
22348 wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
22349 wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
22350 wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
22351 wine_fn_config_makefile dlls/monodebg.vxd enable_win16
22352 wine_fn_config_makefile dlls/mouhid.sys enable_mouhid_sys
22353 wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
22354 wine_fn_config_makefile dlls/mouse.drv16 enable_win16
22355 wine_fn_config_makefile dlls/mp3dmod enable_mp3dmod
22356 wine_fn_config_makefile dlls/mp3dmod/tests enable_tests
22357 wine_fn_config_makefile dlls/mpr enable_mpr
22358 wine_fn_config_makefile dlls/mpr/tests enable_tests
22359 wine_fn_config_makefile dlls/mprapi enable_mprapi
22360 wine_fn_config_makefile dlls/msacm.dll16 enable_win16
22361 wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
22362 wine_fn_config_makefile dlls/msacm32 enable_msacm32
22363 wine_fn_config_makefile dlls/msacm32/tests enable_tests
22364 wine_fn_config_makefile dlls/msado15 enable_msado15
22365 wine_fn_config_makefile dlls/msado15/tests enable_tests
22366 wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
22367 wine_fn_config_makefile dlls/msasn1 enable_msasn1
22368 wine_fn_config_makefile dlls/msasn1/tests enable_tests
22369 wine_fn_config_makefile dlls/msauddecmft enable_msauddecmft
22370 wine_fn_config_makefile dlls/mscat32 enable_mscat32
22371 wine_fn_config_makefile dlls/mscms enable_mscms
22372 wine_fn_config_makefile dlls/mscms/tests enable_tests
22373 wine_fn_config_makefile dlls/mscoree enable_mscoree
22374 wine_fn_config_makefile dlls/mscoree/tests enable_tests
22375 wine_fn_config_makefile dlls/mscorwks enable_mscorwks
22376 wine_fn_config_makefile dlls/msctf enable_msctf
22377 wine_fn_config_makefile dlls/msctf/tests enable_tests
22378 wine_fn_config_makefile dlls/msctfmonitor enable_msctfmonitor
22379 wine_fn_config_makefile dlls/msctfp enable_msctfp
22380 wine_fn_config_makefile dlls/msdaps enable_msdaps
22381 wine_fn_config_makefile dlls/msdasql enable_msdasql
22382 wine_fn_config_makefile dlls/msdasql/tests enable_tests
22383 wine_fn_config_makefile dlls/msdelta enable_msdelta
22384 wine_fn_config_makefile dlls/msdmo enable_msdmo
22385 wine_fn_config_makefile dlls/msdmo/tests enable_tests
22386 wine_fn_config_makefile dlls/msdrm enable_msdrm
22387 wine_fn_config_makefile dlls/msftedit enable_msftedit
22388 wine_fn_config_makefile dlls/msftedit/tests enable_tests
22389 wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
22390 wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
22391 wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
22392 wine_fn_config_makefile dlls/mshtml enable_mshtml
22393 wine_fn_config_makefile dlls/mshtml/tests enable_tests
22394 wine_fn_config_makefile dlls/msi enable_msi
22395 wine_fn_config_makefile dlls/msi/tests enable_tests
22396 wine_fn_config_makefile dlls/msident enable_msident
22397 wine_fn_config_makefile dlls/msimg32 enable_msimg32
22398 wine_fn_config_makefile dlls/msimsg enable_msimsg
22399 wine_fn_config_makefile dlls/msimtf enable_msimtf
22400 wine_fn_config_makefile dlls/msisip enable_msisip
22401 wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
22402 wine_fn_config_makefile dlls/msls31 enable_msls31
22403 wine_fn_config_makefile dlls/msmpeg2vdec enable_msmpeg2vdec
22404 wine_fn_config_makefile dlls/msnet32 enable_msnet32
22405 wine_fn_config_makefile dlls/mspatcha enable_mspatcha
22406 wine_fn_config_makefile dlls/mspatcha/tests enable_tests
22407 wine_fn_config_makefile dlls/msports enable_msports
22408 wine_fn_config_makefile dlls/msrle32 enable_msrle32
22409 wine_fn_config_makefile dlls/msrle32/tests enable_tests
22410 wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
22411 wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
22412 wine_fn_config_makefile dlls/mssign32 enable_mssign32
22413 wine_fn_config_makefile dlls/mssip32 enable_mssip32
22414 wine_fn_config_makefile dlls/mstask enable_mstask
22415 wine_fn_config_makefile dlls/mstask/tests enable_tests
22416 wine_fn_config_makefile dlls/msttsengine enable_msttsengine
22417 wine_fn_config_makefile dlls/msv1_0 enable_msv1_0
22418 wine_fn_config_makefile dlls/msvcirt enable_msvcirt
22419 wine_fn_config_makefile dlls/msvcirt/tests enable_tests
22420 wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
22421 wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
22422 wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
22423 wine_fn_config_makefile dlls/msvcp100/tests enable_tests
22424 wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
22425 wine_fn_config_makefile dlls/msvcp110/tests enable_tests
22426 wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
22427 wine_fn_config_makefile dlls/msvcp120/tests enable_tests
22428 wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
22429 wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
22430 wine_fn_config_makefile dlls/msvcp140/tests enable_tests
22431 wine_fn_config_makefile dlls/msvcp140_1 enable_msvcp140_1
22432 wine_fn_config_makefile dlls/msvcp140_1/tests enable_tests
22433 wine_fn_config_makefile dlls/msvcp140_2 enable_msvcp140_2
22434 wine_fn_config_makefile dlls/msvcp140_2/tests enable_tests
22435 wine_fn_config_makefile dlls/msvcp140_atomic_wait enable_msvcp140_atomic_wait
22436 wine_fn_config_makefile dlls/msvcp140_atomic_wait/tests enable_tests
22437 wine_fn_config_makefile dlls/msvcp140_codecvt_ids enable_msvcp140_codecvt_ids
22438 wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
22439 wine_fn_config_makefile dlls/msvcp60/tests enable_tests
22440 wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
22441 wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
22442 wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
22443 wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
22444 wine_fn_config_makefile dlls/msvcp90/tests enable_tests
22445 wine_fn_config_makefile dlls/msvcp_win enable_msvcp_win
22446 wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
22447 wine_fn_config_makefile dlls/msvcr100/tests enable_tests
22448 wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
22449 wine_fn_config_makefile dlls/msvcr110/tests enable_tests
22450 wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
22451 wine_fn_config_makefile dlls/msvcr120/tests enable_tests
22452 wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
22453 wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
22454 wine_fn_config_makefile dlls/msvcr70/tests enable_tests
22455 wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
22456 wine_fn_config_makefile dlls/msvcr71/tests enable_tests
22457 wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
22458 wine_fn_config_makefile dlls/msvcr80/tests enable_tests
22459 wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
22460 wine_fn_config_makefile dlls/msvcr90/tests enable_tests
22461 wine_fn_config_makefile dlls/msvcrt enable_msvcrt
22462 wine_fn_config_makefile dlls/msvcrt/tests enable_tests
22463 wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
22464 wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
22465 wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
22466 wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
22467 wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
22468 wine_fn_config_makefile dlls/msvfw32/tests enable_tests
22469 wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
22470 wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
22471 wine_fn_config_makefile dlls/mswsock enable_mswsock
22472 wine_fn_config_makefile dlls/msxml enable_msxml
22473 wine_fn_config_makefile dlls/msxml2 enable_msxml2
22474 wine_fn_config_makefile dlls/msxml3 enable_msxml3
22475 wine_fn_config_makefile dlls/msxml3/tests enable_tests
22476 wine_fn_config_makefile dlls/msxml4 enable_msxml4
22477 wine_fn_config_makefile dlls/msxml4/tests enable_tests
22478 wine_fn_config_makefile dlls/msxml6 enable_msxml6
22479 wine_fn_config_makefile dlls/msxml6/tests enable_tests
22480 wine_fn_config_makefile dlls/mtxdm enable_mtxdm
22481 wine_fn_config_makefile dlls/ncrypt enable_ncrypt
22482 wine_fn_config_makefile dlls/ncrypt/tests enable_tests
22483 wine_fn_config_makefile dlls/nddeapi enable_nddeapi
22484 wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
22485 wine_fn_config_makefile dlls/ndis.sys/tests enable_tests
22486 wine_fn_config_makefile dlls/netapi32 enable_netapi32
22487 wine_fn_config_makefile dlls/netapi32/tests enable_tests
22488 wine_fn_config_makefile dlls/netcfgx enable_netcfgx
22489 wine_fn_config_makefile dlls/netcfgx/tests enable_tests
22490 wine_fn_config_makefile dlls/netio.sys enable_netio_sys
22491 wine_fn_config_makefile dlls/netprofm enable_netprofm
22492 wine_fn_config_makefile dlls/netprofm/tests enable_tests
22493 wine_fn_config_makefile dlls/netutils enable_netutils
22494 wine_fn_config_makefile dlls/newdev enable_newdev
22495 wine_fn_config_makefile dlls/ninput enable_ninput
22496 wine_fn_config_makefile dlls/ninput/tests enable_tests
22497 wine_fn_config_makefile dlls/normaliz enable_normaliz
22498 wine_fn_config_makefile dlls/npmshtml enable_npmshtml
22499 wine_fn_config_makefile dlls/npptools enable_npptools
22500 wine_fn_config_makefile dlls/nsi enable_nsi
22501 wine_fn_config_makefile dlls/nsi/tests enable_tests
22502 wine_fn_config_makefile dlls/nsiproxy.sys enable_nsiproxy_sys
22503 wine_fn_config_makefile dlls/ntdll enable_ntdll
22504 wine_fn_config_makefile dlls/ntdll/tests enable_tests
22505 wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
22506 wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
22507 wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
22508 wine_fn_config_makefile dlls/ntoskrnl.exe/tests enable_tests
22509 wine_fn_config_makefile dlls/ntprint enable_ntprint
22510 wine_fn_config_makefile dlls/ntprint/tests enable_tests
22511 wine_fn_config_makefile dlls/objsel enable_objsel
22512 wine_fn_config_makefile dlls/odbc32 enable_odbc32
22513 wine_fn_config_makefile dlls/odbc32/tests enable_tests
22514 wine_fn_config_makefile dlls/odbcbcp enable_odbcbcp
22515 wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
22516 wine_fn_config_makefile dlls/odbccp32/tests enable_tests
22517 wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
22518 wine_fn_config_makefile dlls/ole2.dll16 enable_win16
22519 wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
22520 wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
22521 wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
22522 wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
22523 wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
22524 wine_fn_config_makefile dlls/ole32 enable_ole32
22525 wine_fn_config_makefile dlls/ole32/tests enable_tests
22526 wine_fn_config_makefile dlls/oleacc enable_oleacc
22527 wine_fn_config_makefile dlls/oleacc/tests enable_tests
22528 wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
22529 wine_fn_config_makefile dlls/oleaut32/tests enable_tests
22530 wine_fn_config_makefile dlls/olecli.dll16 enable_win16
22531 wine_fn_config_makefile dlls/olecli32 enable_olecli32
22532 wine_fn_config_makefile dlls/oledb32 enable_oledb32
22533 wine_fn_config_makefile dlls/oledb32/tests enable_tests
22534 wine_fn_config_makefile dlls/oledlg enable_oledlg
22535 wine_fn_config_makefile dlls/oledlg/tests enable_tests
22536 wine_fn_config_makefile dlls/olepro32 enable_olepro32
22537 wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
22538 wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
22539 wine_fn_config_makefile dlls/olethk32 enable_olethk32
22540 wine_fn_config_makefile dlls/opcservices enable_opcservices
22541 wine_fn_config_makefile dlls/opcservices/tests enable_tests
22542 wine_fn_config_makefile dlls/opencl enable_opencl
22543 wine_fn_config_makefile dlls/opengl32 enable_opengl32
22544 wine_fn_config_makefile dlls/opengl32/tests enable_tests
22545 wine_fn_config_makefile dlls/packager enable_packager
22546 wine_fn_config_makefile dlls/packager/tests enable_tests
22547 wine_fn_config_makefile dlls/pdh enable_pdh
22548 wine_fn_config_makefile dlls/pdh/tests enable_tests
22549 wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
22550 wine_fn_config_makefile dlls/pidgen enable_pidgen
22551 wine_fn_config_makefile dlls/powrprof enable_powrprof
22552 wine_fn_config_makefile dlls/printui enable_printui
22553 wine_fn_config_makefile dlls/prntvpt enable_prntvpt
22554 wine_fn_config_makefile dlls/prntvpt/tests enable_tests
22555 wine_fn_config_makefile dlls/profapi enable_profapi
22556 wine_fn_config_makefile dlls/propsys enable_propsys
22557 wine_fn_config_makefile dlls/propsys/tests enable_tests
22558 wine_fn_config_makefile dlls/psapi enable_psapi
22559 wine_fn_config_makefile dlls/psapi/tests enable_tests
22560 wine_fn_config_makefile dlls/pstorec enable_pstorec
22561 wine_fn_config_makefile dlls/pstorec/tests enable_tests
22562 wine_fn_config_makefile dlls/pwrshplugin enable_pwrshplugin
22563 wine_fn_config_makefile dlls/qasf enable_qasf
22564 wine_fn_config_makefile dlls/qasf/tests enable_tests
22565 wine_fn_config_makefile dlls/qcap enable_qcap
22566 wine_fn_config_makefile dlls/qcap/tests enable_tests
22567 wine_fn_config_makefile dlls/qdvd enable_qdvd
22568 wine_fn_config_makefile dlls/qdvd/tests enable_tests
22569 wine_fn_config_makefile dlls/qedit enable_qedit
22570 wine_fn_config_makefile dlls/qedit/tests enable_tests
22571 wine_fn_config_makefile dlls/qmgr enable_qmgr
22572 wine_fn_config_makefile dlls/qmgr/tests enable_tests
22573 wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
22574 wine_fn_config_makefile dlls/quartz enable_quartz
22575 wine_fn_config_makefile dlls/quartz/tests enable_tests
22576 wine_fn_config_makefile dlls/query enable_query
22577 wine_fn_config_makefile dlls/qwave enable_qwave
22578 wine_fn_config_makefile dlls/qwave/tests enable_tests
22579 wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
22580 wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
22581 wine_fn_config_makefile dlls/rasapi32/tests enable_tests
22582 wine_fn_config_makefile dlls/rasdlg enable_rasdlg
22583 wine_fn_config_makefile dlls/regapi enable_regapi
22584 wine_fn_config_makefile dlls/resutils enable_resutils
22585 wine_fn_config_makefile dlls/riched20 enable_riched20
22586 wine_fn_config_makefile dlls/riched20/tests enable_tests
22587 wine_fn_config_makefile dlls/riched32 enable_riched32
22588 wine_fn_config_makefile dlls/riched32/tests enable_tests
22589 wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
22590 wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
22591 wine_fn_config_makefile dlls/rsabase enable_rsabase
22592 wine_fn_config_makefile dlls/rsaenh enable_rsaenh
22593 wine_fn_config_makefile dlls/rsaenh/tests enable_tests
22594 wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
22595 wine_fn_config_makefile dlls/rtutils enable_rtutils
22596 wine_fn_config_makefile dlls/rtworkq enable_rtworkq
22597 wine_fn_config_makefile dlls/rtworkq/tests enable_tests
22598 wine_fn_config_makefile dlls/samlib enable_samlib
22599 wine_fn_config_makefile dlls/sane.ds enable_sane_ds
22600 wine_fn_config_makefile dlls/sapi enable_sapi
22601 wine_fn_config_makefile dlls/sapi/tests enable_tests
22602 wine_fn_config_makefile dlls/sas enable_sas
22603 wine_fn_config_makefile dlls/scarddlg enable_scarddlg
22604 wine_fn_config_makefile dlls/scardsvr enable_scardsvr
22605 wine_fn_config_makefile dlls/sccbase enable_sccbase
22606 wine_fn_config_makefile dlls/schannel enable_schannel
22607 wine_fn_config_makefile dlls/schannel/tests enable_tests
22608 wine_fn_config_makefile dlls/schedsvc enable_schedsvc
22609 wine_fn_config_makefile dlls/schedsvc/tests enable_tests
22610 wine_fn_config_makefile dlls/scrobj enable_scrobj
22611 wine_fn_config_makefile dlls/scrobj/tests enable_tests
22612 wine_fn_config_makefile dlls/scrrun enable_scrrun
22613 wine_fn_config_makefile dlls/scrrun/tests enable_tests
22614 wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
22615 wine_fn_config_makefile dlls/sechost enable_sechost
22616 wine_fn_config_makefile dlls/secur32 enable_secur32
22617 wine_fn_config_makefile dlls/secur32/tests enable_tests
22618 wine_fn_config_makefile dlls/security enable_security
22619 wine_fn_config_makefile dlls/sensapi enable_sensapi
22620 wine_fn_config_makefile dlls/serialui enable_serialui
22621 wine_fn_config_makefile dlls/serialui/tests enable_tests
22622 wine_fn_config_makefile dlls/setupapi enable_setupapi
22623 wine_fn_config_makefile dlls/setupapi/tests enable_tests
22624 wine_fn_config_makefile dlls/setupx.dll16 enable_win16
22625 wine_fn_config_makefile dlls/sfc enable_sfc
22626 wine_fn_config_makefile dlls/sfc_os enable_sfc_os
22627 wine_fn_config_makefile dlls/shcore enable_shcore
22628 wine_fn_config_makefile dlls/shcore/tests enable_tests
22629 wine_fn_config_makefile dlls/shdoclc enable_shdoclc
22630 wine_fn_config_makefile dlls/shdocvw enable_shdocvw
22631 wine_fn_config_makefile dlls/shdocvw/tests enable_tests
22632 wine_fn_config_makefile dlls/shell.dll16 enable_win16
22633 wine_fn_config_makefile dlls/shell32 enable_shell32
22634 wine_fn_config_makefile dlls/shell32/tests enable_tests
22635 wine_fn_config_makefile dlls/shfolder enable_shfolder
22636 wine_fn_config_makefile dlls/shlwapi enable_shlwapi
22637 wine_fn_config_makefile dlls/shlwapi/tests enable_tests
22638 wine_fn_config_makefile dlls/slbcsp enable_slbcsp
22639 wine_fn_config_makefile dlls/slc enable_slc
22640 wine_fn_config_makefile dlls/slc/tests enable_tests
22641 wine_fn_config_makefile dlls/snmpapi enable_snmpapi
22642 wine_fn_config_makefile dlls/snmpapi/tests enable_tests
22643 wine_fn_config_makefile dlls/softpub enable_softpub
22644 wine_fn_config_makefile dlls/sound.drv16 enable_win16
22645 wine_fn_config_makefile dlls/spoolss enable_spoolss
22646 wine_fn_config_makefile dlls/spoolss/tests enable_tests
22647 wine_fn_config_makefile dlls/sppc enable_sppc
22648 wine_fn_config_makefile dlls/srclient enable_srclient
22649 wine_fn_config_makefile dlls/srvcli enable_srvcli
22650 wine_fn_config_makefile dlls/srvsvc enable_srvsvc
22651 wine_fn_config_makefile dlls/sspicli enable_sspicli
22652 wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
22653 wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
22654 wine_fn_config_makefile dlls/sti enable_sti
22655 wine_fn_config_makefile dlls/sti/tests enable_tests
22656 wine_fn_config_makefile dlls/storage.dll16 enable_win16
22657 wine_fn_config_makefile dlls/stress.dll16 enable_win16
22658 wine_fn_config_makefile dlls/strmdll enable_strmdll
22659 wine_fn_config_makefile dlls/svrapi enable_svrapi
22660 wine_fn_config_makefile dlls/sxs enable_sxs
22661 wine_fn_config_makefile dlls/sxs/tests enable_tests
22662 wine_fn_config_makefile dlls/system.drv16 enable_win16
22663 wine_fn_config_makefile dlls/t2embed enable_t2embed
22664 wine_fn_config_makefile dlls/t2embed/tests enable_tests
22665 wine_fn_config_makefile dlls/tapi32 enable_tapi32
22666 wine_fn_config_makefile dlls/tapi32/tests enable_tests
22667 wine_fn_config_makefile dlls/taskschd enable_taskschd
22668 wine_fn_config_makefile dlls/taskschd/tests enable_tests
22669 wine_fn_config_makefile dlls/tbs enable_tbs
22670 wine_fn_config_makefile dlls/tdh enable_tdh
22671 wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
22672 wine_fn_config_makefile dlls/threadpoolwinrt enable_threadpoolwinrt
22673 wine_fn_config_makefile dlls/threadpoolwinrt/tests enable_tests
22674 wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
22675 wine_fn_config_makefile dlls/traffic enable_traffic
22676 wine_fn_config_makefile dlls/twain.dll16 enable_win16
22677 wine_fn_config_makefile dlls/twain_32 enable_twain_32
22678 wine_fn_config_makefile dlls/twain_32/tests enable_tests
22679 wine_fn_config_makefile dlls/twinapi.appcore enable_twinapi_appcore
22680 wine_fn_config_makefile dlls/twinapi.appcore/tests enable_tests
22681 wine_fn_config_makefile dlls/typelib.dll16 enable_win16
22682 wine_fn_config_makefile dlls/tzres enable_tzres
22683 wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
22684 wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
22685 wine_fn_config_makefile dlls/uianimation enable_uianimation
22686 wine_fn_config_makefile dlls/uianimation/tests enable_tests
22687 wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
22688 wine_fn_config_makefile dlls/uiautomationcore/tests enable_tests
22689 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
22690 wine_fn_config_makefile dlls/unicows enable_unicows
22691 wine_fn_config_makefile dlls/updspapi enable_updspapi
22692 wine_fn_config_makefile dlls/url enable_url
22693 wine_fn_config_makefile dlls/urlmon enable_urlmon
22694 wine_fn_config_makefile dlls/urlmon/tests enable_tests
22695 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
22696 wine_fn_config_makefile dlls/user.exe16 enable_win16
22697 wine_fn_config_makefile dlls/user32 enable_user32
22698 wine_fn_config_makefile dlls/user32/tests enable_tests
22699 wine_fn_config_makefile dlls/userenv enable_userenv
22700 wine_fn_config_makefile dlls/userenv/tests enable_tests
22701 wine_fn_config_makefile dlls/usp10 enable_usp10
22702 wine_fn_config_makefile dlls/usp10/tests enable_tests
22703 wine_fn_config_makefile dlls/utildll enable_utildll
22704 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
22705 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
22706 wine_fn_config_makefile dlls/vbscript enable_vbscript
22707 wine_fn_config_makefile dlls/vbscript/tests enable_tests
22708 wine_fn_config_makefile dlls/vcomp enable_vcomp
22709 wine_fn_config_makefile dlls/vcomp/tests enable_tests
22710 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
22711 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
22712 wine_fn_config_makefile dlls/vcomp110/tests enable_tests
22713 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
22714 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
22715 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
22716 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
22717 wine_fn_config_makefile dlls/vcruntime140_1 enable_vcruntime140_1
22718 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
22719 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
22720 wine_fn_config_makefile dlls/ver.dll16 enable_win16
22721 wine_fn_config_makefile dlls/version enable_version
22722 wine_fn_config_makefile dlls/version/tests enable_tests
22723 wine_fn_config_makefile dlls/vga enable_vga
22724 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
22725 wine_fn_config_makefile dlls/virtdisk/tests enable_tests
22726 wine_fn_config_makefile dlls/vmm.vxd enable_win16
22727 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
22728 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
22729 wine_fn_config_makefile dlls/vssapi enable_vssapi
22730 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
22731 wine_fn_config_makefile dlls/vulkan-1 enable_vulkan_1
22732 wine_fn_config_makefile dlls/vulkan-1/tests enable_tests
22733 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
22734 wine_fn_config_makefile dlls/w32skrnl enable_win16
22735 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
22736 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
22737 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
22738 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
22739 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
22740 wine_fn_config_makefile dlls/wdscore enable_wdscore
22741 wine_fn_config_makefile dlls/webservices enable_webservices
22742 wine_fn_config_makefile dlls/webservices/tests enable_tests
22743 wine_fn_config_makefile dlls/websocket enable_websocket
22744 wine_fn_config_makefile dlls/wer enable_wer
22745 wine_fn_config_makefile dlls/wer/tests enable_tests
22746 wine_fn_config_makefile dlls/wevtapi enable_wevtapi
22747 wine_fn_config_makefile dlls/wevtapi/tests enable_tests
22748 wine_fn_config_makefile dlls/wevtsvc enable_wevtsvc
22749 wine_fn_config_makefile dlls/wiaservc enable_wiaservc
22750 wine_fn_config_makefile dlls/wiaservc/tests enable_tests
22751 wine_fn_config_makefile dlls/wimgapi enable_wimgapi
22752 wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
22753 wine_fn_config_makefile dlls/win32u enable_win32u
22754 wine_fn_config_makefile dlls/win32u/tests enable_tests
22755 wine_fn_config_makefile dlls/win87em.dll16 enable_win16
22756 wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
22757 wine_fn_config_makefile dlls/windebug.dll16 enable_win16
22758 wine_fn_config_makefile dlls/windows.applicationmodel enable_windows_applicationmodel
22759 wine_fn_config_makefile dlls/windows.applicationmodel/tests enable_tests
22760 wine_fn_config_makefile dlls/windows.devices.bluetooth enable_windows_devices_bluetooth
22761 wine_fn_config_makefile dlls/windows.devices.bluetooth/tests enable_tests
22762 wine_fn_config_makefile dlls/windows.devices.enumeration enable_windows_devices_enumeration
22763 wine_fn_config_makefile dlls/windows.devices.enumeration/tests enable_tests
22764 wine_fn_config_makefile dlls/windows.devices.usb enable_windows_devices_usb
22765 wine_fn_config_makefile dlls/windows.devices.usb/tests enable_tests
22766 wine_fn_config_makefile dlls/windows.gaming.input enable_windows_gaming_input
22767 wine_fn_config_makefile dlls/windows.gaming.input/tests enable_tests
22768 wine_fn_config_makefile dlls/windows.gaming.ui.gamebar enable_windows_gaming_ui_gamebar
22769 wine_fn_config_makefile dlls/windows.gaming.ui.gamebar/tests enable_tests
22770 wine_fn_config_makefile dlls/windows.globalization enable_windows_globalization
22771 wine_fn_config_makefile dlls/windows.globalization/tests enable_tests
22772 wine_fn_config_makefile dlls/windows.media.devices enable_windows_media_devices
22773 wine_fn_config_makefile dlls/windows.media.devices/tests enable_tests
22774 wine_fn_config_makefile dlls/windows.media.mediacontrol enable_windows_media_mediacontrol
22775 wine_fn_config_makefile dlls/windows.media.mediacontrol/tests enable_tests
22776 wine_fn_config_makefile dlls/windows.media.speech enable_windows_media_speech
22777 wine_fn_config_makefile dlls/windows.media.speech/tests enable_tests
22778 wine_fn_config_makefile dlls/windows.media enable_windows_media
22779 wine_fn_config_makefile dlls/windows.media/tests enable_tests
22780 wine_fn_config_makefile dlls/windows.networking.hostname enable_windows_networking_hostname
22781 wine_fn_config_makefile dlls/windows.networking.hostname/tests enable_tests
22782 wine_fn_config_makefile dlls/windows.networking enable_windows_networking
22783 wine_fn_config_makefile dlls/windows.perception.stub enable_windows_perception_stub
22784 wine_fn_config_makefile dlls/windows.perception.stub/tests enable_tests
22785 wine_fn_config_makefile dlls/windows.security.authentication.onlineid enable_windows_security_authentication_onlineid
22786 wine_fn_config_makefile dlls/windows.security.authentication.onlineid/tests enable_tests
22787 wine_fn_config_makefile dlls/windows.security.credentials.ui.userconsentverifier enable_windows_security_credentials_ui_userconsentverifier
22788 wine_fn_config_makefile dlls/windows.security.credentials.ui.userconsentverifier/tests enable_tests
22789 wine_fn_config_makefile dlls/windows.storage.applicationdata enable_windows_storage_applicationdata
22790 wine_fn_config_makefile dlls/windows.storage.applicationdata/tests enable_tests
22791 wine_fn_config_makefile dlls/windows.system.profile.systemmanufacturers enable_windows_system_profile_systemmanufacturers
22792 wine_fn_config_makefile dlls/windows.system.profile.systemmanufacturers/tests enable_tests
22793 wine_fn_config_makefile dlls/windows.ui enable_windows_ui
22794 wine_fn_config_makefile dlls/windows.ui/tests enable_tests
22795 wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
22796 wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
22797 wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
22798 wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
22799 wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
22800 wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
22801 wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
22802 wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
22803 wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
22804 wine_fn_config_makefile dlls/wined3d enable_wined3d
22805 wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
22806 wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
22807 wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
22808 wine_fn_config_makefile dlls/winemapi enable_winemapi
22809 wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
22810 wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
22811 wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
22812 wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
22813 wine_fn_config_makefile dlls/wineusb.sys enable_wineusb_sys
22814 wine_fn_config_makefile dlls/winevulkan enable_winevulkan
22815 wine_fn_config_makefile dlls/winewayland.drv enable_winewayland_drv
22816 wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
22817 wine_fn_config_makefile dlls/winexinput.sys enable_winexinput_sys
22818 wine_fn_config_makefile dlls/wing.dll16 enable_win16
22819 wine_fn_config_makefile dlls/wing32 enable_wing32
22820 wine_fn_config_makefile dlls/wing32/tests enable_tests
22821 wine_fn_config_makefile dlls/winhttp enable_winhttp
22822 wine_fn_config_makefile dlls/winhttp/tests enable_tests
22823 wine_fn_config_makefile dlls/wininet enable_wininet
22824 wine_fn_config_makefile dlls/wininet/tests enable_tests
22825 wine_fn_config_makefile dlls/winmm enable_winmm
22826 wine_fn_config_makefile dlls/winmm/tests enable_tests
22827 wine_fn_config_makefile dlls/winnls.dll16 enable_win16
22828 wine_fn_config_makefile dlls/winnls32 enable_winnls32
22829 wine_fn_config_makefile dlls/winprint enable_winprint
22830 wine_fn_config_makefile dlls/winscard enable_winscard
22831 wine_fn_config_makefile dlls/winscard/tests enable_tests
22832 wine_fn_config_makefile dlls/winsock.dll16 enable_win16
22833 wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
22834 wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
22835 wine_fn_config_makefile dlls/winsta enable_winsta
22836 wine_fn_config_makefile dlls/wintab.dll16 enable_win16
22837 wine_fn_config_makefile dlls/wintab32 enable_wintab32
22838 wine_fn_config_makefile dlls/wintab32/tests enable_tests
22839 wine_fn_config_makefile dlls/wintrust enable_wintrust
22840 wine_fn_config_makefile dlls/wintrust/tests enable_tests
22841 wine_fn_config_makefile dlls/wintypes enable_wintypes
22842 wine_fn_config_makefile dlls/wintypes/tests enable_tests
22843 wine_fn_config_makefile dlls/winusb enable_winusb
22844 wine_fn_config_makefile dlls/wlanapi enable_wlanapi
22845 wine_fn_config_makefile dlls/wlanapi/tests enable_tests
22846 wine_fn_config_makefile dlls/wlanui enable_wlanui
22847 wine_fn_config_makefile dlls/wldap32 enable_wldap32
22848 wine_fn_config_makefile dlls/wldap32/tests enable_tests
22849 wine_fn_config_makefile dlls/wldp enable_wldp
22850 wine_fn_config_makefile dlls/wldp/tests enable_tests
22851 wine_fn_config_makefile dlls/wmasf enable_wmasf
22852 wine_fn_config_makefile dlls/wmi enable_wmi
22853 wine_fn_config_makefile dlls/wmiutils enable_wmiutils
22854 wine_fn_config_makefile dlls/wmiutils/tests enable_tests
22855 wine_fn_config_makefile dlls/wmp enable_wmp
22856 wine_fn_config_makefile dlls/wmp/tests enable_tests
22857 wine_fn_config_makefile dlls/wmphoto enable_wmphoto
22858 wine_fn_config_makefile dlls/wmvcore enable_wmvcore
22859 wine_fn_config_makefile dlls/wmvcore/tests enable_tests
22860 wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
22861 wine_fn_config_makefile dlls/wofutil enable_wofutil
22862 wine_fn_config_makefile dlls/wow32 enable_win16
22863 wine_fn_config_makefile dlls/wow64 enable_wow64
22864 wine_fn_config_makefile dlls/wow64cpu enable_wow64cpu
22865 wine_fn_config_makefile dlls/wow64win enable_wow64win
22866 wine_fn_config_makefile dlls/wpc enable_wpc
22867 wine_fn_config_makefile dlls/wpc/tests enable_tests
22868 wine_fn_config_makefile dlls/wpcap enable_wpcap
22869 wine_fn_config_makefile dlls/wpcap/tests enable_tests
22870 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
22871 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
22872 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
22873 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
22874 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
22875 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
22876 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
22877 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
22878 wine_fn_config_makefile dlls/wsock32 enable_wsock32
22879 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
22880 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
22881 wine_fn_config_makefile dlls/wuapi enable_wuapi
22882 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
22883 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
22884 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
22885 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
22886 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
22887 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
22888 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
22889 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
22890 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
22891 wine_fn_config_makefile dlls/xactengine2_0 enable_xactengine2_0
22892 wine_fn_config_makefile dlls/xactengine2_4 enable_xactengine2_4
22893 wine_fn_config_makefile dlls/xactengine2_7 enable_xactengine2_7
22894 wine_fn_config_makefile dlls/xactengine2_9 enable_xactengine2_9
22895 wine_fn_config_makefile dlls/xactengine3_0 enable_xactengine3_0
22896 wine_fn_config_makefile dlls/xactengine3_1 enable_xactengine3_1
22897 wine_fn_config_makefile dlls/xactengine3_2 enable_xactengine3_2
22898 wine_fn_config_makefile dlls/xactengine3_3 enable_xactengine3_3
22899 wine_fn_config_makefile dlls/xactengine3_4 enable_xactengine3_4
22900 wine_fn_config_makefile dlls/xactengine3_5 enable_xactengine3_5
22901 wine_fn_config_makefile dlls/xactengine3_6 enable_xactengine3_6
22902 wine_fn_config_makefile dlls/xactengine3_7 enable_xactengine3_7
22903 wine_fn_config_makefile dlls/xactengine3_7/tests enable_tests
22904 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
22905 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
22906 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
22907 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
22908 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
22909 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
22910 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
22911 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
22912 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
22913 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
22914 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
22915 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
22916 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
22917 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
22918 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
22919 wine_fn_config_makefile dlls/xaudio2_8/tests enable_tests
22920 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
22921 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
22922 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
22923 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
22924 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
22925 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
22926 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
22927 wine_fn_config_makefile dlls/xinputuap enable_xinputuap
22928 wine_fn_config_makefile dlls/xmllite enable_xmllite
22929 wine_fn_config_makefile dlls/xmllite/tests enable_tests
22930 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
22931 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
22932 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
22933 wine_fn_config_makefile fonts enable_fonts
22934 wine_fn_config_makefile include enable_include
22935 wine_fn_config_makefile libs/adsiid enable_adsiid
22936 wine_fn_config_makefile libs/dmoguids enable_dmoguids
22937 wine_fn_config_makefile libs/dxerr8 enable_dxerr8
22938 wine_fn_config_makefile libs/dxerr9 enable_dxerr9
22939 wine_fn_config_makefile libs/dxguid enable_dxguid
22940 wine_fn_config_makefile libs/faudio enable_faudio
22941 wine_fn_config_makefile libs/fluidsynth enable_fluidsynth
22942 wine_fn_config_makefile libs/gsm enable_gsm
22943 wine_fn_config_makefile libs/jpeg enable_jpeg
22944 wine_fn_config_makefile libs/jxr enable_jxr
22945 wine_fn_config_makefile libs/lcms2 enable_lcms2
22946 wine_fn_config_makefile libs/ldap enable_ldap
22947 wine_fn_config_makefile libs/mfuuid enable_mfuuid
22948 wine_fn_config_makefile libs/mpg123 enable_mpg123
22949 wine_fn_config_makefile libs/musl enable_musl
22950 wine_fn_config_makefile libs/png enable_png
22951 wine_fn_config_makefile libs/strmbase enable_strmbase
22952 wine_fn_config_makefile libs/strmiids enable_strmiids
22953 wine_fn_config_makefile libs/tiff enable_tiff
22954 wine_fn_config_makefile libs/uuid enable_uuid
22955 wine_fn_config_makefile libs/vkd3d enable_vkd3d
22956 wine_fn_config_makefile libs/wbemuuid enable_wbemuuid
22957 wine_fn_config_makefile libs/wmcodecdspuuid enable_wmcodecdspuuid
22958 wine_fn_config_makefile libs/xml2 enable_xml2
22959 wine_fn_config_makefile libs/xslt enable_xslt
22960 wine_fn_config_makefile libs/zlib enable_zlib
22961 wine_fn_config_makefile libs/zydis enable_zydis
22962 wine_fn_config_makefile loader enable_loader
22963 wine_fn_config_makefile nls enable_nls
22964 wine_fn_config_makefile po enable_po
22965 wine_fn_config_makefile programs/arp enable_arp
22966 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
22967 wine_fn_config_makefile programs/attrib enable_attrib
22968 wine_fn_config_makefile programs/cabarc enable_cabarc
22969 wine_fn_config_makefile programs/cacls enable_cacls
22970 wine_fn_config_makefile programs/certutil enable_certutil
22971 wine_fn_config_makefile programs/chcp.com enable_chcp_com
22972 wine_fn_config_makefile programs/clock enable_clock
22973 wine_fn_config_makefile programs/cmd enable_cmd
22974 wine_fn_config_makefile programs/cmd/tests enable_tests
22975 wine_fn_config_makefile programs/conhost enable_conhost
22976 wine_fn_config_makefile programs/conhost/tests enable_tests
22977 wine_fn_config_makefile programs/control enable_control
22978 wine_fn_config_makefile programs/cscript enable_cscript
22979 wine_fn_config_makefile programs/dism enable_dism
22980 wine_fn_config_makefile programs/dllhost enable_dllhost
22981 wine_fn_config_makefile programs/dplaysvr enable_dplaysvr
22982 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
22983 wine_fn_config_makefile programs/dpvsetup enable_dpvsetup
22984 wine_fn_config_makefile programs/dxdiag enable_dxdiag
22985 wine_fn_config_makefile programs/eject enable_eject
22986 wine_fn_config_makefile programs/expand enable_expand
22987 wine_fn_config_makefile programs/explorer enable_explorer
22988 wine_fn_config_makefile programs/explorer/tests enable_tests
22989 wine_fn_config_makefile programs/extrac32 enable_extrac32
22990 wine_fn_config_makefile programs/fc enable_fc
22991 wine_fn_config_makefile programs/find enable_find
22992 wine_fn_config_makefile programs/find/tests enable_tests
22993 wine_fn_config_makefile programs/findstr enable_findstr
22994 wine_fn_config_makefile programs/findstr/tests enable_tests
22995 wine_fn_config_makefile programs/fsutil enable_fsutil
22996 wine_fn_config_makefile programs/fsutil/tests enable_tests
22997 wine_fn_config_makefile programs/hh enable_hh
22998 wine_fn_config_makefile programs/hostname enable_hostname
22999 wine_fn_config_makefile programs/icacls enable_icacls
23000 wine_fn_config_makefile programs/icinfo enable_icinfo
23001 wine_fn_config_makefile programs/iexplore enable_iexplore
23002 wine_fn_config_makefile programs/ipconfig enable_ipconfig
23003 wine_fn_config_makefile programs/klist enable_klist
23004 wine_fn_config_makefile programs/lodctr enable_lodctr
23005 wine_fn_config_makefile programs/mofcomp enable_mofcomp
23006 wine_fn_config_makefile programs/mshta enable_mshta
23007 wine_fn_config_makefile programs/msidb enable_msidb
23008 wine_fn_config_makefile programs/msiexec enable_msiexec
23009 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
23010 wine_fn_config_makefile programs/net enable_net
23011 wine_fn_config_makefile programs/netsh enable_netsh
23012 wine_fn_config_makefile programs/netstat enable_netstat
23013 wine_fn_config_makefile programs/ngen enable_ngen
23014 wine_fn_config_makefile programs/notepad enable_notepad
23015 wine_fn_config_makefile programs/oleview enable_oleview
23016 wine_fn_config_makefile programs/ping enable_ping
23017 wine_fn_config_makefile programs/plugplay enable_plugplay
23018 wine_fn_config_makefile programs/pnputil enable_pnputil
23019 wine_fn_config_makefile programs/powershell enable_powershell
23020 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
23021 wine_fn_config_makefile programs/progman enable_progman
23022 wine_fn_config_makefile programs/reg enable_reg
23023 wine_fn_config_makefile programs/reg/tests enable_tests
23024 wine_fn_config_makefile programs/regasm enable_regasm
23025 wine_fn_config_makefile programs/regedit enable_regedit
23026 wine_fn_config_makefile programs/regedit/tests enable_tests
23027 wine_fn_config_makefile programs/regini enable_regini
23028 wine_fn_config_makefile programs/regsvcs enable_regsvcs
23029 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
23030 wine_fn_config_makefile programs/robocopy enable_robocopy
23031 wine_fn_config_makefile programs/rpcss enable_rpcss
23032 wine_fn_config_makefile programs/rundll.exe16 enable_win16
23033 wine_fn_config_makefile programs/rundll32 enable_rundll32
23034 wine_fn_config_makefile programs/sc enable_sc
23035 wine_fn_config_makefile programs/sc/tests enable_tests
23036 wine_fn_config_makefile programs/schtasks enable_schtasks
23037 wine_fn_config_makefile programs/schtasks/tests enable_tests
23038 wine_fn_config_makefile programs/sdbinst enable_sdbinst
23039 wine_fn_config_makefile programs/secedit enable_secedit
23040 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
23041 wine_fn_config_makefile programs/services enable_services
23042 wine_fn_config_makefile programs/services/tests enable_tests
23043 wine_fn_config_makefile programs/setx enable_setx
23044 wine_fn_config_makefile programs/shutdown enable_shutdown
23045 wine_fn_config_makefile programs/spoolsv enable_spoolsv
23046 wine_fn_config_makefile programs/start enable_start
23047 wine_fn_config_makefile programs/subst enable_subst
23048 wine_fn_config_makefile programs/svchost enable_svchost
23049 wine_fn_config_makefile programs/systeminfo enable_systeminfo
23050 wine_fn_config_makefile programs/taskkill enable_taskkill
23051 wine_fn_config_makefile programs/tasklist enable_tasklist
23052 wine_fn_config_makefile programs/tasklist/tests enable_tests
23053 wine_fn_config_makefile programs/taskmgr enable_taskmgr
23054 wine_fn_config_makefile programs/termsv enable_termsv
23055 wine_fn_config_makefile programs/uninstaller enable_uninstaller
23056 wine_fn_config_makefile programs/unlodctr enable_unlodctr
23057 wine_fn_config_makefile programs/view enable_view
23058 wine_fn_config_makefile programs/wevtutil enable_wevtutil
23059 wine_fn_config_makefile programs/where enable_where
23060 wine_fn_config_makefile programs/whoami enable_whoami
23061 wine_fn_config_makefile programs/wineboot enable_wineboot
23062 wine_fn_config_makefile programs/winebrowser enable_winebrowser
23063 wine_fn_config_makefile programs/winecfg enable_winecfg
23064 wine_fn_config_makefile programs/wineconsole enable_wineconsole
23065 wine_fn_config_makefile programs/winedbg enable_winedbg
23066 wine_fn_config_makefile programs/winedevice enable_winedevice
23067 wine_fn_config_makefile programs/winefile enable_winefile
23068 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
23069 wine_fn_config_makefile programs/winemine enable_winemine
23070 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
23071 wine_fn_config_makefile programs/winepath enable_winepath
23072 wine_fn_config_makefile programs/winetest enable_winetest
23073 wine_fn_config_makefile programs/winevdm enable_win16
23074 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
23075 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
23076 wine_fn_config_makefile programs/winmgmt enable_winmgmt
23077 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
23078 wine_fn_config_makefile programs/winver enable_winver
23079 wine_fn_config_makefile programs/wmic enable_wmic
23080 wine_fn_config_makefile programs/wmplayer enable_wmplayer
23081 wine_fn_config_makefile programs/wordpad enable_wordpad
23082 wine_fn_config_makefile programs/write enable_write
23083 wine_fn_config_makefile programs/wscript enable_wscript
23084 wine_fn_config_makefile programs/wscript/tests enable_tests
23085 wine_fn_config_makefile programs/wuauserv enable_wuauserv
23086 wine_fn_config_makefile programs/wusa enable_wusa
23087 wine_fn_config_makefile programs/xcopy enable_xcopy
23088 wine_fn_config_makefile programs/xcopy/tests enable_tests
23089 wine_fn_config_makefile server enable_server
23090 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
23091 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
23092 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
23093 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
23094 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
23095 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
23096 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
23097 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
23098 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
23101 as_fn_append CONFIGURE_TARGETS " TAGS"
23102 as_fn_append CONFIGURE_TARGETS " tags"
23103 as_fn_append CONFIGURE_TARGETS " autom4te.cache"
23104 as_fn_append CONFIGURE_TARGETS " config.log"
23105 as_fn_append CONFIGURE_TARGETS " config.status"
23106 as_fn_append CONFIGURE_TARGETS " include/config.h"
23107 as_fn_append CONFIGURE_TARGETS " include/stamp-h"
23108 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS " loader/wine"
23110 if test "x$enable_tools" != xno
23111 then
23112 as_fn_append CONFIGURE_TARGETS " tools/makedep$ac_exeext"
23113 ac_config_commands="$ac_config_commands tools/makedep"
23117 ac_config_commands="$ac_config_commands Makefile"
23121 SHELL=/bin/sh
23124 as_fn_append wine_rules "
23125 all: wine
23126 @echo \"Wine build complete.\"
23127 .INIT: Makefile
23128 .MAKEFILEDEPS:
23129 all: Makefile
23130 Makefile: config.status \$(MAKEDEP)
23131 @./config.status Makefile
23132 depend: \$(MAKEDEP)
23133 \$(MAKEDEP)$makedep_flags"
23136 as_fn_append wine_rules "
23137 config.status: ${wine_srcdir}configure
23138 @./config.status --recheck
23139 include/config.h: include/stamp-h
23140 include/stamp-h: ${wine_srcdir}include/config.h.in config.status
23141 @./config.status include/config.h include/stamp-h"
23143 if test "x$enable_maintainer_mode" = xyes
23144 then
23145 as_fn_append wine_rules "
23146 configure: configure.ac aclocal.m4
23147 autoconf --warnings=all
23148 include/config.h.in: include/stamp-h.in
23149 include/stamp-h.in: configure.ac aclocal.m4
23150 autoheader --warnings=all
23151 @echo timestamp > \$@"
23154 if test "x$enable_tools" != xno
23155 then
23156 as_fn_append wine_rules "
23157 tools/makedep$ac_exeext: ${wine_srcdir}tools/makedep.c include/config.h config.status
23158 @./config.status tools/makedep
23159 Makefile: tools/makedep$ac_exeext"
23160 else
23161 as_fn_append wine_rules "
23162 \$(MAKEDEP):
23163 @echo \"You need to run make in $toolsdir first\" && false"
23167 if test -n "$with_wine64"
23168 then
23169 case "$with_wine64" in
23170 /*) reldir="" ;;
23171 *) reldir="../" ;;
23172 esac
23173 rm -f fonts server 2>/dev/null
23174 as_fn_append wine_rules "
23175 all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
23176 loader/wine64 loader/wine64-preloader:
23177 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
23178 $with_wine64/loader/wine:
23179 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
23180 $with_wine64/loader/wine-preloader:
23181 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
23182 clean::
23183 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
23184 else
23185 TOP_INSTALL_DEV="$TOP_INSTALL_DEV include"
23186 TOP_INSTALL_LIB="$TOP_INSTALL_LIB \
23187 fonts \
23188 loader/wine.inf \
23189 nls \
23190 programs/msidb/msidb \
23191 programs/msiexec/msiexec \
23192 programs/notepad/notepad \
23193 programs/regedit/regedit \
23194 programs/regsvr32/regsvr32 \
23195 programs/wineboot/wineboot \
23196 programs/winecfg/winecfg \
23197 programs/wineconsole/wineconsole \
23198 programs/winedbg/winedbg \
23199 programs/winefile/winefile \
23200 programs/winemine/winemine \
23201 programs/winepath/winepath \
23202 server/wineserver"
23204 case $host_os in
23205 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
23206 *) TOP_INSTALL_LIB="$TOP_INSTALL_LIB loader/wine.desktop" ;;
23207 esac
23211 as_fn_append wine_rules "
23212 distclean:: clean
23213 rm -rf autom4te.cache
23214 maintainer-clean::
23215 rm -f configure include/config.h.in"
23218 as_fn_append wine_rules "
23219 dlls/ntdll/unix/version.c: dummy
23220 @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)
23221 programs/winetest/build.rc: dummy
23222 @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)
23223 programs/winetest/build.nfo:
23224 @-\$(CC) -v 2>\$@
23225 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
23226 cd dlls/wineandroid.drv && gradle -q -Psrcdir=$srcdir assembleDebug
23227 mv dlls/wineandroid.drv/build/outputs/apk/wine-debug.apk \$@"
23230 TAGSFLAGS="--langmap='c:+.idl.l.rh,make:(Make*.in)'"
23232 as_fn_append wine_rules "
23233 TAGS etags:
23234 rm -f TAGS
23235 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs etags -a \$(TAGSFLAGS)
23236 tags ctags:
23237 rm -f tags
23238 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs ctags -a \$(TAGSFLAGS)
23239 dummy:
23240 .PHONY: depend dummy install-manpages"
23242 printf "%s\n" " done" >&6
23243 cat >confcache <<\_ACEOF
23244 # This file is a shell script that caches the results of configure
23245 # tests run on this system so they can be shared between configure
23246 # scripts and configure runs, see configure's option --config-cache.
23247 # It is not useful on other systems. If it contains results you don't
23248 # want to keep, you may remove or edit it.
23250 # config.status only pays attention to the cache file if you give it
23251 # the --recheck option to rerun configure.
23253 # `ac_cv_env_foo' variables (set or unset) will be overridden when
23254 # loading this file, other *unset* `ac_cv_foo' will be assigned the
23255 # following values.
23257 _ACEOF
23259 # The following way of writing the cache mishandles newlines in values,
23260 # but we know of no workaround that is simple, portable, and efficient.
23261 # So, we kill variables containing newlines.
23262 # Ultrix sh set writes to stderr and can't be redirected directly,
23263 # and sets the high bit in the cache file unless we assign to the vars.
23265 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
23266 eval ac_val=\$$ac_var
23267 case $ac_val in #(
23268 *${as_nl}*)
23269 case $ac_var in #(
23270 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
23271 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
23272 esac
23273 case $ac_var in #(
23274 _ | IFS | as_nl) ;; #(
23275 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
23276 *) { eval $ac_var=; unset $ac_var;} ;;
23277 esac ;;
23278 esac
23279 done
23281 (set) 2>&1 |
23282 case $as_nl`(ac_space=' '; set) 2>&1` in #(
23283 *${as_nl}ac_space=\ *)
23284 # `set' does not quote correctly, so add quotes: double-quote
23285 # substitution turns \\\\ into \\, and sed turns \\ into \.
23286 sed -n \
23287 "s/'/'\\\\''/g;
23288 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
23289 ;; #(
23291 # `set' quotes correctly as required by POSIX, so do not add quotes.
23292 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
23294 esac |
23295 sort
23297 sed '
23298 /^ac_cv_env_/b end
23299 t clear
23300 :clear
23301 s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
23302 t end
23303 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
23304 :end' >>confcache
23305 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
23306 if test -w "$cache_file"; then
23307 if test "x$cache_file" != "x/dev/null"; then
23308 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
23309 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
23310 if test ! -f "$cache_file" || test -h "$cache_file"; then
23311 cat confcache >"$cache_file"
23312 else
23313 case $cache_file in #(
23314 */* | ?:*)
23315 mv -f confcache "$cache_file"$$ &&
23316 mv -f "$cache_file"$$ "$cache_file" ;; #(
23318 mv -f confcache "$cache_file" ;;
23319 esac
23322 else
23323 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
23324 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
23327 rm -f confcache
23329 test "x$prefix" = xNONE && prefix=$ac_default_prefix
23330 # Let make expand exec_prefix.
23331 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
23333 DEFS=-DHAVE_CONFIG_H
23335 ac_libobjs=
23336 ac_ltlibobjs=
23338 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
23339 # 1. Remove the extension, and $U if already installed.
23340 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
23341 ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
23342 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
23343 # will be set to the directory where LIBOBJS objects are built.
23344 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
23345 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
23346 done
23347 LIBOBJS=$ac_libobjs
23349 LTLIBOBJS=$ac_ltlibobjs
23353 : "${CONFIG_STATUS=./config.status}"
23354 ac_write_fail=0
23355 ac_clean_files_save=$ac_clean_files
23356 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
23357 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
23358 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
23359 as_write_fail=0
23360 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
23361 #! $SHELL
23362 # Generated by $as_me.
23363 # Run this file to recreate the current configuration.
23364 # Compiler output produced by configure, useful for debugging
23365 # configure, is in config.log if it exists.
23367 debug=false
23368 ac_cs_recheck=false
23369 ac_cs_silent=false
23371 SHELL=\${CONFIG_SHELL-$SHELL}
23372 export SHELL
23373 _ASEOF
23374 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
23375 ## -------------------- ##
23376 ## M4sh Initialization. ##
23377 ## -------------------- ##
23379 # Be more Bourne compatible
23380 DUALCASE=1; export DUALCASE # for MKS sh
23381 as_nop=:
23382 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
23383 then :
23384 emulate sh
23385 NULLCMD=:
23386 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23387 # is contrary to our usage. Disable this feature.
23388 alias -g '${1+"$@"}'='"$@"'
23389 setopt NO_GLOB_SUBST
23390 else $as_nop
23391 case `(set -o) 2>/dev/null` in #(
23392 *posix*) :
23393 set -o posix ;; #(
23394 *) :
23396 esac
23401 # Reset variables that may have inherited troublesome values from
23402 # the environment.
23404 # IFS needs to be set, to space, tab, and newline, in precisely that order.
23405 # (If _AS_PATH_WALK were called with IFS unset, it would have the
23406 # side effect of setting IFS to empty, thus disabling word splitting.)
23407 # Quoting is to prevent editors from complaining about space-tab.
23408 as_nl='
23410 export as_nl
23411 IFS=" "" $as_nl"
23413 PS1='$ '
23414 PS2='> '
23415 PS4='+ '
23417 # Ensure predictable behavior from utilities with locale-dependent output.
23418 LC_ALL=C
23419 export LC_ALL
23420 LANGUAGE=C
23421 export LANGUAGE
23423 # We cannot yet rely on "unset" to work, but we need these variables
23424 # to be unset--not just set to an empty or harmless value--now, to
23425 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
23426 # also avoids known problems related to "unset" and subshell syntax
23427 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
23428 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
23429 do eval test \${$as_var+y} \
23430 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
23431 done
23433 # Ensure that fds 0, 1, and 2 are open.
23434 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
23435 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
23436 if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
23438 # The user is always right.
23439 if ${PATH_SEPARATOR+false} :; then
23440 PATH_SEPARATOR=:
23441 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
23442 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
23443 PATH_SEPARATOR=';'
23448 # Find who we are. Look in the path if we contain no directory separator.
23449 as_myself=
23450 case $0 in #((
23451 *[\\/]* ) as_myself=$0 ;;
23452 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23453 for as_dir in $PATH
23455 IFS=$as_save_IFS
23456 case $as_dir in #(((
23457 '') as_dir=./ ;;
23458 */) ;;
23459 *) as_dir=$as_dir/ ;;
23460 esac
23461 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
23462 done
23463 IFS=$as_save_IFS
23466 esac
23467 # We did not find ourselves, most probably we were run as `sh COMMAND'
23468 # in which case we are not to be found in the path.
23469 if test "x$as_myself" = x; then
23470 as_myself=$0
23472 if test ! -f "$as_myself"; then
23473 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
23474 exit 1
23479 # as_fn_error STATUS ERROR [LINENO LOG_FD]
23480 # ----------------------------------------
23481 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
23482 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
23483 # script with STATUS, using 1 if that was 0.
23484 as_fn_error ()
23486 as_status=$1; test $as_status -eq 0 && as_status=1
23487 if test "$4"; then
23488 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
23489 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
23491 printf "%s\n" "$as_me: error: $2" >&2
23492 as_fn_exit $as_status
23493 } # as_fn_error
23497 # as_fn_set_status STATUS
23498 # -----------------------
23499 # Set $? to STATUS, without forking.
23500 as_fn_set_status ()
23502 return $1
23503 } # as_fn_set_status
23505 # as_fn_exit STATUS
23506 # -----------------
23507 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
23508 as_fn_exit ()
23510 set +e
23511 as_fn_set_status $1
23512 exit $1
23513 } # as_fn_exit
23515 # as_fn_unset VAR
23516 # ---------------
23517 # Portably unset VAR.
23518 as_fn_unset ()
23520 { eval $1=; unset $1;}
23522 as_unset=as_fn_unset
23524 # as_fn_append VAR VALUE
23525 # ----------------------
23526 # Append the text in VALUE to the end of the definition contained in VAR. Take
23527 # advantage of any shell optimizations that allow amortized linear growth over
23528 # repeated appends, instead of the typical quadratic growth present in naive
23529 # implementations.
23530 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
23531 then :
23532 eval 'as_fn_append ()
23534 eval $1+=\$2
23536 else $as_nop
23537 as_fn_append ()
23539 eval $1=\$$1\$2
23541 fi # as_fn_append
23543 # as_fn_arith ARG...
23544 # ------------------
23545 # Perform arithmetic evaluation on the ARGs, and store the result in the
23546 # global $as_val. Take advantage of shells that can avoid forks. The arguments
23547 # must be portable across $(()) and expr.
23548 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
23549 then :
23550 eval 'as_fn_arith ()
23552 as_val=$(( $* ))
23554 else $as_nop
23555 as_fn_arith ()
23557 as_val=`expr "$@" || test $? -eq 1`
23559 fi # as_fn_arith
23562 if expr a : '\(a\)' >/dev/null 2>&1 &&
23563 test "X`expr 00001 : '.*\(...\)'`" = X001; then
23564 as_expr=expr
23565 else
23566 as_expr=false
23569 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
23570 as_basename=basename
23571 else
23572 as_basename=false
23575 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
23576 as_dirname=dirname
23577 else
23578 as_dirname=false
23581 as_me=`$as_basename -- "$0" ||
23582 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
23583 X"$0" : 'X\(//\)$' \| \
23584 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
23585 printf "%s\n" X/"$0" |
23586 sed '/^.*\/\([^/][^/]*\)\/*$/{
23587 s//\1/
23590 /^X\/\(\/\/\)$/{
23591 s//\1/
23594 /^X\/\(\/\).*/{
23595 s//\1/
23598 s/.*/./; q'`
23600 # Avoid depending upon Character Ranges.
23601 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
23602 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
23603 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
23604 as_cr_digits='0123456789'
23605 as_cr_alnum=$as_cr_Letters$as_cr_digits
23608 # Determine whether it's possible to make 'echo' print without a newline.
23609 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
23610 # for compatibility with existing Makefiles.
23611 ECHO_C= ECHO_N= ECHO_T=
23612 case `echo -n x` in #(((((
23613 -n*)
23614 case `echo 'xy\c'` in
23615 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
23616 xy) ECHO_C='\c';;
23617 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
23618 ECHO_T=' ';;
23619 esac;;
23621 ECHO_N='-n';;
23622 esac
23624 # For backward compatibility with old third-party macros, we provide
23625 # the shell variables $as_echo and $as_echo_n. New code should use
23626 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
23627 as_echo='printf %s\n'
23628 as_echo_n='printf %s'
23630 rm -f conf$$ conf$$.exe conf$$.file
23631 if test -d conf$$.dir; then
23632 rm -f conf$$.dir/conf$$.file
23633 else
23634 rm -f conf$$.dir
23635 mkdir conf$$.dir 2>/dev/null
23637 if (echo >conf$$.file) 2>/dev/null; then
23638 if ln -s conf$$.file conf$$ 2>/dev/null; then
23639 as_ln_s='ln -s'
23640 # ... but there are two gotchas:
23641 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
23642 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
23643 # In both cases, we have to default to `cp -pR'.
23644 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
23645 as_ln_s='cp -pR'
23646 elif ln conf$$.file conf$$ 2>/dev/null; then
23647 as_ln_s=ln
23648 else
23649 as_ln_s='cp -pR'
23651 else
23652 as_ln_s='cp -pR'
23654 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
23655 rmdir conf$$.dir 2>/dev/null
23658 # as_fn_mkdir_p
23659 # -------------
23660 # Create "$as_dir" as a directory, including parents if necessary.
23661 as_fn_mkdir_p ()
23664 case $as_dir in #(
23665 -*) as_dir=./$as_dir;;
23666 esac
23667 test -d "$as_dir" || eval $as_mkdir_p || {
23668 as_dirs=
23669 while :; do
23670 case $as_dir in #(
23671 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
23672 *) as_qdir=$as_dir;;
23673 esac
23674 as_dirs="'$as_qdir' $as_dirs"
23675 as_dir=`$as_dirname -- "$as_dir" ||
23676 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23677 X"$as_dir" : 'X\(//\)[^/]' \| \
23678 X"$as_dir" : 'X\(//\)$' \| \
23679 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
23680 printf "%s\n" X"$as_dir" |
23681 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23682 s//\1/
23685 /^X\(\/\/\)[^/].*/{
23686 s//\1/
23689 /^X\(\/\/\)$/{
23690 s//\1/
23693 /^X\(\/\).*/{
23694 s//\1/
23697 s/.*/./; q'`
23698 test -d "$as_dir" && break
23699 done
23700 test -z "$as_dirs" || eval "mkdir $as_dirs"
23701 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
23704 } # as_fn_mkdir_p
23705 if mkdir -p . 2>/dev/null; then
23706 as_mkdir_p='mkdir -p "$as_dir"'
23707 else
23708 test -d ./-p && rmdir ./-p
23709 as_mkdir_p=false
23713 # as_fn_executable_p FILE
23714 # -----------------------
23715 # Test if FILE is an executable regular file.
23716 as_fn_executable_p ()
23718 test -f "$1" && test -x "$1"
23719 } # as_fn_executable_p
23720 as_test_x='test -x'
23721 as_executable_p=as_fn_executable_p
23723 # Sed expression to map a string onto a valid CPP name.
23724 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
23726 # Sed expression to map a string onto a valid variable name.
23727 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
23730 exec 6>&1
23731 ## ----------------------------------- ##
23732 ## Main body of $CONFIG_STATUS script. ##
23733 ## ----------------------------------- ##
23734 _ASEOF
23735 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
23737 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23738 # Save the log message, to keep $0 and so on meaningful, and to
23739 # report actual input values of CONFIG_FILES etc. instead of their
23740 # values after options handling.
23741 ac_log="
23742 This file was extended by Wine $as_me 9.11, which was
23743 generated by GNU Autoconf 2.71. Invocation command line was
23745 CONFIG_FILES = $CONFIG_FILES
23746 CONFIG_HEADERS = $CONFIG_HEADERS
23747 CONFIG_LINKS = $CONFIG_LINKS
23748 CONFIG_COMMANDS = $CONFIG_COMMANDS
23749 $ $0 $@
23751 on `(hostname || uname -n) 2>/dev/null | sed 1q`
23754 _ACEOF
23757 case $ac_config_headers in *"
23758 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
23759 esac
23762 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23763 # Files that config.status was made for.
23764 config_headers="$ac_config_headers"
23765 config_links="$ac_config_links"
23766 config_commands="$ac_config_commands"
23768 _ACEOF
23770 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23771 ac_cs_usage="\
23772 \`$as_me' instantiates files and other configuration actions
23773 from templates according to the current configuration. Unless the files
23774 and actions are specified as TAGs, all are instantiated by default.
23776 Usage: $0 [OPTION]... [TAG]...
23778 -h, --help print this help, then exit
23779 -V, --version print version number and configuration settings, then exit
23780 --config print configuration, then exit
23781 -q, --quiet, --silent
23782 do not print progress messages
23783 -d, --debug don't remove temporary files
23784 --recheck update $as_me by reconfiguring in the same conditions
23785 --header=FILE[:TEMPLATE]
23786 instantiate the configuration header FILE
23788 Configuration headers:
23789 $config_headers
23791 Configuration links:
23792 $config_links
23794 Configuration commands:
23795 $config_commands
23797 Report bugs to <wine-devel@winehq.org>.
23798 Wine home page: <https://www.winehq.org>."
23800 _ACEOF
23801 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
23802 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
23803 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23804 ac_cs_config='$ac_cs_config_escaped'
23805 ac_cs_version="\\
23806 Wine config.status 9.11
23807 configured by $0, generated by GNU Autoconf 2.71,
23808 with options \\"\$ac_cs_config\\"
23810 Copyright (C) 2021 Free Software Foundation, Inc.
23811 This config.status script is free software; the Free Software Foundation
23812 gives unlimited permission to copy, distribute and modify it."
23814 ac_pwd='$ac_pwd'
23815 srcdir='$srcdir'
23816 test -n "\$AWK" || AWK=awk
23817 _ACEOF
23819 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23820 # The default lists apply if the user does not specify any file.
23821 ac_need_defaults=:
23822 while test $# != 0
23824 case $1 in
23825 --*=?*)
23826 ac_option=`expr "X$1" : 'X\([^=]*\)='`
23827 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
23828 ac_shift=:
23830 --*=)
23831 ac_option=`expr "X$1" : 'X\([^=]*\)='`
23832 ac_optarg=
23833 ac_shift=:
23836 ac_option=$1
23837 ac_optarg=$2
23838 ac_shift=shift
23840 esac
23842 case $ac_option in
23843 # Handling of the options.
23844 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
23845 ac_cs_recheck=: ;;
23846 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
23847 printf "%s\n" "$ac_cs_version"; exit ;;
23848 --config | --confi | --conf | --con | --co | --c )
23849 printf "%s\n" "$ac_cs_config"; exit ;;
23850 --debug | --debu | --deb | --de | --d | -d )
23851 debug=: ;;
23852 --header | --heade | --head | --hea )
23853 $ac_shift
23854 case $ac_optarg in
23855 *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
23856 esac
23857 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
23858 ac_need_defaults=false;;
23859 --he | --h)
23860 # Conflict between --help and --header
23861 as_fn_error $? "ambiguous option: \`$1'
23862 Try \`$0 --help' for more information.";;
23863 --help | --hel | -h )
23864 printf "%s\n" "$ac_cs_usage"; exit ;;
23865 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
23866 | -silent | --silent | --silen | --sile | --sil | --si | --s)
23867 ac_cs_silent=: ;;
23869 # This is an error.
23870 -*) as_fn_error $? "unrecognized option: \`$1'
23871 Try \`$0 --help' for more information." ;;
23873 *) as_fn_append ac_config_targets " $1"
23874 ac_need_defaults=false ;;
23876 esac
23877 shift
23878 done
23880 ac_configure_extra_args=
23882 if $ac_cs_silent; then
23883 exec 6>/dev/null
23884 ac_configure_extra_args="$ac_configure_extra_args --silent"
23887 _ACEOF
23888 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23889 if \$ac_cs_recheck; then
23890 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
23891 shift
23892 \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
23893 CONFIG_SHELL='$SHELL'
23894 export CONFIG_SHELL
23895 exec "\$@"
23898 _ACEOF
23899 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23900 exec 5>>config.log
23902 echo
23903 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
23904 ## Running $as_me. ##
23905 _ASBOX
23906 printf "%s\n" "$ac_log"
23907 } >&5
23909 _ACEOF
23910 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23912 # INIT-COMMANDS
23914 wine_fn_output_makedep ()
23916 as_dir=tools; as_fn_mkdir_p
23917 $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
23919 wine_fn_output_makefile ()
23921 cat <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && "$wine_makedep"$makedep_flags && return
23922 # This Makefile understands the following targets:
23924 # all (default): build wine
23925 # clean: remove all intermediate files
23926 # distclean: also remove all files created by configure
23927 # test: run tests
23928 # testclean: clean test results to force running all tests again
23929 # install-lib: install libraries needed to run applications
23930 # install-dev: install development environment
23931 # install: install everything
23932 # uninstall: uninstall everything
23933 # ctags: create a tags file for vim and others.
23934 # etags: create a TAGS file for Emacs.
23936 SHELL = $SHELL
23937 PATH_SEPARATOR = $PATH_SEPARATOR
23938 PACKAGE_NAME = $PACKAGE_NAME
23939 PACKAGE_TARNAME = $PACKAGE_TARNAME
23940 PACKAGE_VERSION = $PACKAGE_VERSION
23941 PACKAGE_STRING = $PACKAGE_STRING
23942 PACKAGE_BUGREPORT = $PACKAGE_BUGREPORT
23943 PACKAGE_URL = $PACKAGE_URL
23944 exec_prefix = $exec_prefix
23945 prefix = $prefix
23946 program_transform_name = $program_transform_name
23947 bindir = $bindir
23948 sbindir = $sbindir
23949 libexecdir = $libexecdir
23950 datarootdir = $datarootdir
23951 datadir = $datadir
23952 sysconfdir = $sysconfdir
23953 sharedstatedir = $sharedstatedir
23954 localstatedir = $localstatedir
23955 runstatedir = $runstatedir
23956 includedir = $includedir
23957 oldincludedir = $oldincludedir
23958 docdir = $docdir
23959 infodir = $infodir
23960 htmldir = $htmldir
23961 dvidir = $dvidir
23962 pdfdir = $pdfdir
23963 psdir = $psdir
23964 libdir = $libdir
23965 localedir = $localedir
23966 mandir = $mandir
23967 DEFS = $DEFS
23968 ECHO_C = $ECHO_C
23969 ECHO_N = $ECHO_N
23970 ECHO_T = $ECHO_T
23971 LIBS = $LIBS
23972 build_alias = $build_alias
23973 host_alias = $host_alias
23974 target_alias = $target_alias
23975 system_dllpath = $system_dllpath
23976 build = $build
23977 build_cpu = $build_cpu
23978 build_vendor = $build_vendor
23979 build_os = $build_os
23980 host = $host
23981 host_cpu = $host_cpu
23982 host_vendor = $host_vendor
23983 host_os = $host_os
23984 dlldir = $dlldir
23985 fontdir = $fontdir
23986 nlsdir = $nlsdir
23987 srcdir = $srcdir
23988 SET_MAKE = $SET_MAKE
23989 CC = $CC
23990 CFLAGS = $CFLAGS
23991 LDFLAGS = $LDFLAGS
23992 CPPFLAGS = $CPPFLAGS
23993 ac_ct_CC = $ac_ct_CC
23994 EXEEXT = $EXEEXT
23995 OBJEXT = $OBJEXT
23996 CXX = $CXX
23997 CXXFLAGS = $CXXFLAGS
23998 ac_ct_CXX = $ac_ct_CXX
23999 CPPBIN = $CPPBIN
24000 LD = $LD
24001 TARGETFLAGS = $TARGETFLAGS
24002 toolsext = $toolsext
24003 HOST_ARCH = $HOST_ARCH
24004 aarch64_CC = $aarch64_CC
24005 aarch64_CFLAGS = $aarch64_CFLAGS
24006 aarch64_EXTRACFLAGS = $aarch64_EXTRACFLAGS
24007 aarch64_LDFLAGS = $aarch64_LDFLAGS
24008 aarch64_DEBUG = $aarch64_DEBUG
24009 aarch64_TARGET = $aarch64_TARGET
24010 aarch64_DELAYLOADFLAG = $aarch64_DELAYLOADFLAG
24011 aarch64_DISABLED_SUBDIRS = $aarch64_DISABLED_SUBDIRS
24012 arm_CC = $arm_CC
24013 arm_CFLAGS = $arm_CFLAGS
24014 arm_EXTRACFLAGS = $arm_EXTRACFLAGS
24015 arm_LDFLAGS = $arm_LDFLAGS
24016 arm_DEBUG = $arm_DEBUG
24017 arm_TARGET = $arm_TARGET
24018 arm_DELAYLOADFLAG = $arm_DELAYLOADFLAG
24019 arm_DISABLED_SUBDIRS = $arm_DISABLED_SUBDIRS
24020 arm64ec_CC = $arm64ec_CC
24021 arm64ec_CFLAGS = $arm64ec_CFLAGS
24022 arm64ec_EXTRACFLAGS = $arm64ec_EXTRACFLAGS
24023 arm64ec_LDFLAGS = $arm64ec_LDFLAGS
24024 arm64ec_DEBUG = $arm64ec_DEBUG
24025 arm64ec_TARGET = $arm64ec_TARGET
24026 arm64ec_DELAYLOADFLAG = $arm64ec_DELAYLOADFLAG
24027 arm64ec_DISABLED_SUBDIRS = $arm64ec_DISABLED_SUBDIRS
24028 i386_CC = $i386_CC
24029 i386_CFLAGS = $i386_CFLAGS
24030 i386_EXTRACFLAGS = $i386_EXTRACFLAGS
24031 i386_LDFLAGS = $i386_LDFLAGS
24032 i386_DEBUG = $i386_DEBUG
24033 i386_TARGET = $i386_TARGET
24034 i386_DELAYLOADFLAG = $i386_DELAYLOADFLAG
24035 i386_DISABLED_SUBDIRS = $i386_DISABLED_SUBDIRS
24036 x86_64_CC = $x86_64_CC
24037 x86_64_CFLAGS = $x86_64_CFLAGS
24038 x86_64_EXTRACFLAGS = $x86_64_EXTRACFLAGS
24039 x86_64_LDFLAGS = $x86_64_LDFLAGS
24040 x86_64_DEBUG = $x86_64_DEBUG
24041 x86_64_TARGET = $x86_64_TARGET
24042 x86_64_DELAYLOADFLAG = $x86_64_DELAYLOADFLAG
24043 x86_64_DISABLED_SUBDIRS = $x86_64_DISABLED_SUBDIRS
24044 toolsdir = $toolsdir
24045 MAKEDEP = $MAKEDEP
24046 RUNTESTFLAGS = $RUNTESTFLAGS
24047 SED_CMD = $SED_CMD
24048 FLEX = $FLEX
24049 BISON = $BISON
24050 AR = $AR
24051 ac_ct_AR = $ac_ct_AR
24052 STRIP = $STRIP
24053 RANLIB = $RANLIB
24054 LN_S = $LN_S
24055 GREP = $GREP
24056 EGREP = $EGREP
24057 LDCONFIG = $LDCONFIG
24058 MSGFMT = $MSGFMT
24059 PKG_CONFIG = $PKG_CONFIG
24060 FONTFORGE = $FONTFORGE
24061 RSVG = $RSVG
24062 CONVERT = $CONVERT
24063 ICOTOOL = $ICOTOOL
24064 I386_LIBS = $I386_LIBS
24065 OPENGL_LIBS = $OPENGL_LIBS
24066 DLLFLAGS = $DLLFLAGS
24067 LDDLLFLAGS = $LDDLLFLAGS
24068 LDEXECFLAGS = $LDEXECFLAGS
24069 EXTRACFLAGS = $EXTRACFLAGS
24070 UNIXDLLFLAGS = $UNIXDLLFLAGS
24071 UNIXLDFLAGS = $UNIXLDFLAGS
24072 TOP_INSTALL_LIB = $TOP_INSTALL_LIB
24073 TOP_INSTALL_DEV = $TOP_INSTALL_DEV
24074 WINELOADER_LDFLAGS = $WINELOADER_LDFLAGS
24075 WINEPRELOADER_LDFLAGS = $WINEPRELOADER_LDFLAGS
24076 DLLEXT = $DLLEXT
24077 LDD = $LDD
24078 OTOOL = $OTOOL
24079 READELF = $READELF
24080 SUBDIRS = $SUBDIRS
24081 DISABLED_SUBDIRS = $DISABLED_SUBDIRS
24082 CONFIGURE_TARGETS = $CONFIGURE_TARGETS
24083 CARBON_LIBS = $CARBON_LIBS
24084 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
24085 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
24086 IOKIT_LIBS = $IOKIT_LIBS
24087 METAL_LIBS = $METAL_LIBS
24088 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
24089 CORESERVICES_LIBS = $CORESERVICES_LIBS
24090 APPKIT_LIBS = $APPKIT_LIBS
24091 SECURITY_LIBS = $SECURITY_LIBS
24092 SYSTEMCONFIGURATION_LIBS = $SYSTEMCONFIGURATION_LIBS
24093 COREAUDIO_LIBS = $COREAUDIO_LIBS
24094 OPENCL_LIBS = $OPENCL_LIBS
24095 OBJC = $OBJC
24096 OBJCFLAGS = $OBJCFLAGS
24097 ac_ct_OBJC = $ac_ct_OBJC
24098 WINELOADER_DEPENDS = $WINELOADER_DEPENDS
24099 PE_ARCHS = $PE_ARCHS
24100 MINGW_PKG_CONFIG = $MINGW_PKG_CONFIG
24101 FAUDIO_PE_CFLAGS = $FAUDIO_PE_CFLAGS
24102 FAUDIO_PE_LIBS = $FAUDIO_PE_LIBS
24103 FLUIDSYNTH_PE_CFLAGS = $FLUIDSYNTH_PE_CFLAGS
24104 FLUIDSYNTH_PE_LIBS = $FLUIDSYNTH_PE_LIBS
24105 GSM_PE_CFLAGS = $GSM_PE_CFLAGS
24106 GSM_PE_LIBS = $GSM_PE_LIBS
24107 JPEG_PE_CFLAGS = $JPEG_PE_CFLAGS
24108 JPEG_PE_LIBS = $JPEG_PE_LIBS
24109 JXR_PE_CFLAGS = $JXR_PE_CFLAGS
24110 JXR_PE_LIBS = $JXR_PE_LIBS
24111 LCMS2_PE_CFLAGS = $LCMS2_PE_CFLAGS
24112 LCMS2_PE_LIBS = $LCMS2_PE_LIBS
24113 LDAP_PE_CFLAGS = $LDAP_PE_CFLAGS
24114 LDAP_PE_LIBS = $LDAP_PE_LIBS
24115 MPG123_PE_CFLAGS = $MPG123_PE_CFLAGS
24116 MPG123_PE_LIBS = $MPG123_PE_LIBS
24117 MUSL_PE_CFLAGS = $MUSL_PE_CFLAGS
24118 MUSL_PE_LIBS = $MUSL_PE_LIBS
24119 PNG_PE_CFLAGS = $PNG_PE_CFLAGS
24120 PNG_PE_LIBS = $PNG_PE_LIBS
24121 TIFF_PE_CFLAGS = $TIFF_PE_CFLAGS
24122 TIFF_PE_LIBS = $TIFF_PE_LIBS
24123 VKD3D_PE_CFLAGS = $VKD3D_PE_CFLAGS
24124 VKD3D_PE_LIBS = $VKD3D_PE_LIBS
24125 XML2_PE_CFLAGS = $XML2_PE_CFLAGS
24126 XML2_PE_LIBS = $XML2_PE_LIBS
24127 XSLT_PE_CFLAGS = $XSLT_PE_CFLAGS
24128 XSLT_PE_LIBS = $XSLT_PE_LIBS
24129 ZLIB_PE_CFLAGS = $ZLIB_PE_CFLAGS
24130 ZLIB_PE_LIBS = $ZLIB_PE_LIBS
24131 ZYDIS_PE_CFLAGS = $ZYDIS_PE_CFLAGS
24132 ZYDIS_PE_LIBS = $ZYDIS_PE_LIBS
24133 PTHREAD_LIBS = $PTHREAD_LIBS
24134 XMKMF = $XMKMF
24135 CPP = $CPP
24136 X_CFLAGS = $X_CFLAGS
24137 X_PRE_LIBS = $X_PRE_LIBS
24138 X_LIBS = $X_LIBS
24139 X_EXTRA_LIBS = $X_EXTRA_LIBS
24140 WAYLAND_CLIENT_CFLAGS = $WAYLAND_CLIENT_CFLAGS
24141 WAYLAND_CLIENT_LIBS = $WAYLAND_CLIENT_LIBS
24142 WAYLAND_SCANNER = $WAYLAND_SCANNER
24143 XKBCOMMON_CFLAGS = $XKBCOMMON_CFLAGS
24144 XKBCOMMON_LIBS = $XKBCOMMON_LIBS
24145 XKBREGISTRY_CFLAGS = $XKBREGISTRY_CFLAGS
24146 XKBREGISTRY_LIBS = $XKBREGISTRY_LIBS
24147 EGL_CFLAGS = $EGL_CFLAGS
24148 EGL_LIBS = $EGL_LIBS
24149 WAYLAND_EGL_CFLAGS = $WAYLAND_EGL_CFLAGS
24150 WAYLAND_EGL_LIBS = $WAYLAND_EGL_LIBS
24151 PCAP_LIBS = $PCAP_LIBS
24152 PCSCLITE_LIBS = $PCSCLITE_LIBS
24153 ODBC_CFLAGS = $ODBC_CFLAGS
24154 ODBC_LIBS = $ODBC_LIBS
24155 INOTIFY_CFLAGS = $INOTIFY_CFLAGS
24156 INOTIFY_LIBS = $INOTIFY_LIBS
24157 DBUS_CFLAGS = $DBUS_CFLAGS
24158 DBUS_LIBS = $DBUS_LIBS
24159 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
24160 GNUTLS_LIBS = $GNUTLS_LIBS
24161 SANE_CFLAGS = $SANE_CFLAGS
24162 SANE_LIBS = $SANE_LIBS
24163 USB_CFLAGS = $USB_CFLAGS
24164 USB_LIBS = $USB_LIBS
24165 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
24166 GPHOTO2_LIBS = $GPHOTO2_LIBS
24167 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
24168 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
24169 RESOLV_LIBS = $RESOLV_LIBS
24170 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
24171 FREETYPE_LIBS = $FREETYPE_LIBS
24172 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
24173 PULSE_CFLAGS = $PULSE_CFLAGS
24174 PULSE_LIBS = $PULSE_LIBS
24175 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
24176 GSTREAMER_LIBS = $GSTREAMER_LIBS
24177 ALSA_LIBS = $ALSA_LIBS
24178 OSS4_CFLAGS = $OSS4_CFLAGS
24179 OSS4_LIBS = $OSS4_LIBS
24180 UDEV_CFLAGS = $UDEV_CFLAGS
24181 UDEV_LIBS = $UDEV_LIBS
24182 UNWIND_CFLAGS = $UNWIND_CFLAGS
24183 UNWIND_LIBS = $UNWIND_LIBS
24184 SDL2_CFLAGS = $SDL2_CFLAGS
24185 SDL2_LIBS = $SDL2_LIBS
24186 CAPI20_CFLAGS = $CAPI20_CFLAGS
24187 CAPI20_LIBS = $CAPI20_LIBS
24188 CUPS_CFLAGS = $CUPS_CFLAGS
24189 CUPS_LIBS = $CUPS_LIBS
24190 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
24191 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
24192 KRB5_CFLAGS = $KRB5_CFLAGS
24193 KRB5_LIBS = $KRB5_LIBS
24194 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
24195 GSSAPI_LIBS = $GSSAPI_LIBS
24196 PROCSTAT_LIBS = $PROCSTAT_LIBS
24197 NETAPI_CFLAGS = $NETAPI_CFLAGS
24198 NETAPI_LIBS = $NETAPI_LIBS
24199 MSVCRTFLAGS = $MSVCRTFLAGS
24200 DELAYLOADFLAG = $DELAYLOADFLAG
24201 WINELOADER_PROGRAMS = $WINELOADER_PROGRAMS
24202 RT_LIBS = $RT_LIBS
24203 TAGSFLAGS = $TAGSFLAGS
24204 LIBOBJS = $LIBOBJS
24205 LTLIBOBJS = $LTLIBOBJS
24206 $SET_MAKE
24207 $wine_rules
24208 _WINE_EOF
24209 as_fn_error $? "could not create Makefile" "$LINENO" 5
24212 _ACEOF
24214 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
24216 # Handling of arguments.
24217 for ac_config_target in $ac_config_targets
24219 case $ac_config_target in
24220 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
24221 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
24222 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
24223 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
24224 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
24225 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
24227 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
24228 esac
24229 done
24232 # If the user did not use the arguments to specify the items to instantiate,
24233 # then the envvar interface is used. Set only those that are not.
24234 # We use the long form for the default assignment because of an extremely
24235 # bizarre bug on SunOS 4.1.3.
24236 if $ac_need_defaults; then
24237 test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
24238 test ${CONFIG_LINKS+y} || CONFIG_LINKS=$config_links
24239 test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
24242 # Have a temporary directory for convenience. Make it in the build tree
24243 # simply because there is no reason against having it here, and in addition,
24244 # creating and moving files from /tmp can sometimes cause problems.
24245 # Hook for its removal unless debugging.
24246 # Note that there is a small window in which the directory will not be cleaned:
24247 # after its creation but before its name has been assigned to `$tmp'.
24248 $debug ||
24250 tmp= ac_tmp=
24251 trap 'exit_status=$?
24252 : "${ac_tmp:=$tmp}"
24253 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
24255 trap 'as_fn_exit 1' 1 2 13 15
24257 # Create a (secure) tmp directory for tmp files.
24260 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
24261 test -d "$tmp"
24262 } ||
24264 tmp=./conf$$-$RANDOM
24265 (umask 077 && mkdir "$tmp")
24266 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
24267 ac_tmp=$tmp
24269 # Set up the scripts for CONFIG_HEADERS section.
24270 # No need to generate them if there are no CONFIG_HEADERS.
24271 # This happens for instance with `./config.status Makefile'.
24272 if test -n "$CONFIG_HEADERS"; then
24273 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
24274 BEGIN {
24275 _ACEOF
24277 # Transform confdefs.h into an awk script `defines.awk', embedded as
24278 # here-document in config.status, that substitutes the proper values into
24279 # config.h.in to produce config.h.
24281 # Create a delimiter string that does not exist in confdefs.h, to ease
24282 # handling of long lines.
24283 ac_delim='%!_!# '
24284 for ac_last_try in false false :; do
24285 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
24286 if test -z "$ac_tt"; then
24287 break
24288 elif $ac_last_try; then
24289 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
24290 else
24291 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
24293 done
24295 # For the awk script, D is an array of macro values keyed by name,
24296 # likewise P contains macro parameters if any. Preserve backslash
24297 # newline sequences.
24299 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
24300 sed -n '
24301 s/.\{148\}/&'"$ac_delim"'/g
24302 t rset
24303 :rset
24304 s/^[ ]*#[ ]*define[ ][ ]*/ /
24305 t def
24307 :def
24308 s/\\$//
24309 t bsnl
24310 s/["\\]/\\&/g
24311 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
24312 D["\1"]=" \3"/p
24313 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
24315 :bsnl
24316 s/["\\]/\\&/g
24317 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
24318 D["\1"]=" \3\\\\\\n"\\/p
24319 t cont
24320 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
24321 t cont
24323 :cont
24325 s/.\{148\}/&'"$ac_delim"'/g
24326 t clear
24327 :clear
24328 s/\\$//
24329 t bsnlc
24330 s/["\\]/\\&/g; s/^/"/; s/$/"/p
24332 :bsnlc
24333 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
24334 b cont
24335 ' <confdefs.h | sed '
24336 s/'"$ac_delim"'/"\\\
24337 "/g' >>$CONFIG_STATUS || ac_write_fail=1
24339 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
24340 for (key in D) D_is_set[key] = 1
24341 FS = "\a"
24343 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
24344 line = \$ 0
24345 split(line, arg, " ")
24346 if (arg[1] == "#") {
24347 defundef = arg[2]
24348 mac1 = arg[3]
24349 } else {
24350 defundef = substr(arg[1], 2)
24351 mac1 = arg[2]
24353 split(mac1, mac2, "(") #)
24354 macro = mac2[1]
24355 prefix = substr(line, 1, index(line, defundef) - 1)
24356 if (D_is_set[macro]) {
24357 # Preserve the white space surrounding the "#".
24358 print prefix "define", macro P[macro] D[macro]
24359 next
24360 } else {
24361 # Replace #undef with comments. This is necessary, for example,
24362 # in the case of _POSIX_SOURCE, which is predefined and required
24363 # on some systems where configure will not decide to define it.
24364 if (defundef == "undef") {
24365 print "/*", prefix defundef, macro, "*/"
24366 next
24370 { print }
24371 _ACAWK
24372 _ACEOF
24373 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
24374 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
24375 fi # test -n "$CONFIG_HEADERS"
24378 eval set X " :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
24379 shift
24380 for ac_tag
24382 case $ac_tag in
24383 :[FHLC]) ac_mode=$ac_tag; continue;;
24384 esac
24385 case $ac_mode$ac_tag in
24386 :[FHL]*:*);;
24387 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
24388 :[FH]-) ac_tag=-:-;;
24389 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
24390 esac
24391 ac_save_IFS=$IFS
24392 IFS=:
24393 set x $ac_tag
24394 IFS=$ac_save_IFS
24395 shift
24396 ac_file=$1
24397 shift
24399 case $ac_mode in
24400 :L) ac_source=$1;;
24401 :[FH])
24402 ac_file_inputs=
24403 for ac_f
24405 case $ac_f in
24406 -) ac_f="$ac_tmp/stdin";;
24407 *) # Look for the file first in the build tree, then in the source tree
24408 # (if the path is not absolute). The absolute path cannot be DOS-style,
24409 # because $ac_f cannot contain `:'.
24410 test -f "$ac_f" ||
24411 case $ac_f in
24412 [\\/$]*) false;;
24413 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
24414 esac ||
24415 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
24416 esac
24417 case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
24418 as_fn_append ac_file_inputs " '$ac_f'"
24419 done
24421 # Let's still pretend it is `configure' which instantiates (i.e., don't
24422 # use $as_me), people would be surprised to read:
24423 # /* config.h. Generated by config.status. */
24424 configure_input='Generated from '`
24425 printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
24426 `' by configure.'
24427 if test x"$ac_file" != x-; then
24428 configure_input="$ac_file. $configure_input"
24429 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
24430 printf "%s\n" "$as_me: creating $ac_file" >&6;}
24432 # Neutralize special characters interpreted by sed in replacement strings.
24433 case $configure_input in #(
24434 *\&* | *\|* | *\\* )
24435 ac_sed_conf_input=`printf "%s\n" "$configure_input" |
24436 sed 's/[\\\\&|]/\\\\&/g'`;; #(
24437 *) ac_sed_conf_input=$configure_input;;
24438 esac
24440 case $ac_tag in
24441 *:-:* | *:-) cat >"$ac_tmp/stdin" \
24442 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
24443 esac
24445 esac
24447 ac_dir=`$as_dirname -- "$ac_file" ||
24448 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24449 X"$ac_file" : 'X\(//\)[^/]' \| \
24450 X"$ac_file" : 'X\(//\)$' \| \
24451 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
24452 printf "%s\n" X"$ac_file" |
24453 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
24454 s//\1/
24457 /^X\(\/\/\)[^/].*/{
24458 s//\1/
24461 /^X\(\/\/\)$/{
24462 s//\1/
24465 /^X\(\/\).*/{
24466 s//\1/
24469 s/.*/./; q'`
24470 as_dir="$ac_dir"; as_fn_mkdir_p
24471 ac_builddir=.
24473 case "$ac_dir" in
24474 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
24476 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
24477 # A ".." for each directory in $ac_dir_suffix.
24478 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
24479 case $ac_top_builddir_sub in
24480 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
24481 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
24482 esac ;;
24483 esac
24484 ac_abs_top_builddir=$ac_pwd
24485 ac_abs_builddir=$ac_pwd$ac_dir_suffix
24486 # for backward compatibility:
24487 ac_top_builddir=$ac_top_build_prefix
24489 case $srcdir in
24490 .) # We are building in place.
24491 ac_srcdir=.
24492 ac_top_srcdir=$ac_top_builddir_sub
24493 ac_abs_top_srcdir=$ac_pwd ;;
24494 [\\/]* | ?:[\\/]* ) # Absolute name.
24495 ac_srcdir=$srcdir$ac_dir_suffix;
24496 ac_top_srcdir=$srcdir
24497 ac_abs_top_srcdir=$srcdir ;;
24498 *) # Relative name.
24499 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
24500 ac_top_srcdir=$ac_top_build_prefix$srcdir
24501 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
24502 esac
24503 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
24506 case $ac_mode in
24510 # CONFIG_HEADER
24512 if test x"$ac_file" != x-; then
24514 printf "%s\n" "/* $configure_input */" >&1 \
24515 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
24516 } >"$ac_tmp/config.h" \
24517 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
24518 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
24519 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
24520 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
24521 else
24522 rm -f "$ac_file"
24523 mv "$ac_tmp/config.h" "$ac_file" \
24524 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
24526 else
24527 printf "%s\n" "/* $configure_input */" >&1 \
24528 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
24529 || as_fn_error $? "could not create -" "$LINENO" 5
24534 # CONFIG_LINK
24537 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
24539 else
24540 # Prefer the file from the source tree if names are identical.
24541 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
24542 ac_source=$srcdir/$ac_source
24545 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
24546 printf "%s\n" "$as_me: linking $ac_source to $ac_file" >&6;}
24548 if test ! -r "$ac_source"; then
24549 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
24551 rm -f "$ac_file"
24553 # Try a relative symlink, then a hard link, then a copy.
24554 case $ac_source in
24555 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
24556 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
24557 esac
24558 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
24559 ln "$ac_source" "$ac_file" 2>/dev/null ||
24560 cp -p "$ac_source" "$ac_file" ||
24561 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
24564 :C) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
24565 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
24567 esac
24570 case $ac_file$ac_mode in
24571 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
24572 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
24573 "Makefile":C) wine_fn_output_makefile Makefile ;;
24575 esac
24576 done # for ac_tag
24579 as_fn_exit 0
24580 _ACEOF
24581 ac_clean_files=$ac_clean_files_save
24583 test $ac_write_fail = 0 ||
24584 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
24587 # configure is writing to config.log, and then calls config.status.
24588 # config.status does its own redirection, appending to config.log.
24589 # Unfortunately, on DOS this fails, as config.log is still kept open
24590 # by configure, so config.status won't be able to write to it; its
24591 # output is simply discarded. So we exec the FD to /dev/null,
24592 # effectively closing config.log, so it can be properly (re)opened and
24593 # appended to by config.status. When coming back to configure, we
24594 # need to make the FD available again.
24595 if test "$no_create" != yes; then
24596 ac_cs_success=:
24597 ac_config_status_args=
24598 test "$silent" = yes &&
24599 ac_config_status_args="$ac_config_status_args --quiet"
24600 exec 5>/dev/null
24601 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
24602 exec 5>>config.log
24603 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
24604 # would make configure fail if this is the last instruction.
24605 $ac_cs_success || as_fn_exit 1
24607 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
24608 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
24609 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
24613 if test "$no_create" = "yes"
24614 then
24615 exit 0
24618 ac_save_IFS="$IFS"
24619 if test "x$wine_notices" != x; then
24620 echo >&6
24621 IFS="|"
24622 for msg in $wine_notices; do
24623 IFS="$ac_save_IFS"
24624 if ${msg:+false} :
24625 then :
24627 else $as_nop
24628 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $msg" >&5
24629 printf "%s\n" "$as_me: $msg" >&6;}
24631 done
24633 IFS="|"
24634 for msg in $wine_warnings; do
24635 IFS="$ac_save_IFS"
24636 if ${msg:+false} :
24637 then :
24639 else $as_nop
24640 echo >&2
24641 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
24642 printf "%s\n" "$as_me: WARNING: $msg" >&2;}
24644 done
24645 IFS="$ac_save_IFS"
24647 printf "%s\n" "
24648 $as_me: Finished. Do '${ac_make}' to compile Wine.
24649 " >&6