wldap32: Implement ldap_connect.
[wine.git] / configure
blob30602740d7ab87ef1d9db6c92288e4fa8e471d53
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.71 for Wine 8.4.
5 # Report bugs to <wine-devel@winehq.org>.
8 # Copyright (C) 1992-1996, 1998-2017, 2020-2021 Free Software Foundation,
9 # Inc.
12 # This configure script is free software; the Free Software Foundation
13 # gives unlimited permission to copy, distribute and modify it.
14 ## -------------------- ##
15 ## M4sh Initialization. ##
16 ## -------------------- ##
18 # Be more Bourne compatible
19 DUALCASE=1; export DUALCASE # for MKS sh
20 as_nop=:
21 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
22 then :
23 emulate sh
24 NULLCMD=:
25 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
26 # is contrary to our usage. Disable this feature.
27 alias -g '${1+"$@"}'='"$@"'
28 setopt NO_GLOB_SUBST
29 else $as_nop
30 case `(set -o) 2>/dev/null` in #(
31 *posix*) :
32 set -o posix ;; #(
33 *) :
35 esac
40 # Reset variables that may have inherited troublesome values from
41 # the environment.
43 # IFS needs to be set, to space, tab, and newline, in precisely that order.
44 # (If _AS_PATH_WALK were called with IFS unset, it would have the
45 # side effect of setting IFS to empty, thus disabling word splitting.)
46 # Quoting is to prevent editors from complaining about space-tab.
47 as_nl='
49 export as_nl
50 IFS=" "" $as_nl"
52 PS1='$ '
53 PS2='> '
54 PS4='+ '
56 # Ensure predictable behavior from utilities with locale-dependent output.
57 LC_ALL=C
58 export LC_ALL
59 LANGUAGE=C
60 export LANGUAGE
62 # We cannot yet rely on "unset" to work, but we need these variables
63 # to be unset--not just set to an empty or harmless value--now, to
64 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
65 # also avoids known problems related to "unset" and subshell syntax
66 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
67 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
68 do eval test \${$as_var+y} \
69 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
70 done
72 # Ensure that fds 0, 1, and 2 are open.
73 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
74 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
75 if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
77 # The user is always right.
78 if ${PATH_SEPARATOR+false} :; then
79 PATH_SEPARATOR=:
80 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
81 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
82 PATH_SEPARATOR=';'
87 # Find who we are. Look in the path if we contain no directory separator.
88 as_myself=
89 case $0 in #((
90 *[\\/]* ) as_myself=$0 ;;
91 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
92 for as_dir in $PATH
94 IFS=$as_save_IFS
95 case $as_dir in #(((
96 '') as_dir=./ ;;
97 */) ;;
98 *) as_dir=$as_dir/ ;;
99 esac
100 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
101 done
102 IFS=$as_save_IFS
105 esac
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
109 as_myself=$0
111 if test ! -f "$as_myself"; then
112 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 exit 1
117 # Use a proper internal environment variable to ensure we don't fall
118 # into an infinite loop, continuously re-executing ourselves.
119 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
120 _as_can_reexec=no; export _as_can_reexec;
121 # We cannot yet assume a decent shell, so we have to provide a
122 # neutralization value for shells without unset; and this also
123 # works around shells that cannot unset nonexistent variables.
124 # Preserve -v and -x to the replacement shell.
125 BASH_ENV=/dev/null
126 ENV=/dev/null
127 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
128 case $- in # ((((
129 *v*x* | *x*v* ) as_opts=-vx ;;
130 *v* ) as_opts=-v ;;
131 *x* ) as_opts=-x ;;
132 * ) as_opts= ;;
133 esac
134 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
135 # Admittedly, this is quite paranoid, since all the known shells bail
136 # out after a failed `exec'.
137 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
138 exit 255
140 # We don't want this to propagate to other subprocesses.
141 { _as_can_reexec=; unset _as_can_reexec;}
142 if test "x$CONFIG_SHELL" = x; then
143 as_bourne_compatible="as_nop=:
144 if test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
145 then :
146 emulate sh
147 NULLCMD=:
148 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
149 # is contrary to our usage. Disable this feature.
150 alias -g '\${1+\"\$@\"}'='\"\$@\"'
151 setopt NO_GLOB_SUBST
152 else \$as_nop
153 case \`(set -o) 2>/dev/null\` in #(
154 *posix*) :
155 set -o posix ;; #(
156 *) :
158 esac
161 as_required="as_fn_return () { (exit \$1); }
162 as_fn_success () { as_fn_return 0; }
163 as_fn_failure () { as_fn_return 1; }
164 as_fn_ret_success () { return 0; }
165 as_fn_ret_failure () { return 1; }
167 exitcode=0
168 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
169 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
170 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
171 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
172 if ( set x; as_fn_ret_success y && test x = \"\$1\" )
173 then :
175 else \$as_nop
176 exitcode=1; echo positional parameters were not saved.
178 test x\$exitcode = x0 || exit 1
179 blah=\$(echo \$(echo blah))
180 test x\"\$blah\" = xblah || exit 1
181 test -x / || exit 1"
182 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
183 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
184 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
185 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
186 test \$(( 1 + 1 )) = 2 || exit 1"
187 if (eval "$as_required") 2>/dev/null
188 then :
189 as_have_required=yes
190 else $as_nop
191 as_have_required=no
193 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null
194 then :
196 else $as_nop
197 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
198 as_found=false
199 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
201 IFS=$as_save_IFS
202 case $as_dir in #(((
203 '') as_dir=./ ;;
204 */) ;;
205 *) as_dir=$as_dir/ ;;
206 esac
207 as_found=:
208 case $as_dir in #(
210 for as_base in sh bash ksh sh5; do
211 # Try only shells that exist, to save several forks.
212 as_shell=$as_dir$as_base
213 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
214 as_run=a "$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev/null
215 then :
216 CONFIG_SHELL=$as_shell as_have_required=yes
217 if as_run=a "$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev/null
218 then :
219 break 2
222 done;;
223 esac
224 as_found=false
225 done
226 IFS=$as_save_IFS
227 if $as_found
228 then :
230 else $as_nop
231 if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
232 as_run=a "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev/null
233 then :
234 CONFIG_SHELL=$SHELL as_have_required=yes
239 if test "x$CONFIG_SHELL" != x
240 then :
241 export CONFIG_SHELL
242 # We cannot yet assume a decent shell, so we have to provide a
243 # neutralization value for shells without unset; and this also
244 # works around shells that cannot unset nonexistent variables.
245 # Preserve -v and -x to the replacement shell.
246 BASH_ENV=/dev/null
247 ENV=/dev/null
248 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
249 case $- in # ((((
250 *v*x* | *x*v* ) as_opts=-vx ;;
251 *v* ) as_opts=-v ;;
252 *x* ) as_opts=-x ;;
253 * ) as_opts= ;;
254 esac
255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
256 # Admittedly, this is quite paranoid, since all the known shells bail
257 # out after a failed `exec'.
258 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
259 exit 255
262 if test x$as_have_required = xno
263 then :
264 printf "%s\n" "$0: This script requires a shell more modern than all"
265 printf "%s\n" "$0: the shells that I found on your system."
266 if test ${ZSH_VERSION+y} ; then
267 printf "%s\n" "$0: In particular, zsh $ZSH_VERSION has bugs and should"
268 printf "%s\n" "$0: be upgraded to zsh 4.3.4 or later."
269 else
270 printf "%s\n" "$0: Please tell bug-autoconf@gnu.org and
271 $0: wine-devel@winehq.org about your system, including any
272 $0: error possibly output before this message. Then install
273 $0: a modern shell, or manually run the script under such a
274 $0: shell if you do have one."
276 exit 1
280 SHELL=${CONFIG_SHELL-/bin/sh}
281 export SHELL
282 # Unset more variables known to interfere with behavior of common tools.
283 CLICOLOR_FORCE= GREP_OPTIONS=
284 unset CLICOLOR_FORCE GREP_OPTIONS
286 ## --------------------- ##
287 ## M4sh Shell Functions. ##
288 ## --------------------- ##
289 # as_fn_unset VAR
290 # ---------------
291 # Portably unset VAR.
292 as_fn_unset ()
294 { eval $1=; unset $1;}
296 as_unset=as_fn_unset
299 # as_fn_set_status STATUS
300 # -----------------------
301 # Set $? to STATUS, without forking.
302 as_fn_set_status ()
304 return $1
305 } # as_fn_set_status
307 # as_fn_exit STATUS
308 # -----------------
309 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
310 as_fn_exit ()
312 set +e
313 as_fn_set_status $1
314 exit $1
315 } # as_fn_exit
316 # as_fn_nop
317 # ---------
318 # Do nothing but, unlike ":", preserve the value of $?.
319 as_fn_nop ()
321 return $?
323 as_nop=as_fn_nop
325 # as_fn_mkdir_p
326 # -------------
327 # Create "$as_dir" as a directory, including parents if necessary.
328 as_fn_mkdir_p ()
331 case $as_dir in #(
332 -*) as_dir=./$as_dir;;
333 esac
334 test -d "$as_dir" || eval $as_mkdir_p || {
335 as_dirs=
336 while :; do
337 case $as_dir in #(
338 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
339 *) as_qdir=$as_dir;;
340 esac
341 as_dirs="'$as_qdir' $as_dirs"
342 as_dir=`$as_dirname -- "$as_dir" ||
343 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
344 X"$as_dir" : 'X\(//\)[^/]' \| \
345 X"$as_dir" : 'X\(//\)$' \| \
346 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
347 printf "%s\n" X"$as_dir" |
348 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
349 s//\1/
352 /^X\(\/\/\)[^/].*/{
353 s//\1/
356 /^X\(\/\/\)$/{
357 s//\1/
360 /^X\(\/\).*/{
361 s//\1/
364 s/.*/./; q'`
365 test -d "$as_dir" && break
366 done
367 test -z "$as_dirs" || eval "mkdir $as_dirs"
368 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
371 } # as_fn_mkdir_p
373 # as_fn_executable_p FILE
374 # -----------------------
375 # Test if FILE is an executable regular file.
376 as_fn_executable_p ()
378 test -f "$1" && test -x "$1"
379 } # as_fn_executable_p
380 # as_fn_append VAR VALUE
381 # ----------------------
382 # Append the text in VALUE to the end of the definition contained in VAR. Take
383 # advantage of any shell optimizations that allow amortized linear growth over
384 # repeated appends, instead of the typical quadratic growth present in naive
385 # implementations.
386 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
387 then :
388 eval 'as_fn_append ()
390 eval $1+=\$2
392 else $as_nop
393 as_fn_append ()
395 eval $1=\$$1\$2
397 fi # as_fn_append
399 # as_fn_arith ARG...
400 # ------------------
401 # Perform arithmetic evaluation on the ARGs, and store the result in the
402 # global $as_val. Take advantage of shells that can avoid forks. The arguments
403 # must be portable across $(()) and expr.
404 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
405 then :
406 eval 'as_fn_arith ()
408 as_val=$(( $* ))
410 else $as_nop
411 as_fn_arith ()
413 as_val=`expr "$@" || test $? -eq 1`
415 fi # as_fn_arith
417 # as_fn_nop
418 # ---------
419 # Do nothing but, unlike ":", preserve the value of $?.
420 as_fn_nop ()
422 return $?
424 as_nop=as_fn_nop
426 # as_fn_error STATUS ERROR [LINENO LOG_FD]
427 # ----------------------------------------
428 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
429 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
430 # script with STATUS, using 1 if that was 0.
431 as_fn_error ()
433 as_status=$1; test $as_status -eq 0 && as_status=1
434 if test "$4"; then
435 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
436 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
438 printf "%s\n" "$as_me: error: $2" >&2
439 as_fn_exit $as_status
440 } # as_fn_error
442 if expr a : '\(a\)' >/dev/null 2>&1 &&
443 test "X`expr 00001 : '.*\(...\)'`" = X001; then
444 as_expr=expr
445 else
446 as_expr=false
449 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
450 as_basename=basename
451 else
452 as_basename=false
455 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
456 as_dirname=dirname
457 else
458 as_dirname=false
461 as_me=`$as_basename -- "$0" ||
462 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
463 X"$0" : 'X\(//\)$' \| \
464 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
465 printf "%s\n" X/"$0" |
466 sed '/^.*\/\([^/][^/]*\)\/*$/{
467 s//\1/
470 /^X\/\(\/\/\)$/{
471 s//\1/
474 /^X\/\(\/\).*/{
475 s//\1/
478 s/.*/./; q'`
480 # Avoid depending upon Character Ranges.
481 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
482 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
483 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
484 as_cr_digits='0123456789'
485 as_cr_alnum=$as_cr_Letters$as_cr_digits
488 as_lineno_1=$LINENO as_lineno_1a=$LINENO
489 as_lineno_2=$LINENO as_lineno_2a=$LINENO
490 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
491 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
492 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
493 sed -n '
495 /[$]LINENO/=
496 ' <$as_myself |
497 sed '
498 s/[$]LINENO.*/&-/
499 t lineno
501 :lineno
503 :loop
504 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
505 t loop
506 s/-\n.*//
507 ' >$as_me.lineno &&
508 chmod +x "$as_me.lineno" ||
509 { printf "%s\n" "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
511 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
512 # already done that, so ensure we don't try to do so again and fall
513 # in an infinite loop. This has already happened in practice.
514 _as_can_reexec=no; export _as_can_reexec
515 # Don't try to exec as it changes $[0], causing all sort of problems
516 # (the dirname of $[0] is not the place where we might find the
517 # original and so on. Autoconf is especially sensitive to this).
518 . "./$as_me.lineno"
519 # Exit status is that of the last command.
520 exit
524 # Determine whether it's possible to make 'echo' print without a newline.
525 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
526 # for compatibility with existing Makefiles.
527 ECHO_C= ECHO_N= ECHO_T=
528 case `echo -n x` in #(((((
529 -n*)
530 case `echo 'xy\c'` in
531 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
532 xy) ECHO_C='\c';;
533 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
534 ECHO_T=' ';;
535 esac;;
537 ECHO_N='-n';;
538 esac
540 # For backward compatibility with old third-party macros, we provide
541 # the shell variables $as_echo and $as_echo_n. New code should use
542 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
543 as_echo='printf %s\n'
544 as_echo_n='printf %s'
547 rm -f conf$$ conf$$.exe conf$$.file
548 if test -d conf$$.dir; then
549 rm -f conf$$.dir/conf$$.file
550 else
551 rm -f conf$$.dir
552 mkdir conf$$.dir 2>/dev/null
554 if (echo >conf$$.file) 2>/dev/null; then
555 if ln -s conf$$.file conf$$ 2>/dev/null; then
556 as_ln_s='ln -s'
557 # ... but there are two gotchas:
558 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
559 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
560 # In both cases, we have to default to `cp -pR'.
561 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
562 as_ln_s='cp -pR'
563 elif ln conf$$.file conf$$ 2>/dev/null; then
564 as_ln_s=ln
565 else
566 as_ln_s='cp -pR'
568 else
569 as_ln_s='cp -pR'
571 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
572 rmdir conf$$.dir 2>/dev/null
574 if mkdir -p . 2>/dev/null; then
575 as_mkdir_p='mkdir -p "$as_dir"'
576 else
577 test -d ./-p && rmdir ./-p
578 as_mkdir_p=false
581 as_test_x='test -x'
582 as_executable_p=as_fn_executable_p
584 # Sed expression to map a string onto a valid CPP name.
585 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
587 # Sed expression to map a string onto a valid variable name.
588 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
591 test -n "$DJDIR" || exec 7<&0 </dev/null
592 exec 6>&1
594 # Name of the host.
595 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
596 # so uname gets run too.
597 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
600 # Initializations.
602 ac_default_prefix=/usr/local
603 ac_clean_files=
604 ac_config_libobj_dir=.
605 LIBOBJS=
606 cross_compiling=no
607 subdirs=
608 MFLAGS=
609 MAKEFLAGS=
611 # Identity of this package.
612 PACKAGE_NAME='Wine'
613 PACKAGE_TARNAME='wine'
614 PACKAGE_VERSION='8.4'
615 PACKAGE_STRING='Wine 8.4'
616 PACKAGE_BUGREPORT='wine-devel@winehq.org'
617 PACKAGE_URL='https://www.winehq.org'
619 ac_unique_file="server/atom.c"
620 # Factoring default headers for most tests.
621 ac_includes_default="\
622 #include <stddef.h>
623 #ifdef HAVE_STDIO_H
624 # include <stdio.h>
625 #endif
626 #ifdef HAVE_STDLIB_H
627 # include <stdlib.h>
628 #endif
629 #ifdef HAVE_STRING_H
630 # include <string.h>
631 #endif
632 #ifdef HAVE_INTTYPES_H
633 # include <inttypes.h>
634 #endif
635 #ifdef HAVE_STDINT_H
636 # include <stdint.h>
637 #endif
638 #ifdef HAVE_STRINGS_H
639 # include <strings.h>
640 #endif
641 #ifdef HAVE_SYS_TYPES_H
642 # include <sys/types.h>
643 #endif
644 #ifdef HAVE_SYS_STAT_H
645 # include <sys/stat.h>
646 #endif
647 #ifdef HAVE_UNISTD_H
648 # include <unistd.h>
649 #endif"
651 ac_header_c_list=
652 ac_subst_vars='LTLIBOBJS
653 LIBOBJS
654 TAGSFLAGS
655 RT_LIBS
656 WINELOADER_PROGRAMS
657 DELAYLOADFLAG
658 MSVCRTFLAGS
659 NETAPI_LIBS
660 NETAPI_CFLAGS
661 PROCSTAT_LIBS
662 GSSAPI_LIBS
663 GSSAPI_CFLAGS
664 KRB5_LIBS
665 KRB5_CFLAGS
666 FONTCONFIG_LIBS
667 FONTCONFIG_CFLAGS
668 CUPS_LIBS
669 CUPS_CFLAGS
670 CAPI20_LIBS
671 CAPI20_CFLAGS
672 SDL2_LIBS
673 SDL2_CFLAGS
674 UNWIND_LIBS
675 UNWIND_CFLAGS
676 UDEV_LIBS
677 UDEV_CFLAGS
678 OSS4_LIBS
679 OSS4_CFLAGS
680 ALSA_LIBS
681 GSTREAMER_LIBS
682 GSTREAMER_CFLAGS
683 PULSE_LIBS
684 PULSE_CFLAGS
685 GETTEXTPO_LIBS
686 FREETYPE_LIBS
687 FREETYPE_CFLAGS
688 RESOLV_LIBS
689 GPHOTO2_PORT_LIBS
690 GPHOTO2_PORT_CFLAGS
691 GPHOTO2_LIBS
692 GPHOTO2_CFLAGS
693 USB_LIBS
694 USB_CFLAGS
695 SANE_LIBS
696 SANE_CFLAGS
697 GNUTLS_LIBS
698 GNUTLS_CFLAGS
699 DBUS_LIBS
700 DBUS_CFLAGS
701 INOTIFY_LIBS
702 INOTIFY_CFLAGS
703 PCSCLITE_LIBS
704 PCAP_LIBS
705 WAYLAND_CLIENT_LIBS
706 WAYLAND_CLIENT_CFLAGS
707 X_EXTRA_LIBS
708 X_LIBS
709 X_PRE_LIBS
710 X_CFLAGS
712 XMKMF
713 PTHREAD_LIBS
714 ZYDIS_PE_LIBS
715 ZYDIS_PE_CFLAGS
716 ZLIB_PE_LIBS
717 ZLIB_PE_CFLAGS
718 XSLT_PE_LIBS
719 XSLT_PE_CFLAGS
720 XML2_PE_LIBS
721 XML2_PE_CFLAGS
722 VKD3D_PE_LIBS
723 VKD3D_PE_CFLAGS
724 TIFF_PE_LIBS
725 TIFF_PE_CFLAGS
726 PNG_PE_LIBS
727 PNG_PE_CFLAGS
728 MPG123_PE_LIBS
729 MPG123_PE_CFLAGS
730 LDAP_PE_LIBS
731 LDAP_PE_CFLAGS
732 LCMS2_PE_LIBS
733 LCMS2_PE_CFLAGS
734 JXR_PE_LIBS
735 JXR_PE_CFLAGS
736 JPEG_PE_LIBS
737 JPEG_PE_CFLAGS
738 GSM_PE_LIBS
739 GSM_PE_CFLAGS
740 FAUDIO_PE_LIBS
741 FAUDIO_PE_CFLAGS
742 MINGW_PKG_CONFIG
743 PE_ARCHS
744 WINELOADER_DEPENDS
745 ac_ct_OBJC
746 OBJCFLAGS
747 OBJC
748 OPENCL_LIBS
749 COREAUDIO_LIBS
750 SYSTEMCONFIGURATION_LIBS
751 SECURITY_LIBS
752 APPKIT_LIBS
753 CORESERVICES_LIBS
754 APPLICATIONSERVICES_LIBS
755 METAL_LIBS
756 IOKIT_LIBS
757 DISKARBITRATION_LIBS
758 COREFOUNDATION_LIBS
759 CARBON_LIBS
760 CONFIGURE_TARGETS
761 DISABLED_SUBDIRS
762 SUBDIRS
763 READELF
764 OTOOL
766 WINEPRELOADER_LDFLAGS
767 WINELOADER_LDFLAGS
768 TOP_INSTALL_DEV
769 TOP_INSTALL_LIB
770 UNIXLDFLAGS
771 UNIXDLLFLAGS
772 EXTRACFLAGS
773 LDEXECFLAGS
774 LDDLLFLAGS
775 DLLFLAGS
776 OPENGL_LIBS
777 I386_LIBS
778 ICOTOOL
779 CONVERT
780 RSVG
781 FONTFORGE
782 PKG_CONFIG
783 MSGFMT
784 LDCONFIG
785 EGREP
786 GREP
787 LN_S
788 RANLIB
789 STRIP
790 ac_ct_AR
792 BISON
793 FLEX
794 SED_CMD
795 RUNTESTFLAGS
796 MAKEDEP
797 toolsdir
798 x86_64_DISABLED_SUBDIRS
799 x86_64_DELAYLOADFLAG
800 x86_64_TARGET
801 x86_64_DEBUG
802 x86_64_LDFLAGS
803 x86_64_EXTRACFLAGS
804 x86_64_CFLAGS
805 x86_64_CC
806 i386_DISABLED_SUBDIRS
807 i386_DELAYLOADFLAG
808 i386_TARGET
809 i386_DEBUG
810 i386_LDFLAGS
811 i386_EXTRACFLAGS
812 i386_CFLAGS
813 i386_CC
814 arm_DISABLED_SUBDIRS
815 arm_DELAYLOADFLAG
816 arm_TARGET
817 arm_DEBUG
818 arm_LDFLAGS
819 arm_EXTRACFLAGS
820 arm_CFLAGS
821 arm_CC
822 aarch64_DISABLED_SUBDIRS
823 aarch64_DELAYLOADFLAG
824 aarch64_TARGET
825 aarch64_DEBUG
826 aarch64_LDFLAGS
827 aarch64_EXTRACFLAGS
828 aarch64_CFLAGS
829 aarch64_CC
830 HOST_ARCH
831 toolsext
832 TARGETFLAGS
834 CPPBIN
835 ac_ct_CXX
836 CXXFLAGS
838 OBJEXT
839 EXEEXT
840 ac_ct_CC
841 CPPFLAGS
842 LDFLAGS
843 CFLAGS
845 SET_MAKE
846 srcdir
847 nlsdir
848 fontdir
849 dlldir
850 host_os
851 host_vendor
852 host_cpu
853 host
854 build_os
855 build_vendor
856 build_cpu
857 build
858 system_dllpath
859 target_alias
860 host_alias
861 build_alias
862 LIBS
863 ECHO_T
864 ECHO_N
865 ECHO_C
866 DEFS
867 mandir
868 localedir
869 libdir
870 psdir
871 pdfdir
872 dvidir
873 htmldir
874 infodir
875 docdir
876 oldincludedir
877 includedir
878 runstatedir
879 localstatedir
880 sharedstatedir
881 sysconfdir
882 datadir
883 datarootdir
884 libexecdir
885 sbindir
886 bindir
887 program_transform_name
888 prefix
889 exec_prefix
890 PACKAGE_URL
891 PACKAGE_BUGREPORT
892 PACKAGE_STRING
893 PACKAGE_VERSION
894 PACKAGE_TARNAME
895 PACKAGE_NAME
896 PATH_SEPARATOR
897 SHELL'
898 ac_subst_files=''
899 ac_user_opts='
900 enable_option_checking
901 enable_archs
902 enable_win16
903 enable_win64
904 enable_tests
905 enable_build_id
906 enable_maintainer_mode
907 enable_silent_rules
908 enable_werror
909 with_alsa
910 with_capi
911 with_coreaudio
912 with_cups
913 with_dbus
914 with_float_abi
915 with_fontconfig
916 with_freetype
917 with_gettext
918 with_gettextpo
919 with_gphoto
920 with_gnutls
921 with_gssapi
922 with_gstreamer
923 with_inotify
924 with_krb5
925 with_mingw
926 with_netapi
927 with_opencl
928 with_opengl
929 with_osmesa
930 with_oss
931 with_pcap
932 with_pcsclite
933 with_pthread
934 with_pulse
935 with_sane
936 with_sdl
937 with_udev
938 with_unwind
939 with_usb
940 with_v4l2
941 with_vulkan
942 with_wayland
943 with_xcomposite
944 with_xcursor
945 with_xfixes
946 with_xinerama
947 with_xinput
948 with_xinput2
949 with_xrandr
950 with_xrender
951 with_xshape
952 with_xshm
953 with_xxf86vm
954 with_system_dllpath
955 with_wine_tools
956 with_wine64
957 enable_largefile
958 with_x
959 enable_acledit
960 enable_aclui
961 enable_activeds_tlb
962 enable_activeds
963 enable_actxprxy
964 enable_adsldp
965 enable_adsldpc
966 enable_advapi32
967 enable_advpack
968 enable_amsi
969 enable_amstream
970 enable_apisetschema
971 enable_apphelp
972 enable_appwiz_cpl
973 enable_atl
974 enable_atl100
975 enable_atl110
976 enable_atl80
977 enable_atl90
978 enable_atlthunk
979 enable_atmlib
980 enable_authz
981 enable_avicap32
982 enable_avifil32
983 enable_avrt
984 enable_bcrypt
985 enable_bluetoothapis
986 enable_browseui
987 enable_bthprops_cpl
988 enable_cabinet
989 enable_capi2032
990 enable_cards
991 enable_cdosys
992 enable_cfgmgr32
993 enable_clusapi
994 enable_cng_sys
995 enable_combase
996 enable_comcat
997 enable_comctl32
998 enable_comdlg32
999 enable_compstui
1000 enable_comsvcs
1001 enable_concrt140
1002 enable_connect
1003 enable_credui
1004 enable_crtdll
1005 enable_crypt32
1006 enable_cryptdlg
1007 enable_cryptdll
1008 enable_cryptext
1009 enable_cryptnet
1010 enable_cryptowinrt
1011 enable_cryptsp
1012 enable_cryptui
1013 enable_ctapi32
1014 enable_ctl3d32
1015 enable_d2d1
1016 enable_d3d10
1017 enable_d3d10_1
1018 enable_d3d10core
1019 enable_d3d11
1020 enable_d3d12
1021 enable_d3d12core
1022 enable_d3d8
1023 enable_d3d8thk
1024 enable_d3d9
1025 enable_d3dcompiler_33
1026 enable_d3dcompiler_34
1027 enable_d3dcompiler_35
1028 enable_d3dcompiler_36
1029 enable_d3dcompiler_37
1030 enable_d3dcompiler_38
1031 enable_d3dcompiler_39
1032 enable_d3dcompiler_40
1033 enable_d3dcompiler_41
1034 enable_d3dcompiler_42
1035 enable_d3dcompiler_43
1036 enable_d3dcompiler_46
1037 enable_d3dcompiler_47
1038 enable_d3dim
1039 enable_d3dim700
1040 enable_d3drm
1041 enable_d3dx10_33
1042 enable_d3dx10_34
1043 enable_d3dx10_35
1044 enable_d3dx10_36
1045 enable_d3dx10_37
1046 enable_d3dx10_38
1047 enable_d3dx10_39
1048 enable_d3dx10_40
1049 enable_d3dx10_41
1050 enable_d3dx10_42
1051 enable_d3dx10_43
1052 enable_d3dx11_42
1053 enable_d3dx11_43
1054 enable_d3dx9_24
1055 enable_d3dx9_25
1056 enable_d3dx9_26
1057 enable_d3dx9_27
1058 enable_d3dx9_28
1059 enable_d3dx9_29
1060 enable_d3dx9_30
1061 enable_d3dx9_31
1062 enable_d3dx9_32
1063 enable_d3dx9_33
1064 enable_d3dx9_34
1065 enable_d3dx9_35
1066 enable_d3dx9_36
1067 enable_d3dx9_37
1068 enable_d3dx9_38
1069 enable_d3dx9_39
1070 enable_d3dx9_40
1071 enable_d3dx9_41
1072 enable_d3dx9_42
1073 enable_d3dx9_43
1074 enable_d3dxof
1075 enable_davclnt
1076 enable_dbgeng
1077 enable_dbghelp
1078 enable_dciman32
1079 enable_dcomp
1080 enable_ddraw
1081 enable_ddrawex
1082 enable_devenum
1083 enable_dhcpcsvc
1084 enable_dhcpcsvc6
1085 enable_dhtmled_ocx
1086 enable_diasymreader
1087 enable_difxapi
1088 enable_dinput
1089 enable_dinput8
1090 enable_directmanipulation
1091 enable_dispex
1092 enable_dmband
1093 enable_dmcompos
1094 enable_dmime
1095 enable_dmloader
1096 enable_dmscript
1097 enable_dmstyle
1098 enable_dmsynth
1099 enable_dmusic
1100 enable_dmusic32
1101 enable_dnsapi
1102 enable_dplay
1103 enable_dplayx
1104 enable_dpnaddr
1105 enable_dpnet
1106 enable_dpnhpast
1107 enable_dpnhupnp
1108 enable_dpnlobby
1109 enable_dpvoice
1110 enable_dpwsockx
1111 enable_drmclien
1112 enable_dsdmo
1113 enable_dsound
1114 enable_dsquery
1115 enable_dssenh
1116 enable_dsuiext
1117 enable_dswave
1118 enable_dwmapi
1119 enable_dwrite
1120 enable_dx8vb
1121 enable_dxdiagn
1122 enable_dxgi
1123 enable_dxtrans
1124 enable_dxva2
1125 enable_esent
1126 enable_evr
1127 enable_explorerframe
1128 enable_faultrep
1129 enable_feclient
1130 enable_fltlib
1131 enable_fltmgr_sys
1132 enable_fntcache
1133 enable_fontsub
1134 enable_fusion
1135 enable_fwpuclnt
1136 enable_gameux
1137 enable_gamingtcui
1138 enable_gdi32
1139 enable_gdiplus
1140 enable_glu32
1141 enable_gphoto2_ds
1142 enable_gpkcsp
1143 enable_graphicscapture
1144 enable_hal
1145 enable_hhctrl_ocx
1146 enable_hid
1147 enable_hidclass_sys
1148 enable_hidparse_sys
1149 enable_hlink
1150 enable_hnetcfg
1151 enable_http_sys
1152 enable_httpapi
1153 enable_ia2comproxy
1154 enable_iccvid
1155 enable_icmp
1156 enable_ieframe
1157 enable_ieproxy
1158 enable_imaadp32_acm
1159 enable_imagehlp
1160 enable_imm32
1161 enable_inetcomm
1162 enable_inetcpl_cpl
1163 enable_inetmib1
1164 enable_infosoft
1165 enable_initpki
1166 enable_inkobj
1167 enable_inseng
1168 enable_iphlpapi
1169 enable_iprop
1170 enable_ir50_32
1171 enable_irprops_cpl
1172 enable_itircl
1173 enable_itss
1174 enable_joy_cpl
1175 enable_jscript
1176 enable_jsproxy
1177 enable_kerberos
1178 enable_kernel32
1179 enable_kernelbase
1180 enable_ksecdd_sys
1181 enable_ksproxy_ax
1182 enable_ksuser
1183 enable_ktmw32
1184 enable_l3codeca_acm
1185 enable_light_msstyles
1186 enable_loadperf
1187 enable_localspl
1188 enable_localui
1189 enable_lz32
1190 enable_mapi32
1191 enable_mapistub
1192 enable_mciavi32
1193 enable_mcicda
1194 enable_mciqtz32
1195 enable_mciseq
1196 enable_mciwave
1197 enable_mf
1198 enable_mf3216
1199 enable_mferror
1200 enable_mfmediaengine
1201 enable_mfplat
1202 enable_mfplay
1203 enable_mfreadwrite
1204 enable_mfsrcsnk
1205 enable_mgmtapi
1206 enable_midimap
1207 enable_mlang
1208 enable_mmcndmgr
1209 enable_mmdevapi
1210 enable_mountmgr_sys
1211 enable_mp3dmod
1212 enable_mpr
1213 enable_mprapi
1214 enable_msacm32_drv
1215 enable_msacm32
1216 enable_msado15
1217 enable_msadp32_acm
1218 enable_msasn1
1219 enable_msauddecmft
1220 enable_mscat32
1221 enable_mscms
1222 enable_mscoree
1223 enable_mscorwks
1224 enable_msctf
1225 enable_msctfmonitor
1226 enable_msctfp
1227 enable_msdaps
1228 enable_msdasql
1229 enable_msdelta
1230 enable_msdmo
1231 enable_msdrm
1232 enable_msftedit
1233 enable_msg711_acm
1234 enable_msgsm32_acm
1235 enable_mshtml_tlb
1236 enable_mshtml
1237 enable_msi
1238 enable_msident
1239 enable_msimg32
1240 enable_msimsg
1241 enable_msimtf
1242 enable_msisip
1243 enable_msisys_ocx
1244 enable_msls31
1245 enable_msmpeg2vdec
1246 enable_msnet32
1247 enable_mspatcha
1248 enable_msports
1249 enable_msrle32
1250 enable_msscript_ocx
1251 enable_mssign32
1252 enable_mssip32
1253 enable_mstask
1254 enable_msv1_0
1255 enable_msvcirt
1256 enable_msvcm80
1257 enable_msvcm90
1258 enable_msvcp100
1259 enable_msvcp110
1260 enable_msvcp120
1261 enable_msvcp120_app
1262 enable_msvcp140
1263 enable_msvcp140_1
1264 enable_msvcp140_2
1265 enable_msvcp140_atomic_wait
1266 enable_msvcp60
1267 enable_msvcp70
1268 enable_msvcp71
1269 enable_msvcp80
1270 enable_msvcp90
1271 enable_msvcp_win
1272 enable_msvcr100
1273 enable_msvcr110
1274 enable_msvcr120
1275 enable_msvcr120_app
1276 enable_msvcr70
1277 enable_msvcr71
1278 enable_msvcr80
1279 enable_msvcr90
1280 enable_msvcrt
1281 enable_msvcrt20
1282 enable_msvcrt40
1283 enable_msvcrtd
1284 enable_msvfw32
1285 enable_msvidc32
1286 enable_mswsock
1287 enable_msxml
1288 enable_msxml2
1289 enable_msxml3
1290 enable_msxml4
1291 enable_msxml6
1292 enable_mtxdm
1293 enable_ncrypt
1294 enable_nddeapi
1295 enable_ndis_sys
1296 enable_netapi32
1297 enable_netcfgx
1298 enable_netio_sys
1299 enable_netprofm
1300 enable_netutils
1301 enable_newdev
1302 enable_ninput
1303 enable_normaliz
1304 enable_npmshtml
1305 enable_npptools
1306 enable_nsi
1307 enable_nsiproxy_sys
1308 enable_ntdll
1309 enable_ntdsapi
1310 enable_ntoskrnl_exe
1311 enable_ntprint
1312 enable_objsel
1313 enable_odbc32
1314 enable_odbcbcp
1315 enable_odbccp32
1316 enable_odbccu32
1317 enable_ole32
1318 enable_oleacc
1319 enable_oleaut32
1320 enable_olecli32
1321 enable_oledb32
1322 enable_oledlg
1323 enable_olepro32
1324 enable_olesvr32
1325 enable_olethk32
1326 enable_opcservices
1327 enable_opencl
1328 enable_opengl32
1329 enable_packager
1330 enable_pdh
1331 enable_photometadatahandler
1332 enable_pidgen
1333 enable_powrprof
1334 enable_printui
1335 enable_prntvpt
1336 enable_propsys
1337 enable_psapi
1338 enable_pstorec
1339 enable_pwrshplugin
1340 enable_qasf
1341 enable_qcap
1342 enable_qdvd
1343 enable_qedit
1344 enable_qmgr
1345 enable_qmgrprxy
1346 enable_quartz
1347 enable_query
1348 enable_qwave
1349 enable_rasapi32
1350 enable_rasdlg
1351 enable_regapi
1352 enable_resutils
1353 enable_riched20
1354 enable_riched32
1355 enable_rpcrt4
1356 enable_rsabase
1357 enable_rsaenh
1358 enable_rstrtmgr
1359 enable_rtutils
1360 enable_rtworkq
1361 enable_samlib
1362 enable_sane_ds
1363 enable_sapi
1364 enable_sas
1365 enable_scarddlg
1366 enable_scardsvr
1367 enable_sccbase
1368 enable_schannel
1369 enable_schedsvc
1370 enable_scrobj
1371 enable_scrrun
1372 enable_scsiport_sys
1373 enable_sechost
1374 enable_secur32
1375 enable_security
1376 enable_sensapi
1377 enable_serialui
1378 enable_setupapi
1379 enable_sfc
1380 enable_sfc_os
1381 enable_shcore
1382 enable_shdoclc
1383 enable_shdocvw
1384 enable_shell32
1385 enable_shfolder
1386 enable_shlwapi
1387 enable_slbcsp
1388 enable_slc
1389 enable_snmpapi
1390 enable_softpub
1391 enable_spoolss
1392 enable_sppc
1393 enable_srclient
1394 enable_srvcli
1395 enable_sspicli
1396 enable_stdole2_tlb
1397 enable_stdole32_tlb
1398 enable_sti
1399 enable_strmdll
1400 enable_svrapi
1401 enable_sxs
1402 enable_t2embed
1403 enable_tapi32
1404 enable_taskschd
1405 enable_tbs
1406 enable_tdh
1407 enable_tdi_sys
1408 enable_threadpoolwinrt
1409 enable_traffic
1410 enable_twain_32
1411 enable_tzres
1412 enable_ucrtbase
1413 enable_uianimation
1414 enable_uiautomationcore
1415 enable_uiribbon
1416 enable_unicows
1417 enable_updspapi
1418 enable_url
1419 enable_urlmon
1420 enable_usbd_sys
1421 enable_user32
1422 enable_userenv
1423 enable_usp10
1424 enable_utildll
1425 enable_uxtheme
1426 enable_vbscript
1427 enable_vcomp
1428 enable_vcomp100
1429 enable_vcomp110
1430 enable_vcomp120
1431 enable_vcomp140
1432 enable_vcomp90
1433 enable_vcruntime140
1434 enable_vcruntime140_1
1435 enable_vdmdbg
1436 enable_version
1437 enable_vga
1438 enable_virtdisk
1439 enable_vssapi
1440 enable_vulkan_1
1441 enable_wbemdisp
1442 enable_wbemprox
1443 enable_wdscore
1444 enable_webservices
1445 enable_websocket
1446 enable_wer
1447 enable_wevtapi
1448 enable_wevtsvc
1449 enable_wiaservc
1450 enable_wimgapi
1451 enable_win32u
1452 enable_windows_devices_enumeration
1453 enable_windows_gaming_input
1454 enable_windows_gaming_ui_gamebar
1455 enable_windows_globalization
1456 enable_windows_media_devices
1457 enable_windows_media_speech
1458 enable_windows_media
1459 enable_windows_networking
1460 enable_windows_perception_stub
1461 enable_windows_system_profile_systemmanufacturers
1462 enable_windows_ui
1463 enable_windowscodecs
1464 enable_windowscodecsext
1465 enable_winealsa_drv
1466 enable_wineandroid_drv
1467 enable_winebus_sys
1468 enable_winecoreaudio_drv
1469 enable_winecrt0
1470 enable_wined3d
1471 enable_winegstreamer
1472 enable_winehid_sys
1473 enable_winemac_drv
1474 enable_winemapi
1475 enable_wineoss_drv
1476 enable_wineps_drv
1477 enable_winepulse_drv
1478 enable_wineusb_sys
1479 enable_winevulkan
1480 enable_winewayland_drv
1481 enable_winex11_drv
1482 enable_winexinput_sys
1483 enable_wing32
1484 enable_winhttp
1485 enable_wininet
1486 enable_winmm
1487 enable_winnls32
1488 enable_winprint
1489 enable_winscard
1490 enable_winspool_drv
1491 enable_winsta
1492 enable_wintab32
1493 enable_wintrust
1494 enable_wintypes
1495 enable_winusb
1496 enable_wlanapi
1497 enable_wlanui
1498 enable_wldap32
1499 enable_wmasf
1500 enable_wmi
1501 enable_wmiutils
1502 enable_wmp
1503 enable_wmphoto
1504 enable_wmvcore
1505 enable_wnaspi32
1506 enable_wofutil
1507 enable_wow64
1508 enable_wow64cpu
1509 enable_wow64win
1510 enable_wpc
1511 enable_wpcap
1512 enable_ws2_32
1513 enable_wsdapi
1514 enable_wshom_ocx
1515 enable_wsnmp32
1516 enable_wsock32
1517 enable_wtsapi32
1518 enable_wuapi
1519 enable_wuaueng
1520 enable_x3daudio1_0
1521 enable_x3daudio1_1
1522 enable_x3daudio1_2
1523 enable_x3daudio1_3
1524 enable_x3daudio1_4
1525 enable_x3daudio1_5
1526 enable_x3daudio1_6
1527 enable_x3daudio1_7
1528 enable_xactengine2_0
1529 enable_xactengine2_4
1530 enable_xactengine2_7
1531 enable_xactengine2_9
1532 enable_xactengine3_0
1533 enable_xactengine3_1
1534 enable_xactengine3_2
1535 enable_xactengine3_3
1536 enable_xactengine3_4
1537 enable_xactengine3_5
1538 enable_xactengine3_6
1539 enable_xactengine3_7
1540 enable_xapofx1_1
1541 enable_xapofx1_2
1542 enable_xapofx1_3
1543 enable_xapofx1_4
1544 enable_xapofx1_5
1545 enable_xaudio2_0
1546 enable_xaudio2_1
1547 enable_xaudio2_2
1548 enable_xaudio2_3
1549 enable_xaudio2_4
1550 enable_xaudio2_5
1551 enable_xaudio2_6
1552 enable_xaudio2_7
1553 enable_xaudio2_8
1554 enable_xaudio2_9
1555 enable_xinput1_1
1556 enable_xinput1_2
1557 enable_xinput1_3
1558 enable_xinput1_4
1559 enable_xinput9_1_0
1560 enable_xinputuap
1561 enable_xmllite
1562 enable_xolehlp
1563 enable_xpsprint
1564 enable_xpssvcs
1565 enable_fonts
1566 enable_include
1567 enable_adsiid
1568 enable_dmoguids
1569 enable_dxerr8
1570 enable_dxerr9
1571 enable_dxguid
1572 enable_faudio
1573 enable_gsm
1574 enable_jpeg
1575 enable_jxr
1576 enable_lcms2
1577 enable_ldap
1578 enable_mfuuid
1579 enable_mpg123
1580 enable_png
1581 enable_strmbase
1582 enable_strmiids
1583 enable_tiff
1584 enable_uuid
1585 enable_vkd3d
1586 enable_wbemuuid
1587 enable_wmcodecdspuuid
1588 enable_xml2
1589 enable_xslt
1590 enable_zlib
1591 enable_zydis
1592 enable_loader
1593 enable_nls
1594 enable_po
1595 enable_arp
1596 enable_aspnet_regiis
1597 enable_attrib
1598 enable_cabarc
1599 enable_cacls
1600 enable_certutil
1601 enable_chcp_com
1602 enable_clock
1603 enable_cmd
1604 enable_conhost
1605 enable_control
1606 enable_cscript
1607 enable_dism
1608 enable_dllhost
1609 enable_dplaysvr
1610 enable_dpnsvr
1611 enable_dpvsetup
1612 enable_dxdiag
1613 enable_eject
1614 enable_expand
1615 enable_explorer
1616 enable_extrac32
1617 enable_fc
1618 enable_find
1619 enable_findstr
1620 enable_fsutil
1621 enable_hh
1622 enable_hostname
1623 enable_icacls
1624 enable_icinfo
1625 enable_iexplore
1626 enable_ipconfig
1627 enable_lodctr
1628 enable_mofcomp
1629 enable_mshta
1630 enable_msidb
1631 enable_msiexec
1632 enable_msinfo32
1633 enable_net
1634 enable_netsh
1635 enable_netstat
1636 enable_ngen
1637 enable_notepad
1638 enable_oleview
1639 enable_ping
1640 enable_plugplay
1641 enable_powershell
1642 enable_presentationfontcache
1643 enable_progman
1644 enable_reg
1645 enable_regasm
1646 enable_regedit
1647 enable_regini
1648 enable_regsvcs
1649 enable_regsvr32
1650 enable_robocopy
1651 enable_rpcss
1652 enable_rundll32
1653 enable_sc
1654 enable_schtasks
1655 enable_sdbinst
1656 enable_secedit
1657 enable_servicemodelreg
1658 enable_services
1659 enable_setx
1660 enable_shutdown
1661 enable_spoolsv
1662 enable_start
1663 enable_subst
1664 enable_svchost
1665 enable_systeminfo
1666 enable_taskkill
1667 enable_tasklist
1668 enable_taskmgr
1669 enable_termsv
1670 enable_uninstaller
1671 enable_unlodctr
1672 enable_view
1673 enable_wevtutil
1674 enable_where
1675 enable_whoami
1676 enable_wineboot
1677 enable_winebrowser
1678 enable_winecfg
1679 enable_wineconsole
1680 enable_winedbg
1681 enable_winedevice
1682 enable_winefile
1683 enable_winemenubuilder
1684 enable_winemine
1685 enable_winemsibuilder
1686 enable_winepath
1687 enable_winetest
1688 enable_winhlp32
1689 enable_winmgmt
1690 enable_winver
1691 enable_wmic
1692 enable_wmplayer
1693 enable_wordpad
1694 enable_write
1695 enable_wscript
1696 enable_wuauserv
1697 enable_wusa
1698 enable_xcopy
1699 enable_server
1700 enable_tools
1701 enable_sfnt2fon
1702 enable_widl
1703 enable_winebuild
1704 enable_winedump
1705 enable_winegcc
1706 enable_winemaker
1707 enable_wmc
1708 enable_wrc
1710 ac_precious_vars='build_alias
1711 host_alias
1712 target_alias
1714 CFLAGS
1715 LDFLAGS
1716 LIBS
1717 CPPFLAGS
1719 CXXFLAGS
1721 OBJC
1722 OBJCFLAGS
1723 FAUDIO_PE_CFLAGS
1724 FAUDIO_PE_LIBS
1725 GSM_PE_CFLAGS
1726 GSM_PE_LIBS
1727 JPEG_PE_CFLAGS
1728 JPEG_PE_LIBS
1729 JXR_PE_CFLAGS
1730 JXR_PE_LIBS
1731 LCMS2_PE_CFLAGS
1732 LCMS2_PE_LIBS
1733 LDAP_PE_CFLAGS
1734 LDAP_PE_LIBS
1735 MPG123_PE_CFLAGS
1736 MPG123_PE_LIBS
1737 PNG_PE_CFLAGS
1738 PNG_PE_LIBS
1739 TIFF_PE_CFLAGS
1740 TIFF_PE_LIBS
1741 VKD3D_PE_CFLAGS
1742 VKD3D_PE_LIBS
1743 XML2_PE_CFLAGS
1744 XML2_PE_LIBS
1745 XSLT_PE_CFLAGS
1746 XSLT_PE_LIBS
1747 ZLIB_PE_CFLAGS
1748 ZLIB_PE_LIBS
1749 ZYDIS_PE_CFLAGS
1750 ZYDIS_PE_LIBS
1751 XMKMF
1753 WAYLAND_CLIENT_CFLAGS
1754 WAYLAND_CLIENT_LIBS
1755 INOTIFY_CFLAGS
1756 INOTIFY_LIBS
1757 DBUS_CFLAGS
1758 DBUS_LIBS
1759 GNUTLS_CFLAGS
1760 GNUTLS_LIBS
1761 SANE_CFLAGS
1762 SANE_LIBS
1763 USB_CFLAGS
1764 USB_LIBS
1765 GPHOTO2_CFLAGS
1766 GPHOTO2_LIBS
1767 GPHOTO2_PORT_CFLAGS
1768 GPHOTO2_PORT_LIBS
1769 FREETYPE_CFLAGS
1770 FREETYPE_LIBS
1771 PULSE_CFLAGS
1772 PULSE_LIBS
1773 GSTREAMER_CFLAGS
1774 GSTREAMER_LIBS
1775 UDEV_CFLAGS
1776 UDEV_LIBS
1777 UNWIND_CFLAGS
1778 UNWIND_LIBS
1779 SDL2_CFLAGS
1780 SDL2_LIBS
1781 CAPI20_CFLAGS
1782 CAPI20_LIBS
1783 CUPS_CFLAGS
1784 CUPS_LIBS
1785 FONTCONFIG_CFLAGS
1786 FONTCONFIG_LIBS
1787 KRB5_CFLAGS
1788 KRB5_LIBS
1789 GSSAPI_CFLAGS
1790 GSSAPI_LIBS
1791 NETAPI_CFLAGS
1792 NETAPI_LIBS'
1795 # Initialize some variables set by options.
1796 ac_init_help=
1797 ac_init_version=false
1798 ac_unrecognized_opts=
1799 ac_unrecognized_sep=
1800 # The variables have the same names as the options, with
1801 # dashes changed to underlines.
1802 cache_file=/dev/null
1803 exec_prefix=NONE
1804 no_create=
1805 no_recursion=
1806 prefix=NONE
1807 program_prefix=NONE
1808 program_suffix=NONE
1809 program_transform_name=s,x,x,
1810 silent=
1811 site=
1812 srcdir=
1813 verbose=
1814 x_includes=NONE
1815 x_libraries=NONE
1817 # Installation directory options.
1818 # These are left unexpanded so users can "make install exec_prefix=/foo"
1819 # and all the variables that are supposed to be based on exec_prefix
1820 # by default will actually change.
1821 # Use braces instead of parens because sh, perl, etc. also accept them.
1822 # (The list follows the same order as the GNU Coding Standards.)
1823 bindir='${exec_prefix}/bin'
1824 sbindir='${exec_prefix}/sbin'
1825 libexecdir='${exec_prefix}/libexec'
1826 datarootdir='${prefix}/share'
1827 datadir='${datarootdir}'
1828 sysconfdir='${prefix}/etc'
1829 sharedstatedir='${prefix}/com'
1830 localstatedir='${prefix}/var'
1831 runstatedir='${localstatedir}/run'
1832 includedir='${prefix}/include'
1833 oldincludedir='/usr/include'
1834 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1835 infodir='${datarootdir}/info'
1836 htmldir='${docdir}'
1837 dvidir='${docdir}'
1838 pdfdir='${docdir}'
1839 psdir='${docdir}'
1840 libdir='${exec_prefix}/lib'
1841 localedir='${datarootdir}/locale'
1842 mandir='${datarootdir}/man'
1844 ac_prev=
1845 ac_dashdash=
1846 for ac_option
1848 # If the previous option needs an argument, assign it.
1849 if test -n "$ac_prev"; then
1850 eval $ac_prev=\$ac_option
1851 ac_prev=
1852 continue
1855 case $ac_option in
1856 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1857 *=) ac_optarg= ;;
1858 *) ac_optarg=yes ;;
1859 esac
1861 case $ac_dashdash$ac_option in
1863 ac_dashdash=yes ;;
1865 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1866 ac_prev=bindir ;;
1867 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1868 bindir=$ac_optarg ;;
1870 -build | --build | --buil | --bui | --bu)
1871 ac_prev=build_alias ;;
1872 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1873 build_alias=$ac_optarg ;;
1875 -cache-file | --cache-file | --cache-fil | --cache-fi \
1876 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1877 ac_prev=cache_file ;;
1878 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1879 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1880 cache_file=$ac_optarg ;;
1882 --config-cache | -C)
1883 cache_file=config.cache ;;
1885 -datadir | --datadir | --datadi | --datad)
1886 ac_prev=datadir ;;
1887 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1888 datadir=$ac_optarg ;;
1890 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1891 | --dataroo | --dataro | --datar)
1892 ac_prev=datarootdir ;;
1893 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1894 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1895 datarootdir=$ac_optarg ;;
1897 -disable-* | --disable-*)
1898 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1899 # Reject names that are not valid shell variable names.
1900 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1901 as_fn_error $? "invalid feature name: \`$ac_useropt'"
1902 ac_useropt_orig=$ac_useropt
1903 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1904 case $ac_user_opts in
1906 "enable_$ac_useropt"
1907 "*) ;;
1908 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1909 ac_unrecognized_sep=', ';;
1910 esac
1911 eval enable_$ac_useropt=no ;;
1913 -docdir | --docdir | --docdi | --doc | --do)
1914 ac_prev=docdir ;;
1915 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1916 docdir=$ac_optarg ;;
1918 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1919 ac_prev=dvidir ;;
1920 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1921 dvidir=$ac_optarg ;;
1923 -enable-* | --enable-*)
1924 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1925 # Reject names that are not valid shell variable names.
1926 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1927 as_fn_error $? "invalid feature name: \`$ac_useropt'"
1928 ac_useropt_orig=$ac_useropt
1929 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1930 case $ac_user_opts in
1932 "enable_$ac_useropt"
1933 "*) ;;
1934 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1935 ac_unrecognized_sep=', ';;
1936 esac
1937 eval enable_$ac_useropt=\$ac_optarg ;;
1939 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1940 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1941 | --exec | --exe | --ex)
1942 ac_prev=exec_prefix ;;
1943 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1944 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1945 | --exec=* | --exe=* | --ex=*)
1946 exec_prefix=$ac_optarg ;;
1948 -gas | --gas | --ga | --g)
1949 # Obsolete; use --with-gas.
1950 with_gas=yes ;;
1952 -help | --help | --hel | --he | -h)
1953 ac_init_help=long ;;
1954 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1955 ac_init_help=recursive ;;
1956 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1957 ac_init_help=short ;;
1959 -host | --host | --hos | --ho)
1960 ac_prev=host_alias ;;
1961 -host=* | --host=* | --hos=* | --ho=*)
1962 host_alias=$ac_optarg ;;
1964 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1965 ac_prev=htmldir ;;
1966 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1967 | --ht=*)
1968 htmldir=$ac_optarg ;;
1970 -includedir | --includedir | --includedi | --included | --include \
1971 | --includ | --inclu | --incl | --inc)
1972 ac_prev=includedir ;;
1973 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1974 | --includ=* | --inclu=* | --incl=* | --inc=*)
1975 includedir=$ac_optarg ;;
1977 -infodir | --infodir | --infodi | --infod | --info | --inf)
1978 ac_prev=infodir ;;
1979 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1980 infodir=$ac_optarg ;;
1982 -libdir | --libdir | --libdi | --libd)
1983 ac_prev=libdir ;;
1984 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1985 libdir=$ac_optarg ;;
1987 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1988 | --libexe | --libex | --libe)
1989 ac_prev=libexecdir ;;
1990 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1991 | --libexe=* | --libex=* | --libe=*)
1992 libexecdir=$ac_optarg ;;
1994 -localedir | --localedir | --localedi | --localed | --locale)
1995 ac_prev=localedir ;;
1996 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1997 localedir=$ac_optarg ;;
1999 -localstatedir | --localstatedir | --localstatedi | --localstated \
2000 | --localstate | --localstat | --localsta | --localst | --locals)
2001 ac_prev=localstatedir ;;
2002 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
2003 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
2004 localstatedir=$ac_optarg ;;
2006 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
2007 ac_prev=mandir ;;
2008 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
2009 mandir=$ac_optarg ;;
2011 -nfp | --nfp | --nf)
2012 # Obsolete; use --without-fp.
2013 with_fp=no ;;
2015 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
2016 | --no-cr | --no-c | -n)
2017 no_create=yes ;;
2019 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
2020 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
2021 no_recursion=yes ;;
2023 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
2024 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
2025 | --oldin | --oldi | --old | --ol | --o)
2026 ac_prev=oldincludedir ;;
2027 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
2028 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
2029 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
2030 oldincludedir=$ac_optarg ;;
2032 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2033 ac_prev=prefix ;;
2034 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2035 prefix=$ac_optarg ;;
2037 -program-prefix | --program-prefix | --program-prefi | --program-pref \
2038 | --program-pre | --program-pr | --program-p)
2039 ac_prev=program_prefix ;;
2040 -program-prefix=* | --program-prefix=* | --program-prefi=* \
2041 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2042 program_prefix=$ac_optarg ;;
2044 -program-suffix | --program-suffix | --program-suffi | --program-suff \
2045 | --program-suf | --program-su | --program-s)
2046 ac_prev=program_suffix ;;
2047 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2048 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2049 program_suffix=$ac_optarg ;;
2051 -program-transform-name | --program-transform-name \
2052 | --program-transform-nam | --program-transform-na \
2053 | --program-transform-n | --program-transform- \
2054 | --program-transform | --program-transfor \
2055 | --program-transfo | --program-transf \
2056 | --program-trans | --program-tran \
2057 | --progr-tra | --program-tr | --program-t)
2058 ac_prev=program_transform_name ;;
2059 -program-transform-name=* | --program-transform-name=* \
2060 | --program-transform-nam=* | --program-transform-na=* \
2061 | --program-transform-n=* | --program-transform-=* \
2062 | --program-transform=* | --program-transfor=* \
2063 | --program-transfo=* | --program-transf=* \
2064 | --program-trans=* | --program-tran=* \
2065 | --progr-tra=* | --program-tr=* | --program-t=*)
2066 program_transform_name=$ac_optarg ;;
2068 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2069 ac_prev=pdfdir ;;
2070 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2071 pdfdir=$ac_optarg ;;
2073 -psdir | --psdir | --psdi | --psd | --ps)
2074 ac_prev=psdir ;;
2075 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2076 psdir=$ac_optarg ;;
2078 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2079 | -silent | --silent | --silen | --sile | --sil)
2080 silent=yes ;;
2082 -runstatedir | --runstatedir | --runstatedi | --runstated \
2083 | --runstate | --runstat | --runsta | --runst | --runs \
2084 | --run | --ru | --r)
2085 ac_prev=runstatedir ;;
2086 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2087 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2088 | --run=* | --ru=* | --r=*)
2089 runstatedir=$ac_optarg ;;
2091 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2092 ac_prev=sbindir ;;
2093 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2094 | --sbi=* | --sb=*)
2095 sbindir=$ac_optarg ;;
2097 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2098 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2099 | --sharedst | --shareds | --shared | --share | --shar \
2100 | --sha | --sh)
2101 ac_prev=sharedstatedir ;;
2102 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2103 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2104 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2105 | --sha=* | --sh=*)
2106 sharedstatedir=$ac_optarg ;;
2108 -site | --site | --sit)
2109 ac_prev=site ;;
2110 -site=* | --site=* | --sit=*)
2111 site=$ac_optarg ;;
2113 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2114 ac_prev=srcdir ;;
2115 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2116 srcdir=$ac_optarg ;;
2118 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2119 | --syscon | --sysco | --sysc | --sys | --sy)
2120 ac_prev=sysconfdir ;;
2121 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2122 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2123 sysconfdir=$ac_optarg ;;
2125 -target | --target | --targe | --targ | --tar | --ta | --t)
2126 ac_prev=target_alias ;;
2127 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2128 target_alias=$ac_optarg ;;
2130 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2131 verbose=yes ;;
2133 -version | --version | --versio | --versi | --vers | -V)
2134 ac_init_version=: ;;
2136 -with-* | --with-*)
2137 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2138 # Reject names that are not valid shell variable names.
2139 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2140 as_fn_error $? "invalid package name: \`$ac_useropt'"
2141 ac_useropt_orig=$ac_useropt
2142 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2143 case $ac_user_opts in
2145 "with_$ac_useropt"
2146 "*) ;;
2147 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2148 ac_unrecognized_sep=', ';;
2149 esac
2150 eval with_$ac_useropt=\$ac_optarg ;;
2152 -without-* | --without-*)
2153 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2154 # Reject names that are not valid shell variable names.
2155 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2156 as_fn_error $? "invalid package name: \`$ac_useropt'"
2157 ac_useropt_orig=$ac_useropt
2158 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2159 case $ac_user_opts in
2161 "with_$ac_useropt"
2162 "*) ;;
2163 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2164 ac_unrecognized_sep=', ';;
2165 esac
2166 eval with_$ac_useropt=no ;;
2168 --x)
2169 # Obsolete; use --with-x.
2170 with_x=yes ;;
2172 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2173 | --x-incl | --x-inc | --x-in | --x-i)
2174 ac_prev=x_includes ;;
2175 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2176 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2177 x_includes=$ac_optarg ;;
2179 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2180 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2181 ac_prev=x_libraries ;;
2182 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2183 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2184 x_libraries=$ac_optarg ;;
2186 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2187 Try \`$0 --help' for more information"
2190 *=*)
2191 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2192 # Reject names that are not valid shell variable names.
2193 case $ac_envvar in #(
2194 '' | [0-9]* | *[!_$as_cr_alnum]* )
2195 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2196 esac
2197 eval $ac_envvar=\$ac_optarg
2198 export $ac_envvar ;;
2201 # FIXME: should be removed in autoconf 3.0.
2202 printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
2203 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2204 printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
2205 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2208 esac
2209 done
2211 if test -n "$ac_prev"; then
2212 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2213 as_fn_error $? "missing argument to $ac_option"
2216 if test -n "$ac_unrecognized_opts"; then
2217 case $enable_option_checking in
2218 no) ;;
2219 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2220 *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2221 esac
2224 # Check all directory arguments for consistency.
2225 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2226 datadir sysconfdir sharedstatedir localstatedir includedir \
2227 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2228 libdir localedir mandir runstatedir
2230 eval ac_val=\$$ac_var
2231 # Remove trailing slashes.
2232 case $ac_val in
2233 */ )
2234 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2235 eval $ac_var=\$ac_val;;
2236 esac
2237 # Be sure to have absolute directory names.
2238 case $ac_val in
2239 [\\/$]* | ?:[\\/]* ) continue;;
2240 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2241 esac
2242 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2243 done
2245 # There might be people who depend on the old broken behavior: `$host'
2246 # used to hold the argument of --host etc.
2247 # FIXME: To remove some day.
2248 build=$build_alias
2249 host=$host_alias
2250 target=$target_alias
2252 # FIXME: To remove some day.
2253 if test "x$host_alias" != x; then
2254 if test "x$build_alias" = x; then
2255 cross_compiling=maybe
2256 elif test "x$build_alias" != "x$host_alias"; then
2257 cross_compiling=yes
2261 ac_tool_prefix=
2262 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2264 test "$silent" = yes && exec 6>/dev/null
2267 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2268 ac_ls_di=`ls -di .` &&
2269 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2270 as_fn_error $? "working directory cannot be determined"
2271 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2272 as_fn_error $? "pwd does not report name of working directory"
2275 # Find the source files, if location was not specified.
2276 if test -z "$srcdir"; then
2277 ac_srcdir_defaulted=yes
2278 # Try the directory containing this script, then the parent directory.
2279 ac_confdir=`$as_dirname -- "$as_myself" ||
2280 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2281 X"$as_myself" : 'X\(//\)[^/]' \| \
2282 X"$as_myself" : 'X\(//\)$' \| \
2283 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2284 printf "%s\n" X"$as_myself" |
2285 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2286 s//\1/
2289 /^X\(\/\/\)[^/].*/{
2290 s//\1/
2293 /^X\(\/\/\)$/{
2294 s//\1/
2297 /^X\(\/\).*/{
2298 s//\1/
2301 s/.*/./; q'`
2302 srcdir=$ac_confdir
2303 if test ! -r "$srcdir/$ac_unique_file"; then
2304 srcdir=..
2306 else
2307 ac_srcdir_defaulted=no
2309 if test ! -r "$srcdir/$ac_unique_file"; then
2310 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2311 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2313 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2314 ac_abs_confdir=`(
2315 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2316 pwd)`
2317 # When building in place, set srcdir=.
2318 if test "$ac_abs_confdir" = "$ac_pwd"; then
2319 srcdir=.
2321 # Remove unnecessary trailing slashes from srcdir.
2322 # Double slashes in file names in object file debugging info
2323 # mess up M-x gdb in Emacs.
2324 case $srcdir in
2325 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2326 esac
2327 for ac_var in $ac_precious_vars; do
2328 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2329 eval ac_env_${ac_var}_value=\$${ac_var}
2330 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2331 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2332 done
2335 # Report the --help message.
2337 if test "$ac_init_help" = "long"; then
2338 # Omit some internal or obsolete options to make the list less imposing.
2339 # This message is too long to be a string in the A/UX 3.1 sh.
2340 cat <<_ACEOF
2341 \`configure' configures Wine 8.4 to adapt to many kinds of systems.
2343 Usage: $0 [OPTION]... [VAR=VALUE]...
2345 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2346 VAR=VALUE. See below for descriptions of some of the useful variables.
2348 Defaults for the options are specified in brackets.
2350 Configuration:
2351 -h, --help display this help and exit
2352 --help=short display options specific to this package
2353 --help=recursive display the short help of all the included packages
2354 -V, --version display version information and exit
2355 -q, --quiet, --silent do not print \`checking ...' messages
2356 --cache-file=FILE cache test results in FILE [disabled]
2357 -C, --config-cache alias for \`--cache-file=config.cache'
2358 -n, --no-create do not create output files
2359 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2361 Installation directories:
2362 --prefix=PREFIX install architecture-independent files in PREFIX
2363 [$ac_default_prefix]
2364 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2365 [PREFIX]
2367 By default, \`make install' will install all the files in
2368 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2369 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2370 for instance \`--prefix=\$HOME'.
2372 For better control, use the options below.
2374 Fine tuning of the installation directories:
2375 --bindir=DIR user executables [EPREFIX/bin]
2376 --sbindir=DIR system admin executables [EPREFIX/sbin]
2377 --libexecdir=DIR program executables [EPREFIX/libexec]
2378 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2379 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2380 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2381 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2382 --libdir=DIR object code libraries [EPREFIX/lib]
2383 --includedir=DIR C header files [PREFIX/include]
2384 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2385 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2386 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2387 --infodir=DIR info documentation [DATAROOTDIR/info]
2388 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2389 --mandir=DIR man documentation [DATAROOTDIR/man]
2390 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2391 --htmldir=DIR html documentation [DOCDIR]
2392 --dvidir=DIR dvi documentation [DOCDIR]
2393 --pdfdir=DIR pdf documentation [DOCDIR]
2394 --psdir=DIR ps documentation [DOCDIR]
2395 _ACEOF
2397 cat <<\_ACEOF
2399 X features:
2400 --x-includes=DIR X include files are in DIR
2401 --x-libraries=DIR X library files are in DIR
2403 System types:
2404 --build=BUILD configure for building on BUILD [guessed]
2405 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2406 _ACEOF
2409 if test -n "$ac_init_help"; then
2410 case $ac_init_help in
2411 short | recursive ) echo "Configuration of Wine 8.4:";;
2412 esac
2413 cat <<\_ACEOF
2415 Optional Features:
2416 --disable-option-checking ignore unrecognized --enable/--with options
2417 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2418 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2419 --enable-archs={i386,x86_64,arm,aarch64}
2420 enable multiple architectures for PE compilation
2421 --disable-win16 do not include Win16 support
2422 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2423 binaries)
2424 --disable-tests do not build the regression tests
2425 --enable-build-id include .buildid section in output objects
2426 --enable-maintainer-mode
2427 enable maintainer-specific build rules
2428 --enable-silent-rules use silent build rules (override: "make V=1")
2429 --enable-werror treat compilation warnings as errors
2430 --disable-largefile omit support for large files
2432 Optional Packages:
2433 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2434 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2435 --without-alsa do not use the Alsa sound support
2436 --without-capi do not use CAPI (ISDN support)
2437 --without-coreaudio do not use the CoreAudio sound support
2438 --without-cups do not use CUPS
2439 --without-dbus do not use DBus (dynamic device support)
2440 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2441 --without-fontconfig do not use fontconfig
2442 --without-freetype do not use the FreeType library
2443 --without-gettext do not use gettext
2444 --with-gettextpo use the GetTextPO library to rebuild po files
2445 --without-gphoto do not use gphoto (Digital Camera support)
2446 --without-gnutls do not use GnuTLS (schannel support)
2447 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2448 --without-gstreamer do not use GStreamer (codecs support)
2449 --without-inotify do not use inotify (filesystem change notifications)
2450 --without-krb5 do not use krb5 (Kerberos)
2451 --without-mingw do not use the MinGW cross-compiler
2452 --without-netapi do not use the Samba NetAPI library
2453 --without-opencl do not use OpenCL
2454 --without-opengl do not use OpenGL
2455 --without-osmesa do not use the OSMesa library
2456 --without-oss do not use the OSS sound support
2457 --without-pcap do not use the Packet Capture library
2458 --without-pcsclite do not use PCSC lite
2459 --without-pthread do not use the pthread library
2460 --without-pulse do not use PulseAudio sound support
2461 --without-sane do not use SANE (scanner support)
2462 --without-sdl do not use SDL
2463 --without-udev do not use udev (plug and play support)
2464 --without-unwind do not use the libunwind library (exception
2465 handling)
2466 --without-usb do not use the libusb library
2467 --without-v4l2 do not use v4l2 (video capture)
2468 --without-vulkan do not use Vulkan
2469 --without-wayland do not build the Wayland driver
2470 --without-xcomposite do not use the Xcomposite extension
2471 --without-xcursor do not use the Xcursor extension
2472 --without-xfixes do not use Xfixes for clipboard change notifications
2473 --without-xinerama do not use Xinerama (legacy multi-monitor support)
2474 --without-xinput do not use the Xinput extension
2475 --without-xinput2 do not use the Xinput 2 extension
2476 --without-xrandr do not use Xrandr (multi-monitor support)
2477 --without-xrender do not use the Xrender extension
2478 --without-xshape do not use the Xshape extension
2479 --without-xshm do not use XShm (shared memory extension)
2480 --without-xxf86vm do not use XFree video mode extension
2481 --with-system-dllpath=PATH
2482 load external PE dependencies from colon-separated
2483 path PATH
2484 --with-wine-tools=DIR use Wine tools from directory DIR
2485 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2486 --with-x use the X Window System
2488 Some influential environment variables:
2489 CC C compiler command
2490 CFLAGS C compiler flags
2491 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2492 nonstandard directory <lib dir>
2493 LIBS libraries to pass to the linker, e.g. -l<library>
2494 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2495 you have headers in a nonstandard directory <include dir>
2496 CXX C++ compiler command
2497 CXXFLAGS C++ compiler flags
2498 OBJC Objective C compiler command
2499 OBJCFLAGS Objective C compiler flags
2500 FAUDIO_PE_CFLAGS
2501 C compiler flags for the PE faudio, overriding the bundled
2502 version
2503 FAUDIO_PE_LIBS
2504 Linker flags for the PE faudio, overriding the bundled version
2505 GSM_PE_CFLAGS
2506 C compiler flags for the PE gsm, overriding the bundled version
2507 GSM_PE_LIBS Linker flags for the PE gsm, overriding the bundled version
2508 JPEG_PE_CFLAGS
2509 C compiler flags for the PE jpeg, overriding the bundled version
2510 JPEG_PE_LIBS
2511 Linker flags for the PE jpeg, overriding the bundled version
2512 JXR_PE_CFLAGS
2513 C compiler flags for the PE jxr, overriding the bundled version
2514 JXR_PE_LIBS Linker flags for the PE jxr, overriding the bundled version
2515 LCMS2_PE_CFLAGS
2516 C compiler flags for the PE lcms2, overriding the bundled
2517 version
2518 LCMS2_PE_LIBS
2519 Linker flags for the PE lcms2, overriding the bundled version
2520 LDAP_PE_CFLAGS
2521 C compiler flags for the PE ldap, overriding the bundled version
2522 LDAP_PE_LIBS
2523 Linker flags for the PE ldap, overriding the bundled version
2524 MPG123_PE_CFLAGS
2525 C compiler flags for the PE mpg123, overriding the bundled
2526 version
2527 MPG123_PE_LIBS
2528 Linker flags for the PE mpg123, overriding the bundled version
2529 PNG_PE_CFLAGS
2530 C compiler flags for the PE png, overriding the bundled version
2531 PNG_PE_LIBS Linker flags for the PE png, overriding the bundled version
2532 TIFF_PE_CFLAGS
2533 C compiler flags for the PE tiff, overriding the bundled version
2534 TIFF_PE_LIBS
2535 Linker flags for the PE tiff, overriding the bundled version
2536 VKD3D_PE_CFLAGS
2537 C compiler flags for the PE vkd3d, overriding the bundled
2538 version
2539 VKD3D_PE_LIBS
2540 Linker flags for the PE vkd3d, overriding the bundled version
2541 XML2_PE_CFLAGS
2542 C compiler flags for the PE xml2, overriding the bundled version
2543 XML2_PE_LIBS
2544 Linker flags for the PE xml2, overriding the bundled version
2545 XSLT_PE_CFLAGS
2546 C compiler flags for the PE xslt, overriding the bundled version
2547 XSLT_PE_LIBS
2548 Linker flags for the PE xslt, overriding the bundled version
2549 ZLIB_PE_CFLAGS
2550 C compiler flags for the PE zlib, overriding the bundled version
2551 ZLIB_PE_LIBS
2552 Linker flags for the PE zlib, overriding the bundled version
2553 ZYDIS_PE_CFLAGS
2554 C compiler flags for the PE zydis, overriding the bundled
2555 version
2556 ZYDIS_PE_LIBS
2557 Linker flags for the PE zydis, overriding the bundled version
2558 XMKMF Path to xmkmf, Makefile generator for X Window System
2559 CPP C preprocessor
2560 WAYLAND_CLIENT_CFLAGS
2561 C compiler flags for wayland-client, overriding pkg-config
2562 WAYLAND_CLIENT_LIBS
2563 Linker flags for wayland-client, overriding pkg-config
2564 INOTIFY_CFLAGS
2565 C compiler flags for libinotify, overriding pkg-config
2566 INOTIFY_LIBS
2567 Linker flags for libinotify, overriding pkg-config
2568 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2569 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2570 GNUTLS_CFLAGS
2571 C compiler flags for gnutls, overriding pkg-config
2572 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2573 SANE_CFLAGS C compiler flags for sane-backends, overriding pkg-config
2574 SANE_LIBS Linker flags for sane-backends, overriding pkg-config
2575 USB_CFLAGS C compiler flags for libusb-1.0, overriding pkg-config
2576 USB_LIBS Linker flags for libusb-1.0, overriding pkg-config
2577 GPHOTO2_CFLAGS
2578 C compiler flags for libgphoto2, overriding pkg-config
2579 GPHOTO2_LIBS
2580 Linker flags for libgphoto2, overriding pkg-config
2581 GPHOTO2_PORT_CFLAGS
2582 C compiler flags for libgphoto2_port, overriding pkg-config
2583 GPHOTO2_PORT_LIBS
2584 Linker flags for libgphoto2_port, overriding pkg-config
2585 FREETYPE_CFLAGS
2586 C compiler flags for freetype2, overriding pkg-config
2587 FREETYPE_LIBS
2588 Linker flags for freetype2, overriding pkg-config
2589 PULSE_CFLAGS
2590 C compiler flags for libpulse, overriding pkg-config
2591 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2592 GSTREAMER_CFLAGS
2593 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2594 gstreamer-audio-1.0 gstreamer-tag-1.0, overriding pkg-config
2595 GSTREAMER_LIBS
2596 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2597 gstreamer-audio-1.0 gstreamer-tag-1.0, overriding pkg-config
2598 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2599 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2600 UNWIND_CFLAGS
2601 C compiler flags for libunwind, overriding pkg-config
2602 UNWIND_LIBS Linker flags for libunwind, overriding pkg-config
2603 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2604 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2605 CAPI20_CFLAGS
2606 C compiler flags for capi20, overriding pkg-config
2607 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2608 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2609 CUPS_LIBS Linker flags for cups, overriding pkg-config
2610 FONTCONFIG_CFLAGS
2611 C compiler flags for fontconfig, overriding pkg-config
2612 FONTCONFIG_LIBS
2613 Linker flags for fontconfig, overriding pkg-config
2614 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2615 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2616 GSSAPI_CFLAGS
2617 C compiler flags for krb5-gssapi, overriding pkg-config
2618 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2619 NETAPI_CFLAGS
2620 C compiler flags for netapi, overriding pkg-config
2621 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2623 Use these variables to override the choices made by `configure' or to help
2624 it to find libraries and programs with nonstandard names/locations.
2626 Report bugs to <wine-devel@winehq.org>.
2627 Wine home page: <https://www.winehq.org>.
2628 _ACEOF
2629 ac_status=$?
2632 if test "$ac_init_help" = "recursive"; then
2633 # If there are subdirs, report their specific --help.
2634 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2635 test -d "$ac_dir" ||
2636 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2637 continue
2638 ac_builddir=.
2640 case "$ac_dir" in
2641 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2643 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
2644 # A ".." for each directory in $ac_dir_suffix.
2645 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2646 case $ac_top_builddir_sub in
2647 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2648 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2649 esac ;;
2650 esac
2651 ac_abs_top_builddir=$ac_pwd
2652 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2653 # for backward compatibility:
2654 ac_top_builddir=$ac_top_build_prefix
2656 case $srcdir in
2657 .) # We are building in place.
2658 ac_srcdir=.
2659 ac_top_srcdir=$ac_top_builddir_sub
2660 ac_abs_top_srcdir=$ac_pwd ;;
2661 [\\/]* | ?:[\\/]* ) # Absolute name.
2662 ac_srcdir=$srcdir$ac_dir_suffix;
2663 ac_top_srcdir=$srcdir
2664 ac_abs_top_srcdir=$srcdir ;;
2665 *) # Relative name.
2666 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2667 ac_top_srcdir=$ac_top_build_prefix$srcdir
2668 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2669 esac
2670 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2672 cd "$ac_dir" || { ac_status=$?; continue; }
2673 # Check for configure.gnu first; this name is used for a wrapper for
2674 # Metaconfig's "Configure" on case-insensitive file systems.
2675 if test -f "$ac_srcdir/configure.gnu"; then
2676 echo &&
2677 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2678 elif test -f "$ac_srcdir/configure"; then
2679 echo &&
2680 $SHELL "$ac_srcdir/configure" --help=recursive
2681 else
2682 printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2683 fi || ac_status=$?
2684 cd "$ac_pwd" || { ac_status=$?; break; }
2685 done
2688 test -n "$ac_init_help" && exit $ac_status
2689 if $ac_init_version; then
2690 cat <<\_ACEOF
2691 Wine configure 8.4
2692 generated by GNU Autoconf 2.71
2694 Copyright (C) 2021 Free Software Foundation, Inc.
2695 This configure script is free software; the Free Software Foundation
2696 gives unlimited permission to copy, distribute and modify it.
2697 _ACEOF
2698 exit
2701 ## ------------------------ ##
2702 ## Autoconf initialization. ##
2703 ## ------------------------ ##
2705 # ac_fn_c_try_compile LINENO
2706 # --------------------------
2707 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2708 ac_fn_c_try_compile ()
2710 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2711 rm -f conftest.$ac_objext conftest.beam
2712 if { { ac_try="$ac_compile"
2713 case "(($ac_try" in
2714 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2715 *) ac_try_echo=$ac_try;;
2716 esac
2717 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2718 printf "%s\n" "$ac_try_echo"; } >&5
2719 (eval "$ac_compile") 2>conftest.err
2720 ac_status=$?
2721 if test -s conftest.err; then
2722 grep -v '^ *+' conftest.err >conftest.er1
2723 cat conftest.er1 >&5
2724 mv -f conftest.er1 conftest.err
2726 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2727 test $ac_status = 0; } && {
2728 test -z "$ac_c_werror_flag" ||
2729 test ! -s conftest.err
2730 } && test -s conftest.$ac_objext
2731 then :
2732 ac_retval=0
2733 else $as_nop
2734 printf "%s\n" "$as_me: failed program was:" >&5
2735 sed 's/^/| /' conftest.$ac_ext >&5
2737 ac_retval=1
2739 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2740 as_fn_set_status $ac_retval
2742 } # ac_fn_c_try_compile
2744 # ac_fn_cxx_try_compile LINENO
2745 # ----------------------------
2746 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2747 ac_fn_cxx_try_compile ()
2749 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2750 rm -f conftest.$ac_objext conftest.beam
2751 if { { ac_try="$ac_compile"
2752 case "(($ac_try" in
2753 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2754 *) ac_try_echo=$ac_try;;
2755 esac
2756 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2757 printf "%s\n" "$ac_try_echo"; } >&5
2758 (eval "$ac_compile") 2>conftest.err
2759 ac_status=$?
2760 if test -s conftest.err; then
2761 grep -v '^ *+' conftest.err >conftest.er1
2762 cat conftest.er1 >&5
2763 mv -f conftest.er1 conftest.err
2765 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2766 test $ac_status = 0; } && {
2767 test -z "$ac_cxx_werror_flag" ||
2768 test ! -s conftest.err
2769 } && test -s conftest.$ac_objext
2770 then :
2771 ac_retval=0
2772 else $as_nop
2773 printf "%s\n" "$as_me: failed program was:" >&5
2774 sed 's/^/| /' conftest.$ac_ext >&5
2776 ac_retval=1
2778 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2779 as_fn_set_status $ac_retval
2781 } # ac_fn_cxx_try_compile
2783 # ac_fn_c_try_link LINENO
2784 # -----------------------
2785 # Try to link conftest.$ac_ext, and return whether this succeeded.
2786 ac_fn_c_try_link ()
2788 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2789 rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
2790 if { { ac_try="$ac_link"
2791 case "(($ac_try" in
2792 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2793 *) ac_try_echo=$ac_try;;
2794 esac
2795 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2796 printf "%s\n" "$ac_try_echo"; } >&5
2797 (eval "$ac_link") 2>conftest.err
2798 ac_status=$?
2799 if test -s conftest.err; then
2800 grep -v '^ *+' conftest.err >conftest.er1
2801 cat conftest.er1 >&5
2802 mv -f conftest.er1 conftest.err
2804 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2805 test $ac_status = 0; } && {
2806 test -z "$ac_c_werror_flag" ||
2807 test ! -s conftest.err
2808 } && test -s conftest$ac_exeext && {
2809 test "$cross_compiling" = yes ||
2810 test -x conftest$ac_exeext
2812 then :
2813 ac_retval=0
2814 else $as_nop
2815 printf "%s\n" "$as_me: failed program was:" >&5
2816 sed 's/^/| /' conftest.$ac_ext >&5
2818 ac_retval=1
2820 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2821 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2822 # interfere with the next link command; also delete a directory that is
2823 # left behind by Apple's compiler. We do this before executing the actions.
2824 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2825 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2826 as_fn_set_status $ac_retval
2828 } # ac_fn_c_try_link
2830 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2831 # -------------------------------------------------------
2832 # Tests whether HEADER exists and can be compiled using the include files in
2833 # INCLUDES, setting the cache variable VAR accordingly.
2834 ac_fn_c_check_header_compile ()
2836 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2837 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2838 printf %s "checking for $2... " >&6; }
2839 if eval test \${$3+y}
2840 then :
2841 printf %s "(cached) " >&6
2842 else $as_nop
2843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2844 /* end confdefs.h. */
2846 #include <$2>
2847 _ACEOF
2848 if ac_fn_c_try_compile "$LINENO"
2849 then :
2850 eval "$3=yes"
2851 else $as_nop
2852 eval "$3=no"
2854 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2856 eval ac_res=\$$3
2857 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2858 printf "%s\n" "$ac_res" >&6; }
2859 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2861 } # ac_fn_c_check_header_compile
2863 # ac_fn_objc_try_compile LINENO
2864 # -----------------------------
2865 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2866 ac_fn_objc_try_compile ()
2868 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2869 rm -f conftest.$ac_objext conftest.beam
2870 if { { ac_try="$ac_compile"
2871 case "(($ac_try" in
2872 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2873 *) ac_try_echo=$ac_try;;
2874 esac
2875 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2876 printf "%s\n" "$ac_try_echo"; } >&5
2877 (eval "$ac_compile") 2>conftest.err
2878 ac_status=$?
2879 if test -s conftest.err; then
2880 grep -v '^ *+' conftest.err >conftest.er1
2881 cat conftest.er1 >&5
2882 mv -f conftest.er1 conftest.err
2884 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2885 test $ac_status = 0; } && {
2886 test -z "$ac_objc_werror_flag" ||
2887 test ! -s conftest.err
2888 } && test -s conftest.$ac_objext
2889 then :
2890 ac_retval=0
2891 else $as_nop
2892 printf "%s\n" "$as_me: failed program was:" >&5
2893 sed 's/^/| /' conftest.$ac_ext >&5
2895 ac_retval=1
2897 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2898 as_fn_set_status $ac_retval
2900 } # ac_fn_objc_try_compile
2902 # ac_fn_c_check_func LINENO FUNC VAR
2903 # ----------------------------------
2904 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2905 ac_fn_c_check_func ()
2907 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2908 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2909 printf %s "checking for $2... " >&6; }
2910 if eval test \${$3+y}
2911 then :
2912 printf %s "(cached) " >&6
2913 else $as_nop
2914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2915 /* end confdefs.h. */
2916 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2917 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2918 #define $2 innocuous_$2
2920 /* System header to define __stub macros and hopefully few prototypes,
2921 which can conflict with char $2 (); below. */
2923 #include <limits.h>
2924 #undef $2
2926 /* Override any GCC internal prototype to avoid an error.
2927 Use char because int might match the return type of a GCC
2928 builtin and then its argument prototype would still apply. */
2929 #ifdef __cplusplus
2930 extern "C"
2931 #endif
2932 char $2 ();
2933 /* The GNU C library defines this for functions which it implements
2934 to always fail with ENOSYS. Some functions are actually named
2935 something starting with __ and the normal name is an alias. */
2936 #if defined __stub_$2 || defined __stub___$2
2937 choke me
2938 #endif
2941 main (void)
2943 return $2 ();
2945 return 0;
2947 _ACEOF
2948 if ac_fn_c_try_link "$LINENO"
2949 then :
2950 eval "$3=yes"
2951 else $as_nop
2952 eval "$3=no"
2954 rm -f core conftest.err conftest.$ac_objext conftest.beam \
2955 conftest$ac_exeext conftest.$ac_ext
2957 eval ac_res=\$$3
2958 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2959 printf "%s\n" "$ac_res" >&6; }
2960 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2962 } # ac_fn_c_check_func
2964 # ac_fn_c_try_cpp LINENO
2965 # ----------------------
2966 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2967 ac_fn_c_try_cpp ()
2969 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2970 if { { ac_try="$ac_cpp conftest.$ac_ext"
2971 case "(($ac_try" in
2972 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2973 *) ac_try_echo=$ac_try;;
2974 esac
2975 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2976 printf "%s\n" "$ac_try_echo"; } >&5
2977 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2978 ac_status=$?
2979 if test -s conftest.err; then
2980 grep -v '^ *+' conftest.err >conftest.er1
2981 cat conftest.er1 >&5
2982 mv -f conftest.er1 conftest.err
2984 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2985 test $ac_status = 0; } > conftest.i && {
2986 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2987 test ! -s conftest.err
2989 then :
2990 ac_retval=0
2991 else $as_nop
2992 printf "%s\n" "$as_me: failed program was:" >&5
2993 sed 's/^/| /' conftest.$ac_ext >&5
2995 ac_retval=1
2997 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2998 as_fn_set_status $ac_retval
3000 } # ac_fn_c_try_cpp
3002 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3003 # ----------------------------------------------------
3004 # Tries to find if the field MEMBER exists in type AGGR, after including
3005 # INCLUDES, setting cache variable VAR accordingly.
3006 ac_fn_c_check_member ()
3008 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3009 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3010 printf %s "checking for $2.$3... " >&6; }
3011 if eval test \${$4+y}
3012 then :
3013 printf %s "(cached) " >&6
3014 else $as_nop
3015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3016 /* end confdefs.h. */
3019 main (void)
3021 static $2 ac_aggr;
3022 if (ac_aggr.$3)
3023 return 0;
3025 return 0;
3027 _ACEOF
3028 if ac_fn_c_try_compile "$LINENO"
3029 then :
3030 eval "$4=yes"
3031 else $as_nop
3032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3033 /* end confdefs.h. */
3036 main (void)
3038 static $2 ac_aggr;
3039 if (sizeof ac_aggr.$3)
3040 return 0;
3042 return 0;
3044 _ACEOF
3045 if ac_fn_c_try_compile "$LINENO"
3046 then :
3047 eval "$4=yes"
3048 else $as_nop
3049 eval "$4=no"
3051 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3053 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3055 eval ac_res=\$$4
3056 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3057 printf "%s\n" "$ac_res" >&6; }
3058 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3060 } # ac_fn_c_check_member
3062 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3063 # -------------------------------------------
3064 # Tests whether TYPE exists after having included INCLUDES, setting cache
3065 # variable VAR accordingly.
3066 ac_fn_c_check_type ()
3068 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3069 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3070 printf %s "checking for $2... " >&6; }
3071 if eval test \${$3+y}
3072 then :
3073 printf %s "(cached) " >&6
3074 else $as_nop
3075 eval "$3=no"
3076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3077 /* end confdefs.h. */
3080 main (void)
3082 if (sizeof ($2))
3083 return 0;
3085 return 0;
3087 _ACEOF
3088 if ac_fn_c_try_compile "$LINENO"
3089 then :
3090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3091 /* end confdefs.h. */
3094 main (void)
3096 if (sizeof (($2)))
3097 return 0;
3099 return 0;
3101 _ACEOF
3102 if ac_fn_c_try_compile "$LINENO"
3103 then :
3105 else $as_nop
3106 eval "$3=yes"
3108 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3110 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3112 eval ac_res=\$$3
3113 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3114 printf "%s\n" "$ac_res" >&6; }
3115 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3117 } # ac_fn_c_check_type
3118 ac_configure_args_raw=
3119 for ac_arg
3121 case $ac_arg in
3122 *\'*)
3123 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3124 esac
3125 as_fn_append ac_configure_args_raw " '$ac_arg'"
3126 done
3128 case $ac_configure_args_raw in
3129 *$as_nl*)
3130 ac_safe_unquote= ;;
3132 ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab.
3133 ac_unsafe_a="$ac_unsafe_z#~"
3134 ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
3135 ac_configure_args_raw=` printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
3136 esac
3138 cat >config.log <<_ACEOF
3139 This file contains any messages produced by compilers while
3140 running configure, to aid debugging if configure makes a mistake.
3142 It was created by Wine $as_me 8.4, which was
3143 generated by GNU Autoconf 2.71. Invocation command line was
3145 $ $0$ac_configure_args_raw
3147 _ACEOF
3148 exec 5>>config.log
3150 cat <<_ASUNAME
3151 ## --------- ##
3152 ## Platform. ##
3153 ## --------- ##
3155 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3156 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3157 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3158 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3159 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3161 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3162 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3164 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3165 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3166 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3167 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3168 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3169 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3170 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3172 _ASUNAME
3174 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3175 for as_dir in $PATH
3177 IFS=$as_save_IFS
3178 case $as_dir in #(((
3179 '') as_dir=./ ;;
3180 */) ;;
3181 *) as_dir=$as_dir/ ;;
3182 esac
3183 printf "%s\n" "PATH: $as_dir"
3184 done
3185 IFS=$as_save_IFS
3187 } >&5
3189 cat >&5 <<_ACEOF
3192 ## ----------- ##
3193 ## Core tests. ##
3194 ## ----------- ##
3196 _ACEOF
3199 # Keep a trace of the command line.
3200 # Strip out --no-create and --no-recursion so they do not pile up.
3201 # Strip out --silent because we don't want to record it for future runs.
3202 # Also quote any args containing shell meta-characters.
3203 # Make two passes to allow for proper duplicate-argument suppression.
3204 ac_configure_args=
3205 ac_configure_args0=
3206 ac_configure_args1=
3207 ac_must_keep_next=false
3208 for ac_pass in 1 2
3210 for ac_arg
3212 case $ac_arg in
3213 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3214 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3215 | -silent | --silent | --silen | --sile | --sil)
3216 continue ;;
3217 *\'*)
3218 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3219 esac
3220 case $ac_pass in
3221 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3223 as_fn_append ac_configure_args1 " '$ac_arg'"
3224 if test $ac_must_keep_next = true; then
3225 ac_must_keep_next=false # Got value, back to normal.
3226 else
3227 case $ac_arg in
3228 *=* | --config-cache | -C | -disable-* | --disable-* \
3229 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3230 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3231 | -with-* | --with-* | -without-* | --without-* | --x)
3232 case "$ac_configure_args0 " in
3233 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3234 esac
3236 -* ) ac_must_keep_next=true ;;
3237 esac
3239 as_fn_append ac_configure_args " '$ac_arg'"
3241 esac
3242 done
3243 done
3244 { ac_configure_args0=; unset ac_configure_args0;}
3245 { ac_configure_args1=; unset ac_configure_args1;}
3247 # When interrupted or exit'd, cleanup temporary files, and complete
3248 # config.log. We remove comments because anyway the quotes in there
3249 # would cause problems or look ugly.
3250 # WARNING: Use '\'' to represent an apostrophe within the trap.
3251 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3252 trap 'exit_status=$?
3253 # Sanitize IFS.
3254 IFS=" "" $as_nl"
3255 # Save into config.log some information that might help in debugging.
3257 echo
3259 printf "%s\n" "## ---------------- ##
3260 ## Cache variables. ##
3261 ## ---------------- ##"
3262 echo
3263 # The following way of writing the cache mishandles newlines in values,
3265 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3266 eval ac_val=\$$ac_var
3267 case $ac_val in #(
3268 *${as_nl}*)
3269 case $ac_var in #(
3270 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3271 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3272 esac
3273 case $ac_var in #(
3274 _ | IFS | as_nl) ;; #(
3275 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3276 *) { eval $ac_var=; unset $ac_var;} ;;
3277 esac ;;
3278 esac
3279 done
3280 (set) 2>&1 |
3281 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3282 *${as_nl}ac_space=\ *)
3283 sed -n \
3284 "s/'\''/'\''\\\\'\'''\''/g;
3285 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3286 ;; #(
3288 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3290 esac |
3291 sort
3293 echo
3295 printf "%s\n" "## ----------------- ##
3296 ## Output variables. ##
3297 ## ----------------- ##"
3298 echo
3299 for ac_var in $ac_subst_vars
3301 eval ac_val=\$$ac_var
3302 case $ac_val in
3303 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3304 esac
3305 printf "%s\n" "$ac_var='\''$ac_val'\''"
3306 done | sort
3307 echo
3309 if test -n "$ac_subst_files"; then
3310 printf "%s\n" "## ------------------- ##
3311 ## File substitutions. ##
3312 ## ------------------- ##"
3313 echo
3314 for ac_var in $ac_subst_files
3316 eval ac_val=\$$ac_var
3317 case $ac_val in
3318 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3319 esac
3320 printf "%s\n" "$ac_var='\''$ac_val'\''"
3321 done | sort
3322 echo
3325 if test -s confdefs.h; then
3326 printf "%s\n" "## ----------- ##
3327 ## confdefs.h. ##
3328 ## ----------- ##"
3329 echo
3330 cat confdefs.h
3331 echo
3333 test "$ac_signal" != 0 &&
3334 printf "%s\n" "$as_me: caught signal $ac_signal"
3335 printf "%s\n" "$as_me: exit $exit_status"
3336 } >&5
3337 rm -f core *.core core.conftest.* &&
3338 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3339 exit $exit_status
3341 for ac_signal in 1 2 13 15; do
3342 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3343 done
3344 ac_signal=0
3346 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3347 rm -f -r conftest* confdefs.h
3349 printf "%s\n" "/* confdefs.h */" > confdefs.h
3351 # Predefined preprocessor variables.
3353 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
3355 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
3357 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
3359 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
3361 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
3363 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
3366 # Let the site file select an alternate cache file if it wants to.
3367 # Prefer an explicitly selected file to automatically selected ones.
3368 if test -n "$CONFIG_SITE"; then
3369 ac_site_files="$CONFIG_SITE"
3370 elif test "x$prefix" != xNONE; then
3371 ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
3372 else
3373 ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
3376 for ac_site_file in $ac_site_files
3378 case $ac_site_file in #(
3379 */*) :
3380 ;; #(
3381 *) :
3382 ac_site_file=./$ac_site_file ;;
3383 esac
3384 if test -f "$ac_site_file" && test -r "$ac_site_file"; then
3385 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3386 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
3387 sed 's/^/| /' "$ac_site_file" >&5
3388 . "$ac_site_file" \
3389 || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3390 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
3391 as_fn_error $? "failed to load site script $ac_site_file
3392 See \`config.log' for more details" "$LINENO" 5; }
3394 done
3396 if test -r "$cache_file"; then
3397 # Some versions of bash will fail to source /dev/null (special files
3398 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3399 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3400 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3401 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
3402 case $cache_file in
3403 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3404 *) . "./$cache_file";;
3405 esac
3407 else
3408 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3409 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
3410 >$cache_file
3413 # Test code for whether the C compiler supports C89 (global declarations)
3414 ac_c_conftest_c89_globals='
3415 /* Does the compiler advertise C89 conformance?
3416 Do not test the value of __STDC__, because some compilers set it to 0
3417 while being otherwise adequately conformant. */
3418 #if !defined __STDC__
3419 # error "Compiler does not advertise C89 conformance"
3420 #endif
3422 #include <stddef.h>
3423 #include <stdarg.h>
3424 struct stat;
3425 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */
3426 struct buf { int x; };
3427 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
3428 static char *e (p, i)
3429 char **p;
3430 int i;
3432 return p[i];
3434 static char *f (char * (*g) (char **, int), char **p, ...)
3436 char *s;
3437 va_list v;
3438 va_start (v,p);
3439 s = g (p, va_arg (v,int));
3440 va_end (v);
3441 return s;
3444 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3445 function prototypes and stuff, but not \xHH hex character constants.
3446 These do not provoke an error unfortunately, instead are silently treated
3447 as an "x". The following induces an error, until -std is added to get
3448 proper ANSI mode. Curiously \x00 != x always comes out true, for an
3449 array size at least. It is necessary to write \x00 == 0 to get something
3450 that is true only with -std. */
3451 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
3453 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3454 inside strings and character constants. */
3455 #define FOO(x) '\''x'\''
3456 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
3458 int test (int i, double x);
3459 struct s1 {int (*f) (int a);};
3460 struct s2 {int (*f) (double a);};
3461 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
3462 int, int);'
3464 # Test code for whether the C compiler supports C89 (body of main).
3465 ac_c_conftest_c89_main='
3466 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
3469 # Test code for whether the C compiler supports C99 (global declarations)
3470 ac_c_conftest_c99_globals='
3471 // Does the compiler advertise C99 conformance?
3472 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
3473 # error "Compiler does not advertise C99 conformance"
3474 #endif
3476 #include <stdbool.h>
3477 extern int puts (const char *);
3478 extern int printf (const char *, ...);
3479 extern int dprintf (int, const char *, ...);
3480 extern void *malloc (size_t);
3482 // Check varargs macros. These examples are taken from C99 6.10.3.5.
3483 // dprintf is used instead of fprintf to avoid needing to declare
3484 // FILE and stderr.
3485 #define debug(...) dprintf (2, __VA_ARGS__)
3486 #define showlist(...) puts (#__VA_ARGS__)
3487 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3488 static void
3489 test_varargs_macros (void)
3491 int x = 1234;
3492 int y = 5678;
3493 debug ("Flag");
3494 debug ("X = %d\n", x);
3495 showlist (The first, second, and third items.);
3496 report (x>y, "x is %d but y is %d", x, y);
3499 // Check long long types.
3500 #define BIG64 18446744073709551615ull
3501 #define BIG32 4294967295ul
3502 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3503 #if !BIG_OK
3504 #error "your preprocessor is broken"
3505 #endif
3506 #if BIG_OK
3507 #else
3508 #error "your preprocessor is broken"
3509 #endif
3510 static long long int bignum = -9223372036854775807LL;
3511 static unsigned long long int ubignum = BIG64;
3513 struct incomplete_array
3515 int datasize;
3516 double data[];
3519 struct named_init {
3520 int number;
3521 const wchar_t *name;
3522 double average;
3525 typedef const char *ccp;
3527 static inline int
3528 test_restrict (ccp restrict text)
3530 // See if C++-style comments work.
3531 // Iterate through items via the restricted pointer.
3532 // Also check for declarations in for loops.
3533 for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
3534 continue;
3535 return 0;
3538 // Check varargs and va_copy.
3539 static bool
3540 test_varargs (const char *format, ...)
3542 va_list args;
3543 va_start (args, format);
3544 va_list args_copy;
3545 va_copy (args_copy, args);
3547 const char *str = "";
3548 int number = 0;
3549 float fnumber = 0;
3551 while (*format)
3553 switch (*format++)
3555 case '\''s'\'': // string
3556 str = va_arg (args_copy, const char *);
3557 break;
3558 case '\''d'\'': // int
3559 number = va_arg (args_copy, int);
3560 break;
3561 case '\''f'\'': // float
3562 fnumber = va_arg (args_copy, double);
3563 break;
3564 default:
3565 break;
3568 va_end (args_copy);
3569 va_end (args);
3571 return *str && number && fnumber;
3575 # Test code for whether the C compiler supports C99 (body of main).
3576 ac_c_conftest_c99_main='
3577 // Check bool.
3578 _Bool success = false;
3579 success |= (argc != 0);
3581 // Check restrict.
3582 if (test_restrict ("String literal") == 0)
3583 success = true;
3584 char *restrict newvar = "Another string";
3586 // Check varargs.
3587 success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
3588 test_varargs_macros ();
3590 // Check flexible array members.
3591 struct incomplete_array *ia =
3592 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
3593 ia->datasize = 10;
3594 for (int i = 0; i < ia->datasize; ++i)
3595 ia->data[i] = i * 1.234;
3597 // Check named initializers.
3598 struct named_init ni = {
3599 .number = 34,
3600 .name = L"Test wide string",
3601 .average = 543.34343,
3604 ni.number = 58;
3606 int dynamic_array[ni.number];
3607 dynamic_array[0] = argv[0][0];
3608 dynamic_array[ni.number - 1] = 543;
3610 // work around unused variable warnings
3611 ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
3612 || dynamic_array[ni.number - 1] != 543);
3615 # Test code for whether the C compiler supports C11 (global declarations)
3616 ac_c_conftest_c11_globals='
3617 // Does the compiler advertise C11 conformance?
3618 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
3619 # error "Compiler does not advertise C11 conformance"
3620 #endif
3622 // Check _Alignas.
3623 char _Alignas (double) aligned_as_double;
3624 char _Alignas (0) no_special_alignment;
3625 extern char aligned_as_int;
3626 char _Alignas (0) _Alignas (int) aligned_as_int;
3628 // Check _Alignof.
3629 enum
3631 int_alignment = _Alignof (int),
3632 int_array_alignment = _Alignof (int[100]),
3633 char_alignment = _Alignof (char)
3635 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
3637 // Check _Noreturn.
3638 int _Noreturn does_not_return (void) { for (;;) continue; }
3640 // Check _Static_assert.
3641 struct test_static_assert
3643 int x;
3644 _Static_assert (sizeof (int) <= sizeof (long int),
3645 "_Static_assert does not work in struct");
3646 long int y;
3649 // Check UTF-8 literals.
3650 #define u8 syntax error!
3651 char const utf8_literal[] = u8"happens to be ASCII" "another string";
3653 // Check duplicate typedefs.
3654 typedef long *long_ptr;
3655 typedef long int *long_ptr;
3656 typedef long_ptr long_ptr;
3658 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
3659 struct anonymous
3661 union {
3662 struct { int i; int j; };
3663 struct { int k; long int l; } w;
3665 int m;
3666 } v1;
3669 # Test code for whether the C compiler supports C11 (body of main).
3670 ac_c_conftest_c11_main='
3671 _Static_assert ((offsetof (struct anonymous, i)
3672 == offsetof (struct anonymous, w.k)),
3673 "Anonymous union alignment botch");
3674 v1.i = 2;
3675 v1.w.k = 5;
3676 ok |= v1.i != 5;
3679 # Test code for whether the C compiler supports C11 (complete).
3680 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
3681 ${ac_c_conftest_c99_globals}
3682 ${ac_c_conftest_c11_globals}
3685 main (int argc, char **argv)
3687 int ok = 0;
3688 ${ac_c_conftest_c89_main}
3689 ${ac_c_conftest_c99_main}
3690 ${ac_c_conftest_c11_main}
3691 return ok;
3695 # Test code for whether the C compiler supports C99 (complete).
3696 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
3697 ${ac_c_conftest_c99_globals}
3700 main (int argc, char **argv)
3702 int ok = 0;
3703 ${ac_c_conftest_c89_main}
3704 ${ac_c_conftest_c99_main}
3705 return ok;
3709 # Test code for whether the C compiler supports C89 (complete).
3710 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
3713 main (int argc, char **argv)
3715 int ok = 0;
3716 ${ac_c_conftest_c89_main}
3717 return ok;
3721 # Test code for whether the C++ compiler supports C++98 (global declarations)
3722 ac_cxx_conftest_cxx98_globals='
3723 // Does the compiler advertise C++98 conformance?
3724 #if !defined __cplusplus || __cplusplus < 199711L
3725 # error "Compiler does not advertise C++98 conformance"
3726 #endif
3728 // These inclusions are to reject old compilers that
3729 // lack the unsuffixed header files.
3730 #include <cstdlib>
3731 #include <exception>
3733 // <cassert> and <cstring> are *not* freestanding headers in C++98.
3734 extern void assert (int);
3735 namespace std {
3736 extern int strcmp (const char *, const char *);
3739 // Namespaces, exceptions, and templates were all added after "C++ 2.0".
3740 using std::exception;
3741 using std::strcmp;
3743 namespace {
3745 void test_exception_syntax()
3747 try {
3748 throw "test";
3749 } catch (const char *s) {
3750 // Extra parentheses suppress a warning when building autoconf itself,
3751 // due to lint rules shared with more typical C programs.
3752 assert (!(strcmp) (s, "test"));
3756 template <typename T> struct test_template
3758 T const val;
3759 explicit test_template(T t) : val(t) {}
3760 template <typename U> T add(U u) { return static_cast<T>(u) + val; }
3763 } // anonymous namespace
3766 # Test code for whether the C++ compiler supports C++98 (body of main)
3767 ac_cxx_conftest_cxx98_main='
3768 assert (argc);
3769 assert (! argv[0]);
3771 test_exception_syntax ();
3772 test_template<double> tt (2.0);
3773 assert (tt.add (4) == 6.0);
3774 assert (true && !false);
3778 # Test code for whether the C++ compiler supports C++11 (global declarations)
3779 ac_cxx_conftest_cxx11_globals='
3780 // Does the compiler advertise C++ 2011 conformance?
3781 #if !defined __cplusplus || __cplusplus < 201103L
3782 # error "Compiler does not advertise C++11 conformance"
3783 #endif
3785 namespace cxx11test
3787 constexpr int get_val() { return 20; }
3789 struct testinit
3791 int i;
3792 double d;
3795 class delegate
3797 public:
3798 delegate(int n) : n(n) {}
3799 delegate(): delegate(2354) {}
3801 virtual int getval() { return this->n; };
3802 protected:
3803 int n;
3806 class overridden : public delegate
3808 public:
3809 overridden(int n): delegate(n) {}
3810 virtual int getval() override final { return this->n * 2; }
3813 class nocopy
3815 public:
3816 nocopy(int i): i(i) {}
3817 nocopy() = default;
3818 nocopy(const nocopy&) = delete;
3819 nocopy & operator=(const nocopy&) = delete;
3820 private:
3821 int i;
3824 // for testing lambda expressions
3825 template <typename Ret, typename Fn> Ret eval(Fn f, Ret v)
3827 return f(v);
3830 // for testing variadic templates and trailing return types
3831 template <typename V> auto sum(V first) -> V
3833 return first;
3835 template <typename V, typename... Args> auto sum(V first, Args... rest) -> V
3837 return first + sum(rest...);
3842 # Test code for whether the C++ compiler supports C++11 (body of main)
3843 ac_cxx_conftest_cxx11_main='
3845 // Test auto and decltype
3846 auto a1 = 6538;
3847 auto a2 = 48573953.4;
3848 auto a3 = "String literal";
3850 int total = 0;
3851 for (auto i = a3; *i; ++i) { total += *i; }
3853 decltype(a2) a4 = 34895.034;
3856 // Test constexpr
3857 short sa[cxx11test::get_val()] = { 0 };
3860 // Test initializer lists
3861 cxx11test::testinit il = { 4323, 435234.23544 };
3864 // Test range-based for
3865 int array[] = {9, 7, 13, 15, 4, 18, 12, 10, 5, 3,
3866 14, 19, 17, 8, 6, 20, 16, 2, 11, 1};
3867 for (auto &x : array) { x += 23; }
3870 // Test lambda expressions
3871 using cxx11test::eval;
3872 assert (eval ([](int x) { return x*2; }, 21) == 42);
3873 double d = 2.0;
3874 assert (eval ([&](double x) { return d += x; }, 3.0) == 5.0);
3875 assert (d == 5.0);
3876 assert (eval ([=](double x) mutable { return d += x; }, 4.0) == 9.0);
3877 assert (d == 5.0);
3880 // Test use of variadic templates
3881 using cxx11test::sum;
3882 auto a = sum(1);
3883 auto b = sum(1, 2);
3884 auto c = sum(1.0, 2.0, 3.0);
3887 // Test constructor delegation
3888 cxx11test::delegate d1;
3889 cxx11test::delegate d2();
3890 cxx11test::delegate d3(45);
3893 // Test override and final
3894 cxx11test::overridden o1(55464);
3897 // Test nullptr
3898 char *c = nullptr;
3901 // Test template brackets
3902 test_template<::test_template<int>> v(test_template<int>(12));
3905 // Unicode literals
3906 char const *utf8 = u8"UTF-8 string \u2500";
3907 char16_t const *utf16 = u"UTF-8 string \u2500";
3908 char32_t const *utf32 = U"UTF-32 string \u2500";
3912 # Test code for whether the C compiler supports C++11 (complete).
3913 ac_cxx_conftest_cxx11_program="${ac_cxx_conftest_cxx98_globals}
3914 ${ac_cxx_conftest_cxx11_globals}
3917 main (int argc, char **argv)
3919 int ok = 0;
3920 ${ac_cxx_conftest_cxx98_main}
3921 ${ac_cxx_conftest_cxx11_main}
3922 return ok;
3926 # Test code for whether the C compiler supports C++98 (complete).
3927 ac_cxx_conftest_cxx98_program="${ac_cxx_conftest_cxx98_globals}
3929 main (int argc, char **argv)
3931 int ok = 0;
3932 ${ac_cxx_conftest_cxx98_main}
3933 return ok;
3937 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
3938 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
3939 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
3940 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
3941 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
3942 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
3943 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
3944 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
3945 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
3947 # Auxiliary files required by this configure script.
3948 ac_aux_files="config.guess config.sub"
3950 # Locations in which to look for auxiliary files.
3951 ac_aux_dir_candidates="${srcdir}/tools"
3953 # Search for a directory containing all of the required auxiliary files,
3954 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
3955 # If we don't find one directory that contains all the files we need,
3956 # we report the set of missing files from the *first* directory in
3957 # $ac_aux_dir_candidates and give up.
3958 ac_missing_aux_files=""
3959 ac_first_candidate=:
3960 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
3961 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3962 as_found=false
3963 for as_dir in $ac_aux_dir_candidates
3965 IFS=$as_save_IFS
3966 case $as_dir in #(((
3967 '') as_dir=./ ;;
3968 */) ;;
3969 *) as_dir=$as_dir/ ;;
3970 esac
3971 as_found=:
3973 printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5
3974 ac_aux_dir_found=yes
3975 ac_install_sh=
3976 for ac_aux in $ac_aux_files
3978 # As a special case, if "install-sh" is required, that requirement
3979 # can be satisfied by any of "install-sh", "install.sh", or "shtool",
3980 # and $ac_install_sh is set appropriately for whichever one is found.
3981 if test x"$ac_aux" = x"install-sh"
3982 then
3983 if test -f "${as_dir}install-sh"; then
3984 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5
3985 ac_install_sh="${as_dir}install-sh -c"
3986 elif test -f "${as_dir}install.sh"; then
3987 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5
3988 ac_install_sh="${as_dir}install.sh -c"
3989 elif test -f "${as_dir}shtool"; then
3990 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5
3991 ac_install_sh="${as_dir}shtool install -c"
3992 else
3993 ac_aux_dir_found=no
3994 if $ac_first_candidate; then
3995 ac_missing_aux_files="${ac_missing_aux_files} install-sh"
3996 else
3997 break
4000 else
4001 if test -f "${as_dir}${ac_aux}"; then
4002 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5
4003 else
4004 ac_aux_dir_found=no
4005 if $ac_first_candidate; then
4006 ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
4007 else
4008 break
4012 done
4013 if test "$ac_aux_dir_found" = yes; then
4014 ac_aux_dir="$as_dir"
4015 break
4017 ac_first_candidate=false
4019 as_found=false
4020 done
4021 IFS=$as_save_IFS
4022 if $as_found
4023 then :
4025 else $as_nop
4026 as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
4030 # These three variables are undocumented and unsupported,
4031 # and are intended to be withdrawn in a future Autoconf release.
4032 # They can cause serious problems if a builder's source tree is in a directory
4033 # whose full name contains unusual characters.
4034 if test -f "${ac_aux_dir}config.guess"; then
4035 ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
4037 if test -f "${ac_aux_dir}config.sub"; then
4038 ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
4040 if test -f "$ac_aux_dir/configure"; then
4041 ac_configure="$SHELL ${ac_aux_dir}configure"
4044 # Check that the precious variables saved in the cache have kept the same
4045 # value.
4046 ac_cache_corrupted=false
4047 for ac_var in $ac_precious_vars; do
4048 eval ac_old_set=\$ac_cv_env_${ac_var}_set
4049 eval ac_new_set=\$ac_env_${ac_var}_set
4050 eval ac_old_val=\$ac_cv_env_${ac_var}_value
4051 eval ac_new_val=\$ac_env_${ac_var}_value
4052 case $ac_old_set,$ac_new_set in
4053 set,)
4054 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
4055 printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
4056 ac_cache_corrupted=: ;;
4057 ,set)
4058 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
4059 printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
4060 ac_cache_corrupted=: ;;
4061 ,);;
4063 if test "x$ac_old_val" != "x$ac_new_val"; then
4064 # differences in whitespace do not lead to failure.
4065 ac_old_val_w=`echo x $ac_old_val`
4066 ac_new_val_w=`echo x $ac_new_val`
4067 if test "$ac_old_val_w" != "$ac_new_val_w"; then
4068 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
4069 printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
4070 ac_cache_corrupted=:
4071 else
4072 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
4073 printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
4074 eval $ac_var=\$ac_old_val
4076 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
4077 printf "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;}
4078 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
4079 printf "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;}
4080 fi;;
4081 esac
4082 # Pass precious variables to config.status.
4083 if test "$ac_new_set" = set; then
4084 case $ac_new_val in
4085 *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
4086 *) ac_arg=$ac_var=$ac_new_val ;;
4087 esac
4088 case " $ac_configure_args " in
4089 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
4090 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
4091 esac
4093 done
4094 if $ac_cache_corrupted; then
4095 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4096 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
4097 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
4098 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
4099 as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
4100 and start over" "$LINENO" 5
4102 ## -------------------- ##
4103 ## Main body of script. ##
4104 ## -------------------- ##
4106 ac_ext=c
4107 ac_cpp='$CPP $CPPFLAGS'
4108 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4109 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4110 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4114 ac_config_headers="$ac_config_headers include/config.h"
4118 libwine_version="1.0"
4121 # Check whether --enable-archs was given.
4122 if test ${enable_archs+y}
4123 then :
4124 enableval=$enable_archs;
4127 # Check whether --enable-win16 was given.
4128 if test ${enable_win16+y}
4129 then :
4130 enableval=$enable_win16;
4133 # Check whether --enable-win64 was given.
4134 if test ${enable_win64+y}
4135 then :
4136 enableval=$enable_win64;
4139 # Check whether --enable-tests was given.
4140 if test ${enable_tests+y}
4141 then :
4142 enableval=$enable_tests;
4145 # Check whether --enable-build-id was given.
4146 if test ${enable_build_id+y}
4147 then :
4148 enableval=$enable_build_id;
4151 # Check whether --enable-maintainer-mode was given.
4152 if test ${enable_maintainer_mode+y}
4153 then :
4154 enableval=$enable_maintainer_mode;
4157 # Check whether --enable-silent-rules was given.
4158 if test ${enable_silent_rules+y}
4159 then :
4160 enableval=$enable_silent_rules;
4163 # Check whether --enable-werror was given.
4164 if test ${enable_werror+y}
4165 then :
4166 enableval=$enable_werror;
4171 # Check whether --with-alsa was given.
4172 if test ${with_alsa+y}
4173 then :
4174 withval=$with_alsa;
4178 # Check whether --with-capi was given.
4179 if test ${with_capi+y}
4180 then :
4181 withval=$with_capi;
4185 # Check whether --with-coreaudio was given.
4186 if test ${with_coreaudio+y}
4187 then :
4188 withval=$with_coreaudio;
4192 # Check whether --with-cups was given.
4193 if test ${with_cups+y}
4194 then :
4195 withval=$with_cups;
4199 # Check whether --with-dbus was given.
4200 if test ${with_dbus+y}
4201 then :
4202 withval=$with_dbus;
4206 # Check whether --with-float-abi was given.
4207 if test ${with_float_abi+y}
4208 then :
4209 withval=$with_float_abi;
4213 # Check whether --with-fontconfig was given.
4214 if test ${with_fontconfig+y}
4215 then :
4216 withval=$with_fontconfig;
4220 # Check whether --with-freetype was given.
4221 if test ${with_freetype+y}
4222 then :
4223 withval=$with_freetype;
4227 # Check whether --with-gettext was given.
4228 if test ${with_gettext+y}
4229 then :
4230 withval=$with_gettext;
4234 # Check whether --with-gettextpo was given.
4235 if test ${with_gettextpo+y}
4236 then :
4237 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
4241 # Check whether --with-gphoto was given.
4242 if test ${with_gphoto+y}
4243 then :
4244 withval=$with_gphoto;
4248 # Check whether --with-gnutls was given.
4249 if test ${with_gnutls+y}
4250 then :
4251 withval=$with_gnutls;
4255 # Check whether --with-gssapi was given.
4256 if test ${with_gssapi+y}
4257 then :
4258 withval=$with_gssapi;
4262 # Check whether --with-gstreamer was given.
4263 if test ${with_gstreamer+y}
4264 then :
4265 withval=$with_gstreamer;
4269 # Check whether --with-inotify was given.
4270 if test ${with_inotify+y}
4271 then :
4272 withval=$with_inotify;
4276 # Check whether --with-krb5 was given.
4277 if test ${with_krb5+y}
4278 then :
4279 withval=$with_krb5;
4283 # Check whether --with-mingw was given.
4284 if test ${with_mingw+y}
4285 then :
4286 withval=$with_mingw;
4290 # Check whether --with-netapi was given.
4291 if test ${with_netapi+y}
4292 then :
4293 withval=$with_netapi;
4297 # Check whether --with-opencl was given.
4298 if test ${with_opencl+y}
4299 then :
4300 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
4304 # Check whether --with-opengl was given.
4305 if test ${with_opengl+y}
4306 then :
4307 withval=$with_opengl;
4311 # Check whether --with-osmesa was given.
4312 if test ${with_osmesa+y}
4313 then :
4314 withval=$with_osmesa;
4318 # Check whether --with-oss was given.
4319 if test ${with_oss+y}
4320 then :
4321 withval=$with_oss;
4325 # Check whether --with-pcap was given.
4326 if test ${with_pcap+y}
4327 then :
4328 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
4332 # Check whether --with-pcsclite was given.
4333 if test ${with_pcsclite+y}
4334 then :
4335 withval=$with_pcsclite;
4339 # Check whether --with-pthread was given.
4340 if test ${with_pthread+y}
4341 then :
4342 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
4346 # Check whether --with-pulse was given.
4347 if test ${with_pulse+y}
4348 then :
4349 withval=$with_pulse;
4353 # Check whether --with-sane was given.
4354 if test ${with_sane+y}
4355 then :
4356 withval=$with_sane;
4360 # Check whether --with-sdl was given.
4361 if test ${with_sdl+y}
4362 then :
4363 withval=$with_sdl;
4367 # Check whether --with-udev was given.
4368 if test ${with_udev+y}
4369 then :
4370 withval=$with_udev;
4374 # Check whether --with-unwind was given.
4375 if test ${with_unwind+y}
4376 then :
4377 withval=$with_unwind;
4381 # Check whether --with-usb was given.
4382 if test ${with_usb+y}
4383 then :
4384 withval=$with_usb;
4388 # Check whether --with-v4l2 was given.
4389 if test ${with_v4l2+y}
4390 then :
4391 withval=$with_v4l2;
4395 # Check whether --with-vulkan was given.
4396 if test ${with_vulkan+y}
4397 then :
4398 withval=$with_vulkan;
4402 # Check whether --with-wayland was given.
4403 if test ${with_wayland+y}
4404 then :
4405 withval=$with_wayland;
4409 # Check whether --with-xcomposite was given.
4410 if test ${with_xcomposite+y}
4411 then :
4412 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
4416 # Check whether --with-xcursor was given.
4417 if test ${with_xcursor+y}
4418 then :
4419 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
4423 # Check whether --with-xfixes was given.
4424 if test ${with_xfixes+y}
4425 then :
4426 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
4430 # Check whether --with-xinerama was given.
4431 if test ${with_xinerama+y}
4432 then :
4433 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
4437 # Check whether --with-xinput was given.
4438 if test ${with_xinput+y}
4439 then :
4440 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
4444 # Check whether --with-xinput2 was given.
4445 if test ${with_xinput2+y}
4446 then :
4447 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
4451 # Check whether --with-xrandr was given.
4452 if test ${with_xrandr+y}
4453 then :
4454 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
4458 # Check whether --with-xrender was given.
4459 if test ${with_xrender+y}
4460 then :
4461 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
4465 # Check whether --with-xshape was given.
4466 if test ${with_xshape+y}
4467 then :
4468 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
4472 # Check whether --with-xshm was given.
4473 if test ${with_xshm+y}
4474 then :
4475 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
4479 # Check whether --with-xxf86vm was given.
4480 if test ${with_xxf86vm+y}
4481 then :
4482 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
4487 # Check whether --with-system-dllpath was given.
4488 if test ${with_system_dllpath+y}
4489 then :
4490 withval=$with_system_dllpath; system_dllpath=$withval
4495 # Check whether --with-wine-tools was given.
4496 if test ${with_wine_tools+y}
4497 then :
4498 withval=$with_wine_tools;
4502 # Check whether --with-wine64 was given.
4503 if test ${with_wine64+y}
4504 then :
4505 withval=$with_wine64;
4512 # Make sure we can run config.sub.
4513 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
4514 as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
4516 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4517 printf %s "checking build system type... " >&6; }
4518 if test ${ac_cv_build+y}
4519 then :
4520 printf %s "(cached) " >&6
4521 else $as_nop
4522 ac_build_alias=$build_alias
4523 test "x$ac_build_alias" = x &&
4524 ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
4525 test "x$ac_build_alias" = x &&
4526 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4527 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
4528 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
4531 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4532 printf "%s\n" "$ac_cv_build" >&6; }
4533 case $ac_cv_build in
4534 *-*-*) ;;
4535 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4536 esac
4537 build=$ac_cv_build
4538 ac_save_IFS=$IFS; IFS='-'
4539 set x $ac_cv_build
4540 shift
4541 build_cpu=$1
4542 build_vendor=$2
4543 shift; shift
4544 # Remember, the first character of IFS is used to create $*,
4545 # except with old shells:
4546 build_os=$*
4547 IFS=$ac_save_IFS
4548 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4551 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4552 printf %s "checking host system type... " >&6; }
4553 if test ${ac_cv_host+y}
4554 then :
4555 printf %s "(cached) " >&6
4556 else $as_nop
4557 if test "x$host_alias" = x; then
4558 ac_cv_host=$ac_cv_build
4559 else
4560 ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
4561 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
4565 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4566 printf "%s\n" "$ac_cv_host" >&6; }
4567 case $ac_cv_host in
4568 *-*-*) ;;
4569 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4570 esac
4571 host=$ac_cv_host
4572 ac_save_IFS=$IFS; IFS='-'
4573 set x $ac_cv_host
4574 shift
4575 host_cpu=$1
4576 host_vendor=$2
4577 shift; shift
4578 # Remember, the first character of IFS is used to create $*,
4579 # except with old shells:
4580 host_os=$*
4581 IFS=$ac_save_IFS
4582 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4586 dlldir=\${libdir}/wine
4588 fontdir=\${datadir}/wine/fonts
4590 nlsdir=\${datadir}/wine/nls
4595 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4596 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4597 set x ${MAKE-make}
4598 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4599 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
4600 then :
4601 printf %s "(cached) " >&6
4602 else $as_nop
4603 cat >conftest.make <<\_ACEOF
4604 SHELL = /bin/sh
4605 all:
4606 @echo '@@@%%%=$(MAKE)=@@@%%%'
4607 _ACEOF
4608 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4609 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4610 *@@@%%%=?*=@@@%%%*)
4611 eval ac_cv_prog_make_${ac_make}_set=yes;;
4613 eval ac_cv_prog_make_${ac_make}_set=no;;
4614 esac
4615 rm -f conftest.make
4617 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4618 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4619 printf "%s\n" "yes" >&6; }
4620 SET_MAKE=
4621 else
4622 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4623 printf "%s\n" "no" >&6; }
4624 SET_MAKE="MAKE=${MAKE-make}"
4636 ac_ext=c
4637 ac_cpp='$CPP $CPPFLAGS'
4638 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4639 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4640 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4641 if test -n "$ac_tool_prefix"; then
4642 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4643 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4644 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4645 printf %s "checking for $ac_word... " >&6; }
4646 if test ${ac_cv_prog_CC+y}
4647 then :
4648 printf %s "(cached) " >&6
4649 else $as_nop
4650 if test -n "$CC"; then
4651 ac_cv_prog_CC="$CC" # Let the user override the test.
4652 else
4653 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4654 for as_dir in $PATH
4656 IFS=$as_save_IFS
4657 case $as_dir in #(((
4658 '') as_dir=./ ;;
4659 */) ;;
4660 *) as_dir=$as_dir/ ;;
4661 esac
4662 for ac_exec_ext in '' $ac_executable_extensions; do
4663 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4664 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4665 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4666 break 2
4668 done
4669 done
4670 IFS=$as_save_IFS
4674 CC=$ac_cv_prog_CC
4675 if test -n "$CC"; then
4676 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4677 printf "%s\n" "$CC" >&6; }
4678 else
4679 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4680 printf "%s\n" "no" >&6; }
4685 if test -z "$ac_cv_prog_CC"; then
4686 ac_ct_CC=$CC
4687 # Extract the first word of "gcc", so it can be a program name with args.
4688 set dummy gcc; ac_word=$2
4689 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4690 printf %s "checking for $ac_word... " >&6; }
4691 if test ${ac_cv_prog_ac_ct_CC+y}
4692 then :
4693 printf %s "(cached) " >&6
4694 else $as_nop
4695 if test -n "$ac_ct_CC"; then
4696 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4697 else
4698 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4699 for as_dir in $PATH
4701 IFS=$as_save_IFS
4702 case $as_dir in #(((
4703 '') as_dir=./ ;;
4704 */) ;;
4705 *) as_dir=$as_dir/ ;;
4706 esac
4707 for ac_exec_ext in '' $ac_executable_extensions; do
4708 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4709 ac_cv_prog_ac_ct_CC="gcc"
4710 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4711 break 2
4713 done
4714 done
4715 IFS=$as_save_IFS
4719 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4720 if test -n "$ac_ct_CC"; then
4721 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4722 printf "%s\n" "$ac_ct_CC" >&6; }
4723 else
4724 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4725 printf "%s\n" "no" >&6; }
4728 if test "x$ac_ct_CC" = x; then
4729 CC=""
4730 else
4731 case $cross_compiling:$ac_tool_warned in
4732 yes:)
4733 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4734 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4735 ac_tool_warned=yes ;;
4736 esac
4737 CC=$ac_ct_CC
4739 else
4740 CC="$ac_cv_prog_CC"
4743 if test -z "$CC"; then
4744 if test -n "$ac_tool_prefix"; then
4745 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4746 set dummy ${ac_tool_prefix}cc; ac_word=$2
4747 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4748 printf %s "checking for $ac_word... " >&6; }
4749 if test ${ac_cv_prog_CC+y}
4750 then :
4751 printf %s "(cached) " >&6
4752 else $as_nop
4753 if test -n "$CC"; then
4754 ac_cv_prog_CC="$CC" # Let the user override the test.
4755 else
4756 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4757 for as_dir in $PATH
4759 IFS=$as_save_IFS
4760 case $as_dir in #(((
4761 '') as_dir=./ ;;
4762 */) ;;
4763 *) as_dir=$as_dir/ ;;
4764 esac
4765 for ac_exec_ext in '' $ac_executable_extensions; do
4766 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4767 ac_cv_prog_CC="${ac_tool_prefix}cc"
4768 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4769 break 2
4771 done
4772 done
4773 IFS=$as_save_IFS
4777 CC=$ac_cv_prog_CC
4778 if test -n "$CC"; then
4779 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4780 printf "%s\n" "$CC" >&6; }
4781 else
4782 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4783 printf "%s\n" "no" >&6; }
4789 if test -z "$CC"; then
4790 # Extract the first word of "cc", so it can be a program name with args.
4791 set dummy cc; ac_word=$2
4792 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4793 printf %s "checking for $ac_word... " >&6; }
4794 if test ${ac_cv_prog_CC+y}
4795 then :
4796 printf %s "(cached) " >&6
4797 else $as_nop
4798 if test -n "$CC"; then
4799 ac_cv_prog_CC="$CC" # Let the user override the test.
4800 else
4801 ac_prog_rejected=no
4802 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4803 for as_dir in $PATH
4805 IFS=$as_save_IFS
4806 case $as_dir in #(((
4807 '') as_dir=./ ;;
4808 */) ;;
4809 *) as_dir=$as_dir/ ;;
4810 esac
4811 for ac_exec_ext in '' $ac_executable_extensions; do
4812 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4813 if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4814 ac_prog_rejected=yes
4815 continue
4817 ac_cv_prog_CC="cc"
4818 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4819 break 2
4821 done
4822 done
4823 IFS=$as_save_IFS
4825 if test $ac_prog_rejected = yes; then
4826 # We found a bogon in the path, so make sure we never use it.
4827 set dummy $ac_cv_prog_CC
4828 shift
4829 if test $# != 0; then
4830 # We chose a different compiler from the bogus one.
4831 # However, it has the same basename, so the bogon will be chosen
4832 # first if we set CC to just the basename; use the full file name.
4833 shift
4834 ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
4839 CC=$ac_cv_prog_CC
4840 if test -n "$CC"; then
4841 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4842 printf "%s\n" "$CC" >&6; }
4843 else
4844 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4845 printf "%s\n" "no" >&6; }
4850 if test -z "$CC"; then
4851 if test -n "$ac_tool_prefix"; then
4852 for ac_prog in cl.exe
4854 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4855 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4856 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4857 printf %s "checking for $ac_word... " >&6; }
4858 if test ${ac_cv_prog_CC+y}
4859 then :
4860 printf %s "(cached) " >&6
4861 else $as_nop
4862 if test -n "$CC"; then
4863 ac_cv_prog_CC="$CC" # Let the user override the test.
4864 else
4865 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4866 for as_dir in $PATH
4868 IFS=$as_save_IFS
4869 case $as_dir in #(((
4870 '') as_dir=./ ;;
4871 */) ;;
4872 *) as_dir=$as_dir/ ;;
4873 esac
4874 for ac_exec_ext in '' $ac_executable_extensions; do
4875 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4876 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4877 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4878 break 2
4880 done
4881 done
4882 IFS=$as_save_IFS
4886 CC=$ac_cv_prog_CC
4887 if test -n "$CC"; then
4888 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4889 printf "%s\n" "$CC" >&6; }
4890 else
4891 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4892 printf "%s\n" "no" >&6; }
4896 test -n "$CC" && break
4897 done
4899 if test -z "$CC"; then
4900 ac_ct_CC=$CC
4901 for ac_prog in cl.exe
4903 # Extract the first word of "$ac_prog", so it can be a program name with args.
4904 set dummy $ac_prog; ac_word=$2
4905 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4906 printf %s "checking for $ac_word... " >&6; }
4907 if test ${ac_cv_prog_ac_ct_CC+y}
4908 then :
4909 printf %s "(cached) " >&6
4910 else $as_nop
4911 if test -n "$ac_ct_CC"; then
4912 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4913 else
4914 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4915 for as_dir in $PATH
4917 IFS=$as_save_IFS
4918 case $as_dir in #(((
4919 '') as_dir=./ ;;
4920 */) ;;
4921 *) as_dir=$as_dir/ ;;
4922 esac
4923 for ac_exec_ext in '' $ac_executable_extensions; do
4924 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4925 ac_cv_prog_ac_ct_CC="$ac_prog"
4926 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4927 break 2
4929 done
4930 done
4931 IFS=$as_save_IFS
4935 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4936 if test -n "$ac_ct_CC"; then
4937 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4938 printf "%s\n" "$ac_ct_CC" >&6; }
4939 else
4940 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4941 printf "%s\n" "no" >&6; }
4945 test -n "$ac_ct_CC" && break
4946 done
4948 if test "x$ac_ct_CC" = x; then
4949 CC=""
4950 else
4951 case $cross_compiling:$ac_tool_warned in
4952 yes:)
4953 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4954 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4955 ac_tool_warned=yes ;;
4956 esac
4957 CC=$ac_ct_CC
4962 if test -z "$CC"; then
4963 if test -n "$ac_tool_prefix"; then
4964 # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
4965 set dummy ${ac_tool_prefix}clang; ac_word=$2
4966 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4967 printf %s "checking for $ac_word... " >&6; }
4968 if test ${ac_cv_prog_CC+y}
4969 then :
4970 printf %s "(cached) " >&6
4971 else $as_nop
4972 if test -n "$CC"; then
4973 ac_cv_prog_CC="$CC" # Let the user override the test.
4974 else
4975 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4976 for as_dir in $PATH
4978 IFS=$as_save_IFS
4979 case $as_dir in #(((
4980 '') as_dir=./ ;;
4981 */) ;;
4982 *) as_dir=$as_dir/ ;;
4983 esac
4984 for ac_exec_ext in '' $ac_executable_extensions; do
4985 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4986 ac_cv_prog_CC="${ac_tool_prefix}clang"
4987 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4988 break 2
4990 done
4991 done
4992 IFS=$as_save_IFS
4996 CC=$ac_cv_prog_CC
4997 if test -n "$CC"; then
4998 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4999 printf "%s\n" "$CC" >&6; }
5000 else
5001 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5002 printf "%s\n" "no" >&6; }
5007 if test -z "$ac_cv_prog_CC"; then
5008 ac_ct_CC=$CC
5009 # Extract the first word of "clang", so it can be a program name with args.
5010 set dummy clang; ac_word=$2
5011 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5012 printf %s "checking for $ac_word... " >&6; }
5013 if test ${ac_cv_prog_ac_ct_CC+y}
5014 then :
5015 printf %s "(cached) " >&6
5016 else $as_nop
5017 if test -n "$ac_ct_CC"; then
5018 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5019 else
5020 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5021 for as_dir in $PATH
5023 IFS=$as_save_IFS
5024 case $as_dir in #(((
5025 '') as_dir=./ ;;
5026 */) ;;
5027 *) as_dir=$as_dir/ ;;
5028 esac
5029 for ac_exec_ext in '' $ac_executable_extensions; do
5030 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5031 ac_cv_prog_ac_ct_CC="clang"
5032 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5033 break 2
5035 done
5036 done
5037 IFS=$as_save_IFS
5041 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5042 if test -n "$ac_ct_CC"; then
5043 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5044 printf "%s\n" "$ac_ct_CC" >&6; }
5045 else
5046 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5047 printf "%s\n" "no" >&6; }
5050 if test "x$ac_ct_CC" = x; then
5051 CC=""
5052 else
5053 case $cross_compiling:$ac_tool_warned in
5054 yes:)
5055 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5056 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5057 ac_tool_warned=yes ;;
5058 esac
5059 CC=$ac_ct_CC
5061 else
5062 CC="$ac_cv_prog_CC"
5068 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5069 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5070 as_fn_error $? "no acceptable C compiler found in \$PATH
5071 See \`config.log' for more details" "$LINENO" 5; }
5073 # Provide some information about the compiler.
5074 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5075 set X $ac_compile
5076 ac_compiler=$2
5077 for ac_option in --version -v -V -qversion -version; do
5078 { { ac_try="$ac_compiler $ac_option >&5"
5079 case "(($ac_try" in
5080 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5081 *) ac_try_echo=$ac_try;;
5082 esac
5083 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5084 printf "%s\n" "$ac_try_echo"; } >&5
5085 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5086 ac_status=$?
5087 if test -s conftest.err; then
5088 sed '10a\
5089 ... rest of stderr output deleted ...
5090 10q' conftest.err >conftest.er1
5091 cat conftest.er1 >&5
5093 rm -f conftest.er1 conftest.err
5094 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5095 test $ac_status = 0; }
5096 done
5098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5099 /* end confdefs.h. */
5102 main (void)
5106 return 0;
5108 _ACEOF
5109 ac_clean_files_save=$ac_clean_files
5110 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
5111 # Try to create an executable without -o first, disregard a.out.
5112 # It will help us diagnose broken compilers, and finding out an intuition
5113 # of exeext.
5114 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
5115 printf %s "checking whether the C compiler works... " >&6; }
5116 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
5118 # The possible output files:
5119 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
5121 ac_rmfiles=
5122 for ac_file in $ac_files
5124 case $ac_file in
5125 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5126 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
5127 esac
5128 done
5129 rm -f $ac_rmfiles
5131 if { { ac_try="$ac_link_default"
5132 case "(($ac_try" in
5133 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5134 *) ac_try_echo=$ac_try;;
5135 esac
5136 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5137 printf "%s\n" "$ac_try_echo"; } >&5
5138 (eval "$ac_link_default") 2>&5
5139 ac_status=$?
5140 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5141 test $ac_status = 0; }
5142 then :
5143 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
5144 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
5145 # in a Makefile. We should not override ac_cv_exeext if it was cached,
5146 # so that the user can short-circuit this test for compilers unknown to
5147 # Autoconf.
5148 for ac_file in $ac_files ''
5150 test -f "$ac_file" || continue
5151 case $ac_file in
5152 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
5154 [ab].out )
5155 # We found the default executable, but exeext='' is most
5156 # certainly right.
5157 break;;
5158 *.* )
5159 if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
5160 then :; else
5161 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
5163 # We set ac_cv_exeext here because the later test for it is not
5164 # safe: cross compilers may not add the suffix if given an `-o'
5165 # argument, so we may need to know it at that point already.
5166 # Even if this section looks crufty: it has the advantage of
5167 # actually working.
5168 break;;
5170 break;;
5171 esac
5172 done
5173 test "$ac_cv_exeext" = no && ac_cv_exeext=
5175 else $as_nop
5176 ac_file=''
5178 if test -z "$ac_file"
5179 then :
5180 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5181 printf "%s\n" "no" >&6; }
5182 printf "%s\n" "$as_me: failed program was:" >&5
5183 sed 's/^/| /' conftest.$ac_ext >&5
5185 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5186 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5187 as_fn_error 77 "C compiler cannot create executables
5188 See \`config.log' for more details" "$LINENO" 5; }
5189 else $as_nop
5190 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5191 printf "%s\n" "yes" >&6; }
5193 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
5194 printf %s "checking for C compiler default output file name... " >&6; }
5195 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
5196 printf "%s\n" "$ac_file" >&6; }
5197 ac_exeext=$ac_cv_exeext
5199 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
5200 ac_clean_files=$ac_clean_files_save
5201 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
5202 printf %s "checking for suffix of executables... " >&6; }
5203 if { { ac_try="$ac_link"
5204 case "(($ac_try" in
5205 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5206 *) ac_try_echo=$ac_try;;
5207 esac
5208 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5209 printf "%s\n" "$ac_try_echo"; } >&5
5210 (eval "$ac_link") 2>&5
5211 ac_status=$?
5212 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5213 test $ac_status = 0; }
5214 then :
5215 # If both `conftest.exe' and `conftest' are `present' (well, observable)
5216 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
5217 # work properly (i.e., refer to `conftest.exe'), while it won't with
5218 # `rm'.
5219 for ac_file in conftest.exe conftest conftest.*; do
5220 test -f "$ac_file" || continue
5221 case $ac_file in
5222 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5223 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
5224 break;;
5225 * ) break;;
5226 esac
5227 done
5228 else $as_nop
5229 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5230 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5231 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
5232 See \`config.log' for more details" "$LINENO" 5; }
5234 rm -f conftest conftest$ac_cv_exeext
5235 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
5236 printf "%s\n" "$ac_cv_exeext" >&6; }
5238 rm -f conftest.$ac_ext
5239 EXEEXT=$ac_cv_exeext
5240 ac_exeext=$EXEEXT
5241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5242 /* end confdefs.h. */
5243 #include <stdio.h>
5245 main (void)
5247 FILE *f = fopen ("conftest.out", "w");
5248 return ferror (f) || fclose (f) != 0;
5251 return 0;
5253 _ACEOF
5254 ac_clean_files="$ac_clean_files conftest.out"
5255 # Check that the compiler produces executables we can run. If not, either
5256 # the compiler is broken, or we cross compile.
5257 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
5258 printf %s "checking whether we are cross compiling... " >&6; }
5259 if test "$cross_compiling" != yes; then
5260 { { ac_try="$ac_link"
5261 case "(($ac_try" in
5262 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5263 *) ac_try_echo=$ac_try;;
5264 esac
5265 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5266 printf "%s\n" "$ac_try_echo"; } >&5
5267 (eval "$ac_link") 2>&5
5268 ac_status=$?
5269 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5270 test $ac_status = 0; }
5271 if { ac_try='./conftest$ac_cv_exeext'
5272 { { case "(($ac_try" in
5273 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5274 *) ac_try_echo=$ac_try;;
5275 esac
5276 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5277 printf "%s\n" "$ac_try_echo"; } >&5
5278 (eval "$ac_try") 2>&5
5279 ac_status=$?
5280 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5281 test $ac_status = 0; }; }; then
5282 cross_compiling=no
5283 else
5284 if test "$cross_compiling" = maybe; then
5285 cross_compiling=yes
5286 else
5287 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5288 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5289 as_fn_error 77 "cannot run C compiled programs.
5290 If you meant to cross compile, use \`--host'.
5291 See \`config.log' for more details" "$LINENO" 5; }
5295 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
5296 printf "%s\n" "$cross_compiling" >&6; }
5298 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
5299 ac_clean_files=$ac_clean_files_save
5300 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
5301 printf %s "checking for suffix of object files... " >&6; }
5302 if test ${ac_cv_objext+y}
5303 then :
5304 printf %s "(cached) " >&6
5305 else $as_nop
5306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5307 /* end confdefs.h. */
5310 main (void)
5314 return 0;
5316 _ACEOF
5317 rm -f conftest.o conftest.obj
5318 if { { ac_try="$ac_compile"
5319 case "(($ac_try" in
5320 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5321 *) ac_try_echo=$ac_try;;
5322 esac
5323 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5324 printf "%s\n" "$ac_try_echo"; } >&5
5325 (eval "$ac_compile") 2>&5
5326 ac_status=$?
5327 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5328 test $ac_status = 0; }
5329 then :
5330 for ac_file in conftest.o conftest.obj conftest.*; do
5331 test -f "$ac_file" || continue;
5332 case $ac_file in
5333 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
5334 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
5335 break;;
5336 esac
5337 done
5338 else $as_nop
5339 printf "%s\n" "$as_me: failed program was:" >&5
5340 sed 's/^/| /' conftest.$ac_ext >&5
5342 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5343 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5344 as_fn_error $? "cannot compute suffix of object files: cannot compile
5345 See \`config.log' for more details" "$LINENO" 5; }
5347 rm -f conftest.$ac_cv_objext conftest.$ac_ext
5349 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
5350 printf "%s\n" "$ac_cv_objext" >&6; }
5351 OBJEXT=$ac_cv_objext
5352 ac_objext=$OBJEXT
5353 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
5354 printf %s "checking whether the compiler supports GNU C... " >&6; }
5355 if test ${ac_cv_c_compiler_gnu+y}
5356 then :
5357 printf %s "(cached) " >&6
5358 else $as_nop
5359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5360 /* end confdefs.h. */
5363 main (void)
5365 #ifndef __GNUC__
5366 choke me
5367 #endif
5370 return 0;
5372 _ACEOF
5373 if ac_fn_c_try_compile "$LINENO"
5374 then :
5375 ac_compiler_gnu=yes
5376 else $as_nop
5377 ac_compiler_gnu=no
5379 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5380 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5383 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5384 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
5385 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5387 if test $ac_compiler_gnu = yes; then
5388 GCC=yes
5389 else
5390 GCC=
5392 ac_test_CFLAGS=${CFLAGS+y}
5393 ac_save_CFLAGS=$CFLAGS
5394 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5395 printf %s "checking whether $CC accepts -g... " >&6; }
5396 if test ${ac_cv_prog_cc_g+y}
5397 then :
5398 printf %s "(cached) " >&6
5399 else $as_nop
5400 ac_save_c_werror_flag=$ac_c_werror_flag
5401 ac_c_werror_flag=yes
5402 ac_cv_prog_cc_g=no
5403 CFLAGS="-g"
5404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5405 /* end confdefs.h. */
5408 main (void)
5412 return 0;
5414 _ACEOF
5415 if ac_fn_c_try_compile "$LINENO"
5416 then :
5417 ac_cv_prog_cc_g=yes
5418 else $as_nop
5419 CFLAGS=""
5420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5421 /* end confdefs.h. */
5424 main (void)
5428 return 0;
5430 _ACEOF
5431 if ac_fn_c_try_compile "$LINENO"
5432 then :
5434 else $as_nop
5435 ac_c_werror_flag=$ac_save_c_werror_flag
5436 CFLAGS="-g"
5437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5438 /* end confdefs.h. */
5441 main (void)
5445 return 0;
5447 _ACEOF
5448 if ac_fn_c_try_compile "$LINENO"
5449 then :
5450 ac_cv_prog_cc_g=yes
5452 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5454 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5456 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5457 ac_c_werror_flag=$ac_save_c_werror_flag
5459 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5460 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
5461 if test $ac_test_CFLAGS; then
5462 CFLAGS=$ac_save_CFLAGS
5463 elif test $ac_cv_prog_cc_g = yes; then
5464 if test "$GCC" = yes; then
5465 CFLAGS="-g -O2"
5466 else
5467 CFLAGS="-g"
5469 else
5470 if test "$GCC" = yes; then
5471 CFLAGS="-O2"
5472 else
5473 CFLAGS=
5476 ac_prog_cc_stdc=no
5477 if test x$ac_prog_cc_stdc = xno
5478 then :
5479 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
5480 printf %s "checking for $CC option to enable C11 features... " >&6; }
5481 if test ${ac_cv_prog_cc_c11+y}
5482 then :
5483 printf %s "(cached) " >&6
5484 else $as_nop
5485 ac_cv_prog_cc_c11=no
5486 ac_save_CC=$CC
5487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5488 /* end confdefs.h. */
5489 $ac_c_conftest_c11_program
5490 _ACEOF
5491 for ac_arg in '' -std=gnu11
5493 CC="$ac_save_CC $ac_arg"
5494 if ac_fn_c_try_compile "$LINENO"
5495 then :
5496 ac_cv_prog_cc_c11=$ac_arg
5498 rm -f core conftest.err conftest.$ac_objext conftest.beam
5499 test "x$ac_cv_prog_cc_c11" != "xno" && break
5500 done
5501 rm -f conftest.$ac_ext
5502 CC=$ac_save_CC
5505 if test "x$ac_cv_prog_cc_c11" = xno
5506 then :
5507 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5508 printf "%s\n" "unsupported" >&6; }
5509 else $as_nop
5510 if test "x$ac_cv_prog_cc_c11" = x
5511 then :
5512 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5513 printf "%s\n" "none needed" >&6; }
5514 else $as_nop
5515 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
5516 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
5517 CC="$CC $ac_cv_prog_cc_c11"
5519 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
5520 ac_prog_cc_stdc=c11
5523 if test x$ac_prog_cc_stdc = xno
5524 then :
5525 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
5526 printf %s "checking for $CC option to enable C99 features... " >&6; }
5527 if test ${ac_cv_prog_cc_c99+y}
5528 then :
5529 printf %s "(cached) " >&6
5530 else $as_nop
5531 ac_cv_prog_cc_c99=no
5532 ac_save_CC=$CC
5533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5534 /* end confdefs.h. */
5535 $ac_c_conftest_c99_program
5536 _ACEOF
5537 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
5539 CC="$ac_save_CC $ac_arg"
5540 if ac_fn_c_try_compile "$LINENO"
5541 then :
5542 ac_cv_prog_cc_c99=$ac_arg
5544 rm -f core conftest.err conftest.$ac_objext conftest.beam
5545 test "x$ac_cv_prog_cc_c99" != "xno" && break
5546 done
5547 rm -f conftest.$ac_ext
5548 CC=$ac_save_CC
5551 if test "x$ac_cv_prog_cc_c99" = xno
5552 then :
5553 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5554 printf "%s\n" "unsupported" >&6; }
5555 else $as_nop
5556 if test "x$ac_cv_prog_cc_c99" = x
5557 then :
5558 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5559 printf "%s\n" "none needed" >&6; }
5560 else $as_nop
5561 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
5562 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
5563 CC="$CC $ac_cv_prog_cc_c99"
5565 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
5566 ac_prog_cc_stdc=c99
5569 if test x$ac_prog_cc_stdc = xno
5570 then :
5571 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
5572 printf %s "checking for $CC option to enable C89 features... " >&6; }
5573 if test ${ac_cv_prog_cc_c89+y}
5574 then :
5575 printf %s "(cached) " >&6
5576 else $as_nop
5577 ac_cv_prog_cc_c89=no
5578 ac_save_CC=$CC
5579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5580 /* end confdefs.h. */
5581 $ac_c_conftest_c89_program
5582 _ACEOF
5583 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5585 CC="$ac_save_CC $ac_arg"
5586 if ac_fn_c_try_compile "$LINENO"
5587 then :
5588 ac_cv_prog_cc_c89=$ac_arg
5590 rm -f core conftest.err conftest.$ac_objext conftest.beam
5591 test "x$ac_cv_prog_cc_c89" != "xno" && break
5592 done
5593 rm -f conftest.$ac_ext
5594 CC=$ac_save_CC
5597 if test "x$ac_cv_prog_cc_c89" = xno
5598 then :
5599 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5600 printf "%s\n" "unsupported" >&6; }
5601 else $as_nop
5602 if test "x$ac_cv_prog_cc_c89" = x
5603 then :
5604 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5605 printf "%s\n" "none needed" >&6; }
5606 else $as_nop
5607 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5608 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
5609 CC="$CC $ac_cv_prog_cc_c89"
5611 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
5612 ac_prog_cc_stdc=c89
5616 ac_ext=c
5617 ac_cpp='$CPP $CPPFLAGS'
5618 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5619 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5620 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5628 ac_ext=cpp
5629 ac_cpp='$CXXCPP $CPPFLAGS'
5630 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5631 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5632 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5633 if test -z "$CXX"; then
5634 if test -n "$CCC"; then
5635 CXX=$CCC
5636 else
5637 if test -n "$ac_tool_prefix"; then
5638 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5640 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5641 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5642 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5643 printf %s "checking for $ac_word... " >&6; }
5644 if test ${ac_cv_prog_CXX+y}
5645 then :
5646 printf %s "(cached) " >&6
5647 else $as_nop
5648 if test -n "$CXX"; then
5649 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5650 else
5651 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5652 for as_dir in $PATH
5654 IFS=$as_save_IFS
5655 case $as_dir in #(((
5656 '') as_dir=./ ;;
5657 */) ;;
5658 *) as_dir=$as_dir/ ;;
5659 esac
5660 for ac_exec_ext in '' $ac_executable_extensions; do
5661 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5662 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5663 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5664 break 2
5666 done
5667 done
5668 IFS=$as_save_IFS
5672 CXX=$ac_cv_prog_CXX
5673 if test -n "$CXX"; then
5674 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5675 printf "%s\n" "$CXX" >&6; }
5676 else
5677 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5678 printf "%s\n" "no" >&6; }
5682 test -n "$CXX" && break
5683 done
5685 if test -z "$CXX"; then
5686 ac_ct_CXX=$CXX
5687 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5689 # Extract the first word of "$ac_prog", so it can be a program name with args.
5690 set dummy $ac_prog; ac_word=$2
5691 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5692 printf %s "checking for $ac_word... " >&6; }
5693 if test ${ac_cv_prog_ac_ct_CXX+y}
5694 then :
5695 printf %s "(cached) " >&6
5696 else $as_nop
5697 if test -n "$ac_ct_CXX"; then
5698 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5699 else
5700 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5701 for as_dir in $PATH
5703 IFS=$as_save_IFS
5704 case $as_dir in #(((
5705 '') as_dir=./ ;;
5706 */) ;;
5707 *) as_dir=$as_dir/ ;;
5708 esac
5709 for ac_exec_ext in '' $ac_executable_extensions; do
5710 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5711 ac_cv_prog_ac_ct_CXX="$ac_prog"
5712 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5713 break 2
5715 done
5716 done
5717 IFS=$as_save_IFS
5721 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5722 if test -n "$ac_ct_CXX"; then
5723 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5724 printf "%s\n" "$ac_ct_CXX" >&6; }
5725 else
5726 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5727 printf "%s\n" "no" >&6; }
5731 test -n "$ac_ct_CXX" && break
5732 done
5734 if test "x$ac_ct_CXX" = x; then
5735 CXX="g++"
5736 else
5737 case $cross_compiling:$ac_tool_warned in
5738 yes:)
5739 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5740 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5741 ac_tool_warned=yes ;;
5742 esac
5743 CXX=$ac_ct_CXX
5749 # Provide some information about the compiler.
5750 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5751 set X $ac_compile
5752 ac_compiler=$2
5753 for ac_option in --version -v -V -qversion; do
5754 { { ac_try="$ac_compiler $ac_option >&5"
5755 case "(($ac_try" in
5756 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5757 *) ac_try_echo=$ac_try;;
5758 esac
5759 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5760 printf "%s\n" "$ac_try_echo"; } >&5
5761 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5762 ac_status=$?
5763 if test -s conftest.err; then
5764 sed '10a\
5765 ... rest of stderr output deleted ...
5766 10q' conftest.err >conftest.er1
5767 cat conftest.er1 >&5
5769 rm -f conftest.er1 conftest.err
5770 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5771 test $ac_status = 0; }
5772 done
5774 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C++" >&5
5775 printf %s "checking whether the compiler supports GNU C++... " >&6; }
5776 if test ${ac_cv_cxx_compiler_gnu+y}
5777 then :
5778 printf %s "(cached) " >&6
5779 else $as_nop
5780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5781 /* end confdefs.h. */
5784 main (void)
5786 #ifndef __GNUC__
5787 choke me
5788 #endif
5791 return 0;
5793 _ACEOF
5794 if ac_fn_cxx_try_compile "$LINENO"
5795 then :
5796 ac_compiler_gnu=yes
5797 else $as_nop
5798 ac_compiler_gnu=no
5800 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5801 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5804 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5805 printf "%s\n" "$ac_cv_cxx_compiler_gnu" >&6; }
5806 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5808 if test $ac_compiler_gnu = yes; then
5809 GXX=yes
5810 else
5811 GXX=
5813 ac_test_CXXFLAGS=${CXXFLAGS+y}
5814 ac_save_CXXFLAGS=$CXXFLAGS
5815 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5816 printf %s "checking whether $CXX accepts -g... " >&6; }
5817 if test ${ac_cv_prog_cxx_g+y}
5818 then :
5819 printf %s "(cached) " >&6
5820 else $as_nop
5821 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5822 ac_cxx_werror_flag=yes
5823 ac_cv_prog_cxx_g=no
5824 CXXFLAGS="-g"
5825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5826 /* end confdefs.h. */
5829 main (void)
5833 return 0;
5835 _ACEOF
5836 if ac_fn_cxx_try_compile "$LINENO"
5837 then :
5838 ac_cv_prog_cxx_g=yes
5839 else $as_nop
5840 CXXFLAGS=""
5841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5842 /* end confdefs.h. */
5845 main (void)
5849 return 0;
5851 _ACEOF
5852 if ac_fn_cxx_try_compile "$LINENO"
5853 then :
5855 else $as_nop
5856 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5857 CXXFLAGS="-g"
5858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5859 /* end confdefs.h. */
5862 main (void)
5866 return 0;
5868 _ACEOF
5869 if ac_fn_cxx_try_compile "$LINENO"
5870 then :
5871 ac_cv_prog_cxx_g=yes
5873 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5875 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5877 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5878 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5880 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5881 printf "%s\n" "$ac_cv_prog_cxx_g" >&6; }
5882 if test $ac_test_CXXFLAGS; then
5883 CXXFLAGS=$ac_save_CXXFLAGS
5884 elif test $ac_cv_prog_cxx_g = yes; then
5885 if test "$GXX" = yes; then
5886 CXXFLAGS="-g -O2"
5887 else
5888 CXXFLAGS="-g"
5890 else
5891 if test "$GXX" = yes; then
5892 CXXFLAGS="-O2"
5893 else
5894 CXXFLAGS=
5897 ac_prog_cxx_stdcxx=no
5898 if test x$ac_prog_cxx_stdcxx = xno
5899 then :
5900 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++11 features" >&5
5901 printf %s "checking for $CXX option to enable C++11 features... " >&6; }
5902 if test ${ac_cv_prog_cxx_cxx11+y}
5903 then :
5904 printf %s "(cached) " >&6
5905 else $as_nop
5906 ac_cv_prog_cxx_cxx11=no
5907 ac_save_CXX=$CXX
5908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5909 /* end confdefs.h. */
5910 $ac_cxx_conftest_cxx11_program
5911 _ACEOF
5912 for ac_arg in '' -std=gnu++11 -std=gnu++0x -std=c++11 -std=c++0x -qlanglvl=extended0x -AA
5914 CXX="$ac_save_CXX $ac_arg"
5915 if ac_fn_cxx_try_compile "$LINENO"
5916 then :
5917 ac_cv_prog_cxx_cxx11=$ac_arg
5919 rm -f core conftest.err conftest.$ac_objext conftest.beam
5920 test "x$ac_cv_prog_cxx_cxx11" != "xno" && break
5921 done
5922 rm -f conftest.$ac_ext
5923 CXX=$ac_save_CXX
5926 if test "x$ac_cv_prog_cxx_cxx11" = xno
5927 then :
5928 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5929 printf "%s\n" "unsupported" >&6; }
5930 else $as_nop
5931 if test "x$ac_cv_prog_cxx_cxx11" = x
5932 then :
5933 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5934 printf "%s\n" "none needed" >&6; }
5935 else $as_nop
5936 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx11" >&5
5937 printf "%s\n" "$ac_cv_prog_cxx_cxx11" >&6; }
5938 CXX="$CXX $ac_cv_prog_cxx_cxx11"
5940 ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx11
5941 ac_prog_cxx_stdcxx=cxx11
5944 if test x$ac_prog_cxx_stdcxx = xno
5945 then :
5946 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++98 features" >&5
5947 printf %s "checking for $CXX option to enable C++98 features... " >&6; }
5948 if test ${ac_cv_prog_cxx_cxx98+y}
5949 then :
5950 printf %s "(cached) " >&6
5951 else $as_nop
5952 ac_cv_prog_cxx_cxx98=no
5953 ac_save_CXX=$CXX
5954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5955 /* end confdefs.h. */
5956 $ac_cxx_conftest_cxx98_program
5957 _ACEOF
5958 for ac_arg in '' -std=gnu++98 -std=c++98 -qlanglvl=extended -AA
5960 CXX="$ac_save_CXX $ac_arg"
5961 if ac_fn_cxx_try_compile "$LINENO"
5962 then :
5963 ac_cv_prog_cxx_cxx98=$ac_arg
5965 rm -f core conftest.err conftest.$ac_objext conftest.beam
5966 test "x$ac_cv_prog_cxx_cxx98" != "xno" && break
5967 done
5968 rm -f conftest.$ac_ext
5969 CXX=$ac_save_CXX
5972 if test "x$ac_cv_prog_cxx_cxx98" = xno
5973 then :
5974 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5975 printf "%s\n" "unsupported" >&6; }
5976 else $as_nop
5977 if test "x$ac_cv_prog_cxx_cxx98" = x
5978 then :
5979 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5980 printf "%s\n" "none needed" >&6; }
5981 else $as_nop
5982 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx98" >&5
5983 printf "%s\n" "$ac_cv_prog_cxx_cxx98" >&6; }
5984 CXX="$CXX $ac_cv_prog_cxx_cxx98"
5986 ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx98
5987 ac_prog_cxx_stdcxx=cxx98
5991 ac_ext=c
5992 ac_cpp='$CPP $CPPFLAGS'
5993 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5994 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5995 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5997 if test -n "$ac_tool_prefix"; then
5998 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
5999 set dummy ${ac_tool_prefix}cpp; ac_word=$2
6000 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6001 printf %s "checking for $ac_word... " >&6; }
6002 if test ${ac_cv_prog_CPPBIN+y}
6003 then :
6004 printf %s "(cached) " >&6
6005 else $as_nop
6006 if test -n "$CPPBIN"; then
6007 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
6008 else
6009 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6010 for as_dir in $PATH
6012 IFS=$as_save_IFS
6013 case $as_dir in #(((
6014 '') as_dir=./ ;;
6015 */) ;;
6016 *) as_dir=$as_dir/ ;;
6017 esac
6018 for ac_exec_ext in '' $ac_executable_extensions; do
6019 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6020 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
6021 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6022 break 2
6024 done
6025 done
6026 IFS=$as_save_IFS
6030 CPPBIN=$ac_cv_prog_CPPBIN
6031 if test -n "$CPPBIN"; then
6032 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
6033 printf "%s\n" "$CPPBIN" >&6; }
6034 else
6035 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6036 printf "%s\n" "no" >&6; }
6041 if test -z "$ac_cv_prog_CPPBIN"; then
6042 ac_ct_CPPBIN=$CPPBIN
6043 # Extract the first word of "cpp", so it can be a program name with args.
6044 set dummy cpp; ac_word=$2
6045 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6046 printf %s "checking for $ac_word... " >&6; }
6047 if test ${ac_cv_prog_ac_ct_CPPBIN+y}
6048 then :
6049 printf %s "(cached) " >&6
6050 else $as_nop
6051 if test -n "$ac_ct_CPPBIN"; then
6052 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
6053 else
6054 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6055 for as_dir in $PATH
6057 IFS=$as_save_IFS
6058 case $as_dir in #(((
6059 '') as_dir=./ ;;
6060 */) ;;
6061 *) as_dir=$as_dir/ ;;
6062 esac
6063 for ac_exec_ext in '' $ac_executable_extensions; do
6064 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6065 ac_cv_prog_ac_ct_CPPBIN="cpp"
6066 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6067 break 2
6069 done
6070 done
6071 IFS=$as_save_IFS
6075 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
6076 if test -n "$ac_ct_CPPBIN"; then
6077 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
6078 printf "%s\n" "$ac_ct_CPPBIN" >&6; }
6079 else
6080 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6081 printf "%s\n" "no" >&6; }
6084 if test "x$ac_ct_CPPBIN" = x; then
6085 CPPBIN="cpp"
6086 else
6087 case $cross_compiling:$ac_tool_warned in
6088 yes:)
6089 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6090 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6091 ac_tool_warned=yes ;;
6092 esac
6093 CPPBIN=$ac_ct_CPPBIN
6095 else
6096 CPPBIN="$ac_cv_prog_CPPBIN"
6100 printf "%s\n" "#define EXEEXT \"$ac_exeext\"" >>confdefs.h
6102 if test -n "$ac_tool_prefix"; then
6103 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
6104 set dummy ${ac_tool_prefix}ld; ac_word=$2
6105 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6106 printf %s "checking for $ac_word... " >&6; }
6107 if test ${ac_cv_prog_LD+y}
6108 then :
6109 printf %s "(cached) " >&6
6110 else $as_nop
6111 if test -n "$LD"; then
6112 ac_cv_prog_LD="$LD" # Let the user override the test.
6113 else
6114 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6115 for as_dir in $PATH
6117 IFS=$as_save_IFS
6118 case $as_dir in #(((
6119 '') as_dir=./ ;;
6120 */) ;;
6121 *) as_dir=$as_dir/ ;;
6122 esac
6123 for ac_exec_ext in '' $ac_executable_extensions; do
6124 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6125 ac_cv_prog_LD="${ac_tool_prefix}ld"
6126 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6127 break 2
6129 done
6130 done
6131 IFS=$as_save_IFS
6135 LD=$ac_cv_prog_LD
6136 if test -n "$LD"; then
6137 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6138 printf "%s\n" "$LD" >&6; }
6139 else
6140 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6141 printf "%s\n" "no" >&6; }
6146 if test -z "$ac_cv_prog_LD"; then
6147 ac_ct_LD=$LD
6148 # Extract the first word of "ld", so it can be a program name with args.
6149 set dummy ld; ac_word=$2
6150 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6151 printf %s "checking for $ac_word... " >&6; }
6152 if test ${ac_cv_prog_ac_ct_LD+y}
6153 then :
6154 printf %s "(cached) " >&6
6155 else $as_nop
6156 if test -n "$ac_ct_LD"; then
6157 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
6158 else
6159 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6160 for as_dir in $PATH
6162 IFS=$as_save_IFS
6163 case $as_dir in #(((
6164 '') as_dir=./ ;;
6165 */) ;;
6166 *) as_dir=$as_dir/ ;;
6167 esac
6168 for ac_exec_ext in '' $ac_executable_extensions; do
6169 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6170 ac_cv_prog_ac_ct_LD="ld"
6171 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6172 break 2
6174 done
6175 done
6176 IFS=$as_save_IFS
6180 ac_ct_LD=$ac_cv_prog_ac_ct_LD
6181 if test -n "$ac_ct_LD"; then
6182 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
6183 printf "%s\n" "$ac_ct_LD" >&6; }
6184 else
6185 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6186 printf "%s\n" "no" >&6; }
6189 if test "x$ac_ct_LD" = x; then
6190 LD=""
6191 else
6192 case $cross_compiling:$ac_tool_warned in
6193 yes:)
6194 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6195 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6196 ac_tool_warned=yes ;;
6197 esac
6198 LD=$ac_ct_LD
6200 else
6201 LD="$ac_cv_prog_LD"
6205 case $host in
6206 *-darwin*)
6207 with_fontconfig=${with_fontconfig:-no}
6209 *-mingw32*|*-cygwin*)
6210 enable_win16=${enable_win16:-no}
6211 with_mingw=${with_mingw:-no}
6213 esac
6216 case $host in
6217 x86_64*|amd64*)
6218 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes" -a x"$enable_archs" = x
6219 then
6220 CC="$CC -m32"
6221 CXX="$CXX -m32"
6223 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
6224 printf %s "checking whether $CC works... " >&6; }
6225 if test ${wine_cv_cc_m32+y}
6226 then :
6227 printf %s "(cached) " >&6
6228 else $as_nop
6229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6230 /* end confdefs.h. */
6233 main (void)
6237 return 0;
6239 _ACEOF
6240 if ac_fn_c_try_link "$LINENO"
6241 then :
6242 wine_cv_cc_m32=yes
6243 else $as_nop
6244 wine_cv_cc_m32=no
6246 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6247 conftest$ac_exeext conftest.$ac_ext
6249 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_cc_m32" >&5
6250 printf "%s\n" "$wine_cv_cc_m32" >&6; }
6251 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
6252 host_cpu="i386"
6253 notice_platform="32-bit "
6254 TARGETFLAGS="$TARGETFLAGS -m32"
6255 PKG_CONFIG_LIBDIR=${PKG_CONFIG_LIBDIR:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib32/pkgconfig:/usr/lib/pkgconfig}
6256 export PKG_CONFIG_LIBDIR
6257 with_unwind=${with_unwind:-no}
6258 else
6259 if test "x${GCC}" = "xyes"
6260 then
6261 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
6262 printf %s "checking whether $CC supports __builtin_ms_va_list... " >&6; }
6263 if test ${wine_cv_builtin_ms_va_list+y}
6264 then :
6265 printf %s "(cached) " >&6
6266 else $as_nop
6267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6268 /* end confdefs.h. */
6269 #include <stdarg.h>
6271 main (void)
6273 void func(__builtin_ms_va_list *args);
6275 return 0;
6277 _ACEOF
6278 if ac_fn_c_try_compile "$LINENO"
6279 then :
6280 wine_cv_builtin_ms_va_list=yes
6281 else $as_nop
6282 wine_cv_builtin_ms_va_list=no
6284 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6286 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
6287 printf "%s\n" "$wine_cv_builtin_ms_va_list" >&6; }
6288 test $wine_cv_builtin_ms_va_list != no || as_fn_error $? "You need gcc >= 4.4 or clang >= 3.8 to build Wine as 64-bit." "$LINENO" 5
6290 CC="$CC -m64"
6291 CXX="$CXX -m64"
6292 host_cpu="x86_64"
6293 notice_platform="64-bit "
6294 TARGETFLAGS="$TARGETFLAGS -m64"
6297 arm*)
6298 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb-2" >&5
6299 printf %s "checking whether $CC supports Thumb-2... " >&6; }
6300 if test ${wine_cv_thumb2+y}
6301 then :
6302 printf %s "(cached) " >&6
6303 else $as_nop
6304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6305 /* end confdefs.h. */
6308 main (void)
6310 asm(".syntax unified\n\t.thumb\n\tldm r0,{r0-r8}");
6312 return 0;
6314 _ACEOF
6315 if ac_fn_c_try_link "$LINENO"
6316 then :
6317 wine_cv_thumb2=yes
6318 else $as_nop
6319 wine_cv_thumb2=no
6321 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6322 conftest$ac_exeext conftest.$ac_ext
6324 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_thumb2" >&5
6325 printf "%s\n" "$wine_cv_thumb2" >&6; }
6326 if test x"$wine_cv_thumb2" = xyes
6327 then
6328 CFLAGS="$CFLAGS -mthumb"
6329 TARGETFLAGS="$TARGETFLAGS -mthumb"
6330 else
6331 CFLAGS="$CFLAGS -marm"
6332 TARGETFLAGS="$TARGETFLAGS -marm"
6334 case $with_float_abi in
6335 soft|softfp|hard)
6336 float_abi=$with_float_abi ;;
6338 case $host_os in
6339 *eabihf)
6340 float_abi=hard ;;
6342 float_abi=softfp
6343 saved_CFLAGS=$CFLAGS
6344 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
6345 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
6346 printf %s "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
6347 if test ${wine_cv_float_abi+y}
6348 then :
6349 printf %s "(cached) " >&6
6350 else $as_nop
6351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6352 /* end confdefs.h. */
6355 main (void)
6357 asm("vmrs r2,fpscr");
6359 return 0;
6361 _ACEOF
6362 if ac_fn_c_try_link "$LINENO"
6363 then :
6364 wine_cv_float_abi=yes
6365 else $as_nop
6366 wine_cv_float_abi=no
6368 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6369 conftest$ac_exeext conftest.$ac_ext
6371 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_float_abi" >&5
6372 printf "%s\n" "$wine_cv_float_abi" >&6; }
6373 if test $wine_cv_float_abi = no
6374 then
6375 float_abi=soft
6376 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
6378 CFLAGS=$saved_CFLAGS
6379 esac
6381 esac
6382 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
6383 TARGETFLAGS="$TARGETFLAGS -mfloat-abi=$float_abi"
6385 i[3456789]86*)
6386 with_unwind=${with_unwind:-no}
6388 esac
6390 enable_win16=${enable_win16:-i386}
6391 enable_win64=${enable_win64:-no}
6392 enable_wow64=${enable_wow64:-aarch64,x86_64}
6393 enable_wow64win=${enable_wow64win:-aarch64,x86_64}
6394 enable_wow64cpu=${enable_wow64cpu:-x86_64}
6396 enable_winetest=${enable_winetest:-$enable_tests}
6398 if test "x$enable_win64" = "xyes"
6399 then
6400 test -z "$with_wine64" || as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
6401 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
6404 case $build_os in
6405 cygwin*|mingw32*) toolsext=".exe"
6407 *) toolsext=""
6409 esac
6411 HOST_ARCH=unknown
6412 case "$host_cpu" in
6413 aarch64*) HOST_ARCH=aarch64 ;;
6414 arm*) HOST_ARCH=arm ;;
6415 i[3456789]86*) HOST_ARCH=i386 ;;
6416 x86_64) HOST_ARCH=x86_64 ;;
6417 esac
6420 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
6421 printf %s "checking for the directory containing the Wine tools... " >&6; }
6422 if test ${wine_cv_toolsdir+y}
6423 then :
6424 printf %s "(cached) " >&6
6425 else $as_nop
6426 wine_cv_toolsdir="$with_wine_tools"
6427 if test -z "$with_wine_tools"; then
6428 if test "$cross_compiling" = "yes"; then
6429 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
6430 elif test -n "$with_wine64"; then
6431 wine_cv_toolsdir="$with_wine64"
6435 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
6436 printf "%s\n" "$wine_cv_toolsdir" >&6; }
6437 if test -z "$wine_cv_toolsdir"; then
6438 wine_makedep=tools/makedep$toolsext
6439 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
6440 wine_makedep=$wine_cv_toolsdir/tools/makedep$toolsext
6441 enable_tools=${enable_tools:-no}
6442 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
6443 else
6444 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
6446 toolsdir=$wine_cv_toolsdir
6448 MAKEDEP=$wine_makedep
6450 RUNTESTFLAGS="-q -P wine"
6452 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'"
6455 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
6456 then
6457 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
6460 for ac_prog in flex
6462 # Extract the first word of "$ac_prog", so it can be a program name with args.
6463 set dummy $ac_prog; ac_word=$2
6464 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6465 printf %s "checking for $ac_word... " >&6; }
6466 if test ${ac_cv_prog_FLEX+y}
6467 then :
6468 printf %s "(cached) " >&6
6469 else $as_nop
6470 if test -n "$FLEX"; then
6471 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
6472 else
6473 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6474 for as_dir in $PATH
6476 IFS=$as_save_IFS
6477 case $as_dir in #(((
6478 '') as_dir=./ ;;
6479 */) ;;
6480 *) as_dir=$as_dir/ ;;
6481 esac
6482 for ac_exec_ext in '' $ac_executable_extensions; do
6483 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6484 ac_cv_prog_FLEX="$ac_prog"
6485 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6486 break 2
6488 done
6489 done
6490 IFS=$as_save_IFS
6494 FLEX=$ac_cv_prog_FLEX
6495 if test -n "$FLEX"; then
6496 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
6497 printf "%s\n" "$FLEX" >&6; }
6498 else
6499 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6500 printf "%s\n" "no" >&6; }
6504 test -n "$FLEX" && break
6505 done
6506 test -n "$FLEX" || FLEX="none"
6508 if test "$FLEX" = "none"
6509 then
6510 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
6512 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
6513 printf %s "checking whether flex is recent enough... " >&6; }
6514 if test ${wine_cv_recent_flex+y}
6515 then :
6516 printf %s "(cached) " >&6
6517 else $as_nop
6518 cat >conftest.l <<EOF
6519 %top{
6520 #include "prediluvian.h"
6524 if $FLEX -t conftest.l >/dev/null 2>&5
6525 then
6526 wine_cv_recent_flex=yes
6527 else
6528 wine_cv_recent_flex=no
6531 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_flex" >&5
6532 printf "%s\n" "$wine_cv_recent_flex" >&6; }
6533 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
6535 for ac_prog in bison
6537 # Extract the first word of "$ac_prog", so it can be a program name with args.
6538 set dummy $ac_prog; ac_word=$2
6539 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6540 printf %s "checking for $ac_word... " >&6; }
6541 if test ${ac_cv_prog_BISON+y}
6542 then :
6543 printf %s "(cached) " >&6
6544 else $as_nop
6545 if test -n "$BISON"; then
6546 ac_cv_prog_BISON="$BISON" # Let the user override the test.
6547 else
6548 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6549 for as_dir in $PATH
6551 IFS=$as_save_IFS
6552 case $as_dir in #(((
6553 '') as_dir=./ ;;
6554 */) ;;
6555 *) as_dir=$as_dir/ ;;
6556 esac
6557 for ac_exec_ext in '' $ac_executable_extensions; do
6558 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6559 ac_cv_prog_BISON="$ac_prog"
6560 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6561 break 2
6563 done
6564 done
6565 IFS=$as_save_IFS
6569 BISON=$ac_cv_prog_BISON
6570 if test -n "$BISON"; then
6571 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
6572 printf "%s\n" "$BISON" >&6; }
6573 else
6574 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6575 printf "%s\n" "no" >&6; }
6579 test -n "$BISON" && break
6580 done
6581 test -n "$BISON" || BISON="none"
6583 if test "$BISON" = "none"
6584 then
6585 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
6587 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether bison is recent enough" >&5
6588 printf %s "checking whether bison is recent enough... " >&6; }
6589 if test ${wine_cv_recent_bison+y}
6590 then :
6591 printf %s "(cached) " >&6
6592 else $as_nop
6593 cat >conftest.y <<EOF
6594 %define parse.error verbose
6596 empty: ;
6598 if $BISON conftest.y >/dev/null 2>&5
6599 then
6600 wine_cv_recent_bison=yes
6601 else
6602 wine_cv_recent_bison=no
6605 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_bison" >&5
6606 printf "%s\n" "$wine_cv_recent_bison" >&6; }
6607 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
6609 if test -n "$ac_tool_prefix"; then
6610 for ac_prog in ar gar
6612 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6613 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6614 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6615 printf %s "checking for $ac_word... " >&6; }
6616 if test ${ac_cv_prog_AR+y}
6617 then :
6618 printf %s "(cached) " >&6
6619 else $as_nop
6620 if test -n "$AR"; then
6621 ac_cv_prog_AR="$AR" # Let the user override the test.
6622 else
6623 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6624 for as_dir in $PATH
6626 IFS=$as_save_IFS
6627 case $as_dir in #(((
6628 '') as_dir=./ ;;
6629 */) ;;
6630 *) as_dir=$as_dir/ ;;
6631 esac
6632 for ac_exec_ext in '' $ac_executable_extensions; do
6633 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6634 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6635 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6636 break 2
6638 done
6639 done
6640 IFS=$as_save_IFS
6644 AR=$ac_cv_prog_AR
6645 if test -n "$AR"; then
6646 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6647 printf "%s\n" "$AR" >&6; }
6648 else
6649 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6650 printf "%s\n" "no" >&6; }
6654 test -n "$AR" && break
6655 done
6657 if test -z "$AR"; then
6658 ac_ct_AR=$AR
6659 for ac_prog in ar gar
6661 # Extract the first word of "$ac_prog", so it can be a program name with args.
6662 set dummy $ac_prog; ac_word=$2
6663 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6664 printf %s "checking for $ac_word... " >&6; }
6665 if test ${ac_cv_prog_ac_ct_AR+y}
6666 then :
6667 printf %s "(cached) " >&6
6668 else $as_nop
6669 if test -n "$ac_ct_AR"; then
6670 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6671 else
6672 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6673 for as_dir in $PATH
6675 IFS=$as_save_IFS
6676 case $as_dir in #(((
6677 '') as_dir=./ ;;
6678 */) ;;
6679 *) as_dir=$as_dir/ ;;
6680 esac
6681 for ac_exec_ext in '' $ac_executable_extensions; do
6682 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6683 ac_cv_prog_ac_ct_AR="$ac_prog"
6684 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6685 break 2
6687 done
6688 done
6689 IFS=$as_save_IFS
6693 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6694 if test -n "$ac_ct_AR"; then
6695 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6696 printf "%s\n" "$ac_ct_AR" >&6; }
6697 else
6698 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6699 printf "%s\n" "no" >&6; }
6703 test -n "$ac_ct_AR" && break
6704 done
6706 if test "x$ac_ct_AR" = x; then
6707 AR="ar"
6708 else
6709 case $cross_compiling:$ac_tool_warned in
6710 yes:)
6711 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6712 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6713 ac_tool_warned=yes ;;
6714 esac
6715 AR=$ac_ct_AR
6719 if test -n "$ac_tool_prefix"; then
6720 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6721 set dummy ${ac_tool_prefix}strip; ac_word=$2
6722 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6723 printf %s "checking for $ac_word... " >&6; }
6724 if test ${ac_cv_prog_STRIP+y}
6725 then :
6726 printf %s "(cached) " >&6
6727 else $as_nop
6728 if test -n "$STRIP"; then
6729 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6730 else
6731 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6732 for as_dir in $PATH
6734 IFS=$as_save_IFS
6735 case $as_dir in #(((
6736 '') as_dir=./ ;;
6737 */) ;;
6738 *) as_dir=$as_dir/ ;;
6739 esac
6740 for ac_exec_ext in '' $ac_executable_extensions; do
6741 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6742 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6743 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6744 break 2
6746 done
6747 done
6748 IFS=$as_save_IFS
6752 STRIP=$ac_cv_prog_STRIP
6753 if test -n "$STRIP"; then
6754 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6755 printf "%s\n" "$STRIP" >&6; }
6756 else
6757 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6758 printf "%s\n" "no" >&6; }
6763 if test -z "$ac_cv_prog_STRIP"; then
6764 ac_ct_STRIP=$STRIP
6765 # Extract the first word of "strip", so it can be a program name with args.
6766 set dummy strip; ac_word=$2
6767 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6768 printf %s "checking for $ac_word... " >&6; }
6769 if test ${ac_cv_prog_ac_ct_STRIP+y}
6770 then :
6771 printf %s "(cached) " >&6
6772 else $as_nop
6773 if test -n "$ac_ct_STRIP"; then
6774 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6775 else
6776 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6777 for as_dir in $PATH
6779 IFS=$as_save_IFS
6780 case $as_dir in #(((
6781 '') as_dir=./ ;;
6782 */) ;;
6783 *) as_dir=$as_dir/ ;;
6784 esac
6785 for ac_exec_ext in '' $ac_executable_extensions; do
6786 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6787 ac_cv_prog_ac_ct_STRIP="strip"
6788 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6789 break 2
6791 done
6792 done
6793 IFS=$as_save_IFS
6797 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6798 if test -n "$ac_ct_STRIP"; then
6799 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6800 printf "%s\n" "$ac_ct_STRIP" >&6; }
6801 else
6802 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6803 printf "%s\n" "no" >&6; }
6806 if test "x$ac_ct_STRIP" = x; then
6807 STRIP="strip"
6808 else
6809 case $cross_compiling:$ac_tool_warned in
6810 yes:)
6811 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6812 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6813 ac_tool_warned=yes ;;
6814 esac
6815 STRIP=$ac_ct_STRIP
6817 else
6818 STRIP="$ac_cv_prog_STRIP"
6821 if test -n "$ac_tool_prefix"; then
6822 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6823 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6824 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6825 printf %s "checking for $ac_word... " >&6; }
6826 if test ${ac_cv_prog_RANLIB+y}
6827 then :
6828 printf %s "(cached) " >&6
6829 else $as_nop
6830 if test -n "$RANLIB"; then
6831 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6832 else
6833 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6834 for as_dir in $PATH
6836 IFS=$as_save_IFS
6837 case $as_dir in #(((
6838 '') as_dir=./ ;;
6839 */) ;;
6840 *) as_dir=$as_dir/ ;;
6841 esac
6842 for ac_exec_ext in '' $ac_executable_extensions; do
6843 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6844 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6845 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6846 break 2
6848 done
6849 done
6850 IFS=$as_save_IFS
6854 RANLIB=$ac_cv_prog_RANLIB
6855 if test -n "$RANLIB"; then
6856 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6857 printf "%s\n" "$RANLIB" >&6; }
6858 else
6859 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6860 printf "%s\n" "no" >&6; }
6865 if test -z "$ac_cv_prog_RANLIB"; then
6866 ac_ct_RANLIB=$RANLIB
6867 # Extract the first word of "ranlib", so it can be a program name with args.
6868 set dummy ranlib; ac_word=$2
6869 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6870 printf %s "checking for $ac_word... " >&6; }
6871 if test ${ac_cv_prog_ac_ct_RANLIB+y}
6872 then :
6873 printf %s "(cached) " >&6
6874 else $as_nop
6875 if test -n "$ac_ct_RANLIB"; then
6876 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6877 else
6878 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6879 for as_dir in $PATH
6881 IFS=$as_save_IFS
6882 case $as_dir in #(((
6883 '') as_dir=./ ;;
6884 */) ;;
6885 *) as_dir=$as_dir/ ;;
6886 esac
6887 for ac_exec_ext in '' $ac_executable_extensions; do
6888 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6889 ac_cv_prog_ac_ct_RANLIB="ranlib"
6890 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6891 break 2
6893 done
6894 done
6895 IFS=$as_save_IFS
6899 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6900 if test -n "$ac_ct_RANLIB"; then
6901 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6902 printf "%s\n" "$ac_ct_RANLIB" >&6; }
6903 else
6904 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6905 printf "%s\n" "no" >&6; }
6908 if test "x$ac_ct_RANLIB" = x; then
6909 RANLIB=":"
6910 else
6911 case $cross_compiling:$ac_tool_warned in
6912 yes:)
6913 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6914 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6915 ac_tool_warned=yes ;;
6916 esac
6917 RANLIB=$ac_ct_RANLIB
6919 else
6920 RANLIB="$ac_cv_prog_RANLIB"
6923 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6924 printf %s "checking whether ln -s works... " >&6; }
6925 LN_S=$as_ln_s
6926 if test "$LN_S" = "ln -s"; then
6927 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6928 printf "%s\n" "yes" >&6; }
6929 else
6930 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6931 printf "%s\n" "no, using $LN_S" >&6; }
6934 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6935 printf %s "checking for grep that handles long lines and -e... " >&6; }
6936 if test ${ac_cv_path_GREP+y}
6937 then :
6938 printf %s "(cached) " >&6
6939 else $as_nop
6940 if test -z "$GREP"; then
6941 ac_path_GREP_found=false
6942 # Loop through the user's path and test for each of PROGNAME-LIST
6943 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6944 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6946 IFS=$as_save_IFS
6947 case $as_dir in #(((
6948 '') as_dir=./ ;;
6949 */) ;;
6950 *) as_dir=$as_dir/ ;;
6951 esac
6952 for ac_prog in grep ggrep
6954 for ac_exec_ext in '' $ac_executable_extensions; do
6955 ac_path_GREP="$as_dir$ac_prog$ac_exec_ext"
6956 as_fn_executable_p "$ac_path_GREP" || continue
6957 # Check for GNU ac_path_GREP and select it if it is found.
6958 # Check for GNU $ac_path_GREP
6959 case `"$ac_path_GREP" --version 2>&1` in
6960 *GNU*)
6961 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6963 ac_count=0
6964 printf %s 0123456789 >"conftest.in"
6965 while :
6967 cat "conftest.in" "conftest.in" >"conftest.tmp"
6968 mv "conftest.tmp" "conftest.in"
6969 cp "conftest.in" "conftest.nl"
6970 printf "%s\n" 'GREP' >> "conftest.nl"
6971 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6972 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6973 as_fn_arith $ac_count + 1 && ac_count=$as_val
6974 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6975 # Best one so far, save it but keep looking for a better one
6976 ac_cv_path_GREP="$ac_path_GREP"
6977 ac_path_GREP_max=$ac_count
6979 # 10*(2^10) chars as input seems more than enough
6980 test $ac_count -gt 10 && break
6981 done
6982 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6983 esac
6985 $ac_path_GREP_found && break 3
6986 done
6987 done
6988 done
6989 IFS=$as_save_IFS
6990 if test -z "$ac_cv_path_GREP"; then
6991 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6993 else
6994 ac_cv_path_GREP=$GREP
6998 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6999 printf "%s\n" "$ac_cv_path_GREP" >&6; }
7000 GREP="$ac_cv_path_GREP"
7003 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
7004 printf %s "checking for egrep... " >&6; }
7005 if test ${ac_cv_path_EGREP+y}
7006 then :
7007 printf %s "(cached) " >&6
7008 else $as_nop
7009 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
7010 then ac_cv_path_EGREP="$GREP -E"
7011 else
7012 if test -z "$EGREP"; then
7013 ac_path_EGREP_found=false
7014 # Loop through the user's path and test for each of PROGNAME-LIST
7015 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7016 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
7018 IFS=$as_save_IFS
7019 case $as_dir in #(((
7020 '') as_dir=./ ;;
7021 */) ;;
7022 *) as_dir=$as_dir/ ;;
7023 esac
7024 for ac_prog in egrep
7026 for ac_exec_ext in '' $ac_executable_extensions; do
7027 ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext"
7028 as_fn_executable_p "$ac_path_EGREP" || continue
7029 # Check for GNU ac_path_EGREP and select it if it is found.
7030 # Check for GNU $ac_path_EGREP
7031 case `"$ac_path_EGREP" --version 2>&1` in
7032 *GNU*)
7033 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
7035 ac_count=0
7036 printf %s 0123456789 >"conftest.in"
7037 while :
7039 cat "conftest.in" "conftest.in" >"conftest.tmp"
7040 mv "conftest.tmp" "conftest.in"
7041 cp "conftest.in" "conftest.nl"
7042 printf "%s\n" 'EGREP' >> "conftest.nl"
7043 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
7044 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
7045 as_fn_arith $ac_count + 1 && ac_count=$as_val
7046 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
7047 # Best one so far, save it but keep looking for a better one
7048 ac_cv_path_EGREP="$ac_path_EGREP"
7049 ac_path_EGREP_max=$ac_count
7051 # 10*(2^10) chars as input seems more than enough
7052 test $ac_count -gt 10 && break
7053 done
7054 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7055 esac
7057 $ac_path_EGREP_found && break 3
7058 done
7059 done
7060 done
7061 IFS=$as_save_IFS
7062 if test -z "$ac_cv_path_EGREP"; then
7063 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7065 else
7066 ac_cv_path_EGREP=$EGREP
7071 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
7072 printf "%s\n" "$ac_cv_path_EGREP" >&6; }
7073 EGREP="$ac_cv_path_EGREP"
7076 # Extract the first word of "ldconfig", so it can be a program name with args.
7077 set dummy ldconfig; ac_word=$2
7078 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7079 printf %s "checking for $ac_word... " >&6; }
7080 if test ${ac_cv_path_LDCONFIG+y}
7081 then :
7082 printf %s "(cached) " >&6
7083 else $as_nop
7084 case $LDCONFIG in
7085 [\\/]* | ?:[\\/]*)
7086 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
7089 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7090 for as_dir in /sbin /usr/sbin $PATH
7092 IFS=$as_save_IFS
7093 case $as_dir in #(((
7094 '') as_dir=./ ;;
7095 */) ;;
7096 *) as_dir=$as_dir/ ;;
7097 esac
7098 for ac_exec_ext in '' $ac_executable_extensions; do
7099 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7100 ac_cv_path_LDCONFIG="$as_dir$ac_word$ac_exec_ext"
7101 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7102 break 2
7104 done
7105 done
7106 IFS=$as_save_IFS
7108 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
7110 esac
7112 LDCONFIG=$ac_cv_path_LDCONFIG
7113 if test -n "$LDCONFIG"; then
7114 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
7115 printf "%s\n" "$LDCONFIG" >&6; }
7116 else
7117 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7118 printf "%s\n" "no" >&6; }
7122 for ac_prog in msgfmt
7124 # Extract the first word of "$ac_prog", so it can be a program name with args.
7125 set dummy $ac_prog; ac_word=$2
7126 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7127 printf %s "checking for $ac_word... " >&6; }
7128 if test ${ac_cv_prog_MSGFMT+y}
7129 then :
7130 printf %s "(cached) " >&6
7131 else $as_nop
7132 if test -n "$MSGFMT"; then
7133 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
7134 else
7135 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7136 for as_dir in $PATH
7138 IFS=$as_save_IFS
7139 case $as_dir in #(((
7140 '') as_dir=./ ;;
7141 */) ;;
7142 *) as_dir=$as_dir/ ;;
7143 esac
7144 for ac_exec_ext in '' $ac_executable_extensions; do
7145 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7146 ac_cv_prog_MSGFMT="$ac_prog"
7147 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7148 break 2
7150 done
7151 done
7152 IFS=$as_save_IFS
7156 MSGFMT=$ac_cv_prog_MSGFMT
7157 if test -n "$MSGFMT"; then
7158 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
7159 printf "%s\n" "$MSGFMT" >&6; }
7160 else
7161 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7162 printf "%s\n" "no" >&6; }
7166 test -n "$MSGFMT" && break
7167 done
7168 test -n "$MSGFMT" || MSGFMT="false"
7170 if test ${ac_tool_prefix+y}
7171 then :
7172 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
7173 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
7174 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7175 printf %s "checking for $ac_word... " >&6; }
7176 if test ${ac_cv_prog_PKG_CONFIG+y}
7177 then :
7178 printf %s "(cached) " >&6
7179 else $as_nop
7180 if test -n "$PKG_CONFIG"; then
7181 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
7182 else
7183 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7184 for as_dir in $PATH
7186 IFS=$as_save_IFS
7187 case $as_dir in #(((
7188 '') as_dir=./ ;;
7189 */) ;;
7190 *) as_dir=$as_dir/ ;;
7191 esac
7192 for ac_exec_ext in '' $ac_executable_extensions; do
7193 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7194 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
7195 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7196 break 2
7198 done
7199 done
7200 IFS=$as_save_IFS
7204 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7205 if test -n "$PKG_CONFIG"; then
7206 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7207 printf "%s\n" "$PKG_CONFIG" >&6; }
7208 else
7209 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7210 printf "%s\n" "no" >&6; }
7215 if ${ac_cv_prog_PKG_CONFIG:+false} :
7216 then :
7217 if test "x$cross_compiling" = xyes
7218 then :
7220 else $as_nop
7221 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
7222 # Extract the first word of "pkg-config", so it can be a program name with args.
7223 set dummy pkg-config; ac_word=$2
7224 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7225 printf %s "checking for $ac_word... " >&6; }
7226 if test ${ac_cv_prog_PKG_CONFIG+y}
7227 then :
7228 printf %s "(cached) " >&6
7229 else $as_nop
7230 if test -n "$PKG_CONFIG"; then
7231 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
7232 else
7233 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7234 for as_dir in $PATH
7236 IFS=$as_save_IFS
7237 case $as_dir in #(((
7238 '') as_dir=./ ;;
7239 */) ;;
7240 *) as_dir=$as_dir/ ;;
7241 esac
7242 for ac_exec_ext in '' $ac_executable_extensions; do
7243 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7244 ac_cv_prog_PKG_CONFIG="pkg-config"
7245 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7246 break 2
7248 done
7249 done
7250 IFS=$as_save_IFS
7254 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7255 if test -n "$PKG_CONFIG"; then
7256 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7257 printf "%s\n" "$PKG_CONFIG" >&6; }
7258 else
7259 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7260 printf "%s\n" "no" >&6; }
7265 else $as_nop
7266 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7269 if test "x$enable_maintainer_mode" != "xyes"
7270 then
7271 FONTFORGE=""
7272 RSVG=""
7273 CONVERT=""
7274 ICOTOOL=""
7275 else
7276 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
7277 for ac_prog in fontforge
7279 # Extract the first word of "$ac_prog", so it can be a program name with args.
7280 set dummy $ac_prog; ac_word=$2
7281 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7282 printf %s "checking for $ac_word... " >&6; }
7283 if test ${ac_cv_prog_FONTFORGE+y}
7284 then :
7285 printf %s "(cached) " >&6
7286 else $as_nop
7287 if test -n "$FONTFORGE"; then
7288 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
7289 else
7290 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7291 for as_dir in $PATH
7293 IFS=$as_save_IFS
7294 case $as_dir in #(((
7295 '') as_dir=./ ;;
7296 */) ;;
7297 *) as_dir=$as_dir/ ;;
7298 esac
7299 for ac_exec_ext in '' $ac_executable_extensions; do
7300 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7301 ac_cv_prog_FONTFORGE="$ac_prog"
7302 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7303 break 2
7305 done
7306 done
7307 IFS=$as_save_IFS
7311 FONTFORGE=$ac_cv_prog_FONTFORGE
7312 if test -n "$FONTFORGE"; then
7313 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
7314 printf "%s\n" "$FONTFORGE" >&6; }
7315 else
7316 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7317 printf "%s\n" "no" >&6; }
7321 test -n "$FONTFORGE" && break
7322 done
7323 test -n "$FONTFORGE" || FONTFORGE="false"
7325 for ac_prog in rsvg-convert rsvg
7327 # Extract the first word of "$ac_prog", so it can be a program name with args.
7328 set dummy $ac_prog; ac_word=$2
7329 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7330 printf %s "checking for $ac_word... " >&6; }
7331 if test ${ac_cv_prog_RSVG+y}
7332 then :
7333 printf %s "(cached) " >&6
7334 else $as_nop
7335 if test -n "$RSVG"; then
7336 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
7337 else
7338 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7339 for as_dir in $PATH
7341 IFS=$as_save_IFS
7342 case $as_dir in #(((
7343 '') as_dir=./ ;;
7344 */) ;;
7345 *) as_dir=$as_dir/ ;;
7346 esac
7347 for ac_exec_ext in '' $ac_executable_extensions; do
7348 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7349 ac_cv_prog_RSVG="$ac_prog"
7350 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7351 break 2
7353 done
7354 done
7355 IFS=$as_save_IFS
7359 RSVG=$ac_cv_prog_RSVG
7360 if test -n "$RSVG"; then
7361 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
7362 printf "%s\n" "$RSVG" >&6; }
7363 else
7364 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7365 printf "%s\n" "no" >&6; }
7369 test -n "$RSVG" && break
7370 done
7371 test -n "$RSVG" || RSVG="false"
7373 for ac_prog in convert
7375 # Extract the first word of "$ac_prog", so it can be a program name with args.
7376 set dummy $ac_prog; ac_word=$2
7377 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7378 printf %s "checking for $ac_word... " >&6; }
7379 if test ${ac_cv_prog_CONVERT+y}
7380 then :
7381 printf %s "(cached) " >&6
7382 else $as_nop
7383 if test -n "$CONVERT"; then
7384 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
7385 else
7386 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7387 for as_dir in $PATH
7389 IFS=$as_save_IFS
7390 case $as_dir in #(((
7391 '') as_dir=./ ;;
7392 */) ;;
7393 *) as_dir=$as_dir/ ;;
7394 esac
7395 for ac_exec_ext in '' $ac_executable_extensions; do
7396 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7397 ac_cv_prog_CONVERT="$ac_prog"
7398 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7399 break 2
7401 done
7402 done
7403 IFS=$as_save_IFS
7407 CONVERT=$ac_cv_prog_CONVERT
7408 if test -n "$CONVERT"; then
7409 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
7410 printf "%s\n" "$CONVERT" >&6; }
7411 else
7412 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7413 printf "%s\n" "no" >&6; }
7417 test -n "$CONVERT" && break
7418 done
7419 test -n "$CONVERT" || CONVERT="false"
7421 for ac_prog in icotool
7423 # Extract the first word of "$ac_prog", so it can be a program name with args.
7424 set dummy $ac_prog; ac_word=$2
7425 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7426 printf %s "checking for $ac_word... " >&6; }
7427 if test ${ac_cv_prog_ICOTOOL+y}
7428 then :
7429 printf %s "(cached) " >&6
7430 else $as_nop
7431 if test -n "$ICOTOOL"; then
7432 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
7433 else
7434 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7435 for as_dir in $PATH
7437 IFS=$as_save_IFS
7438 case $as_dir in #(((
7439 '') as_dir=./ ;;
7440 */) ;;
7441 *) as_dir=$as_dir/ ;;
7442 esac
7443 for ac_exec_ext in '' $ac_executable_extensions; do
7444 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7445 ac_cv_prog_ICOTOOL="$ac_prog"
7446 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7447 break 2
7449 done
7450 done
7451 IFS=$as_save_IFS
7455 ICOTOOL=$ac_cv_prog_ICOTOOL
7456 if test -n "$ICOTOOL"; then
7457 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
7458 printf "%s\n" "$ICOTOOL" >&6; }
7459 else
7460 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7461 printf "%s\n" "no" >&6; }
7465 test -n "$ICOTOOL" && break
7466 done
7467 test -n "$ICOTOOL" || ICOTOOL="false"
7469 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
7470 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
7472 if test "$CONVERT" = false
7473 then
7474 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
7475 else
7476 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
7477 printf %s "checking for recent enough imagemagick... " >&6; }
7478 convert_version=`convert --version | head -n1`
7479 if test "x$convert_version" != "x"
7480 then
7481 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
7482 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
7483 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
7484 then
7485 CONVERT=false
7488 if test "$CONVERT" = false
7489 then
7490 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
7491 printf "%s\n" "no ($convert_version_major.$convert_version_minor)" >&6; }
7492 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7493 else
7494 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
7495 printf "%s\n" "yes ($convert_version_major.$convert_version_minor)" >&6; }
7499 if test "$ICOTOOL" = false
7500 then
7501 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
7502 else
7503 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
7504 printf %s "checking for recent enough icotool... " >&6; }
7505 icotool_version=`icotool --version | head -n1`
7506 if test "x$icotool_version" != "x"
7507 then
7508 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
7509 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
7510 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
7511 then
7512 ICOTOOL=false
7513 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
7516 if test "$ICOTOOL" = false
7517 then
7518 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
7519 printf "%s\n" "no ($icotool_version_major.$icotool_version_minor)" >&6; }
7520 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7521 else
7522 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
7523 printf "%s\n" "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
7527 with_gettext=yes
7528 with_gettextpo=yes
7530 enable_werror=yes
7533 test "x$with_gettext" != xno || MSGFMT=false
7534 if test "$MSGFMT" != "false"
7535 then
7536 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
7537 printf %s "checking whether msgfmt supports contexts... " >&6; }
7538 if test ${wine_cv_msgfmt_contexts+y}
7539 then :
7540 printf %s "(cached) " >&6
7541 else $as_nop
7542 cat >conftest.po <<EOF
7543 # comment
7544 msgctxt "ctxt"
7545 msgid "id"
7546 msgstr "str"
7548 if $MSGFMT -o /dev/null conftest.po 2>&5
7549 then
7550 wine_cv_msgfmt_contexts=yes
7551 else
7552 wine_cv_msgfmt_contexts=no
7555 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_msgfmt_contexts" >&5
7556 printf "%s\n" "$wine_cv_msgfmt_contexts" >&6; }
7557 test $wine_cv_msgfmt_contexts != no || MSGFMT=false
7559 if test "$MSGFMT" = false
7560 then :
7561 case "x$with_gettext" in
7562 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
7563 xno) ;;
7564 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
7565 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
7566 esac
7567 enable_po=${enable_po:-no}
7571 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
7572 printf %s "checking for i386_set_ldt in -li386... " >&6; }
7573 if test ${ac_cv_lib_i386_i386_set_ldt+y}
7574 then :
7575 printf %s "(cached) " >&6
7576 else $as_nop
7577 ac_check_lib_save_LIBS=$LIBS
7578 LIBS="-li386 $LIBS"
7579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7580 /* end confdefs.h. */
7582 /* Override any GCC internal prototype to avoid an error.
7583 Use char because int might match the return type of a GCC
7584 builtin and then its argument prototype would still apply. */
7585 char i386_set_ldt ();
7587 main (void)
7589 return i386_set_ldt ();
7591 return 0;
7593 _ACEOF
7594 if ac_fn_c_try_link "$LINENO"
7595 then :
7596 ac_cv_lib_i386_i386_set_ldt=yes
7597 else $as_nop
7598 ac_cv_lib_i386_i386_set_ldt=no
7600 rm -f core conftest.err conftest.$ac_objext conftest.beam \
7601 conftest$ac_exeext conftest.$ac_ext
7602 LIBS=$ac_check_lib_save_LIBS
7604 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
7605 printf "%s\n" "$ac_cv_lib_i386_i386_set_ldt" >&6; }
7606 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes
7607 then :
7608 I386_LIBS="-li386"
7613 OPENGL_LIBS=""
7617 # Check whether --enable-largefile was given.
7618 if test ${enable_largefile+y}
7619 then :
7620 enableval=$enable_largefile;
7623 if test "$enable_largefile" != no; then
7625 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
7626 printf %s "checking for special C compiler options needed for large files... " >&6; }
7627 if test ${ac_cv_sys_largefile_CC+y}
7628 then :
7629 printf %s "(cached) " >&6
7630 else $as_nop
7631 ac_cv_sys_largefile_CC=no
7632 if test "$GCC" != yes; then
7633 ac_save_CC=$CC
7634 while :; do
7635 # IRIX 6.2 and later do not support large files by default,
7636 # so use the C compiler's -n32 option if that helps.
7637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7638 /* end confdefs.h. */
7639 #include <sys/types.h>
7640 /* Check that off_t can represent 2**63 - 1 correctly.
7641 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7642 since some C++ compilers masquerading as C compilers
7643 incorrectly reject 9223372036854775807. */
7644 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7645 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7646 && LARGE_OFF_T % 2147483647 == 1)
7647 ? 1 : -1];
7649 main (void)
7653 return 0;
7655 _ACEOF
7656 if ac_fn_c_try_compile "$LINENO"
7657 then :
7658 break
7660 rm -f core conftest.err conftest.$ac_objext conftest.beam
7661 CC="$CC -n32"
7662 if ac_fn_c_try_compile "$LINENO"
7663 then :
7664 ac_cv_sys_largefile_CC=' -n32'; break
7666 rm -f core conftest.err conftest.$ac_objext conftest.beam
7667 break
7668 done
7669 CC=$ac_save_CC
7670 rm -f conftest.$ac_ext
7673 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
7674 printf "%s\n" "$ac_cv_sys_largefile_CC" >&6; }
7675 if test "$ac_cv_sys_largefile_CC" != no; then
7676 CC=$CC$ac_cv_sys_largefile_CC
7679 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
7680 printf %s "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
7681 if test ${ac_cv_sys_file_offset_bits+y}
7682 then :
7683 printf %s "(cached) " >&6
7684 else $as_nop
7685 while :; do
7686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7687 /* end confdefs.h. */
7688 #include <sys/types.h>
7689 /* Check that off_t can represent 2**63 - 1 correctly.
7690 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7691 since some C++ compilers masquerading as C compilers
7692 incorrectly reject 9223372036854775807. */
7693 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7694 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7695 && LARGE_OFF_T % 2147483647 == 1)
7696 ? 1 : -1];
7698 main (void)
7702 return 0;
7704 _ACEOF
7705 if ac_fn_c_try_compile "$LINENO"
7706 then :
7707 ac_cv_sys_file_offset_bits=no; break
7709 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7711 /* end confdefs.h. */
7712 #define _FILE_OFFSET_BITS 64
7713 #include <sys/types.h>
7714 /* Check that off_t can represent 2**63 - 1 correctly.
7715 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7716 since some C++ compilers masquerading as C compilers
7717 incorrectly reject 9223372036854775807. */
7718 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7719 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7720 && LARGE_OFF_T % 2147483647 == 1)
7721 ? 1 : -1];
7723 main (void)
7727 return 0;
7729 _ACEOF
7730 if ac_fn_c_try_compile "$LINENO"
7731 then :
7732 ac_cv_sys_file_offset_bits=64; break
7734 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7735 ac_cv_sys_file_offset_bits=unknown
7736 break
7737 done
7739 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
7740 printf "%s\n" "$ac_cv_sys_file_offset_bits" >&6; }
7741 case $ac_cv_sys_file_offset_bits in #(
7742 no | unknown) ;;
7744 printf "%s\n" "#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits" >>confdefs.h
7746 esac
7747 rm -rf conftest*
7748 if test $ac_cv_sys_file_offset_bits = unknown; then
7749 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
7750 printf %s "checking for _LARGE_FILES value needed for large files... " >&6; }
7751 if test ${ac_cv_sys_large_files+y}
7752 then :
7753 printf %s "(cached) " >&6
7754 else $as_nop
7755 while :; do
7756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7757 /* end confdefs.h. */
7758 #include <sys/types.h>
7759 /* Check that off_t can represent 2**63 - 1 correctly.
7760 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7761 since some C++ compilers masquerading as C compilers
7762 incorrectly reject 9223372036854775807. */
7763 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7764 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7765 && LARGE_OFF_T % 2147483647 == 1)
7766 ? 1 : -1];
7768 main (void)
7772 return 0;
7774 _ACEOF
7775 if ac_fn_c_try_compile "$LINENO"
7776 then :
7777 ac_cv_sys_large_files=no; break
7779 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7781 /* end confdefs.h. */
7782 #define _LARGE_FILES 1
7783 #include <sys/types.h>
7784 /* Check that off_t can represent 2**63 - 1 correctly.
7785 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7786 since some C++ compilers masquerading as C compilers
7787 incorrectly reject 9223372036854775807. */
7788 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7789 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7790 && LARGE_OFF_T % 2147483647 == 1)
7791 ? 1 : -1];
7793 main (void)
7797 return 0;
7799 _ACEOF
7800 if ac_fn_c_try_compile "$LINENO"
7801 then :
7802 ac_cv_sys_large_files=1; break
7804 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7805 ac_cv_sys_large_files=unknown
7806 break
7807 done
7809 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
7810 printf "%s\n" "$ac_cv_sys_large_files" >&6; }
7811 case $ac_cv_sys_large_files in #(
7812 no | unknown) ;;
7814 printf "%s\n" "#define _LARGE_FILES $ac_cv_sys_large_files" >>confdefs.h
7816 esac
7817 rm -rf conftest*
7822 ac_header= ac_cache=
7823 for ac_item in $ac_header_c_list
7825 if test $ac_cache; then
7826 ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
7827 if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
7828 printf "%s\n" "#define $ac_item 1" >> confdefs.h
7830 ac_header= ac_cache=
7831 elif test $ac_header; then
7832 ac_cache=$ac_item
7833 else
7834 ac_header=$ac_item
7836 done
7845 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
7846 then :
7848 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
7851 ac_fn_c_check_header_compile "$LINENO" "CL/cl.h" "ac_cv_header_CL_cl_h" "$ac_includes_default"
7852 if test "x$ac_cv_header_CL_cl_h" = xyes
7853 then :
7854 printf "%s\n" "#define HAVE_CL_CL_H 1" >>confdefs.h
7857 ac_fn_c_check_header_compile "$LINENO" "EGL/egl.h" "ac_cv_header_EGL_egl_h" "$ac_includes_default"
7858 if test "x$ac_cv_header_EGL_egl_h" = xyes
7859 then :
7860 printf "%s\n" "#define HAVE_EGL_EGL_H 1" >>confdefs.h
7863 ac_fn_c_check_header_compile "$LINENO" "OpenCL/opencl.h" "ac_cv_header_OpenCL_opencl_h" "$ac_includes_default"
7864 if test "x$ac_cv_header_OpenCL_opencl_h" = xyes
7865 then :
7866 printf "%s\n" "#define HAVE_OPENCL_OPENCL_H 1" >>confdefs.h
7869 ac_fn_c_check_header_compile "$LINENO" "arpa/inet.h" "ac_cv_header_arpa_inet_h" "$ac_includes_default"
7870 if test "x$ac_cv_header_arpa_inet_h" = xyes
7871 then :
7872 printf "%s\n" "#define HAVE_ARPA_INET_H 1" >>confdefs.h
7875 ac_fn_c_check_header_compile "$LINENO" "arpa/nameser.h" "ac_cv_header_arpa_nameser_h" "$ac_includes_default"
7876 if test "x$ac_cv_header_arpa_nameser_h" = xyes
7877 then :
7878 printf "%s\n" "#define HAVE_ARPA_NAMESER_H 1" >>confdefs.h
7881 ac_fn_c_check_header_compile "$LINENO" "asm/types.h" "ac_cv_header_asm_types_h" "$ac_includes_default"
7882 if test "x$ac_cv_header_asm_types_h" = xyes
7883 then :
7884 printf "%s\n" "#define HAVE_ASM_TYPES_H 1" >>confdefs.h
7887 ac_fn_c_check_header_compile "$LINENO" "asm/user.h" "ac_cv_header_asm_user_h" "$ac_includes_default"
7888 if test "x$ac_cv_header_asm_user_h" = xyes
7889 then :
7890 printf "%s\n" "#define HAVE_ASM_USER_H 1" >>confdefs.h
7893 ac_fn_c_check_header_compile "$LINENO" "elf.h" "ac_cv_header_elf_h" "$ac_includes_default"
7894 if test "x$ac_cv_header_elf_h" = xyes
7895 then :
7896 printf "%s\n" "#define HAVE_ELF_H 1" >>confdefs.h
7899 ac_fn_c_check_header_compile "$LINENO" "float.h" "ac_cv_header_float_h" "$ac_includes_default"
7900 if test "x$ac_cv_header_float_h" = xyes
7901 then :
7902 printf "%s\n" "#define HAVE_FLOAT_H 1" >>confdefs.h
7905 ac_fn_c_check_header_compile "$LINENO" "gettext-po.h" "ac_cv_header_gettext_po_h" "$ac_includes_default"
7906 if test "x$ac_cv_header_gettext_po_h" = xyes
7907 then :
7908 printf "%s\n" "#define HAVE_GETTEXT_PO_H 1" >>confdefs.h
7911 ac_fn_c_check_header_compile "$LINENO" "libproc.h" "ac_cv_header_libproc_h" "$ac_includes_default"
7912 if test "x$ac_cv_header_libproc_h" = xyes
7913 then :
7914 printf "%s\n" "#define HAVE_LIBPROC_H 1" >>confdefs.h
7917 ac_fn_c_check_header_compile "$LINENO" "link.h" "ac_cv_header_link_h" "$ac_includes_default"
7918 if test "x$ac_cv_header_link_h" = xyes
7919 then :
7920 printf "%s\n" "#define HAVE_LINK_H 1" >>confdefs.h
7923 ac_fn_c_check_header_compile "$LINENO" "linux/cdrom.h" "ac_cv_header_linux_cdrom_h" "$ac_includes_default"
7924 if test "x$ac_cv_header_linux_cdrom_h" = xyes
7925 then :
7926 printf "%s\n" "#define HAVE_LINUX_CDROM_H 1" >>confdefs.h
7929 ac_fn_c_check_header_compile "$LINENO" "linux/filter.h" "ac_cv_header_linux_filter_h" "$ac_includes_default"
7930 if test "x$ac_cv_header_linux_filter_h" = xyes
7931 then :
7932 printf "%s\n" "#define HAVE_LINUX_FILTER_H 1" >>confdefs.h
7935 ac_fn_c_check_header_compile "$LINENO" "linux/hdreg.h" "ac_cv_header_linux_hdreg_h" "$ac_includes_default"
7936 if test "x$ac_cv_header_linux_hdreg_h" = xyes
7937 then :
7938 printf "%s\n" "#define HAVE_LINUX_HDREG_H 1" >>confdefs.h
7941 ac_fn_c_check_header_compile "$LINENO" "linux/hidraw.h" "ac_cv_header_linux_hidraw_h" "$ac_includes_default"
7942 if test "x$ac_cv_header_linux_hidraw_h" = xyes
7943 then :
7944 printf "%s\n" "#define HAVE_LINUX_HIDRAW_H 1" >>confdefs.h
7947 ac_fn_c_check_header_compile "$LINENO" "linux/input.h" "ac_cv_header_linux_input_h" "$ac_includes_default"
7948 if test "x$ac_cv_header_linux_input_h" = xyes
7949 then :
7950 printf "%s\n" "#define HAVE_LINUX_INPUT_H 1" >>confdefs.h
7953 ac_fn_c_check_header_compile "$LINENO" "linux/ioctl.h" "ac_cv_header_linux_ioctl_h" "$ac_includes_default"
7954 if test "x$ac_cv_header_linux_ioctl_h" = xyes
7955 then :
7956 printf "%s\n" "#define HAVE_LINUX_IOCTL_H 1" >>confdefs.h
7959 ac_fn_c_check_header_compile "$LINENO" "linux/major.h" "ac_cv_header_linux_major_h" "$ac_includes_default"
7960 if test "x$ac_cv_header_linux_major_h" = xyes
7961 then :
7962 printf "%s\n" "#define HAVE_LINUX_MAJOR_H 1" >>confdefs.h
7965 ac_fn_c_check_header_compile "$LINENO" "linux/param.h" "ac_cv_header_linux_param_h" "$ac_includes_default"
7966 if test "x$ac_cv_header_linux_param_h" = xyes
7967 then :
7968 printf "%s\n" "#define HAVE_LINUX_PARAM_H 1" >>confdefs.h
7971 ac_fn_c_check_header_compile "$LINENO" "linux/serial.h" "ac_cv_header_linux_serial_h" "$ac_includes_default"
7972 if test "x$ac_cv_header_linux_serial_h" = xyes
7973 then :
7974 printf "%s\n" "#define HAVE_LINUX_SERIAL_H 1" >>confdefs.h
7977 ac_fn_c_check_header_compile "$LINENO" "linux/types.h" "ac_cv_header_linux_types_h" "$ac_includes_default"
7978 if test "x$ac_cv_header_linux_types_h" = xyes
7979 then :
7980 printf "%s\n" "#define HAVE_LINUX_TYPES_H 1" >>confdefs.h
7983 ac_fn_c_check_header_compile "$LINENO" "linux/ucdrom.h" "ac_cv_header_linux_ucdrom_h" "$ac_includes_default"
7984 if test "x$ac_cv_header_linux_ucdrom_h" = xyes
7985 then :
7986 printf "%s\n" "#define HAVE_LINUX_UCDROM_H 1" >>confdefs.h
7989 ac_fn_c_check_header_compile "$LINENO" "lwp.h" "ac_cv_header_lwp_h" "$ac_includes_default"
7990 if test "x$ac_cv_header_lwp_h" = xyes
7991 then :
7992 printf "%s\n" "#define HAVE_LWP_H 1" >>confdefs.h
7995 ac_fn_c_check_header_compile "$LINENO" "mach-o/loader.h" "ac_cv_header_mach_o_loader_h" "$ac_includes_default"
7996 if test "x$ac_cv_header_mach_o_loader_h" = xyes
7997 then :
7998 printf "%s\n" "#define HAVE_MACH_O_LOADER_H 1" >>confdefs.h
8001 ac_fn_c_check_header_compile "$LINENO" "mach/mach.h" "ac_cv_header_mach_mach_h" "$ac_includes_default"
8002 if test "x$ac_cv_header_mach_mach_h" = xyes
8003 then :
8004 printf "%s\n" "#define HAVE_MACH_MACH_H 1" >>confdefs.h
8007 ac_fn_c_check_header_compile "$LINENO" "machine/cpu.h" "ac_cv_header_machine_cpu_h" "$ac_includes_default"
8008 if test "x$ac_cv_header_machine_cpu_h" = xyes
8009 then :
8010 printf "%s\n" "#define HAVE_MACHINE_CPU_H 1" >>confdefs.h
8013 ac_fn_c_check_header_compile "$LINENO" "machine/sysarch.h" "ac_cv_header_machine_sysarch_h" "$ac_includes_default"
8014 if test "x$ac_cv_header_machine_sysarch_h" = xyes
8015 then :
8016 printf "%s\n" "#define HAVE_MACHINE_SYSARCH_H 1" >>confdefs.h
8019 ac_fn_c_check_header_compile "$LINENO" "mntent.h" "ac_cv_header_mntent_h" "$ac_includes_default"
8020 if test "x$ac_cv_header_mntent_h" = xyes
8021 then :
8022 printf "%s\n" "#define HAVE_MNTENT_H 1" >>confdefs.h
8025 ac_fn_c_check_header_compile "$LINENO" "netdb.h" "ac_cv_header_netdb_h" "$ac_includes_default"
8026 if test "x$ac_cv_header_netdb_h" = xyes
8027 then :
8028 printf "%s\n" "#define HAVE_NETDB_H 1" >>confdefs.h
8031 ac_fn_c_check_header_compile "$LINENO" "netinet/in.h" "ac_cv_header_netinet_in_h" "$ac_includes_default"
8032 if test "x$ac_cv_header_netinet_in_h" = xyes
8033 then :
8034 printf "%s\n" "#define HAVE_NETINET_IN_H 1" >>confdefs.h
8037 ac_fn_c_check_header_compile "$LINENO" "netinet/in_systm.h" "ac_cv_header_netinet_in_systm_h" "$ac_includes_default"
8038 if test "x$ac_cv_header_netinet_in_systm_h" = xyes
8039 then :
8040 printf "%s\n" "#define HAVE_NETINET_IN_SYSTM_H 1" >>confdefs.h
8043 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp.h" "ac_cv_header_netinet_tcp_h" "$ac_includes_default"
8044 if test "x$ac_cv_header_netinet_tcp_h" = xyes
8045 then :
8046 printf "%s\n" "#define HAVE_NETINET_TCP_H 1" >>confdefs.h
8049 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp_fsm.h" "ac_cv_header_netinet_tcp_fsm_h" "$ac_includes_default"
8050 if test "x$ac_cv_header_netinet_tcp_fsm_h" = xyes
8051 then :
8052 printf "%s\n" "#define HAVE_NETINET_TCP_FSM_H 1" >>confdefs.h
8055 ac_fn_c_check_header_compile "$LINENO" "pcap/pcap.h" "ac_cv_header_pcap_pcap_h" "$ac_includes_default"
8056 if test "x$ac_cv_header_pcap_pcap_h" = xyes
8057 then :
8058 printf "%s\n" "#define HAVE_PCAP_PCAP_H 1" >>confdefs.h
8061 ac_fn_c_check_header_compile "$LINENO" "port.h" "ac_cv_header_port_h" "$ac_includes_default"
8062 if test "x$ac_cv_header_port_h" = xyes
8063 then :
8064 printf "%s\n" "#define HAVE_PORT_H 1" >>confdefs.h
8067 ac_fn_c_check_header_compile "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"
8068 if test "x$ac_cv_header_pthread_h" = xyes
8069 then :
8070 printf "%s\n" "#define HAVE_PTHREAD_H 1" >>confdefs.h
8073 ac_fn_c_check_header_compile "$LINENO" "pwd.h" "ac_cv_header_pwd_h" "$ac_includes_default"
8074 if test "x$ac_cv_header_pwd_h" = xyes
8075 then :
8076 printf "%s\n" "#define HAVE_PWD_H 1" >>confdefs.h
8079 ac_fn_c_check_header_compile "$LINENO" "sched.h" "ac_cv_header_sched_h" "$ac_includes_default"
8080 if test "x$ac_cv_header_sched_h" = xyes
8081 then :
8082 printf "%s\n" "#define HAVE_SCHED_H 1" >>confdefs.h
8085 ac_fn_c_check_header_compile "$LINENO" "scsi/scsi.h" "ac_cv_header_scsi_scsi_h" "$ac_includes_default"
8086 if test "x$ac_cv_header_scsi_scsi_h" = xyes
8087 then :
8088 printf "%s\n" "#define HAVE_SCSI_SCSI_H 1" >>confdefs.h
8091 ac_fn_c_check_header_compile "$LINENO" "scsi/scsi_ioctl.h" "ac_cv_header_scsi_scsi_ioctl_h" "$ac_includes_default"
8092 if test "x$ac_cv_header_scsi_scsi_ioctl_h" = xyes
8093 then :
8094 printf "%s\n" "#define HAVE_SCSI_SCSI_IOCTL_H 1" >>confdefs.h
8097 ac_fn_c_check_header_compile "$LINENO" "scsi/sg.h" "ac_cv_header_scsi_sg_h" "$ac_includes_default"
8098 if test "x$ac_cv_header_scsi_sg_h" = xyes
8099 then :
8100 printf "%s\n" "#define HAVE_SCSI_SG_H 1" >>confdefs.h
8103 ac_fn_c_check_header_compile "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
8104 if test "x$ac_cv_header_stdint_h" = xyes
8105 then :
8106 printf "%s\n" "#define HAVE_STDINT_H 1" >>confdefs.h
8109 ac_fn_c_check_header_compile "$LINENO" "sys/attr.h" "ac_cv_header_sys_attr_h" "$ac_includes_default"
8110 if test "x$ac_cv_header_sys_attr_h" = xyes
8111 then :
8112 printf "%s\n" "#define HAVE_SYS_ATTR_H 1" >>confdefs.h
8115 ac_fn_c_check_header_compile "$LINENO" "sys/auxv.h" "ac_cv_header_sys_auxv_h" "$ac_includes_default"
8116 if test "x$ac_cv_header_sys_auxv_h" = xyes
8117 then :
8118 printf "%s\n" "#define HAVE_SYS_AUXV_H 1" >>confdefs.h
8121 ac_fn_c_check_header_compile "$LINENO" "sys/cdio.h" "ac_cv_header_sys_cdio_h" "$ac_includes_default"
8122 if test "x$ac_cv_header_sys_cdio_h" = xyes
8123 then :
8124 printf "%s\n" "#define HAVE_SYS_CDIO_H 1" >>confdefs.h
8127 ac_fn_c_check_header_compile "$LINENO" "sys/epoll.h" "ac_cv_header_sys_epoll_h" "$ac_includes_default"
8128 if test "x$ac_cv_header_sys_epoll_h" = xyes
8129 then :
8130 printf "%s\n" "#define HAVE_SYS_EPOLL_H 1" >>confdefs.h
8133 ac_fn_c_check_header_compile "$LINENO" "sys/event.h" "ac_cv_header_sys_event_h" "$ac_includes_default"
8134 if test "x$ac_cv_header_sys_event_h" = xyes
8135 then :
8136 printf "%s\n" "#define HAVE_SYS_EVENT_H 1" >>confdefs.h
8139 ac_fn_c_check_header_compile "$LINENO" "sys/extattr.h" "ac_cv_header_sys_extattr_h" "$ac_includes_default"
8140 if test "x$ac_cv_header_sys_extattr_h" = xyes
8141 then :
8142 printf "%s\n" "#define HAVE_SYS_EXTATTR_H 1" >>confdefs.h
8145 ac_fn_c_check_header_compile "$LINENO" "sys/filio.h" "ac_cv_header_sys_filio_h" "$ac_includes_default"
8146 if test "x$ac_cv_header_sys_filio_h" = xyes
8147 then :
8148 printf "%s\n" "#define HAVE_SYS_FILIO_H 1" >>confdefs.h
8151 ac_fn_c_check_header_compile "$LINENO" "sys/ipc.h" "ac_cv_header_sys_ipc_h" "$ac_includes_default"
8152 if test "x$ac_cv_header_sys_ipc_h" = xyes
8153 then :
8154 printf "%s\n" "#define HAVE_SYS_IPC_H 1" >>confdefs.h
8157 ac_fn_c_check_header_compile "$LINENO" "sys/link.h" "ac_cv_header_sys_link_h" "$ac_includes_default"
8158 if test "x$ac_cv_header_sys_link_h" = xyes
8159 then :
8160 printf "%s\n" "#define HAVE_SYS_LINK_H 1" >>confdefs.h
8163 ac_fn_c_check_header_compile "$LINENO" "sys/modem.h" "ac_cv_header_sys_modem_h" "$ac_includes_default"
8164 if test "x$ac_cv_header_sys_modem_h" = xyes
8165 then :
8166 printf "%s\n" "#define HAVE_SYS_MODEM_H 1" >>confdefs.h
8169 ac_fn_c_check_header_compile "$LINENO" "sys/mtio.h" "ac_cv_header_sys_mtio_h" "$ac_includes_default"
8170 if test "x$ac_cv_header_sys_mtio_h" = xyes
8171 then :
8172 printf "%s\n" "#define HAVE_SYS_MTIO_H 1" >>confdefs.h
8175 ac_fn_c_check_header_compile "$LINENO" "sys/param.h" "ac_cv_header_sys_param_h" "$ac_includes_default"
8176 if test "x$ac_cv_header_sys_param_h" = xyes
8177 then :
8178 printf "%s\n" "#define HAVE_SYS_PARAM_H 1" >>confdefs.h
8181 ac_fn_c_check_header_compile "$LINENO" "sys/prctl.h" "ac_cv_header_sys_prctl_h" "$ac_includes_default"
8182 if test "x$ac_cv_header_sys_prctl_h" = xyes
8183 then :
8184 printf "%s\n" "#define HAVE_SYS_PRCTL_H 1" >>confdefs.h
8187 ac_fn_c_check_header_compile "$LINENO" "sys/ptrace.h" "ac_cv_header_sys_ptrace_h" "$ac_includes_default"
8188 if test "x$ac_cv_header_sys_ptrace_h" = xyes
8189 then :
8190 printf "%s\n" "#define HAVE_SYS_PTRACE_H 1" >>confdefs.h
8193 ac_fn_c_check_header_compile "$LINENO" "sys/queue.h" "ac_cv_header_sys_queue_h" "$ac_includes_default"
8194 if test "x$ac_cv_header_sys_queue_h" = xyes
8195 then :
8196 printf "%s\n" "#define HAVE_SYS_QUEUE_H 1" >>confdefs.h
8199 ac_fn_c_check_header_compile "$LINENO" "sys/random.h" "ac_cv_header_sys_random_h" "$ac_includes_default"
8200 if test "x$ac_cv_header_sys_random_h" = xyes
8201 then :
8202 printf "%s\n" "#define HAVE_SYS_RANDOM_H 1" >>confdefs.h
8205 ac_fn_c_check_header_compile "$LINENO" "sys/resource.h" "ac_cv_header_sys_resource_h" "$ac_includes_default"
8206 if test "x$ac_cv_header_sys_resource_h" = xyes
8207 then :
8208 printf "%s\n" "#define HAVE_SYS_RESOURCE_H 1" >>confdefs.h
8211 ac_fn_c_check_header_compile "$LINENO" "sys/scsiio.h" "ac_cv_header_sys_scsiio_h" "$ac_includes_default"
8212 if test "x$ac_cv_header_sys_scsiio_h" = xyes
8213 then :
8214 printf "%s\n" "#define HAVE_SYS_SCSIIO_H 1" >>confdefs.h
8217 ac_fn_c_check_header_compile "$LINENO" "sys/shm.h" "ac_cv_header_sys_shm_h" "$ac_includes_default"
8218 if test "x$ac_cv_header_sys_shm_h" = xyes
8219 then :
8220 printf "%s\n" "#define HAVE_SYS_SHM_H 1" >>confdefs.h
8223 ac_fn_c_check_header_compile "$LINENO" "sys/signal.h" "ac_cv_header_sys_signal_h" "$ac_includes_default"
8224 if test "x$ac_cv_header_sys_signal_h" = xyes
8225 then :
8226 printf "%s\n" "#define HAVE_SYS_SIGNAL_H 1" >>confdefs.h
8229 ac_fn_c_check_header_compile "$LINENO" "sys/socketvar.h" "ac_cv_header_sys_socketvar_h" "$ac_includes_default"
8230 if test "x$ac_cv_header_sys_socketvar_h" = xyes
8231 then :
8232 printf "%s\n" "#define HAVE_SYS_SOCKETVAR_H 1" >>confdefs.h
8235 ac_fn_c_check_header_compile "$LINENO" "sys/sockio.h" "ac_cv_header_sys_sockio_h" "$ac_includes_default"
8236 if test "x$ac_cv_header_sys_sockio_h" = xyes
8237 then :
8238 printf "%s\n" "#define HAVE_SYS_SOCKIO_H 1" >>confdefs.h
8241 ac_fn_c_check_header_compile "$LINENO" "sys/statvfs.h" "ac_cv_header_sys_statvfs_h" "$ac_includes_default"
8242 if test "x$ac_cv_header_sys_statvfs_h" = xyes
8243 then :
8244 printf "%s\n" "#define HAVE_SYS_STATVFS_H 1" >>confdefs.h
8247 ac_fn_c_check_header_compile "$LINENO" "sys/strtio.h" "ac_cv_header_sys_strtio_h" "$ac_includes_default"
8248 if test "x$ac_cv_header_sys_strtio_h" = xyes
8249 then :
8250 printf "%s\n" "#define HAVE_SYS_STRTIO_H 1" >>confdefs.h
8253 ac_fn_c_check_header_compile "$LINENO" "sys/syscall.h" "ac_cv_header_sys_syscall_h" "$ac_includes_default"
8254 if test "x$ac_cv_header_sys_syscall_h" = xyes
8255 then :
8256 printf "%s\n" "#define HAVE_SYS_SYSCALL_H 1" >>confdefs.h
8259 ac_fn_c_check_header_compile "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
8260 if test "x$ac_cv_header_sys_sysinfo_h" = xyes
8261 then :
8262 printf "%s\n" "#define HAVE_SYS_SYSINFO_H 1" >>confdefs.h
8265 ac_fn_c_check_header_compile "$LINENO" "sys/times.h" "ac_cv_header_sys_times_h" "$ac_includes_default"
8266 if test "x$ac_cv_header_sys_times_h" = xyes
8267 then :
8268 printf "%s\n" "#define HAVE_SYS_TIMES_H 1" >>confdefs.h
8271 ac_fn_c_check_header_compile "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
8272 if test "x$ac_cv_header_sys_uio_h" = xyes
8273 then :
8274 printf "%s\n" "#define HAVE_SYS_UIO_H 1" >>confdefs.h
8277 ac_fn_c_check_header_compile "$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "$ac_includes_default"
8278 if test "x$ac_cv_header_sys_user_h" = xyes
8279 then :
8280 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8283 ac_fn_c_check_header_compile "$LINENO" "sys/utsname.h" "ac_cv_header_sys_utsname_h" "$ac_includes_default"
8284 if test "x$ac_cv_header_sys_utsname_h" = xyes
8285 then :
8286 printf "%s\n" "#define HAVE_SYS_UTSNAME_H 1" >>confdefs.h
8289 ac_fn_c_check_header_compile "$LINENO" "sys/vnode.h" "ac_cv_header_sys_vnode_h" "$ac_includes_default"
8290 if test "x$ac_cv_header_sys_vnode_h" = xyes
8291 then :
8292 printf "%s\n" "#define HAVE_SYS_VNODE_H 1" >>confdefs.h
8295 ac_fn_c_check_header_compile "$LINENO" "sys/xattr.h" "ac_cv_header_sys_xattr_h" "$ac_includes_default"
8296 if test "x$ac_cv_header_sys_xattr_h" = xyes
8297 then :
8298 printf "%s\n" "#define HAVE_SYS_XATTR_H 1" >>confdefs.h
8301 ac_fn_c_check_header_compile "$LINENO" "syscall.h" "ac_cv_header_syscall_h" "$ac_includes_default"
8302 if test "x$ac_cv_header_syscall_h" = xyes
8303 then :
8304 printf "%s\n" "#define HAVE_SYSCALL_H 1" >>confdefs.h
8307 ac_fn_c_check_header_compile "$LINENO" "utime.h" "ac_cv_header_utime_h" "$ac_includes_default"
8308 if test "x$ac_cv_header_utime_h" = xyes
8309 then :
8310 printf "%s\n" "#define HAVE_UTIME_H 1" >>confdefs.h
8313 ac_fn_c_check_header_compile "$LINENO" "valgrind/memcheck.h" "ac_cv_header_valgrind_memcheck_h" "$ac_includes_default"
8314 if test "x$ac_cv_header_valgrind_memcheck_h" = xyes
8315 then :
8316 printf "%s\n" "#define HAVE_VALGRIND_MEMCHECK_H 1" >>confdefs.h
8319 ac_fn_c_check_header_compile "$LINENO" "valgrind/valgrind.h" "ac_cv_header_valgrind_valgrind_h" "$ac_includes_default"
8320 if test "x$ac_cv_header_valgrind_valgrind_h" = xyes
8321 then :
8322 printf "%s\n" "#define HAVE_VALGRIND_VALGRIND_H 1" >>confdefs.h
8326 ac_fn_c_check_header_compile "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
8327 if test "x$ac_cv_header_sys_mkdev_h" = xyes
8328 then :
8330 printf "%s\n" "#define MAJOR_IN_MKDEV 1" >>confdefs.h
8334 if test $ac_cv_header_sys_mkdev_h = no; then
8335 ac_fn_c_check_header_compile "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
8336 if test "x$ac_cv_header_sys_sysmacros_h" = xyes
8337 then :
8339 printf "%s\n" "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
8344 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
8345 printf %s "checking whether stat file-mode macros are broken... " >&6; }
8346 if test ${ac_cv_header_stat_broken+y}
8347 then :
8348 printf %s "(cached) " >&6
8349 else $as_nop
8350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8351 /* end confdefs.h. */
8352 #include <sys/types.h>
8353 #include <sys/stat.h>
8355 #if defined S_ISBLK && defined S_IFDIR
8356 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
8357 #endif
8359 #if defined S_ISBLK && defined S_IFCHR
8360 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
8361 #endif
8363 #if defined S_ISLNK && defined S_IFREG
8364 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
8365 #endif
8367 #if defined S_ISSOCK && defined S_IFREG
8368 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
8369 #endif
8371 _ACEOF
8372 if ac_fn_c_try_compile "$LINENO"
8373 then :
8374 ac_cv_header_stat_broken=no
8375 else $as_nop
8376 ac_cv_header_stat_broken=yes
8378 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8380 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
8381 printf "%s\n" "$ac_cv_header_stat_broken" >&6; }
8382 if test $ac_cv_header_stat_broken = yes; then
8384 printf "%s\n" "#define STAT_MACROS_BROKEN 1" >>confdefs.h
8390 ac_fn_c_check_header_compile "$LINENO" "sys/conf.h" "ac_cv_header_sys_conf_h" "#include <sys/types.h>
8391 #ifdef HAVE_SYS_PARAM_H
8392 # include <sys/param.h>
8393 #endif
8395 if test "x$ac_cv_header_sys_conf_h" = xyes
8396 then :
8397 printf "%s\n" "#define HAVE_SYS_CONF_H 1" >>confdefs.h
8400 ac_fn_c_check_header_compile "$LINENO" "sys/mount.h" "ac_cv_header_sys_mount_h" "#include <sys/types.h>
8401 #ifdef HAVE_SYS_PARAM_H
8402 # include <sys/param.h>
8403 #endif
8405 if test "x$ac_cv_header_sys_mount_h" = xyes
8406 then :
8407 printf "%s\n" "#define HAVE_SYS_MOUNT_H 1" >>confdefs.h
8410 ac_fn_c_check_header_compile "$LINENO" "sys/statfs.h" "ac_cv_header_sys_statfs_h" "#include <sys/types.h>
8411 #ifdef HAVE_SYS_PARAM_H
8412 # include <sys/param.h>
8413 #endif
8415 if test "x$ac_cv_header_sys_statfs_h" = xyes
8416 then :
8417 printf "%s\n" "#define HAVE_SYS_STATFS_H 1" >>confdefs.h
8420 ac_fn_c_check_header_compile "$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "#include <sys/types.h>
8421 #ifdef HAVE_SYS_PARAM_H
8422 # include <sys/param.h>
8423 #endif
8425 if test "x$ac_cv_header_sys_user_h" = xyes
8426 then :
8427 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8430 ac_fn_c_check_header_compile "$LINENO" "sys/vfs.h" "ac_cv_header_sys_vfs_h" "#include <sys/types.h>
8431 #ifdef HAVE_SYS_PARAM_H
8432 # include <sys/param.h>
8433 #endif
8435 if test "x$ac_cv_header_sys_vfs_h" = xyes
8436 then :
8437 printf "%s\n" "#define HAVE_SYS_VFS_H 1" >>confdefs.h
8442 saved_sysctl_h_CFLAGS=$CFLAGS
8443 test "x${GCC}" != xyes || CFLAGS="$CFLAGS -Werror"
8444 ac_fn_c_check_header_compile "$LINENO" "sys/sysctl.h" "ac_cv_header_sys_sysctl_h" "#include <sys/types.h>
8445 #ifdef HAVE_SYS_PARAM_H
8446 # include <sys/param.h>
8447 #endif
8449 if test "x$ac_cv_header_sys_sysctl_h" = xyes
8450 then :
8451 printf "%s\n" "#define HAVE_SYS_SYSCTL_H 1" >>confdefs.h
8455 CFLAGS=$saved_sysctl_h_CFLAGS
8457 ac_fn_c_check_header_compile "$LINENO" "netinet/ip.h" "ac_cv_header_netinet_ip_h" "#include <sys/types.h>
8458 #include <sys/socket.h>
8459 #ifdef HAVE_SYS_SOCKETVAR_H
8460 # include <sys/socketvar.h>
8461 #endif
8462 #ifdef HAVE_NET_ROUTE_H
8463 # include <net/route.h>
8464 #endif
8465 #ifdef HAVE_NETINET_IN_H
8466 # include <netinet/in.h>
8467 #endif
8468 #ifdef HAVE_NETINET_IN_SYSTM_H
8469 # include <netinet/in_systm.h>
8470 #endif
8471 #ifdef HAVE_NET_IF_H
8472 # include <net/if.h>
8473 #endif
8474 #ifdef HAVE_NETINET_IP_H
8475 # include <netinet/ip.h>
8476 #endif
8478 if test "x$ac_cv_header_netinet_ip_h" = xyes
8479 then :
8480 printf "%s\n" "#define HAVE_NETINET_IP_H 1" >>confdefs.h
8483 ac_fn_c_check_header_compile "$LINENO" "net/if.h" "ac_cv_header_net_if_h" "#include <sys/types.h>
8484 #include <sys/socket.h>
8485 #ifdef HAVE_SYS_SOCKETVAR_H
8486 # include <sys/socketvar.h>
8487 #endif
8488 #ifdef HAVE_NET_ROUTE_H
8489 # include <net/route.h>
8490 #endif
8491 #ifdef HAVE_NETINET_IN_H
8492 # include <netinet/in.h>
8493 #endif
8494 #ifdef HAVE_NETINET_IN_SYSTM_H
8495 # include <netinet/in_systm.h>
8496 #endif
8497 #ifdef HAVE_NET_IF_H
8498 # include <net/if.h>
8499 #endif
8500 #ifdef HAVE_NETINET_IP_H
8501 # include <netinet/ip.h>
8502 #endif
8504 if test "x$ac_cv_header_net_if_h" = xyes
8505 then :
8506 printf "%s\n" "#define HAVE_NET_IF_H 1" >>confdefs.h
8509 ac_fn_c_check_header_compile "$LINENO" "net/if_arp.h" "ac_cv_header_net_if_arp_h" "#include <sys/types.h>
8510 #include <sys/socket.h>
8511 #ifdef HAVE_SYS_SOCKETVAR_H
8512 # include <sys/socketvar.h>
8513 #endif
8514 #ifdef HAVE_NET_ROUTE_H
8515 # include <net/route.h>
8516 #endif
8517 #ifdef HAVE_NETINET_IN_H
8518 # include <netinet/in.h>
8519 #endif
8520 #ifdef HAVE_NETINET_IN_SYSTM_H
8521 # include <netinet/in_systm.h>
8522 #endif
8523 #ifdef HAVE_NET_IF_H
8524 # include <net/if.h>
8525 #endif
8526 #ifdef HAVE_NETINET_IP_H
8527 # include <netinet/ip.h>
8528 #endif
8530 if test "x$ac_cv_header_net_if_arp_h" = xyes
8531 then :
8532 printf "%s\n" "#define HAVE_NET_IF_ARP_H 1" >>confdefs.h
8535 ac_fn_c_check_header_compile "$LINENO" "net/if_dl.h" "ac_cv_header_net_if_dl_h" "#include <sys/types.h>
8536 #include <sys/socket.h>
8537 #ifdef HAVE_SYS_SOCKETVAR_H
8538 # include <sys/socketvar.h>
8539 #endif
8540 #ifdef HAVE_NET_ROUTE_H
8541 # include <net/route.h>
8542 #endif
8543 #ifdef HAVE_NETINET_IN_H
8544 # include <netinet/in.h>
8545 #endif
8546 #ifdef HAVE_NETINET_IN_SYSTM_H
8547 # include <netinet/in_systm.h>
8548 #endif
8549 #ifdef HAVE_NET_IF_H
8550 # include <net/if.h>
8551 #endif
8552 #ifdef HAVE_NETINET_IP_H
8553 # include <netinet/ip.h>
8554 #endif
8556 if test "x$ac_cv_header_net_if_dl_h" = xyes
8557 then :
8558 printf "%s\n" "#define HAVE_NET_IF_DL_H 1" >>confdefs.h
8561 ac_fn_c_check_header_compile "$LINENO" "net/if_types.h" "ac_cv_header_net_if_types_h" "#include <sys/types.h>
8562 #include <sys/socket.h>
8563 #ifdef HAVE_SYS_SOCKETVAR_H
8564 # include <sys/socketvar.h>
8565 #endif
8566 #ifdef HAVE_NET_ROUTE_H
8567 # include <net/route.h>
8568 #endif
8569 #ifdef HAVE_NETINET_IN_H
8570 # include <netinet/in.h>
8571 #endif
8572 #ifdef HAVE_NETINET_IN_SYSTM_H
8573 # include <netinet/in_systm.h>
8574 #endif
8575 #ifdef HAVE_NET_IF_H
8576 # include <net/if.h>
8577 #endif
8578 #ifdef HAVE_NETINET_IP_H
8579 # include <netinet/ip.h>
8580 #endif
8582 if test "x$ac_cv_header_net_if_types_h" = xyes
8583 then :
8584 printf "%s\n" "#define HAVE_NET_IF_TYPES_H 1" >>confdefs.h
8587 ac_fn_c_check_header_compile "$LINENO" "net/route.h" "ac_cv_header_net_route_h" "#include <sys/types.h>
8588 #include <sys/socket.h>
8589 #ifdef HAVE_SYS_SOCKETVAR_H
8590 # include <sys/socketvar.h>
8591 #endif
8592 #ifdef HAVE_NET_ROUTE_H
8593 # include <net/route.h>
8594 #endif
8595 #ifdef HAVE_NETINET_IN_H
8596 # include <netinet/in.h>
8597 #endif
8598 #ifdef HAVE_NETINET_IN_SYSTM_H
8599 # include <netinet/in_systm.h>
8600 #endif
8601 #ifdef HAVE_NET_IF_H
8602 # include <net/if.h>
8603 #endif
8604 #ifdef HAVE_NETINET_IP_H
8605 # include <netinet/ip.h>
8606 #endif
8608 if test "x$ac_cv_header_net_route_h" = xyes
8609 then :
8610 printf "%s\n" "#define HAVE_NET_ROUTE_H 1" >>confdefs.h
8613 ac_fn_c_check_header_compile "$LINENO" "netinet/if_ether.h" "ac_cv_header_netinet_if_ether_h" "#include <sys/types.h>
8614 #include <sys/socket.h>
8615 #ifdef HAVE_SYS_SOCKETVAR_H
8616 # include <sys/socketvar.h>
8617 #endif
8618 #ifdef HAVE_NET_ROUTE_H
8619 # include <net/route.h>
8620 #endif
8621 #ifdef HAVE_NETINET_IN_H
8622 # include <netinet/in.h>
8623 #endif
8624 #ifdef HAVE_NETINET_IN_SYSTM_H
8625 # include <netinet/in_systm.h>
8626 #endif
8627 #ifdef HAVE_NET_IF_H
8628 # include <net/if.h>
8629 #endif
8630 #ifdef HAVE_NETINET_IP_H
8631 # include <netinet/ip.h>
8632 #endif
8634 if test "x$ac_cv_header_netinet_if_ether_h" = xyes
8635 then :
8636 printf "%s\n" "#define HAVE_NETINET_IF_ETHER_H 1" >>confdefs.h
8639 ac_fn_c_check_header_compile "$LINENO" "netinet/in_pcb.h" "ac_cv_header_netinet_in_pcb_h" "#include <sys/types.h>
8640 #include <sys/socket.h>
8641 #ifdef HAVE_SYS_SOCKETVAR_H
8642 # include <sys/socketvar.h>
8643 #endif
8644 #ifdef HAVE_NET_ROUTE_H
8645 # include <net/route.h>
8646 #endif
8647 #ifdef HAVE_NETINET_IN_H
8648 # include <netinet/in.h>
8649 #endif
8650 #ifdef HAVE_NETINET_IN_SYSTM_H
8651 # include <netinet/in_systm.h>
8652 #endif
8653 #ifdef HAVE_NET_IF_H
8654 # include <net/if.h>
8655 #endif
8656 #ifdef HAVE_NETINET_IP_H
8657 # include <netinet/ip.h>
8658 #endif
8660 if test "x$ac_cv_header_netinet_in_pcb_h" = xyes
8661 then :
8662 printf "%s\n" "#define HAVE_NETINET_IN_PCB_H 1" >>confdefs.h
8665 ac_fn_c_check_header_compile "$LINENO" "netinet/ip_icmp.h" "ac_cv_header_netinet_ip_icmp_h" "#include <sys/types.h>
8666 #include <sys/socket.h>
8667 #ifdef HAVE_SYS_SOCKETVAR_H
8668 # include <sys/socketvar.h>
8669 #endif
8670 #ifdef HAVE_NET_ROUTE_H
8671 # include <net/route.h>
8672 #endif
8673 #ifdef HAVE_NETINET_IN_H
8674 # include <netinet/in.h>
8675 #endif
8676 #ifdef HAVE_NETINET_IN_SYSTM_H
8677 # include <netinet/in_systm.h>
8678 #endif
8679 #ifdef HAVE_NET_IF_H
8680 # include <net/if.h>
8681 #endif
8682 #ifdef HAVE_NETINET_IP_H
8683 # include <netinet/ip.h>
8684 #endif
8686 if test "x$ac_cv_header_netinet_ip_icmp_h" = xyes
8687 then :
8688 printf "%s\n" "#define HAVE_NETINET_IP_ICMP_H 1" >>confdefs.h
8691 ac_fn_c_check_header_compile "$LINENO" "netinet/ip_var.h" "ac_cv_header_netinet_ip_var_h" "#include <sys/types.h>
8692 #include <sys/socket.h>
8693 #ifdef HAVE_SYS_SOCKETVAR_H
8694 # include <sys/socketvar.h>
8695 #endif
8696 #ifdef HAVE_NET_ROUTE_H
8697 # include <net/route.h>
8698 #endif
8699 #ifdef HAVE_NETINET_IN_H
8700 # include <netinet/in.h>
8701 #endif
8702 #ifdef HAVE_NETINET_IN_SYSTM_H
8703 # include <netinet/in_systm.h>
8704 #endif
8705 #ifdef HAVE_NET_IF_H
8706 # include <net/if.h>
8707 #endif
8708 #ifdef HAVE_NETINET_IP_H
8709 # include <netinet/ip.h>
8710 #endif
8712 if test "x$ac_cv_header_netinet_ip_var_h" = xyes
8713 then :
8714 printf "%s\n" "#define HAVE_NETINET_IP_VAR_H 1" >>confdefs.h
8717 ac_fn_c_check_header_compile "$LINENO" "netinet/udp.h" "ac_cv_header_netinet_udp_h" "#include <sys/types.h>
8718 #include <sys/socket.h>
8719 #ifdef HAVE_SYS_SOCKETVAR_H
8720 # include <sys/socketvar.h>
8721 #endif
8722 #ifdef HAVE_NET_ROUTE_H
8723 # include <net/route.h>
8724 #endif
8725 #ifdef HAVE_NETINET_IN_H
8726 # include <netinet/in.h>
8727 #endif
8728 #ifdef HAVE_NETINET_IN_SYSTM_H
8729 # include <netinet/in_systm.h>
8730 #endif
8731 #ifdef HAVE_NET_IF_H
8732 # include <net/if.h>
8733 #endif
8734 #ifdef HAVE_NETINET_IP_H
8735 # include <netinet/ip.h>
8736 #endif
8738 if test "x$ac_cv_header_netinet_udp_h" = xyes
8739 then :
8740 printf "%s\n" "#define HAVE_NETINET_UDP_H 1" >>confdefs.h
8743 ac_fn_c_check_header_compile "$LINENO" "netinet6/ip6_var.h" "ac_cv_header_netinet6_ip6_var_h" "#include <sys/types.h>
8744 #include <sys/socket.h>
8745 #ifdef HAVE_SYS_SOCKETVAR_H
8746 # include <sys/socketvar.h>
8747 #endif
8748 #ifdef HAVE_NET_ROUTE_H
8749 # include <net/route.h>
8750 #endif
8751 #ifdef HAVE_NETINET_IN_H
8752 # include <netinet/in.h>
8753 #endif
8754 #ifdef HAVE_NETINET_IN_SYSTM_H
8755 # include <netinet/in_systm.h>
8756 #endif
8757 #ifdef HAVE_NET_IF_H
8758 # include <net/if.h>
8759 #endif
8760 #ifdef HAVE_NETINET_IP_H
8761 # include <netinet/ip.h>
8762 #endif
8764 if test "x$ac_cv_header_netinet6_ip6_var_h" = xyes
8765 then :
8766 printf "%s\n" "#define HAVE_NETINET6_IP6_VAR_H 1" >>confdefs.h
8769 ac_fn_c_check_header_compile "$LINENO" "netipx/ipx.h" "ac_cv_header_netipx_ipx_h" "#include <sys/types.h>
8770 #include <sys/socket.h>
8771 #ifdef HAVE_SYS_SOCKETVAR_H
8772 # include <sys/socketvar.h>
8773 #endif
8774 #ifdef HAVE_NET_ROUTE_H
8775 # include <net/route.h>
8776 #endif
8777 #ifdef HAVE_NETINET_IN_H
8778 # include <netinet/in.h>
8779 #endif
8780 #ifdef HAVE_NETINET_IN_SYSTM_H
8781 # include <netinet/in_systm.h>
8782 #endif
8783 #ifdef HAVE_NET_IF_H
8784 # include <net/if.h>
8785 #endif
8786 #ifdef HAVE_NETINET_IP_H
8787 # include <netinet/ip.h>
8788 #endif
8790 if test "x$ac_cv_header_netipx_ipx_h" = xyes
8791 then :
8792 printf "%s\n" "#define HAVE_NETIPX_IPX_H 1" >>confdefs.h
8795 ac_fn_c_check_header_compile "$LINENO" "sys/un.h" "ac_cv_header_sys_un_h" "#include <sys/types.h>
8796 #include <sys/socket.h>
8797 #ifdef HAVE_SYS_SOCKETVAR_H
8798 # include <sys/socketvar.h>
8799 #endif
8800 #ifdef HAVE_NET_ROUTE_H
8801 # include <net/route.h>
8802 #endif
8803 #ifdef HAVE_NETINET_IN_H
8804 # include <netinet/in.h>
8805 #endif
8806 #ifdef HAVE_NETINET_IN_SYSTM_H
8807 # include <netinet/in_systm.h>
8808 #endif
8809 #ifdef HAVE_NET_IF_H
8810 # include <net/if.h>
8811 #endif
8812 #ifdef HAVE_NETINET_IP_H
8813 # include <netinet/ip.h>
8814 #endif
8816 if test "x$ac_cv_header_sys_un_h" = xyes
8817 then :
8818 printf "%s\n" "#define HAVE_SYS_UN_H 1" >>confdefs.h
8823 ac_fn_c_check_header_compile "$LINENO" "netinet/udp_var.h" "ac_cv_header_netinet_udp_var_h" "#include <sys/types.h>
8824 #include <sys/socket.h>
8825 #ifdef HAVE_SYS_SOCKETVAR_H
8826 # include <sys/socketvar.h>
8827 #endif
8828 #ifdef HAVE_NETINET_IN_H
8829 # include <netinet/in.h>
8830 #endif
8831 #ifdef HAVE_NETINET_IN_SYSTM_H
8832 # include <netinet/in_systm.h>
8833 #endif
8834 #ifdef HAVE_NETINET_IP_H
8835 # include <netinet/ip.h>
8836 #endif
8837 #ifdef HAVE_NETINET_IP_VAR_H
8838 # include <netinet/ip_var.h>
8839 #endif
8840 #ifdef HAVE_NETINET_IP_ICMP_H
8841 # include <netinet/ip_icmp.h>
8842 #endif
8843 #ifdef HAVE_NETINET_UDP_H
8844 # include <netinet/udp.h>
8845 #endif
8846 #ifdef HAVE_NETINET_TCP_H
8847 # include <netinet/tcp.h>
8848 #endif
8850 if test "x$ac_cv_header_netinet_udp_var_h" = xyes
8851 then :
8852 printf "%s\n" "#define HAVE_NETINET_UDP_VAR_H 1" >>confdefs.h
8855 ac_fn_c_check_header_compile "$LINENO" "netinet/icmp_var.h" "ac_cv_header_netinet_icmp_var_h" "#include <sys/types.h>
8856 #include <sys/socket.h>
8857 #ifdef HAVE_SYS_SOCKETVAR_H
8858 # include <sys/socketvar.h>
8859 #endif
8860 #ifdef HAVE_NETINET_IN_H
8861 # include <netinet/in.h>
8862 #endif
8863 #ifdef HAVE_NETINET_IN_SYSTM_H
8864 # include <netinet/in_systm.h>
8865 #endif
8866 #ifdef HAVE_NETINET_IP_H
8867 # include <netinet/ip.h>
8868 #endif
8869 #ifdef HAVE_NETINET_IP_VAR_H
8870 # include <netinet/ip_var.h>
8871 #endif
8872 #ifdef HAVE_NETINET_IP_ICMP_H
8873 # include <netinet/ip_icmp.h>
8874 #endif
8875 #ifdef HAVE_NETINET_UDP_H
8876 # include <netinet/udp.h>
8877 #endif
8878 #ifdef HAVE_NETINET_TCP_H
8879 # include <netinet/tcp.h>
8880 #endif
8882 if test "x$ac_cv_header_netinet_icmp_var_h" = xyes
8883 then :
8884 printf "%s\n" "#define HAVE_NETINET_ICMP_VAR_H 1" >>confdefs.h
8887 ac_fn_c_check_header_compile "$LINENO" "netinet/icmp6.h" "ac_cv_header_netinet_icmp6_h" "#include <sys/types.h>
8888 #include <sys/socket.h>
8889 #ifdef HAVE_SYS_SOCKETVAR_H
8890 # include <sys/socketvar.h>
8891 #endif
8892 #ifdef HAVE_NETINET_IN_H
8893 # include <netinet/in.h>
8894 #endif
8895 #ifdef HAVE_NETINET_IN_SYSTM_H
8896 # include <netinet/in_systm.h>
8897 #endif
8898 #ifdef HAVE_NETINET_IP_H
8899 # include <netinet/ip.h>
8900 #endif
8901 #ifdef HAVE_NETINET_IP_VAR_H
8902 # include <netinet/ip_var.h>
8903 #endif
8904 #ifdef HAVE_NETINET_IP_ICMP_H
8905 # include <netinet/ip_icmp.h>
8906 #endif
8907 #ifdef HAVE_NETINET_UDP_H
8908 # include <netinet/udp.h>
8909 #endif
8910 #ifdef HAVE_NETINET_TCP_H
8911 # include <netinet/tcp.h>
8912 #endif
8914 if test "x$ac_cv_header_netinet_icmp6_h" = xyes
8915 then :
8916 printf "%s\n" "#define HAVE_NETINET_ICMP6_H 1" >>confdefs.h
8919 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp_var.h" "ac_cv_header_netinet_tcp_var_h" "#include <sys/types.h>
8920 #include <sys/socket.h>
8921 #ifdef HAVE_SYS_SOCKETVAR_H
8922 # include <sys/socketvar.h>
8923 #endif
8924 #ifdef HAVE_NETINET_IN_H
8925 # include <netinet/in.h>
8926 #endif
8927 #ifdef HAVE_NETINET_IN_SYSTM_H
8928 # include <netinet/in_systm.h>
8929 #endif
8930 #ifdef HAVE_NETINET_IP_H
8931 # include <netinet/ip.h>
8932 #endif
8933 #ifdef HAVE_NETINET_IP_VAR_H
8934 # include <netinet/ip_var.h>
8935 #endif
8936 #ifdef HAVE_NETINET_IP_ICMP_H
8937 # include <netinet/ip_icmp.h>
8938 #endif
8939 #ifdef HAVE_NETINET_UDP_H
8940 # include <netinet/udp.h>
8941 #endif
8942 #ifdef HAVE_NETINET_TCP_H
8943 # include <netinet/tcp.h>
8944 #endif
8946 if test "x$ac_cv_header_netinet_tcp_var_h" = xyes
8947 then :
8948 printf "%s\n" "#define HAVE_NETINET_TCP_VAR_H 1" >>confdefs.h
8953 ac_fn_c_check_header_compile "$LINENO" "linux/ipx.h" "ac_cv_header_linux_ipx_h" "#include <sys/types.h>
8954 #include <sys/socket.h>
8955 #ifdef HAVE_ASM_TYPES_H
8956 # include <asm/types.h>
8957 #endif
8958 #ifdef HAVE_LINUX_TYPES_H
8959 # include <linux/types.h>
8960 #endif
8962 if test "x$ac_cv_header_linux_ipx_h" = xyes
8963 then :
8964 printf "%s\n" "#define HAVE_LINUX_IPX_H 1" >>confdefs.h
8967 ac_fn_c_check_header_compile "$LINENO" "linux/irda.h" "ac_cv_header_linux_irda_h" "#include <sys/types.h>
8968 #include <sys/socket.h>
8969 #ifdef HAVE_ASM_TYPES_H
8970 # include <asm/types.h>
8971 #endif
8972 #ifdef HAVE_LINUX_TYPES_H
8973 # include <linux/types.h>
8974 #endif
8976 if test "x$ac_cv_header_linux_irda_h" = xyes
8977 then :
8978 printf "%s\n" "#define HAVE_LINUX_IRDA_H 1" >>confdefs.h
8981 ac_fn_c_check_header_compile "$LINENO" "linux/rtnetlink.h" "ac_cv_header_linux_rtnetlink_h" "#include <sys/types.h>
8982 #include <sys/socket.h>
8983 #ifdef HAVE_ASM_TYPES_H
8984 # include <asm/types.h>
8985 #endif
8986 #ifdef HAVE_LINUX_TYPES_H
8987 # include <linux/types.h>
8988 #endif
8990 if test "x$ac_cv_header_linux_rtnetlink_h" = xyes
8991 then :
8992 printf "%s\n" "#define HAVE_LINUX_RTNETLINK_H 1" >>confdefs.h
8997 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
8998 #include <sys/socket.h>
8999 #ifdef HAVE_NETINET_IN_H
9000 # include <netinet/in.h>
9001 #endif
9002 #ifdef HAVE_ARPA_NAMESER_H
9003 # include <arpa/nameser.h>
9004 #endif
9006 if test "x$ac_cv_header_resolv_h" = xyes
9007 then :
9008 printf "%s\n" "#define HAVE_RESOLV_H 1" >>confdefs.h
9013 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
9015 if test "x$ac_cv_header_ifaddrs_h" = xyes
9016 then :
9017 printf "%s\n" "#define HAVE_IFADDRS_H 1" >>confdefs.h
9022 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
9024 if test "x$ac_cv_header_sys_ucontext_h" = xyes
9025 then :
9026 printf "%s\n" "#define HAVE_SYS_UCONTEXT_H 1" >>confdefs.h
9031 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
9032 #ifdef HAVE_SYS_UCONTEXT_H
9033 #include <sys/ucontext.h>
9034 #endif
9036 if test "x$ac_cv_header_sys_thr_h" = xyes
9037 then :
9038 printf "%s\n" "#define HAVE_SYS_THR_H 1" >>confdefs.h
9043 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
9044 #include <pthread.h>
9045 #endif
9047 if test "x$ac_cv_header_pthread_np_h" = xyes
9048 then :
9049 printf "%s\n" "#define HAVE_PTHREAD_NP_H 1" >>confdefs.h
9054 ac_fn_c_check_header_compile "$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "#include <sys/time.h>
9055 #include <sys/types.h>
9056 #ifdef HAVE_ASM_TYPES_H
9057 #include <asm/types.h>
9058 #endif
9060 if test "x$ac_cv_header_linux_videodev2_h" = xyes
9061 then :
9062 printf "%s\n" "#define HAVE_LINUX_VIDEODEV2_H 1" >>confdefs.h
9067 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
9068 #include <sys/param.h>
9069 #endif
9070 #include <sys/socket.h>
9071 #ifdef HAVE_SYS_QUEUE_H
9072 #include <sys/queue.h>
9073 #endif
9075 if test "x$ac_cv_header_libprocstat_h" = xyes
9076 then :
9077 printf "%s\n" "#define HAVE_LIBPROCSTAT_H 1" >>confdefs.h
9082 if test "x$ac_cv_header_sys_xattr_h" = xyes
9083 then
9084 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether getxattr takes additional arguments" >&5
9085 printf %s "checking whether getxattr takes additional arguments... " >&6; }
9086 if test ${wine_cv_xattr_extra_args+y}
9087 then :
9088 printf %s "(cached) " >&6
9089 else $as_nop
9090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9091 /* end confdefs.h. */
9092 #include <sys/xattr.h>
9094 main (void)
9096 getxattr("", "", "", 0, 0, 0);
9098 return 0;
9100 _ACEOF
9101 if ac_fn_c_try_compile "$LINENO"
9102 then :
9103 wine_cv_xattr_extra_args=yes
9104 else $as_nop
9105 wine_cv_xattr_extra_args=no
9107 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9109 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_xattr_extra_args" >&5
9110 printf "%s\n" "$wine_cv_xattr_extra_args" >&6; }
9111 test $wine_cv_xattr_extra_args != yes ||
9112 printf "%s\n" "#define XATTR_ADDITIONAL_OPTIONS 1" >>confdefs.h
9117 DLLFLAGS=""
9119 LDDLLFLAGS=""
9121 LDEXECFLAGS=""
9123 EXTRACFLAGS=""
9125 UNIXDLLFLAGS="-fPIC"
9127 UNIXLDFLAGS="-shared -Wl,-Bsymbolic -Wl,-soname,\$(UNIXLIB)"
9129 TOP_INSTALL_LIB=""
9131 TOP_INSTALL_DEV=""
9133 WINELOADER_LDFLAGS=""
9135 WINEPRELOADER_LDFLAGS=""
9137 LIBEXT="so"
9138 # Extract the first word of "ldd", so it can be a program name with args.
9139 set dummy ldd; ac_word=$2
9140 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9141 printf %s "checking for $ac_word... " >&6; }
9142 if test ${ac_cv_path_LDD+y}
9143 then :
9144 printf %s "(cached) " >&6
9145 else $as_nop
9146 case $LDD in
9147 [\\/]* | ?:[\\/]*)
9148 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
9151 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9152 as_dummy="/sbin:/usr/sbin:$PATH"
9153 for as_dir in $as_dummy
9155 IFS=$as_save_IFS
9156 case $as_dir in #(((
9157 '') as_dir=./ ;;
9158 */) ;;
9159 *) as_dir=$as_dir/ ;;
9160 esac
9161 for ac_exec_ext in '' $ac_executable_extensions; do
9162 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9163 ac_cv_path_LDD="$as_dir$ac_word$ac_exec_ext"
9164 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9165 break 2
9167 done
9168 done
9169 IFS=$as_save_IFS
9171 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
9173 esac
9175 LDD=$ac_cv_path_LDD
9176 if test -n "$LDD"; then
9177 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
9178 printf "%s\n" "$LDD" >&6; }
9179 else
9180 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9181 printf "%s\n" "no" >&6; }
9185 if test -n "$ac_tool_prefix"; then
9186 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
9187 set dummy ${ac_tool_prefix}otool; ac_word=$2
9188 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9189 printf %s "checking for $ac_word... " >&6; }
9190 if test ${ac_cv_prog_OTOOL+y}
9191 then :
9192 printf %s "(cached) " >&6
9193 else $as_nop
9194 if test -n "$OTOOL"; then
9195 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
9196 else
9197 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9198 for as_dir in $PATH
9200 IFS=$as_save_IFS
9201 case $as_dir in #(((
9202 '') as_dir=./ ;;
9203 */) ;;
9204 *) as_dir=$as_dir/ ;;
9205 esac
9206 for ac_exec_ext in '' $ac_executable_extensions; do
9207 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9208 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
9209 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9210 break 2
9212 done
9213 done
9214 IFS=$as_save_IFS
9218 OTOOL=$ac_cv_prog_OTOOL
9219 if test -n "$OTOOL"; then
9220 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
9221 printf "%s\n" "$OTOOL" >&6; }
9222 else
9223 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9224 printf "%s\n" "no" >&6; }
9229 if test -z "$ac_cv_prog_OTOOL"; then
9230 ac_ct_OTOOL=$OTOOL
9231 # Extract the first word of "otool", so it can be a program name with args.
9232 set dummy otool; ac_word=$2
9233 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9234 printf %s "checking for $ac_word... " >&6; }
9235 if test ${ac_cv_prog_ac_ct_OTOOL+y}
9236 then :
9237 printf %s "(cached) " >&6
9238 else $as_nop
9239 if test -n "$ac_ct_OTOOL"; then
9240 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
9241 else
9242 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9243 for as_dir in $PATH
9245 IFS=$as_save_IFS
9246 case $as_dir in #(((
9247 '') as_dir=./ ;;
9248 */) ;;
9249 *) as_dir=$as_dir/ ;;
9250 esac
9251 for ac_exec_ext in '' $ac_executable_extensions; do
9252 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9253 ac_cv_prog_ac_ct_OTOOL="otool"
9254 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9255 break 2
9257 done
9258 done
9259 IFS=$as_save_IFS
9263 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
9264 if test -n "$ac_ct_OTOOL"; then
9265 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
9266 printf "%s\n" "$ac_ct_OTOOL" >&6; }
9267 else
9268 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9269 printf "%s\n" "no" >&6; }
9272 if test "x$ac_ct_OTOOL" = x; then
9273 OTOOL="otool"
9274 else
9275 case $cross_compiling:$ac_tool_warned in
9276 yes:)
9277 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9278 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9279 ac_tool_warned=yes ;;
9280 esac
9281 OTOOL=$ac_ct_OTOOL
9283 else
9284 OTOOL="$ac_cv_prog_OTOOL"
9287 if test -n "$ac_tool_prefix"; then
9288 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
9289 set dummy ${ac_tool_prefix}readelf; ac_word=$2
9290 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9291 printf %s "checking for $ac_word... " >&6; }
9292 if test ${ac_cv_prog_READELF+y}
9293 then :
9294 printf %s "(cached) " >&6
9295 else $as_nop
9296 if test -n "$READELF"; then
9297 ac_cv_prog_READELF="$READELF" # Let the user override the test.
9298 else
9299 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9300 for as_dir in $PATH
9302 IFS=$as_save_IFS
9303 case $as_dir in #(((
9304 '') as_dir=./ ;;
9305 */) ;;
9306 *) as_dir=$as_dir/ ;;
9307 esac
9308 for ac_exec_ext in '' $ac_executable_extensions; do
9309 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9310 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
9311 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9312 break 2
9314 done
9315 done
9316 IFS=$as_save_IFS
9320 READELF=$ac_cv_prog_READELF
9321 if test -n "$READELF"; then
9322 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
9323 printf "%s\n" "$READELF" >&6; }
9324 else
9325 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9326 printf "%s\n" "no" >&6; }
9331 if test -z "$ac_cv_prog_READELF"; then
9332 ac_ct_READELF=$READELF
9333 # Extract the first word of "readelf", so it can be a program name with args.
9334 set dummy readelf; ac_word=$2
9335 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9336 printf %s "checking for $ac_word... " >&6; }
9337 if test ${ac_cv_prog_ac_ct_READELF+y}
9338 then :
9339 printf %s "(cached) " >&6
9340 else $as_nop
9341 if test -n "$ac_ct_READELF"; then
9342 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
9343 else
9344 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9345 for as_dir in $PATH
9347 IFS=$as_save_IFS
9348 case $as_dir in #(((
9349 '') as_dir=./ ;;
9350 */) ;;
9351 *) as_dir=$as_dir/ ;;
9352 esac
9353 for ac_exec_ext in '' $ac_executable_extensions; do
9354 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9355 ac_cv_prog_ac_ct_READELF="readelf"
9356 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9357 break 2
9359 done
9360 done
9361 IFS=$as_save_IFS
9365 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
9366 if test -n "$ac_ct_READELF"; then
9367 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
9368 printf "%s\n" "$ac_ct_READELF" >&6; }
9369 else
9370 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9371 printf "%s\n" "no" >&6; }
9374 if test "x$ac_ct_READELF" = x; then
9375 READELF="true"
9376 else
9377 case $cross_compiling:$ac_tool_warned in
9378 yes:)
9379 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9380 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9381 ac_tool_warned=yes ;;
9382 esac
9383 READELF=$ac_ct_READELF
9385 else
9386 READELF="$ac_cv_prog_READELF"
9389 wine_rules="all:"
9390 SUBDIRS=""
9392 DISABLED_SUBDIRS=""
9394 CONFIGURE_TARGETS=""
9397 wine_fn_config_makefile ()
9399 as_fn_append SUBDIRS " \\$as_nl $1"
9400 eval enable=\$$2
9401 case "$enable" in
9402 no) as_fn_append DISABLED_SUBDIRS " $1" ;;
9403 *aarch64*|*arm*|*i386*|*x86_64*)
9404 if test -n "$PE_ARCHS"
9405 then
9406 for i in $PE_ARCHS
9408 test $(expr ",$enable," : ".*,$i,") -gt 0 || as_fn_append ${i}_DISABLED_SUBDIRS " $1"
9409 done
9410 else
9411 test $(expr ",$enable," : ".*,$HOST_ARCH,") -gt 0 || as_fn_append DISABLED_SUBDIRS " $1"
9412 fi;;
9413 esac
9416 wine_fn_config_symlink ()
9418 ac_links=$@
9419 as_fn_append wine_rules "
9420 $ac_links:
9421 @./config.status \$@"
9422 for f in $ac_links; do as_fn_append CONFIGURE_TARGETS " $f"; done
9425 case $host_os in
9426 cygwin*|mingw32*)
9427 LIBEXT="dll"
9428 EXTRACFLAGS="-D__WINE_PE_BUILD"
9429 case $host_cpu in
9430 *i[3456]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--disable-stdcall-fixup" >&5
9431 printf %s "checking whether the compiler supports -Wl,--disable-stdcall-fixup... " >&6; }
9432 if test ${ac_cv_cflags__Wl___disable_stdcall_fixup+y}
9433 then :
9434 printf %s "(cached) " >&6
9435 else $as_nop
9436 ac_wine_try_cflags_saved=$CFLAGS
9437 CFLAGS="$CFLAGS -Wl,--disable-stdcall-fixup"
9438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9439 /* end confdefs.h. */
9440 int main(int argc, char **argv) { return 0; }
9441 _ACEOF
9442 if ac_fn_c_try_link "$LINENO"
9443 then :
9444 ac_cv_cflags__Wl___disable_stdcall_fixup=yes
9445 else $as_nop
9446 ac_cv_cflags__Wl___disable_stdcall_fixup=no
9448 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9449 conftest$ac_exeext conftest.$ac_ext
9450 CFLAGS=$ac_wine_try_cflags_saved
9452 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___disable_stdcall_fixup" >&5
9453 printf "%s\n" "$ac_cv_cflags__Wl___disable_stdcall_fixup" >&6; }
9454 if test "x$ac_cv_cflags__Wl___disable_stdcall_fixup" = xyes
9455 then :
9456 LDDLLFLAGS="-Wl,--disable-stdcall-fixup"
9457 fi ;;
9458 esac
9459 enable_loader=${enable_loader:-no}
9460 enable_server=${enable_server:-no}
9461 with_x=${with_x:-no}
9462 with_pthread=${with_pthread:-no}
9465 darwin*|macosx*)
9466 LIBEXT="dylib"
9467 DLLFLAGS="$DLLFLAGS -fPIC"
9468 LDDLLFLAGS="-fPIC"
9469 enable_winemac_drv=${enable_winemac_drv:-yes}
9470 CARBON_LIBS="-framework Carbon"
9472 COREFOUNDATION_LIBS="-framework CoreFoundation"
9474 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
9476 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
9478 METAL_LIBS="-framework Metal"
9480 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
9482 CORESERVICES_LIBS="-framework CoreServices"
9484 APPKIT_LIBS="-framework AppKit"
9486 SECURITY_LIBS="-framework Security -framework CoreFoundation"
9488 SYSTEMCONFIGURATION_LIBS="-framework SystemConfiguration"
9491 WINELOADER_LDFLAGS="-Wl,-pie,-segalign,0x1000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist"
9493 wine_can_build_preloader=yes
9494 WINEPRELOADER_LDFLAGS="-nostartfiles -nodefaultlibs -e _start -ldylib1.o -Wl,-image_base,0x7d400000,-segalign,0x1000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist,-segaddr,WINE_4GB_RESERVE,0x100000000"
9495 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main" >&5
9496 printf %s "checking whether the compiler supports -Wl,-no_new_main -e _main... " >&6; }
9497 if test ${ac_cv_cflags__Wl__no_new_main__e__main+y}
9498 then :
9499 printf %s "(cached) " >&6
9500 else $as_nop
9501 ac_wine_try_cflags_saved=$CFLAGS
9502 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main"
9503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9504 /* end confdefs.h. */
9505 int main(int argc, char **argv) { return 0; }
9506 _ACEOF
9507 if ac_fn_c_try_link "$LINENO"
9508 then :
9509 ac_cv_cflags__Wl__no_new_main__e__main=yes
9510 else $as_nop
9511 ac_cv_cflags__Wl__no_new_main__e__main=no
9513 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9514 conftest$ac_exeext conftest.$ac_ext
9515 CFLAGS=$ac_wine_try_cflags_saved
9517 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main" >&5
9518 printf "%s\n" "$ac_cv_cflags__Wl__no_new_main__e__main" >&6; }
9519 if test "x$ac_cv_cflags__Wl__no_new_main__e__main" = xyes
9520 then :
9521 WINEPRELOADER_LDFLAGS="-Wl,-no_new_main $WINEPRELOADER_LDFLAGS"
9522 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
9523 printf %s "checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
9524 if test ${ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+y}
9525 then :
9526 printf %s "(cached) " >&6
9527 else $as_nop
9528 ac_wine_try_cflags_saved=$CFLAGS
9529 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
9530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9531 /* end confdefs.h. */
9532 int main(int argc, char **argv) { return 0; }
9533 _ACEOF
9534 if ac_fn_c_try_link "$LINENO"
9535 then :
9536 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
9537 else $as_nop
9538 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
9540 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9541 conftest$ac_exeext conftest.$ac_ext
9542 CFLAGS=$ac_wine_try_cflags_saved
9544 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
9545 printf "%s\n" "$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
9546 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes
9547 then :
9548 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
9549 else $as_nop
9550 wine_can_build_preloader=no
9552 else $as_nop
9553 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
9554 printf %s "checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
9555 if test ${ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+y}
9556 then :
9557 printf %s "(cached) " >&6
9558 else $as_nop
9559 ac_wine_try_cflags_saved=$CFLAGS
9560 CFLAGS="$CFLAGS -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
9561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9562 /* end confdefs.h. */
9563 int main(int argc, char **argv) { return 0; }
9564 _ACEOF
9565 if ac_fn_c_try_link "$LINENO"
9566 then :
9567 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
9568 else $as_nop
9569 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
9571 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9572 conftest$ac_exeext conftest.$ac_ext
9573 CFLAGS=$ac_wine_try_cflags_saved
9575 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
9576 printf "%s\n" "$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
9577 if test "x$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes
9578 then :
9579 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
9580 else $as_nop
9581 wine_can_build_preloader=no
9584 if test "$wine_can_build_preloader" = "yes"
9585 then
9586 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
9587 printf %s "checking whether the compiler supports -Wl,-no_pie... " >&6; }
9588 if test ${ac_cv_cflags__Wl__no_pie+y}
9589 then :
9590 printf %s "(cached) " >&6
9591 else $as_nop
9592 ac_wine_try_cflags_saved=$CFLAGS
9593 CFLAGS="$CFLAGS -Wl,-no_pie"
9594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9595 /* end confdefs.h. */
9596 int main(int argc, char **argv) { return 0; }
9597 _ACEOF
9598 if ac_fn_c_try_link "$LINENO"
9599 then :
9600 ac_cv_cflags__Wl__no_pie=yes
9601 else $as_nop
9602 ac_cv_cflags__Wl__no_pie=no
9604 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9605 conftest$ac_exeext conftest.$ac_ext
9606 CFLAGS=$ac_wine_try_cflags_saved
9608 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
9609 printf "%s\n" "$ac_cv_cflags__Wl__no_pie" >&6; }
9610 if test "x$ac_cv_cflags__Wl__no_pie" = xyes
9611 then :
9612 WINEPRELOADER_LDFLAGS="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
9614 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -mmacosx-version-min=10.7"
9615 else
9616 as_fn_append wine_warnings "|can't build Wine preloader; many programs won't work"
9619 if test "x$with_coreaudio" != "xno";
9620 then
9621 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
9623 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
9625 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
9626 then
9627 OPENCL_LIBS="-framework OpenCL"
9629 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
9632 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether MTLDevice protocol supports registryID property" >&5
9633 printf %s "checking whether MTLDevice protocol supports registryID property... " >&6; }
9634 ac_ext=m
9635 ac_cpp='$OBJCPP $CPPFLAGS'
9636 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9637 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9638 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9640 ac_ext=m
9641 ac_cpp='$OBJCPP $CPPFLAGS'
9642 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9643 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9644 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9645 if test -n "$ac_tool_prefix"; then
9646 for ac_prog in gcc objcc objc cc CC clang
9648 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
9649 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
9650 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9651 printf %s "checking for $ac_word... " >&6; }
9652 if test ${ac_cv_prog_OBJC+y}
9653 then :
9654 printf %s "(cached) " >&6
9655 else $as_nop
9656 if test -n "$OBJC"; then
9657 ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
9658 else
9659 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9660 for as_dir in $PATH
9662 IFS=$as_save_IFS
9663 case $as_dir in #(((
9664 '') as_dir=./ ;;
9665 */) ;;
9666 *) as_dir=$as_dir/ ;;
9667 esac
9668 for ac_exec_ext in '' $ac_executable_extensions; do
9669 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9670 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
9671 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9672 break 2
9674 done
9675 done
9676 IFS=$as_save_IFS
9680 OBJC=$ac_cv_prog_OBJC
9681 if test -n "$OBJC"; then
9682 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
9683 printf "%s\n" "$OBJC" >&6; }
9684 else
9685 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9686 printf "%s\n" "no" >&6; }
9690 test -n "$OBJC" && break
9691 done
9693 if test -z "$OBJC"; then
9694 ac_ct_OBJC=$OBJC
9695 for ac_prog in gcc objcc objc cc CC clang
9697 # Extract the first word of "$ac_prog", so it can be a program name with args.
9698 set dummy $ac_prog; ac_word=$2
9699 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9700 printf %s "checking for $ac_word... " >&6; }
9701 if test ${ac_cv_prog_ac_ct_OBJC+y}
9702 then :
9703 printf %s "(cached) " >&6
9704 else $as_nop
9705 if test -n "$ac_ct_OBJC"; then
9706 ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
9707 else
9708 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9709 for as_dir in $PATH
9711 IFS=$as_save_IFS
9712 case $as_dir in #(((
9713 '') as_dir=./ ;;
9714 */) ;;
9715 *) as_dir=$as_dir/ ;;
9716 esac
9717 for ac_exec_ext in '' $ac_executable_extensions; do
9718 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9719 ac_cv_prog_ac_ct_OBJC="$ac_prog"
9720 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9721 break 2
9723 done
9724 done
9725 IFS=$as_save_IFS
9729 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
9730 if test -n "$ac_ct_OBJC"; then
9731 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
9732 printf "%s\n" "$ac_ct_OBJC" >&6; }
9733 else
9734 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9735 printf "%s\n" "no" >&6; }
9739 test -n "$ac_ct_OBJC" && break
9740 done
9742 if test "x$ac_ct_OBJC" = x; then
9743 OBJC="gcc"
9744 else
9745 case $cross_compiling:$ac_tool_warned in
9746 yes:)
9747 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9748 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9749 ac_tool_warned=yes ;;
9750 esac
9751 OBJC=$ac_ct_OBJC
9755 # Provide some information about the compiler.
9756 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
9757 set X $ac_compile
9758 ac_compiler=$2
9759 for ac_option in --version -v -V -qversion; do
9760 { { ac_try="$ac_compiler $ac_option >&5"
9761 case "(($ac_try" in
9762 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9763 *) ac_try_echo=$ac_try;;
9764 esac
9765 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
9766 printf "%s\n" "$ac_try_echo"; } >&5
9767 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
9768 ac_status=$?
9769 if test -s conftest.err; then
9770 sed '10a\
9771 ... rest of stderr output deleted ...
9772 10q' conftest.err >conftest.er1
9773 cat conftest.er1 >&5
9775 rm -f conftest.er1 conftest.err
9776 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9777 test $ac_status = 0; }
9778 done
9780 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU Objective C" >&5
9781 printf %s "checking whether the compiler supports GNU Objective C... " >&6; }
9782 if test ${ac_cv_objc_compiler_gnu+y}
9783 then :
9784 printf %s "(cached) " >&6
9785 else $as_nop
9786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9787 /* end confdefs.h. */
9790 main (void)
9792 #ifndef __GNUC__
9793 choke me
9794 #endif
9797 return 0;
9799 _ACEOF
9800 if ac_fn_objc_try_compile "$LINENO"
9801 then :
9802 ac_compiler_gnu=yes
9803 else $as_nop
9804 ac_compiler_gnu=no
9806 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9807 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
9810 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
9811 printf "%s\n" "$ac_cv_objc_compiler_gnu" >&6; }
9812 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9814 if test $ac_compiler_gnu = yes; then
9815 GOBJC=yes
9816 else
9817 GOBJC=
9819 ac_test_OBJCFLAGS=${OBJCFLAGS+y}
9820 ac_save_OBJCFLAGS=$OBJCFLAGS
9821 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
9822 printf %s "checking whether $OBJC accepts -g... " >&6; }
9823 if test ${ac_cv_prog_objc_g+y}
9824 then :
9825 printf %s "(cached) " >&6
9826 else $as_nop
9827 ac_save_objc_werror_flag=$ac_objc_werror_flag
9828 ac_objc_werror_flag=yes
9829 ac_cv_prog_objc_g=no
9830 OBJCFLAGS="-g"
9831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9832 /* end confdefs.h. */
9835 main (void)
9839 return 0;
9841 _ACEOF
9842 if ac_fn_objc_try_compile "$LINENO"
9843 then :
9844 ac_cv_prog_objc_g=yes
9845 else $as_nop
9846 OBJCFLAGS=""
9847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9848 /* end confdefs.h. */
9851 main (void)
9855 return 0;
9857 _ACEOF
9858 if ac_fn_objc_try_compile "$LINENO"
9859 then :
9861 else $as_nop
9862 ac_objc_werror_flag=$ac_save_objc_werror_flag
9863 OBJCFLAGS="-g"
9864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9865 /* end confdefs.h. */
9868 main (void)
9872 return 0;
9874 _ACEOF
9875 if ac_fn_objc_try_compile "$LINENO"
9876 then :
9877 ac_cv_prog_objc_g=yes
9879 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9881 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9883 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9884 ac_objc_werror_flag=$ac_save_objc_werror_flag
9886 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
9887 printf "%s\n" "$ac_cv_prog_objc_g" >&6; }
9888 if test $ac_test_OBJCFLAGS; then
9889 OBJCFLAGS=$ac_save_OBJCFLAGS
9890 elif test $ac_cv_prog_objc_g = yes; then
9891 if test "$GOBJC" = yes; then
9892 OBJCFLAGS="-g -O2"
9893 else
9894 OBJCFLAGS="-g"
9896 else
9897 if test "$GOBJC" = yes; then
9898 OBJCFLAGS="-O2"
9899 else
9900 OBJCFLAGS=
9903 ac_ext=m
9904 ac_cpp='$OBJCPP $CPPFLAGS'
9905 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9906 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9907 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9911 /* end confdefs.h. */
9912 #include <Metal/Metal.h>
9914 main (void)
9916 id<MTLDevice> device; device.registryID;
9918 return 0;
9920 _ACEOF
9921 if ac_fn_objc_try_compile "$LINENO"
9922 then :
9923 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9924 printf "%s\n" "yes" >&6; }
9926 printf "%s\n" "#define HAVE_MTLDEVICE_REGISTRYID 1" >>confdefs.h
9928 else $as_nop
9929 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9930 printf "%s\n" "no" >&6; }
9932 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9933 ac_ext=c
9934 ac_cpp='$CPP $CPPFLAGS'
9935 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9936 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9937 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9940 UNIXLDFLAGS="-dynamiclib -install_name @rpath/\$(UNIXLIB) -Wl,-rpath,@loader_path\/"
9941 WINELOADER_DEPENDS="wine_info.plist"
9945 linux-android*)
9947 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
9949 DLLFLAGS="$DLLFLAGS -fPIC"
9950 LDDLLFLAGS="-fPIC"
9951 LDEXECFLAGS="-Wl,-pie"
9952 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
9953 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
9954 printf %s "checking whether the compiler supports -Wl,-z,defs... " >&6; }
9955 if test ${ac_cv_cflags__Wl__z_defs+y}
9956 then :
9957 printf %s "(cached) " >&6
9958 else $as_nop
9959 ac_wine_try_cflags_saved=$CFLAGS
9960 CFLAGS="$CFLAGS -Wl,-z,defs"
9961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9962 /* end confdefs.h. */
9963 int main(int argc, char **argv) { return 0; }
9964 _ACEOF
9965 if ac_fn_c_try_link "$LINENO"
9966 then :
9967 ac_cv_cflags__Wl__z_defs=yes
9968 else $as_nop
9969 ac_cv_cflags__Wl__z_defs=no
9971 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9972 conftest$ac_exeext conftest.$ac_ext
9973 CFLAGS=$ac_wine_try_cflags_saved
9975 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
9976 printf "%s\n" "$ac_cv_cflags__Wl__z_defs" >&6; }
9977 if test "x$ac_cv_cflags__Wl__z_defs" = xyes
9978 then :
9979 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
9981 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
9982 printf %s "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
9983 if test ${ac_cv_cflags__fPIC__Wl___export_dynamic+y}
9984 then :
9985 printf %s "(cached) " >&6
9986 else $as_nop
9987 ac_wine_try_cflags_saved=$CFLAGS
9988 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
9989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9990 /* end confdefs.h. */
9991 int main(int argc, char **argv) { return 0; }
9992 _ACEOF
9993 if ac_fn_c_try_link "$LINENO"
9994 then :
9995 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
9996 else $as_nop
9997 ac_cv_cflags__fPIC__Wl___export_dynamic=no
9999 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10000 conftest$ac_exeext conftest.$ac_ext
10001 CFLAGS=$ac_wine_try_cflags_saved
10003 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
10004 printf "%s\n" "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
10005 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
10006 then :
10007 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
10009 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
10011 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
10012 printf %s "checking for -lEGL... " >&6; }
10013 if test ${ac_cv_lib_soname_EGL+y}
10014 then :
10015 printf %s "(cached) " >&6
10016 else $as_nop
10017 ac_check_soname_save_LIBS=$LIBS
10018 LIBS="-lEGL $LIBS"
10019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10020 /* end confdefs.h. */
10022 /* Override any GCC internal prototype to avoid an error.
10023 Use char because int might match the return type of a GCC
10024 builtin and then its argument prototype would still apply. */
10025 char eglGetProcAddress ();
10027 main (void)
10029 return eglGetProcAddress ();
10031 return 0;
10033 _ACEOF
10034 if ac_fn_c_try_link "$LINENO"
10035 then :
10036 case "$LIBEXT" in
10037 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10038 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'` ;;
10039 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10040 if ${ac_cv_lib_soname_EGL:+false} :
10041 then :
10042 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10043 fi ;;
10044 esac
10045 else $as_nop
10046 ac_cv_lib_soname_EGL=
10048 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10049 conftest$ac_exeext conftest.$ac_ext
10050 LIBS=$ac_check_soname_save_LIBS
10052 if ${ac_cv_lib_soname_EGL:+false} :
10053 then :
10054 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10055 printf "%s\n" "not found" >&6; }
10057 else $as_nop
10058 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
10059 printf "%s\n" "$ac_cv_lib_soname_EGL" >&6; }
10061 printf "%s\n" "#define SONAME_LIBEGL \"$ac_cv_lib_soname_EGL\"" >>confdefs.h
10065 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
10066 printf %s "checking for -lGLESv2... " >&6; }
10067 if test ${ac_cv_lib_soname_GLESv2+y}
10068 then :
10069 printf %s "(cached) " >&6
10070 else $as_nop
10071 ac_check_soname_save_LIBS=$LIBS
10072 LIBS="-lGLESv2 $LIBS"
10073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10074 /* end confdefs.h. */
10076 /* Override any GCC internal prototype to avoid an error.
10077 Use char because int might match the return type of a GCC
10078 builtin and then its argument prototype would still apply. */
10079 char glFlush ();
10081 main (void)
10083 return glFlush ();
10085 return 0;
10087 _ACEOF
10088 if ac_fn_c_try_link "$LINENO"
10089 then :
10090 case "$LIBEXT" in
10091 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10092 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'` ;;
10093 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10094 if ${ac_cv_lib_soname_GLESv2:+false} :
10095 then :
10096 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10097 fi ;;
10098 esac
10099 else $as_nop
10100 ac_cv_lib_soname_GLESv2=
10102 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10103 conftest$ac_exeext conftest.$ac_ext
10104 LIBS=$ac_check_soname_save_LIBS
10106 if ${ac_cv_lib_soname_GLESv2:+false} :
10107 then :
10108 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10109 printf "%s\n" "not found" >&6; }
10111 else $as_nop
10112 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
10113 printf "%s\n" "$ac_cv_lib_soname_GLESv2" >&6; }
10115 printf "%s\n" "#define SONAME_LIBGLESV2 \"$ac_cv_lib_soname_GLESv2\"" >>confdefs.h
10120 if test "x$exec_prefix" = xNONE
10121 then
10122 case $host_cpu in
10123 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
10124 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
10125 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
10126 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
10127 esac
10133 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
10135 test "$ac_cv_sys_file_offset_bits" = 64 &&
10136 printf "%s\n" "#define _TIME_BITS 64" >>confdefs.h
10138 case $host_cpu in
10139 *i[3456789]86*)
10140 DLLFLAGS="$DLLFLAGS -fno-PIC"
10141 LDDLLFLAGS="-fno-PIC"
10142 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-PIC -Wl,-z,notext" >&5
10143 printf %s "checking whether the compiler supports -fno-PIC -Wl,-z,notext... " >&6; }
10144 if test ${ac_cv_cflags__fno_PIC__Wl__z_notext+y}
10145 then :
10146 printf %s "(cached) " >&6
10147 else $as_nop
10148 ac_wine_try_cflags_saved=$CFLAGS
10149 CFLAGS="$CFLAGS -fno-PIC -Wl,-z,notext"
10150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10151 /* end confdefs.h. */
10152 int main(int argc, char **argv) { return 0; }
10153 _ACEOF
10154 if ac_fn_c_try_link "$LINENO"
10155 then :
10156 ac_cv_cflags__fno_PIC__Wl__z_notext=yes
10157 else $as_nop
10158 ac_cv_cflags__fno_PIC__Wl__z_notext=no
10160 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10161 conftest$ac_exeext conftest.$ac_ext
10162 CFLAGS=$ac_wine_try_cflags_saved
10164 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_PIC__Wl__z_notext" >&5
10165 printf "%s\n" "$ac_cv_cflags__fno_PIC__Wl__z_notext" >&6; }
10166 if test "x$ac_cv_cflags__fno_PIC__Wl__z_notext" = xyes
10167 then :
10168 LDDLLFLAGS="$LDDLLFLAGS -Wl,-z,notext"
10172 DLLFLAGS="$DLLFLAGS -fPIC"
10173 LDDLLFLAGS="-fPIC" ;;
10174 esac
10176 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
10177 printf %s "checking whether the compiler supports -Wl,-z,defs... " >&6; }
10178 if test ${ac_cv_cflags__Wl__z_defs+y}
10179 then :
10180 printf %s "(cached) " >&6
10181 else $as_nop
10182 ac_wine_try_cflags_saved=$CFLAGS
10183 CFLAGS="$CFLAGS -Wl,-z,defs"
10184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10185 /* end confdefs.h. */
10186 int main(int argc, char **argv) { return 0; }
10187 _ACEOF
10188 if ac_fn_c_try_link "$LINENO"
10189 then :
10190 ac_cv_cflags__Wl__z_defs=yes
10191 else $as_nop
10192 ac_cv_cflags__Wl__z_defs=no
10194 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10195 conftest$ac_exeext conftest.$ac_ext
10196 CFLAGS=$ac_wine_try_cflags_saved
10198 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
10199 printf "%s\n" "$ac_cv_cflags__Wl__z_defs" >&6; }
10200 if test "x$ac_cv_cflags__Wl__z_defs" = xyes
10201 then :
10202 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
10204 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--export-dynamic" >&5
10205 printf %s "checking whether the compiler supports -Wl,--export-dynamic... " >&6; }
10206 if test ${ac_cv_cflags__Wl___export_dynamic+y}
10207 then :
10208 printf %s "(cached) " >&6
10209 else $as_nop
10210 ac_wine_try_cflags_saved=$CFLAGS
10211 CFLAGS="$CFLAGS -Wl,--export-dynamic"
10212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10213 /* end confdefs.h. */
10214 int main(int argc, char **argv) { return 0; }
10215 _ACEOF
10216 if ac_fn_c_try_link "$LINENO"
10217 then :
10218 ac_cv_cflags__Wl___export_dynamic=yes
10219 else $as_nop
10220 ac_cv_cflags__Wl___export_dynamic=no
10222 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10223 conftest$ac_exeext conftest.$ac_ext
10224 CFLAGS=$ac_wine_try_cflags_saved
10226 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___export_dynamic" >&5
10227 printf "%s\n" "$ac_cv_cflags__Wl___export_dynamic" >&6; }
10228 if test "x$ac_cv_cflags__Wl___export_dynamic" = xyes
10229 then :
10230 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
10232 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
10234 case $host_cpu in
10235 *i[3456789]86* | x86_64 | *aarch64* | arm*)
10236 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
10237 printf %s "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
10238 if test ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+y}
10239 then :
10240 printf %s "(cached) " >&6
10241 else $as_nop
10242 ac_wine_try_cflags_saved=$CFLAGS
10243 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
10244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10245 /* end confdefs.h. */
10246 int main(int argc, char **argv) { return 0; }
10247 _ACEOF
10248 if ac_fn_c_try_link "$LINENO"
10249 then :
10250 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
10251 else $as_nop
10252 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
10254 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10255 conftest$ac_exeext conftest.$ac_ext
10256 CFLAGS=$ac_wine_try_cflags_saved
10258 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
10259 printf "%s\n" "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
10260 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes
10261 then :
10262 case $host_os in
10263 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
10264 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7d000000" ;;
10265 esac
10266 else $as_nop
10267 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400" >&5
10268 printf %s "checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400... " >&6; }
10269 if test ${ac_cv_cflags__Wl___section_start__interp_0x7d000400+y}
10270 then :
10271 printf %s "(cached) " >&6
10272 else $as_nop
10273 ac_wine_try_cflags_saved=$CFLAGS
10274 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7d000400"
10275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10276 /* end confdefs.h. */
10277 int main(int argc, char **argv) { return 0; }
10278 _ACEOF
10279 if ac_fn_c_try_link "$LINENO"
10280 then :
10281 ac_cv_cflags__Wl___section_start__interp_0x7d000400=yes
10282 else $as_nop
10283 ac_cv_cflags__Wl___section_start__interp_0x7d000400=no
10285 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10286 conftest$ac_exeext conftest.$ac_ext
10287 CFLAGS=$ac_wine_try_cflags_saved
10289 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&5
10290 printf "%s\n" "$ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&6; }
10291 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7d000400" = xyes
10292 then :
10293 case $host_os in
10294 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
10295 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7d000400" ;;
10296 esac
10299 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
10300 printf %s "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
10301 if test ${ac_cv_cflags__Wl__z_max_page_size_0x1000+y}
10302 then :
10303 printf %s "(cached) " >&6
10304 else $as_nop
10305 ac_wine_try_cflags_saved=$CFLAGS
10306 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
10307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10308 /* end confdefs.h. */
10309 int main(int argc, char **argv) { return 0; }
10310 _ACEOF
10311 if ac_fn_c_try_link "$LINENO"
10312 then :
10313 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
10314 else $as_nop
10315 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
10317 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10318 conftest$ac_exeext conftest.$ac_ext
10319 CFLAGS=$ac_wine_try_cflags_saved
10321 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
10322 printf "%s\n" "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
10323 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes
10324 then :
10325 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
10328 esac
10330 esac
10332 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
10333 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
10334 enable_winemac_drv=${enable_winemac_drv:-no}
10336 PE_ARCHS=""
10338 cross_archs=
10339 if test ${enable_archs+y}
10340 then :
10341 test "x$with_system_dllpath" = "x" || as_fn_error $? "\"The --with-system-dllpath option is not compatible with --enable-archs\"" "$LINENO" 5
10342 ac_save_IFS=$IFS
10343 IFS=' ,'
10344 set x $enable_archs
10345 IFS=$ac_save_IFS
10346 shift
10347 for arch
10349 case $arch in
10350 i386|x86_64|arm|aarch64) cross_archs="$cross_archs $arch" ;;
10351 *) as_fn_error $? "Unknown cross-compilation architecture '$arch'" "$LINENO" 5 ;;
10352 esac
10353 done
10354 else $as_nop
10355 if test "x$with_mingw" != xno
10356 then
10357 test $HOST_ARCH = unknown || cross_archs=$HOST_ARCH
10358 case "x$with_mingw" in
10359 x|xyes) ;;
10360 *) eval "${cross_archs}_CC=\$with_mingw" ;;
10361 esac
10365 for wine_arch in $cross_archs
10367 if eval \${${wine_arch}_CC:+false} :
10368 then :
10369 case $wine_arch in
10370 aarch64)
10371 for ac_prog in aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc clang
10373 # Extract the first word of "$ac_prog", so it can be a program name with args.
10374 set dummy $ac_prog; ac_word=$2
10375 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10376 printf %s "checking for $ac_word... " >&6; }
10377 if test ${ac_cv_prog_aarch64_CC+y}
10378 then :
10379 printf %s "(cached) " >&6
10380 else $as_nop
10381 if test -n "$aarch64_CC"; then
10382 ac_cv_prog_aarch64_CC="$aarch64_CC" # Let the user override the test.
10383 else
10384 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10385 for as_dir in $PATH
10387 IFS=$as_save_IFS
10388 case $as_dir in #(((
10389 '') as_dir=./ ;;
10390 */) ;;
10391 *) as_dir=$as_dir/ ;;
10392 esac
10393 for ac_exec_ext in '' $ac_executable_extensions; do
10394 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10395 ac_cv_prog_aarch64_CC="$ac_prog"
10396 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10397 break 2
10399 done
10400 done
10401 IFS=$as_save_IFS
10405 aarch64_CC=$ac_cv_prog_aarch64_CC
10406 if test -n "$aarch64_CC"; then
10407 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $aarch64_CC" >&5
10408 printf "%s\n" "$aarch64_CC" >&6; }
10409 else
10410 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10411 printf "%s\n" "no" >&6; }
10415 test -n "$aarch64_CC" && break
10416 done
10417 test -n "$aarch64_CC" || aarch64_CC="false"
10420 arm)
10421 for ac_prog in armv7-w64-mingw32-clang armv7-w64-mingw32-gcc clang
10423 # Extract the first word of "$ac_prog", so it can be a program name with args.
10424 set dummy $ac_prog; ac_word=$2
10425 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10426 printf %s "checking for $ac_word... " >&6; }
10427 if test ${ac_cv_prog_arm_CC+y}
10428 then :
10429 printf %s "(cached) " >&6
10430 else $as_nop
10431 if test -n "$arm_CC"; then
10432 ac_cv_prog_arm_CC="$arm_CC" # Let the user override the test.
10433 else
10434 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10435 for as_dir in $PATH
10437 IFS=$as_save_IFS
10438 case $as_dir in #(((
10439 '') as_dir=./ ;;
10440 */) ;;
10441 *) as_dir=$as_dir/ ;;
10442 esac
10443 for ac_exec_ext in '' $ac_executable_extensions; do
10444 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10445 ac_cv_prog_arm_CC="$ac_prog"
10446 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10447 break 2
10449 done
10450 done
10451 IFS=$as_save_IFS
10455 arm_CC=$ac_cv_prog_arm_CC
10456 if test -n "$arm_CC"; then
10457 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $arm_CC" >&5
10458 printf "%s\n" "$arm_CC" >&6; }
10459 else
10460 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10461 printf "%s\n" "no" >&6; }
10465 test -n "$arm_CC" && break
10466 done
10467 test -n "$arm_CC" || arm_CC="false"
10470 i386)
10471 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 "
10472 for ac_prog in $ac_prefix_list clang
10474 # Extract the first word of "$ac_prog", so it can be a program name with args.
10475 set dummy $ac_prog; ac_word=$2
10476 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10477 printf %s "checking for $ac_word... " >&6; }
10478 if test ${ac_cv_prog_i386_CC+y}
10479 then :
10480 printf %s "(cached) " >&6
10481 else $as_nop
10482 if test -n "$i386_CC"; then
10483 ac_cv_prog_i386_CC="$i386_CC" # Let the user override the test.
10484 else
10485 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10486 for as_dir in $PATH
10488 IFS=$as_save_IFS
10489 case $as_dir in #(((
10490 '') as_dir=./ ;;
10491 */) ;;
10492 *) as_dir=$as_dir/ ;;
10493 esac
10494 for ac_exec_ext in '' $ac_executable_extensions; do
10495 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10496 ac_cv_prog_i386_CC="$ac_prog"
10497 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10498 break 2
10500 done
10501 done
10502 IFS=$as_save_IFS
10506 i386_CC=$ac_cv_prog_i386_CC
10507 if test -n "$i386_CC"; then
10508 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $i386_CC" >&5
10509 printf "%s\n" "$i386_CC" >&6; }
10510 else
10511 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10512 printf "%s\n" "no" >&6; }
10516 test -n "$i386_CC" && break
10517 done
10518 test -n "$i386_CC" || i386_CC="false"
10521 x86_64)
10522 ac_prefix_list="x86_64-w64-mingw32-gcc amd64-w64-mingw32-gcc x86_64-w64-mingw32-clang amd64-w64-mingw32-clang "
10523 for ac_prog in $ac_prefix_list clang
10525 # Extract the first word of "$ac_prog", so it can be a program name with args.
10526 set dummy $ac_prog; ac_word=$2
10527 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10528 printf %s "checking for $ac_word... " >&6; }
10529 if test ${ac_cv_prog_x86_64_CC+y}
10530 then :
10531 printf %s "(cached) " >&6
10532 else $as_nop
10533 if test -n "$x86_64_CC"; then
10534 ac_cv_prog_x86_64_CC="$x86_64_CC" # Let the user override the test.
10535 else
10536 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10537 for as_dir in $PATH
10539 IFS=$as_save_IFS
10540 case $as_dir in #(((
10541 '') as_dir=./ ;;
10542 */) ;;
10543 *) as_dir=$as_dir/ ;;
10544 esac
10545 for ac_exec_ext in '' $ac_executable_extensions; do
10546 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10547 ac_cv_prog_x86_64_CC="$ac_prog"
10548 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10549 break 2
10551 done
10552 done
10553 IFS=$as_save_IFS
10557 x86_64_CC=$ac_cv_prog_x86_64_CC
10558 if test -n "$x86_64_CC"; then
10559 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $x86_64_CC" >&5
10560 printf "%s\n" "$x86_64_CC" >&6; }
10561 else
10562 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10563 printf "%s\n" "no" >&6; }
10567 test -n "$x86_64_CC" && break
10568 done
10569 test -n "$x86_64_CC" || x86_64_CC="false"
10572 esac
10575 if eval test \"x\$"${wine_arch}_CC"\" = x"false"
10576 then :
10577 continue
10580 saved_CC=$CC
10581 saved_CFLAGS=$CFLAGS
10583 CFLAGS=${CROSSCFLAGS:-"-g -O2"}
10584 eval CC=\$${wine_arch}_CC
10585 eval ${wine_arch}_CFLAGS=\$CFLAGS
10586 eval ${wine_arch}_LDFLAGS=\$CROSSLDFLAGS
10587 eval "${wine_arch}_EXTRACFLAGS=\"-D__WINE_PE_BUILD -Wall\""
10589 target=""
10590 as_wine_cv_crosscc=`printf "%s\n" "ac_cv_${wine_arch}_crosscc" | $as_tr_sh`
10592 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
10593 printf %s "checking whether $CC works... " >&6; }
10594 if eval test \${$as_wine_cv_crosscc+y}
10595 then :
10596 printf %s "(cached) " >&6
10597 else $as_nop
10598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10599 /* end confdefs.h. */
10602 main (void)
10606 return 0;
10608 _ACEOF
10609 if ac_fn_c_try_compile "$LINENO"
10610 then :
10611 eval "$as_wine_cv_crosscc=yes"
10612 else $as_nop
10613 eval "$as_wine_cv_crosscc=no"
10615 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10617 eval ac_res=\$$as_wine_cv_crosscc
10618 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10619 printf "%s\n" "$ac_res" >&6; }
10620 if eval test \"x\$"$as_wine_cv_crosscc"\" = x"yes"
10621 then :
10622 set x $CC
10623 shift
10624 while test $# -ge 1
10626 case "$1" in
10627 *-gcc) target=`expr "$1" : '\(.*\)-gcc'` ;;
10628 *-clang) target=`expr "$1" : '\(.*\)-clang'` ;;
10629 esac
10630 shift
10631 done
10633 llvm_target=$target
10634 if test -z "$llvm_target"
10635 then
10636 case $wine_arch in
10637 i386) llvm_target=i686-windows ;;
10638 arm) llvm_target=armv7-windows ;;
10639 *) llvm_target=$wine_arch-windows ;;
10640 esac
10642 llvm_extra_cflags="-target $llvm_target -fuse-ld=lld"
10643 case $llvm_target in
10644 *windows) llvm_cflags="-Wl,-subsystem:console -Wl,-WX" ;;
10645 esac
10646 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_$llvm_extra_cflags $llvm_cflags" | $as_tr_sh`
10647 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports $llvm_extra_cflags $llvm_cflags" >&5
10648 printf %s "checking whether $CC supports $llvm_extra_cflags $llvm_cflags... " >&6; }
10649 if eval test \${$as_ac_var+y}
10650 then :
10651 printf %s "(cached) " >&6
10652 else $as_nop
10653 ac_wine_try_cflags_saved=$CFLAGS
10654 ac_wine_try_cflags_saved_exeext=$ac_exeext
10655 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs $llvm_extra_cflags $llvm_cflags"
10656 ac_exeext=".exe"
10657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10658 /* end confdefs.h. */
10659 int __cdecl mainCRTStartup(void) { return 0; }
10660 _ACEOF
10661 if ac_fn_c_try_link "$LINENO"
10662 then :
10663 eval "$as_ac_var=yes"
10664 else $as_nop
10665 eval "$as_ac_var=no"
10667 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10668 conftest$ac_exeext conftest.$ac_ext
10669 CFLAGS=$ac_wine_try_cflags_saved
10670 ac_exeext=$ac_wine_try_cflags_saved_exeext
10672 eval ac_res=\$$as_ac_var
10673 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10674 printf "%s\n" "$ac_res" >&6; }
10675 if eval test \"x\$"$as_ac_var"\" = x"yes"
10676 then :
10677 target=$llvm_target
10678 eval "${wine_arch}_DELAYLOADFLAG=\"-Wl,-delayload,\""
10679 as_fn_append ${wine_arch}_EXTRACFLAGS " $llvm_extra_cflags"
10680 CFLAGS="$llvm_extra_cflags $llvm_cflags"
10681 fi }
10682 eval "${wine_arch}_TARGET=\$target"
10686 if test -z "$target"
10687 then
10688 CC=$saved_CC
10689 CFLAGS=$saved_CFLAGS
10690 continue
10692 as_fn_append PE_ARCHS " $wine_arch"
10694 as_wine_cv_crosscc_c99=`printf "%s\n" "ac_cv_${wine_arch}_crosscc_c99" | $as_tr_sh`
10696 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
10697 printf %s "checking for $CC option to enable C99 features... " >&6; }
10698 if eval test \${$as_wine_cv_crosscc_c99+y}
10699 then :
10700 printf %s "(cached) " >&6
10701 else $as_nop
10702 eval "$as_wine_cv_crosscc_c99=no"
10703 for arg in '' '-std=gnu99'
10705 test -z "$arg" || CC="$CC $arg"
10706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10707 /* end confdefs.h. */
10708 $ac_c_conftest_c99_program
10709 _ACEOF
10710 if ac_fn_c_try_compile "$LINENO"
10711 then :
10712 eval "$as_wine_cv_crosscc_c99=\$arg"
10713 else $as_nop
10714 eval "$as_wine_cv_crosscc_c99=no"
10716 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10717 eval CC=\$${wine_arch}_CC
10718 if eval test \"x\$"$as_wine_cv_crosscc_c99"\" = x"no"
10719 then :
10721 else $as_nop
10722 break
10724 done
10727 eval res=\$$as_wine_cv_crosscc_c99
10728 case "x$res" in
10729 x) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
10730 printf "%s\n" "none needed" >&6; } ;;
10731 xno) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
10732 printf "%s\n" "unsupported" >&6; } ;;
10733 x*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $res" >&5
10734 printf "%s\n" "$res" >&6; }
10735 as_fn_append ${wine_arch}_CC " $res" ;;
10736 esac
10739 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-fno-strict-aliasing" | $as_tr_sh`
10740 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -fno-strict-aliasing" >&5
10741 printf %s "checking whether $CC supports -fno-strict-aliasing... " >&6; }
10742 if eval test \${$as_ac_var+y}
10743 then :
10744 printf %s "(cached) " >&6
10745 else $as_nop
10746 ac_wine_try_cflags_saved=$CFLAGS
10747 ac_wine_try_cflags_saved_exeext=$ac_exeext
10748 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -fno-strict-aliasing"
10749 ac_exeext=".exe"
10750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10751 /* end confdefs.h. */
10752 int __cdecl mainCRTStartup(void) { return 0; }
10753 _ACEOF
10754 if ac_fn_c_try_link "$LINENO"
10755 then :
10756 eval "$as_ac_var=yes"
10757 else $as_nop
10758 eval "$as_ac_var=no"
10760 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10761 conftest$ac_exeext conftest.$ac_ext
10762 CFLAGS=$ac_wine_try_cflags_saved
10763 ac_exeext=$ac_wine_try_cflags_saved_exeext
10765 eval ac_res=\$$as_ac_var
10766 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10767 printf "%s\n" "$ac_res" >&6; }
10768 if eval test \"x\$"$as_ac_var"\" = x"yes"
10769 then :
10770 as_fn_append ${wine_arch}_EXTRACFLAGS " -fno-strict-aliasing"
10771 fi }
10772 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror=unknown-warning-option" | $as_tr_sh`
10773 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror=unknown-warning-option" >&5
10774 printf %s "checking whether $CC supports -Werror=unknown-warning-option... " >&6; }
10775 if eval test \${$as_ac_var+y}
10776 then :
10777 printf %s "(cached) " >&6
10778 else $as_nop
10779 ac_wine_try_cflags_saved=$CFLAGS
10780 ac_wine_try_cflags_saved_exeext=$ac_exeext
10781 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Werror=unknown-warning-option"
10782 ac_exeext=".exe"
10783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10784 /* end confdefs.h. */
10785 int __cdecl mainCRTStartup(void) { return 0; }
10786 _ACEOF
10787 if ac_fn_c_try_link "$LINENO"
10788 then :
10789 eval "$as_ac_var=yes"
10790 else $as_nop
10791 eval "$as_ac_var=no"
10793 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10794 conftest$ac_exeext conftest.$ac_ext
10795 CFLAGS=$ac_wine_try_cflags_saved
10796 ac_exeext=$ac_wine_try_cflags_saved_exeext
10798 eval ac_res=\$$as_ac_var
10799 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10800 printf "%s\n" "$ac_res" >&6; }
10801 if eval test \"x\$"$as_ac_var"\" = x"yes"
10802 then :
10803 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
10804 fi }
10805 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror=ignored-optimization-argument" | $as_tr_sh`
10806 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror=ignored-optimization-argument" >&5
10807 printf %s "checking whether $CC supports -Werror=ignored-optimization-argument... " >&6; }
10808 if eval test \${$as_ac_var+y}
10809 then :
10810 printf %s "(cached) " >&6
10811 else $as_nop
10812 ac_wine_try_cflags_saved=$CFLAGS
10813 ac_wine_try_cflags_saved_exeext=$ac_exeext
10814 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Werror=ignored-optimization-argument"
10815 ac_exeext=".exe"
10816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10817 /* end confdefs.h. */
10818 int __cdecl mainCRTStartup(void) { return 0; }
10819 _ACEOF
10820 if ac_fn_c_try_link "$LINENO"
10821 then :
10822 eval "$as_ac_var=yes"
10823 else $as_nop
10824 eval "$as_ac_var=no"
10826 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10827 conftest$ac_exeext conftest.$ac_ext
10828 CFLAGS=$ac_wine_try_cflags_saved
10829 ac_exeext=$ac_wine_try_cflags_saved_exeext
10831 eval ac_res=\$$as_ac_var
10832 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10833 printf "%s\n" "$ac_res" >&6; }
10834 if eval test \"x\$"$as_ac_var"\" = x"yes"
10835 then :
10836 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
10837 fi }
10838 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wdeclaration-after-statement" | $as_tr_sh`
10839 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wdeclaration-after-statement" >&5
10840 printf %s "checking whether $CC supports -Wdeclaration-after-statement... " >&6; }
10841 if eval test \${$as_ac_var+y}
10842 then :
10843 printf %s "(cached) " >&6
10844 else $as_nop
10845 ac_wine_try_cflags_saved=$CFLAGS
10846 ac_wine_try_cflags_saved_exeext=$ac_exeext
10847 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wdeclaration-after-statement"
10848 ac_exeext=".exe"
10849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10850 /* end confdefs.h. */
10851 int __cdecl mainCRTStartup(void) { return 0; }
10852 _ACEOF
10853 if ac_fn_c_try_link "$LINENO"
10854 then :
10855 eval "$as_ac_var=yes"
10856 else $as_nop
10857 eval "$as_ac_var=no"
10859 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10860 conftest$ac_exeext conftest.$ac_ext
10861 CFLAGS=$ac_wine_try_cflags_saved
10862 ac_exeext=$ac_wine_try_cflags_saved_exeext
10864 eval ac_res=\$$as_ac_var
10865 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10866 printf "%s\n" "$ac_res" >&6; }
10867 if eval test \"x\$"$as_ac_var"\" = x"yes"
10868 then :
10869 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wdeclaration-after-statement"
10870 fi }
10871 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wempty-body" | $as_tr_sh`
10872 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wempty-body" >&5
10873 printf %s "checking whether $CC supports -Wempty-body... " >&6; }
10874 if eval test \${$as_ac_var+y}
10875 then :
10876 printf %s "(cached) " >&6
10877 else $as_nop
10878 ac_wine_try_cflags_saved=$CFLAGS
10879 ac_wine_try_cflags_saved_exeext=$ac_exeext
10880 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wempty-body"
10881 ac_exeext=".exe"
10882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10883 /* end confdefs.h. */
10884 int __cdecl mainCRTStartup(void) { return 0; }
10885 _ACEOF
10886 if ac_fn_c_try_link "$LINENO"
10887 then :
10888 eval "$as_ac_var=yes"
10889 else $as_nop
10890 eval "$as_ac_var=no"
10892 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10893 conftest$ac_exeext conftest.$ac_ext
10894 CFLAGS=$ac_wine_try_cflags_saved
10895 ac_exeext=$ac_wine_try_cflags_saved_exeext
10897 eval ac_res=\$$as_ac_var
10898 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10899 printf "%s\n" "$ac_res" >&6; }
10900 if eval test \"x\$"$as_ac_var"\" = x"yes"
10901 then :
10902 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wempty-body"
10903 fi }
10904 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wignored-qualifiers" | $as_tr_sh`
10905 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wignored-qualifiers" >&5
10906 printf %s "checking whether $CC supports -Wignored-qualifiers... " >&6; }
10907 if eval test \${$as_ac_var+y}
10908 then :
10909 printf %s "(cached) " >&6
10910 else $as_nop
10911 ac_wine_try_cflags_saved=$CFLAGS
10912 ac_wine_try_cflags_saved_exeext=$ac_exeext
10913 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wignored-qualifiers"
10914 ac_exeext=".exe"
10915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10916 /* end confdefs.h. */
10917 int __cdecl mainCRTStartup(void) { return 0; }
10918 _ACEOF
10919 if ac_fn_c_try_link "$LINENO"
10920 then :
10921 eval "$as_ac_var=yes"
10922 else $as_nop
10923 eval "$as_ac_var=no"
10925 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10926 conftest$ac_exeext conftest.$ac_ext
10927 CFLAGS=$ac_wine_try_cflags_saved
10928 ac_exeext=$ac_wine_try_cflags_saved_exeext
10930 eval ac_res=\$$as_ac_var
10931 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10932 printf "%s\n" "$ac_res" >&6; }
10933 if eval test \"x\$"$as_ac_var"\" = x"yes"
10934 then :
10935 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wignored-qualifiers"
10936 fi }
10937 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Winit-self" | $as_tr_sh`
10938 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Winit-self" >&5
10939 printf %s "checking whether $CC supports -Winit-self... " >&6; }
10940 if eval test \${$as_ac_var+y}
10941 then :
10942 printf %s "(cached) " >&6
10943 else $as_nop
10944 ac_wine_try_cflags_saved=$CFLAGS
10945 ac_wine_try_cflags_saved_exeext=$ac_exeext
10946 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Winit-self"
10947 ac_exeext=".exe"
10948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10949 /* end confdefs.h. */
10950 int __cdecl mainCRTStartup(void) { return 0; }
10951 _ACEOF
10952 if ac_fn_c_try_link "$LINENO"
10953 then :
10954 eval "$as_ac_var=yes"
10955 else $as_nop
10956 eval "$as_ac_var=no"
10958 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10959 conftest$ac_exeext conftest.$ac_ext
10960 CFLAGS=$ac_wine_try_cflags_saved
10961 ac_exeext=$ac_wine_try_cflags_saved_exeext
10963 eval ac_res=\$$as_ac_var
10964 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10965 printf "%s\n" "$ac_res" >&6; }
10966 if eval test \"x\$"$as_ac_var"\" = x"yes"
10967 then :
10968 as_fn_append ${wine_arch}_EXTRACFLAGS " -Winit-self"
10969 fi }
10970 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpacked-not-aligned" | $as_tr_sh`
10971 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpacked-not-aligned" >&5
10972 printf %s "checking whether $CC supports -Wpacked-not-aligned... " >&6; }
10973 if eval test \${$as_ac_var+y}
10974 then :
10975 printf %s "(cached) " >&6
10976 else $as_nop
10977 ac_wine_try_cflags_saved=$CFLAGS
10978 ac_wine_try_cflags_saved_exeext=$ac_exeext
10979 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wpacked-not-aligned"
10980 ac_exeext=".exe"
10981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10982 /* end confdefs.h. */
10983 int __cdecl mainCRTStartup(void) { return 0; }
10984 _ACEOF
10985 if ac_fn_c_try_link "$LINENO"
10986 then :
10987 eval "$as_ac_var=yes"
10988 else $as_nop
10989 eval "$as_ac_var=no"
10991 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10992 conftest$ac_exeext conftest.$ac_ext
10993 CFLAGS=$ac_wine_try_cflags_saved
10994 ac_exeext=$ac_wine_try_cflags_saved_exeext
10996 eval ac_res=\$$as_ac_var
10997 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10998 printf "%s\n" "$ac_res" >&6; }
10999 if eval test \"x\$"$as_ac_var"\" = x"yes"
11000 then :
11001 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-packed-not-aligned"
11002 fi }
11003 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpragma-pack" | $as_tr_sh`
11004 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpragma-pack" >&5
11005 printf %s "checking whether $CC supports -Wpragma-pack... " >&6; }
11006 if eval test \${$as_ac_var+y}
11007 then :
11008 printf %s "(cached) " >&6
11009 else $as_nop
11010 ac_wine_try_cflags_saved=$CFLAGS
11011 ac_wine_try_cflags_saved_exeext=$ac_exeext
11012 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wpragma-pack"
11013 ac_exeext=".exe"
11014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11015 /* end confdefs.h. */
11016 int __cdecl mainCRTStartup(void) { return 0; }
11017 _ACEOF
11018 if ac_fn_c_try_link "$LINENO"
11019 then :
11020 eval "$as_ac_var=yes"
11021 else $as_nop
11022 eval "$as_ac_var=no"
11024 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11025 conftest$ac_exeext conftest.$ac_ext
11026 CFLAGS=$ac_wine_try_cflags_saved
11027 ac_exeext=$ac_wine_try_cflags_saved_exeext
11029 eval ac_res=\$$as_ac_var
11030 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11031 printf "%s\n" "$ac_res" >&6; }
11032 if eval test \"x\$"$as_ac_var"\" = x"yes"
11033 then :
11034 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-pragma-pack"
11035 fi }
11036 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wshift-overflow=2" | $as_tr_sh`
11037 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wshift-overflow=2" >&5
11038 printf %s "checking whether $CC supports -Wshift-overflow=2... " >&6; }
11039 if eval test \${$as_ac_var+y}
11040 then :
11041 printf %s "(cached) " >&6
11042 else $as_nop
11043 ac_wine_try_cflags_saved=$CFLAGS
11044 ac_wine_try_cflags_saved_exeext=$ac_exeext
11045 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wshift-overflow=2"
11046 ac_exeext=".exe"
11047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11048 /* end confdefs.h. */
11049 int __cdecl mainCRTStartup(void) { return 0; }
11050 _ACEOF
11051 if ac_fn_c_try_link "$LINENO"
11052 then :
11053 eval "$as_ac_var=yes"
11054 else $as_nop
11055 eval "$as_ac_var=no"
11057 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11058 conftest$ac_exeext conftest.$ac_ext
11059 CFLAGS=$ac_wine_try_cflags_saved
11060 ac_exeext=$ac_wine_try_cflags_saved_exeext
11062 eval ac_res=\$$as_ac_var
11063 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11064 printf "%s\n" "$ac_res" >&6; }
11065 if eval test \"x\$"$as_ac_var"\" = x"yes"
11066 then :
11067 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wshift-overflow=2"
11068 fi }
11069 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wstrict-prototypes" | $as_tr_sh`
11070 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wstrict-prototypes" >&5
11071 printf %s "checking whether $CC supports -Wstrict-prototypes... " >&6; }
11072 if eval test \${$as_ac_var+y}
11073 then :
11074 printf %s "(cached) " >&6
11075 else $as_nop
11076 ac_wine_try_cflags_saved=$CFLAGS
11077 ac_wine_try_cflags_saved_exeext=$ac_exeext
11078 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wstrict-prototypes"
11079 ac_exeext=".exe"
11080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11081 /* end confdefs.h. */
11082 int __cdecl mainCRTStartup(void) { return 0; }
11083 _ACEOF
11084 if ac_fn_c_try_link "$LINENO"
11085 then :
11086 eval "$as_ac_var=yes"
11087 else $as_nop
11088 eval "$as_ac_var=no"
11090 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11091 conftest$ac_exeext conftest.$ac_ext
11092 CFLAGS=$ac_wine_try_cflags_saved
11093 ac_exeext=$ac_wine_try_cflags_saved_exeext
11095 eval ac_res=\$$as_ac_var
11096 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11097 printf "%s\n" "$ac_res" >&6; }
11098 if eval test \"x\$"$as_ac_var"\" = x"yes"
11099 then :
11100 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wstrict-prototypes"
11101 fi }
11102 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wtype-limits" | $as_tr_sh`
11103 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wtype-limits" >&5
11104 printf %s "checking whether $CC supports -Wtype-limits... " >&6; }
11105 if eval test \${$as_ac_var+y}
11106 then :
11107 printf %s "(cached) " >&6
11108 else $as_nop
11109 ac_wine_try_cflags_saved=$CFLAGS
11110 ac_wine_try_cflags_saved_exeext=$ac_exeext
11111 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wtype-limits"
11112 ac_exeext=".exe"
11113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11114 /* end confdefs.h. */
11115 int __cdecl mainCRTStartup(void) { return 0; }
11116 _ACEOF
11117 if ac_fn_c_try_link "$LINENO"
11118 then :
11119 eval "$as_ac_var=yes"
11120 else $as_nop
11121 eval "$as_ac_var=no"
11123 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11124 conftest$ac_exeext conftest.$ac_ext
11125 CFLAGS=$ac_wine_try_cflags_saved
11126 ac_exeext=$ac_wine_try_cflags_saved_exeext
11128 eval ac_res=\$$as_ac_var
11129 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11130 printf "%s\n" "$ac_res" >&6; }
11131 if eval test \"x\$"$as_ac_var"\" = x"yes"
11132 then :
11133 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wtype-limits"
11134 fi }
11135 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wunused-but-set-parameter" | $as_tr_sh`
11136 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wunused-but-set-parameter" >&5
11137 printf %s "checking whether $CC supports -Wunused-but-set-parameter... " >&6; }
11138 if eval test \${$as_ac_var+y}
11139 then :
11140 printf %s "(cached) " >&6
11141 else $as_nop
11142 ac_wine_try_cflags_saved=$CFLAGS
11143 ac_wine_try_cflags_saved_exeext=$ac_exeext
11144 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wunused-but-set-parameter"
11145 ac_exeext=".exe"
11146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11147 /* end confdefs.h. */
11148 int __cdecl mainCRTStartup(void) { return 0; }
11149 _ACEOF
11150 if ac_fn_c_try_link "$LINENO"
11151 then :
11152 eval "$as_ac_var=yes"
11153 else $as_nop
11154 eval "$as_ac_var=no"
11156 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11157 conftest$ac_exeext conftest.$ac_ext
11158 CFLAGS=$ac_wine_try_cflags_saved
11159 ac_exeext=$ac_wine_try_cflags_saved_exeext
11161 eval ac_res=\$$as_ac_var
11162 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11163 printf "%s\n" "$ac_res" >&6; }
11164 if eval test \"x\$"$as_ac_var"\" = x"yes"
11165 then :
11166 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wunused-but-set-parameter"
11167 fi }
11168 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wvla" | $as_tr_sh`
11169 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wvla" >&5
11170 printf %s "checking whether $CC supports -Wvla... " >&6; }
11171 if eval test \${$as_ac_var+y}
11172 then :
11173 printf %s "(cached) " >&6
11174 else $as_nop
11175 ac_wine_try_cflags_saved=$CFLAGS
11176 ac_wine_try_cflags_saved_exeext=$ac_exeext
11177 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wvla"
11178 ac_exeext=".exe"
11179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11180 /* end confdefs.h. */
11181 int __cdecl mainCRTStartup(void) { return 0; }
11182 _ACEOF
11183 if ac_fn_c_try_link "$LINENO"
11184 then :
11185 eval "$as_ac_var=yes"
11186 else $as_nop
11187 eval "$as_ac_var=no"
11189 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11190 conftest$ac_exeext conftest.$ac_ext
11191 CFLAGS=$ac_wine_try_cflags_saved
11192 ac_exeext=$ac_wine_try_cflags_saved_exeext
11194 eval ac_res=\$$as_ac_var
11195 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11196 printf "%s\n" "$ac_res" >&6; }
11197 if eval test \"x\$"$as_ac_var"\" = x"yes"
11198 then :
11199 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wvla"
11200 fi }
11201 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wwrite-strings" | $as_tr_sh`
11202 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wwrite-strings" >&5
11203 printf %s "checking whether $CC supports -Wwrite-strings... " >&6; }
11204 if eval test \${$as_ac_var+y}
11205 then :
11206 printf %s "(cached) " >&6
11207 else $as_nop
11208 ac_wine_try_cflags_saved=$CFLAGS
11209 ac_wine_try_cflags_saved_exeext=$ac_exeext
11210 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wwrite-strings"
11211 ac_exeext=".exe"
11212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11213 /* end confdefs.h. */
11214 int __cdecl mainCRTStartup(void) { return 0; }
11215 _ACEOF
11216 if ac_fn_c_try_link "$LINENO"
11217 then :
11218 eval "$as_ac_var=yes"
11219 else $as_nop
11220 eval "$as_ac_var=no"
11222 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11223 conftest$ac_exeext conftest.$ac_ext
11224 CFLAGS=$ac_wine_try_cflags_saved
11225 ac_exeext=$ac_wine_try_cflags_saved_exeext
11227 eval ac_res=\$$as_ac_var
11228 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11229 printf "%s\n" "$ac_res" >&6; }
11230 if eval test \"x\$"$as_ac_var"\" = x"yes"
11231 then :
11232 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wwrite-strings"
11233 fi }
11234 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpointer-arith" | $as_tr_sh`
11235 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpointer-arith" >&5
11236 printf %s "checking whether $CC supports -Wpointer-arith... " >&6; }
11237 if eval test \${$as_ac_var+y}
11238 then :
11239 printf %s "(cached) " >&6
11240 else $as_nop
11241 ac_wine_try_cflags_saved=$CFLAGS
11242 ac_wine_try_cflags_saved_exeext=$ac_exeext
11243 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wpointer-arith"
11244 ac_exeext=".exe"
11245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11246 /* end confdefs.h. */
11247 int __cdecl mainCRTStartup(void) { return 0; }
11248 _ACEOF
11249 if ac_fn_c_try_link "$LINENO"
11250 then :
11251 eval "$as_ac_var=yes"
11252 else $as_nop
11253 eval "$as_ac_var=no"
11255 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11256 conftest$ac_exeext conftest.$ac_ext
11257 CFLAGS=$ac_wine_try_cflags_saved
11258 ac_exeext=$ac_wine_try_cflags_saved_exeext
11260 eval ac_res=\$$as_ac_var
11261 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11262 printf "%s\n" "$ac_res" >&6; }
11263 if eval test \"x\$"$as_ac_var"\" = x"yes"
11264 then :
11265 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wpointer-arith"
11266 fi }
11267 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wlogical-op" | $as_tr_sh`
11268 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wlogical-op" >&5
11269 printf %s "checking whether $CC supports -Wlogical-op... " >&6; }
11270 if eval test \${$as_ac_var+y}
11271 then :
11272 printf %s "(cached) " >&6
11273 else $as_nop
11274 ac_wine_try_cflags_saved=$CFLAGS
11275 ac_wine_try_cflags_saved_exeext=$ac_exeext
11276 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wlogical-op"
11277 ac_exeext=".exe"
11278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11279 /* end confdefs.h. */
11280 int __cdecl mainCRTStartup(void) { return 0; }
11281 _ACEOF
11282 if ac_fn_c_try_link "$LINENO"
11283 then :
11284 eval "$as_ac_var=yes"
11285 else $as_nop
11286 eval "$as_ac_var=no"
11288 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11289 conftest$ac_exeext conftest.$ac_ext
11290 CFLAGS=$ac_wine_try_cflags_saved
11291 ac_exeext=$ac_wine_try_cflags_saved_exeext
11293 eval ac_res=\$$as_ac_var
11294 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11295 printf "%s\n" "$ac_res" >&6; }
11296 if eval test \"x\$"$as_ac_var"\" = x"yes"
11297 then :
11298 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wlogical-op"
11299 fi }
11300 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wabsolute-value" | $as_tr_sh`
11301 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wabsolute-value" >&5
11302 printf %s "checking whether $CC supports -Wabsolute-value... " >&6; }
11303 if eval test \${$as_ac_var+y}
11304 then :
11305 printf %s "(cached) " >&6
11306 else $as_nop
11307 ac_wine_try_cflags_saved=$CFLAGS
11308 ac_wine_try_cflags_saved_exeext=$ac_exeext
11309 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wabsolute-value"
11310 ac_exeext=".exe"
11311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11312 /* end confdefs.h. */
11313 int __cdecl mainCRTStartup(void) { return 0; }
11314 _ACEOF
11315 if ac_fn_c_try_link "$LINENO"
11316 then :
11317 eval "$as_ac_var=yes"
11318 else $as_nop
11319 eval "$as_ac_var=no"
11321 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11322 conftest$ac_exeext conftest.$ac_ext
11323 CFLAGS=$ac_wine_try_cflags_saved
11324 ac_exeext=$ac_wine_try_cflags_saved_exeext
11326 eval ac_res=\$$as_ac_var
11327 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11328 printf "%s\n" "$ac_res" >&6; }
11329 if eval test \"x\$"$as_ac_var"\" = x"yes"
11330 then :
11331 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wabsolute-value"
11332 fi }
11334 case $wine_arch in
11335 i386) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-fno-omit-frame-pointer" | $as_tr_sh`
11336 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -fno-omit-frame-pointer" >&5
11337 printf %s "checking whether $CC supports -fno-omit-frame-pointer... " >&6; }
11338 if eval test \${$as_ac_var+y}
11339 then :
11340 printf %s "(cached) " >&6
11341 else $as_nop
11342 ac_wine_try_cflags_saved=$CFLAGS
11343 ac_wine_try_cflags_saved_exeext=$ac_exeext
11344 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -fno-omit-frame-pointer"
11345 ac_exeext=".exe"
11346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11347 /* end confdefs.h. */
11348 int __cdecl mainCRTStartup(void) { return 0; }
11349 _ACEOF
11350 if ac_fn_c_try_link "$LINENO"
11351 then :
11352 eval "$as_ac_var=yes"
11353 else $as_nop
11354 eval "$as_ac_var=no"
11356 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11357 conftest$ac_exeext conftest.$ac_ext
11358 CFLAGS=$ac_wine_try_cflags_saved
11359 ac_exeext=$ac_wine_try_cflags_saved_exeext
11361 eval ac_res=\$$as_ac_var
11362 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11363 printf "%s\n" "$ac_res" >&6; }
11364 if eval test \"x\$"$as_ac_var"\" = x"yes"
11365 then :
11366 as_fn_append ${wine_arch}_EXTRACFLAGS " -fno-omit-frame-pointer"
11367 fi }
11368 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wl,--disable-stdcall-fixup" | $as_tr_sh`
11369 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wl,--disable-stdcall-fixup" >&5
11370 printf %s "checking whether $CC supports -Wl,--disable-stdcall-fixup... " >&6; }
11371 if eval test \${$as_ac_var+y}
11372 then :
11373 printf %s "(cached) " >&6
11374 else $as_nop
11375 ac_wine_try_cflags_saved=$CFLAGS
11376 ac_wine_try_cflags_saved_exeext=$ac_exeext
11377 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wl,--disable-stdcall-fixup"
11378 ac_exeext=".exe"
11379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11380 /* end confdefs.h. */
11381 int __cdecl mainCRTStartup(void) { return 0; }
11382 _ACEOF
11383 if ac_fn_c_try_link "$LINENO"
11384 then :
11385 eval "$as_ac_var=yes"
11386 else $as_nop
11387 eval "$as_ac_var=no"
11389 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11390 conftest$ac_exeext conftest.$ac_ext
11391 CFLAGS=$ac_wine_try_cflags_saved
11392 ac_exeext=$ac_wine_try_cflags_saved_exeext
11394 eval ac_res=\$$as_ac_var
11395 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11396 printf "%s\n" "$ac_res" >&6; }
11397 if eval test \"x\$"$as_ac_var"\" = x"yes"
11398 then :
11399 as_fn_append ${wine_arch}_LDFLAGS " -Wl,--disable-stdcall-fixup"
11400 fi } ;;
11401 x86_64) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wformat-overflow" | $as_tr_sh`
11402 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wformat-overflow" >&5
11403 printf %s "checking whether $CC supports -Wformat-overflow... " >&6; }
11404 if eval test \${$as_ac_var+y}
11405 then :
11406 printf %s "(cached) " >&6
11407 else $as_nop
11408 ac_wine_try_cflags_saved=$CFLAGS
11409 ac_wine_try_cflags_saved_exeext=$ac_exeext
11410 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wformat-overflow"
11411 ac_exeext=".exe"
11412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11413 /* end confdefs.h. */
11414 int __cdecl mainCRTStartup(void) { return 0; }
11415 _ACEOF
11416 if ac_fn_c_try_link "$LINENO"
11417 then :
11418 eval "$as_ac_var=yes"
11419 else $as_nop
11420 eval "$as_ac_var=no"
11422 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11423 conftest$ac_exeext conftest.$ac_ext
11424 CFLAGS=$ac_wine_try_cflags_saved
11425 ac_exeext=$ac_wine_try_cflags_saved_exeext
11427 eval ac_res=\$$as_ac_var
11428 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11429 printf "%s\n" "$ac_res" >&6; }
11430 if eval test \"x\$"$as_ac_var"\" = x"yes"
11431 then :
11432 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wformat-overflow"
11433 fi }
11434 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wnonnull" | $as_tr_sh`
11435 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wnonnull" >&5
11436 printf %s "checking whether $CC supports -Wnonnull... " >&6; }
11437 if eval test \${$as_ac_var+y}
11438 then :
11439 printf %s "(cached) " >&6
11440 else $as_nop
11441 ac_wine_try_cflags_saved=$CFLAGS
11442 ac_wine_try_cflags_saved_exeext=$ac_exeext
11443 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wnonnull"
11444 ac_exeext=".exe"
11445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11446 /* end confdefs.h. */
11447 int __cdecl mainCRTStartup(void) { return 0; }
11448 _ACEOF
11449 if ac_fn_c_try_link "$LINENO"
11450 then :
11451 eval "$as_ac_var=yes"
11452 else $as_nop
11453 eval "$as_ac_var=no"
11455 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11456 conftest$ac_exeext conftest.$ac_ext
11457 CFLAGS=$ac_wine_try_cflags_saved
11458 ac_exeext=$ac_wine_try_cflags_saved_exeext
11460 eval ac_res=\$$as_ac_var
11461 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11462 printf "%s\n" "$ac_res" >&6; }
11463 if eval test \"x\$"$as_ac_var"\" = x"yes"
11464 then :
11465 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wnonnull"
11466 fi }
11467 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-mcx16" | $as_tr_sh`
11468 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mcx16" >&5
11469 printf %s "checking whether $CC supports -mcx16... " >&6; }
11470 if eval test \${$as_ac_var+y}
11471 then :
11472 printf %s "(cached) " >&6
11473 else $as_nop
11474 ac_wine_try_cflags_saved=$CFLAGS
11475 ac_wine_try_cflags_saved_exeext=$ac_exeext
11476 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -mcx16"
11477 ac_exeext=".exe"
11478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11479 /* end confdefs.h. */
11480 int __cdecl mainCRTStartup(void) { return 0; }
11481 _ACEOF
11482 if ac_fn_c_try_link "$LINENO"
11483 then :
11484 eval "$as_ac_var=yes"
11485 else $as_nop
11486 eval "$as_ac_var=no"
11488 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11489 conftest$ac_exeext conftest.$ac_ext
11490 CFLAGS=$ac_wine_try_cflags_saved
11491 ac_exeext=$ac_wine_try_cflags_saved_exeext
11493 eval ac_res=\$$as_ac_var
11494 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11495 printf "%s\n" "$ac_res" >&6; }
11496 if eval test \"x\$"$as_ac_var"\" = x"yes"
11497 then :
11498 as_fn_append ${wine_arch}_EXTRACFLAGS " -mcx16"
11499 fi } ;;
11500 esac
11502 wine_crossdebug=$CROSSDEBUG
11503 if test -z "$wine_crossdebug"
11504 then
11505 for ac_flag in $CFLAGS; do
11506 case $ac_flag in
11507 -gdwarf*) wine_crossdebug=dwarf ;;
11508 -gcodeview) wine_crossdebug=pdb ;;
11509 -g) wine_crossdebug=${wine_crossdebug:-dwarf} ;;
11510 esac
11511 done
11514 ac_debug_format_seen=""
11515 for ac_flag in $CFLAGS; do
11516 case $ac_flag in
11517 -gdwarf*|-gcodeview) ac_debug_format_seen=$ac_flag ;;
11518 esac
11519 done
11520 if test "x$ac_debug_format_seen" = x
11521 then
11522 case $wine_crossdebug in
11523 *dwarf) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-gdwarf-4" | $as_tr_sh`
11524 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -gdwarf-4" >&5
11525 printf %s "checking whether $CC supports -gdwarf-4... " >&6; }
11526 if eval test \${$as_ac_var+y}
11527 then :
11528 printf %s "(cached) " >&6
11529 else $as_nop
11530 ac_wine_try_cflags_saved=$CFLAGS
11531 ac_wine_try_cflags_saved_exeext=$ac_exeext
11532 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -gdwarf-4"
11533 ac_exeext=".exe"
11534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11535 /* end confdefs.h. */
11536 int __cdecl mainCRTStartup(void) { return 0; }
11537 _ACEOF
11538 if ac_fn_c_try_link "$LINENO"
11539 then :
11540 eval "$as_ac_var=yes"
11541 else $as_nop
11542 eval "$as_ac_var=no"
11544 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11545 conftest$ac_exeext conftest.$ac_ext
11546 CFLAGS=$ac_wine_try_cflags_saved
11547 ac_exeext=$ac_wine_try_cflags_saved_exeext
11549 eval ac_res=\$$as_ac_var
11550 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11551 printf "%s\n" "$ac_res" >&6; }
11552 if eval test \"x\$"$as_ac_var"\" = x"yes"
11553 then :
11554 as_fn_append ${wine_arch}_EXTRACFLAGS " -gdwarf-4"
11555 fi } ;;
11556 pdb) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-gcodeview" | $as_tr_sh`
11557 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -gcodeview" >&5
11558 printf %s "checking whether $CC supports -gcodeview... " >&6; }
11559 if eval test \${$as_ac_var+y}
11560 then :
11561 printf %s "(cached) " >&6
11562 else $as_nop
11563 ac_wine_try_cflags_saved=$CFLAGS
11564 ac_wine_try_cflags_saved_exeext=$ac_exeext
11565 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -gcodeview"
11566 ac_exeext=".exe"
11567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11568 /* end confdefs.h. */
11569 int __cdecl mainCRTStartup(void) { return 0; }
11570 _ACEOF
11571 if ac_fn_c_try_link "$LINENO"
11572 then :
11573 eval "$as_ac_var=yes"
11574 else $as_nop
11575 eval "$as_ac_var=no"
11577 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11578 conftest$ac_exeext conftest.$ac_ext
11579 CFLAGS=$ac_wine_try_cflags_saved
11580 ac_exeext=$ac_wine_try_cflags_saved_exeext
11582 eval ac_res=\$$as_ac_var
11583 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11584 printf "%s\n" "$ac_res" >&6; }
11585 if eval test \"x\$"$as_ac_var"\" = x"yes"
11586 then :
11587 as_fn_append ${wine_arch}_EXTRACFLAGS " -gcodeview"
11588 fi } ;;
11589 esac
11591 eval "${wine_arch}_DEBUG=\$wine_crossdebug"
11593 test "x$enable_werror" != xyes || { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror" | $as_tr_sh`
11594 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror" >&5
11595 printf %s "checking whether $CC supports -Werror... " >&6; }
11596 if eval test \${$as_ac_var+y}
11597 then :
11598 printf %s "(cached) " >&6
11599 else $as_nop
11600 ac_wine_try_cflags_saved=$CFLAGS
11601 ac_wine_try_cflags_saved_exeext=$ac_exeext
11602 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Werror"
11603 ac_exeext=".exe"
11604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11605 /* end confdefs.h. */
11606 int __cdecl mainCRTStartup(void) { return 0; }
11607 _ACEOF
11608 if ac_fn_c_try_link "$LINENO"
11609 then :
11610 eval "$as_ac_var=yes"
11611 else $as_nop
11612 eval "$as_ac_var=no"
11614 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11615 conftest$ac_exeext conftest.$ac_ext
11616 CFLAGS=$ac_wine_try_cflags_saved
11617 ac_exeext=$ac_wine_try_cflags_saved_exeext
11619 eval ac_res=\$$as_ac_var
11620 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11621 printf "%s\n" "$ac_res" >&6; }
11622 if eval test \"x\$"$as_ac_var"\" = x"yes"
11623 then :
11624 as_fn_append ${wine_arch}_EXTRACFLAGS " -Werror"
11625 fi }
11626 test "x$enable_build_id" != xyes || { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wl,--build-id" | $as_tr_sh`
11627 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wl,--build-id" >&5
11628 printf %s "checking whether $CC supports -Wl,--build-id... " >&6; }
11629 if eval test \${$as_ac_var+y}
11630 then :
11631 printf %s "(cached) " >&6
11632 else $as_nop
11633 ac_wine_try_cflags_saved=$CFLAGS
11634 ac_wine_try_cflags_saved_exeext=$ac_exeext
11635 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wl,--build-id"
11636 ac_exeext=".exe"
11637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11638 /* end confdefs.h. */
11639 int __cdecl mainCRTStartup(void) { return 0; }
11640 _ACEOF
11641 if ac_fn_c_try_link "$LINENO"
11642 then :
11643 eval "$as_ac_var=yes"
11644 else $as_nop
11645 eval "$as_ac_var=no"
11647 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11648 conftest$ac_exeext conftest.$ac_ext
11649 CFLAGS=$ac_wine_try_cflags_saved
11650 ac_exeext=$ac_wine_try_cflags_saved_exeext
11652 eval ac_res=\$$as_ac_var
11653 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11654 printf "%s\n" "$ac_res" >&6; }
11655 if eval test \"x\$"$as_ac_var"\" = x"yes"
11656 then :
11657 as_fn_append ${wine_arch}_CFLAGS " -Wl,--build-id"
11658 as_fn_append ${wine_arch}_LDFLAGS " -Wl,--build-id"
11659 fi }
11661 CC=$saved_CC
11662 CFLAGS=$saved_CFLAGS
11663 done
11665 if test $HOST_ARCH = aarch64 -a "x$PE_ARCHS" = x
11666 then
11667 as_fn_error $? "PE cross-compilation is required for ARM64, please install clang/llvm-dlltool/lld, or llvm-mingw." "$LINENO" 5
11670 if test "x$PE_ARCHS" = "x"
11671 then :
11672 case "x$with_mingw" in
11673 x) as_fn_append wine_notices "|MinGW compiler not found, cross-compiling PE files won't be supported." ;;
11674 xno) ;;
11675 *) as_fn_error $? "MinGW compiler not found, cross-compiling PE files won't be supported.
11676 This is an error since --with-mingw was requested." "$LINENO" 5 ;;
11677 esac
11682 if test "x$with_system_dllpath" != "x" -a -n "$PE_ARCHS"
11683 then
11684 case "$host_cpu" in
11685 i[3456789]86*)
11686 ac_prefix_list="i686-w64-mingw32-pkg-config i586-w64-mingw32-pkg-config i486-w64-mingw32-pkg-config i386-w64-mingw32-pkg-config " ;;
11688 ac_prefix_list="$host_cpu-w64-mingw32-pkg-config" ;;
11689 esac
11690 for ac_prog in $ac_prefix_list
11692 # Extract the first word of "$ac_prog", so it can be a program name with args.
11693 set dummy $ac_prog; ac_word=$2
11694 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11695 printf %s "checking for $ac_word... " >&6; }
11696 if test ${ac_cv_prog_MINGW_PKG_CONFIG+y}
11697 then :
11698 printf %s "(cached) " >&6
11699 else $as_nop
11700 if test -n "$MINGW_PKG_CONFIG"; then
11701 ac_cv_prog_MINGW_PKG_CONFIG="$MINGW_PKG_CONFIG" # Let the user override the test.
11702 else
11703 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11704 for as_dir in $PATH
11706 IFS=$as_save_IFS
11707 case $as_dir in #(((
11708 '') as_dir=./ ;;
11709 */) ;;
11710 *) as_dir=$as_dir/ ;;
11711 esac
11712 for ac_exec_ext in '' $ac_executable_extensions; do
11713 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
11714 ac_cv_prog_MINGW_PKG_CONFIG="$ac_prog"
11715 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
11716 break 2
11718 done
11719 done
11720 IFS=$as_save_IFS
11724 MINGW_PKG_CONFIG=$ac_cv_prog_MINGW_PKG_CONFIG
11725 if test -n "$MINGW_PKG_CONFIG"; then
11726 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MINGW_PKG_CONFIG" >&5
11727 printf "%s\n" "$MINGW_PKG_CONFIG" >&6; }
11728 else
11729 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11730 printf "%s\n" "no" >&6; }
11734 test -n "$MINGW_PKG_CONFIG" && break
11735 done
11736 test -n "$MINGW_PKG_CONFIG" || MINGW_PKG_CONFIG="false"
11738 if ${FAUDIO_PE_CFLAGS:+false} :
11739 then :
11740 if test ${MINGW_PKG_CONFIG+y}
11741 then :
11742 FAUDIO_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags FAudio 2>/dev/null`
11745 if ${FAUDIO_PE_LIBS:+false} :
11746 then :
11747 if test ${MINGW_PKG_CONFIG+y}
11748 then :
11749 FAUDIO_PE_LIBS=`$MINGW_PKG_CONFIG --libs FAudio 2>/dev/null`
11752 FAUDIO_PE_LIBS=${FAUDIO_PE_LIBS:-"-lFAudio"}
11753 ac_save_CPPFLAGS=$CPPFLAGS
11754 CPPFLAGS="$CPPFLAGS $FAUDIO_PE_CFLAGS"
11755 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW FAudio.h" >&5
11756 printf %s "checking for MinGW FAudio.h... " >&6; }
11757 if test ${ac_cv_mingw_header_FAudio_h+y}
11758 then :
11759 printf %s "(cached) " >&6
11760 else $as_nop
11761 ac_wine_check_headers_saved_cc=$CC
11762 ac_wine_check_headers_saved_exeext=$ac_exeext
11763 eval CC=\$${wine_arch}_CC
11764 ac_exeext=".exe"
11765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11766 /* end confdefs.h. */
11768 #include <FAudio.h>
11770 main (void)
11774 return 0;
11776 _ACEOF
11777 if ac_fn_c_try_compile "$LINENO"
11778 then :
11779 ac_cv_mingw_header_FAudio_h=yes
11780 else $as_nop
11781 ac_cv_mingw_header_FAudio_h=no
11783 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
11784 CC=$ac_wine_check_headers_saved_cc
11785 ac_exeext=$ac_wine_check_headers_saved_exeext
11787 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_FAudio_h" >&5
11788 printf "%s\n" "$ac_cv_mingw_header_FAudio_h" >&6; }
11789 if test "x$ac_cv_mingw_header_FAudio_h" = xyes
11790 then :
11791 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for FAudio_CommitOperationSet in MinGW -lFAudio" >&5
11792 printf %s "checking for FAudio_CommitOperationSet in MinGW -lFAudio... " >&6; }
11793 if test ${ac_cv_mingw_lib_FAudio+y}
11794 then :
11795 printf %s "(cached) " >&6
11796 else $as_nop
11797 ac_wine_check_headers_saved_cc=$CC
11798 ac_wine_check_headers_saved_exeext=$ac_exeext
11799 ac_wine_check_headers_saved_libs=$LIBS
11800 eval CC=\$${wine_arch}_CC
11801 ac_exeext=".exe"
11802 LIBS="-lFAudio $FAUDIO_PE_LIBS $LIBS"
11803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11804 /* end confdefs.h. */
11806 /* Override any GCC internal prototype to avoid an error.
11807 Use char because int might match the return type of a GCC
11808 builtin and then its argument prototype would still apply. */
11809 char FAudio_CommitOperationSet ();
11811 main (void)
11813 return FAudio_CommitOperationSet ();
11815 return 0;
11817 _ACEOF
11818 if ac_fn_c_try_link "$LINENO"
11819 then :
11820 ac_cv_mingw_lib_FAudio=yes
11821 else $as_nop
11822 ac_cv_mingw_lib_FAudio=no
11824 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11825 conftest$ac_exeext conftest.$ac_ext
11826 CC=$ac_wine_check_headers_saved_cc
11827 ac_exeext=$ac_wine_check_headers_saved_exeext
11828 LIBS=$ac_wine_check_headers_saved_libs
11830 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_FAudio" >&5
11831 printf "%s\n" "$ac_cv_mingw_lib_FAudio" >&6; }
11832 if test "x$ac_cv_mingw_lib_FAudio" = xyes
11833 then :
11835 else $as_nop
11836 FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
11838 else $as_nop
11839 FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
11841 CPPFLAGS=$ac_save_CPPFLAGS
11843 if test "x$FAUDIO_PE_LIBS" = "x"
11844 then
11845 as_fn_append wine_notices "|FAudio ${notice_platform}MinGW development files not found (or too old); using bundled version."
11848 if ${JPEG_PE_CFLAGS:+false} :
11849 then :
11850 if test ${MINGW_PKG_CONFIG+y}
11851 then :
11852 JPEG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libjpeg 2>/dev/null`
11855 if ${JPEG_PE_LIBS:+false} :
11856 then :
11857 if test ${MINGW_PKG_CONFIG+y}
11858 then :
11859 JPEG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libjpeg 2>/dev/null`
11863 ac_save_CPPFLAGS=$CPPFLAGS
11864 CPPFLAGS="$CPPFLAGS $JPEG_PE_CFLAGS"
11865 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW jpeglib.h" >&5
11866 printf %s "checking for MinGW jpeglib.h... " >&6; }
11867 if test ${ac_cv_mingw_header_jpeglib_h+y}
11868 then :
11869 printf %s "(cached) " >&6
11870 else $as_nop
11871 ac_wine_check_headers_saved_cc=$CC
11872 ac_wine_check_headers_saved_exeext=$ac_exeext
11873 eval CC=\$${wine_arch}_CC
11874 ac_exeext=".exe"
11875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11876 /* end confdefs.h. */
11877 #include <stddef.h>
11878 #include <stdio.h>
11879 #include <jpeglib.h>
11881 main (void)
11885 return 0;
11887 _ACEOF
11888 if ac_fn_c_try_compile "$LINENO"
11889 then :
11890 ac_cv_mingw_header_jpeglib_h=yes
11891 else $as_nop
11892 ac_cv_mingw_header_jpeglib_h=no
11894 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
11895 CC=$ac_wine_check_headers_saved_cc
11896 ac_exeext=$ac_wine_check_headers_saved_exeext
11898 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_jpeglib_h" >&5
11899 printf "%s\n" "$ac_cv_mingw_header_jpeglib_h" >&6; }
11900 if test "x$ac_cv_mingw_header_jpeglib_h" = xyes
11901 then :
11902 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for jpeg_start_decompress in MinGW -ljpeg" >&5
11903 printf %s "checking for jpeg_start_decompress in MinGW -ljpeg... " >&6; }
11904 if test ${ac_cv_mingw_lib_jpeg+y}
11905 then :
11906 printf %s "(cached) " >&6
11907 else $as_nop
11908 ac_wine_check_headers_saved_cc=$CC
11909 ac_wine_check_headers_saved_exeext=$ac_exeext
11910 ac_wine_check_headers_saved_libs=$LIBS
11911 eval CC=\$${wine_arch}_CC
11912 ac_exeext=".exe"
11913 LIBS="-ljpeg $JPEG_PE_LIBS $LIBS"
11914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11915 /* end confdefs.h. */
11917 /* Override any GCC internal prototype to avoid an error.
11918 Use char because int might match the return type of a GCC
11919 builtin and then its argument prototype would still apply. */
11920 char jpeg_start_decompress ();
11922 main (void)
11924 return jpeg_start_decompress ();
11926 return 0;
11928 _ACEOF
11929 if ac_fn_c_try_link "$LINENO"
11930 then :
11931 ac_cv_mingw_lib_jpeg=yes
11932 else $as_nop
11933 ac_cv_mingw_lib_jpeg=no
11935 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11936 conftest$ac_exeext conftest.$ac_ext
11937 CC=$ac_wine_check_headers_saved_cc
11938 ac_exeext=$ac_wine_check_headers_saved_exeext
11939 LIBS=$ac_wine_check_headers_saved_libs
11941 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_jpeg" >&5
11942 printf "%s\n" "$ac_cv_mingw_lib_jpeg" >&6; }
11943 if test "x$ac_cv_mingw_lib_jpeg" = xyes
11944 then :
11946 else $as_nop
11947 JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
11949 else $as_nop
11950 JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
11952 CPPFLAGS=$ac_save_CPPFLAGS
11954 if test "x$JPEG_PE_LIBS" = "x"
11955 then
11956 as_fn_append wine_notices "|libjpeg ${notice_platform}MinGW development files not found; using bundled version."
11959 if ${LCMS2_PE_CFLAGS:+false} :
11960 then :
11961 if test ${MINGW_PKG_CONFIG+y}
11962 then :
11963 LCMS2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags lcms2 2>/dev/null`
11966 if ${LCMS2_PE_LIBS:+false} :
11967 then :
11968 if test ${MINGW_PKG_CONFIG+y}
11969 then :
11970 LCMS2_PE_LIBS=`$MINGW_PKG_CONFIG --libs lcms2 2>/dev/null`
11973 LCMS2_PE_LIBS=${LCMS2_PE_LIBS:-"-llcms2"}
11974 ac_save_CPPFLAGS=$CPPFLAGS
11975 CPPFLAGS="$CPPFLAGS $LCMS2_PE_CFLAGS"
11976 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW lcms2.h" >&5
11977 printf %s "checking for MinGW lcms2.h... " >&6; }
11978 if test ${ac_cv_mingw_header_lcms2_h+y}
11979 then :
11980 printf %s "(cached) " >&6
11981 else $as_nop
11982 ac_wine_check_headers_saved_cc=$CC
11983 ac_wine_check_headers_saved_exeext=$ac_exeext
11984 eval CC=\$${wine_arch}_CC
11985 ac_exeext=".exe"
11986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11987 /* end confdefs.h. */
11989 #include <lcms2.h>
11991 main (void)
11995 return 0;
11997 _ACEOF
11998 if ac_fn_c_try_compile "$LINENO"
11999 then :
12000 ac_cv_mingw_header_lcms2_h=yes
12001 else $as_nop
12002 ac_cv_mingw_header_lcms2_h=no
12004 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12005 CC=$ac_wine_check_headers_saved_cc
12006 ac_exeext=$ac_wine_check_headers_saved_exeext
12008 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_lcms2_h" >&5
12009 printf "%s\n" "$ac_cv_mingw_header_lcms2_h" >&6; }
12010 if test "x$ac_cv_mingw_header_lcms2_h" = xyes
12011 then :
12012 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in MinGW -llcms2" >&5
12013 printf %s "checking for cmsOpenProfileFromFile in MinGW -llcms2... " >&6; }
12014 if test ${ac_cv_mingw_lib_lcms2+y}
12015 then :
12016 printf %s "(cached) " >&6
12017 else $as_nop
12018 ac_wine_check_headers_saved_cc=$CC
12019 ac_wine_check_headers_saved_exeext=$ac_exeext
12020 ac_wine_check_headers_saved_libs=$LIBS
12021 eval CC=\$${wine_arch}_CC
12022 ac_exeext=".exe"
12023 LIBS="-llcms2 $LCMS2_PE_LIBS $LIBS"
12024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12025 /* end confdefs.h. */
12027 /* Override any GCC internal prototype to avoid an error.
12028 Use char because int might match the return type of a GCC
12029 builtin and then its argument prototype would still apply. */
12030 char cmsOpenProfileFromFile ();
12032 main (void)
12034 return cmsOpenProfileFromFile ();
12036 return 0;
12038 _ACEOF
12039 if ac_fn_c_try_link "$LINENO"
12040 then :
12041 ac_cv_mingw_lib_lcms2=yes
12042 else $as_nop
12043 ac_cv_mingw_lib_lcms2=no
12045 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12046 conftest$ac_exeext conftest.$ac_ext
12047 CC=$ac_wine_check_headers_saved_cc
12048 ac_exeext=$ac_wine_check_headers_saved_exeext
12049 LIBS=$ac_wine_check_headers_saved_libs
12051 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_lcms2" >&5
12052 printf "%s\n" "$ac_cv_mingw_lib_lcms2" >&6; }
12053 if test "x$ac_cv_mingw_lib_lcms2" = xyes
12054 then :
12056 else $as_nop
12057 LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
12059 else $as_nop
12060 LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
12062 CPPFLAGS=$ac_save_CPPFLAGS
12064 if test "x$LCMS2_PE_LIBS" = "x"
12065 then
12066 as_fn_append wine_notices "|liblcms2 ${notice_platform}MinGW development files not found; using bundled version."
12069 if ${MPG123_PE_CFLAGS:+false} :
12070 then :
12071 if test ${MINGW_PKG_CONFIG+y}
12072 then :
12073 MPG123_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libmpg123 2>/dev/null`
12076 if ${MPG123_PE_LIBS:+false} :
12077 then :
12078 if test ${MINGW_PKG_CONFIG+y}
12079 then :
12080 MPG123_PE_LIBS=`$MINGW_PKG_CONFIG --libs libmpg123 2>/dev/null`
12083 MPG123_PE_LIBS=${MPG123_PE_LIBS:-"-lmpg123"}
12084 ac_save_CPPFLAGS=$CPPFLAGS
12085 CPPFLAGS="$CPPFLAGS $MPG123_PE_CFLAGS"
12086 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW mpg123.h" >&5
12087 printf %s "checking for MinGW mpg123.h... " >&6; }
12088 if test ${ac_cv_mingw_header_mpg123_h+y}
12089 then :
12090 printf %s "(cached) " >&6
12091 else $as_nop
12092 ac_wine_check_headers_saved_cc=$CC
12093 ac_wine_check_headers_saved_exeext=$ac_exeext
12094 eval CC=\$${wine_arch}_CC
12095 ac_exeext=".exe"
12096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12097 /* end confdefs.h. */
12099 #include <mpg123.h>
12101 main (void)
12105 return 0;
12107 _ACEOF
12108 if ac_fn_c_try_compile "$LINENO"
12109 then :
12110 ac_cv_mingw_header_mpg123_h=yes
12111 else $as_nop
12112 ac_cv_mingw_header_mpg123_h=no
12114 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12115 CC=$ac_wine_check_headers_saved_cc
12116 ac_exeext=$ac_wine_check_headers_saved_exeext
12118 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_mpg123_h" >&5
12119 printf "%s\n" "$ac_cv_mingw_header_mpg123_h" >&6; }
12120 if test "x$ac_cv_mingw_header_mpg123_h" = xyes
12121 then :
12122 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in MinGW -lmpg123" >&5
12123 printf %s "checking for mpg123_feed in MinGW -lmpg123... " >&6; }
12124 if test ${ac_cv_mingw_lib_mpg123+y}
12125 then :
12126 printf %s "(cached) " >&6
12127 else $as_nop
12128 ac_wine_check_headers_saved_cc=$CC
12129 ac_wine_check_headers_saved_exeext=$ac_exeext
12130 ac_wine_check_headers_saved_libs=$LIBS
12131 eval CC=\$${wine_arch}_CC
12132 ac_exeext=".exe"
12133 LIBS="-lmpg123 $MPG123_PE_LIBS $LIBS"
12134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12135 /* end confdefs.h. */
12137 /* Override any GCC internal prototype to avoid an error.
12138 Use char because int might match the return type of a GCC
12139 builtin and then its argument prototype would still apply. */
12140 char mpg123_feed ();
12142 main (void)
12144 return mpg123_feed ();
12146 return 0;
12148 _ACEOF
12149 if ac_fn_c_try_link "$LINENO"
12150 then :
12151 ac_cv_mingw_lib_mpg123=yes
12152 else $as_nop
12153 ac_cv_mingw_lib_mpg123=no
12155 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12156 conftest$ac_exeext conftest.$ac_ext
12157 CC=$ac_wine_check_headers_saved_cc
12158 ac_exeext=$ac_wine_check_headers_saved_exeext
12159 LIBS=$ac_wine_check_headers_saved_libs
12161 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_mpg123" >&5
12162 printf "%s\n" "$ac_cv_mingw_lib_mpg123" >&6; }
12163 if test "x$ac_cv_mingw_lib_mpg123" = xyes
12164 then :
12166 else $as_nop
12167 MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
12169 else $as_nop
12170 MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
12172 CPPFLAGS=$ac_save_CPPFLAGS
12174 if test "x$MPG123_PE_LIBS" = "x"
12175 then
12176 as_fn_append wine_notices "|libmpg123 ${notice_platform}MinGW development files not found (or too old); using bundled version."
12179 if ${PNG_PE_CFLAGS:+false} :
12180 then :
12181 if test ${MINGW_PKG_CONFIG+y}
12182 then :
12183 PNG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libpng 2>/dev/null`
12186 if ${PNG_PE_LIBS:+false} :
12187 then :
12188 if test ${MINGW_PKG_CONFIG+y}
12189 then :
12190 PNG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libpng 2>/dev/null`
12194 ac_save_CPPFLAGS=$CPPFLAGS
12195 CPPFLAGS="$CPPFLAGS $PNG_PE_CFLAGS"
12196 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW png.h" >&5
12197 printf %s "checking for MinGW png.h... " >&6; }
12198 if test ${ac_cv_mingw_header_png_h+y}
12199 then :
12200 printf %s "(cached) " >&6
12201 else $as_nop
12202 ac_wine_check_headers_saved_cc=$CC
12203 ac_wine_check_headers_saved_exeext=$ac_exeext
12204 eval CC=\$${wine_arch}_CC
12205 ac_exeext=".exe"
12206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12207 /* end confdefs.h. */
12209 #include <png.h>
12211 main (void)
12215 return 0;
12217 _ACEOF
12218 if ac_fn_c_try_compile "$LINENO"
12219 then :
12220 ac_cv_mingw_header_png_h=yes
12221 else $as_nop
12222 ac_cv_mingw_header_png_h=no
12224 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12225 CC=$ac_wine_check_headers_saved_cc
12226 ac_exeext=$ac_wine_check_headers_saved_exeext
12228 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_png_h" >&5
12229 printf "%s\n" "$ac_cv_mingw_header_png_h" >&6; }
12230 if test "x$ac_cv_mingw_header_png_h" = xyes
12231 then :
12232 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for png_create_read_struct in MinGW -lpng" >&5
12233 printf %s "checking for png_create_read_struct in MinGW -lpng... " >&6; }
12234 if test ${ac_cv_mingw_lib_png+y}
12235 then :
12236 printf %s "(cached) " >&6
12237 else $as_nop
12238 ac_wine_check_headers_saved_cc=$CC
12239 ac_wine_check_headers_saved_exeext=$ac_exeext
12240 ac_wine_check_headers_saved_libs=$LIBS
12241 eval CC=\$${wine_arch}_CC
12242 ac_exeext=".exe"
12243 LIBS="-lpng $PNG_PE_LIBS $LIBS"
12244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12245 /* end confdefs.h. */
12247 /* Override any GCC internal prototype to avoid an error.
12248 Use char because int might match the return type of a GCC
12249 builtin and then its argument prototype would still apply. */
12250 char png_create_read_struct ();
12252 main (void)
12254 return png_create_read_struct ();
12256 return 0;
12258 _ACEOF
12259 if ac_fn_c_try_link "$LINENO"
12260 then :
12261 ac_cv_mingw_lib_png=yes
12262 else $as_nop
12263 ac_cv_mingw_lib_png=no
12265 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12266 conftest$ac_exeext conftest.$ac_ext
12267 CC=$ac_wine_check_headers_saved_cc
12268 ac_exeext=$ac_wine_check_headers_saved_exeext
12269 LIBS=$ac_wine_check_headers_saved_libs
12271 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_png" >&5
12272 printf "%s\n" "$ac_cv_mingw_lib_png" >&6; }
12273 if test "x$ac_cv_mingw_lib_png" = xyes
12274 then :
12276 else $as_nop
12277 PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
12279 else $as_nop
12280 PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
12282 CPPFLAGS=$ac_save_CPPFLAGS
12284 if test "x$PNG_PE_LIBS" = "x"
12285 then
12286 as_fn_append wine_notices "|libpng ${notice_platform}MinGW development files not found; using bundled version."
12289 if ${TIFF_PE_CFLAGS:+false} :
12290 then :
12291 if test ${MINGW_PKG_CONFIG+y}
12292 then :
12293 TIFF_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libtiff-4 2>/dev/null`
12296 if ${TIFF_PE_LIBS:+false} :
12297 then :
12298 if test ${MINGW_PKG_CONFIG+y}
12299 then :
12300 TIFF_PE_LIBS=`$MINGW_PKG_CONFIG --libs libtiff-4 2>/dev/null`
12304 ac_save_CPPFLAGS=$CPPFLAGS
12305 CPPFLAGS="$CPPFLAGS $TIFF_PE_CFLAGS"
12306 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW tiffio.h" >&5
12307 printf %s "checking for MinGW tiffio.h... " >&6; }
12308 if test ${ac_cv_mingw_header_tiffio_h+y}
12309 then :
12310 printf %s "(cached) " >&6
12311 else $as_nop
12312 ac_wine_check_headers_saved_cc=$CC
12313 ac_wine_check_headers_saved_exeext=$ac_exeext
12314 eval CC=\$${wine_arch}_CC
12315 ac_exeext=".exe"
12316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12317 /* end confdefs.h. */
12319 #include <tiffio.h>
12321 main (void)
12325 return 0;
12327 _ACEOF
12328 if ac_fn_c_try_compile "$LINENO"
12329 then :
12330 ac_cv_mingw_header_tiffio_h=yes
12331 else $as_nop
12332 ac_cv_mingw_header_tiffio_h=no
12334 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12335 CC=$ac_wine_check_headers_saved_cc
12336 ac_exeext=$ac_wine_check_headers_saved_exeext
12338 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_tiffio_h" >&5
12339 printf "%s\n" "$ac_cv_mingw_header_tiffio_h" >&6; }
12340 if test "x$ac_cv_mingw_header_tiffio_h" = xyes
12341 then :
12342 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for TIFFClientOpen in MinGW -ltiff" >&5
12343 printf %s "checking for TIFFClientOpen in MinGW -ltiff... " >&6; }
12344 if test ${ac_cv_mingw_lib_tiff+y}
12345 then :
12346 printf %s "(cached) " >&6
12347 else $as_nop
12348 ac_wine_check_headers_saved_cc=$CC
12349 ac_wine_check_headers_saved_exeext=$ac_exeext
12350 ac_wine_check_headers_saved_libs=$LIBS
12351 eval CC=\$${wine_arch}_CC
12352 ac_exeext=".exe"
12353 LIBS="-ltiff $TIFF_PE_LIBS $LIBS"
12354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12355 /* end confdefs.h. */
12357 /* Override any GCC internal prototype to avoid an error.
12358 Use char because int might match the return type of a GCC
12359 builtin and then its argument prototype would still apply. */
12360 char TIFFClientOpen ();
12362 main (void)
12364 return TIFFClientOpen ();
12366 return 0;
12368 _ACEOF
12369 if ac_fn_c_try_link "$LINENO"
12370 then :
12371 ac_cv_mingw_lib_tiff=yes
12372 else $as_nop
12373 ac_cv_mingw_lib_tiff=no
12375 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12376 conftest$ac_exeext conftest.$ac_ext
12377 CC=$ac_wine_check_headers_saved_cc
12378 ac_exeext=$ac_wine_check_headers_saved_exeext
12379 LIBS=$ac_wine_check_headers_saved_libs
12381 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_tiff" >&5
12382 printf "%s\n" "$ac_cv_mingw_lib_tiff" >&6; }
12383 if test "x$ac_cv_mingw_lib_tiff" = xyes
12384 then :
12386 else $as_nop
12387 TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
12389 else $as_nop
12390 TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
12392 CPPFLAGS=$ac_save_CPPFLAGS
12394 if test "x$TIFF_PE_LIBS" = "x"
12395 then
12396 as_fn_append wine_notices "|libtiff ${notice_platform}MinGW development files not found; using bundled version."
12399 if ${XML2_PE_CFLAGS:+false} :
12400 then :
12401 if test ${MINGW_PKG_CONFIG+y}
12402 then :
12403 XML2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
12406 if ${XML2_PE_LIBS:+false} :
12407 then :
12408 if test ${MINGW_PKG_CONFIG+y}
12409 then :
12410 XML2_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxml-2.0 2>/dev/null`
12413 XML2_PE_LIBS=${XML2_PE_LIBS:-"-lxml2"}
12414 ac_save_CPPFLAGS=$CPPFLAGS
12415 CPPFLAGS="$CPPFLAGS $XML2_PE_CFLAGS"
12416 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/parser.h" >&5
12417 printf %s "checking for MinGW libxml/parser.h... " >&6; }
12418 if test ${ac_cv_mingw_header_libxml_parser_h+y}
12419 then :
12420 printf %s "(cached) " >&6
12421 else $as_nop
12422 ac_wine_check_headers_saved_cc=$CC
12423 ac_wine_check_headers_saved_exeext=$ac_exeext
12424 eval CC=\$${wine_arch}_CC
12425 ac_exeext=".exe"
12426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12427 /* end confdefs.h. */
12429 #include <libxml/parser.h>
12431 main (void)
12435 return 0;
12437 _ACEOF
12438 if ac_fn_c_try_compile "$LINENO"
12439 then :
12440 ac_cv_mingw_header_libxml_parser_h=yes
12441 else $as_nop
12442 ac_cv_mingw_header_libxml_parser_h=no
12444 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12445 CC=$ac_wine_check_headers_saved_cc
12446 ac_exeext=$ac_wine_check_headers_saved_exeext
12448 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_parser_h" >&5
12449 printf "%s\n" "$ac_cv_mingw_header_libxml_parser_h" >&6; }
12450 if test "x$ac_cv_mingw_header_libxml_parser_h" = xyes
12451 then :
12454 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/xmlsave.h" >&5
12455 printf %s "checking for MinGW libxml/xmlsave.h... " >&6; }
12456 if test ${ac_cv_mingw_header_libxml_xmlsave_h+y}
12457 then :
12458 printf %s "(cached) " >&6
12459 else $as_nop
12460 ac_wine_check_headers_saved_cc=$CC
12461 ac_wine_check_headers_saved_exeext=$ac_exeext
12462 eval CC=\$${wine_arch}_CC
12463 ac_exeext=".exe"
12464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12465 /* end confdefs.h. */
12467 #include <libxml/xmlsave.h>
12469 main (void)
12473 return 0;
12475 _ACEOF
12476 if ac_fn_c_try_compile "$LINENO"
12477 then :
12478 ac_cv_mingw_header_libxml_xmlsave_h=yes
12479 else $as_nop
12480 ac_cv_mingw_header_libxml_xmlsave_h=no
12482 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12483 CC=$ac_wine_check_headers_saved_cc
12484 ac_exeext=$ac_wine_check_headers_saved_exeext
12486 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_xmlsave_h" >&5
12487 printf "%s\n" "$ac_cv_mingw_header_libxml_xmlsave_h" >&6; }
12488 if test "x$ac_cv_mingw_header_libxml_xmlsave_h" = xyes
12489 then :
12492 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/SAX2.h" >&5
12493 printf %s "checking for MinGW libxml/SAX2.h... " >&6; }
12494 if test ${ac_cv_mingw_header_libxml_SAX2_h+y}
12495 then :
12496 printf %s "(cached) " >&6
12497 else $as_nop
12498 ac_wine_check_headers_saved_cc=$CC
12499 ac_wine_check_headers_saved_exeext=$ac_exeext
12500 eval CC=\$${wine_arch}_CC
12501 ac_exeext=".exe"
12502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12503 /* end confdefs.h. */
12505 #include <libxml/SAX2.h>
12507 main (void)
12511 return 0;
12513 _ACEOF
12514 if ac_fn_c_try_compile "$LINENO"
12515 then :
12516 ac_cv_mingw_header_libxml_SAX2_h=yes
12517 else $as_nop
12518 ac_cv_mingw_header_libxml_SAX2_h=no
12520 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12521 CC=$ac_wine_check_headers_saved_cc
12522 ac_exeext=$ac_wine_check_headers_saved_exeext
12524 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_SAX2_h" >&5
12525 printf "%s\n" "$ac_cv_mingw_header_libxml_SAX2_h" >&6; }
12526 if test "x$ac_cv_mingw_header_libxml_SAX2_h" = xyes
12527 then :
12530 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"
12531 then
12532 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in MinGW -lxml2" >&5
12533 printf %s "checking for xmlFirstElementChild in MinGW -lxml2... " >&6; }
12534 if test ${ac_cv_mingw_lib_xml2+y}
12535 then :
12536 printf %s "(cached) " >&6
12537 else $as_nop
12538 ac_wine_check_headers_saved_cc=$CC
12539 ac_wine_check_headers_saved_exeext=$ac_exeext
12540 ac_wine_check_headers_saved_libs=$LIBS
12541 eval CC=\$${wine_arch}_CC
12542 ac_exeext=".exe"
12543 LIBS="-lxml2 $XML2_PE_LIBS $LIBS"
12544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12545 /* end confdefs.h. */
12547 /* Override any GCC internal prototype to avoid an error.
12548 Use char because int might match the return type of a GCC
12549 builtin and then its argument prototype would still apply. */
12550 char xmlFirstElementChild ();
12552 main (void)
12554 return xmlFirstElementChild ();
12556 return 0;
12558 _ACEOF
12559 if ac_fn_c_try_link "$LINENO"
12560 then :
12561 ac_cv_mingw_lib_xml2=yes
12562 else $as_nop
12563 ac_cv_mingw_lib_xml2=no
12565 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12566 conftest$ac_exeext conftest.$ac_ext
12567 CC=$ac_wine_check_headers_saved_cc
12568 ac_exeext=$ac_wine_check_headers_saved_exeext
12569 LIBS=$ac_wine_check_headers_saved_libs
12571 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xml2" >&5
12572 printf "%s\n" "$ac_cv_mingw_lib_xml2" >&6; }
12573 if test "x$ac_cv_mingw_lib_xml2" = xyes
12574 then :
12576 else $as_nop
12577 XML2_PE_CFLAGS=""; XML2_PE_LIBS=""
12579 else
12580 XML2_PE_CFLAGS=""
12581 XML2_PE_LIBS=""
12583 CPPFLAGS=$ac_save_CPPFLAGS
12585 if test "x$XML2_PE_LIBS" = "x"
12586 then
12587 as_fn_append wine_notices "|libxml2 ${notice_platform}MinGW development files not found (or too old); using bundled version."
12590 if ${XSLT_PE_CFLAGS:+false} :
12591 then :
12592 if test ${MINGW_PKG_CONFIG+y}
12593 then :
12594 XSLT_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxslt 2>/dev/null`
12597 if ${XSLT_PE_LIBS:+false} :
12598 then :
12599 if test ${MINGW_PKG_CONFIG+y}
12600 then :
12601 XSLT_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxslt 2>/dev/null`
12604 XSLT_PE_LIBS=${XSLT_PE_LIBS:-"-lxslt"}
12605 ac_save_CPPFLAGS=$CPPFLAGS
12606 CPPFLAGS="$CPPFLAGS $XSLT_PE_CFLAGS"
12607 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/pattern.h" >&5
12608 printf %s "checking for MinGW libxslt/pattern.h... " >&6; }
12609 if test ${ac_cv_mingw_header_libxslt_pattern_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 <libxslt/pattern.h>
12622 main (void)
12626 return 0;
12628 _ACEOF
12629 if ac_fn_c_try_compile "$LINENO"
12630 then :
12631 ac_cv_mingw_header_libxslt_pattern_h=yes
12632 else $as_nop
12633 ac_cv_mingw_header_libxslt_pattern_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_libxslt_pattern_h" >&5
12640 printf "%s\n" "$ac_cv_mingw_header_libxslt_pattern_h" >&6; }
12641 if test "x$ac_cv_mingw_header_libxslt_pattern_h" = xyes
12642 then :
12645 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/transform.h" >&5
12646 printf %s "checking for MinGW libxslt/transform.h... " >&6; }
12647 if test ${ac_cv_mingw_header_libxslt_transform_h+y}
12648 then :
12649 printf %s "(cached) " >&6
12650 else $as_nop
12651 ac_wine_check_headers_saved_cc=$CC
12652 ac_wine_check_headers_saved_exeext=$ac_exeext
12653 eval CC=\$${wine_arch}_CC
12654 ac_exeext=".exe"
12655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12656 /* end confdefs.h. */
12658 #include <libxslt/transform.h>
12660 main (void)
12664 return 0;
12666 _ACEOF
12667 if ac_fn_c_try_compile "$LINENO"
12668 then :
12669 ac_cv_mingw_header_libxslt_transform_h=yes
12670 else $as_nop
12671 ac_cv_mingw_header_libxslt_transform_h=no
12673 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12674 CC=$ac_wine_check_headers_saved_cc
12675 ac_exeext=$ac_wine_check_headers_saved_exeext
12677 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_transform_h" >&5
12678 printf "%s\n" "$ac_cv_mingw_header_libxslt_transform_h" >&6; }
12679 if test "x$ac_cv_mingw_header_libxslt_transform_h" = xyes
12680 then :
12683 if test "$ac_cv_mingw_header_libxslt_pattern_h" = "yes" -a "$ac_cv_mingw_header_libxslt_transform_h" = "yes"
12684 then
12685 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xsltCompilePattern in MinGW -lxslt" >&5
12686 printf %s "checking for xsltCompilePattern in MinGW -lxslt... " >&6; }
12687 if test ${ac_cv_mingw_lib_xslt+y}
12688 then :
12689 printf %s "(cached) " >&6
12690 else $as_nop
12691 ac_wine_check_headers_saved_cc=$CC
12692 ac_wine_check_headers_saved_exeext=$ac_exeext
12693 ac_wine_check_headers_saved_libs=$LIBS
12694 eval CC=\$${wine_arch}_CC
12695 ac_exeext=".exe"
12696 LIBS="-lxslt $XSLT_PE_LIBS $LIBS"
12697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12698 /* end confdefs.h. */
12700 /* Override any GCC internal prototype to avoid an error.
12701 Use char because int might match the return type of a GCC
12702 builtin and then its argument prototype would still apply. */
12703 char xsltCompilePattern ();
12705 main (void)
12707 return xsltCompilePattern ();
12709 return 0;
12711 _ACEOF
12712 if ac_fn_c_try_link "$LINENO"
12713 then :
12714 ac_cv_mingw_lib_xslt=yes
12715 else $as_nop
12716 ac_cv_mingw_lib_xslt=no
12718 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12719 conftest$ac_exeext conftest.$ac_ext
12720 CC=$ac_wine_check_headers_saved_cc
12721 ac_exeext=$ac_wine_check_headers_saved_exeext
12722 LIBS=$ac_wine_check_headers_saved_libs
12724 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xslt" >&5
12725 printf "%s\n" "$ac_cv_mingw_lib_xslt" >&6; }
12726 if test "x$ac_cv_mingw_lib_xslt" = xyes
12727 then :
12729 else $as_nop
12730 XSLT_PE_CFLAGS=""; XSLT_PE_LIBS=""
12732 else
12733 XSLT_PE_CFLAGS=""
12734 XSLT_PE_LIBS=""
12736 CPPFLAGS=$ac_save_CPPFLAGS
12738 if test "x$XSLT_PE_LIBS" = "x"
12739 then
12740 as_fn_append wine_notices "|libxslt ${notice_platform}MinGW development files not found; using bundled version."
12743 if ${VKD3D_PE_CFLAGS:+false} :
12744 then :
12745 if test ${MINGW_PKG_CONFIG+y}
12746 then :
12747 VKD3D_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libvkd3d libvkd3d-shader 2>/dev/null`
12750 if ${VKD3D_PE_LIBS:+false} :
12751 then :
12752 if test ${MINGW_PKG_CONFIG+y}
12753 then :
12754 VKD3D_PE_LIBS=`$MINGW_PKG_CONFIG --libs libvkd3d libvkd3d-shader 2>/dev/null`
12757 VKD3D_PE_LIBS=${VKD3D_PE_LIBS:-"-lvkd3d -lvkd3d-shader"}
12758 ac_save_CPPFLAGS=$CPPFLAGS
12759 CPPFLAGS="$CPPFLAGS $VKD3D_PE_CFLAGS"
12760 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW vkd3d.h" >&5
12761 printf %s "checking for MinGW vkd3d.h... " >&6; }
12762 if test ${ac_cv_mingw_header_vkd3d_h+y}
12763 then :
12764 printf %s "(cached) " >&6
12765 else $as_nop
12766 ac_wine_check_headers_saved_cc=$CC
12767 ac_wine_check_headers_saved_exeext=$ac_exeext
12768 eval CC=\$${wine_arch}_CC
12769 ac_exeext=".exe"
12770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12771 /* end confdefs.h. */
12773 #include <vkd3d.h>
12775 main (void)
12779 return 0;
12781 _ACEOF
12782 if ac_fn_c_try_compile "$LINENO"
12783 then :
12784 ac_cv_mingw_header_vkd3d_h=yes
12785 else $as_nop
12786 ac_cv_mingw_header_vkd3d_h=no
12788 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12789 CC=$ac_wine_check_headers_saved_cc
12790 ac_exeext=$ac_wine_check_headers_saved_exeext
12792 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_vkd3d_h" >&5
12793 printf "%s\n" "$ac_cv_mingw_header_vkd3d_h" >&6; }
12794 if test "x$ac_cv_mingw_header_vkd3d_h" = xyes
12795 then :
12798 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW vkd3d_shader.h" >&5
12799 printf %s "checking for MinGW vkd3d_shader.h... " >&6; }
12800 if test ${ac_cv_mingw_header_vkd3d_shader_h+y}
12801 then :
12802 printf %s "(cached) " >&6
12803 else $as_nop
12804 ac_wine_check_headers_saved_cc=$CC
12805 ac_wine_check_headers_saved_exeext=$ac_exeext
12806 eval CC=\$${wine_arch}_CC
12807 ac_exeext=".exe"
12808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12809 /* end confdefs.h. */
12811 #include <vkd3d_shader.h>
12813 main (void)
12817 return 0;
12819 _ACEOF
12820 if ac_fn_c_try_compile "$LINENO"
12821 then :
12822 ac_cv_mingw_header_vkd3d_shader_h=yes
12823 else $as_nop
12824 ac_cv_mingw_header_vkd3d_shader_h=no
12826 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12827 CC=$ac_wine_check_headers_saved_cc
12828 ac_exeext=$ac_wine_check_headers_saved_exeext
12830 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_vkd3d_shader_h" >&5
12831 printf "%s\n" "$ac_cv_mingw_header_vkd3d_shader_h" >&6; }
12832 if test "x$ac_cv_mingw_header_vkd3d_shader_h" = xyes
12833 then :
12836 if test "$ac_cv_mingw_header_vkd3d_h" = "yes" -a "$ac_cv_mingw_header_vkd3d_shader_h" = "yes"
12837 then
12838 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for vkd3d_set_log_callback in MinGW -lvkd3d" >&5
12839 printf %s "checking for vkd3d_set_log_callback in MinGW -lvkd3d... " >&6; }
12840 if test ${ac_cv_mingw_lib_vkd3d+y}
12841 then :
12842 printf %s "(cached) " >&6
12843 else $as_nop
12844 ac_wine_check_headers_saved_cc=$CC
12845 ac_wine_check_headers_saved_exeext=$ac_exeext
12846 ac_wine_check_headers_saved_libs=$LIBS
12847 eval CC=\$${wine_arch}_CC
12848 ac_exeext=".exe"
12849 LIBS="-lvkd3d $VKD3D_PE_LIBS $LIBS"
12850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12851 /* end confdefs.h. */
12853 /* Override any GCC internal prototype to avoid an error.
12854 Use char because int might match the return type of a GCC
12855 builtin and then its argument prototype would still apply. */
12856 char vkd3d_set_log_callback ();
12858 main (void)
12860 return vkd3d_set_log_callback ();
12862 return 0;
12864 _ACEOF
12865 if ac_fn_c_try_link "$LINENO"
12866 then :
12867 ac_cv_mingw_lib_vkd3d=yes
12868 else $as_nop
12869 ac_cv_mingw_lib_vkd3d=no
12871 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12872 conftest$ac_exeext conftest.$ac_ext
12873 CC=$ac_wine_check_headers_saved_cc
12874 ac_exeext=$ac_wine_check_headers_saved_exeext
12875 LIBS=$ac_wine_check_headers_saved_libs
12877 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_vkd3d" >&5
12878 printf "%s\n" "$ac_cv_mingw_lib_vkd3d" >&6; }
12879 if test "x$ac_cv_mingw_lib_vkd3d" = xyes
12880 then :
12882 else $as_nop
12885 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for vkd3d_shader_compile in MinGW -lvkd3d-shader" >&5
12886 printf %s "checking for vkd3d_shader_compile in MinGW -lvkd3d-shader... " >&6; }
12887 if test ${ac_cv_mingw_lib_vkd3d_shader+y}
12888 then :
12889 printf %s "(cached) " >&6
12890 else $as_nop
12891 ac_wine_check_headers_saved_cc=$CC
12892 ac_wine_check_headers_saved_exeext=$ac_exeext
12893 ac_wine_check_headers_saved_libs=$LIBS
12894 eval CC=\$${wine_arch}_CC
12895 ac_exeext=".exe"
12896 LIBS="-lvkd3d-shader $VKD3D_PE_LIBS $LIBS"
12897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12898 /* end confdefs.h. */
12900 /* Override any GCC internal prototype to avoid an error.
12901 Use char because int might match the return type of a GCC
12902 builtin and then its argument prototype would still apply. */
12903 char vkd3d_shader_compile ();
12905 main (void)
12907 return vkd3d_shader_compile ();
12909 return 0;
12911 _ACEOF
12912 if ac_fn_c_try_link "$LINENO"
12913 then :
12914 ac_cv_mingw_lib_vkd3d_shader=yes
12915 else $as_nop
12916 ac_cv_mingw_lib_vkd3d_shader=no
12918 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12919 conftest$ac_exeext conftest.$ac_ext
12920 CC=$ac_wine_check_headers_saved_cc
12921 ac_exeext=$ac_wine_check_headers_saved_exeext
12922 LIBS=$ac_wine_check_headers_saved_libs
12924 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_vkd3d_shader" >&5
12925 printf "%s\n" "$ac_cv_mingw_lib_vkd3d_shader" >&6; }
12926 if test "x$ac_cv_mingw_lib_vkd3d_shader" = xyes
12927 then :
12929 else $as_nop
12932 if test "$ac_cv_mingw_lib_vkd3d" = "no" -o "$ac_cv_mingw_lib_vkd3d_shader" = "no"
12933 then
12934 VKD3D_PE_CFLAGS=""
12935 VKD3D_PE_LIBS=""
12937 else
12938 VKD3D_PE_CFLAGS=""
12939 VKD3D_PE_LIBS=""
12941 CPPFLAGS=$ac_save_CPPFLAGS
12943 if test "x$VKD3D_PE_LIBS" = "x"
12944 then
12945 as_fn_append wine_notices "|libvkd3d ${notice_platform}MinGW development files not found (or too old); using bundled version."
12948 if ${ZLIB_PE_CFLAGS:+false} :
12949 then :
12950 if test ${MINGW_PKG_CONFIG+y}
12951 then :
12952 ZLIB_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags zlib 2>/dev/null`
12955 if ${ZLIB_PE_LIBS:+false} :
12956 then :
12957 if test ${MINGW_PKG_CONFIG+y}
12958 then :
12959 ZLIB_PE_LIBS=`$MINGW_PKG_CONFIG --libs zlib 2>/dev/null`
12962 ZLIB_PE_LIBS=${ZLIB_PE_LIBS:-"-lz"}
12963 ac_save_CPPFLAGS=$CPPFLAGS
12964 CPPFLAGS="$CPPFLAGS $ZLIB_PE_CFLAGS"
12965 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW zlib.h" >&5
12966 printf %s "checking for MinGW zlib.h... " >&6; }
12967 if test ${ac_cv_mingw_header_zlib_h+y}
12968 then :
12969 printf %s "(cached) " >&6
12970 else $as_nop
12971 ac_wine_check_headers_saved_cc=$CC
12972 ac_wine_check_headers_saved_exeext=$ac_exeext
12973 eval CC=\$${wine_arch}_CC
12974 ac_exeext=".exe"
12975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12976 /* end confdefs.h. */
12978 #include <zlib.h>
12980 main (void)
12984 return 0;
12986 _ACEOF
12987 if ac_fn_c_try_compile "$LINENO"
12988 then :
12989 ac_cv_mingw_header_zlib_h=yes
12990 else $as_nop
12991 ac_cv_mingw_header_zlib_h=no
12993 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12994 CC=$ac_wine_check_headers_saved_cc
12995 ac_exeext=$ac_wine_check_headers_saved_exeext
12997 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_zlib_h" >&5
12998 printf "%s\n" "$ac_cv_mingw_header_zlib_h" >&6; }
12999 if test "x$ac_cv_mingw_header_zlib_h" = xyes
13000 then :
13001 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inflate in MinGW -lz" >&5
13002 printf %s "checking for inflate in MinGW -lz... " >&6; }
13003 if test ${ac_cv_mingw_lib_z+y}
13004 then :
13005 printf %s "(cached) " >&6
13006 else $as_nop
13007 ac_wine_check_headers_saved_cc=$CC
13008 ac_wine_check_headers_saved_exeext=$ac_exeext
13009 ac_wine_check_headers_saved_libs=$LIBS
13010 eval CC=\$${wine_arch}_CC
13011 ac_exeext=".exe"
13012 LIBS="-lz $ZLIB_PE_LIBS $LIBS"
13013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13014 /* end confdefs.h. */
13016 /* Override any GCC internal prototype to avoid an error.
13017 Use char because int might match the return type of a GCC
13018 builtin and then its argument prototype would still apply. */
13019 char inflate ();
13021 main (void)
13023 return inflate ();
13025 return 0;
13027 _ACEOF
13028 if ac_fn_c_try_link "$LINENO"
13029 then :
13030 ac_cv_mingw_lib_z=yes
13031 else $as_nop
13032 ac_cv_mingw_lib_z=no
13034 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13035 conftest$ac_exeext conftest.$ac_ext
13036 CC=$ac_wine_check_headers_saved_cc
13037 ac_exeext=$ac_wine_check_headers_saved_exeext
13038 LIBS=$ac_wine_check_headers_saved_libs
13040 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_z" >&5
13041 printf "%s\n" "$ac_cv_mingw_lib_z" >&6; }
13042 if test "x$ac_cv_mingw_lib_z" = xyes
13043 then :
13045 else $as_nop
13046 ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
13048 else $as_nop
13049 ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
13051 CPPFLAGS=$ac_save_CPPFLAGS
13053 if test "x$ZLIB_PE_LIBS" = "x"
13054 then
13055 as_fn_append wine_notices "|zlib ${notice_platform}MinGW development files not found; using bundled version."
13059 if ${FAUDIO_PE_LIBS:+false} :
13060 then :
13061 FAUDIO_PE_LIBS="faudio mfplat mfreadwrite mfuuid propsys"
13062 if ${FAUDIO_PE_CFLAGS:+false} :
13063 then :
13064 FAUDIO_PE_CFLAGS="-I\$(top_srcdir)/libs/faudio/include"
13065 else $as_nop
13066 enable_faudio=no
13068 else $as_nop
13069 enable_faudio=no
13071 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio cflags: $FAUDIO_PE_CFLAGS" >&5
13072 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio libs: $FAUDIO_PE_LIBS" >&5
13074 if ${GSM_PE_LIBS:+false} :
13075 then :
13076 GSM_PE_LIBS=gsm
13077 if ${GSM_PE_CFLAGS:+false} :
13078 then :
13079 GSM_PE_CFLAGS="-I\$(top_srcdir)/libs/gsm/inc"
13080 else $as_nop
13081 enable_gsm=no
13083 else $as_nop
13084 enable_gsm=no
13086 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm cflags: $GSM_PE_CFLAGS" >&5
13087 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm libs: $GSM_PE_LIBS" >&5
13089 if ${JPEG_PE_LIBS:+false} :
13090 then :
13091 JPEG_PE_LIBS=jpeg
13092 if ${JPEG_PE_CFLAGS:+false} :
13093 then :
13094 JPEG_PE_CFLAGS="-I\$(top_srcdir)/libs/jpeg"
13095 else $as_nop
13096 enable_jpeg=no
13098 else $as_nop
13099 enable_jpeg=no
13101 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg cflags: $JPEG_PE_CFLAGS" >&5
13102 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg libs: $JPEG_PE_LIBS" >&5
13104 if ${JXR_PE_LIBS:+false} :
13105 then :
13106 JXR_PE_LIBS=jxr
13107 if ${JXR_PE_CFLAGS:+false} :
13108 then :
13109 JXR_PE_CFLAGS="-I\$(top_srcdir)/libs/jxr/jxrgluelib -I\$(top_srcdir)/libs/jxr/image/sys"
13110 else $as_nop
13111 enable_jxr=no
13113 else $as_nop
13114 enable_jxr=no
13116 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr cflags: $JXR_PE_CFLAGS" >&5
13117 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr libs: $JXR_PE_LIBS" >&5
13119 if ${LCMS2_PE_LIBS:+false} :
13120 then :
13121 LCMS2_PE_LIBS=lcms2
13122 if ${LCMS2_PE_CFLAGS:+false} :
13123 then :
13124 LCMS2_PE_CFLAGS="-I\$(top_srcdir)/libs/lcms2/include"
13125 else $as_nop
13126 enable_lcms2=no
13128 else $as_nop
13129 enable_lcms2=no
13131 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_PE_CFLAGS" >&5
13132 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_PE_LIBS" >&5
13134 if ${LDAP_PE_LIBS:+false} :
13135 then :
13136 LDAP_PE_LIBS=ldap
13137 if ${LDAP_PE_CFLAGS:+false} :
13138 then :
13139 LDAP_PE_CFLAGS="-I\$(top_srcdir)/libs/ldap/include"
13140 else $as_nop
13141 enable_ldap=no
13143 else $as_nop
13144 enable_ldap=no
13146 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ldap cflags: $LDAP_PE_CFLAGS" >&5
13147 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ldap libs: $LDAP_PE_LIBS" >&5
13149 if ${MPG123_PE_LIBS:+false} :
13150 then :
13151 MPG123_PE_LIBS=mpg123
13152 if ${MPG123_PE_CFLAGS:+false} :
13153 then :
13154 MPG123_PE_CFLAGS="-I\$(top_srcdir)/libs/mpg123/src/libmpg123"
13155 else $as_nop
13156 enable_mpg123=no
13158 else $as_nop
13159 enable_mpg123=no
13161 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 cflags: $MPG123_PE_CFLAGS" >&5
13162 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 libs: $MPG123_PE_LIBS" >&5
13164 if ${PNG_PE_LIBS:+false} :
13165 then :
13166 PNG_PE_LIBS="png \$(ZLIB_PE_LIBS)"
13167 if ${PNG_PE_CFLAGS:+false} :
13168 then :
13169 PNG_PE_CFLAGS="-I\$(top_srcdir)/libs/png"
13170 else $as_nop
13171 enable_png=no
13173 else $as_nop
13174 enable_png=no
13176 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png cflags: $PNG_PE_CFLAGS" >&5
13177 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png libs: $PNG_PE_LIBS" >&5
13179 if ${TIFF_PE_LIBS:+false} :
13180 then :
13181 TIFF_PE_LIBS="tiff \$(ZLIB_PE_LIBS)"
13182 if ${TIFF_PE_CFLAGS:+false} :
13183 then :
13184 TIFF_PE_CFLAGS="-I\$(top_srcdir)/libs/tiff/libtiff"
13185 else $as_nop
13186 enable_tiff=no
13188 else $as_nop
13189 enable_tiff=no
13191 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff cflags: $TIFF_PE_CFLAGS" >&5
13192 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff libs: $TIFF_PE_LIBS" >&5
13194 if ${VKD3D_PE_LIBS:+false} :
13195 then :
13196 VKD3D_PE_LIBS=vkd3d
13197 if ${VKD3D_PE_CFLAGS:+false} :
13198 then :
13199 VKD3D_PE_CFLAGS="-I\$(top_srcdir)/libs/vkd3d/include"
13200 else $as_nop
13201 enable_vkd3d=no
13203 else $as_nop
13204 enable_vkd3d=no
13206 printf "%s\n" "$as_me:${as_lineno-$LINENO}: vkd3d cflags: $VKD3D_PE_CFLAGS" >&5
13207 printf "%s\n" "$as_me:${as_lineno-$LINENO}: vkd3d libs: $VKD3D_PE_LIBS" >&5
13209 if ${XML2_PE_LIBS:+false} :
13210 then :
13211 XML2_PE_LIBS=xml2
13212 if ${XML2_PE_CFLAGS:+false} :
13213 then :
13214 XML2_PE_CFLAGS="-I\$(top_srcdir)/libs/xml2/include -DLIBXML_STATIC"
13215 else $as_nop
13216 enable_xml2=no
13218 else $as_nop
13219 enable_xml2=no
13221 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 cflags: $XML2_PE_CFLAGS" >&5
13222 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 libs: $XML2_PE_LIBS" >&5
13224 if ${XSLT_PE_LIBS:+false} :
13225 then :
13226 XSLT_PE_LIBS=xslt
13227 if ${XSLT_PE_CFLAGS:+false} :
13228 then :
13229 XSLT_PE_CFLAGS="-I\$(top_srcdir)/libs/xslt/libxslt -I\$(top_srcdir)/libs/xslt -DLIBXSLT_STATIC"
13230 else $as_nop
13231 enable_xslt=no
13233 else $as_nop
13234 enable_xslt=no
13236 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt cflags: $XSLT_PE_CFLAGS" >&5
13237 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt libs: $XSLT_PE_LIBS" >&5
13239 if ${ZLIB_PE_LIBS:+false} :
13240 then :
13241 ZLIB_PE_LIBS=z
13242 if ${ZLIB_PE_CFLAGS:+false} :
13243 then :
13244 ZLIB_PE_CFLAGS="-I\$(top_srcdir)/libs/zlib -DFAR= -DZ_SOLO"
13245 else $as_nop
13246 enable_zlib=no
13248 else $as_nop
13249 enable_zlib=no
13251 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib cflags: $ZLIB_PE_CFLAGS" >&5
13252 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib libs: $ZLIB_PE_LIBS" >&5
13254 if ${ZYDIS_PE_LIBS:+false} :
13255 then :
13256 ZYDIS_PE_LIBS=zydis
13257 if ${ZYDIS_PE_CFLAGS:+false} :
13258 then :
13259 ZYDIS_PE_CFLAGS="-I\$(top_srcdir)/libs/zydis/include"
13260 else $as_nop
13261 enable_zydis=no
13263 else $as_nop
13264 enable_zydis=no
13266 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zydis cflags: $ZYDIS_PE_CFLAGS" >&5
13267 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zydis libs: $ZYDIS_PE_LIBS" >&5
13271 if test "$ac_cv_header_pthread_h" = "yes"
13272 then
13273 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
13274 if test "x$ac_cv_func_pthread_create" = xyes
13275 then :
13277 else $as_nop
13278 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
13279 printf %s "checking for pthread_create in -lpthread... " >&6; }
13280 if test ${ac_cv_lib_pthread_pthread_create+y}
13281 then :
13282 printf %s "(cached) " >&6
13283 else $as_nop
13284 ac_check_lib_save_LIBS=$LIBS
13285 LIBS="-lpthread $LIBS"
13286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13287 /* end confdefs.h. */
13289 /* Override any GCC internal prototype to avoid an error.
13290 Use char because int might match the return type of a GCC
13291 builtin and then its argument prototype would still apply. */
13292 char pthread_create ();
13294 main (void)
13296 return pthread_create ();
13298 return 0;
13300 _ACEOF
13301 if ac_fn_c_try_link "$LINENO"
13302 then :
13303 ac_cv_lib_pthread_pthread_create=yes
13304 else $as_nop
13305 ac_cv_lib_pthread_pthread_create=no
13307 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13308 conftest$ac_exeext conftest.$ac_ext
13309 LIBS=$ac_check_lib_save_LIBS
13311 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
13312 printf "%s\n" "$ac_cv_lib_pthread_pthread_create" >&6; }
13313 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
13314 then :
13315 PTHREAD_LIBS="-lpthread"
13322 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x
13323 then :
13324 case "x$with_pthread" in
13325 xno) ;;
13326 *) as_fn_error $? "pthread ${notice_platform}development files not found.
13327 Wine cannot support threads without libpthread.
13328 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
13329 esac
13334 ac_ext=c
13335 ac_cpp='$CPP $CPPFLAGS'
13336 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13337 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13338 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13339 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
13340 printf %s "checking how to run the C preprocessor... " >&6; }
13341 # On Suns, sometimes $CPP names a directory.
13342 if test -n "$CPP" && test -d "$CPP"; then
13343 CPP=
13345 if test -z "$CPP"; then
13346 if test ${ac_cv_prog_CPP+y}
13347 then :
13348 printf %s "(cached) " >&6
13349 else $as_nop
13350 # Double quotes because $CC needs to be expanded
13351 for CPP in "$CC -E" "$CC -E -traditional-cpp" cpp /lib/cpp
13353 ac_preproc_ok=false
13354 for ac_c_preproc_warn_flag in '' yes
13356 # Use a header file that comes with gcc, so configuring glibc
13357 # with a fresh cross-compiler works.
13358 # On the NeXT, cc -E runs the code through the compiler's parser,
13359 # not just through cpp. "Syntax error" is here to catch this case.
13360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13361 /* end confdefs.h. */
13362 #include <limits.h>
13363 Syntax error
13364 _ACEOF
13365 if ac_fn_c_try_cpp "$LINENO"
13366 then :
13368 else $as_nop
13369 # Broken: fails on valid input.
13370 continue
13372 rm -f conftest.err conftest.i conftest.$ac_ext
13374 # OK, works on sane cases. Now check whether nonexistent headers
13375 # can be detected and how.
13376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13377 /* end confdefs.h. */
13378 #include <ac_nonexistent.h>
13379 _ACEOF
13380 if ac_fn_c_try_cpp "$LINENO"
13381 then :
13382 # Broken: success on invalid input.
13383 continue
13384 else $as_nop
13385 # Passes both tests.
13386 ac_preproc_ok=:
13387 break
13389 rm -f conftest.err conftest.i conftest.$ac_ext
13391 done
13392 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13393 rm -f conftest.i conftest.err conftest.$ac_ext
13394 if $ac_preproc_ok
13395 then :
13396 break
13399 done
13400 ac_cv_prog_CPP=$CPP
13403 CPP=$ac_cv_prog_CPP
13404 else
13405 ac_cv_prog_CPP=$CPP
13407 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
13408 printf "%s\n" "$CPP" >&6; }
13409 ac_preproc_ok=false
13410 for ac_c_preproc_warn_flag in '' yes
13412 # Use a header file that comes with gcc, so configuring glibc
13413 # with a fresh cross-compiler works.
13414 # On the NeXT, cc -E runs the code through the compiler's parser,
13415 # not just through cpp. "Syntax error" is here to catch this case.
13416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13417 /* end confdefs.h. */
13418 #include <limits.h>
13419 Syntax error
13420 _ACEOF
13421 if ac_fn_c_try_cpp "$LINENO"
13422 then :
13424 else $as_nop
13425 # Broken: fails on valid input.
13426 continue
13428 rm -f conftest.err conftest.i conftest.$ac_ext
13430 # OK, works on sane cases. Now check whether nonexistent headers
13431 # can be detected and how.
13432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13433 /* end confdefs.h. */
13434 #include <ac_nonexistent.h>
13435 _ACEOF
13436 if ac_fn_c_try_cpp "$LINENO"
13437 then :
13438 # Broken: success on invalid input.
13439 continue
13440 else $as_nop
13441 # Passes both tests.
13442 ac_preproc_ok=:
13443 break
13445 rm -f conftest.err conftest.i conftest.$ac_ext
13447 done
13448 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13449 rm -f conftest.i conftest.err conftest.$ac_ext
13450 if $ac_preproc_ok
13451 then :
13453 else $as_nop
13454 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13455 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
13456 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
13457 See \`config.log' for more details" "$LINENO" 5; }
13460 ac_ext=c
13461 ac_cpp='$CPP $CPPFLAGS'
13462 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13463 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13464 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13467 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for X" >&5
13468 printf %s "checking for X... " >&6; }
13471 # Check whether --with-x was given.
13472 if test ${with_x+y}
13473 then :
13474 withval=$with_x;
13477 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
13478 if test "x$with_x" = xno; then
13479 # The user explicitly disabled X.
13480 have_x=disabled
13481 else
13482 case $x_includes,$x_libraries in #(
13483 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
13484 *,NONE | NONE,*) if test ${ac_cv_have_x+y}
13485 then :
13486 printf %s "(cached) " >&6
13487 else $as_nop
13488 # One or both of the vars are not set, and there is no cached value.
13489 ac_x_includes=no
13490 ac_x_libraries=no
13491 # Do we need to do anything special at all?
13492 ac_save_LIBS=$LIBS
13493 LIBS="-lX11 $LIBS"
13494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13495 /* end confdefs.h. */
13496 #include <X11/Xlib.h>
13498 main (void)
13500 XrmInitialize ()
13502 return 0;
13504 _ACEOF
13505 if ac_fn_c_try_link "$LINENO"
13506 then :
13507 # We can compile and link X programs with no special options.
13508 ac_x_includes=
13509 ac_x_libraries=
13511 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13512 conftest$ac_exeext conftest.$ac_ext
13513 LIBS="$ac_save_LIBS"
13514 # If that didn't work, only try xmkmf and file system searches
13515 # for native compilation.
13516 if test x"$ac_x_includes" = xno && test "$cross_compiling" = no
13517 then :
13518 rm -f -r conftest.dir
13519 if mkdir conftest.dir; then
13520 cd conftest.dir
13521 cat >Imakefile <<'_ACEOF'
13522 incroot:
13523 @echo incroot='${INCROOT}'
13524 usrlibdir:
13525 @echo usrlibdir='${USRLIBDIR}'
13526 libdir:
13527 @echo libdir='${LIBDIR}'
13528 _ACEOF
13529 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
13530 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
13531 for ac_var in incroot usrlibdir libdir; do
13532 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
13533 done
13534 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
13535 for ac_extension in a so sl dylib la dll; do
13536 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
13537 test -f "$ac_im_libdir/libX11.$ac_extension"; then
13538 ac_im_usrlibdir=$ac_im_libdir; break
13540 done
13541 # Screen out bogus values from the imake configuration. They are
13542 # bogus both because they are the default anyway, and because
13543 # using them would break gcc on systems where it needs fixed includes.
13544 case $ac_im_incroot in
13545 /usr/include) ac_x_includes= ;;
13546 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
13547 esac
13548 case $ac_im_usrlibdir in
13549 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
13550 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
13551 esac
13553 cd ..
13554 rm -f -r conftest.dir
13557 # Standard set of common directories for X headers.
13558 # Check X11 before X11Rn because it is often a symlink to the current release.
13559 ac_x_header_dirs='
13560 /usr/X11/include
13561 /usr/X11R7/include
13562 /usr/X11R6/include
13563 /usr/X11R5/include
13564 /usr/X11R4/include
13566 /usr/include/X11
13567 /usr/include/X11R7
13568 /usr/include/X11R6
13569 /usr/include/X11R5
13570 /usr/include/X11R4
13572 /usr/local/X11/include
13573 /usr/local/X11R7/include
13574 /usr/local/X11R6/include
13575 /usr/local/X11R5/include
13576 /usr/local/X11R4/include
13578 /usr/local/include/X11
13579 /usr/local/include/X11R7
13580 /usr/local/include/X11R6
13581 /usr/local/include/X11R5
13582 /usr/local/include/X11R4
13584 /opt/X11/include
13586 /usr/X386/include
13587 /usr/x386/include
13588 /usr/XFree86/include/X11
13590 /usr/include
13591 /usr/local/include
13592 /usr/unsupported/include
13593 /usr/athena/include
13594 /usr/local/x11r5/include
13595 /usr/lpp/Xamples/include
13597 /usr/openwin/include
13598 /usr/openwin/share/include'
13600 if test "$ac_x_includes" = no; then
13601 # Guess where to find include files, by looking for Xlib.h.
13602 # First, try using that file with no special directory specified.
13603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13604 /* end confdefs.h. */
13605 #include <X11/Xlib.h>
13606 _ACEOF
13607 if ac_fn_c_try_cpp "$LINENO"
13608 then :
13609 # We can compile using X headers with no special include directory.
13610 ac_x_includes=
13611 else $as_nop
13612 for ac_dir in $ac_x_header_dirs; do
13613 if test -r "$ac_dir/X11/Xlib.h"; then
13614 ac_x_includes=$ac_dir
13615 break
13617 done
13619 rm -f conftest.err conftest.i conftest.$ac_ext
13620 fi # $ac_x_includes = no
13622 if test "$ac_x_libraries" = no; then
13623 # Check for the libraries.
13624 # See if we find them without any special options.
13625 # Don't add to $LIBS permanently.
13626 ac_save_LIBS=$LIBS
13627 LIBS="-lX11 $LIBS"
13628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13629 /* end confdefs.h. */
13630 #include <X11/Xlib.h>
13632 main (void)
13634 XrmInitialize ()
13636 return 0;
13638 _ACEOF
13639 if ac_fn_c_try_link "$LINENO"
13640 then :
13641 LIBS=$ac_save_LIBS
13642 # We can link X programs with no special library path.
13643 ac_x_libraries=
13644 else $as_nop
13645 LIBS=$ac_save_LIBS
13646 for ac_dir in `printf "%s\n" "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
13648 # Don't even attempt the hair of trying to link an X program!
13649 for ac_extension in a so sl dylib la dll; do
13650 if test -r "$ac_dir/libX11.$ac_extension"; then
13651 ac_x_libraries=$ac_dir
13652 break 2
13654 done
13655 done
13657 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13658 conftest$ac_exeext conftest.$ac_ext
13659 fi # $ac_x_libraries = no
13662 # Record the results.
13663 case $ac_x_includes,$ac_x_libraries in #(
13664 no,* | *,no | *\'*) :
13665 # Didn't find X, or a directory has "'" in its name.
13666 ac_cv_have_x="have_x=no" ;; #(
13667 *) :
13668 # Record where we found X for the cache.
13669 ac_cv_have_x="have_x=yes\
13670 ac_x_includes='$ac_x_includes'\
13671 ac_x_libraries='$ac_x_libraries'" ;;
13672 esac
13674 ;; #(
13675 *) have_x=yes;;
13676 esac
13677 eval "$ac_cv_have_x"
13678 fi # $with_x != no
13680 if test "$have_x" != yes; then
13681 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
13682 printf "%s\n" "$have_x" >&6; }
13683 no_x=yes
13684 else
13685 # If each of the values was on the command line, it overrides each guess.
13686 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
13687 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
13688 # Update the cache value to reflect the command line values.
13689 ac_cv_have_x="have_x=yes\
13690 ac_x_includes='$x_includes'\
13691 ac_x_libraries='$x_libraries'"
13692 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
13693 printf "%s\n" "libraries $x_libraries, headers $x_includes" >&6; }
13696 if test "$no_x" = yes; then
13697 # Not all programs may use this symbol, but it does not hurt to define it.
13699 printf "%s\n" "#define X_DISPLAY_MISSING 1" >>confdefs.h
13701 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
13702 else
13703 if test -n "$x_includes"; then
13704 X_CFLAGS="$X_CFLAGS -I$x_includes"
13707 # It would also be nice to do this for all -L options, not just this one.
13708 if test -n "$x_libraries"; then
13709 X_LIBS="$X_LIBS -L$x_libraries"
13710 # For Solaris; some versions of Sun CC require a space after -R and
13711 # others require no space. Words are not sufficient . . . .
13712 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
13713 printf %s "checking whether -R must be followed by a space... " >&6; }
13714 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
13715 ac_xsave_c_werror_flag=$ac_c_werror_flag
13716 ac_c_werror_flag=yes
13717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13718 /* end confdefs.h. */
13721 main (void)
13725 return 0;
13727 _ACEOF
13728 if ac_fn_c_try_link "$LINENO"
13729 then :
13730 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
13731 printf "%s\n" "no" >&6; }
13732 X_LIBS="$X_LIBS -R$x_libraries"
13733 else $as_nop
13734 LIBS="$ac_xsave_LIBS -R $x_libraries"
13735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13736 /* end confdefs.h. */
13739 main (void)
13743 return 0;
13745 _ACEOF
13746 if ac_fn_c_try_link "$LINENO"
13747 then :
13748 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13749 printf "%s\n" "yes" >&6; }
13750 X_LIBS="$X_LIBS -R $x_libraries"
13751 else $as_nop
13752 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
13753 printf "%s\n" "neither works" >&6; }
13755 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13756 conftest$ac_exeext conftest.$ac_ext
13758 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13759 conftest$ac_exeext conftest.$ac_ext
13760 ac_c_werror_flag=$ac_xsave_c_werror_flag
13761 LIBS=$ac_xsave_LIBS
13764 # Check for system-dependent libraries X programs must link with.
13765 # Do this before checking for the system-independent R6 libraries
13766 # (-lICE), since we may need -lsocket or whatever for X linking.
13768 if test "$ISC" = yes; then
13769 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
13770 else
13771 # Martyn Johnson says this is needed for Ultrix, if the X
13772 # libraries were built with DECnet support. And Karl Berry says
13773 # the Alpha needs dnet_stub (dnet does not exist).
13774 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
13775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13776 /* end confdefs.h. */
13778 /* Override any GCC internal prototype to avoid an error.
13779 Use char because int might match the return type of a GCC
13780 builtin and then its argument prototype would still apply. */
13781 char XOpenDisplay ();
13783 main (void)
13785 return XOpenDisplay ();
13787 return 0;
13789 _ACEOF
13790 if ac_fn_c_try_link "$LINENO"
13791 then :
13793 else $as_nop
13794 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
13795 printf %s "checking for dnet_ntoa in -ldnet... " >&6; }
13796 if test ${ac_cv_lib_dnet_dnet_ntoa+y}
13797 then :
13798 printf %s "(cached) " >&6
13799 else $as_nop
13800 ac_check_lib_save_LIBS=$LIBS
13801 LIBS="-ldnet $LIBS"
13802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13803 /* end confdefs.h. */
13805 /* Override any GCC internal prototype to avoid an error.
13806 Use char because int might match the return type of a GCC
13807 builtin and then its argument prototype would still apply. */
13808 char dnet_ntoa ();
13810 main (void)
13812 return dnet_ntoa ();
13814 return 0;
13816 _ACEOF
13817 if ac_fn_c_try_link "$LINENO"
13818 then :
13819 ac_cv_lib_dnet_dnet_ntoa=yes
13820 else $as_nop
13821 ac_cv_lib_dnet_dnet_ntoa=no
13823 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13824 conftest$ac_exeext conftest.$ac_ext
13825 LIBS=$ac_check_lib_save_LIBS
13827 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
13828 printf "%s\n" "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
13829 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
13830 then :
13831 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
13834 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
13835 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
13836 printf %s "checking for dnet_ntoa in -ldnet_stub... " >&6; }
13837 if test ${ac_cv_lib_dnet_stub_dnet_ntoa+y}
13838 then :
13839 printf %s "(cached) " >&6
13840 else $as_nop
13841 ac_check_lib_save_LIBS=$LIBS
13842 LIBS="-ldnet_stub $LIBS"
13843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13844 /* end confdefs.h. */
13846 /* Override any GCC internal prototype to avoid an error.
13847 Use char because int might match the return type of a GCC
13848 builtin and then its argument prototype would still apply. */
13849 char dnet_ntoa ();
13851 main (void)
13853 return dnet_ntoa ();
13855 return 0;
13857 _ACEOF
13858 if ac_fn_c_try_link "$LINENO"
13859 then :
13860 ac_cv_lib_dnet_stub_dnet_ntoa=yes
13861 else $as_nop
13862 ac_cv_lib_dnet_stub_dnet_ntoa=no
13864 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13865 conftest$ac_exeext conftest.$ac_ext
13866 LIBS=$ac_check_lib_save_LIBS
13868 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
13869 printf "%s\n" "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
13870 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
13871 then :
13872 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
13877 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13878 conftest$ac_exeext conftest.$ac_ext
13879 LIBS="$ac_xsave_LIBS"
13881 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
13882 # to get the SysV transport functions.
13883 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
13884 # needs -lnsl.
13885 # The nsl library prevents programs from opening the X display
13886 # on Irix 5.2, according to T.E. Dickey.
13887 # The functions gethostbyname, getservbyname, and inet_addr are
13888 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
13889 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
13890 if test "x$ac_cv_func_gethostbyname" = xyes
13891 then :
13895 if test $ac_cv_func_gethostbyname = no; then
13896 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
13897 printf %s "checking for gethostbyname in -lnsl... " >&6; }
13898 if test ${ac_cv_lib_nsl_gethostbyname+y}
13899 then :
13900 printf %s "(cached) " >&6
13901 else $as_nop
13902 ac_check_lib_save_LIBS=$LIBS
13903 LIBS="-lnsl $LIBS"
13904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13905 /* end confdefs.h. */
13907 /* Override any GCC internal prototype to avoid an error.
13908 Use char because int might match the return type of a GCC
13909 builtin and then its argument prototype would still apply. */
13910 char gethostbyname ();
13912 main (void)
13914 return gethostbyname ();
13916 return 0;
13918 _ACEOF
13919 if ac_fn_c_try_link "$LINENO"
13920 then :
13921 ac_cv_lib_nsl_gethostbyname=yes
13922 else $as_nop
13923 ac_cv_lib_nsl_gethostbyname=no
13925 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13926 conftest$ac_exeext conftest.$ac_ext
13927 LIBS=$ac_check_lib_save_LIBS
13929 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
13930 printf "%s\n" "$ac_cv_lib_nsl_gethostbyname" >&6; }
13931 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
13932 then :
13933 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
13936 if test $ac_cv_lib_nsl_gethostbyname = no; then
13937 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
13938 printf %s "checking for gethostbyname in -lbsd... " >&6; }
13939 if test ${ac_cv_lib_bsd_gethostbyname+y}
13940 then :
13941 printf %s "(cached) " >&6
13942 else $as_nop
13943 ac_check_lib_save_LIBS=$LIBS
13944 LIBS="-lbsd $LIBS"
13945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13946 /* end confdefs.h. */
13948 /* Override any GCC internal prototype to avoid an error.
13949 Use char because int might match the return type of a GCC
13950 builtin and then its argument prototype would still apply. */
13951 char gethostbyname ();
13953 main (void)
13955 return gethostbyname ();
13957 return 0;
13959 _ACEOF
13960 if ac_fn_c_try_link "$LINENO"
13961 then :
13962 ac_cv_lib_bsd_gethostbyname=yes
13963 else $as_nop
13964 ac_cv_lib_bsd_gethostbyname=no
13966 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13967 conftest$ac_exeext conftest.$ac_ext
13968 LIBS=$ac_check_lib_save_LIBS
13970 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
13971 printf "%s\n" "$ac_cv_lib_bsd_gethostbyname" >&6; }
13972 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
13973 then :
13974 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
13980 # lieder@skyler.mavd.honeywell.com says without -lsocket,
13981 # socket/setsockopt and other routines are undefined under SCO ODT
13982 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
13983 # on later versions), says Simon Leinen: it contains gethostby*
13984 # variants that don't use the name server (or something). -lsocket
13985 # must be given before -lnsl if both are needed. We assume that
13986 # if connect needs -lnsl, so does gethostbyname.
13987 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
13988 if test "x$ac_cv_func_connect" = xyes
13989 then :
13993 if test $ac_cv_func_connect = no; then
13994 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
13995 printf %s "checking for connect in -lsocket... " >&6; }
13996 if test ${ac_cv_lib_socket_connect+y}
13997 then :
13998 printf %s "(cached) " >&6
13999 else $as_nop
14000 ac_check_lib_save_LIBS=$LIBS
14001 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
14002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14003 /* end confdefs.h. */
14005 /* Override any GCC internal prototype to avoid an error.
14006 Use char because int might match the return type of a GCC
14007 builtin and then its argument prototype would still apply. */
14008 char connect ();
14010 main (void)
14012 return connect ();
14014 return 0;
14016 _ACEOF
14017 if ac_fn_c_try_link "$LINENO"
14018 then :
14019 ac_cv_lib_socket_connect=yes
14020 else $as_nop
14021 ac_cv_lib_socket_connect=no
14023 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14024 conftest$ac_exeext conftest.$ac_ext
14025 LIBS=$ac_check_lib_save_LIBS
14027 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
14028 printf "%s\n" "$ac_cv_lib_socket_connect" >&6; }
14029 if test "x$ac_cv_lib_socket_connect" = xyes
14030 then :
14031 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
14036 # Guillermo Gomez says -lposix is necessary on A/UX.
14037 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
14038 if test "x$ac_cv_func_remove" = xyes
14039 then :
14043 if test $ac_cv_func_remove = no; then
14044 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
14045 printf %s "checking for remove in -lposix... " >&6; }
14046 if test ${ac_cv_lib_posix_remove+y}
14047 then :
14048 printf %s "(cached) " >&6
14049 else $as_nop
14050 ac_check_lib_save_LIBS=$LIBS
14051 LIBS="-lposix $LIBS"
14052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14053 /* end confdefs.h. */
14055 /* Override any GCC internal prototype to avoid an error.
14056 Use char because int might match the return type of a GCC
14057 builtin and then its argument prototype would still apply. */
14058 char remove ();
14060 main (void)
14062 return remove ();
14064 return 0;
14066 _ACEOF
14067 if ac_fn_c_try_link "$LINENO"
14068 then :
14069 ac_cv_lib_posix_remove=yes
14070 else $as_nop
14071 ac_cv_lib_posix_remove=no
14073 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14074 conftest$ac_exeext conftest.$ac_ext
14075 LIBS=$ac_check_lib_save_LIBS
14077 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
14078 printf "%s\n" "$ac_cv_lib_posix_remove" >&6; }
14079 if test "x$ac_cv_lib_posix_remove" = xyes
14080 then :
14081 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
14086 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
14087 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
14088 if test "x$ac_cv_func_shmat" = xyes
14089 then :
14093 if test $ac_cv_func_shmat = no; then
14094 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
14095 printf %s "checking for shmat in -lipc... " >&6; }
14096 if test ${ac_cv_lib_ipc_shmat+y}
14097 then :
14098 printf %s "(cached) " >&6
14099 else $as_nop
14100 ac_check_lib_save_LIBS=$LIBS
14101 LIBS="-lipc $LIBS"
14102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14103 /* end confdefs.h. */
14105 /* Override any GCC internal prototype to avoid an error.
14106 Use char because int might match the return type of a GCC
14107 builtin and then its argument prototype would still apply. */
14108 char shmat ();
14110 main (void)
14112 return shmat ();
14114 return 0;
14116 _ACEOF
14117 if ac_fn_c_try_link "$LINENO"
14118 then :
14119 ac_cv_lib_ipc_shmat=yes
14120 else $as_nop
14121 ac_cv_lib_ipc_shmat=no
14123 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14124 conftest$ac_exeext conftest.$ac_ext
14125 LIBS=$ac_check_lib_save_LIBS
14127 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
14128 printf "%s\n" "$ac_cv_lib_ipc_shmat" >&6; }
14129 if test "x$ac_cv_lib_ipc_shmat" = xyes
14130 then :
14131 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
14137 # Check for libraries that X11R6 Xt/Xaw programs need.
14138 ac_save_LDFLAGS=$LDFLAGS
14139 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
14140 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
14141 # check for ICE first), but we must link in the order -lSM -lICE or
14142 # we get undefined symbols. So assume we have SM if we have ICE.
14143 # These have to be linked with before -lX11, unlike the other
14144 # libraries we check for below, so use a different variable.
14145 # John Interrante, Karl Berry
14146 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
14147 printf %s "checking for IceConnectionNumber in -lICE... " >&6; }
14148 if test ${ac_cv_lib_ICE_IceConnectionNumber+y}
14149 then :
14150 printf %s "(cached) " >&6
14151 else $as_nop
14152 ac_check_lib_save_LIBS=$LIBS
14153 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
14154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14155 /* end confdefs.h. */
14157 /* Override any GCC internal prototype to avoid an error.
14158 Use char because int might match the return type of a GCC
14159 builtin and then its argument prototype would still apply. */
14160 char IceConnectionNumber ();
14162 main (void)
14164 return IceConnectionNumber ();
14166 return 0;
14168 _ACEOF
14169 if ac_fn_c_try_link "$LINENO"
14170 then :
14171 ac_cv_lib_ICE_IceConnectionNumber=yes
14172 else $as_nop
14173 ac_cv_lib_ICE_IceConnectionNumber=no
14175 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14176 conftest$ac_exeext conftest.$ac_ext
14177 LIBS=$ac_check_lib_save_LIBS
14179 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
14180 printf "%s\n" "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
14181 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
14182 then :
14183 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
14186 LDFLAGS=$ac_save_LDFLAGS
14191 if test "$have_x" = "yes"
14192 then
14193 ac_save_CPPFLAGS="$CPPFLAGS"
14194 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
14196 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
14197 printf %s "checking for -lX11... " >&6; }
14198 if test ${ac_cv_lib_soname_X11+y}
14199 then :
14200 printf %s "(cached) " >&6
14201 else $as_nop
14202 ac_check_soname_save_LIBS=$LIBS
14203 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
14204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14205 /* end confdefs.h. */
14207 /* Override any GCC internal prototype to avoid an error.
14208 Use char because int might match the return type of a GCC
14209 builtin and then its argument prototype would still apply. */
14210 char XCreateWindow ();
14212 main (void)
14214 return XCreateWindow ();
14216 return 0;
14218 _ACEOF
14219 if ac_fn_c_try_link "$LINENO"
14220 then :
14221 case "$LIBEXT" in
14222 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14223 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'` ;;
14224 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14225 if ${ac_cv_lib_soname_X11:+false} :
14226 then :
14227 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14228 fi ;;
14229 esac
14230 else $as_nop
14231 ac_cv_lib_soname_X11=
14233 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14234 conftest$ac_exeext conftest.$ac_ext
14235 LIBS=$ac_check_soname_save_LIBS
14237 if ${ac_cv_lib_soname_X11:+false} :
14238 then :
14239 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14240 printf "%s\n" "not found" >&6; }
14242 else $as_nop
14243 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
14244 printf "%s\n" "$ac_cv_lib_soname_X11" >&6; }
14246 printf "%s\n" "#define SONAME_LIBX11 \"$ac_cv_lib_soname_X11\"" >>confdefs.h
14250 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
14251 printf %s "checking for -lXext... " >&6; }
14252 if test ${ac_cv_lib_soname_Xext+y}
14253 then :
14254 printf %s "(cached) " >&6
14255 else $as_nop
14256 ac_check_soname_save_LIBS=$LIBS
14257 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
14258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14259 /* end confdefs.h. */
14261 /* Override any GCC internal prototype to avoid an error.
14262 Use char because int might match the return type of a GCC
14263 builtin and then its argument prototype would still apply. */
14264 char XextCreateExtension ();
14266 main (void)
14268 return XextCreateExtension ();
14270 return 0;
14272 _ACEOF
14273 if ac_fn_c_try_link "$LINENO"
14274 then :
14275 case "$LIBEXT" in
14276 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14277 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'` ;;
14278 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14279 if ${ac_cv_lib_soname_Xext:+false} :
14280 then :
14281 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14282 fi ;;
14283 esac
14284 else $as_nop
14285 ac_cv_lib_soname_Xext=
14287 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14288 conftest$ac_exeext conftest.$ac_ext
14289 LIBS=$ac_check_soname_save_LIBS
14291 if ${ac_cv_lib_soname_Xext:+false} :
14292 then :
14293 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14294 printf "%s\n" "not found" >&6; }
14296 else $as_nop
14297 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
14298 printf "%s\n" "$ac_cv_lib_soname_Xext" >&6; }
14300 printf "%s\n" "#define SONAME_LIBXEXT \"$ac_cv_lib_soname_Xext\"" >>confdefs.h
14302 X_LIBS="$X_LIBS -lXext"
14304 X_LIBS="$X_LIBS -lX11"
14306 ac_fn_c_check_header_compile "$LINENO" "X11/Xlib.h" "ac_cv_header_X11_Xlib_h" "#ifdef HAVE_X11_XLIB_H
14307 # include <X11/Xlib.h>
14308 #endif
14309 #ifdef HAVE_X11_XUTIL_H
14310 # include <X11/Xutil.h>
14311 #endif
14313 if test "x$ac_cv_header_X11_Xlib_h" = xyes
14314 then :
14315 printf "%s\n" "#define HAVE_X11_XLIB_H 1" >>confdefs.h
14318 ac_fn_c_check_header_compile "$LINENO" "X11/XKBlib.h" "ac_cv_header_X11_XKBlib_h" "#ifdef HAVE_X11_XLIB_H
14319 # include <X11/Xlib.h>
14320 #endif
14321 #ifdef HAVE_X11_XUTIL_H
14322 # include <X11/Xutil.h>
14323 #endif
14325 if test "x$ac_cv_header_X11_XKBlib_h" = xyes
14326 then :
14327 printf "%s\n" "#define HAVE_X11_XKBLIB_H 1" >>confdefs.h
14330 ac_fn_c_check_header_compile "$LINENO" "X11/Xutil.h" "ac_cv_header_X11_Xutil_h" "#ifdef HAVE_X11_XLIB_H
14331 # include <X11/Xlib.h>
14332 #endif
14333 #ifdef HAVE_X11_XUTIL_H
14334 # include <X11/Xutil.h>
14335 #endif
14337 if test "x$ac_cv_header_X11_Xutil_h" = xyes
14338 then :
14339 printf "%s\n" "#define HAVE_X11_XUTIL_H 1" >>confdefs.h
14342 ac_fn_c_check_header_compile "$LINENO" "X11/Xcursor/Xcursor.h" "ac_cv_header_X11_Xcursor_Xcursor_h" "#ifdef HAVE_X11_XLIB_H
14343 # include <X11/Xlib.h>
14344 #endif
14345 #ifdef HAVE_X11_XUTIL_H
14346 # include <X11/Xutil.h>
14347 #endif
14349 if test "x$ac_cv_header_X11_Xcursor_Xcursor_h" = xyes
14350 then :
14351 printf "%s\n" "#define HAVE_X11_XCURSOR_XCURSOR_H 1" >>confdefs.h
14354 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/shape.h" "ac_cv_header_X11_extensions_shape_h" "#ifdef HAVE_X11_XLIB_H
14355 # include <X11/Xlib.h>
14356 #endif
14357 #ifdef HAVE_X11_XUTIL_H
14358 # include <X11/Xutil.h>
14359 #endif
14361 if test "x$ac_cv_header_X11_extensions_shape_h" = xyes
14362 then :
14363 printf "%s\n" "#define HAVE_X11_EXTENSIONS_SHAPE_H 1" >>confdefs.h
14366 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XInput.h" "ac_cv_header_X11_extensions_XInput_h" "#ifdef HAVE_X11_XLIB_H
14367 # include <X11/Xlib.h>
14368 #endif
14369 #ifdef HAVE_X11_XUTIL_H
14370 # include <X11/Xutil.h>
14371 #endif
14373 if test "x$ac_cv_header_X11_extensions_XInput_h" = xyes
14374 then :
14375 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINPUT_H 1" >>confdefs.h
14378 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XInput2.h" "ac_cv_header_X11_extensions_XInput2_h" "#ifdef HAVE_X11_XLIB_H
14379 # include <X11/Xlib.h>
14380 #endif
14381 #ifdef HAVE_X11_XUTIL_H
14382 # include <X11/Xutil.h>
14383 #endif
14385 if test "x$ac_cv_header_X11_extensions_XInput2_h" = xyes
14386 then :
14387 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINPUT2_H 1" >>confdefs.h
14390 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XShm.h" "ac_cv_header_X11_extensions_XShm_h" "#ifdef HAVE_X11_XLIB_H
14391 # include <X11/Xlib.h>
14392 #endif
14393 #ifdef HAVE_X11_XUTIL_H
14394 # include <X11/Xutil.h>
14395 #endif
14397 if test "x$ac_cv_header_X11_extensions_XShm_h" = xyes
14398 then :
14399 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XSHM_H 1" >>confdefs.h
14402 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xcomposite.h" "ac_cv_header_X11_extensions_Xcomposite_h" "#ifdef HAVE_X11_XLIB_H
14403 # include <X11/Xlib.h>
14404 #endif
14405 #ifdef HAVE_X11_XUTIL_H
14406 # include <X11/Xutil.h>
14407 #endif
14409 if test "x$ac_cv_header_X11_extensions_Xcomposite_h" = xyes
14410 then :
14411 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XCOMPOSITE_H 1" >>confdefs.h
14414 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xfixes.h" "ac_cv_header_X11_extensions_Xfixes_h" "#ifdef HAVE_X11_XLIB_H
14415 # include <X11/Xlib.h>
14416 #endif
14417 #ifdef HAVE_X11_XUTIL_H
14418 # include <X11/Xutil.h>
14419 #endif
14421 if test "x$ac_cv_header_X11_extensions_Xfixes_h" = xyes
14422 then :
14423 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XFIXES_H 1" >>confdefs.h
14426 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xinerama.h" "ac_cv_header_X11_extensions_Xinerama_h" "#ifdef HAVE_X11_XLIB_H
14427 # include <X11/Xlib.h>
14428 #endif
14429 #ifdef HAVE_X11_XUTIL_H
14430 # include <X11/Xutil.h>
14431 #endif
14433 if test "x$ac_cv_header_X11_extensions_Xinerama_h" = xyes
14434 then :
14435 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINERAMA_H 1" >>confdefs.h
14438 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xrandr.h" "ac_cv_header_X11_extensions_Xrandr_h" "#ifdef HAVE_X11_XLIB_H
14439 # include <X11/Xlib.h>
14440 #endif
14441 #ifdef HAVE_X11_XUTIL_H
14442 # include <X11/Xutil.h>
14443 #endif
14445 if test "x$ac_cv_header_X11_extensions_Xrandr_h" = xyes
14446 then :
14447 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRANDR_H 1" >>confdefs.h
14450 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xrender.h" "ac_cv_header_X11_extensions_Xrender_h" "#ifdef HAVE_X11_XLIB_H
14451 # include <X11/Xlib.h>
14452 #endif
14453 #ifdef HAVE_X11_XUTIL_H
14454 # include <X11/Xutil.h>
14455 #endif
14457 if test "x$ac_cv_header_X11_extensions_Xrender_h" = xyes
14458 then :
14459 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRENDER_H 1" >>confdefs.h
14462 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/xf86vmode.h" "ac_cv_header_X11_extensions_xf86vmode_h" "#ifdef HAVE_X11_XLIB_H
14463 # include <X11/Xlib.h>
14464 #endif
14465 #ifdef HAVE_X11_XUTIL_H
14466 # include <X11/Xutil.h>
14467 #endif
14469 if test "x$ac_cv_header_X11_extensions_xf86vmode_h" = xyes
14470 then :
14471 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMODE_H 1" >>confdefs.h
14474 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/xf86vmproto.h" "ac_cv_header_X11_extensions_xf86vmproto_h" "#ifdef HAVE_X11_XLIB_H
14475 # include <X11/Xlib.h>
14476 #endif
14477 #ifdef HAVE_X11_XUTIL_H
14478 # include <X11/Xutil.h>
14479 #endif
14481 if test "x$ac_cv_header_X11_extensions_xf86vmproto_h" = xyes
14482 then :
14483 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMPROTO_H 1" >>confdefs.h
14488 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
14489 then
14490 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
14491 printf %s "checking for -lXcursor... " >&6; }
14492 if test ${ac_cv_lib_soname_Xcursor+y}
14493 then :
14494 printf %s "(cached) " >&6
14495 else $as_nop
14496 ac_check_soname_save_LIBS=$LIBS
14497 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $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 XcursorImageLoadCursor ();
14506 main (void)
14508 return XcursorImageLoadCursor ();
14510 return 0;
14512 _ACEOF
14513 if ac_fn_c_try_link "$LINENO"
14514 then :
14515 case "$LIBEXT" in
14516 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14517 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'` ;;
14518 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14519 if ${ac_cv_lib_soname_Xcursor:+false} :
14520 then :
14521 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14522 fi ;;
14523 esac
14524 else $as_nop
14525 ac_cv_lib_soname_Xcursor=
14527 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14528 conftest$ac_exeext conftest.$ac_ext
14529 LIBS=$ac_check_soname_save_LIBS
14531 if ${ac_cv_lib_soname_Xcursor:+false} :
14532 then :
14533 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14534 printf "%s\n" "not found" >&6; }
14536 else $as_nop
14537 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
14538 printf "%s\n" "$ac_cv_lib_soname_Xcursor" >&6; }
14540 printf "%s\n" "#define SONAME_LIBXCURSOR \"$ac_cv_lib_soname_Xcursor\"" >>confdefs.h
14545 if test "x$ac_cv_lib_soname_Xcursor" = "x"
14546 then :
14547 case "x$with_xcursor" in
14548 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
14549 xno) ;;
14550 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
14551 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
14552 esac
14556 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
14557 then
14558 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
14559 printf %s "checking for -lXi... " >&6; }
14560 if test ${ac_cv_lib_soname_Xi+y}
14561 then :
14562 printf %s "(cached) " >&6
14563 else $as_nop
14564 ac_check_soname_save_LIBS=$LIBS
14565 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
14566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14567 /* end confdefs.h. */
14569 /* Override any GCC internal prototype to avoid an error.
14570 Use char because int might match the return type of a GCC
14571 builtin and then its argument prototype would still apply. */
14572 char XOpenDevice ();
14574 main (void)
14576 return XOpenDevice ();
14578 return 0;
14580 _ACEOF
14581 if ac_fn_c_try_link "$LINENO"
14582 then :
14583 case "$LIBEXT" in
14584 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14585 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'` ;;
14586 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14587 if ${ac_cv_lib_soname_Xi:+false} :
14588 then :
14589 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14590 fi ;;
14591 esac
14592 else $as_nop
14593 ac_cv_lib_soname_Xi=
14595 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14596 conftest$ac_exeext conftest.$ac_ext
14597 LIBS=$ac_check_soname_save_LIBS
14599 if ${ac_cv_lib_soname_Xi:+false} :
14600 then :
14601 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14602 printf "%s\n" "not found" >&6; }
14604 else $as_nop
14605 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
14606 printf "%s\n" "$ac_cv_lib_soname_Xi" >&6; }
14608 printf "%s\n" "#define SONAME_LIBXI \"$ac_cv_lib_soname_Xi\"" >>confdefs.h
14613 if test "x$ac_cv_lib_soname_Xi" = "x"
14614 then :
14615 case "x$with_xinput" in
14616 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
14617 xno) ;;
14618 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
14619 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
14620 esac
14624 if test "x$ac_cv_lib_soname_Xi" != x
14625 then
14626 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"
14627 then :
14628 case "x$with_xinput2" in
14629 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
14630 xno) ;;
14631 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
14632 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
14633 esac
14638 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
14639 then
14640 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
14641 printf %s "checking for XShmQueryExtension in -lXext... " >&6; }
14642 if test ${ac_cv_lib_Xext_XShmQueryExtension+y}
14643 then :
14644 printf %s "(cached) " >&6
14645 else $as_nop
14646 ac_check_lib_save_LIBS=$LIBS
14647 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
14648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14649 /* end confdefs.h. */
14651 /* Override any GCC internal prototype to avoid an error.
14652 Use char because int might match the return type of a GCC
14653 builtin and then its argument prototype would still apply. */
14654 char XShmQueryExtension ();
14656 main (void)
14658 return XShmQueryExtension ();
14660 return 0;
14662 _ACEOF
14663 if ac_fn_c_try_link "$LINENO"
14664 then :
14665 ac_cv_lib_Xext_XShmQueryExtension=yes
14666 else $as_nop
14667 ac_cv_lib_Xext_XShmQueryExtension=no
14669 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14670 conftest$ac_exeext conftest.$ac_ext
14671 LIBS=$ac_check_lib_save_LIBS
14673 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
14674 printf "%s\n" "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
14675 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
14676 then :
14678 printf "%s\n" "#define HAVE_LIBXXSHM 1" >>confdefs.h
14683 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"
14684 then :
14685 case "x$with_xshm" in
14686 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
14687 xno) ;;
14688 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
14689 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
14690 esac
14694 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
14695 then
14696 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
14697 printf %s "checking for XShapeQueryExtension in -lXext... " >&6; }
14698 if test ${ac_cv_lib_Xext_XShapeQueryExtension+y}
14699 then :
14700 printf %s "(cached) " >&6
14701 else $as_nop
14702 ac_check_lib_save_LIBS=$LIBS
14703 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
14704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14705 /* end confdefs.h. */
14707 /* Override any GCC internal prototype to avoid an error.
14708 Use char because int might match the return type of a GCC
14709 builtin and then its argument prototype would still apply. */
14710 char XShapeQueryExtension ();
14712 main (void)
14714 return XShapeQueryExtension ();
14716 return 0;
14718 _ACEOF
14719 if ac_fn_c_try_link "$LINENO"
14720 then :
14721 ac_cv_lib_Xext_XShapeQueryExtension=yes
14722 else $as_nop
14723 ac_cv_lib_Xext_XShapeQueryExtension=no
14725 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14726 conftest$ac_exeext conftest.$ac_ext
14727 LIBS=$ac_check_lib_save_LIBS
14729 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
14730 printf "%s\n" "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
14731 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
14732 then :
14734 printf "%s\n" "#define HAVE_LIBXSHAPE 1" >>confdefs.h
14739 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"
14740 then :
14741 case "x$with_xshape" in
14742 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
14743 xno) ;;
14744 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
14745 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
14746 esac
14750 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
14751 then
14752 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
14753 printf %s "checking for -lXxf86vm... " >&6; }
14754 if test ${ac_cv_lib_soname_Xxf86vm+y}
14755 then :
14756 printf %s "(cached) " >&6
14757 else $as_nop
14758 ac_check_soname_save_LIBS=$LIBS
14759 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
14760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14761 /* end confdefs.h. */
14763 /* Override any GCC internal prototype to avoid an error.
14764 Use char because int might match the return type of a GCC
14765 builtin and then its argument prototype would still apply. */
14766 char XF86VidModeQueryExtension ();
14768 main (void)
14770 return XF86VidModeQueryExtension ();
14772 return 0;
14774 _ACEOF
14775 if ac_fn_c_try_link "$LINENO"
14776 then :
14777 case "$LIBEXT" in
14778 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14779 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'` ;;
14780 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14781 if ${ac_cv_lib_soname_Xxf86vm:+false} :
14782 then :
14783 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14784 fi ;;
14785 esac
14786 else $as_nop
14787 ac_cv_lib_soname_Xxf86vm=
14789 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14790 conftest$ac_exeext conftest.$ac_ext
14791 LIBS=$ac_check_soname_save_LIBS
14793 if ${ac_cv_lib_soname_Xxf86vm:+false} :
14794 then :
14795 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14796 printf "%s\n" "not found" >&6; }
14798 else $as_nop
14799 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
14800 printf "%s\n" "$ac_cv_lib_soname_Xxf86vm" >&6; }
14802 printf "%s\n" "#define SONAME_LIBXXF86VM \"$ac_cv_lib_soname_Xxf86vm\"" >>confdefs.h
14807 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"
14808 then :
14809 case "x$with_xxf86vm" in
14810 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
14811 xno) ;;
14812 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
14813 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
14814 esac
14818 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
14819 then
14820 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
14821 printf %s "checking for -lXrender... " >&6; }
14822 if test ${ac_cv_lib_soname_Xrender+y}
14823 then :
14824 printf %s "(cached) " >&6
14825 else $as_nop
14826 ac_check_soname_save_LIBS=$LIBS
14827 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
14828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14829 /* end confdefs.h. */
14831 /* Override any GCC internal prototype to avoid an error.
14832 Use char because int might match the return type of a GCC
14833 builtin and then its argument prototype would still apply. */
14834 char XRenderQueryExtension ();
14836 main (void)
14838 return XRenderQueryExtension ();
14840 return 0;
14842 _ACEOF
14843 if ac_fn_c_try_link "$LINENO"
14844 then :
14845 case "$LIBEXT" in
14846 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14847 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'` ;;
14848 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14849 if ${ac_cv_lib_soname_Xrender:+false} :
14850 then :
14851 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14852 fi ;;
14853 esac
14854 else $as_nop
14855 ac_cv_lib_soname_Xrender=
14857 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14858 conftest$ac_exeext conftest.$ac_ext
14859 LIBS=$ac_check_soname_save_LIBS
14861 if ${ac_cv_lib_soname_Xrender:+false} :
14862 then :
14863 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14864 printf "%s\n" "not found" >&6; }
14866 else $as_nop
14867 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
14868 printf "%s\n" "$ac_cv_lib_soname_Xrender" >&6; }
14870 printf "%s\n" "#define SONAME_LIBXRENDER \"$ac_cv_lib_soname_Xrender\"" >>confdefs.h
14872 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
14873 printf %s "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
14874 if test ${ac_cv_lib_Xrender_XRenderSetPictureTransform+y}
14875 then :
14876 printf %s "(cached) " >&6
14877 else $as_nop
14878 ac_check_lib_save_LIBS=$LIBS
14879 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
14880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14881 /* end confdefs.h. */
14883 /* Override any GCC internal prototype to avoid an error.
14884 Use char because int might match the return type of a GCC
14885 builtin and then its argument prototype would still apply. */
14886 char XRenderSetPictureTransform ();
14888 main (void)
14890 return XRenderSetPictureTransform ();
14892 return 0;
14894 _ACEOF
14895 if ac_fn_c_try_link "$LINENO"
14896 then :
14897 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
14898 else $as_nop
14899 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
14901 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14902 conftest$ac_exeext conftest.$ac_ext
14903 LIBS=$ac_check_lib_save_LIBS
14905 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
14906 printf "%s\n" "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
14907 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
14908 then :
14910 printf "%s\n" "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
14914 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
14915 printf %s "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
14916 if test ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+y}
14917 then :
14918 printf %s "(cached) " >&6
14919 else $as_nop
14920 ac_check_lib_save_LIBS=$LIBS
14921 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
14922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14923 /* end confdefs.h. */
14925 /* Override any GCC internal prototype to avoid an error.
14926 Use char because int might match the return type of a GCC
14927 builtin and then its argument prototype would still apply. */
14928 char XRenderCreateLinearGradient ();
14930 main (void)
14932 return XRenderCreateLinearGradient ();
14934 return 0;
14936 _ACEOF
14937 if ac_fn_c_try_link "$LINENO"
14938 then :
14939 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
14940 else $as_nop
14941 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
14943 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14944 conftest$ac_exeext conftest.$ac_ext
14945 LIBS=$ac_check_lib_save_LIBS
14947 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
14948 printf "%s\n" "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
14949 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes
14950 then :
14952 printf "%s\n" "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
14959 if test "x$ac_cv_lib_soname_Xrender" = "x"
14960 then :
14961 case "x$with_xrender" in
14962 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
14963 xno) ;;
14964 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
14965 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
14966 esac
14970 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
14971 then
14972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14973 /* end confdefs.h. */
14974 #include <X11/Xlib.h>
14975 #include <X11/extensions/Xrandr.h>
14977 main (void)
14979 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
14981 return 0;
14983 _ACEOF
14984 if ac_fn_c_try_compile "$LINENO"
14985 then :
14986 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
14987 printf %s "checking for -lXrandr... " >&6; }
14988 if test ${ac_cv_lib_soname_Xrandr+y}
14989 then :
14990 printf %s "(cached) " >&6
14991 else $as_nop
14992 ac_check_soname_save_LIBS=$LIBS
14993 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
14994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14995 /* end confdefs.h. */
14997 /* Override any GCC internal prototype to avoid an error.
14998 Use char because int might match the return type of a GCC
14999 builtin and then its argument prototype would still apply. */
15000 char XRRQueryExtension ();
15002 main (void)
15004 return XRRQueryExtension ();
15006 return 0;
15008 _ACEOF
15009 if ac_fn_c_try_link "$LINENO"
15010 then :
15011 case "$LIBEXT" in
15012 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15013 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'` ;;
15014 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15015 if ${ac_cv_lib_soname_Xrandr:+false} :
15016 then :
15017 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15018 fi ;;
15019 esac
15020 else $as_nop
15021 ac_cv_lib_soname_Xrandr=
15023 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15024 conftest$ac_exeext conftest.$ac_ext
15025 LIBS=$ac_check_soname_save_LIBS
15027 if ${ac_cv_lib_soname_Xrandr:+false} :
15028 then :
15029 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15030 printf "%s\n" "not found" >&6; }
15032 else $as_nop
15033 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
15034 printf "%s\n" "$ac_cv_lib_soname_Xrandr" >&6; }
15036 printf "%s\n" "#define SONAME_LIBXRANDR \"$ac_cv_lib_soname_Xrandr\"" >>confdefs.h
15038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15039 /* end confdefs.h. */
15040 #include <X11/Xlib.h>
15041 #include <X11/extensions/Xrandr.h>
15043 main (void)
15045 static typeof(XRRGetProviderResources) *f; if (f) return 0;
15047 return 0;
15049 _ACEOF
15050 if ac_fn_c_try_compile "$LINENO"
15051 then :
15053 printf "%s\n" "#define HAVE_XRRGETPROVIDERRESOURCES 1" >>confdefs.h
15055 else $as_nop
15056 as_fn_append wine_notices "|libxrandr ${notice_platform}development files too old, XRandR display device handler won't be supported."
15058 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15061 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15063 if test "x$ac_cv_lib_soname_Xrandr" = "x"
15064 then :
15065 case "x$with_xrandr" in
15066 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
15067 xno) ;;
15068 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
15069 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
15070 esac
15074 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
15075 then
15076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15077 /* end confdefs.h. */
15078 #include <X11/Xlib.h>
15079 #include <X11/extensions/Xfixes.h>
15081 main (void)
15083 static typeof(XFixesQueryVersion) * func; if (func) return 0;
15085 return 0;
15087 _ACEOF
15088 if ac_fn_c_try_compile "$LINENO"
15089 then :
15090 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
15091 printf %s "checking for -lXfixes... " >&6; }
15092 if test ${ac_cv_lib_soname_Xfixes+y}
15093 then :
15094 printf %s "(cached) " >&6
15095 else $as_nop
15096 ac_check_soname_save_LIBS=$LIBS
15097 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
15098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15099 /* end confdefs.h. */
15101 /* Override any GCC internal prototype to avoid an error.
15102 Use char because int might match the return type of a GCC
15103 builtin and then its argument prototype would still apply. */
15104 char XFixesQueryVersion ();
15106 main (void)
15108 return XFixesQueryVersion ();
15110 return 0;
15112 _ACEOF
15113 if ac_fn_c_try_link "$LINENO"
15114 then :
15115 case "$LIBEXT" in
15116 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15117 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'` ;;
15118 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15119 if ${ac_cv_lib_soname_Xfixes:+false} :
15120 then :
15121 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15122 fi ;;
15123 esac
15124 else $as_nop
15125 ac_cv_lib_soname_Xfixes=
15127 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15128 conftest$ac_exeext conftest.$ac_ext
15129 LIBS=$ac_check_soname_save_LIBS
15131 if ${ac_cv_lib_soname_Xfixes:+false} :
15132 then :
15133 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15134 printf "%s\n" "not found" >&6; }
15136 else $as_nop
15137 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
15138 printf "%s\n" "$ac_cv_lib_soname_Xfixes" >&6; }
15140 printf "%s\n" "#define SONAME_LIBXFIXES \"$ac_cv_lib_soname_Xfixes\"" >>confdefs.h
15145 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15147 if test "x$ac_cv_lib_soname_Xfixes" = "x"
15148 then :
15149 case "x$with_xfixes" in
15150 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
15151 xno) ;;
15152 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
15153 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
15154 esac
15158 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
15159 then
15160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15161 /* end confdefs.h. */
15162 #include <X11/Xlib.h>
15163 #include <X11/extensions/Xinerama.h>
15165 main (void)
15167 static typeof(XineramaQueryScreens) * func; if (func) return 0;
15169 return 0;
15171 _ACEOF
15172 if ac_fn_c_try_compile "$LINENO"
15173 then :
15174 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
15175 printf %s "checking for -lXinerama... " >&6; }
15176 if test ${ac_cv_lib_soname_Xinerama+y}
15177 then :
15178 printf %s "(cached) " >&6
15179 else $as_nop
15180 ac_check_soname_save_LIBS=$LIBS
15181 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
15182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15183 /* end confdefs.h. */
15185 /* Override any GCC internal prototype to avoid an error.
15186 Use char because int might match the return type of a GCC
15187 builtin and then its argument prototype would still apply. */
15188 char XineramaQueryScreens ();
15190 main (void)
15192 return XineramaQueryScreens ();
15194 return 0;
15196 _ACEOF
15197 if ac_fn_c_try_link "$LINENO"
15198 then :
15199 case "$LIBEXT" in
15200 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15201 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'` ;;
15202 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15203 if ${ac_cv_lib_soname_Xinerama:+false} :
15204 then :
15205 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15206 fi ;;
15207 esac
15208 else $as_nop
15209 ac_cv_lib_soname_Xinerama=
15211 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15212 conftest$ac_exeext conftest.$ac_ext
15213 LIBS=$ac_check_soname_save_LIBS
15215 if ${ac_cv_lib_soname_Xinerama:+false} :
15216 then :
15217 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15218 printf "%s\n" "not found" >&6; }
15220 else $as_nop
15221 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
15222 printf "%s\n" "$ac_cv_lib_soname_Xinerama" >&6; }
15224 printf "%s\n" "#define SONAME_LIBXINERAMA \"$ac_cv_lib_soname_Xinerama\"" >>confdefs.h
15229 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15231 if test "x$ac_cv_lib_soname_Xinerama" = "x"
15232 then :
15233 case "x$with_xinerama" in
15234 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
15235 xno) ;;
15236 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
15237 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
15238 esac
15242 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
15243 then
15244 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
15245 printf %s "checking for -lXcomposite... " >&6; }
15246 if test ${ac_cv_lib_soname_Xcomposite+y}
15247 then :
15248 printf %s "(cached) " >&6
15249 else $as_nop
15250 ac_check_soname_save_LIBS=$LIBS
15251 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
15252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15253 /* end confdefs.h. */
15255 /* Override any GCC internal prototype to avoid an error.
15256 Use char because int might match the return type of a GCC
15257 builtin and then its argument prototype would still apply. */
15258 char XCompositeRedirectWindow ();
15260 main (void)
15262 return XCompositeRedirectWindow ();
15264 return 0;
15266 _ACEOF
15267 if ac_fn_c_try_link "$LINENO"
15268 then :
15269 case "$LIBEXT" in
15270 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15271 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'` ;;
15272 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15273 if ${ac_cv_lib_soname_Xcomposite:+false} :
15274 then :
15275 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15276 fi ;;
15277 esac
15278 else $as_nop
15279 ac_cv_lib_soname_Xcomposite=
15281 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15282 conftest$ac_exeext conftest.$ac_ext
15283 LIBS=$ac_check_soname_save_LIBS
15285 if ${ac_cv_lib_soname_Xcomposite:+false} :
15286 then :
15287 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15288 printf "%s\n" "not found" >&6; }
15290 else $as_nop
15291 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
15292 printf "%s\n" "$ac_cv_lib_soname_Xcomposite" >&6; }
15294 printf "%s\n" "#define SONAME_LIBXCOMPOSITE \"$ac_cv_lib_soname_Xcomposite\"" >>confdefs.h
15299 if test "x$ac_cv_lib_soname_Xcomposite" = "x"
15300 then :
15301 case "x$with_xcomposite" in
15302 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
15303 xno) ;;
15304 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
15305 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
15306 esac
15310 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
15311 #include <X11/Xlib.h>
15312 #endif
15314 if test "x$ac_cv_member_XICCallback_callback" = xyes
15315 then :
15317 printf "%s\n" "#define HAVE_XICCALLBACK_CALLBACK 1" >>confdefs.h
15321 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
15322 #include <X11/Xlib.h>
15323 #endif
15325 if test "x$ac_cv_member_XEvent_xcookie" = xyes
15326 then :
15328 printf "%s\n" "#define HAVE_XEVENT_XCOOKIE 1" >>confdefs.h
15335 opengl_msg=""
15336 if test "x$with_opengl" != "xno"
15337 then
15338 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
15339 printf %s "checking for -lGL... " >&6; }
15340 if test ${ac_cv_lib_soname_GL+y}
15341 then :
15342 printf %s "(cached) " >&6
15343 else $as_nop
15344 ac_check_soname_save_LIBS=$LIBS
15345 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
15346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15347 /* end confdefs.h. */
15349 /* Override any GCC internal prototype to avoid an error.
15350 Use char because int might match the return type of a GCC
15351 builtin and then its argument prototype would still apply. */
15352 char glXCreateContext ();
15354 main (void)
15356 return glXCreateContext ();
15358 return 0;
15360 _ACEOF
15361 if ac_fn_c_try_link "$LINENO"
15362 then :
15363 case "$LIBEXT" in
15364 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15365 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'` ;;
15366 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15367 if ${ac_cv_lib_soname_GL:+false} :
15368 then :
15369 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15370 fi ;;
15371 esac
15372 else $as_nop
15373 ac_cv_lib_soname_GL=
15375 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15376 conftest$ac_exeext conftest.$ac_ext
15377 LIBS=$ac_check_soname_save_LIBS
15379 if ${ac_cv_lib_soname_GL:+false} :
15380 then :
15381 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15382 printf "%s\n" "not found" >&6; }
15383 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
15384 printf %s "checking for -lGL... " >&6; }
15385 if test ${ac_cv_lib_soname_GL+y}
15386 then :
15387 printf %s "(cached) " >&6
15388 else $as_nop
15389 ac_check_soname_save_LIBS=$LIBS
15390 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"
15391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15392 /* end confdefs.h. */
15394 /* Override any GCC internal prototype to avoid an error.
15395 Use char because int might match the return type of a GCC
15396 builtin and then its argument prototype would still apply. */
15397 char glXCreateContext ();
15399 main (void)
15401 return glXCreateContext ();
15403 return 0;
15405 _ACEOF
15406 if ac_fn_c_try_link "$LINENO"
15407 then :
15408 case "$LIBEXT" in
15409 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15410 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'` ;;
15411 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15412 if ${ac_cv_lib_soname_GL:+false} :
15413 then :
15414 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15415 fi ;;
15416 esac
15417 else $as_nop
15418 ac_cv_lib_soname_GL=
15420 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15421 conftest$ac_exeext conftest.$ac_ext
15422 LIBS=$ac_check_soname_save_LIBS
15424 if ${ac_cv_lib_soname_GL:+false} :
15425 then :
15426 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15427 printf "%s\n" "not found" >&6; }
15428 if test -f /usr/X11R6/lib/libGL.a
15429 then
15430 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
15431 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
15432 else
15433 opengl_msg="No OpenGL library found on this system."
15435 else $as_nop
15436 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
15437 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
15439 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
15441 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"
15443 else $as_nop
15444 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
15445 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
15447 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
15449 OPENGL_LIBS="-lGL"
15451 if test "x$with_osmesa" != "xno"
15452 then
15453 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
15454 printf %s "checking for -lOSMesa... " >&6; }
15455 if test ${ac_cv_lib_soname_OSMesa+y}
15456 then :
15457 printf %s "(cached) " >&6
15458 else $as_nop
15459 ac_check_soname_save_LIBS=$LIBS
15460 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
15461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15462 /* end confdefs.h. */
15464 /* Override any GCC internal prototype to avoid an error.
15465 Use char because int might match the return type of a GCC
15466 builtin and then its argument prototype would still apply. */
15467 char OSMesaGetProcAddress ();
15469 main (void)
15471 return OSMesaGetProcAddress ();
15473 return 0;
15475 _ACEOF
15476 if ac_fn_c_try_link "$LINENO"
15477 then :
15478 case "$LIBEXT" in
15479 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15480 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'` ;;
15481 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15482 if ${ac_cv_lib_soname_OSMesa:+false} :
15483 then :
15484 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15485 fi ;;
15486 esac
15487 else $as_nop
15488 ac_cv_lib_soname_OSMesa=
15490 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15491 conftest$ac_exeext conftest.$ac_ext
15492 LIBS=$ac_check_soname_save_LIBS
15494 if ${ac_cv_lib_soname_OSMesa:+false} :
15495 then :
15496 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15497 printf "%s\n" "not found" >&6; }
15499 else $as_nop
15500 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
15501 printf "%s\n" "$ac_cv_lib_soname_OSMesa" >&6; }
15503 printf "%s\n" "#define SONAME_LIBOSMESA \"$ac_cv_lib_soname_OSMesa\"" >>confdefs.h
15507 if test "x$ac_cv_lib_soname_OSMesa" = "x"
15508 then :
15509 case "x$with_osmesa" in
15510 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
15511 xno) ;;
15512 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
15513 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
15514 esac
15519 if test -n "$opengl_msg"
15520 then :
15521 case "x$with_opengl" in
15522 x) as_fn_append wine_warnings "|$opengl_msg
15523 OpenGL and Direct3D won't be supported." ;;
15524 xno) ;;
15525 *) as_fn_error $? "$opengl_msg
15526 OpenGL and Direct3D won't be supported.
15527 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
15528 esac
15532 CPPFLAGS="$ac_save_CPPFLAGS"
15533 else
15534 X_CFLAGS=""
15535 X_LIBS=""
15538 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
15539 then
15540 if test "x$X_LIBS" = "x"
15541 then :
15542 case "x$with_x" in
15543 xno) ;;
15544 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
15545 without X support, which probably isn't what you want. You will need
15546 to install ${notice_platform}development packages of Xlib at the very least.
15547 Use the --without-x option if you really want this." "$LINENO" 5 ;;
15548 esac
15549 enable_winex11_drv=${enable_winex11_drv:-no}
15551 else
15552 if test "x$X_LIBS" = "x"
15553 then :
15554 case "x$with_x" in
15555 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
15556 xno) ;;
15557 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
15558 This is an error since --with-x was requested." "$LINENO" 5 ;;
15559 esac
15560 enable_winex11_drv=${enable_winex11_drv:-no}
15564 if test "x$with_wayland" != "xno"
15565 then
15566 rm -f conftest.err
15567 if ${WAYLAND_CLIENT_CFLAGS:+false} :
15568 then :
15569 if test ${PKG_CONFIG+y}
15570 then :
15571 WAYLAND_CLIENT_CFLAGS=`$PKG_CONFIG --cflags wayland-client 2>conftest.err`
15575 if ${WAYLAND_CLIENT_LIBS:+false} :
15576 then :
15577 if test ${PKG_CONFIG+y}
15578 then :
15579 WAYLAND_CLIENT_LIBS=`$PKG_CONFIG --libs wayland-client 2>/dev/null`
15584 printf "%s\n" "$as_me:${as_lineno-$LINENO}: wayland-client cflags: $WAYLAND_CLIENT_CFLAGS" >&5
15585 printf "%s\n" "$as_me:${as_lineno-$LINENO}: wayland-client libs: $WAYLAND_CLIENT_LIBS" >&5
15586 if test -s conftest.err; then
15587 printf %s "$as_me:${as_lineno-$LINENO}: wayland-client errors: " >&5
15588 cat conftest.err >&5
15590 rm -f conftest.err
15591 ac_save_CPPFLAGS=$CPPFLAGS
15592 CPPFLAGS="$CPPFLAGS $WAYLAND_CLIENT_CFLAGS"
15593 ac_fn_c_check_header_compile "$LINENO" "wayland-client.h" "ac_cv_header_wayland_client_h" "$ac_includes_default"
15594 if test "x$ac_cv_header_wayland_client_h" = xyes
15595 then :
15596 printf "%s\n" "#define HAVE_WAYLAND_CLIENT_H 1" >>confdefs.h
15600 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for wl_display_connect in -lwayland-client" >&5
15601 printf %s "checking for wl_display_connect in -lwayland-client... " >&6; }
15602 if test ${ac_cv_lib_wayland_client_wl_display_connect+y}
15603 then :
15604 printf %s "(cached) " >&6
15605 else $as_nop
15606 ac_check_lib_save_LIBS=$LIBS
15607 LIBS="-lwayland-client $WAYLAND_CLIENT_LIBS $LIBS"
15608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15609 /* end confdefs.h. */
15611 /* Override any GCC internal prototype to avoid an error.
15612 Use char because int might match the return type of a GCC
15613 builtin and then its argument prototype would still apply. */
15614 char wl_display_connect ();
15616 main (void)
15618 return wl_display_connect ();
15620 return 0;
15622 _ACEOF
15623 if ac_fn_c_try_link "$LINENO"
15624 then :
15625 ac_cv_lib_wayland_client_wl_display_connect=yes
15626 else $as_nop
15627 ac_cv_lib_wayland_client_wl_display_connect=no
15629 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15630 conftest$ac_exeext conftest.$ac_ext
15631 LIBS=$ac_check_lib_save_LIBS
15633 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_wayland_client_wl_display_connect" >&5
15634 printf "%s\n" "$ac_cv_lib_wayland_client_wl_display_connect" >&6; }
15635 if test "x$ac_cv_lib_wayland_client_wl_display_connect" = xyes
15636 then :
15638 else $as_nop
15639 WAYLAND_CLIENT_LIBS=""
15642 CPPFLAGS=$ac_save_CPPFLAGS
15645 if test -z "$WAYLAND_CLIENT_LIBS"
15646 then :
15647 case "x$with_wayland" in
15648 x) as_fn_append wine_notices "|Wayland ${notice_platform}development files not found, the Wayland driver won't be supported." ;;
15649 xno) ;;
15650 *) as_fn_error $? "Wayland ${notice_platform}development files not found, the Wayland driver won't be supported.
15651 This is an error since --with-wayland was requested." "$LINENO" 5 ;;
15652 esac
15653 enable_winewayland_drv=${enable_winewayland_drv:-no}
15656 if test "$ac_cv_header_CL_cl_h" = "yes"
15657 then
15658 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
15659 printf %s "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
15660 if test ${ac_cv_lib_OpenCL_clGetPlatformInfo+y}
15661 then :
15662 printf %s "(cached) " >&6
15663 else $as_nop
15664 ac_check_lib_save_LIBS=$LIBS
15665 LIBS="-lOpenCL $LIBS"
15666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15667 /* end confdefs.h. */
15669 /* Override any GCC internal prototype to avoid an error.
15670 Use char because int might match the return type of a GCC
15671 builtin and then its argument prototype would still apply. */
15672 char clGetPlatformInfo ();
15674 main (void)
15676 return clGetPlatformInfo ();
15678 return 0;
15680 _ACEOF
15681 if ac_fn_c_try_link "$LINENO"
15682 then :
15683 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
15684 else $as_nop
15685 ac_cv_lib_OpenCL_clGetPlatformInfo=no
15687 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15688 conftest$ac_exeext conftest.$ac_ext
15689 LIBS=$ac_check_lib_save_LIBS
15691 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
15692 printf "%s\n" "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
15693 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
15694 then :
15695 OPENCL_LIBS="-lOpenCL"
15700 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
15701 then :
15702 case "x$with_opencl" in
15703 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
15704 xno) ;;
15705 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
15706 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
15707 esac
15708 enable_opencl=${enable_opencl:-no}
15711 if test "$ac_cv_header_pcap_pcap_h" = "yes"
15712 then
15713 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pcap_init in -lpcap" >&5
15714 printf %s "checking for pcap_init in -lpcap... " >&6; }
15715 if test ${ac_cv_lib_pcap_pcap_init+y}
15716 then :
15717 printf %s "(cached) " >&6
15718 else $as_nop
15719 ac_check_lib_save_LIBS=$LIBS
15720 LIBS="-lpcap $LIBS"
15721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15722 /* end confdefs.h. */
15724 /* Override any GCC internal prototype to avoid an error.
15725 Use char because int might match the return type of a GCC
15726 builtin and then its argument prototype would still apply. */
15727 char pcap_init ();
15729 main (void)
15731 return pcap_init ();
15733 return 0;
15735 _ACEOF
15736 if ac_fn_c_try_link "$LINENO"
15737 then :
15738 ac_cv_lib_pcap_pcap_init=yes
15739 else $as_nop
15740 ac_cv_lib_pcap_pcap_init=no
15742 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15743 conftest$ac_exeext conftest.$ac_ext
15744 LIBS=$ac_check_lib_save_LIBS
15746 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_init" >&5
15747 printf "%s\n" "$ac_cv_lib_pcap_pcap_init" >&6; }
15748 if test "x$ac_cv_lib_pcap_pcap_init" = xyes
15749 then :
15750 PCAP_LIBS="-lpcap"
15755 if test "x$ac_cv_lib_pcap_pcap_init" != xyes
15756 then :
15757 case "x$with_pcap" in
15758 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
15759 xno) ;;
15760 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
15761 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
15762 esac
15763 enable_wpcap=${enable_wpcap:-no}
15766 if test "x$with_pcsclite" != "xno"
15767 then
15768 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for SCardEstablishContext in -lpcsclite" >&5
15769 printf %s "checking for SCardEstablishContext in -lpcsclite... " >&6; }
15770 if test ${ac_cv_lib_pcsclite_SCardEstablishContext+y}
15771 then :
15772 printf %s "(cached) " >&6
15773 else $as_nop
15774 ac_check_lib_save_LIBS=$LIBS
15775 LIBS="-lpcsclite $LIBS"
15776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15777 /* end confdefs.h. */
15779 /* Override any GCC internal prototype to avoid an error.
15780 Use char because int might match the return type of a GCC
15781 builtin and then its argument prototype would still apply. */
15782 char SCardEstablishContext ();
15784 main (void)
15786 return SCardEstablishContext ();
15788 return 0;
15790 _ACEOF
15791 if ac_fn_c_try_link "$LINENO"
15792 then :
15793 ac_cv_lib_pcsclite_SCardEstablishContext=yes
15794 else $as_nop
15795 ac_cv_lib_pcsclite_SCardEstablishContext=no
15797 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15798 conftest$ac_exeext conftest.$ac_ext
15799 LIBS=$ac_check_lib_save_LIBS
15801 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcsclite_SCardEstablishContext" >&5
15802 printf "%s\n" "$ac_cv_lib_pcsclite_SCardEstablishContext" >&6; }
15803 if test "x$ac_cv_lib_pcsclite_SCardEstablishContext" = xyes
15804 then :
15805 PCSCLITE_LIBS="-lpcsclite"
15810 if test "x$ac_cv_lib_pcsclite_SCardEstablishContext" != xyes
15811 then :
15812 case "x$with_pcsclite" in
15813 x) as_fn_append wine_notices "|libpcsclite not found, smart cards won't be supported." ;;
15814 xno) ;;
15815 *) as_fn_error $? "libpcsclite not found, smart cards won't be supported.
15816 This is an error since --with-pcsclite was requested." "$LINENO" 5 ;;
15817 esac
15818 enable_winscard=${enable_winscard:-no}
15821 if test "x$with_inotify" != "xno"
15822 then
15823 rm -f conftest.err
15824 if ${INOTIFY_CFLAGS:+false} :
15825 then :
15826 if test ${PKG_CONFIG+y}
15827 then :
15828 INOTIFY_CFLAGS=`$PKG_CONFIG --cflags libinotify 2>conftest.err`
15832 if ${INOTIFY_LIBS:+false} :
15833 then :
15834 if test ${PKG_CONFIG+y}
15835 then :
15836 INOTIFY_LIBS=`$PKG_CONFIG --libs libinotify 2>/dev/null`
15841 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
15842 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
15843 if test -s conftest.err; then
15844 printf %s "$as_me:${as_lineno-$LINENO}: libinotify errors: " >&5
15845 cat conftest.err >&5
15847 rm -f conftest.err
15848 ac_save_CPPFLAGS=$CPPFLAGS
15849 CPPFLAGS="$CPPFLAGS $INOTIFY_CFLAGS"
15850 ac_fn_c_check_header_compile "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
15851 if test "x$ac_cv_header_sys_inotify_h" = xyes
15852 then :
15853 printf "%s\n" "#define HAVE_SYS_INOTIFY_H 1" >>confdefs.h
15857 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
15858 printf %s "checking for inotify_add_watch in -linotify... " >&6; }
15859 if test ${ac_cv_lib_inotify_inotify_add_watch+y}
15860 then :
15861 printf %s "(cached) " >&6
15862 else $as_nop
15863 ac_check_lib_save_LIBS=$LIBS
15864 LIBS="-linotify $INOTIFY_LIBS $LIBS"
15865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15866 /* end confdefs.h. */
15868 /* Override any GCC internal prototype to avoid an error.
15869 Use char because int might match the return type of a GCC
15870 builtin and then its argument prototype would still apply. */
15871 char inotify_add_watch ();
15873 main (void)
15875 return inotify_add_watch ();
15877 return 0;
15879 _ACEOF
15880 if ac_fn_c_try_link "$LINENO"
15881 then :
15882 ac_cv_lib_inotify_inotify_add_watch=yes
15883 else $as_nop
15884 ac_cv_lib_inotify_inotify_add_watch=no
15886 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15887 conftest$ac_exeext conftest.$ac_ext
15888 LIBS=$ac_check_lib_save_LIBS
15890 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
15891 printf "%s\n" "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
15892 if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes
15893 then :
15895 else $as_nop
15896 INOTIFY_LIBS=""
15899 CPPFLAGS=$ac_save_CPPFLAGS
15902 if test "$ac_cv_header_sys_inotify_h" != "yes"
15903 then :
15904 case "x$with_inotify" in
15905 x) as_fn_append wine_notices "|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
15906 xno) ;;
15907 *) as_fn_error $? "libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
15908 This is an error since --with-inotify was requested." "$LINENO" 5 ;;
15909 esac
15913 if test "x$with_dbus" != "xno"
15914 then
15915 rm -f conftest.err
15916 if ${DBUS_CFLAGS:+false} :
15917 then :
15918 if test ${PKG_CONFIG+y}
15919 then :
15920 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>conftest.err`
15924 if ${DBUS_LIBS:+false} :
15925 then :
15926 if test ${PKG_CONFIG+y}
15927 then :
15928 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
15933 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
15934 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
15935 if test -s conftest.err; then
15936 printf %s "$as_me:${as_lineno-$LINENO}: dbus-1 errors: " >&5
15937 cat conftest.err >&5
15939 rm -f conftest.err
15940 ac_save_CPPFLAGS=$CPPFLAGS
15941 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
15942 ac_fn_c_check_header_compile "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
15943 if test "x$ac_cv_header_dbus_dbus_h" = xyes
15944 then :
15945 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
15946 printf %s "checking for -ldbus-1... " >&6; }
15947 if test ${ac_cv_lib_soname_dbus_1+y}
15948 then :
15949 printf %s "(cached) " >&6
15950 else $as_nop
15951 ac_check_soname_save_LIBS=$LIBS
15952 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
15953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15954 /* end confdefs.h. */
15956 /* Override any GCC internal prototype to avoid an error.
15957 Use char because int might match the return type of a GCC
15958 builtin and then its argument prototype would still apply. */
15959 char dbus_connection_close ();
15961 main (void)
15963 return dbus_connection_close ();
15965 return 0;
15967 _ACEOF
15968 if ac_fn_c_try_link "$LINENO"
15969 then :
15970 case "$LIBEXT" in
15971 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15972 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'` ;;
15973 *) 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'`
15974 if ${ac_cv_lib_soname_dbus_1:+false} :
15975 then :
15976 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15977 fi ;;
15978 esac
15979 else $as_nop
15980 ac_cv_lib_soname_dbus_1=
15982 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15983 conftest$ac_exeext conftest.$ac_ext
15984 LIBS=$ac_check_soname_save_LIBS
15986 if ${ac_cv_lib_soname_dbus_1:+false} :
15987 then :
15988 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15989 printf "%s\n" "not found" >&6; }
15990 DBUS_CFLAGS=""
15991 else $as_nop
15992 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
15993 printf "%s\n" "$ac_cv_lib_soname_dbus_1" >&6; }
15995 printf "%s\n" "#define SONAME_LIBDBUS_1 \"$ac_cv_lib_soname_dbus_1\"" >>confdefs.h
15999 else $as_nop
16000 DBUS_CFLAGS=""
16003 CPPFLAGS=$ac_save_CPPFLAGS
16006 case $host_os in
16007 darwin*|macosx*) ;;
16008 *) if test "x$ac_cv_lib_soname_dbus_1" = "x"
16009 then :
16010 case "x$with_dbus" in
16011 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
16012 xno) ;;
16013 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
16014 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
16015 esac
16017 fi ;;
16018 esac
16020 if test "x$with_gnutls" != "xno"
16021 then
16022 rm -f conftest.err
16023 if ${GNUTLS_CFLAGS:+false} :
16024 then :
16025 if test ${PKG_CONFIG+y}
16026 then :
16027 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>conftest.err`
16031 if ${GNUTLS_LIBS:+false} :
16032 then :
16033 if test ${PKG_CONFIG+y}
16034 then :
16035 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
16039 GNUTLS_LIBS=${GNUTLS_LIBS:-"-lgnutls"}
16040 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
16041 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
16042 if test -s conftest.err; then
16043 printf %s "$as_me:${as_lineno-$LINENO}: gnutls errors: " >&5
16044 cat conftest.err >&5
16046 rm -f conftest.err
16047 ac_save_CPPFLAGS=$CPPFLAGS
16048 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
16049 ac_fn_c_check_header_compile "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
16050 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
16051 then :
16052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16053 /* end confdefs.h. */
16054 #include <gnutls/gnutls.h>
16055 #include <gnutls/crypto.h>
16057 main (void)
16059 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
16061 return 0;
16063 _ACEOF
16064 if ac_fn_c_try_compile "$LINENO"
16065 then :
16066 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
16067 printf %s "checking for -lgnutls... " >&6; }
16068 if test ${ac_cv_lib_soname_gnutls+y}
16069 then :
16070 printf %s "(cached) " >&6
16071 else $as_nop
16072 ac_check_soname_save_LIBS=$LIBS
16073 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
16074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16075 /* end confdefs.h. */
16077 /* Override any GCC internal prototype to avoid an error.
16078 Use char because int might match the return type of a GCC
16079 builtin and then its argument prototype would still apply. */
16080 char gnutls_global_init ();
16082 main (void)
16084 return gnutls_global_init ();
16086 return 0;
16088 _ACEOF
16089 if ac_fn_c_try_link "$LINENO"
16090 then :
16091 case "$LIBEXT" in
16092 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16093 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'` ;;
16094 *) 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'`
16095 if ${ac_cv_lib_soname_gnutls:+false} :
16096 then :
16097 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'`
16098 fi ;;
16099 esac
16100 else $as_nop
16101 ac_cv_lib_soname_gnutls=
16103 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16104 conftest$ac_exeext conftest.$ac_ext
16105 LIBS=$ac_check_soname_save_LIBS
16107 if ${ac_cv_lib_soname_gnutls:+false} :
16108 then :
16109 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16110 printf "%s\n" "not found" >&6; }
16111 GNUTLS_CFLAGS=""
16112 else $as_nop
16113 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
16114 printf "%s\n" "$ac_cv_lib_soname_gnutls" >&6; }
16116 printf "%s\n" "#define SONAME_LIBGNUTLS \"$ac_cv_lib_soname_gnutls\"" >>confdefs.h
16120 ac_wine_check_funcs_save_LIBS="$LIBS"
16121 LIBS="$LIBS $GNUTLS_LIBS"
16123 for ac_func in gnutls_cipher_init
16124 do :
16125 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
16126 if test "x$ac_cv_func_gnutls_cipher_init" = xyes
16127 then :
16128 printf "%s\n" "#define HAVE_GNUTLS_CIPHER_INIT 1" >>confdefs.h
16130 else $as_nop
16131 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
16134 done
16135 LIBS="$ac_wine_check_funcs_save_LIBS"
16137 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
16138 else $as_nop
16139 GNUTLS_CFLAGS=""
16142 CPPFLAGS=$ac_save_CPPFLAGS
16145 if test "x$ac_cv_lib_soname_gnutls" = "x"
16146 then :
16147 case "x$with_gnutls" in
16148 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
16149 xno) ;;
16150 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
16151 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
16152 esac
16156 if test "x$with_sane" != "xno"
16157 then
16158 rm -f conftest.err
16159 if ${SANE_CFLAGS:+false} :
16160 then :
16161 if test ${PKG_CONFIG+y}
16162 then :
16163 SANE_CFLAGS=`$PKG_CONFIG --cflags sane-backends 2>conftest.err`
16166 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
16167 if ${SANE_LIBS:+false} :
16168 then :
16169 if test ${PKG_CONFIG+y}
16170 then :
16171 SANE_LIBS=`$PKG_CONFIG --libs sane-backends 2>/dev/null`
16174 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
16176 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends cflags: $SANE_CFLAGS" >&5
16177 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends libs: $SANE_LIBS" >&5
16178 if test -s conftest.err; then
16179 printf %s "$as_me:${as_lineno-$LINENO}: sane-backends errors: " >&5
16180 cat conftest.err >&5
16182 rm -f conftest.err
16183 ac_save_CPPFLAGS=$CPPFLAGS
16184 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
16185 ac_fn_c_check_header_compile "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
16186 if test "x$ac_cv_header_sane_sane_h" = xyes
16187 then :
16188 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sane_init in -lsane" >&5
16189 printf %s "checking for sane_init in -lsane... " >&6; }
16190 if test ${ac_cv_lib_sane_sane_init+y}
16191 then :
16192 printf %s "(cached) " >&6
16193 else $as_nop
16194 ac_check_lib_save_LIBS=$LIBS
16195 LIBS="-lsane $SANE_LIBS $LIBS"
16196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16197 /* end confdefs.h. */
16199 /* Override any GCC internal prototype to avoid an error.
16200 Use char because int might match the return type of a GCC
16201 builtin and then its argument prototype would still apply. */
16202 char sane_init ();
16204 main (void)
16206 return sane_init ();
16208 return 0;
16210 _ACEOF
16211 if ac_fn_c_try_link "$LINENO"
16212 then :
16213 ac_cv_lib_sane_sane_init=yes
16214 else $as_nop
16215 ac_cv_lib_sane_sane_init=no
16217 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16218 conftest$ac_exeext conftest.$ac_ext
16219 LIBS=$ac_check_lib_save_LIBS
16221 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sane_sane_init" >&5
16222 printf "%s\n" "$ac_cv_lib_sane_sane_init" >&6; }
16223 if test "x$ac_cv_lib_sane_sane_init" = xyes
16224 then :
16230 CPPFLAGS=$ac_save_CPPFLAGS
16233 if test "$ac_cv_lib_sane_sane_init" != "yes"
16234 then :
16235 case "x$with_sane" in
16236 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
16237 xno) ;;
16238 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
16239 This is an error since --with-sane was requested." "$LINENO" 5 ;;
16240 esac
16241 enable_sane_ds=${enable_sane_ds:-no}
16244 if test "x$with_usb" != "xno"
16245 then
16246 rm -f conftest.err
16247 if ${USB_CFLAGS:+false} :
16248 then :
16249 if test ${PKG_CONFIG+y}
16250 then :
16251 USB_CFLAGS=`$PKG_CONFIG --cflags libusb-1.0 2>conftest.err`
16255 if ${USB_LIBS:+false} :
16256 then :
16257 if test ${PKG_CONFIG+y}
16258 then :
16259 USB_LIBS=`$PKG_CONFIG --libs libusb-1.0 2>/dev/null`
16263 USB_LIBS=${USB_LIBS:-"-lusb-1.0"}
16264 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 cflags: $USB_CFLAGS" >&5
16265 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 libs: $USB_LIBS" >&5
16266 if test -s conftest.err; then
16267 printf %s "$as_me:${as_lineno-$LINENO}: libusb-1.0 errors: " >&5
16268 cat conftest.err >&5
16270 rm -f conftest.err
16271 ac_save_CPPFLAGS=$CPPFLAGS
16272 CPPFLAGS="$CPPFLAGS $USB_CFLAGS"
16273 ac_fn_c_check_header_compile "$LINENO" "libusb.h" "ac_cv_header_libusb_h" "$ac_includes_default"
16274 if test "x$ac_cv_header_libusb_h" = xyes
16275 then :
16276 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libusb_interrupt_event_handler in -lusb-1.0" >&5
16277 printf %s "checking for libusb_interrupt_event_handler in -lusb-1.0... " >&6; }
16278 if test ${ac_cv_lib_usb_1_0_libusb_interrupt_event_handler+y}
16279 then :
16280 printf %s "(cached) " >&6
16281 else $as_nop
16282 ac_check_lib_save_LIBS=$LIBS
16283 LIBS="-lusb-1.0 $USB_LIBS $LIBS"
16284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16285 /* end confdefs.h. */
16287 /* Override any GCC internal prototype to avoid an error.
16288 Use char because int might match the return type of a GCC
16289 builtin and then its argument prototype would still apply. */
16290 char libusb_interrupt_event_handler ();
16292 main (void)
16294 return libusb_interrupt_event_handler ();
16296 return 0;
16298 _ACEOF
16299 if ac_fn_c_try_link "$LINENO"
16300 then :
16301 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=yes
16302 else $as_nop
16303 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=no
16305 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16306 conftest$ac_exeext conftest.$ac_ext
16307 LIBS=$ac_check_lib_save_LIBS
16309 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&5
16310 printf "%s\n" "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&6; }
16311 if test "x$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" = xyes
16312 then :
16314 else $as_nop
16315 USB_LIBS=""
16318 else $as_nop
16319 USB_LIBS=""
16322 CPPFLAGS=$ac_save_CPPFLAGS
16325 if test "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" != "yes"
16326 then :
16327 case "x$with_usb" in
16328 x) as_fn_append wine_notices "|libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported." ;;
16329 xno) ;;
16330 *) as_fn_error $? "libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported.
16331 This is an error since --with-usb was requested." "$LINENO" 5 ;;
16332 esac
16333 enable_wineusb_sys=${enable_wineusb_sys:-no}
16336 if test "x$with_v4l2" != "xno"
16337 then
16338 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
16339 printf %s "checking for -lv4l2... " >&6; }
16340 if test ${ac_cv_lib_soname_v4l2+y}
16341 then :
16342 printf %s "(cached) " >&6
16343 else $as_nop
16344 ac_check_soname_save_LIBS=$LIBS
16345 LIBS="-lv4l2 $LIBS"
16346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16347 /* end confdefs.h. */
16349 /* Override any GCC internal prototype to avoid an error.
16350 Use char because int might match the return type of a GCC
16351 builtin and then its argument prototype would still apply. */
16352 char v4l2_open ();
16354 main (void)
16356 return v4l2_open ();
16358 return 0;
16360 _ACEOF
16361 if ac_fn_c_try_link "$LINENO"
16362 then :
16363 case "$LIBEXT" in
16364 dll) ac_cv_lib_soname_v4l2=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16365 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'` ;;
16366 *) ac_cv_lib_soname_v4l2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16367 if ${ac_cv_lib_soname_v4l2:+false} :
16368 then :
16369 ac_cv_lib_soname_v4l2=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16370 fi ;;
16371 esac
16372 else $as_nop
16373 ac_cv_lib_soname_v4l2=
16375 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16376 conftest$ac_exeext conftest.$ac_ext
16377 LIBS=$ac_check_soname_save_LIBS
16379 if ${ac_cv_lib_soname_v4l2:+false} :
16380 then :
16381 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16382 printf "%s\n" "not found" >&6; }
16384 else $as_nop
16385 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
16386 printf "%s\n" "$ac_cv_lib_soname_v4l2" >&6; }
16388 printf "%s\n" "#define SONAME_LIBV4L2 \"$ac_cv_lib_soname_v4l2\"" >>confdefs.h
16393 if test "x$ac_cv_lib_soname_v4l2" = "x"
16394 then :
16395 case "x$with_v4l2" in
16396 x) as_fn_append wine_notices "|libv4l2 ${notice_platform}development files not found." ;;
16397 xno) ;;
16398 *) as_fn_error $? "libv4l2 ${notice_platform}development files not found.
16399 This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
16400 esac
16404 if test "x$with_gphoto" != "xno"
16405 then
16406 rm -f conftest.err
16407 if ${GPHOTO2_CFLAGS:+false} :
16408 then :
16409 if test ${PKG_CONFIG+y}
16410 then :
16411 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>conftest.err`
16414 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
16415 if ${GPHOTO2_LIBS:+false} :
16416 then :
16417 if test ${PKG_CONFIG+y}
16418 then :
16419 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
16422 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
16423 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
16424 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
16425 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
16426 if test -s conftest.err; then
16427 printf %s "$as_me:${as_lineno-$LINENO}: libgphoto2 errors: " >&5
16428 cat conftest.err >&5
16430 rm -f conftest.err
16431 ac_save_CPPFLAGS=$CPPFLAGS
16432 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
16433 ac_fn_c_check_header_compile "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
16434 if test "x$ac_cv_header_gphoto2_camera_h" = xyes
16435 then :
16436 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
16437 printf %s "checking for gp_camera_new in -lgphoto2... " >&6; }
16438 if test ${ac_cv_lib_gphoto2_gp_camera_new+y}
16439 then :
16440 printf %s "(cached) " >&6
16441 else $as_nop
16442 ac_check_lib_save_LIBS=$LIBS
16443 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
16444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16445 /* end confdefs.h. */
16447 /* Override any GCC internal prototype to avoid an error.
16448 Use char because int might match the return type of a GCC
16449 builtin and then its argument prototype would still apply. */
16450 char gp_camera_new ();
16452 main (void)
16454 return gp_camera_new ();
16456 return 0;
16458 _ACEOF
16459 if ac_fn_c_try_link "$LINENO"
16460 then :
16461 ac_cv_lib_gphoto2_gp_camera_new=yes
16462 else $as_nop
16463 ac_cv_lib_gphoto2_gp_camera_new=no
16465 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16466 conftest$ac_exeext conftest.$ac_ext
16467 LIBS=$ac_check_lib_save_LIBS
16469 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
16470 printf "%s\n" "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
16471 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
16472 then :
16478 CPPFLAGS=$ac_save_CPPFLAGS
16480 rm -f conftest.err
16481 if ${GPHOTO2_PORT_CFLAGS:+false} :
16482 then :
16483 if test ${PKG_CONFIG+y}
16484 then :
16485 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>conftest.err`
16488 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
16489 if ${GPHOTO2_PORT_LIBS:+false} :
16490 then :
16491 if test ${PKG_CONFIG+y}
16492 then :
16493 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
16496 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
16497 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
16498 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
16499 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
16500 if test -s conftest.err; then
16501 printf %s "$as_me:${as_lineno-$LINENO}: libgphoto2_port errors: " >&5
16502 cat conftest.err >&5
16504 rm -f conftest.err
16505 ac_save_CPPFLAGS=$CPPFLAGS
16506 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
16507 ac_fn_c_check_header_compile "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
16508 if test "x$ac_cv_header_gphoto2_port_h" = xyes
16509 then :
16510 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
16511 printf %s "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
16512 if test ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+y}
16513 then :
16514 printf %s "(cached) " >&6
16515 else $as_nop
16516 ac_check_lib_save_LIBS=$LIBS
16517 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
16518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16519 /* end confdefs.h. */
16521 /* Override any GCC internal prototype to avoid an error.
16522 Use char because int might match the return type of a GCC
16523 builtin and then its argument prototype would still apply. */
16524 char gp_port_info_list_new ();
16526 main (void)
16528 return gp_port_info_list_new ();
16530 return 0;
16532 _ACEOF
16533 if ac_fn_c_try_link "$LINENO"
16534 then :
16535 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
16536 else $as_nop
16537 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
16539 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16540 conftest$ac_exeext conftest.$ac_ext
16541 LIBS=$ac_check_lib_save_LIBS
16543 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
16544 printf "%s\n" "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
16545 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes
16546 then :
16548 printf "%s\n" "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
16550 else $as_nop
16551 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
16554 else $as_nop
16555 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
16558 CPPFLAGS=$ac_save_CPPFLAGS
16561 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"
16562 then :
16563 case "x$with_gphoto" in
16564 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
16565 xno) ;;
16566 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
16567 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
16568 esac
16569 enable_gphoto2_ds=${enable_gphoto2_ds:-no}
16571 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"
16572 then :
16573 case "x$with_gphoto" in
16574 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
16575 xno) ;;
16576 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
16577 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
16578 esac
16583 if test "$ac_cv_header_resolv_h" = "yes"
16584 then
16585 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
16586 printf %s "checking for resolver library... " >&6; }
16587 if test ${ac_cv_have_resolv+y}
16588 then :
16589 printf %s "(cached) " >&6
16590 else $as_nop
16591 ac_save_LIBS="$LIBS"
16592 for lib in '' -lresolv
16594 LIBS="$lib $ac_save_LIBS"
16595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16596 /* end confdefs.h. */
16597 #ifdef HAVE_NETINET_IN_H
16598 #include <netinet/in.h>
16599 #endif
16600 #include <resolv.h>
16602 main (void)
16604 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0); ns_initparse(0,0,0)
16606 return 0;
16608 _ACEOF
16609 if ac_fn_c_try_link "$LINENO"
16610 then :
16611 ac_cv_have_resolv=${lib:-"none required"}
16612 else $as_nop
16613 ac_cv_have_resolv="not found"
16615 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16616 conftest$ac_exeext conftest.$ac_ext
16617 test "x$ac_cv_have_resolv" = "xnot found" || break
16618 done
16619 LIBS="$ac_save_LIBS"
16621 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
16622 printf "%s\n" "$ac_cv_have_resolv" >&6; }
16624 case "$ac_cv_have_resolv" in
16625 "not found") ;;
16626 "none required")
16628 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
16631 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
16633 RESOLV_LIBS=$ac_cv_have_resolv
16635 esac
16637 if test "x$ac_cv_have_resolv" != "xnot found"
16638 then
16639 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for res_getservers" >&5
16640 printf %s "checking for res_getservers... " >&6; }
16641 if test ${ac_cv_have_res_getservers+y}
16642 then :
16643 printf %s "(cached) " >&6
16644 else $as_nop
16645 ac_save_LIBS="$LIBS"
16646 LIBS="$RESOLV_LIBS $LIBS"
16647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16648 /* end confdefs.h. */
16649 #include <resolv.h>
16651 main (void)
16653 res_getservers(NULL, NULL, 0);
16655 return 0;
16657 _ACEOF
16658 if ac_fn_c_try_link "$LINENO"
16659 then :
16660 ac_cv_have_res_getservers=yes
16661 else $as_nop
16662 ac_cv_have_res_getservers=no
16664 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16665 conftest$ac_exeext conftest.$ac_ext
16666 LIBS="$ac_save_LIBS"
16668 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_res_getservers" >&5
16669 printf "%s\n" "$ac_cv_have_res_getservers" >&6; }
16670 if test "$ac_cv_have_res_getservers" = "yes"
16671 then
16673 printf "%s\n" "#define HAVE_RES_GETSERVERS 1" >>confdefs.h
16679 if test "x$with_freetype" != "xno"
16680 then
16681 rm -f conftest.err
16682 if ${FREETYPE_CFLAGS:+false} :
16683 then :
16684 if test ${PKG_CONFIG+y}
16685 then :
16686 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>conftest.err`
16689 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
16690 if ${FREETYPE_LIBS:+false} :
16691 then :
16692 if test ${PKG_CONFIG+y}
16693 then :
16694 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
16697 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
16698 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
16699 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
16700 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
16701 if test -s conftest.err; then
16702 printf %s "$as_me:${as_lineno-$LINENO}: freetype2 errors: " >&5
16703 cat conftest.err >&5
16705 rm -f conftest.err
16706 ac_save_CPPFLAGS=$CPPFLAGS
16707 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
16708 ac_fn_c_check_header_compile "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
16709 if test "x$ac_cv_header_ft2build_h" = xyes
16710 then :
16711 printf "%s\n" "#define HAVE_FT2BUILD_H 1" >>confdefs.h
16715 if test "$ac_cv_header_ft2build_h" = "yes"
16716 then
16717 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
16718 printf %s "checking for -lfreetype... " >&6; }
16719 if test ${ac_cv_lib_soname_freetype+y}
16720 then :
16721 printf %s "(cached) " >&6
16722 else $as_nop
16723 ac_check_soname_save_LIBS=$LIBS
16724 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
16725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16726 /* end confdefs.h. */
16728 /* Override any GCC internal prototype to avoid an error.
16729 Use char because int might match the return type of a GCC
16730 builtin and then its argument prototype would still apply. */
16731 char FT_Init_FreeType ();
16733 main (void)
16735 return FT_Init_FreeType ();
16737 return 0;
16739 _ACEOF
16740 if ac_fn_c_try_link "$LINENO"
16741 then :
16742 case "$LIBEXT" in
16743 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16744 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'` ;;
16745 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16746 if ${ac_cv_lib_soname_freetype:+false} :
16747 then :
16748 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16749 fi ;;
16750 esac
16751 else $as_nop
16752 ac_cv_lib_soname_freetype=
16754 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16755 conftest$ac_exeext conftest.$ac_ext
16756 LIBS=$ac_check_soname_save_LIBS
16758 if ${ac_cv_lib_soname_freetype:+false} :
16759 then :
16760 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16761 printf "%s\n" "not found" >&6; }
16762 FREETYPE_LIBS=""
16763 else $as_nop
16764 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
16765 printf "%s\n" "$ac_cv_lib_soname_freetype" >&6; }
16767 printf "%s\n" "#define SONAME_LIBFREETYPE \"$ac_cv_lib_soname_freetype\"" >>confdefs.h
16770 printf "%s\n" "#define HAVE_FREETYPE 1" >>confdefs.h
16772 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
16773 #include FT_MODULE_H
16775 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
16776 then :
16778 printf "%s\n" "#define HAVE_FT_TRUETYPEENGINETYPE 1" >>confdefs.h
16784 else
16785 FREETYPE_CFLAGS=""
16786 FREETYPE_LIBS=""
16788 CPPFLAGS=$ac_save_CPPFLAGS
16791 if test "x$ac_cv_lib_soname_freetype" = x
16792 then :
16793 case "x$with_freetype" in
16794 xno) ;;
16795 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
16796 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
16797 esac
16798 enable_fonts=${enable_fonts:-no}
16801 ac_wine_check_funcs_save_LIBS="$LIBS"
16802 LIBS="$LIBS $PTHREAD_LIBS"
16803 ac_fn_c_check_func "$LINENO" "pthread_getthreadid_np" "ac_cv_func_pthread_getthreadid_np"
16804 if test "x$ac_cv_func_pthread_getthreadid_np" = xyes
16805 then :
16806 printf "%s\n" "#define HAVE_PTHREAD_GETTHREADID_NP 1" >>confdefs.h
16810 LIBS="$ac_wine_check_funcs_save_LIBS"
16812 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
16813 then
16814 if test "$ac_cv_header_gettext_po_h" = "yes"
16815 then
16816 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
16817 printf %s "checking for po_message_msgctxt in -lgettextpo... " >&6; }
16818 if test ${ac_cv_lib_gettextpo_po_message_msgctxt+y}
16819 then :
16820 printf %s "(cached) " >&6
16821 else $as_nop
16822 ac_check_lib_save_LIBS=$LIBS
16823 LIBS="-lgettextpo $LIBS"
16824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16825 /* end confdefs.h. */
16827 /* Override any GCC internal prototype to avoid an error.
16828 Use char because int might match the return type of a GCC
16829 builtin and then its argument prototype would still apply. */
16830 char po_message_msgctxt ();
16832 main (void)
16834 return po_message_msgctxt ();
16836 return 0;
16838 _ACEOF
16839 if ac_fn_c_try_link "$LINENO"
16840 then :
16841 ac_cv_lib_gettextpo_po_message_msgctxt=yes
16842 else $as_nop
16843 ac_cv_lib_gettextpo_po_message_msgctxt=no
16845 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16846 conftest$ac_exeext conftest.$ac_ext
16847 LIBS=$ac_check_lib_save_LIBS
16849 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
16850 printf "%s\n" "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
16851 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
16852 then :
16854 printf "%s\n" "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
16856 GETTEXTPO_LIBS="-lgettextpo"
16861 if test "x$GETTEXTPO_LIBS" = "x"
16862 then :
16863 case "x$with_gettextpo" in
16864 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
16865 xno) ;;
16866 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
16867 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
16868 esac
16871 if test "$srcdir" != .
16872 then :
16873 case "x$with_gettextpo" in
16874 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
16875 xno) ;;
16876 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
16877 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
16878 esac
16883 if test "x$with_pulse" != "xno";
16884 then
16885 rm -f conftest.err
16886 if ${PULSE_CFLAGS:+false} :
16887 then :
16888 if test ${PKG_CONFIG+y}
16889 then :
16890 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>conftest.err`
16894 if ${PULSE_LIBS:+false} :
16895 then :
16896 if test ${PKG_CONFIG+y}
16897 then :
16898 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
16903 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
16904 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
16905 if test -s conftest.err; then
16906 printf %s "$as_me:${as_lineno-$LINENO}: libpulse errors: " >&5
16907 cat conftest.err >&5
16909 rm -f conftest.err
16910 ac_save_CPPFLAGS=$CPPFLAGS
16911 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
16912 for ac_header in pulse/pulseaudio.h
16913 do :
16914 ac_fn_c_check_header_compile "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
16915 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes
16916 then :
16917 printf "%s\n" "#define HAVE_PULSE_PULSEAUDIO_H 1" >>confdefs.h
16918 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
16919 printf %s "checking for pa_stream_is_corked in -lpulse... " >&6; }
16920 if test ${ac_cv_lib_pulse_pa_stream_is_corked+y}
16921 then :
16922 printf %s "(cached) " >&6
16923 else $as_nop
16924 ac_check_lib_save_LIBS=$LIBS
16925 LIBS="-lpulse $PULSE_LIBS $LIBS"
16926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16927 /* end confdefs.h. */
16929 /* Override any GCC internal prototype to avoid an error.
16930 Use char because int might match the return type of a GCC
16931 builtin and then its argument prototype would still apply. */
16932 char pa_stream_is_corked ();
16934 main (void)
16936 return pa_stream_is_corked ();
16938 return 0;
16940 _ACEOF
16941 if ac_fn_c_try_link "$LINENO"
16942 then :
16943 ac_cv_lib_pulse_pa_stream_is_corked=yes
16944 else $as_nop
16945 ac_cv_lib_pulse_pa_stream_is_corked=no
16947 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16948 conftest$ac_exeext conftest.$ac_ext
16949 LIBS=$ac_check_lib_save_LIBS
16951 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
16952 printf "%s\n" "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
16953 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes
16954 then :
16956 else $as_nop
16957 PULSE_LIBS=""
16960 else $as_nop
16961 PULSE_LIBS=""
16964 done
16965 CPPFLAGS=$ac_save_CPPFLAGS
16968 if test -z "$PULSE_LIBS"
16969 then :
16970 case "x$with_pulse" in
16971 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
16972 xno) ;;
16973 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
16974 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
16975 esac
16976 enable_winepulse_drv=${enable_winepulse_drv:-no}
16979 if test "x$with_gstreamer" != "xno"
16980 then
16981 rm -f conftest.err
16982 if ${GSTREAMER_CFLAGS:+false} :
16983 then :
16984 if test ${PKG_CONFIG+y}
16985 then :
16986 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 2>conftest.err`
16990 if ${GSTREAMER_LIBS:+false} :
16991 then :
16992 if test ${PKG_CONFIG+y}
16993 then :
16994 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 2>/dev/null`
16999 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
17000 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
17001 if test -s conftest.err; then
17002 printf %s "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 errors: " >&5
17003 cat conftest.err >&5
17005 rm -f conftest.err
17006 ac_save_CPPFLAGS=$CPPFLAGS
17007 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
17008 ac_fn_c_check_header_compile "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
17009 if test "x$ac_cv_header_gst_gst_h" = xyes
17010 then :
17011 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
17012 printf %s "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
17013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17014 /* end confdefs.h. */
17015 #include <gst/gst.h>
17017 main (void)
17019 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
17021 return 0;
17023 _ACEOF
17024 if ac_fn_c_try_compile "$LINENO"
17025 then :
17026 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17027 printf "%s\n" "yes" >&6; }
17028 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
17029 printf %s "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
17030 if test ${ac_cv_lib_gstreamer_1_0_gst_pad_new+y}
17031 then :
17032 printf %s "(cached) " >&6
17033 else $as_nop
17034 ac_check_lib_save_LIBS=$LIBS
17035 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
17036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17037 /* end confdefs.h. */
17039 /* Override any GCC internal prototype to avoid an error.
17040 Use char because int might match the return type of a GCC
17041 builtin and then its argument prototype would still apply. */
17042 char gst_pad_new ();
17044 main (void)
17046 return gst_pad_new ();
17048 return 0;
17050 _ACEOF
17051 if ac_fn_c_try_link "$LINENO"
17052 then :
17053 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
17054 else $as_nop
17055 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
17057 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17058 conftest$ac_exeext conftest.$ac_ext
17059 LIBS=$ac_check_lib_save_LIBS
17061 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
17062 printf "%s\n" "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
17063 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes
17064 then :
17068 else $as_nop
17069 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
17070 printf "%s\n" "no" >&6; }
17071 ac_glib2_broken=yes
17072 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
17074 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
17077 CPPFLAGS=$ac_save_CPPFLAGS
17080 if test "x$ac_glib2_broken" != xyes -a "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" != xyes
17081 then :
17082 case "x$with_gstreamer" in
17083 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
17084 xno) ;;
17085 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
17086 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
17087 esac
17088 enable_winegstreamer=${enable_winegstreamer:-no}
17091 ALSA_LIBS=""
17093 if test "x$with_alsa" != "xno"
17094 then
17095 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
17096 printf %s "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
17097 if test ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+y}
17098 then :
17099 printf %s "(cached) " >&6
17100 else $as_nop
17101 ac_check_lib_save_LIBS=$LIBS
17102 LIBS="-lasound $LIBS"
17103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17104 /* end confdefs.h. */
17106 /* Override any GCC internal prototype to avoid an error.
17107 Use char because int might match the return type of a GCC
17108 builtin and then its argument prototype would still apply. */
17109 char snd_pcm_hw_params_get_access_mask ();
17111 main (void)
17113 return snd_pcm_hw_params_get_access_mask ();
17115 return 0;
17117 _ACEOF
17118 if ac_fn_c_try_link "$LINENO"
17119 then :
17120 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
17121 else $as_nop
17122 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
17124 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17125 conftest$ac_exeext conftest.$ac_ext
17126 LIBS=$ac_check_lib_save_LIBS
17128 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
17129 printf "%s\n" "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
17130 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
17131 then :
17132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17133 /* end confdefs.h. */
17134 #include <alsa/asoundlib.h>
17136 main (void)
17138 snd_pcm_hw_params_get_access_mask(NULL, NULL)
17140 return 0;
17142 _ACEOF
17143 if ac_fn_c_try_compile "$LINENO"
17144 then :
17145 ALSA_LIBS="-lasound"
17147 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
17151 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
17153 if test "x$with_oss" != xno
17154 then
17155 ac_save_CPPFLAGS="$CPPFLAGS"
17156 if test -f /etc/oss.conf
17157 then
17158 . /etc/oss.conf
17160 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
17161 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
17162 ac_fn_c_check_header_compile "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
17163 if test "x$ac_cv_header_sys_soundcard_h" = xyes
17164 then :
17165 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
17167 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
17168 then :
17170 printf "%s\n" "#define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1" >>confdefs.h
17172 OSS4_CFLAGS="$ac_oss_incl"
17174 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
17175 printf %s "checking for _oss_ioctl in -lossaudio... " >&6; }
17176 if test ${ac_cv_lib_ossaudio__oss_ioctl+y}
17177 then :
17178 printf %s "(cached) " >&6
17179 else $as_nop
17180 ac_check_lib_save_LIBS=$LIBS
17181 LIBS="-lossaudio $LIBS"
17182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17183 /* end confdefs.h. */
17185 /* Override any GCC internal prototype to avoid an error.
17186 Use char because int might match the return type of a GCC
17187 builtin and then its argument prototype would still apply. */
17188 char _oss_ioctl ();
17190 main (void)
17192 return _oss_ioctl ();
17194 return 0;
17196 _ACEOF
17197 if ac_fn_c_try_link "$LINENO"
17198 then :
17199 ac_cv_lib_ossaudio__oss_ioctl=yes
17200 else $as_nop
17201 ac_cv_lib_ossaudio__oss_ioctl=no
17203 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17204 conftest$ac_exeext conftest.$ac_ext
17205 LIBS=$ac_check_lib_save_LIBS
17207 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
17208 printf "%s\n" "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
17209 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
17210 then :
17211 OSS4_LIBS="-lossaudio"
17219 CPPFLAGS="$ac_save_CPPFLAGS"
17221 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
17222 then :
17223 case "x$with_oss" in
17224 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
17225 xno) ;;
17226 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
17227 This is an error since --with-oss was requested." "$LINENO" 5 ;;
17228 esac
17229 enable_wineoss_drv=${enable_wineoss_drv:-no}
17232 if test "x$with_udev" != "xno"
17233 then
17234 rm -f conftest.err
17235 if ${UDEV_CFLAGS:+false} :
17236 then :
17237 if test ${PKG_CONFIG+y}
17238 then :
17239 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>conftest.err`
17243 if ${UDEV_LIBS:+false} :
17244 then :
17245 if test ${PKG_CONFIG+y}
17246 then :
17247 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
17251 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
17252 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
17253 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
17254 if test -s conftest.err; then
17255 printf %s "$as_me:${as_lineno-$LINENO}: libudev errors: " >&5
17256 cat conftest.err >&5
17258 rm -f conftest.err
17259 ac_save_CPPFLAGS=$CPPFLAGS
17260 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
17261 for ac_header in libudev.h
17262 do :
17263 ac_fn_c_check_header_compile "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
17264 if test "x$ac_cv_header_libudev_h" = xyes
17265 then :
17266 printf "%s\n" "#define HAVE_LIBUDEV_H 1" >>confdefs.h
17267 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
17268 printf %s "checking for udev_new in -ludev... " >&6; }
17269 if test ${ac_cv_lib_udev_udev_new+y}
17270 then :
17271 printf %s "(cached) " >&6
17272 else $as_nop
17273 ac_check_lib_save_LIBS=$LIBS
17274 LIBS="-ludev $UDEV_LIBS $LIBS"
17275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17276 /* end confdefs.h. */
17278 /* Override any GCC internal prototype to avoid an error.
17279 Use char because int might match the return type of a GCC
17280 builtin and then its argument prototype would still apply. */
17281 char udev_new ();
17283 main (void)
17285 return udev_new ();
17287 return 0;
17289 _ACEOF
17290 if ac_fn_c_try_link "$LINENO"
17291 then :
17292 ac_cv_lib_udev_udev_new=yes
17293 else $as_nop
17294 ac_cv_lib_udev_udev_new=no
17296 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17297 conftest$ac_exeext conftest.$ac_ext
17298 LIBS=$ac_check_lib_save_LIBS
17300 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
17301 printf "%s\n" "$ac_cv_lib_udev_udev_new" >&6; }
17302 if test "x$ac_cv_lib_udev_udev_new" = xyes
17303 then :
17305 printf "%s\n" "#define HAVE_UDEV 1" >>confdefs.h
17307 else $as_nop
17308 UDEV_LIBS=""
17311 else $as_nop
17312 UDEV_LIBS=""
17315 done
17316 CPPFLAGS=$ac_save_CPPFLAGS
17319 if test "x$UDEV_LIBS" = "x"
17320 then :
17321 case "x$with_udev" in
17322 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
17323 xno) ;;
17324 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
17325 This is an error since --with-udev was requested." "$LINENO" 5 ;;
17326 esac
17330 if test "x$with_unwind" != xno
17331 then
17332 rm -f conftest.err
17333 if ${UNWIND_CFLAGS:+false} :
17334 then :
17335 if test ${PKG_CONFIG+y}
17336 then :
17337 UNWIND_CFLAGS=`$PKG_CONFIG --cflags libunwind 2>conftest.err`
17341 if ${UNWIND_LIBS:+false} :
17342 then :
17343 if test ${PKG_CONFIG+y}
17344 then :
17345 UNWIND_LIBS=`$PKG_CONFIG --libs libunwind 2>/dev/null`
17349 UNWIND_LIBS=${UNWIND_LIBS:-"-lunwind"}
17350 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind cflags: $UNWIND_CFLAGS" >&5
17351 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind libs: $UNWIND_LIBS" >&5
17352 if test -s conftest.err; then
17353 printf %s "$as_me:${as_lineno-$LINENO}: libunwind errors: " >&5
17354 cat conftest.err >&5
17356 rm -f conftest.err
17357 ac_save_CPPFLAGS=$CPPFLAGS
17358 CPPFLAGS="$CPPFLAGS $UNWIND_CFLAGS"
17359 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step" >&5
17360 printf %s "checking for unw_step... " >&6; }
17361 if test ${wine_cv_have_unw_step+y}
17362 then :
17363 printf %s "(cached) " >&6
17364 else $as_nop
17365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17366 /* end confdefs.h. */
17367 #define UNW_LOCAL_ONLY
17368 #include <libunwind.h>
17370 main (void)
17372 unw_cursor_t cursor; unw_step( &cursor );
17374 return 0;
17376 _ACEOF
17377 if ac_fn_c_try_link "$LINENO"
17378 then :
17379 wine_cv_have_unw_step="yes"
17380 else $as_nop
17381 wine_cv_have_unw_step="no"
17383 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17384 conftest$ac_exeext conftest.$ac_ext
17386 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_unw_step" >&5
17387 printf "%s\n" "$wine_cv_have_unw_step" >&6; }
17388 if test "$wine_cv_have_unw_step" = no -a -n "$UNWIND_LIBS"
17389 then
17390 save_libs=$LIBS
17391 UNWIND_LIBS="-static-libgcc $UNWIND_LIBS"
17392 LIBS="$UNWIND_LIBS $LIBS"
17393 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step in libunwind" >&5
17394 printf %s "checking for unw_step in libunwind... " >&6; }
17395 if test ${wine_cv_have_libunwind_unw_step+y}
17396 then :
17397 printf %s "(cached) " >&6
17398 else $as_nop
17399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17400 /* end confdefs.h. */
17401 #define UNW_LOCAL_ONLY
17402 #include <libunwind.h>
17404 main (void)
17406 unw_cursor_t cursor; unw_step( &cursor );
17408 return 0;
17410 _ACEOF
17411 if ac_fn_c_try_link "$LINENO"
17412 then :
17413 wine_cv_have_libunwind_unw_step="yes"
17414 else $as_nop
17415 wine_cv_have_libunwind_unw_step="no"
17417 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17418 conftest$ac_exeext conftest.$ac_ext
17420 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_libunwind_unw_step" >&5
17421 printf "%s\n" "$wine_cv_have_libunwind_unw_step" >&6; }
17422 LIBS=$save_libs
17424 test "$wine_cv_have_libunwind_unw_step" = yes || UNWIND_LIBS=""
17425 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" != xnono
17426 then
17428 printf "%s\n" "#define HAVE_LIBUNWIND 1" >>confdefs.h
17431 CPPFLAGS=$ac_save_CPPFLAGS
17434 case $host in
17435 aarch64*|*-darwin*)
17436 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" = xnono
17437 then :
17438 case "x$with_unwind" in
17439 x) as_fn_append wine_notices "|libunwind ${notice_platform}development files not found, stack unwinding won't work." ;;
17440 xno) ;;
17441 *) as_fn_error $? "libunwind ${notice_platform}development files not found, stack unwinding won't work.
17442 This is an error since --with-unwind was requested." "$LINENO" 5 ;;
17443 esac
17445 fi ;;
17446 esac
17448 if test "x$with_sdl" != "xno"
17449 then
17450 rm -f conftest.err
17451 if ${SDL2_CFLAGS:+false} :
17452 then :
17453 if test ${PKG_CONFIG+y}
17454 then :
17455 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>conftest.err`
17459 if ${SDL2_LIBS:+false} :
17460 then :
17461 if test ${PKG_CONFIG+y}
17462 then :
17463 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
17467 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
17468 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
17469 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
17470 if test -s conftest.err; then
17471 printf %s "$as_me:${as_lineno-$LINENO}: sdl2 errors: " >&5
17472 cat conftest.err >&5
17474 rm -f conftest.err
17475 ac_save_CPPFLAGS=$CPPFLAGS
17476 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
17477 for ac_header in SDL.h
17478 do :
17479 ac_fn_c_check_header_compile "$LINENO" "SDL.h" "ac_cv_header_SDL_h" "$ac_includes_default"
17480 if test "x$ac_cv_header_SDL_h" = xyes
17481 then :
17482 printf "%s\n" "#define HAVE_SDL_H 1" >>confdefs.h
17483 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
17484 printf %s "checking for -lSDL2... " >&6; }
17485 if test ${ac_cv_lib_soname_SDL2+y}
17486 then :
17487 printf %s "(cached) " >&6
17488 else $as_nop
17489 ac_check_soname_save_LIBS=$LIBS
17490 LIBS="-lSDL2 $SDL2_LIBS $LIBS"
17491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17492 /* end confdefs.h. */
17494 /* Override any GCC internal prototype to avoid an error.
17495 Use char because int might match the return type of a GCC
17496 builtin and then its argument prototype would still apply. */
17497 char SDL_Init ();
17499 main (void)
17501 return SDL_Init ();
17503 return 0;
17505 _ACEOF
17506 if ac_fn_c_try_link "$LINENO"
17507 then :
17508 case "$LIBEXT" in
17509 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17510 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'` ;;
17511 *) 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'`
17512 if ${ac_cv_lib_soname_SDL2:+false} :
17513 then :
17514 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17515 fi ;;
17516 esac
17517 else $as_nop
17518 ac_cv_lib_soname_SDL2=
17520 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17521 conftest$ac_exeext conftest.$ac_ext
17522 LIBS=$ac_check_soname_save_LIBS
17524 if ${ac_cv_lib_soname_SDL2:+false} :
17525 then :
17526 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17527 printf "%s\n" "not found" >&6; }
17529 else $as_nop
17530 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
17531 printf "%s\n" "$ac_cv_lib_soname_SDL2" >&6; }
17533 printf "%s\n" "#define SONAME_LIBSDL2 \"$ac_cv_lib_soname_SDL2\"" >>confdefs.h
17539 done
17540 CPPFLAGS=$ac_save_CPPFLAGS
17543 if test "x$ac_cv_lib_soname_SDL2" = "x"
17544 then :
17545 case "x$with_sdl" in
17546 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
17547 xno) ;;
17548 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
17549 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
17550 esac
17554 if test "x$with_capi" != "xno"
17555 then
17556 rm -f conftest.err
17557 if ${CAPI20_CFLAGS:+false} :
17558 then :
17559 if test ${PKG_CONFIG+y}
17560 then :
17561 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>conftest.err`
17565 if ${CAPI20_LIBS:+false} :
17566 then :
17567 if test ${PKG_CONFIG+y}
17568 then :
17569 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
17574 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
17575 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
17576 if test -s conftest.err; then
17577 printf %s "$as_me:${as_lineno-$LINENO}: capi20 errors: " >&5
17578 cat conftest.err >&5
17580 rm -f conftest.err
17581 ac_save_CPPFLAGS=$CPPFLAGS
17582 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
17583 ac_fn_c_check_header_compile "$LINENO" "capi20.h" "ac_cv_header_capi20_h" "#define __user
17585 if test "x$ac_cv_header_capi20_h" = xyes
17586 then :
17587 printf "%s\n" "#define HAVE_CAPI20_H 1" >>confdefs.h
17590 ac_fn_c_check_header_compile "$LINENO" "linux/capi.h" "ac_cv_header_linux_capi_h" "#define __user
17592 if test "x$ac_cv_header_linux_capi_h" = xyes
17593 then :
17594 printf "%s\n" "#define HAVE_LINUX_CAPI_H 1" >>confdefs.h
17598 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
17599 then
17600 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for capi20_register in -lcapi20" >&5
17601 printf %s "checking for capi20_register in -lcapi20... " >&6; }
17602 if test ${ac_cv_lib_capi20_capi20_register+y}
17603 then :
17604 printf %s "(cached) " >&6
17605 else $as_nop
17606 ac_check_lib_save_LIBS=$LIBS
17607 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
17608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17609 /* end confdefs.h. */
17611 /* Override any GCC internal prototype to avoid an error.
17612 Use char because int might match the return type of a GCC
17613 builtin and then its argument prototype would still apply. */
17614 char capi20_register ();
17616 main (void)
17618 return capi20_register ();
17620 return 0;
17622 _ACEOF
17623 if ac_fn_c_try_link "$LINENO"
17624 then :
17625 ac_cv_lib_capi20_capi20_register=yes
17626 else $as_nop
17627 ac_cv_lib_capi20_capi20_register=no
17629 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17630 conftest$ac_exeext conftest.$ac_ext
17631 LIBS=$ac_check_lib_save_LIBS
17633 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_capi20_capi20_register" >&5
17634 printf "%s\n" "$ac_cv_lib_capi20_capi20_register" >&6; }
17635 if test "x$ac_cv_lib_capi20_capi20_register" = xyes
17636 then :
17638 else $as_nop
17639 CAPI20_LIBS=""
17643 CPPFLAGS=$ac_save_CPPFLAGS
17646 if test "x$ac_cv_lib_capi20_capi20_register" != xyes
17647 then :
17648 case "x$with_capi" in
17649 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
17650 xno) ;;
17651 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
17652 This is an error since --with-capi was requested." "$LINENO" 5 ;;
17653 esac
17654 enable_capi2032=${enable_capi2032:-no}
17657 if test "x$with_cups" != "xno"
17658 then
17659 rm -f conftest.err
17660 if ${CUPS_CFLAGS:+false} :
17661 then :
17662 if test ${PKG_CONFIG+y}
17663 then :
17664 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>conftest.err`
17667 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
17668 if ${CUPS_LIBS:+false} :
17669 then :
17670 if test ${PKG_CONFIG+y}
17671 then :
17672 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
17675 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
17676 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
17677 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
17678 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
17679 if test -s conftest.err; then
17680 printf %s "$as_me:${as_lineno-$LINENO}: cups errors: " >&5
17681 cat conftest.err >&5
17683 rm -f conftest.err
17684 ac_save_CPPFLAGS=$CPPFLAGS
17685 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
17686 ac_fn_c_check_header_compile "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
17687 if test "x$ac_cv_header_cups_cups_h" = xyes
17688 then :
17689 printf "%s\n" "#define HAVE_CUPS_CUPS_H 1" >>confdefs.h
17692 ac_fn_c_check_header_compile "$LINENO" "cups/ppd.h" "ac_cv_header_cups_ppd_h" "$ac_includes_default"
17693 if test "x$ac_cv_header_cups_ppd_h" = xyes
17694 then :
17695 printf "%s\n" "#define HAVE_CUPS_PPD_H 1" >>confdefs.h
17699 if test "$ac_cv_header_cups_cups_h" = "yes"
17700 then
17701 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
17702 printf %s "checking for -lcups... " >&6; }
17703 if test ${ac_cv_lib_soname_cups+y}
17704 then :
17705 printf %s "(cached) " >&6
17706 else $as_nop
17707 ac_check_soname_save_LIBS=$LIBS
17708 LIBS="-lcups $CUPS_LIBS $LIBS"
17709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17710 /* end confdefs.h. */
17712 /* Override any GCC internal prototype to avoid an error.
17713 Use char because int might match the return type of a GCC
17714 builtin and then its argument prototype would still apply. */
17715 char cupsGetDefault ();
17717 main (void)
17719 return cupsGetDefault ();
17721 return 0;
17723 _ACEOF
17724 if ac_fn_c_try_link "$LINENO"
17725 then :
17726 case "$LIBEXT" in
17727 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17728 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'` ;;
17729 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17730 if ${ac_cv_lib_soname_cups:+false} :
17731 then :
17732 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17733 fi ;;
17734 esac
17735 else $as_nop
17736 ac_cv_lib_soname_cups=
17738 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17739 conftest$ac_exeext conftest.$ac_ext
17740 LIBS=$ac_check_soname_save_LIBS
17742 if ${ac_cv_lib_soname_cups:+false} :
17743 then :
17744 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17745 printf "%s\n" "not found" >&6; }
17746 CUPS_LIBS=""
17747 else $as_nop
17748 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
17749 printf "%s\n" "$ac_cv_lib_soname_cups" >&6; }
17751 printf "%s\n" "#define SONAME_LIBCUPS \"$ac_cv_lib_soname_cups\"" >>confdefs.h
17755 else
17756 CUPS_CFLAGS=""
17757 CUPS_LIBS=""
17759 CPPFLAGS=$ac_save_CPPFLAGS
17762 if test "x$ac_cv_lib_soname_cups" = "x"
17763 then :
17764 case "x$with_cups" in
17765 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
17766 xno) ;;
17767 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
17768 This is an error since --with-cups was requested." "$LINENO" 5 ;;
17769 esac
17773 if test "x$with_fontconfig" != "xno"
17774 then
17775 rm -f conftest.err
17776 if ${FONTCONFIG_CFLAGS:+false} :
17777 then :
17778 if test ${PKG_CONFIG+y}
17779 then :
17780 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>conftest.err`
17783 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
17784 if ${FONTCONFIG_LIBS:+false} :
17785 then :
17786 if test ${PKG_CONFIG+y}
17787 then :
17788 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
17791 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
17793 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
17794 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
17795 if test -s conftest.err; then
17796 printf %s "$as_me:${as_lineno-$LINENO}: fontconfig errors: " >&5
17797 cat conftest.err >&5
17799 rm -f conftest.err
17800 ac_save_CPPFLAGS=$CPPFLAGS
17801 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
17802 ac_fn_c_check_header_compile "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
17803 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
17804 then :
17805 printf "%s\n" "#define HAVE_FONTCONFIG_FONTCONFIG_H 1" >>confdefs.h
17809 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
17810 then
17811 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
17812 printf %s "checking for -lfontconfig... " >&6; }
17813 if test ${ac_cv_lib_soname_fontconfig+y}
17814 then :
17815 printf %s "(cached) " >&6
17816 else $as_nop
17817 ac_check_soname_save_LIBS=$LIBS
17818 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
17819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17820 /* end confdefs.h. */
17822 /* Override any GCC internal prototype to avoid an error.
17823 Use char because int might match the return type of a GCC
17824 builtin and then its argument prototype would still apply. */
17825 char FcInit ();
17827 main (void)
17829 return FcInit ();
17831 return 0;
17833 _ACEOF
17834 if ac_fn_c_try_link "$LINENO"
17835 then :
17836 case "$LIBEXT" in
17837 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17838 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'` ;;
17839 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17840 if ${ac_cv_lib_soname_fontconfig:+false} :
17841 then :
17842 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17843 fi ;;
17844 esac
17845 else $as_nop
17846 ac_cv_lib_soname_fontconfig=
17848 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17849 conftest$ac_exeext conftest.$ac_ext
17850 LIBS=$ac_check_soname_save_LIBS
17852 if ${ac_cv_lib_soname_fontconfig:+false} :
17853 then :
17854 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17855 printf "%s\n" "not found" >&6; }
17856 FONTCONFIG_CFLAGS=""
17857 else $as_nop
17858 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
17859 printf "%s\n" "$ac_cv_lib_soname_fontconfig" >&6; }
17861 printf "%s\n" "#define SONAME_LIBFONTCONFIG \"$ac_cv_lib_soname_fontconfig\"" >>confdefs.h
17865 else
17866 FONTCONFIG_CFLAGS=""
17868 CPPFLAGS=$ac_save_CPPFLAGS
17871 if test "x$ac_cv_lib_soname_fontconfig" = "x"
17872 then :
17873 case "x$with_fontconfig" in
17874 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
17875 xno) ;;
17876 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
17877 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
17878 esac
17882 if test "x$with_krb5" != "xno"
17883 then
17884 rm -f conftest.err
17885 if ${KRB5_CFLAGS:+false} :
17886 then :
17887 if test ${PKG_CONFIG+y}
17888 then :
17889 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>conftest.err`
17892 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
17893 if ${KRB5_LIBS:+false} :
17894 then :
17895 if test ${PKG_CONFIG+y}
17896 then :
17897 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
17900 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
17902 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
17903 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
17904 if test -s conftest.err; then
17905 printf %s "$as_me:${as_lineno-$LINENO}: krb5 errors: " >&5
17906 cat conftest.err >&5
17908 rm -f conftest.err
17909 ac_save_CPPFLAGS=$CPPFLAGS
17910 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
17911 ac_fn_c_check_header_compile "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
17912 if test "x$ac_cv_header_krb5_krb5_h" = xyes
17913 then :
17914 printf "%s\n" "#define HAVE_KRB5_KRB5_H 1" >>confdefs.h
17918 if test "$ac_cv_header_krb5_krb5_h" = "yes"
17919 then
17920 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
17921 printf %s "checking for -lkrb5... " >&6; }
17922 if test ${ac_cv_lib_soname_krb5+y}
17923 then :
17924 printf %s "(cached) " >&6
17925 else $as_nop
17926 ac_check_soname_save_LIBS=$LIBS
17927 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
17928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17929 /* end confdefs.h. */
17931 /* Override any GCC internal prototype to avoid an error.
17932 Use char because int might match the return type of a GCC
17933 builtin and then its argument prototype would still apply. */
17934 char krb5_is_config_principal ();
17936 main (void)
17938 return krb5_is_config_principal ();
17940 return 0;
17942 _ACEOF
17943 if ac_fn_c_try_link "$LINENO"
17944 then :
17945 case "$LIBEXT" in
17946 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17947 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'` ;;
17948 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17949 if ${ac_cv_lib_soname_krb5:+false} :
17950 then :
17951 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17952 fi ;;
17953 esac
17954 else $as_nop
17955 ac_cv_lib_soname_krb5=
17957 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17958 conftest$ac_exeext conftest.$ac_ext
17959 LIBS=$ac_check_soname_save_LIBS
17961 if ${ac_cv_lib_soname_krb5:+false} :
17962 then :
17963 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17964 printf "%s\n" "not found" >&6; }
17965 KRB5_CFLAGS=""
17966 else $as_nop
17967 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
17968 printf "%s\n" "$ac_cv_lib_soname_krb5" >&6; }
17970 printf "%s\n" "#define SONAME_LIBKRB5 \"$ac_cv_lib_soname_krb5\"" >>confdefs.h
17974 else
17975 KRB5_CFLAGS=""
17977 CPPFLAGS=$ac_save_CPPFLAGS
17980 if test "x$ac_cv_lib_soname_krb5" = "x"
17981 then :
17982 case "x$with_krb5" in
17983 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
17984 xno) ;;
17985 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
17986 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
17987 esac
17990 test "x$ac_cv_lib_soname_krb5" != "x" || with_gssapi=${with_gssapi:-no}
17992 if test "x$with_gssapi" != "xno"
17993 then
17994 rm -f conftest.err
17995 if ${GSSAPI_CFLAGS:+false} :
17996 then :
17997 if test ${PKG_CONFIG+y}
17998 then :
17999 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>conftest.err`
18002 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
18003 if ${GSSAPI_LIBS:+false} :
18004 then :
18005 if test ${PKG_CONFIG+y}
18006 then :
18007 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
18010 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
18012 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
18013 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
18014 if test -s conftest.err; then
18015 printf %s "$as_me:${as_lineno-$LINENO}: krb5-gssapi errors: " >&5
18016 cat conftest.err >&5
18018 rm -f conftest.err
18019 ac_save_CPPFLAGS=$CPPFLAGS
18020 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
18021 ac_fn_c_check_header_compile "$LINENO" "gssapi/gssapi.h" "ac_cv_header_gssapi_gssapi_h" "$ac_includes_default"
18022 if test "x$ac_cv_header_gssapi_gssapi_h" = xyes
18023 then :
18024 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_H 1" >>confdefs.h
18027 ac_fn_c_check_header_compile "$LINENO" "gssapi/gssapi_ext.h" "ac_cv_header_gssapi_gssapi_ext_h" "$ac_includes_default"
18028 if test "x$ac_cv_header_gssapi_gssapi_ext_h" = xyes
18029 then :
18030 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_EXT_H 1" >>confdefs.h
18034 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
18035 then
18036 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
18037 printf %s "checking for -lgssapi_krb5... " >&6; }
18038 if test ${ac_cv_lib_soname_gssapi_krb5+y}
18039 then :
18040 printf %s "(cached) " >&6
18041 else $as_nop
18042 ac_check_soname_save_LIBS=$LIBS
18043 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
18044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18045 /* end confdefs.h. */
18047 /* Override any GCC internal prototype to avoid an error.
18048 Use char because int might match the return type of a GCC
18049 builtin and then its argument prototype would still apply. */
18050 char gss_init_sec_context ();
18052 main (void)
18054 return gss_init_sec_context ();
18056 return 0;
18058 _ACEOF
18059 if ac_fn_c_try_link "$LINENO"
18060 then :
18061 case "$LIBEXT" in
18062 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18063 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'` ;;
18064 *) 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'`
18065 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
18066 then :
18067 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18068 fi ;;
18069 esac
18070 else $as_nop
18071 ac_cv_lib_soname_gssapi_krb5=
18073 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18074 conftest$ac_exeext conftest.$ac_ext
18075 LIBS=$ac_check_soname_save_LIBS
18077 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
18078 then :
18079 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18080 printf "%s\n" "not found" >&6; }
18081 GSSAPI_CFLAGS=""
18082 else $as_nop
18083 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
18084 printf "%s\n" "$ac_cv_lib_soname_gssapi_krb5" >&6; }
18086 printf "%s\n" "#define SONAME_LIBGSSAPI_KRB5 \"$ac_cv_lib_soname_gssapi_krb5\"" >>confdefs.h
18090 else
18091 GSSAPI_CFLAGS=""
18093 CPPFLAGS=$ac_save_CPPFLAGS
18096 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"
18097 then :
18098 case "x$with_gssapi" in
18099 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
18100 xno) ;;
18101 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
18102 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
18103 esac
18107 if test "$ac_cv_header_libprocstat_h" = "yes"
18108 then
18109 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
18110 printf %s "checking for procstat_open_sysctl in -lprocstat... " >&6; }
18111 if test ${ac_cv_lib_procstat_procstat_open_sysctl+y}
18112 then :
18113 printf %s "(cached) " >&6
18114 else $as_nop
18115 ac_check_lib_save_LIBS=$LIBS
18116 LIBS="-lprocstat $LIBS"
18117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18118 /* end confdefs.h. */
18120 /* Override any GCC internal prototype to avoid an error.
18121 Use char because int might match the return type of a GCC
18122 builtin and then its argument prototype would still apply. */
18123 char procstat_open_sysctl ();
18125 main (void)
18127 return procstat_open_sysctl ();
18129 return 0;
18131 _ACEOF
18132 if ac_fn_c_try_link "$LINENO"
18133 then :
18134 ac_cv_lib_procstat_procstat_open_sysctl=yes
18135 else $as_nop
18136 ac_cv_lib_procstat_procstat_open_sysctl=no
18138 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18139 conftest$ac_exeext conftest.$ac_ext
18140 LIBS=$ac_check_lib_save_LIBS
18142 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
18143 printf "%s\n" "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
18144 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes
18145 then :
18147 printf "%s\n" "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
18149 PROCSTAT_LIBS="-lprocstat"
18155 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
18156 printf %s "checking for -lodbc... " >&6; }
18157 if test ${ac_cv_lib_soname_odbc+y}
18158 then :
18159 printf %s "(cached) " >&6
18160 else $as_nop
18161 ac_check_soname_save_LIBS=$LIBS
18162 LIBS="-lodbc $LIBS"
18163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18164 /* end confdefs.h. */
18166 /* Override any GCC internal prototype to avoid an error.
18167 Use char because int might match the return type of a GCC
18168 builtin and then its argument prototype would still apply. */
18169 char SQLConnect ();
18171 main (void)
18173 return SQLConnect ();
18175 return 0;
18177 _ACEOF
18178 if ac_fn_c_try_link "$LINENO"
18179 then :
18180 case "$LIBEXT" in
18181 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18182 dylib) ac_cv_lib_soname_odbc=`$OTOOL -L conftest$ac_exeext | grep "libodbc\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libodbc\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
18183 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18184 if ${ac_cv_lib_soname_odbc:+false} :
18185 then :
18186 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18187 fi ;;
18188 esac
18189 else $as_nop
18190 ac_cv_lib_soname_odbc=
18192 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18193 conftest$ac_exeext conftest.$ac_ext
18194 LIBS=$ac_check_soname_save_LIBS
18196 if ${ac_cv_lib_soname_odbc:+false} :
18197 then :
18198 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18199 printf "%s\n" "not found" >&6; }
18200 printf "%s\n" "#define SONAME_LIBODBC \"libodbc.$LIBEXT\"" >>confdefs.h
18202 else $as_nop
18203 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
18204 printf "%s\n" "$ac_cv_lib_soname_odbc" >&6; }
18206 printf "%s\n" "#define SONAME_LIBODBC \"$ac_cv_lib_soname_odbc\"" >>confdefs.h
18211 if test "x$with_netapi" != "xno"
18212 then
18213 rm -f conftest.err
18214 if ${NETAPI_CFLAGS:+false} :
18215 then :
18216 if test ${PKG_CONFIG+y}
18217 then :
18218 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>conftest.err`
18222 if ${NETAPI_LIBS:+false} :
18223 then :
18224 if test ${PKG_CONFIG+y}
18225 then :
18226 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
18231 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
18232 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
18233 if test -s conftest.err; then
18234 printf %s "$as_me:${as_lineno-$LINENO}: netapi errors: " >&5
18235 cat conftest.err >&5
18237 rm -f conftest.err
18238 ac_save_CPPFLAGS=$CPPFLAGS
18239 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
18240 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
18241 printf %s "checking for -lnetapi... " >&6; }
18242 if test ${ac_cv_lib_soname_netapi+y}
18243 then :
18244 printf %s "(cached) " >&6
18245 else $as_nop
18246 ac_check_soname_save_LIBS=$LIBS
18247 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
18248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18249 /* end confdefs.h. */
18251 /* Override any GCC internal prototype to avoid an error.
18252 Use char because int might match the return type of a GCC
18253 builtin and then its argument prototype would still apply. */
18254 char libnetapi_init ();
18256 main (void)
18258 return libnetapi_init ();
18260 return 0;
18262 _ACEOF
18263 if ac_fn_c_try_link "$LINENO"
18264 then :
18265 case "$LIBEXT" in
18266 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18267 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'` ;;
18268 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18269 if ${ac_cv_lib_soname_netapi:+false} :
18270 then :
18271 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18272 fi ;;
18273 esac
18274 else $as_nop
18275 ac_cv_lib_soname_netapi=
18277 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18278 conftest$ac_exeext conftest.$ac_ext
18279 LIBS=$ac_check_soname_save_LIBS
18281 if ${ac_cv_lib_soname_netapi:+false} :
18282 then :
18283 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18284 printf "%s\n" "not found" >&6; }
18285 printf "%s\n" "#define SONAME_LIBNETAPI \"libnetapi.$LIBEXT\"" >>confdefs.h
18287 else $as_nop
18288 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
18289 printf "%s\n" "$ac_cv_lib_soname_netapi" >&6; }
18291 printf "%s\n" "#define SONAME_LIBNETAPI \"$ac_cv_lib_soname_netapi\"" >>confdefs.h
18295 CPPFLAGS=$ac_save_CPPFLAGS
18298 if test "x$ac_cv_lib_soname_netapi" = "x"
18299 then :
18300 case "x$with_netapi" in
18301 x) as_fn_append wine_notices "|libnetapi not found, Samba NetAPI won't be supported." ;;
18302 xno) ;;
18303 *) as_fn_error $? "libnetapi not found, Samba NetAPI won't be supported.
18304 This is an error since --with-netapi was requested." "$LINENO" 5 ;;
18305 esac
18306 enable_netapi=${enable_netapi:-no}
18310 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
18311 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
18312 then
18313 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
18316 if test "x$with_vulkan" != "xno"
18317 then
18318 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
18319 printf %s "checking for -lvulkan... " >&6; }
18320 if test ${ac_cv_lib_soname_vulkan+y}
18321 then :
18322 printf %s "(cached) " >&6
18323 else $as_nop
18324 ac_check_soname_save_LIBS=$LIBS
18325 LIBS="-lvulkan $LIBS"
18326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18327 /* end confdefs.h. */
18329 /* Override any GCC internal prototype to avoid an error.
18330 Use char because int might match the return type of a GCC
18331 builtin and then its argument prototype would still apply. */
18332 char vkGetInstanceProcAddr ();
18334 main (void)
18336 return vkGetInstanceProcAddr ();
18338 return 0;
18340 _ACEOF
18341 if ac_fn_c_try_link "$LINENO"
18342 then :
18343 case "$LIBEXT" in
18344 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18345 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'` ;;
18346 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18347 if ${ac_cv_lib_soname_vulkan:+false} :
18348 then :
18349 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18350 fi ;;
18351 esac
18352 else $as_nop
18353 ac_cv_lib_soname_vulkan=
18355 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18356 conftest$ac_exeext conftest.$ac_ext
18357 LIBS=$ac_check_soname_save_LIBS
18359 if ${ac_cv_lib_soname_vulkan:+false} :
18360 then :
18361 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18362 printf "%s\n" "not found" >&6; }
18364 else $as_nop
18365 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
18366 printf "%s\n" "$ac_cv_lib_soname_vulkan" >&6; }
18368 printf "%s\n" "#define SONAME_LIBVULKAN \"$ac_cv_lib_soname_vulkan\"" >>confdefs.h
18372 if test "x$ac_cv_lib_soname_vulkan" = "x"
18373 then
18374 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
18375 printf %s "checking for -lMoltenVK... " >&6; }
18376 if test ${ac_cv_lib_soname_MoltenVK+y}
18377 then :
18378 printf %s "(cached) " >&6
18379 else $as_nop
18380 ac_check_soname_save_LIBS=$LIBS
18381 LIBS="-lMoltenVK $LIBS"
18382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18383 /* end confdefs.h. */
18385 /* Override any GCC internal prototype to avoid an error.
18386 Use char because int might match the return type of a GCC
18387 builtin and then its argument prototype would still apply. */
18388 char vkGetInstanceProcAddr ();
18390 main (void)
18392 return vkGetInstanceProcAddr ();
18394 return 0;
18396 _ACEOF
18397 if ac_fn_c_try_link "$LINENO"
18398 then :
18399 case "$LIBEXT" in
18400 dll) ac_cv_lib_soname_MoltenVK=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18401 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'` ;;
18402 *) ac_cv_lib_soname_MoltenVK=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18403 if ${ac_cv_lib_soname_MoltenVK:+false} :
18404 then :
18405 ac_cv_lib_soname_MoltenVK=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18406 fi ;;
18407 esac
18408 else $as_nop
18409 ac_cv_lib_soname_MoltenVK=
18411 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18412 conftest$ac_exeext conftest.$ac_ext
18413 LIBS=$ac_check_soname_save_LIBS
18415 if ${ac_cv_lib_soname_MoltenVK:+false} :
18416 then :
18417 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18418 printf "%s\n" "not found" >&6; }
18420 else $as_nop
18421 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
18422 printf "%s\n" "$ac_cv_lib_soname_MoltenVK" >&6; }
18424 printf "%s\n" "#define SONAME_LIBMOLTENVK \"$ac_cv_lib_soname_MoltenVK\"" >>confdefs.h
18430 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"
18431 then :
18432 case "x$with_vulkan" in
18433 x) as_fn_append wine_notices "|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
18434 xno) ;;
18435 *) as_fn_error $? "libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
18436 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
18437 esac
18442 if test "x${GCC}" = "xyes"
18443 then
18444 EXTRACFLAGS="$EXTRACFLAGS -Wall -pipe"
18446 saved_CFLAGS=$CFLAGS
18447 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
18448 printf %s "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
18449 if test ${ac_cv_cflags__Werror_unknown_warning_option+y}
18450 then :
18451 printf %s "(cached) " >&6
18452 else $as_nop
18453 ac_wine_try_cflags_saved=$CFLAGS
18454 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
18455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18456 /* end confdefs.h. */
18457 int main(int argc, char **argv) { return 0; }
18458 _ACEOF
18459 if ac_fn_c_try_link "$LINENO"
18460 then :
18461 ac_cv_cflags__Werror_unknown_warning_option=yes
18462 else $as_nop
18463 ac_cv_cflags__Werror_unknown_warning_option=no
18465 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18466 conftest$ac_exeext conftest.$ac_ext
18467 CFLAGS=$ac_wine_try_cflags_saved
18469 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
18470 printf "%s\n" "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
18471 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes
18472 then :
18473 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
18475 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unused-command-line-argument" >&5
18476 printf %s "checking whether the compiler supports -Werror=unused-command-line-argument... " >&6; }
18477 if test ${ac_cv_cflags__Werror_unused_command_line_argument+y}
18478 then :
18479 printf %s "(cached) " >&6
18480 else $as_nop
18481 ac_wine_try_cflags_saved=$CFLAGS
18482 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
18483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18484 /* end confdefs.h. */
18485 int main(int argc, char **argv) { return 0; }
18486 _ACEOF
18487 if ac_fn_c_try_link "$LINENO"
18488 then :
18489 ac_cv_cflags__Werror_unused_command_line_argument=yes
18490 else $as_nop
18491 ac_cv_cflags__Werror_unused_command_line_argument=no
18493 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18494 conftest$ac_exeext conftest.$ac_ext
18495 CFLAGS=$ac_wine_try_cflags_saved
18497 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unused_command_line_argument" >&5
18498 printf "%s\n" "$ac_cv_cflags__Werror_unused_command_line_argument" >&6; }
18499 if test "x$ac_cv_cflags__Werror_unused_command_line_argument" = xyes
18500 then :
18501 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
18503 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=ignored-optimization-argument" >&5
18504 printf %s "checking whether the compiler supports -Werror=ignored-optimization-argument... " >&6; }
18505 if test ${ac_cv_cflags__Werror_ignored_optimization_argument+y}
18506 then :
18507 printf %s "(cached) " >&6
18508 else $as_nop
18509 ac_wine_try_cflags_saved=$CFLAGS
18510 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
18511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18512 /* end confdefs.h. */
18513 int main(int argc, char **argv) { return 0; }
18514 _ACEOF
18515 if ac_fn_c_try_link "$LINENO"
18516 then :
18517 ac_cv_cflags__Werror_ignored_optimization_argument=yes
18518 else $as_nop
18519 ac_cv_cflags__Werror_ignored_optimization_argument=no
18521 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18522 conftest$ac_exeext conftest.$ac_ext
18523 CFLAGS=$ac_wine_try_cflags_saved
18525 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_ignored_optimization_argument" >&5
18526 printf "%s\n" "$ac_cv_cflags__Werror_ignored_optimization_argument" >&6; }
18527 if test "x$ac_cv_cflags__Werror_ignored_optimization_argument" = xyes
18528 then :
18529 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
18531 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fcf-protection=none" >&5
18532 printf %s "checking whether the compiler supports -fcf-protection=none... " >&6; }
18533 if test ${ac_cv_cflags__fcf_protection_none+y}
18534 then :
18535 printf %s "(cached) " >&6
18536 else $as_nop
18537 ac_wine_try_cflags_saved=$CFLAGS
18538 CFLAGS="$CFLAGS -fcf-protection=none"
18539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18540 /* end confdefs.h. */
18541 int main(int argc, char **argv) { return 0; }
18542 _ACEOF
18543 if ac_fn_c_try_link "$LINENO"
18544 then :
18545 ac_cv_cflags__fcf_protection_none=yes
18546 else $as_nop
18547 ac_cv_cflags__fcf_protection_none=no
18549 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18550 conftest$ac_exeext conftest.$ac_ext
18551 CFLAGS=$ac_wine_try_cflags_saved
18553 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fcf_protection_none" >&5
18554 printf "%s\n" "$ac_cv_cflags__fcf_protection_none" >&6; }
18555 if test "x$ac_cv_cflags__fcf_protection_none" = xyes
18556 then :
18557 EXTRACFLAGS="$EXTRACFLAGS -fcf-protection=none"
18559 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-stack-protector" >&5
18560 printf %s "checking whether the compiler supports -fno-stack-protector... " >&6; }
18561 if test ${ac_cv_cflags__fno_stack_protector+y}
18562 then :
18563 printf %s "(cached) " >&6
18564 else $as_nop
18565 ac_wine_try_cflags_saved=$CFLAGS
18566 CFLAGS="$CFLAGS -fno-stack-protector"
18567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18568 /* end confdefs.h. */
18569 int main(int argc, char **argv) { return 0; }
18570 _ACEOF
18571 if ac_fn_c_try_link "$LINENO"
18572 then :
18573 ac_cv_cflags__fno_stack_protector=yes
18574 else $as_nop
18575 ac_cv_cflags__fno_stack_protector=no
18577 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18578 conftest$ac_exeext conftest.$ac_ext
18579 CFLAGS=$ac_wine_try_cflags_saved
18581 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_stack_protector" >&5
18582 printf "%s\n" "$ac_cv_cflags__fno_stack_protector" >&6; }
18583 if test "x$ac_cv_cflags__fno_stack_protector" = xyes
18584 then :
18585 EXTRACFLAGS="$EXTRACFLAGS -fno-stack-protector"
18587 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
18588 printf %s "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
18589 if test ${ac_cv_cflags__fno_strict_aliasing+y}
18590 then :
18591 printf %s "(cached) " >&6
18592 else $as_nop
18593 ac_wine_try_cflags_saved=$CFLAGS
18594 CFLAGS="$CFLAGS -fno-strict-aliasing"
18595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18596 /* end confdefs.h. */
18597 int main(int argc, char **argv) { return 0; }
18598 _ACEOF
18599 if ac_fn_c_try_link "$LINENO"
18600 then :
18601 ac_cv_cflags__fno_strict_aliasing=yes
18602 else $as_nop
18603 ac_cv_cflags__fno_strict_aliasing=no
18605 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18606 conftest$ac_exeext conftest.$ac_ext
18607 CFLAGS=$ac_wine_try_cflags_saved
18609 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
18610 printf "%s\n" "$ac_cv_cflags__fno_strict_aliasing" >&6; }
18611 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes
18612 then :
18613 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
18615 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
18616 printf %s "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
18617 if test ${ac_cv_cflags__Wdeclaration_after_statement+y}
18618 then :
18619 printf %s "(cached) " >&6
18620 else $as_nop
18621 ac_wine_try_cflags_saved=$CFLAGS
18622 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
18623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18624 /* end confdefs.h. */
18625 int main(int argc, char **argv) { return 0; }
18626 _ACEOF
18627 if ac_fn_c_try_link "$LINENO"
18628 then :
18629 ac_cv_cflags__Wdeclaration_after_statement=yes
18630 else $as_nop
18631 ac_cv_cflags__Wdeclaration_after_statement=no
18633 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18634 conftest$ac_exeext conftest.$ac_ext
18635 CFLAGS=$ac_wine_try_cflags_saved
18637 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
18638 printf "%s\n" "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
18639 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes
18640 then :
18641 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
18643 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
18644 printf %s "checking whether the compiler supports -Wempty-body... " >&6; }
18645 if test ${ac_cv_cflags__Wempty_body+y}
18646 then :
18647 printf %s "(cached) " >&6
18648 else $as_nop
18649 ac_wine_try_cflags_saved=$CFLAGS
18650 CFLAGS="$CFLAGS -Wempty-body"
18651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18652 /* end confdefs.h. */
18653 int main(int argc, char **argv) { return 0; }
18654 _ACEOF
18655 if ac_fn_c_try_link "$LINENO"
18656 then :
18657 ac_cv_cflags__Wempty_body=yes
18658 else $as_nop
18659 ac_cv_cflags__Wempty_body=no
18661 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18662 conftest$ac_exeext conftest.$ac_ext
18663 CFLAGS=$ac_wine_try_cflags_saved
18665 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
18666 printf "%s\n" "$ac_cv_cflags__Wempty_body" >&6; }
18667 if test "x$ac_cv_cflags__Wempty_body" = xyes
18668 then :
18669 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
18671 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
18672 printf %s "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
18673 if test ${ac_cv_cflags__Wignored_qualifiers+y}
18674 then :
18675 printf %s "(cached) " >&6
18676 else $as_nop
18677 ac_wine_try_cflags_saved=$CFLAGS
18678 CFLAGS="$CFLAGS -Wignored-qualifiers"
18679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18680 /* end confdefs.h. */
18681 int main(int argc, char **argv) { return 0; }
18682 _ACEOF
18683 if ac_fn_c_try_link "$LINENO"
18684 then :
18685 ac_cv_cflags__Wignored_qualifiers=yes
18686 else $as_nop
18687 ac_cv_cflags__Wignored_qualifiers=no
18689 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18690 conftest$ac_exeext conftest.$ac_ext
18691 CFLAGS=$ac_wine_try_cflags_saved
18693 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
18694 printf "%s\n" "$ac_cv_cflags__Wignored_qualifiers" >&6; }
18695 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes
18696 then :
18697 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
18699 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Winit-self" >&5
18700 printf %s "checking whether the compiler supports -Winit-self... " >&6; }
18701 if test ${ac_cv_cflags__Winit_self+y}
18702 then :
18703 printf %s "(cached) " >&6
18704 else $as_nop
18705 ac_wine_try_cflags_saved=$CFLAGS
18706 CFLAGS="$CFLAGS -Winit-self"
18707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18708 /* end confdefs.h. */
18709 int main(int argc, char **argv) { return 0; }
18710 _ACEOF
18711 if ac_fn_c_try_link "$LINENO"
18712 then :
18713 ac_cv_cflags__Winit_self=yes
18714 else $as_nop
18715 ac_cv_cflags__Winit_self=no
18717 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18718 conftest$ac_exeext conftest.$ac_ext
18719 CFLAGS=$ac_wine_try_cflags_saved
18721 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Winit_self" >&5
18722 printf "%s\n" "$ac_cv_cflags__Winit_self" >&6; }
18723 if test "x$ac_cv_cflags__Winit_self" = xyes
18724 then :
18725 EXTRACFLAGS="$EXTRACFLAGS -Winit-self"
18727 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
18728 printf %s "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
18729 if test ${ac_cv_cflags__Wpacked_not_aligned+y}
18730 then :
18731 printf %s "(cached) " >&6
18732 else $as_nop
18733 ac_wine_try_cflags_saved=$CFLAGS
18734 CFLAGS="$CFLAGS -Wpacked-not-aligned"
18735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18736 /* end confdefs.h. */
18737 int main(int argc, char **argv) { return 0; }
18738 _ACEOF
18739 if ac_fn_c_try_link "$LINENO"
18740 then :
18741 ac_cv_cflags__Wpacked_not_aligned=yes
18742 else $as_nop
18743 ac_cv_cflags__Wpacked_not_aligned=no
18745 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18746 conftest$ac_exeext conftest.$ac_ext
18747 CFLAGS=$ac_wine_try_cflags_saved
18749 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
18750 printf "%s\n" "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
18751 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes
18752 then :
18753 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
18755 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
18756 printf %s "checking whether the compiler supports -Wpragma-pack... " >&6; }
18757 if test ${ac_cv_cflags__Wpragma_pack+y}
18758 then :
18759 printf %s "(cached) " >&6
18760 else $as_nop
18761 ac_wine_try_cflags_saved=$CFLAGS
18762 CFLAGS="$CFLAGS -Wpragma-pack"
18763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18764 /* end confdefs.h. */
18765 int main(int argc, char **argv) { return 0; }
18766 _ACEOF
18767 if ac_fn_c_try_link "$LINENO"
18768 then :
18769 ac_cv_cflags__Wpragma_pack=yes
18770 else $as_nop
18771 ac_cv_cflags__Wpragma_pack=no
18773 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18774 conftest$ac_exeext conftest.$ac_ext
18775 CFLAGS=$ac_wine_try_cflags_saved
18777 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
18778 printf "%s\n" "$ac_cv_cflags__Wpragma_pack" >&6; }
18779 if test "x$ac_cv_cflags__Wpragma_pack" = xyes
18780 then :
18781 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
18783 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
18784 printf %s "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
18785 if test ${ac_cv_cflags__Wshift_overflow_2+y}
18786 then :
18787 printf %s "(cached) " >&6
18788 else $as_nop
18789 ac_wine_try_cflags_saved=$CFLAGS
18790 CFLAGS="$CFLAGS -Wshift-overflow=2"
18791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18792 /* end confdefs.h. */
18793 int main(int argc, char **argv) { return 0; }
18794 _ACEOF
18795 if ac_fn_c_try_link "$LINENO"
18796 then :
18797 ac_cv_cflags__Wshift_overflow_2=yes
18798 else $as_nop
18799 ac_cv_cflags__Wshift_overflow_2=no
18801 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18802 conftest$ac_exeext conftest.$ac_ext
18803 CFLAGS=$ac_wine_try_cflags_saved
18805 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
18806 printf "%s\n" "$ac_cv_cflags__Wshift_overflow_2" >&6; }
18807 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes
18808 then :
18809 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
18811 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
18812 printf %s "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
18813 if test ${ac_cv_cflags__Wstrict_prototypes+y}
18814 then :
18815 printf %s "(cached) " >&6
18816 else $as_nop
18817 ac_wine_try_cflags_saved=$CFLAGS
18818 CFLAGS="$CFLAGS -Wstrict-prototypes"
18819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18820 /* end confdefs.h. */
18821 int main(int argc, char **argv) { return 0; }
18822 _ACEOF
18823 if ac_fn_c_try_link "$LINENO"
18824 then :
18825 ac_cv_cflags__Wstrict_prototypes=yes
18826 else $as_nop
18827 ac_cv_cflags__Wstrict_prototypes=no
18829 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18830 conftest$ac_exeext conftest.$ac_ext
18831 CFLAGS=$ac_wine_try_cflags_saved
18833 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
18834 printf "%s\n" "$ac_cv_cflags__Wstrict_prototypes" >&6; }
18835 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes
18836 then :
18837 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
18839 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
18840 printf %s "checking whether the compiler supports -Wtype-limits... " >&6; }
18841 if test ${ac_cv_cflags__Wtype_limits+y}
18842 then :
18843 printf %s "(cached) " >&6
18844 else $as_nop
18845 ac_wine_try_cflags_saved=$CFLAGS
18846 CFLAGS="$CFLAGS -Wtype-limits"
18847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18848 /* end confdefs.h. */
18849 int main(int argc, char **argv) { return 0; }
18850 _ACEOF
18851 if ac_fn_c_try_link "$LINENO"
18852 then :
18853 ac_cv_cflags__Wtype_limits=yes
18854 else $as_nop
18855 ac_cv_cflags__Wtype_limits=no
18857 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18858 conftest$ac_exeext conftest.$ac_ext
18859 CFLAGS=$ac_wine_try_cflags_saved
18861 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
18862 printf "%s\n" "$ac_cv_cflags__Wtype_limits" >&6; }
18863 if test "x$ac_cv_cflags__Wtype_limits" = xyes
18864 then :
18865 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
18867 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
18868 printf %s "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
18869 if test ${ac_cv_cflags__Wunused_but_set_parameter+y}
18870 then :
18871 printf %s "(cached) " >&6
18872 else $as_nop
18873 ac_wine_try_cflags_saved=$CFLAGS
18874 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
18875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18876 /* end confdefs.h. */
18877 int main(int argc, char **argv) { return 0; }
18878 _ACEOF
18879 if ac_fn_c_try_link "$LINENO"
18880 then :
18881 ac_cv_cflags__Wunused_but_set_parameter=yes
18882 else $as_nop
18883 ac_cv_cflags__Wunused_but_set_parameter=no
18885 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18886 conftest$ac_exeext conftest.$ac_ext
18887 CFLAGS=$ac_wine_try_cflags_saved
18889 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
18890 printf "%s\n" "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
18891 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes
18892 then :
18893 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
18895 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
18896 printf %s "checking whether the compiler supports -Wvla... " >&6; }
18897 if test ${ac_cv_cflags__Wvla+y}
18898 then :
18899 printf %s "(cached) " >&6
18900 else $as_nop
18901 ac_wine_try_cflags_saved=$CFLAGS
18902 CFLAGS="$CFLAGS -Wvla"
18903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18904 /* end confdefs.h. */
18905 int main(int argc, char **argv) { return 0; }
18906 _ACEOF
18907 if ac_fn_c_try_link "$LINENO"
18908 then :
18909 ac_cv_cflags__Wvla=yes
18910 else $as_nop
18911 ac_cv_cflags__Wvla=no
18913 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18914 conftest$ac_exeext conftest.$ac_ext
18915 CFLAGS=$ac_wine_try_cflags_saved
18917 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
18918 printf "%s\n" "$ac_cv_cflags__Wvla" >&6; }
18919 if test "x$ac_cv_cflags__Wvla" = xyes
18920 then :
18921 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
18923 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
18924 printf %s "checking whether the compiler supports -Wwrite-strings... " >&6; }
18925 if test ${ac_cv_cflags__Wwrite_strings+y}
18926 then :
18927 printf %s "(cached) " >&6
18928 else $as_nop
18929 ac_wine_try_cflags_saved=$CFLAGS
18930 CFLAGS="$CFLAGS -Wwrite-strings"
18931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18932 /* end confdefs.h. */
18933 int main(int argc, char **argv) { return 0; }
18934 _ACEOF
18935 if ac_fn_c_try_link "$LINENO"
18936 then :
18937 ac_cv_cflags__Wwrite_strings=yes
18938 else $as_nop
18939 ac_cv_cflags__Wwrite_strings=no
18941 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18942 conftest$ac_exeext conftest.$ac_ext
18943 CFLAGS=$ac_wine_try_cflags_saved
18945 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
18946 printf "%s\n" "$ac_cv_cflags__Wwrite_strings" >&6; }
18947 if test "x$ac_cv_cflags__Wwrite_strings" = xyes
18948 then :
18949 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
18952 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
18953 printf %s "checking whether the compiler supports -Wpointer-arith... " >&6; }
18954 if test ${ac_cv_cflags__Wpointer_arith+y}
18955 then :
18956 printf %s "(cached) " >&6
18957 else $as_nop
18958 ac_wine_try_cflags_saved=$CFLAGS
18959 CFLAGS="$CFLAGS -Wpointer-arith"
18960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18961 /* end confdefs.h. */
18962 int main(int argc, char **argv) { return 0; }
18963 _ACEOF
18964 if ac_fn_c_try_link "$LINENO"
18965 then :
18966 ac_cv_cflags__Wpointer_arith=yes
18967 else $as_nop
18968 ac_cv_cflags__Wpointer_arith=no
18970 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18971 conftest$ac_exeext conftest.$ac_ext
18972 CFLAGS=$ac_wine_try_cflags_saved
18974 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
18975 printf "%s\n" "$ac_cv_cflags__Wpointer_arith" >&6; }
18976 if test "x$ac_cv_cflags__Wpointer_arith" = xyes
18977 then :
18978 saved_string_h_CFLAGS=$CFLAGS
18979 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
18980 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
18981 printf %s "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
18982 if test ${ac_cv_c_string_h_warnings+y}
18983 then :
18984 printf %s "(cached) " >&6
18985 else $as_nop
18986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18987 /* end confdefs.h. */
18988 #include <string.h>
18990 main (void)
18994 return 0;
18996 _ACEOF
18997 if ac_fn_c_try_compile "$LINENO"
18998 then :
18999 ac_cv_c_string_h_warnings=no
19000 else $as_nop
19001 ac_cv_c_string_h_warnings=yes
19003 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19005 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
19006 printf "%s\n" "$ac_cv_c_string_h_warnings" >&6; }
19007 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
19008 CFLAGS=$saved_string_h_CFLAGS
19011 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
19012 printf %s "checking whether the compiler supports -Wlogical-op... " >&6; }
19013 if test ${ac_cv_cflags__Wlogical_op+y}
19014 then :
19015 printf %s "(cached) " >&6
19016 else $as_nop
19017 ac_wine_try_cflags_saved=$CFLAGS
19018 CFLAGS="$CFLAGS -Wlogical-op"
19019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19020 /* end confdefs.h. */
19021 int main(int argc, char **argv) { return 0; }
19022 _ACEOF
19023 if ac_fn_c_try_link "$LINENO"
19024 then :
19025 ac_cv_cflags__Wlogical_op=yes
19026 else $as_nop
19027 ac_cv_cflags__Wlogical_op=no
19029 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19030 conftest$ac_exeext conftest.$ac_ext
19031 CFLAGS=$ac_wine_try_cflags_saved
19033 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
19034 printf "%s\n" "$ac_cv_cflags__Wlogical_op" >&6; }
19035 if test "x$ac_cv_cflags__Wlogical_op" = xyes
19036 then :
19037 saved_string_h_CFLAGS=$CFLAGS
19038 CFLAGS="$CFLAGS -Wlogical-op -Werror"
19039 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
19040 printf %s "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
19041 if test ${ac_cv_c_logicalop_noisy+y}
19042 then :
19043 printf %s "(cached) " >&6
19044 else $as_nop
19045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19046 /* end confdefs.h. */
19047 #include <string.h>
19048 char*f(const char *h,char n) {return strchr(h,n);}
19050 main (void)
19054 return 0;
19056 _ACEOF
19057 if ac_fn_c_try_compile "$LINENO"
19058 then :
19059 ac_cv_c_logicalop_noisy=no
19060 else $as_nop
19061 ac_cv_c_logicalop_noisy=yes
19063 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19065 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
19066 printf "%s\n" "$ac_cv_c_logicalop_noisy" >&6; }
19067 CFLAGS=$saved_string_h_CFLAGS
19068 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
19071 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for flags needed for 64-bit compare-and-swap support" >&5
19072 printf %s "checking for flags needed for 64-bit compare-and-swap support... " >&6; }
19073 if test ${wine_cv_64bit_compare_swap+y}
19074 then :
19075 printf %s "(cached) " >&6
19076 else $as_nop
19077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19078 /* end confdefs.h. */
19079 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
19080 #error no
19081 #endif
19083 main (void)
19087 return 0;
19089 _ACEOF
19090 if ac_fn_c_try_compile "$LINENO"
19091 then :
19092 wine_cv_64bit_compare_swap="none needed"
19093 else $as_nop
19094 case $host_cpu in
19095 *i[3456]86*) wine_cv_64bit_compare_swap="-march=i586" ;;
19096 *arm*) wine_cv_64bit_compare_swap="-march=armv7-a" ;;
19097 *) wine_cv_64bit_compare_swap="unknown" ;;
19098 esac
19099 if test "x$wine_cv_64bit_compare_swap" != xunknown
19100 then
19101 CFLAGS="$CFLAGS $wine_cv_64bit_compare_swap"
19102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19103 /* end confdefs.h. */
19104 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
19105 #error no
19106 #endif
19108 main (void)
19112 return 0;
19114 _ACEOF
19115 if ac_fn_c_try_compile "$LINENO"
19116 then :
19118 else $as_nop
19119 wine_cv_64bit_compare_swap="unknown"
19121 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19122 CFLAGS=$saved_CFLAGS
19125 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19127 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_64bit_compare_swap" >&5
19128 printf "%s\n" "$wine_cv_64bit_compare_swap" >&6; }
19129 case "$wine_cv_64bit_compare_swap" in
19130 unknown) as_fn_error $? "gcc doesn't support 64-bit compare-and-swap on this platform" "$LINENO" 5 ;;
19131 "none needed") ;;
19132 *) EXTRACFLAGS="$EXTRACFLAGS $wine_cv_64bit_compare_swap" ;;
19133 esac
19135 ac_debug_format_seen=""
19136 for ac_flag in $CFLAGS; do
19137 case $ac_flag in
19138 -gdwarf*) ac_debug_format_seen=yes ;;
19139 -g) ac_debug_format_seen=${ac_debug_format_seen:-default} ;;
19140 esac
19141 done
19142 if test "x$ac_debug_format_seen" = xdefault
19143 then
19144 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-4" >&5
19145 printf %s "checking whether the compiler supports -gdwarf-4... " >&6; }
19146 if test ${ac_cv_cflags__gdwarf_4+y}
19147 then :
19148 printf %s "(cached) " >&6
19149 else $as_nop
19150 ac_wine_try_cflags_saved=$CFLAGS
19151 CFLAGS="$CFLAGS -gdwarf-4"
19152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19153 /* end confdefs.h. */
19154 int main(int argc, char **argv) { return 0; }
19155 _ACEOF
19156 if ac_fn_c_try_link "$LINENO"
19157 then :
19158 ac_cv_cflags__gdwarf_4=yes
19159 else $as_nop
19160 ac_cv_cflags__gdwarf_4=no
19162 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19163 conftest$ac_exeext conftest.$ac_ext
19164 CFLAGS=$ac_wine_try_cflags_saved
19166 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_4" >&5
19167 printf "%s\n" "$ac_cv_cflags__gdwarf_4" >&6; }
19168 if test "x$ac_cv_cflags__gdwarf_4" = xyes
19169 then :
19170 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-4"
19174 MSVCRTFLAGS=""
19176 case $host_os in
19177 mingw32*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-delayload,autoconftest.dll" >&5
19178 printf %s "checking whether the compiler supports -Wl,-delayload,autoconftest.dll... " >&6; }
19179 if test ${ac_cv_cflags__Wl__delayload_autoconftest_dll+y}
19180 then :
19181 printf %s "(cached) " >&6
19182 else $as_nop
19183 ac_wine_try_cflags_saved=$CFLAGS
19184 CFLAGS="$CFLAGS -Wl,-delayload,autoconftest.dll"
19185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19186 /* end confdefs.h. */
19187 int main(int argc, char **argv) { return 0; }
19188 _ACEOF
19189 if ac_fn_c_try_link "$LINENO"
19190 then :
19191 ac_cv_cflags__Wl__delayload_autoconftest_dll=yes
19192 else $as_nop
19193 ac_cv_cflags__Wl__delayload_autoconftest_dll=no
19195 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19196 conftest$ac_exeext conftest.$ac_ext
19197 CFLAGS=$ac_wine_try_cflags_saved
19199 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__delayload_autoconftest_dll" >&5
19200 printf "%s\n" "$ac_cv_cflags__Wl__delayload_autoconftest_dll" >&6; }
19201 if test "x$ac_cv_cflags__Wl__delayload_autoconftest_dll" = xyes
19202 then :
19203 DELAYLOADFLAG="-Wl,-delayload,"
19205 fi ;;
19206 *) MSVCRTFLAGS="-D_WIN32"
19207 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
19208 printf %s "checking whether the compiler supports -fno-builtin... " >&6; }
19209 if test ${ac_cv_cflags__fno_builtin+y}
19210 then :
19211 printf %s "(cached) " >&6
19212 else $as_nop
19213 ac_wine_try_cflags_saved=$CFLAGS
19214 CFLAGS="$CFLAGS -fno-builtin"
19215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19216 /* end confdefs.h. */
19217 int main(int argc, char **argv) { return 0; }
19218 _ACEOF
19219 if ac_fn_c_try_link "$LINENO"
19220 then :
19221 ac_cv_cflags__fno_builtin=yes
19222 else $as_nop
19223 ac_cv_cflags__fno_builtin=no
19225 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19226 conftest$ac_exeext conftest.$ac_ext
19227 CFLAGS=$ac_wine_try_cflags_saved
19229 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
19230 printf "%s\n" "$ac_cv_cflags__fno_builtin" >&6; }
19231 if test "x$ac_cv_cflags__fno_builtin" = xyes
19232 then :
19233 MSVCRTFLAGS="$MSVCRTFLAGS -fno-builtin"
19235 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
19236 printf %s "checking whether the compiler supports -fshort-wchar... " >&6; }
19237 if test ${ac_cv_cflags__fshort_wchar+y}
19238 then :
19239 printf %s "(cached) " >&6
19240 else $as_nop
19241 ac_wine_try_cflags_saved=$CFLAGS
19242 CFLAGS="$CFLAGS -fshort-wchar"
19243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19244 /* end confdefs.h. */
19245 int main(int argc, char **argv) { return 0; }
19246 _ACEOF
19247 if ac_fn_c_try_link "$LINENO"
19248 then :
19249 ac_cv_cflags__fshort_wchar=yes
19250 else $as_nop
19251 ac_cv_cflags__fshort_wchar=no
19253 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19254 conftest$ac_exeext conftest.$ac_ext
19255 CFLAGS=$ac_wine_try_cflags_saved
19257 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fshort_wchar" >&5
19258 printf "%s\n" "$ac_cv_cflags__fshort_wchar" >&6; }
19259 if test "x$ac_cv_cflags__fshort_wchar" = xyes
19260 then :
19261 MSVCRTFLAGS="$MSVCRTFLAGS -fshort-wchar"
19263 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
19264 printf %s "checking whether the compiler supports -Wno-format... " >&6; }
19265 if test ${ac_cv_cflags__Wno_format+y}
19266 then :
19267 printf %s "(cached) " >&6
19268 else $as_nop
19269 ac_wine_try_cflags_saved=$CFLAGS
19270 CFLAGS="$CFLAGS -Wno-format"
19271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19272 /* end confdefs.h. */
19273 int main(int argc, char **argv) { return 0; }
19274 _ACEOF
19275 if ac_fn_c_try_link "$LINENO"
19276 then :
19277 ac_cv_cflags__Wno_format=yes
19278 else $as_nop
19279 ac_cv_cflags__Wno_format=no
19281 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19282 conftest$ac_exeext conftest.$ac_ext
19283 CFLAGS=$ac_wine_try_cflags_saved
19285 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
19286 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
19287 if test "x$ac_cv_cflags__Wno_format" = xyes
19288 then :
19289 MSVCRTFLAGS="$MSVCRTFLAGS -Wno-format"
19290 fi ;;
19291 esac
19293 case $host_cpu in
19294 *i[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
19295 printf %s "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
19296 if test ${ac_cv_cflags__fno_omit_frame_pointer+y}
19297 then :
19298 printf %s "(cached) " >&6
19299 else $as_nop
19300 ac_wine_try_cflags_saved=$CFLAGS
19301 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
19302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19303 /* end confdefs.h. */
19304 int main(int argc, char **argv) { return 0; }
19305 _ACEOF
19306 if ac_fn_c_try_link "$LINENO"
19307 then :
19308 ac_cv_cflags__fno_omit_frame_pointer=yes
19309 else $as_nop
19310 ac_cv_cflags__fno_omit_frame_pointer=no
19312 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19313 conftest$ac_exeext conftest.$ac_ext
19314 CFLAGS=$ac_wine_try_cflags_saved
19316 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
19317 printf "%s\n" "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
19318 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes
19319 then :
19320 MSVCRTFLAGS="$MSVCRTFLAGS -fno-omit-frame-pointer"
19321 fi ;;
19322 *x86_64*)
19323 case $host_os in
19324 cygwin*|mingw32*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
19325 printf %s "checking whether the compiler supports -Wno-format... " >&6; }
19326 if test ${ac_cv_cflags__Wno_format+y}
19327 then :
19328 printf %s "(cached) " >&6
19329 else $as_nop
19330 ac_wine_try_cflags_saved=$CFLAGS
19331 CFLAGS="$CFLAGS -Wno-format"
19332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19333 /* end confdefs.h. */
19334 int main(int argc, char **argv) { return 0; }
19335 _ACEOF
19336 if ac_fn_c_try_link "$LINENO"
19337 then :
19338 ac_cv_cflags__Wno_format=yes
19339 else $as_nop
19340 ac_cv_cflags__Wno_format=no
19342 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19343 conftest$ac_exeext conftest.$ac_ext
19344 CFLAGS=$ac_wine_try_cflags_saved
19346 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
19347 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
19348 if test "x$ac_cv_cflags__Wno_format" = xyes
19349 then :
19350 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
19351 fi ;;
19352 *) if test -z "$PE_ARCHS"
19353 then
19354 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working -mabi=ms" >&5
19355 printf %s "checking for working -mabi=ms... " >&6; }
19356 if test ${ac_cv_mabi_ms+y}
19357 then :
19358 printf %s "(cached) " >&6
19359 else $as_nop
19360 CFLAGS="$CFLAGS -mabi=ms"
19361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19362 /* end confdefs.h. */
19363 #include <stdarg.h>
19364 int a(int b, ...) { __builtin_ms_va_list list; __builtin_ms_va_start(list,b); }
19366 main (void)
19370 return 0;
19372 _ACEOF
19373 if ac_fn_c_try_compile "$LINENO"
19374 then :
19375 ac_cv_mabi_ms=yes
19376 else $as_nop
19377 ac_cv_mabi_ms=no
19379 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19380 CFLAGS=$saved_CFLAGS
19382 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mabi_ms" >&5
19383 printf "%s\n" "$ac_cv_mabi_ms" >&6; }
19384 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
19386 MSVCRTFLAGS="$MSVCRTFLAGS -mabi=ms" ;;
19387 esac ;;
19388 arm*)
19389 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wincompatible-function-pointer-types" >&5
19390 printf %s "checking whether the compiler supports -Wincompatible-function-pointer-types... " >&6; }
19391 if test ${ac_cv_cflags__Wincompatible_function_pointer_types+y}
19392 then :
19393 printf %s "(cached) " >&6
19394 else $as_nop
19395 ac_wine_try_cflags_saved=$CFLAGS
19396 CFLAGS="$CFLAGS -Wincompatible-function-pointer-types"
19397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19398 /* end confdefs.h. */
19399 int main(int argc, char **argv) { return 0; }
19400 _ACEOF
19401 if ac_fn_c_try_link "$LINENO"
19402 then :
19403 ac_cv_cflags__Wincompatible_function_pointer_types=yes
19404 else $as_nop
19405 ac_cv_cflags__Wincompatible_function_pointer_types=no
19407 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19408 conftest$ac_exeext conftest.$ac_ext
19409 CFLAGS=$ac_wine_try_cflags_saved
19411 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wincompatible_function_pointer_types" >&5
19412 printf "%s\n" "$ac_cv_cflags__Wincompatible_function_pointer_types" >&6; }
19413 if test "x$ac_cv_cflags__Wincompatible_function_pointer_types" = xyes
19414 then :
19415 EXTRACFLAGS="$EXTRACFLAGS -Wno-error=incompatible-function-pointer-types"
19416 fi ;;
19417 esac
19419 CFLAGS=$saved_CFLAGS
19421 if test "x$enable_werror" = "xyes"
19422 then
19423 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
19424 printf %s "checking whether the compiler supports -Werror... " >&6; }
19425 if test ${ac_cv_cflags__Werror+y}
19426 then :
19427 printf %s "(cached) " >&6
19428 else $as_nop
19429 ac_wine_try_cflags_saved=$CFLAGS
19430 CFLAGS="$CFLAGS -Werror"
19431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19432 /* end confdefs.h. */
19433 int main(int argc, char **argv) { return 0; }
19434 _ACEOF
19435 if ac_fn_c_try_link "$LINENO"
19436 then :
19437 ac_cv_cflags__Werror=yes
19438 else $as_nop
19439 ac_cv_cflags__Werror=no
19441 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19442 conftest$ac_exeext conftest.$ac_ext
19443 CFLAGS=$ac_wine_try_cflags_saved
19445 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
19446 printf "%s\n" "$ac_cv_cflags__Werror" >&6; }
19447 if test "x$ac_cv_cflags__Werror" = xyes
19448 then :
19449 EXTRACFLAGS="$EXTRACFLAGS -Werror"
19452 if test "x$enable_build_id" = "xyes"
19453 then
19454 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--build-id" >&5
19455 printf %s "checking whether the compiler supports -Wl,--build-id... " >&6; }
19456 if test ${ac_cv_cflags__Wl___build_id+y}
19457 then :
19458 printf %s "(cached) " >&6
19459 else $as_nop
19460 ac_wine_try_cflags_saved=$CFLAGS
19461 CFLAGS="$CFLAGS -Wl,--build-id"
19462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19463 /* end confdefs.h. */
19464 int main(int argc, char **argv) { return 0; }
19465 _ACEOF
19466 if ac_fn_c_try_link "$LINENO"
19467 then :
19468 ac_cv_cflags__Wl___build_id=yes
19469 else $as_nop
19470 ac_cv_cflags__Wl___build_id=no
19472 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19473 conftest$ac_exeext conftest.$ac_ext
19474 CFLAGS=$ac_wine_try_cflags_saved
19476 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___build_id" >&5
19477 printf "%s\n" "$ac_cv_cflags__Wl___build_id" >&6; }
19478 if test "x$ac_cv_cflags__Wl___build_id" = xyes
19479 then :
19480 CFLAGS="$CFLAGS -Wl,--build-id"
19481 LDFLAGS="$LDFLAGS -Wl,--build-id"
19487 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
19488 printf %s "checking for the need to disable Fortify... " >&6; }
19489 if test ${ac_cv_c_fortify_enabled+y}
19490 then :
19491 printf %s "(cached) " >&6
19492 else $as_nop
19493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19494 /* end confdefs.h. */
19495 #include <string.h>
19497 main (void)
19499 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
19500 #error Fortify enabled
19501 #endif
19503 return 0;
19505 _ACEOF
19506 if ac_fn_c_try_compile "$LINENO"
19507 then :
19508 ac_cv_c_fortify_enabled=no
19509 else $as_nop
19510 ac_cv_c_fortify_enabled=yes
19512 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19514 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
19515 printf "%s\n" "$ac_cv_c_fortify_enabled" >&6; }
19516 if test "$ac_cv_c_fortify_enabled" = yes
19517 then
19518 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
19522 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
19523 printf %s "checking whether CFI directives are supported in assembly code... " >&6; }
19524 if test ${ac_cv_c_cfi_support+y}
19525 then :
19526 printf %s "(cached) " >&6
19527 else $as_nop
19528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19529 /* end confdefs.h. */
19530 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
19532 main (void)
19536 return 0;
19538 _ACEOF
19539 if ac_fn_c_try_compile "$LINENO"
19540 then :
19541 ac_cv_c_cfi_support="yes"
19542 else $as_nop
19543 ac_cv_c_cfi_support="no"
19545 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19547 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
19548 printf "%s\n" "$ac_cv_c_cfi_support" >&6; }
19549 if test "$ac_cv_c_cfi_support" = "yes"
19550 then
19551 DLLFLAGS="$DLLFLAGS -fasynchronous-unwind-tables"
19552 LDDLLFLAGS="$LDDLLFLAGS -fasynchronous-unwind-tables"
19553 UNIXDLLFLAGS="$UNIXDLLFLAGS -fasynchronous-unwind-tables"
19554 elif test $HOST_ARCH = x86_64
19555 then
19556 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
19560 case "$HOST_ARCH,$PE_ARCHS" in
19561 x86_64,*i386*) wine_binary="wine" ;;
19562 x86_64,*) wine_binary="wine64" ;;
19563 *) wine_binary="wine" ;;
19564 esac
19565 WINELOADER_PROGRAMS="$wine_binary"
19568 case $host_os in
19569 linux*)
19570 case $host_cpu in
19571 *i[3456789]86*|x86_64*|*aarch64*|arm*)
19572 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS " loader/wine-preloader"
19573 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
19575 esac
19577 darwin*|macosx*)
19578 if test "$wine_can_build_preloader" = "yes"
19579 then
19580 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS " loader/wine-preloader"
19581 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
19584 esac
19587 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
19588 printf %s "checking for library containing dlopen... " >&6; }
19589 if test ${ac_cv_search_dlopen+y}
19590 then :
19591 printf %s "(cached) " >&6
19592 else $as_nop
19593 ac_func_search_save_LIBS=$LIBS
19594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19595 /* end confdefs.h. */
19597 /* Override any GCC internal prototype to avoid an error.
19598 Use char because int might match the return type of a GCC
19599 builtin and then its argument prototype would still apply. */
19600 char dlopen ();
19602 main (void)
19604 return dlopen ();
19606 return 0;
19608 _ACEOF
19609 for ac_lib in '' dl
19611 if test -z "$ac_lib"; then
19612 ac_res="none required"
19613 else
19614 ac_res=-l$ac_lib
19615 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19617 if ac_fn_c_try_link "$LINENO"
19618 then :
19619 ac_cv_search_dlopen=$ac_res
19621 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19622 conftest$ac_exeext
19623 if test ${ac_cv_search_dlopen+y}
19624 then :
19625 break
19627 done
19628 if test ${ac_cv_search_dlopen+y}
19629 then :
19631 else $as_nop
19632 ac_cv_search_dlopen=no
19634 rm conftest.$ac_ext
19635 LIBS=$ac_func_search_save_LIBS
19637 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
19638 printf "%s\n" "$ac_cv_search_dlopen" >&6; }
19639 ac_res=$ac_cv_search_dlopen
19640 if test "$ac_res" != no
19641 then :
19642 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19647 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
19648 printf %s "checking for library containing gethostbyname... " >&6; }
19649 if test ${ac_cv_search_gethostbyname+y}
19650 then :
19651 printf %s "(cached) " >&6
19652 else $as_nop
19653 ac_func_search_save_LIBS=$LIBS
19654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19655 /* end confdefs.h. */
19657 /* Override any GCC internal prototype to avoid an error.
19658 Use char because int might match the return type of a GCC
19659 builtin and then its argument prototype would still apply. */
19660 char gethostbyname ();
19662 main (void)
19664 return gethostbyname ();
19666 return 0;
19668 _ACEOF
19669 for ac_lib in '' nsl
19671 if test -z "$ac_lib"; then
19672 ac_res="none required"
19673 else
19674 ac_res=-l$ac_lib
19675 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19677 if ac_fn_c_try_link "$LINENO"
19678 then :
19679 ac_cv_search_gethostbyname=$ac_res
19681 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19682 conftest$ac_exeext
19683 if test ${ac_cv_search_gethostbyname+y}
19684 then :
19685 break
19687 done
19688 if test ${ac_cv_search_gethostbyname+y}
19689 then :
19691 else $as_nop
19692 ac_cv_search_gethostbyname=no
19694 rm conftest.$ac_ext
19695 LIBS=$ac_func_search_save_LIBS
19697 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
19698 printf "%s\n" "$ac_cv_search_gethostbyname" >&6; }
19699 ac_res=$ac_cv_search_gethostbyname
19700 if test "$ac_res" != no
19701 then :
19702 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19707 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
19708 printf %s "checking for library containing connect... " >&6; }
19709 if test ${ac_cv_search_connect+y}
19710 then :
19711 printf %s "(cached) " >&6
19712 else $as_nop
19713 ac_func_search_save_LIBS=$LIBS
19714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19715 /* end confdefs.h. */
19717 /* Override any GCC internal prototype to avoid an error.
19718 Use char because int might match the return type of a GCC
19719 builtin and then its argument prototype would still apply. */
19720 char connect ();
19722 main (void)
19724 return connect ();
19726 return 0;
19728 _ACEOF
19729 for ac_lib in '' socket
19731 if test -z "$ac_lib"; then
19732 ac_res="none required"
19733 else
19734 ac_res=-l$ac_lib
19735 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19737 if ac_fn_c_try_link "$LINENO"
19738 then :
19739 ac_cv_search_connect=$ac_res
19741 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19742 conftest$ac_exeext
19743 if test ${ac_cv_search_connect+y}
19744 then :
19745 break
19747 done
19748 if test ${ac_cv_search_connect+y}
19749 then :
19751 else $as_nop
19752 ac_cv_search_connect=no
19754 rm conftest.$ac_ext
19755 LIBS=$ac_func_search_save_LIBS
19757 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
19758 printf "%s\n" "$ac_cv_search_connect" >&6; }
19759 ac_res=$ac_cv_search_connect
19760 if test "$ac_res" != no
19761 then :
19762 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19767 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
19768 printf %s "checking for library containing inet_aton... " >&6; }
19769 if test ${ac_cv_search_inet_aton+y}
19770 then :
19771 printf %s "(cached) " >&6
19772 else $as_nop
19773 ac_func_search_save_LIBS=$LIBS
19774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19775 /* end confdefs.h. */
19777 /* Override any GCC internal prototype to avoid an error.
19778 Use char because int might match the return type of a GCC
19779 builtin and then its argument prototype would still apply. */
19780 char inet_aton ();
19782 main (void)
19784 return inet_aton ();
19786 return 0;
19788 _ACEOF
19789 for ac_lib in '' resolv
19791 if test -z "$ac_lib"; then
19792 ac_res="none required"
19793 else
19794 ac_res=-l$ac_lib
19795 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19797 if ac_fn_c_try_link "$LINENO"
19798 then :
19799 ac_cv_search_inet_aton=$ac_res
19801 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19802 conftest$ac_exeext
19803 if test ${ac_cv_search_inet_aton+y}
19804 then :
19805 break
19807 done
19808 if test ${ac_cv_search_inet_aton+y}
19809 then :
19811 else $as_nop
19812 ac_cv_search_inet_aton=no
19814 rm conftest.$ac_ext
19815 LIBS=$ac_func_search_save_LIBS
19817 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
19818 printf "%s\n" "$ac_cv_search_inet_aton" >&6; }
19819 ac_res=$ac_cv_search_inet_aton
19820 if test "$ac_res" != no
19821 then :
19822 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19827 ac_save_CFLAGS="$CFLAGS"
19828 CFLAGS="$CFLAGS $BUILTINFLAG"
19829 ac_fn_c_check_func "$LINENO" "dladdr1" "ac_cv_func_dladdr1"
19830 if test "x$ac_cv_func_dladdr1" = xyes
19831 then :
19832 printf "%s\n" "#define HAVE_DLADDR1 1" >>confdefs.h
19835 ac_fn_c_check_func "$LINENO" "dlinfo" "ac_cv_func_dlinfo"
19836 if test "x$ac_cv_func_dlinfo" = xyes
19837 then :
19838 printf "%s\n" "#define HAVE_DLINFO 1" >>confdefs.h
19841 ac_fn_c_check_func "$LINENO" "epoll_create" "ac_cv_func_epoll_create"
19842 if test "x$ac_cv_func_epoll_create" = xyes
19843 then :
19844 printf "%s\n" "#define HAVE_EPOLL_CREATE 1" >>confdefs.h
19847 ac_fn_c_check_func "$LINENO" "fstatfs" "ac_cv_func_fstatfs"
19848 if test "x$ac_cv_func_fstatfs" = xyes
19849 then :
19850 printf "%s\n" "#define HAVE_FSTATFS 1" >>confdefs.h
19853 ac_fn_c_check_func "$LINENO" "futimens" "ac_cv_func_futimens"
19854 if test "x$ac_cv_func_futimens" = xyes
19855 then :
19856 printf "%s\n" "#define HAVE_FUTIMENS 1" >>confdefs.h
19859 ac_fn_c_check_func "$LINENO" "futimes" "ac_cv_func_futimes"
19860 if test "x$ac_cv_func_futimes" = xyes
19861 then :
19862 printf "%s\n" "#define HAVE_FUTIMES 1" >>confdefs.h
19865 ac_fn_c_check_func "$LINENO" "futimesat" "ac_cv_func_futimesat"
19866 if test "x$ac_cv_func_futimesat" = xyes
19867 then :
19868 printf "%s\n" "#define HAVE_FUTIMESAT 1" >>confdefs.h
19871 ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
19872 if test "x$ac_cv_func_getaddrinfo" = xyes
19873 then :
19874 printf "%s\n" "#define HAVE_GETADDRINFO 1" >>confdefs.h
19877 ac_fn_c_check_func "$LINENO" "getattrlist" "ac_cv_func_getattrlist"
19878 if test "x$ac_cv_func_getattrlist" = xyes
19879 then :
19880 printf "%s\n" "#define HAVE_GETATTRLIST 1" >>confdefs.h
19883 ac_fn_c_check_func "$LINENO" "getauxval" "ac_cv_func_getauxval"
19884 if test "x$ac_cv_func_getauxval" = xyes
19885 then :
19886 printf "%s\n" "#define HAVE_GETAUXVAL 1" >>confdefs.h
19889 ac_fn_c_check_func "$LINENO" "getifaddrs" "ac_cv_func_getifaddrs"
19890 if test "x$ac_cv_func_getifaddrs" = xyes
19891 then :
19892 printf "%s\n" "#define HAVE_GETIFADDRS 1" >>confdefs.h
19895 ac_fn_c_check_func "$LINENO" "getrandom" "ac_cv_func_getrandom"
19896 if test "x$ac_cv_func_getrandom" = xyes
19897 then :
19898 printf "%s\n" "#define HAVE_GETRANDOM 1" >>confdefs.h
19901 ac_fn_c_check_func "$LINENO" "kqueue" "ac_cv_func_kqueue"
19902 if test "x$ac_cv_func_kqueue" = xyes
19903 then :
19904 printf "%s\n" "#define HAVE_KQUEUE 1" >>confdefs.h
19907 ac_fn_c_check_func "$LINENO" "mach_continuous_time" "ac_cv_func_mach_continuous_time"
19908 if test "x$ac_cv_func_mach_continuous_time" = xyes
19909 then :
19910 printf "%s\n" "#define HAVE_MACH_CONTINUOUS_TIME 1" >>confdefs.h
19913 ac_fn_c_check_func "$LINENO" "pipe2" "ac_cv_func_pipe2"
19914 if test "x$ac_cv_func_pipe2" = xyes
19915 then :
19916 printf "%s\n" "#define HAVE_PIPE2 1" >>confdefs.h
19919 ac_fn_c_check_func "$LINENO" "port_create" "ac_cv_func_port_create"
19920 if test "x$ac_cv_func_port_create" = xyes
19921 then :
19922 printf "%s\n" "#define HAVE_PORT_CREATE 1" >>confdefs.h
19925 ac_fn_c_check_func "$LINENO" "posix_fadvise" "ac_cv_func_posix_fadvise"
19926 if test "x$ac_cv_func_posix_fadvise" = xyes
19927 then :
19928 printf "%s\n" "#define HAVE_POSIX_FADVISE 1" >>confdefs.h
19931 ac_fn_c_check_func "$LINENO" "posix_fallocate" "ac_cv_func_posix_fallocate"
19932 if test "x$ac_cv_func_posix_fallocate" = xyes
19933 then :
19934 printf "%s\n" "#define HAVE_POSIX_FALLOCATE 1" >>confdefs.h
19937 ac_fn_c_check_func "$LINENO" "prctl" "ac_cv_func_prctl"
19938 if test "x$ac_cv_func_prctl" = xyes
19939 then :
19940 printf "%s\n" "#define HAVE_PRCTL 1" >>confdefs.h
19943 ac_fn_c_check_func "$LINENO" "proc_pidinfo" "ac_cv_func_proc_pidinfo"
19944 if test "x$ac_cv_func_proc_pidinfo" = xyes
19945 then :
19946 printf "%s\n" "#define HAVE_PROC_PIDINFO 1" >>confdefs.h
19949 ac_fn_c_check_func "$LINENO" "sched_yield" "ac_cv_func_sched_yield"
19950 if test "x$ac_cv_func_sched_yield" = xyes
19951 then :
19952 printf "%s\n" "#define HAVE_SCHED_YIELD 1" >>confdefs.h
19955 ac_fn_c_check_func "$LINENO" "setproctitle" "ac_cv_func_setproctitle"
19956 if test "x$ac_cv_func_setproctitle" = xyes
19957 then :
19958 printf "%s\n" "#define HAVE_SETPROCTITLE 1" >>confdefs.h
19961 ac_fn_c_check_func "$LINENO" "setprogname" "ac_cv_func_setprogname"
19962 if test "x$ac_cv_func_setprogname" = xyes
19963 then :
19964 printf "%s\n" "#define HAVE_SETPROGNAME 1" >>confdefs.h
19967 ac_fn_c_check_func "$LINENO" "sigprocmask" "ac_cv_func_sigprocmask"
19968 if test "x$ac_cv_func_sigprocmask" = xyes
19969 then :
19970 printf "%s\n" "#define HAVE_SIGPROCMASK 1" >>confdefs.h
19973 ac_fn_c_check_func "$LINENO" "sysinfo" "ac_cv_func_sysinfo"
19974 if test "x$ac_cv_func_sysinfo" = xyes
19975 then :
19976 printf "%s\n" "#define HAVE_SYSINFO 1" >>confdefs.h
19979 ac_fn_c_check_func "$LINENO" "tcdrain" "ac_cv_func_tcdrain"
19980 if test "x$ac_cv_func_tcdrain" = xyes
19981 then :
19982 printf "%s\n" "#define HAVE_TCDRAIN 1" >>confdefs.h
19985 ac_fn_c_check_func "$LINENO" "thr_kill2" "ac_cv_func_thr_kill2"
19986 if test "x$ac_cv_func_thr_kill2" = xyes
19987 then :
19988 printf "%s\n" "#define HAVE_THR_KILL2 1" >>confdefs.h
19992 CFLAGS="$ac_save_CFLAGS"
19994 case $host_os in
19995 darwin*|macosx*) ;;
19996 *) ac_save_LIBS=$LIBS
19997 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
19998 printf %s "checking for library containing clock_gettime... " >&6; }
19999 if test ${ac_cv_search_clock_gettime+y}
20000 then :
20001 printf %s "(cached) " >&6
20002 else $as_nop
20003 ac_func_search_save_LIBS=$LIBS
20004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20005 /* end confdefs.h. */
20007 /* Override any GCC internal prototype to avoid an error.
20008 Use char because int might match the return type of a GCC
20009 builtin and then its argument prototype would still apply. */
20010 char clock_gettime ();
20012 main (void)
20014 return clock_gettime ();
20016 return 0;
20018 _ACEOF
20019 for ac_lib in '' rt
20021 if test -z "$ac_lib"; then
20022 ac_res="none required"
20023 else
20024 ac_res=-l$ac_lib
20025 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20027 if ac_fn_c_try_link "$LINENO"
20028 then :
20029 ac_cv_search_clock_gettime=$ac_res
20031 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20032 conftest$ac_exeext
20033 if test ${ac_cv_search_clock_gettime+y}
20034 then :
20035 break
20037 done
20038 if test ${ac_cv_search_clock_gettime+y}
20039 then :
20041 else $as_nop
20042 ac_cv_search_clock_gettime=no
20044 rm conftest.$ac_ext
20045 LIBS=$ac_func_search_save_LIBS
20047 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
20048 printf "%s\n" "$ac_cv_search_clock_gettime" >&6; }
20049 ac_res=$ac_cv_search_clock_gettime
20050 if test "$ac_res" != no
20051 then :
20052 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20054 printf "%s\n" "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
20056 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
20060 LIBS=$ac_save_LIBS
20062 esac
20064 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
20065 printf %s "checking for sched_setaffinity... " >&6; }
20066 if test ${wine_cv_have_sched_setaffinity+y}
20067 then :
20068 printf %s "(cached) " >&6
20069 else $as_nop
20070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20071 /* end confdefs.h. */
20072 #include <sched.h>
20074 main (void)
20076 sched_setaffinity(0, 0, 0);
20078 return 0;
20080 _ACEOF
20081 if ac_fn_c_try_link "$LINENO"
20082 then :
20083 wine_cv_have_sched_setaffinity=yes
20084 else $as_nop
20085 wine_cv_have_sched_setaffinity=no
20087 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20088 conftest$ac_exeext conftest.$ac_ext
20090 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
20091 printf "%s\n" "$wine_cv_have_sched_setaffinity" >&6; }
20092 if test "$wine_cv_have_sched_setaffinity" = "yes"
20093 then
20095 printf "%s\n" "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
20100 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
20101 printf %s "checking for inline... " >&6; }
20102 if test ${ac_cv_c_inline+y}
20103 then :
20104 printf %s "(cached) " >&6
20105 else $as_nop
20106 ac_cv_c_inline=no
20107 for ac_kw in inline __inline__ __inline; do
20108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20109 /* end confdefs.h. */
20110 #ifndef __cplusplus
20111 typedef int foo_t;
20112 static $ac_kw foo_t static_foo (void) {return 0; }
20113 $ac_kw foo_t foo (void) {return 0; }
20114 #endif
20116 _ACEOF
20117 if ac_fn_c_try_compile "$LINENO"
20118 then :
20119 ac_cv_c_inline=$ac_kw
20121 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
20122 test "$ac_cv_c_inline" != no && break
20123 done
20126 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
20127 printf "%s\n" "$ac_cv_c_inline" >&6; }
20129 case $ac_cv_c_inline in
20130 inline | yes) ;;
20132 case $ac_cv_c_inline in
20133 no) ac_val=;;
20134 *) ac_val=$ac_cv_c_inline;;
20135 esac
20136 cat >>confdefs.h <<_ACEOF
20137 #ifndef __cplusplus
20138 #define inline $ac_val
20139 #endif
20140 _ACEOF
20142 esac
20144 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
20146 if test "x$ac_cv_type_request_sense" = xyes
20147 then :
20149 printf "%s\n" "#define HAVE_REQUEST_SENSE 1" >>confdefs.h
20155 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
20156 #include <sys/socket.h>
20157 #ifdef HAVE_SYS_SOCKETVAR_H
20158 #include <sys/socketvar.h>
20159 #endif
20160 #ifdef HAVE_NET_ROUTE_H
20161 #include <net/route.h>
20162 #endif
20163 #ifdef HAVE_NETINET_IN_H
20164 #include <netinet/in.h>
20165 #endif
20166 #ifdef HAVE_NETINET_IN_SYSTM_H
20167 #include <netinet/in_systm.h>
20168 #endif
20169 #ifdef HAVE_NETINET_IP_H
20170 #include <netinet/ip.h>
20171 #endif
20172 #ifdef HAVE_NETINET_IN_PCB_H
20173 #include <netinet/in_pcb.h>
20174 #endif
20176 if test "x$ac_cv_type_struct_xinpgen" = xyes
20177 then :
20179 printf "%s\n" "#define HAVE_STRUCT_XINPGEN 1" >>confdefs.h
20185 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
20186 printf %s "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
20187 if test ${wine_cv_linux_gethostbyname_r_6+y}
20188 then :
20189 printf %s "(cached) " >&6
20190 else $as_nop
20191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20192 /* end confdefs.h. */
20193 #include <netdb.h>
20195 main (void)
20198 char *name=0;
20199 struct hostent he;
20200 struct hostent *result;
20201 char *buf=0;
20202 int bufsize=0;
20203 int errnr;
20204 char *addr=0;
20205 int addrlen=0;
20206 int addrtype=0;
20207 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
20208 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
20211 return 0;
20213 _ACEOF
20214 if ac_fn_c_try_link "$LINENO"
20215 then :
20216 wine_cv_linux_gethostbyname_r_6=yes
20217 else $as_nop
20218 wine_cv_linux_gethostbyname_r_6=no
20221 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20222 conftest$ac_exeext conftest.$ac_ext
20225 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
20226 printf "%s\n" "$wine_cv_linux_gethostbyname_r_6" >&6; }
20227 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
20228 then
20230 printf "%s\n" "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
20234 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
20235 #include <sys/socket.h>
20236 #ifdef HAVE_SYS_UN_H
20237 # include <sys/un.h>
20238 #endif
20240 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes
20241 then :
20243 printf "%s\n" "#define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1" >>confdefs.h
20247 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
20248 #include <sys/socket.h>
20249 #ifdef HAVE_SYS_UN_H
20250 # include <sys/un.h>
20251 #endif
20253 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
20254 then :
20256 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1" >>confdefs.h
20262 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
20263 #ifdef HAVE_SCSI_SG_H
20264 #include <scsi/sg.h>
20265 #endif
20267 if test "x$ac_cv_member_scsireq_t_cmd" = xyes
20268 then :
20270 printf "%s\n" "#define HAVE_SCSIREQ_T_CMD 1" >>confdefs.h
20274 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>
20275 #ifdef HAVE_SCSI_SG_H
20276 #include <scsi/sg.h>
20277 #endif
20279 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
20280 then :
20282 printf "%s\n" "#define HAVE_SG_IO_HDR_T_INTERFACE_ID 1" >>confdefs.h
20288 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
20290 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
20291 then :
20293 printf "%s\n" "#define HAVE_SIGINFO_T_SI_FD 1" >>confdefs.h
20299 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
20300 #ifdef HAVE_SYS_MTIO_H
20301 #include <sys/mtio.h>
20302 #endif
20304 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes
20305 then :
20307 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKSIZ 1" >>confdefs.h
20311 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
20312 #ifdef HAVE_SYS_MTIO_H
20313 #include <sys/mtio.h>
20314 #endif
20316 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes
20317 then :
20319 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_GSTAT 1" >>confdefs.h
20323 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
20324 #ifdef HAVE_SYS_MTIO_H
20325 #include <sys/mtio.h>
20326 #endif
20328 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
20329 then :
20331 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKNO 1" >>confdefs.h
20337 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
20338 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
20339 then :
20341 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIM 1" >>confdefs.h
20345 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
20346 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes
20347 then :
20349 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIMESPEC 1" >>confdefs.h
20353 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
20354 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
20355 then :
20357 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIM 1" >>confdefs.h
20361 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
20362 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes
20363 then :
20365 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIMESPEC 1" >>confdefs.h
20369 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
20370 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
20371 then :
20373 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIM 1" >>confdefs.h
20377 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
20378 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes
20379 then :
20381 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIMESPEC 1" >>confdefs.h
20385 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
20386 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes
20387 then :
20389 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIME 1" >>confdefs.h
20393 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
20394 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes
20395 then :
20397 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIM 1" >>confdefs.h
20401 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
20402 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes
20403 then :
20405 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1" >>confdefs.h
20409 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
20410 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes
20411 then :
20413 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIME 1" >>confdefs.h
20417 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
20418 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes
20419 then :
20421 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIM 1" >>confdefs.h
20427 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>
20428 #ifdef HAVE_NETINET_IN_H
20429 #include <netinet/in.h>
20430 #endif
20432 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
20433 then :
20435 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1" >>confdefs.h
20441 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
20442 #include <resolv.h>
20443 #endif
20445 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes
20446 then :
20448 printf "%s\n" "#define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1" >>confdefs.h
20454 ac_fn_c_check_member "$LINENO" "struct in6_pktinfo" "ipi6_addr" "ac_cv_member_struct_in6_pktinfo_ipi6_addr" "#ifdef HAVE_NETINET_IN_H
20455 #include <netinet/in.h>
20456 #endif
20458 if test "x$ac_cv_member_struct_in6_pktinfo_ipi6_addr" = xyes
20459 then :
20461 printf "%s\n" "#define HAVE_STRUCT_IN6_PKTINFO_IPI6_ADDR 1" >>confdefs.h
20467 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#include <sys/types.h>
20468 #ifdef HAVE_SYS_SOCKETVAR_H
20469 #include <sys/socketvar.h>
20470 #endif
20471 #ifdef HAVE_NETINET_IN_H
20472 #include <netinet/in.h>
20473 #endif
20474 #ifdef HAVE_NETINET_IP_VAR_H
20475 #include <netinet/ip_var.h>
20476 #endif
20478 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes
20479 then :
20481 printf "%s\n" "#define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1" >>confdefs.h
20487 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
20488 #include <netinet/ip_var.h>
20489 #endif
20491 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes
20492 then :
20494 printf "%s\n" "#define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1" >>confdefs.h
20500 ac_fn_c_check_member "$LINENO" "struct ip6stat" "ip6s_total" "ac_cv_member_struct_ip6stat_ip6s_total" "#include <sys/types.h>
20501 #ifdef HAVE_SYS_SOCKETVAR_H
20502 #include <sys/socketvar.h>
20503 #endif
20504 #ifdef HAVE_NETINET_IN_H
20505 #include <netinet/in.h>
20506 #endif
20507 #ifdef HAVE_NETINET6_IP6_VAR_H
20508 #include <netinet6/ip6_var.h>
20509 #endif
20511 if test "x$ac_cv_member_struct_ip6stat_ip6s_total" = xyes
20512 then :
20514 printf "%s\n" "#define HAVE_STRUCT_IP6STAT_IP6S_TOTAL 1" >>confdefs.h
20520 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_error" "ac_cv_member_struct_icmpstat_icps_error" "#include <sys/types.h>
20521 #ifdef HAVE_SYS_SOCKETVAR_H
20522 #include <sys/socketvar.h>
20523 #endif
20524 #ifdef HAVE_NETINET_IN_H
20525 #include <netinet/in.h>
20526 #endif
20527 #ifdef HAVE_NETINET_IP_H
20528 #include <netinet/ip.h>
20529 #endif
20530 #ifdef HAVE_NETINET_IP_ICMP_H
20531 #include <netinet/ip_icmp.h>
20532 #endif
20533 #ifdef HAVE_NETINET_ICMP_VAR_H
20534 #include <netinet/icmp_var.h>
20535 #endif
20537 if test "x$ac_cv_member_struct_icmpstat_icps_error" = xyes
20538 then :
20540 printf "%s\n" "#define HAVE_STRUCT_ICMPSTAT_ICPS_ERROR 1" >>confdefs.h
20546 ac_fn_c_check_member "$LINENO" "struct icmp6stat" "icp6s_error" "ac_cv_member_struct_icmp6stat_icp6s_error" "#include <sys/types.h>
20547 #ifdef HAVE_SYS_SOCKETVAR_H
20548 #include <sys/socketvar.h>
20549 #endif
20550 #ifdef HAVE_NETINET_IN_H
20551 #include <netinet/in.h>
20552 #endif
20553 #ifdef HAVE_NETINET_ICMP6_H
20554 #include <netinet/icmp6.h>
20555 #endif
20557 if test "x$ac_cv_member_struct_icmp6stat_icp6s_error" = xyes
20558 then :
20560 printf "%s\n" "#define HAVE_STRUCT_ICMP6STAT_ICP6S_ERROR 1" >>confdefs.h
20566 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#include <sys/types.h>
20567 #ifdef HAVE_SYS_SOCKETVAR_H
20568 #include <sys/socketvar.h>
20569 #endif
20570 #ifdef HAVE_NETINET_IN_H
20571 #include <netinet/in.h>
20572 #endif
20573 #ifdef HAVE_NETINET_TCP_H
20574 #include <netinet/tcp.h>
20575 #endif
20576 #ifdef HAVE_NETINET_TCP_VAR_H
20577 #include <netinet/tcp_var.h>
20578 #endif
20580 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes
20581 then :
20583 printf "%s\n" "#define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1" >>confdefs.h
20589 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
20590 #include <netinet/tcp_var.h>
20591 #endif
20593 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes
20594 then :
20596 printf "%s\n" "#define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1" >>confdefs.h
20602 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#include <sys/types.h>
20603 #ifdef HAVE_NETINET_IN_H
20604 #include <netinet/in.h>
20605 #endif
20606 #ifdef HAVE_NETINET_IP_VAR_H
20607 #include <netinet/ip_var.h>
20608 #endif
20609 #ifdef HAVE_NETINET_UDP_H
20610 #include <netinet/udp.h>
20611 #endif
20612 #ifdef HAVE_NETINET_UDP_VAR_H
20613 #include <netinet/udp_var.h>
20614 #endif
20616 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes
20617 then :
20619 printf "%s\n" "#define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1" >>confdefs.h
20625 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#include <sys/types.h>
20626 #ifdef HAVE_NET_IF_H
20627 # include <net/if.h>
20628 #endif
20630 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
20631 then :
20633 printf "%s\n" "#define HAVE_STRUCT_IFREQ_IFR_HWADDR 1" >>confdefs.h
20639 ac_fn_c_check_member "$LINENO" "struct sysinfo" "totalram" "ac_cv_member_struct_sysinfo_totalram" "#ifdef HAVE_SYS_SYSINFO_H
20640 # include <sys/sysinfo.h>
20641 #endif
20643 if test "x$ac_cv_member_struct_sysinfo_totalram" = xyes
20644 then :
20646 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_TOTALRAM 1" >>confdefs.h
20650 ac_fn_c_check_member "$LINENO" "struct sysinfo" "mem_unit" "ac_cv_member_struct_sysinfo_mem_unit" "#ifdef HAVE_SYS_SYSINFO_H
20651 # include <sys/sysinfo.h>
20652 #endif
20654 if test "x$ac_cv_member_struct_sysinfo_mem_unit" = xyes
20655 then :
20657 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_MEM_UNIT 1" >>confdefs.h
20663 LIBS="$ac_save_LIBS"
20665 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
20666 printf %s "checking for __builtin_popcount... " >&6; }
20667 if test ${ac_cv_have___builtin_popcount+y}
20668 then :
20669 printf %s "(cached) " >&6
20670 else $as_nop
20671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20672 /* end confdefs.h. */
20675 main (void)
20677 return __builtin_popcount(1)
20679 return 0;
20681 _ACEOF
20682 if ac_fn_c_try_link "$LINENO"
20683 then :
20684 ac_cv_have___builtin_popcount="yes"
20685 else $as_nop
20686 ac_cv_have___builtin_popcount="no"
20688 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20689 conftest$ac_exeext conftest.$ac_ext
20691 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
20692 printf "%s\n" "$ac_cv_have___builtin_popcount" >&6; }
20693 if test "$ac_cv_have___builtin_popcount" = "yes"
20694 then
20696 printf "%s\n" "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
20700 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
20701 printf %s "checking for __clear_cache... " >&6; }
20702 if test ${ac_cv_have___clear_cache+y}
20703 then :
20704 printf %s "(cached) " >&6
20705 else $as_nop
20706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20707 /* end confdefs.h. */
20710 main (void)
20712 __clear_cache((void*)0, (void*)0); return 0;
20714 return 0;
20716 _ACEOF
20717 if ac_fn_c_try_link "$LINENO"
20718 then :
20719 ac_cv_have___clear_cache="yes"
20720 else $as_nop
20721 ac_cv_have___clear_cache="no"
20723 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20724 conftest$ac_exeext conftest.$ac_ext
20726 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
20727 printf "%s\n" "$ac_cv_have___clear_cache" >&6; }
20728 if test "$ac_cv_have___clear_cache" = "yes"
20729 then
20731 printf "%s\n" "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
20736 case $host_cpu in
20737 *i[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
20738 printf %s "checking whether we need to define __i386__... " >&6; }
20739 if test ${ac_cv_cpp_def___i386__+y}
20740 then :
20741 printf %s "(cached) " >&6
20742 else $as_nop
20743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20744 /* end confdefs.h. */
20745 #ifndef __i386__
20747 #endif
20748 _ACEOF
20749 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20750 $EGREP "yes" >/dev/null 2>&1
20751 then :
20752 ac_cv_cpp_def___i386__=yes
20753 else $as_nop
20754 ac_cv_cpp_def___i386__=no
20756 rm -rf conftest*
20759 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
20760 printf "%s\n" "$ac_cv_cpp_def___i386__" >&6; }
20761 if test "x$ac_cv_cpp_def___i386__" = xyes
20762 then :
20763 CFLAGS="$CFLAGS -D__i386__"
20764 LINTFLAGS="$LINTFLAGS -D__i386__"
20765 fi ;;
20766 *x86_64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
20767 printf %s "checking whether we need to define __x86_64__... " >&6; }
20768 if test ${ac_cv_cpp_def___x86_64__+y}
20769 then :
20770 printf %s "(cached) " >&6
20771 else $as_nop
20772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20773 /* end confdefs.h. */
20774 #ifndef __x86_64__
20776 #endif
20777 _ACEOF
20778 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20779 $EGREP "yes" >/dev/null 2>&1
20780 then :
20781 ac_cv_cpp_def___x86_64__=yes
20782 else $as_nop
20783 ac_cv_cpp_def___x86_64__=no
20785 rm -rf conftest*
20788 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
20789 printf "%s\n" "$ac_cv_cpp_def___x86_64__" >&6; }
20790 if test "x$ac_cv_cpp_def___x86_64__" = xyes
20791 then :
20792 CFLAGS="$CFLAGS -D__x86_64__"
20793 LINTFLAGS="$LINTFLAGS -D__x86_64__"
20794 fi ;;
20795 *sparc64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
20796 printf %s "checking whether we need to define __sparc64__... " >&6; }
20797 if test ${ac_cv_cpp_def___sparc64__+y}
20798 then :
20799 printf %s "(cached) " >&6
20800 else $as_nop
20801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20802 /* end confdefs.h. */
20803 #ifndef __sparc64__
20805 #endif
20806 _ACEOF
20807 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20808 $EGREP "yes" >/dev/null 2>&1
20809 then :
20810 ac_cv_cpp_def___sparc64__=yes
20811 else $as_nop
20812 ac_cv_cpp_def___sparc64__=no
20814 rm -rf conftest*
20817 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
20818 printf "%s\n" "$ac_cv_cpp_def___sparc64__" >&6; }
20819 if test "x$ac_cv_cpp_def___sparc64__" = xyes
20820 then :
20821 CFLAGS="$CFLAGS -D__sparc64__"
20822 LINTFLAGS="$LINTFLAGS -D__sparc64__"
20823 fi ;;
20824 *sparc*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
20825 printf %s "checking whether we need to define __sparc__... " >&6; }
20826 if test ${ac_cv_cpp_def___sparc__+y}
20827 then :
20828 printf %s "(cached) " >&6
20829 else $as_nop
20830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20831 /* end confdefs.h. */
20832 #ifndef __sparc__
20834 #endif
20835 _ACEOF
20836 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20837 $EGREP "yes" >/dev/null 2>&1
20838 then :
20839 ac_cv_cpp_def___sparc__=yes
20840 else $as_nop
20841 ac_cv_cpp_def___sparc__=no
20843 rm -rf conftest*
20846 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
20847 printf "%s\n" "$ac_cv_cpp_def___sparc__" >&6; }
20848 if test "x$ac_cv_cpp_def___sparc__" = xyes
20849 then :
20850 CFLAGS="$CFLAGS -D__sparc__"
20851 LINTFLAGS="$LINTFLAGS -D__sparc__"
20852 fi ;;
20853 *powerpc64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
20854 printf %s "checking whether we need to define __powerpc64__... " >&6; }
20855 if test ${ac_cv_cpp_def___powerpc64__+y}
20856 then :
20857 printf %s "(cached) " >&6
20858 else $as_nop
20859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20860 /* end confdefs.h. */
20861 #ifndef __powerpc64__
20863 #endif
20864 _ACEOF
20865 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20866 $EGREP "yes" >/dev/null 2>&1
20867 then :
20868 ac_cv_cpp_def___powerpc64__=yes
20869 else $as_nop
20870 ac_cv_cpp_def___powerpc64__=no
20872 rm -rf conftest*
20875 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
20876 printf "%s\n" "$ac_cv_cpp_def___powerpc64__" >&6; }
20877 if test "x$ac_cv_cpp_def___powerpc64__" = xyes
20878 then :
20879 CFLAGS="$CFLAGS -D__powerpc64__"
20880 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
20881 fi ;;
20882 *powerpc*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
20883 printf %s "checking whether we need to define __powerpc__... " >&6; }
20884 if test ${ac_cv_cpp_def___powerpc__+y}
20885 then :
20886 printf %s "(cached) " >&6
20887 else $as_nop
20888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20889 /* end confdefs.h. */
20890 #ifndef __powerpc__
20892 #endif
20893 _ACEOF
20894 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20895 $EGREP "yes" >/dev/null 2>&1
20896 then :
20897 ac_cv_cpp_def___powerpc__=yes
20898 else $as_nop
20899 ac_cv_cpp_def___powerpc__=no
20901 rm -rf conftest*
20904 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
20905 printf "%s\n" "$ac_cv_cpp_def___powerpc__" >&6; }
20906 if test "x$ac_cv_cpp_def___powerpc__" = xyes
20907 then :
20908 CFLAGS="$CFLAGS -D__powerpc__"
20909 LINTFLAGS="$LINTFLAGS -D__powerpc__"
20910 fi ;;
20911 *aarch64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
20912 printf %s "checking whether we need to define __aarch64__... " >&6; }
20913 if test ${ac_cv_cpp_def___aarch64__+y}
20914 then :
20915 printf %s "(cached) " >&6
20916 else $as_nop
20917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20918 /* end confdefs.h. */
20919 #ifndef __aarch64__
20921 #endif
20922 _ACEOF
20923 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20924 $EGREP "yes" >/dev/null 2>&1
20925 then :
20926 ac_cv_cpp_def___aarch64__=yes
20927 else $as_nop
20928 ac_cv_cpp_def___aarch64__=no
20930 rm -rf conftest*
20933 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
20934 printf "%s\n" "$ac_cv_cpp_def___aarch64__" >&6; }
20935 if test "x$ac_cv_cpp_def___aarch64__" = xyes
20936 then :
20937 CFLAGS="$CFLAGS -D__aarch64__"
20938 LINTFLAGS="$LINTFLAGS -D__aarch64__"
20939 fi ;;
20940 *arm*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
20941 printf %s "checking whether we need to define __arm__... " >&6; }
20942 if test ${ac_cv_cpp_def___arm__+y}
20943 then :
20944 printf %s "(cached) " >&6
20945 else $as_nop
20946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20947 /* end confdefs.h. */
20948 #ifndef __arm__
20950 #endif
20951 _ACEOF
20952 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20953 $EGREP "yes" >/dev/null 2>&1
20954 then :
20955 ac_cv_cpp_def___arm__=yes
20956 else $as_nop
20957 ac_cv_cpp_def___arm__=no
20959 rm -rf conftest*
20962 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
20963 printf "%s\n" "$ac_cv_cpp_def___arm__" >&6; }
20964 if test "x$ac_cv_cpp_def___arm__" = xyes
20965 then :
20966 CFLAGS="$CFLAGS -D__arm__"
20967 LINTFLAGS="$LINTFLAGS -D__arm__"
20968 fi ;;
20969 esac
20971 case $host_vendor in
20972 *sun*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
20973 printf %s "checking whether we need to define __sun__... " >&6; }
20974 if test ${ac_cv_cpp_def___sun__+y}
20975 then :
20976 printf %s "(cached) " >&6
20977 else $as_nop
20978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20979 /* end confdefs.h. */
20980 #ifndef __sun__
20982 #endif
20983 _ACEOF
20984 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20985 $EGREP "yes" >/dev/null 2>&1
20986 then :
20987 ac_cv_cpp_def___sun__=yes
20988 else $as_nop
20989 ac_cv_cpp_def___sun__=no
20991 rm -rf conftest*
20994 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
20995 printf "%s\n" "$ac_cv_cpp_def___sun__" >&6; }
20996 if test "x$ac_cv_cpp_def___sun__" = xyes
20997 then :
20998 CFLAGS="$CFLAGS -D__sun__"
20999 LINTFLAGS="$LINTFLAGS -D__sun__"
21000 fi ;;
21001 esac
21007 ac_config_commands="$ac_config_commands include/stamp-h"
21009 printf %s "creating Makefile rules..." >&6
21011 makedep_flags=""
21012 test "x$enable_silent_rules" = xyes && makedep_flags="$makedep_flags -S"
21014 wine_srcdir=
21015 test "$srcdir" = . || wine_srcdir="$srcdir/"
21017 ac_config_links="$ac_config_links wine:tools/winewrapper"
21018 wine_fn_config_symlink wine
21019 if test "$HOST_ARCH" = x86_64 -o -n "$with_wine64"; then
21020 ac_config_links="$ac_config_links wine64:tools/winewrapper"
21021 wine_fn_config_symlink wine64
21024 wine_fn_config_makefile dlls/acledit enable_acledit
21025 wine_fn_config_makefile dlls/aclui enable_aclui
21026 wine_fn_config_makefile dlls/activeds.tlb enable_activeds_tlb
21027 wine_fn_config_makefile dlls/activeds enable_activeds
21028 wine_fn_config_makefile dlls/activeds/tests enable_tests
21029 wine_fn_config_makefile dlls/actxprxy enable_actxprxy
21030 wine_fn_config_makefile dlls/adsldp enable_adsldp
21031 wine_fn_config_makefile dlls/adsldp/tests enable_tests
21032 wine_fn_config_makefile dlls/adsldpc enable_adsldpc
21033 wine_fn_config_makefile dlls/advapi32 enable_advapi32
21034 wine_fn_config_makefile dlls/advapi32/tests enable_tests
21035 wine_fn_config_makefile dlls/advpack enable_advpack
21036 wine_fn_config_makefile dlls/advpack/tests enable_tests
21037 wine_fn_config_makefile dlls/amsi enable_amsi
21038 wine_fn_config_makefile dlls/amstream enable_amstream
21039 wine_fn_config_makefile dlls/amstream/tests enable_tests
21040 wine_fn_config_makefile dlls/apisetschema enable_apisetschema
21041 wine_fn_config_makefile dlls/apphelp enable_apphelp
21042 wine_fn_config_makefile dlls/apphelp/tests enable_tests
21043 wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
21044 wine_fn_config_makefile dlls/atl enable_atl
21045 wine_fn_config_makefile dlls/atl/tests enable_tests
21046 wine_fn_config_makefile dlls/atl100 enable_atl100
21047 wine_fn_config_makefile dlls/atl100/tests enable_tests
21048 wine_fn_config_makefile dlls/atl110 enable_atl110
21049 wine_fn_config_makefile dlls/atl110/tests enable_tests
21050 wine_fn_config_makefile dlls/atl80 enable_atl80
21051 wine_fn_config_makefile dlls/atl80/tests enable_tests
21052 wine_fn_config_makefile dlls/atl90 enable_atl90
21053 wine_fn_config_makefile dlls/atlthunk enable_atlthunk
21054 wine_fn_config_makefile dlls/atlthunk/tests enable_tests
21055 wine_fn_config_makefile dlls/atmlib enable_atmlib
21056 wine_fn_config_makefile dlls/authz enable_authz
21057 wine_fn_config_makefile dlls/avicap32 enable_avicap32
21058 wine_fn_config_makefile dlls/avifil32 enable_avifil32
21059 wine_fn_config_makefile dlls/avifil32/tests enable_tests
21060 wine_fn_config_makefile dlls/avifile.dll16 enable_win16
21061 wine_fn_config_makefile dlls/avrt enable_avrt
21062 wine_fn_config_makefile dlls/bcrypt enable_bcrypt
21063 wine_fn_config_makefile dlls/bcrypt/tests enable_tests
21064 wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
21065 wine_fn_config_makefile dlls/browseui enable_browseui
21066 wine_fn_config_makefile dlls/browseui/tests enable_tests
21067 wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
21068 wine_fn_config_makefile dlls/cabinet enable_cabinet
21069 wine_fn_config_makefile dlls/cabinet/tests enable_tests
21070 wine_fn_config_makefile dlls/capi2032 enable_capi2032
21071 wine_fn_config_makefile dlls/cards enable_cards
21072 wine_fn_config_makefile dlls/cdosys enable_cdosys
21073 wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
21074 wine_fn_config_makefile dlls/cfgmgr32/tests enable_tests
21075 wine_fn_config_makefile dlls/clusapi enable_clusapi
21076 wine_fn_config_makefile dlls/cng.sys enable_cng_sys
21077 wine_fn_config_makefile dlls/combase enable_combase
21078 wine_fn_config_makefile dlls/combase/tests enable_tests
21079 wine_fn_config_makefile dlls/comcat enable_comcat
21080 wine_fn_config_makefile dlls/comcat/tests enable_tests
21081 wine_fn_config_makefile dlls/comctl32 enable_comctl32
21082 wine_fn_config_makefile dlls/comctl32/tests enable_tests
21083 wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
21084 wine_fn_config_makefile dlls/comdlg32/tests enable_tests
21085 wine_fn_config_makefile dlls/comm.drv16 enable_win16
21086 wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
21087 wine_fn_config_makefile dlls/compobj.dll16 enable_win16
21088 wine_fn_config_makefile dlls/compstui enable_compstui
21089 wine_fn_config_makefile dlls/compstui/tests enable_tests
21090 wine_fn_config_makefile dlls/comsvcs enable_comsvcs
21091 wine_fn_config_makefile dlls/comsvcs/tests enable_tests
21092 wine_fn_config_makefile dlls/concrt140 enable_concrt140
21093 wine_fn_config_makefile dlls/concrt140/tests enable_tests
21094 wine_fn_config_makefile dlls/connect enable_connect
21095 wine_fn_config_makefile dlls/credui enable_credui
21096 wine_fn_config_makefile dlls/credui/tests enable_tests
21097 wine_fn_config_makefile dlls/crtdll enable_crtdll
21098 wine_fn_config_makefile dlls/crypt32 enable_crypt32
21099 wine_fn_config_makefile dlls/crypt32/tests enable_tests
21100 wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
21101 wine_fn_config_makefile dlls/cryptdll enable_cryptdll
21102 wine_fn_config_makefile dlls/cryptext enable_cryptext
21103 wine_fn_config_makefile dlls/cryptnet enable_cryptnet
21104 wine_fn_config_makefile dlls/cryptnet/tests enable_tests
21105 wine_fn_config_makefile dlls/cryptowinrt enable_cryptowinrt
21106 wine_fn_config_makefile dlls/cryptowinrt/tests enable_tests
21107 wine_fn_config_makefile dlls/cryptsp enable_cryptsp
21108 wine_fn_config_makefile dlls/cryptui enable_cryptui
21109 wine_fn_config_makefile dlls/cryptui/tests enable_tests
21110 wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
21111 wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
21112 wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
21113 wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
21114 wine_fn_config_makefile dlls/d2d1 enable_d2d1
21115 wine_fn_config_makefile dlls/d2d1/tests enable_tests
21116 wine_fn_config_makefile dlls/d3d10 enable_d3d10
21117 wine_fn_config_makefile dlls/d3d10/tests enable_tests
21118 wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
21119 wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
21120 wine_fn_config_makefile dlls/d3d10core enable_d3d10core
21121 wine_fn_config_makefile dlls/d3d10core/tests enable_tests
21122 wine_fn_config_makefile dlls/d3d11 enable_d3d11
21123 wine_fn_config_makefile dlls/d3d11/tests enable_tests
21124 wine_fn_config_makefile dlls/d3d12 enable_d3d12
21125 wine_fn_config_makefile dlls/d3d12/tests enable_tests
21126 wine_fn_config_makefile dlls/d3d12core enable_d3d12core
21127 wine_fn_config_makefile dlls/d3d8 enable_d3d8
21128 wine_fn_config_makefile dlls/d3d8/tests enable_tests
21129 wine_fn_config_makefile dlls/d3d8thk enable_d3d8thk
21130 wine_fn_config_makefile dlls/d3d9 enable_d3d9
21131 wine_fn_config_makefile dlls/d3d9/tests enable_tests
21132 wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
21133 wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
21134 wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
21135 wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
21136 wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
21137 wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
21138 wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
21139 wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
21140 wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
21141 wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
21142 wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
21143 wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
21144 wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
21145 wine_fn_config_makefile dlls/d3dcompiler_46/tests enable_tests
21146 wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
21147 wine_fn_config_makefile dlls/d3dcompiler_47/tests enable_tests
21148 wine_fn_config_makefile dlls/d3dim enable_d3dim
21149 wine_fn_config_makefile dlls/d3dim700 enable_d3dim700
21150 wine_fn_config_makefile dlls/d3drm enable_d3drm
21151 wine_fn_config_makefile dlls/d3drm/tests enable_tests
21152 wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
21153 wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
21154 wine_fn_config_makefile dlls/d3dx10_34/tests enable_tests
21155 wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
21156 wine_fn_config_makefile dlls/d3dx10_35/tests enable_tests
21157 wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
21158 wine_fn_config_makefile dlls/d3dx10_36/tests enable_tests
21159 wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
21160 wine_fn_config_makefile dlls/d3dx10_37/tests enable_tests
21161 wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
21162 wine_fn_config_makefile dlls/d3dx10_38/tests enable_tests
21163 wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
21164 wine_fn_config_makefile dlls/d3dx10_39/tests enable_tests
21165 wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
21166 wine_fn_config_makefile dlls/d3dx10_40/tests enable_tests
21167 wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
21168 wine_fn_config_makefile dlls/d3dx10_41/tests enable_tests
21169 wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
21170 wine_fn_config_makefile dlls/d3dx10_42/tests enable_tests
21171 wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
21172 wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
21173 wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
21174 wine_fn_config_makefile dlls/d3dx11_42/tests enable_tests
21175 wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
21176 wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
21177 wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
21178 wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
21179 wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
21180 wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
21181 wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
21182 wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
21183 wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
21184 wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
21185 wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
21186 wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
21187 wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
21188 wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
21189 wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
21190 wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
21191 wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
21192 wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
21193 wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
21194 wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
21195 wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
21196 wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
21197 wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
21198 wine_fn_config_makefile dlls/d3dxof enable_d3dxof
21199 wine_fn_config_makefile dlls/d3dxof/tests enable_tests
21200 wine_fn_config_makefile dlls/davclnt enable_davclnt
21201 wine_fn_config_makefile dlls/dbgeng enable_dbgeng
21202 wine_fn_config_makefile dlls/dbgeng/tests enable_tests
21203 wine_fn_config_makefile dlls/dbghelp enable_dbghelp
21204 wine_fn_config_makefile dlls/dbghelp/tests enable_tests
21205 wine_fn_config_makefile dlls/dciman32 enable_dciman32
21206 wine_fn_config_makefile dlls/dcomp enable_dcomp
21207 wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
21208 wine_fn_config_makefile dlls/ddraw enable_ddraw
21209 wine_fn_config_makefile dlls/ddraw/tests enable_tests
21210 wine_fn_config_makefile dlls/ddrawex enable_ddrawex
21211 wine_fn_config_makefile dlls/ddrawex/tests enable_tests
21212 wine_fn_config_makefile dlls/devenum enable_devenum
21213 wine_fn_config_makefile dlls/devenum/tests enable_tests
21214 wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
21215 wine_fn_config_makefile dlls/dhcpcsvc/tests enable_tests
21216 wine_fn_config_makefile dlls/dhcpcsvc6 enable_dhcpcsvc6
21217 wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
21218 wine_fn_config_makefile dlls/diasymreader enable_diasymreader
21219 wine_fn_config_makefile dlls/difxapi enable_difxapi
21220 wine_fn_config_makefile dlls/dinput enable_dinput
21221 wine_fn_config_makefile dlls/dinput/tests enable_tests
21222 wine_fn_config_makefile dlls/dinput8 enable_dinput8
21223 wine_fn_config_makefile dlls/directmanipulation enable_directmanipulation
21224 wine_fn_config_makefile dlls/directmanipulation/tests enable_tests
21225 wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
21226 wine_fn_config_makefile dlls/dispex enable_dispex
21227 wine_fn_config_makefile dlls/dispex/tests enable_tests
21228 wine_fn_config_makefile dlls/display.drv16 enable_win16
21229 wine_fn_config_makefile dlls/dmband enable_dmband
21230 wine_fn_config_makefile dlls/dmband/tests enable_tests
21231 wine_fn_config_makefile dlls/dmcompos enable_dmcompos
21232 wine_fn_config_makefile dlls/dmcompos/tests enable_tests
21233 wine_fn_config_makefile dlls/dmime enable_dmime
21234 wine_fn_config_makefile dlls/dmime/tests enable_tests
21235 wine_fn_config_makefile dlls/dmloader enable_dmloader
21236 wine_fn_config_makefile dlls/dmloader/tests enable_tests
21237 wine_fn_config_makefile dlls/dmscript enable_dmscript
21238 wine_fn_config_makefile dlls/dmscript/tests enable_tests
21239 wine_fn_config_makefile dlls/dmstyle enable_dmstyle
21240 wine_fn_config_makefile dlls/dmstyle/tests enable_tests
21241 wine_fn_config_makefile dlls/dmsynth enable_dmsynth
21242 wine_fn_config_makefile dlls/dmsynth/tests enable_tests
21243 wine_fn_config_makefile dlls/dmusic enable_dmusic
21244 wine_fn_config_makefile dlls/dmusic/tests enable_tests
21245 wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
21246 wine_fn_config_makefile dlls/dnsapi enable_dnsapi
21247 wine_fn_config_makefile dlls/dnsapi/tests enable_tests
21248 wine_fn_config_makefile dlls/dplay enable_dplay
21249 wine_fn_config_makefile dlls/dplayx enable_dplayx
21250 wine_fn_config_makefile dlls/dplayx/tests enable_tests
21251 wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
21252 wine_fn_config_makefile dlls/dpnet enable_dpnet
21253 wine_fn_config_makefile dlls/dpnet/tests enable_tests
21254 wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
21255 wine_fn_config_makefile dlls/dpnhupnp enable_dpnhupnp
21256 wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
21257 wine_fn_config_makefile dlls/dpvoice enable_dpvoice
21258 wine_fn_config_makefile dlls/dpvoice/tests enable_tests
21259 wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
21260 wine_fn_config_makefile dlls/drmclien enable_drmclien
21261 wine_fn_config_makefile dlls/dsdmo enable_dsdmo
21262 wine_fn_config_makefile dlls/dsdmo/tests enable_tests
21263 wine_fn_config_makefile dlls/dsound enable_dsound
21264 wine_fn_config_makefile dlls/dsound/tests enable_tests
21265 wine_fn_config_makefile dlls/dsquery enable_dsquery
21266 wine_fn_config_makefile dlls/dssenh enable_dssenh
21267 wine_fn_config_makefile dlls/dssenh/tests enable_tests
21268 wine_fn_config_makefile dlls/dsuiext enable_dsuiext
21269 wine_fn_config_makefile dlls/dswave enable_dswave
21270 wine_fn_config_makefile dlls/dswave/tests enable_tests
21271 wine_fn_config_makefile dlls/dwmapi enable_dwmapi
21272 wine_fn_config_makefile dlls/dwmapi/tests enable_tests
21273 wine_fn_config_makefile dlls/dwrite enable_dwrite
21274 wine_fn_config_makefile dlls/dwrite/tests enable_tests
21275 wine_fn_config_makefile dlls/dx8vb enable_dx8vb
21276 wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
21277 wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
21278 wine_fn_config_makefile dlls/dxgi enable_dxgi
21279 wine_fn_config_makefile dlls/dxgi/tests enable_tests
21280 wine_fn_config_makefile dlls/dxtrans enable_dxtrans
21281 wine_fn_config_makefile dlls/dxva2 enable_dxva2
21282 wine_fn_config_makefile dlls/dxva2/tests enable_tests
21283 wine_fn_config_makefile dlls/esent enable_esent
21284 wine_fn_config_makefile dlls/evr enable_evr
21285 wine_fn_config_makefile dlls/evr/tests enable_tests
21286 wine_fn_config_makefile dlls/explorerframe enable_explorerframe
21287 wine_fn_config_makefile dlls/explorerframe/tests enable_tests
21288 wine_fn_config_makefile dlls/faultrep enable_faultrep
21289 wine_fn_config_makefile dlls/faultrep/tests enable_tests
21290 wine_fn_config_makefile dlls/feclient enable_feclient
21291 wine_fn_config_makefile dlls/fltlib enable_fltlib
21292 wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
21293 wine_fn_config_makefile dlls/fntcache enable_fntcache
21294 wine_fn_config_makefile dlls/fontsub enable_fontsub
21295 wine_fn_config_makefile dlls/fusion enable_fusion
21296 wine_fn_config_makefile dlls/fusion/tests enable_tests
21297 wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
21298 wine_fn_config_makefile dlls/gameux enable_gameux
21299 wine_fn_config_makefile dlls/gameux/tests enable_tests
21300 wine_fn_config_makefile dlls/gamingtcui enable_gamingtcui
21301 wine_fn_config_makefile dlls/gdi.exe16 enable_win16
21302 wine_fn_config_makefile dlls/gdi32 enable_gdi32
21303 wine_fn_config_makefile dlls/gdi32/tests enable_tests
21304 wine_fn_config_makefile dlls/gdiplus enable_gdiplus
21305 wine_fn_config_makefile dlls/gdiplus/tests enable_tests
21306 wine_fn_config_makefile dlls/glu32 enable_glu32
21307 wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
21308 wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
21309 wine_fn_config_makefile dlls/graphicscapture enable_graphicscapture
21310 wine_fn_config_makefile dlls/graphicscapture/tests enable_tests
21311 wine_fn_config_makefile dlls/hal enable_hal
21312 wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
21313 wine_fn_config_makefile dlls/hid enable_hid
21314 wine_fn_config_makefile dlls/hid/tests enable_tests
21315 wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
21316 wine_fn_config_makefile dlls/hidparse.sys enable_hidparse_sys
21317 wine_fn_config_makefile dlls/hlink enable_hlink
21318 wine_fn_config_makefile dlls/hlink/tests enable_tests
21319 wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
21320 wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
21321 wine_fn_config_makefile dlls/http.sys enable_http_sys
21322 wine_fn_config_makefile dlls/httpapi enable_httpapi
21323 wine_fn_config_makefile dlls/httpapi/tests enable_tests
21324 wine_fn_config_makefile dlls/ia2comproxy enable_ia2comproxy
21325 wine_fn_config_makefile dlls/iccvid enable_iccvid
21326 wine_fn_config_makefile dlls/icmp enable_icmp
21327 wine_fn_config_makefile dlls/ieframe enable_ieframe
21328 wine_fn_config_makefile dlls/ieframe/tests enable_tests
21329 wine_fn_config_makefile dlls/ieproxy enable_ieproxy
21330 wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
21331 wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
21332 wine_fn_config_makefile dlls/imagehlp enable_imagehlp
21333 wine_fn_config_makefile dlls/imagehlp/tests enable_tests
21334 wine_fn_config_makefile dlls/imm.dll16 enable_win16
21335 wine_fn_config_makefile dlls/imm32 enable_imm32
21336 wine_fn_config_makefile dlls/imm32/tests enable_tests
21337 wine_fn_config_makefile dlls/inetcomm enable_inetcomm
21338 wine_fn_config_makefile dlls/inetcomm/tests enable_tests
21339 wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
21340 wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
21341 wine_fn_config_makefile dlls/inetmib1/tests enable_tests
21342 wine_fn_config_makefile dlls/infosoft enable_infosoft
21343 wine_fn_config_makefile dlls/infosoft/tests enable_tests
21344 wine_fn_config_makefile dlls/initpki enable_initpki
21345 wine_fn_config_makefile dlls/inkobj enable_inkobj
21346 wine_fn_config_makefile dlls/inseng enable_inseng
21347 wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
21348 wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
21349 wine_fn_config_makefile dlls/iprop enable_iprop
21350 wine_fn_config_makefile dlls/ir50_32 enable_ir50_32
21351 wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
21352 wine_fn_config_makefile dlls/itircl enable_itircl
21353 wine_fn_config_makefile dlls/itss enable_itss
21354 wine_fn_config_makefile dlls/itss/tests enable_tests
21355 wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
21356 wine_fn_config_makefile dlls/jscript enable_jscript
21357 wine_fn_config_makefile dlls/jscript/tests enable_tests
21358 wine_fn_config_makefile dlls/jsproxy enable_jsproxy
21359 wine_fn_config_makefile dlls/jsproxy/tests enable_tests
21360 wine_fn_config_makefile dlls/kerberos enable_kerberos
21361 wine_fn_config_makefile dlls/kernel32 enable_kernel32
21362 wine_fn_config_makefile dlls/kernel32/tests enable_tests
21363 wine_fn_config_makefile dlls/kernelbase enable_kernelbase
21364 wine_fn_config_makefile dlls/kernelbase/tests enable_tests
21365 wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
21366 wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
21367 wine_fn_config_makefile dlls/ksecdd.sys enable_ksecdd_sys
21368 wine_fn_config_makefile dlls/ksproxy.ax enable_ksproxy_ax
21369 wine_fn_config_makefile dlls/ksuser enable_ksuser
21370 wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
21371 wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
21372 wine_fn_config_makefile dlls/light.msstyles enable_light_msstyles
21373 wine_fn_config_makefile dlls/loadperf enable_loadperf
21374 wine_fn_config_makefile dlls/localspl enable_localspl
21375 wine_fn_config_makefile dlls/localspl/tests enable_tests
21376 wine_fn_config_makefile dlls/localui enable_localui
21377 wine_fn_config_makefile dlls/localui/tests enable_tests
21378 wine_fn_config_makefile dlls/lz32 enable_lz32
21379 wine_fn_config_makefile dlls/lz32/tests enable_tests
21380 wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
21381 wine_fn_config_makefile dlls/mapi32 enable_mapi32
21382 wine_fn_config_makefile dlls/mapi32/tests enable_tests
21383 wine_fn_config_makefile dlls/mapistub enable_mapistub
21384 wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
21385 wine_fn_config_makefile dlls/mcicda enable_mcicda
21386 wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
21387 wine_fn_config_makefile dlls/mciseq enable_mciseq
21388 wine_fn_config_makefile dlls/mciwave enable_mciwave
21389 wine_fn_config_makefile dlls/mf enable_mf
21390 wine_fn_config_makefile dlls/mf/tests enable_tests
21391 wine_fn_config_makefile dlls/mf3216 enable_mf3216
21392 wine_fn_config_makefile dlls/mferror enable_mferror
21393 wine_fn_config_makefile dlls/mfmediaengine enable_mfmediaengine
21394 wine_fn_config_makefile dlls/mfmediaengine/tests enable_tests
21395 wine_fn_config_makefile dlls/mfplat enable_mfplat
21396 wine_fn_config_makefile dlls/mfplat/tests enable_tests
21397 wine_fn_config_makefile dlls/mfplay enable_mfplay
21398 wine_fn_config_makefile dlls/mfplay/tests enable_tests
21399 wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
21400 wine_fn_config_makefile dlls/mfreadwrite/tests enable_tests
21401 wine_fn_config_makefile dlls/mfsrcsnk enable_mfsrcsnk
21402 wine_fn_config_makefile dlls/mfsrcsnk/tests enable_tests
21403 wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
21404 wine_fn_config_makefile dlls/midimap enable_midimap
21405 wine_fn_config_makefile dlls/mlang enable_mlang
21406 wine_fn_config_makefile dlls/mlang/tests enable_tests
21407 wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
21408 wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
21409 wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
21410 wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
21411 wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
21412 wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
21413 wine_fn_config_makefile dlls/monodebg.vxd enable_win16
21414 wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
21415 wine_fn_config_makefile dlls/mouse.drv16 enable_win16
21416 wine_fn_config_makefile dlls/mp3dmod enable_mp3dmod
21417 wine_fn_config_makefile dlls/mp3dmod/tests enable_tests
21418 wine_fn_config_makefile dlls/mpr enable_mpr
21419 wine_fn_config_makefile dlls/mpr/tests enable_tests
21420 wine_fn_config_makefile dlls/mprapi enable_mprapi
21421 wine_fn_config_makefile dlls/msacm.dll16 enable_win16
21422 wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
21423 wine_fn_config_makefile dlls/msacm32 enable_msacm32
21424 wine_fn_config_makefile dlls/msacm32/tests enable_tests
21425 wine_fn_config_makefile dlls/msado15 enable_msado15
21426 wine_fn_config_makefile dlls/msado15/tests enable_tests
21427 wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
21428 wine_fn_config_makefile dlls/msasn1 enable_msasn1
21429 wine_fn_config_makefile dlls/msasn1/tests enable_tests
21430 wine_fn_config_makefile dlls/msauddecmft enable_msauddecmft
21431 wine_fn_config_makefile dlls/mscat32 enable_mscat32
21432 wine_fn_config_makefile dlls/mscms enable_mscms
21433 wine_fn_config_makefile dlls/mscms/tests enable_tests
21434 wine_fn_config_makefile dlls/mscoree enable_mscoree
21435 wine_fn_config_makefile dlls/mscoree/tests enable_tests
21436 wine_fn_config_makefile dlls/mscorwks enable_mscorwks
21437 wine_fn_config_makefile dlls/msctf enable_msctf
21438 wine_fn_config_makefile dlls/msctf/tests enable_tests
21439 wine_fn_config_makefile dlls/msctfmonitor enable_msctfmonitor
21440 wine_fn_config_makefile dlls/msctfp enable_msctfp
21441 wine_fn_config_makefile dlls/msdaps enable_msdaps
21442 wine_fn_config_makefile dlls/msdasql enable_msdasql
21443 wine_fn_config_makefile dlls/msdasql/tests enable_tests
21444 wine_fn_config_makefile dlls/msdelta enable_msdelta
21445 wine_fn_config_makefile dlls/msdmo enable_msdmo
21446 wine_fn_config_makefile dlls/msdmo/tests enable_tests
21447 wine_fn_config_makefile dlls/msdrm enable_msdrm
21448 wine_fn_config_makefile dlls/msftedit enable_msftedit
21449 wine_fn_config_makefile dlls/msftedit/tests enable_tests
21450 wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
21451 wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
21452 wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
21453 wine_fn_config_makefile dlls/mshtml enable_mshtml
21454 wine_fn_config_makefile dlls/mshtml/tests enable_tests
21455 wine_fn_config_makefile dlls/msi enable_msi
21456 wine_fn_config_makefile dlls/msi/tests enable_tests
21457 wine_fn_config_makefile dlls/msident enable_msident
21458 wine_fn_config_makefile dlls/msimg32 enable_msimg32
21459 wine_fn_config_makefile dlls/msimsg enable_msimsg
21460 wine_fn_config_makefile dlls/msimtf enable_msimtf
21461 wine_fn_config_makefile dlls/msisip enable_msisip
21462 wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
21463 wine_fn_config_makefile dlls/msls31 enable_msls31
21464 wine_fn_config_makefile dlls/msmpeg2vdec enable_msmpeg2vdec
21465 wine_fn_config_makefile dlls/msnet32 enable_msnet32
21466 wine_fn_config_makefile dlls/mspatcha enable_mspatcha
21467 wine_fn_config_makefile dlls/mspatcha/tests enable_tests
21468 wine_fn_config_makefile dlls/msports enable_msports
21469 wine_fn_config_makefile dlls/msrle32 enable_msrle32
21470 wine_fn_config_makefile dlls/msrle32/tests enable_tests
21471 wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
21472 wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
21473 wine_fn_config_makefile dlls/mssign32 enable_mssign32
21474 wine_fn_config_makefile dlls/mssip32 enable_mssip32
21475 wine_fn_config_makefile dlls/mstask enable_mstask
21476 wine_fn_config_makefile dlls/mstask/tests enable_tests
21477 wine_fn_config_makefile dlls/msv1_0 enable_msv1_0
21478 wine_fn_config_makefile dlls/msvcirt enable_msvcirt
21479 wine_fn_config_makefile dlls/msvcirt/tests enable_tests
21480 wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
21481 wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
21482 wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
21483 wine_fn_config_makefile dlls/msvcp100/tests enable_tests
21484 wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
21485 wine_fn_config_makefile dlls/msvcp110/tests enable_tests
21486 wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
21487 wine_fn_config_makefile dlls/msvcp120/tests enable_tests
21488 wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
21489 wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
21490 wine_fn_config_makefile dlls/msvcp140/tests enable_tests
21491 wine_fn_config_makefile dlls/msvcp140_1 enable_msvcp140_1
21492 wine_fn_config_makefile dlls/msvcp140_1/tests enable_tests
21493 wine_fn_config_makefile dlls/msvcp140_2 enable_msvcp140_2
21494 wine_fn_config_makefile dlls/msvcp140_atomic_wait enable_msvcp140_atomic_wait
21495 wine_fn_config_makefile dlls/msvcp140_atomic_wait/tests enable_tests
21496 wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
21497 wine_fn_config_makefile dlls/msvcp60/tests enable_tests
21498 wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
21499 wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
21500 wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
21501 wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
21502 wine_fn_config_makefile dlls/msvcp90/tests enable_tests
21503 wine_fn_config_makefile dlls/msvcp_win enable_msvcp_win
21504 wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
21505 wine_fn_config_makefile dlls/msvcr100/tests enable_tests
21506 wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
21507 wine_fn_config_makefile dlls/msvcr110/tests enable_tests
21508 wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
21509 wine_fn_config_makefile dlls/msvcr120/tests enable_tests
21510 wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
21511 wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
21512 wine_fn_config_makefile dlls/msvcr70/tests enable_tests
21513 wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
21514 wine_fn_config_makefile dlls/msvcr71/tests enable_tests
21515 wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
21516 wine_fn_config_makefile dlls/msvcr80/tests enable_tests
21517 wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
21518 wine_fn_config_makefile dlls/msvcr90/tests enable_tests
21519 wine_fn_config_makefile dlls/msvcrt enable_msvcrt
21520 wine_fn_config_makefile dlls/msvcrt/tests enable_tests
21521 wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
21522 wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
21523 wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
21524 wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
21525 wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
21526 wine_fn_config_makefile dlls/msvfw32/tests enable_tests
21527 wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
21528 wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
21529 wine_fn_config_makefile dlls/mswsock enable_mswsock
21530 wine_fn_config_makefile dlls/msxml enable_msxml
21531 wine_fn_config_makefile dlls/msxml2 enable_msxml2
21532 wine_fn_config_makefile dlls/msxml3 enable_msxml3
21533 wine_fn_config_makefile dlls/msxml3/tests enable_tests
21534 wine_fn_config_makefile dlls/msxml4 enable_msxml4
21535 wine_fn_config_makefile dlls/msxml6 enable_msxml6
21536 wine_fn_config_makefile dlls/mtxdm enable_mtxdm
21537 wine_fn_config_makefile dlls/ncrypt enable_ncrypt
21538 wine_fn_config_makefile dlls/ncrypt/tests enable_tests
21539 wine_fn_config_makefile dlls/nddeapi enable_nddeapi
21540 wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
21541 wine_fn_config_makefile dlls/ndis.sys/tests enable_tests
21542 wine_fn_config_makefile dlls/netapi32 enable_netapi32
21543 wine_fn_config_makefile dlls/netapi32/tests enable_tests
21544 wine_fn_config_makefile dlls/netcfgx enable_netcfgx
21545 wine_fn_config_makefile dlls/netcfgx/tests enable_tests
21546 wine_fn_config_makefile dlls/netio.sys enable_netio_sys
21547 wine_fn_config_makefile dlls/netprofm enable_netprofm
21548 wine_fn_config_makefile dlls/netprofm/tests enable_tests
21549 wine_fn_config_makefile dlls/netutils enable_netutils
21550 wine_fn_config_makefile dlls/newdev enable_newdev
21551 wine_fn_config_makefile dlls/ninput enable_ninput
21552 wine_fn_config_makefile dlls/ninput/tests enable_tests
21553 wine_fn_config_makefile dlls/normaliz enable_normaliz
21554 wine_fn_config_makefile dlls/npmshtml enable_npmshtml
21555 wine_fn_config_makefile dlls/npptools enable_npptools
21556 wine_fn_config_makefile dlls/nsi enable_nsi
21557 wine_fn_config_makefile dlls/nsi/tests enable_tests
21558 wine_fn_config_makefile dlls/nsiproxy.sys enable_nsiproxy_sys
21559 wine_fn_config_makefile dlls/ntdll enable_ntdll
21560 wine_fn_config_makefile dlls/ntdll/tests enable_tests
21561 wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
21562 wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
21563 wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
21564 wine_fn_config_makefile dlls/ntoskrnl.exe/tests enable_tests
21565 wine_fn_config_makefile dlls/ntprint enable_ntprint
21566 wine_fn_config_makefile dlls/ntprint/tests enable_tests
21567 wine_fn_config_makefile dlls/objsel enable_objsel
21568 wine_fn_config_makefile dlls/odbc32 enable_odbc32
21569 wine_fn_config_makefile dlls/odbcbcp enable_odbcbcp
21570 wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
21571 wine_fn_config_makefile dlls/odbccp32/tests enable_tests
21572 wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
21573 wine_fn_config_makefile dlls/ole2.dll16 enable_win16
21574 wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
21575 wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
21576 wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
21577 wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
21578 wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
21579 wine_fn_config_makefile dlls/ole32 enable_ole32
21580 wine_fn_config_makefile dlls/ole32/tests enable_tests
21581 wine_fn_config_makefile dlls/oleacc enable_oleacc
21582 wine_fn_config_makefile dlls/oleacc/tests enable_tests
21583 wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
21584 wine_fn_config_makefile dlls/oleaut32/tests enable_tests
21585 wine_fn_config_makefile dlls/olecli.dll16 enable_win16
21586 wine_fn_config_makefile dlls/olecli32 enable_olecli32
21587 wine_fn_config_makefile dlls/oledb32 enable_oledb32
21588 wine_fn_config_makefile dlls/oledb32/tests enable_tests
21589 wine_fn_config_makefile dlls/oledlg enable_oledlg
21590 wine_fn_config_makefile dlls/oledlg/tests enable_tests
21591 wine_fn_config_makefile dlls/olepro32 enable_olepro32
21592 wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
21593 wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
21594 wine_fn_config_makefile dlls/olethk32 enable_olethk32
21595 wine_fn_config_makefile dlls/opcservices enable_opcservices
21596 wine_fn_config_makefile dlls/opcservices/tests enable_tests
21597 wine_fn_config_makefile dlls/opencl enable_opencl
21598 wine_fn_config_makefile dlls/opengl32 enable_opengl32
21599 wine_fn_config_makefile dlls/opengl32/tests enable_tests
21600 wine_fn_config_makefile dlls/packager enable_packager
21601 wine_fn_config_makefile dlls/packager/tests enable_tests
21602 wine_fn_config_makefile dlls/pdh enable_pdh
21603 wine_fn_config_makefile dlls/pdh/tests enable_tests
21604 wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
21605 wine_fn_config_makefile dlls/pidgen enable_pidgen
21606 wine_fn_config_makefile dlls/powrprof enable_powrprof
21607 wine_fn_config_makefile dlls/printui enable_printui
21608 wine_fn_config_makefile dlls/prntvpt enable_prntvpt
21609 wine_fn_config_makefile dlls/prntvpt/tests enable_tests
21610 wine_fn_config_makefile dlls/propsys enable_propsys
21611 wine_fn_config_makefile dlls/propsys/tests enable_tests
21612 wine_fn_config_makefile dlls/psapi enable_psapi
21613 wine_fn_config_makefile dlls/psapi/tests enable_tests
21614 wine_fn_config_makefile dlls/pstorec enable_pstorec
21615 wine_fn_config_makefile dlls/pstorec/tests enable_tests
21616 wine_fn_config_makefile dlls/pwrshplugin enable_pwrshplugin
21617 wine_fn_config_makefile dlls/qasf enable_qasf
21618 wine_fn_config_makefile dlls/qasf/tests enable_tests
21619 wine_fn_config_makefile dlls/qcap enable_qcap
21620 wine_fn_config_makefile dlls/qcap/tests enable_tests
21621 wine_fn_config_makefile dlls/qdvd enable_qdvd
21622 wine_fn_config_makefile dlls/qdvd/tests enable_tests
21623 wine_fn_config_makefile dlls/qedit enable_qedit
21624 wine_fn_config_makefile dlls/qedit/tests enable_tests
21625 wine_fn_config_makefile dlls/qmgr enable_qmgr
21626 wine_fn_config_makefile dlls/qmgr/tests enable_tests
21627 wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
21628 wine_fn_config_makefile dlls/quartz enable_quartz
21629 wine_fn_config_makefile dlls/quartz/tests enable_tests
21630 wine_fn_config_makefile dlls/query enable_query
21631 wine_fn_config_makefile dlls/qwave enable_qwave
21632 wine_fn_config_makefile dlls/qwave/tests enable_tests
21633 wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
21634 wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
21635 wine_fn_config_makefile dlls/rasapi32/tests enable_tests
21636 wine_fn_config_makefile dlls/rasdlg enable_rasdlg
21637 wine_fn_config_makefile dlls/regapi enable_regapi
21638 wine_fn_config_makefile dlls/resutils enable_resutils
21639 wine_fn_config_makefile dlls/riched20 enable_riched20
21640 wine_fn_config_makefile dlls/riched20/tests enable_tests
21641 wine_fn_config_makefile dlls/riched32 enable_riched32
21642 wine_fn_config_makefile dlls/riched32/tests enable_tests
21643 wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
21644 wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
21645 wine_fn_config_makefile dlls/rsabase enable_rsabase
21646 wine_fn_config_makefile dlls/rsaenh enable_rsaenh
21647 wine_fn_config_makefile dlls/rsaenh/tests enable_tests
21648 wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
21649 wine_fn_config_makefile dlls/rtutils enable_rtutils
21650 wine_fn_config_makefile dlls/rtworkq enable_rtworkq
21651 wine_fn_config_makefile dlls/rtworkq/tests enable_tests
21652 wine_fn_config_makefile dlls/samlib enable_samlib
21653 wine_fn_config_makefile dlls/sane.ds enable_sane_ds
21654 wine_fn_config_makefile dlls/sapi enable_sapi
21655 wine_fn_config_makefile dlls/sapi/tests enable_tests
21656 wine_fn_config_makefile dlls/sas enable_sas
21657 wine_fn_config_makefile dlls/scarddlg enable_scarddlg
21658 wine_fn_config_makefile dlls/scardsvr enable_scardsvr
21659 wine_fn_config_makefile dlls/sccbase enable_sccbase
21660 wine_fn_config_makefile dlls/schannel enable_schannel
21661 wine_fn_config_makefile dlls/schannel/tests enable_tests
21662 wine_fn_config_makefile dlls/schedsvc enable_schedsvc
21663 wine_fn_config_makefile dlls/schedsvc/tests enable_tests
21664 wine_fn_config_makefile dlls/scrobj enable_scrobj
21665 wine_fn_config_makefile dlls/scrobj/tests enable_tests
21666 wine_fn_config_makefile dlls/scrrun enable_scrrun
21667 wine_fn_config_makefile dlls/scrrun/tests enable_tests
21668 wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
21669 wine_fn_config_makefile dlls/sechost enable_sechost
21670 wine_fn_config_makefile dlls/secur32 enable_secur32
21671 wine_fn_config_makefile dlls/secur32/tests enable_tests
21672 wine_fn_config_makefile dlls/security enable_security
21673 wine_fn_config_makefile dlls/sensapi enable_sensapi
21674 wine_fn_config_makefile dlls/serialui enable_serialui
21675 wine_fn_config_makefile dlls/serialui/tests enable_tests
21676 wine_fn_config_makefile dlls/setupapi enable_setupapi
21677 wine_fn_config_makefile dlls/setupapi/tests enable_tests
21678 wine_fn_config_makefile dlls/setupx.dll16 enable_win16
21679 wine_fn_config_makefile dlls/sfc enable_sfc
21680 wine_fn_config_makefile dlls/sfc_os enable_sfc_os
21681 wine_fn_config_makefile dlls/shcore enable_shcore
21682 wine_fn_config_makefile dlls/shcore/tests enable_tests
21683 wine_fn_config_makefile dlls/shdoclc enable_shdoclc
21684 wine_fn_config_makefile dlls/shdocvw enable_shdocvw
21685 wine_fn_config_makefile dlls/shdocvw/tests enable_tests
21686 wine_fn_config_makefile dlls/shell.dll16 enable_win16
21687 wine_fn_config_makefile dlls/shell32 enable_shell32
21688 wine_fn_config_makefile dlls/shell32/tests enable_tests
21689 wine_fn_config_makefile dlls/shfolder enable_shfolder
21690 wine_fn_config_makefile dlls/shlwapi enable_shlwapi
21691 wine_fn_config_makefile dlls/shlwapi/tests enable_tests
21692 wine_fn_config_makefile dlls/slbcsp enable_slbcsp
21693 wine_fn_config_makefile dlls/slc enable_slc
21694 wine_fn_config_makefile dlls/slc/tests enable_tests
21695 wine_fn_config_makefile dlls/snmpapi enable_snmpapi
21696 wine_fn_config_makefile dlls/snmpapi/tests enable_tests
21697 wine_fn_config_makefile dlls/softpub enable_softpub
21698 wine_fn_config_makefile dlls/sound.drv16 enable_win16
21699 wine_fn_config_makefile dlls/spoolss enable_spoolss
21700 wine_fn_config_makefile dlls/spoolss/tests enable_tests
21701 wine_fn_config_makefile dlls/sppc enable_sppc
21702 wine_fn_config_makefile dlls/srclient enable_srclient
21703 wine_fn_config_makefile dlls/srvcli enable_srvcli
21704 wine_fn_config_makefile dlls/sspicli enable_sspicli
21705 wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
21706 wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
21707 wine_fn_config_makefile dlls/sti enable_sti
21708 wine_fn_config_makefile dlls/sti/tests enable_tests
21709 wine_fn_config_makefile dlls/storage.dll16 enable_win16
21710 wine_fn_config_makefile dlls/stress.dll16 enable_win16
21711 wine_fn_config_makefile dlls/strmdll enable_strmdll
21712 wine_fn_config_makefile dlls/svrapi enable_svrapi
21713 wine_fn_config_makefile dlls/sxs enable_sxs
21714 wine_fn_config_makefile dlls/sxs/tests enable_tests
21715 wine_fn_config_makefile dlls/system.drv16 enable_win16
21716 wine_fn_config_makefile dlls/t2embed enable_t2embed
21717 wine_fn_config_makefile dlls/t2embed/tests enable_tests
21718 wine_fn_config_makefile dlls/tapi32 enable_tapi32
21719 wine_fn_config_makefile dlls/tapi32/tests enable_tests
21720 wine_fn_config_makefile dlls/taskschd enable_taskschd
21721 wine_fn_config_makefile dlls/taskschd/tests enable_tests
21722 wine_fn_config_makefile dlls/tbs enable_tbs
21723 wine_fn_config_makefile dlls/tdh enable_tdh
21724 wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
21725 wine_fn_config_makefile dlls/threadpoolwinrt enable_threadpoolwinrt
21726 wine_fn_config_makefile dlls/threadpoolwinrt/tests enable_tests
21727 wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
21728 wine_fn_config_makefile dlls/traffic enable_traffic
21729 wine_fn_config_makefile dlls/twain.dll16 enable_win16
21730 wine_fn_config_makefile dlls/twain_32 enable_twain_32
21731 wine_fn_config_makefile dlls/twain_32/tests enable_tests
21732 wine_fn_config_makefile dlls/typelib.dll16 enable_win16
21733 wine_fn_config_makefile dlls/tzres enable_tzres
21734 wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
21735 wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
21736 wine_fn_config_makefile dlls/uianimation enable_uianimation
21737 wine_fn_config_makefile dlls/uianimation/tests enable_tests
21738 wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
21739 wine_fn_config_makefile dlls/uiautomationcore/tests enable_tests
21740 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
21741 wine_fn_config_makefile dlls/unicows enable_unicows
21742 wine_fn_config_makefile dlls/updspapi enable_updspapi
21743 wine_fn_config_makefile dlls/url enable_url
21744 wine_fn_config_makefile dlls/urlmon enable_urlmon
21745 wine_fn_config_makefile dlls/urlmon/tests enable_tests
21746 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
21747 wine_fn_config_makefile dlls/user.exe16 enable_win16
21748 wine_fn_config_makefile dlls/user32 enable_user32
21749 wine_fn_config_makefile dlls/user32/tests enable_tests
21750 wine_fn_config_makefile dlls/userenv enable_userenv
21751 wine_fn_config_makefile dlls/userenv/tests enable_tests
21752 wine_fn_config_makefile dlls/usp10 enable_usp10
21753 wine_fn_config_makefile dlls/usp10/tests enable_tests
21754 wine_fn_config_makefile dlls/utildll enable_utildll
21755 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
21756 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
21757 wine_fn_config_makefile dlls/vbscript enable_vbscript
21758 wine_fn_config_makefile dlls/vbscript/tests enable_tests
21759 wine_fn_config_makefile dlls/vcomp enable_vcomp
21760 wine_fn_config_makefile dlls/vcomp/tests enable_tests
21761 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
21762 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
21763 wine_fn_config_makefile dlls/vcomp110/tests enable_tests
21764 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
21765 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
21766 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
21767 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
21768 wine_fn_config_makefile dlls/vcruntime140_1 enable_vcruntime140_1
21769 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
21770 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
21771 wine_fn_config_makefile dlls/ver.dll16 enable_win16
21772 wine_fn_config_makefile dlls/version enable_version
21773 wine_fn_config_makefile dlls/version/tests enable_tests
21774 wine_fn_config_makefile dlls/vga enable_vga
21775 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
21776 wine_fn_config_makefile dlls/virtdisk/tests enable_tests
21777 wine_fn_config_makefile dlls/vmm.vxd enable_win16
21778 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
21779 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
21780 wine_fn_config_makefile dlls/vssapi enable_vssapi
21781 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
21782 wine_fn_config_makefile dlls/vulkan-1 enable_vulkan_1
21783 wine_fn_config_makefile dlls/vulkan-1/tests enable_tests
21784 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
21785 wine_fn_config_makefile dlls/w32skrnl enable_win16
21786 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
21787 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
21788 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
21789 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
21790 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
21791 wine_fn_config_makefile dlls/wdscore enable_wdscore
21792 wine_fn_config_makefile dlls/webservices enable_webservices
21793 wine_fn_config_makefile dlls/webservices/tests enable_tests
21794 wine_fn_config_makefile dlls/websocket enable_websocket
21795 wine_fn_config_makefile dlls/wer enable_wer
21796 wine_fn_config_makefile dlls/wer/tests enable_tests
21797 wine_fn_config_makefile dlls/wevtapi enable_wevtapi
21798 wine_fn_config_makefile dlls/wevtapi/tests enable_tests
21799 wine_fn_config_makefile dlls/wevtsvc enable_wevtsvc
21800 wine_fn_config_makefile dlls/wiaservc enable_wiaservc
21801 wine_fn_config_makefile dlls/wiaservc/tests enable_tests
21802 wine_fn_config_makefile dlls/wimgapi enable_wimgapi
21803 wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
21804 wine_fn_config_makefile dlls/win32u enable_win32u
21805 wine_fn_config_makefile dlls/win32u/tests enable_tests
21806 wine_fn_config_makefile dlls/win87em.dll16 enable_win16
21807 wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
21808 wine_fn_config_makefile dlls/windebug.dll16 enable_win16
21809 wine_fn_config_makefile dlls/windows.devices.enumeration enable_windows_devices_enumeration
21810 wine_fn_config_makefile dlls/windows.devices.enumeration/tests enable_tests
21811 wine_fn_config_makefile dlls/windows.gaming.input enable_windows_gaming_input
21812 wine_fn_config_makefile dlls/windows.gaming.input/tests enable_tests
21813 wine_fn_config_makefile dlls/windows.gaming.ui.gamebar enable_windows_gaming_ui_gamebar
21814 wine_fn_config_makefile dlls/windows.gaming.ui.gamebar/tests enable_tests
21815 wine_fn_config_makefile dlls/windows.globalization enable_windows_globalization
21816 wine_fn_config_makefile dlls/windows.globalization/tests enable_tests
21817 wine_fn_config_makefile dlls/windows.media.devices enable_windows_media_devices
21818 wine_fn_config_makefile dlls/windows.media.devices/tests enable_tests
21819 wine_fn_config_makefile dlls/windows.media.speech enable_windows_media_speech
21820 wine_fn_config_makefile dlls/windows.media.speech/tests enable_tests
21821 wine_fn_config_makefile dlls/windows.media enable_windows_media
21822 wine_fn_config_makefile dlls/windows.media/tests enable_tests
21823 wine_fn_config_makefile dlls/windows.networking enable_windows_networking
21824 wine_fn_config_makefile dlls/windows.perception.stub enable_windows_perception_stub
21825 wine_fn_config_makefile dlls/windows.perception.stub/tests enable_tests
21826 wine_fn_config_makefile dlls/windows.system.profile.systemmanufacturers enable_windows_system_profile_systemmanufacturers
21827 wine_fn_config_makefile dlls/windows.system.profile.systemmanufacturers/tests enable_tests
21828 wine_fn_config_makefile dlls/windows.ui enable_windows_ui
21829 wine_fn_config_makefile dlls/windows.ui/tests enable_tests
21830 wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
21831 wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
21832 wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
21833 wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
21834 wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
21835 wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
21836 wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
21837 wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
21838 wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
21839 wine_fn_config_makefile dlls/wined3d enable_wined3d
21840 wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
21841 wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
21842 wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
21843 wine_fn_config_makefile dlls/winemapi enable_winemapi
21844 wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
21845 wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
21846 wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
21847 wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
21848 wine_fn_config_makefile dlls/wineusb.sys enable_wineusb_sys
21849 wine_fn_config_makefile dlls/winevulkan enable_winevulkan
21850 wine_fn_config_makefile dlls/winewayland.drv enable_winewayland_drv
21851 wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
21852 wine_fn_config_makefile dlls/winexinput.sys enable_winexinput_sys
21853 wine_fn_config_makefile dlls/wing.dll16 enable_win16
21854 wine_fn_config_makefile dlls/wing32 enable_wing32
21855 wine_fn_config_makefile dlls/winhttp enable_winhttp
21856 wine_fn_config_makefile dlls/winhttp/tests enable_tests
21857 wine_fn_config_makefile dlls/wininet enable_wininet
21858 wine_fn_config_makefile dlls/wininet/tests enable_tests
21859 wine_fn_config_makefile dlls/winmm enable_winmm
21860 wine_fn_config_makefile dlls/winmm/tests enable_tests
21861 wine_fn_config_makefile dlls/winnls.dll16 enable_win16
21862 wine_fn_config_makefile dlls/winnls32 enable_winnls32
21863 wine_fn_config_makefile dlls/winprint enable_winprint
21864 wine_fn_config_makefile dlls/winscard enable_winscard
21865 wine_fn_config_makefile dlls/winscard/tests enable_tests
21866 wine_fn_config_makefile dlls/winsock.dll16 enable_win16
21867 wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
21868 wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
21869 wine_fn_config_makefile dlls/winsta enable_winsta
21870 wine_fn_config_makefile dlls/wintab.dll16 enable_win16
21871 wine_fn_config_makefile dlls/wintab32 enable_wintab32
21872 wine_fn_config_makefile dlls/wintab32/tests enable_tests
21873 wine_fn_config_makefile dlls/wintrust enable_wintrust
21874 wine_fn_config_makefile dlls/wintrust/tests enable_tests
21875 wine_fn_config_makefile dlls/wintypes enable_wintypes
21876 wine_fn_config_makefile dlls/wintypes/tests enable_tests
21877 wine_fn_config_makefile dlls/winusb enable_winusb
21878 wine_fn_config_makefile dlls/wlanapi enable_wlanapi
21879 wine_fn_config_makefile dlls/wlanapi/tests enable_tests
21880 wine_fn_config_makefile dlls/wlanui enable_wlanui
21881 wine_fn_config_makefile dlls/wldap32 enable_wldap32
21882 wine_fn_config_makefile dlls/wldap32/tests enable_tests
21883 wine_fn_config_makefile dlls/wmasf enable_wmasf
21884 wine_fn_config_makefile dlls/wmi enable_wmi
21885 wine_fn_config_makefile dlls/wmiutils enable_wmiutils
21886 wine_fn_config_makefile dlls/wmiutils/tests enable_tests
21887 wine_fn_config_makefile dlls/wmp enable_wmp
21888 wine_fn_config_makefile dlls/wmp/tests enable_tests
21889 wine_fn_config_makefile dlls/wmphoto enable_wmphoto
21890 wine_fn_config_makefile dlls/wmvcore enable_wmvcore
21891 wine_fn_config_makefile dlls/wmvcore/tests enable_tests
21892 wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
21893 wine_fn_config_makefile dlls/wofutil enable_wofutil
21894 wine_fn_config_makefile dlls/wow32 enable_win16
21895 wine_fn_config_makefile dlls/wow64 enable_wow64
21896 wine_fn_config_makefile dlls/wow64cpu enable_wow64cpu
21897 wine_fn_config_makefile dlls/wow64win enable_wow64win
21898 wine_fn_config_makefile dlls/wpc enable_wpc
21899 wine_fn_config_makefile dlls/wpc/tests enable_tests
21900 wine_fn_config_makefile dlls/wpcap enable_wpcap
21901 wine_fn_config_makefile dlls/wpcap/tests enable_tests
21902 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
21903 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
21904 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
21905 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
21906 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
21907 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
21908 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
21909 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
21910 wine_fn_config_makefile dlls/wsock32 enable_wsock32
21911 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
21912 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
21913 wine_fn_config_makefile dlls/wuapi enable_wuapi
21914 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
21915 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
21916 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
21917 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
21918 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
21919 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
21920 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
21921 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
21922 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
21923 wine_fn_config_makefile dlls/xactengine2_0 enable_xactengine2_0
21924 wine_fn_config_makefile dlls/xactengine2_4 enable_xactengine2_4
21925 wine_fn_config_makefile dlls/xactengine2_7 enable_xactengine2_7
21926 wine_fn_config_makefile dlls/xactengine2_9 enable_xactengine2_9
21927 wine_fn_config_makefile dlls/xactengine3_0 enable_xactengine3_0
21928 wine_fn_config_makefile dlls/xactengine3_1 enable_xactengine3_1
21929 wine_fn_config_makefile dlls/xactengine3_2 enable_xactengine3_2
21930 wine_fn_config_makefile dlls/xactengine3_3 enable_xactengine3_3
21931 wine_fn_config_makefile dlls/xactengine3_4 enable_xactengine3_4
21932 wine_fn_config_makefile dlls/xactengine3_5 enable_xactengine3_5
21933 wine_fn_config_makefile dlls/xactengine3_6 enable_xactengine3_6
21934 wine_fn_config_makefile dlls/xactengine3_7 enable_xactengine3_7
21935 wine_fn_config_makefile dlls/xactengine3_7/tests enable_tests
21936 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
21937 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
21938 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
21939 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
21940 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
21941 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
21942 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
21943 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
21944 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
21945 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
21946 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
21947 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
21948 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
21949 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
21950 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
21951 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
21952 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
21953 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
21954 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
21955 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
21956 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
21957 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
21958 wine_fn_config_makefile dlls/xinputuap enable_xinputuap
21959 wine_fn_config_makefile dlls/xmllite enable_xmllite
21960 wine_fn_config_makefile dlls/xmllite/tests enable_tests
21961 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
21962 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
21963 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
21964 wine_fn_config_makefile fonts enable_fonts
21965 wine_fn_config_makefile include enable_include
21966 wine_fn_config_makefile libs/adsiid enable_adsiid
21967 wine_fn_config_makefile libs/dmoguids enable_dmoguids
21968 wine_fn_config_makefile libs/dxerr8 enable_dxerr8
21969 wine_fn_config_makefile libs/dxerr9 enable_dxerr9
21970 wine_fn_config_makefile libs/dxguid enable_dxguid
21971 wine_fn_config_makefile libs/faudio enable_faudio
21972 wine_fn_config_makefile libs/gsm enable_gsm
21973 wine_fn_config_makefile libs/jpeg enable_jpeg
21974 wine_fn_config_makefile libs/jxr enable_jxr
21975 wine_fn_config_makefile libs/lcms2 enable_lcms2
21976 wine_fn_config_makefile libs/ldap enable_ldap
21977 wine_fn_config_makefile libs/mfuuid enable_mfuuid
21978 wine_fn_config_makefile libs/mpg123 enable_mpg123
21979 wine_fn_config_makefile libs/png enable_png
21980 wine_fn_config_makefile libs/strmbase enable_strmbase
21981 wine_fn_config_makefile libs/strmiids enable_strmiids
21982 wine_fn_config_makefile libs/tiff enable_tiff
21983 wine_fn_config_makefile libs/uuid enable_uuid
21984 wine_fn_config_makefile libs/vkd3d enable_vkd3d
21985 wine_fn_config_makefile libs/wbemuuid enable_wbemuuid
21986 wine_fn_config_makefile libs/wmcodecdspuuid enable_wmcodecdspuuid
21987 wine_fn_config_makefile libs/xml2 enable_xml2
21988 wine_fn_config_makefile libs/xslt enable_xslt
21989 wine_fn_config_makefile libs/zlib enable_zlib
21990 wine_fn_config_makefile libs/zydis enable_zydis
21991 wine_fn_config_makefile loader enable_loader
21992 wine_fn_config_makefile nls enable_nls
21993 wine_fn_config_makefile po enable_po
21994 wine_fn_config_makefile programs/arp enable_arp
21995 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
21996 wine_fn_config_makefile programs/attrib enable_attrib
21997 wine_fn_config_makefile programs/cabarc enable_cabarc
21998 wine_fn_config_makefile programs/cacls enable_cacls
21999 wine_fn_config_makefile programs/certutil enable_certutil
22000 wine_fn_config_makefile programs/chcp.com enable_chcp_com
22001 wine_fn_config_makefile programs/clock enable_clock
22002 wine_fn_config_makefile programs/cmd enable_cmd
22003 wine_fn_config_makefile programs/cmd/tests enable_tests
22004 wine_fn_config_makefile programs/conhost enable_conhost
22005 wine_fn_config_makefile programs/conhost/tests enable_tests
22006 wine_fn_config_makefile programs/control enable_control
22007 wine_fn_config_makefile programs/cscript enable_cscript
22008 wine_fn_config_makefile programs/dism enable_dism
22009 wine_fn_config_makefile programs/dllhost enable_dllhost
22010 wine_fn_config_makefile programs/dplaysvr enable_dplaysvr
22011 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
22012 wine_fn_config_makefile programs/dpvsetup enable_dpvsetup
22013 wine_fn_config_makefile programs/dxdiag enable_dxdiag
22014 wine_fn_config_makefile programs/eject enable_eject
22015 wine_fn_config_makefile programs/expand enable_expand
22016 wine_fn_config_makefile programs/explorer enable_explorer
22017 wine_fn_config_makefile programs/explorer/tests enable_tests
22018 wine_fn_config_makefile programs/extrac32 enable_extrac32
22019 wine_fn_config_makefile programs/fc enable_fc
22020 wine_fn_config_makefile programs/find enable_find
22021 wine_fn_config_makefile programs/find/tests enable_tests
22022 wine_fn_config_makefile programs/findstr enable_findstr
22023 wine_fn_config_makefile programs/fsutil enable_fsutil
22024 wine_fn_config_makefile programs/fsutil/tests enable_tests
22025 wine_fn_config_makefile programs/hh enable_hh
22026 wine_fn_config_makefile programs/hostname enable_hostname
22027 wine_fn_config_makefile programs/icacls enable_icacls
22028 wine_fn_config_makefile programs/icinfo enable_icinfo
22029 wine_fn_config_makefile programs/iexplore enable_iexplore
22030 wine_fn_config_makefile programs/ipconfig enable_ipconfig
22031 wine_fn_config_makefile programs/lodctr enable_lodctr
22032 wine_fn_config_makefile programs/mofcomp enable_mofcomp
22033 wine_fn_config_makefile programs/mshta enable_mshta
22034 wine_fn_config_makefile programs/msidb enable_msidb
22035 wine_fn_config_makefile programs/msiexec enable_msiexec
22036 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
22037 wine_fn_config_makefile programs/net enable_net
22038 wine_fn_config_makefile programs/netsh enable_netsh
22039 wine_fn_config_makefile programs/netstat enable_netstat
22040 wine_fn_config_makefile programs/ngen enable_ngen
22041 wine_fn_config_makefile programs/notepad enable_notepad
22042 wine_fn_config_makefile programs/oleview enable_oleview
22043 wine_fn_config_makefile programs/ping enable_ping
22044 wine_fn_config_makefile programs/plugplay enable_plugplay
22045 wine_fn_config_makefile programs/powershell enable_powershell
22046 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
22047 wine_fn_config_makefile programs/progman enable_progman
22048 wine_fn_config_makefile programs/reg enable_reg
22049 wine_fn_config_makefile programs/reg/tests enable_tests
22050 wine_fn_config_makefile programs/regasm enable_regasm
22051 wine_fn_config_makefile programs/regedit enable_regedit
22052 wine_fn_config_makefile programs/regedit/tests enable_tests
22053 wine_fn_config_makefile programs/regini enable_regini
22054 wine_fn_config_makefile programs/regsvcs enable_regsvcs
22055 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
22056 wine_fn_config_makefile programs/robocopy enable_robocopy
22057 wine_fn_config_makefile programs/rpcss enable_rpcss
22058 wine_fn_config_makefile programs/rundll.exe16 enable_win16
22059 wine_fn_config_makefile programs/rundll32 enable_rundll32
22060 wine_fn_config_makefile programs/sc enable_sc
22061 wine_fn_config_makefile programs/sc/tests enable_tests
22062 wine_fn_config_makefile programs/schtasks enable_schtasks
22063 wine_fn_config_makefile programs/schtasks/tests enable_tests
22064 wine_fn_config_makefile programs/sdbinst enable_sdbinst
22065 wine_fn_config_makefile programs/secedit enable_secedit
22066 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
22067 wine_fn_config_makefile programs/services enable_services
22068 wine_fn_config_makefile programs/services/tests enable_tests
22069 wine_fn_config_makefile programs/setx enable_setx
22070 wine_fn_config_makefile programs/shutdown enable_shutdown
22071 wine_fn_config_makefile programs/spoolsv enable_spoolsv
22072 wine_fn_config_makefile programs/start enable_start
22073 wine_fn_config_makefile programs/subst enable_subst
22074 wine_fn_config_makefile programs/svchost enable_svchost
22075 wine_fn_config_makefile programs/systeminfo enable_systeminfo
22076 wine_fn_config_makefile programs/taskkill enable_taskkill
22077 wine_fn_config_makefile programs/tasklist enable_tasklist
22078 wine_fn_config_makefile programs/taskmgr enable_taskmgr
22079 wine_fn_config_makefile programs/termsv enable_termsv
22080 wine_fn_config_makefile programs/uninstaller enable_uninstaller
22081 wine_fn_config_makefile programs/unlodctr enable_unlodctr
22082 wine_fn_config_makefile programs/view enable_view
22083 wine_fn_config_makefile programs/wevtutil enable_wevtutil
22084 wine_fn_config_makefile programs/where enable_where
22085 wine_fn_config_makefile programs/whoami enable_whoami
22086 wine_fn_config_makefile programs/wineboot enable_wineboot
22087 wine_fn_config_makefile programs/winebrowser enable_winebrowser
22088 wine_fn_config_makefile programs/winecfg enable_winecfg
22089 wine_fn_config_makefile programs/wineconsole enable_wineconsole
22090 wine_fn_config_makefile programs/winedbg enable_winedbg
22091 wine_fn_config_makefile programs/winedevice enable_winedevice
22092 wine_fn_config_makefile programs/winefile enable_winefile
22093 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
22094 wine_fn_config_makefile programs/winemine enable_winemine
22095 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
22096 wine_fn_config_makefile programs/winepath enable_winepath
22097 wine_fn_config_makefile programs/winetest enable_winetest
22098 wine_fn_config_makefile programs/winevdm enable_win16
22099 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
22100 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
22101 wine_fn_config_makefile programs/winmgmt enable_winmgmt
22102 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
22103 wine_fn_config_makefile programs/winver enable_winver
22104 wine_fn_config_makefile programs/wmic enable_wmic
22105 wine_fn_config_makefile programs/wmplayer enable_wmplayer
22106 wine_fn_config_makefile programs/wordpad enable_wordpad
22107 wine_fn_config_makefile programs/write enable_write
22108 wine_fn_config_makefile programs/wscript enable_wscript
22109 wine_fn_config_makefile programs/wscript/tests enable_tests
22110 wine_fn_config_makefile programs/wuauserv enable_wuauserv
22111 wine_fn_config_makefile programs/wusa enable_wusa
22112 wine_fn_config_makefile programs/xcopy enable_xcopy
22113 wine_fn_config_makefile programs/xcopy/tests enable_tests
22114 wine_fn_config_makefile server enable_server
22115 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
22116 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
22117 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
22118 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
22119 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
22120 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
22121 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
22122 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
22123 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
22126 as_fn_append CONFIGURE_TARGETS " TAGS"
22127 as_fn_append CONFIGURE_TARGETS " tags"
22128 as_fn_append CONFIGURE_TARGETS " autom4te.cache"
22129 as_fn_append CONFIGURE_TARGETS " config.log"
22130 as_fn_append CONFIGURE_TARGETS " config.status"
22131 as_fn_append CONFIGURE_TARGETS " include/config.h"
22132 as_fn_append CONFIGURE_TARGETS " include/stamp-h"
22133 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS " loader/wine"
22135 if test "x$enable_tools" != xno
22136 then
22137 as_fn_append CONFIGURE_TARGETS " tools/makedep$ac_exeext"
22138 ac_config_commands="$ac_config_commands tools/makedep"
22142 ac_config_commands="$ac_config_commands Makefile"
22146 SHELL=/bin/sh
22149 as_fn_append wine_rules "
22150 all: wine
22151 @echo \"Wine build complete.\"
22152 .INIT: Makefile
22153 .MAKEFILEDEPS:
22154 all: Makefile
22155 Makefile: config.status \$(MAKEDEP)
22156 @./config.status Makefile
22157 depend: \$(MAKEDEP)
22158 \$(MAKEDEP)$makedep_flags"
22161 as_fn_append wine_rules "
22162 config.status: ${wine_srcdir}configure
22163 @./config.status --recheck
22164 include/config.h: include/stamp-h
22165 include/stamp-h: ${wine_srcdir}include/config.h.in config.status
22166 @./config.status include/config.h include/stamp-h"
22168 if test "x$enable_maintainer_mode" = xyes
22169 then
22170 as_fn_append wine_rules "
22171 configure: configure.ac aclocal.m4
22172 autoconf --warnings=all
22173 include/config.h.in: include/stamp-h.in
22174 include/stamp-h.in: configure.ac aclocal.m4
22175 autoheader --warnings=all
22176 @echo timestamp > \$@"
22179 if test "x$enable_tools" != xno
22180 then
22181 as_fn_append wine_rules "
22182 tools/makedep$ac_exeext: ${wine_srcdir}tools/makedep.c include/config.h config.status
22183 @./config.status tools/makedep
22184 Makefile: tools/makedep$ac_exeext"
22185 else
22186 as_fn_append wine_rules "
22187 \$(MAKEDEP):
22188 @echo \"You need to run make in $toolsdir first\" && false"
22192 if test -n "$with_wine64"
22193 then
22194 case "$with_wine64" in
22195 /*) reldir="" ;;
22196 *) reldir="../" ;;
22197 esac
22198 rm -f fonts server 2>/dev/null
22199 as_fn_append wine_rules "
22200 all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
22201 loader/wine64 loader/wine64-preloader:
22202 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
22203 $with_wine64/loader/wine:
22204 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
22205 $with_wine64/loader/wine-preloader:
22206 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
22207 clean::
22208 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
22209 else
22210 TOP_INSTALL_DEV="$TOP_INSTALL_DEV include"
22211 TOP_INSTALL_LIB="$TOP_INSTALL_LIB \
22212 fonts \
22213 loader/wine.inf \
22214 nls \
22215 programs/msidb/msidb \
22216 programs/msiexec/msiexec \
22217 programs/notepad/notepad \
22218 programs/regedit/regedit \
22219 programs/regsvr32/regsvr32 \
22220 programs/wineboot/wineboot \
22221 programs/winecfg/winecfg \
22222 programs/wineconsole/wineconsole \
22223 programs/winedbg/winedbg \
22224 programs/winefile/winefile \
22225 programs/winemine/winemine \
22226 programs/winepath/winepath \
22227 server/wineserver"
22229 case $host_os in
22230 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
22231 *) TOP_INSTALL_LIB="$TOP_INSTALL_LIB loader/wine.desktop" ;;
22232 esac
22236 as_fn_append wine_rules "
22237 distclean:: clean
22238 rm -rf autom4te.cache
22239 maintainer-clean::
22240 rm -f configure include/config.h.in"
22243 as_fn_append wine_rules "
22244 dlls/ntdll/unix/version.c: dummy
22245 @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)
22246 programs/winetest/build.rc: dummy
22247 @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)
22248 programs/winetest/build.nfo:
22249 @-\$(CC) -v 2>\$@
22250 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
22251 cd dlls/wineandroid.drv && gradle -q -Psrcdir=$srcdir assembleDebug
22252 mv dlls/wineandroid.drv/build/outputs/apk/wine-debug.apk \$@"
22255 TAGSFLAGS="--langmap='c:+.idl.l.rh,make:(Make*.in)'"
22257 as_fn_append wine_rules "
22258 TAGS etags:
22259 rm -f TAGS
22260 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs etags -a \$(TAGSFLAGS)
22261 tags ctags:
22262 rm -f tags
22263 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs ctags -a \$(TAGSFLAGS)
22264 dummy:
22265 .PHONY: depend dummy install-manpages"
22267 printf "%s\n" " done" >&6
22268 cat >confcache <<\_ACEOF
22269 # This file is a shell script that caches the results of configure
22270 # tests run on this system so they can be shared between configure
22271 # scripts and configure runs, see configure's option --config-cache.
22272 # It is not useful on other systems. If it contains results you don't
22273 # want to keep, you may remove or edit it.
22275 # config.status only pays attention to the cache file if you give it
22276 # the --recheck option to rerun configure.
22278 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22279 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22280 # following values.
22282 _ACEOF
22284 # The following way of writing the cache mishandles newlines in values,
22285 # but we know of no workaround that is simple, portable, and efficient.
22286 # So, we kill variables containing newlines.
22287 # Ultrix sh set writes to stderr and can't be redirected directly,
22288 # and sets the high bit in the cache file unless we assign to the vars.
22290 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
22291 eval ac_val=\$$ac_var
22292 case $ac_val in #(
22293 *${as_nl}*)
22294 case $ac_var in #(
22295 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
22296 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
22297 esac
22298 case $ac_var in #(
22299 _ | IFS | as_nl) ;; #(
22300 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
22301 *) { eval $ac_var=; unset $ac_var;} ;;
22302 esac ;;
22303 esac
22304 done
22306 (set) 2>&1 |
22307 case $as_nl`(ac_space=' '; set) 2>&1` in #(
22308 *${as_nl}ac_space=\ *)
22309 # `set' does not quote correctly, so add quotes: double-quote
22310 # substitution turns \\\\ into \\, and sed turns \\ into \.
22311 sed -n \
22312 "s/'/'\\\\''/g;
22313 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22314 ;; #(
22316 # `set' quotes correctly as required by POSIX, so do not add quotes.
22317 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22319 esac |
22320 sort
22322 sed '
22323 /^ac_cv_env_/b end
22324 t clear
22325 :clear
22326 s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
22327 t end
22328 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22329 :end' >>confcache
22330 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
22331 if test -w "$cache_file"; then
22332 if test "x$cache_file" != "x/dev/null"; then
22333 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
22334 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
22335 if test ! -f "$cache_file" || test -h "$cache_file"; then
22336 cat confcache >"$cache_file"
22337 else
22338 case $cache_file in #(
22339 */* | ?:*)
22340 mv -f confcache "$cache_file"$$ &&
22341 mv -f "$cache_file"$$ "$cache_file" ;; #(
22343 mv -f confcache "$cache_file" ;;
22344 esac
22347 else
22348 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
22349 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
22352 rm -f confcache
22354 test "x$prefix" = xNONE && prefix=$ac_default_prefix
22355 # Let make expand exec_prefix.
22356 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
22358 DEFS=-DHAVE_CONFIG_H
22360 ac_libobjs=
22361 ac_ltlibobjs=
22363 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
22364 # 1. Remove the extension, and $U if already installed.
22365 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
22366 ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
22367 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
22368 # will be set to the directory where LIBOBJS objects are built.
22369 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
22370 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
22371 done
22372 LIBOBJS=$ac_libobjs
22374 LTLIBOBJS=$ac_ltlibobjs
22378 : "${CONFIG_STATUS=./config.status}"
22379 ac_write_fail=0
22380 ac_clean_files_save=$ac_clean_files
22381 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
22382 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
22383 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
22384 as_write_fail=0
22385 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
22386 #! $SHELL
22387 # Generated by $as_me.
22388 # Run this file to recreate the current configuration.
22389 # Compiler output produced by configure, useful for debugging
22390 # configure, is in config.log if it exists.
22392 debug=false
22393 ac_cs_recheck=false
22394 ac_cs_silent=false
22396 SHELL=\${CONFIG_SHELL-$SHELL}
22397 export SHELL
22398 _ASEOF
22399 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
22400 ## -------------------- ##
22401 ## M4sh Initialization. ##
22402 ## -------------------- ##
22404 # Be more Bourne compatible
22405 DUALCASE=1; export DUALCASE # for MKS sh
22406 as_nop=:
22407 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
22408 then :
22409 emulate sh
22410 NULLCMD=:
22411 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
22412 # is contrary to our usage. Disable this feature.
22413 alias -g '${1+"$@"}'='"$@"'
22414 setopt NO_GLOB_SUBST
22415 else $as_nop
22416 case `(set -o) 2>/dev/null` in #(
22417 *posix*) :
22418 set -o posix ;; #(
22419 *) :
22421 esac
22426 # Reset variables that may have inherited troublesome values from
22427 # the environment.
22429 # IFS needs to be set, to space, tab, and newline, in precisely that order.
22430 # (If _AS_PATH_WALK were called with IFS unset, it would have the
22431 # side effect of setting IFS to empty, thus disabling word splitting.)
22432 # Quoting is to prevent editors from complaining about space-tab.
22433 as_nl='
22435 export as_nl
22436 IFS=" "" $as_nl"
22438 PS1='$ '
22439 PS2='> '
22440 PS4='+ '
22442 # Ensure predictable behavior from utilities with locale-dependent output.
22443 LC_ALL=C
22444 export LC_ALL
22445 LANGUAGE=C
22446 export LANGUAGE
22448 # We cannot yet rely on "unset" to work, but we need these variables
22449 # to be unset--not just set to an empty or harmless value--now, to
22450 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
22451 # also avoids known problems related to "unset" and subshell syntax
22452 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
22453 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
22454 do eval test \${$as_var+y} \
22455 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
22456 done
22458 # Ensure that fds 0, 1, and 2 are open.
22459 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
22460 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
22461 if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
22463 # The user is always right.
22464 if ${PATH_SEPARATOR+false} :; then
22465 PATH_SEPARATOR=:
22466 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
22467 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
22468 PATH_SEPARATOR=';'
22473 # Find who we are. Look in the path if we contain no directory separator.
22474 as_myself=
22475 case $0 in #((
22476 *[\\/]* ) as_myself=$0 ;;
22477 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22478 for as_dir in $PATH
22480 IFS=$as_save_IFS
22481 case $as_dir in #(((
22482 '') as_dir=./ ;;
22483 */) ;;
22484 *) as_dir=$as_dir/ ;;
22485 esac
22486 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
22487 done
22488 IFS=$as_save_IFS
22491 esac
22492 # We did not find ourselves, most probably we were run as `sh COMMAND'
22493 # in which case we are not to be found in the path.
22494 if test "x$as_myself" = x; then
22495 as_myself=$0
22497 if test ! -f "$as_myself"; then
22498 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
22499 exit 1
22504 # as_fn_error STATUS ERROR [LINENO LOG_FD]
22505 # ----------------------------------------
22506 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
22507 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
22508 # script with STATUS, using 1 if that was 0.
22509 as_fn_error ()
22511 as_status=$1; test $as_status -eq 0 && as_status=1
22512 if test "$4"; then
22513 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
22514 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
22516 printf "%s\n" "$as_me: error: $2" >&2
22517 as_fn_exit $as_status
22518 } # as_fn_error
22522 # as_fn_set_status STATUS
22523 # -----------------------
22524 # Set $? to STATUS, without forking.
22525 as_fn_set_status ()
22527 return $1
22528 } # as_fn_set_status
22530 # as_fn_exit STATUS
22531 # -----------------
22532 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
22533 as_fn_exit ()
22535 set +e
22536 as_fn_set_status $1
22537 exit $1
22538 } # as_fn_exit
22540 # as_fn_unset VAR
22541 # ---------------
22542 # Portably unset VAR.
22543 as_fn_unset ()
22545 { eval $1=; unset $1;}
22547 as_unset=as_fn_unset
22549 # as_fn_append VAR VALUE
22550 # ----------------------
22551 # Append the text in VALUE to the end of the definition contained in VAR. Take
22552 # advantage of any shell optimizations that allow amortized linear growth over
22553 # repeated appends, instead of the typical quadratic growth present in naive
22554 # implementations.
22555 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
22556 then :
22557 eval 'as_fn_append ()
22559 eval $1+=\$2
22561 else $as_nop
22562 as_fn_append ()
22564 eval $1=\$$1\$2
22566 fi # as_fn_append
22568 # as_fn_arith ARG...
22569 # ------------------
22570 # Perform arithmetic evaluation on the ARGs, and store the result in the
22571 # global $as_val. Take advantage of shells that can avoid forks. The arguments
22572 # must be portable across $(()) and expr.
22573 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
22574 then :
22575 eval 'as_fn_arith ()
22577 as_val=$(( $* ))
22579 else $as_nop
22580 as_fn_arith ()
22582 as_val=`expr "$@" || test $? -eq 1`
22584 fi # as_fn_arith
22587 if expr a : '\(a\)' >/dev/null 2>&1 &&
22588 test "X`expr 00001 : '.*\(...\)'`" = X001; then
22589 as_expr=expr
22590 else
22591 as_expr=false
22594 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
22595 as_basename=basename
22596 else
22597 as_basename=false
22600 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
22601 as_dirname=dirname
22602 else
22603 as_dirname=false
22606 as_me=`$as_basename -- "$0" ||
22607 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22608 X"$0" : 'X\(//\)$' \| \
22609 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
22610 printf "%s\n" X/"$0" |
22611 sed '/^.*\/\([^/][^/]*\)\/*$/{
22612 s//\1/
22615 /^X\/\(\/\/\)$/{
22616 s//\1/
22619 /^X\/\(\/\).*/{
22620 s//\1/
22623 s/.*/./; q'`
22625 # Avoid depending upon Character Ranges.
22626 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
22627 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22628 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
22629 as_cr_digits='0123456789'
22630 as_cr_alnum=$as_cr_Letters$as_cr_digits
22633 # Determine whether it's possible to make 'echo' print without a newline.
22634 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
22635 # for compatibility with existing Makefiles.
22636 ECHO_C= ECHO_N= ECHO_T=
22637 case `echo -n x` in #(((((
22638 -n*)
22639 case `echo 'xy\c'` in
22640 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
22641 xy) ECHO_C='\c';;
22642 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
22643 ECHO_T=' ';;
22644 esac;;
22646 ECHO_N='-n';;
22647 esac
22649 # For backward compatibility with old third-party macros, we provide
22650 # the shell variables $as_echo and $as_echo_n. New code should use
22651 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
22652 as_echo='printf %s\n'
22653 as_echo_n='printf %s'
22655 rm -f conf$$ conf$$.exe conf$$.file
22656 if test -d conf$$.dir; then
22657 rm -f conf$$.dir/conf$$.file
22658 else
22659 rm -f conf$$.dir
22660 mkdir conf$$.dir 2>/dev/null
22662 if (echo >conf$$.file) 2>/dev/null; then
22663 if ln -s conf$$.file conf$$ 2>/dev/null; then
22664 as_ln_s='ln -s'
22665 # ... but there are two gotchas:
22666 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
22667 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
22668 # In both cases, we have to default to `cp -pR'.
22669 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
22670 as_ln_s='cp -pR'
22671 elif ln conf$$.file conf$$ 2>/dev/null; then
22672 as_ln_s=ln
22673 else
22674 as_ln_s='cp -pR'
22676 else
22677 as_ln_s='cp -pR'
22679 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
22680 rmdir conf$$.dir 2>/dev/null
22683 # as_fn_mkdir_p
22684 # -------------
22685 # Create "$as_dir" as a directory, including parents if necessary.
22686 as_fn_mkdir_p ()
22689 case $as_dir in #(
22690 -*) as_dir=./$as_dir;;
22691 esac
22692 test -d "$as_dir" || eval $as_mkdir_p || {
22693 as_dirs=
22694 while :; do
22695 case $as_dir in #(
22696 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
22697 *) as_qdir=$as_dir;;
22698 esac
22699 as_dirs="'$as_qdir' $as_dirs"
22700 as_dir=`$as_dirname -- "$as_dir" ||
22701 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22702 X"$as_dir" : 'X\(//\)[^/]' \| \
22703 X"$as_dir" : 'X\(//\)$' \| \
22704 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22705 printf "%s\n" X"$as_dir" |
22706 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22707 s//\1/
22710 /^X\(\/\/\)[^/].*/{
22711 s//\1/
22714 /^X\(\/\/\)$/{
22715 s//\1/
22718 /^X\(\/\).*/{
22719 s//\1/
22722 s/.*/./; q'`
22723 test -d "$as_dir" && break
22724 done
22725 test -z "$as_dirs" || eval "mkdir $as_dirs"
22726 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
22729 } # as_fn_mkdir_p
22730 if mkdir -p . 2>/dev/null; then
22731 as_mkdir_p='mkdir -p "$as_dir"'
22732 else
22733 test -d ./-p && rmdir ./-p
22734 as_mkdir_p=false
22738 # as_fn_executable_p FILE
22739 # -----------------------
22740 # Test if FILE is an executable regular file.
22741 as_fn_executable_p ()
22743 test -f "$1" && test -x "$1"
22744 } # as_fn_executable_p
22745 as_test_x='test -x'
22746 as_executable_p=as_fn_executable_p
22748 # Sed expression to map a string onto a valid CPP name.
22749 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
22751 # Sed expression to map a string onto a valid variable name.
22752 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
22755 exec 6>&1
22756 ## ----------------------------------- ##
22757 ## Main body of $CONFIG_STATUS script. ##
22758 ## ----------------------------------- ##
22759 _ASEOF
22760 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
22762 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22763 # Save the log message, to keep $0 and so on meaningful, and to
22764 # report actual input values of CONFIG_FILES etc. instead of their
22765 # values after options handling.
22766 ac_log="
22767 This file was extended by Wine $as_me 8.4, which was
22768 generated by GNU Autoconf 2.71. Invocation command line was
22770 CONFIG_FILES = $CONFIG_FILES
22771 CONFIG_HEADERS = $CONFIG_HEADERS
22772 CONFIG_LINKS = $CONFIG_LINKS
22773 CONFIG_COMMANDS = $CONFIG_COMMANDS
22774 $ $0 $@
22776 on `(hostname || uname -n) 2>/dev/null | sed 1q`
22779 _ACEOF
22782 case $ac_config_headers in *"
22783 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
22784 esac
22787 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22788 # Files that config.status was made for.
22789 config_headers="$ac_config_headers"
22790 config_links="$ac_config_links"
22791 config_commands="$ac_config_commands"
22793 _ACEOF
22795 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22796 ac_cs_usage="\
22797 \`$as_me' instantiates files and other configuration actions
22798 from templates according to the current configuration. Unless the files
22799 and actions are specified as TAGs, all are instantiated by default.
22801 Usage: $0 [OPTION]... [TAG]...
22803 -h, --help print this help, then exit
22804 -V, --version print version number and configuration settings, then exit
22805 --config print configuration, then exit
22806 -q, --quiet, --silent
22807 do not print progress messages
22808 -d, --debug don't remove temporary files
22809 --recheck update $as_me by reconfiguring in the same conditions
22810 --header=FILE[:TEMPLATE]
22811 instantiate the configuration header FILE
22813 Configuration headers:
22814 $config_headers
22816 Configuration links:
22817 $config_links
22819 Configuration commands:
22820 $config_commands
22822 Report bugs to <wine-devel@winehq.org>.
22823 Wine home page: <https://www.winehq.org>."
22825 _ACEOF
22826 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
22827 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
22828 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22829 ac_cs_config='$ac_cs_config_escaped'
22830 ac_cs_version="\\
22831 Wine config.status 8.4
22832 configured by $0, generated by GNU Autoconf 2.71,
22833 with options \\"\$ac_cs_config\\"
22835 Copyright (C) 2021 Free Software Foundation, Inc.
22836 This config.status script is free software; the Free Software Foundation
22837 gives unlimited permission to copy, distribute and modify it."
22839 ac_pwd='$ac_pwd'
22840 srcdir='$srcdir'
22841 test -n "\$AWK" || AWK=awk
22842 _ACEOF
22844 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22845 # The default lists apply if the user does not specify any file.
22846 ac_need_defaults=:
22847 while test $# != 0
22849 case $1 in
22850 --*=?*)
22851 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22852 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
22853 ac_shift=:
22855 --*=)
22856 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22857 ac_optarg=
22858 ac_shift=:
22861 ac_option=$1
22862 ac_optarg=$2
22863 ac_shift=shift
22865 esac
22867 case $ac_option in
22868 # Handling of the options.
22869 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
22870 ac_cs_recheck=: ;;
22871 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
22872 printf "%s\n" "$ac_cs_version"; exit ;;
22873 --config | --confi | --conf | --con | --co | --c )
22874 printf "%s\n" "$ac_cs_config"; exit ;;
22875 --debug | --debu | --deb | --de | --d | -d )
22876 debug=: ;;
22877 --header | --heade | --head | --hea )
22878 $ac_shift
22879 case $ac_optarg in
22880 *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
22881 esac
22882 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
22883 ac_need_defaults=false;;
22884 --he | --h)
22885 # Conflict between --help and --header
22886 as_fn_error $? "ambiguous option: \`$1'
22887 Try \`$0 --help' for more information.";;
22888 --help | --hel | -h )
22889 printf "%s\n" "$ac_cs_usage"; exit ;;
22890 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
22891 | -silent | --silent | --silen | --sile | --sil | --si | --s)
22892 ac_cs_silent=: ;;
22894 # This is an error.
22895 -*) as_fn_error $? "unrecognized option: \`$1'
22896 Try \`$0 --help' for more information." ;;
22898 *) as_fn_append ac_config_targets " $1"
22899 ac_need_defaults=false ;;
22901 esac
22902 shift
22903 done
22905 ac_configure_extra_args=
22907 if $ac_cs_silent; then
22908 exec 6>/dev/null
22909 ac_configure_extra_args="$ac_configure_extra_args --silent"
22912 _ACEOF
22913 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22914 if \$ac_cs_recheck; then
22915 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
22916 shift
22917 \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
22918 CONFIG_SHELL='$SHELL'
22919 export CONFIG_SHELL
22920 exec "\$@"
22923 _ACEOF
22924 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22925 exec 5>>config.log
22927 echo
22928 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
22929 ## Running $as_me. ##
22930 _ASBOX
22931 printf "%s\n" "$ac_log"
22932 } >&5
22934 _ACEOF
22935 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22937 # INIT-COMMANDS
22939 wine_fn_output_makedep ()
22941 as_dir=tools; as_fn_mkdir_p
22942 $CC -I${wine_srcdir}tools -Iinclude -I${wine_srcdir}include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext ${wine_srcdir}tools/makedep.c $LDFLAGS
22944 wine_fn_output_makefile ()
22946 cat <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && "$wine_makedep"$makedep_flags && return
22947 # This Makefile understands the following targets:
22949 # all (default): build wine
22950 # clean: remove all intermediate files
22951 # distclean: also remove all files created by configure
22952 # test: run tests
22953 # testclean: clean test results to force running all tests again
22954 # install-lib: install libraries needed to run applications
22955 # install-dev: install development environment
22956 # install: install everything
22957 # uninstall: uninstall everything
22958 # ctags: create a tags file for vim and others.
22959 # etags: create a TAGS file for Emacs.
22961 SHELL = $SHELL
22962 PATH_SEPARATOR = $PATH_SEPARATOR
22963 PACKAGE_NAME = $PACKAGE_NAME
22964 PACKAGE_TARNAME = $PACKAGE_TARNAME
22965 PACKAGE_VERSION = $PACKAGE_VERSION
22966 PACKAGE_STRING = $PACKAGE_STRING
22967 PACKAGE_BUGREPORT = $PACKAGE_BUGREPORT
22968 PACKAGE_URL = $PACKAGE_URL
22969 exec_prefix = $exec_prefix
22970 prefix = $prefix
22971 program_transform_name = $program_transform_name
22972 bindir = $bindir
22973 sbindir = $sbindir
22974 libexecdir = $libexecdir
22975 datarootdir = $datarootdir
22976 datadir = $datadir
22977 sysconfdir = $sysconfdir
22978 sharedstatedir = $sharedstatedir
22979 localstatedir = $localstatedir
22980 runstatedir = $runstatedir
22981 includedir = $includedir
22982 oldincludedir = $oldincludedir
22983 docdir = $docdir
22984 infodir = $infodir
22985 htmldir = $htmldir
22986 dvidir = $dvidir
22987 pdfdir = $pdfdir
22988 psdir = $psdir
22989 libdir = $libdir
22990 localedir = $localedir
22991 mandir = $mandir
22992 DEFS = $DEFS
22993 ECHO_C = $ECHO_C
22994 ECHO_N = $ECHO_N
22995 ECHO_T = $ECHO_T
22996 LIBS = $LIBS
22997 build_alias = $build_alias
22998 host_alias = $host_alias
22999 target_alias = $target_alias
23000 system_dllpath = $system_dllpath
23001 build = $build
23002 build_cpu = $build_cpu
23003 build_vendor = $build_vendor
23004 build_os = $build_os
23005 host = $host
23006 host_cpu = $host_cpu
23007 host_vendor = $host_vendor
23008 host_os = $host_os
23009 dlldir = $dlldir
23010 fontdir = $fontdir
23011 nlsdir = $nlsdir
23012 srcdir = $srcdir
23013 SET_MAKE = $SET_MAKE
23014 CC = $CC
23015 CFLAGS = $CFLAGS
23016 LDFLAGS = $LDFLAGS
23017 CPPFLAGS = $CPPFLAGS
23018 ac_ct_CC = $ac_ct_CC
23019 EXEEXT = $EXEEXT
23020 OBJEXT = $OBJEXT
23021 CXX = $CXX
23022 CXXFLAGS = $CXXFLAGS
23023 ac_ct_CXX = $ac_ct_CXX
23024 CPPBIN = $CPPBIN
23025 LD = $LD
23026 TARGETFLAGS = $TARGETFLAGS
23027 toolsext = $toolsext
23028 HOST_ARCH = $HOST_ARCH
23029 aarch64_CC = $aarch64_CC
23030 aarch64_CFLAGS = $aarch64_CFLAGS
23031 aarch64_EXTRACFLAGS = $aarch64_EXTRACFLAGS
23032 aarch64_LDFLAGS = $aarch64_LDFLAGS
23033 aarch64_DEBUG = $aarch64_DEBUG
23034 aarch64_TARGET = $aarch64_TARGET
23035 aarch64_DELAYLOADFLAG = $aarch64_DELAYLOADFLAG
23036 aarch64_DISABLED_SUBDIRS = $aarch64_DISABLED_SUBDIRS
23037 arm_CC = $arm_CC
23038 arm_CFLAGS = $arm_CFLAGS
23039 arm_EXTRACFLAGS = $arm_EXTRACFLAGS
23040 arm_LDFLAGS = $arm_LDFLAGS
23041 arm_DEBUG = $arm_DEBUG
23042 arm_TARGET = $arm_TARGET
23043 arm_DELAYLOADFLAG = $arm_DELAYLOADFLAG
23044 arm_DISABLED_SUBDIRS = $arm_DISABLED_SUBDIRS
23045 i386_CC = $i386_CC
23046 i386_CFLAGS = $i386_CFLAGS
23047 i386_EXTRACFLAGS = $i386_EXTRACFLAGS
23048 i386_LDFLAGS = $i386_LDFLAGS
23049 i386_DEBUG = $i386_DEBUG
23050 i386_TARGET = $i386_TARGET
23051 i386_DELAYLOADFLAG = $i386_DELAYLOADFLAG
23052 i386_DISABLED_SUBDIRS = $i386_DISABLED_SUBDIRS
23053 x86_64_CC = $x86_64_CC
23054 x86_64_CFLAGS = $x86_64_CFLAGS
23055 x86_64_EXTRACFLAGS = $x86_64_EXTRACFLAGS
23056 x86_64_LDFLAGS = $x86_64_LDFLAGS
23057 x86_64_DEBUG = $x86_64_DEBUG
23058 x86_64_TARGET = $x86_64_TARGET
23059 x86_64_DELAYLOADFLAG = $x86_64_DELAYLOADFLAG
23060 x86_64_DISABLED_SUBDIRS = $x86_64_DISABLED_SUBDIRS
23061 toolsdir = $toolsdir
23062 MAKEDEP = $MAKEDEP
23063 RUNTESTFLAGS = $RUNTESTFLAGS
23064 SED_CMD = $SED_CMD
23065 FLEX = $FLEX
23066 BISON = $BISON
23067 AR = $AR
23068 ac_ct_AR = $ac_ct_AR
23069 STRIP = $STRIP
23070 RANLIB = $RANLIB
23071 LN_S = $LN_S
23072 GREP = $GREP
23073 EGREP = $EGREP
23074 LDCONFIG = $LDCONFIG
23075 MSGFMT = $MSGFMT
23076 PKG_CONFIG = $PKG_CONFIG
23077 FONTFORGE = $FONTFORGE
23078 RSVG = $RSVG
23079 CONVERT = $CONVERT
23080 ICOTOOL = $ICOTOOL
23081 I386_LIBS = $I386_LIBS
23082 OPENGL_LIBS = $OPENGL_LIBS
23083 DLLFLAGS = $DLLFLAGS
23084 LDDLLFLAGS = $LDDLLFLAGS
23085 LDEXECFLAGS = $LDEXECFLAGS
23086 EXTRACFLAGS = $EXTRACFLAGS
23087 UNIXDLLFLAGS = $UNIXDLLFLAGS
23088 UNIXLDFLAGS = $UNIXLDFLAGS
23089 TOP_INSTALL_LIB = $TOP_INSTALL_LIB
23090 TOP_INSTALL_DEV = $TOP_INSTALL_DEV
23091 WINELOADER_LDFLAGS = $WINELOADER_LDFLAGS
23092 WINEPRELOADER_LDFLAGS = $WINEPRELOADER_LDFLAGS
23093 LDD = $LDD
23094 OTOOL = $OTOOL
23095 READELF = $READELF
23096 SUBDIRS = $SUBDIRS
23097 DISABLED_SUBDIRS = $DISABLED_SUBDIRS
23098 CONFIGURE_TARGETS = $CONFIGURE_TARGETS
23099 CARBON_LIBS = $CARBON_LIBS
23100 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
23101 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
23102 IOKIT_LIBS = $IOKIT_LIBS
23103 METAL_LIBS = $METAL_LIBS
23104 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
23105 CORESERVICES_LIBS = $CORESERVICES_LIBS
23106 APPKIT_LIBS = $APPKIT_LIBS
23107 SECURITY_LIBS = $SECURITY_LIBS
23108 SYSTEMCONFIGURATION_LIBS = $SYSTEMCONFIGURATION_LIBS
23109 COREAUDIO_LIBS = $COREAUDIO_LIBS
23110 OPENCL_LIBS = $OPENCL_LIBS
23111 OBJC = $OBJC
23112 OBJCFLAGS = $OBJCFLAGS
23113 ac_ct_OBJC = $ac_ct_OBJC
23114 WINELOADER_DEPENDS = $WINELOADER_DEPENDS
23115 PE_ARCHS = $PE_ARCHS
23116 MINGW_PKG_CONFIG = $MINGW_PKG_CONFIG
23117 FAUDIO_PE_CFLAGS = $FAUDIO_PE_CFLAGS
23118 FAUDIO_PE_LIBS = $FAUDIO_PE_LIBS
23119 GSM_PE_CFLAGS = $GSM_PE_CFLAGS
23120 GSM_PE_LIBS = $GSM_PE_LIBS
23121 JPEG_PE_CFLAGS = $JPEG_PE_CFLAGS
23122 JPEG_PE_LIBS = $JPEG_PE_LIBS
23123 JXR_PE_CFLAGS = $JXR_PE_CFLAGS
23124 JXR_PE_LIBS = $JXR_PE_LIBS
23125 LCMS2_PE_CFLAGS = $LCMS2_PE_CFLAGS
23126 LCMS2_PE_LIBS = $LCMS2_PE_LIBS
23127 LDAP_PE_CFLAGS = $LDAP_PE_CFLAGS
23128 LDAP_PE_LIBS = $LDAP_PE_LIBS
23129 MPG123_PE_CFLAGS = $MPG123_PE_CFLAGS
23130 MPG123_PE_LIBS = $MPG123_PE_LIBS
23131 PNG_PE_CFLAGS = $PNG_PE_CFLAGS
23132 PNG_PE_LIBS = $PNG_PE_LIBS
23133 TIFF_PE_CFLAGS = $TIFF_PE_CFLAGS
23134 TIFF_PE_LIBS = $TIFF_PE_LIBS
23135 VKD3D_PE_CFLAGS = $VKD3D_PE_CFLAGS
23136 VKD3D_PE_LIBS = $VKD3D_PE_LIBS
23137 XML2_PE_CFLAGS = $XML2_PE_CFLAGS
23138 XML2_PE_LIBS = $XML2_PE_LIBS
23139 XSLT_PE_CFLAGS = $XSLT_PE_CFLAGS
23140 XSLT_PE_LIBS = $XSLT_PE_LIBS
23141 ZLIB_PE_CFLAGS = $ZLIB_PE_CFLAGS
23142 ZLIB_PE_LIBS = $ZLIB_PE_LIBS
23143 ZYDIS_PE_CFLAGS = $ZYDIS_PE_CFLAGS
23144 ZYDIS_PE_LIBS = $ZYDIS_PE_LIBS
23145 PTHREAD_LIBS = $PTHREAD_LIBS
23146 XMKMF = $XMKMF
23147 CPP = $CPP
23148 X_CFLAGS = $X_CFLAGS
23149 X_PRE_LIBS = $X_PRE_LIBS
23150 X_LIBS = $X_LIBS
23151 X_EXTRA_LIBS = $X_EXTRA_LIBS
23152 WAYLAND_CLIENT_CFLAGS = $WAYLAND_CLIENT_CFLAGS
23153 WAYLAND_CLIENT_LIBS = $WAYLAND_CLIENT_LIBS
23154 PCAP_LIBS = $PCAP_LIBS
23155 PCSCLITE_LIBS = $PCSCLITE_LIBS
23156 INOTIFY_CFLAGS = $INOTIFY_CFLAGS
23157 INOTIFY_LIBS = $INOTIFY_LIBS
23158 DBUS_CFLAGS = $DBUS_CFLAGS
23159 DBUS_LIBS = $DBUS_LIBS
23160 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
23161 GNUTLS_LIBS = $GNUTLS_LIBS
23162 SANE_CFLAGS = $SANE_CFLAGS
23163 SANE_LIBS = $SANE_LIBS
23164 USB_CFLAGS = $USB_CFLAGS
23165 USB_LIBS = $USB_LIBS
23166 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
23167 GPHOTO2_LIBS = $GPHOTO2_LIBS
23168 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
23169 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
23170 RESOLV_LIBS = $RESOLV_LIBS
23171 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
23172 FREETYPE_LIBS = $FREETYPE_LIBS
23173 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
23174 PULSE_CFLAGS = $PULSE_CFLAGS
23175 PULSE_LIBS = $PULSE_LIBS
23176 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
23177 GSTREAMER_LIBS = $GSTREAMER_LIBS
23178 ALSA_LIBS = $ALSA_LIBS
23179 OSS4_CFLAGS = $OSS4_CFLAGS
23180 OSS4_LIBS = $OSS4_LIBS
23181 UDEV_CFLAGS = $UDEV_CFLAGS
23182 UDEV_LIBS = $UDEV_LIBS
23183 UNWIND_CFLAGS = $UNWIND_CFLAGS
23184 UNWIND_LIBS = $UNWIND_LIBS
23185 SDL2_CFLAGS = $SDL2_CFLAGS
23186 SDL2_LIBS = $SDL2_LIBS
23187 CAPI20_CFLAGS = $CAPI20_CFLAGS
23188 CAPI20_LIBS = $CAPI20_LIBS
23189 CUPS_CFLAGS = $CUPS_CFLAGS
23190 CUPS_LIBS = $CUPS_LIBS
23191 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
23192 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
23193 KRB5_CFLAGS = $KRB5_CFLAGS
23194 KRB5_LIBS = $KRB5_LIBS
23195 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
23196 GSSAPI_LIBS = $GSSAPI_LIBS
23197 PROCSTAT_LIBS = $PROCSTAT_LIBS
23198 NETAPI_CFLAGS = $NETAPI_CFLAGS
23199 NETAPI_LIBS = $NETAPI_LIBS
23200 MSVCRTFLAGS = $MSVCRTFLAGS
23201 DELAYLOADFLAG = $DELAYLOADFLAG
23202 WINELOADER_PROGRAMS = $WINELOADER_PROGRAMS
23203 RT_LIBS = $RT_LIBS
23204 TAGSFLAGS = $TAGSFLAGS
23205 LIBOBJS = $LIBOBJS
23206 LTLIBOBJS = $LTLIBOBJS
23207 $SET_MAKE
23208 $wine_rules
23209 _WINE_EOF
23210 as_fn_error $? "could not create Makefile" "$LINENO" 5
23213 _ACEOF
23215 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23217 # Handling of arguments.
23218 for ac_config_target in $ac_config_targets
23220 case $ac_config_target in
23221 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
23222 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
23223 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
23224 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
23225 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
23226 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
23228 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
23229 esac
23230 done
23233 # If the user did not use the arguments to specify the items to instantiate,
23234 # then the envvar interface is used. Set only those that are not.
23235 # We use the long form for the default assignment because of an extremely
23236 # bizarre bug on SunOS 4.1.3.
23237 if $ac_need_defaults; then
23238 test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
23239 test ${CONFIG_LINKS+y} || CONFIG_LINKS=$config_links
23240 test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
23243 # Have a temporary directory for convenience. Make it in the build tree
23244 # simply because there is no reason against having it here, and in addition,
23245 # creating and moving files from /tmp can sometimes cause problems.
23246 # Hook for its removal unless debugging.
23247 # Note that there is a small window in which the directory will not be cleaned:
23248 # after its creation but before its name has been assigned to `$tmp'.
23249 $debug ||
23251 tmp= ac_tmp=
23252 trap 'exit_status=$?
23253 : "${ac_tmp:=$tmp}"
23254 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
23256 trap 'as_fn_exit 1' 1 2 13 15
23258 # Create a (secure) tmp directory for tmp files.
23261 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
23262 test -d "$tmp"
23263 } ||
23265 tmp=./conf$$-$RANDOM
23266 (umask 077 && mkdir "$tmp")
23267 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
23268 ac_tmp=$tmp
23270 # Set up the scripts for CONFIG_HEADERS section.
23271 # No need to generate them if there are no CONFIG_HEADERS.
23272 # This happens for instance with `./config.status Makefile'.
23273 if test -n "$CONFIG_HEADERS"; then
23274 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
23275 BEGIN {
23276 _ACEOF
23278 # Transform confdefs.h into an awk script `defines.awk', embedded as
23279 # here-document in config.status, that substitutes the proper values into
23280 # config.h.in to produce config.h.
23282 # Create a delimiter string that does not exist in confdefs.h, to ease
23283 # handling of long lines.
23284 ac_delim='%!_!# '
23285 for ac_last_try in false false :; do
23286 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
23287 if test -z "$ac_tt"; then
23288 break
23289 elif $ac_last_try; then
23290 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
23291 else
23292 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
23294 done
23296 # For the awk script, D is an array of macro values keyed by name,
23297 # likewise P contains macro parameters if any. Preserve backslash
23298 # newline sequences.
23300 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
23301 sed -n '
23302 s/.\{148\}/&'"$ac_delim"'/g
23303 t rset
23304 :rset
23305 s/^[ ]*#[ ]*define[ ][ ]*/ /
23306 t def
23308 :def
23309 s/\\$//
23310 t bsnl
23311 s/["\\]/\\&/g
23312 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
23313 D["\1"]=" \3"/p
23314 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
23316 :bsnl
23317 s/["\\]/\\&/g
23318 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
23319 D["\1"]=" \3\\\\\\n"\\/p
23320 t cont
23321 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
23322 t cont
23324 :cont
23326 s/.\{148\}/&'"$ac_delim"'/g
23327 t clear
23328 :clear
23329 s/\\$//
23330 t bsnlc
23331 s/["\\]/\\&/g; s/^/"/; s/$/"/p
23333 :bsnlc
23334 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
23335 b cont
23336 ' <confdefs.h | sed '
23337 s/'"$ac_delim"'/"\\\
23338 "/g' >>$CONFIG_STATUS || ac_write_fail=1
23340 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23341 for (key in D) D_is_set[key] = 1
23342 FS = "\a"
23344 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
23345 line = \$ 0
23346 split(line, arg, " ")
23347 if (arg[1] == "#") {
23348 defundef = arg[2]
23349 mac1 = arg[3]
23350 } else {
23351 defundef = substr(arg[1], 2)
23352 mac1 = arg[2]
23354 split(mac1, mac2, "(") #)
23355 macro = mac2[1]
23356 prefix = substr(line, 1, index(line, defundef) - 1)
23357 if (D_is_set[macro]) {
23358 # Preserve the white space surrounding the "#".
23359 print prefix "define", macro P[macro] D[macro]
23360 next
23361 } else {
23362 # Replace #undef with comments. This is necessary, for example,
23363 # in the case of _POSIX_SOURCE, which is predefined and required
23364 # on some systems where configure will not decide to define it.
23365 if (defundef == "undef") {
23366 print "/*", prefix defundef, macro, "*/"
23367 next
23371 { print }
23372 _ACAWK
23373 _ACEOF
23374 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23375 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
23376 fi # test -n "$CONFIG_HEADERS"
23379 eval set X " :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
23380 shift
23381 for ac_tag
23383 case $ac_tag in
23384 :[FHLC]) ac_mode=$ac_tag; continue;;
23385 esac
23386 case $ac_mode$ac_tag in
23387 :[FHL]*:*);;
23388 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
23389 :[FH]-) ac_tag=-:-;;
23390 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
23391 esac
23392 ac_save_IFS=$IFS
23393 IFS=:
23394 set x $ac_tag
23395 IFS=$ac_save_IFS
23396 shift
23397 ac_file=$1
23398 shift
23400 case $ac_mode in
23401 :L) ac_source=$1;;
23402 :[FH])
23403 ac_file_inputs=
23404 for ac_f
23406 case $ac_f in
23407 -) ac_f="$ac_tmp/stdin";;
23408 *) # Look for the file first in the build tree, then in the source tree
23409 # (if the path is not absolute). The absolute path cannot be DOS-style,
23410 # because $ac_f cannot contain `:'.
23411 test -f "$ac_f" ||
23412 case $ac_f in
23413 [\\/$]*) false;;
23414 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
23415 esac ||
23416 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
23417 esac
23418 case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
23419 as_fn_append ac_file_inputs " '$ac_f'"
23420 done
23422 # Let's still pretend it is `configure' which instantiates (i.e., don't
23423 # use $as_me), people would be surprised to read:
23424 # /* config.h. Generated by config.status. */
23425 configure_input='Generated from '`
23426 printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
23427 `' by configure.'
23428 if test x"$ac_file" != x-; then
23429 configure_input="$ac_file. $configure_input"
23430 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
23431 printf "%s\n" "$as_me: creating $ac_file" >&6;}
23433 # Neutralize special characters interpreted by sed in replacement strings.
23434 case $configure_input in #(
23435 *\&* | *\|* | *\\* )
23436 ac_sed_conf_input=`printf "%s\n" "$configure_input" |
23437 sed 's/[\\\\&|]/\\\\&/g'`;; #(
23438 *) ac_sed_conf_input=$configure_input;;
23439 esac
23441 case $ac_tag in
23442 *:-:* | *:-) cat >"$ac_tmp/stdin" \
23443 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
23444 esac
23446 esac
23448 ac_dir=`$as_dirname -- "$ac_file" ||
23449 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23450 X"$ac_file" : 'X\(//\)[^/]' \| \
23451 X"$ac_file" : 'X\(//\)$' \| \
23452 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
23453 printf "%s\n" X"$ac_file" |
23454 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23455 s//\1/
23458 /^X\(\/\/\)[^/].*/{
23459 s//\1/
23462 /^X\(\/\/\)$/{
23463 s//\1/
23466 /^X\(\/\).*/{
23467 s//\1/
23470 s/.*/./; q'`
23471 as_dir="$ac_dir"; as_fn_mkdir_p
23472 ac_builddir=.
23474 case "$ac_dir" in
23475 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
23477 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
23478 # A ".." for each directory in $ac_dir_suffix.
23479 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
23480 case $ac_top_builddir_sub in
23481 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
23482 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
23483 esac ;;
23484 esac
23485 ac_abs_top_builddir=$ac_pwd
23486 ac_abs_builddir=$ac_pwd$ac_dir_suffix
23487 # for backward compatibility:
23488 ac_top_builddir=$ac_top_build_prefix
23490 case $srcdir in
23491 .) # We are building in place.
23492 ac_srcdir=.
23493 ac_top_srcdir=$ac_top_builddir_sub
23494 ac_abs_top_srcdir=$ac_pwd ;;
23495 [\\/]* | ?:[\\/]* ) # Absolute name.
23496 ac_srcdir=$srcdir$ac_dir_suffix;
23497 ac_top_srcdir=$srcdir
23498 ac_abs_top_srcdir=$srcdir ;;
23499 *) # Relative name.
23500 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
23501 ac_top_srcdir=$ac_top_build_prefix$srcdir
23502 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
23503 esac
23504 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
23507 case $ac_mode in
23511 # CONFIG_HEADER
23513 if test x"$ac_file" != x-; then
23515 printf "%s\n" "/* $configure_input */" >&1 \
23516 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
23517 } >"$ac_tmp/config.h" \
23518 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
23519 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
23520 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
23521 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
23522 else
23523 rm -f "$ac_file"
23524 mv "$ac_tmp/config.h" "$ac_file" \
23525 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
23527 else
23528 printf "%s\n" "/* $configure_input */" >&1 \
23529 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
23530 || as_fn_error $? "could not create -" "$LINENO" 5
23535 # CONFIG_LINK
23538 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
23540 else
23541 # Prefer the file from the source tree if names are identical.
23542 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
23543 ac_source=$srcdir/$ac_source
23546 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
23547 printf "%s\n" "$as_me: linking $ac_source to $ac_file" >&6;}
23549 if test ! -r "$ac_source"; then
23550 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
23552 rm -f "$ac_file"
23554 # Try a relative symlink, then a hard link, then a copy.
23555 case $ac_source in
23556 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
23557 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
23558 esac
23559 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
23560 ln "$ac_source" "$ac_file" 2>/dev/null ||
23561 cp -p "$ac_source" "$ac_file" ||
23562 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
23565 :C) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
23566 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
23568 esac
23571 case $ac_file$ac_mode in
23572 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
23573 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
23574 "Makefile":C) wine_fn_output_makefile Makefile ;;
23576 esac
23577 done # for ac_tag
23580 as_fn_exit 0
23581 _ACEOF
23582 ac_clean_files=$ac_clean_files_save
23584 test $ac_write_fail = 0 ||
23585 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
23588 # configure is writing to config.log, and then calls config.status.
23589 # config.status does its own redirection, appending to config.log.
23590 # Unfortunately, on DOS this fails, as config.log is still kept open
23591 # by configure, so config.status won't be able to write to it; its
23592 # output is simply discarded. So we exec the FD to /dev/null,
23593 # effectively closing config.log, so it can be properly (re)opened and
23594 # appended to by config.status. When coming back to configure, we
23595 # need to make the FD available again.
23596 if test "$no_create" != yes; then
23597 ac_cs_success=:
23598 ac_config_status_args=
23599 test "$silent" = yes &&
23600 ac_config_status_args="$ac_config_status_args --quiet"
23601 exec 5>/dev/null
23602 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
23603 exec 5>>config.log
23604 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
23605 # would make configure fail if this is the last instruction.
23606 $ac_cs_success || as_fn_exit 1
23608 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
23609 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
23610 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
23614 if test "$no_create" = "yes"
23615 then
23616 exit 0
23619 ac_save_IFS="$IFS"
23620 if test "x$wine_notices" != x; then
23621 echo >&6
23622 IFS="|"
23623 for msg in $wine_notices; do
23624 IFS="$ac_save_IFS"
23625 if ${msg:+false} :
23626 then :
23628 else $as_nop
23629 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $msg" >&5
23630 printf "%s\n" "$as_me: $msg" >&6;}
23632 done
23634 IFS="|"
23635 for msg in $wine_warnings; do
23636 IFS="$ac_save_IFS"
23637 if ${msg:+false} :
23638 then :
23640 else $as_nop
23641 echo >&2
23642 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
23643 printf "%s\n" "$as_me: WARNING: $msg" >&2;}
23645 done
23646 IFS="$ac_save_IFS"
23648 printf "%s\n" "
23649 $as_me: Finished. Do '${ac_make}' to compile Wine.
23650 " >&6