vkd3d: Import upstream release 1.7.
[wine.git] / configure
blob647a1237469171780da1c5266bdef19ed83dba88
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_hal
1144 enable_hhctrl_ocx
1145 enable_hid
1146 enable_hidclass_sys
1147 enable_hidparse_sys
1148 enable_hlink
1149 enable_hnetcfg
1150 enable_http_sys
1151 enable_httpapi
1152 enable_ia2comproxy
1153 enable_iccvid
1154 enable_icmp
1155 enable_ieframe
1156 enable_ieproxy
1157 enable_imaadp32_acm
1158 enable_imagehlp
1159 enable_imm32
1160 enable_inetcomm
1161 enable_inetcpl_cpl
1162 enable_inetmib1
1163 enable_infosoft
1164 enable_initpki
1165 enable_inkobj
1166 enable_inseng
1167 enable_iphlpapi
1168 enable_iprop
1169 enable_ir50_32
1170 enable_irprops_cpl
1171 enable_itircl
1172 enable_itss
1173 enable_joy_cpl
1174 enable_jscript
1175 enable_jsproxy
1176 enable_kerberos
1177 enable_kernel32
1178 enable_kernelbase
1179 enable_ksecdd_sys
1180 enable_ksproxy_ax
1181 enable_ksuser
1182 enable_ktmw32
1183 enable_l3codeca_acm
1184 enable_light_msstyles
1185 enable_loadperf
1186 enable_localspl
1187 enable_localui
1188 enable_lz32
1189 enable_mapi32
1190 enable_mapistub
1191 enable_mciavi32
1192 enable_mcicda
1193 enable_mciqtz32
1194 enable_mciseq
1195 enable_mciwave
1196 enable_mf
1197 enable_mf3216
1198 enable_mferror
1199 enable_mfmediaengine
1200 enable_mfplat
1201 enable_mfplay
1202 enable_mfreadwrite
1203 enable_mfsrcsnk
1204 enable_mgmtapi
1205 enable_midimap
1206 enable_mlang
1207 enable_mmcndmgr
1208 enable_mmdevapi
1209 enable_mountmgr_sys
1210 enable_mp3dmod
1211 enable_mpr
1212 enable_mprapi
1213 enable_msacm32_drv
1214 enable_msacm32
1215 enable_msado15
1216 enable_msadp32_acm
1217 enable_msasn1
1218 enable_msauddecmft
1219 enable_mscat32
1220 enable_mscms
1221 enable_mscoree
1222 enable_mscorwks
1223 enable_msctf
1224 enable_msctfmonitor
1225 enable_msctfp
1226 enable_msdaps
1227 enable_msdasql
1228 enable_msdelta
1229 enable_msdmo
1230 enable_msdrm
1231 enable_msftedit
1232 enable_msg711_acm
1233 enable_msgsm32_acm
1234 enable_mshtml_tlb
1235 enable_mshtml
1236 enable_msi
1237 enable_msident
1238 enable_msimg32
1239 enable_msimsg
1240 enable_msimtf
1241 enable_msisip
1242 enable_msisys_ocx
1243 enable_msls31
1244 enable_msmpeg2vdec
1245 enable_msnet32
1246 enable_mspatcha
1247 enable_msports
1248 enable_msrle32
1249 enable_msscript_ocx
1250 enable_mssign32
1251 enable_mssip32
1252 enable_mstask
1253 enable_msv1_0
1254 enable_msvcirt
1255 enable_msvcm80
1256 enable_msvcm90
1257 enable_msvcp100
1258 enable_msvcp110
1259 enable_msvcp120
1260 enable_msvcp120_app
1261 enable_msvcp140
1262 enable_msvcp140_1
1263 enable_msvcp140_2
1264 enable_msvcp140_atomic_wait
1265 enable_msvcp60
1266 enable_msvcp70
1267 enable_msvcp71
1268 enable_msvcp80
1269 enable_msvcp90
1270 enable_msvcp_win
1271 enable_msvcr100
1272 enable_msvcr110
1273 enable_msvcr120
1274 enable_msvcr120_app
1275 enable_msvcr70
1276 enable_msvcr71
1277 enable_msvcr80
1278 enable_msvcr90
1279 enable_msvcrt
1280 enable_msvcrt20
1281 enable_msvcrt40
1282 enable_msvcrtd
1283 enable_msvfw32
1284 enable_msvidc32
1285 enable_mswsock
1286 enable_msxml
1287 enable_msxml2
1288 enable_msxml3
1289 enable_msxml4
1290 enable_msxml6
1291 enable_mtxdm
1292 enable_ncrypt
1293 enable_nddeapi
1294 enable_ndis_sys
1295 enable_netapi32
1296 enable_netcfgx
1297 enable_netio_sys
1298 enable_netprofm
1299 enable_netutils
1300 enable_newdev
1301 enable_ninput
1302 enable_normaliz
1303 enable_npmshtml
1304 enable_npptools
1305 enable_nsi
1306 enable_nsiproxy_sys
1307 enable_ntdll
1308 enable_ntdsapi
1309 enable_ntoskrnl_exe
1310 enable_ntprint
1311 enable_objsel
1312 enable_odbc32
1313 enable_odbcbcp
1314 enable_odbccp32
1315 enable_odbccu32
1316 enable_ole32
1317 enable_oleacc
1318 enable_oleaut32
1319 enable_olecli32
1320 enable_oledb32
1321 enable_oledlg
1322 enable_olepro32
1323 enable_olesvr32
1324 enable_olethk32
1325 enable_opcservices
1326 enable_opencl
1327 enable_opengl32
1328 enable_packager
1329 enable_pdh
1330 enable_photometadatahandler
1331 enable_pidgen
1332 enable_powrprof
1333 enable_printui
1334 enable_prntvpt
1335 enable_propsys
1336 enable_psapi
1337 enable_pstorec
1338 enable_pwrshplugin
1339 enable_qasf
1340 enable_qcap
1341 enable_qdvd
1342 enable_qedit
1343 enable_qmgr
1344 enable_qmgrprxy
1345 enable_quartz
1346 enable_query
1347 enable_qwave
1348 enable_rasapi32
1349 enable_rasdlg
1350 enable_regapi
1351 enable_resutils
1352 enable_riched20
1353 enable_riched32
1354 enable_rpcrt4
1355 enable_rsabase
1356 enable_rsaenh
1357 enable_rstrtmgr
1358 enable_rtutils
1359 enable_rtworkq
1360 enable_samlib
1361 enable_sane_ds
1362 enable_sapi
1363 enable_sas
1364 enable_scarddlg
1365 enable_scardsvr
1366 enable_sccbase
1367 enable_schannel
1368 enable_schedsvc
1369 enable_scrobj
1370 enable_scrrun
1371 enable_scsiport_sys
1372 enable_sechost
1373 enable_secur32
1374 enable_security
1375 enable_sensapi
1376 enable_serialui
1377 enable_setupapi
1378 enable_sfc
1379 enable_sfc_os
1380 enable_shcore
1381 enable_shdoclc
1382 enable_shdocvw
1383 enable_shell32
1384 enable_shfolder
1385 enable_shlwapi
1386 enable_slbcsp
1387 enable_slc
1388 enable_snmpapi
1389 enable_softpub
1390 enable_spoolss
1391 enable_sppc
1392 enable_srclient
1393 enable_srvcli
1394 enable_sspicli
1395 enable_stdole2_tlb
1396 enable_stdole32_tlb
1397 enable_sti
1398 enable_strmdll
1399 enable_svrapi
1400 enable_sxs
1401 enable_t2embed
1402 enable_tapi32
1403 enable_taskschd
1404 enable_tbs
1405 enable_tdh
1406 enable_tdi_sys
1407 enable_threadpoolwinrt
1408 enable_traffic
1409 enable_twain_32
1410 enable_tzres
1411 enable_ucrtbase
1412 enable_uianimation
1413 enable_uiautomationcore
1414 enable_uiribbon
1415 enable_unicows
1416 enable_updspapi
1417 enable_url
1418 enable_urlmon
1419 enable_usbd_sys
1420 enable_user32
1421 enable_userenv
1422 enable_usp10
1423 enable_utildll
1424 enable_uxtheme
1425 enable_vbscript
1426 enable_vcomp
1427 enable_vcomp100
1428 enable_vcomp110
1429 enable_vcomp120
1430 enable_vcomp140
1431 enable_vcomp90
1432 enable_vcruntime140
1433 enable_vcruntime140_1
1434 enable_vdmdbg
1435 enable_version
1436 enable_vga
1437 enable_virtdisk
1438 enable_vssapi
1439 enable_vulkan_1
1440 enable_wbemdisp
1441 enable_wbemprox
1442 enable_wdscore
1443 enable_webservices
1444 enable_websocket
1445 enable_wer
1446 enable_wevtapi
1447 enable_wevtsvc
1448 enable_wiaservc
1449 enable_wimgapi
1450 enable_win32u
1451 enable_windows_devices_enumeration
1452 enable_windows_gaming_input
1453 enable_windows_gaming_ui_gamebar
1454 enable_windows_globalization
1455 enable_windows_media_devices
1456 enable_windows_media_speech
1457 enable_windows_media
1458 enable_windows_networking
1459 enable_windows_perception_stub
1460 enable_windows_system_profile_systemmanufacturers
1461 enable_windows_ui
1462 enable_windowscodecs
1463 enable_windowscodecsext
1464 enable_winealsa_drv
1465 enable_wineandroid_drv
1466 enable_winebus_sys
1467 enable_winecoreaudio_drv
1468 enable_winecrt0
1469 enable_wined3d
1470 enable_winegstreamer
1471 enable_winehid_sys
1472 enable_winemac_drv
1473 enable_winemapi
1474 enable_wineoss_drv
1475 enable_wineps_drv
1476 enable_winepulse_drv
1477 enable_wineusb_sys
1478 enable_winevulkan
1479 enable_winewayland_drv
1480 enable_winex11_drv
1481 enable_winexinput_sys
1482 enable_wing32
1483 enable_winhttp
1484 enable_wininet
1485 enable_winmm
1486 enable_winnls32
1487 enable_winprint
1488 enable_winscard
1489 enable_winspool_drv
1490 enable_winsta
1491 enable_wintab32
1492 enable_wintrust
1493 enable_wintypes
1494 enable_winusb
1495 enable_wlanapi
1496 enable_wlanui
1497 enable_wldap32
1498 enable_wmasf
1499 enable_wmi
1500 enable_wmiutils
1501 enable_wmp
1502 enable_wmphoto
1503 enable_wmvcore
1504 enable_wnaspi32
1505 enable_wofutil
1506 enable_wow64
1507 enable_wow64cpu
1508 enable_wow64win
1509 enable_wpc
1510 enable_wpcap
1511 enable_ws2_32
1512 enable_wsdapi
1513 enable_wshom_ocx
1514 enable_wsnmp32
1515 enable_wsock32
1516 enable_wtsapi32
1517 enable_wuapi
1518 enable_wuaueng
1519 enable_x3daudio1_0
1520 enable_x3daudio1_1
1521 enable_x3daudio1_2
1522 enable_x3daudio1_3
1523 enable_x3daudio1_4
1524 enable_x3daudio1_5
1525 enable_x3daudio1_6
1526 enable_x3daudio1_7
1527 enable_xactengine2_0
1528 enable_xactengine2_4
1529 enable_xactengine2_7
1530 enable_xactengine2_9
1531 enable_xactengine3_0
1532 enable_xactengine3_1
1533 enable_xactengine3_2
1534 enable_xactengine3_3
1535 enable_xactengine3_4
1536 enable_xactengine3_5
1537 enable_xactengine3_6
1538 enable_xactengine3_7
1539 enable_xapofx1_1
1540 enable_xapofx1_2
1541 enable_xapofx1_3
1542 enable_xapofx1_4
1543 enable_xapofx1_5
1544 enable_xaudio2_0
1545 enable_xaudio2_1
1546 enable_xaudio2_2
1547 enable_xaudio2_3
1548 enable_xaudio2_4
1549 enable_xaudio2_5
1550 enable_xaudio2_6
1551 enable_xaudio2_7
1552 enable_xaudio2_8
1553 enable_xaudio2_9
1554 enable_xinput1_1
1555 enable_xinput1_2
1556 enable_xinput1_3
1557 enable_xinput1_4
1558 enable_xinput9_1_0
1559 enable_xinputuap
1560 enable_xmllite
1561 enable_xolehlp
1562 enable_xpsprint
1563 enable_xpssvcs
1564 enable_fonts
1565 enable_include
1566 enable_adsiid
1567 enable_dmoguids
1568 enable_dxerr8
1569 enable_dxerr9
1570 enable_dxguid
1571 enable_faudio
1572 enable_gsm
1573 enable_jpeg
1574 enable_jxr
1575 enable_lcms2
1576 enable_ldap
1577 enable_mfuuid
1578 enable_mpg123
1579 enable_png
1580 enable_strmbase
1581 enable_strmiids
1582 enable_tiff
1583 enable_uuid
1584 enable_vkd3d
1585 enable_wbemuuid
1586 enable_wmcodecdspuuid
1587 enable_xml2
1588 enable_xslt
1589 enable_zlib
1590 enable_zydis
1591 enable_loader
1592 enable_nls
1593 enable_po
1594 enable_arp
1595 enable_aspnet_regiis
1596 enable_attrib
1597 enable_cabarc
1598 enable_cacls
1599 enable_certutil
1600 enable_chcp_com
1601 enable_clock
1602 enable_cmd
1603 enable_conhost
1604 enable_control
1605 enable_cscript
1606 enable_dism
1607 enable_dllhost
1608 enable_dplaysvr
1609 enable_dpnsvr
1610 enable_dpvsetup
1611 enable_dxdiag
1612 enable_eject
1613 enable_expand
1614 enable_explorer
1615 enable_extrac32
1616 enable_fc
1617 enable_find
1618 enable_findstr
1619 enable_fsutil
1620 enable_hh
1621 enable_hostname
1622 enable_icacls
1623 enable_icinfo
1624 enable_iexplore
1625 enable_ipconfig
1626 enable_lodctr
1627 enable_mofcomp
1628 enable_mshta
1629 enable_msidb
1630 enable_msiexec
1631 enable_msinfo32
1632 enable_net
1633 enable_netsh
1634 enable_netstat
1635 enable_ngen
1636 enable_notepad
1637 enable_oleview
1638 enable_ping
1639 enable_plugplay
1640 enable_powershell
1641 enable_presentationfontcache
1642 enable_progman
1643 enable_reg
1644 enable_regasm
1645 enable_regedit
1646 enable_regini
1647 enable_regsvcs
1648 enable_regsvr32
1649 enable_robocopy
1650 enable_rpcss
1651 enable_rundll32
1652 enable_sc
1653 enable_schtasks
1654 enable_sdbinst
1655 enable_secedit
1656 enable_servicemodelreg
1657 enable_services
1658 enable_setx
1659 enable_shutdown
1660 enable_spoolsv
1661 enable_start
1662 enable_subst
1663 enable_svchost
1664 enable_systeminfo
1665 enable_taskkill
1666 enable_tasklist
1667 enable_taskmgr
1668 enable_termsv
1669 enable_uninstaller
1670 enable_unlodctr
1671 enable_view
1672 enable_wevtutil
1673 enable_where
1674 enable_whoami
1675 enable_wineboot
1676 enable_winebrowser
1677 enable_winecfg
1678 enable_wineconsole
1679 enable_winedbg
1680 enable_winedevice
1681 enable_winefile
1682 enable_winemenubuilder
1683 enable_winemine
1684 enable_winemsibuilder
1685 enable_winepath
1686 enable_winetest
1687 enable_winhlp32
1688 enable_winmgmt
1689 enable_winver
1690 enable_wmic
1691 enable_wmplayer
1692 enable_wordpad
1693 enable_write
1694 enable_wscript
1695 enable_wuauserv
1696 enable_wusa
1697 enable_xcopy
1698 enable_server
1699 enable_tools
1700 enable_sfnt2fon
1701 enable_widl
1702 enable_winebuild
1703 enable_winedump
1704 enable_winegcc
1705 enable_winemaker
1706 enable_wmc
1707 enable_wrc
1709 ac_precious_vars='build_alias
1710 host_alias
1711 target_alias
1713 CFLAGS
1714 LDFLAGS
1715 LIBS
1716 CPPFLAGS
1718 CXXFLAGS
1720 OBJC
1721 OBJCFLAGS
1722 FAUDIO_PE_CFLAGS
1723 FAUDIO_PE_LIBS
1724 GSM_PE_CFLAGS
1725 GSM_PE_LIBS
1726 JPEG_PE_CFLAGS
1727 JPEG_PE_LIBS
1728 JXR_PE_CFLAGS
1729 JXR_PE_LIBS
1730 LCMS2_PE_CFLAGS
1731 LCMS2_PE_LIBS
1732 LDAP_PE_CFLAGS
1733 LDAP_PE_LIBS
1734 MPG123_PE_CFLAGS
1735 MPG123_PE_LIBS
1736 PNG_PE_CFLAGS
1737 PNG_PE_LIBS
1738 TIFF_PE_CFLAGS
1739 TIFF_PE_LIBS
1740 VKD3D_PE_CFLAGS
1741 VKD3D_PE_LIBS
1742 XML2_PE_CFLAGS
1743 XML2_PE_LIBS
1744 XSLT_PE_CFLAGS
1745 XSLT_PE_LIBS
1746 ZLIB_PE_CFLAGS
1747 ZLIB_PE_LIBS
1748 ZYDIS_PE_CFLAGS
1749 ZYDIS_PE_LIBS
1750 XMKMF
1752 WAYLAND_CLIENT_CFLAGS
1753 WAYLAND_CLIENT_LIBS
1754 INOTIFY_CFLAGS
1755 INOTIFY_LIBS
1756 DBUS_CFLAGS
1757 DBUS_LIBS
1758 GNUTLS_CFLAGS
1759 GNUTLS_LIBS
1760 SANE_CFLAGS
1761 SANE_LIBS
1762 USB_CFLAGS
1763 USB_LIBS
1764 GPHOTO2_CFLAGS
1765 GPHOTO2_LIBS
1766 GPHOTO2_PORT_CFLAGS
1767 GPHOTO2_PORT_LIBS
1768 FREETYPE_CFLAGS
1769 FREETYPE_LIBS
1770 PULSE_CFLAGS
1771 PULSE_LIBS
1772 GSTREAMER_CFLAGS
1773 GSTREAMER_LIBS
1774 UDEV_CFLAGS
1775 UDEV_LIBS
1776 UNWIND_CFLAGS
1777 UNWIND_LIBS
1778 SDL2_CFLAGS
1779 SDL2_LIBS
1780 CAPI20_CFLAGS
1781 CAPI20_LIBS
1782 CUPS_CFLAGS
1783 CUPS_LIBS
1784 FONTCONFIG_CFLAGS
1785 FONTCONFIG_LIBS
1786 KRB5_CFLAGS
1787 KRB5_LIBS
1788 GSSAPI_CFLAGS
1789 GSSAPI_LIBS
1790 NETAPI_CFLAGS
1791 NETAPI_LIBS'
1794 # Initialize some variables set by options.
1795 ac_init_help=
1796 ac_init_version=false
1797 ac_unrecognized_opts=
1798 ac_unrecognized_sep=
1799 # The variables have the same names as the options, with
1800 # dashes changed to underlines.
1801 cache_file=/dev/null
1802 exec_prefix=NONE
1803 no_create=
1804 no_recursion=
1805 prefix=NONE
1806 program_prefix=NONE
1807 program_suffix=NONE
1808 program_transform_name=s,x,x,
1809 silent=
1810 site=
1811 srcdir=
1812 verbose=
1813 x_includes=NONE
1814 x_libraries=NONE
1816 # Installation directory options.
1817 # These are left unexpanded so users can "make install exec_prefix=/foo"
1818 # and all the variables that are supposed to be based on exec_prefix
1819 # by default will actually change.
1820 # Use braces instead of parens because sh, perl, etc. also accept them.
1821 # (The list follows the same order as the GNU Coding Standards.)
1822 bindir='${exec_prefix}/bin'
1823 sbindir='${exec_prefix}/sbin'
1824 libexecdir='${exec_prefix}/libexec'
1825 datarootdir='${prefix}/share'
1826 datadir='${datarootdir}'
1827 sysconfdir='${prefix}/etc'
1828 sharedstatedir='${prefix}/com'
1829 localstatedir='${prefix}/var'
1830 runstatedir='${localstatedir}/run'
1831 includedir='${prefix}/include'
1832 oldincludedir='/usr/include'
1833 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1834 infodir='${datarootdir}/info'
1835 htmldir='${docdir}'
1836 dvidir='${docdir}'
1837 pdfdir='${docdir}'
1838 psdir='${docdir}'
1839 libdir='${exec_prefix}/lib'
1840 localedir='${datarootdir}/locale'
1841 mandir='${datarootdir}/man'
1843 ac_prev=
1844 ac_dashdash=
1845 for ac_option
1847 # If the previous option needs an argument, assign it.
1848 if test -n "$ac_prev"; then
1849 eval $ac_prev=\$ac_option
1850 ac_prev=
1851 continue
1854 case $ac_option in
1855 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1856 *=) ac_optarg= ;;
1857 *) ac_optarg=yes ;;
1858 esac
1860 case $ac_dashdash$ac_option in
1862 ac_dashdash=yes ;;
1864 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1865 ac_prev=bindir ;;
1866 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1867 bindir=$ac_optarg ;;
1869 -build | --build | --buil | --bui | --bu)
1870 ac_prev=build_alias ;;
1871 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1872 build_alias=$ac_optarg ;;
1874 -cache-file | --cache-file | --cache-fil | --cache-fi \
1875 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1876 ac_prev=cache_file ;;
1877 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1878 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1879 cache_file=$ac_optarg ;;
1881 --config-cache | -C)
1882 cache_file=config.cache ;;
1884 -datadir | --datadir | --datadi | --datad)
1885 ac_prev=datadir ;;
1886 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1887 datadir=$ac_optarg ;;
1889 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1890 | --dataroo | --dataro | --datar)
1891 ac_prev=datarootdir ;;
1892 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1893 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1894 datarootdir=$ac_optarg ;;
1896 -disable-* | --disable-*)
1897 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1898 # Reject names that are not valid shell variable names.
1899 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1900 as_fn_error $? "invalid feature name: \`$ac_useropt'"
1901 ac_useropt_orig=$ac_useropt
1902 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1903 case $ac_user_opts in
1905 "enable_$ac_useropt"
1906 "*) ;;
1907 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1908 ac_unrecognized_sep=', ';;
1909 esac
1910 eval enable_$ac_useropt=no ;;
1912 -docdir | --docdir | --docdi | --doc | --do)
1913 ac_prev=docdir ;;
1914 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1915 docdir=$ac_optarg ;;
1917 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1918 ac_prev=dvidir ;;
1919 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1920 dvidir=$ac_optarg ;;
1922 -enable-* | --enable-*)
1923 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1924 # Reject names that are not valid shell variable names.
1925 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1926 as_fn_error $? "invalid feature name: \`$ac_useropt'"
1927 ac_useropt_orig=$ac_useropt
1928 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1929 case $ac_user_opts in
1931 "enable_$ac_useropt"
1932 "*) ;;
1933 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1934 ac_unrecognized_sep=', ';;
1935 esac
1936 eval enable_$ac_useropt=\$ac_optarg ;;
1938 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1939 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1940 | --exec | --exe | --ex)
1941 ac_prev=exec_prefix ;;
1942 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1943 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1944 | --exec=* | --exe=* | --ex=*)
1945 exec_prefix=$ac_optarg ;;
1947 -gas | --gas | --ga | --g)
1948 # Obsolete; use --with-gas.
1949 with_gas=yes ;;
1951 -help | --help | --hel | --he | -h)
1952 ac_init_help=long ;;
1953 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1954 ac_init_help=recursive ;;
1955 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1956 ac_init_help=short ;;
1958 -host | --host | --hos | --ho)
1959 ac_prev=host_alias ;;
1960 -host=* | --host=* | --hos=* | --ho=*)
1961 host_alias=$ac_optarg ;;
1963 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1964 ac_prev=htmldir ;;
1965 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1966 | --ht=*)
1967 htmldir=$ac_optarg ;;
1969 -includedir | --includedir | --includedi | --included | --include \
1970 | --includ | --inclu | --incl | --inc)
1971 ac_prev=includedir ;;
1972 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1973 | --includ=* | --inclu=* | --incl=* | --inc=*)
1974 includedir=$ac_optarg ;;
1976 -infodir | --infodir | --infodi | --infod | --info | --inf)
1977 ac_prev=infodir ;;
1978 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1979 infodir=$ac_optarg ;;
1981 -libdir | --libdir | --libdi | --libd)
1982 ac_prev=libdir ;;
1983 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1984 libdir=$ac_optarg ;;
1986 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1987 | --libexe | --libex | --libe)
1988 ac_prev=libexecdir ;;
1989 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1990 | --libexe=* | --libex=* | --libe=*)
1991 libexecdir=$ac_optarg ;;
1993 -localedir | --localedir | --localedi | --localed | --locale)
1994 ac_prev=localedir ;;
1995 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1996 localedir=$ac_optarg ;;
1998 -localstatedir | --localstatedir | --localstatedi | --localstated \
1999 | --localstate | --localstat | --localsta | --localst | --locals)
2000 ac_prev=localstatedir ;;
2001 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
2002 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
2003 localstatedir=$ac_optarg ;;
2005 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
2006 ac_prev=mandir ;;
2007 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
2008 mandir=$ac_optarg ;;
2010 -nfp | --nfp | --nf)
2011 # Obsolete; use --without-fp.
2012 with_fp=no ;;
2014 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
2015 | --no-cr | --no-c | -n)
2016 no_create=yes ;;
2018 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
2019 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
2020 no_recursion=yes ;;
2022 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
2023 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
2024 | --oldin | --oldi | --old | --ol | --o)
2025 ac_prev=oldincludedir ;;
2026 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
2027 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
2028 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
2029 oldincludedir=$ac_optarg ;;
2031 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2032 ac_prev=prefix ;;
2033 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2034 prefix=$ac_optarg ;;
2036 -program-prefix | --program-prefix | --program-prefi | --program-pref \
2037 | --program-pre | --program-pr | --program-p)
2038 ac_prev=program_prefix ;;
2039 -program-prefix=* | --program-prefix=* | --program-prefi=* \
2040 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2041 program_prefix=$ac_optarg ;;
2043 -program-suffix | --program-suffix | --program-suffi | --program-suff \
2044 | --program-suf | --program-su | --program-s)
2045 ac_prev=program_suffix ;;
2046 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2047 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2048 program_suffix=$ac_optarg ;;
2050 -program-transform-name | --program-transform-name \
2051 | --program-transform-nam | --program-transform-na \
2052 | --program-transform-n | --program-transform- \
2053 | --program-transform | --program-transfor \
2054 | --program-transfo | --program-transf \
2055 | --program-trans | --program-tran \
2056 | --progr-tra | --program-tr | --program-t)
2057 ac_prev=program_transform_name ;;
2058 -program-transform-name=* | --program-transform-name=* \
2059 | --program-transform-nam=* | --program-transform-na=* \
2060 | --program-transform-n=* | --program-transform-=* \
2061 | --program-transform=* | --program-transfor=* \
2062 | --program-transfo=* | --program-transf=* \
2063 | --program-trans=* | --program-tran=* \
2064 | --progr-tra=* | --program-tr=* | --program-t=*)
2065 program_transform_name=$ac_optarg ;;
2067 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2068 ac_prev=pdfdir ;;
2069 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2070 pdfdir=$ac_optarg ;;
2072 -psdir | --psdir | --psdi | --psd | --ps)
2073 ac_prev=psdir ;;
2074 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2075 psdir=$ac_optarg ;;
2077 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2078 | -silent | --silent | --silen | --sile | --sil)
2079 silent=yes ;;
2081 -runstatedir | --runstatedir | --runstatedi | --runstated \
2082 | --runstate | --runstat | --runsta | --runst | --runs \
2083 | --run | --ru | --r)
2084 ac_prev=runstatedir ;;
2085 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2086 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2087 | --run=* | --ru=* | --r=*)
2088 runstatedir=$ac_optarg ;;
2090 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2091 ac_prev=sbindir ;;
2092 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2093 | --sbi=* | --sb=*)
2094 sbindir=$ac_optarg ;;
2096 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2097 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2098 | --sharedst | --shareds | --shared | --share | --shar \
2099 | --sha | --sh)
2100 ac_prev=sharedstatedir ;;
2101 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2102 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2103 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2104 | --sha=* | --sh=*)
2105 sharedstatedir=$ac_optarg ;;
2107 -site | --site | --sit)
2108 ac_prev=site ;;
2109 -site=* | --site=* | --sit=*)
2110 site=$ac_optarg ;;
2112 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2113 ac_prev=srcdir ;;
2114 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2115 srcdir=$ac_optarg ;;
2117 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2118 | --syscon | --sysco | --sysc | --sys | --sy)
2119 ac_prev=sysconfdir ;;
2120 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2121 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2122 sysconfdir=$ac_optarg ;;
2124 -target | --target | --targe | --targ | --tar | --ta | --t)
2125 ac_prev=target_alias ;;
2126 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2127 target_alias=$ac_optarg ;;
2129 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2130 verbose=yes ;;
2132 -version | --version | --versio | --versi | --vers | -V)
2133 ac_init_version=: ;;
2135 -with-* | --with-*)
2136 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2137 # Reject names that are not valid shell variable names.
2138 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2139 as_fn_error $? "invalid package name: \`$ac_useropt'"
2140 ac_useropt_orig=$ac_useropt
2141 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2142 case $ac_user_opts in
2144 "with_$ac_useropt"
2145 "*) ;;
2146 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2147 ac_unrecognized_sep=', ';;
2148 esac
2149 eval with_$ac_useropt=\$ac_optarg ;;
2151 -without-* | --without-*)
2152 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2153 # Reject names that are not valid shell variable names.
2154 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2155 as_fn_error $? "invalid package name: \`$ac_useropt'"
2156 ac_useropt_orig=$ac_useropt
2157 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2158 case $ac_user_opts in
2160 "with_$ac_useropt"
2161 "*) ;;
2162 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2163 ac_unrecognized_sep=', ';;
2164 esac
2165 eval with_$ac_useropt=no ;;
2167 --x)
2168 # Obsolete; use --with-x.
2169 with_x=yes ;;
2171 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2172 | --x-incl | --x-inc | --x-in | --x-i)
2173 ac_prev=x_includes ;;
2174 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2175 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2176 x_includes=$ac_optarg ;;
2178 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2179 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2180 ac_prev=x_libraries ;;
2181 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2182 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2183 x_libraries=$ac_optarg ;;
2185 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2186 Try \`$0 --help' for more information"
2189 *=*)
2190 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2191 # Reject names that are not valid shell variable names.
2192 case $ac_envvar in #(
2193 '' | [0-9]* | *[!_$as_cr_alnum]* )
2194 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2195 esac
2196 eval $ac_envvar=\$ac_optarg
2197 export $ac_envvar ;;
2200 # FIXME: should be removed in autoconf 3.0.
2201 printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
2202 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2203 printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
2204 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2207 esac
2208 done
2210 if test -n "$ac_prev"; then
2211 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2212 as_fn_error $? "missing argument to $ac_option"
2215 if test -n "$ac_unrecognized_opts"; then
2216 case $enable_option_checking in
2217 no) ;;
2218 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2219 *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2220 esac
2223 # Check all directory arguments for consistency.
2224 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2225 datadir sysconfdir sharedstatedir localstatedir includedir \
2226 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2227 libdir localedir mandir runstatedir
2229 eval ac_val=\$$ac_var
2230 # Remove trailing slashes.
2231 case $ac_val in
2232 */ )
2233 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2234 eval $ac_var=\$ac_val;;
2235 esac
2236 # Be sure to have absolute directory names.
2237 case $ac_val in
2238 [\\/$]* | ?:[\\/]* ) continue;;
2239 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2240 esac
2241 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2242 done
2244 # There might be people who depend on the old broken behavior: `$host'
2245 # used to hold the argument of --host etc.
2246 # FIXME: To remove some day.
2247 build=$build_alias
2248 host=$host_alias
2249 target=$target_alias
2251 # FIXME: To remove some day.
2252 if test "x$host_alias" != x; then
2253 if test "x$build_alias" = x; then
2254 cross_compiling=maybe
2255 elif test "x$build_alias" != "x$host_alias"; then
2256 cross_compiling=yes
2260 ac_tool_prefix=
2261 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2263 test "$silent" = yes && exec 6>/dev/null
2266 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2267 ac_ls_di=`ls -di .` &&
2268 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2269 as_fn_error $? "working directory cannot be determined"
2270 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2271 as_fn_error $? "pwd does not report name of working directory"
2274 # Find the source files, if location was not specified.
2275 if test -z "$srcdir"; then
2276 ac_srcdir_defaulted=yes
2277 # Try the directory containing this script, then the parent directory.
2278 ac_confdir=`$as_dirname -- "$as_myself" ||
2279 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2280 X"$as_myself" : 'X\(//\)[^/]' \| \
2281 X"$as_myself" : 'X\(//\)$' \| \
2282 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2283 printf "%s\n" X"$as_myself" |
2284 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2285 s//\1/
2288 /^X\(\/\/\)[^/].*/{
2289 s//\1/
2292 /^X\(\/\/\)$/{
2293 s//\1/
2296 /^X\(\/\).*/{
2297 s//\1/
2300 s/.*/./; q'`
2301 srcdir=$ac_confdir
2302 if test ! -r "$srcdir/$ac_unique_file"; then
2303 srcdir=..
2305 else
2306 ac_srcdir_defaulted=no
2308 if test ! -r "$srcdir/$ac_unique_file"; then
2309 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2310 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2312 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2313 ac_abs_confdir=`(
2314 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2315 pwd)`
2316 # When building in place, set srcdir=.
2317 if test "$ac_abs_confdir" = "$ac_pwd"; then
2318 srcdir=.
2320 # Remove unnecessary trailing slashes from srcdir.
2321 # Double slashes in file names in object file debugging info
2322 # mess up M-x gdb in Emacs.
2323 case $srcdir in
2324 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2325 esac
2326 for ac_var in $ac_precious_vars; do
2327 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2328 eval ac_env_${ac_var}_value=\$${ac_var}
2329 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2330 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2331 done
2334 # Report the --help message.
2336 if test "$ac_init_help" = "long"; then
2337 # Omit some internal or obsolete options to make the list less imposing.
2338 # This message is too long to be a string in the A/UX 3.1 sh.
2339 cat <<_ACEOF
2340 \`configure' configures Wine 8.4 to adapt to many kinds of systems.
2342 Usage: $0 [OPTION]... [VAR=VALUE]...
2344 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2345 VAR=VALUE. See below for descriptions of some of the useful variables.
2347 Defaults for the options are specified in brackets.
2349 Configuration:
2350 -h, --help display this help and exit
2351 --help=short display options specific to this package
2352 --help=recursive display the short help of all the included packages
2353 -V, --version display version information and exit
2354 -q, --quiet, --silent do not print \`checking ...' messages
2355 --cache-file=FILE cache test results in FILE [disabled]
2356 -C, --config-cache alias for \`--cache-file=config.cache'
2357 -n, --no-create do not create output files
2358 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2360 Installation directories:
2361 --prefix=PREFIX install architecture-independent files in PREFIX
2362 [$ac_default_prefix]
2363 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2364 [PREFIX]
2366 By default, \`make install' will install all the files in
2367 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2368 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2369 for instance \`--prefix=\$HOME'.
2371 For better control, use the options below.
2373 Fine tuning of the installation directories:
2374 --bindir=DIR user executables [EPREFIX/bin]
2375 --sbindir=DIR system admin executables [EPREFIX/sbin]
2376 --libexecdir=DIR program executables [EPREFIX/libexec]
2377 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2378 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2379 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2380 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2381 --libdir=DIR object code libraries [EPREFIX/lib]
2382 --includedir=DIR C header files [PREFIX/include]
2383 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2384 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2385 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2386 --infodir=DIR info documentation [DATAROOTDIR/info]
2387 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2388 --mandir=DIR man documentation [DATAROOTDIR/man]
2389 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2390 --htmldir=DIR html documentation [DOCDIR]
2391 --dvidir=DIR dvi documentation [DOCDIR]
2392 --pdfdir=DIR pdf documentation [DOCDIR]
2393 --psdir=DIR ps documentation [DOCDIR]
2394 _ACEOF
2396 cat <<\_ACEOF
2398 X features:
2399 --x-includes=DIR X include files are in DIR
2400 --x-libraries=DIR X library files are in DIR
2402 System types:
2403 --build=BUILD configure for building on BUILD [guessed]
2404 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2405 _ACEOF
2408 if test -n "$ac_init_help"; then
2409 case $ac_init_help in
2410 short | recursive ) echo "Configuration of Wine 8.4:";;
2411 esac
2412 cat <<\_ACEOF
2414 Optional Features:
2415 --disable-option-checking ignore unrecognized --enable/--with options
2416 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2417 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2418 --enable-archs={i386,x86_64,arm,aarch64}
2419 enable multiple architectures for PE compilation
2420 --disable-win16 do not include Win16 support
2421 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2422 binaries)
2423 --disable-tests do not build the regression tests
2424 --enable-build-id include .buildid section in output objects
2425 --enable-maintainer-mode
2426 enable maintainer-specific build rules
2427 --enable-silent-rules use silent build rules (override: "make V=1")
2428 --enable-werror treat compilation warnings as errors
2429 --disable-largefile omit support for large files
2431 Optional Packages:
2432 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2433 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2434 --without-alsa do not use the Alsa sound support
2435 --without-capi do not use CAPI (ISDN support)
2436 --without-coreaudio do not use the CoreAudio sound support
2437 --without-cups do not use CUPS
2438 --without-dbus do not use DBus (dynamic device support)
2439 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2440 --without-fontconfig do not use fontconfig
2441 --without-freetype do not use the FreeType library
2442 --without-gettext do not use gettext
2443 --with-gettextpo use the GetTextPO library to rebuild po files
2444 --without-gphoto do not use gphoto (Digital Camera support)
2445 --without-gnutls do not use GnuTLS (schannel support)
2446 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2447 --without-gstreamer do not use GStreamer (codecs support)
2448 --without-inotify do not use inotify (filesystem change notifications)
2449 --without-krb5 do not use krb5 (Kerberos)
2450 --without-mingw do not use the MinGW cross-compiler
2451 --without-netapi do not use the Samba NetAPI library
2452 --without-opencl do not use OpenCL
2453 --without-opengl do not use OpenGL
2454 --without-osmesa do not use the OSMesa library
2455 --without-oss do not use the OSS sound support
2456 --without-pcap do not use the Packet Capture library
2457 --without-pcsclite do not use PCSC lite
2458 --without-pthread do not use the pthread library
2459 --without-pulse do not use PulseAudio sound support
2460 --without-sane do not use SANE (scanner support)
2461 --without-sdl do not use SDL
2462 --without-udev do not use udev (plug and play support)
2463 --without-unwind do not use the libunwind library (exception
2464 handling)
2465 --without-usb do not use the libusb library
2466 --without-v4l2 do not use v4l2 (video capture)
2467 --without-vulkan do not use Vulkan
2468 --without-wayland do not build the Wayland driver
2469 --without-xcomposite do not use the Xcomposite extension
2470 --without-xcursor do not use the Xcursor extension
2471 --without-xfixes do not use Xfixes for clipboard change notifications
2472 --without-xinerama do not use Xinerama (legacy multi-monitor support)
2473 --without-xinput do not use the Xinput extension
2474 --without-xinput2 do not use the Xinput 2 extension
2475 --without-xrandr do not use Xrandr (multi-monitor support)
2476 --without-xrender do not use the Xrender extension
2477 --without-xshape do not use the Xshape extension
2478 --without-xshm do not use XShm (shared memory extension)
2479 --without-xxf86vm do not use XFree video mode extension
2480 --with-system-dllpath=PATH
2481 load external PE dependencies from colon-separated
2482 path PATH
2483 --with-wine-tools=DIR use Wine tools from directory DIR
2484 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2485 --with-x use the X Window System
2487 Some influential environment variables:
2488 CC C compiler command
2489 CFLAGS C compiler flags
2490 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2491 nonstandard directory <lib dir>
2492 LIBS libraries to pass to the linker, e.g. -l<library>
2493 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2494 you have headers in a nonstandard directory <include dir>
2495 CXX C++ compiler command
2496 CXXFLAGS C++ compiler flags
2497 OBJC Objective C compiler command
2498 OBJCFLAGS Objective C compiler flags
2499 FAUDIO_PE_CFLAGS
2500 C compiler flags for the PE faudio, overriding the bundled
2501 version
2502 FAUDIO_PE_LIBS
2503 Linker flags for the PE faudio, overriding the bundled version
2504 GSM_PE_CFLAGS
2505 C compiler flags for the PE gsm, overriding the bundled version
2506 GSM_PE_LIBS Linker flags for the PE gsm, overriding the bundled version
2507 JPEG_PE_CFLAGS
2508 C compiler flags for the PE jpeg, overriding the bundled version
2509 JPEG_PE_LIBS
2510 Linker flags for the PE jpeg, overriding the bundled version
2511 JXR_PE_CFLAGS
2512 C compiler flags for the PE jxr, overriding the bundled version
2513 JXR_PE_LIBS Linker flags for the PE jxr, overriding the bundled version
2514 LCMS2_PE_CFLAGS
2515 C compiler flags for the PE lcms2, overriding the bundled
2516 version
2517 LCMS2_PE_LIBS
2518 Linker flags for the PE lcms2, overriding the bundled version
2519 LDAP_PE_CFLAGS
2520 C compiler flags for the PE ldap, overriding the bundled version
2521 LDAP_PE_LIBS
2522 Linker flags for the PE ldap, overriding the bundled version
2523 MPG123_PE_CFLAGS
2524 C compiler flags for the PE mpg123, overriding the bundled
2525 version
2526 MPG123_PE_LIBS
2527 Linker flags for the PE mpg123, overriding the bundled version
2528 PNG_PE_CFLAGS
2529 C compiler flags for the PE png, overriding the bundled version
2530 PNG_PE_LIBS Linker flags for the PE png, overriding the bundled version
2531 TIFF_PE_CFLAGS
2532 C compiler flags for the PE tiff, overriding the bundled version
2533 TIFF_PE_LIBS
2534 Linker flags for the PE tiff, overriding the bundled version
2535 VKD3D_PE_CFLAGS
2536 C compiler flags for the PE vkd3d, overriding the bundled
2537 version
2538 VKD3D_PE_LIBS
2539 Linker flags for the PE vkd3d, overriding the bundled version
2540 XML2_PE_CFLAGS
2541 C compiler flags for the PE xml2, overriding the bundled version
2542 XML2_PE_LIBS
2543 Linker flags for the PE xml2, overriding the bundled version
2544 XSLT_PE_CFLAGS
2545 C compiler flags for the PE xslt, overriding the bundled version
2546 XSLT_PE_LIBS
2547 Linker flags for the PE xslt, overriding the bundled version
2548 ZLIB_PE_CFLAGS
2549 C compiler flags for the PE zlib, overriding the bundled version
2550 ZLIB_PE_LIBS
2551 Linker flags for the PE zlib, overriding the bundled version
2552 ZYDIS_PE_CFLAGS
2553 C compiler flags for the PE zydis, overriding the bundled
2554 version
2555 ZYDIS_PE_LIBS
2556 Linker flags for the PE zydis, overriding the bundled version
2557 XMKMF Path to xmkmf, Makefile generator for X Window System
2558 CPP C preprocessor
2559 WAYLAND_CLIENT_CFLAGS
2560 C compiler flags for wayland-client, overriding pkg-config
2561 WAYLAND_CLIENT_LIBS
2562 Linker flags for wayland-client, overriding pkg-config
2563 INOTIFY_CFLAGS
2564 C compiler flags for libinotify, overriding pkg-config
2565 INOTIFY_LIBS
2566 Linker flags for libinotify, overriding pkg-config
2567 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2568 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2569 GNUTLS_CFLAGS
2570 C compiler flags for gnutls, overriding pkg-config
2571 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2572 SANE_CFLAGS C compiler flags for sane-backends, overriding pkg-config
2573 SANE_LIBS Linker flags for sane-backends, overriding pkg-config
2574 USB_CFLAGS C compiler flags for libusb-1.0, overriding pkg-config
2575 USB_LIBS Linker flags for libusb-1.0, overriding pkg-config
2576 GPHOTO2_CFLAGS
2577 C compiler flags for libgphoto2, overriding pkg-config
2578 GPHOTO2_LIBS
2579 Linker flags for libgphoto2, overriding pkg-config
2580 GPHOTO2_PORT_CFLAGS
2581 C compiler flags for libgphoto2_port, overriding pkg-config
2582 GPHOTO2_PORT_LIBS
2583 Linker flags for libgphoto2_port, overriding pkg-config
2584 FREETYPE_CFLAGS
2585 C compiler flags for freetype2, overriding pkg-config
2586 FREETYPE_LIBS
2587 Linker flags for freetype2, overriding pkg-config
2588 PULSE_CFLAGS
2589 C compiler flags for libpulse, overriding pkg-config
2590 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2591 GSTREAMER_CFLAGS
2592 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2593 gstreamer-audio-1.0 gstreamer-tag-1.0, overriding pkg-config
2594 GSTREAMER_LIBS
2595 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2596 gstreamer-audio-1.0 gstreamer-tag-1.0, overriding pkg-config
2597 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2598 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2599 UNWIND_CFLAGS
2600 C compiler flags for libunwind, overriding pkg-config
2601 UNWIND_LIBS Linker flags for libunwind, overriding pkg-config
2602 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2603 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2604 CAPI20_CFLAGS
2605 C compiler flags for capi20, overriding pkg-config
2606 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2607 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2608 CUPS_LIBS Linker flags for cups, overriding pkg-config
2609 FONTCONFIG_CFLAGS
2610 C compiler flags for fontconfig, overriding pkg-config
2611 FONTCONFIG_LIBS
2612 Linker flags for fontconfig, overriding pkg-config
2613 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2614 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2615 GSSAPI_CFLAGS
2616 C compiler flags for krb5-gssapi, overriding pkg-config
2617 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2618 NETAPI_CFLAGS
2619 C compiler flags for netapi, overriding pkg-config
2620 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2622 Use these variables to override the choices made by `configure' or to help
2623 it to find libraries and programs with nonstandard names/locations.
2625 Report bugs to <wine-devel@winehq.org>.
2626 Wine home page: <https://www.winehq.org>.
2627 _ACEOF
2628 ac_status=$?
2631 if test "$ac_init_help" = "recursive"; then
2632 # If there are subdirs, report their specific --help.
2633 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2634 test -d "$ac_dir" ||
2635 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2636 continue
2637 ac_builddir=.
2639 case "$ac_dir" in
2640 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2642 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
2643 # A ".." for each directory in $ac_dir_suffix.
2644 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2645 case $ac_top_builddir_sub in
2646 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2647 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2648 esac ;;
2649 esac
2650 ac_abs_top_builddir=$ac_pwd
2651 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2652 # for backward compatibility:
2653 ac_top_builddir=$ac_top_build_prefix
2655 case $srcdir in
2656 .) # We are building in place.
2657 ac_srcdir=.
2658 ac_top_srcdir=$ac_top_builddir_sub
2659 ac_abs_top_srcdir=$ac_pwd ;;
2660 [\\/]* | ?:[\\/]* ) # Absolute name.
2661 ac_srcdir=$srcdir$ac_dir_suffix;
2662 ac_top_srcdir=$srcdir
2663 ac_abs_top_srcdir=$srcdir ;;
2664 *) # Relative name.
2665 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2666 ac_top_srcdir=$ac_top_build_prefix$srcdir
2667 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2668 esac
2669 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2671 cd "$ac_dir" || { ac_status=$?; continue; }
2672 # Check for configure.gnu first; this name is used for a wrapper for
2673 # Metaconfig's "Configure" on case-insensitive file systems.
2674 if test -f "$ac_srcdir/configure.gnu"; then
2675 echo &&
2676 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2677 elif test -f "$ac_srcdir/configure"; then
2678 echo &&
2679 $SHELL "$ac_srcdir/configure" --help=recursive
2680 else
2681 printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2682 fi || ac_status=$?
2683 cd "$ac_pwd" || { ac_status=$?; break; }
2684 done
2687 test -n "$ac_init_help" && exit $ac_status
2688 if $ac_init_version; then
2689 cat <<\_ACEOF
2690 Wine configure 8.4
2691 generated by GNU Autoconf 2.71
2693 Copyright (C) 2021 Free Software Foundation, Inc.
2694 This configure script is free software; the Free Software Foundation
2695 gives unlimited permission to copy, distribute and modify it.
2696 _ACEOF
2697 exit
2700 ## ------------------------ ##
2701 ## Autoconf initialization. ##
2702 ## ------------------------ ##
2704 # ac_fn_c_try_compile LINENO
2705 # --------------------------
2706 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2707 ac_fn_c_try_compile ()
2709 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2710 rm -f conftest.$ac_objext conftest.beam
2711 if { { ac_try="$ac_compile"
2712 case "(($ac_try" in
2713 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2714 *) ac_try_echo=$ac_try;;
2715 esac
2716 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2717 printf "%s\n" "$ac_try_echo"; } >&5
2718 (eval "$ac_compile") 2>conftest.err
2719 ac_status=$?
2720 if test -s conftest.err; then
2721 grep -v '^ *+' conftest.err >conftest.er1
2722 cat conftest.er1 >&5
2723 mv -f conftest.er1 conftest.err
2725 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2726 test $ac_status = 0; } && {
2727 test -z "$ac_c_werror_flag" ||
2728 test ! -s conftest.err
2729 } && test -s conftest.$ac_objext
2730 then :
2731 ac_retval=0
2732 else $as_nop
2733 printf "%s\n" "$as_me: failed program was:" >&5
2734 sed 's/^/| /' conftest.$ac_ext >&5
2736 ac_retval=1
2738 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2739 as_fn_set_status $ac_retval
2741 } # ac_fn_c_try_compile
2743 # ac_fn_cxx_try_compile LINENO
2744 # ----------------------------
2745 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2746 ac_fn_cxx_try_compile ()
2748 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2749 rm -f conftest.$ac_objext conftest.beam
2750 if { { ac_try="$ac_compile"
2751 case "(($ac_try" in
2752 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2753 *) ac_try_echo=$ac_try;;
2754 esac
2755 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2756 printf "%s\n" "$ac_try_echo"; } >&5
2757 (eval "$ac_compile") 2>conftest.err
2758 ac_status=$?
2759 if test -s conftest.err; then
2760 grep -v '^ *+' conftest.err >conftest.er1
2761 cat conftest.er1 >&5
2762 mv -f conftest.er1 conftest.err
2764 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2765 test $ac_status = 0; } && {
2766 test -z "$ac_cxx_werror_flag" ||
2767 test ! -s conftest.err
2768 } && test -s conftest.$ac_objext
2769 then :
2770 ac_retval=0
2771 else $as_nop
2772 printf "%s\n" "$as_me: failed program was:" >&5
2773 sed 's/^/| /' conftest.$ac_ext >&5
2775 ac_retval=1
2777 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2778 as_fn_set_status $ac_retval
2780 } # ac_fn_cxx_try_compile
2782 # ac_fn_c_try_link LINENO
2783 # -----------------------
2784 # Try to link conftest.$ac_ext, and return whether this succeeded.
2785 ac_fn_c_try_link ()
2787 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2788 rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
2789 if { { ac_try="$ac_link"
2790 case "(($ac_try" in
2791 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2792 *) ac_try_echo=$ac_try;;
2793 esac
2794 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2795 printf "%s\n" "$ac_try_echo"; } >&5
2796 (eval "$ac_link") 2>conftest.err
2797 ac_status=$?
2798 if test -s conftest.err; then
2799 grep -v '^ *+' conftest.err >conftest.er1
2800 cat conftest.er1 >&5
2801 mv -f conftest.er1 conftest.err
2803 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2804 test $ac_status = 0; } && {
2805 test -z "$ac_c_werror_flag" ||
2806 test ! -s conftest.err
2807 } && test -s conftest$ac_exeext && {
2808 test "$cross_compiling" = yes ||
2809 test -x conftest$ac_exeext
2811 then :
2812 ac_retval=0
2813 else $as_nop
2814 printf "%s\n" "$as_me: failed program was:" >&5
2815 sed 's/^/| /' conftest.$ac_ext >&5
2817 ac_retval=1
2819 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2820 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2821 # interfere with the next link command; also delete a directory that is
2822 # left behind by Apple's compiler. We do this before executing the actions.
2823 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2824 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2825 as_fn_set_status $ac_retval
2827 } # ac_fn_c_try_link
2829 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2830 # -------------------------------------------------------
2831 # Tests whether HEADER exists and can be compiled using the include files in
2832 # INCLUDES, setting the cache variable VAR accordingly.
2833 ac_fn_c_check_header_compile ()
2835 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2836 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2837 printf %s "checking for $2... " >&6; }
2838 if eval test \${$3+y}
2839 then :
2840 printf %s "(cached) " >&6
2841 else $as_nop
2842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2843 /* end confdefs.h. */
2845 #include <$2>
2846 _ACEOF
2847 if ac_fn_c_try_compile "$LINENO"
2848 then :
2849 eval "$3=yes"
2850 else $as_nop
2851 eval "$3=no"
2853 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2855 eval ac_res=\$$3
2856 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2857 printf "%s\n" "$ac_res" >&6; }
2858 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2860 } # ac_fn_c_check_header_compile
2862 # ac_fn_objc_try_compile LINENO
2863 # -----------------------------
2864 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2865 ac_fn_objc_try_compile ()
2867 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2868 rm -f conftest.$ac_objext conftest.beam
2869 if { { ac_try="$ac_compile"
2870 case "(($ac_try" in
2871 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2872 *) ac_try_echo=$ac_try;;
2873 esac
2874 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2875 printf "%s\n" "$ac_try_echo"; } >&5
2876 (eval "$ac_compile") 2>conftest.err
2877 ac_status=$?
2878 if test -s conftest.err; then
2879 grep -v '^ *+' conftest.err >conftest.er1
2880 cat conftest.er1 >&5
2881 mv -f conftest.er1 conftest.err
2883 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2884 test $ac_status = 0; } && {
2885 test -z "$ac_objc_werror_flag" ||
2886 test ! -s conftest.err
2887 } && test -s conftest.$ac_objext
2888 then :
2889 ac_retval=0
2890 else $as_nop
2891 printf "%s\n" "$as_me: failed program was:" >&5
2892 sed 's/^/| /' conftest.$ac_ext >&5
2894 ac_retval=1
2896 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2897 as_fn_set_status $ac_retval
2899 } # ac_fn_objc_try_compile
2901 # ac_fn_c_check_func LINENO FUNC VAR
2902 # ----------------------------------
2903 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2904 ac_fn_c_check_func ()
2906 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2907 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2908 printf %s "checking for $2... " >&6; }
2909 if eval test \${$3+y}
2910 then :
2911 printf %s "(cached) " >&6
2912 else $as_nop
2913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2914 /* end confdefs.h. */
2915 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2916 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2917 #define $2 innocuous_$2
2919 /* System header to define __stub macros and hopefully few prototypes,
2920 which can conflict with char $2 (); below. */
2922 #include <limits.h>
2923 #undef $2
2925 /* Override any GCC internal prototype to avoid an error.
2926 Use char because int might match the return type of a GCC
2927 builtin and then its argument prototype would still apply. */
2928 #ifdef __cplusplus
2929 extern "C"
2930 #endif
2931 char $2 ();
2932 /* The GNU C library defines this for functions which it implements
2933 to always fail with ENOSYS. Some functions are actually named
2934 something starting with __ and the normal name is an alias. */
2935 #if defined __stub_$2 || defined __stub___$2
2936 choke me
2937 #endif
2940 main (void)
2942 return $2 ();
2944 return 0;
2946 _ACEOF
2947 if ac_fn_c_try_link "$LINENO"
2948 then :
2949 eval "$3=yes"
2950 else $as_nop
2951 eval "$3=no"
2953 rm -f core conftest.err conftest.$ac_objext conftest.beam \
2954 conftest$ac_exeext conftest.$ac_ext
2956 eval ac_res=\$$3
2957 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2958 printf "%s\n" "$ac_res" >&6; }
2959 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2961 } # ac_fn_c_check_func
2963 # ac_fn_c_try_cpp LINENO
2964 # ----------------------
2965 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2966 ac_fn_c_try_cpp ()
2968 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2969 if { { ac_try="$ac_cpp conftest.$ac_ext"
2970 case "(($ac_try" in
2971 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2972 *) ac_try_echo=$ac_try;;
2973 esac
2974 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2975 printf "%s\n" "$ac_try_echo"; } >&5
2976 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2977 ac_status=$?
2978 if test -s conftest.err; then
2979 grep -v '^ *+' conftest.err >conftest.er1
2980 cat conftest.er1 >&5
2981 mv -f conftest.er1 conftest.err
2983 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2984 test $ac_status = 0; } > conftest.i && {
2985 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2986 test ! -s conftest.err
2988 then :
2989 ac_retval=0
2990 else $as_nop
2991 printf "%s\n" "$as_me: failed program was:" >&5
2992 sed 's/^/| /' conftest.$ac_ext >&5
2994 ac_retval=1
2996 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2997 as_fn_set_status $ac_retval
2999 } # ac_fn_c_try_cpp
3001 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3002 # ----------------------------------------------------
3003 # Tries to find if the field MEMBER exists in type AGGR, after including
3004 # INCLUDES, setting cache variable VAR accordingly.
3005 ac_fn_c_check_member ()
3007 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3008 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3009 printf %s "checking for $2.$3... " >&6; }
3010 if eval test \${$4+y}
3011 then :
3012 printf %s "(cached) " >&6
3013 else $as_nop
3014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3015 /* end confdefs.h. */
3018 main (void)
3020 static $2 ac_aggr;
3021 if (ac_aggr.$3)
3022 return 0;
3024 return 0;
3026 _ACEOF
3027 if ac_fn_c_try_compile "$LINENO"
3028 then :
3029 eval "$4=yes"
3030 else $as_nop
3031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3032 /* end confdefs.h. */
3035 main (void)
3037 static $2 ac_aggr;
3038 if (sizeof ac_aggr.$3)
3039 return 0;
3041 return 0;
3043 _ACEOF
3044 if ac_fn_c_try_compile "$LINENO"
3045 then :
3046 eval "$4=yes"
3047 else $as_nop
3048 eval "$4=no"
3050 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3052 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3054 eval ac_res=\$$4
3055 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3056 printf "%s\n" "$ac_res" >&6; }
3057 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3059 } # ac_fn_c_check_member
3061 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3062 # -------------------------------------------
3063 # Tests whether TYPE exists after having included INCLUDES, setting cache
3064 # variable VAR accordingly.
3065 ac_fn_c_check_type ()
3067 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3068 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3069 printf %s "checking for $2... " >&6; }
3070 if eval test \${$3+y}
3071 then :
3072 printf %s "(cached) " >&6
3073 else $as_nop
3074 eval "$3=no"
3075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3076 /* end confdefs.h. */
3079 main (void)
3081 if (sizeof ($2))
3082 return 0;
3084 return 0;
3086 _ACEOF
3087 if ac_fn_c_try_compile "$LINENO"
3088 then :
3089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3090 /* end confdefs.h. */
3093 main (void)
3095 if (sizeof (($2)))
3096 return 0;
3098 return 0;
3100 _ACEOF
3101 if ac_fn_c_try_compile "$LINENO"
3102 then :
3104 else $as_nop
3105 eval "$3=yes"
3107 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3109 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3111 eval ac_res=\$$3
3112 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3113 printf "%s\n" "$ac_res" >&6; }
3114 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3116 } # ac_fn_c_check_type
3117 ac_configure_args_raw=
3118 for ac_arg
3120 case $ac_arg in
3121 *\'*)
3122 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3123 esac
3124 as_fn_append ac_configure_args_raw " '$ac_arg'"
3125 done
3127 case $ac_configure_args_raw in
3128 *$as_nl*)
3129 ac_safe_unquote= ;;
3131 ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab.
3132 ac_unsafe_a="$ac_unsafe_z#~"
3133 ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
3134 ac_configure_args_raw=` printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
3135 esac
3137 cat >config.log <<_ACEOF
3138 This file contains any messages produced by compilers while
3139 running configure, to aid debugging if configure makes a mistake.
3141 It was created by Wine $as_me 8.4, which was
3142 generated by GNU Autoconf 2.71. Invocation command line was
3144 $ $0$ac_configure_args_raw
3146 _ACEOF
3147 exec 5>>config.log
3149 cat <<_ASUNAME
3150 ## --------- ##
3151 ## Platform. ##
3152 ## --------- ##
3154 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3155 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3156 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3157 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3158 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3160 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3161 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3163 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3164 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3165 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3166 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3167 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3168 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3169 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3171 _ASUNAME
3173 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3174 for as_dir in $PATH
3176 IFS=$as_save_IFS
3177 case $as_dir in #(((
3178 '') as_dir=./ ;;
3179 */) ;;
3180 *) as_dir=$as_dir/ ;;
3181 esac
3182 printf "%s\n" "PATH: $as_dir"
3183 done
3184 IFS=$as_save_IFS
3186 } >&5
3188 cat >&5 <<_ACEOF
3191 ## ----------- ##
3192 ## Core tests. ##
3193 ## ----------- ##
3195 _ACEOF
3198 # Keep a trace of the command line.
3199 # Strip out --no-create and --no-recursion so they do not pile up.
3200 # Strip out --silent because we don't want to record it for future runs.
3201 # Also quote any args containing shell meta-characters.
3202 # Make two passes to allow for proper duplicate-argument suppression.
3203 ac_configure_args=
3204 ac_configure_args0=
3205 ac_configure_args1=
3206 ac_must_keep_next=false
3207 for ac_pass in 1 2
3209 for ac_arg
3211 case $ac_arg in
3212 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3213 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3214 | -silent | --silent | --silen | --sile | --sil)
3215 continue ;;
3216 *\'*)
3217 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3218 esac
3219 case $ac_pass in
3220 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3222 as_fn_append ac_configure_args1 " '$ac_arg'"
3223 if test $ac_must_keep_next = true; then
3224 ac_must_keep_next=false # Got value, back to normal.
3225 else
3226 case $ac_arg in
3227 *=* | --config-cache | -C | -disable-* | --disable-* \
3228 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3229 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3230 | -with-* | --with-* | -without-* | --without-* | --x)
3231 case "$ac_configure_args0 " in
3232 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3233 esac
3235 -* ) ac_must_keep_next=true ;;
3236 esac
3238 as_fn_append ac_configure_args " '$ac_arg'"
3240 esac
3241 done
3242 done
3243 { ac_configure_args0=; unset ac_configure_args0;}
3244 { ac_configure_args1=; unset ac_configure_args1;}
3246 # When interrupted or exit'd, cleanup temporary files, and complete
3247 # config.log. We remove comments because anyway the quotes in there
3248 # would cause problems or look ugly.
3249 # WARNING: Use '\'' to represent an apostrophe within the trap.
3250 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3251 trap 'exit_status=$?
3252 # Sanitize IFS.
3253 IFS=" "" $as_nl"
3254 # Save into config.log some information that might help in debugging.
3256 echo
3258 printf "%s\n" "## ---------------- ##
3259 ## Cache variables. ##
3260 ## ---------------- ##"
3261 echo
3262 # The following way of writing the cache mishandles newlines in values,
3264 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3265 eval ac_val=\$$ac_var
3266 case $ac_val in #(
3267 *${as_nl}*)
3268 case $ac_var in #(
3269 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3270 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3271 esac
3272 case $ac_var in #(
3273 _ | IFS | as_nl) ;; #(
3274 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3275 *) { eval $ac_var=; unset $ac_var;} ;;
3276 esac ;;
3277 esac
3278 done
3279 (set) 2>&1 |
3280 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3281 *${as_nl}ac_space=\ *)
3282 sed -n \
3283 "s/'\''/'\''\\\\'\'''\''/g;
3284 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3285 ;; #(
3287 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3289 esac |
3290 sort
3292 echo
3294 printf "%s\n" "## ----------------- ##
3295 ## Output variables. ##
3296 ## ----------------- ##"
3297 echo
3298 for ac_var in $ac_subst_vars
3300 eval ac_val=\$$ac_var
3301 case $ac_val in
3302 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3303 esac
3304 printf "%s\n" "$ac_var='\''$ac_val'\''"
3305 done | sort
3306 echo
3308 if test -n "$ac_subst_files"; then
3309 printf "%s\n" "## ------------------- ##
3310 ## File substitutions. ##
3311 ## ------------------- ##"
3312 echo
3313 for ac_var in $ac_subst_files
3315 eval ac_val=\$$ac_var
3316 case $ac_val in
3317 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3318 esac
3319 printf "%s\n" "$ac_var='\''$ac_val'\''"
3320 done | sort
3321 echo
3324 if test -s confdefs.h; then
3325 printf "%s\n" "## ----------- ##
3326 ## confdefs.h. ##
3327 ## ----------- ##"
3328 echo
3329 cat confdefs.h
3330 echo
3332 test "$ac_signal" != 0 &&
3333 printf "%s\n" "$as_me: caught signal $ac_signal"
3334 printf "%s\n" "$as_me: exit $exit_status"
3335 } >&5
3336 rm -f core *.core core.conftest.* &&
3337 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3338 exit $exit_status
3340 for ac_signal in 1 2 13 15; do
3341 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3342 done
3343 ac_signal=0
3345 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3346 rm -f -r conftest* confdefs.h
3348 printf "%s\n" "/* confdefs.h */" > confdefs.h
3350 # Predefined preprocessor variables.
3352 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
3354 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
3356 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
3358 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
3360 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
3362 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
3365 # Let the site file select an alternate cache file if it wants to.
3366 # Prefer an explicitly selected file to automatically selected ones.
3367 if test -n "$CONFIG_SITE"; then
3368 ac_site_files="$CONFIG_SITE"
3369 elif test "x$prefix" != xNONE; then
3370 ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
3371 else
3372 ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
3375 for ac_site_file in $ac_site_files
3377 case $ac_site_file in #(
3378 */*) :
3379 ;; #(
3380 *) :
3381 ac_site_file=./$ac_site_file ;;
3382 esac
3383 if test -f "$ac_site_file" && test -r "$ac_site_file"; then
3384 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3385 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
3386 sed 's/^/| /' "$ac_site_file" >&5
3387 . "$ac_site_file" \
3388 || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3389 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
3390 as_fn_error $? "failed to load site script $ac_site_file
3391 See \`config.log' for more details" "$LINENO" 5; }
3393 done
3395 if test -r "$cache_file"; then
3396 # Some versions of bash will fail to source /dev/null (special files
3397 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3398 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3399 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3400 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
3401 case $cache_file in
3402 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3403 *) . "./$cache_file";;
3404 esac
3406 else
3407 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3408 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
3409 >$cache_file
3412 # Test code for whether the C compiler supports C89 (global declarations)
3413 ac_c_conftest_c89_globals='
3414 /* Does the compiler advertise C89 conformance?
3415 Do not test the value of __STDC__, because some compilers set it to 0
3416 while being otherwise adequately conformant. */
3417 #if !defined __STDC__
3418 # error "Compiler does not advertise C89 conformance"
3419 #endif
3421 #include <stddef.h>
3422 #include <stdarg.h>
3423 struct stat;
3424 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */
3425 struct buf { int x; };
3426 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
3427 static char *e (p, i)
3428 char **p;
3429 int i;
3431 return p[i];
3433 static char *f (char * (*g) (char **, int), char **p, ...)
3435 char *s;
3436 va_list v;
3437 va_start (v,p);
3438 s = g (p, va_arg (v,int));
3439 va_end (v);
3440 return s;
3443 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3444 function prototypes and stuff, but not \xHH hex character constants.
3445 These do not provoke an error unfortunately, instead are silently treated
3446 as an "x". The following induces an error, until -std is added to get
3447 proper ANSI mode. Curiously \x00 != x always comes out true, for an
3448 array size at least. It is necessary to write \x00 == 0 to get something
3449 that is true only with -std. */
3450 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
3452 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3453 inside strings and character constants. */
3454 #define FOO(x) '\''x'\''
3455 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
3457 int test (int i, double x);
3458 struct s1 {int (*f) (int a);};
3459 struct s2 {int (*f) (double a);};
3460 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
3461 int, int);'
3463 # Test code for whether the C compiler supports C89 (body of main).
3464 ac_c_conftest_c89_main='
3465 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
3468 # Test code for whether the C compiler supports C99 (global declarations)
3469 ac_c_conftest_c99_globals='
3470 // Does the compiler advertise C99 conformance?
3471 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
3472 # error "Compiler does not advertise C99 conformance"
3473 #endif
3475 #include <stdbool.h>
3476 extern int puts (const char *);
3477 extern int printf (const char *, ...);
3478 extern int dprintf (int, const char *, ...);
3479 extern void *malloc (size_t);
3481 // Check varargs macros. These examples are taken from C99 6.10.3.5.
3482 // dprintf is used instead of fprintf to avoid needing to declare
3483 // FILE and stderr.
3484 #define debug(...) dprintf (2, __VA_ARGS__)
3485 #define showlist(...) puts (#__VA_ARGS__)
3486 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3487 static void
3488 test_varargs_macros (void)
3490 int x = 1234;
3491 int y = 5678;
3492 debug ("Flag");
3493 debug ("X = %d\n", x);
3494 showlist (The first, second, and third items.);
3495 report (x>y, "x is %d but y is %d", x, y);
3498 // Check long long types.
3499 #define BIG64 18446744073709551615ull
3500 #define BIG32 4294967295ul
3501 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3502 #if !BIG_OK
3503 #error "your preprocessor is broken"
3504 #endif
3505 #if BIG_OK
3506 #else
3507 #error "your preprocessor is broken"
3508 #endif
3509 static long long int bignum = -9223372036854775807LL;
3510 static unsigned long long int ubignum = BIG64;
3512 struct incomplete_array
3514 int datasize;
3515 double data[];
3518 struct named_init {
3519 int number;
3520 const wchar_t *name;
3521 double average;
3524 typedef const char *ccp;
3526 static inline int
3527 test_restrict (ccp restrict text)
3529 // See if C++-style comments work.
3530 // Iterate through items via the restricted pointer.
3531 // Also check for declarations in for loops.
3532 for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
3533 continue;
3534 return 0;
3537 // Check varargs and va_copy.
3538 static bool
3539 test_varargs (const char *format, ...)
3541 va_list args;
3542 va_start (args, format);
3543 va_list args_copy;
3544 va_copy (args_copy, args);
3546 const char *str = "";
3547 int number = 0;
3548 float fnumber = 0;
3550 while (*format)
3552 switch (*format++)
3554 case '\''s'\'': // string
3555 str = va_arg (args_copy, const char *);
3556 break;
3557 case '\''d'\'': // int
3558 number = va_arg (args_copy, int);
3559 break;
3560 case '\''f'\'': // float
3561 fnumber = va_arg (args_copy, double);
3562 break;
3563 default:
3564 break;
3567 va_end (args_copy);
3568 va_end (args);
3570 return *str && number && fnumber;
3574 # Test code for whether the C compiler supports C99 (body of main).
3575 ac_c_conftest_c99_main='
3576 // Check bool.
3577 _Bool success = false;
3578 success |= (argc != 0);
3580 // Check restrict.
3581 if (test_restrict ("String literal") == 0)
3582 success = true;
3583 char *restrict newvar = "Another string";
3585 // Check varargs.
3586 success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
3587 test_varargs_macros ();
3589 // Check flexible array members.
3590 struct incomplete_array *ia =
3591 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
3592 ia->datasize = 10;
3593 for (int i = 0; i < ia->datasize; ++i)
3594 ia->data[i] = i * 1.234;
3596 // Check named initializers.
3597 struct named_init ni = {
3598 .number = 34,
3599 .name = L"Test wide string",
3600 .average = 543.34343,
3603 ni.number = 58;
3605 int dynamic_array[ni.number];
3606 dynamic_array[0] = argv[0][0];
3607 dynamic_array[ni.number - 1] = 543;
3609 // work around unused variable warnings
3610 ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
3611 || dynamic_array[ni.number - 1] != 543);
3614 # Test code for whether the C compiler supports C11 (global declarations)
3615 ac_c_conftest_c11_globals='
3616 // Does the compiler advertise C11 conformance?
3617 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
3618 # error "Compiler does not advertise C11 conformance"
3619 #endif
3621 // Check _Alignas.
3622 char _Alignas (double) aligned_as_double;
3623 char _Alignas (0) no_special_alignment;
3624 extern char aligned_as_int;
3625 char _Alignas (0) _Alignas (int) aligned_as_int;
3627 // Check _Alignof.
3628 enum
3630 int_alignment = _Alignof (int),
3631 int_array_alignment = _Alignof (int[100]),
3632 char_alignment = _Alignof (char)
3634 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
3636 // Check _Noreturn.
3637 int _Noreturn does_not_return (void) { for (;;) continue; }
3639 // Check _Static_assert.
3640 struct test_static_assert
3642 int x;
3643 _Static_assert (sizeof (int) <= sizeof (long int),
3644 "_Static_assert does not work in struct");
3645 long int y;
3648 // Check UTF-8 literals.
3649 #define u8 syntax error!
3650 char const utf8_literal[] = u8"happens to be ASCII" "another string";
3652 // Check duplicate typedefs.
3653 typedef long *long_ptr;
3654 typedef long int *long_ptr;
3655 typedef long_ptr long_ptr;
3657 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
3658 struct anonymous
3660 union {
3661 struct { int i; int j; };
3662 struct { int k; long int l; } w;
3664 int m;
3665 } v1;
3668 # Test code for whether the C compiler supports C11 (body of main).
3669 ac_c_conftest_c11_main='
3670 _Static_assert ((offsetof (struct anonymous, i)
3671 == offsetof (struct anonymous, w.k)),
3672 "Anonymous union alignment botch");
3673 v1.i = 2;
3674 v1.w.k = 5;
3675 ok |= v1.i != 5;
3678 # Test code for whether the C compiler supports C11 (complete).
3679 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
3680 ${ac_c_conftest_c99_globals}
3681 ${ac_c_conftest_c11_globals}
3684 main (int argc, char **argv)
3686 int ok = 0;
3687 ${ac_c_conftest_c89_main}
3688 ${ac_c_conftest_c99_main}
3689 ${ac_c_conftest_c11_main}
3690 return ok;
3694 # Test code for whether the C compiler supports C99 (complete).
3695 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
3696 ${ac_c_conftest_c99_globals}
3699 main (int argc, char **argv)
3701 int ok = 0;
3702 ${ac_c_conftest_c89_main}
3703 ${ac_c_conftest_c99_main}
3704 return ok;
3708 # Test code for whether the C compiler supports C89 (complete).
3709 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
3712 main (int argc, char **argv)
3714 int ok = 0;
3715 ${ac_c_conftest_c89_main}
3716 return ok;
3720 # Test code for whether the C++ compiler supports C++98 (global declarations)
3721 ac_cxx_conftest_cxx98_globals='
3722 // Does the compiler advertise C++98 conformance?
3723 #if !defined __cplusplus || __cplusplus < 199711L
3724 # error "Compiler does not advertise C++98 conformance"
3725 #endif
3727 // These inclusions are to reject old compilers that
3728 // lack the unsuffixed header files.
3729 #include <cstdlib>
3730 #include <exception>
3732 // <cassert> and <cstring> are *not* freestanding headers in C++98.
3733 extern void assert (int);
3734 namespace std {
3735 extern int strcmp (const char *, const char *);
3738 // Namespaces, exceptions, and templates were all added after "C++ 2.0".
3739 using std::exception;
3740 using std::strcmp;
3742 namespace {
3744 void test_exception_syntax()
3746 try {
3747 throw "test";
3748 } catch (const char *s) {
3749 // Extra parentheses suppress a warning when building autoconf itself,
3750 // due to lint rules shared with more typical C programs.
3751 assert (!(strcmp) (s, "test"));
3755 template <typename T> struct test_template
3757 T const val;
3758 explicit test_template(T t) : val(t) {}
3759 template <typename U> T add(U u) { return static_cast<T>(u) + val; }
3762 } // anonymous namespace
3765 # Test code for whether the C++ compiler supports C++98 (body of main)
3766 ac_cxx_conftest_cxx98_main='
3767 assert (argc);
3768 assert (! argv[0]);
3770 test_exception_syntax ();
3771 test_template<double> tt (2.0);
3772 assert (tt.add (4) == 6.0);
3773 assert (true && !false);
3777 # Test code for whether the C++ compiler supports C++11 (global declarations)
3778 ac_cxx_conftest_cxx11_globals='
3779 // Does the compiler advertise C++ 2011 conformance?
3780 #if !defined __cplusplus || __cplusplus < 201103L
3781 # error "Compiler does not advertise C++11 conformance"
3782 #endif
3784 namespace cxx11test
3786 constexpr int get_val() { return 20; }
3788 struct testinit
3790 int i;
3791 double d;
3794 class delegate
3796 public:
3797 delegate(int n) : n(n) {}
3798 delegate(): delegate(2354) {}
3800 virtual int getval() { return this->n; };
3801 protected:
3802 int n;
3805 class overridden : public delegate
3807 public:
3808 overridden(int n): delegate(n) {}
3809 virtual int getval() override final { return this->n * 2; }
3812 class nocopy
3814 public:
3815 nocopy(int i): i(i) {}
3816 nocopy() = default;
3817 nocopy(const nocopy&) = delete;
3818 nocopy & operator=(const nocopy&) = delete;
3819 private:
3820 int i;
3823 // for testing lambda expressions
3824 template <typename Ret, typename Fn> Ret eval(Fn f, Ret v)
3826 return f(v);
3829 // for testing variadic templates and trailing return types
3830 template <typename V> auto sum(V first) -> V
3832 return first;
3834 template <typename V, typename... Args> auto sum(V first, Args... rest) -> V
3836 return first + sum(rest...);
3841 # Test code for whether the C++ compiler supports C++11 (body of main)
3842 ac_cxx_conftest_cxx11_main='
3844 // Test auto and decltype
3845 auto a1 = 6538;
3846 auto a2 = 48573953.4;
3847 auto a3 = "String literal";
3849 int total = 0;
3850 for (auto i = a3; *i; ++i) { total += *i; }
3852 decltype(a2) a4 = 34895.034;
3855 // Test constexpr
3856 short sa[cxx11test::get_val()] = { 0 };
3859 // Test initializer lists
3860 cxx11test::testinit il = { 4323, 435234.23544 };
3863 // Test range-based for
3864 int array[] = {9, 7, 13, 15, 4, 18, 12, 10, 5, 3,
3865 14, 19, 17, 8, 6, 20, 16, 2, 11, 1};
3866 for (auto &x : array) { x += 23; }
3869 // Test lambda expressions
3870 using cxx11test::eval;
3871 assert (eval ([](int x) { return x*2; }, 21) == 42);
3872 double d = 2.0;
3873 assert (eval ([&](double x) { return d += x; }, 3.0) == 5.0);
3874 assert (d == 5.0);
3875 assert (eval ([=](double x) mutable { return d += x; }, 4.0) == 9.0);
3876 assert (d == 5.0);
3879 // Test use of variadic templates
3880 using cxx11test::sum;
3881 auto a = sum(1);
3882 auto b = sum(1, 2);
3883 auto c = sum(1.0, 2.0, 3.0);
3886 // Test constructor delegation
3887 cxx11test::delegate d1;
3888 cxx11test::delegate d2();
3889 cxx11test::delegate d3(45);
3892 // Test override and final
3893 cxx11test::overridden o1(55464);
3896 // Test nullptr
3897 char *c = nullptr;
3900 // Test template brackets
3901 test_template<::test_template<int>> v(test_template<int>(12));
3904 // Unicode literals
3905 char const *utf8 = u8"UTF-8 string \u2500";
3906 char16_t const *utf16 = u"UTF-8 string \u2500";
3907 char32_t const *utf32 = U"UTF-32 string \u2500";
3911 # Test code for whether the C compiler supports C++11 (complete).
3912 ac_cxx_conftest_cxx11_program="${ac_cxx_conftest_cxx98_globals}
3913 ${ac_cxx_conftest_cxx11_globals}
3916 main (int argc, char **argv)
3918 int ok = 0;
3919 ${ac_cxx_conftest_cxx98_main}
3920 ${ac_cxx_conftest_cxx11_main}
3921 return ok;
3925 # Test code for whether the C compiler supports C++98 (complete).
3926 ac_cxx_conftest_cxx98_program="${ac_cxx_conftest_cxx98_globals}
3928 main (int argc, char **argv)
3930 int ok = 0;
3931 ${ac_cxx_conftest_cxx98_main}
3932 return ok;
3936 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
3937 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
3938 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
3939 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
3940 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
3941 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
3942 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
3943 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
3944 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
3946 # Auxiliary files required by this configure script.
3947 ac_aux_files="config.guess config.sub"
3949 # Locations in which to look for auxiliary files.
3950 ac_aux_dir_candidates="${srcdir}/tools"
3952 # Search for a directory containing all of the required auxiliary files,
3953 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
3954 # If we don't find one directory that contains all the files we need,
3955 # we report the set of missing files from the *first* directory in
3956 # $ac_aux_dir_candidates and give up.
3957 ac_missing_aux_files=""
3958 ac_first_candidate=:
3959 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
3960 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3961 as_found=false
3962 for as_dir in $ac_aux_dir_candidates
3964 IFS=$as_save_IFS
3965 case $as_dir in #(((
3966 '') as_dir=./ ;;
3967 */) ;;
3968 *) as_dir=$as_dir/ ;;
3969 esac
3970 as_found=:
3972 printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5
3973 ac_aux_dir_found=yes
3974 ac_install_sh=
3975 for ac_aux in $ac_aux_files
3977 # As a special case, if "install-sh" is required, that requirement
3978 # can be satisfied by any of "install-sh", "install.sh", or "shtool",
3979 # and $ac_install_sh is set appropriately for whichever one is found.
3980 if test x"$ac_aux" = x"install-sh"
3981 then
3982 if test -f "${as_dir}install-sh"; then
3983 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5
3984 ac_install_sh="${as_dir}install-sh -c"
3985 elif test -f "${as_dir}install.sh"; then
3986 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5
3987 ac_install_sh="${as_dir}install.sh -c"
3988 elif test -f "${as_dir}shtool"; then
3989 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5
3990 ac_install_sh="${as_dir}shtool install -c"
3991 else
3992 ac_aux_dir_found=no
3993 if $ac_first_candidate; then
3994 ac_missing_aux_files="${ac_missing_aux_files} install-sh"
3995 else
3996 break
3999 else
4000 if test -f "${as_dir}${ac_aux}"; then
4001 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5
4002 else
4003 ac_aux_dir_found=no
4004 if $ac_first_candidate; then
4005 ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
4006 else
4007 break
4011 done
4012 if test "$ac_aux_dir_found" = yes; then
4013 ac_aux_dir="$as_dir"
4014 break
4016 ac_first_candidate=false
4018 as_found=false
4019 done
4020 IFS=$as_save_IFS
4021 if $as_found
4022 then :
4024 else $as_nop
4025 as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
4029 # These three variables are undocumented and unsupported,
4030 # and are intended to be withdrawn in a future Autoconf release.
4031 # They can cause serious problems if a builder's source tree is in a directory
4032 # whose full name contains unusual characters.
4033 if test -f "${ac_aux_dir}config.guess"; then
4034 ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
4036 if test -f "${ac_aux_dir}config.sub"; then
4037 ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
4039 if test -f "$ac_aux_dir/configure"; then
4040 ac_configure="$SHELL ${ac_aux_dir}configure"
4043 # Check that the precious variables saved in the cache have kept the same
4044 # value.
4045 ac_cache_corrupted=false
4046 for ac_var in $ac_precious_vars; do
4047 eval ac_old_set=\$ac_cv_env_${ac_var}_set
4048 eval ac_new_set=\$ac_env_${ac_var}_set
4049 eval ac_old_val=\$ac_cv_env_${ac_var}_value
4050 eval ac_new_val=\$ac_env_${ac_var}_value
4051 case $ac_old_set,$ac_new_set in
4052 set,)
4053 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
4054 printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
4055 ac_cache_corrupted=: ;;
4056 ,set)
4057 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
4058 printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
4059 ac_cache_corrupted=: ;;
4060 ,);;
4062 if test "x$ac_old_val" != "x$ac_new_val"; then
4063 # differences in whitespace do not lead to failure.
4064 ac_old_val_w=`echo x $ac_old_val`
4065 ac_new_val_w=`echo x $ac_new_val`
4066 if test "$ac_old_val_w" != "$ac_new_val_w"; then
4067 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
4068 printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
4069 ac_cache_corrupted=:
4070 else
4071 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
4072 printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
4073 eval $ac_var=\$ac_old_val
4075 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
4076 printf "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;}
4077 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
4078 printf "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;}
4079 fi;;
4080 esac
4081 # Pass precious variables to config.status.
4082 if test "$ac_new_set" = set; then
4083 case $ac_new_val in
4084 *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
4085 *) ac_arg=$ac_var=$ac_new_val ;;
4086 esac
4087 case " $ac_configure_args " in
4088 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
4089 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
4090 esac
4092 done
4093 if $ac_cache_corrupted; then
4094 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4095 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
4096 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
4097 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
4098 as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
4099 and start over" "$LINENO" 5
4101 ## -------------------- ##
4102 ## Main body of script. ##
4103 ## -------------------- ##
4105 ac_ext=c
4106 ac_cpp='$CPP $CPPFLAGS'
4107 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4108 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4109 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4113 ac_config_headers="$ac_config_headers include/config.h"
4117 libwine_version="1.0"
4120 # Check whether --enable-archs was given.
4121 if test ${enable_archs+y}
4122 then :
4123 enableval=$enable_archs;
4126 # Check whether --enable-win16 was given.
4127 if test ${enable_win16+y}
4128 then :
4129 enableval=$enable_win16;
4132 # Check whether --enable-win64 was given.
4133 if test ${enable_win64+y}
4134 then :
4135 enableval=$enable_win64;
4138 # Check whether --enable-tests was given.
4139 if test ${enable_tests+y}
4140 then :
4141 enableval=$enable_tests;
4144 # Check whether --enable-build-id was given.
4145 if test ${enable_build_id+y}
4146 then :
4147 enableval=$enable_build_id;
4150 # Check whether --enable-maintainer-mode was given.
4151 if test ${enable_maintainer_mode+y}
4152 then :
4153 enableval=$enable_maintainer_mode;
4156 # Check whether --enable-silent-rules was given.
4157 if test ${enable_silent_rules+y}
4158 then :
4159 enableval=$enable_silent_rules;
4162 # Check whether --enable-werror was given.
4163 if test ${enable_werror+y}
4164 then :
4165 enableval=$enable_werror;
4170 # Check whether --with-alsa was given.
4171 if test ${with_alsa+y}
4172 then :
4173 withval=$with_alsa;
4177 # Check whether --with-capi was given.
4178 if test ${with_capi+y}
4179 then :
4180 withval=$with_capi;
4184 # Check whether --with-coreaudio was given.
4185 if test ${with_coreaudio+y}
4186 then :
4187 withval=$with_coreaudio;
4191 # Check whether --with-cups was given.
4192 if test ${with_cups+y}
4193 then :
4194 withval=$with_cups;
4198 # Check whether --with-dbus was given.
4199 if test ${with_dbus+y}
4200 then :
4201 withval=$with_dbus;
4205 # Check whether --with-float-abi was given.
4206 if test ${with_float_abi+y}
4207 then :
4208 withval=$with_float_abi;
4212 # Check whether --with-fontconfig was given.
4213 if test ${with_fontconfig+y}
4214 then :
4215 withval=$with_fontconfig;
4219 # Check whether --with-freetype was given.
4220 if test ${with_freetype+y}
4221 then :
4222 withval=$with_freetype;
4226 # Check whether --with-gettext was given.
4227 if test ${with_gettext+y}
4228 then :
4229 withval=$with_gettext;
4233 # Check whether --with-gettextpo was given.
4234 if test ${with_gettextpo+y}
4235 then :
4236 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
4240 # Check whether --with-gphoto was given.
4241 if test ${with_gphoto+y}
4242 then :
4243 withval=$with_gphoto;
4247 # Check whether --with-gnutls was given.
4248 if test ${with_gnutls+y}
4249 then :
4250 withval=$with_gnutls;
4254 # Check whether --with-gssapi was given.
4255 if test ${with_gssapi+y}
4256 then :
4257 withval=$with_gssapi;
4261 # Check whether --with-gstreamer was given.
4262 if test ${with_gstreamer+y}
4263 then :
4264 withval=$with_gstreamer;
4268 # Check whether --with-inotify was given.
4269 if test ${with_inotify+y}
4270 then :
4271 withval=$with_inotify;
4275 # Check whether --with-krb5 was given.
4276 if test ${with_krb5+y}
4277 then :
4278 withval=$with_krb5;
4282 # Check whether --with-mingw was given.
4283 if test ${with_mingw+y}
4284 then :
4285 withval=$with_mingw;
4289 # Check whether --with-netapi was given.
4290 if test ${with_netapi+y}
4291 then :
4292 withval=$with_netapi;
4296 # Check whether --with-opencl was given.
4297 if test ${with_opencl+y}
4298 then :
4299 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
4303 # Check whether --with-opengl was given.
4304 if test ${with_opengl+y}
4305 then :
4306 withval=$with_opengl;
4310 # Check whether --with-osmesa was given.
4311 if test ${with_osmesa+y}
4312 then :
4313 withval=$with_osmesa;
4317 # Check whether --with-oss was given.
4318 if test ${with_oss+y}
4319 then :
4320 withval=$with_oss;
4324 # Check whether --with-pcap was given.
4325 if test ${with_pcap+y}
4326 then :
4327 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
4331 # Check whether --with-pcsclite was given.
4332 if test ${with_pcsclite+y}
4333 then :
4334 withval=$with_pcsclite;
4338 # Check whether --with-pthread was given.
4339 if test ${with_pthread+y}
4340 then :
4341 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
4345 # Check whether --with-pulse was given.
4346 if test ${with_pulse+y}
4347 then :
4348 withval=$with_pulse;
4352 # Check whether --with-sane was given.
4353 if test ${with_sane+y}
4354 then :
4355 withval=$with_sane;
4359 # Check whether --with-sdl was given.
4360 if test ${with_sdl+y}
4361 then :
4362 withval=$with_sdl;
4366 # Check whether --with-udev was given.
4367 if test ${with_udev+y}
4368 then :
4369 withval=$with_udev;
4373 # Check whether --with-unwind was given.
4374 if test ${with_unwind+y}
4375 then :
4376 withval=$with_unwind;
4380 # Check whether --with-usb was given.
4381 if test ${with_usb+y}
4382 then :
4383 withval=$with_usb;
4387 # Check whether --with-v4l2 was given.
4388 if test ${with_v4l2+y}
4389 then :
4390 withval=$with_v4l2;
4394 # Check whether --with-vulkan was given.
4395 if test ${with_vulkan+y}
4396 then :
4397 withval=$with_vulkan;
4401 # Check whether --with-wayland was given.
4402 if test ${with_wayland+y}
4403 then :
4404 withval=$with_wayland;
4408 # Check whether --with-xcomposite was given.
4409 if test ${with_xcomposite+y}
4410 then :
4411 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
4415 # Check whether --with-xcursor was given.
4416 if test ${with_xcursor+y}
4417 then :
4418 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
4422 # Check whether --with-xfixes was given.
4423 if test ${with_xfixes+y}
4424 then :
4425 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
4429 # Check whether --with-xinerama was given.
4430 if test ${with_xinerama+y}
4431 then :
4432 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
4436 # Check whether --with-xinput was given.
4437 if test ${with_xinput+y}
4438 then :
4439 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
4443 # Check whether --with-xinput2 was given.
4444 if test ${with_xinput2+y}
4445 then :
4446 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
4450 # Check whether --with-xrandr was given.
4451 if test ${with_xrandr+y}
4452 then :
4453 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
4457 # Check whether --with-xrender was given.
4458 if test ${with_xrender+y}
4459 then :
4460 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
4464 # Check whether --with-xshape was given.
4465 if test ${with_xshape+y}
4466 then :
4467 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
4471 # Check whether --with-xshm was given.
4472 if test ${with_xshm+y}
4473 then :
4474 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
4478 # Check whether --with-xxf86vm was given.
4479 if test ${with_xxf86vm+y}
4480 then :
4481 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
4486 # Check whether --with-system-dllpath was given.
4487 if test ${with_system_dllpath+y}
4488 then :
4489 withval=$with_system_dllpath; system_dllpath=$withval
4494 # Check whether --with-wine-tools was given.
4495 if test ${with_wine_tools+y}
4496 then :
4497 withval=$with_wine_tools;
4501 # Check whether --with-wine64 was given.
4502 if test ${with_wine64+y}
4503 then :
4504 withval=$with_wine64;
4511 # Make sure we can run config.sub.
4512 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
4513 as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
4515 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4516 printf %s "checking build system type... " >&6; }
4517 if test ${ac_cv_build+y}
4518 then :
4519 printf %s "(cached) " >&6
4520 else $as_nop
4521 ac_build_alias=$build_alias
4522 test "x$ac_build_alias" = x &&
4523 ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
4524 test "x$ac_build_alias" = x &&
4525 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4526 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
4527 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
4530 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4531 printf "%s\n" "$ac_cv_build" >&6; }
4532 case $ac_cv_build in
4533 *-*-*) ;;
4534 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4535 esac
4536 build=$ac_cv_build
4537 ac_save_IFS=$IFS; IFS='-'
4538 set x $ac_cv_build
4539 shift
4540 build_cpu=$1
4541 build_vendor=$2
4542 shift; shift
4543 # Remember, the first character of IFS is used to create $*,
4544 # except with old shells:
4545 build_os=$*
4546 IFS=$ac_save_IFS
4547 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4550 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4551 printf %s "checking host system type... " >&6; }
4552 if test ${ac_cv_host+y}
4553 then :
4554 printf %s "(cached) " >&6
4555 else $as_nop
4556 if test "x$host_alias" = x; then
4557 ac_cv_host=$ac_cv_build
4558 else
4559 ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
4560 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
4564 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4565 printf "%s\n" "$ac_cv_host" >&6; }
4566 case $ac_cv_host in
4567 *-*-*) ;;
4568 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4569 esac
4570 host=$ac_cv_host
4571 ac_save_IFS=$IFS; IFS='-'
4572 set x $ac_cv_host
4573 shift
4574 host_cpu=$1
4575 host_vendor=$2
4576 shift; shift
4577 # Remember, the first character of IFS is used to create $*,
4578 # except with old shells:
4579 host_os=$*
4580 IFS=$ac_save_IFS
4581 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4585 dlldir=\${libdir}/wine
4587 fontdir=\${datadir}/wine/fonts
4589 nlsdir=\${datadir}/wine/nls
4594 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4595 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4596 set x ${MAKE-make}
4597 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4598 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
4599 then :
4600 printf %s "(cached) " >&6
4601 else $as_nop
4602 cat >conftest.make <<\_ACEOF
4603 SHELL = /bin/sh
4604 all:
4605 @echo '@@@%%%=$(MAKE)=@@@%%%'
4606 _ACEOF
4607 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4608 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4609 *@@@%%%=?*=@@@%%%*)
4610 eval ac_cv_prog_make_${ac_make}_set=yes;;
4612 eval ac_cv_prog_make_${ac_make}_set=no;;
4613 esac
4614 rm -f conftest.make
4616 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4617 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4618 printf "%s\n" "yes" >&6; }
4619 SET_MAKE=
4620 else
4621 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4622 printf "%s\n" "no" >&6; }
4623 SET_MAKE="MAKE=${MAKE-make}"
4635 ac_ext=c
4636 ac_cpp='$CPP $CPPFLAGS'
4637 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4638 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4639 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4640 if test -n "$ac_tool_prefix"; then
4641 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4642 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4643 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4644 printf %s "checking for $ac_word... " >&6; }
4645 if test ${ac_cv_prog_CC+y}
4646 then :
4647 printf %s "(cached) " >&6
4648 else $as_nop
4649 if test -n "$CC"; then
4650 ac_cv_prog_CC="$CC" # Let the user override the test.
4651 else
4652 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4653 for as_dir in $PATH
4655 IFS=$as_save_IFS
4656 case $as_dir in #(((
4657 '') as_dir=./ ;;
4658 */) ;;
4659 *) as_dir=$as_dir/ ;;
4660 esac
4661 for ac_exec_ext in '' $ac_executable_extensions; do
4662 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4663 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4664 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4665 break 2
4667 done
4668 done
4669 IFS=$as_save_IFS
4673 CC=$ac_cv_prog_CC
4674 if test -n "$CC"; then
4675 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4676 printf "%s\n" "$CC" >&6; }
4677 else
4678 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4679 printf "%s\n" "no" >&6; }
4684 if test -z "$ac_cv_prog_CC"; then
4685 ac_ct_CC=$CC
4686 # Extract the first word of "gcc", so it can be a program name with args.
4687 set dummy gcc; ac_word=$2
4688 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4689 printf %s "checking for $ac_word... " >&6; }
4690 if test ${ac_cv_prog_ac_ct_CC+y}
4691 then :
4692 printf %s "(cached) " >&6
4693 else $as_nop
4694 if test -n "$ac_ct_CC"; then
4695 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4696 else
4697 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4698 for as_dir in $PATH
4700 IFS=$as_save_IFS
4701 case $as_dir in #(((
4702 '') as_dir=./ ;;
4703 */) ;;
4704 *) as_dir=$as_dir/ ;;
4705 esac
4706 for ac_exec_ext in '' $ac_executable_extensions; do
4707 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4708 ac_cv_prog_ac_ct_CC="gcc"
4709 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4710 break 2
4712 done
4713 done
4714 IFS=$as_save_IFS
4718 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4719 if test -n "$ac_ct_CC"; then
4720 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4721 printf "%s\n" "$ac_ct_CC" >&6; }
4722 else
4723 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4724 printf "%s\n" "no" >&6; }
4727 if test "x$ac_ct_CC" = x; then
4728 CC=""
4729 else
4730 case $cross_compiling:$ac_tool_warned in
4731 yes:)
4732 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4733 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4734 ac_tool_warned=yes ;;
4735 esac
4736 CC=$ac_ct_CC
4738 else
4739 CC="$ac_cv_prog_CC"
4742 if test -z "$CC"; then
4743 if test -n "$ac_tool_prefix"; then
4744 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4745 set dummy ${ac_tool_prefix}cc; ac_word=$2
4746 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4747 printf %s "checking for $ac_word... " >&6; }
4748 if test ${ac_cv_prog_CC+y}
4749 then :
4750 printf %s "(cached) " >&6
4751 else $as_nop
4752 if test -n "$CC"; then
4753 ac_cv_prog_CC="$CC" # Let the user override the test.
4754 else
4755 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4756 for as_dir in $PATH
4758 IFS=$as_save_IFS
4759 case $as_dir in #(((
4760 '') as_dir=./ ;;
4761 */) ;;
4762 *) as_dir=$as_dir/ ;;
4763 esac
4764 for ac_exec_ext in '' $ac_executable_extensions; do
4765 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4766 ac_cv_prog_CC="${ac_tool_prefix}cc"
4767 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4768 break 2
4770 done
4771 done
4772 IFS=$as_save_IFS
4776 CC=$ac_cv_prog_CC
4777 if test -n "$CC"; then
4778 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4779 printf "%s\n" "$CC" >&6; }
4780 else
4781 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4782 printf "%s\n" "no" >&6; }
4788 if test -z "$CC"; then
4789 # Extract the first word of "cc", so it can be a program name with args.
4790 set dummy cc; ac_word=$2
4791 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4792 printf %s "checking for $ac_word... " >&6; }
4793 if test ${ac_cv_prog_CC+y}
4794 then :
4795 printf %s "(cached) " >&6
4796 else $as_nop
4797 if test -n "$CC"; then
4798 ac_cv_prog_CC="$CC" # Let the user override the test.
4799 else
4800 ac_prog_rejected=no
4801 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4802 for as_dir in $PATH
4804 IFS=$as_save_IFS
4805 case $as_dir in #(((
4806 '') as_dir=./ ;;
4807 */) ;;
4808 *) as_dir=$as_dir/ ;;
4809 esac
4810 for ac_exec_ext in '' $ac_executable_extensions; do
4811 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4812 if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4813 ac_prog_rejected=yes
4814 continue
4816 ac_cv_prog_CC="cc"
4817 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4818 break 2
4820 done
4821 done
4822 IFS=$as_save_IFS
4824 if test $ac_prog_rejected = yes; then
4825 # We found a bogon in the path, so make sure we never use it.
4826 set dummy $ac_cv_prog_CC
4827 shift
4828 if test $# != 0; then
4829 # We chose a different compiler from the bogus one.
4830 # However, it has the same basename, so the bogon will be chosen
4831 # first if we set CC to just the basename; use the full file name.
4832 shift
4833 ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
4838 CC=$ac_cv_prog_CC
4839 if test -n "$CC"; then
4840 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4841 printf "%s\n" "$CC" >&6; }
4842 else
4843 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4844 printf "%s\n" "no" >&6; }
4849 if test -z "$CC"; then
4850 if test -n "$ac_tool_prefix"; then
4851 for ac_prog in cl.exe
4853 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4854 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4855 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4856 printf %s "checking for $ac_word... " >&6; }
4857 if test ${ac_cv_prog_CC+y}
4858 then :
4859 printf %s "(cached) " >&6
4860 else $as_nop
4861 if test -n "$CC"; then
4862 ac_cv_prog_CC="$CC" # Let the user override the test.
4863 else
4864 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4865 for as_dir in $PATH
4867 IFS=$as_save_IFS
4868 case $as_dir in #(((
4869 '') as_dir=./ ;;
4870 */) ;;
4871 *) as_dir=$as_dir/ ;;
4872 esac
4873 for ac_exec_ext in '' $ac_executable_extensions; do
4874 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4875 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4876 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4877 break 2
4879 done
4880 done
4881 IFS=$as_save_IFS
4885 CC=$ac_cv_prog_CC
4886 if test -n "$CC"; then
4887 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4888 printf "%s\n" "$CC" >&6; }
4889 else
4890 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4891 printf "%s\n" "no" >&6; }
4895 test -n "$CC" && break
4896 done
4898 if test -z "$CC"; then
4899 ac_ct_CC=$CC
4900 for ac_prog in cl.exe
4902 # Extract the first word of "$ac_prog", so it can be a program name with args.
4903 set dummy $ac_prog; ac_word=$2
4904 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4905 printf %s "checking for $ac_word... " >&6; }
4906 if test ${ac_cv_prog_ac_ct_CC+y}
4907 then :
4908 printf %s "(cached) " >&6
4909 else $as_nop
4910 if test -n "$ac_ct_CC"; then
4911 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4912 else
4913 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4914 for as_dir in $PATH
4916 IFS=$as_save_IFS
4917 case $as_dir in #(((
4918 '') as_dir=./ ;;
4919 */) ;;
4920 *) as_dir=$as_dir/ ;;
4921 esac
4922 for ac_exec_ext in '' $ac_executable_extensions; do
4923 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4924 ac_cv_prog_ac_ct_CC="$ac_prog"
4925 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4926 break 2
4928 done
4929 done
4930 IFS=$as_save_IFS
4934 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4935 if test -n "$ac_ct_CC"; then
4936 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4937 printf "%s\n" "$ac_ct_CC" >&6; }
4938 else
4939 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4940 printf "%s\n" "no" >&6; }
4944 test -n "$ac_ct_CC" && break
4945 done
4947 if test "x$ac_ct_CC" = x; then
4948 CC=""
4949 else
4950 case $cross_compiling:$ac_tool_warned in
4951 yes:)
4952 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4953 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4954 ac_tool_warned=yes ;;
4955 esac
4956 CC=$ac_ct_CC
4961 if test -z "$CC"; then
4962 if test -n "$ac_tool_prefix"; then
4963 # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
4964 set dummy ${ac_tool_prefix}clang; ac_word=$2
4965 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4966 printf %s "checking for $ac_word... " >&6; }
4967 if test ${ac_cv_prog_CC+y}
4968 then :
4969 printf %s "(cached) " >&6
4970 else $as_nop
4971 if test -n "$CC"; then
4972 ac_cv_prog_CC="$CC" # Let the user override the test.
4973 else
4974 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4975 for as_dir in $PATH
4977 IFS=$as_save_IFS
4978 case $as_dir in #(((
4979 '') as_dir=./ ;;
4980 */) ;;
4981 *) as_dir=$as_dir/ ;;
4982 esac
4983 for ac_exec_ext in '' $ac_executable_extensions; do
4984 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4985 ac_cv_prog_CC="${ac_tool_prefix}clang"
4986 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4987 break 2
4989 done
4990 done
4991 IFS=$as_save_IFS
4995 CC=$ac_cv_prog_CC
4996 if test -n "$CC"; then
4997 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4998 printf "%s\n" "$CC" >&6; }
4999 else
5000 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5001 printf "%s\n" "no" >&6; }
5006 if test -z "$ac_cv_prog_CC"; then
5007 ac_ct_CC=$CC
5008 # Extract the first word of "clang", so it can be a program name with args.
5009 set dummy clang; ac_word=$2
5010 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5011 printf %s "checking for $ac_word... " >&6; }
5012 if test ${ac_cv_prog_ac_ct_CC+y}
5013 then :
5014 printf %s "(cached) " >&6
5015 else $as_nop
5016 if test -n "$ac_ct_CC"; then
5017 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5018 else
5019 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5020 for as_dir in $PATH
5022 IFS=$as_save_IFS
5023 case $as_dir in #(((
5024 '') as_dir=./ ;;
5025 */) ;;
5026 *) as_dir=$as_dir/ ;;
5027 esac
5028 for ac_exec_ext in '' $ac_executable_extensions; do
5029 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5030 ac_cv_prog_ac_ct_CC="clang"
5031 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5032 break 2
5034 done
5035 done
5036 IFS=$as_save_IFS
5040 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5041 if test -n "$ac_ct_CC"; then
5042 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5043 printf "%s\n" "$ac_ct_CC" >&6; }
5044 else
5045 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5046 printf "%s\n" "no" >&6; }
5049 if test "x$ac_ct_CC" = x; then
5050 CC=""
5051 else
5052 case $cross_compiling:$ac_tool_warned in
5053 yes:)
5054 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5055 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5056 ac_tool_warned=yes ;;
5057 esac
5058 CC=$ac_ct_CC
5060 else
5061 CC="$ac_cv_prog_CC"
5067 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5068 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5069 as_fn_error $? "no acceptable C compiler found in \$PATH
5070 See \`config.log' for more details" "$LINENO" 5; }
5072 # Provide some information about the compiler.
5073 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5074 set X $ac_compile
5075 ac_compiler=$2
5076 for ac_option in --version -v -V -qversion -version; do
5077 { { ac_try="$ac_compiler $ac_option >&5"
5078 case "(($ac_try" in
5079 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5080 *) ac_try_echo=$ac_try;;
5081 esac
5082 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5083 printf "%s\n" "$ac_try_echo"; } >&5
5084 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5085 ac_status=$?
5086 if test -s conftest.err; then
5087 sed '10a\
5088 ... rest of stderr output deleted ...
5089 10q' conftest.err >conftest.er1
5090 cat conftest.er1 >&5
5092 rm -f conftest.er1 conftest.err
5093 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5094 test $ac_status = 0; }
5095 done
5097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5098 /* end confdefs.h. */
5101 main (void)
5105 return 0;
5107 _ACEOF
5108 ac_clean_files_save=$ac_clean_files
5109 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
5110 # Try to create an executable without -o first, disregard a.out.
5111 # It will help us diagnose broken compilers, and finding out an intuition
5112 # of exeext.
5113 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
5114 printf %s "checking whether the C compiler works... " >&6; }
5115 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
5117 # The possible output files:
5118 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
5120 ac_rmfiles=
5121 for ac_file in $ac_files
5123 case $ac_file in
5124 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5125 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
5126 esac
5127 done
5128 rm -f $ac_rmfiles
5130 if { { ac_try="$ac_link_default"
5131 case "(($ac_try" in
5132 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5133 *) ac_try_echo=$ac_try;;
5134 esac
5135 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5136 printf "%s\n" "$ac_try_echo"; } >&5
5137 (eval "$ac_link_default") 2>&5
5138 ac_status=$?
5139 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5140 test $ac_status = 0; }
5141 then :
5142 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
5143 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
5144 # in a Makefile. We should not override ac_cv_exeext if it was cached,
5145 # so that the user can short-circuit this test for compilers unknown to
5146 # Autoconf.
5147 for ac_file in $ac_files ''
5149 test -f "$ac_file" || continue
5150 case $ac_file in
5151 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
5153 [ab].out )
5154 # We found the default executable, but exeext='' is most
5155 # certainly right.
5156 break;;
5157 *.* )
5158 if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
5159 then :; else
5160 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
5162 # We set ac_cv_exeext here because the later test for it is not
5163 # safe: cross compilers may not add the suffix if given an `-o'
5164 # argument, so we may need to know it at that point already.
5165 # Even if this section looks crufty: it has the advantage of
5166 # actually working.
5167 break;;
5169 break;;
5170 esac
5171 done
5172 test "$ac_cv_exeext" = no && ac_cv_exeext=
5174 else $as_nop
5175 ac_file=''
5177 if test -z "$ac_file"
5178 then :
5179 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5180 printf "%s\n" "no" >&6; }
5181 printf "%s\n" "$as_me: failed program was:" >&5
5182 sed 's/^/| /' conftest.$ac_ext >&5
5184 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5185 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5186 as_fn_error 77 "C compiler cannot create executables
5187 See \`config.log' for more details" "$LINENO" 5; }
5188 else $as_nop
5189 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5190 printf "%s\n" "yes" >&6; }
5192 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
5193 printf %s "checking for C compiler default output file name... " >&6; }
5194 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
5195 printf "%s\n" "$ac_file" >&6; }
5196 ac_exeext=$ac_cv_exeext
5198 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
5199 ac_clean_files=$ac_clean_files_save
5200 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
5201 printf %s "checking for suffix of executables... " >&6; }
5202 if { { ac_try="$ac_link"
5203 case "(($ac_try" in
5204 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5205 *) ac_try_echo=$ac_try;;
5206 esac
5207 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5208 printf "%s\n" "$ac_try_echo"; } >&5
5209 (eval "$ac_link") 2>&5
5210 ac_status=$?
5211 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5212 test $ac_status = 0; }
5213 then :
5214 # If both `conftest.exe' and `conftest' are `present' (well, observable)
5215 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
5216 # work properly (i.e., refer to `conftest.exe'), while it won't with
5217 # `rm'.
5218 for ac_file in conftest.exe conftest conftest.*; do
5219 test -f "$ac_file" || continue
5220 case $ac_file in
5221 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5222 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
5223 break;;
5224 * ) break;;
5225 esac
5226 done
5227 else $as_nop
5228 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5229 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5230 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
5231 See \`config.log' for more details" "$LINENO" 5; }
5233 rm -f conftest conftest$ac_cv_exeext
5234 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
5235 printf "%s\n" "$ac_cv_exeext" >&6; }
5237 rm -f conftest.$ac_ext
5238 EXEEXT=$ac_cv_exeext
5239 ac_exeext=$EXEEXT
5240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5241 /* end confdefs.h. */
5242 #include <stdio.h>
5244 main (void)
5246 FILE *f = fopen ("conftest.out", "w");
5247 return ferror (f) || fclose (f) != 0;
5250 return 0;
5252 _ACEOF
5253 ac_clean_files="$ac_clean_files conftest.out"
5254 # Check that the compiler produces executables we can run. If not, either
5255 # the compiler is broken, or we cross compile.
5256 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
5257 printf %s "checking whether we are cross compiling... " >&6; }
5258 if test "$cross_compiling" != yes; then
5259 { { ac_try="$ac_link"
5260 case "(($ac_try" in
5261 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5262 *) ac_try_echo=$ac_try;;
5263 esac
5264 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5265 printf "%s\n" "$ac_try_echo"; } >&5
5266 (eval "$ac_link") 2>&5
5267 ac_status=$?
5268 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5269 test $ac_status = 0; }
5270 if { ac_try='./conftest$ac_cv_exeext'
5271 { { case "(($ac_try" in
5272 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5273 *) ac_try_echo=$ac_try;;
5274 esac
5275 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5276 printf "%s\n" "$ac_try_echo"; } >&5
5277 (eval "$ac_try") 2>&5
5278 ac_status=$?
5279 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5280 test $ac_status = 0; }; }; then
5281 cross_compiling=no
5282 else
5283 if test "$cross_compiling" = maybe; then
5284 cross_compiling=yes
5285 else
5286 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5287 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5288 as_fn_error 77 "cannot run C compiled programs.
5289 If you meant to cross compile, use \`--host'.
5290 See \`config.log' for more details" "$LINENO" 5; }
5294 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
5295 printf "%s\n" "$cross_compiling" >&6; }
5297 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
5298 ac_clean_files=$ac_clean_files_save
5299 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
5300 printf %s "checking for suffix of object files... " >&6; }
5301 if test ${ac_cv_objext+y}
5302 then :
5303 printf %s "(cached) " >&6
5304 else $as_nop
5305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5306 /* end confdefs.h. */
5309 main (void)
5313 return 0;
5315 _ACEOF
5316 rm -f conftest.o conftest.obj
5317 if { { ac_try="$ac_compile"
5318 case "(($ac_try" in
5319 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5320 *) ac_try_echo=$ac_try;;
5321 esac
5322 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5323 printf "%s\n" "$ac_try_echo"; } >&5
5324 (eval "$ac_compile") 2>&5
5325 ac_status=$?
5326 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5327 test $ac_status = 0; }
5328 then :
5329 for ac_file in conftest.o conftest.obj conftest.*; do
5330 test -f "$ac_file" || continue;
5331 case $ac_file in
5332 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
5333 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
5334 break;;
5335 esac
5336 done
5337 else $as_nop
5338 printf "%s\n" "$as_me: failed program was:" >&5
5339 sed 's/^/| /' conftest.$ac_ext >&5
5341 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5342 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5343 as_fn_error $? "cannot compute suffix of object files: cannot compile
5344 See \`config.log' for more details" "$LINENO" 5; }
5346 rm -f conftest.$ac_cv_objext conftest.$ac_ext
5348 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
5349 printf "%s\n" "$ac_cv_objext" >&6; }
5350 OBJEXT=$ac_cv_objext
5351 ac_objext=$OBJEXT
5352 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
5353 printf %s "checking whether the compiler supports GNU C... " >&6; }
5354 if test ${ac_cv_c_compiler_gnu+y}
5355 then :
5356 printf %s "(cached) " >&6
5357 else $as_nop
5358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5359 /* end confdefs.h. */
5362 main (void)
5364 #ifndef __GNUC__
5365 choke me
5366 #endif
5369 return 0;
5371 _ACEOF
5372 if ac_fn_c_try_compile "$LINENO"
5373 then :
5374 ac_compiler_gnu=yes
5375 else $as_nop
5376 ac_compiler_gnu=no
5378 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5379 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5382 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5383 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
5384 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5386 if test $ac_compiler_gnu = yes; then
5387 GCC=yes
5388 else
5389 GCC=
5391 ac_test_CFLAGS=${CFLAGS+y}
5392 ac_save_CFLAGS=$CFLAGS
5393 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5394 printf %s "checking whether $CC accepts -g... " >&6; }
5395 if test ${ac_cv_prog_cc_g+y}
5396 then :
5397 printf %s "(cached) " >&6
5398 else $as_nop
5399 ac_save_c_werror_flag=$ac_c_werror_flag
5400 ac_c_werror_flag=yes
5401 ac_cv_prog_cc_g=no
5402 CFLAGS="-g"
5403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5404 /* end confdefs.h. */
5407 main (void)
5411 return 0;
5413 _ACEOF
5414 if ac_fn_c_try_compile "$LINENO"
5415 then :
5416 ac_cv_prog_cc_g=yes
5417 else $as_nop
5418 CFLAGS=""
5419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5420 /* end confdefs.h. */
5423 main (void)
5427 return 0;
5429 _ACEOF
5430 if ac_fn_c_try_compile "$LINENO"
5431 then :
5433 else $as_nop
5434 ac_c_werror_flag=$ac_save_c_werror_flag
5435 CFLAGS="-g"
5436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5437 /* end confdefs.h. */
5440 main (void)
5444 return 0;
5446 _ACEOF
5447 if ac_fn_c_try_compile "$LINENO"
5448 then :
5449 ac_cv_prog_cc_g=yes
5451 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5453 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5455 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5456 ac_c_werror_flag=$ac_save_c_werror_flag
5458 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5459 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
5460 if test $ac_test_CFLAGS; then
5461 CFLAGS=$ac_save_CFLAGS
5462 elif test $ac_cv_prog_cc_g = yes; then
5463 if test "$GCC" = yes; then
5464 CFLAGS="-g -O2"
5465 else
5466 CFLAGS="-g"
5468 else
5469 if test "$GCC" = yes; then
5470 CFLAGS="-O2"
5471 else
5472 CFLAGS=
5475 ac_prog_cc_stdc=no
5476 if test x$ac_prog_cc_stdc = xno
5477 then :
5478 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
5479 printf %s "checking for $CC option to enable C11 features... " >&6; }
5480 if test ${ac_cv_prog_cc_c11+y}
5481 then :
5482 printf %s "(cached) " >&6
5483 else $as_nop
5484 ac_cv_prog_cc_c11=no
5485 ac_save_CC=$CC
5486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5487 /* end confdefs.h. */
5488 $ac_c_conftest_c11_program
5489 _ACEOF
5490 for ac_arg in '' -std=gnu11
5492 CC="$ac_save_CC $ac_arg"
5493 if ac_fn_c_try_compile "$LINENO"
5494 then :
5495 ac_cv_prog_cc_c11=$ac_arg
5497 rm -f core conftest.err conftest.$ac_objext conftest.beam
5498 test "x$ac_cv_prog_cc_c11" != "xno" && break
5499 done
5500 rm -f conftest.$ac_ext
5501 CC=$ac_save_CC
5504 if test "x$ac_cv_prog_cc_c11" = xno
5505 then :
5506 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5507 printf "%s\n" "unsupported" >&6; }
5508 else $as_nop
5509 if test "x$ac_cv_prog_cc_c11" = x
5510 then :
5511 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5512 printf "%s\n" "none needed" >&6; }
5513 else $as_nop
5514 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
5515 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
5516 CC="$CC $ac_cv_prog_cc_c11"
5518 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
5519 ac_prog_cc_stdc=c11
5522 if test x$ac_prog_cc_stdc = xno
5523 then :
5524 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
5525 printf %s "checking for $CC option to enable C99 features... " >&6; }
5526 if test ${ac_cv_prog_cc_c99+y}
5527 then :
5528 printf %s "(cached) " >&6
5529 else $as_nop
5530 ac_cv_prog_cc_c99=no
5531 ac_save_CC=$CC
5532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5533 /* end confdefs.h. */
5534 $ac_c_conftest_c99_program
5535 _ACEOF
5536 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
5538 CC="$ac_save_CC $ac_arg"
5539 if ac_fn_c_try_compile "$LINENO"
5540 then :
5541 ac_cv_prog_cc_c99=$ac_arg
5543 rm -f core conftest.err conftest.$ac_objext conftest.beam
5544 test "x$ac_cv_prog_cc_c99" != "xno" && break
5545 done
5546 rm -f conftest.$ac_ext
5547 CC=$ac_save_CC
5550 if test "x$ac_cv_prog_cc_c99" = xno
5551 then :
5552 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5553 printf "%s\n" "unsupported" >&6; }
5554 else $as_nop
5555 if test "x$ac_cv_prog_cc_c99" = x
5556 then :
5557 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5558 printf "%s\n" "none needed" >&6; }
5559 else $as_nop
5560 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
5561 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
5562 CC="$CC $ac_cv_prog_cc_c99"
5564 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
5565 ac_prog_cc_stdc=c99
5568 if test x$ac_prog_cc_stdc = xno
5569 then :
5570 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
5571 printf %s "checking for $CC option to enable C89 features... " >&6; }
5572 if test ${ac_cv_prog_cc_c89+y}
5573 then :
5574 printf %s "(cached) " >&6
5575 else $as_nop
5576 ac_cv_prog_cc_c89=no
5577 ac_save_CC=$CC
5578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5579 /* end confdefs.h. */
5580 $ac_c_conftest_c89_program
5581 _ACEOF
5582 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5584 CC="$ac_save_CC $ac_arg"
5585 if ac_fn_c_try_compile "$LINENO"
5586 then :
5587 ac_cv_prog_cc_c89=$ac_arg
5589 rm -f core conftest.err conftest.$ac_objext conftest.beam
5590 test "x$ac_cv_prog_cc_c89" != "xno" && break
5591 done
5592 rm -f conftest.$ac_ext
5593 CC=$ac_save_CC
5596 if test "x$ac_cv_prog_cc_c89" = xno
5597 then :
5598 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5599 printf "%s\n" "unsupported" >&6; }
5600 else $as_nop
5601 if test "x$ac_cv_prog_cc_c89" = x
5602 then :
5603 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5604 printf "%s\n" "none needed" >&6; }
5605 else $as_nop
5606 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5607 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
5608 CC="$CC $ac_cv_prog_cc_c89"
5610 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
5611 ac_prog_cc_stdc=c89
5615 ac_ext=c
5616 ac_cpp='$CPP $CPPFLAGS'
5617 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5618 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5619 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5627 ac_ext=cpp
5628 ac_cpp='$CXXCPP $CPPFLAGS'
5629 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5630 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5631 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5632 if test -z "$CXX"; then
5633 if test -n "$CCC"; then
5634 CXX=$CCC
5635 else
5636 if test -n "$ac_tool_prefix"; then
5637 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5639 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5640 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5641 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5642 printf %s "checking for $ac_word... " >&6; }
5643 if test ${ac_cv_prog_CXX+y}
5644 then :
5645 printf %s "(cached) " >&6
5646 else $as_nop
5647 if test -n "$CXX"; then
5648 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5649 else
5650 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5651 for as_dir in $PATH
5653 IFS=$as_save_IFS
5654 case $as_dir in #(((
5655 '') as_dir=./ ;;
5656 */) ;;
5657 *) as_dir=$as_dir/ ;;
5658 esac
5659 for ac_exec_ext in '' $ac_executable_extensions; do
5660 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5661 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5662 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5663 break 2
5665 done
5666 done
5667 IFS=$as_save_IFS
5671 CXX=$ac_cv_prog_CXX
5672 if test -n "$CXX"; then
5673 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5674 printf "%s\n" "$CXX" >&6; }
5675 else
5676 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5677 printf "%s\n" "no" >&6; }
5681 test -n "$CXX" && break
5682 done
5684 if test -z "$CXX"; then
5685 ac_ct_CXX=$CXX
5686 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5688 # Extract the first word of "$ac_prog", so it can be a program name with args.
5689 set dummy $ac_prog; ac_word=$2
5690 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5691 printf %s "checking for $ac_word... " >&6; }
5692 if test ${ac_cv_prog_ac_ct_CXX+y}
5693 then :
5694 printf %s "(cached) " >&6
5695 else $as_nop
5696 if test -n "$ac_ct_CXX"; then
5697 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5698 else
5699 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5700 for as_dir in $PATH
5702 IFS=$as_save_IFS
5703 case $as_dir in #(((
5704 '') as_dir=./ ;;
5705 */) ;;
5706 *) as_dir=$as_dir/ ;;
5707 esac
5708 for ac_exec_ext in '' $ac_executable_extensions; do
5709 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5710 ac_cv_prog_ac_ct_CXX="$ac_prog"
5711 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5712 break 2
5714 done
5715 done
5716 IFS=$as_save_IFS
5720 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5721 if test -n "$ac_ct_CXX"; then
5722 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5723 printf "%s\n" "$ac_ct_CXX" >&6; }
5724 else
5725 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5726 printf "%s\n" "no" >&6; }
5730 test -n "$ac_ct_CXX" && break
5731 done
5733 if test "x$ac_ct_CXX" = x; then
5734 CXX="g++"
5735 else
5736 case $cross_compiling:$ac_tool_warned in
5737 yes:)
5738 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5739 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5740 ac_tool_warned=yes ;;
5741 esac
5742 CXX=$ac_ct_CXX
5748 # Provide some information about the compiler.
5749 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5750 set X $ac_compile
5751 ac_compiler=$2
5752 for ac_option in --version -v -V -qversion; do
5753 { { ac_try="$ac_compiler $ac_option >&5"
5754 case "(($ac_try" in
5755 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5756 *) ac_try_echo=$ac_try;;
5757 esac
5758 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5759 printf "%s\n" "$ac_try_echo"; } >&5
5760 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5761 ac_status=$?
5762 if test -s conftest.err; then
5763 sed '10a\
5764 ... rest of stderr output deleted ...
5765 10q' conftest.err >conftest.er1
5766 cat conftest.er1 >&5
5768 rm -f conftest.er1 conftest.err
5769 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5770 test $ac_status = 0; }
5771 done
5773 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C++" >&5
5774 printf %s "checking whether the compiler supports GNU C++... " >&6; }
5775 if test ${ac_cv_cxx_compiler_gnu+y}
5776 then :
5777 printf %s "(cached) " >&6
5778 else $as_nop
5779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5780 /* end confdefs.h. */
5783 main (void)
5785 #ifndef __GNUC__
5786 choke me
5787 #endif
5790 return 0;
5792 _ACEOF
5793 if ac_fn_cxx_try_compile "$LINENO"
5794 then :
5795 ac_compiler_gnu=yes
5796 else $as_nop
5797 ac_compiler_gnu=no
5799 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5800 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5803 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5804 printf "%s\n" "$ac_cv_cxx_compiler_gnu" >&6; }
5805 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5807 if test $ac_compiler_gnu = yes; then
5808 GXX=yes
5809 else
5810 GXX=
5812 ac_test_CXXFLAGS=${CXXFLAGS+y}
5813 ac_save_CXXFLAGS=$CXXFLAGS
5814 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5815 printf %s "checking whether $CXX accepts -g... " >&6; }
5816 if test ${ac_cv_prog_cxx_g+y}
5817 then :
5818 printf %s "(cached) " >&6
5819 else $as_nop
5820 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5821 ac_cxx_werror_flag=yes
5822 ac_cv_prog_cxx_g=no
5823 CXXFLAGS="-g"
5824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5825 /* end confdefs.h. */
5828 main (void)
5832 return 0;
5834 _ACEOF
5835 if ac_fn_cxx_try_compile "$LINENO"
5836 then :
5837 ac_cv_prog_cxx_g=yes
5838 else $as_nop
5839 CXXFLAGS=""
5840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5841 /* end confdefs.h. */
5844 main (void)
5848 return 0;
5850 _ACEOF
5851 if ac_fn_cxx_try_compile "$LINENO"
5852 then :
5854 else $as_nop
5855 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5856 CXXFLAGS="-g"
5857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5858 /* end confdefs.h. */
5861 main (void)
5865 return 0;
5867 _ACEOF
5868 if ac_fn_cxx_try_compile "$LINENO"
5869 then :
5870 ac_cv_prog_cxx_g=yes
5872 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5874 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5876 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5877 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5879 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5880 printf "%s\n" "$ac_cv_prog_cxx_g" >&6; }
5881 if test $ac_test_CXXFLAGS; then
5882 CXXFLAGS=$ac_save_CXXFLAGS
5883 elif test $ac_cv_prog_cxx_g = yes; then
5884 if test "$GXX" = yes; then
5885 CXXFLAGS="-g -O2"
5886 else
5887 CXXFLAGS="-g"
5889 else
5890 if test "$GXX" = yes; then
5891 CXXFLAGS="-O2"
5892 else
5893 CXXFLAGS=
5896 ac_prog_cxx_stdcxx=no
5897 if test x$ac_prog_cxx_stdcxx = xno
5898 then :
5899 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++11 features" >&5
5900 printf %s "checking for $CXX option to enable C++11 features... " >&6; }
5901 if test ${ac_cv_prog_cxx_cxx11+y}
5902 then :
5903 printf %s "(cached) " >&6
5904 else $as_nop
5905 ac_cv_prog_cxx_cxx11=no
5906 ac_save_CXX=$CXX
5907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5908 /* end confdefs.h. */
5909 $ac_cxx_conftest_cxx11_program
5910 _ACEOF
5911 for ac_arg in '' -std=gnu++11 -std=gnu++0x -std=c++11 -std=c++0x -qlanglvl=extended0x -AA
5913 CXX="$ac_save_CXX $ac_arg"
5914 if ac_fn_cxx_try_compile "$LINENO"
5915 then :
5916 ac_cv_prog_cxx_cxx11=$ac_arg
5918 rm -f core conftest.err conftest.$ac_objext conftest.beam
5919 test "x$ac_cv_prog_cxx_cxx11" != "xno" && break
5920 done
5921 rm -f conftest.$ac_ext
5922 CXX=$ac_save_CXX
5925 if test "x$ac_cv_prog_cxx_cxx11" = xno
5926 then :
5927 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5928 printf "%s\n" "unsupported" >&6; }
5929 else $as_nop
5930 if test "x$ac_cv_prog_cxx_cxx11" = x
5931 then :
5932 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5933 printf "%s\n" "none needed" >&6; }
5934 else $as_nop
5935 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx11" >&5
5936 printf "%s\n" "$ac_cv_prog_cxx_cxx11" >&6; }
5937 CXX="$CXX $ac_cv_prog_cxx_cxx11"
5939 ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx11
5940 ac_prog_cxx_stdcxx=cxx11
5943 if test x$ac_prog_cxx_stdcxx = xno
5944 then :
5945 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++98 features" >&5
5946 printf %s "checking for $CXX option to enable C++98 features... " >&6; }
5947 if test ${ac_cv_prog_cxx_cxx98+y}
5948 then :
5949 printf %s "(cached) " >&6
5950 else $as_nop
5951 ac_cv_prog_cxx_cxx98=no
5952 ac_save_CXX=$CXX
5953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5954 /* end confdefs.h. */
5955 $ac_cxx_conftest_cxx98_program
5956 _ACEOF
5957 for ac_arg in '' -std=gnu++98 -std=c++98 -qlanglvl=extended -AA
5959 CXX="$ac_save_CXX $ac_arg"
5960 if ac_fn_cxx_try_compile "$LINENO"
5961 then :
5962 ac_cv_prog_cxx_cxx98=$ac_arg
5964 rm -f core conftest.err conftest.$ac_objext conftest.beam
5965 test "x$ac_cv_prog_cxx_cxx98" != "xno" && break
5966 done
5967 rm -f conftest.$ac_ext
5968 CXX=$ac_save_CXX
5971 if test "x$ac_cv_prog_cxx_cxx98" = xno
5972 then :
5973 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5974 printf "%s\n" "unsupported" >&6; }
5975 else $as_nop
5976 if test "x$ac_cv_prog_cxx_cxx98" = x
5977 then :
5978 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5979 printf "%s\n" "none needed" >&6; }
5980 else $as_nop
5981 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx98" >&5
5982 printf "%s\n" "$ac_cv_prog_cxx_cxx98" >&6; }
5983 CXX="$CXX $ac_cv_prog_cxx_cxx98"
5985 ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx98
5986 ac_prog_cxx_stdcxx=cxx98
5990 ac_ext=c
5991 ac_cpp='$CPP $CPPFLAGS'
5992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5996 if test -n "$ac_tool_prefix"; then
5997 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
5998 set dummy ${ac_tool_prefix}cpp; ac_word=$2
5999 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6000 printf %s "checking for $ac_word... " >&6; }
6001 if test ${ac_cv_prog_CPPBIN+y}
6002 then :
6003 printf %s "(cached) " >&6
6004 else $as_nop
6005 if test -n "$CPPBIN"; then
6006 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
6007 else
6008 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6009 for as_dir in $PATH
6011 IFS=$as_save_IFS
6012 case $as_dir in #(((
6013 '') as_dir=./ ;;
6014 */) ;;
6015 *) as_dir=$as_dir/ ;;
6016 esac
6017 for ac_exec_ext in '' $ac_executable_extensions; do
6018 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6019 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
6020 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6021 break 2
6023 done
6024 done
6025 IFS=$as_save_IFS
6029 CPPBIN=$ac_cv_prog_CPPBIN
6030 if test -n "$CPPBIN"; then
6031 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
6032 printf "%s\n" "$CPPBIN" >&6; }
6033 else
6034 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6035 printf "%s\n" "no" >&6; }
6040 if test -z "$ac_cv_prog_CPPBIN"; then
6041 ac_ct_CPPBIN=$CPPBIN
6042 # Extract the first word of "cpp", so it can be a program name with args.
6043 set dummy cpp; ac_word=$2
6044 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6045 printf %s "checking for $ac_word... " >&6; }
6046 if test ${ac_cv_prog_ac_ct_CPPBIN+y}
6047 then :
6048 printf %s "(cached) " >&6
6049 else $as_nop
6050 if test -n "$ac_ct_CPPBIN"; then
6051 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
6052 else
6053 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6054 for as_dir in $PATH
6056 IFS=$as_save_IFS
6057 case $as_dir in #(((
6058 '') as_dir=./ ;;
6059 */) ;;
6060 *) as_dir=$as_dir/ ;;
6061 esac
6062 for ac_exec_ext in '' $ac_executable_extensions; do
6063 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6064 ac_cv_prog_ac_ct_CPPBIN="cpp"
6065 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6066 break 2
6068 done
6069 done
6070 IFS=$as_save_IFS
6074 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
6075 if test -n "$ac_ct_CPPBIN"; then
6076 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
6077 printf "%s\n" "$ac_ct_CPPBIN" >&6; }
6078 else
6079 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6080 printf "%s\n" "no" >&6; }
6083 if test "x$ac_ct_CPPBIN" = x; then
6084 CPPBIN="cpp"
6085 else
6086 case $cross_compiling:$ac_tool_warned in
6087 yes:)
6088 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6089 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6090 ac_tool_warned=yes ;;
6091 esac
6092 CPPBIN=$ac_ct_CPPBIN
6094 else
6095 CPPBIN="$ac_cv_prog_CPPBIN"
6099 printf "%s\n" "#define EXEEXT \"$ac_exeext\"" >>confdefs.h
6101 if test -n "$ac_tool_prefix"; then
6102 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
6103 set dummy ${ac_tool_prefix}ld; ac_word=$2
6104 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6105 printf %s "checking for $ac_word... " >&6; }
6106 if test ${ac_cv_prog_LD+y}
6107 then :
6108 printf %s "(cached) " >&6
6109 else $as_nop
6110 if test -n "$LD"; then
6111 ac_cv_prog_LD="$LD" # Let the user override the test.
6112 else
6113 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6114 for as_dir in $PATH
6116 IFS=$as_save_IFS
6117 case $as_dir in #(((
6118 '') as_dir=./ ;;
6119 */) ;;
6120 *) as_dir=$as_dir/ ;;
6121 esac
6122 for ac_exec_ext in '' $ac_executable_extensions; do
6123 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6124 ac_cv_prog_LD="${ac_tool_prefix}ld"
6125 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6126 break 2
6128 done
6129 done
6130 IFS=$as_save_IFS
6134 LD=$ac_cv_prog_LD
6135 if test -n "$LD"; then
6136 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6137 printf "%s\n" "$LD" >&6; }
6138 else
6139 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6140 printf "%s\n" "no" >&6; }
6145 if test -z "$ac_cv_prog_LD"; then
6146 ac_ct_LD=$LD
6147 # Extract the first word of "ld", so it can be a program name with args.
6148 set dummy ld; ac_word=$2
6149 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6150 printf %s "checking for $ac_word... " >&6; }
6151 if test ${ac_cv_prog_ac_ct_LD+y}
6152 then :
6153 printf %s "(cached) " >&6
6154 else $as_nop
6155 if test -n "$ac_ct_LD"; then
6156 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
6157 else
6158 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6159 for as_dir in $PATH
6161 IFS=$as_save_IFS
6162 case $as_dir in #(((
6163 '') as_dir=./ ;;
6164 */) ;;
6165 *) as_dir=$as_dir/ ;;
6166 esac
6167 for ac_exec_ext in '' $ac_executable_extensions; do
6168 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6169 ac_cv_prog_ac_ct_LD="ld"
6170 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6171 break 2
6173 done
6174 done
6175 IFS=$as_save_IFS
6179 ac_ct_LD=$ac_cv_prog_ac_ct_LD
6180 if test -n "$ac_ct_LD"; then
6181 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
6182 printf "%s\n" "$ac_ct_LD" >&6; }
6183 else
6184 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6185 printf "%s\n" "no" >&6; }
6188 if test "x$ac_ct_LD" = x; then
6189 LD=""
6190 else
6191 case $cross_compiling:$ac_tool_warned in
6192 yes:)
6193 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6194 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6195 ac_tool_warned=yes ;;
6196 esac
6197 LD=$ac_ct_LD
6199 else
6200 LD="$ac_cv_prog_LD"
6204 case $host in
6205 *-darwin*)
6206 with_fontconfig=${with_fontconfig:-no}
6208 *-mingw32*|*-cygwin*)
6209 enable_win16=${enable_win16:-no}
6210 with_mingw=${with_mingw:-no}
6212 esac
6215 case $host in
6216 x86_64*|amd64*)
6217 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes" -a x"$enable_archs" = x
6218 then
6219 CC="$CC -m32"
6220 CXX="$CXX -m32"
6222 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
6223 printf %s "checking whether $CC works... " >&6; }
6224 if test ${wine_cv_cc_m32+y}
6225 then :
6226 printf %s "(cached) " >&6
6227 else $as_nop
6228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6229 /* end confdefs.h. */
6232 main (void)
6236 return 0;
6238 _ACEOF
6239 if ac_fn_c_try_link "$LINENO"
6240 then :
6241 wine_cv_cc_m32=yes
6242 else $as_nop
6243 wine_cv_cc_m32=no
6245 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6246 conftest$ac_exeext conftest.$ac_ext
6248 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_cc_m32" >&5
6249 printf "%s\n" "$wine_cv_cc_m32" >&6; }
6250 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
6251 host_cpu="i386"
6252 notice_platform="32-bit "
6253 TARGETFLAGS="$TARGETFLAGS -m32"
6254 PKG_CONFIG_LIBDIR=${PKG_CONFIG_LIBDIR:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib32/pkgconfig:/usr/lib/pkgconfig}
6255 export PKG_CONFIG_LIBDIR
6256 with_unwind=${with_unwind:-no}
6257 else
6258 if test "x${GCC}" = "xyes"
6259 then
6260 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
6261 printf %s "checking whether $CC supports __builtin_ms_va_list... " >&6; }
6262 if test ${wine_cv_builtin_ms_va_list+y}
6263 then :
6264 printf %s "(cached) " >&6
6265 else $as_nop
6266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6267 /* end confdefs.h. */
6268 #include <stdarg.h>
6270 main (void)
6272 void func(__builtin_ms_va_list *args);
6274 return 0;
6276 _ACEOF
6277 if ac_fn_c_try_compile "$LINENO"
6278 then :
6279 wine_cv_builtin_ms_va_list=yes
6280 else $as_nop
6281 wine_cv_builtin_ms_va_list=no
6283 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6285 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
6286 printf "%s\n" "$wine_cv_builtin_ms_va_list" >&6; }
6287 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
6289 CC="$CC -m64"
6290 CXX="$CXX -m64"
6291 host_cpu="x86_64"
6292 notice_platform="64-bit "
6293 TARGETFLAGS="$TARGETFLAGS -m64"
6296 arm*)
6297 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb-2" >&5
6298 printf %s "checking whether $CC supports Thumb-2... " >&6; }
6299 if test ${wine_cv_thumb2+y}
6300 then :
6301 printf %s "(cached) " >&6
6302 else $as_nop
6303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6304 /* end confdefs.h. */
6307 main (void)
6309 asm(".syntax unified\n\t.thumb\n\tldm r0,{r0-r8}");
6311 return 0;
6313 _ACEOF
6314 if ac_fn_c_try_link "$LINENO"
6315 then :
6316 wine_cv_thumb2=yes
6317 else $as_nop
6318 wine_cv_thumb2=no
6320 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6321 conftest$ac_exeext conftest.$ac_ext
6323 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_thumb2" >&5
6324 printf "%s\n" "$wine_cv_thumb2" >&6; }
6325 if test x"$wine_cv_thumb2" = xyes
6326 then
6327 CFLAGS="$CFLAGS -mthumb"
6328 TARGETFLAGS="$TARGETFLAGS -mthumb"
6329 else
6330 CFLAGS="$CFLAGS -marm"
6331 TARGETFLAGS="$TARGETFLAGS -marm"
6333 case $with_float_abi in
6334 soft|softfp|hard)
6335 float_abi=$with_float_abi ;;
6337 case $host_os in
6338 *eabihf)
6339 float_abi=hard ;;
6341 float_abi=softfp
6342 saved_CFLAGS=$CFLAGS
6343 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
6344 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
6345 printf %s "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
6346 if test ${wine_cv_float_abi+y}
6347 then :
6348 printf %s "(cached) " >&6
6349 else $as_nop
6350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6351 /* end confdefs.h. */
6354 main (void)
6356 asm("vmrs r2,fpscr");
6358 return 0;
6360 _ACEOF
6361 if ac_fn_c_try_link "$LINENO"
6362 then :
6363 wine_cv_float_abi=yes
6364 else $as_nop
6365 wine_cv_float_abi=no
6367 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6368 conftest$ac_exeext conftest.$ac_ext
6370 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_float_abi" >&5
6371 printf "%s\n" "$wine_cv_float_abi" >&6; }
6372 if test $wine_cv_float_abi = no
6373 then
6374 float_abi=soft
6375 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
6377 CFLAGS=$saved_CFLAGS
6378 esac
6380 esac
6381 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
6382 TARGETFLAGS="$TARGETFLAGS -mfloat-abi=$float_abi"
6384 i[3456789]86*)
6385 with_unwind=${with_unwind:-no}
6387 esac
6389 enable_win16=${enable_win16:-i386}
6390 enable_win64=${enable_win64:-no}
6391 enable_wow64=${enable_wow64:-aarch64,x86_64}
6392 enable_wow64win=${enable_wow64win:-aarch64,x86_64}
6393 enable_wow64cpu=${enable_wow64cpu:-x86_64}
6395 enable_winetest=${enable_winetest:-$enable_tests}
6397 if test "x$enable_win64" = "xyes"
6398 then
6399 test -z "$with_wine64" || as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
6400 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
6403 case $build_os in
6404 cygwin*|mingw32*) toolsext=".exe"
6406 *) toolsext=""
6408 esac
6410 HOST_ARCH=unknown
6411 case "$host_cpu" in
6412 aarch64*) HOST_ARCH=aarch64 ;;
6413 arm*) HOST_ARCH=arm ;;
6414 i[3456789]86*) HOST_ARCH=i386 ;;
6415 x86_64) HOST_ARCH=x86_64 ;;
6416 esac
6419 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
6420 printf %s "checking for the directory containing the Wine tools... " >&6; }
6421 if test ${wine_cv_toolsdir+y}
6422 then :
6423 printf %s "(cached) " >&6
6424 else $as_nop
6425 wine_cv_toolsdir="$with_wine_tools"
6426 if test -z "$with_wine_tools"; then
6427 if test "$cross_compiling" = "yes"; then
6428 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
6429 elif test -n "$with_wine64"; then
6430 wine_cv_toolsdir="$with_wine64"
6434 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
6435 printf "%s\n" "$wine_cv_toolsdir" >&6; }
6436 if test -z "$wine_cv_toolsdir"; then
6437 wine_makedep=tools/makedep$toolsext
6438 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
6439 wine_makedep=$wine_cv_toolsdir/tools/makedep$toolsext
6440 enable_tools=${enable_tools:-no}
6441 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
6442 else
6443 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
6445 toolsdir=$wine_cv_toolsdir
6447 MAKEDEP=$wine_makedep
6449 RUNTESTFLAGS="-q -P wine"
6451 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'"
6454 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
6455 then
6456 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
6459 for ac_prog in flex
6461 # Extract the first word of "$ac_prog", so it can be a program name with args.
6462 set dummy $ac_prog; ac_word=$2
6463 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6464 printf %s "checking for $ac_word... " >&6; }
6465 if test ${ac_cv_prog_FLEX+y}
6466 then :
6467 printf %s "(cached) " >&6
6468 else $as_nop
6469 if test -n "$FLEX"; then
6470 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
6471 else
6472 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6473 for as_dir in $PATH
6475 IFS=$as_save_IFS
6476 case $as_dir in #(((
6477 '') as_dir=./ ;;
6478 */) ;;
6479 *) as_dir=$as_dir/ ;;
6480 esac
6481 for ac_exec_ext in '' $ac_executable_extensions; do
6482 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6483 ac_cv_prog_FLEX="$ac_prog"
6484 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6485 break 2
6487 done
6488 done
6489 IFS=$as_save_IFS
6493 FLEX=$ac_cv_prog_FLEX
6494 if test -n "$FLEX"; then
6495 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
6496 printf "%s\n" "$FLEX" >&6; }
6497 else
6498 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6499 printf "%s\n" "no" >&6; }
6503 test -n "$FLEX" && break
6504 done
6505 test -n "$FLEX" || FLEX="none"
6507 if test "$FLEX" = "none"
6508 then
6509 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
6511 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
6512 printf %s "checking whether flex is recent enough... " >&6; }
6513 if test ${wine_cv_recent_flex+y}
6514 then :
6515 printf %s "(cached) " >&6
6516 else $as_nop
6517 cat >conftest.l <<EOF
6518 %top{
6519 #include "prediluvian.h"
6523 if $FLEX -t conftest.l >/dev/null 2>&5
6524 then
6525 wine_cv_recent_flex=yes
6526 else
6527 wine_cv_recent_flex=no
6530 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_flex" >&5
6531 printf "%s\n" "$wine_cv_recent_flex" >&6; }
6532 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
6534 for ac_prog in bison
6536 # Extract the first word of "$ac_prog", so it can be a program name with args.
6537 set dummy $ac_prog; ac_word=$2
6538 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6539 printf %s "checking for $ac_word... " >&6; }
6540 if test ${ac_cv_prog_BISON+y}
6541 then :
6542 printf %s "(cached) " >&6
6543 else $as_nop
6544 if test -n "$BISON"; then
6545 ac_cv_prog_BISON="$BISON" # Let the user override the test.
6546 else
6547 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6548 for as_dir in $PATH
6550 IFS=$as_save_IFS
6551 case $as_dir in #(((
6552 '') as_dir=./ ;;
6553 */) ;;
6554 *) as_dir=$as_dir/ ;;
6555 esac
6556 for ac_exec_ext in '' $ac_executable_extensions; do
6557 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6558 ac_cv_prog_BISON="$ac_prog"
6559 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6560 break 2
6562 done
6563 done
6564 IFS=$as_save_IFS
6568 BISON=$ac_cv_prog_BISON
6569 if test -n "$BISON"; then
6570 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
6571 printf "%s\n" "$BISON" >&6; }
6572 else
6573 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6574 printf "%s\n" "no" >&6; }
6578 test -n "$BISON" && break
6579 done
6580 test -n "$BISON" || BISON="none"
6582 if test "$BISON" = "none"
6583 then
6584 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
6586 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether bison is recent enough" >&5
6587 printf %s "checking whether bison is recent enough... " >&6; }
6588 if test ${wine_cv_recent_bison+y}
6589 then :
6590 printf %s "(cached) " >&6
6591 else $as_nop
6592 cat >conftest.y <<EOF
6593 %define parse.error verbose
6595 empty: ;
6597 if $BISON conftest.y >/dev/null 2>&5
6598 then
6599 wine_cv_recent_bison=yes
6600 else
6601 wine_cv_recent_bison=no
6604 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_bison" >&5
6605 printf "%s\n" "$wine_cv_recent_bison" >&6; }
6606 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
6608 if test -n "$ac_tool_prefix"; then
6609 for ac_prog in ar gar
6611 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6612 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6613 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6614 printf %s "checking for $ac_word... " >&6; }
6615 if test ${ac_cv_prog_AR+y}
6616 then :
6617 printf %s "(cached) " >&6
6618 else $as_nop
6619 if test -n "$AR"; then
6620 ac_cv_prog_AR="$AR" # Let the user override the test.
6621 else
6622 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6623 for as_dir in $PATH
6625 IFS=$as_save_IFS
6626 case $as_dir in #(((
6627 '') as_dir=./ ;;
6628 */) ;;
6629 *) as_dir=$as_dir/ ;;
6630 esac
6631 for ac_exec_ext in '' $ac_executable_extensions; do
6632 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6633 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6634 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6635 break 2
6637 done
6638 done
6639 IFS=$as_save_IFS
6643 AR=$ac_cv_prog_AR
6644 if test -n "$AR"; then
6645 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6646 printf "%s\n" "$AR" >&6; }
6647 else
6648 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6649 printf "%s\n" "no" >&6; }
6653 test -n "$AR" && break
6654 done
6656 if test -z "$AR"; then
6657 ac_ct_AR=$AR
6658 for ac_prog in ar gar
6660 # Extract the first word of "$ac_prog", so it can be a program name with args.
6661 set dummy $ac_prog; ac_word=$2
6662 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6663 printf %s "checking for $ac_word... " >&6; }
6664 if test ${ac_cv_prog_ac_ct_AR+y}
6665 then :
6666 printf %s "(cached) " >&6
6667 else $as_nop
6668 if test -n "$ac_ct_AR"; then
6669 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6670 else
6671 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6672 for as_dir in $PATH
6674 IFS=$as_save_IFS
6675 case $as_dir in #(((
6676 '') as_dir=./ ;;
6677 */) ;;
6678 *) as_dir=$as_dir/ ;;
6679 esac
6680 for ac_exec_ext in '' $ac_executable_extensions; do
6681 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6682 ac_cv_prog_ac_ct_AR="$ac_prog"
6683 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6684 break 2
6686 done
6687 done
6688 IFS=$as_save_IFS
6692 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6693 if test -n "$ac_ct_AR"; then
6694 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6695 printf "%s\n" "$ac_ct_AR" >&6; }
6696 else
6697 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6698 printf "%s\n" "no" >&6; }
6702 test -n "$ac_ct_AR" && break
6703 done
6705 if test "x$ac_ct_AR" = x; then
6706 AR="ar"
6707 else
6708 case $cross_compiling:$ac_tool_warned in
6709 yes:)
6710 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6711 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6712 ac_tool_warned=yes ;;
6713 esac
6714 AR=$ac_ct_AR
6718 if test -n "$ac_tool_prefix"; then
6719 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6720 set dummy ${ac_tool_prefix}strip; ac_word=$2
6721 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6722 printf %s "checking for $ac_word... " >&6; }
6723 if test ${ac_cv_prog_STRIP+y}
6724 then :
6725 printf %s "(cached) " >&6
6726 else $as_nop
6727 if test -n "$STRIP"; then
6728 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6729 else
6730 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6731 for as_dir in $PATH
6733 IFS=$as_save_IFS
6734 case $as_dir in #(((
6735 '') as_dir=./ ;;
6736 */) ;;
6737 *) as_dir=$as_dir/ ;;
6738 esac
6739 for ac_exec_ext in '' $ac_executable_extensions; do
6740 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6741 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6742 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6743 break 2
6745 done
6746 done
6747 IFS=$as_save_IFS
6751 STRIP=$ac_cv_prog_STRIP
6752 if test -n "$STRIP"; then
6753 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6754 printf "%s\n" "$STRIP" >&6; }
6755 else
6756 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6757 printf "%s\n" "no" >&6; }
6762 if test -z "$ac_cv_prog_STRIP"; then
6763 ac_ct_STRIP=$STRIP
6764 # Extract the first word of "strip", so it can be a program name with args.
6765 set dummy strip; ac_word=$2
6766 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6767 printf %s "checking for $ac_word... " >&6; }
6768 if test ${ac_cv_prog_ac_ct_STRIP+y}
6769 then :
6770 printf %s "(cached) " >&6
6771 else $as_nop
6772 if test -n "$ac_ct_STRIP"; then
6773 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6774 else
6775 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6776 for as_dir in $PATH
6778 IFS=$as_save_IFS
6779 case $as_dir in #(((
6780 '') as_dir=./ ;;
6781 */) ;;
6782 *) as_dir=$as_dir/ ;;
6783 esac
6784 for ac_exec_ext in '' $ac_executable_extensions; do
6785 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6786 ac_cv_prog_ac_ct_STRIP="strip"
6787 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6788 break 2
6790 done
6791 done
6792 IFS=$as_save_IFS
6796 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6797 if test -n "$ac_ct_STRIP"; then
6798 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6799 printf "%s\n" "$ac_ct_STRIP" >&6; }
6800 else
6801 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6802 printf "%s\n" "no" >&6; }
6805 if test "x$ac_ct_STRIP" = x; then
6806 STRIP="strip"
6807 else
6808 case $cross_compiling:$ac_tool_warned in
6809 yes:)
6810 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6811 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6812 ac_tool_warned=yes ;;
6813 esac
6814 STRIP=$ac_ct_STRIP
6816 else
6817 STRIP="$ac_cv_prog_STRIP"
6820 if test -n "$ac_tool_prefix"; then
6821 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6822 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6823 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6824 printf %s "checking for $ac_word... " >&6; }
6825 if test ${ac_cv_prog_RANLIB+y}
6826 then :
6827 printf %s "(cached) " >&6
6828 else $as_nop
6829 if test -n "$RANLIB"; then
6830 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6831 else
6832 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6833 for as_dir in $PATH
6835 IFS=$as_save_IFS
6836 case $as_dir in #(((
6837 '') as_dir=./ ;;
6838 */) ;;
6839 *) as_dir=$as_dir/ ;;
6840 esac
6841 for ac_exec_ext in '' $ac_executable_extensions; do
6842 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6843 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6844 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6845 break 2
6847 done
6848 done
6849 IFS=$as_save_IFS
6853 RANLIB=$ac_cv_prog_RANLIB
6854 if test -n "$RANLIB"; then
6855 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6856 printf "%s\n" "$RANLIB" >&6; }
6857 else
6858 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6859 printf "%s\n" "no" >&6; }
6864 if test -z "$ac_cv_prog_RANLIB"; then
6865 ac_ct_RANLIB=$RANLIB
6866 # Extract the first word of "ranlib", so it can be a program name with args.
6867 set dummy ranlib; ac_word=$2
6868 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6869 printf %s "checking for $ac_word... " >&6; }
6870 if test ${ac_cv_prog_ac_ct_RANLIB+y}
6871 then :
6872 printf %s "(cached) " >&6
6873 else $as_nop
6874 if test -n "$ac_ct_RANLIB"; then
6875 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6876 else
6877 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6878 for as_dir in $PATH
6880 IFS=$as_save_IFS
6881 case $as_dir in #(((
6882 '') as_dir=./ ;;
6883 */) ;;
6884 *) as_dir=$as_dir/ ;;
6885 esac
6886 for ac_exec_ext in '' $ac_executable_extensions; do
6887 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6888 ac_cv_prog_ac_ct_RANLIB="ranlib"
6889 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6890 break 2
6892 done
6893 done
6894 IFS=$as_save_IFS
6898 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6899 if test -n "$ac_ct_RANLIB"; then
6900 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6901 printf "%s\n" "$ac_ct_RANLIB" >&6; }
6902 else
6903 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6904 printf "%s\n" "no" >&6; }
6907 if test "x$ac_ct_RANLIB" = x; then
6908 RANLIB=":"
6909 else
6910 case $cross_compiling:$ac_tool_warned in
6911 yes:)
6912 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6913 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6914 ac_tool_warned=yes ;;
6915 esac
6916 RANLIB=$ac_ct_RANLIB
6918 else
6919 RANLIB="$ac_cv_prog_RANLIB"
6922 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6923 printf %s "checking whether ln -s works... " >&6; }
6924 LN_S=$as_ln_s
6925 if test "$LN_S" = "ln -s"; then
6926 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6927 printf "%s\n" "yes" >&6; }
6928 else
6929 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6930 printf "%s\n" "no, using $LN_S" >&6; }
6933 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6934 printf %s "checking for grep that handles long lines and -e... " >&6; }
6935 if test ${ac_cv_path_GREP+y}
6936 then :
6937 printf %s "(cached) " >&6
6938 else $as_nop
6939 if test -z "$GREP"; then
6940 ac_path_GREP_found=false
6941 # Loop through the user's path and test for each of PROGNAME-LIST
6942 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6943 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6945 IFS=$as_save_IFS
6946 case $as_dir in #(((
6947 '') as_dir=./ ;;
6948 */) ;;
6949 *) as_dir=$as_dir/ ;;
6950 esac
6951 for ac_prog in grep ggrep
6953 for ac_exec_ext in '' $ac_executable_extensions; do
6954 ac_path_GREP="$as_dir$ac_prog$ac_exec_ext"
6955 as_fn_executable_p "$ac_path_GREP" || continue
6956 # Check for GNU ac_path_GREP and select it if it is found.
6957 # Check for GNU $ac_path_GREP
6958 case `"$ac_path_GREP" --version 2>&1` in
6959 *GNU*)
6960 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6962 ac_count=0
6963 printf %s 0123456789 >"conftest.in"
6964 while :
6966 cat "conftest.in" "conftest.in" >"conftest.tmp"
6967 mv "conftest.tmp" "conftest.in"
6968 cp "conftest.in" "conftest.nl"
6969 printf "%s\n" 'GREP' >> "conftest.nl"
6970 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6971 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6972 as_fn_arith $ac_count + 1 && ac_count=$as_val
6973 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6974 # Best one so far, save it but keep looking for a better one
6975 ac_cv_path_GREP="$ac_path_GREP"
6976 ac_path_GREP_max=$ac_count
6978 # 10*(2^10) chars as input seems more than enough
6979 test $ac_count -gt 10 && break
6980 done
6981 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6982 esac
6984 $ac_path_GREP_found && break 3
6985 done
6986 done
6987 done
6988 IFS=$as_save_IFS
6989 if test -z "$ac_cv_path_GREP"; then
6990 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6992 else
6993 ac_cv_path_GREP=$GREP
6997 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6998 printf "%s\n" "$ac_cv_path_GREP" >&6; }
6999 GREP="$ac_cv_path_GREP"
7002 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
7003 printf %s "checking for egrep... " >&6; }
7004 if test ${ac_cv_path_EGREP+y}
7005 then :
7006 printf %s "(cached) " >&6
7007 else $as_nop
7008 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
7009 then ac_cv_path_EGREP="$GREP -E"
7010 else
7011 if test -z "$EGREP"; then
7012 ac_path_EGREP_found=false
7013 # Loop through the user's path and test for each of PROGNAME-LIST
7014 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7015 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
7017 IFS=$as_save_IFS
7018 case $as_dir in #(((
7019 '') as_dir=./ ;;
7020 */) ;;
7021 *) as_dir=$as_dir/ ;;
7022 esac
7023 for ac_prog in egrep
7025 for ac_exec_ext in '' $ac_executable_extensions; do
7026 ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext"
7027 as_fn_executable_p "$ac_path_EGREP" || continue
7028 # Check for GNU ac_path_EGREP and select it if it is found.
7029 # Check for GNU $ac_path_EGREP
7030 case `"$ac_path_EGREP" --version 2>&1` in
7031 *GNU*)
7032 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
7034 ac_count=0
7035 printf %s 0123456789 >"conftest.in"
7036 while :
7038 cat "conftest.in" "conftest.in" >"conftest.tmp"
7039 mv "conftest.tmp" "conftest.in"
7040 cp "conftest.in" "conftest.nl"
7041 printf "%s\n" 'EGREP' >> "conftest.nl"
7042 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
7043 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
7044 as_fn_arith $ac_count + 1 && ac_count=$as_val
7045 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
7046 # Best one so far, save it but keep looking for a better one
7047 ac_cv_path_EGREP="$ac_path_EGREP"
7048 ac_path_EGREP_max=$ac_count
7050 # 10*(2^10) chars as input seems more than enough
7051 test $ac_count -gt 10 && break
7052 done
7053 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7054 esac
7056 $ac_path_EGREP_found && break 3
7057 done
7058 done
7059 done
7060 IFS=$as_save_IFS
7061 if test -z "$ac_cv_path_EGREP"; then
7062 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7064 else
7065 ac_cv_path_EGREP=$EGREP
7070 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
7071 printf "%s\n" "$ac_cv_path_EGREP" >&6; }
7072 EGREP="$ac_cv_path_EGREP"
7075 # Extract the first word of "ldconfig", so it can be a program name with args.
7076 set dummy ldconfig; ac_word=$2
7077 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7078 printf %s "checking for $ac_word... " >&6; }
7079 if test ${ac_cv_path_LDCONFIG+y}
7080 then :
7081 printf %s "(cached) " >&6
7082 else $as_nop
7083 case $LDCONFIG in
7084 [\\/]* | ?:[\\/]*)
7085 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
7088 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7089 for as_dir in /sbin /usr/sbin $PATH
7091 IFS=$as_save_IFS
7092 case $as_dir in #(((
7093 '') as_dir=./ ;;
7094 */) ;;
7095 *) as_dir=$as_dir/ ;;
7096 esac
7097 for ac_exec_ext in '' $ac_executable_extensions; do
7098 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7099 ac_cv_path_LDCONFIG="$as_dir$ac_word$ac_exec_ext"
7100 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7101 break 2
7103 done
7104 done
7105 IFS=$as_save_IFS
7107 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
7109 esac
7111 LDCONFIG=$ac_cv_path_LDCONFIG
7112 if test -n "$LDCONFIG"; then
7113 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
7114 printf "%s\n" "$LDCONFIG" >&6; }
7115 else
7116 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7117 printf "%s\n" "no" >&6; }
7121 for ac_prog in msgfmt
7123 # Extract the first word of "$ac_prog", so it can be a program name with args.
7124 set dummy $ac_prog; ac_word=$2
7125 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7126 printf %s "checking for $ac_word... " >&6; }
7127 if test ${ac_cv_prog_MSGFMT+y}
7128 then :
7129 printf %s "(cached) " >&6
7130 else $as_nop
7131 if test -n "$MSGFMT"; then
7132 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
7133 else
7134 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7135 for as_dir in $PATH
7137 IFS=$as_save_IFS
7138 case $as_dir in #(((
7139 '') as_dir=./ ;;
7140 */) ;;
7141 *) as_dir=$as_dir/ ;;
7142 esac
7143 for ac_exec_ext in '' $ac_executable_extensions; do
7144 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7145 ac_cv_prog_MSGFMT="$ac_prog"
7146 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7147 break 2
7149 done
7150 done
7151 IFS=$as_save_IFS
7155 MSGFMT=$ac_cv_prog_MSGFMT
7156 if test -n "$MSGFMT"; then
7157 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
7158 printf "%s\n" "$MSGFMT" >&6; }
7159 else
7160 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7161 printf "%s\n" "no" >&6; }
7165 test -n "$MSGFMT" && break
7166 done
7167 test -n "$MSGFMT" || MSGFMT="false"
7169 if test ${ac_tool_prefix+y}
7170 then :
7171 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
7172 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
7173 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7174 printf %s "checking for $ac_word... " >&6; }
7175 if test ${ac_cv_prog_PKG_CONFIG+y}
7176 then :
7177 printf %s "(cached) " >&6
7178 else $as_nop
7179 if test -n "$PKG_CONFIG"; then
7180 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
7181 else
7182 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7183 for as_dir in $PATH
7185 IFS=$as_save_IFS
7186 case $as_dir in #(((
7187 '') as_dir=./ ;;
7188 */) ;;
7189 *) as_dir=$as_dir/ ;;
7190 esac
7191 for ac_exec_ext in '' $ac_executable_extensions; do
7192 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7193 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
7194 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7195 break 2
7197 done
7198 done
7199 IFS=$as_save_IFS
7203 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7204 if test -n "$PKG_CONFIG"; then
7205 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7206 printf "%s\n" "$PKG_CONFIG" >&6; }
7207 else
7208 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7209 printf "%s\n" "no" >&6; }
7214 if ${ac_cv_prog_PKG_CONFIG:+false} :
7215 then :
7216 if test "x$cross_compiling" = xyes
7217 then :
7219 else $as_nop
7220 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
7221 # Extract the first word of "pkg-config", so it can be a program name with args.
7222 set dummy pkg-config; ac_word=$2
7223 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7224 printf %s "checking for $ac_word... " >&6; }
7225 if test ${ac_cv_prog_PKG_CONFIG+y}
7226 then :
7227 printf %s "(cached) " >&6
7228 else $as_nop
7229 if test -n "$PKG_CONFIG"; then
7230 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
7231 else
7232 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7233 for as_dir in $PATH
7235 IFS=$as_save_IFS
7236 case $as_dir in #(((
7237 '') as_dir=./ ;;
7238 */) ;;
7239 *) as_dir=$as_dir/ ;;
7240 esac
7241 for ac_exec_ext in '' $ac_executable_extensions; do
7242 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7243 ac_cv_prog_PKG_CONFIG="pkg-config"
7244 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7245 break 2
7247 done
7248 done
7249 IFS=$as_save_IFS
7253 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7254 if test -n "$PKG_CONFIG"; then
7255 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7256 printf "%s\n" "$PKG_CONFIG" >&6; }
7257 else
7258 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7259 printf "%s\n" "no" >&6; }
7264 else $as_nop
7265 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7268 if test "x$enable_maintainer_mode" != "xyes"
7269 then
7270 FONTFORGE=""
7271 RSVG=""
7272 CONVERT=""
7273 ICOTOOL=""
7274 else
7275 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
7276 for ac_prog in fontforge
7278 # Extract the first word of "$ac_prog", so it can be a program name with args.
7279 set dummy $ac_prog; ac_word=$2
7280 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7281 printf %s "checking for $ac_word... " >&6; }
7282 if test ${ac_cv_prog_FONTFORGE+y}
7283 then :
7284 printf %s "(cached) " >&6
7285 else $as_nop
7286 if test -n "$FONTFORGE"; then
7287 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
7288 else
7289 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7290 for as_dir in $PATH
7292 IFS=$as_save_IFS
7293 case $as_dir in #(((
7294 '') as_dir=./ ;;
7295 */) ;;
7296 *) as_dir=$as_dir/ ;;
7297 esac
7298 for ac_exec_ext in '' $ac_executable_extensions; do
7299 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7300 ac_cv_prog_FONTFORGE="$ac_prog"
7301 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7302 break 2
7304 done
7305 done
7306 IFS=$as_save_IFS
7310 FONTFORGE=$ac_cv_prog_FONTFORGE
7311 if test -n "$FONTFORGE"; then
7312 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
7313 printf "%s\n" "$FONTFORGE" >&6; }
7314 else
7315 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7316 printf "%s\n" "no" >&6; }
7320 test -n "$FONTFORGE" && break
7321 done
7322 test -n "$FONTFORGE" || FONTFORGE="false"
7324 for ac_prog in rsvg-convert rsvg
7326 # Extract the first word of "$ac_prog", so it can be a program name with args.
7327 set dummy $ac_prog; ac_word=$2
7328 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7329 printf %s "checking for $ac_word... " >&6; }
7330 if test ${ac_cv_prog_RSVG+y}
7331 then :
7332 printf %s "(cached) " >&6
7333 else $as_nop
7334 if test -n "$RSVG"; then
7335 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
7336 else
7337 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7338 for as_dir in $PATH
7340 IFS=$as_save_IFS
7341 case $as_dir in #(((
7342 '') as_dir=./ ;;
7343 */) ;;
7344 *) as_dir=$as_dir/ ;;
7345 esac
7346 for ac_exec_ext in '' $ac_executable_extensions; do
7347 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7348 ac_cv_prog_RSVG="$ac_prog"
7349 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7350 break 2
7352 done
7353 done
7354 IFS=$as_save_IFS
7358 RSVG=$ac_cv_prog_RSVG
7359 if test -n "$RSVG"; then
7360 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
7361 printf "%s\n" "$RSVG" >&6; }
7362 else
7363 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7364 printf "%s\n" "no" >&6; }
7368 test -n "$RSVG" && break
7369 done
7370 test -n "$RSVG" || RSVG="false"
7372 for ac_prog in convert
7374 # Extract the first word of "$ac_prog", so it can be a program name with args.
7375 set dummy $ac_prog; ac_word=$2
7376 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7377 printf %s "checking for $ac_word... " >&6; }
7378 if test ${ac_cv_prog_CONVERT+y}
7379 then :
7380 printf %s "(cached) " >&6
7381 else $as_nop
7382 if test -n "$CONVERT"; then
7383 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
7384 else
7385 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7386 for as_dir in $PATH
7388 IFS=$as_save_IFS
7389 case $as_dir in #(((
7390 '') as_dir=./ ;;
7391 */) ;;
7392 *) as_dir=$as_dir/ ;;
7393 esac
7394 for ac_exec_ext in '' $ac_executable_extensions; do
7395 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7396 ac_cv_prog_CONVERT="$ac_prog"
7397 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7398 break 2
7400 done
7401 done
7402 IFS=$as_save_IFS
7406 CONVERT=$ac_cv_prog_CONVERT
7407 if test -n "$CONVERT"; then
7408 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
7409 printf "%s\n" "$CONVERT" >&6; }
7410 else
7411 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7412 printf "%s\n" "no" >&6; }
7416 test -n "$CONVERT" && break
7417 done
7418 test -n "$CONVERT" || CONVERT="false"
7420 for ac_prog in icotool
7422 # Extract the first word of "$ac_prog", so it can be a program name with args.
7423 set dummy $ac_prog; ac_word=$2
7424 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7425 printf %s "checking for $ac_word... " >&6; }
7426 if test ${ac_cv_prog_ICOTOOL+y}
7427 then :
7428 printf %s "(cached) " >&6
7429 else $as_nop
7430 if test -n "$ICOTOOL"; then
7431 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
7432 else
7433 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7434 for as_dir in $PATH
7436 IFS=$as_save_IFS
7437 case $as_dir in #(((
7438 '') as_dir=./ ;;
7439 */) ;;
7440 *) as_dir=$as_dir/ ;;
7441 esac
7442 for ac_exec_ext in '' $ac_executable_extensions; do
7443 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7444 ac_cv_prog_ICOTOOL="$ac_prog"
7445 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7446 break 2
7448 done
7449 done
7450 IFS=$as_save_IFS
7454 ICOTOOL=$ac_cv_prog_ICOTOOL
7455 if test -n "$ICOTOOL"; then
7456 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
7457 printf "%s\n" "$ICOTOOL" >&6; }
7458 else
7459 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7460 printf "%s\n" "no" >&6; }
7464 test -n "$ICOTOOL" && break
7465 done
7466 test -n "$ICOTOOL" || ICOTOOL="false"
7468 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
7469 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
7471 if test "$CONVERT" = false
7472 then
7473 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
7474 else
7475 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
7476 printf %s "checking for recent enough imagemagick... " >&6; }
7477 convert_version=`convert --version | head -n1`
7478 if test "x$convert_version" != "x"
7479 then
7480 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
7481 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
7482 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
7483 then
7484 CONVERT=false
7487 if test "$CONVERT" = false
7488 then
7489 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
7490 printf "%s\n" "no ($convert_version_major.$convert_version_minor)" >&6; }
7491 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7492 else
7493 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
7494 printf "%s\n" "yes ($convert_version_major.$convert_version_minor)" >&6; }
7498 if test "$ICOTOOL" = false
7499 then
7500 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
7501 else
7502 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
7503 printf %s "checking for recent enough icotool... " >&6; }
7504 icotool_version=`icotool --version | head -n1`
7505 if test "x$icotool_version" != "x"
7506 then
7507 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
7508 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
7509 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
7510 then
7511 ICOTOOL=false
7512 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
7515 if test "$ICOTOOL" = false
7516 then
7517 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
7518 printf "%s\n" "no ($icotool_version_major.$icotool_version_minor)" >&6; }
7519 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7520 else
7521 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
7522 printf "%s\n" "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
7526 with_gettext=yes
7527 with_gettextpo=yes
7529 enable_werror=yes
7532 test "x$with_gettext" != xno || MSGFMT=false
7533 if test "$MSGFMT" != "false"
7534 then
7535 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
7536 printf %s "checking whether msgfmt supports contexts... " >&6; }
7537 if test ${wine_cv_msgfmt_contexts+y}
7538 then :
7539 printf %s "(cached) " >&6
7540 else $as_nop
7541 cat >conftest.po <<EOF
7542 # comment
7543 msgctxt "ctxt"
7544 msgid "id"
7545 msgstr "str"
7547 if $MSGFMT -o /dev/null conftest.po 2>&5
7548 then
7549 wine_cv_msgfmt_contexts=yes
7550 else
7551 wine_cv_msgfmt_contexts=no
7554 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_msgfmt_contexts" >&5
7555 printf "%s\n" "$wine_cv_msgfmt_contexts" >&6; }
7556 test $wine_cv_msgfmt_contexts != no || MSGFMT=false
7558 if test "$MSGFMT" = false
7559 then :
7560 case "x$with_gettext" in
7561 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
7562 xno) ;;
7563 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
7564 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
7565 esac
7566 enable_po=${enable_po:-no}
7570 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
7571 printf %s "checking for i386_set_ldt in -li386... " >&6; }
7572 if test ${ac_cv_lib_i386_i386_set_ldt+y}
7573 then :
7574 printf %s "(cached) " >&6
7575 else $as_nop
7576 ac_check_lib_save_LIBS=$LIBS
7577 LIBS="-li386 $LIBS"
7578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7579 /* end confdefs.h. */
7581 /* Override any GCC internal prototype to avoid an error.
7582 Use char because int might match the return type of a GCC
7583 builtin and then its argument prototype would still apply. */
7584 char i386_set_ldt ();
7586 main (void)
7588 return i386_set_ldt ();
7590 return 0;
7592 _ACEOF
7593 if ac_fn_c_try_link "$LINENO"
7594 then :
7595 ac_cv_lib_i386_i386_set_ldt=yes
7596 else $as_nop
7597 ac_cv_lib_i386_i386_set_ldt=no
7599 rm -f core conftest.err conftest.$ac_objext conftest.beam \
7600 conftest$ac_exeext conftest.$ac_ext
7601 LIBS=$ac_check_lib_save_LIBS
7603 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
7604 printf "%s\n" "$ac_cv_lib_i386_i386_set_ldt" >&6; }
7605 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes
7606 then :
7607 I386_LIBS="-li386"
7612 OPENGL_LIBS=""
7616 # Check whether --enable-largefile was given.
7617 if test ${enable_largefile+y}
7618 then :
7619 enableval=$enable_largefile;
7622 if test "$enable_largefile" != no; then
7624 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
7625 printf %s "checking for special C compiler options needed for large files... " >&6; }
7626 if test ${ac_cv_sys_largefile_CC+y}
7627 then :
7628 printf %s "(cached) " >&6
7629 else $as_nop
7630 ac_cv_sys_largefile_CC=no
7631 if test "$GCC" != yes; then
7632 ac_save_CC=$CC
7633 while :; do
7634 # IRIX 6.2 and later do not support large files by default,
7635 # so use the C compiler's -n32 option if that helps.
7636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7637 /* end confdefs.h. */
7638 #include <sys/types.h>
7639 /* Check that off_t can represent 2**63 - 1 correctly.
7640 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7641 since some C++ compilers masquerading as C compilers
7642 incorrectly reject 9223372036854775807. */
7643 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7644 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7645 && LARGE_OFF_T % 2147483647 == 1)
7646 ? 1 : -1];
7648 main (void)
7652 return 0;
7654 _ACEOF
7655 if ac_fn_c_try_compile "$LINENO"
7656 then :
7657 break
7659 rm -f core conftest.err conftest.$ac_objext conftest.beam
7660 CC="$CC -n32"
7661 if ac_fn_c_try_compile "$LINENO"
7662 then :
7663 ac_cv_sys_largefile_CC=' -n32'; break
7665 rm -f core conftest.err conftest.$ac_objext conftest.beam
7666 break
7667 done
7668 CC=$ac_save_CC
7669 rm -f conftest.$ac_ext
7672 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
7673 printf "%s\n" "$ac_cv_sys_largefile_CC" >&6; }
7674 if test "$ac_cv_sys_largefile_CC" != no; then
7675 CC=$CC$ac_cv_sys_largefile_CC
7678 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
7679 printf %s "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
7680 if test ${ac_cv_sys_file_offset_bits+y}
7681 then :
7682 printf %s "(cached) " >&6
7683 else $as_nop
7684 while :; do
7685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7686 /* end confdefs.h. */
7687 #include <sys/types.h>
7688 /* Check that off_t can represent 2**63 - 1 correctly.
7689 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7690 since some C++ compilers masquerading as C compilers
7691 incorrectly reject 9223372036854775807. */
7692 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7693 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7694 && LARGE_OFF_T % 2147483647 == 1)
7695 ? 1 : -1];
7697 main (void)
7701 return 0;
7703 _ACEOF
7704 if ac_fn_c_try_compile "$LINENO"
7705 then :
7706 ac_cv_sys_file_offset_bits=no; break
7708 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7710 /* end confdefs.h. */
7711 #define _FILE_OFFSET_BITS 64
7712 #include <sys/types.h>
7713 /* Check that off_t can represent 2**63 - 1 correctly.
7714 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7715 since some C++ compilers masquerading as C compilers
7716 incorrectly reject 9223372036854775807. */
7717 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7718 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7719 && LARGE_OFF_T % 2147483647 == 1)
7720 ? 1 : -1];
7722 main (void)
7726 return 0;
7728 _ACEOF
7729 if ac_fn_c_try_compile "$LINENO"
7730 then :
7731 ac_cv_sys_file_offset_bits=64; break
7733 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7734 ac_cv_sys_file_offset_bits=unknown
7735 break
7736 done
7738 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
7739 printf "%s\n" "$ac_cv_sys_file_offset_bits" >&6; }
7740 case $ac_cv_sys_file_offset_bits in #(
7741 no | unknown) ;;
7743 printf "%s\n" "#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits" >>confdefs.h
7745 esac
7746 rm -rf conftest*
7747 if test $ac_cv_sys_file_offset_bits = unknown; then
7748 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
7749 printf %s "checking for _LARGE_FILES value needed for large files... " >&6; }
7750 if test ${ac_cv_sys_large_files+y}
7751 then :
7752 printf %s "(cached) " >&6
7753 else $as_nop
7754 while :; do
7755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7756 /* end confdefs.h. */
7757 #include <sys/types.h>
7758 /* Check that off_t can represent 2**63 - 1 correctly.
7759 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7760 since some C++ compilers masquerading as C compilers
7761 incorrectly reject 9223372036854775807. */
7762 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7763 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7764 && LARGE_OFF_T % 2147483647 == 1)
7765 ? 1 : -1];
7767 main (void)
7771 return 0;
7773 _ACEOF
7774 if ac_fn_c_try_compile "$LINENO"
7775 then :
7776 ac_cv_sys_large_files=no; break
7778 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7780 /* end confdefs.h. */
7781 #define _LARGE_FILES 1
7782 #include <sys/types.h>
7783 /* Check that off_t can represent 2**63 - 1 correctly.
7784 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7785 since some C++ compilers masquerading as C compilers
7786 incorrectly reject 9223372036854775807. */
7787 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7788 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7789 && LARGE_OFF_T % 2147483647 == 1)
7790 ? 1 : -1];
7792 main (void)
7796 return 0;
7798 _ACEOF
7799 if ac_fn_c_try_compile "$LINENO"
7800 then :
7801 ac_cv_sys_large_files=1; break
7803 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7804 ac_cv_sys_large_files=unknown
7805 break
7806 done
7808 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
7809 printf "%s\n" "$ac_cv_sys_large_files" >&6; }
7810 case $ac_cv_sys_large_files in #(
7811 no | unknown) ;;
7813 printf "%s\n" "#define _LARGE_FILES $ac_cv_sys_large_files" >>confdefs.h
7815 esac
7816 rm -rf conftest*
7821 ac_header= ac_cache=
7822 for ac_item in $ac_header_c_list
7824 if test $ac_cache; then
7825 ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
7826 if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
7827 printf "%s\n" "#define $ac_item 1" >> confdefs.h
7829 ac_header= ac_cache=
7830 elif test $ac_header; then
7831 ac_cache=$ac_item
7832 else
7833 ac_header=$ac_item
7835 done
7844 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
7845 then :
7847 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
7850 ac_fn_c_check_header_compile "$LINENO" "CL/cl.h" "ac_cv_header_CL_cl_h" "$ac_includes_default"
7851 if test "x$ac_cv_header_CL_cl_h" = xyes
7852 then :
7853 printf "%s\n" "#define HAVE_CL_CL_H 1" >>confdefs.h
7856 ac_fn_c_check_header_compile "$LINENO" "EGL/egl.h" "ac_cv_header_EGL_egl_h" "$ac_includes_default"
7857 if test "x$ac_cv_header_EGL_egl_h" = xyes
7858 then :
7859 printf "%s\n" "#define HAVE_EGL_EGL_H 1" >>confdefs.h
7862 ac_fn_c_check_header_compile "$LINENO" "OpenCL/opencl.h" "ac_cv_header_OpenCL_opencl_h" "$ac_includes_default"
7863 if test "x$ac_cv_header_OpenCL_opencl_h" = xyes
7864 then :
7865 printf "%s\n" "#define HAVE_OPENCL_OPENCL_H 1" >>confdefs.h
7868 ac_fn_c_check_header_compile "$LINENO" "arpa/inet.h" "ac_cv_header_arpa_inet_h" "$ac_includes_default"
7869 if test "x$ac_cv_header_arpa_inet_h" = xyes
7870 then :
7871 printf "%s\n" "#define HAVE_ARPA_INET_H 1" >>confdefs.h
7874 ac_fn_c_check_header_compile "$LINENO" "arpa/nameser.h" "ac_cv_header_arpa_nameser_h" "$ac_includes_default"
7875 if test "x$ac_cv_header_arpa_nameser_h" = xyes
7876 then :
7877 printf "%s\n" "#define HAVE_ARPA_NAMESER_H 1" >>confdefs.h
7880 ac_fn_c_check_header_compile "$LINENO" "asm/types.h" "ac_cv_header_asm_types_h" "$ac_includes_default"
7881 if test "x$ac_cv_header_asm_types_h" = xyes
7882 then :
7883 printf "%s\n" "#define HAVE_ASM_TYPES_H 1" >>confdefs.h
7886 ac_fn_c_check_header_compile "$LINENO" "asm/user.h" "ac_cv_header_asm_user_h" "$ac_includes_default"
7887 if test "x$ac_cv_header_asm_user_h" = xyes
7888 then :
7889 printf "%s\n" "#define HAVE_ASM_USER_H 1" >>confdefs.h
7892 ac_fn_c_check_header_compile "$LINENO" "elf.h" "ac_cv_header_elf_h" "$ac_includes_default"
7893 if test "x$ac_cv_header_elf_h" = xyes
7894 then :
7895 printf "%s\n" "#define HAVE_ELF_H 1" >>confdefs.h
7898 ac_fn_c_check_header_compile "$LINENO" "float.h" "ac_cv_header_float_h" "$ac_includes_default"
7899 if test "x$ac_cv_header_float_h" = xyes
7900 then :
7901 printf "%s\n" "#define HAVE_FLOAT_H 1" >>confdefs.h
7904 ac_fn_c_check_header_compile "$LINENO" "gettext-po.h" "ac_cv_header_gettext_po_h" "$ac_includes_default"
7905 if test "x$ac_cv_header_gettext_po_h" = xyes
7906 then :
7907 printf "%s\n" "#define HAVE_GETTEXT_PO_H 1" >>confdefs.h
7910 ac_fn_c_check_header_compile "$LINENO" "libproc.h" "ac_cv_header_libproc_h" "$ac_includes_default"
7911 if test "x$ac_cv_header_libproc_h" = xyes
7912 then :
7913 printf "%s\n" "#define HAVE_LIBPROC_H 1" >>confdefs.h
7916 ac_fn_c_check_header_compile "$LINENO" "link.h" "ac_cv_header_link_h" "$ac_includes_default"
7917 if test "x$ac_cv_header_link_h" = xyes
7918 then :
7919 printf "%s\n" "#define HAVE_LINK_H 1" >>confdefs.h
7922 ac_fn_c_check_header_compile "$LINENO" "linux/cdrom.h" "ac_cv_header_linux_cdrom_h" "$ac_includes_default"
7923 if test "x$ac_cv_header_linux_cdrom_h" = xyes
7924 then :
7925 printf "%s\n" "#define HAVE_LINUX_CDROM_H 1" >>confdefs.h
7928 ac_fn_c_check_header_compile "$LINENO" "linux/filter.h" "ac_cv_header_linux_filter_h" "$ac_includes_default"
7929 if test "x$ac_cv_header_linux_filter_h" = xyes
7930 then :
7931 printf "%s\n" "#define HAVE_LINUX_FILTER_H 1" >>confdefs.h
7934 ac_fn_c_check_header_compile "$LINENO" "linux/hdreg.h" "ac_cv_header_linux_hdreg_h" "$ac_includes_default"
7935 if test "x$ac_cv_header_linux_hdreg_h" = xyes
7936 then :
7937 printf "%s\n" "#define HAVE_LINUX_HDREG_H 1" >>confdefs.h
7940 ac_fn_c_check_header_compile "$LINENO" "linux/hidraw.h" "ac_cv_header_linux_hidraw_h" "$ac_includes_default"
7941 if test "x$ac_cv_header_linux_hidraw_h" = xyes
7942 then :
7943 printf "%s\n" "#define HAVE_LINUX_HIDRAW_H 1" >>confdefs.h
7946 ac_fn_c_check_header_compile "$LINENO" "linux/input.h" "ac_cv_header_linux_input_h" "$ac_includes_default"
7947 if test "x$ac_cv_header_linux_input_h" = xyes
7948 then :
7949 printf "%s\n" "#define HAVE_LINUX_INPUT_H 1" >>confdefs.h
7952 ac_fn_c_check_header_compile "$LINENO" "linux/ioctl.h" "ac_cv_header_linux_ioctl_h" "$ac_includes_default"
7953 if test "x$ac_cv_header_linux_ioctl_h" = xyes
7954 then :
7955 printf "%s\n" "#define HAVE_LINUX_IOCTL_H 1" >>confdefs.h
7958 ac_fn_c_check_header_compile "$LINENO" "linux/major.h" "ac_cv_header_linux_major_h" "$ac_includes_default"
7959 if test "x$ac_cv_header_linux_major_h" = xyes
7960 then :
7961 printf "%s\n" "#define HAVE_LINUX_MAJOR_H 1" >>confdefs.h
7964 ac_fn_c_check_header_compile "$LINENO" "linux/param.h" "ac_cv_header_linux_param_h" "$ac_includes_default"
7965 if test "x$ac_cv_header_linux_param_h" = xyes
7966 then :
7967 printf "%s\n" "#define HAVE_LINUX_PARAM_H 1" >>confdefs.h
7970 ac_fn_c_check_header_compile "$LINENO" "linux/serial.h" "ac_cv_header_linux_serial_h" "$ac_includes_default"
7971 if test "x$ac_cv_header_linux_serial_h" = xyes
7972 then :
7973 printf "%s\n" "#define HAVE_LINUX_SERIAL_H 1" >>confdefs.h
7976 ac_fn_c_check_header_compile "$LINENO" "linux/types.h" "ac_cv_header_linux_types_h" "$ac_includes_default"
7977 if test "x$ac_cv_header_linux_types_h" = xyes
7978 then :
7979 printf "%s\n" "#define HAVE_LINUX_TYPES_H 1" >>confdefs.h
7982 ac_fn_c_check_header_compile "$LINENO" "linux/ucdrom.h" "ac_cv_header_linux_ucdrom_h" "$ac_includes_default"
7983 if test "x$ac_cv_header_linux_ucdrom_h" = xyes
7984 then :
7985 printf "%s\n" "#define HAVE_LINUX_UCDROM_H 1" >>confdefs.h
7988 ac_fn_c_check_header_compile "$LINENO" "lwp.h" "ac_cv_header_lwp_h" "$ac_includes_default"
7989 if test "x$ac_cv_header_lwp_h" = xyes
7990 then :
7991 printf "%s\n" "#define HAVE_LWP_H 1" >>confdefs.h
7994 ac_fn_c_check_header_compile "$LINENO" "mach-o/loader.h" "ac_cv_header_mach_o_loader_h" "$ac_includes_default"
7995 if test "x$ac_cv_header_mach_o_loader_h" = xyes
7996 then :
7997 printf "%s\n" "#define HAVE_MACH_O_LOADER_H 1" >>confdefs.h
8000 ac_fn_c_check_header_compile "$LINENO" "mach/mach.h" "ac_cv_header_mach_mach_h" "$ac_includes_default"
8001 if test "x$ac_cv_header_mach_mach_h" = xyes
8002 then :
8003 printf "%s\n" "#define HAVE_MACH_MACH_H 1" >>confdefs.h
8006 ac_fn_c_check_header_compile "$LINENO" "machine/cpu.h" "ac_cv_header_machine_cpu_h" "$ac_includes_default"
8007 if test "x$ac_cv_header_machine_cpu_h" = xyes
8008 then :
8009 printf "%s\n" "#define HAVE_MACHINE_CPU_H 1" >>confdefs.h
8012 ac_fn_c_check_header_compile "$LINENO" "machine/sysarch.h" "ac_cv_header_machine_sysarch_h" "$ac_includes_default"
8013 if test "x$ac_cv_header_machine_sysarch_h" = xyes
8014 then :
8015 printf "%s\n" "#define HAVE_MACHINE_SYSARCH_H 1" >>confdefs.h
8018 ac_fn_c_check_header_compile "$LINENO" "mntent.h" "ac_cv_header_mntent_h" "$ac_includes_default"
8019 if test "x$ac_cv_header_mntent_h" = xyes
8020 then :
8021 printf "%s\n" "#define HAVE_MNTENT_H 1" >>confdefs.h
8024 ac_fn_c_check_header_compile "$LINENO" "netdb.h" "ac_cv_header_netdb_h" "$ac_includes_default"
8025 if test "x$ac_cv_header_netdb_h" = xyes
8026 then :
8027 printf "%s\n" "#define HAVE_NETDB_H 1" >>confdefs.h
8030 ac_fn_c_check_header_compile "$LINENO" "netinet/in.h" "ac_cv_header_netinet_in_h" "$ac_includes_default"
8031 if test "x$ac_cv_header_netinet_in_h" = xyes
8032 then :
8033 printf "%s\n" "#define HAVE_NETINET_IN_H 1" >>confdefs.h
8036 ac_fn_c_check_header_compile "$LINENO" "netinet/in_systm.h" "ac_cv_header_netinet_in_systm_h" "$ac_includes_default"
8037 if test "x$ac_cv_header_netinet_in_systm_h" = xyes
8038 then :
8039 printf "%s\n" "#define HAVE_NETINET_IN_SYSTM_H 1" >>confdefs.h
8042 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp.h" "ac_cv_header_netinet_tcp_h" "$ac_includes_default"
8043 if test "x$ac_cv_header_netinet_tcp_h" = xyes
8044 then :
8045 printf "%s\n" "#define HAVE_NETINET_TCP_H 1" >>confdefs.h
8048 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp_fsm.h" "ac_cv_header_netinet_tcp_fsm_h" "$ac_includes_default"
8049 if test "x$ac_cv_header_netinet_tcp_fsm_h" = xyes
8050 then :
8051 printf "%s\n" "#define HAVE_NETINET_TCP_FSM_H 1" >>confdefs.h
8054 ac_fn_c_check_header_compile "$LINENO" "pcap/pcap.h" "ac_cv_header_pcap_pcap_h" "$ac_includes_default"
8055 if test "x$ac_cv_header_pcap_pcap_h" = xyes
8056 then :
8057 printf "%s\n" "#define HAVE_PCAP_PCAP_H 1" >>confdefs.h
8060 ac_fn_c_check_header_compile "$LINENO" "port.h" "ac_cv_header_port_h" "$ac_includes_default"
8061 if test "x$ac_cv_header_port_h" = xyes
8062 then :
8063 printf "%s\n" "#define HAVE_PORT_H 1" >>confdefs.h
8066 ac_fn_c_check_header_compile "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"
8067 if test "x$ac_cv_header_pthread_h" = xyes
8068 then :
8069 printf "%s\n" "#define HAVE_PTHREAD_H 1" >>confdefs.h
8072 ac_fn_c_check_header_compile "$LINENO" "pwd.h" "ac_cv_header_pwd_h" "$ac_includes_default"
8073 if test "x$ac_cv_header_pwd_h" = xyes
8074 then :
8075 printf "%s\n" "#define HAVE_PWD_H 1" >>confdefs.h
8078 ac_fn_c_check_header_compile "$LINENO" "sched.h" "ac_cv_header_sched_h" "$ac_includes_default"
8079 if test "x$ac_cv_header_sched_h" = xyes
8080 then :
8081 printf "%s\n" "#define HAVE_SCHED_H 1" >>confdefs.h
8084 ac_fn_c_check_header_compile "$LINENO" "scsi/scsi.h" "ac_cv_header_scsi_scsi_h" "$ac_includes_default"
8085 if test "x$ac_cv_header_scsi_scsi_h" = xyes
8086 then :
8087 printf "%s\n" "#define HAVE_SCSI_SCSI_H 1" >>confdefs.h
8090 ac_fn_c_check_header_compile "$LINENO" "scsi/scsi_ioctl.h" "ac_cv_header_scsi_scsi_ioctl_h" "$ac_includes_default"
8091 if test "x$ac_cv_header_scsi_scsi_ioctl_h" = xyes
8092 then :
8093 printf "%s\n" "#define HAVE_SCSI_SCSI_IOCTL_H 1" >>confdefs.h
8096 ac_fn_c_check_header_compile "$LINENO" "scsi/sg.h" "ac_cv_header_scsi_sg_h" "$ac_includes_default"
8097 if test "x$ac_cv_header_scsi_sg_h" = xyes
8098 then :
8099 printf "%s\n" "#define HAVE_SCSI_SG_H 1" >>confdefs.h
8102 ac_fn_c_check_header_compile "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
8103 if test "x$ac_cv_header_stdint_h" = xyes
8104 then :
8105 printf "%s\n" "#define HAVE_STDINT_H 1" >>confdefs.h
8108 ac_fn_c_check_header_compile "$LINENO" "sys/attr.h" "ac_cv_header_sys_attr_h" "$ac_includes_default"
8109 if test "x$ac_cv_header_sys_attr_h" = xyes
8110 then :
8111 printf "%s\n" "#define HAVE_SYS_ATTR_H 1" >>confdefs.h
8114 ac_fn_c_check_header_compile "$LINENO" "sys/auxv.h" "ac_cv_header_sys_auxv_h" "$ac_includes_default"
8115 if test "x$ac_cv_header_sys_auxv_h" = xyes
8116 then :
8117 printf "%s\n" "#define HAVE_SYS_AUXV_H 1" >>confdefs.h
8120 ac_fn_c_check_header_compile "$LINENO" "sys/cdio.h" "ac_cv_header_sys_cdio_h" "$ac_includes_default"
8121 if test "x$ac_cv_header_sys_cdio_h" = xyes
8122 then :
8123 printf "%s\n" "#define HAVE_SYS_CDIO_H 1" >>confdefs.h
8126 ac_fn_c_check_header_compile "$LINENO" "sys/epoll.h" "ac_cv_header_sys_epoll_h" "$ac_includes_default"
8127 if test "x$ac_cv_header_sys_epoll_h" = xyes
8128 then :
8129 printf "%s\n" "#define HAVE_SYS_EPOLL_H 1" >>confdefs.h
8132 ac_fn_c_check_header_compile "$LINENO" "sys/event.h" "ac_cv_header_sys_event_h" "$ac_includes_default"
8133 if test "x$ac_cv_header_sys_event_h" = xyes
8134 then :
8135 printf "%s\n" "#define HAVE_SYS_EVENT_H 1" >>confdefs.h
8138 ac_fn_c_check_header_compile "$LINENO" "sys/extattr.h" "ac_cv_header_sys_extattr_h" "$ac_includes_default"
8139 if test "x$ac_cv_header_sys_extattr_h" = xyes
8140 then :
8141 printf "%s\n" "#define HAVE_SYS_EXTATTR_H 1" >>confdefs.h
8144 ac_fn_c_check_header_compile "$LINENO" "sys/filio.h" "ac_cv_header_sys_filio_h" "$ac_includes_default"
8145 if test "x$ac_cv_header_sys_filio_h" = xyes
8146 then :
8147 printf "%s\n" "#define HAVE_SYS_FILIO_H 1" >>confdefs.h
8150 ac_fn_c_check_header_compile "$LINENO" "sys/ipc.h" "ac_cv_header_sys_ipc_h" "$ac_includes_default"
8151 if test "x$ac_cv_header_sys_ipc_h" = xyes
8152 then :
8153 printf "%s\n" "#define HAVE_SYS_IPC_H 1" >>confdefs.h
8156 ac_fn_c_check_header_compile "$LINENO" "sys/link.h" "ac_cv_header_sys_link_h" "$ac_includes_default"
8157 if test "x$ac_cv_header_sys_link_h" = xyes
8158 then :
8159 printf "%s\n" "#define HAVE_SYS_LINK_H 1" >>confdefs.h
8162 ac_fn_c_check_header_compile "$LINENO" "sys/modem.h" "ac_cv_header_sys_modem_h" "$ac_includes_default"
8163 if test "x$ac_cv_header_sys_modem_h" = xyes
8164 then :
8165 printf "%s\n" "#define HAVE_SYS_MODEM_H 1" >>confdefs.h
8168 ac_fn_c_check_header_compile "$LINENO" "sys/mtio.h" "ac_cv_header_sys_mtio_h" "$ac_includes_default"
8169 if test "x$ac_cv_header_sys_mtio_h" = xyes
8170 then :
8171 printf "%s\n" "#define HAVE_SYS_MTIO_H 1" >>confdefs.h
8174 ac_fn_c_check_header_compile "$LINENO" "sys/param.h" "ac_cv_header_sys_param_h" "$ac_includes_default"
8175 if test "x$ac_cv_header_sys_param_h" = xyes
8176 then :
8177 printf "%s\n" "#define HAVE_SYS_PARAM_H 1" >>confdefs.h
8180 ac_fn_c_check_header_compile "$LINENO" "sys/prctl.h" "ac_cv_header_sys_prctl_h" "$ac_includes_default"
8181 if test "x$ac_cv_header_sys_prctl_h" = xyes
8182 then :
8183 printf "%s\n" "#define HAVE_SYS_PRCTL_H 1" >>confdefs.h
8186 ac_fn_c_check_header_compile "$LINENO" "sys/ptrace.h" "ac_cv_header_sys_ptrace_h" "$ac_includes_default"
8187 if test "x$ac_cv_header_sys_ptrace_h" = xyes
8188 then :
8189 printf "%s\n" "#define HAVE_SYS_PTRACE_H 1" >>confdefs.h
8192 ac_fn_c_check_header_compile "$LINENO" "sys/queue.h" "ac_cv_header_sys_queue_h" "$ac_includes_default"
8193 if test "x$ac_cv_header_sys_queue_h" = xyes
8194 then :
8195 printf "%s\n" "#define HAVE_SYS_QUEUE_H 1" >>confdefs.h
8198 ac_fn_c_check_header_compile "$LINENO" "sys/random.h" "ac_cv_header_sys_random_h" "$ac_includes_default"
8199 if test "x$ac_cv_header_sys_random_h" = xyes
8200 then :
8201 printf "%s\n" "#define HAVE_SYS_RANDOM_H 1" >>confdefs.h
8204 ac_fn_c_check_header_compile "$LINENO" "sys/resource.h" "ac_cv_header_sys_resource_h" "$ac_includes_default"
8205 if test "x$ac_cv_header_sys_resource_h" = xyes
8206 then :
8207 printf "%s\n" "#define HAVE_SYS_RESOURCE_H 1" >>confdefs.h
8210 ac_fn_c_check_header_compile "$LINENO" "sys/scsiio.h" "ac_cv_header_sys_scsiio_h" "$ac_includes_default"
8211 if test "x$ac_cv_header_sys_scsiio_h" = xyes
8212 then :
8213 printf "%s\n" "#define HAVE_SYS_SCSIIO_H 1" >>confdefs.h
8216 ac_fn_c_check_header_compile "$LINENO" "sys/shm.h" "ac_cv_header_sys_shm_h" "$ac_includes_default"
8217 if test "x$ac_cv_header_sys_shm_h" = xyes
8218 then :
8219 printf "%s\n" "#define HAVE_SYS_SHM_H 1" >>confdefs.h
8222 ac_fn_c_check_header_compile "$LINENO" "sys/signal.h" "ac_cv_header_sys_signal_h" "$ac_includes_default"
8223 if test "x$ac_cv_header_sys_signal_h" = xyes
8224 then :
8225 printf "%s\n" "#define HAVE_SYS_SIGNAL_H 1" >>confdefs.h
8228 ac_fn_c_check_header_compile "$LINENO" "sys/socketvar.h" "ac_cv_header_sys_socketvar_h" "$ac_includes_default"
8229 if test "x$ac_cv_header_sys_socketvar_h" = xyes
8230 then :
8231 printf "%s\n" "#define HAVE_SYS_SOCKETVAR_H 1" >>confdefs.h
8234 ac_fn_c_check_header_compile "$LINENO" "sys/sockio.h" "ac_cv_header_sys_sockio_h" "$ac_includes_default"
8235 if test "x$ac_cv_header_sys_sockio_h" = xyes
8236 then :
8237 printf "%s\n" "#define HAVE_SYS_SOCKIO_H 1" >>confdefs.h
8240 ac_fn_c_check_header_compile "$LINENO" "sys/statvfs.h" "ac_cv_header_sys_statvfs_h" "$ac_includes_default"
8241 if test "x$ac_cv_header_sys_statvfs_h" = xyes
8242 then :
8243 printf "%s\n" "#define HAVE_SYS_STATVFS_H 1" >>confdefs.h
8246 ac_fn_c_check_header_compile "$LINENO" "sys/strtio.h" "ac_cv_header_sys_strtio_h" "$ac_includes_default"
8247 if test "x$ac_cv_header_sys_strtio_h" = xyes
8248 then :
8249 printf "%s\n" "#define HAVE_SYS_STRTIO_H 1" >>confdefs.h
8252 ac_fn_c_check_header_compile "$LINENO" "sys/syscall.h" "ac_cv_header_sys_syscall_h" "$ac_includes_default"
8253 if test "x$ac_cv_header_sys_syscall_h" = xyes
8254 then :
8255 printf "%s\n" "#define HAVE_SYS_SYSCALL_H 1" >>confdefs.h
8258 ac_fn_c_check_header_compile "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
8259 if test "x$ac_cv_header_sys_sysinfo_h" = xyes
8260 then :
8261 printf "%s\n" "#define HAVE_SYS_SYSINFO_H 1" >>confdefs.h
8264 ac_fn_c_check_header_compile "$LINENO" "sys/times.h" "ac_cv_header_sys_times_h" "$ac_includes_default"
8265 if test "x$ac_cv_header_sys_times_h" = xyes
8266 then :
8267 printf "%s\n" "#define HAVE_SYS_TIMES_H 1" >>confdefs.h
8270 ac_fn_c_check_header_compile "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
8271 if test "x$ac_cv_header_sys_uio_h" = xyes
8272 then :
8273 printf "%s\n" "#define HAVE_SYS_UIO_H 1" >>confdefs.h
8276 ac_fn_c_check_header_compile "$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "$ac_includes_default"
8277 if test "x$ac_cv_header_sys_user_h" = xyes
8278 then :
8279 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8282 ac_fn_c_check_header_compile "$LINENO" "sys/utsname.h" "ac_cv_header_sys_utsname_h" "$ac_includes_default"
8283 if test "x$ac_cv_header_sys_utsname_h" = xyes
8284 then :
8285 printf "%s\n" "#define HAVE_SYS_UTSNAME_H 1" >>confdefs.h
8288 ac_fn_c_check_header_compile "$LINENO" "sys/vnode.h" "ac_cv_header_sys_vnode_h" "$ac_includes_default"
8289 if test "x$ac_cv_header_sys_vnode_h" = xyes
8290 then :
8291 printf "%s\n" "#define HAVE_SYS_VNODE_H 1" >>confdefs.h
8294 ac_fn_c_check_header_compile "$LINENO" "sys/xattr.h" "ac_cv_header_sys_xattr_h" "$ac_includes_default"
8295 if test "x$ac_cv_header_sys_xattr_h" = xyes
8296 then :
8297 printf "%s\n" "#define HAVE_SYS_XATTR_H 1" >>confdefs.h
8300 ac_fn_c_check_header_compile "$LINENO" "syscall.h" "ac_cv_header_syscall_h" "$ac_includes_default"
8301 if test "x$ac_cv_header_syscall_h" = xyes
8302 then :
8303 printf "%s\n" "#define HAVE_SYSCALL_H 1" >>confdefs.h
8306 ac_fn_c_check_header_compile "$LINENO" "utime.h" "ac_cv_header_utime_h" "$ac_includes_default"
8307 if test "x$ac_cv_header_utime_h" = xyes
8308 then :
8309 printf "%s\n" "#define HAVE_UTIME_H 1" >>confdefs.h
8312 ac_fn_c_check_header_compile "$LINENO" "valgrind/memcheck.h" "ac_cv_header_valgrind_memcheck_h" "$ac_includes_default"
8313 if test "x$ac_cv_header_valgrind_memcheck_h" = xyes
8314 then :
8315 printf "%s\n" "#define HAVE_VALGRIND_MEMCHECK_H 1" >>confdefs.h
8318 ac_fn_c_check_header_compile "$LINENO" "valgrind/valgrind.h" "ac_cv_header_valgrind_valgrind_h" "$ac_includes_default"
8319 if test "x$ac_cv_header_valgrind_valgrind_h" = xyes
8320 then :
8321 printf "%s\n" "#define HAVE_VALGRIND_VALGRIND_H 1" >>confdefs.h
8325 ac_fn_c_check_header_compile "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
8326 if test "x$ac_cv_header_sys_mkdev_h" = xyes
8327 then :
8329 printf "%s\n" "#define MAJOR_IN_MKDEV 1" >>confdefs.h
8333 if test $ac_cv_header_sys_mkdev_h = no; then
8334 ac_fn_c_check_header_compile "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
8335 if test "x$ac_cv_header_sys_sysmacros_h" = xyes
8336 then :
8338 printf "%s\n" "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
8343 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
8344 printf %s "checking whether stat file-mode macros are broken... " >&6; }
8345 if test ${ac_cv_header_stat_broken+y}
8346 then :
8347 printf %s "(cached) " >&6
8348 else $as_nop
8349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8350 /* end confdefs.h. */
8351 #include <sys/types.h>
8352 #include <sys/stat.h>
8354 #if defined S_ISBLK && defined S_IFDIR
8355 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
8356 #endif
8358 #if defined S_ISBLK && defined S_IFCHR
8359 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
8360 #endif
8362 #if defined S_ISLNK && defined S_IFREG
8363 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
8364 #endif
8366 #if defined S_ISSOCK && defined S_IFREG
8367 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
8368 #endif
8370 _ACEOF
8371 if ac_fn_c_try_compile "$LINENO"
8372 then :
8373 ac_cv_header_stat_broken=no
8374 else $as_nop
8375 ac_cv_header_stat_broken=yes
8377 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8379 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
8380 printf "%s\n" "$ac_cv_header_stat_broken" >&6; }
8381 if test $ac_cv_header_stat_broken = yes; then
8383 printf "%s\n" "#define STAT_MACROS_BROKEN 1" >>confdefs.h
8389 ac_fn_c_check_header_compile "$LINENO" "sys/conf.h" "ac_cv_header_sys_conf_h" "#include <sys/types.h>
8390 #ifdef HAVE_SYS_PARAM_H
8391 # include <sys/param.h>
8392 #endif
8394 if test "x$ac_cv_header_sys_conf_h" = xyes
8395 then :
8396 printf "%s\n" "#define HAVE_SYS_CONF_H 1" >>confdefs.h
8399 ac_fn_c_check_header_compile "$LINENO" "sys/mount.h" "ac_cv_header_sys_mount_h" "#include <sys/types.h>
8400 #ifdef HAVE_SYS_PARAM_H
8401 # include <sys/param.h>
8402 #endif
8404 if test "x$ac_cv_header_sys_mount_h" = xyes
8405 then :
8406 printf "%s\n" "#define HAVE_SYS_MOUNT_H 1" >>confdefs.h
8409 ac_fn_c_check_header_compile "$LINENO" "sys/statfs.h" "ac_cv_header_sys_statfs_h" "#include <sys/types.h>
8410 #ifdef HAVE_SYS_PARAM_H
8411 # include <sys/param.h>
8412 #endif
8414 if test "x$ac_cv_header_sys_statfs_h" = xyes
8415 then :
8416 printf "%s\n" "#define HAVE_SYS_STATFS_H 1" >>confdefs.h
8419 ac_fn_c_check_header_compile "$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "#include <sys/types.h>
8420 #ifdef HAVE_SYS_PARAM_H
8421 # include <sys/param.h>
8422 #endif
8424 if test "x$ac_cv_header_sys_user_h" = xyes
8425 then :
8426 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8429 ac_fn_c_check_header_compile "$LINENO" "sys/vfs.h" "ac_cv_header_sys_vfs_h" "#include <sys/types.h>
8430 #ifdef HAVE_SYS_PARAM_H
8431 # include <sys/param.h>
8432 #endif
8434 if test "x$ac_cv_header_sys_vfs_h" = xyes
8435 then :
8436 printf "%s\n" "#define HAVE_SYS_VFS_H 1" >>confdefs.h
8441 saved_sysctl_h_CFLAGS=$CFLAGS
8442 test "x${GCC}" != xyes || CFLAGS="$CFLAGS -Werror"
8443 ac_fn_c_check_header_compile "$LINENO" "sys/sysctl.h" "ac_cv_header_sys_sysctl_h" "#include <sys/types.h>
8444 #ifdef HAVE_SYS_PARAM_H
8445 # include <sys/param.h>
8446 #endif
8448 if test "x$ac_cv_header_sys_sysctl_h" = xyes
8449 then :
8450 printf "%s\n" "#define HAVE_SYS_SYSCTL_H 1" >>confdefs.h
8454 CFLAGS=$saved_sysctl_h_CFLAGS
8456 ac_fn_c_check_header_compile "$LINENO" "netinet/ip.h" "ac_cv_header_netinet_ip_h" "#include <sys/types.h>
8457 #include <sys/socket.h>
8458 #ifdef HAVE_SYS_SOCKETVAR_H
8459 # include <sys/socketvar.h>
8460 #endif
8461 #ifdef HAVE_NET_ROUTE_H
8462 # include <net/route.h>
8463 #endif
8464 #ifdef HAVE_NETINET_IN_H
8465 # include <netinet/in.h>
8466 #endif
8467 #ifdef HAVE_NETINET_IN_SYSTM_H
8468 # include <netinet/in_systm.h>
8469 #endif
8470 #ifdef HAVE_NET_IF_H
8471 # include <net/if.h>
8472 #endif
8473 #ifdef HAVE_NETINET_IP_H
8474 # include <netinet/ip.h>
8475 #endif
8477 if test "x$ac_cv_header_netinet_ip_h" = xyes
8478 then :
8479 printf "%s\n" "#define HAVE_NETINET_IP_H 1" >>confdefs.h
8482 ac_fn_c_check_header_compile "$LINENO" "net/if.h" "ac_cv_header_net_if_h" "#include <sys/types.h>
8483 #include <sys/socket.h>
8484 #ifdef HAVE_SYS_SOCKETVAR_H
8485 # include <sys/socketvar.h>
8486 #endif
8487 #ifdef HAVE_NET_ROUTE_H
8488 # include <net/route.h>
8489 #endif
8490 #ifdef HAVE_NETINET_IN_H
8491 # include <netinet/in.h>
8492 #endif
8493 #ifdef HAVE_NETINET_IN_SYSTM_H
8494 # include <netinet/in_systm.h>
8495 #endif
8496 #ifdef HAVE_NET_IF_H
8497 # include <net/if.h>
8498 #endif
8499 #ifdef HAVE_NETINET_IP_H
8500 # include <netinet/ip.h>
8501 #endif
8503 if test "x$ac_cv_header_net_if_h" = xyes
8504 then :
8505 printf "%s\n" "#define HAVE_NET_IF_H 1" >>confdefs.h
8508 ac_fn_c_check_header_compile "$LINENO" "net/if_arp.h" "ac_cv_header_net_if_arp_h" "#include <sys/types.h>
8509 #include <sys/socket.h>
8510 #ifdef HAVE_SYS_SOCKETVAR_H
8511 # include <sys/socketvar.h>
8512 #endif
8513 #ifdef HAVE_NET_ROUTE_H
8514 # include <net/route.h>
8515 #endif
8516 #ifdef HAVE_NETINET_IN_H
8517 # include <netinet/in.h>
8518 #endif
8519 #ifdef HAVE_NETINET_IN_SYSTM_H
8520 # include <netinet/in_systm.h>
8521 #endif
8522 #ifdef HAVE_NET_IF_H
8523 # include <net/if.h>
8524 #endif
8525 #ifdef HAVE_NETINET_IP_H
8526 # include <netinet/ip.h>
8527 #endif
8529 if test "x$ac_cv_header_net_if_arp_h" = xyes
8530 then :
8531 printf "%s\n" "#define HAVE_NET_IF_ARP_H 1" >>confdefs.h
8534 ac_fn_c_check_header_compile "$LINENO" "net/if_dl.h" "ac_cv_header_net_if_dl_h" "#include <sys/types.h>
8535 #include <sys/socket.h>
8536 #ifdef HAVE_SYS_SOCKETVAR_H
8537 # include <sys/socketvar.h>
8538 #endif
8539 #ifdef HAVE_NET_ROUTE_H
8540 # include <net/route.h>
8541 #endif
8542 #ifdef HAVE_NETINET_IN_H
8543 # include <netinet/in.h>
8544 #endif
8545 #ifdef HAVE_NETINET_IN_SYSTM_H
8546 # include <netinet/in_systm.h>
8547 #endif
8548 #ifdef HAVE_NET_IF_H
8549 # include <net/if.h>
8550 #endif
8551 #ifdef HAVE_NETINET_IP_H
8552 # include <netinet/ip.h>
8553 #endif
8555 if test "x$ac_cv_header_net_if_dl_h" = xyes
8556 then :
8557 printf "%s\n" "#define HAVE_NET_IF_DL_H 1" >>confdefs.h
8560 ac_fn_c_check_header_compile "$LINENO" "net/if_types.h" "ac_cv_header_net_if_types_h" "#include <sys/types.h>
8561 #include <sys/socket.h>
8562 #ifdef HAVE_SYS_SOCKETVAR_H
8563 # include <sys/socketvar.h>
8564 #endif
8565 #ifdef HAVE_NET_ROUTE_H
8566 # include <net/route.h>
8567 #endif
8568 #ifdef HAVE_NETINET_IN_H
8569 # include <netinet/in.h>
8570 #endif
8571 #ifdef HAVE_NETINET_IN_SYSTM_H
8572 # include <netinet/in_systm.h>
8573 #endif
8574 #ifdef HAVE_NET_IF_H
8575 # include <net/if.h>
8576 #endif
8577 #ifdef HAVE_NETINET_IP_H
8578 # include <netinet/ip.h>
8579 #endif
8581 if test "x$ac_cv_header_net_if_types_h" = xyes
8582 then :
8583 printf "%s\n" "#define HAVE_NET_IF_TYPES_H 1" >>confdefs.h
8586 ac_fn_c_check_header_compile "$LINENO" "net/route.h" "ac_cv_header_net_route_h" "#include <sys/types.h>
8587 #include <sys/socket.h>
8588 #ifdef HAVE_SYS_SOCKETVAR_H
8589 # include <sys/socketvar.h>
8590 #endif
8591 #ifdef HAVE_NET_ROUTE_H
8592 # include <net/route.h>
8593 #endif
8594 #ifdef HAVE_NETINET_IN_H
8595 # include <netinet/in.h>
8596 #endif
8597 #ifdef HAVE_NETINET_IN_SYSTM_H
8598 # include <netinet/in_systm.h>
8599 #endif
8600 #ifdef HAVE_NET_IF_H
8601 # include <net/if.h>
8602 #endif
8603 #ifdef HAVE_NETINET_IP_H
8604 # include <netinet/ip.h>
8605 #endif
8607 if test "x$ac_cv_header_net_route_h" = xyes
8608 then :
8609 printf "%s\n" "#define HAVE_NET_ROUTE_H 1" >>confdefs.h
8612 ac_fn_c_check_header_compile "$LINENO" "netinet/if_ether.h" "ac_cv_header_netinet_if_ether_h" "#include <sys/types.h>
8613 #include <sys/socket.h>
8614 #ifdef HAVE_SYS_SOCKETVAR_H
8615 # include <sys/socketvar.h>
8616 #endif
8617 #ifdef HAVE_NET_ROUTE_H
8618 # include <net/route.h>
8619 #endif
8620 #ifdef HAVE_NETINET_IN_H
8621 # include <netinet/in.h>
8622 #endif
8623 #ifdef HAVE_NETINET_IN_SYSTM_H
8624 # include <netinet/in_systm.h>
8625 #endif
8626 #ifdef HAVE_NET_IF_H
8627 # include <net/if.h>
8628 #endif
8629 #ifdef HAVE_NETINET_IP_H
8630 # include <netinet/ip.h>
8631 #endif
8633 if test "x$ac_cv_header_netinet_if_ether_h" = xyes
8634 then :
8635 printf "%s\n" "#define HAVE_NETINET_IF_ETHER_H 1" >>confdefs.h
8638 ac_fn_c_check_header_compile "$LINENO" "netinet/in_pcb.h" "ac_cv_header_netinet_in_pcb_h" "#include <sys/types.h>
8639 #include <sys/socket.h>
8640 #ifdef HAVE_SYS_SOCKETVAR_H
8641 # include <sys/socketvar.h>
8642 #endif
8643 #ifdef HAVE_NET_ROUTE_H
8644 # include <net/route.h>
8645 #endif
8646 #ifdef HAVE_NETINET_IN_H
8647 # include <netinet/in.h>
8648 #endif
8649 #ifdef HAVE_NETINET_IN_SYSTM_H
8650 # include <netinet/in_systm.h>
8651 #endif
8652 #ifdef HAVE_NET_IF_H
8653 # include <net/if.h>
8654 #endif
8655 #ifdef HAVE_NETINET_IP_H
8656 # include <netinet/ip.h>
8657 #endif
8659 if test "x$ac_cv_header_netinet_in_pcb_h" = xyes
8660 then :
8661 printf "%s\n" "#define HAVE_NETINET_IN_PCB_H 1" >>confdefs.h
8664 ac_fn_c_check_header_compile "$LINENO" "netinet/ip_icmp.h" "ac_cv_header_netinet_ip_icmp_h" "#include <sys/types.h>
8665 #include <sys/socket.h>
8666 #ifdef HAVE_SYS_SOCKETVAR_H
8667 # include <sys/socketvar.h>
8668 #endif
8669 #ifdef HAVE_NET_ROUTE_H
8670 # include <net/route.h>
8671 #endif
8672 #ifdef HAVE_NETINET_IN_H
8673 # include <netinet/in.h>
8674 #endif
8675 #ifdef HAVE_NETINET_IN_SYSTM_H
8676 # include <netinet/in_systm.h>
8677 #endif
8678 #ifdef HAVE_NET_IF_H
8679 # include <net/if.h>
8680 #endif
8681 #ifdef HAVE_NETINET_IP_H
8682 # include <netinet/ip.h>
8683 #endif
8685 if test "x$ac_cv_header_netinet_ip_icmp_h" = xyes
8686 then :
8687 printf "%s\n" "#define HAVE_NETINET_IP_ICMP_H 1" >>confdefs.h
8690 ac_fn_c_check_header_compile "$LINENO" "netinet/ip_var.h" "ac_cv_header_netinet_ip_var_h" "#include <sys/types.h>
8691 #include <sys/socket.h>
8692 #ifdef HAVE_SYS_SOCKETVAR_H
8693 # include <sys/socketvar.h>
8694 #endif
8695 #ifdef HAVE_NET_ROUTE_H
8696 # include <net/route.h>
8697 #endif
8698 #ifdef HAVE_NETINET_IN_H
8699 # include <netinet/in.h>
8700 #endif
8701 #ifdef HAVE_NETINET_IN_SYSTM_H
8702 # include <netinet/in_systm.h>
8703 #endif
8704 #ifdef HAVE_NET_IF_H
8705 # include <net/if.h>
8706 #endif
8707 #ifdef HAVE_NETINET_IP_H
8708 # include <netinet/ip.h>
8709 #endif
8711 if test "x$ac_cv_header_netinet_ip_var_h" = xyes
8712 then :
8713 printf "%s\n" "#define HAVE_NETINET_IP_VAR_H 1" >>confdefs.h
8716 ac_fn_c_check_header_compile "$LINENO" "netinet/udp.h" "ac_cv_header_netinet_udp_h" "#include <sys/types.h>
8717 #include <sys/socket.h>
8718 #ifdef HAVE_SYS_SOCKETVAR_H
8719 # include <sys/socketvar.h>
8720 #endif
8721 #ifdef HAVE_NET_ROUTE_H
8722 # include <net/route.h>
8723 #endif
8724 #ifdef HAVE_NETINET_IN_H
8725 # include <netinet/in.h>
8726 #endif
8727 #ifdef HAVE_NETINET_IN_SYSTM_H
8728 # include <netinet/in_systm.h>
8729 #endif
8730 #ifdef HAVE_NET_IF_H
8731 # include <net/if.h>
8732 #endif
8733 #ifdef HAVE_NETINET_IP_H
8734 # include <netinet/ip.h>
8735 #endif
8737 if test "x$ac_cv_header_netinet_udp_h" = xyes
8738 then :
8739 printf "%s\n" "#define HAVE_NETINET_UDP_H 1" >>confdefs.h
8742 ac_fn_c_check_header_compile "$LINENO" "netinet6/ip6_var.h" "ac_cv_header_netinet6_ip6_var_h" "#include <sys/types.h>
8743 #include <sys/socket.h>
8744 #ifdef HAVE_SYS_SOCKETVAR_H
8745 # include <sys/socketvar.h>
8746 #endif
8747 #ifdef HAVE_NET_ROUTE_H
8748 # include <net/route.h>
8749 #endif
8750 #ifdef HAVE_NETINET_IN_H
8751 # include <netinet/in.h>
8752 #endif
8753 #ifdef HAVE_NETINET_IN_SYSTM_H
8754 # include <netinet/in_systm.h>
8755 #endif
8756 #ifdef HAVE_NET_IF_H
8757 # include <net/if.h>
8758 #endif
8759 #ifdef HAVE_NETINET_IP_H
8760 # include <netinet/ip.h>
8761 #endif
8763 if test "x$ac_cv_header_netinet6_ip6_var_h" = xyes
8764 then :
8765 printf "%s\n" "#define HAVE_NETINET6_IP6_VAR_H 1" >>confdefs.h
8768 ac_fn_c_check_header_compile "$LINENO" "netipx/ipx.h" "ac_cv_header_netipx_ipx_h" "#include <sys/types.h>
8769 #include <sys/socket.h>
8770 #ifdef HAVE_SYS_SOCKETVAR_H
8771 # include <sys/socketvar.h>
8772 #endif
8773 #ifdef HAVE_NET_ROUTE_H
8774 # include <net/route.h>
8775 #endif
8776 #ifdef HAVE_NETINET_IN_H
8777 # include <netinet/in.h>
8778 #endif
8779 #ifdef HAVE_NETINET_IN_SYSTM_H
8780 # include <netinet/in_systm.h>
8781 #endif
8782 #ifdef HAVE_NET_IF_H
8783 # include <net/if.h>
8784 #endif
8785 #ifdef HAVE_NETINET_IP_H
8786 # include <netinet/ip.h>
8787 #endif
8789 if test "x$ac_cv_header_netipx_ipx_h" = xyes
8790 then :
8791 printf "%s\n" "#define HAVE_NETIPX_IPX_H 1" >>confdefs.h
8794 ac_fn_c_check_header_compile "$LINENO" "sys/un.h" "ac_cv_header_sys_un_h" "#include <sys/types.h>
8795 #include <sys/socket.h>
8796 #ifdef HAVE_SYS_SOCKETVAR_H
8797 # include <sys/socketvar.h>
8798 #endif
8799 #ifdef HAVE_NET_ROUTE_H
8800 # include <net/route.h>
8801 #endif
8802 #ifdef HAVE_NETINET_IN_H
8803 # include <netinet/in.h>
8804 #endif
8805 #ifdef HAVE_NETINET_IN_SYSTM_H
8806 # include <netinet/in_systm.h>
8807 #endif
8808 #ifdef HAVE_NET_IF_H
8809 # include <net/if.h>
8810 #endif
8811 #ifdef HAVE_NETINET_IP_H
8812 # include <netinet/ip.h>
8813 #endif
8815 if test "x$ac_cv_header_sys_un_h" = xyes
8816 then :
8817 printf "%s\n" "#define HAVE_SYS_UN_H 1" >>confdefs.h
8822 ac_fn_c_check_header_compile "$LINENO" "netinet/udp_var.h" "ac_cv_header_netinet_udp_var_h" "#include <sys/types.h>
8823 #include <sys/socket.h>
8824 #ifdef HAVE_SYS_SOCKETVAR_H
8825 # include <sys/socketvar.h>
8826 #endif
8827 #ifdef HAVE_NETINET_IN_H
8828 # include <netinet/in.h>
8829 #endif
8830 #ifdef HAVE_NETINET_IN_SYSTM_H
8831 # include <netinet/in_systm.h>
8832 #endif
8833 #ifdef HAVE_NETINET_IP_H
8834 # include <netinet/ip.h>
8835 #endif
8836 #ifdef HAVE_NETINET_IP_VAR_H
8837 # include <netinet/ip_var.h>
8838 #endif
8839 #ifdef HAVE_NETINET_IP_ICMP_H
8840 # include <netinet/ip_icmp.h>
8841 #endif
8842 #ifdef HAVE_NETINET_UDP_H
8843 # include <netinet/udp.h>
8844 #endif
8845 #ifdef HAVE_NETINET_TCP_H
8846 # include <netinet/tcp.h>
8847 #endif
8849 if test "x$ac_cv_header_netinet_udp_var_h" = xyes
8850 then :
8851 printf "%s\n" "#define HAVE_NETINET_UDP_VAR_H 1" >>confdefs.h
8854 ac_fn_c_check_header_compile "$LINENO" "netinet/icmp_var.h" "ac_cv_header_netinet_icmp_var_h" "#include <sys/types.h>
8855 #include <sys/socket.h>
8856 #ifdef HAVE_SYS_SOCKETVAR_H
8857 # include <sys/socketvar.h>
8858 #endif
8859 #ifdef HAVE_NETINET_IN_H
8860 # include <netinet/in.h>
8861 #endif
8862 #ifdef HAVE_NETINET_IN_SYSTM_H
8863 # include <netinet/in_systm.h>
8864 #endif
8865 #ifdef HAVE_NETINET_IP_H
8866 # include <netinet/ip.h>
8867 #endif
8868 #ifdef HAVE_NETINET_IP_VAR_H
8869 # include <netinet/ip_var.h>
8870 #endif
8871 #ifdef HAVE_NETINET_IP_ICMP_H
8872 # include <netinet/ip_icmp.h>
8873 #endif
8874 #ifdef HAVE_NETINET_UDP_H
8875 # include <netinet/udp.h>
8876 #endif
8877 #ifdef HAVE_NETINET_TCP_H
8878 # include <netinet/tcp.h>
8879 #endif
8881 if test "x$ac_cv_header_netinet_icmp_var_h" = xyes
8882 then :
8883 printf "%s\n" "#define HAVE_NETINET_ICMP_VAR_H 1" >>confdefs.h
8886 ac_fn_c_check_header_compile "$LINENO" "netinet/icmp6.h" "ac_cv_header_netinet_icmp6_h" "#include <sys/types.h>
8887 #include <sys/socket.h>
8888 #ifdef HAVE_SYS_SOCKETVAR_H
8889 # include <sys/socketvar.h>
8890 #endif
8891 #ifdef HAVE_NETINET_IN_H
8892 # include <netinet/in.h>
8893 #endif
8894 #ifdef HAVE_NETINET_IN_SYSTM_H
8895 # include <netinet/in_systm.h>
8896 #endif
8897 #ifdef HAVE_NETINET_IP_H
8898 # include <netinet/ip.h>
8899 #endif
8900 #ifdef HAVE_NETINET_IP_VAR_H
8901 # include <netinet/ip_var.h>
8902 #endif
8903 #ifdef HAVE_NETINET_IP_ICMP_H
8904 # include <netinet/ip_icmp.h>
8905 #endif
8906 #ifdef HAVE_NETINET_UDP_H
8907 # include <netinet/udp.h>
8908 #endif
8909 #ifdef HAVE_NETINET_TCP_H
8910 # include <netinet/tcp.h>
8911 #endif
8913 if test "x$ac_cv_header_netinet_icmp6_h" = xyes
8914 then :
8915 printf "%s\n" "#define HAVE_NETINET_ICMP6_H 1" >>confdefs.h
8918 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp_var.h" "ac_cv_header_netinet_tcp_var_h" "#include <sys/types.h>
8919 #include <sys/socket.h>
8920 #ifdef HAVE_SYS_SOCKETVAR_H
8921 # include <sys/socketvar.h>
8922 #endif
8923 #ifdef HAVE_NETINET_IN_H
8924 # include <netinet/in.h>
8925 #endif
8926 #ifdef HAVE_NETINET_IN_SYSTM_H
8927 # include <netinet/in_systm.h>
8928 #endif
8929 #ifdef HAVE_NETINET_IP_H
8930 # include <netinet/ip.h>
8931 #endif
8932 #ifdef HAVE_NETINET_IP_VAR_H
8933 # include <netinet/ip_var.h>
8934 #endif
8935 #ifdef HAVE_NETINET_IP_ICMP_H
8936 # include <netinet/ip_icmp.h>
8937 #endif
8938 #ifdef HAVE_NETINET_UDP_H
8939 # include <netinet/udp.h>
8940 #endif
8941 #ifdef HAVE_NETINET_TCP_H
8942 # include <netinet/tcp.h>
8943 #endif
8945 if test "x$ac_cv_header_netinet_tcp_var_h" = xyes
8946 then :
8947 printf "%s\n" "#define HAVE_NETINET_TCP_VAR_H 1" >>confdefs.h
8952 ac_fn_c_check_header_compile "$LINENO" "linux/ipx.h" "ac_cv_header_linux_ipx_h" "#include <sys/types.h>
8953 #include <sys/socket.h>
8954 #ifdef HAVE_ASM_TYPES_H
8955 # include <asm/types.h>
8956 #endif
8957 #ifdef HAVE_LINUX_TYPES_H
8958 # include <linux/types.h>
8959 #endif
8961 if test "x$ac_cv_header_linux_ipx_h" = xyes
8962 then :
8963 printf "%s\n" "#define HAVE_LINUX_IPX_H 1" >>confdefs.h
8966 ac_fn_c_check_header_compile "$LINENO" "linux/irda.h" "ac_cv_header_linux_irda_h" "#include <sys/types.h>
8967 #include <sys/socket.h>
8968 #ifdef HAVE_ASM_TYPES_H
8969 # include <asm/types.h>
8970 #endif
8971 #ifdef HAVE_LINUX_TYPES_H
8972 # include <linux/types.h>
8973 #endif
8975 if test "x$ac_cv_header_linux_irda_h" = xyes
8976 then :
8977 printf "%s\n" "#define HAVE_LINUX_IRDA_H 1" >>confdefs.h
8980 ac_fn_c_check_header_compile "$LINENO" "linux/rtnetlink.h" "ac_cv_header_linux_rtnetlink_h" "#include <sys/types.h>
8981 #include <sys/socket.h>
8982 #ifdef HAVE_ASM_TYPES_H
8983 # include <asm/types.h>
8984 #endif
8985 #ifdef HAVE_LINUX_TYPES_H
8986 # include <linux/types.h>
8987 #endif
8989 if test "x$ac_cv_header_linux_rtnetlink_h" = xyes
8990 then :
8991 printf "%s\n" "#define HAVE_LINUX_RTNETLINK_H 1" >>confdefs.h
8996 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
8997 #include <sys/socket.h>
8998 #ifdef HAVE_NETINET_IN_H
8999 # include <netinet/in.h>
9000 #endif
9001 #ifdef HAVE_ARPA_NAMESER_H
9002 # include <arpa/nameser.h>
9003 #endif
9005 if test "x$ac_cv_header_resolv_h" = xyes
9006 then :
9007 printf "%s\n" "#define HAVE_RESOLV_H 1" >>confdefs.h
9012 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
9014 if test "x$ac_cv_header_ifaddrs_h" = xyes
9015 then :
9016 printf "%s\n" "#define HAVE_IFADDRS_H 1" >>confdefs.h
9021 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
9023 if test "x$ac_cv_header_sys_ucontext_h" = xyes
9024 then :
9025 printf "%s\n" "#define HAVE_SYS_UCONTEXT_H 1" >>confdefs.h
9030 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
9031 #ifdef HAVE_SYS_UCONTEXT_H
9032 #include <sys/ucontext.h>
9033 #endif
9035 if test "x$ac_cv_header_sys_thr_h" = xyes
9036 then :
9037 printf "%s\n" "#define HAVE_SYS_THR_H 1" >>confdefs.h
9042 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
9043 #include <pthread.h>
9044 #endif
9046 if test "x$ac_cv_header_pthread_np_h" = xyes
9047 then :
9048 printf "%s\n" "#define HAVE_PTHREAD_NP_H 1" >>confdefs.h
9053 ac_fn_c_check_header_compile "$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "#include <sys/time.h>
9054 #include <sys/types.h>
9055 #ifdef HAVE_ASM_TYPES_H
9056 #include <asm/types.h>
9057 #endif
9059 if test "x$ac_cv_header_linux_videodev2_h" = xyes
9060 then :
9061 printf "%s\n" "#define HAVE_LINUX_VIDEODEV2_H 1" >>confdefs.h
9066 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
9067 #include <sys/param.h>
9068 #endif
9069 #include <sys/socket.h>
9070 #ifdef HAVE_SYS_QUEUE_H
9071 #include <sys/queue.h>
9072 #endif
9074 if test "x$ac_cv_header_libprocstat_h" = xyes
9075 then :
9076 printf "%s\n" "#define HAVE_LIBPROCSTAT_H 1" >>confdefs.h
9081 if test "x$ac_cv_header_sys_xattr_h" = xyes
9082 then
9083 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether getxattr takes additional arguments" >&5
9084 printf %s "checking whether getxattr takes additional arguments... " >&6; }
9085 if test ${wine_cv_xattr_extra_args+y}
9086 then :
9087 printf %s "(cached) " >&6
9088 else $as_nop
9089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9090 /* end confdefs.h. */
9091 #include <sys/xattr.h>
9093 main (void)
9095 getxattr("", "", "", 0, 0, 0);
9097 return 0;
9099 _ACEOF
9100 if ac_fn_c_try_compile "$LINENO"
9101 then :
9102 wine_cv_xattr_extra_args=yes
9103 else $as_nop
9104 wine_cv_xattr_extra_args=no
9106 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9108 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_xattr_extra_args" >&5
9109 printf "%s\n" "$wine_cv_xattr_extra_args" >&6; }
9110 test $wine_cv_xattr_extra_args != yes ||
9111 printf "%s\n" "#define XATTR_ADDITIONAL_OPTIONS 1" >>confdefs.h
9116 DLLFLAGS=""
9118 LDDLLFLAGS=""
9120 LDEXECFLAGS=""
9122 EXTRACFLAGS=""
9124 UNIXDLLFLAGS="-fPIC"
9126 UNIXLDFLAGS="-shared -Wl,-Bsymbolic -Wl,-soname,\$(UNIXLIB)"
9128 TOP_INSTALL_LIB=""
9130 TOP_INSTALL_DEV=""
9132 WINELOADER_LDFLAGS=""
9134 WINEPRELOADER_LDFLAGS=""
9136 LIBEXT="so"
9137 # Extract the first word of "ldd", so it can be a program name with args.
9138 set dummy ldd; ac_word=$2
9139 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9140 printf %s "checking for $ac_word... " >&6; }
9141 if test ${ac_cv_path_LDD+y}
9142 then :
9143 printf %s "(cached) " >&6
9144 else $as_nop
9145 case $LDD in
9146 [\\/]* | ?:[\\/]*)
9147 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
9150 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9151 as_dummy="/sbin:/usr/sbin:$PATH"
9152 for as_dir in $as_dummy
9154 IFS=$as_save_IFS
9155 case $as_dir in #(((
9156 '') as_dir=./ ;;
9157 */) ;;
9158 *) as_dir=$as_dir/ ;;
9159 esac
9160 for ac_exec_ext in '' $ac_executable_extensions; do
9161 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9162 ac_cv_path_LDD="$as_dir$ac_word$ac_exec_ext"
9163 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9164 break 2
9166 done
9167 done
9168 IFS=$as_save_IFS
9170 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
9172 esac
9174 LDD=$ac_cv_path_LDD
9175 if test -n "$LDD"; then
9176 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
9177 printf "%s\n" "$LDD" >&6; }
9178 else
9179 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9180 printf "%s\n" "no" >&6; }
9184 if test -n "$ac_tool_prefix"; then
9185 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
9186 set dummy ${ac_tool_prefix}otool; ac_word=$2
9187 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9188 printf %s "checking for $ac_word... " >&6; }
9189 if test ${ac_cv_prog_OTOOL+y}
9190 then :
9191 printf %s "(cached) " >&6
9192 else $as_nop
9193 if test -n "$OTOOL"; then
9194 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
9195 else
9196 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9197 for as_dir in $PATH
9199 IFS=$as_save_IFS
9200 case $as_dir in #(((
9201 '') as_dir=./ ;;
9202 */) ;;
9203 *) as_dir=$as_dir/ ;;
9204 esac
9205 for ac_exec_ext in '' $ac_executable_extensions; do
9206 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9207 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
9208 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9209 break 2
9211 done
9212 done
9213 IFS=$as_save_IFS
9217 OTOOL=$ac_cv_prog_OTOOL
9218 if test -n "$OTOOL"; then
9219 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
9220 printf "%s\n" "$OTOOL" >&6; }
9221 else
9222 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9223 printf "%s\n" "no" >&6; }
9228 if test -z "$ac_cv_prog_OTOOL"; then
9229 ac_ct_OTOOL=$OTOOL
9230 # Extract the first word of "otool", so it can be a program name with args.
9231 set dummy otool; ac_word=$2
9232 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9233 printf %s "checking for $ac_word... " >&6; }
9234 if test ${ac_cv_prog_ac_ct_OTOOL+y}
9235 then :
9236 printf %s "(cached) " >&6
9237 else $as_nop
9238 if test -n "$ac_ct_OTOOL"; then
9239 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
9240 else
9241 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9242 for as_dir in $PATH
9244 IFS=$as_save_IFS
9245 case $as_dir in #(((
9246 '') as_dir=./ ;;
9247 */) ;;
9248 *) as_dir=$as_dir/ ;;
9249 esac
9250 for ac_exec_ext in '' $ac_executable_extensions; do
9251 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9252 ac_cv_prog_ac_ct_OTOOL="otool"
9253 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9254 break 2
9256 done
9257 done
9258 IFS=$as_save_IFS
9262 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
9263 if test -n "$ac_ct_OTOOL"; then
9264 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
9265 printf "%s\n" "$ac_ct_OTOOL" >&6; }
9266 else
9267 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9268 printf "%s\n" "no" >&6; }
9271 if test "x$ac_ct_OTOOL" = x; then
9272 OTOOL="otool"
9273 else
9274 case $cross_compiling:$ac_tool_warned in
9275 yes:)
9276 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9277 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9278 ac_tool_warned=yes ;;
9279 esac
9280 OTOOL=$ac_ct_OTOOL
9282 else
9283 OTOOL="$ac_cv_prog_OTOOL"
9286 if test -n "$ac_tool_prefix"; then
9287 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
9288 set dummy ${ac_tool_prefix}readelf; ac_word=$2
9289 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9290 printf %s "checking for $ac_word... " >&6; }
9291 if test ${ac_cv_prog_READELF+y}
9292 then :
9293 printf %s "(cached) " >&6
9294 else $as_nop
9295 if test -n "$READELF"; then
9296 ac_cv_prog_READELF="$READELF" # Let the user override the test.
9297 else
9298 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9299 for as_dir in $PATH
9301 IFS=$as_save_IFS
9302 case $as_dir in #(((
9303 '') as_dir=./ ;;
9304 */) ;;
9305 *) as_dir=$as_dir/ ;;
9306 esac
9307 for ac_exec_ext in '' $ac_executable_extensions; do
9308 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9309 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
9310 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9311 break 2
9313 done
9314 done
9315 IFS=$as_save_IFS
9319 READELF=$ac_cv_prog_READELF
9320 if test -n "$READELF"; then
9321 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
9322 printf "%s\n" "$READELF" >&6; }
9323 else
9324 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9325 printf "%s\n" "no" >&6; }
9330 if test -z "$ac_cv_prog_READELF"; then
9331 ac_ct_READELF=$READELF
9332 # Extract the first word of "readelf", so it can be a program name with args.
9333 set dummy readelf; ac_word=$2
9334 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9335 printf %s "checking for $ac_word... " >&6; }
9336 if test ${ac_cv_prog_ac_ct_READELF+y}
9337 then :
9338 printf %s "(cached) " >&6
9339 else $as_nop
9340 if test -n "$ac_ct_READELF"; then
9341 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
9342 else
9343 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9344 for as_dir in $PATH
9346 IFS=$as_save_IFS
9347 case $as_dir in #(((
9348 '') as_dir=./ ;;
9349 */) ;;
9350 *) as_dir=$as_dir/ ;;
9351 esac
9352 for ac_exec_ext in '' $ac_executable_extensions; do
9353 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9354 ac_cv_prog_ac_ct_READELF="readelf"
9355 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9356 break 2
9358 done
9359 done
9360 IFS=$as_save_IFS
9364 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
9365 if test -n "$ac_ct_READELF"; then
9366 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
9367 printf "%s\n" "$ac_ct_READELF" >&6; }
9368 else
9369 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9370 printf "%s\n" "no" >&6; }
9373 if test "x$ac_ct_READELF" = x; then
9374 READELF="true"
9375 else
9376 case $cross_compiling:$ac_tool_warned in
9377 yes:)
9378 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9379 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9380 ac_tool_warned=yes ;;
9381 esac
9382 READELF=$ac_ct_READELF
9384 else
9385 READELF="$ac_cv_prog_READELF"
9388 wine_rules="all:"
9389 SUBDIRS=""
9391 DISABLED_SUBDIRS=""
9393 CONFIGURE_TARGETS=""
9396 wine_fn_config_makefile ()
9398 as_fn_append SUBDIRS " \\$as_nl $1"
9399 eval enable=\$$2
9400 case "$enable" in
9401 no) as_fn_append DISABLED_SUBDIRS " $1" ;;
9402 *aarch64*|*arm*|*i386*|*x86_64*)
9403 if test -n "$PE_ARCHS"
9404 then
9405 for i in $PE_ARCHS
9407 test $(expr ",$enable," : ".*,$i,") -gt 0 || as_fn_append ${i}_DISABLED_SUBDIRS " $1"
9408 done
9409 else
9410 test $(expr ",$enable," : ".*,$HOST_ARCH,") -gt 0 || as_fn_append DISABLED_SUBDIRS " $1"
9411 fi;;
9412 esac
9415 wine_fn_config_symlink ()
9417 ac_links=$@
9418 as_fn_append wine_rules "
9419 $ac_links:
9420 @./config.status \$@"
9421 for f in $ac_links; do as_fn_append CONFIGURE_TARGETS " $f"; done
9424 case $host_os in
9425 cygwin*|mingw32*)
9426 LIBEXT="dll"
9427 EXTRACFLAGS="-D__WINE_PE_BUILD"
9428 case $host_cpu in
9429 *i[3456]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--disable-stdcall-fixup" >&5
9430 printf %s "checking whether the compiler supports -Wl,--disable-stdcall-fixup... " >&6; }
9431 if test ${ac_cv_cflags__Wl___disable_stdcall_fixup+y}
9432 then :
9433 printf %s "(cached) " >&6
9434 else $as_nop
9435 ac_wine_try_cflags_saved=$CFLAGS
9436 CFLAGS="$CFLAGS -Wl,--disable-stdcall-fixup"
9437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9438 /* end confdefs.h. */
9439 int main(int argc, char **argv) { return 0; }
9440 _ACEOF
9441 if ac_fn_c_try_link "$LINENO"
9442 then :
9443 ac_cv_cflags__Wl___disable_stdcall_fixup=yes
9444 else $as_nop
9445 ac_cv_cflags__Wl___disable_stdcall_fixup=no
9447 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9448 conftest$ac_exeext conftest.$ac_ext
9449 CFLAGS=$ac_wine_try_cflags_saved
9451 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___disable_stdcall_fixup" >&5
9452 printf "%s\n" "$ac_cv_cflags__Wl___disable_stdcall_fixup" >&6; }
9453 if test "x$ac_cv_cflags__Wl___disable_stdcall_fixup" = xyes
9454 then :
9455 LDDLLFLAGS="-Wl,--disable-stdcall-fixup"
9456 fi ;;
9457 esac
9458 enable_loader=${enable_loader:-no}
9459 enable_server=${enable_server:-no}
9460 with_x=${with_x:-no}
9461 with_pthread=${with_pthread:-no}
9464 darwin*|macosx*)
9465 LIBEXT="dylib"
9466 DLLFLAGS="$DLLFLAGS -fPIC"
9467 LDDLLFLAGS="-fPIC"
9468 enable_winemac_drv=${enable_winemac_drv:-yes}
9469 CARBON_LIBS="-framework Carbon"
9471 COREFOUNDATION_LIBS="-framework CoreFoundation"
9473 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
9475 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
9477 METAL_LIBS="-framework Metal"
9479 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
9481 CORESERVICES_LIBS="-framework CoreServices"
9483 APPKIT_LIBS="-framework AppKit"
9485 SECURITY_LIBS="-framework Security -framework CoreFoundation"
9487 SYSTEMCONFIGURATION_LIBS="-framework SystemConfiguration"
9490 WINELOADER_LDFLAGS="-Wl,-pie,-segalign,0x1000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist"
9492 wine_can_build_preloader=yes
9493 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"
9494 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main" >&5
9495 printf %s "checking whether the compiler supports -Wl,-no_new_main -e _main... " >&6; }
9496 if test ${ac_cv_cflags__Wl__no_new_main__e__main+y}
9497 then :
9498 printf %s "(cached) " >&6
9499 else $as_nop
9500 ac_wine_try_cflags_saved=$CFLAGS
9501 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main"
9502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9503 /* end confdefs.h. */
9504 int main(int argc, char **argv) { return 0; }
9505 _ACEOF
9506 if ac_fn_c_try_link "$LINENO"
9507 then :
9508 ac_cv_cflags__Wl__no_new_main__e__main=yes
9509 else $as_nop
9510 ac_cv_cflags__Wl__no_new_main__e__main=no
9512 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9513 conftest$ac_exeext conftest.$ac_ext
9514 CFLAGS=$ac_wine_try_cflags_saved
9516 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main" >&5
9517 printf "%s\n" "$ac_cv_cflags__Wl__no_new_main__e__main" >&6; }
9518 if test "x$ac_cv_cflags__Wl__no_new_main__e__main" = xyes
9519 then :
9520 WINEPRELOADER_LDFLAGS="-Wl,-no_new_main $WINEPRELOADER_LDFLAGS"
9521 { 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
9522 printf %s "checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
9523 if test ${ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+y}
9524 then :
9525 printf %s "(cached) " >&6
9526 else $as_nop
9527 ac_wine_try_cflags_saved=$CFLAGS
9528 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
9529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9530 /* end confdefs.h. */
9531 int main(int argc, char **argv) { return 0; }
9532 _ACEOF
9533 if ac_fn_c_try_link "$LINENO"
9534 then :
9535 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
9536 else $as_nop
9537 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
9539 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9540 conftest$ac_exeext conftest.$ac_ext
9541 CFLAGS=$ac_wine_try_cflags_saved
9543 { 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
9544 printf "%s\n" "$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
9545 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes
9546 then :
9547 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
9548 else $as_nop
9549 wine_can_build_preloader=no
9551 else $as_nop
9552 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
9553 printf %s "checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
9554 if test ${ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+y}
9555 then :
9556 printf %s "(cached) " >&6
9557 else $as_nop
9558 ac_wine_try_cflags_saved=$CFLAGS
9559 CFLAGS="$CFLAGS -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
9560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9561 /* end confdefs.h. */
9562 int main(int argc, char **argv) { return 0; }
9563 _ACEOF
9564 if ac_fn_c_try_link "$LINENO"
9565 then :
9566 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
9567 else $as_nop
9568 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
9570 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9571 conftest$ac_exeext conftest.$ac_ext
9572 CFLAGS=$ac_wine_try_cflags_saved
9574 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
9575 printf "%s\n" "$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
9576 if test "x$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes
9577 then :
9578 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
9579 else $as_nop
9580 wine_can_build_preloader=no
9583 if test "$wine_can_build_preloader" = "yes"
9584 then
9585 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
9586 printf %s "checking whether the compiler supports -Wl,-no_pie... " >&6; }
9587 if test ${ac_cv_cflags__Wl__no_pie+y}
9588 then :
9589 printf %s "(cached) " >&6
9590 else $as_nop
9591 ac_wine_try_cflags_saved=$CFLAGS
9592 CFLAGS="$CFLAGS -Wl,-no_pie"
9593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9594 /* end confdefs.h. */
9595 int main(int argc, char **argv) { return 0; }
9596 _ACEOF
9597 if ac_fn_c_try_link "$LINENO"
9598 then :
9599 ac_cv_cflags__Wl__no_pie=yes
9600 else $as_nop
9601 ac_cv_cflags__Wl__no_pie=no
9603 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9604 conftest$ac_exeext conftest.$ac_ext
9605 CFLAGS=$ac_wine_try_cflags_saved
9607 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
9608 printf "%s\n" "$ac_cv_cflags__Wl__no_pie" >&6; }
9609 if test "x$ac_cv_cflags__Wl__no_pie" = xyes
9610 then :
9611 WINEPRELOADER_LDFLAGS="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
9613 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -mmacosx-version-min=10.7"
9614 else
9615 as_fn_append wine_warnings "|can't build Wine preloader; many programs won't work"
9618 if test "x$with_coreaudio" != "xno";
9619 then
9620 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
9622 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
9624 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
9625 then
9626 OPENCL_LIBS="-framework OpenCL"
9628 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
9631 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether MTLDevice protocol supports registryID property" >&5
9632 printf %s "checking whether MTLDevice protocol supports registryID property... " >&6; }
9633 ac_ext=m
9634 ac_cpp='$OBJCPP $CPPFLAGS'
9635 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9636 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9637 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9639 ac_ext=m
9640 ac_cpp='$OBJCPP $CPPFLAGS'
9641 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9642 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9643 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9644 if test -n "$ac_tool_prefix"; then
9645 for ac_prog in gcc objcc objc cc CC clang
9647 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
9648 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
9649 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9650 printf %s "checking for $ac_word... " >&6; }
9651 if test ${ac_cv_prog_OBJC+y}
9652 then :
9653 printf %s "(cached) " >&6
9654 else $as_nop
9655 if test -n "$OBJC"; then
9656 ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
9657 else
9658 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9659 for as_dir in $PATH
9661 IFS=$as_save_IFS
9662 case $as_dir in #(((
9663 '') as_dir=./ ;;
9664 */) ;;
9665 *) as_dir=$as_dir/ ;;
9666 esac
9667 for ac_exec_ext in '' $ac_executable_extensions; do
9668 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9669 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
9670 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9671 break 2
9673 done
9674 done
9675 IFS=$as_save_IFS
9679 OBJC=$ac_cv_prog_OBJC
9680 if test -n "$OBJC"; then
9681 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
9682 printf "%s\n" "$OBJC" >&6; }
9683 else
9684 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9685 printf "%s\n" "no" >&6; }
9689 test -n "$OBJC" && break
9690 done
9692 if test -z "$OBJC"; then
9693 ac_ct_OBJC=$OBJC
9694 for ac_prog in gcc objcc objc cc CC clang
9696 # Extract the first word of "$ac_prog", so it can be a program name with args.
9697 set dummy $ac_prog; ac_word=$2
9698 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9699 printf %s "checking for $ac_word... " >&6; }
9700 if test ${ac_cv_prog_ac_ct_OBJC+y}
9701 then :
9702 printf %s "(cached) " >&6
9703 else $as_nop
9704 if test -n "$ac_ct_OBJC"; then
9705 ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
9706 else
9707 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9708 for as_dir in $PATH
9710 IFS=$as_save_IFS
9711 case $as_dir in #(((
9712 '') as_dir=./ ;;
9713 */) ;;
9714 *) as_dir=$as_dir/ ;;
9715 esac
9716 for ac_exec_ext in '' $ac_executable_extensions; do
9717 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9718 ac_cv_prog_ac_ct_OBJC="$ac_prog"
9719 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9720 break 2
9722 done
9723 done
9724 IFS=$as_save_IFS
9728 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
9729 if test -n "$ac_ct_OBJC"; then
9730 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
9731 printf "%s\n" "$ac_ct_OBJC" >&6; }
9732 else
9733 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9734 printf "%s\n" "no" >&6; }
9738 test -n "$ac_ct_OBJC" && break
9739 done
9741 if test "x$ac_ct_OBJC" = x; then
9742 OBJC="gcc"
9743 else
9744 case $cross_compiling:$ac_tool_warned in
9745 yes:)
9746 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9747 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9748 ac_tool_warned=yes ;;
9749 esac
9750 OBJC=$ac_ct_OBJC
9754 # Provide some information about the compiler.
9755 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
9756 set X $ac_compile
9757 ac_compiler=$2
9758 for ac_option in --version -v -V -qversion; do
9759 { { ac_try="$ac_compiler $ac_option >&5"
9760 case "(($ac_try" in
9761 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9762 *) ac_try_echo=$ac_try;;
9763 esac
9764 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
9765 printf "%s\n" "$ac_try_echo"; } >&5
9766 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
9767 ac_status=$?
9768 if test -s conftest.err; then
9769 sed '10a\
9770 ... rest of stderr output deleted ...
9771 10q' conftest.err >conftest.er1
9772 cat conftest.er1 >&5
9774 rm -f conftest.er1 conftest.err
9775 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9776 test $ac_status = 0; }
9777 done
9779 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU Objective C" >&5
9780 printf %s "checking whether the compiler supports GNU Objective C... " >&6; }
9781 if test ${ac_cv_objc_compiler_gnu+y}
9782 then :
9783 printf %s "(cached) " >&6
9784 else $as_nop
9785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9786 /* end confdefs.h. */
9789 main (void)
9791 #ifndef __GNUC__
9792 choke me
9793 #endif
9796 return 0;
9798 _ACEOF
9799 if ac_fn_objc_try_compile "$LINENO"
9800 then :
9801 ac_compiler_gnu=yes
9802 else $as_nop
9803 ac_compiler_gnu=no
9805 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9806 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
9809 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
9810 printf "%s\n" "$ac_cv_objc_compiler_gnu" >&6; }
9811 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9813 if test $ac_compiler_gnu = yes; then
9814 GOBJC=yes
9815 else
9816 GOBJC=
9818 ac_test_OBJCFLAGS=${OBJCFLAGS+y}
9819 ac_save_OBJCFLAGS=$OBJCFLAGS
9820 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
9821 printf %s "checking whether $OBJC accepts -g... " >&6; }
9822 if test ${ac_cv_prog_objc_g+y}
9823 then :
9824 printf %s "(cached) " >&6
9825 else $as_nop
9826 ac_save_objc_werror_flag=$ac_objc_werror_flag
9827 ac_objc_werror_flag=yes
9828 ac_cv_prog_objc_g=no
9829 OBJCFLAGS="-g"
9830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9831 /* end confdefs.h. */
9834 main (void)
9838 return 0;
9840 _ACEOF
9841 if ac_fn_objc_try_compile "$LINENO"
9842 then :
9843 ac_cv_prog_objc_g=yes
9844 else $as_nop
9845 OBJCFLAGS=""
9846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9847 /* end confdefs.h. */
9850 main (void)
9854 return 0;
9856 _ACEOF
9857 if ac_fn_objc_try_compile "$LINENO"
9858 then :
9860 else $as_nop
9861 ac_objc_werror_flag=$ac_save_objc_werror_flag
9862 OBJCFLAGS="-g"
9863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9864 /* end confdefs.h. */
9867 main (void)
9871 return 0;
9873 _ACEOF
9874 if ac_fn_objc_try_compile "$LINENO"
9875 then :
9876 ac_cv_prog_objc_g=yes
9878 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9880 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9882 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9883 ac_objc_werror_flag=$ac_save_objc_werror_flag
9885 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
9886 printf "%s\n" "$ac_cv_prog_objc_g" >&6; }
9887 if test $ac_test_OBJCFLAGS; then
9888 OBJCFLAGS=$ac_save_OBJCFLAGS
9889 elif test $ac_cv_prog_objc_g = yes; then
9890 if test "$GOBJC" = yes; then
9891 OBJCFLAGS="-g -O2"
9892 else
9893 OBJCFLAGS="-g"
9895 else
9896 if test "$GOBJC" = yes; then
9897 OBJCFLAGS="-O2"
9898 else
9899 OBJCFLAGS=
9902 ac_ext=m
9903 ac_cpp='$OBJCPP $CPPFLAGS'
9904 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9905 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9906 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9910 /* end confdefs.h. */
9911 #include <Metal/Metal.h>
9913 main (void)
9915 id<MTLDevice> device; device.registryID;
9917 return 0;
9919 _ACEOF
9920 if ac_fn_objc_try_compile "$LINENO"
9921 then :
9922 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9923 printf "%s\n" "yes" >&6; }
9925 printf "%s\n" "#define HAVE_MTLDEVICE_REGISTRYID 1" >>confdefs.h
9927 else $as_nop
9928 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9929 printf "%s\n" "no" >&6; }
9931 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9932 ac_ext=c
9933 ac_cpp='$CPP $CPPFLAGS'
9934 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9935 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9936 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9939 UNIXLDFLAGS="-dynamiclib -install_name @rpath/\$(UNIXLIB) -Wl,-rpath,@loader_path\/"
9940 WINELOADER_DEPENDS="wine_info.plist"
9944 linux-android*)
9946 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
9948 DLLFLAGS="$DLLFLAGS -fPIC"
9949 LDDLLFLAGS="-fPIC"
9950 LDEXECFLAGS="-Wl,-pie"
9951 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
9952 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
9953 printf %s "checking whether the compiler supports -Wl,-z,defs... " >&6; }
9954 if test ${ac_cv_cflags__Wl__z_defs+y}
9955 then :
9956 printf %s "(cached) " >&6
9957 else $as_nop
9958 ac_wine_try_cflags_saved=$CFLAGS
9959 CFLAGS="$CFLAGS -Wl,-z,defs"
9960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9961 /* end confdefs.h. */
9962 int main(int argc, char **argv) { return 0; }
9963 _ACEOF
9964 if ac_fn_c_try_link "$LINENO"
9965 then :
9966 ac_cv_cflags__Wl__z_defs=yes
9967 else $as_nop
9968 ac_cv_cflags__Wl__z_defs=no
9970 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9971 conftest$ac_exeext conftest.$ac_ext
9972 CFLAGS=$ac_wine_try_cflags_saved
9974 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
9975 printf "%s\n" "$ac_cv_cflags__Wl__z_defs" >&6; }
9976 if test "x$ac_cv_cflags__Wl__z_defs" = xyes
9977 then :
9978 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
9980 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
9981 printf %s "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
9982 if test ${ac_cv_cflags__fPIC__Wl___export_dynamic+y}
9983 then :
9984 printf %s "(cached) " >&6
9985 else $as_nop
9986 ac_wine_try_cflags_saved=$CFLAGS
9987 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
9988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9989 /* end confdefs.h. */
9990 int main(int argc, char **argv) { return 0; }
9991 _ACEOF
9992 if ac_fn_c_try_link "$LINENO"
9993 then :
9994 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
9995 else $as_nop
9996 ac_cv_cflags__fPIC__Wl___export_dynamic=no
9998 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9999 conftest$ac_exeext conftest.$ac_ext
10000 CFLAGS=$ac_wine_try_cflags_saved
10002 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
10003 printf "%s\n" "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
10004 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
10005 then :
10006 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
10008 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
10010 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
10011 printf %s "checking for -lEGL... " >&6; }
10012 if test ${ac_cv_lib_soname_EGL+y}
10013 then :
10014 printf %s "(cached) " >&6
10015 else $as_nop
10016 ac_check_soname_save_LIBS=$LIBS
10017 LIBS="-lEGL $LIBS"
10018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10019 /* end confdefs.h. */
10021 /* Override any GCC internal prototype to avoid an error.
10022 Use char because int might match the return type of a GCC
10023 builtin and then its argument prototype would still apply. */
10024 char eglGetProcAddress ();
10026 main (void)
10028 return eglGetProcAddress ();
10030 return 0;
10032 _ACEOF
10033 if ac_fn_c_try_link "$LINENO"
10034 then :
10035 case "$LIBEXT" in
10036 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10037 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'` ;;
10038 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10039 if ${ac_cv_lib_soname_EGL:+false} :
10040 then :
10041 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10042 fi ;;
10043 esac
10044 else $as_nop
10045 ac_cv_lib_soname_EGL=
10047 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10048 conftest$ac_exeext conftest.$ac_ext
10049 LIBS=$ac_check_soname_save_LIBS
10051 if ${ac_cv_lib_soname_EGL:+false} :
10052 then :
10053 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10054 printf "%s\n" "not found" >&6; }
10056 else $as_nop
10057 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
10058 printf "%s\n" "$ac_cv_lib_soname_EGL" >&6; }
10060 printf "%s\n" "#define SONAME_LIBEGL \"$ac_cv_lib_soname_EGL\"" >>confdefs.h
10064 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
10065 printf %s "checking for -lGLESv2... " >&6; }
10066 if test ${ac_cv_lib_soname_GLESv2+y}
10067 then :
10068 printf %s "(cached) " >&6
10069 else $as_nop
10070 ac_check_soname_save_LIBS=$LIBS
10071 LIBS="-lGLESv2 $LIBS"
10072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10073 /* end confdefs.h. */
10075 /* Override any GCC internal prototype to avoid an error.
10076 Use char because int might match the return type of a GCC
10077 builtin and then its argument prototype would still apply. */
10078 char glFlush ();
10080 main (void)
10082 return glFlush ();
10084 return 0;
10086 _ACEOF
10087 if ac_fn_c_try_link "$LINENO"
10088 then :
10089 case "$LIBEXT" in
10090 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10091 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'` ;;
10092 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10093 if ${ac_cv_lib_soname_GLESv2:+false} :
10094 then :
10095 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10096 fi ;;
10097 esac
10098 else $as_nop
10099 ac_cv_lib_soname_GLESv2=
10101 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10102 conftest$ac_exeext conftest.$ac_ext
10103 LIBS=$ac_check_soname_save_LIBS
10105 if ${ac_cv_lib_soname_GLESv2:+false} :
10106 then :
10107 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10108 printf "%s\n" "not found" >&6; }
10110 else $as_nop
10111 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
10112 printf "%s\n" "$ac_cv_lib_soname_GLESv2" >&6; }
10114 printf "%s\n" "#define SONAME_LIBGLESV2 \"$ac_cv_lib_soname_GLESv2\"" >>confdefs.h
10119 if test "x$exec_prefix" = xNONE
10120 then
10121 case $host_cpu in
10122 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
10123 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
10124 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
10125 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
10126 esac
10132 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
10134 test "$ac_cv_sys_file_offset_bits" = 64 &&
10135 printf "%s\n" "#define _TIME_BITS 64" >>confdefs.h
10137 case $host_cpu in
10138 *i[3456789]86*)
10139 DLLFLAGS="$DLLFLAGS -fno-PIC"
10140 LDDLLFLAGS="-fno-PIC"
10141 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-PIC -Wl,-z,notext" >&5
10142 printf %s "checking whether the compiler supports -fno-PIC -Wl,-z,notext... " >&6; }
10143 if test ${ac_cv_cflags__fno_PIC__Wl__z_notext+y}
10144 then :
10145 printf %s "(cached) " >&6
10146 else $as_nop
10147 ac_wine_try_cflags_saved=$CFLAGS
10148 CFLAGS="$CFLAGS -fno-PIC -Wl,-z,notext"
10149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10150 /* end confdefs.h. */
10151 int main(int argc, char **argv) { return 0; }
10152 _ACEOF
10153 if ac_fn_c_try_link "$LINENO"
10154 then :
10155 ac_cv_cflags__fno_PIC__Wl__z_notext=yes
10156 else $as_nop
10157 ac_cv_cflags__fno_PIC__Wl__z_notext=no
10159 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10160 conftest$ac_exeext conftest.$ac_ext
10161 CFLAGS=$ac_wine_try_cflags_saved
10163 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_PIC__Wl__z_notext" >&5
10164 printf "%s\n" "$ac_cv_cflags__fno_PIC__Wl__z_notext" >&6; }
10165 if test "x$ac_cv_cflags__fno_PIC__Wl__z_notext" = xyes
10166 then :
10167 LDDLLFLAGS="$LDDLLFLAGS -Wl,-z,notext"
10171 DLLFLAGS="$DLLFLAGS -fPIC"
10172 LDDLLFLAGS="-fPIC" ;;
10173 esac
10175 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
10176 printf %s "checking whether the compiler supports -Wl,-z,defs... " >&6; }
10177 if test ${ac_cv_cflags__Wl__z_defs+y}
10178 then :
10179 printf %s "(cached) " >&6
10180 else $as_nop
10181 ac_wine_try_cflags_saved=$CFLAGS
10182 CFLAGS="$CFLAGS -Wl,-z,defs"
10183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10184 /* end confdefs.h. */
10185 int main(int argc, char **argv) { return 0; }
10186 _ACEOF
10187 if ac_fn_c_try_link "$LINENO"
10188 then :
10189 ac_cv_cflags__Wl__z_defs=yes
10190 else $as_nop
10191 ac_cv_cflags__Wl__z_defs=no
10193 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10194 conftest$ac_exeext conftest.$ac_ext
10195 CFLAGS=$ac_wine_try_cflags_saved
10197 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
10198 printf "%s\n" "$ac_cv_cflags__Wl__z_defs" >&6; }
10199 if test "x$ac_cv_cflags__Wl__z_defs" = xyes
10200 then :
10201 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
10203 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--export-dynamic" >&5
10204 printf %s "checking whether the compiler supports -Wl,--export-dynamic... " >&6; }
10205 if test ${ac_cv_cflags__Wl___export_dynamic+y}
10206 then :
10207 printf %s "(cached) " >&6
10208 else $as_nop
10209 ac_wine_try_cflags_saved=$CFLAGS
10210 CFLAGS="$CFLAGS -Wl,--export-dynamic"
10211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10212 /* end confdefs.h. */
10213 int main(int argc, char **argv) { return 0; }
10214 _ACEOF
10215 if ac_fn_c_try_link "$LINENO"
10216 then :
10217 ac_cv_cflags__Wl___export_dynamic=yes
10218 else $as_nop
10219 ac_cv_cflags__Wl___export_dynamic=no
10221 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10222 conftest$ac_exeext conftest.$ac_ext
10223 CFLAGS=$ac_wine_try_cflags_saved
10225 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___export_dynamic" >&5
10226 printf "%s\n" "$ac_cv_cflags__Wl___export_dynamic" >&6; }
10227 if test "x$ac_cv_cflags__Wl___export_dynamic" = xyes
10228 then :
10229 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
10231 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
10233 case $host_cpu in
10234 *i[3456789]86* | x86_64 | *aarch64* | arm*)
10235 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
10236 printf %s "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
10237 if test ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+y}
10238 then :
10239 printf %s "(cached) " >&6
10240 else $as_nop
10241 ac_wine_try_cflags_saved=$CFLAGS
10242 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
10243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10244 /* end confdefs.h. */
10245 int main(int argc, char **argv) { return 0; }
10246 _ACEOF
10247 if ac_fn_c_try_link "$LINENO"
10248 then :
10249 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
10250 else $as_nop
10251 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
10253 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10254 conftest$ac_exeext conftest.$ac_ext
10255 CFLAGS=$ac_wine_try_cflags_saved
10257 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
10258 printf "%s\n" "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
10259 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes
10260 then :
10261 case $host_os in
10262 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
10263 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7d000000" ;;
10264 esac
10265 else $as_nop
10266 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400" >&5
10267 printf %s "checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400... " >&6; }
10268 if test ${ac_cv_cflags__Wl___section_start__interp_0x7d000400+y}
10269 then :
10270 printf %s "(cached) " >&6
10271 else $as_nop
10272 ac_wine_try_cflags_saved=$CFLAGS
10273 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7d000400"
10274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10275 /* end confdefs.h. */
10276 int main(int argc, char **argv) { return 0; }
10277 _ACEOF
10278 if ac_fn_c_try_link "$LINENO"
10279 then :
10280 ac_cv_cflags__Wl___section_start__interp_0x7d000400=yes
10281 else $as_nop
10282 ac_cv_cflags__Wl___section_start__interp_0x7d000400=no
10284 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10285 conftest$ac_exeext conftest.$ac_ext
10286 CFLAGS=$ac_wine_try_cflags_saved
10288 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&5
10289 printf "%s\n" "$ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&6; }
10290 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7d000400" = xyes
10291 then :
10292 case $host_os in
10293 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
10294 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7d000400" ;;
10295 esac
10298 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
10299 printf %s "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
10300 if test ${ac_cv_cflags__Wl__z_max_page_size_0x1000+y}
10301 then :
10302 printf %s "(cached) " >&6
10303 else $as_nop
10304 ac_wine_try_cflags_saved=$CFLAGS
10305 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
10306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10307 /* end confdefs.h. */
10308 int main(int argc, char **argv) { return 0; }
10309 _ACEOF
10310 if ac_fn_c_try_link "$LINENO"
10311 then :
10312 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
10313 else $as_nop
10314 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
10316 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10317 conftest$ac_exeext conftest.$ac_ext
10318 CFLAGS=$ac_wine_try_cflags_saved
10320 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
10321 printf "%s\n" "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
10322 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes
10323 then :
10324 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
10327 esac
10329 esac
10331 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
10332 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
10333 enable_winemac_drv=${enable_winemac_drv:-no}
10335 PE_ARCHS=""
10337 cross_archs=
10338 if test ${enable_archs+y}
10339 then :
10340 test "x$with_system_dllpath" = "x" || as_fn_error $? "\"The --with-system-dllpath option is not compatible with --enable-archs\"" "$LINENO" 5
10341 ac_save_IFS=$IFS
10342 IFS=' ,'
10343 set x $enable_archs
10344 IFS=$ac_save_IFS
10345 shift
10346 for arch
10348 case $arch in
10349 i386|x86_64|arm|aarch64) cross_archs="$cross_archs $arch" ;;
10350 *) as_fn_error $? "Unknown cross-compilation architecture '$arch'" "$LINENO" 5 ;;
10351 esac
10352 done
10353 else $as_nop
10354 if test "x$with_mingw" != xno
10355 then
10356 test $HOST_ARCH = unknown || cross_archs=$HOST_ARCH
10357 case "x$with_mingw" in
10358 x|xyes) ;;
10359 *) eval "${cross_archs}_CC=\$with_mingw" ;;
10360 esac
10364 for wine_arch in $cross_archs
10366 if eval \${${wine_arch}_CC:+false} :
10367 then :
10368 case $wine_arch in
10369 aarch64)
10370 for ac_prog in aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc clang
10372 # Extract the first word of "$ac_prog", so it can be a program name with args.
10373 set dummy $ac_prog; ac_word=$2
10374 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10375 printf %s "checking for $ac_word... " >&6; }
10376 if test ${ac_cv_prog_aarch64_CC+y}
10377 then :
10378 printf %s "(cached) " >&6
10379 else $as_nop
10380 if test -n "$aarch64_CC"; then
10381 ac_cv_prog_aarch64_CC="$aarch64_CC" # Let the user override the test.
10382 else
10383 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10384 for as_dir in $PATH
10386 IFS=$as_save_IFS
10387 case $as_dir in #(((
10388 '') as_dir=./ ;;
10389 */) ;;
10390 *) as_dir=$as_dir/ ;;
10391 esac
10392 for ac_exec_ext in '' $ac_executable_extensions; do
10393 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10394 ac_cv_prog_aarch64_CC="$ac_prog"
10395 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10396 break 2
10398 done
10399 done
10400 IFS=$as_save_IFS
10404 aarch64_CC=$ac_cv_prog_aarch64_CC
10405 if test -n "$aarch64_CC"; then
10406 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $aarch64_CC" >&5
10407 printf "%s\n" "$aarch64_CC" >&6; }
10408 else
10409 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10410 printf "%s\n" "no" >&6; }
10414 test -n "$aarch64_CC" && break
10415 done
10416 test -n "$aarch64_CC" || aarch64_CC="false"
10419 arm)
10420 for ac_prog in armv7-w64-mingw32-clang armv7-w64-mingw32-gcc clang
10422 # Extract the first word of "$ac_prog", so it can be a program name with args.
10423 set dummy $ac_prog; ac_word=$2
10424 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10425 printf %s "checking for $ac_word... " >&6; }
10426 if test ${ac_cv_prog_arm_CC+y}
10427 then :
10428 printf %s "(cached) " >&6
10429 else $as_nop
10430 if test -n "$arm_CC"; then
10431 ac_cv_prog_arm_CC="$arm_CC" # Let the user override the test.
10432 else
10433 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10434 for as_dir in $PATH
10436 IFS=$as_save_IFS
10437 case $as_dir in #(((
10438 '') as_dir=./ ;;
10439 */) ;;
10440 *) as_dir=$as_dir/ ;;
10441 esac
10442 for ac_exec_ext in '' $ac_executable_extensions; do
10443 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10444 ac_cv_prog_arm_CC="$ac_prog"
10445 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10446 break 2
10448 done
10449 done
10450 IFS=$as_save_IFS
10454 arm_CC=$ac_cv_prog_arm_CC
10455 if test -n "$arm_CC"; then
10456 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $arm_CC" >&5
10457 printf "%s\n" "$arm_CC" >&6; }
10458 else
10459 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10460 printf "%s\n" "no" >&6; }
10464 test -n "$arm_CC" && break
10465 done
10466 test -n "$arm_CC" || arm_CC="false"
10469 i386)
10470 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 "
10471 for ac_prog in $ac_prefix_list clang
10473 # Extract the first word of "$ac_prog", so it can be a program name with args.
10474 set dummy $ac_prog; ac_word=$2
10475 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10476 printf %s "checking for $ac_word... " >&6; }
10477 if test ${ac_cv_prog_i386_CC+y}
10478 then :
10479 printf %s "(cached) " >&6
10480 else $as_nop
10481 if test -n "$i386_CC"; then
10482 ac_cv_prog_i386_CC="$i386_CC" # Let the user override the test.
10483 else
10484 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10485 for as_dir in $PATH
10487 IFS=$as_save_IFS
10488 case $as_dir in #(((
10489 '') as_dir=./ ;;
10490 */) ;;
10491 *) as_dir=$as_dir/ ;;
10492 esac
10493 for ac_exec_ext in '' $ac_executable_extensions; do
10494 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10495 ac_cv_prog_i386_CC="$ac_prog"
10496 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10497 break 2
10499 done
10500 done
10501 IFS=$as_save_IFS
10505 i386_CC=$ac_cv_prog_i386_CC
10506 if test -n "$i386_CC"; then
10507 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $i386_CC" >&5
10508 printf "%s\n" "$i386_CC" >&6; }
10509 else
10510 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10511 printf "%s\n" "no" >&6; }
10515 test -n "$i386_CC" && break
10516 done
10517 test -n "$i386_CC" || i386_CC="false"
10520 x86_64)
10521 ac_prefix_list="x86_64-w64-mingw32-gcc amd64-w64-mingw32-gcc x86_64-w64-mingw32-clang amd64-w64-mingw32-clang "
10522 for ac_prog in $ac_prefix_list clang
10524 # Extract the first word of "$ac_prog", so it can be a program name with args.
10525 set dummy $ac_prog; ac_word=$2
10526 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10527 printf %s "checking for $ac_word... " >&6; }
10528 if test ${ac_cv_prog_x86_64_CC+y}
10529 then :
10530 printf %s "(cached) " >&6
10531 else $as_nop
10532 if test -n "$x86_64_CC"; then
10533 ac_cv_prog_x86_64_CC="$x86_64_CC" # Let the user override the test.
10534 else
10535 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10536 for as_dir in $PATH
10538 IFS=$as_save_IFS
10539 case $as_dir in #(((
10540 '') as_dir=./ ;;
10541 */) ;;
10542 *) as_dir=$as_dir/ ;;
10543 esac
10544 for ac_exec_ext in '' $ac_executable_extensions; do
10545 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10546 ac_cv_prog_x86_64_CC="$ac_prog"
10547 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10548 break 2
10550 done
10551 done
10552 IFS=$as_save_IFS
10556 x86_64_CC=$ac_cv_prog_x86_64_CC
10557 if test -n "$x86_64_CC"; then
10558 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $x86_64_CC" >&5
10559 printf "%s\n" "$x86_64_CC" >&6; }
10560 else
10561 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10562 printf "%s\n" "no" >&6; }
10566 test -n "$x86_64_CC" && break
10567 done
10568 test -n "$x86_64_CC" || x86_64_CC="false"
10571 esac
10574 if eval test \"x\$"${wine_arch}_CC"\" = x"false"
10575 then :
10576 continue
10579 saved_CC=$CC
10580 saved_CFLAGS=$CFLAGS
10582 CFLAGS=${CROSSCFLAGS:-"-g -O2"}
10583 eval CC=\$${wine_arch}_CC
10584 eval ${wine_arch}_CFLAGS=\$CFLAGS
10585 eval ${wine_arch}_LDFLAGS=\$CROSSLDFLAGS
10586 eval "${wine_arch}_EXTRACFLAGS=\"-D__WINE_PE_BUILD -Wall\""
10588 target=""
10589 as_wine_cv_crosscc=`printf "%s\n" "ac_cv_${wine_arch}_crosscc" | $as_tr_sh`
10591 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
10592 printf %s "checking whether $CC works... " >&6; }
10593 if eval test \${$as_wine_cv_crosscc+y}
10594 then :
10595 printf %s "(cached) " >&6
10596 else $as_nop
10597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10598 /* end confdefs.h. */
10601 main (void)
10605 return 0;
10607 _ACEOF
10608 if ac_fn_c_try_compile "$LINENO"
10609 then :
10610 eval "$as_wine_cv_crosscc=yes"
10611 else $as_nop
10612 eval "$as_wine_cv_crosscc=no"
10614 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10616 eval ac_res=\$$as_wine_cv_crosscc
10617 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10618 printf "%s\n" "$ac_res" >&6; }
10619 if eval test \"x\$"$as_wine_cv_crosscc"\" = x"yes"
10620 then :
10621 set x $CC
10622 shift
10623 while test $# -ge 1
10625 case "$1" in
10626 *-gcc) target=`expr "$1" : '\(.*\)-gcc'` ;;
10627 *-clang) target=`expr "$1" : '\(.*\)-clang'` ;;
10628 esac
10629 shift
10630 done
10632 llvm_target=$target
10633 if test -z "$llvm_target"
10634 then
10635 case $wine_arch in
10636 i386) llvm_target=i686-windows ;;
10637 arm) llvm_target=armv7-windows ;;
10638 *) llvm_target=$wine_arch-windows ;;
10639 esac
10641 llvm_extra_cflags="-target $llvm_target -fuse-ld=lld"
10642 case $llvm_target in
10643 *windows) llvm_cflags="-Wl,-subsystem:console -Wl,-WX" ;;
10644 esac
10645 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_$llvm_extra_cflags $llvm_cflags" | $as_tr_sh`
10646 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports $llvm_extra_cflags $llvm_cflags" >&5
10647 printf %s "checking whether $CC supports $llvm_extra_cflags $llvm_cflags... " >&6; }
10648 if eval test \${$as_ac_var+y}
10649 then :
10650 printf %s "(cached) " >&6
10651 else $as_nop
10652 ac_wine_try_cflags_saved=$CFLAGS
10653 ac_wine_try_cflags_saved_exeext=$ac_exeext
10654 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs $llvm_extra_cflags $llvm_cflags"
10655 ac_exeext=".exe"
10656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10657 /* end confdefs.h. */
10658 int __cdecl mainCRTStartup(void) { return 0; }
10659 _ACEOF
10660 if ac_fn_c_try_link "$LINENO"
10661 then :
10662 eval "$as_ac_var=yes"
10663 else $as_nop
10664 eval "$as_ac_var=no"
10666 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10667 conftest$ac_exeext conftest.$ac_ext
10668 CFLAGS=$ac_wine_try_cflags_saved
10669 ac_exeext=$ac_wine_try_cflags_saved_exeext
10671 eval ac_res=\$$as_ac_var
10672 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10673 printf "%s\n" "$ac_res" >&6; }
10674 if eval test \"x\$"$as_ac_var"\" = x"yes"
10675 then :
10676 target=$llvm_target
10677 eval "${wine_arch}_DELAYLOADFLAG=\"-Wl,-delayload,\""
10678 as_fn_append ${wine_arch}_EXTRACFLAGS " $llvm_extra_cflags"
10679 CFLAGS="$llvm_extra_cflags $llvm_cflags"
10680 fi }
10681 eval "${wine_arch}_TARGET=\$target"
10685 if test -z "$target"
10686 then
10687 CC=$saved_CC
10688 CFLAGS=$saved_CFLAGS
10689 continue
10691 as_fn_append PE_ARCHS " $wine_arch"
10693 as_wine_cv_crosscc_c99=`printf "%s\n" "ac_cv_${wine_arch}_crosscc_c99" | $as_tr_sh`
10695 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
10696 printf %s "checking for $CC option to enable C99 features... " >&6; }
10697 if eval test \${$as_wine_cv_crosscc_c99+y}
10698 then :
10699 printf %s "(cached) " >&6
10700 else $as_nop
10701 eval "$as_wine_cv_crosscc_c99=no"
10702 for arg in '' '-std=gnu99'
10704 test -z "$arg" || CC="$CC $arg"
10705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10706 /* end confdefs.h. */
10707 $ac_c_conftest_c99_program
10708 _ACEOF
10709 if ac_fn_c_try_compile "$LINENO"
10710 then :
10711 eval "$as_wine_cv_crosscc_c99=\$arg"
10712 else $as_nop
10713 eval "$as_wine_cv_crosscc_c99=no"
10715 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10716 eval CC=\$${wine_arch}_CC
10717 if eval test \"x\$"$as_wine_cv_crosscc_c99"\" = x"no"
10718 then :
10720 else $as_nop
10721 break
10723 done
10726 eval res=\$$as_wine_cv_crosscc_c99
10727 case "x$res" in
10728 x) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
10729 printf "%s\n" "none needed" >&6; } ;;
10730 xno) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
10731 printf "%s\n" "unsupported" >&6; } ;;
10732 x*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $res" >&5
10733 printf "%s\n" "$res" >&6; }
10734 as_fn_append ${wine_arch}_CC " $res" ;;
10735 esac
10738 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-fno-strict-aliasing" | $as_tr_sh`
10739 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -fno-strict-aliasing" >&5
10740 printf %s "checking whether $CC supports -fno-strict-aliasing... " >&6; }
10741 if eval test \${$as_ac_var+y}
10742 then :
10743 printf %s "(cached) " >&6
10744 else $as_nop
10745 ac_wine_try_cflags_saved=$CFLAGS
10746 ac_wine_try_cflags_saved_exeext=$ac_exeext
10747 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -fno-strict-aliasing"
10748 ac_exeext=".exe"
10749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10750 /* end confdefs.h. */
10751 int __cdecl mainCRTStartup(void) { return 0; }
10752 _ACEOF
10753 if ac_fn_c_try_link "$LINENO"
10754 then :
10755 eval "$as_ac_var=yes"
10756 else $as_nop
10757 eval "$as_ac_var=no"
10759 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10760 conftest$ac_exeext conftest.$ac_ext
10761 CFLAGS=$ac_wine_try_cflags_saved
10762 ac_exeext=$ac_wine_try_cflags_saved_exeext
10764 eval ac_res=\$$as_ac_var
10765 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10766 printf "%s\n" "$ac_res" >&6; }
10767 if eval test \"x\$"$as_ac_var"\" = x"yes"
10768 then :
10769 as_fn_append ${wine_arch}_EXTRACFLAGS " -fno-strict-aliasing"
10770 fi }
10771 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror=unknown-warning-option" | $as_tr_sh`
10772 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror=unknown-warning-option" >&5
10773 printf %s "checking whether $CC supports -Werror=unknown-warning-option... " >&6; }
10774 if eval test \${$as_ac_var+y}
10775 then :
10776 printf %s "(cached) " >&6
10777 else $as_nop
10778 ac_wine_try_cflags_saved=$CFLAGS
10779 ac_wine_try_cflags_saved_exeext=$ac_exeext
10780 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Werror=unknown-warning-option"
10781 ac_exeext=".exe"
10782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10783 /* end confdefs.h. */
10784 int __cdecl mainCRTStartup(void) { return 0; }
10785 _ACEOF
10786 if ac_fn_c_try_link "$LINENO"
10787 then :
10788 eval "$as_ac_var=yes"
10789 else $as_nop
10790 eval "$as_ac_var=no"
10792 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10793 conftest$ac_exeext conftest.$ac_ext
10794 CFLAGS=$ac_wine_try_cflags_saved
10795 ac_exeext=$ac_wine_try_cflags_saved_exeext
10797 eval ac_res=\$$as_ac_var
10798 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10799 printf "%s\n" "$ac_res" >&6; }
10800 if eval test \"x\$"$as_ac_var"\" = x"yes"
10801 then :
10802 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
10803 fi }
10804 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror=ignored-optimization-argument" | $as_tr_sh`
10805 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror=ignored-optimization-argument" >&5
10806 printf %s "checking whether $CC supports -Werror=ignored-optimization-argument... " >&6; }
10807 if eval test \${$as_ac_var+y}
10808 then :
10809 printf %s "(cached) " >&6
10810 else $as_nop
10811 ac_wine_try_cflags_saved=$CFLAGS
10812 ac_wine_try_cflags_saved_exeext=$ac_exeext
10813 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Werror=ignored-optimization-argument"
10814 ac_exeext=".exe"
10815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10816 /* end confdefs.h. */
10817 int __cdecl mainCRTStartup(void) { return 0; }
10818 _ACEOF
10819 if ac_fn_c_try_link "$LINENO"
10820 then :
10821 eval "$as_ac_var=yes"
10822 else $as_nop
10823 eval "$as_ac_var=no"
10825 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10826 conftest$ac_exeext conftest.$ac_ext
10827 CFLAGS=$ac_wine_try_cflags_saved
10828 ac_exeext=$ac_wine_try_cflags_saved_exeext
10830 eval ac_res=\$$as_ac_var
10831 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10832 printf "%s\n" "$ac_res" >&6; }
10833 if eval test \"x\$"$as_ac_var"\" = x"yes"
10834 then :
10835 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
10836 fi }
10837 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wdeclaration-after-statement" | $as_tr_sh`
10838 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wdeclaration-after-statement" >&5
10839 printf %s "checking whether $CC supports -Wdeclaration-after-statement... " >&6; }
10840 if eval test \${$as_ac_var+y}
10841 then :
10842 printf %s "(cached) " >&6
10843 else $as_nop
10844 ac_wine_try_cflags_saved=$CFLAGS
10845 ac_wine_try_cflags_saved_exeext=$ac_exeext
10846 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wdeclaration-after-statement"
10847 ac_exeext=".exe"
10848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10849 /* end confdefs.h. */
10850 int __cdecl mainCRTStartup(void) { return 0; }
10851 _ACEOF
10852 if ac_fn_c_try_link "$LINENO"
10853 then :
10854 eval "$as_ac_var=yes"
10855 else $as_nop
10856 eval "$as_ac_var=no"
10858 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10859 conftest$ac_exeext conftest.$ac_ext
10860 CFLAGS=$ac_wine_try_cflags_saved
10861 ac_exeext=$ac_wine_try_cflags_saved_exeext
10863 eval ac_res=\$$as_ac_var
10864 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10865 printf "%s\n" "$ac_res" >&6; }
10866 if eval test \"x\$"$as_ac_var"\" = x"yes"
10867 then :
10868 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wdeclaration-after-statement"
10869 fi }
10870 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wempty-body" | $as_tr_sh`
10871 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wempty-body" >&5
10872 printf %s "checking whether $CC supports -Wempty-body... " >&6; }
10873 if eval test \${$as_ac_var+y}
10874 then :
10875 printf %s "(cached) " >&6
10876 else $as_nop
10877 ac_wine_try_cflags_saved=$CFLAGS
10878 ac_wine_try_cflags_saved_exeext=$ac_exeext
10879 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wempty-body"
10880 ac_exeext=".exe"
10881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10882 /* end confdefs.h. */
10883 int __cdecl mainCRTStartup(void) { return 0; }
10884 _ACEOF
10885 if ac_fn_c_try_link "$LINENO"
10886 then :
10887 eval "$as_ac_var=yes"
10888 else $as_nop
10889 eval "$as_ac_var=no"
10891 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10892 conftest$ac_exeext conftest.$ac_ext
10893 CFLAGS=$ac_wine_try_cflags_saved
10894 ac_exeext=$ac_wine_try_cflags_saved_exeext
10896 eval ac_res=\$$as_ac_var
10897 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10898 printf "%s\n" "$ac_res" >&6; }
10899 if eval test \"x\$"$as_ac_var"\" = x"yes"
10900 then :
10901 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wempty-body"
10902 fi }
10903 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wignored-qualifiers" | $as_tr_sh`
10904 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wignored-qualifiers" >&5
10905 printf %s "checking whether $CC supports -Wignored-qualifiers... " >&6; }
10906 if eval test \${$as_ac_var+y}
10907 then :
10908 printf %s "(cached) " >&6
10909 else $as_nop
10910 ac_wine_try_cflags_saved=$CFLAGS
10911 ac_wine_try_cflags_saved_exeext=$ac_exeext
10912 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wignored-qualifiers"
10913 ac_exeext=".exe"
10914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10915 /* end confdefs.h. */
10916 int __cdecl mainCRTStartup(void) { return 0; }
10917 _ACEOF
10918 if ac_fn_c_try_link "$LINENO"
10919 then :
10920 eval "$as_ac_var=yes"
10921 else $as_nop
10922 eval "$as_ac_var=no"
10924 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10925 conftest$ac_exeext conftest.$ac_ext
10926 CFLAGS=$ac_wine_try_cflags_saved
10927 ac_exeext=$ac_wine_try_cflags_saved_exeext
10929 eval ac_res=\$$as_ac_var
10930 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10931 printf "%s\n" "$ac_res" >&6; }
10932 if eval test \"x\$"$as_ac_var"\" = x"yes"
10933 then :
10934 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wignored-qualifiers"
10935 fi }
10936 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Winit-self" | $as_tr_sh`
10937 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Winit-self" >&5
10938 printf %s "checking whether $CC supports -Winit-self... " >&6; }
10939 if eval test \${$as_ac_var+y}
10940 then :
10941 printf %s "(cached) " >&6
10942 else $as_nop
10943 ac_wine_try_cflags_saved=$CFLAGS
10944 ac_wine_try_cflags_saved_exeext=$ac_exeext
10945 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Winit-self"
10946 ac_exeext=".exe"
10947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10948 /* end confdefs.h. */
10949 int __cdecl mainCRTStartup(void) { return 0; }
10950 _ACEOF
10951 if ac_fn_c_try_link "$LINENO"
10952 then :
10953 eval "$as_ac_var=yes"
10954 else $as_nop
10955 eval "$as_ac_var=no"
10957 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10958 conftest$ac_exeext conftest.$ac_ext
10959 CFLAGS=$ac_wine_try_cflags_saved
10960 ac_exeext=$ac_wine_try_cflags_saved_exeext
10962 eval ac_res=\$$as_ac_var
10963 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10964 printf "%s\n" "$ac_res" >&6; }
10965 if eval test \"x\$"$as_ac_var"\" = x"yes"
10966 then :
10967 as_fn_append ${wine_arch}_EXTRACFLAGS " -Winit-self"
10968 fi }
10969 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpacked-not-aligned" | $as_tr_sh`
10970 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpacked-not-aligned" >&5
10971 printf %s "checking whether $CC supports -Wpacked-not-aligned... " >&6; }
10972 if eval test \${$as_ac_var+y}
10973 then :
10974 printf %s "(cached) " >&6
10975 else $as_nop
10976 ac_wine_try_cflags_saved=$CFLAGS
10977 ac_wine_try_cflags_saved_exeext=$ac_exeext
10978 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wpacked-not-aligned"
10979 ac_exeext=".exe"
10980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10981 /* end confdefs.h. */
10982 int __cdecl mainCRTStartup(void) { return 0; }
10983 _ACEOF
10984 if ac_fn_c_try_link "$LINENO"
10985 then :
10986 eval "$as_ac_var=yes"
10987 else $as_nop
10988 eval "$as_ac_var=no"
10990 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10991 conftest$ac_exeext conftest.$ac_ext
10992 CFLAGS=$ac_wine_try_cflags_saved
10993 ac_exeext=$ac_wine_try_cflags_saved_exeext
10995 eval ac_res=\$$as_ac_var
10996 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10997 printf "%s\n" "$ac_res" >&6; }
10998 if eval test \"x\$"$as_ac_var"\" = x"yes"
10999 then :
11000 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-packed-not-aligned"
11001 fi }
11002 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpragma-pack" | $as_tr_sh`
11003 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpragma-pack" >&5
11004 printf %s "checking whether $CC supports -Wpragma-pack... " >&6; }
11005 if eval test \${$as_ac_var+y}
11006 then :
11007 printf %s "(cached) " >&6
11008 else $as_nop
11009 ac_wine_try_cflags_saved=$CFLAGS
11010 ac_wine_try_cflags_saved_exeext=$ac_exeext
11011 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wpragma-pack"
11012 ac_exeext=".exe"
11013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11014 /* end confdefs.h. */
11015 int __cdecl mainCRTStartup(void) { return 0; }
11016 _ACEOF
11017 if ac_fn_c_try_link "$LINENO"
11018 then :
11019 eval "$as_ac_var=yes"
11020 else $as_nop
11021 eval "$as_ac_var=no"
11023 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11024 conftest$ac_exeext conftest.$ac_ext
11025 CFLAGS=$ac_wine_try_cflags_saved
11026 ac_exeext=$ac_wine_try_cflags_saved_exeext
11028 eval ac_res=\$$as_ac_var
11029 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11030 printf "%s\n" "$ac_res" >&6; }
11031 if eval test \"x\$"$as_ac_var"\" = x"yes"
11032 then :
11033 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-pragma-pack"
11034 fi }
11035 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wshift-overflow=2" | $as_tr_sh`
11036 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wshift-overflow=2" >&5
11037 printf %s "checking whether $CC supports -Wshift-overflow=2... " >&6; }
11038 if eval test \${$as_ac_var+y}
11039 then :
11040 printf %s "(cached) " >&6
11041 else $as_nop
11042 ac_wine_try_cflags_saved=$CFLAGS
11043 ac_wine_try_cflags_saved_exeext=$ac_exeext
11044 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wshift-overflow=2"
11045 ac_exeext=".exe"
11046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11047 /* end confdefs.h. */
11048 int __cdecl mainCRTStartup(void) { return 0; }
11049 _ACEOF
11050 if ac_fn_c_try_link "$LINENO"
11051 then :
11052 eval "$as_ac_var=yes"
11053 else $as_nop
11054 eval "$as_ac_var=no"
11056 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11057 conftest$ac_exeext conftest.$ac_ext
11058 CFLAGS=$ac_wine_try_cflags_saved
11059 ac_exeext=$ac_wine_try_cflags_saved_exeext
11061 eval ac_res=\$$as_ac_var
11062 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11063 printf "%s\n" "$ac_res" >&6; }
11064 if eval test \"x\$"$as_ac_var"\" = x"yes"
11065 then :
11066 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wshift-overflow=2"
11067 fi }
11068 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wstrict-prototypes" | $as_tr_sh`
11069 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wstrict-prototypes" >&5
11070 printf %s "checking whether $CC supports -Wstrict-prototypes... " >&6; }
11071 if eval test \${$as_ac_var+y}
11072 then :
11073 printf %s "(cached) " >&6
11074 else $as_nop
11075 ac_wine_try_cflags_saved=$CFLAGS
11076 ac_wine_try_cflags_saved_exeext=$ac_exeext
11077 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wstrict-prototypes"
11078 ac_exeext=".exe"
11079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11080 /* end confdefs.h. */
11081 int __cdecl mainCRTStartup(void) { return 0; }
11082 _ACEOF
11083 if ac_fn_c_try_link "$LINENO"
11084 then :
11085 eval "$as_ac_var=yes"
11086 else $as_nop
11087 eval "$as_ac_var=no"
11089 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11090 conftest$ac_exeext conftest.$ac_ext
11091 CFLAGS=$ac_wine_try_cflags_saved
11092 ac_exeext=$ac_wine_try_cflags_saved_exeext
11094 eval ac_res=\$$as_ac_var
11095 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11096 printf "%s\n" "$ac_res" >&6; }
11097 if eval test \"x\$"$as_ac_var"\" = x"yes"
11098 then :
11099 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wstrict-prototypes"
11100 fi }
11101 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wtype-limits" | $as_tr_sh`
11102 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wtype-limits" >&5
11103 printf %s "checking whether $CC supports -Wtype-limits... " >&6; }
11104 if eval test \${$as_ac_var+y}
11105 then :
11106 printf %s "(cached) " >&6
11107 else $as_nop
11108 ac_wine_try_cflags_saved=$CFLAGS
11109 ac_wine_try_cflags_saved_exeext=$ac_exeext
11110 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wtype-limits"
11111 ac_exeext=".exe"
11112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11113 /* end confdefs.h. */
11114 int __cdecl mainCRTStartup(void) { return 0; }
11115 _ACEOF
11116 if ac_fn_c_try_link "$LINENO"
11117 then :
11118 eval "$as_ac_var=yes"
11119 else $as_nop
11120 eval "$as_ac_var=no"
11122 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11123 conftest$ac_exeext conftest.$ac_ext
11124 CFLAGS=$ac_wine_try_cflags_saved
11125 ac_exeext=$ac_wine_try_cflags_saved_exeext
11127 eval ac_res=\$$as_ac_var
11128 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11129 printf "%s\n" "$ac_res" >&6; }
11130 if eval test \"x\$"$as_ac_var"\" = x"yes"
11131 then :
11132 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wtype-limits"
11133 fi }
11134 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wunused-but-set-parameter" | $as_tr_sh`
11135 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wunused-but-set-parameter" >&5
11136 printf %s "checking whether $CC supports -Wunused-but-set-parameter... " >&6; }
11137 if eval test \${$as_ac_var+y}
11138 then :
11139 printf %s "(cached) " >&6
11140 else $as_nop
11141 ac_wine_try_cflags_saved=$CFLAGS
11142 ac_wine_try_cflags_saved_exeext=$ac_exeext
11143 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wunused-but-set-parameter"
11144 ac_exeext=".exe"
11145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11146 /* end confdefs.h. */
11147 int __cdecl mainCRTStartup(void) { return 0; }
11148 _ACEOF
11149 if ac_fn_c_try_link "$LINENO"
11150 then :
11151 eval "$as_ac_var=yes"
11152 else $as_nop
11153 eval "$as_ac_var=no"
11155 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11156 conftest$ac_exeext conftest.$ac_ext
11157 CFLAGS=$ac_wine_try_cflags_saved
11158 ac_exeext=$ac_wine_try_cflags_saved_exeext
11160 eval ac_res=\$$as_ac_var
11161 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11162 printf "%s\n" "$ac_res" >&6; }
11163 if eval test \"x\$"$as_ac_var"\" = x"yes"
11164 then :
11165 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wunused-but-set-parameter"
11166 fi }
11167 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wvla" | $as_tr_sh`
11168 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wvla" >&5
11169 printf %s "checking whether $CC supports -Wvla... " >&6; }
11170 if eval test \${$as_ac_var+y}
11171 then :
11172 printf %s "(cached) " >&6
11173 else $as_nop
11174 ac_wine_try_cflags_saved=$CFLAGS
11175 ac_wine_try_cflags_saved_exeext=$ac_exeext
11176 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wvla"
11177 ac_exeext=".exe"
11178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11179 /* end confdefs.h. */
11180 int __cdecl mainCRTStartup(void) { return 0; }
11181 _ACEOF
11182 if ac_fn_c_try_link "$LINENO"
11183 then :
11184 eval "$as_ac_var=yes"
11185 else $as_nop
11186 eval "$as_ac_var=no"
11188 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11189 conftest$ac_exeext conftest.$ac_ext
11190 CFLAGS=$ac_wine_try_cflags_saved
11191 ac_exeext=$ac_wine_try_cflags_saved_exeext
11193 eval ac_res=\$$as_ac_var
11194 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11195 printf "%s\n" "$ac_res" >&6; }
11196 if eval test \"x\$"$as_ac_var"\" = x"yes"
11197 then :
11198 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wvla"
11199 fi }
11200 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wwrite-strings" | $as_tr_sh`
11201 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wwrite-strings" >&5
11202 printf %s "checking whether $CC supports -Wwrite-strings... " >&6; }
11203 if eval test \${$as_ac_var+y}
11204 then :
11205 printf %s "(cached) " >&6
11206 else $as_nop
11207 ac_wine_try_cflags_saved=$CFLAGS
11208 ac_wine_try_cflags_saved_exeext=$ac_exeext
11209 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wwrite-strings"
11210 ac_exeext=".exe"
11211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11212 /* end confdefs.h. */
11213 int __cdecl mainCRTStartup(void) { return 0; }
11214 _ACEOF
11215 if ac_fn_c_try_link "$LINENO"
11216 then :
11217 eval "$as_ac_var=yes"
11218 else $as_nop
11219 eval "$as_ac_var=no"
11221 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11222 conftest$ac_exeext conftest.$ac_ext
11223 CFLAGS=$ac_wine_try_cflags_saved
11224 ac_exeext=$ac_wine_try_cflags_saved_exeext
11226 eval ac_res=\$$as_ac_var
11227 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11228 printf "%s\n" "$ac_res" >&6; }
11229 if eval test \"x\$"$as_ac_var"\" = x"yes"
11230 then :
11231 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wwrite-strings"
11232 fi }
11233 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpointer-arith" | $as_tr_sh`
11234 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpointer-arith" >&5
11235 printf %s "checking whether $CC supports -Wpointer-arith... " >&6; }
11236 if eval test \${$as_ac_var+y}
11237 then :
11238 printf %s "(cached) " >&6
11239 else $as_nop
11240 ac_wine_try_cflags_saved=$CFLAGS
11241 ac_wine_try_cflags_saved_exeext=$ac_exeext
11242 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wpointer-arith"
11243 ac_exeext=".exe"
11244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11245 /* end confdefs.h. */
11246 int __cdecl mainCRTStartup(void) { return 0; }
11247 _ACEOF
11248 if ac_fn_c_try_link "$LINENO"
11249 then :
11250 eval "$as_ac_var=yes"
11251 else $as_nop
11252 eval "$as_ac_var=no"
11254 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11255 conftest$ac_exeext conftest.$ac_ext
11256 CFLAGS=$ac_wine_try_cflags_saved
11257 ac_exeext=$ac_wine_try_cflags_saved_exeext
11259 eval ac_res=\$$as_ac_var
11260 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11261 printf "%s\n" "$ac_res" >&6; }
11262 if eval test \"x\$"$as_ac_var"\" = x"yes"
11263 then :
11264 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wpointer-arith"
11265 fi }
11266 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wlogical-op" | $as_tr_sh`
11267 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wlogical-op" >&5
11268 printf %s "checking whether $CC supports -Wlogical-op... " >&6; }
11269 if eval test \${$as_ac_var+y}
11270 then :
11271 printf %s "(cached) " >&6
11272 else $as_nop
11273 ac_wine_try_cflags_saved=$CFLAGS
11274 ac_wine_try_cflags_saved_exeext=$ac_exeext
11275 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wlogical-op"
11276 ac_exeext=".exe"
11277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11278 /* end confdefs.h. */
11279 int __cdecl mainCRTStartup(void) { return 0; }
11280 _ACEOF
11281 if ac_fn_c_try_link "$LINENO"
11282 then :
11283 eval "$as_ac_var=yes"
11284 else $as_nop
11285 eval "$as_ac_var=no"
11287 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11288 conftest$ac_exeext conftest.$ac_ext
11289 CFLAGS=$ac_wine_try_cflags_saved
11290 ac_exeext=$ac_wine_try_cflags_saved_exeext
11292 eval ac_res=\$$as_ac_var
11293 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11294 printf "%s\n" "$ac_res" >&6; }
11295 if eval test \"x\$"$as_ac_var"\" = x"yes"
11296 then :
11297 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wlogical-op"
11298 fi }
11299 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wabsolute-value" | $as_tr_sh`
11300 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wabsolute-value" >&5
11301 printf %s "checking whether $CC supports -Wabsolute-value... " >&6; }
11302 if eval test \${$as_ac_var+y}
11303 then :
11304 printf %s "(cached) " >&6
11305 else $as_nop
11306 ac_wine_try_cflags_saved=$CFLAGS
11307 ac_wine_try_cflags_saved_exeext=$ac_exeext
11308 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wabsolute-value"
11309 ac_exeext=".exe"
11310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11311 /* end confdefs.h. */
11312 int __cdecl mainCRTStartup(void) { return 0; }
11313 _ACEOF
11314 if ac_fn_c_try_link "$LINENO"
11315 then :
11316 eval "$as_ac_var=yes"
11317 else $as_nop
11318 eval "$as_ac_var=no"
11320 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11321 conftest$ac_exeext conftest.$ac_ext
11322 CFLAGS=$ac_wine_try_cflags_saved
11323 ac_exeext=$ac_wine_try_cflags_saved_exeext
11325 eval ac_res=\$$as_ac_var
11326 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11327 printf "%s\n" "$ac_res" >&6; }
11328 if eval test \"x\$"$as_ac_var"\" = x"yes"
11329 then :
11330 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wabsolute-value"
11331 fi }
11333 case $wine_arch in
11334 i386) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-fno-omit-frame-pointer" | $as_tr_sh`
11335 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -fno-omit-frame-pointer" >&5
11336 printf %s "checking whether $CC supports -fno-omit-frame-pointer... " >&6; }
11337 if eval test \${$as_ac_var+y}
11338 then :
11339 printf %s "(cached) " >&6
11340 else $as_nop
11341 ac_wine_try_cflags_saved=$CFLAGS
11342 ac_wine_try_cflags_saved_exeext=$ac_exeext
11343 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -fno-omit-frame-pointer"
11344 ac_exeext=".exe"
11345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11346 /* end confdefs.h. */
11347 int __cdecl mainCRTStartup(void) { return 0; }
11348 _ACEOF
11349 if ac_fn_c_try_link "$LINENO"
11350 then :
11351 eval "$as_ac_var=yes"
11352 else $as_nop
11353 eval "$as_ac_var=no"
11355 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11356 conftest$ac_exeext conftest.$ac_ext
11357 CFLAGS=$ac_wine_try_cflags_saved
11358 ac_exeext=$ac_wine_try_cflags_saved_exeext
11360 eval ac_res=\$$as_ac_var
11361 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11362 printf "%s\n" "$ac_res" >&6; }
11363 if eval test \"x\$"$as_ac_var"\" = x"yes"
11364 then :
11365 as_fn_append ${wine_arch}_EXTRACFLAGS " -fno-omit-frame-pointer"
11366 fi }
11367 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wl,--disable-stdcall-fixup" | $as_tr_sh`
11368 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wl,--disable-stdcall-fixup" >&5
11369 printf %s "checking whether $CC supports -Wl,--disable-stdcall-fixup... " >&6; }
11370 if eval test \${$as_ac_var+y}
11371 then :
11372 printf %s "(cached) " >&6
11373 else $as_nop
11374 ac_wine_try_cflags_saved=$CFLAGS
11375 ac_wine_try_cflags_saved_exeext=$ac_exeext
11376 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wl,--disable-stdcall-fixup"
11377 ac_exeext=".exe"
11378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11379 /* end confdefs.h. */
11380 int __cdecl mainCRTStartup(void) { return 0; }
11381 _ACEOF
11382 if ac_fn_c_try_link "$LINENO"
11383 then :
11384 eval "$as_ac_var=yes"
11385 else $as_nop
11386 eval "$as_ac_var=no"
11388 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11389 conftest$ac_exeext conftest.$ac_ext
11390 CFLAGS=$ac_wine_try_cflags_saved
11391 ac_exeext=$ac_wine_try_cflags_saved_exeext
11393 eval ac_res=\$$as_ac_var
11394 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11395 printf "%s\n" "$ac_res" >&6; }
11396 if eval test \"x\$"$as_ac_var"\" = x"yes"
11397 then :
11398 as_fn_append ${wine_arch}_LDFLAGS " -Wl,--disable-stdcall-fixup"
11399 fi } ;;
11400 x86_64) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wformat-overflow" | $as_tr_sh`
11401 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wformat-overflow" >&5
11402 printf %s "checking whether $CC supports -Wformat-overflow... " >&6; }
11403 if eval test \${$as_ac_var+y}
11404 then :
11405 printf %s "(cached) " >&6
11406 else $as_nop
11407 ac_wine_try_cflags_saved=$CFLAGS
11408 ac_wine_try_cflags_saved_exeext=$ac_exeext
11409 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wformat-overflow"
11410 ac_exeext=".exe"
11411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11412 /* end confdefs.h. */
11413 int __cdecl mainCRTStartup(void) { return 0; }
11414 _ACEOF
11415 if ac_fn_c_try_link "$LINENO"
11416 then :
11417 eval "$as_ac_var=yes"
11418 else $as_nop
11419 eval "$as_ac_var=no"
11421 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11422 conftest$ac_exeext conftest.$ac_ext
11423 CFLAGS=$ac_wine_try_cflags_saved
11424 ac_exeext=$ac_wine_try_cflags_saved_exeext
11426 eval ac_res=\$$as_ac_var
11427 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11428 printf "%s\n" "$ac_res" >&6; }
11429 if eval test \"x\$"$as_ac_var"\" = x"yes"
11430 then :
11431 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wformat-overflow"
11432 fi }
11433 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wnonnull" | $as_tr_sh`
11434 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wnonnull" >&5
11435 printf %s "checking whether $CC supports -Wnonnull... " >&6; }
11436 if eval test \${$as_ac_var+y}
11437 then :
11438 printf %s "(cached) " >&6
11439 else $as_nop
11440 ac_wine_try_cflags_saved=$CFLAGS
11441 ac_wine_try_cflags_saved_exeext=$ac_exeext
11442 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wnonnull"
11443 ac_exeext=".exe"
11444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11445 /* end confdefs.h. */
11446 int __cdecl mainCRTStartup(void) { return 0; }
11447 _ACEOF
11448 if ac_fn_c_try_link "$LINENO"
11449 then :
11450 eval "$as_ac_var=yes"
11451 else $as_nop
11452 eval "$as_ac_var=no"
11454 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11455 conftest$ac_exeext conftest.$ac_ext
11456 CFLAGS=$ac_wine_try_cflags_saved
11457 ac_exeext=$ac_wine_try_cflags_saved_exeext
11459 eval ac_res=\$$as_ac_var
11460 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11461 printf "%s\n" "$ac_res" >&6; }
11462 if eval test \"x\$"$as_ac_var"\" = x"yes"
11463 then :
11464 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wnonnull"
11465 fi }
11466 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-mcx16" | $as_tr_sh`
11467 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mcx16" >&5
11468 printf %s "checking whether $CC supports -mcx16... " >&6; }
11469 if eval test \${$as_ac_var+y}
11470 then :
11471 printf %s "(cached) " >&6
11472 else $as_nop
11473 ac_wine_try_cflags_saved=$CFLAGS
11474 ac_wine_try_cflags_saved_exeext=$ac_exeext
11475 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -mcx16"
11476 ac_exeext=".exe"
11477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11478 /* end confdefs.h. */
11479 int __cdecl mainCRTStartup(void) { return 0; }
11480 _ACEOF
11481 if ac_fn_c_try_link "$LINENO"
11482 then :
11483 eval "$as_ac_var=yes"
11484 else $as_nop
11485 eval "$as_ac_var=no"
11487 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11488 conftest$ac_exeext conftest.$ac_ext
11489 CFLAGS=$ac_wine_try_cflags_saved
11490 ac_exeext=$ac_wine_try_cflags_saved_exeext
11492 eval ac_res=\$$as_ac_var
11493 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11494 printf "%s\n" "$ac_res" >&6; }
11495 if eval test \"x\$"$as_ac_var"\" = x"yes"
11496 then :
11497 as_fn_append ${wine_arch}_EXTRACFLAGS " -mcx16"
11498 fi } ;;
11499 esac
11501 wine_crossdebug=$CROSSDEBUG
11502 if test -z "$wine_crossdebug"
11503 then
11504 for ac_flag in $CFLAGS; do
11505 case $ac_flag in
11506 -gdwarf*) wine_crossdebug=dwarf ;;
11507 -gcodeview) wine_crossdebug=pdb ;;
11508 -g) wine_crossdebug=${wine_crossdebug:-dwarf} ;;
11509 esac
11510 done
11513 ac_debug_format_seen=""
11514 for ac_flag in $CFLAGS; do
11515 case $ac_flag in
11516 -gdwarf*|-gcodeview) ac_debug_format_seen=$ac_flag ;;
11517 esac
11518 done
11519 if test "x$ac_debug_format_seen" = x
11520 then
11521 case $wine_crossdebug in
11522 *dwarf) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-gdwarf-4" | $as_tr_sh`
11523 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -gdwarf-4" >&5
11524 printf %s "checking whether $CC supports -gdwarf-4... " >&6; }
11525 if eval test \${$as_ac_var+y}
11526 then :
11527 printf %s "(cached) " >&6
11528 else $as_nop
11529 ac_wine_try_cflags_saved=$CFLAGS
11530 ac_wine_try_cflags_saved_exeext=$ac_exeext
11531 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -gdwarf-4"
11532 ac_exeext=".exe"
11533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11534 /* end confdefs.h. */
11535 int __cdecl mainCRTStartup(void) { return 0; }
11536 _ACEOF
11537 if ac_fn_c_try_link "$LINENO"
11538 then :
11539 eval "$as_ac_var=yes"
11540 else $as_nop
11541 eval "$as_ac_var=no"
11543 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11544 conftest$ac_exeext conftest.$ac_ext
11545 CFLAGS=$ac_wine_try_cflags_saved
11546 ac_exeext=$ac_wine_try_cflags_saved_exeext
11548 eval ac_res=\$$as_ac_var
11549 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11550 printf "%s\n" "$ac_res" >&6; }
11551 if eval test \"x\$"$as_ac_var"\" = x"yes"
11552 then :
11553 as_fn_append ${wine_arch}_EXTRACFLAGS " -gdwarf-4"
11554 fi } ;;
11555 pdb) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-gcodeview" | $as_tr_sh`
11556 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -gcodeview" >&5
11557 printf %s "checking whether $CC supports -gcodeview... " >&6; }
11558 if eval test \${$as_ac_var+y}
11559 then :
11560 printf %s "(cached) " >&6
11561 else $as_nop
11562 ac_wine_try_cflags_saved=$CFLAGS
11563 ac_wine_try_cflags_saved_exeext=$ac_exeext
11564 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -gcodeview"
11565 ac_exeext=".exe"
11566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11567 /* end confdefs.h. */
11568 int __cdecl mainCRTStartup(void) { return 0; }
11569 _ACEOF
11570 if ac_fn_c_try_link "$LINENO"
11571 then :
11572 eval "$as_ac_var=yes"
11573 else $as_nop
11574 eval "$as_ac_var=no"
11576 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11577 conftest$ac_exeext conftest.$ac_ext
11578 CFLAGS=$ac_wine_try_cflags_saved
11579 ac_exeext=$ac_wine_try_cflags_saved_exeext
11581 eval ac_res=\$$as_ac_var
11582 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11583 printf "%s\n" "$ac_res" >&6; }
11584 if eval test \"x\$"$as_ac_var"\" = x"yes"
11585 then :
11586 as_fn_append ${wine_arch}_EXTRACFLAGS " -gcodeview"
11587 fi } ;;
11588 esac
11590 eval "${wine_arch}_DEBUG=\$wine_crossdebug"
11592 test "x$enable_werror" != xyes || { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror" | $as_tr_sh`
11593 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror" >&5
11594 printf %s "checking whether $CC supports -Werror... " >&6; }
11595 if eval test \${$as_ac_var+y}
11596 then :
11597 printf %s "(cached) " >&6
11598 else $as_nop
11599 ac_wine_try_cflags_saved=$CFLAGS
11600 ac_wine_try_cflags_saved_exeext=$ac_exeext
11601 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Werror"
11602 ac_exeext=".exe"
11603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11604 /* end confdefs.h. */
11605 int __cdecl mainCRTStartup(void) { return 0; }
11606 _ACEOF
11607 if ac_fn_c_try_link "$LINENO"
11608 then :
11609 eval "$as_ac_var=yes"
11610 else $as_nop
11611 eval "$as_ac_var=no"
11613 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11614 conftest$ac_exeext conftest.$ac_ext
11615 CFLAGS=$ac_wine_try_cflags_saved
11616 ac_exeext=$ac_wine_try_cflags_saved_exeext
11618 eval ac_res=\$$as_ac_var
11619 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11620 printf "%s\n" "$ac_res" >&6; }
11621 if eval test \"x\$"$as_ac_var"\" = x"yes"
11622 then :
11623 as_fn_append ${wine_arch}_EXTRACFLAGS " -Werror"
11624 fi }
11625 test "x$enable_build_id" != xyes || { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wl,--build-id" | $as_tr_sh`
11626 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wl,--build-id" >&5
11627 printf %s "checking whether $CC supports -Wl,--build-id... " >&6; }
11628 if eval test \${$as_ac_var+y}
11629 then :
11630 printf %s "(cached) " >&6
11631 else $as_nop
11632 ac_wine_try_cflags_saved=$CFLAGS
11633 ac_wine_try_cflags_saved_exeext=$ac_exeext
11634 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wl,--build-id"
11635 ac_exeext=".exe"
11636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11637 /* end confdefs.h. */
11638 int __cdecl mainCRTStartup(void) { return 0; }
11639 _ACEOF
11640 if ac_fn_c_try_link "$LINENO"
11641 then :
11642 eval "$as_ac_var=yes"
11643 else $as_nop
11644 eval "$as_ac_var=no"
11646 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11647 conftest$ac_exeext conftest.$ac_ext
11648 CFLAGS=$ac_wine_try_cflags_saved
11649 ac_exeext=$ac_wine_try_cflags_saved_exeext
11651 eval ac_res=\$$as_ac_var
11652 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11653 printf "%s\n" "$ac_res" >&6; }
11654 if eval test \"x\$"$as_ac_var"\" = x"yes"
11655 then :
11656 as_fn_append ${wine_arch}_CFLAGS " -Wl,--build-id"
11657 as_fn_append ${wine_arch}_LDFLAGS " -Wl,--build-id"
11658 fi }
11660 CC=$saved_CC
11661 CFLAGS=$saved_CFLAGS
11662 done
11664 if test $HOST_ARCH = aarch64 -a "x$PE_ARCHS" = x
11665 then
11666 as_fn_error $? "PE cross-compilation is required for ARM64, please install clang/llvm-dlltool/lld, or llvm-mingw." "$LINENO" 5
11669 if test "x$PE_ARCHS" = "x"
11670 then :
11671 case "x$with_mingw" in
11672 x) as_fn_append wine_notices "|MinGW compiler not found, cross-compiling PE files won't be supported." ;;
11673 xno) ;;
11674 *) as_fn_error $? "MinGW compiler not found, cross-compiling PE files won't be supported.
11675 This is an error since --with-mingw was requested." "$LINENO" 5 ;;
11676 esac
11681 if test "x$with_system_dllpath" != "x" -a -n "$PE_ARCHS"
11682 then
11683 case "$host_cpu" in
11684 i[3456789]86*)
11685 ac_prefix_list="i686-w64-mingw32-pkg-config i586-w64-mingw32-pkg-config i486-w64-mingw32-pkg-config i386-w64-mingw32-pkg-config " ;;
11687 ac_prefix_list="$host_cpu-w64-mingw32-pkg-config" ;;
11688 esac
11689 for ac_prog in $ac_prefix_list
11691 # Extract the first word of "$ac_prog", so it can be a program name with args.
11692 set dummy $ac_prog; ac_word=$2
11693 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11694 printf %s "checking for $ac_word... " >&6; }
11695 if test ${ac_cv_prog_MINGW_PKG_CONFIG+y}
11696 then :
11697 printf %s "(cached) " >&6
11698 else $as_nop
11699 if test -n "$MINGW_PKG_CONFIG"; then
11700 ac_cv_prog_MINGW_PKG_CONFIG="$MINGW_PKG_CONFIG" # Let the user override the test.
11701 else
11702 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11703 for as_dir in $PATH
11705 IFS=$as_save_IFS
11706 case $as_dir in #(((
11707 '') as_dir=./ ;;
11708 */) ;;
11709 *) as_dir=$as_dir/ ;;
11710 esac
11711 for ac_exec_ext in '' $ac_executable_extensions; do
11712 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
11713 ac_cv_prog_MINGW_PKG_CONFIG="$ac_prog"
11714 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
11715 break 2
11717 done
11718 done
11719 IFS=$as_save_IFS
11723 MINGW_PKG_CONFIG=$ac_cv_prog_MINGW_PKG_CONFIG
11724 if test -n "$MINGW_PKG_CONFIG"; then
11725 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MINGW_PKG_CONFIG" >&5
11726 printf "%s\n" "$MINGW_PKG_CONFIG" >&6; }
11727 else
11728 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11729 printf "%s\n" "no" >&6; }
11733 test -n "$MINGW_PKG_CONFIG" && break
11734 done
11735 test -n "$MINGW_PKG_CONFIG" || MINGW_PKG_CONFIG="false"
11737 if ${FAUDIO_PE_CFLAGS:+false} :
11738 then :
11739 if test ${MINGW_PKG_CONFIG+y}
11740 then :
11741 FAUDIO_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags FAudio 2>/dev/null`
11744 if ${FAUDIO_PE_LIBS:+false} :
11745 then :
11746 if test ${MINGW_PKG_CONFIG+y}
11747 then :
11748 FAUDIO_PE_LIBS=`$MINGW_PKG_CONFIG --libs FAudio 2>/dev/null`
11751 FAUDIO_PE_LIBS=${FAUDIO_PE_LIBS:-"-lFAudio"}
11752 ac_save_CPPFLAGS=$CPPFLAGS
11753 CPPFLAGS="$CPPFLAGS $FAUDIO_PE_CFLAGS"
11754 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW FAudio.h" >&5
11755 printf %s "checking for MinGW FAudio.h... " >&6; }
11756 if test ${ac_cv_mingw_header_FAudio_h+y}
11757 then :
11758 printf %s "(cached) " >&6
11759 else $as_nop
11760 ac_wine_check_headers_saved_cc=$CC
11761 ac_wine_check_headers_saved_exeext=$ac_exeext
11762 eval CC=\$${wine_arch}_CC
11763 ac_exeext=".exe"
11764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11765 /* end confdefs.h. */
11767 #include <FAudio.h>
11769 main (void)
11773 return 0;
11775 _ACEOF
11776 if ac_fn_c_try_compile "$LINENO"
11777 then :
11778 ac_cv_mingw_header_FAudio_h=yes
11779 else $as_nop
11780 ac_cv_mingw_header_FAudio_h=no
11782 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
11783 CC=$ac_wine_check_headers_saved_cc
11784 ac_exeext=$ac_wine_check_headers_saved_exeext
11786 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_FAudio_h" >&5
11787 printf "%s\n" "$ac_cv_mingw_header_FAudio_h" >&6; }
11788 if test "x$ac_cv_mingw_header_FAudio_h" = xyes
11789 then :
11790 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for FAudio_CommitOperationSet in MinGW -lFAudio" >&5
11791 printf %s "checking for FAudio_CommitOperationSet in MinGW -lFAudio... " >&6; }
11792 if test ${ac_cv_mingw_lib_FAudio+y}
11793 then :
11794 printf %s "(cached) " >&6
11795 else $as_nop
11796 ac_wine_check_headers_saved_cc=$CC
11797 ac_wine_check_headers_saved_exeext=$ac_exeext
11798 ac_wine_check_headers_saved_libs=$LIBS
11799 eval CC=\$${wine_arch}_CC
11800 ac_exeext=".exe"
11801 LIBS="-lFAudio $FAUDIO_PE_LIBS $LIBS"
11802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11803 /* end confdefs.h. */
11805 /* Override any GCC internal prototype to avoid an error.
11806 Use char because int might match the return type of a GCC
11807 builtin and then its argument prototype would still apply. */
11808 char FAudio_CommitOperationSet ();
11810 main (void)
11812 return FAudio_CommitOperationSet ();
11814 return 0;
11816 _ACEOF
11817 if ac_fn_c_try_link "$LINENO"
11818 then :
11819 ac_cv_mingw_lib_FAudio=yes
11820 else $as_nop
11821 ac_cv_mingw_lib_FAudio=no
11823 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11824 conftest$ac_exeext conftest.$ac_ext
11825 CC=$ac_wine_check_headers_saved_cc
11826 ac_exeext=$ac_wine_check_headers_saved_exeext
11827 LIBS=$ac_wine_check_headers_saved_libs
11829 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_FAudio" >&5
11830 printf "%s\n" "$ac_cv_mingw_lib_FAudio" >&6; }
11831 if test "x$ac_cv_mingw_lib_FAudio" = xyes
11832 then :
11834 else $as_nop
11835 FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
11837 else $as_nop
11838 FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
11840 CPPFLAGS=$ac_save_CPPFLAGS
11842 if test "x$FAUDIO_PE_LIBS" = "x"
11843 then
11844 as_fn_append wine_notices "|FAudio ${notice_platform}MinGW development files not found (or too old); using bundled version."
11847 if ${JPEG_PE_CFLAGS:+false} :
11848 then :
11849 if test ${MINGW_PKG_CONFIG+y}
11850 then :
11851 JPEG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libjpeg 2>/dev/null`
11854 if ${JPEG_PE_LIBS:+false} :
11855 then :
11856 if test ${MINGW_PKG_CONFIG+y}
11857 then :
11858 JPEG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libjpeg 2>/dev/null`
11862 ac_save_CPPFLAGS=$CPPFLAGS
11863 CPPFLAGS="$CPPFLAGS $JPEG_PE_CFLAGS"
11864 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW jpeglib.h" >&5
11865 printf %s "checking for MinGW jpeglib.h... " >&6; }
11866 if test ${ac_cv_mingw_header_jpeglib_h+y}
11867 then :
11868 printf %s "(cached) " >&6
11869 else $as_nop
11870 ac_wine_check_headers_saved_cc=$CC
11871 ac_wine_check_headers_saved_exeext=$ac_exeext
11872 eval CC=\$${wine_arch}_CC
11873 ac_exeext=".exe"
11874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11875 /* end confdefs.h. */
11876 #include <stddef.h>
11877 #include <stdio.h>
11878 #include <jpeglib.h>
11880 main (void)
11884 return 0;
11886 _ACEOF
11887 if ac_fn_c_try_compile "$LINENO"
11888 then :
11889 ac_cv_mingw_header_jpeglib_h=yes
11890 else $as_nop
11891 ac_cv_mingw_header_jpeglib_h=no
11893 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
11894 CC=$ac_wine_check_headers_saved_cc
11895 ac_exeext=$ac_wine_check_headers_saved_exeext
11897 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_jpeglib_h" >&5
11898 printf "%s\n" "$ac_cv_mingw_header_jpeglib_h" >&6; }
11899 if test "x$ac_cv_mingw_header_jpeglib_h" = xyes
11900 then :
11901 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for jpeg_start_decompress in MinGW -ljpeg" >&5
11902 printf %s "checking for jpeg_start_decompress in MinGW -ljpeg... " >&6; }
11903 if test ${ac_cv_mingw_lib_jpeg+y}
11904 then :
11905 printf %s "(cached) " >&6
11906 else $as_nop
11907 ac_wine_check_headers_saved_cc=$CC
11908 ac_wine_check_headers_saved_exeext=$ac_exeext
11909 ac_wine_check_headers_saved_libs=$LIBS
11910 eval CC=\$${wine_arch}_CC
11911 ac_exeext=".exe"
11912 LIBS="-ljpeg $JPEG_PE_LIBS $LIBS"
11913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11914 /* end confdefs.h. */
11916 /* Override any GCC internal prototype to avoid an error.
11917 Use char because int might match the return type of a GCC
11918 builtin and then its argument prototype would still apply. */
11919 char jpeg_start_decompress ();
11921 main (void)
11923 return jpeg_start_decompress ();
11925 return 0;
11927 _ACEOF
11928 if ac_fn_c_try_link "$LINENO"
11929 then :
11930 ac_cv_mingw_lib_jpeg=yes
11931 else $as_nop
11932 ac_cv_mingw_lib_jpeg=no
11934 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11935 conftest$ac_exeext conftest.$ac_ext
11936 CC=$ac_wine_check_headers_saved_cc
11937 ac_exeext=$ac_wine_check_headers_saved_exeext
11938 LIBS=$ac_wine_check_headers_saved_libs
11940 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_jpeg" >&5
11941 printf "%s\n" "$ac_cv_mingw_lib_jpeg" >&6; }
11942 if test "x$ac_cv_mingw_lib_jpeg" = xyes
11943 then :
11945 else $as_nop
11946 JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
11948 else $as_nop
11949 JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
11951 CPPFLAGS=$ac_save_CPPFLAGS
11953 if test "x$JPEG_PE_LIBS" = "x"
11954 then
11955 as_fn_append wine_notices "|libjpeg ${notice_platform}MinGW development files not found; using bundled version."
11958 if ${LCMS2_PE_CFLAGS:+false} :
11959 then :
11960 if test ${MINGW_PKG_CONFIG+y}
11961 then :
11962 LCMS2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags lcms2 2>/dev/null`
11965 if ${LCMS2_PE_LIBS:+false} :
11966 then :
11967 if test ${MINGW_PKG_CONFIG+y}
11968 then :
11969 LCMS2_PE_LIBS=`$MINGW_PKG_CONFIG --libs lcms2 2>/dev/null`
11972 LCMS2_PE_LIBS=${LCMS2_PE_LIBS:-"-llcms2"}
11973 ac_save_CPPFLAGS=$CPPFLAGS
11974 CPPFLAGS="$CPPFLAGS $LCMS2_PE_CFLAGS"
11975 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW lcms2.h" >&5
11976 printf %s "checking for MinGW lcms2.h... " >&6; }
11977 if test ${ac_cv_mingw_header_lcms2_h+y}
11978 then :
11979 printf %s "(cached) " >&6
11980 else $as_nop
11981 ac_wine_check_headers_saved_cc=$CC
11982 ac_wine_check_headers_saved_exeext=$ac_exeext
11983 eval CC=\$${wine_arch}_CC
11984 ac_exeext=".exe"
11985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11986 /* end confdefs.h. */
11988 #include <lcms2.h>
11990 main (void)
11994 return 0;
11996 _ACEOF
11997 if ac_fn_c_try_compile "$LINENO"
11998 then :
11999 ac_cv_mingw_header_lcms2_h=yes
12000 else $as_nop
12001 ac_cv_mingw_header_lcms2_h=no
12003 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12004 CC=$ac_wine_check_headers_saved_cc
12005 ac_exeext=$ac_wine_check_headers_saved_exeext
12007 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_lcms2_h" >&5
12008 printf "%s\n" "$ac_cv_mingw_header_lcms2_h" >&6; }
12009 if test "x$ac_cv_mingw_header_lcms2_h" = xyes
12010 then :
12011 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in MinGW -llcms2" >&5
12012 printf %s "checking for cmsOpenProfileFromFile in MinGW -llcms2... " >&6; }
12013 if test ${ac_cv_mingw_lib_lcms2+y}
12014 then :
12015 printf %s "(cached) " >&6
12016 else $as_nop
12017 ac_wine_check_headers_saved_cc=$CC
12018 ac_wine_check_headers_saved_exeext=$ac_exeext
12019 ac_wine_check_headers_saved_libs=$LIBS
12020 eval CC=\$${wine_arch}_CC
12021 ac_exeext=".exe"
12022 LIBS="-llcms2 $LCMS2_PE_LIBS $LIBS"
12023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12024 /* end confdefs.h. */
12026 /* Override any GCC internal prototype to avoid an error.
12027 Use char because int might match the return type of a GCC
12028 builtin and then its argument prototype would still apply. */
12029 char cmsOpenProfileFromFile ();
12031 main (void)
12033 return cmsOpenProfileFromFile ();
12035 return 0;
12037 _ACEOF
12038 if ac_fn_c_try_link "$LINENO"
12039 then :
12040 ac_cv_mingw_lib_lcms2=yes
12041 else $as_nop
12042 ac_cv_mingw_lib_lcms2=no
12044 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12045 conftest$ac_exeext conftest.$ac_ext
12046 CC=$ac_wine_check_headers_saved_cc
12047 ac_exeext=$ac_wine_check_headers_saved_exeext
12048 LIBS=$ac_wine_check_headers_saved_libs
12050 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_lcms2" >&5
12051 printf "%s\n" "$ac_cv_mingw_lib_lcms2" >&6; }
12052 if test "x$ac_cv_mingw_lib_lcms2" = xyes
12053 then :
12055 else $as_nop
12056 LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
12058 else $as_nop
12059 LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
12061 CPPFLAGS=$ac_save_CPPFLAGS
12063 if test "x$LCMS2_PE_LIBS" = "x"
12064 then
12065 as_fn_append wine_notices "|liblcms2 ${notice_platform}MinGW development files not found; using bundled version."
12068 if ${MPG123_PE_CFLAGS:+false} :
12069 then :
12070 if test ${MINGW_PKG_CONFIG+y}
12071 then :
12072 MPG123_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libmpg123 2>/dev/null`
12075 if ${MPG123_PE_LIBS:+false} :
12076 then :
12077 if test ${MINGW_PKG_CONFIG+y}
12078 then :
12079 MPG123_PE_LIBS=`$MINGW_PKG_CONFIG --libs libmpg123 2>/dev/null`
12082 MPG123_PE_LIBS=${MPG123_PE_LIBS:-"-lmpg123"}
12083 ac_save_CPPFLAGS=$CPPFLAGS
12084 CPPFLAGS="$CPPFLAGS $MPG123_PE_CFLAGS"
12085 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW mpg123.h" >&5
12086 printf %s "checking for MinGW mpg123.h... " >&6; }
12087 if test ${ac_cv_mingw_header_mpg123_h+y}
12088 then :
12089 printf %s "(cached) " >&6
12090 else $as_nop
12091 ac_wine_check_headers_saved_cc=$CC
12092 ac_wine_check_headers_saved_exeext=$ac_exeext
12093 eval CC=\$${wine_arch}_CC
12094 ac_exeext=".exe"
12095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12096 /* end confdefs.h. */
12098 #include <mpg123.h>
12100 main (void)
12104 return 0;
12106 _ACEOF
12107 if ac_fn_c_try_compile "$LINENO"
12108 then :
12109 ac_cv_mingw_header_mpg123_h=yes
12110 else $as_nop
12111 ac_cv_mingw_header_mpg123_h=no
12113 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12114 CC=$ac_wine_check_headers_saved_cc
12115 ac_exeext=$ac_wine_check_headers_saved_exeext
12117 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_mpg123_h" >&5
12118 printf "%s\n" "$ac_cv_mingw_header_mpg123_h" >&6; }
12119 if test "x$ac_cv_mingw_header_mpg123_h" = xyes
12120 then :
12121 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in MinGW -lmpg123" >&5
12122 printf %s "checking for mpg123_feed in MinGW -lmpg123... " >&6; }
12123 if test ${ac_cv_mingw_lib_mpg123+y}
12124 then :
12125 printf %s "(cached) " >&6
12126 else $as_nop
12127 ac_wine_check_headers_saved_cc=$CC
12128 ac_wine_check_headers_saved_exeext=$ac_exeext
12129 ac_wine_check_headers_saved_libs=$LIBS
12130 eval CC=\$${wine_arch}_CC
12131 ac_exeext=".exe"
12132 LIBS="-lmpg123 $MPG123_PE_LIBS $LIBS"
12133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12134 /* end confdefs.h. */
12136 /* Override any GCC internal prototype to avoid an error.
12137 Use char because int might match the return type of a GCC
12138 builtin and then its argument prototype would still apply. */
12139 char mpg123_feed ();
12141 main (void)
12143 return mpg123_feed ();
12145 return 0;
12147 _ACEOF
12148 if ac_fn_c_try_link "$LINENO"
12149 then :
12150 ac_cv_mingw_lib_mpg123=yes
12151 else $as_nop
12152 ac_cv_mingw_lib_mpg123=no
12154 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12155 conftest$ac_exeext conftest.$ac_ext
12156 CC=$ac_wine_check_headers_saved_cc
12157 ac_exeext=$ac_wine_check_headers_saved_exeext
12158 LIBS=$ac_wine_check_headers_saved_libs
12160 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_mpg123" >&5
12161 printf "%s\n" "$ac_cv_mingw_lib_mpg123" >&6; }
12162 if test "x$ac_cv_mingw_lib_mpg123" = xyes
12163 then :
12165 else $as_nop
12166 MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
12168 else $as_nop
12169 MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
12171 CPPFLAGS=$ac_save_CPPFLAGS
12173 if test "x$MPG123_PE_LIBS" = "x"
12174 then
12175 as_fn_append wine_notices "|libmpg123 ${notice_platform}MinGW development files not found (or too old); using bundled version."
12178 if ${PNG_PE_CFLAGS:+false} :
12179 then :
12180 if test ${MINGW_PKG_CONFIG+y}
12181 then :
12182 PNG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libpng 2>/dev/null`
12185 if ${PNG_PE_LIBS:+false} :
12186 then :
12187 if test ${MINGW_PKG_CONFIG+y}
12188 then :
12189 PNG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libpng 2>/dev/null`
12193 ac_save_CPPFLAGS=$CPPFLAGS
12194 CPPFLAGS="$CPPFLAGS $PNG_PE_CFLAGS"
12195 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW png.h" >&5
12196 printf %s "checking for MinGW png.h... " >&6; }
12197 if test ${ac_cv_mingw_header_png_h+y}
12198 then :
12199 printf %s "(cached) " >&6
12200 else $as_nop
12201 ac_wine_check_headers_saved_cc=$CC
12202 ac_wine_check_headers_saved_exeext=$ac_exeext
12203 eval CC=\$${wine_arch}_CC
12204 ac_exeext=".exe"
12205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12206 /* end confdefs.h. */
12208 #include <png.h>
12210 main (void)
12214 return 0;
12216 _ACEOF
12217 if ac_fn_c_try_compile "$LINENO"
12218 then :
12219 ac_cv_mingw_header_png_h=yes
12220 else $as_nop
12221 ac_cv_mingw_header_png_h=no
12223 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12224 CC=$ac_wine_check_headers_saved_cc
12225 ac_exeext=$ac_wine_check_headers_saved_exeext
12227 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_png_h" >&5
12228 printf "%s\n" "$ac_cv_mingw_header_png_h" >&6; }
12229 if test "x$ac_cv_mingw_header_png_h" = xyes
12230 then :
12231 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for png_create_read_struct in MinGW -lpng" >&5
12232 printf %s "checking for png_create_read_struct in MinGW -lpng... " >&6; }
12233 if test ${ac_cv_mingw_lib_png+y}
12234 then :
12235 printf %s "(cached) " >&6
12236 else $as_nop
12237 ac_wine_check_headers_saved_cc=$CC
12238 ac_wine_check_headers_saved_exeext=$ac_exeext
12239 ac_wine_check_headers_saved_libs=$LIBS
12240 eval CC=\$${wine_arch}_CC
12241 ac_exeext=".exe"
12242 LIBS="-lpng $PNG_PE_LIBS $LIBS"
12243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12244 /* end confdefs.h. */
12246 /* Override any GCC internal prototype to avoid an error.
12247 Use char because int might match the return type of a GCC
12248 builtin and then its argument prototype would still apply. */
12249 char png_create_read_struct ();
12251 main (void)
12253 return png_create_read_struct ();
12255 return 0;
12257 _ACEOF
12258 if ac_fn_c_try_link "$LINENO"
12259 then :
12260 ac_cv_mingw_lib_png=yes
12261 else $as_nop
12262 ac_cv_mingw_lib_png=no
12264 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12265 conftest$ac_exeext conftest.$ac_ext
12266 CC=$ac_wine_check_headers_saved_cc
12267 ac_exeext=$ac_wine_check_headers_saved_exeext
12268 LIBS=$ac_wine_check_headers_saved_libs
12270 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_png" >&5
12271 printf "%s\n" "$ac_cv_mingw_lib_png" >&6; }
12272 if test "x$ac_cv_mingw_lib_png" = xyes
12273 then :
12275 else $as_nop
12276 PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
12278 else $as_nop
12279 PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
12281 CPPFLAGS=$ac_save_CPPFLAGS
12283 if test "x$PNG_PE_LIBS" = "x"
12284 then
12285 as_fn_append wine_notices "|libpng ${notice_platform}MinGW development files not found; using bundled version."
12288 if ${TIFF_PE_CFLAGS:+false} :
12289 then :
12290 if test ${MINGW_PKG_CONFIG+y}
12291 then :
12292 TIFF_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libtiff-4 2>/dev/null`
12295 if ${TIFF_PE_LIBS:+false} :
12296 then :
12297 if test ${MINGW_PKG_CONFIG+y}
12298 then :
12299 TIFF_PE_LIBS=`$MINGW_PKG_CONFIG --libs libtiff-4 2>/dev/null`
12303 ac_save_CPPFLAGS=$CPPFLAGS
12304 CPPFLAGS="$CPPFLAGS $TIFF_PE_CFLAGS"
12305 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW tiffio.h" >&5
12306 printf %s "checking for MinGW tiffio.h... " >&6; }
12307 if test ${ac_cv_mingw_header_tiffio_h+y}
12308 then :
12309 printf %s "(cached) " >&6
12310 else $as_nop
12311 ac_wine_check_headers_saved_cc=$CC
12312 ac_wine_check_headers_saved_exeext=$ac_exeext
12313 eval CC=\$${wine_arch}_CC
12314 ac_exeext=".exe"
12315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12316 /* end confdefs.h. */
12318 #include <tiffio.h>
12320 main (void)
12324 return 0;
12326 _ACEOF
12327 if ac_fn_c_try_compile "$LINENO"
12328 then :
12329 ac_cv_mingw_header_tiffio_h=yes
12330 else $as_nop
12331 ac_cv_mingw_header_tiffio_h=no
12333 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12334 CC=$ac_wine_check_headers_saved_cc
12335 ac_exeext=$ac_wine_check_headers_saved_exeext
12337 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_tiffio_h" >&5
12338 printf "%s\n" "$ac_cv_mingw_header_tiffio_h" >&6; }
12339 if test "x$ac_cv_mingw_header_tiffio_h" = xyes
12340 then :
12341 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for TIFFClientOpen in MinGW -ltiff" >&5
12342 printf %s "checking for TIFFClientOpen in MinGW -ltiff... " >&6; }
12343 if test ${ac_cv_mingw_lib_tiff+y}
12344 then :
12345 printf %s "(cached) " >&6
12346 else $as_nop
12347 ac_wine_check_headers_saved_cc=$CC
12348 ac_wine_check_headers_saved_exeext=$ac_exeext
12349 ac_wine_check_headers_saved_libs=$LIBS
12350 eval CC=\$${wine_arch}_CC
12351 ac_exeext=".exe"
12352 LIBS="-ltiff $TIFF_PE_LIBS $LIBS"
12353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12354 /* end confdefs.h. */
12356 /* Override any GCC internal prototype to avoid an error.
12357 Use char because int might match the return type of a GCC
12358 builtin and then its argument prototype would still apply. */
12359 char TIFFClientOpen ();
12361 main (void)
12363 return TIFFClientOpen ();
12365 return 0;
12367 _ACEOF
12368 if ac_fn_c_try_link "$LINENO"
12369 then :
12370 ac_cv_mingw_lib_tiff=yes
12371 else $as_nop
12372 ac_cv_mingw_lib_tiff=no
12374 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12375 conftest$ac_exeext conftest.$ac_ext
12376 CC=$ac_wine_check_headers_saved_cc
12377 ac_exeext=$ac_wine_check_headers_saved_exeext
12378 LIBS=$ac_wine_check_headers_saved_libs
12380 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_tiff" >&5
12381 printf "%s\n" "$ac_cv_mingw_lib_tiff" >&6; }
12382 if test "x$ac_cv_mingw_lib_tiff" = xyes
12383 then :
12385 else $as_nop
12386 TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
12388 else $as_nop
12389 TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
12391 CPPFLAGS=$ac_save_CPPFLAGS
12393 if test "x$TIFF_PE_LIBS" = "x"
12394 then
12395 as_fn_append wine_notices "|libtiff ${notice_platform}MinGW development files not found; using bundled version."
12398 if ${XML2_PE_CFLAGS:+false} :
12399 then :
12400 if test ${MINGW_PKG_CONFIG+y}
12401 then :
12402 XML2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
12405 if ${XML2_PE_LIBS:+false} :
12406 then :
12407 if test ${MINGW_PKG_CONFIG+y}
12408 then :
12409 XML2_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxml-2.0 2>/dev/null`
12412 XML2_PE_LIBS=${XML2_PE_LIBS:-"-lxml2"}
12413 ac_save_CPPFLAGS=$CPPFLAGS
12414 CPPFLAGS="$CPPFLAGS $XML2_PE_CFLAGS"
12415 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/parser.h" >&5
12416 printf %s "checking for MinGW libxml/parser.h... " >&6; }
12417 if test ${ac_cv_mingw_header_libxml_parser_h+y}
12418 then :
12419 printf %s "(cached) " >&6
12420 else $as_nop
12421 ac_wine_check_headers_saved_cc=$CC
12422 ac_wine_check_headers_saved_exeext=$ac_exeext
12423 eval CC=\$${wine_arch}_CC
12424 ac_exeext=".exe"
12425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12426 /* end confdefs.h. */
12428 #include <libxml/parser.h>
12430 main (void)
12434 return 0;
12436 _ACEOF
12437 if ac_fn_c_try_compile "$LINENO"
12438 then :
12439 ac_cv_mingw_header_libxml_parser_h=yes
12440 else $as_nop
12441 ac_cv_mingw_header_libxml_parser_h=no
12443 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12444 CC=$ac_wine_check_headers_saved_cc
12445 ac_exeext=$ac_wine_check_headers_saved_exeext
12447 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_parser_h" >&5
12448 printf "%s\n" "$ac_cv_mingw_header_libxml_parser_h" >&6; }
12449 if test "x$ac_cv_mingw_header_libxml_parser_h" = xyes
12450 then :
12453 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/xmlsave.h" >&5
12454 printf %s "checking for MinGW libxml/xmlsave.h... " >&6; }
12455 if test ${ac_cv_mingw_header_libxml_xmlsave_h+y}
12456 then :
12457 printf %s "(cached) " >&6
12458 else $as_nop
12459 ac_wine_check_headers_saved_cc=$CC
12460 ac_wine_check_headers_saved_exeext=$ac_exeext
12461 eval CC=\$${wine_arch}_CC
12462 ac_exeext=".exe"
12463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12464 /* end confdefs.h. */
12466 #include <libxml/xmlsave.h>
12468 main (void)
12472 return 0;
12474 _ACEOF
12475 if ac_fn_c_try_compile "$LINENO"
12476 then :
12477 ac_cv_mingw_header_libxml_xmlsave_h=yes
12478 else $as_nop
12479 ac_cv_mingw_header_libxml_xmlsave_h=no
12481 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12482 CC=$ac_wine_check_headers_saved_cc
12483 ac_exeext=$ac_wine_check_headers_saved_exeext
12485 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_xmlsave_h" >&5
12486 printf "%s\n" "$ac_cv_mingw_header_libxml_xmlsave_h" >&6; }
12487 if test "x$ac_cv_mingw_header_libxml_xmlsave_h" = xyes
12488 then :
12491 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/SAX2.h" >&5
12492 printf %s "checking for MinGW libxml/SAX2.h... " >&6; }
12493 if test ${ac_cv_mingw_header_libxml_SAX2_h+y}
12494 then :
12495 printf %s "(cached) " >&6
12496 else $as_nop
12497 ac_wine_check_headers_saved_cc=$CC
12498 ac_wine_check_headers_saved_exeext=$ac_exeext
12499 eval CC=\$${wine_arch}_CC
12500 ac_exeext=".exe"
12501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12502 /* end confdefs.h. */
12504 #include <libxml/SAX2.h>
12506 main (void)
12510 return 0;
12512 _ACEOF
12513 if ac_fn_c_try_compile "$LINENO"
12514 then :
12515 ac_cv_mingw_header_libxml_SAX2_h=yes
12516 else $as_nop
12517 ac_cv_mingw_header_libxml_SAX2_h=no
12519 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12520 CC=$ac_wine_check_headers_saved_cc
12521 ac_exeext=$ac_wine_check_headers_saved_exeext
12523 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_SAX2_h" >&5
12524 printf "%s\n" "$ac_cv_mingw_header_libxml_SAX2_h" >&6; }
12525 if test "x$ac_cv_mingw_header_libxml_SAX2_h" = xyes
12526 then :
12529 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"
12530 then
12531 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in MinGW -lxml2" >&5
12532 printf %s "checking for xmlFirstElementChild in MinGW -lxml2... " >&6; }
12533 if test ${ac_cv_mingw_lib_xml2+y}
12534 then :
12535 printf %s "(cached) " >&6
12536 else $as_nop
12537 ac_wine_check_headers_saved_cc=$CC
12538 ac_wine_check_headers_saved_exeext=$ac_exeext
12539 ac_wine_check_headers_saved_libs=$LIBS
12540 eval CC=\$${wine_arch}_CC
12541 ac_exeext=".exe"
12542 LIBS="-lxml2 $XML2_PE_LIBS $LIBS"
12543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12544 /* end confdefs.h. */
12546 /* Override any GCC internal prototype to avoid an error.
12547 Use char because int might match the return type of a GCC
12548 builtin and then its argument prototype would still apply. */
12549 char xmlFirstElementChild ();
12551 main (void)
12553 return xmlFirstElementChild ();
12555 return 0;
12557 _ACEOF
12558 if ac_fn_c_try_link "$LINENO"
12559 then :
12560 ac_cv_mingw_lib_xml2=yes
12561 else $as_nop
12562 ac_cv_mingw_lib_xml2=no
12564 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12565 conftest$ac_exeext conftest.$ac_ext
12566 CC=$ac_wine_check_headers_saved_cc
12567 ac_exeext=$ac_wine_check_headers_saved_exeext
12568 LIBS=$ac_wine_check_headers_saved_libs
12570 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xml2" >&5
12571 printf "%s\n" "$ac_cv_mingw_lib_xml2" >&6; }
12572 if test "x$ac_cv_mingw_lib_xml2" = xyes
12573 then :
12575 else $as_nop
12576 XML2_PE_CFLAGS=""; XML2_PE_LIBS=""
12578 else
12579 XML2_PE_CFLAGS=""
12580 XML2_PE_LIBS=""
12582 CPPFLAGS=$ac_save_CPPFLAGS
12584 if test "x$XML2_PE_LIBS" = "x"
12585 then
12586 as_fn_append wine_notices "|libxml2 ${notice_platform}MinGW development files not found (or too old); using bundled version."
12589 if ${XSLT_PE_CFLAGS:+false} :
12590 then :
12591 if test ${MINGW_PKG_CONFIG+y}
12592 then :
12593 XSLT_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxslt 2>/dev/null`
12596 if ${XSLT_PE_LIBS:+false} :
12597 then :
12598 if test ${MINGW_PKG_CONFIG+y}
12599 then :
12600 XSLT_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxslt 2>/dev/null`
12603 XSLT_PE_LIBS=${XSLT_PE_LIBS:-"-lxslt"}
12604 ac_save_CPPFLAGS=$CPPFLAGS
12605 CPPFLAGS="$CPPFLAGS $XSLT_PE_CFLAGS"
12606 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/pattern.h" >&5
12607 printf %s "checking for MinGW libxslt/pattern.h... " >&6; }
12608 if test ${ac_cv_mingw_header_libxslt_pattern_h+y}
12609 then :
12610 printf %s "(cached) " >&6
12611 else $as_nop
12612 ac_wine_check_headers_saved_cc=$CC
12613 ac_wine_check_headers_saved_exeext=$ac_exeext
12614 eval CC=\$${wine_arch}_CC
12615 ac_exeext=".exe"
12616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12617 /* end confdefs.h. */
12619 #include <libxslt/pattern.h>
12621 main (void)
12625 return 0;
12627 _ACEOF
12628 if ac_fn_c_try_compile "$LINENO"
12629 then :
12630 ac_cv_mingw_header_libxslt_pattern_h=yes
12631 else $as_nop
12632 ac_cv_mingw_header_libxslt_pattern_h=no
12634 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12635 CC=$ac_wine_check_headers_saved_cc
12636 ac_exeext=$ac_wine_check_headers_saved_exeext
12638 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_pattern_h" >&5
12639 printf "%s\n" "$ac_cv_mingw_header_libxslt_pattern_h" >&6; }
12640 if test "x$ac_cv_mingw_header_libxslt_pattern_h" = xyes
12641 then :
12644 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/transform.h" >&5
12645 printf %s "checking for MinGW libxslt/transform.h... " >&6; }
12646 if test ${ac_cv_mingw_header_libxslt_transform_h+y}
12647 then :
12648 printf %s "(cached) " >&6
12649 else $as_nop
12650 ac_wine_check_headers_saved_cc=$CC
12651 ac_wine_check_headers_saved_exeext=$ac_exeext
12652 eval CC=\$${wine_arch}_CC
12653 ac_exeext=".exe"
12654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12655 /* end confdefs.h. */
12657 #include <libxslt/transform.h>
12659 main (void)
12663 return 0;
12665 _ACEOF
12666 if ac_fn_c_try_compile "$LINENO"
12667 then :
12668 ac_cv_mingw_header_libxslt_transform_h=yes
12669 else $as_nop
12670 ac_cv_mingw_header_libxslt_transform_h=no
12672 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12673 CC=$ac_wine_check_headers_saved_cc
12674 ac_exeext=$ac_wine_check_headers_saved_exeext
12676 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_transform_h" >&5
12677 printf "%s\n" "$ac_cv_mingw_header_libxslt_transform_h" >&6; }
12678 if test "x$ac_cv_mingw_header_libxslt_transform_h" = xyes
12679 then :
12682 if test "$ac_cv_mingw_header_libxslt_pattern_h" = "yes" -a "$ac_cv_mingw_header_libxslt_transform_h" = "yes"
12683 then
12684 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xsltCompilePattern in MinGW -lxslt" >&5
12685 printf %s "checking for xsltCompilePattern in MinGW -lxslt... " >&6; }
12686 if test ${ac_cv_mingw_lib_xslt+y}
12687 then :
12688 printf %s "(cached) " >&6
12689 else $as_nop
12690 ac_wine_check_headers_saved_cc=$CC
12691 ac_wine_check_headers_saved_exeext=$ac_exeext
12692 ac_wine_check_headers_saved_libs=$LIBS
12693 eval CC=\$${wine_arch}_CC
12694 ac_exeext=".exe"
12695 LIBS="-lxslt $XSLT_PE_LIBS $LIBS"
12696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12697 /* end confdefs.h. */
12699 /* Override any GCC internal prototype to avoid an error.
12700 Use char because int might match the return type of a GCC
12701 builtin and then its argument prototype would still apply. */
12702 char xsltCompilePattern ();
12704 main (void)
12706 return xsltCompilePattern ();
12708 return 0;
12710 _ACEOF
12711 if ac_fn_c_try_link "$LINENO"
12712 then :
12713 ac_cv_mingw_lib_xslt=yes
12714 else $as_nop
12715 ac_cv_mingw_lib_xslt=no
12717 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12718 conftest$ac_exeext conftest.$ac_ext
12719 CC=$ac_wine_check_headers_saved_cc
12720 ac_exeext=$ac_wine_check_headers_saved_exeext
12721 LIBS=$ac_wine_check_headers_saved_libs
12723 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xslt" >&5
12724 printf "%s\n" "$ac_cv_mingw_lib_xslt" >&6; }
12725 if test "x$ac_cv_mingw_lib_xslt" = xyes
12726 then :
12728 else $as_nop
12729 XSLT_PE_CFLAGS=""; XSLT_PE_LIBS=""
12731 else
12732 XSLT_PE_CFLAGS=""
12733 XSLT_PE_LIBS=""
12735 CPPFLAGS=$ac_save_CPPFLAGS
12737 if test "x$XSLT_PE_LIBS" = "x"
12738 then
12739 as_fn_append wine_notices "|libxslt ${notice_platform}MinGW development files not found; using bundled version."
12742 if ${VKD3D_PE_CFLAGS:+false} :
12743 then :
12744 if test ${MINGW_PKG_CONFIG+y}
12745 then :
12746 VKD3D_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libvkd3d libvkd3d-shader 2>/dev/null`
12749 if ${VKD3D_PE_LIBS:+false} :
12750 then :
12751 if test ${MINGW_PKG_CONFIG+y}
12752 then :
12753 VKD3D_PE_LIBS=`$MINGW_PKG_CONFIG --libs libvkd3d libvkd3d-shader 2>/dev/null`
12756 VKD3D_PE_LIBS=${VKD3D_PE_LIBS:-"-lvkd3d -lvkd3d-shader"}
12757 ac_save_CPPFLAGS=$CPPFLAGS
12758 CPPFLAGS="$CPPFLAGS $VKD3D_PE_CFLAGS"
12759 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW vkd3d.h" >&5
12760 printf %s "checking for MinGW vkd3d.h... " >&6; }
12761 if test ${ac_cv_mingw_header_vkd3d_h+y}
12762 then :
12763 printf %s "(cached) " >&6
12764 else $as_nop
12765 ac_wine_check_headers_saved_cc=$CC
12766 ac_wine_check_headers_saved_exeext=$ac_exeext
12767 eval CC=\$${wine_arch}_CC
12768 ac_exeext=".exe"
12769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12770 /* end confdefs.h. */
12772 #include <vkd3d.h>
12774 main (void)
12778 return 0;
12780 _ACEOF
12781 if ac_fn_c_try_compile "$LINENO"
12782 then :
12783 ac_cv_mingw_header_vkd3d_h=yes
12784 else $as_nop
12785 ac_cv_mingw_header_vkd3d_h=no
12787 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12788 CC=$ac_wine_check_headers_saved_cc
12789 ac_exeext=$ac_wine_check_headers_saved_exeext
12791 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_vkd3d_h" >&5
12792 printf "%s\n" "$ac_cv_mingw_header_vkd3d_h" >&6; }
12793 if test "x$ac_cv_mingw_header_vkd3d_h" = xyes
12794 then :
12797 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW vkd3d_shader.h" >&5
12798 printf %s "checking for MinGW vkd3d_shader.h... " >&6; }
12799 if test ${ac_cv_mingw_header_vkd3d_shader_h+y}
12800 then :
12801 printf %s "(cached) " >&6
12802 else $as_nop
12803 ac_wine_check_headers_saved_cc=$CC
12804 ac_wine_check_headers_saved_exeext=$ac_exeext
12805 eval CC=\$${wine_arch}_CC
12806 ac_exeext=".exe"
12807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12808 /* end confdefs.h. */
12810 #include <vkd3d_shader.h>
12812 main (void)
12816 return 0;
12818 _ACEOF
12819 if ac_fn_c_try_compile "$LINENO"
12820 then :
12821 ac_cv_mingw_header_vkd3d_shader_h=yes
12822 else $as_nop
12823 ac_cv_mingw_header_vkd3d_shader_h=no
12825 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12826 CC=$ac_wine_check_headers_saved_cc
12827 ac_exeext=$ac_wine_check_headers_saved_exeext
12829 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_vkd3d_shader_h" >&5
12830 printf "%s\n" "$ac_cv_mingw_header_vkd3d_shader_h" >&6; }
12831 if test "x$ac_cv_mingw_header_vkd3d_shader_h" = xyes
12832 then :
12835 if test "$ac_cv_mingw_header_vkd3d_h" = "yes" -a "$ac_cv_mingw_header_vkd3d_shader_h" = "yes"
12836 then
12837 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for vkd3d_set_log_callback in MinGW -lvkd3d" >&5
12838 printf %s "checking for vkd3d_set_log_callback in MinGW -lvkd3d... " >&6; }
12839 if test ${ac_cv_mingw_lib_vkd3d+y}
12840 then :
12841 printf %s "(cached) " >&6
12842 else $as_nop
12843 ac_wine_check_headers_saved_cc=$CC
12844 ac_wine_check_headers_saved_exeext=$ac_exeext
12845 ac_wine_check_headers_saved_libs=$LIBS
12846 eval CC=\$${wine_arch}_CC
12847 ac_exeext=".exe"
12848 LIBS="-lvkd3d $VKD3D_PE_LIBS $LIBS"
12849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12850 /* end confdefs.h. */
12852 /* Override any GCC internal prototype to avoid an error.
12853 Use char because int might match the return type of a GCC
12854 builtin and then its argument prototype would still apply. */
12855 char vkd3d_set_log_callback ();
12857 main (void)
12859 return vkd3d_set_log_callback ();
12861 return 0;
12863 _ACEOF
12864 if ac_fn_c_try_link "$LINENO"
12865 then :
12866 ac_cv_mingw_lib_vkd3d=yes
12867 else $as_nop
12868 ac_cv_mingw_lib_vkd3d=no
12870 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12871 conftest$ac_exeext conftest.$ac_ext
12872 CC=$ac_wine_check_headers_saved_cc
12873 ac_exeext=$ac_wine_check_headers_saved_exeext
12874 LIBS=$ac_wine_check_headers_saved_libs
12876 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_vkd3d" >&5
12877 printf "%s\n" "$ac_cv_mingw_lib_vkd3d" >&6; }
12878 if test "x$ac_cv_mingw_lib_vkd3d" = xyes
12879 then :
12881 else $as_nop
12884 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for vkd3d_shader_compile in MinGW -lvkd3d-shader" >&5
12885 printf %s "checking for vkd3d_shader_compile in MinGW -lvkd3d-shader... " >&6; }
12886 if test ${ac_cv_mingw_lib_vkd3d_shader+y}
12887 then :
12888 printf %s "(cached) " >&6
12889 else $as_nop
12890 ac_wine_check_headers_saved_cc=$CC
12891 ac_wine_check_headers_saved_exeext=$ac_exeext
12892 ac_wine_check_headers_saved_libs=$LIBS
12893 eval CC=\$${wine_arch}_CC
12894 ac_exeext=".exe"
12895 LIBS="-lvkd3d-shader $VKD3D_PE_LIBS $LIBS"
12896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12897 /* end confdefs.h. */
12899 /* Override any GCC internal prototype to avoid an error.
12900 Use char because int might match the return type of a GCC
12901 builtin and then its argument prototype would still apply. */
12902 char vkd3d_shader_compile ();
12904 main (void)
12906 return vkd3d_shader_compile ();
12908 return 0;
12910 _ACEOF
12911 if ac_fn_c_try_link "$LINENO"
12912 then :
12913 ac_cv_mingw_lib_vkd3d_shader=yes
12914 else $as_nop
12915 ac_cv_mingw_lib_vkd3d_shader=no
12917 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12918 conftest$ac_exeext conftest.$ac_ext
12919 CC=$ac_wine_check_headers_saved_cc
12920 ac_exeext=$ac_wine_check_headers_saved_exeext
12921 LIBS=$ac_wine_check_headers_saved_libs
12923 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_vkd3d_shader" >&5
12924 printf "%s\n" "$ac_cv_mingw_lib_vkd3d_shader" >&6; }
12925 if test "x$ac_cv_mingw_lib_vkd3d_shader" = xyes
12926 then :
12928 else $as_nop
12931 if test "$ac_cv_mingw_lib_vkd3d" = "no" -o "$ac_cv_mingw_lib_vkd3d_shader" = "no"
12932 then
12933 VKD3D_PE_CFLAGS=""
12934 VKD3D_PE_LIBS=""
12936 else
12937 VKD3D_PE_CFLAGS=""
12938 VKD3D_PE_LIBS=""
12940 CPPFLAGS=$ac_save_CPPFLAGS
12942 if test "x$VKD3D_PE_LIBS" = "x"
12943 then
12944 as_fn_append wine_notices "|libvkd3d ${notice_platform}MinGW development files not found (or too old); using bundled version."
12947 if ${ZLIB_PE_CFLAGS:+false} :
12948 then :
12949 if test ${MINGW_PKG_CONFIG+y}
12950 then :
12951 ZLIB_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags zlib 2>/dev/null`
12954 if ${ZLIB_PE_LIBS:+false} :
12955 then :
12956 if test ${MINGW_PKG_CONFIG+y}
12957 then :
12958 ZLIB_PE_LIBS=`$MINGW_PKG_CONFIG --libs zlib 2>/dev/null`
12961 ZLIB_PE_LIBS=${ZLIB_PE_LIBS:-"-lz"}
12962 ac_save_CPPFLAGS=$CPPFLAGS
12963 CPPFLAGS="$CPPFLAGS $ZLIB_PE_CFLAGS"
12964 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW zlib.h" >&5
12965 printf %s "checking for MinGW zlib.h... " >&6; }
12966 if test ${ac_cv_mingw_header_zlib_h+y}
12967 then :
12968 printf %s "(cached) " >&6
12969 else $as_nop
12970 ac_wine_check_headers_saved_cc=$CC
12971 ac_wine_check_headers_saved_exeext=$ac_exeext
12972 eval CC=\$${wine_arch}_CC
12973 ac_exeext=".exe"
12974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12975 /* end confdefs.h. */
12977 #include <zlib.h>
12979 main (void)
12983 return 0;
12985 _ACEOF
12986 if ac_fn_c_try_compile "$LINENO"
12987 then :
12988 ac_cv_mingw_header_zlib_h=yes
12989 else $as_nop
12990 ac_cv_mingw_header_zlib_h=no
12992 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12993 CC=$ac_wine_check_headers_saved_cc
12994 ac_exeext=$ac_wine_check_headers_saved_exeext
12996 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_zlib_h" >&5
12997 printf "%s\n" "$ac_cv_mingw_header_zlib_h" >&6; }
12998 if test "x$ac_cv_mingw_header_zlib_h" = xyes
12999 then :
13000 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inflate in MinGW -lz" >&5
13001 printf %s "checking for inflate in MinGW -lz... " >&6; }
13002 if test ${ac_cv_mingw_lib_z+y}
13003 then :
13004 printf %s "(cached) " >&6
13005 else $as_nop
13006 ac_wine_check_headers_saved_cc=$CC
13007 ac_wine_check_headers_saved_exeext=$ac_exeext
13008 ac_wine_check_headers_saved_libs=$LIBS
13009 eval CC=\$${wine_arch}_CC
13010 ac_exeext=".exe"
13011 LIBS="-lz $ZLIB_PE_LIBS $LIBS"
13012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13013 /* end confdefs.h. */
13015 /* Override any GCC internal prototype to avoid an error.
13016 Use char because int might match the return type of a GCC
13017 builtin and then its argument prototype would still apply. */
13018 char inflate ();
13020 main (void)
13022 return inflate ();
13024 return 0;
13026 _ACEOF
13027 if ac_fn_c_try_link "$LINENO"
13028 then :
13029 ac_cv_mingw_lib_z=yes
13030 else $as_nop
13031 ac_cv_mingw_lib_z=no
13033 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13034 conftest$ac_exeext conftest.$ac_ext
13035 CC=$ac_wine_check_headers_saved_cc
13036 ac_exeext=$ac_wine_check_headers_saved_exeext
13037 LIBS=$ac_wine_check_headers_saved_libs
13039 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_z" >&5
13040 printf "%s\n" "$ac_cv_mingw_lib_z" >&6; }
13041 if test "x$ac_cv_mingw_lib_z" = xyes
13042 then :
13044 else $as_nop
13045 ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
13047 else $as_nop
13048 ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
13050 CPPFLAGS=$ac_save_CPPFLAGS
13052 if test "x$ZLIB_PE_LIBS" = "x"
13053 then
13054 as_fn_append wine_notices "|zlib ${notice_platform}MinGW development files not found; using bundled version."
13058 if ${FAUDIO_PE_LIBS:+false} :
13059 then :
13060 FAUDIO_PE_LIBS="faudio mfplat mfreadwrite mfuuid propsys"
13061 if ${FAUDIO_PE_CFLAGS:+false} :
13062 then :
13063 FAUDIO_PE_CFLAGS="-I\$(top_srcdir)/libs/faudio/include"
13064 else $as_nop
13065 enable_faudio=no
13067 else $as_nop
13068 enable_faudio=no
13070 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio cflags: $FAUDIO_PE_CFLAGS" >&5
13071 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio libs: $FAUDIO_PE_LIBS" >&5
13073 if ${GSM_PE_LIBS:+false} :
13074 then :
13075 GSM_PE_LIBS=gsm
13076 if ${GSM_PE_CFLAGS:+false} :
13077 then :
13078 GSM_PE_CFLAGS="-I\$(top_srcdir)/libs/gsm/inc"
13079 else $as_nop
13080 enable_gsm=no
13082 else $as_nop
13083 enable_gsm=no
13085 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm cflags: $GSM_PE_CFLAGS" >&5
13086 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm libs: $GSM_PE_LIBS" >&5
13088 if ${JPEG_PE_LIBS:+false} :
13089 then :
13090 JPEG_PE_LIBS=jpeg
13091 if ${JPEG_PE_CFLAGS:+false} :
13092 then :
13093 JPEG_PE_CFLAGS="-I\$(top_srcdir)/libs/jpeg"
13094 else $as_nop
13095 enable_jpeg=no
13097 else $as_nop
13098 enable_jpeg=no
13100 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg cflags: $JPEG_PE_CFLAGS" >&5
13101 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg libs: $JPEG_PE_LIBS" >&5
13103 if ${JXR_PE_LIBS:+false} :
13104 then :
13105 JXR_PE_LIBS=jxr
13106 if ${JXR_PE_CFLAGS:+false} :
13107 then :
13108 JXR_PE_CFLAGS="-I\$(top_srcdir)/libs/jxr/jxrgluelib -I\$(top_srcdir)/libs/jxr/image/sys"
13109 else $as_nop
13110 enable_jxr=no
13112 else $as_nop
13113 enable_jxr=no
13115 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr cflags: $JXR_PE_CFLAGS" >&5
13116 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr libs: $JXR_PE_LIBS" >&5
13118 if ${LCMS2_PE_LIBS:+false} :
13119 then :
13120 LCMS2_PE_LIBS=lcms2
13121 if ${LCMS2_PE_CFLAGS:+false} :
13122 then :
13123 LCMS2_PE_CFLAGS="-I\$(top_srcdir)/libs/lcms2/include"
13124 else $as_nop
13125 enable_lcms2=no
13127 else $as_nop
13128 enable_lcms2=no
13130 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_PE_CFLAGS" >&5
13131 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_PE_LIBS" >&5
13133 if ${LDAP_PE_LIBS:+false} :
13134 then :
13135 LDAP_PE_LIBS=ldap
13136 if ${LDAP_PE_CFLAGS:+false} :
13137 then :
13138 LDAP_PE_CFLAGS="-I\$(top_srcdir)/libs/ldap/include"
13139 else $as_nop
13140 enable_ldap=no
13142 else $as_nop
13143 enable_ldap=no
13145 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ldap cflags: $LDAP_PE_CFLAGS" >&5
13146 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ldap libs: $LDAP_PE_LIBS" >&5
13148 if ${MPG123_PE_LIBS:+false} :
13149 then :
13150 MPG123_PE_LIBS=mpg123
13151 if ${MPG123_PE_CFLAGS:+false} :
13152 then :
13153 MPG123_PE_CFLAGS="-I\$(top_srcdir)/libs/mpg123/src/libmpg123"
13154 else $as_nop
13155 enable_mpg123=no
13157 else $as_nop
13158 enable_mpg123=no
13160 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 cflags: $MPG123_PE_CFLAGS" >&5
13161 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 libs: $MPG123_PE_LIBS" >&5
13163 if ${PNG_PE_LIBS:+false} :
13164 then :
13165 PNG_PE_LIBS="png \$(ZLIB_PE_LIBS)"
13166 if ${PNG_PE_CFLAGS:+false} :
13167 then :
13168 PNG_PE_CFLAGS="-I\$(top_srcdir)/libs/png"
13169 else $as_nop
13170 enable_png=no
13172 else $as_nop
13173 enable_png=no
13175 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png cflags: $PNG_PE_CFLAGS" >&5
13176 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png libs: $PNG_PE_LIBS" >&5
13178 if ${TIFF_PE_LIBS:+false} :
13179 then :
13180 TIFF_PE_LIBS="tiff \$(ZLIB_PE_LIBS)"
13181 if ${TIFF_PE_CFLAGS:+false} :
13182 then :
13183 TIFF_PE_CFLAGS="-I\$(top_srcdir)/libs/tiff/libtiff"
13184 else $as_nop
13185 enable_tiff=no
13187 else $as_nop
13188 enable_tiff=no
13190 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff cflags: $TIFF_PE_CFLAGS" >&5
13191 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff libs: $TIFF_PE_LIBS" >&5
13193 if ${VKD3D_PE_LIBS:+false} :
13194 then :
13195 VKD3D_PE_LIBS=vkd3d
13196 if ${VKD3D_PE_CFLAGS:+false} :
13197 then :
13198 VKD3D_PE_CFLAGS="-I\$(top_srcdir)/libs/vkd3d/include"
13199 else $as_nop
13200 enable_vkd3d=no
13202 else $as_nop
13203 enable_vkd3d=no
13205 printf "%s\n" "$as_me:${as_lineno-$LINENO}: vkd3d cflags: $VKD3D_PE_CFLAGS" >&5
13206 printf "%s\n" "$as_me:${as_lineno-$LINENO}: vkd3d libs: $VKD3D_PE_LIBS" >&5
13208 if ${XML2_PE_LIBS:+false} :
13209 then :
13210 XML2_PE_LIBS=xml2
13211 if ${XML2_PE_CFLAGS:+false} :
13212 then :
13213 XML2_PE_CFLAGS="-I\$(top_srcdir)/libs/xml2/include -DLIBXML_STATIC"
13214 else $as_nop
13215 enable_xml2=no
13217 else $as_nop
13218 enable_xml2=no
13220 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 cflags: $XML2_PE_CFLAGS" >&5
13221 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 libs: $XML2_PE_LIBS" >&5
13223 if ${XSLT_PE_LIBS:+false} :
13224 then :
13225 XSLT_PE_LIBS=xslt
13226 if ${XSLT_PE_CFLAGS:+false} :
13227 then :
13228 XSLT_PE_CFLAGS="-I\$(top_srcdir)/libs/xslt/libxslt -I\$(top_srcdir)/libs/xslt -DLIBXSLT_STATIC"
13229 else $as_nop
13230 enable_xslt=no
13232 else $as_nop
13233 enable_xslt=no
13235 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt cflags: $XSLT_PE_CFLAGS" >&5
13236 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt libs: $XSLT_PE_LIBS" >&5
13238 if ${ZLIB_PE_LIBS:+false} :
13239 then :
13240 ZLIB_PE_LIBS=z
13241 if ${ZLIB_PE_CFLAGS:+false} :
13242 then :
13243 ZLIB_PE_CFLAGS="-I\$(top_srcdir)/libs/zlib -DFAR= -DZ_SOLO"
13244 else $as_nop
13245 enable_zlib=no
13247 else $as_nop
13248 enable_zlib=no
13250 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib cflags: $ZLIB_PE_CFLAGS" >&5
13251 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib libs: $ZLIB_PE_LIBS" >&5
13253 if ${ZYDIS_PE_LIBS:+false} :
13254 then :
13255 ZYDIS_PE_LIBS=zydis
13256 if ${ZYDIS_PE_CFLAGS:+false} :
13257 then :
13258 ZYDIS_PE_CFLAGS="-I\$(top_srcdir)/libs/zydis/include"
13259 else $as_nop
13260 enable_zydis=no
13262 else $as_nop
13263 enable_zydis=no
13265 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zydis cflags: $ZYDIS_PE_CFLAGS" >&5
13266 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zydis libs: $ZYDIS_PE_LIBS" >&5
13270 if test "$ac_cv_header_pthread_h" = "yes"
13271 then
13272 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
13273 if test "x$ac_cv_func_pthread_create" = xyes
13274 then :
13276 else $as_nop
13277 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
13278 printf %s "checking for pthread_create in -lpthread... " >&6; }
13279 if test ${ac_cv_lib_pthread_pthread_create+y}
13280 then :
13281 printf %s "(cached) " >&6
13282 else $as_nop
13283 ac_check_lib_save_LIBS=$LIBS
13284 LIBS="-lpthread $LIBS"
13285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13286 /* end confdefs.h. */
13288 /* Override any GCC internal prototype to avoid an error.
13289 Use char because int might match the return type of a GCC
13290 builtin and then its argument prototype would still apply. */
13291 char pthread_create ();
13293 main (void)
13295 return pthread_create ();
13297 return 0;
13299 _ACEOF
13300 if ac_fn_c_try_link "$LINENO"
13301 then :
13302 ac_cv_lib_pthread_pthread_create=yes
13303 else $as_nop
13304 ac_cv_lib_pthread_pthread_create=no
13306 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13307 conftest$ac_exeext conftest.$ac_ext
13308 LIBS=$ac_check_lib_save_LIBS
13310 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
13311 printf "%s\n" "$ac_cv_lib_pthread_pthread_create" >&6; }
13312 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
13313 then :
13314 PTHREAD_LIBS="-lpthread"
13321 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x
13322 then :
13323 case "x$with_pthread" in
13324 xno) ;;
13325 *) as_fn_error $? "pthread ${notice_platform}development files not found.
13326 Wine cannot support threads without libpthread.
13327 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
13328 esac
13333 ac_ext=c
13334 ac_cpp='$CPP $CPPFLAGS'
13335 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13336 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13337 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13338 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
13339 printf %s "checking how to run the C preprocessor... " >&6; }
13340 # On Suns, sometimes $CPP names a directory.
13341 if test -n "$CPP" && test -d "$CPP"; then
13342 CPP=
13344 if test -z "$CPP"; then
13345 if test ${ac_cv_prog_CPP+y}
13346 then :
13347 printf %s "(cached) " >&6
13348 else $as_nop
13349 # Double quotes because $CC needs to be expanded
13350 for CPP in "$CC -E" "$CC -E -traditional-cpp" cpp /lib/cpp
13352 ac_preproc_ok=false
13353 for ac_c_preproc_warn_flag in '' yes
13355 # Use a header file that comes with gcc, so configuring glibc
13356 # with a fresh cross-compiler works.
13357 # On the NeXT, cc -E runs the code through the compiler's parser,
13358 # not just through cpp. "Syntax error" is here to catch this case.
13359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13360 /* end confdefs.h. */
13361 #include <limits.h>
13362 Syntax error
13363 _ACEOF
13364 if ac_fn_c_try_cpp "$LINENO"
13365 then :
13367 else $as_nop
13368 # Broken: fails on valid input.
13369 continue
13371 rm -f conftest.err conftest.i conftest.$ac_ext
13373 # OK, works on sane cases. Now check whether nonexistent headers
13374 # can be detected and how.
13375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13376 /* end confdefs.h. */
13377 #include <ac_nonexistent.h>
13378 _ACEOF
13379 if ac_fn_c_try_cpp "$LINENO"
13380 then :
13381 # Broken: success on invalid input.
13382 continue
13383 else $as_nop
13384 # Passes both tests.
13385 ac_preproc_ok=:
13386 break
13388 rm -f conftest.err conftest.i conftest.$ac_ext
13390 done
13391 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13392 rm -f conftest.i conftest.err conftest.$ac_ext
13393 if $ac_preproc_ok
13394 then :
13395 break
13398 done
13399 ac_cv_prog_CPP=$CPP
13402 CPP=$ac_cv_prog_CPP
13403 else
13404 ac_cv_prog_CPP=$CPP
13406 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
13407 printf "%s\n" "$CPP" >&6; }
13408 ac_preproc_ok=false
13409 for ac_c_preproc_warn_flag in '' yes
13411 # Use a header file that comes with gcc, so configuring glibc
13412 # with a fresh cross-compiler works.
13413 # On the NeXT, cc -E runs the code through the compiler's parser,
13414 # not just through cpp. "Syntax error" is here to catch this case.
13415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13416 /* end confdefs.h. */
13417 #include <limits.h>
13418 Syntax error
13419 _ACEOF
13420 if ac_fn_c_try_cpp "$LINENO"
13421 then :
13423 else $as_nop
13424 # Broken: fails on valid input.
13425 continue
13427 rm -f conftest.err conftest.i conftest.$ac_ext
13429 # OK, works on sane cases. Now check whether nonexistent headers
13430 # can be detected and how.
13431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13432 /* end confdefs.h. */
13433 #include <ac_nonexistent.h>
13434 _ACEOF
13435 if ac_fn_c_try_cpp "$LINENO"
13436 then :
13437 # Broken: success on invalid input.
13438 continue
13439 else $as_nop
13440 # Passes both tests.
13441 ac_preproc_ok=:
13442 break
13444 rm -f conftest.err conftest.i conftest.$ac_ext
13446 done
13447 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13448 rm -f conftest.i conftest.err conftest.$ac_ext
13449 if $ac_preproc_ok
13450 then :
13452 else $as_nop
13453 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13454 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
13455 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
13456 See \`config.log' for more details" "$LINENO" 5; }
13459 ac_ext=c
13460 ac_cpp='$CPP $CPPFLAGS'
13461 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13462 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13463 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13466 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for X" >&5
13467 printf %s "checking for X... " >&6; }
13470 # Check whether --with-x was given.
13471 if test ${with_x+y}
13472 then :
13473 withval=$with_x;
13476 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
13477 if test "x$with_x" = xno; then
13478 # The user explicitly disabled X.
13479 have_x=disabled
13480 else
13481 case $x_includes,$x_libraries in #(
13482 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
13483 *,NONE | NONE,*) if test ${ac_cv_have_x+y}
13484 then :
13485 printf %s "(cached) " >&6
13486 else $as_nop
13487 # One or both of the vars are not set, and there is no cached value.
13488 ac_x_includes=no
13489 ac_x_libraries=no
13490 # Do we need to do anything special at all?
13491 ac_save_LIBS=$LIBS
13492 LIBS="-lX11 $LIBS"
13493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13494 /* end confdefs.h. */
13495 #include <X11/Xlib.h>
13497 main (void)
13499 XrmInitialize ()
13501 return 0;
13503 _ACEOF
13504 if ac_fn_c_try_link "$LINENO"
13505 then :
13506 # We can compile and link X programs with no special options.
13507 ac_x_includes=
13508 ac_x_libraries=
13510 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13511 conftest$ac_exeext conftest.$ac_ext
13512 LIBS="$ac_save_LIBS"
13513 # If that didn't work, only try xmkmf and file system searches
13514 # for native compilation.
13515 if test x"$ac_x_includes" = xno && test "$cross_compiling" = no
13516 then :
13517 rm -f -r conftest.dir
13518 if mkdir conftest.dir; then
13519 cd conftest.dir
13520 cat >Imakefile <<'_ACEOF'
13521 incroot:
13522 @echo incroot='${INCROOT}'
13523 usrlibdir:
13524 @echo usrlibdir='${USRLIBDIR}'
13525 libdir:
13526 @echo libdir='${LIBDIR}'
13527 _ACEOF
13528 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
13529 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
13530 for ac_var in incroot usrlibdir libdir; do
13531 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
13532 done
13533 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
13534 for ac_extension in a so sl dylib la dll; do
13535 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
13536 test -f "$ac_im_libdir/libX11.$ac_extension"; then
13537 ac_im_usrlibdir=$ac_im_libdir; break
13539 done
13540 # Screen out bogus values from the imake configuration. They are
13541 # bogus both because they are the default anyway, and because
13542 # using them would break gcc on systems where it needs fixed includes.
13543 case $ac_im_incroot in
13544 /usr/include) ac_x_includes= ;;
13545 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
13546 esac
13547 case $ac_im_usrlibdir in
13548 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
13549 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
13550 esac
13552 cd ..
13553 rm -f -r conftest.dir
13556 # Standard set of common directories for X headers.
13557 # Check X11 before X11Rn because it is often a symlink to the current release.
13558 ac_x_header_dirs='
13559 /usr/X11/include
13560 /usr/X11R7/include
13561 /usr/X11R6/include
13562 /usr/X11R5/include
13563 /usr/X11R4/include
13565 /usr/include/X11
13566 /usr/include/X11R7
13567 /usr/include/X11R6
13568 /usr/include/X11R5
13569 /usr/include/X11R4
13571 /usr/local/X11/include
13572 /usr/local/X11R7/include
13573 /usr/local/X11R6/include
13574 /usr/local/X11R5/include
13575 /usr/local/X11R4/include
13577 /usr/local/include/X11
13578 /usr/local/include/X11R7
13579 /usr/local/include/X11R6
13580 /usr/local/include/X11R5
13581 /usr/local/include/X11R4
13583 /opt/X11/include
13585 /usr/X386/include
13586 /usr/x386/include
13587 /usr/XFree86/include/X11
13589 /usr/include
13590 /usr/local/include
13591 /usr/unsupported/include
13592 /usr/athena/include
13593 /usr/local/x11r5/include
13594 /usr/lpp/Xamples/include
13596 /usr/openwin/include
13597 /usr/openwin/share/include'
13599 if test "$ac_x_includes" = no; then
13600 # Guess where to find include files, by looking for Xlib.h.
13601 # First, try using that file with no special directory specified.
13602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13603 /* end confdefs.h. */
13604 #include <X11/Xlib.h>
13605 _ACEOF
13606 if ac_fn_c_try_cpp "$LINENO"
13607 then :
13608 # We can compile using X headers with no special include directory.
13609 ac_x_includes=
13610 else $as_nop
13611 for ac_dir in $ac_x_header_dirs; do
13612 if test -r "$ac_dir/X11/Xlib.h"; then
13613 ac_x_includes=$ac_dir
13614 break
13616 done
13618 rm -f conftest.err conftest.i conftest.$ac_ext
13619 fi # $ac_x_includes = no
13621 if test "$ac_x_libraries" = no; then
13622 # Check for the libraries.
13623 # See if we find them without any special options.
13624 # Don't add to $LIBS permanently.
13625 ac_save_LIBS=$LIBS
13626 LIBS="-lX11 $LIBS"
13627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13628 /* end confdefs.h. */
13629 #include <X11/Xlib.h>
13631 main (void)
13633 XrmInitialize ()
13635 return 0;
13637 _ACEOF
13638 if ac_fn_c_try_link "$LINENO"
13639 then :
13640 LIBS=$ac_save_LIBS
13641 # We can link X programs with no special library path.
13642 ac_x_libraries=
13643 else $as_nop
13644 LIBS=$ac_save_LIBS
13645 for ac_dir in `printf "%s\n" "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
13647 # Don't even attempt the hair of trying to link an X program!
13648 for ac_extension in a so sl dylib la dll; do
13649 if test -r "$ac_dir/libX11.$ac_extension"; then
13650 ac_x_libraries=$ac_dir
13651 break 2
13653 done
13654 done
13656 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13657 conftest$ac_exeext conftest.$ac_ext
13658 fi # $ac_x_libraries = no
13661 # Record the results.
13662 case $ac_x_includes,$ac_x_libraries in #(
13663 no,* | *,no | *\'*) :
13664 # Didn't find X, or a directory has "'" in its name.
13665 ac_cv_have_x="have_x=no" ;; #(
13666 *) :
13667 # Record where we found X for the cache.
13668 ac_cv_have_x="have_x=yes\
13669 ac_x_includes='$ac_x_includes'\
13670 ac_x_libraries='$ac_x_libraries'" ;;
13671 esac
13673 ;; #(
13674 *) have_x=yes;;
13675 esac
13676 eval "$ac_cv_have_x"
13677 fi # $with_x != no
13679 if test "$have_x" != yes; then
13680 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
13681 printf "%s\n" "$have_x" >&6; }
13682 no_x=yes
13683 else
13684 # If each of the values was on the command line, it overrides each guess.
13685 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
13686 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
13687 # Update the cache value to reflect the command line values.
13688 ac_cv_have_x="have_x=yes\
13689 ac_x_includes='$x_includes'\
13690 ac_x_libraries='$x_libraries'"
13691 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
13692 printf "%s\n" "libraries $x_libraries, headers $x_includes" >&6; }
13695 if test "$no_x" = yes; then
13696 # Not all programs may use this symbol, but it does not hurt to define it.
13698 printf "%s\n" "#define X_DISPLAY_MISSING 1" >>confdefs.h
13700 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
13701 else
13702 if test -n "$x_includes"; then
13703 X_CFLAGS="$X_CFLAGS -I$x_includes"
13706 # It would also be nice to do this for all -L options, not just this one.
13707 if test -n "$x_libraries"; then
13708 X_LIBS="$X_LIBS -L$x_libraries"
13709 # For Solaris; some versions of Sun CC require a space after -R and
13710 # others require no space. Words are not sufficient . . . .
13711 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
13712 printf %s "checking whether -R must be followed by a space... " >&6; }
13713 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
13714 ac_xsave_c_werror_flag=$ac_c_werror_flag
13715 ac_c_werror_flag=yes
13716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13717 /* end confdefs.h. */
13720 main (void)
13724 return 0;
13726 _ACEOF
13727 if ac_fn_c_try_link "$LINENO"
13728 then :
13729 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
13730 printf "%s\n" "no" >&6; }
13731 X_LIBS="$X_LIBS -R$x_libraries"
13732 else $as_nop
13733 LIBS="$ac_xsave_LIBS -R $x_libraries"
13734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13735 /* end confdefs.h. */
13738 main (void)
13742 return 0;
13744 _ACEOF
13745 if ac_fn_c_try_link "$LINENO"
13746 then :
13747 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13748 printf "%s\n" "yes" >&6; }
13749 X_LIBS="$X_LIBS -R $x_libraries"
13750 else $as_nop
13751 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
13752 printf "%s\n" "neither works" >&6; }
13754 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13755 conftest$ac_exeext conftest.$ac_ext
13757 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13758 conftest$ac_exeext conftest.$ac_ext
13759 ac_c_werror_flag=$ac_xsave_c_werror_flag
13760 LIBS=$ac_xsave_LIBS
13763 # Check for system-dependent libraries X programs must link with.
13764 # Do this before checking for the system-independent R6 libraries
13765 # (-lICE), since we may need -lsocket or whatever for X linking.
13767 if test "$ISC" = yes; then
13768 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
13769 else
13770 # Martyn Johnson says this is needed for Ultrix, if the X
13771 # libraries were built with DECnet support. And Karl Berry says
13772 # the Alpha needs dnet_stub (dnet does not exist).
13773 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
13774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13775 /* end confdefs.h. */
13777 /* Override any GCC internal prototype to avoid an error.
13778 Use char because int might match the return type of a GCC
13779 builtin and then its argument prototype would still apply. */
13780 char XOpenDisplay ();
13782 main (void)
13784 return XOpenDisplay ();
13786 return 0;
13788 _ACEOF
13789 if ac_fn_c_try_link "$LINENO"
13790 then :
13792 else $as_nop
13793 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
13794 printf %s "checking for dnet_ntoa in -ldnet... " >&6; }
13795 if test ${ac_cv_lib_dnet_dnet_ntoa+y}
13796 then :
13797 printf %s "(cached) " >&6
13798 else $as_nop
13799 ac_check_lib_save_LIBS=$LIBS
13800 LIBS="-ldnet $LIBS"
13801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13802 /* end confdefs.h. */
13804 /* Override any GCC internal prototype to avoid an error.
13805 Use char because int might match the return type of a GCC
13806 builtin and then its argument prototype would still apply. */
13807 char dnet_ntoa ();
13809 main (void)
13811 return dnet_ntoa ();
13813 return 0;
13815 _ACEOF
13816 if ac_fn_c_try_link "$LINENO"
13817 then :
13818 ac_cv_lib_dnet_dnet_ntoa=yes
13819 else $as_nop
13820 ac_cv_lib_dnet_dnet_ntoa=no
13822 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13823 conftest$ac_exeext conftest.$ac_ext
13824 LIBS=$ac_check_lib_save_LIBS
13826 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
13827 printf "%s\n" "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
13828 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
13829 then :
13830 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
13833 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
13834 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
13835 printf %s "checking for dnet_ntoa in -ldnet_stub... " >&6; }
13836 if test ${ac_cv_lib_dnet_stub_dnet_ntoa+y}
13837 then :
13838 printf %s "(cached) " >&6
13839 else $as_nop
13840 ac_check_lib_save_LIBS=$LIBS
13841 LIBS="-ldnet_stub $LIBS"
13842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13843 /* end confdefs.h. */
13845 /* Override any GCC internal prototype to avoid an error.
13846 Use char because int might match the return type of a GCC
13847 builtin and then its argument prototype would still apply. */
13848 char dnet_ntoa ();
13850 main (void)
13852 return dnet_ntoa ();
13854 return 0;
13856 _ACEOF
13857 if ac_fn_c_try_link "$LINENO"
13858 then :
13859 ac_cv_lib_dnet_stub_dnet_ntoa=yes
13860 else $as_nop
13861 ac_cv_lib_dnet_stub_dnet_ntoa=no
13863 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13864 conftest$ac_exeext conftest.$ac_ext
13865 LIBS=$ac_check_lib_save_LIBS
13867 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
13868 printf "%s\n" "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
13869 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
13870 then :
13871 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
13876 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13877 conftest$ac_exeext conftest.$ac_ext
13878 LIBS="$ac_xsave_LIBS"
13880 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
13881 # to get the SysV transport functions.
13882 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
13883 # needs -lnsl.
13884 # The nsl library prevents programs from opening the X display
13885 # on Irix 5.2, according to T.E. Dickey.
13886 # The functions gethostbyname, getservbyname, and inet_addr are
13887 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
13888 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
13889 if test "x$ac_cv_func_gethostbyname" = xyes
13890 then :
13894 if test $ac_cv_func_gethostbyname = no; then
13895 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
13896 printf %s "checking for gethostbyname in -lnsl... " >&6; }
13897 if test ${ac_cv_lib_nsl_gethostbyname+y}
13898 then :
13899 printf %s "(cached) " >&6
13900 else $as_nop
13901 ac_check_lib_save_LIBS=$LIBS
13902 LIBS="-lnsl $LIBS"
13903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13904 /* end confdefs.h. */
13906 /* Override any GCC internal prototype to avoid an error.
13907 Use char because int might match the return type of a GCC
13908 builtin and then its argument prototype would still apply. */
13909 char gethostbyname ();
13911 main (void)
13913 return gethostbyname ();
13915 return 0;
13917 _ACEOF
13918 if ac_fn_c_try_link "$LINENO"
13919 then :
13920 ac_cv_lib_nsl_gethostbyname=yes
13921 else $as_nop
13922 ac_cv_lib_nsl_gethostbyname=no
13924 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13925 conftest$ac_exeext conftest.$ac_ext
13926 LIBS=$ac_check_lib_save_LIBS
13928 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
13929 printf "%s\n" "$ac_cv_lib_nsl_gethostbyname" >&6; }
13930 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
13931 then :
13932 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
13935 if test $ac_cv_lib_nsl_gethostbyname = no; then
13936 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
13937 printf %s "checking for gethostbyname in -lbsd... " >&6; }
13938 if test ${ac_cv_lib_bsd_gethostbyname+y}
13939 then :
13940 printf %s "(cached) " >&6
13941 else $as_nop
13942 ac_check_lib_save_LIBS=$LIBS
13943 LIBS="-lbsd $LIBS"
13944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13945 /* end confdefs.h. */
13947 /* Override any GCC internal prototype to avoid an error.
13948 Use char because int might match the return type of a GCC
13949 builtin and then its argument prototype would still apply. */
13950 char gethostbyname ();
13952 main (void)
13954 return gethostbyname ();
13956 return 0;
13958 _ACEOF
13959 if ac_fn_c_try_link "$LINENO"
13960 then :
13961 ac_cv_lib_bsd_gethostbyname=yes
13962 else $as_nop
13963 ac_cv_lib_bsd_gethostbyname=no
13965 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13966 conftest$ac_exeext conftest.$ac_ext
13967 LIBS=$ac_check_lib_save_LIBS
13969 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
13970 printf "%s\n" "$ac_cv_lib_bsd_gethostbyname" >&6; }
13971 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
13972 then :
13973 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
13979 # lieder@skyler.mavd.honeywell.com says without -lsocket,
13980 # socket/setsockopt and other routines are undefined under SCO ODT
13981 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
13982 # on later versions), says Simon Leinen: it contains gethostby*
13983 # variants that don't use the name server (or something). -lsocket
13984 # must be given before -lnsl if both are needed. We assume that
13985 # if connect needs -lnsl, so does gethostbyname.
13986 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
13987 if test "x$ac_cv_func_connect" = xyes
13988 then :
13992 if test $ac_cv_func_connect = no; then
13993 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
13994 printf %s "checking for connect in -lsocket... " >&6; }
13995 if test ${ac_cv_lib_socket_connect+y}
13996 then :
13997 printf %s "(cached) " >&6
13998 else $as_nop
13999 ac_check_lib_save_LIBS=$LIBS
14000 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
14001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14002 /* end confdefs.h. */
14004 /* Override any GCC internal prototype to avoid an error.
14005 Use char because int might match the return type of a GCC
14006 builtin and then its argument prototype would still apply. */
14007 char connect ();
14009 main (void)
14011 return connect ();
14013 return 0;
14015 _ACEOF
14016 if ac_fn_c_try_link "$LINENO"
14017 then :
14018 ac_cv_lib_socket_connect=yes
14019 else $as_nop
14020 ac_cv_lib_socket_connect=no
14022 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14023 conftest$ac_exeext conftest.$ac_ext
14024 LIBS=$ac_check_lib_save_LIBS
14026 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
14027 printf "%s\n" "$ac_cv_lib_socket_connect" >&6; }
14028 if test "x$ac_cv_lib_socket_connect" = xyes
14029 then :
14030 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
14035 # Guillermo Gomez says -lposix is necessary on A/UX.
14036 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
14037 if test "x$ac_cv_func_remove" = xyes
14038 then :
14042 if test $ac_cv_func_remove = no; then
14043 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
14044 printf %s "checking for remove in -lposix... " >&6; }
14045 if test ${ac_cv_lib_posix_remove+y}
14046 then :
14047 printf %s "(cached) " >&6
14048 else $as_nop
14049 ac_check_lib_save_LIBS=$LIBS
14050 LIBS="-lposix $LIBS"
14051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14052 /* end confdefs.h. */
14054 /* Override any GCC internal prototype to avoid an error.
14055 Use char because int might match the return type of a GCC
14056 builtin and then its argument prototype would still apply. */
14057 char remove ();
14059 main (void)
14061 return remove ();
14063 return 0;
14065 _ACEOF
14066 if ac_fn_c_try_link "$LINENO"
14067 then :
14068 ac_cv_lib_posix_remove=yes
14069 else $as_nop
14070 ac_cv_lib_posix_remove=no
14072 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14073 conftest$ac_exeext conftest.$ac_ext
14074 LIBS=$ac_check_lib_save_LIBS
14076 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
14077 printf "%s\n" "$ac_cv_lib_posix_remove" >&6; }
14078 if test "x$ac_cv_lib_posix_remove" = xyes
14079 then :
14080 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
14085 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
14086 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
14087 if test "x$ac_cv_func_shmat" = xyes
14088 then :
14092 if test $ac_cv_func_shmat = no; then
14093 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
14094 printf %s "checking for shmat in -lipc... " >&6; }
14095 if test ${ac_cv_lib_ipc_shmat+y}
14096 then :
14097 printf %s "(cached) " >&6
14098 else $as_nop
14099 ac_check_lib_save_LIBS=$LIBS
14100 LIBS="-lipc $LIBS"
14101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14102 /* end confdefs.h. */
14104 /* Override any GCC internal prototype to avoid an error.
14105 Use char because int might match the return type of a GCC
14106 builtin and then its argument prototype would still apply. */
14107 char shmat ();
14109 main (void)
14111 return shmat ();
14113 return 0;
14115 _ACEOF
14116 if ac_fn_c_try_link "$LINENO"
14117 then :
14118 ac_cv_lib_ipc_shmat=yes
14119 else $as_nop
14120 ac_cv_lib_ipc_shmat=no
14122 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14123 conftest$ac_exeext conftest.$ac_ext
14124 LIBS=$ac_check_lib_save_LIBS
14126 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
14127 printf "%s\n" "$ac_cv_lib_ipc_shmat" >&6; }
14128 if test "x$ac_cv_lib_ipc_shmat" = xyes
14129 then :
14130 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
14136 # Check for libraries that X11R6 Xt/Xaw programs need.
14137 ac_save_LDFLAGS=$LDFLAGS
14138 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
14139 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
14140 # check for ICE first), but we must link in the order -lSM -lICE or
14141 # we get undefined symbols. So assume we have SM if we have ICE.
14142 # These have to be linked with before -lX11, unlike the other
14143 # libraries we check for below, so use a different variable.
14144 # John Interrante, Karl Berry
14145 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
14146 printf %s "checking for IceConnectionNumber in -lICE... " >&6; }
14147 if test ${ac_cv_lib_ICE_IceConnectionNumber+y}
14148 then :
14149 printf %s "(cached) " >&6
14150 else $as_nop
14151 ac_check_lib_save_LIBS=$LIBS
14152 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
14153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14154 /* end confdefs.h. */
14156 /* Override any GCC internal prototype to avoid an error.
14157 Use char because int might match the return type of a GCC
14158 builtin and then its argument prototype would still apply. */
14159 char IceConnectionNumber ();
14161 main (void)
14163 return IceConnectionNumber ();
14165 return 0;
14167 _ACEOF
14168 if ac_fn_c_try_link "$LINENO"
14169 then :
14170 ac_cv_lib_ICE_IceConnectionNumber=yes
14171 else $as_nop
14172 ac_cv_lib_ICE_IceConnectionNumber=no
14174 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14175 conftest$ac_exeext conftest.$ac_ext
14176 LIBS=$ac_check_lib_save_LIBS
14178 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
14179 printf "%s\n" "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
14180 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
14181 then :
14182 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
14185 LDFLAGS=$ac_save_LDFLAGS
14190 if test "$have_x" = "yes"
14191 then
14192 ac_save_CPPFLAGS="$CPPFLAGS"
14193 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
14195 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
14196 printf %s "checking for -lX11... " >&6; }
14197 if test ${ac_cv_lib_soname_X11+y}
14198 then :
14199 printf %s "(cached) " >&6
14200 else $as_nop
14201 ac_check_soname_save_LIBS=$LIBS
14202 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
14203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14204 /* end confdefs.h. */
14206 /* Override any GCC internal prototype to avoid an error.
14207 Use char because int might match the return type of a GCC
14208 builtin and then its argument prototype would still apply. */
14209 char XCreateWindow ();
14211 main (void)
14213 return XCreateWindow ();
14215 return 0;
14217 _ACEOF
14218 if ac_fn_c_try_link "$LINENO"
14219 then :
14220 case "$LIBEXT" in
14221 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14222 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'` ;;
14223 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14224 if ${ac_cv_lib_soname_X11:+false} :
14225 then :
14226 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14227 fi ;;
14228 esac
14229 else $as_nop
14230 ac_cv_lib_soname_X11=
14232 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14233 conftest$ac_exeext conftest.$ac_ext
14234 LIBS=$ac_check_soname_save_LIBS
14236 if ${ac_cv_lib_soname_X11:+false} :
14237 then :
14238 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14239 printf "%s\n" "not found" >&6; }
14241 else $as_nop
14242 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
14243 printf "%s\n" "$ac_cv_lib_soname_X11" >&6; }
14245 printf "%s\n" "#define SONAME_LIBX11 \"$ac_cv_lib_soname_X11\"" >>confdefs.h
14249 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
14250 printf %s "checking for -lXext... " >&6; }
14251 if test ${ac_cv_lib_soname_Xext+y}
14252 then :
14253 printf %s "(cached) " >&6
14254 else $as_nop
14255 ac_check_soname_save_LIBS=$LIBS
14256 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
14257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14258 /* end confdefs.h. */
14260 /* Override any GCC internal prototype to avoid an error.
14261 Use char because int might match the return type of a GCC
14262 builtin and then its argument prototype would still apply. */
14263 char XextCreateExtension ();
14265 main (void)
14267 return XextCreateExtension ();
14269 return 0;
14271 _ACEOF
14272 if ac_fn_c_try_link "$LINENO"
14273 then :
14274 case "$LIBEXT" in
14275 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14276 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'` ;;
14277 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14278 if ${ac_cv_lib_soname_Xext:+false} :
14279 then :
14280 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14281 fi ;;
14282 esac
14283 else $as_nop
14284 ac_cv_lib_soname_Xext=
14286 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14287 conftest$ac_exeext conftest.$ac_ext
14288 LIBS=$ac_check_soname_save_LIBS
14290 if ${ac_cv_lib_soname_Xext:+false} :
14291 then :
14292 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14293 printf "%s\n" "not found" >&6; }
14295 else $as_nop
14296 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
14297 printf "%s\n" "$ac_cv_lib_soname_Xext" >&6; }
14299 printf "%s\n" "#define SONAME_LIBXEXT \"$ac_cv_lib_soname_Xext\"" >>confdefs.h
14301 X_LIBS="$X_LIBS -lXext"
14303 X_LIBS="$X_LIBS -lX11"
14305 ac_fn_c_check_header_compile "$LINENO" "X11/Xlib.h" "ac_cv_header_X11_Xlib_h" "#ifdef HAVE_X11_XLIB_H
14306 # include <X11/Xlib.h>
14307 #endif
14308 #ifdef HAVE_X11_XUTIL_H
14309 # include <X11/Xutil.h>
14310 #endif
14312 if test "x$ac_cv_header_X11_Xlib_h" = xyes
14313 then :
14314 printf "%s\n" "#define HAVE_X11_XLIB_H 1" >>confdefs.h
14317 ac_fn_c_check_header_compile "$LINENO" "X11/XKBlib.h" "ac_cv_header_X11_XKBlib_h" "#ifdef HAVE_X11_XLIB_H
14318 # include <X11/Xlib.h>
14319 #endif
14320 #ifdef HAVE_X11_XUTIL_H
14321 # include <X11/Xutil.h>
14322 #endif
14324 if test "x$ac_cv_header_X11_XKBlib_h" = xyes
14325 then :
14326 printf "%s\n" "#define HAVE_X11_XKBLIB_H 1" >>confdefs.h
14329 ac_fn_c_check_header_compile "$LINENO" "X11/Xutil.h" "ac_cv_header_X11_Xutil_h" "#ifdef HAVE_X11_XLIB_H
14330 # include <X11/Xlib.h>
14331 #endif
14332 #ifdef HAVE_X11_XUTIL_H
14333 # include <X11/Xutil.h>
14334 #endif
14336 if test "x$ac_cv_header_X11_Xutil_h" = xyes
14337 then :
14338 printf "%s\n" "#define HAVE_X11_XUTIL_H 1" >>confdefs.h
14341 ac_fn_c_check_header_compile "$LINENO" "X11/Xcursor/Xcursor.h" "ac_cv_header_X11_Xcursor_Xcursor_h" "#ifdef HAVE_X11_XLIB_H
14342 # include <X11/Xlib.h>
14343 #endif
14344 #ifdef HAVE_X11_XUTIL_H
14345 # include <X11/Xutil.h>
14346 #endif
14348 if test "x$ac_cv_header_X11_Xcursor_Xcursor_h" = xyes
14349 then :
14350 printf "%s\n" "#define HAVE_X11_XCURSOR_XCURSOR_H 1" >>confdefs.h
14353 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/shape.h" "ac_cv_header_X11_extensions_shape_h" "#ifdef HAVE_X11_XLIB_H
14354 # include <X11/Xlib.h>
14355 #endif
14356 #ifdef HAVE_X11_XUTIL_H
14357 # include <X11/Xutil.h>
14358 #endif
14360 if test "x$ac_cv_header_X11_extensions_shape_h" = xyes
14361 then :
14362 printf "%s\n" "#define HAVE_X11_EXTENSIONS_SHAPE_H 1" >>confdefs.h
14365 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XInput.h" "ac_cv_header_X11_extensions_XInput_h" "#ifdef HAVE_X11_XLIB_H
14366 # include <X11/Xlib.h>
14367 #endif
14368 #ifdef HAVE_X11_XUTIL_H
14369 # include <X11/Xutil.h>
14370 #endif
14372 if test "x$ac_cv_header_X11_extensions_XInput_h" = xyes
14373 then :
14374 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINPUT_H 1" >>confdefs.h
14377 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XInput2.h" "ac_cv_header_X11_extensions_XInput2_h" "#ifdef HAVE_X11_XLIB_H
14378 # include <X11/Xlib.h>
14379 #endif
14380 #ifdef HAVE_X11_XUTIL_H
14381 # include <X11/Xutil.h>
14382 #endif
14384 if test "x$ac_cv_header_X11_extensions_XInput2_h" = xyes
14385 then :
14386 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINPUT2_H 1" >>confdefs.h
14389 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XShm.h" "ac_cv_header_X11_extensions_XShm_h" "#ifdef HAVE_X11_XLIB_H
14390 # include <X11/Xlib.h>
14391 #endif
14392 #ifdef HAVE_X11_XUTIL_H
14393 # include <X11/Xutil.h>
14394 #endif
14396 if test "x$ac_cv_header_X11_extensions_XShm_h" = xyes
14397 then :
14398 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XSHM_H 1" >>confdefs.h
14401 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xcomposite.h" "ac_cv_header_X11_extensions_Xcomposite_h" "#ifdef HAVE_X11_XLIB_H
14402 # include <X11/Xlib.h>
14403 #endif
14404 #ifdef HAVE_X11_XUTIL_H
14405 # include <X11/Xutil.h>
14406 #endif
14408 if test "x$ac_cv_header_X11_extensions_Xcomposite_h" = xyes
14409 then :
14410 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XCOMPOSITE_H 1" >>confdefs.h
14413 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xfixes.h" "ac_cv_header_X11_extensions_Xfixes_h" "#ifdef HAVE_X11_XLIB_H
14414 # include <X11/Xlib.h>
14415 #endif
14416 #ifdef HAVE_X11_XUTIL_H
14417 # include <X11/Xutil.h>
14418 #endif
14420 if test "x$ac_cv_header_X11_extensions_Xfixes_h" = xyes
14421 then :
14422 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XFIXES_H 1" >>confdefs.h
14425 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xinerama.h" "ac_cv_header_X11_extensions_Xinerama_h" "#ifdef HAVE_X11_XLIB_H
14426 # include <X11/Xlib.h>
14427 #endif
14428 #ifdef HAVE_X11_XUTIL_H
14429 # include <X11/Xutil.h>
14430 #endif
14432 if test "x$ac_cv_header_X11_extensions_Xinerama_h" = xyes
14433 then :
14434 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINERAMA_H 1" >>confdefs.h
14437 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xrandr.h" "ac_cv_header_X11_extensions_Xrandr_h" "#ifdef HAVE_X11_XLIB_H
14438 # include <X11/Xlib.h>
14439 #endif
14440 #ifdef HAVE_X11_XUTIL_H
14441 # include <X11/Xutil.h>
14442 #endif
14444 if test "x$ac_cv_header_X11_extensions_Xrandr_h" = xyes
14445 then :
14446 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRANDR_H 1" >>confdefs.h
14449 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xrender.h" "ac_cv_header_X11_extensions_Xrender_h" "#ifdef HAVE_X11_XLIB_H
14450 # include <X11/Xlib.h>
14451 #endif
14452 #ifdef HAVE_X11_XUTIL_H
14453 # include <X11/Xutil.h>
14454 #endif
14456 if test "x$ac_cv_header_X11_extensions_Xrender_h" = xyes
14457 then :
14458 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRENDER_H 1" >>confdefs.h
14461 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/xf86vmode.h" "ac_cv_header_X11_extensions_xf86vmode_h" "#ifdef HAVE_X11_XLIB_H
14462 # include <X11/Xlib.h>
14463 #endif
14464 #ifdef HAVE_X11_XUTIL_H
14465 # include <X11/Xutil.h>
14466 #endif
14468 if test "x$ac_cv_header_X11_extensions_xf86vmode_h" = xyes
14469 then :
14470 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMODE_H 1" >>confdefs.h
14473 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/xf86vmproto.h" "ac_cv_header_X11_extensions_xf86vmproto_h" "#ifdef HAVE_X11_XLIB_H
14474 # include <X11/Xlib.h>
14475 #endif
14476 #ifdef HAVE_X11_XUTIL_H
14477 # include <X11/Xutil.h>
14478 #endif
14480 if test "x$ac_cv_header_X11_extensions_xf86vmproto_h" = xyes
14481 then :
14482 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMPROTO_H 1" >>confdefs.h
14487 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
14488 then
14489 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
14490 printf %s "checking for -lXcursor... " >&6; }
14491 if test ${ac_cv_lib_soname_Xcursor+y}
14492 then :
14493 printf %s "(cached) " >&6
14494 else $as_nop
14495 ac_check_soname_save_LIBS=$LIBS
14496 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
14497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14498 /* end confdefs.h. */
14500 /* Override any GCC internal prototype to avoid an error.
14501 Use char because int might match the return type of a GCC
14502 builtin and then its argument prototype would still apply. */
14503 char XcursorImageLoadCursor ();
14505 main (void)
14507 return XcursorImageLoadCursor ();
14509 return 0;
14511 _ACEOF
14512 if ac_fn_c_try_link "$LINENO"
14513 then :
14514 case "$LIBEXT" in
14515 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14516 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'` ;;
14517 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14518 if ${ac_cv_lib_soname_Xcursor:+false} :
14519 then :
14520 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14521 fi ;;
14522 esac
14523 else $as_nop
14524 ac_cv_lib_soname_Xcursor=
14526 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14527 conftest$ac_exeext conftest.$ac_ext
14528 LIBS=$ac_check_soname_save_LIBS
14530 if ${ac_cv_lib_soname_Xcursor:+false} :
14531 then :
14532 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14533 printf "%s\n" "not found" >&6; }
14535 else $as_nop
14536 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
14537 printf "%s\n" "$ac_cv_lib_soname_Xcursor" >&6; }
14539 printf "%s\n" "#define SONAME_LIBXCURSOR \"$ac_cv_lib_soname_Xcursor\"" >>confdefs.h
14544 if test "x$ac_cv_lib_soname_Xcursor" = "x"
14545 then :
14546 case "x$with_xcursor" in
14547 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
14548 xno) ;;
14549 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
14550 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
14551 esac
14555 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
14556 then
14557 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
14558 printf %s "checking for -lXi... " >&6; }
14559 if test ${ac_cv_lib_soname_Xi+y}
14560 then :
14561 printf %s "(cached) " >&6
14562 else $as_nop
14563 ac_check_soname_save_LIBS=$LIBS
14564 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
14565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14566 /* end confdefs.h. */
14568 /* Override any GCC internal prototype to avoid an error.
14569 Use char because int might match the return type of a GCC
14570 builtin and then its argument prototype would still apply. */
14571 char XOpenDevice ();
14573 main (void)
14575 return XOpenDevice ();
14577 return 0;
14579 _ACEOF
14580 if ac_fn_c_try_link "$LINENO"
14581 then :
14582 case "$LIBEXT" in
14583 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14584 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'` ;;
14585 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14586 if ${ac_cv_lib_soname_Xi:+false} :
14587 then :
14588 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14589 fi ;;
14590 esac
14591 else $as_nop
14592 ac_cv_lib_soname_Xi=
14594 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14595 conftest$ac_exeext conftest.$ac_ext
14596 LIBS=$ac_check_soname_save_LIBS
14598 if ${ac_cv_lib_soname_Xi:+false} :
14599 then :
14600 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14601 printf "%s\n" "not found" >&6; }
14603 else $as_nop
14604 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
14605 printf "%s\n" "$ac_cv_lib_soname_Xi" >&6; }
14607 printf "%s\n" "#define SONAME_LIBXI \"$ac_cv_lib_soname_Xi\"" >>confdefs.h
14612 if test "x$ac_cv_lib_soname_Xi" = "x"
14613 then :
14614 case "x$with_xinput" in
14615 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
14616 xno) ;;
14617 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
14618 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
14619 esac
14623 if test "x$ac_cv_lib_soname_Xi" != x
14624 then
14625 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"
14626 then :
14627 case "x$with_xinput2" in
14628 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
14629 xno) ;;
14630 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
14631 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
14632 esac
14637 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
14638 then
14639 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
14640 printf %s "checking for XShmQueryExtension in -lXext... " >&6; }
14641 if test ${ac_cv_lib_Xext_XShmQueryExtension+y}
14642 then :
14643 printf %s "(cached) " >&6
14644 else $as_nop
14645 ac_check_lib_save_LIBS=$LIBS
14646 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
14647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14648 /* end confdefs.h. */
14650 /* Override any GCC internal prototype to avoid an error.
14651 Use char because int might match the return type of a GCC
14652 builtin and then its argument prototype would still apply. */
14653 char XShmQueryExtension ();
14655 main (void)
14657 return XShmQueryExtension ();
14659 return 0;
14661 _ACEOF
14662 if ac_fn_c_try_link "$LINENO"
14663 then :
14664 ac_cv_lib_Xext_XShmQueryExtension=yes
14665 else $as_nop
14666 ac_cv_lib_Xext_XShmQueryExtension=no
14668 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14669 conftest$ac_exeext conftest.$ac_ext
14670 LIBS=$ac_check_lib_save_LIBS
14672 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
14673 printf "%s\n" "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
14674 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
14675 then :
14677 printf "%s\n" "#define HAVE_LIBXXSHM 1" >>confdefs.h
14682 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"
14683 then :
14684 case "x$with_xshm" in
14685 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
14686 xno) ;;
14687 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
14688 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
14689 esac
14693 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
14694 then
14695 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
14696 printf %s "checking for XShapeQueryExtension in -lXext... " >&6; }
14697 if test ${ac_cv_lib_Xext_XShapeQueryExtension+y}
14698 then :
14699 printf %s "(cached) " >&6
14700 else $as_nop
14701 ac_check_lib_save_LIBS=$LIBS
14702 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
14703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14704 /* end confdefs.h. */
14706 /* Override any GCC internal prototype to avoid an error.
14707 Use char because int might match the return type of a GCC
14708 builtin and then its argument prototype would still apply. */
14709 char XShapeQueryExtension ();
14711 main (void)
14713 return XShapeQueryExtension ();
14715 return 0;
14717 _ACEOF
14718 if ac_fn_c_try_link "$LINENO"
14719 then :
14720 ac_cv_lib_Xext_XShapeQueryExtension=yes
14721 else $as_nop
14722 ac_cv_lib_Xext_XShapeQueryExtension=no
14724 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14725 conftest$ac_exeext conftest.$ac_ext
14726 LIBS=$ac_check_lib_save_LIBS
14728 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
14729 printf "%s\n" "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
14730 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
14731 then :
14733 printf "%s\n" "#define HAVE_LIBXSHAPE 1" >>confdefs.h
14738 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"
14739 then :
14740 case "x$with_xshape" in
14741 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
14742 xno) ;;
14743 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
14744 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
14745 esac
14749 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
14750 then
14751 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
14752 printf %s "checking for -lXxf86vm... " >&6; }
14753 if test ${ac_cv_lib_soname_Xxf86vm+y}
14754 then :
14755 printf %s "(cached) " >&6
14756 else $as_nop
14757 ac_check_soname_save_LIBS=$LIBS
14758 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
14759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14760 /* end confdefs.h. */
14762 /* Override any GCC internal prototype to avoid an error.
14763 Use char because int might match the return type of a GCC
14764 builtin and then its argument prototype would still apply. */
14765 char XF86VidModeQueryExtension ();
14767 main (void)
14769 return XF86VidModeQueryExtension ();
14771 return 0;
14773 _ACEOF
14774 if ac_fn_c_try_link "$LINENO"
14775 then :
14776 case "$LIBEXT" in
14777 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14778 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'` ;;
14779 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14780 if ${ac_cv_lib_soname_Xxf86vm:+false} :
14781 then :
14782 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14783 fi ;;
14784 esac
14785 else $as_nop
14786 ac_cv_lib_soname_Xxf86vm=
14788 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14789 conftest$ac_exeext conftest.$ac_ext
14790 LIBS=$ac_check_soname_save_LIBS
14792 if ${ac_cv_lib_soname_Xxf86vm:+false} :
14793 then :
14794 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14795 printf "%s\n" "not found" >&6; }
14797 else $as_nop
14798 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
14799 printf "%s\n" "$ac_cv_lib_soname_Xxf86vm" >&6; }
14801 printf "%s\n" "#define SONAME_LIBXXF86VM \"$ac_cv_lib_soname_Xxf86vm\"" >>confdefs.h
14806 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"
14807 then :
14808 case "x$with_xxf86vm" in
14809 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
14810 xno) ;;
14811 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
14812 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
14813 esac
14817 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
14818 then
14819 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
14820 printf %s "checking for -lXrender... " >&6; }
14821 if test ${ac_cv_lib_soname_Xrender+y}
14822 then :
14823 printf %s "(cached) " >&6
14824 else $as_nop
14825 ac_check_soname_save_LIBS=$LIBS
14826 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
14827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14828 /* end confdefs.h. */
14830 /* Override any GCC internal prototype to avoid an error.
14831 Use char because int might match the return type of a GCC
14832 builtin and then its argument prototype would still apply. */
14833 char XRenderQueryExtension ();
14835 main (void)
14837 return XRenderQueryExtension ();
14839 return 0;
14841 _ACEOF
14842 if ac_fn_c_try_link "$LINENO"
14843 then :
14844 case "$LIBEXT" in
14845 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14846 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'` ;;
14847 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14848 if ${ac_cv_lib_soname_Xrender:+false} :
14849 then :
14850 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14851 fi ;;
14852 esac
14853 else $as_nop
14854 ac_cv_lib_soname_Xrender=
14856 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14857 conftest$ac_exeext conftest.$ac_ext
14858 LIBS=$ac_check_soname_save_LIBS
14860 if ${ac_cv_lib_soname_Xrender:+false} :
14861 then :
14862 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14863 printf "%s\n" "not found" >&6; }
14865 else $as_nop
14866 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
14867 printf "%s\n" "$ac_cv_lib_soname_Xrender" >&6; }
14869 printf "%s\n" "#define SONAME_LIBXRENDER \"$ac_cv_lib_soname_Xrender\"" >>confdefs.h
14871 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
14872 printf %s "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
14873 if test ${ac_cv_lib_Xrender_XRenderSetPictureTransform+y}
14874 then :
14875 printf %s "(cached) " >&6
14876 else $as_nop
14877 ac_check_lib_save_LIBS=$LIBS
14878 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
14879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14880 /* end confdefs.h. */
14882 /* Override any GCC internal prototype to avoid an error.
14883 Use char because int might match the return type of a GCC
14884 builtin and then its argument prototype would still apply. */
14885 char XRenderSetPictureTransform ();
14887 main (void)
14889 return XRenderSetPictureTransform ();
14891 return 0;
14893 _ACEOF
14894 if ac_fn_c_try_link "$LINENO"
14895 then :
14896 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
14897 else $as_nop
14898 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
14900 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14901 conftest$ac_exeext conftest.$ac_ext
14902 LIBS=$ac_check_lib_save_LIBS
14904 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
14905 printf "%s\n" "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
14906 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
14907 then :
14909 printf "%s\n" "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
14913 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
14914 printf %s "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
14915 if test ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+y}
14916 then :
14917 printf %s "(cached) " >&6
14918 else $as_nop
14919 ac_check_lib_save_LIBS=$LIBS
14920 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
14921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14922 /* end confdefs.h. */
14924 /* Override any GCC internal prototype to avoid an error.
14925 Use char because int might match the return type of a GCC
14926 builtin and then its argument prototype would still apply. */
14927 char XRenderCreateLinearGradient ();
14929 main (void)
14931 return XRenderCreateLinearGradient ();
14933 return 0;
14935 _ACEOF
14936 if ac_fn_c_try_link "$LINENO"
14937 then :
14938 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
14939 else $as_nop
14940 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
14942 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14943 conftest$ac_exeext conftest.$ac_ext
14944 LIBS=$ac_check_lib_save_LIBS
14946 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
14947 printf "%s\n" "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
14948 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes
14949 then :
14951 printf "%s\n" "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
14958 if test "x$ac_cv_lib_soname_Xrender" = "x"
14959 then :
14960 case "x$with_xrender" in
14961 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
14962 xno) ;;
14963 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
14964 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
14965 esac
14969 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
14970 then
14971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14972 /* end confdefs.h. */
14973 #include <X11/Xlib.h>
14974 #include <X11/extensions/Xrandr.h>
14976 main (void)
14978 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
14980 return 0;
14982 _ACEOF
14983 if ac_fn_c_try_compile "$LINENO"
14984 then :
14985 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
14986 printf %s "checking for -lXrandr... " >&6; }
14987 if test ${ac_cv_lib_soname_Xrandr+y}
14988 then :
14989 printf %s "(cached) " >&6
14990 else $as_nop
14991 ac_check_soname_save_LIBS=$LIBS
14992 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
14993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14994 /* end confdefs.h. */
14996 /* Override any GCC internal prototype to avoid an error.
14997 Use char because int might match the return type of a GCC
14998 builtin and then its argument prototype would still apply. */
14999 char XRRQueryExtension ();
15001 main (void)
15003 return XRRQueryExtension ();
15005 return 0;
15007 _ACEOF
15008 if ac_fn_c_try_link "$LINENO"
15009 then :
15010 case "$LIBEXT" in
15011 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15012 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'` ;;
15013 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15014 if ${ac_cv_lib_soname_Xrandr:+false} :
15015 then :
15016 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15017 fi ;;
15018 esac
15019 else $as_nop
15020 ac_cv_lib_soname_Xrandr=
15022 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15023 conftest$ac_exeext conftest.$ac_ext
15024 LIBS=$ac_check_soname_save_LIBS
15026 if ${ac_cv_lib_soname_Xrandr:+false} :
15027 then :
15028 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15029 printf "%s\n" "not found" >&6; }
15031 else $as_nop
15032 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
15033 printf "%s\n" "$ac_cv_lib_soname_Xrandr" >&6; }
15035 printf "%s\n" "#define SONAME_LIBXRANDR \"$ac_cv_lib_soname_Xrandr\"" >>confdefs.h
15037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15038 /* end confdefs.h. */
15039 #include <X11/Xlib.h>
15040 #include <X11/extensions/Xrandr.h>
15042 main (void)
15044 static typeof(XRRGetProviderResources) *f; if (f) return 0;
15046 return 0;
15048 _ACEOF
15049 if ac_fn_c_try_compile "$LINENO"
15050 then :
15052 printf "%s\n" "#define HAVE_XRRGETPROVIDERRESOURCES 1" >>confdefs.h
15054 else $as_nop
15055 as_fn_append wine_notices "|libxrandr ${notice_platform}development files too old, XRandR display device handler won't be supported."
15057 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15060 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15062 if test "x$ac_cv_lib_soname_Xrandr" = "x"
15063 then :
15064 case "x$with_xrandr" in
15065 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
15066 xno) ;;
15067 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
15068 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
15069 esac
15073 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
15074 then
15075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15076 /* end confdefs.h. */
15077 #include <X11/Xlib.h>
15078 #include <X11/extensions/Xfixes.h>
15080 main (void)
15082 static typeof(XFixesQueryVersion) * func; if (func) return 0;
15084 return 0;
15086 _ACEOF
15087 if ac_fn_c_try_compile "$LINENO"
15088 then :
15089 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
15090 printf %s "checking for -lXfixes... " >&6; }
15091 if test ${ac_cv_lib_soname_Xfixes+y}
15092 then :
15093 printf %s "(cached) " >&6
15094 else $as_nop
15095 ac_check_soname_save_LIBS=$LIBS
15096 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
15097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15098 /* end confdefs.h. */
15100 /* Override any GCC internal prototype to avoid an error.
15101 Use char because int might match the return type of a GCC
15102 builtin and then its argument prototype would still apply. */
15103 char XFixesQueryVersion ();
15105 main (void)
15107 return XFixesQueryVersion ();
15109 return 0;
15111 _ACEOF
15112 if ac_fn_c_try_link "$LINENO"
15113 then :
15114 case "$LIBEXT" in
15115 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15116 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'` ;;
15117 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15118 if ${ac_cv_lib_soname_Xfixes:+false} :
15119 then :
15120 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15121 fi ;;
15122 esac
15123 else $as_nop
15124 ac_cv_lib_soname_Xfixes=
15126 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15127 conftest$ac_exeext conftest.$ac_ext
15128 LIBS=$ac_check_soname_save_LIBS
15130 if ${ac_cv_lib_soname_Xfixes:+false} :
15131 then :
15132 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15133 printf "%s\n" "not found" >&6; }
15135 else $as_nop
15136 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
15137 printf "%s\n" "$ac_cv_lib_soname_Xfixes" >&6; }
15139 printf "%s\n" "#define SONAME_LIBXFIXES \"$ac_cv_lib_soname_Xfixes\"" >>confdefs.h
15144 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15146 if test "x$ac_cv_lib_soname_Xfixes" = "x"
15147 then :
15148 case "x$with_xfixes" in
15149 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
15150 xno) ;;
15151 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
15152 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
15153 esac
15157 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
15158 then
15159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15160 /* end confdefs.h. */
15161 #include <X11/Xlib.h>
15162 #include <X11/extensions/Xinerama.h>
15164 main (void)
15166 static typeof(XineramaQueryScreens) * func; if (func) return 0;
15168 return 0;
15170 _ACEOF
15171 if ac_fn_c_try_compile "$LINENO"
15172 then :
15173 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
15174 printf %s "checking for -lXinerama... " >&6; }
15175 if test ${ac_cv_lib_soname_Xinerama+y}
15176 then :
15177 printf %s "(cached) " >&6
15178 else $as_nop
15179 ac_check_soname_save_LIBS=$LIBS
15180 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
15181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15182 /* end confdefs.h. */
15184 /* Override any GCC internal prototype to avoid an error.
15185 Use char because int might match the return type of a GCC
15186 builtin and then its argument prototype would still apply. */
15187 char XineramaQueryScreens ();
15189 main (void)
15191 return XineramaQueryScreens ();
15193 return 0;
15195 _ACEOF
15196 if ac_fn_c_try_link "$LINENO"
15197 then :
15198 case "$LIBEXT" in
15199 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15200 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'` ;;
15201 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15202 if ${ac_cv_lib_soname_Xinerama:+false} :
15203 then :
15204 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15205 fi ;;
15206 esac
15207 else $as_nop
15208 ac_cv_lib_soname_Xinerama=
15210 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15211 conftest$ac_exeext conftest.$ac_ext
15212 LIBS=$ac_check_soname_save_LIBS
15214 if ${ac_cv_lib_soname_Xinerama:+false} :
15215 then :
15216 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15217 printf "%s\n" "not found" >&6; }
15219 else $as_nop
15220 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
15221 printf "%s\n" "$ac_cv_lib_soname_Xinerama" >&6; }
15223 printf "%s\n" "#define SONAME_LIBXINERAMA \"$ac_cv_lib_soname_Xinerama\"" >>confdefs.h
15228 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15230 if test "x$ac_cv_lib_soname_Xinerama" = "x"
15231 then :
15232 case "x$with_xinerama" in
15233 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
15234 xno) ;;
15235 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
15236 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
15237 esac
15241 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
15242 then
15243 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
15244 printf %s "checking for -lXcomposite... " >&6; }
15245 if test ${ac_cv_lib_soname_Xcomposite+y}
15246 then :
15247 printf %s "(cached) " >&6
15248 else $as_nop
15249 ac_check_soname_save_LIBS=$LIBS
15250 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
15251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15252 /* end confdefs.h. */
15254 /* Override any GCC internal prototype to avoid an error.
15255 Use char because int might match the return type of a GCC
15256 builtin and then its argument prototype would still apply. */
15257 char XCompositeRedirectWindow ();
15259 main (void)
15261 return XCompositeRedirectWindow ();
15263 return 0;
15265 _ACEOF
15266 if ac_fn_c_try_link "$LINENO"
15267 then :
15268 case "$LIBEXT" in
15269 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15270 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'` ;;
15271 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15272 if ${ac_cv_lib_soname_Xcomposite:+false} :
15273 then :
15274 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15275 fi ;;
15276 esac
15277 else $as_nop
15278 ac_cv_lib_soname_Xcomposite=
15280 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15281 conftest$ac_exeext conftest.$ac_ext
15282 LIBS=$ac_check_soname_save_LIBS
15284 if ${ac_cv_lib_soname_Xcomposite:+false} :
15285 then :
15286 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15287 printf "%s\n" "not found" >&6; }
15289 else $as_nop
15290 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
15291 printf "%s\n" "$ac_cv_lib_soname_Xcomposite" >&6; }
15293 printf "%s\n" "#define SONAME_LIBXCOMPOSITE \"$ac_cv_lib_soname_Xcomposite\"" >>confdefs.h
15298 if test "x$ac_cv_lib_soname_Xcomposite" = "x"
15299 then :
15300 case "x$with_xcomposite" in
15301 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
15302 xno) ;;
15303 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
15304 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
15305 esac
15309 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
15310 #include <X11/Xlib.h>
15311 #endif
15313 if test "x$ac_cv_member_XICCallback_callback" = xyes
15314 then :
15316 printf "%s\n" "#define HAVE_XICCALLBACK_CALLBACK 1" >>confdefs.h
15320 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
15321 #include <X11/Xlib.h>
15322 #endif
15324 if test "x$ac_cv_member_XEvent_xcookie" = xyes
15325 then :
15327 printf "%s\n" "#define HAVE_XEVENT_XCOOKIE 1" >>confdefs.h
15334 opengl_msg=""
15335 if test "x$with_opengl" != "xno"
15336 then
15337 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
15338 printf %s "checking for -lGL... " >&6; }
15339 if test ${ac_cv_lib_soname_GL+y}
15340 then :
15341 printf %s "(cached) " >&6
15342 else $as_nop
15343 ac_check_soname_save_LIBS=$LIBS
15344 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
15345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15346 /* end confdefs.h. */
15348 /* Override any GCC internal prototype to avoid an error.
15349 Use char because int might match the return type of a GCC
15350 builtin and then its argument prototype would still apply. */
15351 char glXCreateContext ();
15353 main (void)
15355 return glXCreateContext ();
15357 return 0;
15359 _ACEOF
15360 if ac_fn_c_try_link "$LINENO"
15361 then :
15362 case "$LIBEXT" in
15363 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15364 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'` ;;
15365 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15366 if ${ac_cv_lib_soname_GL:+false} :
15367 then :
15368 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15369 fi ;;
15370 esac
15371 else $as_nop
15372 ac_cv_lib_soname_GL=
15374 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15375 conftest$ac_exeext conftest.$ac_ext
15376 LIBS=$ac_check_soname_save_LIBS
15378 if ${ac_cv_lib_soname_GL:+false} :
15379 then :
15380 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15381 printf "%s\n" "not found" >&6; }
15382 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
15383 printf %s "checking for -lGL... " >&6; }
15384 if test ${ac_cv_lib_soname_GL+y}
15385 then :
15386 printf %s "(cached) " >&6
15387 else $as_nop
15388 ac_check_soname_save_LIBS=$LIBS
15389 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"
15390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15391 /* end confdefs.h. */
15393 /* Override any GCC internal prototype to avoid an error.
15394 Use char because int might match the return type of a GCC
15395 builtin and then its argument prototype would still apply. */
15396 char glXCreateContext ();
15398 main (void)
15400 return glXCreateContext ();
15402 return 0;
15404 _ACEOF
15405 if ac_fn_c_try_link "$LINENO"
15406 then :
15407 case "$LIBEXT" in
15408 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15409 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'` ;;
15410 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15411 if ${ac_cv_lib_soname_GL:+false} :
15412 then :
15413 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15414 fi ;;
15415 esac
15416 else $as_nop
15417 ac_cv_lib_soname_GL=
15419 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15420 conftest$ac_exeext conftest.$ac_ext
15421 LIBS=$ac_check_soname_save_LIBS
15423 if ${ac_cv_lib_soname_GL:+false} :
15424 then :
15425 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15426 printf "%s\n" "not found" >&6; }
15427 if test -f /usr/X11R6/lib/libGL.a
15428 then
15429 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
15430 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
15431 else
15432 opengl_msg="No OpenGL library found on this system."
15434 else $as_nop
15435 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
15436 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
15438 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
15440 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"
15442 else $as_nop
15443 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
15444 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
15446 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
15448 OPENGL_LIBS="-lGL"
15450 if test "x$with_osmesa" != "xno"
15451 then
15452 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
15453 printf %s "checking for -lOSMesa... " >&6; }
15454 if test ${ac_cv_lib_soname_OSMesa+y}
15455 then :
15456 printf %s "(cached) " >&6
15457 else $as_nop
15458 ac_check_soname_save_LIBS=$LIBS
15459 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
15460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15461 /* end confdefs.h. */
15463 /* Override any GCC internal prototype to avoid an error.
15464 Use char because int might match the return type of a GCC
15465 builtin and then its argument prototype would still apply. */
15466 char OSMesaGetProcAddress ();
15468 main (void)
15470 return OSMesaGetProcAddress ();
15472 return 0;
15474 _ACEOF
15475 if ac_fn_c_try_link "$LINENO"
15476 then :
15477 case "$LIBEXT" in
15478 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15479 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'` ;;
15480 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15481 if ${ac_cv_lib_soname_OSMesa:+false} :
15482 then :
15483 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15484 fi ;;
15485 esac
15486 else $as_nop
15487 ac_cv_lib_soname_OSMesa=
15489 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15490 conftest$ac_exeext conftest.$ac_ext
15491 LIBS=$ac_check_soname_save_LIBS
15493 if ${ac_cv_lib_soname_OSMesa:+false} :
15494 then :
15495 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15496 printf "%s\n" "not found" >&6; }
15498 else $as_nop
15499 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
15500 printf "%s\n" "$ac_cv_lib_soname_OSMesa" >&6; }
15502 printf "%s\n" "#define SONAME_LIBOSMESA \"$ac_cv_lib_soname_OSMesa\"" >>confdefs.h
15506 if test "x$ac_cv_lib_soname_OSMesa" = "x"
15507 then :
15508 case "x$with_osmesa" in
15509 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
15510 xno) ;;
15511 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
15512 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
15513 esac
15518 if test -n "$opengl_msg"
15519 then :
15520 case "x$with_opengl" in
15521 x) as_fn_append wine_warnings "|$opengl_msg
15522 OpenGL and Direct3D won't be supported." ;;
15523 xno) ;;
15524 *) as_fn_error $? "$opengl_msg
15525 OpenGL and Direct3D won't be supported.
15526 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
15527 esac
15531 CPPFLAGS="$ac_save_CPPFLAGS"
15532 else
15533 X_CFLAGS=""
15534 X_LIBS=""
15537 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
15538 then
15539 if test "x$X_LIBS" = "x"
15540 then :
15541 case "x$with_x" in
15542 xno) ;;
15543 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
15544 without X support, which probably isn't what you want. You will need
15545 to install ${notice_platform}development packages of Xlib at the very least.
15546 Use the --without-x option if you really want this." "$LINENO" 5 ;;
15547 esac
15548 enable_winex11_drv=${enable_winex11_drv:-no}
15550 else
15551 if test "x$X_LIBS" = "x"
15552 then :
15553 case "x$with_x" in
15554 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
15555 xno) ;;
15556 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
15557 This is an error since --with-x was requested." "$LINENO" 5 ;;
15558 esac
15559 enable_winex11_drv=${enable_winex11_drv:-no}
15563 if test "x$with_wayland" != "xno"
15564 then
15565 rm -f conftest.err
15566 if ${WAYLAND_CLIENT_CFLAGS:+false} :
15567 then :
15568 if test ${PKG_CONFIG+y}
15569 then :
15570 WAYLAND_CLIENT_CFLAGS=`$PKG_CONFIG --cflags wayland-client 2>conftest.err`
15574 if ${WAYLAND_CLIENT_LIBS:+false} :
15575 then :
15576 if test ${PKG_CONFIG+y}
15577 then :
15578 WAYLAND_CLIENT_LIBS=`$PKG_CONFIG --libs wayland-client 2>/dev/null`
15583 printf "%s\n" "$as_me:${as_lineno-$LINENO}: wayland-client cflags: $WAYLAND_CLIENT_CFLAGS" >&5
15584 printf "%s\n" "$as_me:${as_lineno-$LINENO}: wayland-client libs: $WAYLAND_CLIENT_LIBS" >&5
15585 if test -s conftest.err; then
15586 printf %s "$as_me:${as_lineno-$LINENO}: wayland-client errors: " >&5
15587 cat conftest.err >&5
15589 rm -f conftest.err
15590 ac_save_CPPFLAGS=$CPPFLAGS
15591 CPPFLAGS="$CPPFLAGS $WAYLAND_CLIENT_CFLAGS"
15592 ac_fn_c_check_header_compile "$LINENO" "wayland-client.h" "ac_cv_header_wayland_client_h" "$ac_includes_default"
15593 if test "x$ac_cv_header_wayland_client_h" = xyes
15594 then :
15595 printf "%s\n" "#define HAVE_WAYLAND_CLIENT_H 1" >>confdefs.h
15599 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for wl_display_connect in -lwayland-client" >&5
15600 printf %s "checking for wl_display_connect in -lwayland-client... " >&6; }
15601 if test ${ac_cv_lib_wayland_client_wl_display_connect+y}
15602 then :
15603 printf %s "(cached) " >&6
15604 else $as_nop
15605 ac_check_lib_save_LIBS=$LIBS
15606 LIBS="-lwayland-client $WAYLAND_CLIENT_LIBS $LIBS"
15607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15608 /* end confdefs.h. */
15610 /* Override any GCC internal prototype to avoid an error.
15611 Use char because int might match the return type of a GCC
15612 builtin and then its argument prototype would still apply. */
15613 char wl_display_connect ();
15615 main (void)
15617 return wl_display_connect ();
15619 return 0;
15621 _ACEOF
15622 if ac_fn_c_try_link "$LINENO"
15623 then :
15624 ac_cv_lib_wayland_client_wl_display_connect=yes
15625 else $as_nop
15626 ac_cv_lib_wayland_client_wl_display_connect=no
15628 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15629 conftest$ac_exeext conftest.$ac_ext
15630 LIBS=$ac_check_lib_save_LIBS
15632 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_wayland_client_wl_display_connect" >&5
15633 printf "%s\n" "$ac_cv_lib_wayland_client_wl_display_connect" >&6; }
15634 if test "x$ac_cv_lib_wayland_client_wl_display_connect" = xyes
15635 then :
15637 else $as_nop
15638 WAYLAND_CLIENT_LIBS=""
15641 CPPFLAGS=$ac_save_CPPFLAGS
15644 if test -z "$WAYLAND_CLIENT_LIBS"
15645 then :
15646 case "x$with_wayland" in
15647 x) as_fn_append wine_notices "|Wayland ${notice_platform}development files not found, the Wayland driver won't be supported." ;;
15648 xno) ;;
15649 *) as_fn_error $? "Wayland ${notice_platform}development files not found, the Wayland driver won't be supported.
15650 This is an error since --with-wayland was requested." "$LINENO" 5 ;;
15651 esac
15652 enable_winewayland_drv=${enable_winewayland_drv:-no}
15655 if test "$ac_cv_header_CL_cl_h" = "yes"
15656 then
15657 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
15658 printf %s "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
15659 if test ${ac_cv_lib_OpenCL_clGetPlatformInfo+y}
15660 then :
15661 printf %s "(cached) " >&6
15662 else $as_nop
15663 ac_check_lib_save_LIBS=$LIBS
15664 LIBS="-lOpenCL $LIBS"
15665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15666 /* end confdefs.h. */
15668 /* Override any GCC internal prototype to avoid an error.
15669 Use char because int might match the return type of a GCC
15670 builtin and then its argument prototype would still apply. */
15671 char clGetPlatformInfo ();
15673 main (void)
15675 return clGetPlatformInfo ();
15677 return 0;
15679 _ACEOF
15680 if ac_fn_c_try_link "$LINENO"
15681 then :
15682 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
15683 else $as_nop
15684 ac_cv_lib_OpenCL_clGetPlatformInfo=no
15686 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15687 conftest$ac_exeext conftest.$ac_ext
15688 LIBS=$ac_check_lib_save_LIBS
15690 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
15691 printf "%s\n" "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
15692 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
15693 then :
15694 OPENCL_LIBS="-lOpenCL"
15699 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
15700 then :
15701 case "x$with_opencl" in
15702 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
15703 xno) ;;
15704 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
15705 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
15706 esac
15707 enable_opencl=${enable_opencl:-no}
15710 if test "$ac_cv_header_pcap_pcap_h" = "yes"
15711 then
15712 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pcap_init in -lpcap" >&5
15713 printf %s "checking for pcap_init in -lpcap... " >&6; }
15714 if test ${ac_cv_lib_pcap_pcap_init+y}
15715 then :
15716 printf %s "(cached) " >&6
15717 else $as_nop
15718 ac_check_lib_save_LIBS=$LIBS
15719 LIBS="-lpcap $LIBS"
15720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15721 /* end confdefs.h. */
15723 /* Override any GCC internal prototype to avoid an error.
15724 Use char because int might match the return type of a GCC
15725 builtin and then its argument prototype would still apply. */
15726 char pcap_init ();
15728 main (void)
15730 return pcap_init ();
15732 return 0;
15734 _ACEOF
15735 if ac_fn_c_try_link "$LINENO"
15736 then :
15737 ac_cv_lib_pcap_pcap_init=yes
15738 else $as_nop
15739 ac_cv_lib_pcap_pcap_init=no
15741 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15742 conftest$ac_exeext conftest.$ac_ext
15743 LIBS=$ac_check_lib_save_LIBS
15745 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_init" >&5
15746 printf "%s\n" "$ac_cv_lib_pcap_pcap_init" >&6; }
15747 if test "x$ac_cv_lib_pcap_pcap_init" = xyes
15748 then :
15749 PCAP_LIBS="-lpcap"
15754 if test "x$ac_cv_lib_pcap_pcap_init" != xyes
15755 then :
15756 case "x$with_pcap" in
15757 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
15758 xno) ;;
15759 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
15760 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
15761 esac
15762 enable_wpcap=${enable_wpcap:-no}
15765 if test "x$with_pcsclite" != "xno"
15766 then
15767 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for SCardEstablishContext in -lpcsclite" >&5
15768 printf %s "checking for SCardEstablishContext in -lpcsclite... " >&6; }
15769 if test ${ac_cv_lib_pcsclite_SCardEstablishContext+y}
15770 then :
15771 printf %s "(cached) " >&6
15772 else $as_nop
15773 ac_check_lib_save_LIBS=$LIBS
15774 LIBS="-lpcsclite $LIBS"
15775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15776 /* end confdefs.h. */
15778 /* Override any GCC internal prototype to avoid an error.
15779 Use char because int might match the return type of a GCC
15780 builtin and then its argument prototype would still apply. */
15781 char SCardEstablishContext ();
15783 main (void)
15785 return SCardEstablishContext ();
15787 return 0;
15789 _ACEOF
15790 if ac_fn_c_try_link "$LINENO"
15791 then :
15792 ac_cv_lib_pcsclite_SCardEstablishContext=yes
15793 else $as_nop
15794 ac_cv_lib_pcsclite_SCardEstablishContext=no
15796 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15797 conftest$ac_exeext conftest.$ac_ext
15798 LIBS=$ac_check_lib_save_LIBS
15800 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcsclite_SCardEstablishContext" >&5
15801 printf "%s\n" "$ac_cv_lib_pcsclite_SCardEstablishContext" >&6; }
15802 if test "x$ac_cv_lib_pcsclite_SCardEstablishContext" = xyes
15803 then :
15804 PCSCLITE_LIBS="-lpcsclite"
15809 if test "x$ac_cv_lib_pcsclite_SCardEstablishContext" != xyes
15810 then :
15811 case "x$with_pcsclite" in
15812 x) as_fn_append wine_notices "|libpcsclite not found, smart cards won't be supported." ;;
15813 xno) ;;
15814 *) as_fn_error $? "libpcsclite not found, smart cards won't be supported.
15815 This is an error since --with-pcsclite was requested." "$LINENO" 5 ;;
15816 esac
15817 enable_winscard=${enable_winscard:-no}
15820 if test "x$with_inotify" != "xno"
15821 then
15822 rm -f conftest.err
15823 if ${INOTIFY_CFLAGS:+false} :
15824 then :
15825 if test ${PKG_CONFIG+y}
15826 then :
15827 INOTIFY_CFLAGS=`$PKG_CONFIG --cflags libinotify 2>conftest.err`
15831 if ${INOTIFY_LIBS:+false} :
15832 then :
15833 if test ${PKG_CONFIG+y}
15834 then :
15835 INOTIFY_LIBS=`$PKG_CONFIG --libs libinotify 2>/dev/null`
15840 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
15841 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
15842 if test -s conftest.err; then
15843 printf %s "$as_me:${as_lineno-$LINENO}: libinotify errors: " >&5
15844 cat conftest.err >&5
15846 rm -f conftest.err
15847 ac_save_CPPFLAGS=$CPPFLAGS
15848 CPPFLAGS="$CPPFLAGS $INOTIFY_CFLAGS"
15849 ac_fn_c_check_header_compile "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
15850 if test "x$ac_cv_header_sys_inotify_h" = xyes
15851 then :
15852 printf "%s\n" "#define HAVE_SYS_INOTIFY_H 1" >>confdefs.h
15856 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
15857 printf %s "checking for inotify_add_watch in -linotify... " >&6; }
15858 if test ${ac_cv_lib_inotify_inotify_add_watch+y}
15859 then :
15860 printf %s "(cached) " >&6
15861 else $as_nop
15862 ac_check_lib_save_LIBS=$LIBS
15863 LIBS="-linotify $INOTIFY_LIBS $LIBS"
15864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15865 /* end confdefs.h. */
15867 /* Override any GCC internal prototype to avoid an error.
15868 Use char because int might match the return type of a GCC
15869 builtin and then its argument prototype would still apply. */
15870 char inotify_add_watch ();
15872 main (void)
15874 return inotify_add_watch ();
15876 return 0;
15878 _ACEOF
15879 if ac_fn_c_try_link "$LINENO"
15880 then :
15881 ac_cv_lib_inotify_inotify_add_watch=yes
15882 else $as_nop
15883 ac_cv_lib_inotify_inotify_add_watch=no
15885 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15886 conftest$ac_exeext conftest.$ac_ext
15887 LIBS=$ac_check_lib_save_LIBS
15889 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
15890 printf "%s\n" "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
15891 if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes
15892 then :
15894 else $as_nop
15895 INOTIFY_LIBS=""
15898 CPPFLAGS=$ac_save_CPPFLAGS
15901 if test "$ac_cv_header_sys_inotify_h" != "yes"
15902 then :
15903 case "x$with_inotify" in
15904 x) as_fn_append wine_notices "|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
15905 xno) ;;
15906 *) as_fn_error $? "libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
15907 This is an error since --with-inotify was requested." "$LINENO" 5 ;;
15908 esac
15912 if test "x$with_dbus" != "xno"
15913 then
15914 rm -f conftest.err
15915 if ${DBUS_CFLAGS:+false} :
15916 then :
15917 if test ${PKG_CONFIG+y}
15918 then :
15919 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>conftest.err`
15923 if ${DBUS_LIBS:+false} :
15924 then :
15925 if test ${PKG_CONFIG+y}
15926 then :
15927 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
15932 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
15933 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
15934 if test -s conftest.err; then
15935 printf %s "$as_me:${as_lineno-$LINENO}: dbus-1 errors: " >&5
15936 cat conftest.err >&5
15938 rm -f conftest.err
15939 ac_save_CPPFLAGS=$CPPFLAGS
15940 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
15941 ac_fn_c_check_header_compile "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
15942 if test "x$ac_cv_header_dbus_dbus_h" = xyes
15943 then :
15944 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
15945 printf %s "checking for -ldbus-1... " >&6; }
15946 if test ${ac_cv_lib_soname_dbus_1+y}
15947 then :
15948 printf %s "(cached) " >&6
15949 else $as_nop
15950 ac_check_soname_save_LIBS=$LIBS
15951 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
15952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15953 /* end confdefs.h. */
15955 /* Override any GCC internal prototype to avoid an error.
15956 Use char because int might match the return type of a GCC
15957 builtin and then its argument prototype would still apply. */
15958 char dbus_connection_close ();
15960 main (void)
15962 return dbus_connection_close ();
15964 return 0;
15966 _ACEOF
15967 if ac_fn_c_try_link "$LINENO"
15968 then :
15969 case "$LIBEXT" in
15970 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15971 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'` ;;
15972 *) 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'`
15973 if ${ac_cv_lib_soname_dbus_1:+false} :
15974 then :
15975 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15976 fi ;;
15977 esac
15978 else $as_nop
15979 ac_cv_lib_soname_dbus_1=
15981 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15982 conftest$ac_exeext conftest.$ac_ext
15983 LIBS=$ac_check_soname_save_LIBS
15985 if ${ac_cv_lib_soname_dbus_1:+false} :
15986 then :
15987 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15988 printf "%s\n" "not found" >&6; }
15989 DBUS_CFLAGS=""
15990 else $as_nop
15991 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
15992 printf "%s\n" "$ac_cv_lib_soname_dbus_1" >&6; }
15994 printf "%s\n" "#define SONAME_LIBDBUS_1 \"$ac_cv_lib_soname_dbus_1\"" >>confdefs.h
15998 else $as_nop
15999 DBUS_CFLAGS=""
16002 CPPFLAGS=$ac_save_CPPFLAGS
16005 case $host_os in
16006 darwin*|macosx*) ;;
16007 *) if test "x$ac_cv_lib_soname_dbus_1" = "x"
16008 then :
16009 case "x$with_dbus" in
16010 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
16011 xno) ;;
16012 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
16013 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
16014 esac
16016 fi ;;
16017 esac
16019 if test "x$with_gnutls" != "xno"
16020 then
16021 rm -f conftest.err
16022 if ${GNUTLS_CFLAGS:+false} :
16023 then :
16024 if test ${PKG_CONFIG+y}
16025 then :
16026 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>conftest.err`
16030 if ${GNUTLS_LIBS:+false} :
16031 then :
16032 if test ${PKG_CONFIG+y}
16033 then :
16034 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
16038 GNUTLS_LIBS=${GNUTLS_LIBS:-"-lgnutls"}
16039 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
16040 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
16041 if test -s conftest.err; then
16042 printf %s "$as_me:${as_lineno-$LINENO}: gnutls errors: " >&5
16043 cat conftest.err >&5
16045 rm -f conftest.err
16046 ac_save_CPPFLAGS=$CPPFLAGS
16047 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
16048 ac_fn_c_check_header_compile "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
16049 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
16050 then :
16051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16052 /* end confdefs.h. */
16053 #include <gnutls/gnutls.h>
16054 #include <gnutls/crypto.h>
16056 main (void)
16058 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
16060 return 0;
16062 _ACEOF
16063 if ac_fn_c_try_compile "$LINENO"
16064 then :
16065 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
16066 printf %s "checking for -lgnutls... " >&6; }
16067 if test ${ac_cv_lib_soname_gnutls+y}
16068 then :
16069 printf %s "(cached) " >&6
16070 else $as_nop
16071 ac_check_soname_save_LIBS=$LIBS
16072 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
16073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16074 /* end confdefs.h. */
16076 /* Override any GCC internal prototype to avoid an error.
16077 Use char because int might match the return type of a GCC
16078 builtin and then its argument prototype would still apply. */
16079 char gnutls_global_init ();
16081 main (void)
16083 return gnutls_global_init ();
16085 return 0;
16087 _ACEOF
16088 if ac_fn_c_try_link "$LINENO"
16089 then :
16090 case "$LIBEXT" in
16091 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16092 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'` ;;
16093 *) 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'`
16094 if ${ac_cv_lib_soname_gnutls:+false} :
16095 then :
16096 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'`
16097 fi ;;
16098 esac
16099 else $as_nop
16100 ac_cv_lib_soname_gnutls=
16102 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16103 conftest$ac_exeext conftest.$ac_ext
16104 LIBS=$ac_check_soname_save_LIBS
16106 if ${ac_cv_lib_soname_gnutls:+false} :
16107 then :
16108 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16109 printf "%s\n" "not found" >&6; }
16110 GNUTLS_CFLAGS=""
16111 else $as_nop
16112 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
16113 printf "%s\n" "$ac_cv_lib_soname_gnutls" >&6; }
16115 printf "%s\n" "#define SONAME_LIBGNUTLS \"$ac_cv_lib_soname_gnutls\"" >>confdefs.h
16119 ac_wine_check_funcs_save_LIBS="$LIBS"
16120 LIBS="$LIBS $GNUTLS_LIBS"
16122 for ac_func in gnutls_cipher_init
16123 do :
16124 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
16125 if test "x$ac_cv_func_gnutls_cipher_init" = xyes
16126 then :
16127 printf "%s\n" "#define HAVE_GNUTLS_CIPHER_INIT 1" >>confdefs.h
16129 else $as_nop
16130 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
16133 done
16134 LIBS="$ac_wine_check_funcs_save_LIBS"
16136 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
16137 else $as_nop
16138 GNUTLS_CFLAGS=""
16141 CPPFLAGS=$ac_save_CPPFLAGS
16144 if test "x$ac_cv_lib_soname_gnutls" = "x"
16145 then :
16146 case "x$with_gnutls" in
16147 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
16148 xno) ;;
16149 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
16150 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
16151 esac
16155 if test "x$with_sane" != "xno"
16156 then
16157 rm -f conftest.err
16158 if ${SANE_CFLAGS:+false} :
16159 then :
16160 if test ${PKG_CONFIG+y}
16161 then :
16162 SANE_CFLAGS=`$PKG_CONFIG --cflags sane-backends 2>conftest.err`
16165 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
16166 if ${SANE_LIBS:+false} :
16167 then :
16168 if test ${PKG_CONFIG+y}
16169 then :
16170 SANE_LIBS=`$PKG_CONFIG --libs sane-backends 2>/dev/null`
16173 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
16175 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends cflags: $SANE_CFLAGS" >&5
16176 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends libs: $SANE_LIBS" >&5
16177 if test -s conftest.err; then
16178 printf %s "$as_me:${as_lineno-$LINENO}: sane-backends errors: " >&5
16179 cat conftest.err >&5
16181 rm -f conftest.err
16182 ac_save_CPPFLAGS=$CPPFLAGS
16183 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
16184 ac_fn_c_check_header_compile "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
16185 if test "x$ac_cv_header_sane_sane_h" = xyes
16186 then :
16187 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sane_init in -lsane" >&5
16188 printf %s "checking for sane_init in -lsane... " >&6; }
16189 if test ${ac_cv_lib_sane_sane_init+y}
16190 then :
16191 printf %s "(cached) " >&6
16192 else $as_nop
16193 ac_check_lib_save_LIBS=$LIBS
16194 LIBS="-lsane $SANE_LIBS $LIBS"
16195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16196 /* end confdefs.h. */
16198 /* Override any GCC internal prototype to avoid an error.
16199 Use char because int might match the return type of a GCC
16200 builtin and then its argument prototype would still apply. */
16201 char sane_init ();
16203 main (void)
16205 return sane_init ();
16207 return 0;
16209 _ACEOF
16210 if ac_fn_c_try_link "$LINENO"
16211 then :
16212 ac_cv_lib_sane_sane_init=yes
16213 else $as_nop
16214 ac_cv_lib_sane_sane_init=no
16216 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16217 conftest$ac_exeext conftest.$ac_ext
16218 LIBS=$ac_check_lib_save_LIBS
16220 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sane_sane_init" >&5
16221 printf "%s\n" "$ac_cv_lib_sane_sane_init" >&6; }
16222 if test "x$ac_cv_lib_sane_sane_init" = xyes
16223 then :
16229 CPPFLAGS=$ac_save_CPPFLAGS
16232 if test "$ac_cv_lib_sane_sane_init" != "yes"
16233 then :
16234 case "x$with_sane" in
16235 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
16236 xno) ;;
16237 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
16238 This is an error since --with-sane was requested." "$LINENO" 5 ;;
16239 esac
16240 enable_sane_ds=${enable_sane_ds:-no}
16243 if test "x$with_usb" != "xno"
16244 then
16245 rm -f conftest.err
16246 if ${USB_CFLAGS:+false} :
16247 then :
16248 if test ${PKG_CONFIG+y}
16249 then :
16250 USB_CFLAGS=`$PKG_CONFIG --cflags libusb-1.0 2>conftest.err`
16254 if ${USB_LIBS:+false} :
16255 then :
16256 if test ${PKG_CONFIG+y}
16257 then :
16258 USB_LIBS=`$PKG_CONFIG --libs libusb-1.0 2>/dev/null`
16262 USB_LIBS=${USB_LIBS:-"-lusb-1.0"}
16263 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 cflags: $USB_CFLAGS" >&5
16264 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 libs: $USB_LIBS" >&5
16265 if test -s conftest.err; then
16266 printf %s "$as_me:${as_lineno-$LINENO}: libusb-1.0 errors: " >&5
16267 cat conftest.err >&5
16269 rm -f conftest.err
16270 ac_save_CPPFLAGS=$CPPFLAGS
16271 CPPFLAGS="$CPPFLAGS $USB_CFLAGS"
16272 ac_fn_c_check_header_compile "$LINENO" "libusb.h" "ac_cv_header_libusb_h" "$ac_includes_default"
16273 if test "x$ac_cv_header_libusb_h" = xyes
16274 then :
16275 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libusb_interrupt_event_handler in -lusb-1.0" >&5
16276 printf %s "checking for libusb_interrupt_event_handler in -lusb-1.0... " >&6; }
16277 if test ${ac_cv_lib_usb_1_0_libusb_interrupt_event_handler+y}
16278 then :
16279 printf %s "(cached) " >&6
16280 else $as_nop
16281 ac_check_lib_save_LIBS=$LIBS
16282 LIBS="-lusb-1.0 $USB_LIBS $LIBS"
16283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16284 /* end confdefs.h. */
16286 /* Override any GCC internal prototype to avoid an error.
16287 Use char because int might match the return type of a GCC
16288 builtin and then its argument prototype would still apply. */
16289 char libusb_interrupt_event_handler ();
16291 main (void)
16293 return libusb_interrupt_event_handler ();
16295 return 0;
16297 _ACEOF
16298 if ac_fn_c_try_link "$LINENO"
16299 then :
16300 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=yes
16301 else $as_nop
16302 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=no
16304 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16305 conftest$ac_exeext conftest.$ac_ext
16306 LIBS=$ac_check_lib_save_LIBS
16308 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&5
16309 printf "%s\n" "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&6; }
16310 if test "x$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" = xyes
16311 then :
16313 else $as_nop
16314 USB_LIBS=""
16317 else $as_nop
16318 USB_LIBS=""
16321 CPPFLAGS=$ac_save_CPPFLAGS
16324 if test "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" != "yes"
16325 then :
16326 case "x$with_usb" in
16327 x) as_fn_append wine_notices "|libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported." ;;
16328 xno) ;;
16329 *) as_fn_error $? "libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported.
16330 This is an error since --with-usb was requested." "$LINENO" 5 ;;
16331 esac
16332 enable_wineusb_sys=${enable_wineusb_sys:-no}
16335 if test "x$with_v4l2" != "xno"
16336 then
16337 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
16338 printf %s "checking for -lv4l2... " >&6; }
16339 if test ${ac_cv_lib_soname_v4l2+y}
16340 then :
16341 printf %s "(cached) " >&6
16342 else $as_nop
16343 ac_check_soname_save_LIBS=$LIBS
16344 LIBS="-lv4l2 $LIBS"
16345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16346 /* end confdefs.h. */
16348 /* Override any GCC internal prototype to avoid an error.
16349 Use char because int might match the return type of a GCC
16350 builtin and then its argument prototype would still apply. */
16351 char v4l2_open ();
16353 main (void)
16355 return v4l2_open ();
16357 return 0;
16359 _ACEOF
16360 if ac_fn_c_try_link "$LINENO"
16361 then :
16362 case "$LIBEXT" in
16363 dll) ac_cv_lib_soname_v4l2=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16364 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'` ;;
16365 *) ac_cv_lib_soname_v4l2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16366 if ${ac_cv_lib_soname_v4l2:+false} :
16367 then :
16368 ac_cv_lib_soname_v4l2=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16369 fi ;;
16370 esac
16371 else $as_nop
16372 ac_cv_lib_soname_v4l2=
16374 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16375 conftest$ac_exeext conftest.$ac_ext
16376 LIBS=$ac_check_soname_save_LIBS
16378 if ${ac_cv_lib_soname_v4l2:+false} :
16379 then :
16380 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16381 printf "%s\n" "not found" >&6; }
16383 else $as_nop
16384 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
16385 printf "%s\n" "$ac_cv_lib_soname_v4l2" >&6; }
16387 printf "%s\n" "#define SONAME_LIBV4L2 \"$ac_cv_lib_soname_v4l2\"" >>confdefs.h
16392 if test "x$ac_cv_lib_soname_v4l2" = "x"
16393 then :
16394 case "x$with_v4l2" in
16395 x) as_fn_append wine_notices "|libv4l2 ${notice_platform}development files not found." ;;
16396 xno) ;;
16397 *) as_fn_error $? "libv4l2 ${notice_platform}development files not found.
16398 This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
16399 esac
16403 if test "x$with_gphoto" != "xno"
16404 then
16405 rm -f conftest.err
16406 if ${GPHOTO2_CFLAGS:+false} :
16407 then :
16408 if test ${PKG_CONFIG+y}
16409 then :
16410 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>conftest.err`
16413 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
16414 if ${GPHOTO2_LIBS:+false} :
16415 then :
16416 if test ${PKG_CONFIG+y}
16417 then :
16418 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
16421 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
16422 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
16423 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
16424 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
16425 if test -s conftest.err; then
16426 printf %s "$as_me:${as_lineno-$LINENO}: libgphoto2 errors: " >&5
16427 cat conftest.err >&5
16429 rm -f conftest.err
16430 ac_save_CPPFLAGS=$CPPFLAGS
16431 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
16432 ac_fn_c_check_header_compile "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
16433 if test "x$ac_cv_header_gphoto2_camera_h" = xyes
16434 then :
16435 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
16436 printf %s "checking for gp_camera_new in -lgphoto2... " >&6; }
16437 if test ${ac_cv_lib_gphoto2_gp_camera_new+y}
16438 then :
16439 printf %s "(cached) " >&6
16440 else $as_nop
16441 ac_check_lib_save_LIBS=$LIBS
16442 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
16443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16444 /* end confdefs.h. */
16446 /* Override any GCC internal prototype to avoid an error.
16447 Use char because int might match the return type of a GCC
16448 builtin and then its argument prototype would still apply. */
16449 char gp_camera_new ();
16451 main (void)
16453 return gp_camera_new ();
16455 return 0;
16457 _ACEOF
16458 if ac_fn_c_try_link "$LINENO"
16459 then :
16460 ac_cv_lib_gphoto2_gp_camera_new=yes
16461 else $as_nop
16462 ac_cv_lib_gphoto2_gp_camera_new=no
16464 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16465 conftest$ac_exeext conftest.$ac_ext
16466 LIBS=$ac_check_lib_save_LIBS
16468 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
16469 printf "%s\n" "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
16470 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
16471 then :
16477 CPPFLAGS=$ac_save_CPPFLAGS
16479 rm -f conftest.err
16480 if ${GPHOTO2_PORT_CFLAGS:+false} :
16481 then :
16482 if test ${PKG_CONFIG+y}
16483 then :
16484 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>conftest.err`
16487 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
16488 if ${GPHOTO2_PORT_LIBS:+false} :
16489 then :
16490 if test ${PKG_CONFIG+y}
16491 then :
16492 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
16495 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
16496 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
16497 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
16498 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
16499 if test -s conftest.err; then
16500 printf %s "$as_me:${as_lineno-$LINENO}: libgphoto2_port errors: " >&5
16501 cat conftest.err >&5
16503 rm -f conftest.err
16504 ac_save_CPPFLAGS=$CPPFLAGS
16505 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
16506 ac_fn_c_check_header_compile "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
16507 if test "x$ac_cv_header_gphoto2_port_h" = xyes
16508 then :
16509 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
16510 printf %s "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
16511 if test ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+y}
16512 then :
16513 printf %s "(cached) " >&6
16514 else $as_nop
16515 ac_check_lib_save_LIBS=$LIBS
16516 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
16517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16518 /* end confdefs.h. */
16520 /* Override any GCC internal prototype to avoid an error.
16521 Use char because int might match the return type of a GCC
16522 builtin and then its argument prototype would still apply. */
16523 char gp_port_info_list_new ();
16525 main (void)
16527 return gp_port_info_list_new ();
16529 return 0;
16531 _ACEOF
16532 if ac_fn_c_try_link "$LINENO"
16533 then :
16534 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
16535 else $as_nop
16536 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
16538 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16539 conftest$ac_exeext conftest.$ac_ext
16540 LIBS=$ac_check_lib_save_LIBS
16542 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
16543 printf "%s\n" "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
16544 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes
16545 then :
16547 printf "%s\n" "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
16549 else $as_nop
16550 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
16553 else $as_nop
16554 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
16557 CPPFLAGS=$ac_save_CPPFLAGS
16560 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"
16561 then :
16562 case "x$with_gphoto" in
16563 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
16564 xno) ;;
16565 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
16566 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
16567 esac
16568 enable_gphoto2_ds=${enable_gphoto2_ds:-no}
16570 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"
16571 then :
16572 case "x$with_gphoto" in
16573 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
16574 xno) ;;
16575 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
16576 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
16577 esac
16582 if test "$ac_cv_header_resolv_h" = "yes"
16583 then
16584 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
16585 printf %s "checking for resolver library... " >&6; }
16586 if test ${ac_cv_have_resolv+y}
16587 then :
16588 printf %s "(cached) " >&6
16589 else $as_nop
16590 ac_save_LIBS="$LIBS"
16591 for lib in '' -lresolv
16593 LIBS="$lib $ac_save_LIBS"
16594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16595 /* end confdefs.h. */
16596 #ifdef HAVE_NETINET_IN_H
16597 #include <netinet/in.h>
16598 #endif
16599 #include <resolv.h>
16601 main (void)
16603 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0); ns_initparse(0,0,0)
16605 return 0;
16607 _ACEOF
16608 if ac_fn_c_try_link "$LINENO"
16609 then :
16610 ac_cv_have_resolv=${lib:-"none required"}
16611 else $as_nop
16612 ac_cv_have_resolv="not found"
16614 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16615 conftest$ac_exeext conftest.$ac_ext
16616 test "x$ac_cv_have_resolv" = "xnot found" || break
16617 done
16618 LIBS="$ac_save_LIBS"
16620 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
16621 printf "%s\n" "$ac_cv_have_resolv" >&6; }
16623 case "$ac_cv_have_resolv" in
16624 "not found") ;;
16625 "none required")
16627 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
16630 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
16632 RESOLV_LIBS=$ac_cv_have_resolv
16634 esac
16636 if test "x$ac_cv_have_resolv" != "xnot found"
16637 then
16638 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for res_getservers" >&5
16639 printf %s "checking for res_getservers... " >&6; }
16640 if test ${ac_cv_have_res_getservers+y}
16641 then :
16642 printf %s "(cached) " >&6
16643 else $as_nop
16644 ac_save_LIBS="$LIBS"
16645 LIBS="$RESOLV_LIBS $LIBS"
16646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16647 /* end confdefs.h. */
16648 #include <resolv.h>
16650 main (void)
16652 res_getservers(NULL, NULL, 0);
16654 return 0;
16656 _ACEOF
16657 if ac_fn_c_try_link "$LINENO"
16658 then :
16659 ac_cv_have_res_getservers=yes
16660 else $as_nop
16661 ac_cv_have_res_getservers=no
16663 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16664 conftest$ac_exeext conftest.$ac_ext
16665 LIBS="$ac_save_LIBS"
16667 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_res_getservers" >&5
16668 printf "%s\n" "$ac_cv_have_res_getservers" >&6; }
16669 if test "$ac_cv_have_res_getservers" = "yes"
16670 then
16672 printf "%s\n" "#define HAVE_RES_GETSERVERS 1" >>confdefs.h
16678 if test "x$with_freetype" != "xno"
16679 then
16680 rm -f conftest.err
16681 if ${FREETYPE_CFLAGS:+false} :
16682 then :
16683 if test ${PKG_CONFIG+y}
16684 then :
16685 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>conftest.err`
16688 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
16689 if ${FREETYPE_LIBS:+false} :
16690 then :
16691 if test ${PKG_CONFIG+y}
16692 then :
16693 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
16696 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
16697 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
16698 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
16699 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
16700 if test -s conftest.err; then
16701 printf %s "$as_me:${as_lineno-$LINENO}: freetype2 errors: " >&5
16702 cat conftest.err >&5
16704 rm -f conftest.err
16705 ac_save_CPPFLAGS=$CPPFLAGS
16706 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
16707 ac_fn_c_check_header_compile "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
16708 if test "x$ac_cv_header_ft2build_h" = xyes
16709 then :
16710 printf "%s\n" "#define HAVE_FT2BUILD_H 1" >>confdefs.h
16714 if test "$ac_cv_header_ft2build_h" = "yes"
16715 then
16716 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
16717 printf %s "checking for -lfreetype... " >&6; }
16718 if test ${ac_cv_lib_soname_freetype+y}
16719 then :
16720 printf %s "(cached) " >&6
16721 else $as_nop
16722 ac_check_soname_save_LIBS=$LIBS
16723 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
16724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16725 /* end confdefs.h. */
16727 /* Override any GCC internal prototype to avoid an error.
16728 Use char because int might match the return type of a GCC
16729 builtin and then its argument prototype would still apply. */
16730 char FT_Init_FreeType ();
16732 main (void)
16734 return FT_Init_FreeType ();
16736 return 0;
16738 _ACEOF
16739 if ac_fn_c_try_link "$LINENO"
16740 then :
16741 case "$LIBEXT" in
16742 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16743 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'` ;;
16744 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16745 if ${ac_cv_lib_soname_freetype:+false} :
16746 then :
16747 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16748 fi ;;
16749 esac
16750 else $as_nop
16751 ac_cv_lib_soname_freetype=
16753 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16754 conftest$ac_exeext conftest.$ac_ext
16755 LIBS=$ac_check_soname_save_LIBS
16757 if ${ac_cv_lib_soname_freetype:+false} :
16758 then :
16759 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16760 printf "%s\n" "not found" >&6; }
16761 FREETYPE_LIBS=""
16762 else $as_nop
16763 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
16764 printf "%s\n" "$ac_cv_lib_soname_freetype" >&6; }
16766 printf "%s\n" "#define SONAME_LIBFREETYPE \"$ac_cv_lib_soname_freetype\"" >>confdefs.h
16769 printf "%s\n" "#define HAVE_FREETYPE 1" >>confdefs.h
16771 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
16772 #include FT_MODULE_H
16774 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
16775 then :
16777 printf "%s\n" "#define HAVE_FT_TRUETYPEENGINETYPE 1" >>confdefs.h
16783 else
16784 FREETYPE_CFLAGS=""
16785 FREETYPE_LIBS=""
16787 CPPFLAGS=$ac_save_CPPFLAGS
16790 if test "x$ac_cv_lib_soname_freetype" = x
16791 then :
16792 case "x$with_freetype" in
16793 xno) ;;
16794 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
16795 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
16796 esac
16797 enable_fonts=${enable_fonts:-no}
16800 ac_wine_check_funcs_save_LIBS="$LIBS"
16801 LIBS="$LIBS $PTHREAD_LIBS"
16802 ac_fn_c_check_func "$LINENO" "pthread_getthreadid_np" "ac_cv_func_pthread_getthreadid_np"
16803 if test "x$ac_cv_func_pthread_getthreadid_np" = xyes
16804 then :
16805 printf "%s\n" "#define HAVE_PTHREAD_GETTHREADID_NP 1" >>confdefs.h
16809 LIBS="$ac_wine_check_funcs_save_LIBS"
16811 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
16812 then
16813 if test "$ac_cv_header_gettext_po_h" = "yes"
16814 then
16815 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
16816 printf %s "checking for po_message_msgctxt in -lgettextpo... " >&6; }
16817 if test ${ac_cv_lib_gettextpo_po_message_msgctxt+y}
16818 then :
16819 printf %s "(cached) " >&6
16820 else $as_nop
16821 ac_check_lib_save_LIBS=$LIBS
16822 LIBS="-lgettextpo $LIBS"
16823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16824 /* end confdefs.h. */
16826 /* Override any GCC internal prototype to avoid an error.
16827 Use char because int might match the return type of a GCC
16828 builtin and then its argument prototype would still apply. */
16829 char po_message_msgctxt ();
16831 main (void)
16833 return po_message_msgctxt ();
16835 return 0;
16837 _ACEOF
16838 if ac_fn_c_try_link "$LINENO"
16839 then :
16840 ac_cv_lib_gettextpo_po_message_msgctxt=yes
16841 else $as_nop
16842 ac_cv_lib_gettextpo_po_message_msgctxt=no
16844 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16845 conftest$ac_exeext conftest.$ac_ext
16846 LIBS=$ac_check_lib_save_LIBS
16848 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
16849 printf "%s\n" "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
16850 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
16851 then :
16853 printf "%s\n" "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
16855 GETTEXTPO_LIBS="-lgettextpo"
16860 if test "x$GETTEXTPO_LIBS" = "x"
16861 then :
16862 case "x$with_gettextpo" in
16863 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
16864 xno) ;;
16865 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
16866 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
16867 esac
16870 if test "$srcdir" != .
16871 then :
16872 case "x$with_gettextpo" in
16873 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
16874 xno) ;;
16875 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
16876 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
16877 esac
16882 if test "x$with_pulse" != "xno";
16883 then
16884 rm -f conftest.err
16885 if ${PULSE_CFLAGS:+false} :
16886 then :
16887 if test ${PKG_CONFIG+y}
16888 then :
16889 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>conftest.err`
16893 if ${PULSE_LIBS:+false} :
16894 then :
16895 if test ${PKG_CONFIG+y}
16896 then :
16897 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
16902 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
16903 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
16904 if test -s conftest.err; then
16905 printf %s "$as_me:${as_lineno-$LINENO}: libpulse errors: " >&5
16906 cat conftest.err >&5
16908 rm -f conftest.err
16909 ac_save_CPPFLAGS=$CPPFLAGS
16910 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
16911 for ac_header in pulse/pulseaudio.h
16912 do :
16913 ac_fn_c_check_header_compile "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
16914 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes
16915 then :
16916 printf "%s\n" "#define HAVE_PULSE_PULSEAUDIO_H 1" >>confdefs.h
16917 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
16918 printf %s "checking for pa_stream_is_corked in -lpulse... " >&6; }
16919 if test ${ac_cv_lib_pulse_pa_stream_is_corked+y}
16920 then :
16921 printf %s "(cached) " >&6
16922 else $as_nop
16923 ac_check_lib_save_LIBS=$LIBS
16924 LIBS="-lpulse $PULSE_LIBS $LIBS"
16925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16926 /* end confdefs.h. */
16928 /* Override any GCC internal prototype to avoid an error.
16929 Use char because int might match the return type of a GCC
16930 builtin and then its argument prototype would still apply. */
16931 char pa_stream_is_corked ();
16933 main (void)
16935 return pa_stream_is_corked ();
16937 return 0;
16939 _ACEOF
16940 if ac_fn_c_try_link "$LINENO"
16941 then :
16942 ac_cv_lib_pulse_pa_stream_is_corked=yes
16943 else $as_nop
16944 ac_cv_lib_pulse_pa_stream_is_corked=no
16946 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16947 conftest$ac_exeext conftest.$ac_ext
16948 LIBS=$ac_check_lib_save_LIBS
16950 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
16951 printf "%s\n" "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
16952 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes
16953 then :
16955 else $as_nop
16956 PULSE_LIBS=""
16959 else $as_nop
16960 PULSE_LIBS=""
16963 done
16964 CPPFLAGS=$ac_save_CPPFLAGS
16967 if test -z "$PULSE_LIBS"
16968 then :
16969 case "x$with_pulse" in
16970 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
16971 xno) ;;
16972 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
16973 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
16974 esac
16975 enable_winepulse_drv=${enable_winepulse_drv:-no}
16978 if test "x$with_gstreamer" != "xno"
16979 then
16980 rm -f conftest.err
16981 if ${GSTREAMER_CFLAGS:+false} :
16982 then :
16983 if test ${PKG_CONFIG+y}
16984 then :
16985 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 2>conftest.err`
16989 if ${GSTREAMER_LIBS:+false} :
16990 then :
16991 if test ${PKG_CONFIG+y}
16992 then :
16993 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 2>/dev/null`
16998 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
16999 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
17000 if test -s conftest.err; then
17001 printf %s "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 errors: " >&5
17002 cat conftest.err >&5
17004 rm -f conftest.err
17005 ac_save_CPPFLAGS=$CPPFLAGS
17006 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
17007 ac_fn_c_check_header_compile "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
17008 if test "x$ac_cv_header_gst_gst_h" = xyes
17009 then :
17010 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
17011 printf %s "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
17012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17013 /* end confdefs.h. */
17014 #include <gst/gst.h>
17016 main (void)
17018 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
17020 return 0;
17022 _ACEOF
17023 if ac_fn_c_try_compile "$LINENO"
17024 then :
17025 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17026 printf "%s\n" "yes" >&6; }
17027 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
17028 printf %s "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
17029 if test ${ac_cv_lib_gstreamer_1_0_gst_pad_new+y}
17030 then :
17031 printf %s "(cached) " >&6
17032 else $as_nop
17033 ac_check_lib_save_LIBS=$LIBS
17034 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
17035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17036 /* end confdefs.h. */
17038 /* Override any GCC internal prototype to avoid an error.
17039 Use char because int might match the return type of a GCC
17040 builtin and then its argument prototype would still apply. */
17041 char gst_pad_new ();
17043 main (void)
17045 return gst_pad_new ();
17047 return 0;
17049 _ACEOF
17050 if ac_fn_c_try_link "$LINENO"
17051 then :
17052 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
17053 else $as_nop
17054 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
17056 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17057 conftest$ac_exeext conftest.$ac_ext
17058 LIBS=$ac_check_lib_save_LIBS
17060 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
17061 printf "%s\n" "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
17062 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes
17063 then :
17067 else $as_nop
17068 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
17069 printf "%s\n" "no" >&6; }
17070 ac_glib2_broken=yes
17071 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
17073 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
17076 CPPFLAGS=$ac_save_CPPFLAGS
17079 if test "x$ac_glib2_broken" != xyes -a "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" != xyes
17080 then :
17081 case "x$with_gstreamer" in
17082 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
17083 xno) ;;
17084 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
17085 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
17086 esac
17087 enable_winegstreamer=${enable_winegstreamer:-no}
17090 ALSA_LIBS=""
17092 if test "x$with_alsa" != "xno"
17093 then
17094 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
17095 printf %s "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
17096 if test ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+y}
17097 then :
17098 printf %s "(cached) " >&6
17099 else $as_nop
17100 ac_check_lib_save_LIBS=$LIBS
17101 LIBS="-lasound $LIBS"
17102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17103 /* end confdefs.h. */
17105 /* Override any GCC internal prototype to avoid an error.
17106 Use char because int might match the return type of a GCC
17107 builtin and then its argument prototype would still apply. */
17108 char snd_pcm_hw_params_get_access_mask ();
17110 main (void)
17112 return snd_pcm_hw_params_get_access_mask ();
17114 return 0;
17116 _ACEOF
17117 if ac_fn_c_try_link "$LINENO"
17118 then :
17119 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
17120 else $as_nop
17121 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
17123 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17124 conftest$ac_exeext conftest.$ac_ext
17125 LIBS=$ac_check_lib_save_LIBS
17127 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
17128 printf "%s\n" "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
17129 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
17130 then :
17131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17132 /* end confdefs.h. */
17133 #include <alsa/asoundlib.h>
17135 main (void)
17137 snd_pcm_hw_params_get_access_mask(NULL, NULL)
17139 return 0;
17141 _ACEOF
17142 if ac_fn_c_try_compile "$LINENO"
17143 then :
17144 ALSA_LIBS="-lasound"
17146 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
17150 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
17152 if test "x$with_oss" != xno
17153 then
17154 ac_save_CPPFLAGS="$CPPFLAGS"
17155 if test -f /etc/oss.conf
17156 then
17157 . /etc/oss.conf
17159 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
17160 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
17161 ac_fn_c_check_header_compile "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
17162 if test "x$ac_cv_header_sys_soundcard_h" = xyes
17163 then :
17164 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
17166 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
17167 then :
17169 printf "%s\n" "#define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1" >>confdefs.h
17171 OSS4_CFLAGS="$ac_oss_incl"
17173 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
17174 printf %s "checking for _oss_ioctl in -lossaudio... " >&6; }
17175 if test ${ac_cv_lib_ossaudio__oss_ioctl+y}
17176 then :
17177 printf %s "(cached) " >&6
17178 else $as_nop
17179 ac_check_lib_save_LIBS=$LIBS
17180 LIBS="-lossaudio $LIBS"
17181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17182 /* end confdefs.h. */
17184 /* Override any GCC internal prototype to avoid an error.
17185 Use char because int might match the return type of a GCC
17186 builtin and then its argument prototype would still apply. */
17187 char _oss_ioctl ();
17189 main (void)
17191 return _oss_ioctl ();
17193 return 0;
17195 _ACEOF
17196 if ac_fn_c_try_link "$LINENO"
17197 then :
17198 ac_cv_lib_ossaudio__oss_ioctl=yes
17199 else $as_nop
17200 ac_cv_lib_ossaudio__oss_ioctl=no
17202 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17203 conftest$ac_exeext conftest.$ac_ext
17204 LIBS=$ac_check_lib_save_LIBS
17206 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
17207 printf "%s\n" "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
17208 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
17209 then :
17210 OSS4_LIBS="-lossaudio"
17218 CPPFLAGS="$ac_save_CPPFLAGS"
17220 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
17221 then :
17222 case "x$with_oss" in
17223 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
17224 xno) ;;
17225 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
17226 This is an error since --with-oss was requested." "$LINENO" 5 ;;
17227 esac
17228 enable_wineoss_drv=${enable_wineoss_drv:-no}
17231 if test "x$with_udev" != "xno"
17232 then
17233 rm -f conftest.err
17234 if ${UDEV_CFLAGS:+false} :
17235 then :
17236 if test ${PKG_CONFIG+y}
17237 then :
17238 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>conftest.err`
17242 if ${UDEV_LIBS:+false} :
17243 then :
17244 if test ${PKG_CONFIG+y}
17245 then :
17246 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
17250 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
17251 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
17252 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
17253 if test -s conftest.err; then
17254 printf %s "$as_me:${as_lineno-$LINENO}: libudev errors: " >&5
17255 cat conftest.err >&5
17257 rm -f conftest.err
17258 ac_save_CPPFLAGS=$CPPFLAGS
17259 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
17260 for ac_header in libudev.h
17261 do :
17262 ac_fn_c_check_header_compile "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
17263 if test "x$ac_cv_header_libudev_h" = xyes
17264 then :
17265 printf "%s\n" "#define HAVE_LIBUDEV_H 1" >>confdefs.h
17266 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
17267 printf %s "checking for udev_new in -ludev... " >&6; }
17268 if test ${ac_cv_lib_udev_udev_new+y}
17269 then :
17270 printf %s "(cached) " >&6
17271 else $as_nop
17272 ac_check_lib_save_LIBS=$LIBS
17273 LIBS="-ludev $UDEV_LIBS $LIBS"
17274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17275 /* end confdefs.h. */
17277 /* Override any GCC internal prototype to avoid an error.
17278 Use char because int might match the return type of a GCC
17279 builtin and then its argument prototype would still apply. */
17280 char udev_new ();
17282 main (void)
17284 return udev_new ();
17286 return 0;
17288 _ACEOF
17289 if ac_fn_c_try_link "$LINENO"
17290 then :
17291 ac_cv_lib_udev_udev_new=yes
17292 else $as_nop
17293 ac_cv_lib_udev_udev_new=no
17295 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17296 conftest$ac_exeext conftest.$ac_ext
17297 LIBS=$ac_check_lib_save_LIBS
17299 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
17300 printf "%s\n" "$ac_cv_lib_udev_udev_new" >&6; }
17301 if test "x$ac_cv_lib_udev_udev_new" = xyes
17302 then :
17304 printf "%s\n" "#define HAVE_UDEV 1" >>confdefs.h
17306 else $as_nop
17307 UDEV_LIBS=""
17310 else $as_nop
17311 UDEV_LIBS=""
17314 done
17315 CPPFLAGS=$ac_save_CPPFLAGS
17318 if test "x$UDEV_LIBS" = "x"
17319 then :
17320 case "x$with_udev" in
17321 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
17322 xno) ;;
17323 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
17324 This is an error since --with-udev was requested." "$LINENO" 5 ;;
17325 esac
17329 if test "x$with_unwind" != xno
17330 then
17331 rm -f conftest.err
17332 if ${UNWIND_CFLAGS:+false} :
17333 then :
17334 if test ${PKG_CONFIG+y}
17335 then :
17336 UNWIND_CFLAGS=`$PKG_CONFIG --cflags libunwind 2>conftest.err`
17340 if ${UNWIND_LIBS:+false} :
17341 then :
17342 if test ${PKG_CONFIG+y}
17343 then :
17344 UNWIND_LIBS=`$PKG_CONFIG --libs libunwind 2>/dev/null`
17348 UNWIND_LIBS=${UNWIND_LIBS:-"-lunwind"}
17349 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind cflags: $UNWIND_CFLAGS" >&5
17350 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind libs: $UNWIND_LIBS" >&5
17351 if test -s conftest.err; then
17352 printf %s "$as_me:${as_lineno-$LINENO}: libunwind errors: " >&5
17353 cat conftest.err >&5
17355 rm -f conftest.err
17356 ac_save_CPPFLAGS=$CPPFLAGS
17357 CPPFLAGS="$CPPFLAGS $UNWIND_CFLAGS"
17358 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step" >&5
17359 printf %s "checking for unw_step... " >&6; }
17360 if test ${wine_cv_have_unw_step+y}
17361 then :
17362 printf %s "(cached) " >&6
17363 else $as_nop
17364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17365 /* end confdefs.h. */
17366 #define UNW_LOCAL_ONLY
17367 #include <libunwind.h>
17369 main (void)
17371 unw_cursor_t cursor; unw_step( &cursor );
17373 return 0;
17375 _ACEOF
17376 if ac_fn_c_try_link "$LINENO"
17377 then :
17378 wine_cv_have_unw_step="yes"
17379 else $as_nop
17380 wine_cv_have_unw_step="no"
17382 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17383 conftest$ac_exeext conftest.$ac_ext
17385 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_unw_step" >&5
17386 printf "%s\n" "$wine_cv_have_unw_step" >&6; }
17387 if test "$wine_cv_have_unw_step" = no -a -n "$UNWIND_LIBS"
17388 then
17389 save_libs=$LIBS
17390 UNWIND_LIBS="-static-libgcc $UNWIND_LIBS"
17391 LIBS="$UNWIND_LIBS $LIBS"
17392 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step in libunwind" >&5
17393 printf %s "checking for unw_step in libunwind... " >&6; }
17394 if test ${wine_cv_have_libunwind_unw_step+y}
17395 then :
17396 printf %s "(cached) " >&6
17397 else $as_nop
17398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17399 /* end confdefs.h. */
17400 #define UNW_LOCAL_ONLY
17401 #include <libunwind.h>
17403 main (void)
17405 unw_cursor_t cursor; unw_step( &cursor );
17407 return 0;
17409 _ACEOF
17410 if ac_fn_c_try_link "$LINENO"
17411 then :
17412 wine_cv_have_libunwind_unw_step="yes"
17413 else $as_nop
17414 wine_cv_have_libunwind_unw_step="no"
17416 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17417 conftest$ac_exeext conftest.$ac_ext
17419 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_libunwind_unw_step" >&5
17420 printf "%s\n" "$wine_cv_have_libunwind_unw_step" >&6; }
17421 LIBS=$save_libs
17423 test "$wine_cv_have_libunwind_unw_step" = yes || UNWIND_LIBS=""
17424 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" != xnono
17425 then
17427 printf "%s\n" "#define HAVE_LIBUNWIND 1" >>confdefs.h
17430 CPPFLAGS=$ac_save_CPPFLAGS
17433 case $host in
17434 aarch64*|*-darwin*)
17435 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" = xnono
17436 then :
17437 case "x$with_unwind" in
17438 x) as_fn_append wine_notices "|libunwind ${notice_platform}development files not found, stack unwinding won't work." ;;
17439 xno) ;;
17440 *) as_fn_error $? "libunwind ${notice_platform}development files not found, stack unwinding won't work.
17441 This is an error since --with-unwind was requested." "$LINENO" 5 ;;
17442 esac
17444 fi ;;
17445 esac
17447 if test "x$with_sdl" != "xno"
17448 then
17449 rm -f conftest.err
17450 if ${SDL2_CFLAGS:+false} :
17451 then :
17452 if test ${PKG_CONFIG+y}
17453 then :
17454 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>conftest.err`
17458 if ${SDL2_LIBS:+false} :
17459 then :
17460 if test ${PKG_CONFIG+y}
17461 then :
17462 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
17466 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
17467 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
17468 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
17469 if test -s conftest.err; then
17470 printf %s "$as_me:${as_lineno-$LINENO}: sdl2 errors: " >&5
17471 cat conftest.err >&5
17473 rm -f conftest.err
17474 ac_save_CPPFLAGS=$CPPFLAGS
17475 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
17476 for ac_header in SDL.h
17477 do :
17478 ac_fn_c_check_header_compile "$LINENO" "SDL.h" "ac_cv_header_SDL_h" "$ac_includes_default"
17479 if test "x$ac_cv_header_SDL_h" = xyes
17480 then :
17481 printf "%s\n" "#define HAVE_SDL_H 1" >>confdefs.h
17482 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
17483 printf %s "checking for -lSDL2... " >&6; }
17484 if test ${ac_cv_lib_soname_SDL2+y}
17485 then :
17486 printf %s "(cached) " >&6
17487 else $as_nop
17488 ac_check_soname_save_LIBS=$LIBS
17489 LIBS="-lSDL2 $SDL2_LIBS $LIBS"
17490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17491 /* end confdefs.h. */
17493 /* Override any GCC internal prototype to avoid an error.
17494 Use char because int might match the return type of a GCC
17495 builtin and then its argument prototype would still apply. */
17496 char SDL_Init ();
17498 main (void)
17500 return SDL_Init ();
17502 return 0;
17504 _ACEOF
17505 if ac_fn_c_try_link "$LINENO"
17506 then :
17507 case "$LIBEXT" in
17508 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17509 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'` ;;
17510 *) 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'`
17511 if ${ac_cv_lib_soname_SDL2:+false} :
17512 then :
17513 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17514 fi ;;
17515 esac
17516 else $as_nop
17517 ac_cv_lib_soname_SDL2=
17519 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17520 conftest$ac_exeext conftest.$ac_ext
17521 LIBS=$ac_check_soname_save_LIBS
17523 if ${ac_cv_lib_soname_SDL2:+false} :
17524 then :
17525 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17526 printf "%s\n" "not found" >&6; }
17528 else $as_nop
17529 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
17530 printf "%s\n" "$ac_cv_lib_soname_SDL2" >&6; }
17532 printf "%s\n" "#define SONAME_LIBSDL2 \"$ac_cv_lib_soname_SDL2\"" >>confdefs.h
17538 done
17539 CPPFLAGS=$ac_save_CPPFLAGS
17542 if test "x$ac_cv_lib_soname_SDL2" = "x"
17543 then :
17544 case "x$with_sdl" in
17545 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
17546 xno) ;;
17547 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
17548 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
17549 esac
17553 if test "x$with_capi" != "xno"
17554 then
17555 rm -f conftest.err
17556 if ${CAPI20_CFLAGS:+false} :
17557 then :
17558 if test ${PKG_CONFIG+y}
17559 then :
17560 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>conftest.err`
17564 if ${CAPI20_LIBS:+false} :
17565 then :
17566 if test ${PKG_CONFIG+y}
17567 then :
17568 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
17573 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
17574 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
17575 if test -s conftest.err; then
17576 printf %s "$as_me:${as_lineno-$LINENO}: capi20 errors: " >&5
17577 cat conftest.err >&5
17579 rm -f conftest.err
17580 ac_save_CPPFLAGS=$CPPFLAGS
17581 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
17582 ac_fn_c_check_header_compile "$LINENO" "capi20.h" "ac_cv_header_capi20_h" "#define __user
17584 if test "x$ac_cv_header_capi20_h" = xyes
17585 then :
17586 printf "%s\n" "#define HAVE_CAPI20_H 1" >>confdefs.h
17589 ac_fn_c_check_header_compile "$LINENO" "linux/capi.h" "ac_cv_header_linux_capi_h" "#define __user
17591 if test "x$ac_cv_header_linux_capi_h" = xyes
17592 then :
17593 printf "%s\n" "#define HAVE_LINUX_CAPI_H 1" >>confdefs.h
17597 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
17598 then
17599 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for capi20_register in -lcapi20" >&5
17600 printf %s "checking for capi20_register in -lcapi20... " >&6; }
17601 if test ${ac_cv_lib_capi20_capi20_register+y}
17602 then :
17603 printf %s "(cached) " >&6
17604 else $as_nop
17605 ac_check_lib_save_LIBS=$LIBS
17606 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
17607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17608 /* end confdefs.h. */
17610 /* Override any GCC internal prototype to avoid an error.
17611 Use char because int might match the return type of a GCC
17612 builtin and then its argument prototype would still apply. */
17613 char capi20_register ();
17615 main (void)
17617 return capi20_register ();
17619 return 0;
17621 _ACEOF
17622 if ac_fn_c_try_link "$LINENO"
17623 then :
17624 ac_cv_lib_capi20_capi20_register=yes
17625 else $as_nop
17626 ac_cv_lib_capi20_capi20_register=no
17628 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17629 conftest$ac_exeext conftest.$ac_ext
17630 LIBS=$ac_check_lib_save_LIBS
17632 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_capi20_capi20_register" >&5
17633 printf "%s\n" "$ac_cv_lib_capi20_capi20_register" >&6; }
17634 if test "x$ac_cv_lib_capi20_capi20_register" = xyes
17635 then :
17637 else $as_nop
17638 CAPI20_LIBS=""
17642 CPPFLAGS=$ac_save_CPPFLAGS
17645 if test "x$ac_cv_lib_capi20_capi20_register" != xyes
17646 then :
17647 case "x$with_capi" in
17648 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
17649 xno) ;;
17650 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
17651 This is an error since --with-capi was requested." "$LINENO" 5 ;;
17652 esac
17653 enable_capi2032=${enable_capi2032:-no}
17656 if test "x$with_cups" != "xno"
17657 then
17658 rm -f conftest.err
17659 if ${CUPS_CFLAGS:+false} :
17660 then :
17661 if test ${PKG_CONFIG+y}
17662 then :
17663 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>conftest.err`
17666 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
17667 if ${CUPS_LIBS:+false} :
17668 then :
17669 if test ${PKG_CONFIG+y}
17670 then :
17671 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
17674 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
17675 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
17676 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
17677 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
17678 if test -s conftest.err; then
17679 printf %s "$as_me:${as_lineno-$LINENO}: cups errors: " >&5
17680 cat conftest.err >&5
17682 rm -f conftest.err
17683 ac_save_CPPFLAGS=$CPPFLAGS
17684 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
17685 ac_fn_c_check_header_compile "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
17686 if test "x$ac_cv_header_cups_cups_h" = xyes
17687 then :
17688 printf "%s\n" "#define HAVE_CUPS_CUPS_H 1" >>confdefs.h
17691 ac_fn_c_check_header_compile "$LINENO" "cups/ppd.h" "ac_cv_header_cups_ppd_h" "$ac_includes_default"
17692 if test "x$ac_cv_header_cups_ppd_h" = xyes
17693 then :
17694 printf "%s\n" "#define HAVE_CUPS_PPD_H 1" >>confdefs.h
17698 if test "$ac_cv_header_cups_cups_h" = "yes"
17699 then
17700 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
17701 printf %s "checking for -lcups... " >&6; }
17702 if test ${ac_cv_lib_soname_cups+y}
17703 then :
17704 printf %s "(cached) " >&6
17705 else $as_nop
17706 ac_check_soname_save_LIBS=$LIBS
17707 LIBS="-lcups $CUPS_LIBS $LIBS"
17708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17709 /* end confdefs.h. */
17711 /* Override any GCC internal prototype to avoid an error.
17712 Use char because int might match the return type of a GCC
17713 builtin and then its argument prototype would still apply. */
17714 char cupsGetDefault ();
17716 main (void)
17718 return cupsGetDefault ();
17720 return 0;
17722 _ACEOF
17723 if ac_fn_c_try_link "$LINENO"
17724 then :
17725 case "$LIBEXT" in
17726 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17727 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'` ;;
17728 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17729 if ${ac_cv_lib_soname_cups:+false} :
17730 then :
17731 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17732 fi ;;
17733 esac
17734 else $as_nop
17735 ac_cv_lib_soname_cups=
17737 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17738 conftest$ac_exeext conftest.$ac_ext
17739 LIBS=$ac_check_soname_save_LIBS
17741 if ${ac_cv_lib_soname_cups:+false} :
17742 then :
17743 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17744 printf "%s\n" "not found" >&6; }
17745 CUPS_LIBS=""
17746 else $as_nop
17747 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
17748 printf "%s\n" "$ac_cv_lib_soname_cups" >&6; }
17750 printf "%s\n" "#define SONAME_LIBCUPS \"$ac_cv_lib_soname_cups\"" >>confdefs.h
17754 else
17755 CUPS_CFLAGS=""
17756 CUPS_LIBS=""
17758 CPPFLAGS=$ac_save_CPPFLAGS
17761 if test "x$ac_cv_lib_soname_cups" = "x"
17762 then :
17763 case "x$with_cups" in
17764 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
17765 xno) ;;
17766 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
17767 This is an error since --with-cups was requested." "$LINENO" 5 ;;
17768 esac
17772 if test "x$with_fontconfig" != "xno"
17773 then
17774 rm -f conftest.err
17775 if ${FONTCONFIG_CFLAGS:+false} :
17776 then :
17777 if test ${PKG_CONFIG+y}
17778 then :
17779 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>conftest.err`
17782 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
17783 if ${FONTCONFIG_LIBS:+false} :
17784 then :
17785 if test ${PKG_CONFIG+y}
17786 then :
17787 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
17790 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
17792 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
17793 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
17794 if test -s conftest.err; then
17795 printf %s "$as_me:${as_lineno-$LINENO}: fontconfig errors: " >&5
17796 cat conftest.err >&5
17798 rm -f conftest.err
17799 ac_save_CPPFLAGS=$CPPFLAGS
17800 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
17801 ac_fn_c_check_header_compile "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
17802 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
17803 then :
17804 printf "%s\n" "#define HAVE_FONTCONFIG_FONTCONFIG_H 1" >>confdefs.h
17808 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
17809 then
17810 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
17811 printf %s "checking for -lfontconfig... " >&6; }
17812 if test ${ac_cv_lib_soname_fontconfig+y}
17813 then :
17814 printf %s "(cached) " >&6
17815 else $as_nop
17816 ac_check_soname_save_LIBS=$LIBS
17817 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
17818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17819 /* end confdefs.h. */
17821 /* Override any GCC internal prototype to avoid an error.
17822 Use char because int might match the return type of a GCC
17823 builtin and then its argument prototype would still apply. */
17824 char FcInit ();
17826 main (void)
17828 return FcInit ();
17830 return 0;
17832 _ACEOF
17833 if ac_fn_c_try_link "$LINENO"
17834 then :
17835 case "$LIBEXT" in
17836 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17837 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'` ;;
17838 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17839 if ${ac_cv_lib_soname_fontconfig:+false} :
17840 then :
17841 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17842 fi ;;
17843 esac
17844 else $as_nop
17845 ac_cv_lib_soname_fontconfig=
17847 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17848 conftest$ac_exeext conftest.$ac_ext
17849 LIBS=$ac_check_soname_save_LIBS
17851 if ${ac_cv_lib_soname_fontconfig:+false} :
17852 then :
17853 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17854 printf "%s\n" "not found" >&6; }
17855 FONTCONFIG_CFLAGS=""
17856 else $as_nop
17857 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
17858 printf "%s\n" "$ac_cv_lib_soname_fontconfig" >&6; }
17860 printf "%s\n" "#define SONAME_LIBFONTCONFIG \"$ac_cv_lib_soname_fontconfig\"" >>confdefs.h
17864 else
17865 FONTCONFIG_CFLAGS=""
17867 CPPFLAGS=$ac_save_CPPFLAGS
17870 if test "x$ac_cv_lib_soname_fontconfig" = "x"
17871 then :
17872 case "x$with_fontconfig" in
17873 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
17874 xno) ;;
17875 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
17876 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
17877 esac
17881 if test "x$with_krb5" != "xno"
17882 then
17883 rm -f conftest.err
17884 if ${KRB5_CFLAGS:+false} :
17885 then :
17886 if test ${PKG_CONFIG+y}
17887 then :
17888 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>conftest.err`
17891 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
17892 if ${KRB5_LIBS:+false} :
17893 then :
17894 if test ${PKG_CONFIG+y}
17895 then :
17896 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
17899 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
17901 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
17902 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
17903 if test -s conftest.err; then
17904 printf %s "$as_me:${as_lineno-$LINENO}: krb5 errors: " >&5
17905 cat conftest.err >&5
17907 rm -f conftest.err
17908 ac_save_CPPFLAGS=$CPPFLAGS
17909 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
17910 ac_fn_c_check_header_compile "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
17911 if test "x$ac_cv_header_krb5_krb5_h" = xyes
17912 then :
17913 printf "%s\n" "#define HAVE_KRB5_KRB5_H 1" >>confdefs.h
17917 if test "$ac_cv_header_krb5_krb5_h" = "yes"
17918 then
17919 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
17920 printf %s "checking for -lkrb5... " >&6; }
17921 if test ${ac_cv_lib_soname_krb5+y}
17922 then :
17923 printf %s "(cached) " >&6
17924 else $as_nop
17925 ac_check_soname_save_LIBS=$LIBS
17926 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
17927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17928 /* end confdefs.h. */
17930 /* Override any GCC internal prototype to avoid an error.
17931 Use char because int might match the return type of a GCC
17932 builtin and then its argument prototype would still apply. */
17933 char krb5_is_config_principal ();
17935 main (void)
17937 return krb5_is_config_principal ();
17939 return 0;
17941 _ACEOF
17942 if ac_fn_c_try_link "$LINENO"
17943 then :
17944 case "$LIBEXT" in
17945 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17946 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'` ;;
17947 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17948 if ${ac_cv_lib_soname_krb5:+false} :
17949 then :
17950 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17951 fi ;;
17952 esac
17953 else $as_nop
17954 ac_cv_lib_soname_krb5=
17956 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17957 conftest$ac_exeext conftest.$ac_ext
17958 LIBS=$ac_check_soname_save_LIBS
17960 if ${ac_cv_lib_soname_krb5:+false} :
17961 then :
17962 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17963 printf "%s\n" "not found" >&6; }
17964 KRB5_CFLAGS=""
17965 else $as_nop
17966 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
17967 printf "%s\n" "$ac_cv_lib_soname_krb5" >&6; }
17969 printf "%s\n" "#define SONAME_LIBKRB5 \"$ac_cv_lib_soname_krb5\"" >>confdefs.h
17973 else
17974 KRB5_CFLAGS=""
17976 CPPFLAGS=$ac_save_CPPFLAGS
17979 if test "x$ac_cv_lib_soname_krb5" = "x"
17980 then :
17981 case "x$with_krb5" in
17982 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
17983 xno) ;;
17984 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
17985 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
17986 esac
17989 test "x$ac_cv_lib_soname_krb5" != "x" || with_gssapi=${with_gssapi:-no}
17991 if test "x$with_gssapi" != "xno"
17992 then
17993 rm -f conftest.err
17994 if ${GSSAPI_CFLAGS:+false} :
17995 then :
17996 if test ${PKG_CONFIG+y}
17997 then :
17998 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>conftest.err`
18001 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
18002 if ${GSSAPI_LIBS:+false} :
18003 then :
18004 if test ${PKG_CONFIG+y}
18005 then :
18006 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
18009 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
18011 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
18012 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
18013 if test -s conftest.err; then
18014 printf %s "$as_me:${as_lineno-$LINENO}: krb5-gssapi errors: " >&5
18015 cat conftest.err >&5
18017 rm -f conftest.err
18018 ac_save_CPPFLAGS=$CPPFLAGS
18019 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
18020 ac_fn_c_check_header_compile "$LINENO" "gssapi/gssapi.h" "ac_cv_header_gssapi_gssapi_h" "$ac_includes_default"
18021 if test "x$ac_cv_header_gssapi_gssapi_h" = xyes
18022 then :
18023 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_H 1" >>confdefs.h
18026 ac_fn_c_check_header_compile "$LINENO" "gssapi/gssapi_ext.h" "ac_cv_header_gssapi_gssapi_ext_h" "$ac_includes_default"
18027 if test "x$ac_cv_header_gssapi_gssapi_ext_h" = xyes
18028 then :
18029 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_EXT_H 1" >>confdefs.h
18033 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
18034 then
18035 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
18036 printf %s "checking for -lgssapi_krb5... " >&6; }
18037 if test ${ac_cv_lib_soname_gssapi_krb5+y}
18038 then :
18039 printf %s "(cached) " >&6
18040 else $as_nop
18041 ac_check_soname_save_LIBS=$LIBS
18042 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
18043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18044 /* end confdefs.h. */
18046 /* Override any GCC internal prototype to avoid an error.
18047 Use char because int might match the return type of a GCC
18048 builtin and then its argument prototype would still apply. */
18049 char gss_init_sec_context ();
18051 main (void)
18053 return gss_init_sec_context ();
18055 return 0;
18057 _ACEOF
18058 if ac_fn_c_try_link "$LINENO"
18059 then :
18060 case "$LIBEXT" in
18061 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18062 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'` ;;
18063 *) 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'`
18064 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
18065 then :
18066 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18067 fi ;;
18068 esac
18069 else $as_nop
18070 ac_cv_lib_soname_gssapi_krb5=
18072 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18073 conftest$ac_exeext conftest.$ac_ext
18074 LIBS=$ac_check_soname_save_LIBS
18076 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
18077 then :
18078 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18079 printf "%s\n" "not found" >&6; }
18080 GSSAPI_CFLAGS=""
18081 else $as_nop
18082 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
18083 printf "%s\n" "$ac_cv_lib_soname_gssapi_krb5" >&6; }
18085 printf "%s\n" "#define SONAME_LIBGSSAPI_KRB5 \"$ac_cv_lib_soname_gssapi_krb5\"" >>confdefs.h
18089 else
18090 GSSAPI_CFLAGS=""
18092 CPPFLAGS=$ac_save_CPPFLAGS
18095 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"
18096 then :
18097 case "x$with_gssapi" in
18098 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
18099 xno) ;;
18100 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
18101 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
18102 esac
18106 if test "$ac_cv_header_libprocstat_h" = "yes"
18107 then
18108 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
18109 printf %s "checking for procstat_open_sysctl in -lprocstat... " >&6; }
18110 if test ${ac_cv_lib_procstat_procstat_open_sysctl+y}
18111 then :
18112 printf %s "(cached) " >&6
18113 else $as_nop
18114 ac_check_lib_save_LIBS=$LIBS
18115 LIBS="-lprocstat $LIBS"
18116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18117 /* end confdefs.h. */
18119 /* Override any GCC internal prototype to avoid an error.
18120 Use char because int might match the return type of a GCC
18121 builtin and then its argument prototype would still apply. */
18122 char procstat_open_sysctl ();
18124 main (void)
18126 return procstat_open_sysctl ();
18128 return 0;
18130 _ACEOF
18131 if ac_fn_c_try_link "$LINENO"
18132 then :
18133 ac_cv_lib_procstat_procstat_open_sysctl=yes
18134 else $as_nop
18135 ac_cv_lib_procstat_procstat_open_sysctl=no
18137 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18138 conftest$ac_exeext conftest.$ac_ext
18139 LIBS=$ac_check_lib_save_LIBS
18141 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
18142 printf "%s\n" "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
18143 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes
18144 then :
18146 printf "%s\n" "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
18148 PROCSTAT_LIBS="-lprocstat"
18154 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
18155 printf %s "checking for -lodbc... " >&6; }
18156 if test ${ac_cv_lib_soname_odbc+y}
18157 then :
18158 printf %s "(cached) " >&6
18159 else $as_nop
18160 ac_check_soname_save_LIBS=$LIBS
18161 LIBS="-lodbc $LIBS"
18162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18163 /* end confdefs.h. */
18165 /* Override any GCC internal prototype to avoid an error.
18166 Use char because int might match the return type of a GCC
18167 builtin and then its argument prototype would still apply. */
18168 char SQLConnect ();
18170 main (void)
18172 return SQLConnect ();
18174 return 0;
18176 _ACEOF
18177 if ac_fn_c_try_link "$LINENO"
18178 then :
18179 case "$LIBEXT" in
18180 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18181 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'` ;;
18182 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18183 if ${ac_cv_lib_soname_odbc:+false} :
18184 then :
18185 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18186 fi ;;
18187 esac
18188 else $as_nop
18189 ac_cv_lib_soname_odbc=
18191 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18192 conftest$ac_exeext conftest.$ac_ext
18193 LIBS=$ac_check_soname_save_LIBS
18195 if ${ac_cv_lib_soname_odbc:+false} :
18196 then :
18197 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18198 printf "%s\n" "not found" >&6; }
18199 printf "%s\n" "#define SONAME_LIBODBC \"libodbc.$LIBEXT\"" >>confdefs.h
18201 else $as_nop
18202 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
18203 printf "%s\n" "$ac_cv_lib_soname_odbc" >&6; }
18205 printf "%s\n" "#define SONAME_LIBODBC \"$ac_cv_lib_soname_odbc\"" >>confdefs.h
18210 if test "x$with_netapi" != "xno"
18211 then
18212 rm -f conftest.err
18213 if ${NETAPI_CFLAGS:+false} :
18214 then :
18215 if test ${PKG_CONFIG+y}
18216 then :
18217 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>conftest.err`
18221 if ${NETAPI_LIBS:+false} :
18222 then :
18223 if test ${PKG_CONFIG+y}
18224 then :
18225 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
18230 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
18231 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
18232 if test -s conftest.err; then
18233 printf %s "$as_me:${as_lineno-$LINENO}: netapi errors: " >&5
18234 cat conftest.err >&5
18236 rm -f conftest.err
18237 ac_save_CPPFLAGS=$CPPFLAGS
18238 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
18239 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
18240 printf %s "checking for -lnetapi... " >&6; }
18241 if test ${ac_cv_lib_soname_netapi+y}
18242 then :
18243 printf %s "(cached) " >&6
18244 else $as_nop
18245 ac_check_soname_save_LIBS=$LIBS
18246 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
18247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18248 /* end confdefs.h. */
18250 /* Override any GCC internal prototype to avoid an error.
18251 Use char because int might match the return type of a GCC
18252 builtin and then its argument prototype would still apply. */
18253 char libnetapi_init ();
18255 main (void)
18257 return libnetapi_init ();
18259 return 0;
18261 _ACEOF
18262 if ac_fn_c_try_link "$LINENO"
18263 then :
18264 case "$LIBEXT" in
18265 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18266 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'` ;;
18267 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18268 if ${ac_cv_lib_soname_netapi:+false} :
18269 then :
18270 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18271 fi ;;
18272 esac
18273 else $as_nop
18274 ac_cv_lib_soname_netapi=
18276 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18277 conftest$ac_exeext conftest.$ac_ext
18278 LIBS=$ac_check_soname_save_LIBS
18280 if ${ac_cv_lib_soname_netapi:+false} :
18281 then :
18282 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18283 printf "%s\n" "not found" >&6; }
18284 printf "%s\n" "#define SONAME_LIBNETAPI \"libnetapi.$LIBEXT\"" >>confdefs.h
18286 else $as_nop
18287 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
18288 printf "%s\n" "$ac_cv_lib_soname_netapi" >&6; }
18290 printf "%s\n" "#define SONAME_LIBNETAPI \"$ac_cv_lib_soname_netapi\"" >>confdefs.h
18294 CPPFLAGS=$ac_save_CPPFLAGS
18297 if test "x$ac_cv_lib_soname_netapi" = "x"
18298 then :
18299 case "x$with_netapi" in
18300 x) as_fn_append wine_notices "|libnetapi not found, Samba NetAPI won't be supported." ;;
18301 xno) ;;
18302 *) as_fn_error $? "libnetapi not found, Samba NetAPI won't be supported.
18303 This is an error since --with-netapi was requested." "$LINENO" 5 ;;
18304 esac
18305 enable_netapi=${enable_netapi:-no}
18309 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
18310 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
18311 then
18312 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
18315 if test "x$with_vulkan" != "xno"
18316 then
18317 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
18318 printf %s "checking for -lvulkan... " >&6; }
18319 if test ${ac_cv_lib_soname_vulkan+y}
18320 then :
18321 printf %s "(cached) " >&6
18322 else $as_nop
18323 ac_check_soname_save_LIBS=$LIBS
18324 LIBS="-lvulkan $LIBS"
18325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18326 /* end confdefs.h. */
18328 /* Override any GCC internal prototype to avoid an error.
18329 Use char because int might match the return type of a GCC
18330 builtin and then its argument prototype would still apply. */
18331 char vkGetInstanceProcAddr ();
18333 main (void)
18335 return vkGetInstanceProcAddr ();
18337 return 0;
18339 _ACEOF
18340 if ac_fn_c_try_link "$LINENO"
18341 then :
18342 case "$LIBEXT" in
18343 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18344 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'` ;;
18345 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18346 if ${ac_cv_lib_soname_vulkan:+false} :
18347 then :
18348 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18349 fi ;;
18350 esac
18351 else $as_nop
18352 ac_cv_lib_soname_vulkan=
18354 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18355 conftest$ac_exeext conftest.$ac_ext
18356 LIBS=$ac_check_soname_save_LIBS
18358 if ${ac_cv_lib_soname_vulkan:+false} :
18359 then :
18360 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18361 printf "%s\n" "not found" >&6; }
18363 else $as_nop
18364 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
18365 printf "%s\n" "$ac_cv_lib_soname_vulkan" >&6; }
18367 printf "%s\n" "#define SONAME_LIBVULKAN \"$ac_cv_lib_soname_vulkan\"" >>confdefs.h
18371 if test "x$ac_cv_lib_soname_vulkan" = "x"
18372 then
18373 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
18374 printf %s "checking for -lMoltenVK... " >&6; }
18375 if test ${ac_cv_lib_soname_MoltenVK+y}
18376 then :
18377 printf %s "(cached) " >&6
18378 else $as_nop
18379 ac_check_soname_save_LIBS=$LIBS
18380 LIBS="-lMoltenVK $LIBS"
18381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18382 /* end confdefs.h. */
18384 /* Override any GCC internal prototype to avoid an error.
18385 Use char because int might match the return type of a GCC
18386 builtin and then its argument prototype would still apply. */
18387 char vkGetInstanceProcAddr ();
18389 main (void)
18391 return vkGetInstanceProcAddr ();
18393 return 0;
18395 _ACEOF
18396 if ac_fn_c_try_link "$LINENO"
18397 then :
18398 case "$LIBEXT" in
18399 dll) ac_cv_lib_soname_MoltenVK=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18400 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'` ;;
18401 *) ac_cv_lib_soname_MoltenVK=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18402 if ${ac_cv_lib_soname_MoltenVK:+false} :
18403 then :
18404 ac_cv_lib_soname_MoltenVK=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18405 fi ;;
18406 esac
18407 else $as_nop
18408 ac_cv_lib_soname_MoltenVK=
18410 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18411 conftest$ac_exeext conftest.$ac_ext
18412 LIBS=$ac_check_soname_save_LIBS
18414 if ${ac_cv_lib_soname_MoltenVK:+false} :
18415 then :
18416 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18417 printf "%s\n" "not found" >&6; }
18419 else $as_nop
18420 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
18421 printf "%s\n" "$ac_cv_lib_soname_MoltenVK" >&6; }
18423 printf "%s\n" "#define SONAME_LIBMOLTENVK \"$ac_cv_lib_soname_MoltenVK\"" >>confdefs.h
18429 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"
18430 then :
18431 case "x$with_vulkan" in
18432 x) as_fn_append wine_notices "|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
18433 xno) ;;
18434 *) as_fn_error $? "libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
18435 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
18436 esac
18441 if test "x${GCC}" = "xyes"
18442 then
18443 EXTRACFLAGS="$EXTRACFLAGS -Wall -pipe"
18445 saved_CFLAGS=$CFLAGS
18446 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
18447 printf %s "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
18448 if test ${ac_cv_cflags__Werror_unknown_warning_option+y}
18449 then :
18450 printf %s "(cached) " >&6
18451 else $as_nop
18452 ac_wine_try_cflags_saved=$CFLAGS
18453 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
18454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18455 /* end confdefs.h. */
18456 int main(int argc, char **argv) { return 0; }
18457 _ACEOF
18458 if ac_fn_c_try_link "$LINENO"
18459 then :
18460 ac_cv_cflags__Werror_unknown_warning_option=yes
18461 else $as_nop
18462 ac_cv_cflags__Werror_unknown_warning_option=no
18464 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18465 conftest$ac_exeext conftest.$ac_ext
18466 CFLAGS=$ac_wine_try_cflags_saved
18468 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
18469 printf "%s\n" "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
18470 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes
18471 then :
18472 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
18474 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unused-command-line-argument" >&5
18475 printf %s "checking whether the compiler supports -Werror=unused-command-line-argument... " >&6; }
18476 if test ${ac_cv_cflags__Werror_unused_command_line_argument+y}
18477 then :
18478 printf %s "(cached) " >&6
18479 else $as_nop
18480 ac_wine_try_cflags_saved=$CFLAGS
18481 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
18482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18483 /* end confdefs.h. */
18484 int main(int argc, char **argv) { return 0; }
18485 _ACEOF
18486 if ac_fn_c_try_link "$LINENO"
18487 then :
18488 ac_cv_cflags__Werror_unused_command_line_argument=yes
18489 else $as_nop
18490 ac_cv_cflags__Werror_unused_command_line_argument=no
18492 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18493 conftest$ac_exeext conftest.$ac_ext
18494 CFLAGS=$ac_wine_try_cflags_saved
18496 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unused_command_line_argument" >&5
18497 printf "%s\n" "$ac_cv_cflags__Werror_unused_command_line_argument" >&6; }
18498 if test "x$ac_cv_cflags__Werror_unused_command_line_argument" = xyes
18499 then :
18500 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
18502 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=ignored-optimization-argument" >&5
18503 printf %s "checking whether the compiler supports -Werror=ignored-optimization-argument... " >&6; }
18504 if test ${ac_cv_cflags__Werror_ignored_optimization_argument+y}
18505 then :
18506 printf %s "(cached) " >&6
18507 else $as_nop
18508 ac_wine_try_cflags_saved=$CFLAGS
18509 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
18510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18511 /* end confdefs.h. */
18512 int main(int argc, char **argv) { return 0; }
18513 _ACEOF
18514 if ac_fn_c_try_link "$LINENO"
18515 then :
18516 ac_cv_cflags__Werror_ignored_optimization_argument=yes
18517 else $as_nop
18518 ac_cv_cflags__Werror_ignored_optimization_argument=no
18520 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18521 conftest$ac_exeext conftest.$ac_ext
18522 CFLAGS=$ac_wine_try_cflags_saved
18524 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_ignored_optimization_argument" >&5
18525 printf "%s\n" "$ac_cv_cflags__Werror_ignored_optimization_argument" >&6; }
18526 if test "x$ac_cv_cflags__Werror_ignored_optimization_argument" = xyes
18527 then :
18528 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
18530 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fcf-protection=none" >&5
18531 printf %s "checking whether the compiler supports -fcf-protection=none... " >&6; }
18532 if test ${ac_cv_cflags__fcf_protection_none+y}
18533 then :
18534 printf %s "(cached) " >&6
18535 else $as_nop
18536 ac_wine_try_cflags_saved=$CFLAGS
18537 CFLAGS="$CFLAGS -fcf-protection=none"
18538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18539 /* end confdefs.h. */
18540 int main(int argc, char **argv) { return 0; }
18541 _ACEOF
18542 if ac_fn_c_try_link "$LINENO"
18543 then :
18544 ac_cv_cflags__fcf_protection_none=yes
18545 else $as_nop
18546 ac_cv_cflags__fcf_protection_none=no
18548 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18549 conftest$ac_exeext conftest.$ac_ext
18550 CFLAGS=$ac_wine_try_cflags_saved
18552 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fcf_protection_none" >&5
18553 printf "%s\n" "$ac_cv_cflags__fcf_protection_none" >&6; }
18554 if test "x$ac_cv_cflags__fcf_protection_none" = xyes
18555 then :
18556 EXTRACFLAGS="$EXTRACFLAGS -fcf-protection=none"
18558 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-stack-protector" >&5
18559 printf %s "checking whether the compiler supports -fno-stack-protector... " >&6; }
18560 if test ${ac_cv_cflags__fno_stack_protector+y}
18561 then :
18562 printf %s "(cached) " >&6
18563 else $as_nop
18564 ac_wine_try_cflags_saved=$CFLAGS
18565 CFLAGS="$CFLAGS -fno-stack-protector"
18566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18567 /* end confdefs.h. */
18568 int main(int argc, char **argv) { return 0; }
18569 _ACEOF
18570 if ac_fn_c_try_link "$LINENO"
18571 then :
18572 ac_cv_cflags__fno_stack_protector=yes
18573 else $as_nop
18574 ac_cv_cflags__fno_stack_protector=no
18576 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18577 conftest$ac_exeext conftest.$ac_ext
18578 CFLAGS=$ac_wine_try_cflags_saved
18580 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_stack_protector" >&5
18581 printf "%s\n" "$ac_cv_cflags__fno_stack_protector" >&6; }
18582 if test "x$ac_cv_cflags__fno_stack_protector" = xyes
18583 then :
18584 EXTRACFLAGS="$EXTRACFLAGS -fno-stack-protector"
18586 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
18587 printf %s "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
18588 if test ${ac_cv_cflags__fno_strict_aliasing+y}
18589 then :
18590 printf %s "(cached) " >&6
18591 else $as_nop
18592 ac_wine_try_cflags_saved=$CFLAGS
18593 CFLAGS="$CFLAGS -fno-strict-aliasing"
18594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18595 /* end confdefs.h. */
18596 int main(int argc, char **argv) { return 0; }
18597 _ACEOF
18598 if ac_fn_c_try_link "$LINENO"
18599 then :
18600 ac_cv_cflags__fno_strict_aliasing=yes
18601 else $as_nop
18602 ac_cv_cflags__fno_strict_aliasing=no
18604 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18605 conftest$ac_exeext conftest.$ac_ext
18606 CFLAGS=$ac_wine_try_cflags_saved
18608 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
18609 printf "%s\n" "$ac_cv_cflags__fno_strict_aliasing" >&6; }
18610 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes
18611 then :
18612 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
18614 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
18615 printf %s "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
18616 if test ${ac_cv_cflags__Wdeclaration_after_statement+y}
18617 then :
18618 printf %s "(cached) " >&6
18619 else $as_nop
18620 ac_wine_try_cflags_saved=$CFLAGS
18621 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
18622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18623 /* end confdefs.h. */
18624 int main(int argc, char **argv) { return 0; }
18625 _ACEOF
18626 if ac_fn_c_try_link "$LINENO"
18627 then :
18628 ac_cv_cflags__Wdeclaration_after_statement=yes
18629 else $as_nop
18630 ac_cv_cflags__Wdeclaration_after_statement=no
18632 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18633 conftest$ac_exeext conftest.$ac_ext
18634 CFLAGS=$ac_wine_try_cflags_saved
18636 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
18637 printf "%s\n" "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
18638 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes
18639 then :
18640 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
18642 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
18643 printf %s "checking whether the compiler supports -Wempty-body... " >&6; }
18644 if test ${ac_cv_cflags__Wempty_body+y}
18645 then :
18646 printf %s "(cached) " >&6
18647 else $as_nop
18648 ac_wine_try_cflags_saved=$CFLAGS
18649 CFLAGS="$CFLAGS -Wempty-body"
18650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18651 /* end confdefs.h. */
18652 int main(int argc, char **argv) { return 0; }
18653 _ACEOF
18654 if ac_fn_c_try_link "$LINENO"
18655 then :
18656 ac_cv_cflags__Wempty_body=yes
18657 else $as_nop
18658 ac_cv_cflags__Wempty_body=no
18660 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18661 conftest$ac_exeext conftest.$ac_ext
18662 CFLAGS=$ac_wine_try_cflags_saved
18664 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
18665 printf "%s\n" "$ac_cv_cflags__Wempty_body" >&6; }
18666 if test "x$ac_cv_cflags__Wempty_body" = xyes
18667 then :
18668 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
18670 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
18671 printf %s "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
18672 if test ${ac_cv_cflags__Wignored_qualifiers+y}
18673 then :
18674 printf %s "(cached) " >&6
18675 else $as_nop
18676 ac_wine_try_cflags_saved=$CFLAGS
18677 CFLAGS="$CFLAGS -Wignored-qualifiers"
18678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18679 /* end confdefs.h. */
18680 int main(int argc, char **argv) { return 0; }
18681 _ACEOF
18682 if ac_fn_c_try_link "$LINENO"
18683 then :
18684 ac_cv_cflags__Wignored_qualifiers=yes
18685 else $as_nop
18686 ac_cv_cflags__Wignored_qualifiers=no
18688 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18689 conftest$ac_exeext conftest.$ac_ext
18690 CFLAGS=$ac_wine_try_cflags_saved
18692 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
18693 printf "%s\n" "$ac_cv_cflags__Wignored_qualifiers" >&6; }
18694 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes
18695 then :
18696 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
18698 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Winit-self" >&5
18699 printf %s "checking whether the compiler supports -Winit-self... " >&6; }
18700 if test ${ac_cv_cflags__Winit_self+y}
18701 then :
18702 printf %s "(cached) " >&6
18703 else $as_nop
18704 ac_wine_try_cflags_saved=$CFLAGS
18705 CFLAGS="$CFLAGS -Winit-self"
18706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18707 /* end confdefs.h. */
18708 int main(int argc, char **argv) { return 0; }
18709 _ACEOF
18710 if ac_fn_c_try_link "$LINENO"
18711 then :
18712 ac_cv_cflags__Winit_self=yes
18713 else $as_nop
18714 ac_cv_cflags__Winit_self=no
18716 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18717 conftest$ac_exeext conftest.$ac_ext
18718 CFLAGS=$ac_wine_try_cflags_saved
18720 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Winit_self" >&5
18721 printf "%s\n" "$ac_cv_cflags__Winit_self" >&6; }
18722 if test "x$ac_cv_cflags__Winit_self" = xyes
18723 then :
18724 EXTRACFLAGS="$EXTRACFLAGS -Winit-self"
18726 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
18727 printf %s "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
18728 if test ${ac_cv_cflags__Wpacked_not_aligned+y}
18729 then :
18730 printf %s "(cached) " >&6
18731 else $as_nop
18732 ac_wine_try_cflags_saved=$CFLAGS
18733 CFLAGS="$CFLAGS -Wpacked-not-aligned"
18734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18735 /* end confdefs.h. */
18736 int main(int argc, char **argv) { return 0; }
18737 _ACEOF
18738 if ac_fn_c_try_link "$LINENO"
18739 then :
18740 ac_cv_cflags__Wpacked_not_aligned=yes
18741 else $as_nop
18742 ac_cv_cflags__Wpacked_not_aligned=no
18744 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18745 conftest$ac_exeext conftest.$ac_ext
18746 CFLAGS=$ac_wine_try_cflags_saved
18748 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
18749 printf "%s\n" "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
18750 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes
18751 then :
18752 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
18754 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
18755 printf %s "checking whether the compiler supports -Wpragma-pack... " >&6; }
18756 if test ${ac_cv_cflags__Wpragma_pack+y}
18757 then :
18758 printf %s "(cached) " >&6
18759 else $as_nop
18760 ac_wine_try_cflags_saved=$CFLAGS
18761 CFLAGS="$CFLAGS -Wpragma-pack"
18762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18763 /* end confdefs.h. */
18764 int main(int argc, char **argv) { return 0; }
18765 _ACEOF
18766 if ac_fn_c_try_link "$LINENO"
18767 then :
18768 ac_cv_cflags__Wpragma_pack=yes
18769 else $as_nop
18770 ac_cv_cflags__Wpragma_pack=no
18772 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18773 conftest$ac_exeext conftest.$ac_ext
18774 CFLAGS=$ac_wine_try_cflags_saved
18776 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
18777 printf "%s\n" "$ac_cv_cflags__Wpragma_pack" >&6; }
18778 if test "x$ac_cv_cflags__Wpragma_pack" = xyes
18779 then :
18780 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
18782 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
18783 printf %s "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
18784 if test ${ac_cv_cflags__Wshift_overflow_2+y}
18785 then :
18786 printf %s "(cached) " >&6
18787 else $as_nop
18788 ac_wine_try_cflags_saved=$CFLAGS
18789 CFLAGS="$CFLAGS -Wshift-overflow=2"
18790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18791 /* end confdefs.h. */
18792 int main(int argc, char **argv) { return 0; }
18793 _ACEOF
18794 if ac_fn_c_try_link "$LINENO"
18795 then :
18796 ac_cv_cflags__Wshift_overflow_2=yes
18797 else $as_nop
18798 ac_cv_cflags__Wshift_overflow_2=no
18800 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18801 conftest$ac_exeext conftest.$ac_ext
18802 CFLAGS=$ac_wine_try_cflags_saved
18804 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
18805 printf "%s\n" "$ac_cv_cflags__Wshift_overflow_2" >&6; }
18806 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes
18807 then :
18808 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
18810 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
18811 printf %s "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
18812 if test ${ac_cv_cflags__Wstrict_prototypes+y}
18813 then :
18814 printf %s "(cached) " >&6
18815 else $as_nop
18816 ac_wine_try_cflags_saved=$CFLAGS
18817 CFLAGS="$CFLAGS -Wstrict-prototypes"
18818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18819 /* end confdefs.h. */
18820 int main(int argc, char **argv) { return 0; }
18821 _ACEOF
18822 if ac_fn_c_try_link "$LINENO"
18823 then :
18824 ac_cv_cflags__Wstrict_prototypes=yes
18825 else $as_nop
18826 ac_cv_cflags__Wstrict_prototypes=no
18828 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18829 conftest$ac_exeext conftest.$ac_ext
18830 CFLAGS=$ac_wine_try_cflags_saved
18832 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
18833 printf "%s\n" "$ac_cv_cflags__Wstrict_prototypes" >&6; }
18834 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes
18835 then :
18836 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
18838 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
18839 printf %s "checking whether the compiler supports -Wtype-limits... " >&6; }
18840 if test ${ac_cv_cflags__Wtype_limits+y}
18841 then :
18842 printf %s "(cached) " >&6
18843 else $as_nop
18844 ac_wine_try_cflags_saved=$CFLAGS
18845 CFLAGS="$CFLAGS -Wtype-limits"
18846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18847 /* end confdefs.h. */
18848 int main(int argc, char **argv) { return 0; }
18849 _ACEOF
18850 if ac_fn_c_try_link "$LINENO"
18851 then :
18852 ac_cv_cflags__Wtype_limits=yes
18853 else $as_nop
18854 ac_cv_cflags__Wtype_limits=no
18856 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18857 conftest$ac_exeext conftest.$ac_ext
18858 CFLAGS=$ac_wine_try_cflags_saved
18860 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
18861 printf "%s\n" "$ac_cv_cflags__Wtype_limits" >&6; }
18862 if test "x$ac_cv_cflags__Wtype_limits" = xyes
18863 then :
18864 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
18866 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
18867 printf %s "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
18868 if test ${ac_cv_cflags__Wunused_but_set_parameter+y}
18869 then :
18870 printf %s "(cached) " >&6
18871 else $as_nop
18872 ac_wine_try_cflags_saved=$CFLAGS
18873 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
18874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18875 /* end confdefs.h. */
18876 int main(int argc, char **argv) { return 0; }
18877 _ACEOF
18878 if ac_fn_c_try_link "$LINENO"
18879 then :
18880 ac_cv_cflags__Wunused_but_set_parameter=yes
18881 else $as_nop
18882 ac_cv_cflags__Wunused_but_set_parameter=no
18884 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18885 conftest$ac_exeext conftest.$ac_ext
18886 CFLAGS=$ac_wine_try_cflags_saved
18888 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
18889 printf "%s\n" "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
18890 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes
18891 then :
18892 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
18894 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
18895 printf %s "checking whether the compiler supports -Wvla... " >&6; }
18896 if test ${ac_cv_cflags__Wvla+y}
18897 then :
18898 printf %s "(cached) " >&6
18899 else $as_nop
18900 ac_wine_try_cflags_saved=$CFLAGS
18901 CFLAGS="$CFLAGS -Wvla"
18902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18903 /* end confdefs.h. */
18904 int main(int argc, char **argv) { return 0; }
18905 _ACEOF
18906 if ac_fn_c_try_link "$LINENO"
18907 then :
18908 ac_cv_cflags__Wvla=yes
18909 else $as_nop
18910 ac_cv_cflags__Wvla=no
18912 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18913 conftest$ac_exeext conftest.$ac_ext
18914 CFLAGS=$ac_wine_try_cflags_saved
18916 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
18917 printf "%s\n" "$ac_cv_cflags__Wvla" >&6; }
18918 if test "x$ac_cv_cflags__Wvla" = xyes
18919 then :
18920 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
18922 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
18923 printf %s "checking whether the compiler supports -Wwrite-strings... " >&6; }
18924 if test ${ac_cv_cflags__Wwrite_strings+y}
18925 then :
18926 printf %s "(cached) " >&6
18927 else $as_nop
18928 ac_wine_try_cflags_saved=$CFLAGS
18929 CFLAGS="$CFLAGS -Wwrite-strings"
18930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18931 /* end confdefs.h. */
18932 int main(int argc, char **argv) { return 0; }
18933 _ACEOF
18934 if ac_fn_c_try_link "$LINENO"
18935 then :
18936 ac_cv_cflags__Wwrite_strings=yes
18937 else $as_nop
18938 ac_cv_cflags__Wwrite_strings=no
18940 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18941 conftest$ac_exeext conftest.$ac_ext
18942 CFLAGS=$ac_wine_try_cflags_saved
18944 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
18945 printf "%s\n" "$ac_cv_cflags__Wwrite_strings" >&6; }
18946 if test "x$ac_cv_cflags__Wwrite_strings" = xyes
18947 then :
18948 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
18951 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
18952 printf %s "checking whether the compiler supports -Wpointer-arith... " >&6; }
18953 if test ${ac_cv_cflags__Wpointer_arith+y}
18954 then :
18955 printf %s "(cached) " >&6
18956 else $as_nop
18957 ac_wine_try_cflags_saved=$CFLAGS
18958 CFLAGS="$CFLAGS -Wpointer-arith"
18959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18960 /* end confdefs.h. */
18961 int main(int argc, char **argv) { return 0; }
18962 _ACEOF
18963 if ac_fn_c_try_link "$LINENO"
18964 then :
18965 ac_cv_cflags__Wpointer_arith=yes
18966 else $as_nop
18967 ac_cv_cflags__Wpointer_arith=no
18969 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18970 conftest$ac_exeext conftest.$ac_ext
18971 CFLAGS=$ac_wine_try_cflags_saved
18973 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
18974 printf "%s\n" "$ac_cv_cflags__Wpointer_arith" >&6; }
18975 if test "x$ac_cv_cflags__Wpointer_arith" = xyes
18976 then :
18977 saved_string_h_CFLAGS=$CFLAGS
18978 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
18979 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
18980 printf %s "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
18981 if test ${ac_cv_c_string_h_warnings+y}
18982 then :
18983 printf %s "(cached) " >&6
18984 else $as_nop
18985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18986 /* end confdefs.h. */
18987 #include <string.h>
18989 main (void)
18993 return 0;
18995 _ACEOF
18996 if ac_fn_c_try_compile "$LINENO"
18997 then :
18998 ac_cv_c_string_h_warnings=no
18999 else $as_nop
19000 ac_cv_c_string_h_warnings=yes
19002 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19004 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
19005 printf "%s\n" "$ac_cv_c_string_h_warnings" >&6; }
19006 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
19007 CFLAGS=$saved_string_h_CFLAGS
19010 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
19011 printf %s "checking whether the compiler supports -Wlogical-op... " >&6; }
19012 if test ${ac_cv_cflags__Wlogical_op+y}
19013 then :
19014 printf %s "(cached) " >&6
19015 else $as_nop
19016 ac_wine_try_cflags_saved=$CFLAGS
19017 CFLAGS="$CFLAGS -Wlogical-op"
19018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19019 /* end confdefs.h. */
19020 int main(int argc, char **argv) { return 0; }
19021 _ACEOF
19022 if ac_fn_c_try_link "$LINENO"
19023 then :
19024 ac_cv_cflags__Wlogical_op=yes
19025 else $as_nop
19026 ac_cv_cflags__Wlogical_op=no
19028 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19029 conftest$ac_exeext conftest.$ac_ext
19030 CFLAGS=$ac_wine_try_cflags_saved
19032 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
19033 printf "%s\n" "$ac_cv_cflags__Wlogical_op" >&6; }
19034 if test "x$ac_cv_cflags__Wlogical_op" = xyes
19035 then :
19036 saved_string_h_CFLAGS=$CFLAGS
19037 CFLAGS="$CFLAGS -Wlogical-op -Werror"
19038 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
19039 printf %s "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
19040 if test ${ac_cv_c_logicalop_noisy+y}
19041 then :
19042 printf %s "(cached) " >&6
19043 else $as_nop
19044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19045 /* end confdefs.h. */
19046 #include <string.h>
19047 char*f(const char *h,char n) {return strchr(h,n);}
19049 main (void)
19053 return 0;
19055 _ACEOF
19056 if ac_fn_c_try_compile "$LINENO"
19057 then :
19058 ac_cv_c_logicalop_noisy=no
19059 else $as_nop
19060 ac_cv_c_logicalop_noisy=yes
19062 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19064 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
19065 printf "%s\n" "$ac_cv_c_logicalop_noisy" >&6; }
19066 CFLAGS=$saved_string_h_CFLAGS
19067 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
19070 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for flags needed for 64-bit compare-and-swap support" >&5
19071 printf %s "checking for flags needed for 64-bit compare-and-swap support... " >&6; }
19072 if test ${wine_cv_64bit_compare_swap+y}
19073 then :
19074 printf %s "(cached) " >&6
19075 else $as_nop
19076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19077 /* end confdefs.h. */
19078 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
19079 #error no
19080 #endif
19082 main (void)
19086 return 0;
19088 _ACEOF
19089 if ac_fn_c_try_compile "$LINENO"
19090 then :
19091 wine_cv_64bit_compare_swap="none needed"
19092 else $as_nop
19093 case $host_cpu in
19094 *i[3456]86*) wine_cv_64bit_compare_swap="-march=i586" ;;
19095 *arm*) wine_cv_64bit_compare_swap="-march=armv7-a" ;;
19096 *) wine_cv_64bit_compare_swap="unknown" ;;
19097 esac
19098 if test "x$wine_cv_64bit_compare_swap" != xunknown
19099 then
19100 CFLAGS="$CFLAGS $wine_cv_64bit_compare_swap"
19101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19102 /* end confdefs.h. */
19103 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
19104 #error no
19105 #endif
19107 main (void)
19111 return 0;
19113 _ACEOF
19114 if ac_fn_c_try_compile "$LINENO"
19115 then :
19117 else $as_nop
19118 wine_cv_64bit_compare_swap="unknown"
19120 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19121 CFLAGS=$saved_CFLAGS
19124 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19126 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_64bit_compare_swap" >&5
19127 printf "%s\n" "$wine_cv_64bit_compare_swap" >&6; }
19128 case "$wine_cv_64bit_compare_swap" in
19129 unknown) as_fn_error $? "gcc doesn't support 64-bit compare-and-swap on this platform" "$LINENO" 5 ;;
19130 "none needed") ;;
19131 *) EXTRACFLAGS="$EXTRACFLAGS $wine_cv_64bit_compare_swap" ;;
19132 esac
19134 ac_debug_format_seen=""
19135 for ac_flag in $CFLAGS; do
19136 case $ac_flag in
19137 -gdwarf*) ac_debug_format_seen=yes ;;
19138 -g) ac_debug_format_seen=${ac_debug_format_seen:-default} ;;
19139 esac
19140 done
19141 if test "x$ac_debug_format_seen" = xdefault
19142 then
19143 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-4" >&5
19144 printf %s "checking whether the compiler supports -gdwarf-4... " >&6; }
19145 if test ${ac_cv_cflags__gdwarf_4+y}
19146 then :
19147 printf %s "(cached) " >&6
19148 else $as_nop
19149 ac_wine_try_cflags_saved=$CFLAGS
19150 CFLAGS="$CFLAGS -gdwarf-4"
19151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19152 /* end confdefs.h. */
19153 int main(int argc, char **argv) { return 0; }
19154 _ACEOF
19155 if ac_fn_c_try_link "$LINENO"
19156 then :
19157 ac_cv_cflags__gdwarf_4=yes
19158 else $as_nop
19159 ac_cv_cflags__gdwarf_4=no
19161 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19162 conftest$ac_exeext conftest.$ac_ext
19163 CFLAGS=$ac_wine_try_cflags_saved
19165 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_4" >&5
19166 printf "%s\n" "$ac_cv_cflags__gdwarf_4" >&6; }
19167 if test "x$ac_cv_cflags__gdwarf_4" = xyes
19168 then :
19169 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-4"
19173 MSVCRTFLAGS=""
19175 case $host_os in
19176 mingw32*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-delayload,autoconftest.dll" >&5
19177 printf %s "checking whether the compiler supports -Wl,-delayload,autoconftest.dll... " >&6; }
19178 if test ${ac_cv_cflags__Wl__delayload_autoconftest_dll+y}
19179 then :
19180 printf %s "(cached) " >&6
19181 else $as_nop
19182 ac_wine_try_cflags_saved=$CFLAGS
19183 CFLAGS="$CFLAGS -Wl,-delayload,autoconftest.dll"
19184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19185 /* end confdefs.h. */
19186 int main(int argc, char **argv) { return 0; }
19187 _ACEOF
19188 if ac_fn_c_try_link "$LINENO"
19189 then :
19190 ac_cv_cflags__Wl__delayload_autoconftest_dll=yes
19191 else $as_nop
19192 ac_cv_cflags__Wl__delayload_autoconftest_dll=no
19194 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19195 conftest$ac_exeext conftest.$ac_ext
19196 CFLAGS=$ac_wine_try_cflags_saved
19198 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__delayload_autoconftest_dll" >&5
19199 printf "%s\n" "$ac_cv_cflags__Wl__delayload_autoconftest_dll" >&6; }
19200 if test "x$ac_cv_cflags__Wl__delayload_autoconftest_dll" = xyes
19201 then :
19202 DELAYLOADFLAG="-Wl,-delayload,"
19204 fi ;;
19205 *) MSVCRTFLAGS="-D_WIN32"
19206 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
19207 printf %s "checking whether the compiler supports -fno-builtin... " >&6; }
19208 if test ${ac_cv_cflags__fno_builtin+y}
19209 then :
19210 printf %s "(cached) " >&6
19211 else $as_nop
19212 ac_wine_try_cflags_saved=$CFLAGS
19213 CFLAGS="$CFLAGS -fno-builtin"
19214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19215 /* end confdefs.h. */
19216 int main(int argc, char **argv) { return 0; }
19217 _ACEOF
19218 if ac_fn_c_try_link "$LINENO"
19219 then :
19220 ac_cv_cflags__fno_builtin=yes
19221 else $as_nop
19222 ac_cv_cflags__fno_builtin=no
19224 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19225 conftest$ac_exeext conftest.$ac_ext
19226 CFLAGS=$ac_wine_try_cflags_saved
19228 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
19229 printf "%s\n" "$ac_cv_cflags__fno_builtin" >&6; }
19230 if test "x$ac_cv_cflags__fno_builtin" = xyes
19231 then :
19232 MSVCRTFLAGS="$MSVCRTFLAGS -fno-builtin"
19234 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
19235 printf %s "checking whether the compiler supports -fshort-wchar... " >&6; }
19236 if test ${ac_cv_cflags__fshort_wchar+y}
19237 then :
19238 printf %s "(cached) " >&6
19239 else $as_nop
19240 ac_wine_try_cflags_saved=$CFLAGS
19241 CFLAGS="$CFLAGS -fshort-wchar"
19242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19243 /* end confdefs.h. */
19244 int main(int argc, char **argv) { return 0; }
19245 _ACEOF
19246 if ac_fn_c_try_link "$LINENO"
19247 then :
19248 ac_cv_cflags__fshort_wchar=yes
19249 else $as_nop
19250 ac_cv_cflags__fshort_wchar=no
19252 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19253 conftest$ac_exeext conftest.$ac_ext
19254 CFLAGS=$ac_wine_try_cflags_saved
19256 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fshort_wchar" >&5
19257 printf "%s\n" "$ac_cv_cflags__fshort_wchar" >&6; }
19258 if test "x$ac_cv_cflags__fshort_wchar" = xyes
19259 then :
19260 MSVCRTFLAGS="$MSVCRTFLAGS -fshort-wchar"
19262 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
19263 printf %s "checking whether the compiler supports -Wno-format... " >&6; }
19264 if test ${ac_cv_cflags__Wno_format+y}
19265 then :
19266 printf %s "(cached) " >&6
19267 else $as_nop
19268 ac_wine_try_cflags_saved=$CFLAGS
19269 CFLAGS="$CFLAGS -Wno-format"
19270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19271 /* end confdefs.h. */
19272 int main(int argc, char **argv) { return 0; }
19273 _ACEOF
19274 if ac_fn_c_try_link "$LINENO"
19275 then :
19276 ac_cv_cflags__Wno_format=yes
19277 else $as_nop
19278 ac_cv_cflags__Wno_format=no
19280 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19281 conftest$ac_exeext conftest.$ac_ext
19282 CFLAGS=$ac_wine_try_cflags_saved
19284 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
19285 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
19286 if test "x$ac_cv_cflags__Wno_format" = xyes
19287 then :
19288 MSVCRTFLAGS="$MSVCRTFLAGS -Wno-format"
19289 fi ;;
19290 esac
19292 case $host_cpu in
19293 *i[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
19294 printf %s "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
19295 if test ${ac_cv_cflags__fno_omit_frame_pointer+y}
19296 then :
19297 printf %s "(cached) " >&6
19298 else $as_nop
19299 ac_wine_try_cflags_saved=$CFLAGS
19300 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
19301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19302 /* end confdefs.h. */
19303 int main(int argc, char **argv) { return 0; }
19304 _ACEOF
19305 if ac_fn_c_try_link "$LINENO"
19306 then :
19307 ac_cv_cflags__fno_omit_frame_pointer=yes
19308 else $as_nop
19309 ac_cv_cflags__fno_omit_frame_pointer=no
19311 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19312 conftest$ac_exeext conftest.$ac_ext
19313 CFLAGS=$ac_wine_try_cflags_saved
19315 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
19316 printf "%s\n" "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
19317 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes
19318 then :
19319 MSVCRTFLAGS="$MSVCRTFLAGS -fno-omit-frame-pointer"
19320 fi ;;
19321 *x86_64*)
19322 case $host_os in
19323 cygwin*|mingw32*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
19324 printf %s "checking whether the compiler supports -Wno-format... " >&6; }
19325 if test ${ac_cv_cflags__Wno_format+y}
19326 then :
19327 printf %s "(cached) " >&6
19328 else $as_nop
19329 ac_wine_try_cflags_saved=$CFLAGS
19330 CFLAGS="$CFLAGS -Wno-format"
19331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19332 /* end confdefs.h. */
19333 int main(int argc, char **argv) { return 0; }
19334 _ACEOF
19335 if ac_fn_c_try_link "$LINENO"
19336 then :
19337 ac_cv_cflags__Wno_format=yes
19338 else $as_nop
19339 ac_cv_cflags__Wno_format=no
19341 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19342 conftest$ac_exeext conftest.$ac_ext
19343 CFLAGS=$ac_wine_try_cflags_saved
19345 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
19346 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
19347 if test "x$ac_cv_cflags__Wno_format" = xyes
19348 then :
19349 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
19350 fi ;;
19351 *) if test -z "$PE_ARCHS"
19352 then
19353 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working -mabi=ms" >&5
19354 printf %s "checking for working -mabi=ms... " >&6; }
19355 if test ${ac_cv_mabi_ms+y}
19356 then :
19357 printf %s "(cached) " >&6
19358 else $as_nop
19359 CFLAGS="$CFLAGS -mabi=ms"
19360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19361 /* end confdefs.h. */
19362 #include <stdarg.h>
19363 int a(int b, ...) { __builtin_ms_va_list list; __builtin_ms_va_start(list,b); }
19365 main (void)
19369 return 0;
19371 _ACEOF
19372 if ac_fn_c_try_compile "$LINENO"
19373 then :
19374 ac_cv_mabi_ms=yes
19375 else $as_nop
19376 ac_cv_mabi_ms=no
19378 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19379 CFLAGS=$saved_CFLAGS
19381 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mabi_ms" >&5
19382 printf "%s\n" "$ac_cv_mabi_ms" >&6; }
19383 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
19385 MSVCRTFLAGS="$MSVCRTFLAGS -mabi=ms" ;;
19386 esac ;;
19387 arm*)
19388 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wincompatible-function-pointer-types" >&5
19389 printf %s "checking whether the compiler supports -Wincompatible-function-pointer-types... " >&6; }
19390 if test ${ac_cv_cflags__Wincompatible_function_pointer_types+y}
19391 then :
19392 printf %s "(cached) " >&6
19393 else $as_nop
19394 ac_wine_try_cflags_saved=$CFLAGS
19395 CFLAGS="$CFLAGS -Wincompatible-function-pointer-types"
19396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19397 /* end confdefs.h. */
19398 int main(int argc, char **argv) { return 0; }
19399 _ACEOF
19400 if ac_fn_c_try_link "$LINENO"
19401 then :
19402 ac_cv_cflags__Wincompatible_function_pointer_types=yes
19403 else $as_nop
19404 ac_cv_cflags__Wincompatible_function_pointer_types=no
19406 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19407 conftest$ac_exeext conftest.$ac_ext
19408 CFLAGS=$ac_wine_try_cflags_saved
19410 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wincompatible_function_pointer_types" >&5
19411 printf "%s\n" "$ac_cv_cflags__Wincompatible_function_pointer_types" >&6; }
19412 if test "x$ac_cv_cflags__Wincompatible_function_pointer_types" = xyes
19413 then :
19414 EXTRACFLAGS="$EXTRACFLAGS -Wno-error=incompatible-function-pointer-types"
19415 fi ;;
19416 esac
19418 CFLAGS=$saved_CFLAGS
19420 if test "x$enable_werror" = "xyes"
19421 then
19422 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
19423 printf %s "checking whether the compiler supports -Werror... " >&6; }
19424 if test ${ac_cv_cflags__Werror+y}
19425 then :
19426 printf %s "(cached) " >&6
19427 else $as_nop
19428 ac_wine_try_cflags_saved=$CFLAGS
19429 CFLAGS="$CFLAGS -Werror"
19430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19431 /* end confdefs.h. */
19432 int main(int argc, char **argv) { return 0; }
19433 _ACEOF
19434 if ac_fn_c_try_link "$LINENO"
19435 then :
19436 ac_cv_cflags__Werror=yes
19437 else $as_nop
19438 ac_cv_cflags__Werror=no
19440 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19441 conftest$ac_exeext conftest.$ac_ext
19442 CFLAGS=$ac_wine_try_cflags_saved
19444 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
19445 printf "%s\n" "$ac_cv_cflags__Werror" >&6; }
19446 if test "x$ac_cv_cflags__Werror" = xyes
19447 then :
19448 EXTRACFLAGS="$EXTRACFLAGS -Werror"
19451 if test "x$enable_build_id" = "xyes"
19452 then
19453 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--build-id" >&5
19454 printf %s "checking whether the compiler supports -Wl,--build-id... " >&6; }
19455 if test ${ac_cv_cflags__Wl___build_id+y}
19456 then :
19457 printf %s "(cached) " >&6
19458 else $as_nop
19459 ac_wine_try_cflags_saved=$CFLAGS
19460 CFLAGS="$CFLAGS -Wl,--build-id"
19461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19462 /* end confdefs.h. */
19463 int main(int argc, char **argv) { return 0; }
19464 _ACEOF
19465 if ac_fn_c_try_link "$LINENO"
19466 then :
19467 ac_cv_cflags__Wl___build_id=yes
19468 else $as_nop
19469 ac_cv_cflags__Wl___build_id=no
19471 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19472 conftest$ac_exeext conftest.$ac_ext
19473 CFLAGS=$ac_wine_try_cflags_saved
19475 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___build_id" >&5
19476 printf "%s\n" "$ac_cv_cflags__Wl___build_id" >&6; }
19477 if test "x$ac_cv_cflags__Wl___build_id" = xyes
19478 then :
19479 CFLAGS="$CFLAGS -Wl,--build-id"
19480 LDFLAGS="$LDFLAGS -Wl,--build-id"
19486 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
19487 printf %s "checking for the need to disable Fortify... " >&6; }
19488 if test ${ac_cv_c_fortify_enabled+y}
19489 then :
19490 printf %s "(cached) " >&6
19491 else $as_nop
19492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19493 /* end confdefs.h. */
19494 #include <string.h>
19496 main (void)
19498 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
19499 #error Fortify enabled
19500 #endif
19502 return 0;
19504 _ACEOF
19505 if ac_fn_c_try_compile "$LINENO"
19506 then :
19507 ac_cv_c_fortify_enabled=no
19508 else $as_nop
19509 ac_cv_c_fortify_enabled=yes
19511 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19513 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
19514 printf "%s\n" "$ac_cv_c_fortify_enabled" >&6; }
19515 if test "$ac_cv_c_fortify_enabled" = yes
19516 then
19517 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
19521 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
19522 printf %s "checking whether CFI directives are supported in assembly code... " >&6; }
19523 if test ${ac_cv_c_cfi_support+y}
19524 then :
19525 printf %s "(cached) " >&6
19526 else $as_nop
19527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19528 /* end confdefs.h. */
19529 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
19531 main (void)
19535 return 0;
19537 _ACEOF
19538 if ac_fn_c_try_compile "$LINENO"
19539 then :
19540 ac_cv_c_cfi_support="yes"
19541 else $as_nop
19542 ac_cv_c_cfi_support="no"
19544 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19546 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
19547 printf "%s\n" "$ac_cv_c_cfi_support" >&6; }
19548 if test "$ac_cv_c_cfi_support" = "yes"
19549 then
19550 DLLFLAGS="$DLLFLAGS -fasynchronous-unwind-tables"
19551 LDDLLFLAGS="$LDDLLFLAGS -fasynchronous-unwind-tables"
19552 UNIXDLLFLAGS="$UNIXDLLFLAGS -fasynchronous-unwind-tables"
19553 elif test $HOST_ARCH = x86_64
19554 then
19555 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
19559 case "$HOST_ARCH,$PE_ARCHS" in
19560 x86_64,*i386*) wine_binary="wine" ;;
19561 x86_64,*) wine_binary="wine64" ;;
19562 *) wine_binary="wine" ;;
19563 esac
19564 WINELOADER_PROGRAMS="$wine_binary"
19567 case $host_os in
19568 linux*)
19569 case $host_cpu in
19570 *i[3456789]86*|x86_64*|*aarch64*|arm*)
19571 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS " loader/wine-preloader"
19572 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
19574 esac
19576 darwin*|macosx*)
19577 if test "$wine_can_build_preloader" = "yes"
19578 then
19579 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS " loader/wine-preloader"
19580 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
19583 esac
19586 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
19587 printf %s "checking for library containing dlopen... " >&6; }
19588 if test ${ac_cv_search_dlopen+y}
19589 then :
19590 printf %s "(cached) " >&6
19591 else $as_nop
19592 ac_func_search_save_LIBS=$LIBS
19593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19594 /* end confdefs.h. */
19596 /* Override any GCC internal prototype to avoid an error.
19597 Use char because int might match the return type of a GCC
19598 builtin and then its argument prototype would still apply. */
19599 char dlopen ();
19601 main (void)
19603 return dlopen ();
19605 return 0;
19607 _ACEOF
19608 for ac_lib in '' dl
19610 if test -z "$ac_lib"; then
19611 ac_res="none required"
19612 else
19613 ac_res=-l$ac_lib
19614 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19616 if ac_fn_c_try_link "$LINENO"
19617 then :
19618 ac_cv_search_dlopen=$ac_res
19620 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19621 conftest$ac_exeext
19622 if test ${ac_cv_search_dlopen+y}
19623 then :
19624 break
19626 done
19627 if test ${ac_cv_search_dlopen+y}
19628 then :
19630 else $as_nop
19631 ac_cv_search_dlopen=no
19633 rm conftest.$ac_ext
19634 LIBS=$ac_func_search_save_LIBS
19636 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
19637 printf "%s\n" "$ac_cv_search_dlopen" >&6; }
19638 ac_res=$ac_cv_search_dlopen
19639 if test "$ac_res" != no
19640 then :
19641 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19646 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
19647 printf %s "checking for library containing gethostbyname... " >&6; }
19648 if test ${ac_cv_search_gethostbyname+y}
19649 then :
19650 printf %s "(cached) " >&6
19651 else $as_nop
19652 ac_func_search_save_LIBS=$LIBS
19653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19654 /* end confdefs.h. */
19656 /* Override any GCC internal prototype to avoid an error.
19657 Use char because int might match the return type of a GCC
19658 builtin and then its argument prototype would still apply. */
19659 char gethostbyname ();
19661 main (void)
19663 return gethostbyname ();
19665 return 0;
19667 _ACEOF
19668 for ac_lib in '' nsl
19670 if test -z "$ac_lib"; then
19671 ac_res="none required"
19672 else
19673 ac_res=-l$ac_lib
19674 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19676 if ac_fn_c_try_link "$LINENO"
19677 then :
19678 ac_cv_search_gethostbyname=$ac_res
19680 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19681 conftest$ac_exeext
19682 if test ${ac_cv_search_gethostbyname+y}
19683 then :
19684 break
19686 done
19687 if test ${ac_cv_search_gethostbyname+y}
19688 then :
19690 else $as_nop
19691 ac_cv_search_gethostbyname=no
19693 rm conftest.$ac_ext
19694 LIBS=$ac_func_search_save_LIBS
19696 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
19697 printf "%s\n" "$ac_cv_search_gethostbyname" >&6; }
19698 ac_res=$ac_cv_search_gethostbyname
19699 if test "$ac_res" != no
19700 then :
19701 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19706 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
19707 printf %s "checking for library containing connect... " >&6; }
19708 if test ${ac_cv_search_connect+y}
19709 then :
19710 printf %s "(cached) " >&6
19711 else $as_nop
19712 ac_func_search_save_LIBS=$LIBS
19713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19714 /* end confdefs.h. */
19716 /* Override any GCC internal prototype to avoid an error.
19717 Use char because int might match the return type of a GCC
19718 builtin and then its argument prototype would still apply. */
19719 char connect ();
19721 main (void)
19723 return connect ();
19725 return 0;
19727 _ACEOF
19728 for ac_lib in '' socket
19730 if test -z "$ac_lib"; then
19731 ac_res="none required"
19732 else
19733 ac_res=-l$ac_lib
19734 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19736 if ac_fn_c_try_link "$LINENO"
19737 then :
19738 ac_cv_search_connect=$ac_res
19740 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19741 conftest$ac_exeext
19742 if test ${ac_cv_search_connect+y}
19743 then :
19744 break
19746 done
19747 if test ${ac_cv_search_connect+y}
19748 then :
19750 else $as_nop
19751 ac_cv_search_connect=no
19753 rm conftest.$ac_ext
19754 LIBS=$ac_func_search_save_LIBS
19756 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
19757 printf "%s\n" "$ac_cv_search_connect" >&6; }
19758 ac_res=$ac_cv_search_connect
19759 if test "$ac_res" != no
19760 then :
19761 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19766 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
19767 printf %s "checking for library containing inet_aton... " >&6; }
19768 if test ${ac_cv_search_inet_aton+y}
19769 then :
19770 printf %s "(cached) " >&6
19771 else $as_nop
19772 ac_func_search_save_LIBS=$LIBS
19773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19774 /* end confdefs.h. */
19776 /* Override any GCC internal prototype to avoid an error.
19777 Use char because int might match the return type of a GCC
19778 builtin and then its argument prototype would still apply. */
19779 char inet_aton ();
19781 main (void)
19783 return inet_aton ();
19785 return 0;
19787 _ACEOF
19788 for ac_lib in '' resolv
19790 if test -z "$ac_lib"; then
19791 ac_res="none required"
19792 else
19793 ac_res=-l$ac_lib
19794 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19796 if ac_fn_c_try_link "$LINENO"
19797 then :
19798 ac_cv_search_inet_aton=$ac_res
19800 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19801 conftest$ac_exeext
19802 if test ${ac_cv_search_inet_aton+y}
19803 then :
19804 break
19806 done
19807 if test ${ac_cv_search_inet_aton+y}
19808 then :
19810 else $as_nop
19811 ac_cv_search_inet_aton=no
19813 rm conftest.$ac_ext
19814 LIBS=$ac_func_search_save_LIBS
19816 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
19817 printf "%s\n" "$ac_cv_search_inet_aton" >&6; }
19818 ac_res=$ac_cv_search_inet_aton
19819 if test "$ac_res" != no
19820 then :
19821 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19826 ac_save_CFLAGS="$CFLAGS"
19827 CFLAGS="$CFLAGS $BUILTINFLAG"
19828 ac_fn_c_check_func "$LINENO" "dladdr1" "ac_cv_func_dladdr1"
19829 if test "x$ac_cv_func_dladdr1" = xyes
19830 then :
19831 printf "%s\n" "#define HAVE_DLADDR1 1" >>confdefs.h
19834 ac_fn_c_check_func "$LINENO" "dlinfo" "ac_cv_func_dlinfo"
19835 if test "x$ac_cv_func_dlinfo" = xyes
19836 then :
19837 printf "%s\n" "#define HAVE_DLINFO 1" >>confdefs.h
19840 ac_fn_c_check_func "$LINENO" "epoll_create" "ac_cv_func_epoll_create"
19841 if test "x$ac_cv_func_epoll_create" = xyes
19842 then :
19843 printf "%s\n" "#define HAVE_EPOLL_CREATE 1" >>confdefs.h
19846 ac_fn_c_check_func "$LINENO" "fstatfs" "ac_cv_func_fstatfs"
19847 if test "x$ac_cv_func_fstatfs" = xyes
19848 then :
19849 printf "%s\n" "#define HAVE_FSTATFS 1" >>confdefs.h
19852 ac_fn_c_check_func "$LINENO" "futimens" "ac_cv_func_futimens"
19853 if test "x$ac_cv_func_futimens" = xyes
19854 then :
19855 printf "%s\n" "#define HAVE_FUTIMENS 1" >>confdefs.h
19858 ac_fn_c_check_func "$LINENO" "futimes" "ac_cv_func_futimes"
19859 if test "x$ac_cv_func_futimes" = xyes
19860 then :
19861 printf "%s\n" "#define HAVE_FUTIMES 1" >>confdefs.h
19864 ac_fn_c_check_func "$LINENO" "futimesat" "ac_cv_func_futimesat"
19865 if test "x$ac_cv_func_futimesat" = xyes
19866 then :
19867 printf "%s\n" "#define HAVE_FUTIMESAT 1" >>confdefs.h
19870 ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
19871 if test "x$ac_cv_func_getaddrinfo" = xyes
19872 then :
19873 printf "%s\n" "#define HAVE_GETADDRINFO 1" >>confdefs.h
19876 ac_fn_c_check_func "$LINENO" "getattrlist" "ac_cv_func_getattrlist"
19877 if test "x$ac_cv_func_getattrlist" = xyes
19878 then :
19879 printf "%s\n" "#define HAVE_GETATTRLIST 1" >>confdefs.h
19882 ac_fn_c_check_func "$LINENO" "getauxval" "ac_cv_func_getauxval"
19883 if test "x$ac_cv_func_getauxval" = xyes
19884 then :
19885 printf "%s\n" "#define HAVE_GETAUXVAL 1" >>confdefs.h
19888 ac_fn_c_check_func "$LINENO" "getifaddrs" "ac_cv_func_getifaddrs"
19889 if test "x$ac_cv_func_getifaddrs" = xyes
19890 then :
19891 printf "%s\n" "#define HAVE_GETIFADDRS 1" >>confdefs.h
19894 ac_fn_c_check_func "$LINENO" "getrandom" "ac_cv_func_getrandom"
19895 if test "x$ac_cv_func_getrandom" = xyes
19896 then :
19897 printf "%s\n" "#define HAVE_GETRANDOM 1" >>confdefs.h
19900 ac_fn_c_check_func "$LINENO" "kqueue" "ac_cv_func_kqueue"
19901 if test "x$ac_cv_func_kqueue" = xyes
19902 then :
19903 printf "%s\n" "#define HAVE_KQUEUE 1" >>confdefs.h
19906 ac_fn_c_check_func "$LINENO" "mach_continuous_time" "ac_cv_func_mach_continuous_time"
19907 if test "x$ac_cv_func_mach_continuous_time" = xyes
19908 then :
19909 printf "%s\n" "#define HAVE_MACH_CONTINUOUS_TIME 1" >>confdefs.h
19912 ac_fn_c_check_func "$LINENO" "pipe2" "ac_cv_func_pipe2"
19913 if test "x$ac_cv_func_pipe2" = xyes
19914 then :
19915 printf "%s\n" "#define HAVE_PIPE2 1" >>confdefs.h
19918 ac_fn_c_check_func "$LINENO" "port_create" "ac_cv_func_port_create"
19919 if test "x$ac_cv_func_port_create" = xyes
19920 then :
19921 printf "%s\n" "#define HAVE_PORT_CREATE 1" >>confdefs.h
19924 ac_fn_c_check_func "$LINENO" "posix_fadvise" "ac_cv_func_posix_fadvise"
19925 if test "x$ac_cv_func_posix_fadvise" = xyes
19926 then :
19927 printf "%s\n" "#define HAVE_POSIX_FADVISE 1" >>confdefs.h
19930 ac_fn_c_check_func "$LINENO" "posix_fallocate" "ac_cv_func_posix_fallocate"
19931 if test "x$ac_cv_func_posix_fallocate" = xyes
19932 then :
19933 printf "%s\n" "#define HAVE_POSIX_FALLOCATE 1" >>confdefs.h
19936 ac_fn_c_check_func "$LINENO" "prctl" "ac_cv_func_prctl"
19937 if test "x$ac_cv_func_prctl" = xyes
19938 then :
19939 printf "%s\n" "#define HAVE_PRCTL 1" >>confdefs.h
19942 ac_fn_c_check_func "$LINENO" "proc_pidinfo" "ac_cv_func_proc_pidinfo"
19943 if test "x$ac_cv_func_proc_pidinfo" = xyes
19944 then :
19945 printf "%s\n" "#define HAVE_PROC_PIDINFO 1" >>confdefs.h
19948 ac_fn_c_check_func "$LINENO" "sched_yield" "ac_cv_func_sched_yield"
19949 if test "x$ac_cv_func_sched_yield" = xyes
19950 then :
19951 printf "%s\n" "#define HAVE_SCHED_YIELD 1" >>confdefs.h
19954 ac_fn_c_check_func "$LINENO" "setproctitle" "ac_cv_func_setproctitle"
19955 if test "x$ac_cv_func_setproctitle" = xyes
19956 then :
19957 printf "%s\n" "#define HAVE_SETPROCTITLE 1" >>confdefs.h
19960 ac_fn_c_check_func "$LINENO" "setprogname" "ac_cv_func_setprogname"
19961 if test "x$ac_cv_func_setprogname" = xyes
19962 then :
19963 printf "%s\n" "#define HAVE_SETPROGNAME 1" >>confdefs.h
19966 ac_fn_c_check_func "$LINENO" "sigprocmask" "ac_cv_func_sigprocmask"
19967 if test "x$ac_cv_func_sigprocmask" = xyes
19968 then :
19969 printf "%s\n" "#define HAVE_SIGPROCMASK 1" >>confdefs.h
19972 ac_fn_c_check_func "$LINENO" "sysinfo" "ac_cv_func_sysinfo"
19973 if test "x$ac_cv_func_sysinfo" = xyes
19974 then :
19975 printf "%s\n" "#define HAVE_SYSINFO 1" >>confdefs.h
19978 ac_fn_c_check_func "$LINENO" "tcdrain" "ac_cv_func_tcdrain"
19979 if test "x$ac_cv_func_tcdrain" = xyes
19980 then :
19981 printf "%s\n" "#define HAVE_TCDRAIN 1" >>confdefs.h
19984 ac_fn_c_check_func "$LINENO" "thr_kill2" "ac_cv_func_thr_kill2"
19985 if test "x$ac_cv_func_thr_kill2" = xyes
19986 then :
19987 printf "%s\n" "#define HAVE_THR_KILL2 1" >>confdefs.h
19991 CFLAGS="$ac_save_CFLAGS"
19993 case $host_os in
19994 darwin*|macosx*) ;;
19995 *) ac_save_LIBS=$LIBS
19996 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
19997 printf %s "checking for library containing clock_gettime... " >&6; }
19998 if test ${ac_cv_search_clock_gettime+y}
19999 then :
20000 printf %s "(cached) " >&6
20001 else $as_nop
20002 ac_func_search_save_LIBS=$LIBS
20003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20004 /* end confdefs.h. */
20006 /* Override any GCC internal prototype to avoid an error.
20007 Use char because int might match the return type of a GCC
20008 builtin and then its argument prototype would still apply. */
20009 char clock_gettime ();
20011 main (void)
20013 return clock_gettime ();
20015 return 0;
20017 _ACEOF
20018 for ac_lib in '' rt
20020 if test -z "$ac_lib"; then
20021 ac_res="none required"
20022 else
20023 ac_res=-l$ac_lib
20024 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20026 if ac_fn_c_try_link "$LINENO"
20027 then :
20028 ac_cv_search_clock_gettime=$ac_res
20030 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20031 conftest$ac_exeext
20032 if test ${ac_cv_search_clock_gettime+y}
20033 then :
20034 break
20036 done
20037 if test ${ac_cv_search_clock_gettime+y}
20038 then :
20040 else $as_nop
20041 ac_cv_search_clock_gettime=no
20043 rm conftest.$ac_ext
20044 LIBS=$ac_func_search_save_LIBS
20046 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
20047 printf "%s\n" "$ac_cv_search_clock_gettime" >&6; }
20048 ac_res=$ac_cv_search_clock_gettime
20049 if test "$ac_res" != no
20050 then :
20051 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20053 printf "%s\n" "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
20055 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
20059 LIBS=$ac_save_LIBS
20061 esac
20063 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
20064 printf %s "checking for sched_setaffinity... " >&6; }
20065 if test ${wine_cv_have_sched_setaffinity+y}
20066 then :
20067 printf %s "(cached) " >&6
20068 else $as_nop
20069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20070 /* end confdefs.h. */
20071 #include <sched.h>
20073 main (void)
20075 sched_setaffinity(0, 0, 0);
20077 return 0;
20079 _ACEOF
20080 if ac_fn_c_try_link "$LINENO"
20081 then :
20082 wine_cv_have_sched_setaffinity=yes
20083 else $as_nop
20084 wine_cv_have_sched_setaffinity=no
20086 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20087 conftest$ac_exeext conftest.$ac_ext
20089 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
20090 printf "%s\n" "$wine_cv_have_sched_setaffinity" >&6; }
20091 if test "$wine_cv_have_sched_setaffinity" = "yes"
20092 then
20094 printf "%s\n" "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
20099 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
20100 printf %s "checking for inline... " >&6; }
20101 if test ${ac_cv_c_inline+y}
20102 then :
20103 printf %s "(cached) " >&6
20104 else $as_nop
20105 ac_cv_c_inline=no
20106 for ac_kw in inline __inline__ __inline; do
20107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20108 /* end confdefs.h. */
20109 #ifndef __cplusplus
20110 typedef int foo_t;
20111 static $ac_kw foo_t static_foo (void) {return 0; }
20112 $ac_kw foo_t foo (void) {return 0; }
20113 #endif
20115 _ACEOF
20116 if ac_fn_c_try_compile "$LINENO"
20117 then :
20118 ac_cv_c_inline=$ac_kw
20120 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
20121 test "$ac_cv_c_inline" != no && break
20122 done
20125 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
20126 printf "%s\n" "$ac_cv_c_inline" >&6; }
20128 case $ac_cv_c_inline in
20129 inline | yes) ;;
20131 case $ac_cv_c_inline in
20132 no) ac_val=;;
20133 *) ac_val=$ac_cv_c_inline;;
20134 esac
20135 cat >>confdefs.h <<_ACEOF
20136 #ifndef __cplusplus
20137 #define inline $ac_val
20138 #endif
20139 _ACEOF
20141 esac
20143 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
20145 if test "x$ac_cv_type_request_sense" = xyes
20146 then :
20148 printf "%s\n" "#define HAVE_REQUEST_SENSE 1" >>confdefs.h
20154 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
20155 #include <sys/socket.h>
20156 #ifdef HAVE_SYS_SOCKETVAR_H
20157 #include <sys/socketvar.h>
20158 #endif
20159 #ifdef HAVE_NET_ROUTE_H
20160 #include <net/route.h>
20161 #endif
20162 #ifdef HAVE_NETINET_IN_H
20163 #include <netinet/in.h>
20164 #endif
20165 #ifdef HAVE_NETINET_IN_SYSTM_H
20166 #include <netinet/in_systm.h>
20167 #endif
20168 #ifdef HAVE_NETINET_IP_H
20169 #include <netinet/ip.h>
20170 #endif
20171 #ifdef HAVE_NETINET_IN_PCB_H
20172 #include <netinet/in_pcb.h>
20173 #endif
20175 if test "x$ac_cv_type_struct_xinpgen" = xyes
20176 then :
20178 printf "%s\n" "#define HAVE_STRUCT_XINPGEN 1" >>confdefs.h
20184 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
20185 printf %s "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
20186 if test ${wine_cv_linux_gethostbyname_r_6+y}
20187 then :
20188 printf %s "(cached) " >&6
20189 else $as_nop
20190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20191 /* end confdefs.h. */
20192 #include <netdb.h>
20194 main (void)
20197 char *name=0;
20198 struct hostent he;
20199 struct hostent *result;
20200 char *buf=0;
20201 int bufsize=0;
20202 int errnr;
20203 char *addr=0;
20204 int addrlen=0;
20205 int addrtype=0;
20206 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
20207 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
20210 return 0;
20212 _ACEOF
20213 if ac_fn_c_try_link "$LINENO"
20214 then :
20215 wine_cv_linux_gethostbyname_r_6=yes
20216 else $as_nop
20217 wine_cv_linux_gethostbyname_r_6=no
20220 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20221 conftest$ac_exeext conftest.$ac_ext
20224 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
20225 printf "%s\n" "$wine_cv_linux_gethostbyname_r_6" >&6; }
20226 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
20227 then
20229 printf "%s\n" "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
20233 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
20234 #include <sys/socket.h>
20235 #ifdef HAVE_SYS_UN_H
20236 # include <sys/un.h>
20237 #endif
20239 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes
20240 then :
20242 printf "%s\n" "#define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1" >>confdefs.h
20246 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
20247 #include <sys/socket.h>
20248 #ifdef HAVE_SYS_UN_H
20249 # include <sys/un.h>
20250 #endif
20252 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
20253 then :
20255 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1" >>confdefs.h
20261 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
20262 #ifdef HAVE_SCSI_SG_H
20263 #include <scsi/sg.h>
20264 #endif
20266 if test "x$ac_cv_member_scsireq_t_cmd" = xyes
20267 then :
20269 printf "%s\n" "#define HAVE_SCSIREQ_T_CMD 1" >>confdefs.h
20273 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>
20274 #ifdef HAVE_SCSI_SG_H
20275 #include <scsi/sg.h>
20276 #endif
20278 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
20279 then :
20281 printf "%s\n" "#define HAVE_SG_IO_HDR_T_INTERFACE_ID 1" >>confdefs.h
20287 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
20289 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
20290 then :
20292 printf "%s\n" "#define HAVE_SIGINFO_T_SI_FD 1" >>confdefs.h
20298 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
20299 #ifdef HAVE_SYS_MTIO_H
20300 #include <sys/mtio.h>
20301 #endif
20303 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes
20304 then :
20306 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKSIZ 1" >>confdefs.h
20310 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
20311 #ifdef HAVE_SYS_MTIO_H
20312 #include <sys/mtio.h>
20313 #endif
20315 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes
20316 then :
20318 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_GSTAT 1" >>confdefs.h
20322 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
20323 #ifdef HAVE_SYS_MTIO_H
20324 #include <sys/mtio.h>
20325 #endif
20327 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
20328 then :
20330 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKNO 1" >>confdefs.h
20336 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
20337 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
20338 then :
20340 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIM 1" >>confdefs.h
20344 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
20345 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes
20346 then :
20348 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIMESPEC 1" >>confdefs.h
20352 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
20353 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
20354 then :
20356 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIM 1" >>confdefs.h
20360 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
20361 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes
20362 then :
20364 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIMESPEC 1" >>confdefs.h
20368 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
20369 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
20370 then :
20372 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIM 1" >>confdefs.h
20376 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
20377 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes
20378 then :
20380 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIMESPEC 1" >>confdefs.h
20384 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
20385 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes
20386 then :
20388 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIME 1" >>confdefs.h
20392 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
20393 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes
20394 then :
20396 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIM 1" >>confdefs.h
20400 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
20401 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes
20402 then :
20404 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1" >>confdefs.h
20408 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
20409 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes
20410 then :
20412 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIME 1" >>confdefs.h
20416 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
20417 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes
20418 then :
20420 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIM 1" >>confdefs.h
20426 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>
20427 #ifdef HAVE_NETINET_IN_H
20428 #include <netinet/in.h>
20429 #endif
20431 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
20432 then :
20434 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1" >>confdefs.h
20440 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
20441 #include <resolv.h>
20442 #endif
20444 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes
20445 then :
20447 printf "%s\n" "#define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1" >>confdefs.h
20453 ac_fn_c_check_member "$LINENO" "struct in6_pktinfo" "ipi6_addr" "ac_cv_member_struct_in6_pktinfo_ipi6_addr" "#ifdef HAVE_NETINET_IN_H
20454 #include <netinet/in.h>
20455 #endif
20457 if test "x$ac_cv_member_struct_in6_pktinfo_ipi6_addr" = xyes
20458 then :
20460 printf "%s\n" "#define HAVE_STRUCT_IN6_PKTINFO_IPI6_ADDR 1" >>confdefs.h
20466 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#include <sys/types.h>
20467 #ifdef HAVE_SYS_SOCKETVAR_H
20468 #include <sys/socketvar.h>
20469 #endif
20470 #ifdef HAVE_NETINET_IN_H
20471 #include <netinet/in.h>
20472 #endif
20473 #ifdef HAVE_NETINET_IP_VAR_H
20474 #include <netinet/ip_var.h>
20475 #endif
20477 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes
20478 then :
20480 printf "%s\n" "#define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1" >>confdefs.h
20486 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
20487 #include <netinet/ip_var.h>
20488 #endif
20490 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes
20491 then :
20493 printf "%s\n" "#define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1" >>confdefs.h
20499 ac_fn_c_check_member "$LINENO" "struct ip6stat" "ip6s_total" "ac_cv_member_struct_ip6stat_ip6s_total" "#include <sys/types.h>
20500 #ifdef HAVE_SYS_SOCKETVAR_H
20501 #include <sys/socketvar.h>
20502 #endif
20503 #ifdef HAVE_NETINET_IN_H
20504 #include <netinet/in.h>
20505 #endif
20506 #ifdef HAVE_NETINET6_IP6_VAR_H
20507 #include <netinet6/ip6_var.h>
20508 #endif
20510 if test "x$ac_cv_member_struct_ip6stat_ip6s_total" = xyes
20511 then :
20513 printf "%s\n" "#define HAVE_STRUCT_IP6STAT_IP6S_TOTAL 1" >>confdefs.h
20519 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_error" "ac_cv_member_struct_icmpstat_icps_error" "#include <sys/types.h>
20520 #ifdef HAVE_SYS_SOCKETVAR_H
20521 #include <sys/socketvar.h>
20522 #endif
20523 #ifdef HAVE_NETINET_IN_H
20524 #include <netinet/in.h>
20525 #endif
20526 #ifdef HAVE_NETINET_IP_H
20527 #include <netinet/ip.h>
20528 #endif
20529 #ifdef HAVE_NETINET_IP_ICMP_H
20530 #include <netinet/ip_icmp.h>
20531 #endif
20532 #ifdef HAVE_NETINET_ICMP_VAR_H
20533 #include <netinet/icmp_var.h>
20534 #endif
20536 if test "x$ac_cv_member_struct_icmpstat_icps_error" = xyes
20537 then :
20539 printf "%s\n" "#define HAVE_STRUCT_ICMPSTAT_ICPS_ERROR 1" >>confdefs.h
20545 ac_fn_c_check_member "$LINENO" "struct icmp6stat" "icp6s_error" "ac_cv_member_struct_icmp6stat_icp6s_error" "#include <sys/types.h>
20546 #ifdef HAVE_SYS_SOCKETVAR_H
20547 #include <sys/socketvar.h>
20548 #endif
20549 #ifdef HAVE_NETINET_IN_H
20550 #include <netinet/in.h>
20551 #endif
20552 #ifdef HAVE_NETINET_ICMP6_H
20553 #include <netinet/icmp6.h>
20554 #endif
20556 if test "x$ac_cv_member_struct_icmp6stat_icp6s_error" = xyes
20557 then :
20559 printf "%s\n" "#define HAVE_STRUCT_ICMP6STAT_ICP6S_ERROR 1" >>confdefs.h
20565 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#include <sys/types.h>
20566 #ifdef HAVE_SYS_SOCKETVAR_H
20567 #include <sys/socketvar.h>
20568 #endif
20569 #ifdef HAVE_NETINET_IN_H
20570 #include <netinet/in.h>
20571 #endif
20572 #ifdef HAVE_NETINET_TCP_H
20573 #include <netinet/tcp.h>
20574 #endif
20575 #ifdef HAVE_NETINET_TCP_VAR_H
20576 #include <netinet/tcp_var.h>
20577 #endif
20579 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes
20580 then :
20582 printf "%s\n" "#define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1" >>confdefs.h
20588 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
20589 #include <netinet/tcp_var.h>
20590 #endif
20592 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes
20593 then :
20595 printf "%s\n" "#define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1" >>confdefs.h
20601 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#include <sys/types.h>
20602 #ifdef HAVE_NETINET_IN_H
20603 #include <netinet/in.h>
20604 #endif
20605 #ifdef HAVE_NETINET_IP_VAR_H
20606 #include <netinet/ip_var.h>
20607 #endif
20608 #ifdef HAVE_NETINET_UDP_H
20609 #include <netinet/udp.h>
20610 #endif
20611 #ifdef HAVE_NETINET_UDP_VAR_H
20612 #include <netinet/udp_var.h>
20613 #endif
20615 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes
20616 then :
20618 printf "%s\n" "#define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1" >>confdefs.h
20624 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#include <sys/types.h>
20625 #ifdef HAVE_NET_IF_H
20626 # include <net/if.h>
20627 #endif
20629 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
20630 then :
20632 printf "%s\n" "#define HAVE_STRUCT_IFREQ_IFR_HWADDR 1" >>confdefs.h
20638 ac_fn_c_check_member "$LINENO" "struct sysinfo" "totalram" "ac_cv_member_struct_sysinfo_totalram" "#ifdef HAVE_SYS_SYSINFO_H
20639 # include <sys/sysinfo.h>
20640 #endif
20642 if test "x$ac_cv_member_struct_sysinfo_totalram" = xyes
20643 then :
20645 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_TOTALRAM 1" >>confdefs.h
20649 ac_fn_c_check_member "$LINENO" "struct sysinfo" "mem_unit" "ac_cv_member_struct_sysinfo_mem_unit" "#ifdef HAVE_SYS_SYSINFO_H
20650 # include <sys/sysinfo.h>
20651 #endif
20653 if test "x$ac_cv_member_struct_sysinfo_mem_unit" = xyes
20654 then :
20656 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_MEM_UNIT 1" >>confdefs.h
20662 LIBS="$ac_save_LIBS"
20664 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
20665 printf %s "checking for __builtin_popcount... " >&6; }
20666 if test ${ac_cv_have___builtin_popcount+y}
20667 then :
20668 printf %s "(cached) " >&6
20669 else $as_nop
20670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20671 /* end confdefs.h. */
20674 main (void)
20676 return __builtin_popcount(1)
20678 return 0;
20680 _ACEOF
20681 if ac_fn_c_try_link "$LINENO"
20682 then :
20683 ac_cv_have___builtin_popcount="yes"
20684 else $as_nop
20685 ac_cv_have___builtin_popcount="no"
20687 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20688 conftest$ac_exeext conftest.$ac_ext
20690 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
20691 printf "%s\n" "$ac_cv_have___builtin_popcount" >&6; }
20692 if test "$ac_cv_have___builtin_popcount" = "yes"
20693 then
20695 printf "%s\n" "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
20699 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
20700 printf %s "checking for __clear_cache... " >&6; }
20701 if test ${ac_cv_have___clear_cache+y}
20702 then :
20703 printf %s "(cached) " >&6
20704 else $as_nop
20705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20706 /* end confdefs.h. */
20709 main (void)
20711 __clear_cache((void*)0, (void*)0); return 0;
20713 return 0;
20715 _ACEOF
20716 if ac_fn_c_try_link "$LINENO"
20717 then :
20718 ac_cv_have___clear_cache="yes"
20719 else $as_nop
20720 ac_cv_have___clear_cache="no"
20722 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20723 conftest$ac_exeext conftest.$ac_ext
20725 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
20726 printf "%s\n" "$ac_cv_have___clear_cache" >&6; }
20727 if test "$ac_cv_have___clear_cache" = "yes"
20728 then
20730 printf "%s\n" "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
20735 case $host_cpu in
20736 *i[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
20737 printf %s "checking whether we need to define __i386__... " >&6; }
20738 if test ${ac_cv_cpp_def___i386__+y}
20739 then :
20740 printf %s "(cached) " >&6
20741 else $as_nop
20742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20743 /* end confdefs.h. */
20744 #ifndef __i386__
20746 #endif
20747 _ACEOF
20748 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20749 $EGREP "yes" >/dev/null 2>&1
20750 then :
20751 ac_cv_cpp_def___i386__=yes
20752 else $as_nop
20753 ac_cv_cpp_def___i386__=no
20755 rm -rf conftest*
20758 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
20759 printf "%s\n" "$ac_cv_cpp_def___i386__" >&6; }
20760 if test "x$ac_cv_cpp_def___i386__" = xyes
20761 then :
20762 CFLAGS="$CFLAGS -D__i386__"
20763 LINTFLAGS="$LINTFLAGS -D__i386__"
20764 fi ;;
20765 *x86_64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
20766 printf %s "checking whether we need to define __x86_64__... " >&6; }
20767 if test ${ac_cv_cpp_def___x86_64__+y}
20768 then :
20769 printf %s "(cached) " >&6
20770 else $as_nop
20771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20772 /* end confdefs.h. */
20773 #ifndef __x86_64__
20775 #endif
20776 _ACEOF
20777 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20778 $EGREP "yes" >/dev/null 2>&1
20779 then :
20780 ac_cv_cpp_def___x86_64__=yes
20781 else $as_nop
20782 ac_cv_cpp_def___x86_64__=no
20784 rm -rf conftest*
20787 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
20788 printf "%s\n" "$ac_cv_cpp_def___x86_64__" >&6; }
20789 if test "x$ac_cv_cpp_def___x86_64__" = xyes
20790 then :
20791 CFLAGS="$CFLAGS -D__x86_64__"
20792 LINTFLAGS="$LINTFLAGS -D__x86_64__"
20793 fi ;;
20794 *sparc64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
20795 printf %s "checking whether we need to define __sparc64__... " >&6; }
20796 if test ${ac_cv_cpp_def___sparc64__+y}
20797 then :
20798 printf %s "(cached) " >&6
20799 else $as_nop
20800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20801 /* end confdefs.h. */
20802 #ifndef __sparc64__
20804 #endif
20805 _ACEOF
20806 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20807 $EGREP "yes" >/dev/null 2>&1
20808 then :
20809 ac_cv_cpp_def___sparc64__=yes
20810 else $as_nop
20811 ac_cv_cpp_def___sparc64__=no
20813 rm -rf conftest*
20816 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
20817 printf "%s\n" "$ac_cv_cpp_def___sparc64__" >&6; }
20818 if test "x$ac_cv_cpp_def___sparc64__" = xyes
20819 then :
20820 CFLAGS="$CFLAGS -D__sparc64__"
20821 LINTFLAGS="$LINTFLAGS -D__sparc64__"
20822 fi ;;
20823 *sparc*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
20824 printf %s "checking whether we need to define __sparc__... " >&6; }
20825 if test ${ac_cv_cpp_def___sparc__+y}
20826 then :
20827 printf %s "(cached) " >&6
20828 else $as_nop
20829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20830 /* end confdefs.h. */
20831 #ifndef __sparc__
20833 #endif
20834 _ACEOF
20835 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20836 $EGREP "yes" >/dev/null 2>&1
20837 then :
20838 ac_cv_cpp_def___sparc__=yes
20839 else $as_nop
20840 ac_cv_cpp_def___sparc__=no
20842 rm -rf conftest*
20845 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
20846 printf "%s\n" "$ac_cv_cpp_def___sparc__" >&6; }
20847 if test "x$ac_cv_cpp_def___sparc__" = xyes
20848 then :
20849 CFLAGS="$CFLAGS -D__sparc__"
20850 LINTFLAGS="$LINTFLAGS -D__sparc__"
20851 fi ;;
20852 *powerpc64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
20853 printf %s "checking whether we need to define __powerpc64__... " >&6; }
20854 if test ${ac_cv_cpp_def___powerpc64__+y}
20855 then :
20856 printf %s "(cached) " >&6
20857 else $as_nop
20858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20859 /* end confdefs.h. */
20860 #ifndef __powerpc64__
20862 #endif
20863 _ACEOF
20864 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20865 $EGREP "yes" >/dev/null 2>&1
20866 then :
20867 ac_cv_cpp_def___powerpc64__=yes
20868 else $as_nop
20869 ac_cv_cpp_def___powerpc64__=no
20871 rm -rf conftest*
20874 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
20875 printf "%s\n" "$ac_cv_cpp_def___powerpc64__" >&6; }
20876 if test "x$ac_cv_cpp_def___powerpc64__" = xyes
20877 then :
20878 CFLAGS="$CFLAGS -D__powerpc64__"
20879 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
20880 fi ;;
20881 *powerpc*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
20882 printf %s "checking whether we need to define __powerpc__... " >&6; }
20883 if test ${ac_cv_cpp_def___powerpc__+y}
20884 then :
20885 printf %s "(cached) " >&6
20886 else $as_nop
20887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20888 /* end confdefs.h. */
20889 #ifndef __powerpc__
20891 #endif
20892 _ACEOF
20893 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20894 $EGREP "yes" >/dev/null 2>&1
20895 then :
20896 ac_cv_cpp_def___powerpc__=yes
20897 else $as_nop
20898 ac_cv_cpp_def___powerpc__=no
20900 rm -rf conftest*
20903 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
20904 printf "%s\n" "$ac_cv_cpp_def___powerpc__" >&6; }
20905 if test "x$ac_cv_cpp_def___powerpc__" = xyes
20906 then :
20907 CFLAGS="$CFLAGS -D__powerpc__"
20908 LINTFLAGS="$LINTFLAGS -D__powerpc__"
20909 fi ;;
20910 *aarch64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
20911 printf %s "checking whether we need to define __aarch64__... " >&6; }
20912 if test ${ac_cv_cpp_def___aarch64__+y}
20913 then :
20914 printf %s "(cached) " >&6
20915 else $as_nop
20916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20917 /* end confdefs.h. */
20918 #ifndef __aarch64__
20920 #endif
20921 _ACEOF
20922 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20923 $EGREP "yes" >/dev/null 2>&1
20924 then :
20925 ac_cv_cpp_def___aarch64__=yes
20926 else $as_nop
20927 ac_cv_cpp_def___aarch64__=no
20929 rm -rf conftest*
20932 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
20933 printf "%s\n" "$ac_cv_cpp_def___aarch64__" >&6; }
20934 if test "x$ac_cv_cpp_def___aarch64__" = xyes
20935 then :
20936 CFLAGS="$CFLAGS -D__aarch64__"
20937 LINTFLAGS="$LINTFLAGS -D__aarch64__"
20938 fi ;;
20939 *arm*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
20940 printf %s "checking whether we need to define __arm__... " >&6; }
20941 if test ${ac_cv_cpp_def___arm__+y}
20942 then :
20943 printf %s "(cached) " >&6
20944 else $as_nop
20945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20946 /* end confdefs.h. */
20947 #ifndef __arm__
20949 #endif
20950 _ACEOF
20951 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20952 $EGREP "yes" >/dev/null 2>&1
20953 then :
20954 ac_cv_cpp_def___arm__=yes
20955 else $as_nop
20956 ac_cv_cpp_def___arm__=no
20958 rm -rf conftest*
20961 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
20962 printf "%s\n" "$ac_cv_cpp_def___arm__" >&6; }
20963 if test "x$ac_cv_cpp_def___arm__" = xyes
20964 then :
20965 CFLAGS="$CFLAGS -D__arm__"
20966 LINTFLAGS="$LINTFLAGS -D__arm__"
20967 fi ;;
20968 esac
20970 case $host_vendor in
20971 *sun*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
20972 printf %s "checking whether we need to define __sun__... " >&6; }
20973 if test ${ac_cv_cpp_def___sun__+y}
20974 then :
20975 printf %s "(cached) " >&6
20976 else $as_nop
20977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20978 /* end confdefs.h. */
20979 #ifndef __sun__
20981 #endif
20982 _ACEOF
20983 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20984 $EGREP "yes" >/dev/null 2>&1
20985 then :
20986 ac_cv_cpp_def___sun__=yes
20987 else $as_nop
20988 ac_cv_cpp_def___sun__=no
20990 rm -rf conftest*
20993 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
20994 printf "%s\n" "$ac_cv_cpp_def___sun__" >&6; }
20995 if test "x$ac_cv_cpp_def___sun__" = xyes
20996 then :
20997 CFLAGS="$CFLAGS -D__sun__"
20998 LINTFLAGS="$LINTFLAGS -D__sun__"
20999 fi ;;
21000 esac
21006 ac_config_commands="$ac_config_commands include/stamp-h"
21008 printf %s "creating Makefile rules..." >&6
21010 makedep_flags=""
21011 test "x$enable_silent_rules" = xyes && makedep_flags="$makedep_flags -S"
21013 wine_srcdir=
21014 test "$srcdir" = . || wine_srcdir="$srcdir/"
21016 ac_config_links="$ac_config_links wine:tools/winewrapper"
21017 wine_fn_config_symlink wine
21018 if test "$HOST_ARCH" = x86_64 -o -n "$with_wine64"; then
21019 ac_config_links="$ac_config_links wine64:tools/winewrapper"
21020 wine_fn_config_symlink wine64
21023 wine_fn_config_makefile dlls/acledit enable_acledit
21024 wine_fn_config_makefile dlls/aclui enable_aclui
21025 wine_fn_config_makefile dlls/activeds.tlb enable_activeds_tlb
21026 wine_fn_config_makefile dlls/activeds enable_activeds
21027 wine_fn_config_makefile dlls/activeds/tests enable_tests
21028 wine_fn_config_makefile dlls/actxprxy enable_actxprxy
21029 wine_fn_config_makefile dlls/adsldp enable_adsldp
21030 wine_fn_config_makefile dlls/adsldp/tests enable_tests
21031 wine_fn_config_makefile dlls/adsldpc enable_adsldpc
21032 wine_fn_config_makefile dlls/advapi32 enable_advapi32
21033 wine_fn_config_makefile dlls/advapi32/tests enable_tests
21034 wine_fn_config_makefile dlls/advpack enable_advpack
21035 wine_fn_config_makefile dlls/advpack/tests enable_tests
21036 wine_fn_config_makefile dlls/amsi enable_amsi
21037 wine_fn_config_makefile dlls/amstream enable_amstream
21038 wine_fn_config_makefile dlls/amstream/tests enable_tests
21039 wine_fn_config_makefile dlls/apisetschema enable_apisetschema
21040 wine_fn_config_makefile dlls/apphelp enable_apphelp
21041 wine_fn_config_makefile dlls/apphelp/tests enable_tests
21042 wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
21043 wine_fn_config_makefile dlls/atl enable_atl
21044 wine_fn_config_makefile dlls/atl/tests enable_tests
21045 wine_fn_config_makefile dlls/atl100 enable_atl100
21046 wine_fn_config_makefile dlls/atl100/tests enable_tests
21047 wine_fn_config_makefile dlls/atl110 enable_atl110
21048 wine_fn_config_makefile dlls/atl110/tests enable_tests
21049 wine_fn_config_makefile dlls/atl80 enable_atl80
21050 wine_fn_config_makefile dlls/atl80/tests enable_tests
21051 wine_fn_config_makefile dlls/atl90 enable_atl90
21052 wine_fn_config_makefile dlls/atlthunk enable_atlthunk
21053 wine_fn_config_makefile dlls/atlthunk/tests enable_tests
21054 wine_fn_config_makefile dlls/atmlib enable_atmlib
21055 wine_fn_config_makefile dlls/authz enable_authz
21056 wine_fn_config_makefile dlls/avicap32 enable_avicap32
21057 wine_fn_config_makefile dlls/avifil32 enable_avifil32
21058 wine_fn_config_makefile dlls/avifil32/tests enable_tests
21059 wine_fn_config_makefile dlls/avifile.dll16 enable_win16
21060 wine_fn_config_makefile dlls/avrt enable_avrt
21061 wine_fn_config_makefile dlls/bcrypt enable_bcrypt
21062 wine_fn_config_makefile dlls/bcrypt/tests enable_tests
21063 wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
21064 wine_fn_config_makefile dlls/browseui enable_browseui
21065 wine_fn_config_makefile dlls/browseui/tests enable_tests
21066 wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
21067 wine_fn_config_makefile dlls/cabinet enable_cabinet
21068 wine_fn_config_makefile dlls/cabinet/tests enable_tests
21069 wine_fn_config_makefile dlls/capi2032 enable_capi2032
21070 wine_fn_config_makefile dlls/cards enable_cards
21071 wine_fn_config_makefile dlls/cdosys enable_cdosys
21072 wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
21073 wine_fn_config_makefile dlls/clusapi enable_clusapi
21074 wine_fn_config_makefile dlls/cng.sys enable_cng_sys
21075 wine_fn_config_makefile dlls/combase enable_combase
21076 wine_fn_config_makefile dlls/combase/tests enable_tests
21077 wine_fn_config_makefile dlls/comcat enable_comcat
21078 wine_fn_config_makefile dlls/comcat/tests enable_tests
21079 wine_fn_config_makefile dlls/comctl32 enable_comctl32
21080 wine_fn_config_makefile dlls/comctl32/tests enable_tests
21081 wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
21082 wine_fn_config_makefile dlls/comdlg32/tests enable_tests
21083 wine_fn_config_makefile dlls/comm.drv16 enable_win16
21084 wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
21085 wine_fn_config_makefile dlls/compobj.dll16 enable_win16
21086 wine_fn_config_makefile dlls/compstui enable_compstui
21087 wine_fn_config_makefile dlls/compstui/tests enable_tests
21088 wine_fn_config_makefile dlls/comsvcs enable_comsvcs
21089 wine_fn_config_makefile dlls/comsvcs/tests enable_tests
21090 wine_fn_config_makefile dlls/concrt140 enable_concrt140
21091 wine_fn_config_makefile dlls/concrt140/tests enable_tests
21092 wine_fn_config_makefile dlls/connect enable_connect
21093 wine_fn_config_makefile dlls/credui enable_credui
21094 wine_fn_config_makefile dlls/credui/tests enable_tests
21095 wine_fn_config_makefile dlls/crtdll enable_crtdll
21096 wine_fn_config_makefile dlls/crypt32 enable_crypt32
21097 wine_fn_config_makefile dlls/crypt32/tests enable_tests
21098 wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
21099 wine_fn_config_makefile dlls/cryptdll enable_cryptdll
21100 wine_fn_config_makefile dlls/cryptext enable_cryptext
21101 wine_fn_config_makefile dlls/cryptnet enable_cryptnet
21102 wine_fn_config_makefile dlls/cryptnet/tests enable_tests
21103 wine_fn_config_makefile dlls/cryptowinrt enable_cryptowinrt
21104 wine_fn_config_makefile dlls/cryptowinrt/tests enable_tests
21105 wine_fn_config_makefile dlls/cryptsp enable_cryptsp
21106 wine_fn_config_makefile dlls/cryptui enable_cryptui
21107 wine_fn_config_makefile dlls/cryptui/tests enable_tests
21108 wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
21109 wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
21110 wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
21111 wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
21112 wine_fn_config_makefile dlls/d2d1 enable_d2d1
21113 wine_fn_config_makefile dlls/d2d1/tests enable_tests
21114 wine_fn_config_makefile dlls/d3d10 enable_d3d10
21115 wine_fn_config_makefile dlls/d3d10/tests enable_tests
21116 wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
21117 wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
21118 wine_fn_config_makefile dlls/d3d10core enable_d3d10core
21119 wine_fn_config_makefile dlls/d3d10core/tests enable_tests
21120 wine_fn_config_makefile dlls/d3d11 enable_d3d11
21121 wine_fn_config_makefile dlls/d3d11/tests enable_tests
21122 wine_fn_config_makefile dlls/d3d12 enable_d3d12
21123 wine_fn_config_makefile dlls/d3d12/tests enable_tests
21124 wine_fn_config_makefile dlls/d3d12core enable_d3d12core
21125 wine_fn_config_makefile dlls/d3d8 enable_d3d8
21126 wine_fn_config_makefile dlls/d3d8/tests enable_tests
21127 wine_fn_config_makefile dlls/d3d8thk enable_d3d8thk
21128 wine_fn_config_makefile dlls/d3d9 enable_d3d9
21129 wine_fn_config_makefile dlls/d3d9/tests enable_tests
21130 wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
21131 wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
21132 wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
21133 wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
21134 wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
21135 wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
21136 wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
21137 wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
21138 wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
21139 wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
21140 wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
21141 wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
21142 wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
21143 wine_fn_config_makefile dlls/d3dcompiler_46/tests enable_tests
21144 wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
21145 wine_fn_config_makefile dlls/d3dcompiler_47/tests enable_tests
21146 wine_fn_config_makefile dlls/d3dim enable_d3dim
21147 wine_fn_config_makefile dlls/d3dim700 enable_d3dim700
21148 wine_fn_config_makefile dlls/d3drm enable_d3drm
21149 wine_fn_config_makefile dlls/d3drm/tests enable_tests
21150 wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
21151 wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
21152 wine_fn_config_makefile dlls/d3dx10_34/tests enable_tests
21153 wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
21154 wine_fn_config_makefile dlls/d3dx10_35/tests enable_tests
21155 wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
21156 wine_fn_config_makefile dlls/d3dx10_36/tests enable_tests
21157 wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
21158 wine_fn_config_makefile dlls/d3dx10_37/tests enable_tests
21159 wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
21160 wine_fn_config_makefile dlls/d3dx10_38/tests enable_tests
21161 wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
21162 wine_fn_config_makefile dlls/d3dx10_39/tests enable_tests
21163 wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
21164 wine_fn_config_makefile dlls/d3dx10_40/tests enable_tests
21165 wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
21166 wine_fn_config_makefile dlls/d3dx10_41/tests enable_tests
21167 wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
21168 wine_fn_config_makefile dlls/d3dx10_42/tests enable_tests
21169 wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
21170 wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
21171 wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
21172 wine_fn_config_makefile dlls/d3dx11_42/tests enable_tests
21173 wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
21174 wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
21175 wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
21176 wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
21177 wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
21178 wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
21179 wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
21180 wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
21181 wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
21182 wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
21183 wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
21184 wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
21185 wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
21186 wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
21187 wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
21188 wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
21189 wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
21190 wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
21191 wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
21192 wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
21193 wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
21194 wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
21195 wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
21196 wine_fn_config_makefile dlls/d3dxof enable_d3dxof
21197 wine_fn_config_makefile dlls/d3dxof/tests enable_tests
21198 wine_fn_config_makefile dlls/davclnt enable_davclnt
21199 wine_fn_config_makefile dlls/dbgeng enable_dbgeng
21200 wine_fn_config_makefile dlls/dbgeng/tests enable_tests
21201 wine_fn_config_makefile dlls/dbghelp enable_dbghelp
21202 wine_fn_config_makefile dlls/dbghelp/tests enable_tests
21203 wine_fn_config_makefile dlls/dciman32 enable_dciman32
21204 wine_fn_config_makefile dlls/dcomp enable_dcomp
21205 wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
21206 wine_fn_config_makefile dlls/ddraw enable_ddraw
21207 wine_fn_config_makefile dlls/ddraw/tests enable_tests
21208 wine_fn_config_makefile dlls/ddrawex enable_ddrawex
21209 wine_fn_config_makefile dlls/ddrawex/tests enable_tests
21210 wine_fn_config_makefile dlls/devenum enable_devenum
21211 wine_fn_config_makefile dlls/devenum/tests enable_tests
21212 wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
21213 wine_fn_config_makefile dlls/dhcpcsvc/tests enable_tests
21214 wine_fn_config_makefile dlls/dhcpcsvc6 enable_dhcpcsvc6
21215 wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
21216 wine_fn_config_makefile dlls/diasymreader enable_diasymreader
21217 wine_fn_config_makefile dlls/difxapi enable_difxapi
21218 wine_fn_config_makefile dlls/dinput enable_dinput
21219 wine_fn_config_makefile dlls/dinput/tests enable_tests
21220 wine_fn_config_makefile dlls/dinput8 enable_dinput8
21221 wine_fn_config_makefile dlls/directmanipulation enable_directmanipulation
21222 wine_fn_config_makefile dlls/directmanipulation/tests enable_tests
21223 wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
21224 wine_fn_config_makefile dlls/dispex enable_dispex
21225 wine_fn_config_makefile dlls/dispex/tests enable_tests
21226 wine_fn_config_makefile dlls/display.drv16 enable_win16
21227 wine_fn_config_makefile dlls/dmband enable_dmband
21228 wine_fn_config_makefile dlls/dmband/tests enable_tests
21229 wine_fn_config_makefile dlls/dmcompos enable_dmcompos
21230 wine_fn_config_makefile dlls/dmcompos/tests enable_tests
21231 wine_fn_config_makefile dlls/dmime enable_dmime
21232 wine_fn_config_makefile dlls/dmime/tests enable_tests
21233 wine_fn_config_makefile dlls/dmloader enable_dmloader
21234 wine_fn_config_makefile dlls/dmloader/tests enable_tests
21235 wine_fn_config_makefile dlls/dmscript enable_dmscript
21236 wine_fn_config_makefile dlls/dmscript/tests enable_tests
21237 wine_fn_config_makefile dlls/dmstyle enable_dmstyle
21238 wine_fn_config_makefile dlls/dmstyle/tests enable_tests
21239 wine_fn_config_makefile dlls/dmsynth enable_dmsynth
21240 wine_fn_config_makefile dlls/dmsynth/tests enable_tests
21241 wine_fn_config_makefile dlls/dmusic enable_dmusic
21242 wine_fn_config_makefile dlls/dmusic/tests enable_tests
21243 wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
21244 wine_fn_config_makefile dlls/dnsapi enable_dnsapi
21245 wine_fn_config_makefile dlls/dnsapi/tests enable_tests
21246 wine_fn_config_makefile dlls/dplay enable_dplay
21247 wine_fn_config_makefile dlls/dplayx enable_dplayx
21248 wine_fn_config_makefile dlls/dplayx/tests enable_tests
21249 wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
21250 wine_fn_config_makefile dlls/dpnet enable_dpnet
21251 wine_fn_config_makefile dlls/dpnet/tests enable_tests
21252 wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
21253 wine_fn_config_makefile dlls/dpnhupnp enable_dpnhupnp
21254 wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
21255 wine_fn_config_makefile dlls/dpvoice enable_dpvoice
21256 wine_fn_config_makefile dlls/dpvoice/tests enable_tests
21257 wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
21258 wine_fn_config_makefile dlls/drmclien enable_drmclien
21259 wine_fn_config_makefile dlls/dsdmo enable_dsdmo
21260 wine_fn_config_makefile dlls/dsdmo/tests enable_tests
21261 wine_fn_config_makefile dlls/dsound enable_dsound
21262 wine_fn_config_makefile dlls/dsound/tests enable_tests
21263 wine_fn_config_makefile dlls/dsquery enable_dsquery
21264 wine_fn_config_makefile dlls/dssenh enable_dssenh
21265 wine_fn_config_makefile dlls/dssenh/tests enable_tests
21266 wine_fn_config_makefile dlls/dsuiext enable_dsuiext
21267 wine_fn_config_makefile dlls/dswave enable_dswave
21268 wine_fn_config_makefile dlls/dswave/tests enable_tests
21269 wine_fn_config_makefile dlls/dwmapi enable_dwmapi
21270 wine_fn_config_makefile dlls/dwmapi/tests enable_tests
21271 wine_fn_config_makefile dlls/dwrite enable_dwrite
21272 wine_fn_config_makefile dlls/dwrite/tests enable_tests
21273 wine_fn_config_makefile dlls/dx8vb enable_dx8vb
21274 wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
21275 wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
21276 wine_fn_config_makefile dlls/dxgi enable_dxgi
21277 wine_fn_config_makefile dlls/dxgi/tests enable_tests
21278 wine_fn_config_makefile dlls/dxtrans enable_dxtrans
21279 wine_fn_config_makefile dlls/dxva2 enable_dxva2
21280 wine_fn_config_makefile dlls/dxva2/tests enable_tests
21281 wine_fn_config_makefile dlls/esent enable_esent
21282 wine_fn_config_makefile dlls/evr enable_evr
21283 wine_fn_config_makefile dlls/evr/tests enable_tests
21284 wine_fn_config_makefile dlls/explorerframe enable_explorerframe
21285 wine_fn_config_makefile dlls/explorerframe/tests enable_tests
21286 wine_fn_config_makefile dlls/faultrep enable_faultrep
21287 wine_fn_config_makefile dlls/faultrep/tests enable_tests
21288 wine_fn_config_makefile dlls/feclient enable_feclient
21289 wine_fn_config_makefile dlls/fltlib enable_fltlib
21290 wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
21291 wine_fn_config_makefile dlls/fntcache enable_fntcache
21292 wine_fn_config_makefile dlls/fontsub enable_fontsub
21293 wine_fn_config_makefile dlls/fusion enable_fusion
21294 wine_fn_config_makefile dlls/fusion/tests enable_tests
21295 wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
21296 wine_fn_config_makefile dlls/gameux enable_gameux
21297 wine_fn_config_makefile dlls/gameux/tests enable_tests
21298 wine_fn_config_makefile dlls/gamingtcui enable_gamingtcui
21299 wine_fn_config_makefile dlls/gdi.exe16 enable_win16
21300 wine_fn_config_makefile dlls/gdi32 enable_gdi32
21301 wine_fn_config_makefile dlls/gdi32/tests enable_tests
21302 wine_fn_config_makefile dlls/gdiplus enable_gdiplus
21303 wine_fn_config_makefile dlls/gdiplus/tests enable_tests
21304 wine_fn_config_makefile dlls/glu32 enable_glu32
21305 wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
21306 wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
21307 wine_fn_config_makefile dlls/hal enable_hal
21308 wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
21309 wine_fn_config_makefile dlls/hid enable_hid
21310 wine_fn_config_makefile dlls/hid/tests enable_tests
21311 wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
21312 wine_fn_config_makefile dlls/hidparse.sys enable_hidparse_sys
21313 wine_fn_config_makefile dlls/hlink enable_hlink
21314 wine_fn_config_makefile dlls/hlink/tests enable_tests
21315 wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
21316 wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
21317 wine_fn_config_makefile dlls/http.sys enable_http_sys
21318 wine_fn_config_makefile dlls/httpapi enable_httpapi
21319 wine_fn_config_makefile dlls/httpapi/tests enable_tests
21320 wine_fn_config_makefile dlls/ia2comproxy enable_ia2comproxy
21321 wine_fn_config_makefile dlls/iccvid enable_iccvid
21322 wine_fn_config_makefile dlls/icmp enable_icmp
21323 wine_fn_config_makefile dlls/ieframe enable_ieframe
21324 wine_fn_config_makefile dlls/ieframe/tests enable_tests
21325 wine_fn_config_makefile dlls/ieproxy enable_ieproxy
21326 wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
21327 wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
21328 wine_fn_config_makefile dlls/imagehlp enable_imagehlp
21329 wine_fn_config_makefile dlls/imagehlp/tests enable_tests
21330 wine_fn_config_makefile dlls/imm.dll16 enable_win16
21331 wine_fn_config_makefile dlls/imm32 enable_imm32
21332 wine_fn_config_makefile dlls/imm32/tests enable_tests
21333 wine_fn_config_makefile dlls/inetcomm enable_inetcomm
21334 wine_fn_config_makefile dlls/inetcomm/tests enable_tests
21335 wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
21336 wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
21337 wine_fn_config_makefile dlls/inetmib1/tests enable_tests
21338 wine_fn_config_makefile dlls/infosoft enable_infosoft
21339 wine_fn_config_makefile dlls/infosoft/tests enable_tests
21340 wine_fn_config_makefile dlls/initpki enable_initpki
21341 wine_fn_config_makefile dlls/inkobj enable_inkobj
21342 wine_fn_config_makefile dlls/inseng enable_inseng
21343 wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
21344 wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
21345 wine_fn_config_makefile dlls/iprop enable_iprop
21346 wine_fn_config_makefile dlls/ir50_32 enable_ir50_32
21347 wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
21348 wine_fn_config_makefile dlls/itircl enable_itircl
21349 wine_fn_config_makefile dlls/itss enable_itss
21350 wine_fn_config_makefile dlls/itss/tests enable_tests
21351 wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
21352 wine_fn_config_makefile dlls/jscript enable_jscript
21353 wine_fn_config_makefile dlls/jscript/tests enable_tests
21354 wine_fn_config_makefile dlls/jsproxy enable_jsproxy
21355 wine_fn_config_makefile dlls/jsproxy/tests enable_tests
21356 wine_fn_config_makefile dlls/kerberos enable_kerberos
21357 wine_fn_config_makefile dlls/kernel32 enable_kernel32
21358 wine_fn_config_makefile dlls/kernel32/tests enable_tests
21359 wine_fn_config_makefile dlls/kernelbase enable_kernelbase
21360 wine_fn_config_makefile dlls/kernelbase/tests enable_tests
21361 wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
21362 wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
21363 wine_fn_config_makefile dlls/ksecdd.sys enable_ksecdd_sys
21364 wine_fn_config_makefile dlls/ksproxy.ax enable_ksproxy_ax
21365 wine_fn_config_makefile dlls/ksuser enable_ksuser
21366 wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
21367 wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
21368 wine_fn_config_makefile dlls/light.msstyles enable_light_msstyles
21369 wine_fn_config_makefile dlls/loadperf enable_loadperf
21370 wine_fn_config_makefile dlls/localspl enable_localspl
21371 wine_fn_config_makefile dlls/localspl/tests enable_tests
21372 wine_fn_config_makefile dlls/localui enable_localui
21373 wine_fn_config_makefile dlls/localui/tests enable_tests
21374 wine_fn_config_makefile dlls/lz32 enable_lz32
21375 wine_fn_config_makefile dlls/lz32/tests enable_tests
21376 wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
21377 wine_fn_config_makefile dlls/mapi32 enable_mapi32
21378 wine_fn_config_makefile dlls/mapi32/tests enable_tests
21379 wine_fn_config_makefile dlls/mapistub enable_mapistub
21380 wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
21381 wine_fn_config_makefile dlls/mcicda enable_mcicda
21382 wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
21383 wine_fn_config_makefile dlls/mciseq enable_mciseq
21384 wine_fn_config_makefile dlls/mciwave enable_mciwave
21385 wine_fn_config_makefile dlls/mf enable_mf
21386 wine_fn_config_makefile dlls/mf/tests enable_tests
21387 wine_fn_config_makefile dlls/mf3216 enable_mf3216
21388 wine_fn_config_makefile dlls/mferror enable_mferror
21389 wine_fn_config_makefile dlls/mfmediaengine enable_mfmediaengine
21390 wine_fn_config_makefile dlls/mfmediaengine/tests enable_tests
21391 wine_fn_config_makefile dlls/mfplat enable_mfplat
21392 wine_fn_config_makefile dlls/mfplat/tests enable_tests
21393 wine_fn_config_makefile dlls/mfplay enable_mfplay
21394 wine_fn_config_makefile dlls/mfplay/tests enable_tests
21395 wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
21396 wine_fn_config_makefile dlls/mfreadwrite/tests enable_tests
21397 wine_fn_config_makefile dlls/mfsrcsnk enable_mfsrcsnk
21398 wine_fn_config_makefile dlls/mfsrcsnk/tests enable_tests
21399 wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
21400 wine_fn_config_makefile dlls/midimap enable_midimap
21401 wine_fn_config_makefile dlls/mlang enable_mlang
21402 wine_fn_config_makefile dlls/mlang/tests enable_tests
21403 wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
21404 wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
21405 wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
21406 wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
21407 wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
21408 wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
21409 wine_fn_config_makefile dlls/monodebg.vxd enable_win16
21410 wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
21411 wine_fn_config_makefile dlls/mouse.drv16 enable_win16
21412 wine_fn_config_makefile dlls/mp3dmod enable_mp3dmod
21413 wine_fn_config_makefile dlls/mp3dmod/tests enable_tests
21414 wine_fn_config_makefile dlls/mpr enable_mpr
21415 wine_fn_config_makefile dlls/mpr/tests enable_tests
21416 wine_fn_config_makefile dlls/mprapi enable_mprapi
21417 wine_fn_config_makefile dlls/msacm.dll16 enable_win16
21418 wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
21419 wine_fn_config_makefile dlls/msacm32 enable_msacm32
21420 wine_fn_config_makefile dlls/msacm32/tests enable_tests
21421 wine_fn_config_makefile dlls/msado15 enable_msado15
21422 wine_fn_config_makefile dlls/msado15/tests enable_tests
21423 wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
21424 wine_fn_config_makefile dlls/msasn1 enable_msasn1
21425 wine_fn_config_makefile dlls/msasn1/tests enable_tests
21426 wine_fn_config_makefile dlls/msauddecmft enable_msauddecmft
21427 wine_fn_config_makefile dlls/mscat32 enable_mscat32
21428 wine_fn_config_makefile dlls/mscms enable_mscms
21429 wine_fn_config_makefile dlls/mscms/tests enable_tests
21430 wine_fn_config_makefile dlls/mscoree enable_mscoree
21431 wine_fn_config_makefile dlls/mscoree/tests enable_tests
21432 wine_fn_config_makefile dlls/mscorwks enable_mscorwks
21433 wine_fn_config_makefile dlls/msctf enable_msctf
21434 wine_fn_config_makefile dlls/msctf/tests enable_tests
21435 wine_fn_config_makefile dlls/msctfmonitor enable_msctfmonitor
21436 wine_fn_config_makefile dlls/msctfp enable_msctfp
21437 wine_fn_config_makefile dlls/msdaps enable_msdaps
21438 wine_fn_config_makefile dlls/msdasql enable_msdasql
21439 wine_fn_config_makefile dlls/msdasql/tests enable_tests
21440 wine_fn_config_makefile dlls/msdelta enable_msdelta
21441 wine_fn_config_makefile dlls/msdmo enable_msdmo
21442 wine_fn_config_makefile dlls/msdmo/tests enable_tests
21443 wine_fn_config_makefile dlls/msdrm enable_msdrm
21444 wine_fn_config_makefile dlls/msftedit enable_msftedit
21445 wine_fn_config_makefile dlls/msftedit/tests enable_tests
21446 wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
21447 wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
21448 wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
21449 wine_fn_config_makefile dlls/mshtml enable_mshtml
21450 wine_fn_config_makefile dlls/mshtml/tests enable_tests
21451 wine_fn_config_makefile dlls/msi enable_msi
21452 wine_fn_config_makefile dlls/msi/tests enable_tests
21453 wine_fn_config_makefile dlls/msident enable_msident
21454 wine_fn_config_makefile dlls/msimg32 enable_msimg32
21455 wine_fn_config_makefile dlls/msimsg enable_msimsg
21456 wine_fn_config_makefile dlls/msimtf enable_msimtf
21457 wine_fn_config_makefile dlls/msisip enable_msisip
21458 wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
21459 wine_fn_config_makefile dlls/msls31 enable_msls31
21460 wine_fn_config_makefile dlls/msmpeg2vdec enable_msmpeg2vdec
21461 wine_fn_config_makefile dlls/msnet32 enable_msnet32
21462 wine_fn_config_makefile dlls/mspatcha enable_mspatcha
21463 wine_fn_config_makefile dlls/mspatcha/tests enable_tests
21464 wine_fn_config_makefile dlls/msports enable_msports
21465 wine_fn_config_makefile dlls/msrle32 enable_msrle32
21466 wine_fn_config_makefile dlls/msrle32/tests enable_tests
21467 wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
21468 wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
21469 wine_fn_config_makefile dlls/mssign32 enable_mssign32
21470 wine_fn_config_makefile dlls/mssip32 enable_mssip32
21471 wine_fn_config_makefile dlls/mstask enable_mstask
21472 wine_fn_config_makefile dlls/mstask/tests enable_tests
21473 wine_fn_config_makefile dlls/msv1_0 enable_msv1_0
21474 wine_fn_config_makefile dlls/msvcirt enable_msvcirt
21475 wine_fn_config_makefile dlls/msvcirt/tests enable_tests
21476 wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
21477 wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
21478 wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
21479 wine_fn_config_makefile dlls/msvcp100/tests enable_tests
21480 wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
21481 wine_fn_config_makefile dlls/msvcp110/tests enable_tests
21482 wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
21483 wine_fn_config_makefile dlls/msvcp120/tests enable_tests
21484 wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
21485 wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
21486 wine_fn_config_makefile dlls/msvcp140/tests enable_tests
21487 wine_fn_config_makefile dlls/msvcp140_1 enable_msvcp140_1
21488 wine_fn_config_makefile dlls/msvcp140_1/tests enable_tests
21489 wine_fn_config_makefile dlls/msvcp140_2 enable_msvcp140_2
21490 wine_fn_config_makefile dlls/msvcp140_atomic_wait enable_msvcp140_atomic_wait
21491 wine_fn_config_makefile dlls/msvcp140_atomic_wait/tests enable_tests
21492 wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
21493 wine_fn_config_makefile dlls/msvcp60/tests enable_tests
21494 wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
21495 wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
21496 wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
21497 wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
21498 wine_fn_config_makefile dlls/msvcp90/tests enable_tests
21499 wine_fn_config_makefile dlls/msvcp_win enable_msvcp_win
21500 wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
21501 wine_fn_config_makefile dlls/msvcr100/tests enable_tests
21502 wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
21503 wine_fn_config_makefile dlls/msvcr110/tests enable_tests
21504 wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
21505 wine_fn_config_makefile dlls/msvcr120/tests enable_tests
21506 wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
21507 wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
21508 wine_fn_config_makefile dlls/msvcr70/tests enable_tests
21509 wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
21510 wine_fn_config_makefile dlls/msvcr71/tests enable_tests
21511 wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
21512 wine_fn_config_makefile dlls/msvcr80/tests enable_tests
21513 wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
21514 wine_fn_config_makefile dlls/msvcr90/tests enable_tests
21515 wine_fn_config_makefile dlls/msvcrt enable_msvcrt
21516 wine_fn_config_makefile dlls/msvcrt/tests enable_tests
21517 wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
21518 wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
21519 wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
21520 wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
21521 wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
21522 wine_fn_config_makefile dlls/msvfw32/tests enable_tests
21523 wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
21524 wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
21525 wine_fn_config_makefile dlls/mswsock enable_mswsock
21526 wine_fn_config_makefile dlls/msxml enable_msxml
21527 wine_fn_config_makefile dlls/msxml2 enable_msxml2
21528 wine_fn_config_makefile dlls/msxml3 enable_msxml3
21529 wine_fn_config_makefile dlls/msxml3/tests enable_tests
21530 wine_fn_config_makefile dlls/msxml4 enable_msxml4
21531 wine_fn_config_makefile dlls/msxml6 enable_msxml6
21532 wine_fn_config_makefile dlls/mtxdm enable_mtxdm
21533 wine_fn_config_makefile dlls/ncrypt enable_ncrypt
21534 wine_fn_config_makefile dlls/ncrypt/tests enable_tests
21535 wine_fn_config_makefile dlls/nddeapi enable_nddeapi
21536 wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
21537 wine_fn_config_makefile dlls/ndis.sys/tests enable_tests
21538 wine_fn_config_makefile dlls/netapi32 enable_netapi32
21539 wine_fn_config_makefile dlls/netapi32/tests enable_tests
21540 wine_fn_config_makefile dlls/netcfgx enable_netcfgx
21541 wine_fn_config_makefile dlls/netcfgx/tests enable_tests
21542 wine_fn_config_makefile dlls/netio.sys enable_netio_sys
21543 wine_fn_config_makefile dlls/netprofm enable_netprofm
21544 wine_fn_config_makefile dlls/netprofm/tests enable_tests
21545 wine_fn_config_makefile dlls/netutils enable_netutils
21546 wine_fn_config_makefile dlls/newdev enable_newdev
21547 wine_fn_config_makefile dlls/ninput enable_ninput
21548 wine_fn_config_makefile dlls/ninput/tests enable_tests
21549 wine_fn_config_makefile dlls/normaliz enable_normaliz
21550 wine_fn_config_makefile dlls/npmshtml enable_npmshtml
21551 wine_fn_config_makefile dlls/npptools enable_npptools
21552 wine_fn_config_makefile dlls/nsi enable_nsi
21553 wine_fn_config_makefile dlls/nsi/tests enable_tests
21554 wine_fn_config_makefile dlls/nsiproxy.sys enable_nsiproxy_sys
21555 wine_fn_config_makefile dlls/ntdll enable_ntdll
21556 wine_fn_config_makefile dlls/ntdll/tests enable_tests
21557 wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
21558 wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
21559 wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
21560 wine_fn_config_makefile dlls/ntoskrnl.exe/tests enable_tests
21561 wine_fn_config_makefile dlls/ntprint enable_ntprint
21562 wine_fn_config_makefile dlls/ntprint/tests enable_tests
21563 wine_fn_config_makefile dlls/objsel enable_objsel
21564 wine_fn_config_makefile dlls/odbc32 enable_odbc32
21565 wine_fn_config_makefile dlls/odbcbcp enable_odbcbcp
21566 wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
21567 wine_fn_config_makefile dlls/odbccp32/tests enable_tests
21568 wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
21569 wine_fn_config_makefile dlls/ole2.dll16 enable_win16
21570 wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
21571 wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
21572 wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
21573 wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
21574 wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
21575 wine_fn_config_makefile dlls/ole32 enable_ole32
21576 wine_fn_config_makefile dlls/ole32/tests enable_tests
21577 wine_fn_config_makefile dlls/oleacc enable_oleacc
21578 wine_fn_config_makefile dlls/oleacc/tests enable_tests
21579 wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
21580 wine_fn_config_makefile dlls/oleaut32/tests enable_tests
21581 wine_fn_config_makefile dlls/olecli.dll16 enable_win16
21582 wine_fn_config_makefile dlls/olecli32 enable_olecli32
21583 wine_fn_config_makefile dlls/oledb32 enable_oledb32
21584 wine_fn_config_makefile dlls/oledb32/tests enable_tests
21585 wine_fn_config_makefile dlls/oledlg enable_oledlg
21586 wine_fn_config_makefile dlls/oledlg/tests enable_tests
21587 wine_fn_config_makefile dlls/olepro32 enable_olepro32
21588 wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
21589 wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
21590 wine_fn_config_makefile dlls/olethk32 enable_olethk32
21591 wine_fn_config_makefile dlls/opcservices enable_opcservices
21592 wine_fn_config_makefile dlls/opcservices/tests enable_tests
21593 wine_fn_config_makefile dlls/opencl enable_opencl
21594 wine_fn_config_makefile dlls/opengl32 enable_opengl32
21595 wine_fn_config_makefile dlls/opengl32/tests enable_tests
21596 wine_fn_config_makefile dlls/packager enable_packager
21597 wine_fn_config_makefile dlls/packager/tests enable_tests
21598 wine_fn_config_makefile dlls/pdh enable_pdh
21599 wine_fn_config_makefile dlls/pdh/tests enable_tests
21600 wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
21601 wine_fn_config_makefile dlls/pidgen enable_pidgen
21602 wine_fn_config_makefile dlls/powrprof enable_powrprof
21603 wine_fn_config_makefile dlls/printui enable_printui
21604 wine_fn_config_makefile dlls/prntvpt enable_prntvpt
21605 wine_fn_config_makefile dlls/prntvpt/tests enable_tests
21606 wine_fn_config_makefile dlls/propsys enable_propsys
21607 wine_fn_config_makefile dlls/propsys/tests enable_tests
21608 wine_fn_config_makefile dlls/psapi enable_psapi
21609 wine_fn_config_makefile dlls/psapi/tests enable_tests
21610 wine_fn_config_makefile dlls/pstorec enable_pstorec
21611 wine_fn_config_makefile dlls/pstorec/tests enable_tests
21612 wine_fn_config_makefile dlls/pwrshplugin enable_pwrshplugin
21613 wine_fn_config_makefile dlls/qasf enable_qasf
21614 wine_fn_config_makefile dlls/qasf/tests enable_tests
21615 wine_fn_config_makefile dlls/qcap enable_qcap
21616 wine_fn_config_makefile dlls/qcap/tests enable_tests
21617 wine_fn_config_makefile dlls/qdvd enable_qdvd
21618 wine_fn_config_makefile dlls/qdvd/tests enable_tests
21619 wine_fn_config_makefile dlls/qedit enable_qedit
21620 wine_fn_config_makefile dlls/qedit/tests enable_tests
21621 wine_fn_config_makefile dlls/qmgr enable_qmgr
21622 wine_fn_config_makefile dlls/qmgr/tests enable_tests
21623 wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
21624 wine_fn_config_makefile dlls/quartz enable_quartz
21625 wine_fn_config_makefile dlls/quartz/tests enable_tests
21626 wine_fn_config_makefile dlls/query enable_query
21627 wine_fn_config_makefile dlls/qwave enable_qwave
21628 wine_fn_config_makefile dlls/qwave/tests enable_tests
21629 wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
21630 wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
21631 wine_fn_config_makefile dlls/rasapi32/tests enable_tests
21632 wine_fn_config_makefile dlls/rasdlg enable_rasdlg
21633 wine_fn_config_makefile dlls/regapi enable_regapi
21634 wine_fn_config_makefile dlls/resutils enable_resutils
21635 wine_fn_config_makefile dlls/riched20 enable_riched20
21636 wine_fn_config_makefile dlls/riched20/tests enable_tests
21637 wine_fn_config_makefile dlls/riched32 enable_riched32
21638 wine_fn_config_makefile dlls/riched32/tests enable_tests
21639 wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
21640 wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
21641 wine_fn_config_makefile dlls/rsabase enable_rsabase
21642 wine_fn_config_makefile dlls/rsaenh enable_rsaenh
21643 wine_fn_config_makefile dlls/rsaenh/tests enable_tests
21644 wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
21645 wine_fn_config_makefile dlls/rtutils enable_rtutils
21646 wine_fn_config_makefile dlls/rtworkq enable_rtworkq
21647 wine_fn_config_makefile dlls/rtworkq/tests enable_tests
21648 wine_fn_config_makefile dlls/samlib enable_samlib
21649 wine_fn_config_makefile dlls/sane.ds enable_sane_ds
21650 wine_fn_config_makefile dlls/sapi enable_sapi
21651 wine_fn_config_makefile dlls/sapi/tests enable_tests
21652 wine_fn_config_makefile dlls/sas enable_sas
21653 wine_fn_config_makefile dlls/scarddlg enable_scarddlg
21654 wine_fn_config_makefile dlls/scardsvr enable_scardsvr
21655 wine_fn_config_makefile dlls/sccbase enable_sccbase
21656 wine_fn_config_makefile dlls/schannel enable_schannel
21657 wine_fn_config_makefile dlls/schannel/tests enable_tests
21658 wine_fn_config_makefile dlls/schedsvc enable_schedsvc
21659 wine_fn_config_makefile dlls/schedsvc/tests enable_tests
21660 wine_fn_config_makefile dlls/scrobj enable_scrobj
21661 wine_fn_config_makefile dlls/scrobj/tests enable_tests
21662 wine_fn_config_makefile dlls/scrrun enable_scrrun
21663 wine_fn_config_makefile dlls/scrrun/tests enable_tests
21664 wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
21665 wine_fn_config_makefile dlls/sechost enable_sechost
21666 wine_fn_config_makefile dlls/secur32 enable_secur32
21667 wine_fn_config_makefile dlls/secur32/tests enable_tests
21668 wine_fn_config_makefile dlls/security enable_security
21669 wine_fn_config_makefile dlls/sensapi enable_sensapi
21670 wine_fn_config_makefile dlls/serialui enable_serialui
21671 wine_fn_config_makefile dlls/serialui/tests enable_tests
21672 wine_fn_config_makefile dlls/setupapi enable_setupapi
21673 wine_fn_config_makefile dlls/setupapi/tests enable_tests
21674 wine_fn_config_makefile dlls/setupx.dll16 enable_win16
21675 wine_fn_config_makefile dlls/sfc enable_sfc
21676 wine_fn_config_makefile dlls/sfc_os enable_sfc_os
21677 wine_fn_config_makefile dlls/shcore enable_shcore
21678 wine_fn_config_makefile dlls/shcore/tests enable_tests
21679 wine_fn_config_makefile dlls/shdoclc enable_shdoclc
21680 wine_fn_config_makefile dlls/shdocvw enable_shdocvw
21681 wine_fn_config_makefile dlls/shdocvw/tests enable_tests
21682 wine_fn_config_makefile dlls/shell.dll16 enable_win16
21683 wine_fn_config_makefile dlls/shell32 enable_shell32
21684 wine_fn_config_makefile dlls/shell32/tests enable_tests
21685 wine_fn_config_makefile dlls/shfolder enable_shfolder
21686 wine_fn_config_makefile dlls/shlwapi enable_shlwapi
21687 wine_fn_config_makefile dlls/shlwapi/tests enable_tests
21688 wine_fn_config_makefile dlls/slbcsp enable_slbcsp
21689 wine_fn_config_makefile dlls/slc enable_slc
21690 wine_fn_config_makefile dlls/slc/tests enable_tests
21691 wine_fn_config_makefile dlls/snmpapi enable_snmpapi
21692 wine_fn_config_makefile dlls/snmpapi/tests enable_tests
21693 wine_fn_config_makefile dlls/softpub enable_softpub
21694 wine_fn_config_makefile dlls/sound.drv16 enable_win16
21695 wine_fn_config_makefile dlls/spoolss enable_spoolss
21696 wine_fn_config_makefile dlls/spoolss/tests enable_tests
21697 wine_fn_config_makefile dlls/sppc enable_sppc
21698 wine_fn_config_makefile dlls/srclient enable_srclient
21699 wine_fn_config_makefile dlls/srvcli enable_srvcli
21700 wine_fn_config_makefile dlls/sspicli enable_sspicli
21701 wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
21702 wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
21703 wine_fn_config_makefile dlls/sti enable_sti
21704 wine_fn_config_makefile dlls/sti/tests enable_tests
21705 wine_fn_config_makefile dlls/storage.dll16 enable_win16
21706 wine_fn_config_makefile dlls/stress.dll16 enable_win16
21707 wine_fn_config_makefile dlls/strmdll enable_strmdll
21708 wine_fn_config_makefile dlls/svrapi enable_svrapi
21709 wine_fn_config_makefile dlls/sxs enable_sxs
21710 wine_fn_config_makefile dlls/sxs/tests enable_tests
21711 wine_fn_config_makefile dlls/system.drv16 enable_win16
21712 wine_fn_config_makefile dlls/t2embed enable_t2embed
21713 wine_fn_config_makefile dlls/t2embed/tests enable_tests
21714 wine_fn_config_makefile dlls/tapi32 enable_tapi32
21715 wine_fn_config_makefile dlls/tapi32/tests enable_tests
21716 wine_fn_config_makefile dlls/taskschd enable_taskschd
21717 wine_fn_config_makefile dlls/taskschd/tests enable_tests
21718 wine_fn_config_makefile dlls/tbs enable_tbs
21719 wine_fn_config_makefile dlls/tdh enable_tdh
21720 wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
21721 wine_fn_config_makefile dlls/threadpoolwinrt enable_threadpoolwinrt
21722 wine_fn_config_makefile dlls/threadpoolwinrt/tests enable_tests
21723 wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
21724 wine_fn_config_makefile dlls/traffic enable_traffic
21725 wine_fn_config_makefile dlls/twain.dll16 enable_win16
21726 wine_fn_config_makefile dlls/twain_32 enable_twain_32
21727 wine_fn_config_makefile dlls/twain_32/tests enable_tests
21728 wine_fn_config_makefile dlls/typelib.dll16 enable_win16
21729 wine_fn_config_makefile dlls/tzres enable_tzres
21730 wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
21731 wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
21732 wine_fn_config_makefile dlls/uianimation enable_uianimation
21733 wine_fn_config_makefile dlls/uianimation/tests enable_tests
21734 wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
21735 wine_fn_config_makefile dlls/uiautomationcore/tests enable_tests
21736 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
21737 wine_fn_config_makefile dlls/unicows enable_unicows
21738 wine_fn_config_makefile dlls/updspapi enable_updspapi
21739 wine_fn_config_makefile dlls/url enable_url
21740 wine_fn_config_makefile dlls/urlmon enable_urlmon
21741 wine_fn_config_makefile dlls/urlmon/tests enable_tests
21742 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
21743 wine_fn_config_makefile dlls/user.exe16 enable_win16
21744 wine_fn_config_makefile dlls/user32 enable_user32
21745 wine_fn_config_makefile dlls/user32/tests enable_tests
21746 wine_fn_config_makefile dlls/userenv enable_userenv
21747 wine_fn_config_makefile dlls/userenv/tests enable_tests
21748 wine_fn_config_makefile dlls/usp10 enable_usp10
21749 wine_fn_config_makefile dlls/usp10/tests enable_tests
21750 wine_fn_config_makefile dlls/utildll enable_utildll
21751 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
21752 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
21753 wine_fn_config_makefile dlls/vbscript enable_vbscript
21754 wine_fn_config_makefile dlls/vbscript/tests enable_tests
21755 wine_fn_config_makefile dlls/vcomp enable_vcomp
21756 wine_fn_config_makefile dlls/vcomp/tests enable_tests
21757 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
21758 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
21759 wine_fn_config_makefile dlls/vcomp110/tests enable_tests
21760 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
21761 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
21762 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
21763 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
21764 wine_fn_config_makefile dlls/vcruntime140_1 enable_vcruntime140_1
21765 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
21766 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
21767 wine_fn_config_makefile dlls/ver.dll16 enable_win16
21768 wine_fn_config_makefile dlls/version enable_version
21769 wine_fn_config_makefile dlls/version/tests enable_tests
21770 wine_fn_config_makefile dlls/vga enable_vga
21771 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
21772 wine_fn_config_makefile dlls/virtdisk/tests enable_tests
21773 wine_fn_config_makefile dlls/vmm.vxd enable_win16
21774 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
21775 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
21776 wine_fn_config_makefile dlls/vssapi enable_vssapi
21777 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
21778 wine_fn_config_makefile dlls/vulkan-1 enable_vulkan_1
21779 wine_fn_config_makefile dlls/vulkan-1/tests enable_tests
21780 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
21781 wine_fn_config_makefile dlls/w32skrnl enable_win16
21782 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
21783 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
21784 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
21785 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
21786 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
21787 wine_fn_config_makefile dlls/wdscore enable_wdscore
21788 wine_fn_config_makefile dlls/webservices enable_webservices
21789 wine_fn_config_makefile dlls/webservices/tests enable_tests
21790 wine_fn_config_makefile dlls/websocket enable_websocket
21791 wine_fn_config_makefile dlls/wer enable_wer
21792 wine_fn_config_makefile dlls/wer/tests enable_tests
21793 wine_fn_config_makefile dlls/wevtapi enable_wevtapi
21794 wine_fn_config_makefile dlls/wevtapi/tests enable_tests
21795 wine_fn_config_makefile dlls/wevtsvc enable_wevtsvc
21796 wine_fn_config_makefile dlls/wiaservc enable_wiaservc
21797 wine_fn_config_makefile dlls/wiaservc/tests enable_tests
21798 wine_fn_config_makefile dlls/wimgapi enable_wimgapi
21799 wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
21800 wine_fn_config_makefile dlls/win32u enable_win32u
21801 wine_fn_config_makefile dlls/win32u/tests enable_tests
21802 wine_fn_config_makefile dlls/win87em.dll16 enable_win16
21803 wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
21804 wine_fn_config_makefile dlls/windebug.dll16 enable_win16
21805 wine_fn_config_makefile dlls/windows.devices.enumeration enable_windows_devices_enumeration
21806 wine_fn_config_makefile dlls/windows.devices.enumeration/tests enable_tests
21807 wine_fn_config_makefile dlls/windows.gaming.input enable_windows_gaming_input
21808 wine_fn_config_makefile dlls/windows.gaming.input/tests enable_tests
21809 wine_fn_config_makefile dlls/windows.gaming.ui.gamebar enable_windows_gaming_ui_gamebar
21810 wine_fn_config_makefile dlls/windows.gaming.ui.gamebar/tests enable_tests
21811 wine_fn_config_makefile dlls/windows.globalization enable_windows_globalization
21812 wine_fn_config_makefile dlls/windows.globalization/tests enable_tests
21813 wine_fn_config_makefile dlls/windows.media.devices enable_windows_media_devices
21814 wine_fn_config_makefile dlls/windows.media.devices/tests enable_tests
21815 wine_fn_config_makefile dlls/windows.media.speech enable_windows_media_speech
21816 wine_fn_config_makefile dlls/windows.media.speech/tests enable_tests
21817 wine_fn_config_makefile dlls/windows.media enable_windows_media
21818 wine_fn_config_makefile dlls/windows.media/tests enable_tests
21819 wine_fn_config_makefile dlls/windows.networking enable_windows_networking
21820 wine_fn_config_makefile dlls/windows.perception.stub enable_windows_perception_stub
21821 wine_fn_config_makefile dlls/windows.perception.stub/tests enable_tests
21822 wine_fn_config_makefile dlls/windows.system.profile.systemmanufacturers enable_windows_system_profile_systemmanufacturers
21823 wine_fn_config_makefile dlls/windows.system.profile.systemmanufacturers/tests enable_tests
21824 wine_fn_config_makefile dlls/windows.ui enable_windows_ui
21825 wine_fn_config_makefile dlls/windows.ui/tests enable_tests
21826 wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
21827 wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
21828 wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
21829 wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
21830 wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
21831 wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
21832 wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
21833 wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
21834 wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
21835 wine_fn_config_makefile dlls/wined3d enable_wined3d
21836 wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
21837 wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
21838 wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
21839 wine_fn_config_makefile dlls/winemapi enable_winemapi
21840 wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
21841 wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
21842 wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
21843 wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
21844 wine_fn_config_makefile dlls/wineusb.sys enable_wineusb_sys
21845 wine_fn_config_makefile dlls/winevulkan enable_winevulkan
21846 wine_fn_config_makefile dlls/winewayland.drv enable_winewayland_drv
21847 wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
21848 wine_fn_config_makefile dlls/winexinput.sys enable_winexinput_sys
21849 wine_fn_config_makefile dlls/wing.dll16 enable_win16
21850 wine_fn_config_makefile dlls/wing32 enable_wing32
21851 wine_fn_config_makefile dlls/winhttp enable_winhttp
21852 wine_fn_config_makefile dlls/winhttp/tests enable_tests
21853 wine_fn_config_makefile dlls/wininet enable_wininet
21854 wine_fn_config_makefile dlls/wininet/tests enable_tests
21855 wine_fn_config_makefile dlls/winmm enable_winmm
21856 wine_fn_config_makefile dlls/winmm/tests enable_tests
21857 wine_fn_config_makefile dlls/winnls.dll16 enable_win16
21858 wine_fn_config_makefile dlls/winnls32 enable_winnls32
21859 wine_fn_config_makefile dlls/winprint enable_winprint
21860 wine_fn_config_makefile dlls/winscard enable_winscard
21861 wine_fn_config_makefile dlls/winscard/tests enable_tests
21862 wine_fn_config_makefile dlls/winsock.dll16 enable_win16
21863 wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
21864 wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
21865 wine_fn_config_makefile dlls/winsta enable_winsta
21866 wine_fn_config_makefile dlls/wintab.dll16 enable_win16
21867 wine_fn_config_makefile dlls/wintab32 enable_wintab32
21868 wine_fn_config_makefile dlls/wintab32/tests enable_tests
21869 wine_fn_config_makefile dlls/wintrust enable_wintrust
21870 wine_fn_config_makefile dlls/wintrust/tests enable_tests
21871 wine_fn_config_makefile dlls/wintypes enable_wintypes
21872 wine_fn_config_makefile dlls/wintypes/tests enable_tests
21873 wine_fn_config_makefile dlls/winusb enable_winusb
21874 wine_fn_config_makefile dlls/wlanapi enable_wlanapi
21875 wine_fn_config_makefile dlls/wlanapi/tests enable_tests
21876 wine_fn_config_makefile dlls/wlanui enable_wlanui
21877 wine_fn_config_makefile dlls/wldap32 enable_wldap32
21878 wine_fn_config_makefile dlls/wldap32/tests enable_tests
21879 wine_fn_config_makefile dlls/wmasf enable_wmasf
21880 wine_fn_config_makefile dlls/wmi enable_wmi
21881 wine_fn_config_makefile dlls/wmiutils enable_wmiutils
21882 wine_fn_config_makefile dlls/wmiutils/tests enable_tests
21883 wine_fn_config_makefile dlls/wmp enable_wmp
21884 wine_fn_config_makefile dlls/wmp/tests enable_tests
21885 wine_fn_config_makefile dlls/wmphoto enable_wmphoto
21886 wine_fn_config_makefile dlls/wmvcore enable_wmvcore
21887 wine_fn_config_makefile dlls/wmvcore/tests enable_tests
21888 wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
21889 wine_fn_config_makefile dlls/wofutil enable_wofutil
21890 wine_fn_config_makefile dlls/wow32 enable_win16
21891 wine_fn_config_makefile dlls/wow64 enable_wow64
21892 wine_fn_config_makefile dlls/wow64cpu enable_wow64cpu
21893 wine_fn_config_makefile dlls/wow64win enable_wow64win
21894 wine_fn_config_makefile dlls/wpc enable_wpc
21895 wine_fn_config_makefile dlls/wpc/tests enable_tests
21896 wine_fn_config_makefile dlls/wpcap enable_wpcap
21897 wine_fn_config_makefile dlls/wpcap/tests enable_tests
21898 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
21899 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
21900 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
21901 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
21902 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
21903 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
21904 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
21905 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
21906 wine_fn_config_makefile dlls/wsock32 enable_wsock32
21907 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
21908 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
21909 wine_fn_config_makefile dlls/wuapi enable_wuapi
21910 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
21911 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
21912 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
21913 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
21914 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
21915 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
21916 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
21917 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
21918 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
21919 wine_fn_config_makefile dlls/xactengine2_0 enable_xactengine2_0
21920 wine_fn_config_makefile dlls/xactengine2_4 enable_xactengine2_4
21921 wine_fn_config_makefile dlls/xactengine2_7 enable_xactengine2_7
21922 wine_fn_config_makefile dlls/xactengine2_9 enable_xactengine2_9
21923 wine_fn_config_makefile dlls/xactengine3_0 enable_xactengine3_0
21924 wine_fn_config_makefile dlls/xactengine3_1 enable_xactengine3_1
21925 wine_fn_config_makefile dlls/xactengine3_2 enable_xactengine3_2
21926 wine_fn_config_makefile dlls/xactengine3_3 enable_xactengine3_3
21927 wine_fn_config_makefile dlls/xactengine3_4 enable_xactengine3_4
21928 wine_fn_config_makefile dlls/xactengine3_5 enable_xactengine3_5
21929 wine_fn_config_makefile dlls/xactengine3_6 enable_xactengine3_6
21930 wine_fn_config_makefile dlls/xactengine3_7 enable_xactengine3_7
21931 wine_fn_config_makefile dlls/xactengine3_7/tests enable_tests
21932 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
21933 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
21934 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
21935 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
21936 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
21937 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
21938 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
21939 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
21940 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
21941 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
21942 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
21943 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
21944 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
21945 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
21946 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
21947 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
21948 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
21949 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
21950 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
21951 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
21952 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
21953 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
21954 wine_fn_config_makefile dlls/xinputuap enable_xinputuap
21955 wine_fn_config_makefile dlls/xmllite enable_xmllite
21956 wine_fn_config_makefile dlls/xmllite/tests enable_tests
21957 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
21958 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
21959 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
21960 wine_fn_config_makefile fonts enable_fonts
21961 wine_fn_config_makefile include enable_include
21962 wine_fn_config_makefile libs/adsiid enable_adsiid
21963 wine_fn_config_makefile libs/dmoguids enable_dmoguids
21964 wine_fn_config_makefile libs/dxerr8 enable_dxerr8
21965 wine_fn_config_makefile libs/dxerr9 enable_dxerr9
21966 wine_fn_config_makefile libs/dxguid enable_dxguid
21967 wine_fn_config_makefile libs/faudio enable_faudio
21968 wine_fn_config_makefile libs/gsm enable_gsm
21969 wine_fn_config_makefile libs/jpeg enable_jpeg
21970 wine_fn_config_makefile libs/jxr enable_jxr
21971 wine_fn_config_makefile libs/lcms2 enable_lcms2
21972 wine_fn_config_makefile libs/ldap enable_ldap
21973 wine_fn_config_makefile libs/mfuuid enable_mfuuid
21974 wine_fn_config_makefile libs/mpg123 enable_mpg123
21975 wine_fn_config_makefile libs/png enable_png
21976 wine_fn_config_makefile libs/strmbase enable_strmbase
21977 wine_fn_config_makefile libs/strmiids enable_strmiids
21978 wine_fn_config_makefile libs/tiff enable_tiff
21979 wine_fn_config_makefile libs/uuid enable_uuid
21980 wine_fn_config_makefile libs/vkd3d enable_vkd3d
21981 wine_fn_config_makefile libs/wbemuuid enable_wbemuuid
21982 wine_fn_config_makefile libs/wmcodecdspuuid enable_wmcodecdspuuid
21983 wine_fn_config_makefile libs/xml2 enable_xml2
21984 wine_fn_config_makefile libs/xslt enable_xslt
21985 wine_fn_config_makefile libs/zlib enable_zlib
21986 wine_fn_config_makefile libs/zydis enable_zydis
21987 wine_fn_config_makefile loader enable_loader
21988 wine_fn_config_makefile nls enable_nls
21989 wine_fn_config_makefile po enable_po
21990 wine_fn_config_makefile programs/arp enable_arp
21991 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
21992 wine_fn_config_makefile programs/attrib enable_attrib
21993 wine_fn_config_makefile programs/cabarc enable_cabarc
21994 wine_fn_config_makefile programs/cacls enable_cacls
21995 wine_fn_config_makefile programs/certutil enable_certutil
21996 wine_fn_config_makefile programs/chcp.com enable_chcp_com
21997 wine_fn_config_makefile programs/clock enable_clock
21998 wine_fn_config_makefile programs/cmd enable_cmd
21999 wine_fn_config_makefile programs/cmd/tests enable_tests
22000 wine_fn_config_makefile programs/conhost enable_conhost
22001 wine_fn_config_makefile programs/conhost/tests enable_tests
22002 wine_fn_config_makefile programs/control enable_control
22003 wine_fn_config_makefile programs/cscript enable_cscript
22004 wine_fn_config_makefile programs/dism enable_dism
22005 wine_fn_config_makefile programs/dllhost enable_dllhost
22006 wine_fn_config_makefile programs/dplaysvr enable_dplaysvr
22007 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
22008 wine_fn_config_makefile programs/dpvsetup enable_dpvsetup
22009 wine_fn_config_makefile programs/dxdiag enable_dxdiag
22010 wine_fn_config_makefile programs/eject enable_eject
22011 wine_fn_config_makefile programs/expand enable_expand
22012 wine_fn_config_makefile programs/explorer enable_explorer
22013 wine_fn_config_makefile programs/explorer/tests enable_tests
22014 wine_fn_config_makefile programs/extrac32 enable_extrac32
22015 wine_fn_config_makefile programs/fc enable_fc
22016 wine_fn_config_makefile programs/find enable_find
22017 wine_fn_config_makefile programs/find/tests enable_tests
22018 wine_fn_config_makefile programs/findstr enable_findstr
22019 wine_fn_config_makefile programs/fsutil enable_fsutil
22020 wine_fn_config_makefile programs/fsutil/tests enable_tests
22021 wine_fn_config_makefile programs/hh enable_hh
22022 wine_fn_config_makefile programs/hostname enable_hostname
22023 wine_fn_config_makefile programs/icacls enable_icacls
22024 wine_fn_config_makefile programs/icinfo enable_icinfo
22025 wine_fn_config_makefile programs/iexplore enable_iexplore
22026 wine_fn_config_makefile programs/ipconfig enable_ipconfig
22027 wine_fn_config_makefile programs/lodctr enable_lodctr
22028 wine_fn_config_makefile programs/mofcomp enable_mofcomp
22029 wine_fn_config_makefile programs/mshta enable_mshta
22030 wine_fn_config_makefile programs/msidb enable_msidb
22031 wine_fn_config_makefile programs/msiexec enable_msiexec
22032 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
22033 wine_fn_config_makefile programs/net enable_net
22034 wine_fn_config_makefile programs/netsh enable_netsh
22035 wine_fn_config_makefile programs/netstat enable_netstat
22036 wine_fn_config_makefile programs/ngen enable_ngen
22037 wine_fn_config_makefile programs/notepad enable_notepad
22038 wine_fn_config_makefile programs/oleview enable_oleview
22039 wine_fn_config_makefile programs/ping enable_ping
22040 wine_fn_config_makefile programs/plugplay enable_plugplay
22041 wine_fn_config_makefile programs/powershell enable_powershell
22042 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
22043 wine_fn_config_makefile programs/progman enable_progman
22044 wine_fn_config_makefile programs/reg enable_reg
22045 wine_fn_config_makefile programs/reg/tests enable_tests
22046 wine_fn_config_makefile programs/regasm enable_regasm
22047 wine_fn_config_makefile programs/regedit enable_regedit
22048 wine_fn_config_makefile programs/regedit/tests enable_tests
22049 wine_fn_config_makefile programs/regini enable_regini
22050 wine_fn_config_makefile programs/regsvcs enable_regsvcs
22051 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
22052 wine_fn_config_makefile programs/robocopy enable_robocopy
22053 wine_fn_config_makefile programs/rpcss enable_rpcss
22054 wine_fn_config_makefile programs/rundll.exe16 enable_win16
22055 wine_fn_config_makefile programs/rundll32 enable_rundll32
22056 wine_fn_config_makefile programs/sc enable_sc
22057 wine_fn_config_makefile programs/sc/tests enable_tests
22058 wine_fn_config_makefile programs/schtasks enable_schtasks
22059 wine_fn_config_makefile programs/schtasks/tests enable_tests
22060 wine_fn_config_makefile programs/sdbinst enable_sdbinst
22061 wine_fn_config_makefile programs/secedit enable_secedit
22062 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
22063 wine_fn_config_makefile programs/services enable_services
22064 wine_fn_config_makefile programs/services/tests enable_tests
22065 wine_fn_config_makefile programs/setx enable_setx
22066 wine_fn_config_makefile programs/shutdown enable_shutdown
22067 wine_fn_config_makefile programs/spoolsv enable_spoolsv
22068 wine_fn_config_makefile programs/start enable_start
22069 wine_fn_config_makefile programs/subst enable_subst
22070 wine_fn_config_makefile programs/svchost enable_svchost
22071 wine_fn_config_makefile programs/systeminfo enable_systeminfo
22072 wine_fn_config_makefile programs/taskkill enable_taskkill
22073 wine_fn_config_makefile programs/tasklist enable_tasklist
22074 wine_fn_config_makefile programs/taskmgr enable_taskmgr
22075 wine_fn_config_makefile programs/termsv enable_termsv
22076 wine_fn_config_makefile programs/uninstaller enable_uninstaller
22077 wine_fn_config_makefile programs/unlodctr enable_unlodctr
22078 wine_fn_config_makefile programs/view enable_view
22079 wine_fn_config_makefile programs/wevtutil enable_wevtutil
22080 wine_fn_config_makefile programs/where enable_where
22081 wine_fn_config_makefile programs/whoami enable_whoami
22082 wine_fn_config_makefile programs/wineboot enable_wineboot
22083 wine_fn_config_makefile programs/winebrowser enable_winebrowser
22084 wine_fn_config_makefile programs/winecfg enable_winecfg
22085 wine_fn_config_makefile programs/wineconsole enable_wineconsole
22086 wine_fn_config_makefile programs/winedbg enable_winedbg
22087 wine_fn_config_makefile programs/winedevice enable_winedevice
22088 wine_fn_config_makefile programs/winefile enable_winefile
22089 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
22090 wine_fn_config_makefile programs/winemine enable_winemine
22091 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
22092 wine_fn_config_makefile programs/winepath enable_winepath
22093 wine_fn_config_makefile programs/winetest enable_winetest
22094 wine_fn_config_makefile programs/winevdm enable_win16
22095 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
22096 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
22097 wine_fn_config_makefile programs/winmgmt enable_winmgmt
22098 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
22099 wine_fn_config_makefile programs/winver enable_winver
22100 wine_fn_config_makefile programs/wmic enable_wmic
22101 wine_fn_config_makefile programs/wmplayer enable_wmplayer
22102 wine_fn_config_makefile programs/wordpad enable_wordpad
22103 wine_fn_config_makefile programs/write enable_write
22104 wine_fn_config_makefile programs/wscript enable_wscript
22105 wine_fn_config_makefile programs/wscript/tests enable_tests
22106 wine_fn_config_makefile programs/wuauserv enable_wuauserv
22107 wine_fn_config_makefile programs/wusa enable_wusa
22108 wine_fn_config_makefile programs/xcopy enable_xcopy
22109 wine_fn_config_makefile programs/xcopy/tests enable_tests
22110 wine_fn_config_makefile server enable_server
22111 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
22112 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
22113 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
22114 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
22115 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
22116 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
22117 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
22118 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
22119 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
22122 as_fn_append CONFIGURE_TARGETS " TAGS"
22123 as_fn_append CONFIGURE_TARGETS " tags"
22124 as_fn_append CONFIGURE_TARGETS " autom4te.cache"
22125 as_fn_append CONFIGURE_TARGETS " config.log"
22126 as_fn_append CONFIGURE_TARGETS " config.status"
22127 as_fn_append CONFIGURE_TARGETS " include/config.h"
22128 as_fn_append CONFIGURE_TARGETS " include/stamp-h"
22129 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS " loader/wine"
22131 if test "x$enable_tools" != xno
22132 then
22133 as_fn_append CONFIGURE_TARGETS " tools/makedep$ac_exeext"
22134 ac_config_commands="$ac_config_commands tools/makedep"
22138 ac_config_commands="$ac_config_commands Makefile"
22142 SHELL=/bin/sh
22145 as_fn_append wine_rules "
22146 all: wine
22147 @echo \"Wine build complete.\"
22148 .INIT: Makefile
22149 .MAKEFILEDEPS:
22150 all: Makefile
22151 Makefile: config.status \$(MAKEDEP)
22152 @./config.status Makefile
22153 depend: \$(MAKEDEP)
22154 \$(MAKEDEP)$makedep_flags"
22157 as_fn_append wine_rules "
22158 config.status: ${wine_srcdir}configure
22159 @./config.status --recheck
22160 include/config.h: include/stamp-h
22161 include/stamp-h: ${wine_srcdir}include/config.h.in config.status
22162 @./config.status include/config.h include/stamp-h"
22164 if test "x$enable_maintainer_mode" = xyes
22165 then
22166 as_fn_append wine_rules "
22167 configure: configure.ac aclocal.m4
22168 autoconf --warnings=all
22169 include/config.h.in: include/stamp-h.in
22170 include/stamp-h.in: configure.ac aclocal.m4
22171 autoheader --warnings=all
22172 @echo timestamp > \$@"
22175 if test "x$enable_tools" != xno
22176 then
22177 as_fn_append wine_rules "
22178 tools/makedep$ac_exeext: ${wine_srcdir}tools/makedep.c include/config.h config.status
22179 @./config.status tools/makedep
22180 Makefile: tools/makedep$ac_exeext"
22181 else
22182 as_fn_append wine_rules "
22183 \$(MAKEDEP):
22184 @echo \"You need to run make in $toolsdir first\" && false"
22188 if test -n "$with_wine64"
22189 then
22190 case "$with_wine64" in
22191 /*) reldir="" ;;
22192 *) reldir="../" ;;
22193 esac
22194 rm -f fonts server 2>/dev/null
22195 as_fn_append wine_rules "
22196 all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
22197 loader/wine64 loader/wine64-preloader:
22198 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
22199 $with_wine64/loader/wine:
22200 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
22201 $with_wine64/loader/wine-preloader:
22202 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
22203 clean::
22204 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
22205 else
22206 TOP_INSTALL_DEV="$TOP_INSTALL_DEV include"
22207 TOP_INSTALL_LIB="$TOP_INSTALL_LIB \
22208 fonts \
22209 loader/wine.inf \
22210 nls \
22211 programs/msidb/msidb \
22212 programs/msiexec/msiexec \
22213 programs/notepad/notepad \
22214 programs/regedit/regedit \
22215 programs/regsvr32/regsvr32 \
22216 programs/wineboot/wineboot \
22217 programs/winecfg/winecfg \
22218 programs/wineconsole/wineconsole \
22219 programs/winedbg/winedbg \
22220 programs/winefile/winefile \
22221 programs/winemine/winemine \
22222 programs/winepath/winepath \
22223 server/wineserver"
22225 case $host_os in
22226 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
22227 *) TOP_INSTALL_LIB="$TOP_INSTALL_LIB loader/wine.desktop" ;;
22228 esac
22232 as_fn_append wine_rules "
22233 distclean:: clean
22234 rm -rf autom4te.cache
22235 maintainer-clean::
22236 rm -f configure include/config.h.in"
22239 as_fn_append wine_rules "
22240 dlls/ntdll/unix/version.c: dummy
22241 @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)
22242 programs/winetest/build.rc: dummy
22243 @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)
22244 programs/winetest/build.nfo:
22245 @-\$(CC) -v 2>\$@
22246 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
22247 cd dlls/wineandroid.drv && gradle -q -Psrcdir=$srcdir assembleDebug
22248 mv dlls/wineandroid.drv/build/outputs/apk/wine-debug.apk \$@"
22251 TAGSFLAGS="--langmap='c:+.idl.l.rh,make:(Make*.in)'"
22253 as_fn_append wine_rules "
22254 TAGS etags:
22255 rm -f TAGS
22256 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs etags -a \$(TAGSFLAGS)
22257 tags ctags:
22258 rm -f tags
22259 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs ctags -a \$(TAGSFLAGS)
22260 dummy:
22261 .PHONY: depend dummy install-manpages"
22263 printf "%s\n" " done" >&6
22264 cat >confcache <<\_ACEOF
22265 # This file is a shell script that caches the results of configure
22266 # tests run on this system so they can be shared between configure
22267 # scripts and configure runs, see configure's option --config-cache.
22268 # It is not useful on other systems. If it contains results you don't
22269 # want to keep, you may remove or edit it.
22271 # config.status only pays attention to the cache file if you give it
22272 # the --recheck option to rerun configure.
22274 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22275 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22276 # following values.
22278 _ACEOF
22280 # The following way of writing the cache mishandles newlines in values,
22281 # but we know of no workaround that is simple, portable, and efficient.
22282 # So, we kill variables containing newlines.
22283 # Ultrix sh set writes to stderr and can't be redirected directly,
22284 # and sets the high bit in the cache file unless we assign to the vars.
22286 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
22287 eval ac_val=\$$ac_var
22288 case $ac_val in #(
22289 *${as_nl}*)
22290 case $ac_var in #(
22291 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
22292 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
22293 esac
22294 case $ac_var in #(
22295 _ | IFS | as_nl) ;; #(
22296 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
22297 *) { eval $ac_var=; unset $ac_var;} ;;
22298 esac ;;
22299 esac
22300 done
22302 (set) 2>&1 |
22303 case $as_nl`(ac_space=' '; set) 2>&1` in #(
22304 *${as_nl}ac_space=\ *)
22305 # `set' does not quote correctly, so add quotes: double-quote
22306 # substitution turns \\\\ into \\, and sed turns \\ into \.
22307 sed -n \
22308 "s/'/'\\\\''/g;
22309 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22310 ;; #(
22312 # `set' quotes correctly as required by POSIX, so do not add quotes.
22313 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22315 esac |
22316 sort
22318 sed '
22319 /^ac_cv_env_/b end
22320 t clear
22321 :clear
22322 s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
22323 t end
22324 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22325 :end' >>confcache
22326 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
22327 if test -w "$cache_file"; then
22328 if test "x$cache_file" != "x/dev/null"; then
22329 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
22330 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
22331 if test ! -f "$cache_file" || test -h "$cache_file"; then
22332 cat confcache >"$cache_file"
22333 else
22334 case $cache_file in #(
22335 */* | ?:*)
22336 mv -f confcache "$cache_file"$$ &&
22337 mv -f "$cache_file"$$ "$cache_file" ;; #(
22339 mv -f confcache "$cache_file" ;;
22340 esac
22343 else
22344 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
22345 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
22348 rm -f confcache
22350 test "x$prefix" = xNONE && prefix=$ac_default_prefix
22351 # Let make expand exec_prefix.
22352 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
22354 DEFS=-DHAVE_CONFIG_H
22356 ac_libobjs=
22357 ac_ltlibobjs=
22359 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
22360 # 1. Remove the extension, and $U if already installed.
22361 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
22362 ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
22363 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
22364 # will be set to the directory where LIBOBJS objects are built.
22365 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
22366 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
22367 done
22368 LIBOBJS=$ac_libobjs
22370 LTLIBOBJS=$ac_ltlibobjs
22374 : "${CONFIG_STATUS=./config.status}"
22375 ac_write_fail=0
22376 ac_clean_files_save=$ac_clean_files
22377 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
22378 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
22379 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
22380 as_write_fail=0
22381 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
22382 #! $SHELL
22383 # Generated by $as_me.
22384 # Run this file to recreate the current configuration.
22385 # Compiler output produced by configure, useful for debugging
22386 # configure, is in config.log if it exists.
22388 debug=false
22389 ac_cs_recheck=false
22390 ac_cs_silent=false
22392 SHELL=\${CONFIG_SHELL-$SHELL}
22393 export SHELL
22394 _ASEOF
22395 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
22396 ## -------------------- ##
22397 ## M4sh Initialization. ##
22398 ## -------------------- ##
22400 # Be more Bourne compatible
22401 DUALCASE=1; export DUALCASE # for MKS sh
22402 as_nop=:
22403 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
22404 then :
22405 emulate sh
22406 NULLCMD=:
22407 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
22408 # is contrary to our usage. Disable this feature.
22409 alias -g '${1+"$@"}'='"$@"'
22410 setopt NO_GLOB_SUBST
22411 else $as_nop
22412 case `(set -o) 2>/dev/null` in #(
22413 *posix*) :
22414 set -o posix ;; #(
22415 *) :
22417 esac
22422 # Reset variables that may have inherited troublesome values from
22423 # the environment.
22425 # IFS needs to be set, to space, tab, and newline, in precisely that order.
22426 # (If _AS_PATH_WALK were called with IFS unset, it would have the
22427 # side effect of setting IFS to empty, thus disabling word splitting.)
22428 # Quoting is to prevent editors from complaining about space-tab.
22429 as_nl='
22431 export as_nl
22432 IFS=" "" $as_nl"
22434 PS1='$ '
22435 PS2='> '
22436 PS4='+ '
22438 # Ensure predictable behavior from utilities with locale-dependent output.
22439 LC_ALL=C
22440 export LC_ALL
22441 LANGUAGE=C
22442 export LANGUAGE
22444 # We cannot yet rely on "unset" to work, but we need these variables
22445 # to be unset--not just set to an empty or harmless value--now, to
22446 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
22447 # also avoids known problems related to "unset" and subshell syntax
22448 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
22449 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
22450 do eval test \${$as_var+y} \
22451 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
22452 done
22454 # Ensure that fds 0, 1, and 2 are open.
22455 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
22456 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
22457 if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
22459 # The user is always right.
22460 if ${PATH_SEPARATOR+false} :; then
22461 PATH_SEPARATOR=:
22462 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
22463 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
22464 PATH_SEPARATOR=';'
22469 # Find who we are. Look in the path if we contain no directory separator.
22470 as_myself=
22471 case $0 in #((
22472 *[\\/]* ) as_myself=$0 ;;
22473 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22474 for as_dir in $PATH
22476 IFS=$as_save_IFS
22477 case $as_dir in #(((
22478 '') as_dir=./ ;;
22479 */) ;;
22480 *) as_dir=$as_dir/ ;;
22481 esac
22482 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
22483 done
22484 IFS=$as_save_IFS
22487 esac
22488 # We did not find ourselves, most probably we were run as `sh COMMAND'
22489 # in which case we are not to be found in the path.
22490 if test "x$as_myself" = x; then
22491 as_myself=$0
22493 if test ! -f "$as_myself"; then
22494 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
22495 exit 1
22500 # as_fn_error STATUS ERROR [LINENO LOG_FD]
22501 # ----------------------------------------
22502 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
22503 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
22504 # script with STATUS, using 1 if that was 0.
22505 as_fn_error ()
22507 as_status=$1; test $as_status -eq 0 && as_status=1
22508 if test "$4"; then
22509 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
22510 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
22512 printf "%s\n" "$as_me: error: $2" >&2
22513 as_fn_exit $as_status
22514 } # as_fn_error
22518 # as_fn_set_status STATUS
22519 # -----------------------
22520 # Set $? to STATUS, without forking.
22521 as_fn_set_status ()
22523 return $1
22524 } # as_fn_set_status
22526 # as_fn_exit STATUS
22527 # -----------------
22528 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
22529 as_fn_exit ()
22531 set +e
22532 as_fn_set_status $1
22533 exit $1
22534 } # as_fn_exit
22536 # as_fn_unset VAR
22537 # ---------------
22538 # Portably unset VAR.
22539 as_fn_unset ()
22541 { eval $1=; unset $1;}
22543 as_unset=as_fn_unset
22545 # as_fn_append VAR VALUE
22546 # ----------------------
22547 # Append the text in VALUE to the end of the definition contained in VAR. Take
22548 # advantage of any shell optimizations that allow amortized linear growth over
22549 # repeated appends, instead of the typical quadratic growth present in naive
22550 # implementations.
22551 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
22552 then :
22553 eval 'as_fn_append ()
22555 eval $1+=\$2
22557 else $as_nop
22558 as_fn_append ()
22560 eval $1=\$$1\$2
22562 fi # as_fn_append
22564 # as_fn_arith ARG...
22565 # ------------------
22566 # Perform arithmetic evaluation on the ARGs, and store the result in the
22567 # global $as_val. Take advantage of shells that can avoid forks. The arguments
22568 # must be portable across $(()) and expr.
22569 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
22570 then :
22571 eval 'as_fn_arith ()
22573 as_val=$(( $* ))
22575 else $as_nop
22576 as_fn_arith ()
22578 as_val=`expr "$@" || test $? -eq 1`
22580 fi # as_fn_arith
22583 if expr a : '\(a\)' >/dev/null 2>&1 &&
22584 test "X`expr 00001 : '.*\(...\)'`" = X001; then
22585 as_expr=expr
22586 else
22587 as_expr=false
22590 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
22591 as_basename=basename
22592 else
22593 as_basename=false
22596 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
22597 as_dirname=dirname
22598 else
22599 as_dirname=false
22602 as_me=`$as_basename -- "$0" ||
22603 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22604 X"$0" : 'X\(//\)$' \| \
22605 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
22606 printf "%s\n" X/"$0" |
22607 sed '/^.*\/\([^/][^/]*\)\/*$/{
22608 s//\1/
22611 /^X\/\(\/\/\)$/{
22612 s//\1/
22615 /^X\/\(\/\).*/{
22616 s//\1/
22619 s/.*/./; q'`
22621 # Avoid depending upon Character Ranges.
22622 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
22623 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22624 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
22625 as_cr_digits='0123456789'
22626 as_cr_alnum=$as_cr_Letters$as_cr_digits
22629 # Determine whether it's possible to make 'echo' print without a newline.
22630 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
22631 # for compatibility with existing Makefiles.
22632 ECHO_C= ECHO_N= ECHO_T=
22633 case `echo -n x` in #(((((
22634 -n*)
22635 case `echo 'xy\c'` in
22636 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
22637 xy) ECHO_C='\c';;
22638 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
22639 ECHO_T=' ';;
22640 esac;;
22642 ECHO_N='-n';;
22643 esac
22645 # For backward compatibility with old third-party macros, we provide
22646 # the shell variables $as_echo and $as_echo_n. New code should use
22647 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
22648 as_echo='printf %s\n'
22649 as_echo_n='printf %s'
22651 rm -f conf$$ conf$$.exe conf$$.file
22652 if test -d conf$$.dir; then
22653 rm -f conf$$.dir/conf$$.file
22654 else
22655 rm -f conf$$.dir
22656 mkdir conf$$.dir 2>/dev/null
22658 if (echo >conf$$.file) 2>/dev/null; then
22659 if ln -s conf$$.file conf$$ 2>/dev/null; then
22660 as_ln_s='ln -s'
22661 # ... but there are two gotchas:
22662 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
22663 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
22664 # In both cases, we have to default to `cp -pR'.
22665 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
22666 as_ln_s='cp -pR'
22667 elif ln conf$$.file conf$$ 2>/dev/null; then
22668 as_ln_s=ln
22669 else
22670 as_ln_s='cp -pR'
22672 else
22673 as_ln_s='cp -pR'
22675 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
22676 rmdir conf$$.dir 2>/dev/null
22679 # as_fn_mkdir_p
22680 # -------------
22681 # Create "$as_dir" as a directory, including parents if necessary.
22682 as_fn_mkdir_p ()
22685 case $as_dir in #(
22686 -*) as_dir=./$as_dir;;
22687 esac
22688 test -d "$as_dir" || eval $as_mkdir_p || {
22689 as_dirs=
22690 while :; do
22691 case $as_dir in #(
22692 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
22693 *) as_qdir=$as_dir;;
22694 esac
22695 as_dirs="'$as_qdir' $as_dirs"
22696 as_dir=`$as_dirname -- "$as_dir" ||
22697 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22698 X"$as_dir" : 'X\(//\)[^/]' \| \
22699 X"$as_dir" : 'X\(//\)$' \| \
22700 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22701 printf "%s\n" X"$as_dir" |
22702 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22703 s//\1/
22706 /^X\(\/\/\)[^/].*/{
22707 s//\1/
22710 /^X\(\/\/\)$/{
22711 s//\1/
22714 /^X\(\/\).*/{
22715 s//\1/
22718 s/.*/./; q'`
22719 test -d "$as_dir" && break
22720 done
22721 test -z "$as_dirs" || eval "mkdir $as_dirs"
22722 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
22725 } # as_fn_mkdir_p
22726 if mkdir -p . 2>/dev/null; then
22727 as_mkdir_p='mkdir -p "$as_dir"'
22728 else
22729 test -d ./-p && rmdir ./-p
22730 as_mkdir_p=false
22734 # as_fn_executable_p FILE
22735 # -----------------------
22736 # Test if FILE is an executable regular file.
22737 as_fn_executable_p ()
22739 test -f "$1" && test -x "$1"
22740 } # as_fn_executable_p
22741 as_test_x='test -x'
22742 as_executable_p=as_fn_executable_p
22744 # Sed expression to map a string onto a valid CPP name.
22745 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
22747 # Sed expression to map a string onto a valid variable name.
22748 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
22751 exec 6>&1
22752 ## ----------------------------------- ##
22753 ## Main body of $CONFIG_STATUS script. ##
22754 ## ----------------------------------- ##
22755 _ASEOF
22756 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
22758 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22759 # Save the log message, to keep $0 and so on meaningful, and to
22760 # report actual input values of CONFIG_FILES etc. instead of their
22761 # values after options handling.
22762 ac_log="
22763 This file was extended by Wine $as_me 8.4, which was
22764 generated by GNU Autoconf 2.71. Invocation command line was
22766 CONFIG_FILES = $CONFIG_FILES
22767 CONFIG_HEADERS = $CONFIG_HEADERS
22768 CONFIG_LINKS = $CONFIG_LINKS
22769 CONFIG_COMMANDS = $CONFIG_COMMANDS
22770 $ $0 $@
22772 on `(hostname || uname -n) 2>/dev/null | sed 1q`
22775 _ACEOF
22778 case $ac_config_headers in *"
22779 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
22780 esac
22783 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22784 # Files that config.status was made for.
22785 config_headers="$ac_config_headers"
22786 config_links="$ac_config_links"
22787 config_commands="$ac_config_commands"
22789 _ACEOF
22791 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22792 ac_cs_usage="\
22793 \`$as_me' instantiates files and other configuration actions
22794 from templates according to the current configuration. Unless the files
22795 and actions are specified as TAGs, all are instantiated by default.
22797 Usage: $0 [OPTION]... [TAG]...
22799 -h, --help print this help, then exit
22800 -V, --version print version number and configuration settings, then exit
22801 --config print configuration, then exit
22802 -q, --quiet, --silent
22803 do not print progress messages
22804 -d, --debug don't remove temporary files
22805 --recheck update $as_me by reconfiguring in the same conditions
22806 --header=FILE[:TEMPLATE]
22807 instantiate the configuration header FILE
22809 Configuration headers:
22810 $config_headers
22812 Configuration links:
22813 $config_links
22815 Configuration commands:
22816 $config_commands
22818 Report bugs to <wine-devel@winehq.org>.
22819 Wine home page: <https://www.winehq.org>."
22821 _ACEOF
22822 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
22823 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
22824 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22825 ac_cs_config='$ac_cs_config_escaped'
22826 ac_cs_version="\\
22827 Wine config.status 8.4
22828 configured by $0, generated by GNU Autoconf 2.71,
22829 with options \\"\$ac_cs_config\\"
22831 Copyright (C) 2021 Free Software Foundation, Inc.
22832 This config.status script is free software; the Free Software Foundation
22833 gives unlimited permission to copy, distribute and modify it."
22835 ac_pwd='$ac_pwd'
22836 srcdir='$srcdir'
22837 test -n "\$AWK" || AWK=awk
22838 _ACEOF
22840 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22841 # The default lists apply if the user does not specify any file.
22842 ac_need_defaults=:
22843 while test $# != 0
22845 case $1 in
22846 --*=?*)
22847 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22848 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
22849 ac_shift=:
22851 --*=)
22852 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22853 ac_optarg=
22854 ac_shift=:
22857 ac_option=$1
22858 ac_optarg=$2
22859 ac_shift=shift
22861 esac
22863 case $ac_option in
22864 # Handling of the options.
22865 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
22866 ac_cs_recheck=: ;;
22867 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
22868 printf "%s\n" "$ac_cs_version"; exit ;;
22869 --config | --confi | --conf | --con | --co | --c )
22870 printf "%s\n" "$ac_cs_config"; exit ;;
22871 --debug | --debu | --deb | --de | --d | -d )
22872 debug=: ;;
22873 --header | --heade | --head | --hea )
22874 $ac_shift
22875 case $ac_optarg in
22876 *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
22877 esac
22878 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
22879 ac_need_defaults=false;;
22880 --he | --h)
22881 # Conflict between --help and --header
22882 as_fn_error $? "ambiguous option: \`$1'
22883 Try \`$0 --help' for more information.";;
22884 --help | --hel | -h )
22885 printf "%s\n" "$ac_cs_usage"; exit ;;
22886 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
22887 | -silent | --silent | --silen | --sile | --sil | --si | --s)
22888 ac_cs_silent=: ;;
22890 # This is an error.
22891 -*) as_fn_error $? "unrecognized option: \`$1'
22892 Try \`$0 --help' for more information." ;;
22894 *) as_fn_append ac_config_targets " $1"
22895 ac_need_defaults=false ;;
22897 esac
22898 shift
22899 done
22901 ac_configure_extra_args=
22903 if $ac_cs_silent; then
22904 exec 6>/dev/null
22905 ac_configure_extra_args="$ac_configure_extra_args --silent"
22908 _ACEOF
22909 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22910 if \$ac_cs_recheck; then
22911 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
22912 shift
22913 \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
22914 CONFIG_SHELL='$SHELL'
22915 export CONFIG_SHELL
22916 exec "\$@"
22919 _ACEOF
22920 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22921 exec 5>>config.log
22923 echo
22924 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
22925 ## Running $as_me. ##
22926 _ASBOX
22927 printf "%s\n" "$ac_log"
22928 } >&5
22930 _ACEOF
22931 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22933 # INIT-COMMANDS
22935 wine_fn_output_makedep ()
22937 as_dir=tools; as_fn_mkdir_p
22938 $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
22940 wine_fn_output_makefile ()
22942 cat <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && "$wine_makedep"$makedep_flags && return
22943 # This Makefile understands the following targets:
22945 # all (default): build wine
22946 # clean: remove all intermediate files
22947 # distclean: also remove all files created by configure
22948 # test: run tests
22949 # testclean: clean test results to force running all tests again
22950 # install-lib: install libraries needed to run applications
22951 # install-dev: install development environment
22952 # install: install everything
22953 # uninstall: uninstall everything
22954 # ctags: create a tags file for vim and others.
22955 # etags: create a TAGS file for Emacs.
22957 SHELL = $SHELL
22958 PATH_SEPARATOR = $PATH_SEPARATOR
22959 PACKAGE_NAME = $PACKAGE_NAME
22960 PACKAGE_TARNAME = $PACKAGE_TARNAME
22961 PACKAGE_VERSION = $PACKAGE_VERSION
22962 PACKAGE_STRING = $PACKAGE_STRING
22963 PACKAGE_BUGREPORT = $PACKAGE_BUGREPORT
22964 PACKAGE_URL = $PACKAGE_URL
22965 exec_prefix = $exec_prefix
22966 prefix = $prefix
22967 program_transform_name = $program_transform_name
22968 bindir = $bindir
22969 sbindir = $sbindir
22970 libexecdir = $libexecdir
22971 datarootdir = $datarootdir
22972 datadir = $datadir
22973 sysconfdir = $sysconfdir
22974 sharedstatedir = $sharedstatedir
22975 localstatedir = $localstatedir
22976 runstatedir = $runstatedir
22977 includedir = $includedir
22978 oldincludedir = $oldincludedir
22979 docdir = $docdir
22980 infodir = $infodir
22981 htmldir = $htmldir
22982 dvidir = $dvidir
22983 pdfdir = $pdfdir
22984 psdir = $psdir
22985 libdir = $libdir
22986 localedir = $localedir
22987 mandir = $mandir
22988 DEFS = $DEFS
22989 ECHO_C = $ECHO_C
22990 ECHO_N = $ECHO_N
22991 ECHO_T = $ECHO_T
22992 LIBS = $LIBS
22993 build_alias = $build_alias
22994 host_alias = $host_alias
22995 target_alias = $target_alias
22996 system_dllpath = $system_dllpath
22997 build = $build
22998 build_cpu = $build_cpu
22999 build_vendor = $build_vendor
23000 build_os = $build_os
23001 host = $host
23002 host_cpu = $host_cpu
23003 host_vendor = $host_vendor
23004 host_os = $host_os
23005 dlldir = $dlldir
23006 fontdir = $fontdir
23007 nlsdir = $nlsdir
23008 srcdir = $srcdir
23009 SET_MAKE = $SET_MAKE
23010 CC = $CC
23011 CFLAGS = $CFLAGS
23012 LDFLAGS = $LDFLAGS
23013 CPPFLAGS = $CPPFLAGS
23014 ac_ct_CC = $ac_ct_CC
23015 EXEEXT = $EXEEXT
23016 OBJEXT = $OBJEXT
23017 CXX = $CXX
23018 CXXFLAGS = $CXXFLAGS
23019 ac_ct_CXX = $ac_ct_CXX
23020 CPPBIN = $CPPBIN
23021 LD = $LD
23022 TARGETFLAGS = $TARGETFLAGS
23023 toolsext = $toolsext
23024 HOST_ARCH = $HOST_ARCH
23025 aarch64_CC = $aarch64_CC
23026 aarch64_CFLAGS = $aarch64_CFLAGS
23027 aarch64_EXTRACFLAGS = $aarch64_EXTRACFLAGS
23028 aarch64_LDFLAGS = $aarch64_LDFLAGS
23029 aarch64_DEBUG = $aarch64_DEBUG
23030 aarch64_TARGET = $aarch64_TARGET
23031 aarch64_DELAYLOADFLAG = $aarch64_DELAYLOADFLAG
23032 aarch64_DISABLED_SUBDIRS = $aarch64_DISABLED_SUBDIRS
23033 arm_CC = $arm_CC
23034 arm_CFLAGS = $arm_CFLAGS
23035 arm_EXTRACFLAGS = $arm_EXTRACFLAGS
23036 arm_LDFLAGS = $arm_LDFLAGS
23037 arm_DEBUG = $arm_DEBUG
23038 arm_TARGET = $arm_TARGET
23039 arm_DELAYLOADFLAG = $arm_DELAYLOADFLAG
23040 arm_DISABLED_SUBDIRS = $arm_DISABLED_SUBDIRS
23041 i386_CC = $i386_CC
23042 i386_CFLAGS = $i386_CFLAGS
23043 i386_EXTRACFLAGS = $i386_EXTRACFLAGS
23044 i386_LDFLAGS = $i386_LDFLAGS
23045 i386_DEBUG = $i386_DEBUG
23046 i386_TARGET = $i386_TARGET
23047 i386_DELAYLOADFLAG = $i386_DELAYLOADFLAG
23048 i386_DISABLED_SUBDIRS = $i386_DISABLED_SUBDIRS
23049 x86_64_CC = $x86_64_CC
23050 x86_64_CFLAGS = $x86_64_CFLAGS
23051 x86_64_EXTRACFLAGS = $x86_64_EXTRACFLAGS
23052 x86_64_LDFLAGS = $x86_64_LDFLAGS
23053 x86_64_DEBUG = $x86_64_DEBUG
23054 x86_64_TARGET = $x86_64_TARGET
23055 x86_64_DELAYLOADFLAG = $x86_64_DELAYLOADFLAG
23056 x86_64_DISABLED_SUBDIRS = $x86_64_DISABLED_SUBDIRS
23057 toolsdir = $toolsdir
23058 MAKEDEP = $MAKEDEP
23059 RUNTESTFLAGS = $RUNTESTFLAGS
23060 SED_CMD = $SED_CMD
23061 FLEX = $FLEX
23062 BISON = $BISON
23063 AR = $AR
23064 ac_ct_AR = $ac_ct_AR
23065 STRIP = $STRIP
23066 RANLIB = $RANLIB
23067 LN_S = $LN_S
23068 GREP = $GREP
23069 EGREP = $EGREP
23070 LDCONFIG = $LDCONFIG
23071 MSGFMT = $MSGFMT
23072 PKG_CONFIG = $PKG_CONFIG
23073 FONTFORGE = $FONTFORGE
23074 RSVG = $RSVG
23075 CONVERT = $CONVERT
23076 ICOTOOL = $ICOTOOL
23077 I386_LIBS = $I386_LIBS
23078 OPENGL_LIBS = $OPENGL_LIBS
23079 DLLFLAGS = $DLLFLAGS
23080 LDDLLFLAGS = $LDDLLFLAGS
23081 LDEXECFLAGS = $LDEXECFLAGS
23082 EXTRACFLAGS = $EXTRACFLAGS
23083 UNIXDLLFLAGS = $UNIXDLLFLAGS
23084 UNIXLDFLAGS = $UNIXLDFLAGS
23085 TOP_INSTALL_LIB = $TOP_INSTALL_LIB
23086 TOP_INSTALL_DEV = $TOP_INSTALL_DEV
23087 WINELOADER_LDFLAGS = $WINELOADER_LDFLAGS
23088 WINEPRELOADER_LDFLAGS = $WINEPRELOADER_LDFLAGS
23089 LDD = $LDD
23090 OTOOL = $OTOOL
23091 READELF = $READELF
23092 SUBDIRS = $SUBDIRS
23093 DISABLED_SUBDIRS = $DISABLED_SUBDIRS
23094 CONFIGURE_TARGETS = $CONFIGURE_TARGETS
23095 CARBON_LIBS = $CARBON_LIBS
23096 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
23097 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
23098 IOKIT_LIBS = $IOKIT_LIBS
23099 METAL_LIBS = $METAL_LIBS
23100 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
23101 CORESERVICES_LIBS = $CORESERVICES_LIBS
23102 APPKIT_LIBS = $APPKIT_LIBS
23103 SECURITY_LIBS = $SECURITY_LIBS
23104 SYSTEMCONFIGURATION_LIBS = $SYSTEMCONFIGURATION_LIBS
23105 COREAUDIO_LIBS = $COREAUDIO_LIBS
23106 OPENCL_LIBS = $OPENCL_LIBS
23107 OBJC = $OBJC
23108 OBJCFLAGS = $OBJCFLAGS
23109 ac_ct_OBJC = $ac_ct_OBJC
23110 WINELOADER_DEPENDS = $WINELOADER_DEPENDS
23111 PE_ARCHS = $PE_ARCHS
23112 MINGW_PKG_CONFIG = $MINGW_PKG_CONFIG
23113 FAUDIO_PE_CFLAGS = $FAUDIO_PE_CFLAGS
23114 FAUDIO_PE_LIBS = $FAUDIO_PE_LIBS
23115 GSM_PE_CFLAGS = $GSM_PE_CFLAGS
23116 GSM_PE_LIBS = $GSM_PE_LIBS
23117 JPEG_PE_CFLAGS = $JPEG_PE_CFLAGS
23118 JPEG_PE_LIBS = $JPEG_PE_LIBS
23119 JXR_PE_CFLAGS = $JXR_PE_CFLAGS
23120 JXR_PE_LIBS = $JXR_PE_LIBS
23121 LCMS2_PE_CFLAGS = $LCMS2_PE_CFLAGS
23122 LCMS2_PE_LIBS = $LCMS2_PE_LIBS
23123 LDAP_PE_CFLAGS = $LDAP_PE_CFLAGS
23124 LDAP_PE_LIBS = $LDAP_PE_LIBS
23125 MPG123_PE_CFLAGS = $MPG123_PE_CFLAGS
23126 MPG123_PE_LIBS = $MPG123_PE_LIBS
23127 PNG_PE_CFLAGS = $PNG_PE_CFLAGS
23128 PNG_PE_LIBS = $PNG_PE_LIBS
23129 TIFF_PE_CFLAGS = $TIFF_PE_CFLAGS
23130 TIFF_PE_LIBS = $TIFF_PE_LIBS
23131 VKD3D_PE_CFLAGS = $VKD3D_PE_CFLAGS
23132 VKD3D_PE_LIBS = $VKD3D_PE_LIBS
23133 XML2_PE_CFLAGS = $XML2_PE_CFLAGS
23134 XML2_PE_LIBS = $XML2_PE_LIBS
23135 XSLT_PE_CFLAGS = $XSLT_PE_CFLAGS
23136 XSLT_PE_LIBS = $XSLT_PE_LIBS
23137 ZLIB_PE_CFLAGS = $ZLIB_PE_CFLAGS
23138 ZLIB_PE_LIBS = $ZLIB_PE_LIBS
23139 ZYDIS_PE_CFLAGS = $ZYDIS_PE_CFLAGS
23140 ZYDIS_PE_LIBS = $ZYDIS_PE_LIBS
23141 PTHREAD_LIBS = $PTHREAD_LIBS
23142 XMKMF = $XMKMF
23143 CPP = $CPP
23144 X_CFLAGS = $X_CFLAGS
23145 X_PRE_LIBS = $X_PRE_LIBS
23146 X_LIBS = $X_LIBS
23147 X_EXTRA_LIBS = $X_EXTRA_LIBS
23148 WAYLAND_CLIENT_CFLAGS = $WAYLAND_CLIENT_CFLAGS
23149 WAYLAND_CLIENT_LIBS = $WAYLAND_CLIENT_LIBS
23150 PCAP_LIBS = $PCAP_LIBS
23151 PCSCLITE_LIBS = $PCSCLITE_LIBS
23152 INOTIFY_CFLAGS = $INOTIFY_CFLAGS
23153 INOTIFY_LIBS = $INOTIFY_LIBS
23154 DBUS_CFLAGS = $DBUS_CFLAGS
23155 DBUS_LIBS = $DBUS_LIBS
23156 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
23157 GNUTLS_LIBS = $GNUTLS_LIBS
23158 SANE_CFLAGS = $SANE_CFLAGS
23159 SANE_LIBS = $SANE_LIBS
23160 USB_CFLAGS = $USB_CFLAGS
23161 USB_LIBS = $USB_LIBS
23162 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
23163 GPHOTO2_LIBS = $GPHOTO2_LIBS
23164 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
23165 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
23166 RESOLV_LIBS = $RESOLV_LIBS
23167 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
23168 FREETYPE_LIBS = $FREETYPE_LIBS
23169 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
23170 PULSE_CFLAGS = $PULSE_CFLAGS
23171 PULSE_LIBS = $PULSE_LIBS
23172 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
23173 GSTREAMER_LIBS = $GSTREAMER_LIBS
23174 ALSA_LIBS = $ALSA_LIBS
23175 OSS4_CFLAGS = $OSS4_CFLAGS
23176 OSS4_LIBS = $OSS4_LIBS
23177 UDEV_CFLAGS = $UDEV_CFLAGS
23178 UDEV_LIBS = $UDEV_LIBS
23179 UNWIND_CFLAGS = $UNWIND_CFLAGS
23180 UNWIND_LIBS = $UNWIND_LIBS
23181 SDL2_CFLAGS = $SDL2_CFLAGS
23182 SDL2_LIBS = $SDL2_LIBS
23183 CAPI20_CFLAGS = $CAPI20_CFLAGS
23184 CAPI20_LIBS = $CAPI20_LIBS
23185 CUPS_CFLAGS = $CUPS_CFLAGS
23186 CUPS_LIBS = $CUPS_LIBS
23187 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
23188 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
23189 KRB5_CFLAGS = $KRB5_CFLAGS
23190 KRB5_LIBS = $KRB5_LIBS
23191 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
23192 GSSAPI_LIBS = $GSSAPI_LIBS
23193 PROCSTAT_LIBS = $PROCSTAT_LIBS
23194 NETAPI_CFLAGS = $NETAPI_CFLAGS
23195 NETAPI_LIBS = $NETAPI_LIBS
23196 MSVCRTFLAGS = $MSVCRTFLAGS
23197 DELAYLOADFLAG = $DELAYLOADFLAG
23198 WINELOADER_PROGRAMS = $WINELOADER_PROGRAMS
23199 RT_LIBS = $RT_LIBS
23200 TAGSFLAGS = $TAGSFLAGS
23201 LIBOBJS = $LIBOBJS
23202 LTLIBOBJS = $LTLIBOBJS
23203 $SET_MAKE
23204 $wine_rules
23205 _WINE_EOF
23206 as_fn_error $? "could not create Makefile" "$LINENO" 5
23209 _ACEOF
23211 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23213 # Handling of arguments.
23214 for ac_config_target in $ac_config_targets
23216 case $ac_config_target in
23217 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
23218 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
23219 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
23220 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
23221 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
23222 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
23224 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
23225 esac
23226 done
23229 # If the user did not use the arguments to specify the items to instantiate,
23230 # then the envvar interface is used. Set only those that are not.
23231 # We use the long form for the default assignment because of an extremely
23232 # bizarre bug on SunOS 4.1.3.
23233 if $ac_need_defaults; then
23234 test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
23235 test ${CONFIG_LINKS+y} || CONFIG_LINKS=$config_links
23236 test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
23239 # Have a temporary directory for convenience. Make it in the build tree
23240 # simply because there is no reason against having it here, and in addition,
23241 # creating and moving files from /tmp can sometimes cause problems.
23242 # Hook for its removal unless debugging.
23243 # Note that there is a small window in which the directory will not be cleaned:
23244 # after its creation but before its name has been assigned to `$tmp'.
23245 $debug ||
23247 tmp= ac_tmp=
23248 trap 'exit_status=$?
23249 : "${ac_tmp:=$tmp}"
23250 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
23252 trap 'as_fn_exit 1' 1 2 13 15
23254 # Create a (secure) tmp directory for tmp files.
23257 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
23258 test -d "$tmp"
23259 } ||
23261 tmp=./conf$$-$RANDOM
23262 (umask 077 && mkdir "$tmp")
23263 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
23264 ac_tmp=$tmp
23266 # Set up the scripts for CONFIG_HEADERS section.
23267 # No need to generate them if there are no CONFIG_HEADERS.
23268 # This happens for instance with `./config.status Makefile'.
23269 if test -n "$CONFIG_HEADERS"; then
23270 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
23271 BEGIN {
23272 _ACEOF
23274 # Transform confdefs.h into an awk script `defines.awk', embedded as
23275 # here-document in config.status, that substitutes the proper values into
23276 # config.h.in to produce config.h.
23278 # Create a delimiter string that does not exist in confdefs.h, to ease
23279 # handling of long lines.
23280 ac_delim='%!_!# '
23281 for ac_last_try in false false :; do
23282 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
23283 if test -z "$ac_tt"; then
23284 break
23285 elif $ac_last_try; then
23286 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
23287 else
23288 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
23290 done
23292 # For the awk script, D is an array of macro values keyed by name,
23293 # likewise P contains macro parameters if any. Preserve backslash
23294 # newline sequences.
23296 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
23297 sed -n '
23298 s/.\{148\}/&'"$ac_delim"'/g
23299 t rset
23300 :rset
23301 s/^[ ]*#[ ]*define[ ][ ]*/ /
23302 t def
23304 :def
23305 s/\\$//
23306 t bsnl
23307 s/["\\]/\\&/g
23308 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
23309 D["\1"]=" \3"/p
23310 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
23312 :bsnl
23313 s/["\\]/\\&/g
23314 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
23315 D["\1"]=" \3\\\\\\n"\\/p
23316 t cont
23317 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
23318 t cont
23320 :cont
23322 s/.\{148\}/&'"$ac_delim"'/g
23323 t clear
23324 :clear
23325 s/\\$//
23326 t bsnlc
23327 s/["\\]/\\&/g; s/^/"/; s/$/"/p
23329 :bsnlc
23330 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
23331 b cont
23332 ' <confdefs.h | sed '
23333 s/'"$ac_delim"'/"\\\
23334 "/g' >>$CONFIG_STATUS || ac_write_fail=1
23336 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23337 for (key in D) D_is_set[key] = 1
23338 FS = "\a"
23340 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
23341 line = \$ 0
23342 split(line, arg, " ")
23343 if (arg[1] == "#") {
23344 defundef = arg[2]
23345 mac1 = arg[3]
23346 } else {
23347 defundef = substr(arg[1], 2)
23348 mac1 = arg[2]
23350 split(mac1, mac2, "(") #)
23351 macro = mac2[1]
23352 prefix = substr(line, 1, index(line, defundef) - 1)
23353 if (D_is_set[macro]) {
23354 # Preserve the white space surrounding the "#".
23355 print prefix "define", macro P[macro] D[macro]
23356 next
23357 } else {
23358 # Replace #undef with comments. This is necessary, for example,
23359 # in the case of _POSIX_SOURCE, which is predefined and required
23360 # on some systems where configure will not decide to define it.
23361 if (defundef == "undef") {
23362 print "/*", prefix defundef, macro, "*/"
23363 next
23367 { print }
23368 _ACAWK
23369 _ACEOF
23370 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23371 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
23372 fi # test -n "$CONFIG_HEADERS"
23375 eval set X " :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
23376 shift
23377 for ac_tag
23379 case $ac_tag in
23380 :[FHLC]) ac_mode=$ac_tag; continue;;
23381 esac
23382 case $ac_mode$ac_tag in
23383 :[FHL]*:*);;
23384 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
23385 :[FH]-) ac_tag=-:-;;
23386 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
23387 esac
23388 ac_save_IFS=$IFS
23389 IFS=:
23390 set x $ac_tag
23391 IFS=$ac_save_IFS
23392 shift
23393 ac_file=$1
23394 shift
23396 case $ac_mode in
23397 :L) ac_source=$1;;
23398 :[FH])
23399 ac_file_inputs=
23400 for ac_f
23402 case $ac_f in
23403 -) ac_f="$ac_tmp/stdin";;
23404 *) # Look for the file first in the build tree, then in the source tree
23405 # (if the path is not absolute). The absolute path cannot be DOS-style,
23406 # because $ac_f cannot contain `:'.
23407 test -f "$ac_f" ||
23408 case $ac_f in
23409 [\\/$]*) false;;
23410 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
23411 esac ||
23412 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
23413 esac
23414 case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
23415 as_fn_append ac_file_inputs " '$ac_f'"
23416 done
23418 # Let's still pretend it is `configure' which instantiates (i.e., don't
23419 # use $as_me), people would be surprised to read:
23420 # /* config.h. Generated by config.status. */
23421 configure_input='Generated from '`
23422 printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
23423 `' by configure.'
23424 if test x"$ac_file" != x-; then
23425 configure_input="$ac_file. $configure_input"
23426 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
23427 printf "%s\n" "$as_me: creating $ac_file" >&6;}
23429 # Neutralize special characters interpreted by sed in replacement strings.
23430 case $configure_input in #(
23431 *\&* | *\|* | *\\* )
23432 ac_sed_conf_input=`printf "%s\n" "$configure_input" |
23433 sed 's/[\\\\&|]/\\\\&/g'`;; #(
23434 *) ac_sed_conf_input=$configure_input;;
23435 esac
23437 case $ac_tag in
23438 *:-:* | *:-) cat >"$ac_tmp/stdin" \
23439 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
23440 esac
23442 esac
23444 ac_dir=`$as_dirname -- "$ac_file" ||
23445 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23446 X"$ac_file" : 'X\(//\)[^/]' \| \
23447 X"$ac_file" : 'X\(//\)$' \| \
23448 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
23449 printf "%s\n" X"$ac_file" |
23450 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23451 s//\1/
23454 /^X\(\/\/\)[^/].*/{
23455 s//\1/
23458 /^X\(\/\/\)$/{
23459 s//\1/
23462 /^X\(\/\).*/{
23463 s//\1/
23466 s/.*/./; q'`
23467 as_dir="$ac_dir"; as_fn_mkdir_p
23468 ac_builddir=.
23470 case "$ac_dir" in
23471 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
23473 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
23474 # A ".." for each directory in $ac_dir_suffix.
23475 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
23476 case $ac_top_builddir_sub in
23477 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
23478 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
23479 esac ;;
23480 esac
23481 ac_abs_top_builddir=$ac_pwd
23482 ac_abs_builddir=$ac_pwd$ac_dir_suffix
23483 # for backward compatibility:
23484 ac_top_builddir=$ac_top_build_prefix
23486 case $srcdir in
23487 .) # We are building in place.
23488 ac_srcdir=.
23489 ac_top_srcdir=$ac_top_builddir_sub
23490 ac_abs_top_srcdir=$ac_pwd ;;
23491 [\\/]* | ?:[\\/]* ) # Absolute name.
23492 ac_srcdir=$srcdir$ac_dir_suffix;
23493 ac_top_srcdir=$srcdir
23494 ac_abs_top_srcdir=$srcdir ;;
23495 *) # Relative name.
23496 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
23497 ac_top_srcdir=$ac_top_build_prefix$srcdir
23498 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
23499 esac
23500 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
23503 case $ac_mode in
23507 # CONFIG_HEADER
23509 if test x"$ac_file" != x-; then
23511 printf "%s\n" "/* $configure_input */" >&1 \
23512 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
23513 } >"$ac_tmp/config.h" \
23514 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
23515 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
23516 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
23517 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
23518 else
23519 rm -f "$ac_file"
23520 mv "$ac_tmp/config.h" "$ac_file" \
23521 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
23523 else
23524 printf "%s\n" "/* $configure_input */" >&1 \
23525 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
23526 || as_fn_error $? "could not create -" "$LINENO" 5
23531 # CONFIG_LINK
23534 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
23536 else
23537 # Prefer the file from the source tree if names are identical.
23538 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
23539 ac_source=$srcdir/$ac_source
23542 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
23543 printf "%s\n" "$as_me: linking $ac_source to $ac_file" >&6;}
23545 if test ! -r "$ac_source"; then
23546 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
23548 rm -f "$ac_file"
23550 # Try a relative symlink, then a hard link, then a copy.
23551 case $ac_source in
23552 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
23553 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
23554 esac
23555 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
23556 ln "$ac_source" "$ac_file" 2>/dev/null ||
23557 cp -p "$ac_source" "$ac_file" ||
23558 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
23561 :C) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
23562 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
23564 esac
23567 case $ac_file$ac_mode in
23568 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
23569 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
23570 "Makefile":C) wine_fn_output_makefile Makefile ;;
23572 esac
23573 done # for ac_tag
23576 as_fn_exit 0
23577 _ACEOF
23578 ac_clean_files=$ac_clean_files_save
23580 test $ac_write_fail = 0 ||
23581 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
23584 # configure is writing to config.log, and then calls config.status.
23585 # config.status does its own redirection, appending to config.log.
23586 # Unfortunately, on DOS this fails, as config.log is still kept open
23587 # by configure, so config.status won't be able to write to it; its
23588 # output is simply discarded. So we exec the FD to /dev/null,
23589 # effectively closing config.log, so it can be properly (re)opened and
23590 # appended to by config.status. When coming back to configure, we
23591 # need to make the FD available again.
23592 if test "$no_create" != yes; then
23593 ac_cs_success=:
23594 ac_config_status_args=
23595 test "$silent" = yes &&
23596 ac_config_status_args="$ac_config_status_args --quiet"
23597 exec 5>/dev/null
23598 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
23599 exec 5>>config.log
23600 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
23601 # would make configure fail if this is the last instruction.
23602 $ac_cs_success || as_fn_exit 1
23604 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
23605 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
23606 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
23610 if test "$no_create" = "yes"
23611 then
23612 exit 0
23615 ac_save_IFS="$IFS"
23616 if test "x$wine_notices" != x; then
23617 echo >&6
23618 IFS="|"
23619 for msg in $wine_notices; do
23620 IFS="$ac_save_IFS"
23621 if ${msg:+false} :
23622 then :
23624 else $as_nop
23625 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $msg" >&5
23626 printf "%s\n" "$as_me: $msg" >&6;}
23628 done
23630 IFS="|"
23631 for msg in $wine_warnings; do
23632 IFS="$ac_save_IFS"
23633 if ${msg:+false} :
23634 then :
23636 else $as_nop
23637 echo >&2
23638 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
23639 printf "%s\n" "$as_me: WARNING: $msg" >&2;}
23641 done
23642 IFS="$ac_save_IFS"
23644 printf "%s\n" "
23645 $as_me: Finished. Do '${ac_make}' to compile Wine.
23646 " >&6