windows.devices.usb: Add IUsbDeviceStatics stub interface.
[wine.git] / configure
blobd65d819b1486449dc73191d1939c1cd47b024a65
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.71 for Wine 8.13.
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.13'
615 PACKAGE_STRING='Wine 8.13'
616 PACKAGE_BUGREPORT='wine-devel@winehq.org'
617 PACKAGE_URL='https://www.winehq.org'
619 ac_unique_file="server/atom.c"
620 # Factoring default headers for most tests.
621 ac_includes_default="\
622 #include <stddef.h>
623 #ifdef HAVE_STDIO_H
624 # include <stdio.h>
625 #endif
626 #ifdef HAVE_STDLIB_H
627 # include <stdlib.h>
628 #endif
629 #ifdef HAVE_STRING_H
630 # include <string.h>
631 #endif
632 #ifdef HAVE_INTTYPES_H
633 # include <inttypes.h>
634 #endif
635 #ifdef HAVE_STDINT_H
636 # include <stdint.h>
637 #endif
638 #ifdef HAVE_STRINGS_H
639 # include <strings.h>
640 #endif
641 #ifdef HAVE_SYS_TYPES_H
642 # include <sys/types.h>
643 #endif
644 #ifdef HAVE_SYS_STAT_H
645 # include <sys/stat.h>
646 #endif
647 #ifdef HAVE_UNISTD_H
648 # include <unistd.h>
649 #endif"
651 ac_header_c_list=
652 ac_subst_vars='LTLIBOBJS
653 LIBOBJS
654 TAGSFLAGS
655 RT_LIBS
656 WINELOADER_PROGRAMS
657 DELAYLOADFLAG
658 MSVCRTFLAGS
659 NETAPI_LIBS
660 NETAPI_CFLAGS
661 PROCSTAT_LIBS
662 GSSAPI_LIBS
663 GSSAPI_CFLAGS
664 KRB5_LIBS
665 KRB5_CFLAGS
666 FONTCONFIG_LIBS
667 FONTCONFIG_CFLAGS
668 CUPS_LIBS
669 CUPS_CFLAGS
670 CAPI20_LIBS
671 CAPI20_CFLAGS
672 SDL2_LIBS
673 SDL2_CFLAGS
674 UNWIND_LIBS
675 UNWIND_CFLAGS
676 UDEV_LIBS
677 UDEV_CFLAGS
678 OSS4_LIBS
679 OSS4_CFLAGS
680 ALSA_LIBS
681 GSTREAMER_LIBS
682 GSTREAMER_CFLAGS
683 PULSE_LIBS
684 PULSE_CFLAGS
685 GETTEXTPO_LIBS
686 FREETYPE_LIBS
687 FREETYPE_CFLAGS
688 RESOLV_LIBS
689 GPHOTO2_PORT_LIBS
690 GPHOTO2_PORT_CFLAGS
691 GPHOTO2_LIBS
692 GPHOTO2_CFLAGS
693 USB_LIBS
694 USB_CFLAGS
695 SANE_LIBS
696 SANE_CFLAGS
697 GNUTLS_LIBS
698 GNUTLS_CFLAGS
699 DBUS_LIBS
700 DBUS_CFLAGS
701 INOTIFY_LIBS
702 INOTIFY_CFLAGS
703 PCSCLITE_LIBS
704 PCAP_LIBS
705 WAYLAND_SCANNER
706 WAYLAND_CLIENT_LIBS
707 WAYLAND_CLIENT_CFLAGS
708 X_EXTRA_LIBS
709 X_LIBS
710 X_PRE_LIBS
711 X_CFLAGS
713 XMKMF
714 PTHREAD_LIBS
715 ZYDIS_PE_LIBS
716 ZYDIS_PE_CFLAGS
717 ZLIB_PE_LIBS
718 ZLIB_PE_CFLAGS
719 XSLT_PE_LIBS
720 XSLT_PE_CFLAGS
721 XML2_PE_LIBS
722 XML2_PE_CFLAGS
723 VKD3D_PE_LIBS
724 VKD3D_PE_CFLAGS
725 TIFF_PE_LIBS
726 TIFF_PE_CFLAGS
727 PNG_PE_LIBS
728 PNG_PE_CFLAGS
729 MUSL_PE_LIBS
730 MUSL_PE_CFLAGS
731 MPG123_PE_LIBS
732 MPG123_PE_CFLAGS
733 LDAP_PE_LIBS
734 LDAP_PE_CFLAGS
735 LCMS2_PE_LIBS
736 LCMS2_PE_CFLAGS
737 JXR_PE_LIBS
738 JXR_PE_CFLAGS
739 JPEG_PE_LIBS
740 JPEG_PE_CFLAGS
741 GSM_PE_LIBS
742 GSM_PE_CFLAGS
743 FAUDIO_PE_LIBS
744 FAUDIO_PE_CFLAGS
745 MINGW_PKG_CONFIG
746 PE_ARCHS
747 WINELOADER_DEPENDS
748 ac_ct_OBJC
749 OBJCFLAGS
750 OBJC
751 OPENCL_LIBS
752 COREAUDIO_LIBS
753 SYSTEMCONFIGURATION_LIBS
754 SECURITY_LIBS
755 APPKIT_LIBS
756 CORESERVICES_LIBS
757 APPLICATIONSERVICES_LIBS
758 METAL_LIBS
759 IOKIT_LIBS
760 DISKARBITRATION_LIBS
761 COREFOUNDATION_LIBS
762 CARBON_LIBS
763 CONFIGURE_TARGETS
764 DISABLED_SUBDIRS
765 SUBDIRS
766 READELF
767 OTOOL
769 DLLEXT
770 WINEPRELOADER_LDFLAGS
771 WINELOADER_LDFLAGS
772 TOP_INSTALL_DEV
773 TOP_INSTALL_LIB
774 UNIXLDFLAGS
775 UNIXDLLFLAGS
776 EXTRACFLAGS
777 LDEXECFLAGS
778 LDDLLFLAGS
779 DLLFLAGS
780 OPENGL_LIBS
781 I386_LIBS
782 ICOTOOL
783 CONVERT
784 RSVG
785 FONTFORGE
786 PKG_CONFIG
787 MSGFMT
788 LDCONFIG
789 EGREP
790 GREP
791 LN_S
792 RANLIB
793 STRIP
794 ac_ct_AR
796 BISON
797 FLEX
798 SED_CMD
799 RUNTESTFLAGS
800 MAKEDEP
801 toolsdir
802 x86_64_DISABLED_SUBDIRS
803 x86_64_DELAYLOADFLAG
804 x86_64_TARGET
805 x86_64_DEBUG
806 x86_64_LDFLAGS
807 x86_64_EXTRACFLAGS
808 x86_64_CFLAGS
809 x86_64_CC
810 i386_DISABLED_SUBDIRS
811 i386_DELAYLOADFLAG
812 i386_TARGET
813 i386_DEBUG
814 i386_LDFLAGS
815 i386_EXTRACFLAGS
816 i386_CFLAGS
817 i386_CC
818 arm_DISABLED_SUBDIRS
819 arm_DELAYLOADFLAG
820 arm_TARGET
821 arm_DEBUG
822 arm_LDFLAGS
823 arm_EXTRACFLAGS
824 arm_CFLAGS
825 arm_CC
826 aarch64_DISABLED_SUBDIRS
827 aarch64_DELAYLOADFLAG
828 aarch64_TARGET
829 aarch64_DEBUG
830 aarch64_LDFLAGS
831 aarch64_EXTRACFLAGS
832 aarch64_CFLAGS
833 aarch64_CC
834 HOST_ARCH
835 toolsext
836 TARGETFLAGS
838 CPPBIN
839 ac_ct_CXX
840 CXXFLAGS
842 OBJEXT
843 EXEEXT
844 ac_ct_CC
845 CPPFLAGS
846 LDFLAGS
847 CFLAGS
849 SET_MAKE
850 srcdir
851 nlsdir
852 fontdir
853 dlldir
854 host_os
855 host_vendor
856 host_cpu
857 host
858 build_os
859 build_vendor
860 build_cpu
861 build
862 system_dllpath
863 target_alias
864 host_alias
865 build_alias
866 LIBS
867 ECHO_T
868 ECHO_N
869 ECHO_C
870 DEFS
871 mandir
872 localedir
873 libdir
874 psdir
875 pdfdir
876 dvidir
877 htmldir
878 infodir
879 docdir
880 oldincludedir
881 includedir
882 runstatedir
883 localstatedir
884 sharedstatedir
885 sysconfdir
886 datadir
887 datarootdir
888 libexecdir
889 sbindir
890 bindir
891 program_transform_name
892 prefix
893 exec_prefix
894 PACKAGE_URL
895 PACKAGE_BUGREPORT
896 PACKAGE_STRING
897 PACKAGE_VERSION
898 PACKAGE_TARNAME
899 PACKAGE_NAME
900 PATH_SEPARATOR
901 SHELL'
902 ac_subst_files=''
903 ac_user_opts='
904 enable_option_checking
905 enable_archs
906 enable_win16
907 enable_win64
908 enable_tests
909 enable_build_id
910 enable_maintainer_mode
911 enable_silent_rules
912 enable_werror
913 with_alsa
914 with_capi
915 with_coreaudio
916 with_cups
917 with_dbus
918 with_float_abi
919 with_fontconfig
920 with_freetype
921 with_gettext
922 with_gettextpo
923 with_gphoto
924 with_gnutls
925 with_gssapi
926 with_gstreamer
927 with_inotify
928 with_krb5
929 with_mingw
930 with_netapi
931 with_opencl
932 with_opengl
933 with_osmesa
934 with_oss
935 with_pcap
936 with_pcsclite
937 with_pthread
938 with_pulse
939 with_sane
940 with_sdl
941 with_udev
942 with_unwind
943 with_usb
944 with_v4l2
945 with_vulkan
946 with_wayland
947 with_xcomposite
948 with_xcursor
949 with_xfixes
950 with_xinerama
951 with_xinput
952 with_xinput2
953 with_xrandr
954 with_xrender
955 with_xshape
956 with_xshm
957 with_xxf86vm
958 with_system_dllpath
959 with_wine_tools
960 with_wine64
961 enable_largefile
962 with_x
963 enable_acledit
964 enable_aclui
965 enable_activeds_tlb
966 enable_activeds
967 enable_actxprxy
968 enable_adsldp
969 enable_adsldpc
970 enable_advapi32
971 enable_advpack
972 enable_amsi
973 enable_amstream
974 enable_apisetschema
975 enable_apphelp
976 enable_appwiz_cpl
977 enable_atl
978 enable_atl100
979 enable_atl110
980 enable_atl80
981 enable_atl90
982 enable_atlthunk
983 enable_atmlib
984 enable_authz
985 enable_avicap32
986 enable_avifil32
987 enable_avrt
988 enable_bcrypt
989 enable_bcryptprimitives
990 enable_bluetoothapis
991 enable_browseui
992 enable_bthprops_cpl
993 enable_cabinet
994 enable_capi2032
995 enable_cards
996 enable_cdosys
997 enable_cfgmgr32
998 enable_clusapi
999 enable_cng_sys
1000 enable_combase
1001 enable_comcat
1002 enable_comctl32
1003 enable_comdlg32
1004 enable_compstui
1005 enable_comsvcs
1006 enable_concrt140
1007 enable_connect
1008 enable_credui
1009 enable_crtdll
1010 enable_crypt32
1011 enable_cryptdlg
1012 enable_cryptdll
1013 enable_cryptext
1014 enable_cryptnet
1015 enable_cryptowinrt
1016 enable_cryptsp
1017 enable_cryptui
1018 enable_ctapi32
1019 enable_ctl3d32
1020 enable_d2d1
1021 enable_d3d10
1022 enable_d3d10_1
1023 enable_d3d10core
1024 enable_d3d11
1025 enable_d3d12
1026 enable_d3d12core
1027 enable_d3d8
1028 enable_d3d8thk
1029 enable_d3d9
1030 enable_d3dcompiler_33
1031 enable_d3dcompiler_34
1032 enable_d3dcompiler_35
1033 enable_d3dcompiler_36
1034 enable_d3dcompiler_37
1035 enable_d3dcompiler_38
1036 enable_d3dcompiler_39
1037 enable_d3dcompiler_40
1038 enable_d3dcompiler_41
1039 enable_d3dcompiler_42
1040 enable_d3dcompiler_43
1041 enable_d3dcompiler_46
1042 enable_d3dcompiler_47
1043 enable_d3dim
1044 enable_d3dim700
1045 enable_d3drm
1046 enable_d3dx10_33
1047 enable_d3dx10_34
1048 enable_d3dx10_35
1049 enable_d3dx10_36
1050 enable_d3dx10_37
1051 enable_d3dx10_38
1052 enable_d3dx10_39
1053 enable_d3dx10_40
1054 enable_d3dx10_41
1055 enable_d3dx10_42
1056 enable_d3dx10_43
1057 enable_d3dx11_42
1058 enable_d3dx11_43
1059 enable_d3dx9_24
1060 enable_d3dx9_25
1061 enable_d3dx9_26
1062 enable_d3dx9_27
1063 enable_d3dx9_28
1064 enable_d3dx9_29
1065 enable_d3dx9_30
1066 enable_d3dx9_31
1067 enable_d3dx9_32
1068 enable_d3dx9_33
1069 enable_d3dx9_34
1070 enable_d3dx9_35
1071 enable_d3dx9_36
1072 enable_d3dx9_37
1073 enable_d3dx9_38
1074 enable_d3dx9_39
1075 enable_d3dx9_40
1076 enable_d3dx9_41
1077 enable_d3dx9_42
1078 enable_d3dx9_43
1079 enable_d3dxof
1080 enable_davclnt
1081 enable_dbgeng
1082 enable_dbghelp
1083 enable_dciman32
1084 enable_dcomp
1085 enable_ddraw
1086 enable_ddrawex
1087 enable_devenum
1088 enable_dhcpcsvc
1089 enable_dhcpcsvc6
1090 enable_dhtmled_ocx
1091 enable_diasymreader
1092 enable_difxapi
1093 enable_dinput
1094 enable_dinput8
1095 enable_directmanipulation
1096 enable_dispex
1097 enable_dmband
1098 enable_dmcompos
1099 enable_dmime
1100 enable_dmloader
1101 enable_dmscript
1102 enable_dmstyle
1103 enable_dmsynth
1104 enable_dmusic
1105 enable_dmusic32
1106 enable_dnsapi
1107 enable_dplay
1108 enable_dplayx
1109 enable_dpnaddr
1110 enable_dpnet
1111 enable_dpnhpast
1112 enable_dpnhupnp
1113 enable_dpnlobby
1114 enable_dpvoice
1115 enable_dpwsockx
1116 enable_drmclien
1117 enable_dsdmo
1118 enable_dsound
1119 enable_dsquery
1120 enable_dssenh
1121 enable_dsuiext
1122 enable_dswave
1123 enable_dwmapi
1124 enable_dwrite
1125 enable_dx8vb
1126 enable_dxdiagn
1127 enable_dxgi
1128 enable_dxtrans
1129 enable_dxva2
1130 enable_esent
1131 enable_evr
1132 enable_explorerframe
1133 enable_faultrep
1134 enable_feclient
1135 enable_fltlib
1136 enable_fltmgr_sys
1137 enable_fntcache
1138 enable_fontsub
1139 enable_fusion
1140 enable_fwpuclnt
1141 enable_gameux
1142 enable_gamingtcui
1143 enable_gdi32
1144 enable_gdiplus
1145 enable_geolocation
1146 enable_glu32
1147 enable_gphoto2_ds
1148 enable_gpkcsp
1149 enable_graphicscapture
1150 enable_hal
1151 enable_hhctrl_ocx
1152 enable_hid
1153 enable_hidclass_sys
1154 enable_hidparse_sys
1155 enable_hlink
1156 enable_hnetcfg
1157 enable_hrtfapo
1158 enable_http_sys
1159 enable_httpapi
1160 enable_ia2comproxy
1161 enable_iccvid
1162 enable_icmp
1163 enable_ieframe
1164 enable_ieproxy
1165 enable_imaadp32_acm
1166 enable_imagehlp
1167 enable_imm32
1168 enable_inetcomm
1169 enable_inetcpl_cpl
1170 enable_inetmib1
1171 enable_infosoft
1172 enable_initpki
1173 enable_inkobj
1174 enable_inseng
1175 enable_iphlpapi
1176 enable_iprop
1177 enable_ir50_32
1178 enable_irprops_cpl
1179 enable_itircl
1180 enable_itss
1181 enable_joy_cpl
1182 enable_jscript
1183 enable_jsproxy
1184 enable_kerberos
1185 enable_kernel32
1186 enable_kernelbase
1187 enable_ksecdd_sys
1188 enable_ksproxy_ax
1189 enable_ksuser
1190 enable_ktmw32
1191 enable_l3codeca_acm
1192 enable_light_msstyles
1193 enable_loadperf
1194 enable_localspl
1195 enable_localui
1196 enable_lz32
1197 enable_mapi32
1198 enable_mapistub
1199 enable_mciavi32
1200 enable_mcicda
1201 enable_mciqtz32
1202 enable_mciseq
1203 enable_mciwave
1204 enable_mf
1205 enable_mf3216
1206 enable_mferror
1207 enable_mfmediaengine
1208 enable_mfplat
1209 enable_mfplay
1210 enable_mfreadwrite
1211 enable_mfsrcsnk
1212 enable_mgmtapi
1213 enable_midimap
1214 enable_mlang
1215 enable_mmcndmgr
1216 enable_mmdevapi
1217 enable_mountmgr_sys
1218 enable_mp3dmod
1219 enable_mpr
1220 enable_mprapi
1221 enable_msacm32_drv
1222 enable_msacm32
1223 enable_msado15
1224 enable_msadp32_acm
1225 enable_msasn1
1226 enable_msauddecmft
1227 enable_mscat32
1228 enable_mscms
1229 enable_mscoree
1230 enable_mscorwks
1231 enable_msctf
1232 enable_msctfmonitor
1233 enable_msctfp
1234 enable_msdaps
1235 enable_msdasql
1236 enable_msdelta
1237 enable_msdmo
1238 enable_msdrm
1239 enable_msftedit
1240 enable_msg711_acm
1241 enable_msgsm32_acm
1242 enable_mshtml_tlb
1243 enable_mshtml
1244 enable_msi
1245 enable_msident
1246 enable_msimg32
1247 enable_msimsg
1248 enable_msimtf
1249 enable_msisip
1250 enable_msisys_ocx
1251 enable_msls31
1252 enable_msmpeg2vdec
1253 enable_msnet32
1254 enable_mspatcha
1255 enable_msports
1256 enable_msrle32
1257 enable_msscript_ocx
1258 enable_mssign32
1259 enable_mssip32
1260 enable_mstask
1261 enable_msv1_0
1262 enable_msvcirt
1263 enable_msvcm80
1264 enable_msvcm90
1265 enable_msvcp100
1266 enable_msvcp110
1267 enable_msvcp120
1268 enable_msvcp120_app
1269 enable_msvcp140
1270 enable_msvcp140_1
1271 enable_msvcp140_2
1272 enable_msvcp140_atomic_wait
1273 enable_msvcp60
1274 enable_msvcp70
1275 enable_msvcp71
1276 enable_msvcp80
1277 enable_msvcp90
1278 enable_msvcp_win
1279 enable_msvcr100
1280 enable_msvcr110
1281 enable_msvcr120
1282 enable_msvcr120_app
1283 enable_msvcr70
1284 enable_msvcr71
1285 enable_msvcr80
1286 enable_msvcr90
1287 enable_msvcrt
1288 enable_msvcrt20
1289 enable_msvcrt40
1290 enable_msvcrtd
1291 enable_msvfw32
1292 enable_msvidc32
1293 enable_mswsock
1294 enable_msxml
1295 enable_msxml2
1296 enable_msxml3
1297 enable_msxml4
1298 enable_msxml6
1299 enable_mtxdm
1300 enable_ncrypt
1301 enable_nddeapi
1302 enable_ndis_sys
1303 enable_netapi32
1304 enable_netcfgx
1305 enable_netio_sys
1306 enable_netprofm
1307 enable_netutils
1308 enable_newdev
1309 enable_ninput
1310 enable_normaliz
1311 enable_npmshtml
1312 enable_npptools
1313 enable_nsi
1314 enable_nsiproxy_sys
1315 enable_ntdll
1316 enable_ntdsapi
1317 enable_ntoskrnl_exe
1318 enable_ntprint
1319 enable_objsel
1320 enable_odbc32
1321 enable_odbcbcp
1322 enable_odbccp32
1323 enable_odbccu32
1324 enable_ole32
1325 enable_oleacc
1326 enable_oleaut32
1327 enable_olecli32
1328 enable_oledb32
1329 enable_oledlg
1330 enable_olepro32
1331 enable_olesvr32
1332 enable_olethk32
1333 enable_opcservices
1334 enable_opencl
1335 enable_opengl32
1336 enable_packager
1337 enable_pdh
1338 enable_photometadatahandler
1339 enable_pidgen
1340 enable_powrprof
1341 enable_printui
1342 enable_prntvpt
1343 enable_propsys
1344 enable_psapi
1345 enable_pstorec
1346 enable_pwrshplugin
1347 enable_qasf
1348 enable_qcap
1349 enable_qdvd
1350 enable_qedit
1351 enable_qmgr
1352 enable_qmgrprxy
1353 enable_quartz
1354 enable_query
1355 enable_qwave
1356 enable_rasapi32
1357 enable_rasdlg
1358 enable_regapi
1359 enable_resutils
1360 enable_riched20
1361 enable_riched32
1362 enable_rpcrt4
1363 enable_rsabase
1364 enable_rsaenh
1365 enable_rstrtmgr
1366 enable_rtutils
1367 enable_rtworkq
1368 enable_samlib
1369 enable_sane_ds
1370 enable_sapi
1371 enable_sas
1372 enable_scarddlg
1373 enable_scardsvr
1374 enable_sccbase
1375 enable_schannel
1376 enable_schedsvc
1377 enable_scrobj
1378 enable_scrrun
1379 enable_scsiport_sys
1380 enable_sechost
1381 enable_secur32
1382 enable_security
1383 enable_sensapi
1384 enable_serialui
1385 enable_setupapi
1386 enable_sfc
1387 enable_sfc_os
1388 enable_shcore
1389 enable_shdoclc
1390 enable_shdocvw
1391 enable_shell32
1392 enable_shfolder
1393 enable_shlwapi
1394 enable_slbcsp
1395 enable_slc
1396 enable_snmpapi
1397 enable_softpub
1398 enable_spoolss
1399 enable_sppc
1400 enable_srclient
1401 enable_srvcli
1402 enable_sspicli
1403 enable_stdole2_tlb
1404 enable_stdole32_tlb
1405 enable_sti
1406 enable_strmdll
1407 enable_svrapi
1408 enable_sxs
1409 enable_t2embed
1410 enable_tapi32
1411 enable_taskschd
1412 enable_tbs
1413 enable_tdh
1414 enable_tdi_sys
1415 enable_threadpoolwinrt
1416 enable_traffic
1417 enable_twain_32
1418 enable_twinapi_appcore
1419 enable_tzres
1420 enable_ucrtbase
1421 enable_uianimation
1422 enable_uiautomationcore
1423 enable_uiribbon
1424 enable_unicows
1425 enable_updspapi
1426 enable_url
1427 enable_urlmon
1428 enable_usbd_sys
1429 enable_user32
1430 enable_userenv
1431 enable_usp10
1432 enable_utildll
1433 enable_uxtheme
1434 enable_vbscript
1435 enable_vcomp
1436 enable_vcomp100
1437 enable_vcomp110
1438 enable_vcomp120
1439 enable_vcomp140
1440 enable_vcomp90
1441 enable_vcruntime140
1442 enable_vcruntime140_1
1443 enable_vdmdbg
1444 enable_version
1445 enable_vga
1446 enable_virtdisk
1447 enable_vssapi
1448 enable_vulkan_1
1449 enable_wbemdisp
1450 enable_wbemprox
1451 enable_wdscore
1452 enable_webservices
1453 enable_websocket
1454 enable_wer
1455 enable_wevtapi
1456 enable_wevtsvc
1457 enable_wiaservc
1458 enable_wimgapi
1459 enable_win32u
1460 enable_windows_devices_bluetooth
1461 enable_windows_devices_enumeration
1462 enable_windows_devices_usb
1463 enable_windows_gaming_input
1464 enable_windows_gaming_ui_gamebar
1465 enable_windows_globalization
1466 enable_windows_media_devices
1467 enable_windows_media_speech
1468 enable_windows_media
1469 enable_windows_networking_hostname
1470 enable_windows_networking
1471 enable_windows_perception_stub
1472 enable_windows_system_profile_systemmanufacturers
1473 enable_windows_ui
1474 enable_windowscodecs
1475 enable_windowscodecsext
1476 enable_winealsa_drv
1477 enable_wineandroid_drv
1478 enable_winebus_sys
1479 enable_winecoreaudio_drv
1480 enable_winecrt0
1481 enable_wined3d
1482 enable_winegstreamer
1483 enable_winehid_sys
1484 enable_winemac_drv
1485 enable_winemapi
1486 enable_wineoss_drv
1487 enable_wineps_drv
1488 enable_winepulse_drv
1489 enable_wineusb_sys
1490 enable_winevulkan
1491 enable_winewayland_drv
1492 enable_winex11_drv
1493 enable_winexinput_sys
1494 enable_wing32
1495 enable_winhttp
1496 enable_wininet
1497 enable_winmm
1498 enable_winnls32
1499 enable_winprint
1500 enable_winscard
1501 enable_winspool_drv
1502 enable_winsta
1503 enable_wintab32
1504 enable_wintrust
1505 enable_wintypes
1506 enable_winusb
1507 enable_wlanapi
1508 enable_wlanui
1509 enable_wldap32
1510 enable_wmasf
1511 enable_wmi
1512 enable_wmiutils
1513 enable_wmp
1514 enable_wmphoto
1515 enable_wmvcore
1516 enable_wnaspi32
1517 enable_wofutil
1518 enable_wow64
1519 enable_wow64cpu
1520 enable_wow64win
1521 enable_wpc
1522 enable_wpcap
1523 enable_ws2_32
1524 enable_wsdapi
1525 enable_wshom_ocx
1526 enable_wsnmp32
1527 enable_wsock32
1528 enable_wtsapi32
1529 enable_wuapi
1530 enable_wuaueng
1531 enable_x3daudio1_0
1532 enable_x3daudio1_1
1533 enable_x3daudio1_2
1534 enable_x3daudio1_3
1535 enable_x3daudio1_4
1536 enable_x3daudio1_5
1537 enable_x3daudio1_6
1538 enable_x3daudio1_7
1539 enable_xactengine2_0
1540 enable_xactengine2_4
1541 enable_xactengine2_7
1542 enable_xactengine2_9
1543 enable_xactengine3_0
1544 enable_xactengine3_1
1545 enable_xactengine3_2
1546 enable_xactengine3_3
1547 enable_xactengine3_4
1548 enable_xactengine3_5
1549 enable_xactengine3_6
1550 enable_xactengine3_7
1551 enable_xapofx1_1
1552 enable_xapofx1_2
1553 enable_xapofx1_3
1554 enable_xapofx1_4
1555 enable_xapofx1_5
1556 enable_xaudio2_0
1557 enable_xaudio2_1
1558 enable_xaudio2_2
1559 enable_xaudio2_3
1560 enable_xaudio2_4
1561 enable_xaudio2_5
1562 enable_xaudio2_6
1563 enable_xaudio2_7
1564 enable_xaudio2_8
1565 enable_xaudio2_9
1566 enable_xinput1_1
1567 enable_xinput1_2
1568 enable_xinput1_3
1569 enable_xinput1_4
1570 enable_xinput9_1_0
1571 enable_xinputuap
1572 enable_xmllite
1573 enable_xolehlp
1574 enable_xpsprint
1575 enable_xpssvcs
1576 enable_fonts
1577 enable_include
1578 enable_adsiid
1579 enable_dmoguids
1580 enable_dxerr8
1581 enable_dxerr9
1582 enable_dxguid
1583 enable_faudio
1584 enable_gsm
1585 enable_jpeg
1586 enable_jxr
1587 enable_lcms2
1588 enable_ldap
1589 enable_mfuuid
1590 enable_mpg123
1591 enable_musl
1592 enable_png
1593 enable_strmbase
1594 enable_strmiids
1595 enable_tiff
1596 enable_uuid
1597 enable_vkd3d
1598 enable_wbemuuid
1599 enable_wmcodecdspuuid
1600 enable_xml2
1601 enable_xslt
1602 enable_zlib
1603 enable_zydis
1604 enable_loader
1605 enable_nls
1606 enable_po
1607 enable_arp
1608 enable_aspnet_regiis
1609 enable_attrib
1610 enable_cabarc
1611 enable_cacls
1612 enable_certutil
1613 enable_chcp_com
1614 enable_clock
1615 enable_cmd
1616 enable_conhost
1617 enable_control
1618 enable_cscript
1619 enable_dism
1620 enable_dllhost
1621 enable_dplaysvr
1622 enable_dpnsvr
1623 enable_dpvsetup
1624 enable_dxdiag
1625 enable_eject
1626 enable_expand
1627 enable_explorer
1628 enable_extrac32
1629 enable_fc
1630 enable_find
1631 enable_findstr
1632 enable_fsutil
1633 enable_hh
1634 enable_hostname
1635 enable_icacls
1636 enable_icinfo
1637 enable_iexplore
1638 enable_ipconfig
1639 enable_klist
1640 enable_lodctr
1641 enable_mofcomp
1642 enable_mshta
1643 enable_msidb
1644 enable_msiexec
1645 enable_msinfo32
1646 enable_net
1647 enable_netsh
1648 enable_netstat
1649 enable_ngen
1650 enable_notepad
1651 enable_oleview
1652 enable_ping
1653 enable_plugplay
1654 enable_pnputil
1655 enable_powershell
1656 enable_presentationfontcache
1657 enable_progman
1658 enable_reg
1659 enable_regasm
1660 enable_regedit
1661 enable_regini
1662 enable_regsvcs
1663 enable_regsvr32
1664 enable_robocopy
1665 enable_rpcss
1666 enable_rundll32
1667 enable_sc
1668 enable_schtasks
1669 enable_sdbinst
1670 enable_secedit
1671 enable_servicemodelreg
1672 enable_services
1673 enable_setx
1674 enable_shutdown
1675 enable_spoolsv
1676 enable_start
1677 enable_subst
1678 enable_svchost
1679 enable_systeminfo
1680 enable_taskkill
1681 enable_tasklist
1682 enable_taskmgr
1683 enable_termsv
1684 enable_uninstaller
1685 enable_unlodctr
1686 enable_view
1687 enable_wevtutil
1688 enable_where
1689 enable_whoami
1690 enable_wineboot
1691 enable_winebrowser
1692 enable_winecfg
1693 enable_wineconsole
1694 enable_winedbg
1695 enable_winedevice
1696 enable_winefile
1697 enable_winemenubuilder
1698 enable_winemine
1699 enable_winemsibuilder
1700 enable_winepath
1701 enable_winetest
1702 enable_winhlp32
1703 enable_winmgmt
1704 enable_winver
1705 enable_wmic
1706 enable_wmplayer
1707 enable_wordpad
1708 enable_write
1709 enable_wscript
1710 enable_wuauserv
1711 enable_wusa
1712 enable_xcopy
1713 enable_server
1714 enable_tools
1715 enable_sfnt2fon
1716 enable_widl
1717 enable_winebuild
1718 enable_winedump
1719 enable_winegcc
1720 enable_winemaker
1721 enable_wmc
1722 enable_wrc
1724 ac_precious_vars='build_alias
1725 host_alias
1726 target_alias
1728 CFLAGS
1729 LDFLAGS
1730 LIBS
1731 CPPFLAGS
1733 CXXFLAGS
1735 OBJC
1736 OBJCFLAGS
1737 FAUDIO_PE_CFLAGS
1738 FAUDIO_PE_LIBS
1739 GSM_PE_CFLAGS
1740 GSM_PE_LIBS
1741 JPEG_PE_CFLAGS
1742 JPEG_PE_LIBS
1743 JXR_PE_CFLAGS
1744 JXR_PE_LIBS
1745 LCMS2_PE_CFLAGS
1746 LCMS2_PE_LIBS
1747 LDAP_PE_CFLAGS
1748 LDAP_PE_LIBS
1749 MPG123_PE_CFLAGS
1750 MPG123_PE_LIBS
1751 MUSL_PE_CFLAGS
1752 MUSL_PE_LIBS
1753 PNG_PE_CFLAGS
1754 PNG_PE_LIBS
1755 TIFF_PE_CFLAGS
1756 TIFF_PE_LIBS
1757 VKD3D_PE_CFLAGS
1758 VKD3D_PE_LIBS
1759 XML2_PE_CFLAGS
1760 XML2_PE_LIBS
1761 XSLT_PE_CFLAGS
1762 XSLT_PE_LIBS
1763 ZLIB_PE_CFLAGS
1764 ZLIB_PE_LIBS
1765 ZYDIS_PE_CFLAGS
1766 ZYDIS_PE_LIBS
1767 XMKMF
1769 WAYLAND_CLIENT_CFLAGS
1770 WAYLAND_CLIENT_LIBS
1771 INOTIFY_CFLAGS
1772 INOTIFY_LIBS
1773 DBUS_CFLAGS
1774 DBUS_LIBS
1775 GNUTLS_CFLAGS
1776 GNUTLS_LIBS
1777 SANE_CFLAGS
1778 SANE_LIBS
1779 USB_CFLAGS
1780 USB_LIBS
1781 GPHOTO2_CFLAGS
1782 GPHOTO2_LIBS
1783 GPHOTO2_PORT_CFLAGS
1784 GPHOTO2_PORT_LIBS
1785 FREETYPE_CFLAGS
1786 FREETYPE_LIBS
1787 PULSE_CFLAGS
1788 PULSE_LIBS
1789 GSTREAMER_CFLAGS
1790 GSTREAMER_LIBS
1791 UDEV_CFLAGS
1792 UDEV_LIBS
1793 UNWIND_CFLAGS
1794 UNWIND_LIBS
1795 SDL2_CFLAGS
1796 SDL2_LIBS
1797 CAPI20_CFLAGS
1798 CAPI20_LIBS
1799 CUPS_CFLAGS
1800 CUPS_LIBS
1801 FONTCONFIG_CFLAGS
1802 FONTCONFIG_LIBS
1803 KRB5_CFLAGS
1804 KRB5_LIBS
1805 GSSAPI_CFLAGS
1806 GSSAPI_LIBS
1807 NETAPI_CFLAGS
1808 NETAPI_LIBS'
1811 # Initialize some variables set by options.
1812 ac_init_help=
1813 ac_init_version=false
1814 ac_unrecognized_opts=
1815 ac_unrecognized_sep=
1816 # The variables have the same names as the options, with
1817 # dashes changed to underlines.
1818 cache_file=/dev/null
1819 exec_prefix=NONE
1820 no_create=
1821 no_recursion=
1822 prefix=NONE
1823 program_prefix=NONE
1824 program_suffix=NONE
1825 program_transform_name=s,x,x,
1826 silent=
1827 site=
1828 srcdir=
1829 verbose=
1830 x_includes=NONE
1831 x_libraries=NONE
1833 # Installation directory options.
1834 # These are left unexpanded so users can "make install exec_prefix=/foo"
1835 # and all the variables that are supposed to be based on exec_prefix
1836 # by default will actually change.
1837 # Use braces instead of parens because sh, perl, etc. also accept them.
1838 # (The list follows the same order as the GNU Coding Standards.)
1839 bindir='${exec_prefix}/bin'
1840 sbindir='${exec_prefix}/sbin'
1841 libexecdir='${exec_prefix}/libexec'
1842 datarootdir='${prefix}/share'
1843 datadir='${datarootdir}'
1844 sysconfdir='${prefix}/etc'
1845 sharedstatedir='${prefix}/com'
1846 localstatedir='${prefix}/var'
1847 runstatedir='${localstatedir}/run'
1848 includedir='${prefix}/include'
1849 oldincludedir='/usr/include'
1850 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1851 infodir='${datarootdir}/info'
1852 htmldir='${docdir}'
1853 dvidir='${docdir}'
1854 pdfdir='${docdir}'
1855 psdir='${docdir}'
1856 libdir='${exec_prefix}/lib'
1857 localedir='${datarootdir}/locale'
1858 mandir='${datarootdir}/man'
1860 ac_prev=
1861 ac_dashdash=
1862 for ac_option
1864 # If the previous option needs an argument, assign it.
1865 if test -n "$ac_prev"; then
1866 eval $ac_prev=\$ac_option
1867 ac_prev=
1868 continue
1871 case $ac_option in
1872 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1873 *=) ac_optarg= ;;
1874 *) ac_optarg=yes ;;
1875 esac
1877 case $ac_dashdash$ac_option in
1879 ac_dashdash=yes ;;
1881 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1882 ac_prev=bindir ;;
1883 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1884 bindir=$ac_optarg ;;
1886 -build | --build | --buil | --bui | --bu)
1887 ac_prev=build_alias ;;
1888 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1889 build_alias=$ac_optarg ;;
1891 -cache-file | --cache-file | --cache-fil | --cache-fi \
1892 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1893 ac_prev=cache_file ;;
1894 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1895 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1896 cache_file=$ac_optarg ;;
1898 --config-cache | -C)
1899 cache_file=config.cache ;;
1901 -datadir | --datadir | --datadi | --datad)
1902 ac_prev=datadir ;;
1903 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1904 datadir=$ac_optarg ;;
1906 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1907 | --dataroo | --dataro | --datar)
1908 ac_prev=datarootdir ;;
1909 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1910 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1911 datarootdir=$ac_optarg ;;
1913 -disable-* | --disable-*)
1914 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1915 # Reject names that are not valid shell variable names.
1916 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1917 as_fn_error $? "invalid feature name: \`$ac_useropt'"
1918 ac_useropt_orig=$ac_useropt
1919 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1920 case $ac_user_opts in
1922 "enable_$ac_useropt"
1923 "*) ;;
1924 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1925 ac_unrecognized_sep=', ';;
1926 esac
1927 eval enable_$ac_useropt=no ;;
1929 -docdir | --docdir | --docdi | --doc | --do)
1930 ac_prev=docdir ;;
1931 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1932 docdir=$ac_optarg ;;
1934 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1935 ac_prev=dvidir ;;
1936 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1937 dvidir=$ac_optarg ;;
1939 -enable-* | --enable-*)
1940 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1941 # Reject names that are not valid shell variable names.
1942 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1943 as_fn_error $? "invalid feature name: \`$ac_useropt'"
1944 ac_useropt_orig=$ac_useropt
1945 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1946 case $ac_user_opts in
1948 "enable_$ac_useropt"
1949 "*) ;;
1950 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1951 ac_unrecognized_sep=', ';;
1952 esac
1953 eval enable_$ac_useropt=\$ac_optarg ;;
1955 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1956 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1957 | --exec | --exe | --ex)
1958 ac_prev=exec_prefix ;;
1959 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1960 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1961 | --exec=* | --exe=* | --ex=*)
1962 exec_prefix=$ac_optarg ;;
1964 -gas | --gas | --ga | --g)
1965 # Obsolete; use --with-gas.
1966 with_gas=yes ;;
1968 -help | --help | --hel | --he | -h)
1969 ac_init_help=long ;;
1970 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1971 ac_init_help=recursive ;;
1972 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1973 ac_init_help=short ;;
1975 -host | --host | --hos | --ho)
1976 ac_prev=host_alias ;;
1977 -host=* | --host=* | --hos=* | --ho=*)
1978 host_alias=$ac_optarg ;;
1980 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1981 ac_prev=htmldir ;;
1982 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1983 | --ht=*)
1984 htmldir=$ac_optarg ;;
1986 -includedir | --includedir | --includedi | --included | --include \
1987 | --includ | --inclu | --incl | --inc)
1988 ac_prev=includedir ;;
1989 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1990 | --includ=* | --inclu=* | --incl=* | --inc=*)
1991 includedir=$ac_optarg ;;
1993 -infodir | --infodir | --infodi | --infod | --info | --inf)
1994 ac_prev=infodir ;;
1995 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1996 infodir=$ac_optarg ;;
1998 -libdir | --libdir | --libdi | --libd)
1999 ac_prev=libdir ;;
2000 -libdir=* | --libdir=* | --libdi=* | --libd=*)
2001 libdir=$ac_optarg ;;
2003 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
2004 | --libexe | --libex | --libe)
2005 ac_prev=libexecdir ;;
2006 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
2007 | --libexe=* | --libex=* | --libe=*)
2008 libexecdir=$ac_optarg ;;
2010 -localedir | --localedir | --localedi | --localed | --locale)
2011 ac_prev=localedir ;;
2012 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
2013 localedir=$ac_optarg ;;
2015 -localstatedir | --localstatedir | --localstatedi | --localstated \
2016 | --localstate | --localstat | --localsta | --localst | --locals)
2017 ac_prev=localstatedir ;;
2018 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
2019 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
2020 localstatedir=$ac_optarg ;;
2022 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
2023 ac_prev=mandir ;;
2024 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
2025 mandir=$ac_optarg ;;
2027 -nfp | --nfp | --nf)
2028 # Obsolete; use --without-fp.
2029 with_fp=no ;;
2031 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
2032 | --no-cr | --no-c | -n)
2033 no_create=yes ;;
2035 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
2036 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
2037 no_recursion=yes ;;
2039 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
2040 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
2041 | --oldin | --oldi | --old | --ol | --o)
2042 ac_prev=oldincludedir ;;
2043 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
2044 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
2045 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
2046 oldincludedir=$ac_optarg ;;
2048 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2049 ac_prev=prefix ;;
2050 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2051 prefix=$ac_optarg ;;
2053 -program-prefix | --program-prefix | --program-prefi | --program-pref \
2054 | --program-pre | --program-pr | --program-p)
2055 ac_prev=program_prefix ;;
2056 -program-prefix=* | --program-prefix=* | --program-prefi=* \
2057 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2058 program_prefix=$ac_optarg ;;
2060 -program-suffix | --program-suffix | --program-suffi | --program-suff \
2061 | --program-suf | --program-su | --program-s)
2062 ac_prev=program_suffix ;;
2063 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2064 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2065 program_suffix=$ac_optarg ;;
2067 -program-transform-name | --program-transform-name \
2068 | --program-transform-nam | --program-transform-na \
2069 | --program-transform-n | --program-transform- \
2070 | --program-transform | --program-transfor \
2071 | --program-transfo | --program-transf \
2072 | --program-trans | --program-tran \
2073 | --progr-tra | --program-tr | --program-t)
2074 ac_prev=program_transform_name ;;
2075 -program-transform-name=* | --program-transform-name=* \
2076 | --program-transform-nam=* | --program-transform-na=* \
2077 | --program-transform-n=* | --program-transform-=* \
2078 | --program-transform=* | --program-transfor=* \
2079 | --program-transfo=* | --program-transf=* \
2080 | --program-trans=* | --program-tran=* \
2081 | --progr-tra=* | --program-tr=* | --program-t=*)
2082 program_transform_name=$ac_optarg ;;
2084 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2085 ac_prev=pdfdir ;;
2086 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2087 pdfdir=$ac_optarg ;;
2089 -psdir | --psdir | --psdi | --psd | --ps)
2090 ac_prev=psdir ;;
2091 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2092 psdir=$ac_optarg ;;
2094 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2095 | -silent | --silent | --silen | --sile | --sil)
2096 silent=yes ;;
2098 -runstatedir | --runstatedir | --runstatedi | --runstated \
2099 | --runstate | --runstat | --runsta | --runst | --runs \
2100 | --run | --ru | --r)
2101 ac_prev=runstatedir ;;
2102 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2103 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2104 | --run=* | --ru=* | --r=*)
2105 runstatedir=$ac_optarg ;;
2107 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2108 ac_prev=sbindir ;;
2109 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2110 | --sbi=* | --sb=*)
2111 sbindir=$ac_optarg ;;
2113 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2114 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2115 | --sharedst | --shareds | --shared | --share | --shar \
2116 | --sha | --sh)
2117 ac_prev=sharedstatedir ;;
2118 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2119 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2120 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2121 | --sha=* | --sh=*)
2122 sharedstatedir=$ac_optarg ;;
2124 -site | --site | --sit)
2125 ac_prev=site ;;
2126 -site=* | --site=* | --sit=*)
2127 site=$ac_optarg ;;
2129 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2130 ac_prev=srcdir ;;
2131 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2132 srcdir=$ac_optarg ;;
2134 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2135 | --syscon | --sysco | --sysc | --sys | --sy)
2136 ac_prev=sysconfdir ;;
2137 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2138 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2139 sysconfdir=$ac_optarg ;;
2141 -target | --target | --targe | --targ | --tar | --ta | --t)
2142 ac_prev=target_alias ;;
2143 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2144 target_alias=$ac_optarg ;;
2146 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2147 verbose=yes ;;
2149 -version | --version | --versio | --versi | --vers | -V)
2150 ac_init_version=: ;;
2152 -with-* | --with-*)
2153 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2154 # Reject names that are not valid shell variable names.
2155 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2156 as_fn_error $? "invalid package name: \`$ac_useropt'"
2157 ac_useropt_orig=$ac_useropt
2158 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2159 case $ac_user_opts in
2161 "with_$ac_useropt"
2162 "*) ;;
2163 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2164 ac_unrecognized_sep=', ';;
2165 esac
2166 eval with_$ac_useropt=\$ac_optarg ;;
2168 -without-* | --without-*)
2169 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2170 # Reject names that are not valid shell variable names.
2171 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2172 as_fn_error $? "invalid package name: \`$ac_useropt'"
2173 ac_useropt_orig=$ac_useropt
2174 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2175 case $ac_user_opts in
2177 "with_$ac_useropt"
2178 "*) ;;
2179 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2180 ac_unrecognized_sep=', ';;
2181 esac
2182 eval with_$ac_useropt=no ;;
2184 --x)
2185 # Obsolete; use --with-x.
2186 with_x=yes ;;
2188 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2189 | --x-incl | --x-inc | --x-in | --x-i)
2190 ac_prev=x_includes ;;
2191 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2192 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2193 x_includes=$ac_optarg ;;
2195 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2196 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2197 ac_prev=x_libraries ;;
2198 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2199 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2200 x_libraries=$ac_optarg ;;
2202 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2203 Try \`$0 --help' for more information"
2206 *=*)
2207 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2208 # Reject names that are not valid shell variable names.
2209 case $ac_envvar in #(
2210 '' | [0-9]* | *[!_$as_cr_alnum]* )
2211 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2212 esac
2213 eval $ac_envvar=\$ac_optarg
2214 export $ac_envvar ;;
2217 # FIXME: should be removed in autoconf 3.0.
2218 printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
2219 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2220 printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
2221 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2224 esac
2225 done
2227 if test -n "$ac_prev"; then
2228 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2229 as_fn_error $? "missing argument to $ac_option"
2232 if test -n "$ac_unrecognized_opts"; then
2233 case $enable_option_checking in
2234 no) ;;
2235 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2236 *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2237 esac
2240 # Check all directory arguments for consistency.
2241 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2242 datadir sysconfdir sharedstatedir localstatedir includedir \
2243 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2244 libdir localedir mandir runstatedir
2246 eval ac_val=\$$ac_var
2247 # Remove trailing slashes.
2248 case $ac_val in
2249 */ )
2250 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2251 eval $ac_var=\$ac_val;;
2252 esac
2253 # Be sure to have absolute directory names.
2254 case $ac_val in
2255 [\\/$]* | ?:[\\/]* ) continue;;
2256 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2257 esac
2258 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2259 done
2261 # There might be people who depend on the old broken behavior: `$host'
2262 # used to hold the argument of --host etc.
2263 # FIXME: To remove some day.
2264 build=$build_alias
2265 host=$host_alias
2266 target=$target_alias
2268 # FIXME: To remove some day.
2269 if test "x$host_alias" != x; then
2270 if test "x$build_alias" = x; then
2271 cross_compiling=maybe
2272 elif test "x$build_alias" != "x$host_alias"; then
2273 cross_compiling=yes
2277 ac_tool_prefix=
2278 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2280 test "$silent" = yes && exec 6>/dev/null
2283 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2284 ac_ls_di=`ls -di .` &&
2285 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2286 as_fn_error $? "working directory cannot be determined"
2287 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2288 as_fn_error $? "pwd does not report name of working directory"
2291 # Find the source files, if location was not specified.
2292 if test -z "$srcdir"; then
2293 ac_srcdir_defaulted=yes
2294 # Try the directory containing this script, then the parent directory.
2295 ac_confdir=`$as_dirname -- "$as_myself" ||
2296 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2297 X"$as_myself" : 'X\(//\)[^/]' \| \
2298 X"$as_myself" : 'X\(//\)$' \| \
2299 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2300 printf "%s\n" X"$as_myself" |
2301 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2302 s//\1/
2305 /^X\(\/\/\)[^/].*/{
2306 s//\1/
2309 /^X\(\/\/\)$/{
2310 s//\1/
2313 /^X\(\/\).*/{
2314 s//\1/
2317 s/.*/./; q'`
2318 srcdir=$ac_confdir
2319 if test ! -r "$srcdir/$ac_unique_file"; then
2320 srcdir=..
2322 else
2323 ac_srcdir_defaulted=no
2325 if test ! -r "$srcdir/$ac_unique_file"; then
2326 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2327 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2329 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2330 ac_abs_confdir=`(
2331 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2332 pwd)`
2333 # When building in place, set srcdir=.
2334 if test "$ac_abs_confdir" = "$ac_pwd"; then
2335 srcdir=.
2337 # Remove unnecessary trailing slashes from srcdir.
2338 # Double slashes in file names in object file debugging info
2339 # mess up M-x gdb in Emacs.
2340 case $srcdir in
2341 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2342 esac
2343 for ac_var in $ac_precious_vars; do
2344 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2345 eval ac_env_${ac_var}_value=\$${ac_var}
2346 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2347 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2348 done
2351 # Report the --help message.
2353 if test "$ac_init_help" = "long"; then
2354 # Omit some internal or obsolete options to make the list less imposing.
2355 # This message is too long to be a string in the A/UX 3.1 sh.
2356 cat <<_ACEOF
2357 \`configure' configures Wine 8.13 to adapt to many kinds of systems.
2359 Usage: $0 [OPTION]... [VAR=VALUE]...
2361 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2362 VAR=VALUE. See below for descriptions of some of the useful variables.
2364 Defaults for the options are specified in brackets.
2366 Configuration:
2367 -h, --help display this help and exit
2368 --help=short display options specific to this package
2369 --help=recursive display the short help of all the included packages
2370 -V, --version display version information and exit
2371 -q, --quiet, --silent do not print \`checking ...' messages
2372 --cache-file=FILE cache test results in FILE [disabled]
2373 -C, --config-cache alias for \`--cache-file=config.cache'
2374 -n, --no-create do not create output files
2375 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2377 Installation directories:
2378 --prefix=PREFIX install architecture-independent files in PREFIX
2379 [$ac_default_prefix]
2380 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2381 [PREFIX]
2383 By default, \`make install' will install all the files in
2384 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2385 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2386 for instance \`--prefix=\$HOME'.
2388 For better control, use the options below.
2390 Fine tuning of the installation directories:
2391 --bindir=DIR user executables [EPREFIX/bin]
2392 --sbindir=DIR system admin executables [EPREFIX/sbin]
2393 --libexecdir=DIR program executables [EPREFIX/libexec]
2394 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2395 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2396 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2397 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2398 --libdir=DIR object code libraries [EPREFIX/lib]
2399 --includedir=DIR C header files [PREFIX/include]
2400 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2401 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2402 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2403 --infodir=DIR info documentation [DATAROOTDIR/info]
2404 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2405 --mandir=DIR man documentation [DATAROOTDIR/man]
2406 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2407 --htmldir=DIR html documentation [DOCDIR]
2408 --dvidir=DIR dvi documentation [DOCDIR]
2409 --pdfdir=DIR pdf documentation [DOCDIR]
2410 --psdir=DIR ps documentation [DOCDIR]
2411 _ACEOF
2413 cat <<\_ACEOF
2415 X features:
2416 --x-includes=DIR X include files are in DIR
2417 --x-libraries=DIR X library files are in DIR
2419 System types:
2420 --build=BUILD configure for building on BUILD [guessed]
2421 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2422 _ACEOF
2425 if test -n "$ac_init_help"; then
2426 case $ac_init_help in
2427 short | recursive ) echo "Configuration of Wine 8.13:";;
2428 esac
2429 cat <<\_ACEOF
2431 Optional Features:
2432 --disable-option-checking ignore unrecognized --enable/--with options
2433 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2434 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2435 --enable-archs={i386,x86_64,arm,aarch64}
2436 enable multiple architectures for PE compilation
2437 --disable-win16 do not include Win16 support
2438 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2439 binaries)
2440 --disable-tests do not build the regression tests
2441 --enable-build-id include .buildid section in output objects
2442 --enable-maintainer-mode
2443 enable maintainer-specific build rules
2444 --enable-silent-rules use silent build rules (override: "make V=1")
2445 --enable-werror treat compilation warnings as errors
2446 --disable-largefile omit support for large files
2448 Optional Packages:
2449 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2450 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2451 --without-alsa do not use the Alsa sound support
2452 --without-capi do not use CAPI (ISDN support)
2453 --without-coreaudio do not use the CoreAudio sound support
2454 --without-cups do not use CUPS
2455 --without-dbus do not use DBus (dynamic device support)
2456 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2457 --without-fontconfig do not use fontconfig
2458 --without-freetype do not use the FreeType library
2459 --without-gettext do not use gettext
2460 --with-gettextpo use the GetTextPO library to rebuild po files
2461 --without-gphoto do not use gphoto (Digital Camera support)
2462 --without-gnutls do not use GnuTLS (schannel support)
2463 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2464 --without-gstreamer do not use GStreamer (codecs support)
2465 --without-inotify do not use inotify (filesystem change notifications)
2466 --without-krb5 do not use krb5 (Kerberos)
2467 --without-mingw do not use the MinGW cross-compiler
2468 --without-netapi do not use the Samba NetAPI library
2469 --without-opencl do not use OpenCL
2470 --without-opengl do not use OpenGL
2471 --without-osmesa do not use the OSMesa library
2472 --without-oss do not use the OSS sound support
2473 --without-pcap do not use the Packet Capture library
2474 --without-pcsclite do not use PCSC lite
2475 --without-pthread do not use the pthread library
2476 --without-pulse do not use PulseAudio sound support
2477 --without-sane do not use SANE (scanner support)
2478 --without-sdl do not use SDL
2479 --without-udev do not use udev (plug and play support)
2480 --without-unwind do not use the libunwind library (exception
2481 handling)
2482 --without-usb do not use the libusb library
2483 --without-v4l2 do not use v4l2 (video capture)
2484 --without-vulkan do not use Vulkan
2485 --without-wayland do not build the Wayland driver
2486 --without-xcomposite do not use the Xcomposite extension
2487 --without-xcursor do not use the Xcursor extension
2488 --without-xfixes do not use Xfixes for clipboard change notifications
2489 --without-xinerama do not use Xinerama (legacy multi-monitor support)
2490 --without-xinput do not use the Xinput extension
2491 --without-xinput2 do not use the Xinput 2 extension
2492 --without-xrandr do not use Xrandr (multi-monitor support)
2493 --without-xrender do not use the Xrender extension
2494 --without-xshape do not use the Xshape extension
2495 --without-xshm do not use XShm (shared memory extension)
2496 --without-xxf86vm do not use XFree video mode extension
2497 --with-system-dllpath=PATH
2498 load external PE dependencies from colon-separated
2499 path PATH
2500 --with-wine-tools=DIR use Wine tools from directory DIR
2501 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2502 --with-x use the X Window System
2504 Some influential environment variables:
2505 CC C compiler command
2506 CFLAGS C compiler flags
2507 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2508 nonstandard directory <lib dir>
2509 LIBS libraries to pass to the linker, e.g. -l<library>
2510 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2511 you have headers in a nonstandard directory <include dir>
2512 CXX C++ compiler command
2513 CXXFLAGS C++ compiler flags
2514 OBJC Objective C compiler command
2515 OBJCFLAGS Objective C compiler flags
2516 FAUDIO_PE_CFLAGS
2517 C compiler flags for the PE faudio, overriding the bundled
2518 version
2519 FAUDIO_PE_LIBS
2520 Linker flags for the PE faudio, overriding the bundled version
2521 GSM_PE_CFLAGS
2522 C compiler flags for the PE gsm, overriding the bundled version
2523 GSM_PE_LIBS Linker flags for the PE gsm, overriding the bundled version
2524 JPEG_PE_CFLAGS
2525 C compiler flags for the PE jpeg, overriding the bundled version
2526 JPEG_PE_LIBS
2527 Linker flags for the PE jpeg, overriding the bundled version
2528 JXR_PE_CFLAGS
2529 C compiler flags for the PE jxr, overriding the bundled version
2530 JXR_PE_LIBS Linker flags for the PE jxr, overriding the bundled version
2531 LCMS2_PE_CFLAGS
2532 C compiler flags for the PE lcms2, overriding the bundled
2533 version
2534 LCMS2_PE_LIBS
2535 Linker flags for the PE lcms2, overriding the bundled version
2536 LDAP_PE_CFLAGS
2537 C compiler flags for the PE ldap, overriding the bundled version
2538 LDAP_PE_LIBS
2539 Linker flags for the PE ldap, overriding the bundled version
2540 MPG123_PE_CFLAGS
2541 C compiler flags for the PE mpg123, overriding the bundled
2542 version
2543 MPG123_PE_LIBS
2544 Linker flags for the PE mpg123, overriding the bundled version
2545 MUSL_PE_CFLAGS
2546 C compiler flags for the PE musl, overriding the bundled version
2547 MUSL_PE_LIBS
2548 Linker flags for the PE musl, overriding the bundled version
2549 PNG_PE_CFLAGS
2550 C compiler flags for the PE png, overriding the bundled version
2551 PNG_PE_LIBS Linker flags for the PE png, overriding the bundled version
2552 TIFF_PE_CFLAGS
2553 C compiler flags for the PE tiff, overriding the bundled version
2554 TIFF_PE_LIBS
2555 Linker flags for the PE tiff, overriding the bundled version
2556 VKD3D_PE_CFLAGS
2557 C compiler flags for the PE vkd3d, overriding the bundled
2558 version
2559 VKD3D_PE_LIBS
2560 Linker flags for the PE vkd3d, overriding the bundled version
2561 XML2_PE_CFLAGS
2562 C compiler flags for the PE xml2, overriding the bundled version
2563 XML2_PE_LIBS
2564 Linker flags for the PE xml2, overriding the bundled version
2565 XSLT_PE_CFLAGS
2566 C compiler flags for the PE xslt, overriding the bundled version
2567 XSLT_PE_LIBS
2568 Linker flags for the PE xslt, overriding the bundled version
2569 ZLIB_PE_CFLAGS
2570 C compiler flags for the PE zlib, overriding the bundled version
2571 ZLIB_PE_LIBS
2572 Linker flags for the PE zlib, overriding the bundled version
2573 ZYDIS_PE_CFLAGS
2574 C compiler flags for the PE zydis, overriding the bundled
2575 version
2576 ZYDIS_PE_LIBS
2577 Linker flags for the PE zydis, overriding the bundled version
2578 XMKMF Path to xmkmf, Makefile generator for X Window System
2579 CPP C preprocessor
2580 WAYLAND_CLIENT_CFLAGS
2581 C compiler flags for wayland-client, overriding pkg-config
2582 WAYLAND_CLIENT_LIBS
2583 Linker flags for wayland-client, overriding pkg-config
2584 INOTIFY_CFLAGS
2585 C compiler flags for libinotify, overriding pkg-config
2586 INOTIFY_LIBS
2587 Linker flags for libinotify, overriding pkg-config
2588 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2589 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2590 GNUTLS_CFLAGS
2591 C compiler flags for gnutls, overriding pkg-config
2592 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2593 SANE_CFLAGS C compiler flags for sane-backends, overriding pkg-config
2594 SANE_LIBS Linker flags for sane-backends, overriding pkg-config
2595 USB_CFLAGS C compiler flags for libusb-1.0, overriding pkg-config
2596 USB_LIBS Linker flags for libusb-1.0, overriding pkg-config
2597 GPHOTO2_CFLAGS
2598 C compiler flags for libgphoto2, overriding pkg-config
2599 GPHOTO2_LIBS
2600 Linker flags for libgphoto2, overriding pkg-config
2601 GPHOTO2_PORT_CFLAGS
2602 C compiler flags for libgphoto2_port, overriding pkg-config
2603 GPHOTO2_PORT_LIBS
2604 Linker flags for libgphoto2_port, overriding pkg-config
2605 FREETYPE_CFLAGS
2606 C compiler flags for freetype2, overriding pkg-config
2607 FREETYPE_LIBS
2608 Linker flags for freetype2, overriding pkg-config
2609 PULSE_CFLAGS
2610 C compiler flags for libpulse, overriding pkg-config
2611 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2612 GSTREAMER_CFLAGS
2613 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2614 gstreamer-audio-1.0 gstreamer-tag-1.0, overriding pkg-config
2615 GSTREAMER_LIBS
2616 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2617 gstreamer-audio-1.0 gstreamer-tag-1.0, overriding pkg-config
2618 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2619 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2620 UNWIND_CFLAGS
2621 C compiler flags for libunwind, overriding pkg-config
2622 UNWIND_LIBS Linker flags for libunwind, overriding pkg-config
2623 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2624 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2625 CAPI20_CFLAGS
2626 C compiler flags for capi20, overriding pkg-config
2627 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2628 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2629 CUPS_LIBS Linker flags for cups, overriding pkg-config
2630 FONTCONFIG_CFLAGS
2631 C compiler flags for fontconfig, overriding pkg-config
2632 FONTCONFIG_LIBS
2633 Linker flags for fontconfig, overriding pkg-config
2634 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2635 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2636 GSSAPI_CFLAGS
2637 C compiler flags for krb5-gssapi, overriding pkg-config
2638 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2639 NETAPI_CFLAGS
2640 C compiler flags for netapi, overriding pkg-config
2641 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2643 Use these variables to override the choices made by `configure' or to help
2644 it to find libraries and programs with nonstandard names/locations.
2646 Report bugs to <wine-devel@winehq.org>.
2647 Wine home page: <https://www.winehq.org>.
2648 _ACEOF
2649 ac_status=$?
2652 if test "$ac_init_help" = "recursive"; then
2653 # If there are subdirs, report their specific --help.
2654 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2655 test -d "$ac_dir" ||
2656 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2657 continue
2658 ac_builddir=.
2660 case "$ac_dir" in
2661 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2663 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
2664 # A ".." for each directory in $ac_dir_suffix.
2665 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2666 case $ac_top_builddir_sub in
2667 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2668 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2669 esac ;;
2670 esac
2671 ac_abs_top_builddir=$ac_pwd
2672 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2673 # for backward compatibility:
2674 ac_top_builddir=$ac_top_build_prefix
2676 case $srcdir in
2677 .) # We are building in place.
2678 ac_srcdir=.
2679 ac_top_srcdir=$ac_top_builddir_sub
2680 ac_abs_top_srcdir=$ac_pwd ;;
2681 [\\/]* | ?:[\\/]* ) # Absolute name.
2682 ac_srcdir=$srcdir$ac_dir_suffix;
2683 ac_top_srcdir=$srcdir
2684 ac_abs_top_srcdir=$srcdir ;;
2685 *) # Relative name.
2686 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2687 ac_top_srcdir=$ac_top_build_prefix$srcdir
2688 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2689 esac
2690 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2692 cd "$ac_dir" || { ac_status=$?; continue; }
2693 # Check for configure.gnu first; this name is used for a wrapper for
2694 # Metaconfig's "Configure" on case-insensitive file systems.
2695 if test -f "$ac_srcdir/configure.gnu"; then
2696 echo &&
2697 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2698 elif test -f "$ac_srcdir/configure"; then
2699 echo &&
2700 $SHELL "$ac_srcdir/configure" --help=recursive
2701 else
2702 printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2703 fi || ac_status=$?
2704 cd "$ac_pwd" || { ac_status=$?; break; }
2705 done
2708 test -n "$ac_init_help" && exit $ac_status
2709 if $ac_init_version; then
2710 cat <<\_ACEOF
2711 Wine configure 8.13
2712 generated by GNU Autoconf 2.71
2714 Copyright (C) 2021 Free Software Foundation, Inc.
2715 This configure script is free software; the Free Software Foundation
2716 gives unlimited permission to copy, distribute and modify it.
2717 _ACEOF
2718 exit
2721 ## ------------------------ ##
2722 ## Autoconf initialization. ##
2723 ## ------------------------ ##
2725 # ac_fn_c_try_compile LINENO
2726 # --------------------------
2727 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2728 ac_fn_c_try_compile ()
2730 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2731 rm -f conftest.$ac_objext conftest.beam
2732 if { { ac_try="$ac_compile"
2733 case "(($ac_try" in
2734 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2735 *) ac_try_echo=$ac_try;;
2736 esac
2737 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2738 printf "%s\n" "$ac_try_echo"; } >&5
2739 (eval "$ac_compile") 2>conftest.err
2740 ac_status=$?
2741 if test -s conftest.err; then
2742 grep -v '^ *+' conftest.err >conftest.er1
2743 cat conftest.er1 >&5
2744 mv -f conftest.er1 conftest.err
2746 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2747 test $ac_status = 0; } && {
2748 test -z "$ac_c_werror_flag" ||
2749 test ! -s conftest.err
2750 } && test -s conftest.$ac_objext
2751 then :
2752 ac_retval=0
2753 else $as_nop
2754 printf "%s\n" "$as_me: failed program was:" >&5
2755 sed 's/^/| /' conftest.$ac_ext >&5
2757 ac_retval=1
2759 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2760 as_fn_set_status $ac_retval
2762 } # ac_fn_c_try_compile
2764 # ac_fn_cxx_try_compile LINENO
2765 # ----------------------------
2766 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2767 ac_fn_cxx_try_compile ()
2769 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2770 rm -f conftest.$ac_objext conftest.beam
2771 if { { ac_try="$ac_compile"
2772 case "(($ac_try" in
2773 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2774 *) ac_try_echo=$ac_try;;
2775 esac
2776 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2777 printf "%s\n" "$ac_try_echo"; } >&5
2778 (eval "$ac_compile") 2>conftest.err
2779 ac_status=$?
2780 if test -s conftest.err; then
2781 grep -v '^ *+' conftest.err >conftest.er1
2782 cat conftest.er1 >&5
2783 mv -f conftest.er1 conftest.err
2785 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2786 test $ac_status = 0; } && {
2787 test -z "$ac_cxx_werror_flag" ||
2788 test ! -s conftest.err
2789 } && test -s conftest.$ac_objext
2790 then :
2791 ac_retval=0
2792 else $as_nop
2793 printf "%s\n" "$as_me: failed program was:" >&5
2794 sed 's/^/| /' conftest.$ac_ext >&5
2796 ac_retval=1
2798 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2799 as_fn_set_status $ac_retval
2801 } # ac_fn_cxx_try_compile
2803 # ac_fn_c_try_link LINENO
2804 # -----------------------
2805 # Try to link conftest.$ac_ext, and return whether this succeeded.
2806 ac_fn_c_try_link ()
2808 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2809 rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
2810 if { { ac_try="$ac_link"
2811 case "(($ac_try" in
2812 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2813 *) ac_try_echo=$ac_try;;
2814 esac
2815 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2816 printf "%s\n" "$ac_try_echo"; } >&5
2817 (eval "$ac_link") 2>conftest.err
2818 ac_status=$?
2819 if test -s conftest.err; then
2820 grep -v '^ *+' conftest.err >conftest.er1
2821 cat conftest.er1 >&5
2822 mv -f conftest.er1 conftest.err
2824 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2825 test $ac_status = 0; } && {
2826 test -z "$ac_c_werror_flag" ||
2827 test ! -s conftest.err
2828 } && test -s conftest$ac_exeext && {
2829 test "$cross_compiling" = yes ||
2830 test -x conftest$ac_exeext
2832 then :
2833 ac_retval=0
2834 else $as_nop
2835 printf "%s\n" "$as_me: failed program was:" >&5
2836 sed 's/^/| /' conftest.$ac_ext >&5
2838 ac_retval=1
2840 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2841 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2842 # interfere with the next link command; also delete a directory that is
2843 # left behind by Apple's compiler. We do this before executing the actions.
2844 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2845 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2846 as_fn_set_status $ac_retval
2848 } # ac_fn_c_try_link
2850 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2851 # -------------------------------------------------------
2852 # Tests whether HEADER exists and can be compiled using the include files in
2853 # INCLUDES, setting the cache variable VAR accordingly.
2854 ac_fn_c_check_header_compile ()
2856 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2857 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2858 printf %s "checking for $2... " >&6; }
2859 if eval test \${$3+y}
2860 then :
2861 printf %s "(cached) " >&6
2862 else $as_nop
2863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2864 /* end confdefs.h. */
2866 #include <$2>
2867 _ACEOF
2868 if ac_fn_c_try_compile "$LINENO"
2869 then :
2870 eval "$3=yes"
2871 else $as_nop
2872 eval "$3=no"
2874 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2876 eval ac_res=\$$3
2877 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2878 printf "%s\n" "$ac_res" >&6; }
2879 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2881 } # ac_fn_c_check_header_compile
2883 # ac_fn_objc_try_compile LINENO
2884 # -----------------------------
2885 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2886 ac_fn_objc_try_compile ()
2888 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2889 rm -f conftest.$ac_objext conftest.beam
2890 if { { ac_try="$ac_compile"
2891 case "(($ac_try" in
2892 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2893 *) ac_try_echo=$ac_try;;
2894 esac
2895 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2896 printf "%s\n" "$ac_try_echo"; } >&5
2897 (eval "$ac_compile") 2>conftest.err
2898 ac_status=$?
2899 if test -s conftest.err; then
2900 grep -v '^ *+' conftest.err >conftest.er1
2901 cat conftest.er1 >&5
2902 mv -f conftest.er1 conftest.err
2904 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2905 test $ac_status = 0; } && {
2906 test -z "$ac_objc_werror_flag" ||
2907 test ! -s conftest.err
2908 } && test -s conftest.$ac_objext
2909 then :
2910 ac_retval=0
2911 else $as_nop
2912 printf "%s\n" "$as_me: failed program was:" >&5
2913 sed 's/^/| /' conftest.$ac_ext >&5
2915 ac_retval=1
2917 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2918 as_fn_set_status $ac_retval
2920 } # ac_fn_objc_try_compile
2922 # ac_fn_c_check_func LINENO FUNC VAR
2923 # ----------------------------------
2924 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2925 ac_fn_c_check_func ()
2927 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2928 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2929 printf %s "checking for $2... " >&6; }
2930 if eval test \${$3+y}
2931 then :
2932 printf %s "(cached) " >&6
2933 else $as_nop
2934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2935 /* end confdefs.h. */
2936 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2937 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2938 #define $2 innocuous_$2
2940 /* System header to define __stub macros and hopefully few prototypes,
2941 which can conflict with char $2 (); below. */
2943 #include <limits.h>
2944 #undef $2
2946 /* Override any GCC internal prototype to avoid an error.
2947 Use char because int might match the return type of a GCC
2948 builtin and then its argument prototype would still apply. */
2949 #ifdef __cplusplus
2950 extern "C"
2951 #endif
2952 char $2 ();
2953 /* The GNU C library defines this for functions which it implements
2954 to always fail with ENOSYS. Some functions are actually named
2955 something starting with __ and the normal name is an alias. */
2956 #if defined __stub_$2 || defined __stub___$2
2957 choke me
2958 #endif
2961 main (void)
2963 return $2 ();
2965 return 0;
2967 _ACEOF
2968 if ac_fn_c_try_link "$LINENO"
2969 then :
2970 eval "$3=yes"
2971 else $as_nop
2972 eval "$3=no"
2974 rm -f core conftest.err conftest.$ac_objext conftest.beam \
2975 conftest$ac_exeext conftest.$ac_ext
2977 eval ac_res=\$$3
2978 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2979 printf "%s\n" "$ac_res" >&6; }
2980 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2982 } # ac_fn_c_check_func
2984 # ac_fn_c_try_cpp LINENO
2985 # ----------------------
2986 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2987 ac_fn_c_try_cpp ()
2989 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2990 if { { ac_try="$ac_cpp conftest.$ac_ext"
2991 case "(($ac_try" in
2992 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2993 *) ac_try_echo=$ac_try;;
2994 esac
2995 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2996 printf "%s\n" "$ac_try_echo"; } >&5
2997 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2998 ac_status=$?
2999 if test -s conftest.err; then
3000 grep -v '^ *+' conftest.err >conftest.er1
3001 cat conftest.er1 >&5
3002 mv -f conftest.er1 conftest.err
3004 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3005 test $ac_status = 0; } > conftest.i && {
3006 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3007 test ! -s conftest.err
3009 then :
3010 ac_retval=0
3011 else $as_nop
3012 printf "%s\n" "$as_me: failed program was:" >&5
3013 sed 's/^/| /' conftest.$ac_ext >&5
3015 ac_retval=1
3017 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3018 as_fn_set_status $ac_retval
3020 } # ac_fn_c_try_cpp
3022 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3023 # ----------------------------------------------------
3024 # Tries to find if the field MEMBER exists in type AGGR, after including
3025 # INCLUDES, setting cache variable VAR accordingly.
3026 ac_fn_c_check_member ()
3028 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3029 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3030 printf %s "checking for $2.$3... " >&6; }
3031 if eval test \${$4+y}
3032 then :
3033 printf %s "(cached) " >&6
3034 else $as_nop
3035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3036 /* end confdefs.h. */
3039 main (void)
3041 static $2 ac_aggr;
3042 if (ac_aggr.$3)
3043 return 0;
3045 return 0;
3047 _ACEOF
3048 if ac_fn_c_try_compile "$LINENO"
3049 then :
3050 eval "$4=yes"
3051 else $as_nop
3052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3053 /* end confdefs.h. */
3056 main (void)
3058 static $2 ac_aggr;
3059 if (sizeof ac_aggr.$3)
3060 return 0;
3062 return 0;
3064 _ACEOF
3065 if ac_fn_c_try_compile "$LINENO"
3066 then :
3067 eval "$4=yes"
3068 else $as_nop
3069 eval "$4=no"
3071 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3073 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3075 eval ac_res=\$$4
3076 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3077 printf "%s\n" "$ac_res" >&6; }
3078 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3080 } # ac_fn_c_check_member
3082 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3083 # -------------------------------------------
3084 # Tests whether TYPE exists after having included INCLUDES, setting cache
3085 # variable VAR accordingly.
3086 ac_fn_c_check_type ()
3088 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3089 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3090 printf %s "checking for $2... " >&6; }
3091 if eval test \${$3+y}
3092 then :
3093 printf %s "(cached) " >&6
3094 else $as_nop
3095 eval "$3=no"
3096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3097 /* end confdefs.h. */
3100 main (void)
3102 if (sizeof ($2))
3103 return 0;
3105 return 0;
3107 _ACEOF
3108 if ac_fn_c_try_compile "$LINENO"
3109 then :
3110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3111 /* end confdefs.h. */
3114 main (void)
3116 if (sizeof (($2)))
3117 return 0;
3119 return 0;
3121 _ACEOF
3122 if ac_fn_c_try_compile "$LINENO"
3123 then :
3125 else $as_nop
3126 eval "$3=yes"
3128 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3130 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3132 eval ac_res=\$$3
3133 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3134 printf "%s\n" "$ac_res" >&6; }
3135 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3137 } # ac_fn_c_check_type
3138 ac_configure_args_raw=
3139 for ac_arg
3141 case $ac_arg in
3142 *\'*)
3143 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3144 esac
3145 as_fn_append ac_configure_args_raw " '$ac_arg'"
3146 done
3148 case $ac_configure_args_raw in
3149 *$as_nl*)
3150 ac_safe_unquote= ;;
3152 ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab.
3153 ac_unsafe_a="$ac_unsafe_z#~"
3154 ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
3155 ac_configure_args_raw=` printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
3156 esac
3158 cat >config.log <<_ACEOF
3159 This file contains any messages produced by compilers while
3160 running configure, to aid debugging if configure makes a mistake.
3162 It was created by Wine $as_me 8.13, which was
3163 generated by GNU Autoconf 2.71. Invocation command line was
3165 $ $0$ac_configure_args_raw
3167 _ACEOF
3168 exec 5>>config.log
3170 cat <<_ASUNAME
3171 ## --------- ##
3172 ## Platform. ##
3173 ## --------- ##
3175 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3176 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3177 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3178 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3179 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3181 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3182 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3184 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3185 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3186 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3187 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3188 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3189 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3190 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3192 _ASUNAME
3194 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3195 for as_dir in $PATH
3197 IFS=$as_save_IFS
3198 case $as_dir in #(((
3199 '') as_dir=./ ;;
3200 */) ;;
3201 *) as_dir=$as_dir/ ;;
3202 esac
3203 printf "%s\n" "PATH: $as_dir"
3204 done
3205 IFS=$as_save_IFS
3207 } >&5
3209 cat >&5 <<_ACEOF
3212 ## ----------- ##
3213 ## Core tests. ##
3214 ## ----------- ##
3216 _ACEOF
3219 # Keep a trace of the command line.
3220 # Strip out --no-create and --no-recursion so they do not pile up.
3221 # Strip out --silent because we don't want to record it for future runs.
3222 # Also quote any args containing shell meta-characters.
3223 # Make two passes to allow for proper duplicate-argument suppression.
3224 ac_configure_args=
3225 ac_configure_args0=
3226 ac_configure_args1=
3227 ac_must_keep_next=false
3228 for ac_pass in 1 2
3230 for ac_arg
3232 case $ac_arg in
3233 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3234 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3235 | -silent | --silent | --silen | --sile | --sil)
3236 continue ;;
3237 *\'*)
3238 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3239 esac
3240 case $ac_pass in
3241 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3243 as_fn_append ac_configure_args1 " '$ac_arg'"
3244 if test $ac_must_keep_next = true; then
3245 ac_must_keep_next=false # Got value, back to normal.
3246 else
3247 case $ac_arg in
3248 *=* | --config-cache | -C | -disable-* | --disable-* \
3249 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3250 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3251 | -with-* | --with-* | -without-* | --without-* | --x)
3252 case "$ac_configure_args0 " in
3253 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3254 esac
3256 -* ) ac_must_keep_next=true ;;
3257 esac
3259 as_fn_append ac_configure_args " '$ac_arg'"
3261 esac
3262 done
3263 done
3264 { ac_configure_args0=; unset ac_configure_args0;}
3265 { ac_configure_args1=; unset ac_configure_args1;}
3267 # When interrupted or exit'd, cleanup temporary files, and complete
3268 # config.log. We remove comments because anyway the quotes in there
3269 # would cause problems or look ugly.
3270 # WARNING: Use '\'' to represent an apostrophe within the trap.
3271 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3272 trap 'exit_status=$?
3273 # Sanitize IFS.
3274 IFS=" "" $as_nl"
3275 # Save into config.log some information that might help in debugging.
3277 echo
3279 printf "%s\n" "## ---------------- ##
3280 ## Cache variables. ##
3281 ## ---------------- ##"
3282 echo
3283 # The following way of writing the cache mishandles newlines in values,
3285 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3286 eval ac_val=\$$ac_var
3287 case $ac_val in #(
3288 *${as_nl}*)
3289 case $ac_var in #(
3290 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3291 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3292 esac
3293 case $ac_var in #(
3294 _ | IFS | as_nl) ;; #(
3295 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3296 *) { eval $ac_var=; unset $ac_var;} ;;
3297 esac ;;
3298 esac
3299 done
3300 (set) 2>&1 |
3301 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3302 *${as_nl}ac_space=\ *)
3303 sed -n \
3304 "s/'\''/'\''\\\\'\'''\''/g;
3305 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3306 ;; #(
3308 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3310 esac |
3311 sort
3313 echo
3315 printf "%s\n" "## ----------------- ##
3316 ## Output variables. ##
3317 ## ----------------- ##"
3318 echo
3319 for ac_var in $ac_subst_vars
3321 eval ac_val=\$$ac_var
3322 case $ac_val in
3323 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3324 esac
3325 printf "%s\n" "$ac_var='\''$ac_val'\''"
3326 done | sort
3327 echo
3329 if test -n "$ac_subst_files"; then
3330 printf "%s\n" "## ------------------- ##
3331 ## File substitutions. ##
3332 ## ------------------- ##"
3333 echo
3334 for ac_var in $ac_subst_files
3336 eval ac_val=\$$ac_var
3337 case $ac_val in
3338 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3339 esac
3340 printf "%s\n" "$ac_var='\''$ac_val'\''"
3341 done | sort
3342 echo
3345 if test -s confdefs.h; then
3346 printf "%s\n" "## ----------- ##
3347 ## confdefs.h. ##
3348 ## ----------- ##"
3349 echo
3350 cat confdefs.h
3351 echo
3353 test "$ac_signal" != 0 &&
3354 printf "%s\n" "$as_me: caught signal $ac_signal"
3355 printf "%s\n" "$as_me: exit $exit_status"
3356 } >&5
3357 rm -f core *.core core.conftest.* &&
3358 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3359 exit $exit_status
3361 for ac_signal in 1 2 13 15; do
3362 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3363 done
3364 ac_signal=0
3366 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3367 rm -f -r conftest* confdefs.h
3369 printf "%s\n" "/* confdefs.h */" > confdefs.h
3371 # Predefined preprocessor variables.
3373 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
3375 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
3377 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
3379 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
3381 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
3383 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
3386 # Let the site file select an alternate cache file if it wants to.
3387 # Prefer an explicitly selected file to automatically selected ones.
3388 if test -n "$CONFIG_SITE"; then
3389 ac_site_files="$CONFIG_SITE"
3390 elif test "x$prefix" != xNONE; then
3391 ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
3392 else
3393 ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
3396 for ac_site_file in $ac_site_files
3398 case $ac_site_file in #(
3399 */*) :
3400 ;; #(
3401 *) :
3402 ac_site_file=./$ac_site_file ;;
3403 esac
3404 if test -f "$ac_site_file" && test -r "$ac_site_file"; then
3405 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3406 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
3407 sed 's/^/| /' "$ac_site_file" >&5
3408 . "$ac_site_file" \
3409 || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3410 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
3411 as_fn_error $? "failed to load site script $ac_site_file
3412 See \`config.log' for more details" "$LINENO" 5; }
3414 done
3416 if test -r "$cache_file"; then
3417 # Some versions of bash will fail to source /dev/null (special files
3418 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3419 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3420 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3421 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
3422 case $cache_file in
3423 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3424 *) . "./$cache_file";;
3425 esac
3427 else
3428 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3429 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
3430 >$cache_file
3433 # Test code for whether the C compiler supports C89 (global declarations)
3434 ac_c_conftest_c89_globals='
3435 /* Does the compiler advertise C89 conformance?
3436 Do not test the value of __STDC__, because some compilers set it to 0
3437 while being otherwise adequately conformant. */
3438 #if !defined __STDC__
3439 # error "Compiler does not advertise C89 conformance"
3440 #endif
3442 #include <stddef.h>
3443 #include <stdarg.h>
3444 struct stat;
3445 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */
3446 struct buf { int x; };
3447 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
3448 static char *e (p, i)
3449 char **p;
3450 int i;
3452 return p[i];
3454 static char *f (char * (*g) (char **, int), char **p, ...)
3456 char *s;
3457 va_list v;
3458 va_start (v,p);
3459 s = g (p, va_arg (v,int));
3460 va_end (v);
3461 return s;
3464 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3465 function prototypes and stuff, but not \xHH hex character constants.
3466 These do not provoke an error unfortunately, instead are silently treated
3467 as an "x". The following induces an error, until -std is added to get
3468 proper ANSI mode. Curiously \x00 != x always comes out true, for an
3469 array size at least. It is necessary to write \x00 == 0 to get something
3470 that is true only with -std. */
3471 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
3473 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3474 inside strings and character constants. */
3475 #define FOO(x) '\''x'\''
3476 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
3478 int test (int i, double x);
3479 struct s1 {int (*f) (int a);};
3480 struct s2 {int (*f) (double a);};
3481 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
3482 int, int);'
3484 # Test code for whether the C compiler supports C89 (body of main).
3485 ac_c_conftest_c89_main='
3486 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
3489 # Test code for whether the C compiler supports C99 (global declarations)
3490 ac_c_conftest_c99_globals='
3491 // Does the compiler advertise C99 conformance?
3492 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
3493 # error "Compiler does not advertise C99 conformance"
3494 #endif
3496 #include <stdbool.h>
3497 extern int puts (const char *);
3498 extern int printf (const char *, ...);
3499 extern int dprintf (int, const char *, ...);
3500 extern void *malloc (size_t);
3502 // Check varargs macros. These examples are taken from C99 6.10.3.5.
3503 // dprintf is used instead of fprintf to avoid needing to declare
3504 // FILE and stderr.
3505 #define debug(...) dprintf (2, __VA_ARGS__)
3506 #define showlist(...) puts (#__VA_ARGS__)
3507 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3508 static void
3509 test_varargs_macros (void)
3511 int x = 1234;
3512 int y = 5678;
3513 debug ("Flag");
3514 debug ("X = %d\n", x);
3515 showlist (The first, second, and third items.);
3516 report (x>y, "x is %d but y is %d", x, y);
3519 // Check long long types.
3520 #define BIG64 18446744073709551615ull
3521 #define BIG32 4294967295ul
3522 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3523 #if !BIG_OK
3524 #error "your preprocessor is broken"
3525 #endif
3526 #if BIG_OK
3527 #else
3528 #error "your preprocessor is broken"
3529 #endif
3530 static long long int bignum = -9223372036854775807LL;
3531 static unsigned long long int ubignum = BIG64;
3533 struct incomplete_array
3535 int datasize;
3536 double data[];
3539 struct named_init {
3540 int number;
3541 const wchar_t *name;
3542 double average;
3545 typedef const char *ccp;
3547 static inline int
3548 test_restrict (ccp restrict text)
3550 // See if C++-style comments work.
3551 // Iterate through items via the restricted pointer.
3552 // Also check for declarations in for loops.
3553 for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
3554 continue;
3555 return 0;
3558 // Check varargs and va_copy.
3559 static bool
3560 test_varargs (const char *format, ...)
3562 va_list args;
3563 va_start (args, format);
3564 va_list args_copy;
3565 va_copy (args_copy, args);
3567 const char *str = "";
3568 int number = 0;
3569 float fnumber = 0;
3571 while (*format)
3573 switch (*format++)
3575 case '\''s'\'': // string
3576 str = va_arg (args_copy, const char *);
3577 break;
3578 case '\''d'\'': // int
3579 number = va_arg (args_copy, int);
3580 break;
3581 case '\''f'\'': // float
3582 fnumber = va_arg (args_copy, double);
3583 break;
3584 default:
3585 break;
3588 va_end (args_copy);
3589 va_end (args);
3591 return *str && number && fnumber;
3595 # Test code for whether the C compiler supports C99 (body of main).
3596 ac_c_conftest_c99_main='
3597 // Check bool.
3598 _Bool success = false;
3599 success |= (argc != 0);
3601 // Check restrict.
3602 if (test_restrict ("String literal") == 0)
3603 success = true;
3604 char *restrict newvar = "Another string";
3606 // Check varargs.
3607 success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
3608 test_varargs_macros ();
3610 // Check flexible array members.
3611 struct incomplete_array *ia =
3612 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
3613 ia->datasize = 10;
3614 for (int i = 0; i < ia->datasize; ++i)
3615 ia->data[i] = i * 1.234;
3617 // Check named initializers.
3618 struct named_init ni = {
3619 .number = 34,
3620 .name = L"Test wide string",
3621 .average = 543.34343,
3624 ni.number = 58;
3626 int dynamic_array[ni.number];
3627 dynamic_array[0] = argv[0][0];
3628 dynamic_array[ni.number - 1] = 543;
3630 // work around unused variable warnings
3631 ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
3632 || dynamic_array[ni.number - 1] != 543);
3635 # Test code for whether the C compiler supports C11 (global declarations)
3636 ac_c_conftest_c11_globals='
3637 // Does the compiler advertise C11 conformance?
3638 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
3639 # error "Compiler does not advertise C11 conformance"
3640 #endif
3642 // Check _Alignas.
3643 char _Alignas (double) aligned_as_double;
3644 char _Alignas (0) no_special_alignment;
3645 extern char aligned_as_int;
3646 char _Alignas (0) _Alignas (int) aligned_as_int;
3648 // Check _Alignof.
3649 enum
3651 int_alignment = _Alignof (int),
3652 int_array_alignment = _Alignof (int[100]),
3653 char_alignment = _Alignof (char)
3655 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
3657 // Check _Noreturn.
3658 int _Noreturn does_not_return (void) { for (;;) continue; }
3660 // Check _Static_assert.
3661 struct test_static_assert
3663 int x;
3664 _Static_assert (sizeof (int) <= sizeof (long int),
3665 "_Static_assert does not work in struct");
3666 long int y;
3669 // Check UTF-8 literals.
3670 #define u8 syntax error!
3671 char const utf8_literal[] = u8"happens to be ASCII" "another string";
3673 // Check duplicate typedefs.
3674 typedef long *long_ptr;
3675 typedef long int *long_ptr;
3676 typedef long_ptr long_ptr;
3678 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
3679 struct anonymous
3681 union {
3682 struct { int i; int j; };
3683 struct { int k; long int l; } w;
3685 int m;
3686 } v1;
3689 # Test code for whether the C compiler supports C11 (body of main).
3690 ac_c_conftest_c11_main='
3691 _Static_assert ((offsetof (struct anonymous, i)
3692 == offsetof (struct anonymous, w.k)),
3693 "Anonymous union alignment botch");
3694 v1.i = 2;
3695 v1.w.k = 5;
3696 ok |= v1.i != 5;
3699 # Test code for whether the C compiler supports C11 (complete).
3700 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
3701 ${ac_c_conftest_c99_globals}
3702 ${ac_c_conftest_c11_globals}
3705 main (int argc, char **argv)
3707 int ok = 0;
3708 ${ac_c_conftest_c89_main}
3709 ${ac_c_conftest_c99_main}
3710 ${ac_c_conftest_c11_main}
3711 return ok;
3715 # Test code for whether the C compiler supports C99 (complete).
3716 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
3717 ${ac_c_conftest_c99_globals}
3720 main (int argc, char **argv)
3722 int ok = 0;
3723 ${ac_c_conftest_c89_main}
3724 ${ac_c_conftest_c99_main}
3725 return ok;
3729 # Test code for whether the C compiler supports C89 (complete).
3730 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
3733 main (int argc, char **argv)
3735 int ok = 0;
3736 ${ac_c_conftest_c89_main}
3737 return ok;
3741 # Test code for whether the C++ compiler supports C++98 (global declarations)
3742 ac_cxx_conftest_cxx98_globals='
3743 // Does the compiler advertise C++98 conformance?
3744 #if !defined __cplusplus || __cplusplus < 199711L
3745 # error "Compiler does not advertise C++98 conformance"
3746 #endif
3748 // These inclusions are to reject old compilers that
3749 // lack the unsuffixed header files.
3750 #include <cstdlib>
3751 #include <exception>
3753 // <cassert> and <cstring> are *not* freestanding headers in C++98.
3754 extern void assert (int);
3755 namespace std {
3756 extern int strcmp (const char *, const char *);
3759 // Namespaces, exceptions, and templates were all added after "C++ 2.0".
3760 using std::exception;
3761 using std::strcmp;
3763 namespace {
3765 void test_exception_syntax()
3767 try {
3768 throw "test";
3769 } catch (const char *s) {
3770 // Extra parentheses suppress a warning when building autoconf itself,
3771 // due to lint rules shared with more typical C programs.
3772 assert (!(strcmp) (s, "test"));
3776 template <typename T> struct test_template
3778 T const val;
3779 explicit test_template(T t) : val(t) {}
3780 template <typename U> T add(U u) { return static_cast<T>(u) + val; }
3783 } // anonymous namespace
3786 # Test code for whether the C++ compiler supports C++98 (body of main)
3787 ac_cxx_conftest_cxx98_main='
3788 assert (argc);
3789 assert (! argv[0]);
3791 test_exception_syntax ();
3792 test_template<double> tt (2.0);
3793 assert (tt.add (4) == 6.0);
3794 assert (true && !false);
3798 # Test code for whether the C++ compiler supports C++11 (global declarations)
3799 ac_cxx_conftest_cxx11_globals='
3800 // Does the compiler advertise C++ 2011 conformance?
3801 #if !defined __cplusplus || __cplusplus < 201103L
3802 # error "Compiler does not advertise C++11 conformance"
3803 #endif
3805 namespace cxx11test
3807 constexpr int get_val() { return 20; }
3809 struct testinit
3811 int i;
3812 double d;
3815 class delegate
3817 public:
3818 delegate(int n) : n(n) {}
3819 delegate(): delegate(2354) {}
3821 virtual int getval() { return this->n; };
3822 protected:
3823 int n;
3826 class overridden : public delegate
3828 public:
3829 overridden(int n): delegate(n) {}
3830 virtual int getval() override final { return this->n * 2; }
3833 class nocopy
3835 public:
3836 nocopy(int i): i(i) {}
3837 nocopy() = default;
3838 nocopy(const nocopy&) = delete;
3839 nocopy & operator=(const nocopy&) = delete;
3840 private:
3841 int i;
3844 // for testing lambda expressions
3845 template <typename Ret, typename Fn> Ret eval(Fn f, Ret v)
3847 return f(v);
3850 // for testing variadic templates and trailing return types
3851 template <typename V> auto sum(V first) -> V
3853 return first;
3855 template <typename V, typename... Args> auto sum(V first, Args... rest) -> V
3857 return first + sum(rest...);
3862 # Test code for whether the C++ compiler supports C++11 (body of main)
3863 ac_cxx_conftest_cxx11_main='
3865 // Test auto and decltype
3866 auto a1 = 6538;
3867 auto a2 = 48573953.4;
3868 auto a3 = "String literal";
3870 int total = 0;
3871 for (auto i = a3; *i; ++i) { total += *i; }
3873 decltype(a2) a4 = 34895.034;
3876 // Test constexpr
3877 short sa[cxx11test::get_val()] = { 0 };
3880 // Test initializer lists
3881 cxx11test::testinit il = { 4323, 435234.23544 };
3884 // Test range-based for
3885 int array[] = {9, 7, 13, 15, 4, 18, 12, 10, 5, 3,
3886 14, 19, 17, 8, 6, 20, 16, 2, 11, 1};
3887 for (auto &x : array) { x += 23; }
3890 // Test lambda expressions
3891 using cxx11test::eval;
3892 assert (eval ([](int x) { return x*2; }, 21) == 42);
3893 double d = 2.0;
3894 assert (eval ([&](double x) { return d += x; }, 3.0) == 5.0);
3895 assert (d == 5.0);
3896 assert (eval ([=](double x) mutable { return d += x; }, 4.0) == 9.0);
3897 assert (d == 5.0);
3900 // Test use of variadic templates
3901 using cxx11test::sum;
3902 auto a = sum(1);
3903 auto b = sum(1, 2);
3904 auto c = sum(1.0, 2.0, 3.0);
3907 // Test constructor delegation
3908 cxx11test::delegate d1;
3909 cxx11test::delegate d2();
3910 cxx11test::delegate d3(45);
3913 // Test override and final
3914 cxx11test::overridden o1(55464);
3917 // Test nullptr
3918 char *c = nullptr;
3921 // Test template brackets
3922 test_template<::test_template<int>> v(test_template<int>(12));
3925 // Unicode literals
3926 char const *utf8 = u8"UTF-8 string \u2500";
3927 char16_t const *utf16 = u"UTF-8 string \u2500";
3928 char32_t const *utf32 = U"UTF-32 string \u2500";
3932 # Test code for whether the C compiler supports C++11 (complete).
3933 ac_cxx_conftest_cxx11_program="${ac_cxx_conftest_cxx98_globals}
3934 ${ac_cxx_conftest_cxx11_globals}
3937 main (int argc, char **argv)
3939 int ok = 0;
3940 ${ac_cxx_conftest_cxx98_main}
3941 ${ac_cxx_conftest_cxx11_main}
3942 return ok;
3946 # Test code for whether the C compiler supports C++98 (complete).
3947 ac_cxx_conftest_cxx98_program="${ac_cxx_conftest_cxx98_globals}
3949 main (int argc, char **argv)
3951 int ok = 0;
3952 ${ac_cxx_conftest_cxx98_main}
3953 return ok;
3957 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
3958 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
3959 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
3960 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
3961 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
3962 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
3963 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
3964 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
3965 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
3967 # Auxiliary files required by this configure script.
3968 ac_aux_files="config.guess config.sub"
3970 # Locations in which to look for auxiliary files.
3971 ac_aux_dir_candidates="${srcdir}/tools"
3973 # Search for a directory containing all of the required auxiliary files,
3974 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
3975 # If we don't find one directory that contains all the files we need,
3976 # we report the set of missing files from the *first* directory in
3977 # $ac_aux_dir_candidates and give up.
3978 ac_missing_aux_files=""
3979 ac_first_candidate=:
3980 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
3981 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3982 as_found=false
3983 for as_dir in $ac_aux_dir_candidates
3985 IFS=$as_save_IFS
3986 case $as_dir in #(((
3987 '') as_dir=./ ;;
3988 */) ;;
3989 *) as_dir=$as_dir/ ;;
3990 esac
3991 as_found=:
3993 printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5
3994 ac_aux_dir_found=yes
3995 ac_install_sh=
3996 for ac_aux in $ac_aux_files
3998 # As a special case, if "install-sh" is required, that requirement
3999 # can be satisfied by any of "install-sh", "install.sh", or "shtool",
4000 # and $ac_install_sh is set appropriately for whichever one is found.
4001 if test x"$ac_aux" = x"install-sh"
4002 then
4003 if test -f "${as_dir}install-sh"; then
4004 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5
4005 ac_install_sh="${as_dir}install-sh -c"
4006 elif test -f "${as_dir}install.sh"; then
4007 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5
4008 ac_install_sh="${as_dir}install.sh -c"
4009 elif test -f "${as_dir}shtool"; then
4010 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5
4011 ac_install_sh="${as_dir}shtool install -c"
4012 else
4013 ac_aux_dir_found=no
4014 if $ac_first_candidate; then
4015 ac_missing_aux_files="${ac_missing_aux_files} install-sh"
4016 else
4017 break
4020 else
4021 if test -f "${as_dir}${ac_aux}"; then
4022 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5
4023 else
4024 ac_aux_dir_found=no
4025 if $ac_first_candidate; then
4026 ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
4027 else
4028 break
4032 done
4033 if test "$ac_aux_dir_found" = yes; then
4034 ac_aux_dir="$as_dir"
4035 break
4037 ac_first_candidate=false
4039 as_found=false
4040 done
4041 IFS=$as_save_IFS
4042 if $as_found
4043 then :
4045 else $as_nop
4046 as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
4050 # These three variables are undocumented and unsupported,
4051 # and are intended to be withdrawn in a future Autoconf release.
4052 # They can cause serious problems if a builder's source tree is in a directory
4053 # whose full name contains unusual characters.
4054 if test -f "${ac_aux_dir}config.guess"; then
4055 ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
4057 if test -f "${ac_aux_dir}config.sub"; then
4058 ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
4060 if test -f "$ac_aux_dir/configure"; then
4061 ac_configure="$SHELL ${ac_aux_dir}configure"
4064 # Check that the precious variables saved in the cache have kept the same
4065 # value.
4066 ac_cache_corrupted=false
4067 for ac_var in $ac_precious_vars; do
4068 eval ac_old_set=\$ac_cv_env_${ac_var}_set
4069 eval ac_new_set=\$ac_env_${ac_var}_set
4070 eval ac_old_val=\$ac_cv_env_${ac_var}_value
4071 eval ac_new_val=\$ac_env_${ac_var}_value
4072 case $ac_old_set,$ac_new_set in
4073 set,)
4074 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
4075 printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
4076 ac_cache_corrupted=: ;;
4077 ,set)
4078 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
4079 printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
4080 ac_cache_corrupted=: ;;
4081 ,);;
4083 if test "x$ac_old_val" != "x$ac_new_val"; then
4084 # differences in whitespace do not lead to failure.
4085 ac_old_val_w=`echo x $ac_old_val`
4086 ac_new_val_w=`echo x $ac_new_val`
4087 if test "$ac_old_val_w" != "$ac_new_val_w"; then
4088 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
4089 printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
4090 ac_cache_corrupted=:
4091 else
4092 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
4093 printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
4094 eval $ac_var=\$ac_old_val
4096 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
4097 printf "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;}
4098 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
4099 printf "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;}
4100 fi;;
4101 esac
4102 # Pass precious variables to config.status.
4103 if test "$ac_new_set" = set; then
4104 case $ac_new_val in
4105 *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
4106 *) ac_arg=$ac_var=$ac_new_val ;;
4107 esac
4108 case " $ac_configure_args " in
4109 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
4110 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
4111 esac
4113 done
4114 if $ac_cache_corrupted; then
4115 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4116 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
4117 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
4118 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
4119 as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
4120 and start over" "$LINENO" 5
4122 ## -------------------- ##
4123 ## Main body of script. ##
4124 ## -------------------- ##
4126 ac_ext=c
4127 ac_cpp='$CPP $CPPFLAGS'
4128 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4129 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4130 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4134 ac_config_headers="$ac_config_headers include/config.h"
4138 libwine_version="1.0"
4141 # Check whether --enable-archs was given.
4142 if test ${enable_archs+y}
4143 then :
4144 enableval=$enable_archs;
4147 # Check whether --enable-win16 was given.
4148 if test ${enable_win16+y}
4149 then :
4150 enableval=$enable_win16;
4153 # Check whether --enable-win64 was given.
4154 if test ${enable_win64+y}
4155 then :
4156 enableval=$enable_win64;
4159 # Check whether --enable-tests was given.
4160 if test ${enable_tests+y}
4161 then :
4162 enableval=$enable_tests;
4165 # Check whether --enable-build-id was given.
4166 if test ${enable_build_id+y}
4167 then :
4168 enableval=$enable_build_id;
4171 # Check whether --enable-maintainer-mode was given.
4172 if test ${enable_maintainer_mode+y}
4173 then :
4174 enableval=$enable_maintainer_mode;
4177 # Check whether --enable-silent-rules was given.
4178 if test ${enable_silent_rules+y}
4179 then :
4180 enableval=$enable_silent_rules;
4183 # Check whether --enable-werror was given.
4184 if test ${enable_werror+y}
4185 then :
4186 enableval=$enable_werror;
4191 # Check whether --with-alsa was given.
4192 if test ${with_alsa+y}
4193 then :
4194 withval=$with_alsa;
4198 # Check whether --with-capi was given.
4199 if test ${with_capi+y}
4200 then :
4201 withval=$with_capi;
4205 # Check whether --with-coreaudio was given.
4206 if test ${with_coreaudio+y}
4207 then :
4208 withval=$with_coreaudio;
4212 # Check whether --with-cups was given.
4213 if test ${with_cups+y}
4214 then :
4215 withval=$with_cups;
4219 # Check whether --with-dbus was given.
4220 if test ${with_dbus+y}
4221 then :
4222 withval=$with_dbus;
4226 # Check whether --with-float-abi was given.
4227 if test ${with_float_abi+y}
4228 then :
4229 withval=$with_float_abi;
4233 # Check whether --with-fontconfig was given.
4234 if test ${with_fontconfig+y}
4235 then :
4236 withval=$with_fontconfig;
4240 # Check whether --with-freetype was given.
4241 if test ${with_freetype+y}
4242 then :
4243 withval=$with_freetype;
4247 # Check whether --with-gettext was given.
4248 if test ${with_gettext+y}
4249 then :
4250 withval=$with_gettext;
4254 # Check whether --with-gettextpo was given.
4255 if test ${with_gettextpo+y}
4256 then :
4257 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
4261 # Check whether --with-gphoto was given.
4262 if test ${with_gphoto+y}
4263 then :
4264 withval=$with_gphoto;
4268 # Check whether --with-gnutls was given.
4269 if test ${with_gnutls+y}
4270 then :
4271 withval=$with_gnutls;
4275 # Check whether --with-gssapi was given.
4276 if test ${with_gssapi+y}
4277 then :
4278 withval=$with_gssapi;
4282 # Check whether --with-gstreamer was given.
4283 if test ${with_gstreamer+y}
4284 then :
4285 withval=$with_gstreamer;
4289 # Check whether --with-inotify was given.
4290 if test ${with_inotify+y}
4291 then :
4292 withval=$with_inotify;
4296 # Check whether --with-krb5 was given.
4297 if test ${with_krb5+y}
4298 then :
4299 withval=$with_krb5;
4303 # Check whether --with-mingw was given.
4304 if test ${with_mingw+y}
4305 then :
4306 withval=$with_mingw;
4310 # Check whether --with-netapi was given.
4311 if test ${with_netapi+y}
4312 then :
4313 withval=$with_netapi;
4317 # Check whether --with-opencl was given.
4318 if test ${with_opencl+y}
4319 then :
4320 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
4324 # Check whether --with-opengl was given.
4325 if test ${with_opengl+y}
4326 then :
4327 withval=$with_opengl;
4331 # Check whether --with-osmesa was given.
4332 if test ${with_osmesa+y}
4333 then :
4334 withval=$with_osmesa;
4338 # Check whether --with-oss was given.
4339 if test ${with_oss+y}
4340 then :
4341 withval=$with_oss;
4345 # Check whether --with-pcap was given.
4346 if test ${with_pcap+y}
4347 then :
4348 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
4352 # Check whether --with-pcsclite was given.
4353 if test ${with_pcsclite+y}
4354 then :
4355 withval=$with_pcsclite;
4359 # Check whether --with-pthread was given.
4360 if test ${with_pthread+y}
4361 then :
4362 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
4366 # Check whether --with-pulse was given.
4367 if test ${with_pulse+y}
4368 then :
4369 withval=$with_pulse;
4373 # Check whether --with-sane was given.
4374 if test ${with_sane+y}
4375 then :
4376 withval=$with_sane;
4380 # Check whether --with-sdl was given.
4381 if test ${with_sdl+y}
4382 then :
4383 withval=$with_sdl;
4387 # Check whether --with-udev was given.
4388 if test ${with_udev+y}
4389 then :
4390 withval=$with_udev;
4394 # Check whether --with-unwind was given.
4395 if test ${with_unwind+y}
4396 then :
4397 withval=$with_unwind;
4401 # Check whether --with-usb was given.
4402 if test ${with_usb+y}
4403 then :
4404 withval=$with_usb;
4408 # Check whether --with-v4l2 was given.
4409 if test ${with_v4l2+y}
4410 then :
4411 withval=$with_v4l2;
4415 # Check whether --with-vulkan was given.
4416 if test ${with_vulkan+y}
4417 then :
4418 withval=$with_vulkan;
4422 # Check whether --with-wayland was given.
4423 if test ${with_wayland+y}
4424 then :
4425 withval=$with_wayland;
4429 # Check whether --with-xcomposite was given.
4430 if test ${with_xcomposite+y}
4431 then :
4432 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
4436 # Check whether --with-xcursor was given.
4437 if test ${with_xcursor+y}
4438 then :
4439 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
4443 # Check whether --with-xfixes was given.
4444 if test ${with_xfixes+y}
4445 then :
4446 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
4450 # Check whether --with-xinerama was given.
4451 if test ${with_xinerama+y}
4452 then :
4453 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
4457 # Check whether --with-xinput was given.
4458 if test ${with_xinput+y}
4459 then :
4460 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
4464 # Check whether --with-xinput2 was given.
4465 if test ${with_xinput2+y}
4466 then :
4467 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
4471 # Check whether --with-xrandr was given.
4472 if test ${with_xrandr+y}
4473 then :
4474 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
4478 # Check whether --with-xrender was given.
4479 if test ${with_xrender+y}
4480 then :
4481 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
4485 # Check whether --with-xshape was given.
4486 if test ${with_xshape+y}
4487 then :
4488 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
4492 # Check whether --with-xshm was given.
4493 if test ${with_xshm+y}
4494 then :
4495 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
4499 # Check whether --with-xxf86vm was given.
4500 if test ${with_xxf86vm+y}
4501 then :
4502 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
4507 # Check whether --with-system-dllpath was given.
4508 if test ${with_system_dllpath+y}
4509 then :
4510 withval=$with_system_dllpath; system_dllpath=$withval
4515 # Check whether --with-wine-tools was given.
4516 if test ${with_wine_tools+y}
4517 then :
4518 withval=$with_wine_tools;
4522 # Check whether --with-wine64 was given.
4523 if test ${with_wine64+y}
4524 then :
4525 withval=$with_wine64;
4532 # Make sure we can run config.sub.
4533 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
4534 as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
4536 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4537 printf %s "checking build system type... " >&6; }
4538 if test ${ac_cv_build+y}
4539 then :
4540 printf %s "(cached) " >&6
4541 else $as_nop
4542 ac_build_alias=$build_alias
4543 test "x$ac_build_alias" = x &&
4544 ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
4545 test "x$ac_build_alias" = x &&
4546 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4547 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
4548 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
4551 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4552 printf "%s\n" "$ac_cv_build" >&6; }
4553 case $ac_cv_build in
4554 *-*-*) ;;
4555 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4556 esac
4557 build=$ac_cv_build
4558 ac_save_IFS=$IFS; IFS='-'
4559 set x $ac_cv_build
4560 shift
4561 build_cpu=$1
4562 build_vendor=$2
4563 shift; shift
4564 # Remember, the first character of IFS is used to create $*,
4565 # except with old shells:
4566 build_os=$*
4567 IFS=$ac_save_IFS
4568 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4571 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4572 printf %s "checking host system type... " >&6; }
4573 if test ${ac_cv_host+y}
4574 then :
4575 printf %s "(cached) " >&6
4576 else $as_nop
4577 if test "x$host_alias" = x; then
4578 ac_cv_host=$ac_cv_build
4579 else
4580 ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
4581 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
4585 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4586 printf "%s\n" "$ac_cv_host" >&6; }
4587 case $ac_cv_host in
4588 *-*-*) ;;
4589 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4590 esac
4591 host=$ac_cv_host
4592 ac_save_IFS=$IFS; IFS='-'
4593 set x $ac_cv_host
4594 shift
4595 host_cpu=$1
4596 host_vendor=$2
4597 shift; shift
4598 # Remember, the first character of IFS is used to create $*,
4599 # except with old shells:
4600 host_os=$*
4601 IFS=$ac_save_IFS
4602 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4606 dlldir=\${libdir}/wine
4608 fontdir=\${datadir}/wine/fonts
4610 nlsdir=\${datadir}/wine/nls
4615 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4616 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4617 set x ${MAKE-make}
4618 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4619 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
4620 then :
4621 printf %s "(cached) " >&6
4622 else $as_nop
4623 cat >conftest.make <<\_ACEOF
4624 SHELL = /bin/sh
4625 all:
4626 @echo '@@@%%%=$(MAKE)=@@@%%%'
4627 _ACEOF
4628 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4629 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4630 *@@@%%%=?*=@@@%%%*)
4631 eval ac_cv_prog_make_${ac_make}_set=yes;;
4633 eval ac_cv_prog_make_${ac_make}_set=no;;
4634 esac
4635 rm -f conftest.make
4637 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4638 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4639 printf "%s\n" "yes" >&6; }
4640 SET_MAKE=
4641 else
4642 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4643 printf "%s\n" "no" >&6; }
4644 SET_MAKE="MAKE=${MAKE-make}"
4656 ac_ext=c
4657 ac_cpp='$CPP $CPPFLAGS'
4658 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4659 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4660 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4661 if test -n "$ac_tool_prefix"; then
4662 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4663 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4664 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4665 printf %s "checking for $ac_word... " >&6; }
4666 if test ${ac_cv_prog_CC+y}
4667 then :
4668 printf %s "(cached) " >&6
4669 else $as_nop
4670 if test -n "$CC"; then
4671 ac_cv_prog_CC="$CC" # Let the user override the test.
4672 else
4673 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4674 for as_dir in $PATH
4676 IFS=$as_save_IFS
4677 case $as_dir in #(((
4678 '') as_dir=./ ;;
4679 */) ;;
4680 *) as_dir=$as_dir/ ;;
4681 esac
4682 for ac_exec_ext in '' $ac_executable_extensions; do
4683 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4684 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4685 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4686 break 2
4688 done
4689 done
4690 IFS=$as_save_IFS
4694 CC=$ac_cv_prog_CC
4695 if test -n "$CC"; then
4696 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4697 printf "%s\n" "$CC" >&6; }
4698 else
4699 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4700 printf "%s\n" "no" >&6; }
4705 if test -z "$ac_cv_prog_CC"; then
4706 ac_ct_CC=$CC
4707 # Extract the first word of "gcc", so it can be a program name with args.
4708 set dummy gcc; ac_word=$2
4709 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4710 printf %s "checking for $ac_word... " >&6; }
4711 if test ${ac_cv_prog_ac_ct_CC+y}
4712 then :
4713 printf %s "(cached) " >&6
4714 else $as_nop
4715 if test -n "$ac_ct_CC"; then
4716 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4717 else
4718 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4719 for as_dir in $PATH
4721 IFS=$as_save_IFS
4722 case $as_dir in #(((
4723 '') as_dir=./ ;;
4724 */) ;;
4725 *) as_dir=$as_dir/ ;;
4726 esac
4727 for ac_exec_ext in '' $ac_executable_extensions; do
4728 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4729 ac_cv_prog_ac_ct_CC="gcc"
4730 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4731 break 2
4733 done
4734 done
4735 IFS=$as_save_IFS
4739 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4740 if test -n "$ac_ct_CC"; then
4741 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4742 printf "%s\n" "$ac_ct_CC" >&6; }
4743 else
4744 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4745 printf "%s\n" "no" >&6; }
4748 if test "x$ac_ct_CC" = x; then
4749 CC=""
4750 else
4751 case $cross_compiling:$ac_tool_warned in
4752 yes:)
4753 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4754 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4755 ac_tool_warned=yes ;;
4756 esac
4757 CC=$ac_ct_CC
4759 else
4760 CC="$ac_cv_prog_CC"
4763 if test -z "$CC"; then
4764 if test -n "$ac_tool_prefix"; then
4765 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4766 set dummy ${ac_tool_prefix}cc; ac_word=$2
4767 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4768 printf %s "checking for $ac_word... " >&6; }
4769 if test ${ac_cv_prog_CC+y}
4770 then :
4771 printf %s "(cached) " >&6
4772 else $as_nop
4773 if test -n "$CC"; then
4774 ac_cv_prog_CC="$CC" # Let the user override the test.
4775 else
4776 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4777 for as_dir in $PATH
4779 IFS=$as_save_IFS
4780 case $as_dir in #(((
4781 '') as_dir=./ ;;
4782 */) ;;
4783 *) as_dir=$as_dir/ ;;
4784 esac
4785 for ac_exec_ext in '' $ac_executable_extensions; do
4786 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4787 ac_cv_prog_CC="${ac_tool_prefix}cc"
4788 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4789 break 2
4791 done
4792 done
4793 IFS=$as_save_IFS
4797 CC=$ac_cv_prog_CC
4798 if test -n "$CC"; then
4799 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4800 printf "%s\n" "$CC" >&6; }
4801 else
4802 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4803 printf "%s\n" "no" >&6; }
4809 if test -z "$CC"; then
4810 # Extract the first word of "cc", so it can be a program name with args.
4811 set dummy cc; ac_word=$2
4812 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4813 printf %s "checking for $ac_word... " >&6; }
4814 if test ${ac_cv_prog_CC+y}
4815 then :
4816 printf %s "(cached) " >&6
4817 else $as_nop
4818 if test -n "$CC"; then
4819 ac_cv_prog_CC="$CC" # Let the user override the test.
4820 else
4821 ac_prog_rejected=no
4822 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4823 for as_dir in $PATH
4825 IFS=$as_save_IFS
4826 case $as_dir in #(((
4827 '') as_dir=./ ;;
4828 */) ;;
4829 *) as_dir=$as_dir/ ;;
4830 esac
4831 for ac_exec_ext in '' $ac_executable_extensions; do
4832 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4833 if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4834 ac_prog_rejected=yes
4835 continue
4837 ac_cv_prog_CC="cc"
4838 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4839 break 2
4841 done
4842 done
4843 IFS=$as_save_IFS
4845 if test $ac_prog_rejected = yes; then
4846 # We found a bogon in the path, so make sure we never use it.
4847 set dummy $ac_cv_prog_CC
4848 shift
4849 if test $# != 0; then
4850 # We chose a different compiler from the bogus one.
4851 # However, it has the same basename, so the bogon will be chosen
4852 # first if we set CC to just the basename; use the full file name.
4853 shift
4854 ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
4859 CC=$ac_cv_prog_CC
4860 if test -n "$CC"; then
4861 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4862 printf "%s\n" "$CC" >&6; }
4863 else
4864 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4865 printf "%s\n" "no" >&6; }
4870 if test -z "$CC"; then
4871 if test -n "$ac_tool_prefix"; then
4872 for ac_prog in cl.exe
4874 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4875 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4876 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4877 printf %s "checking for $ac_word... " >&6; }
4878 if test ${ac_cv_prog_CC+y}
4879 then :
4880 printf %s "(cached) " >&6
4881 else $as_nop
4882 if test -n "$CC"; then
4883 ac_cv_prog_CC="$CC" # Let the user override the test.
4884 else
4885 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4886 for as_dir in $PATH
4888 IFS=$as_save_IFS
4889 case $as_dir in #(((
4890 '') as_dir=./ ;;
4891 */) ;;
4892 *) as_dir=$as_dir/ ;;
4893 esac
4894 for ac_exec_ext in '' $ac_executable_extensions; do
4895 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4896 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4897 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4898 break 2
4900 done
4901 done
4902 IFS=$as_save_IFS
4906 CC=$ac_cv_prog_CC
4907 if test -n "$CC"; then
4908 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4909 printf "%s\n" "$CC" >&6; }
4910 else
4911 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4912 printf "%s\n" "no" >&6; }
4916 test -n "$CC" && break
4917 done
4919 if test -z "$CC"; then
4920 ac_ct_CC=$CC
4921 for ac_prog in cl.exe
4923 # Extract the first word of "$ac_prog", so it can be a program name with args.
4924 set dummy $ac_prog; ac_word=$2
4925 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4926 printf %s "checking for $ac_word... " >&6; }
4927 if test ${ac_cv_prog_ac_ct_CC+y}
4928 then :
4929 printf %s "(cached) " >&6
4930 else $as_nop
4931 if test -n "$ac_ct_CC"; then
4932 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4933 else
4934 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4935 for as_dir in $PATH
4937 IFS=$as_save_IFS
4938 case $as_dir in #(((
4939 '') as_dir=./ ;;
4940 */) ;;
4941 *) as_dir=$as_dir/ ;;
4942 esac
4943 for ac_exec_ext in '' $ac_executable_extensions; do
4944 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4945 ac_cv_prog_ac_ct_CC="$ac_prog"
4946 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4947 break 2
4949 done
4950 done
4951 IFS=$as_save_IFS
4955 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4956 if test -n "$ac_ct_CC"; then
4957 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4958 printf "%s\n" "$ac_ct_CC" >&6; }
4959 else
4960 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4961 printf "%s\n" "no" >&6; }
4965 test -n "$ac_ct_CC" && break
4966 done
4968 if test "x$ac_ct_CC" = x; then
4969 CC=""
4970 else
4971 case $cross_compiling:$ac_tool_warned in
4972 yes:)
4973 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4974 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4975 ac_tool_warned=yes ;;
4976 esac
4977 CC=$ac_ct_CC
4982 if test -z "$CC"; then
4983 if test -n "$ac_tool_prefix"; then
4984 # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
4985 set dummy ${ac_tool_prefix}clang; ac_word=$2
4986 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4987 printf %s "checking for $ac_word... " >&6; }
4988 if test ${ac_cv_prog_CC+y}
4989 then :
4990 printf %s "(cached) " >&6
4991 else $as_nop
4992 if test -n "$CC"; then
4993 ac_cv_prog_CC="$CC" # Let the user override the test.
4994 else
4995 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4996 for as_dir in $PATH
4998 IFS=$as_save_IFS
4999 case $as_dir in #(((
5000 '') as_dir=./ ;;
5001 */) ;;
5002 *) as_dir=$as_dir/ ;;
5003 esac
5004 for ac_exec_ext in '' $ac_executable_extensions; do
5005 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5006 ac_cv_prog_CC="${ac_tool_prefix}clang"
5007 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5008 break 2
5010 done
5011 done
5012 IFS=$as_save_IFS
5016 CC=$ac_cv_prog_CC
5017 if test -n "$CC"; then
5018 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5019 printf "%s\n" "$CC" >&6; }
5020 else
5021 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5022 printf "%s\n" "no" >&6; }
5027 if test -z "$ac_cv_prog_CC"; then
5028 ac_ct_CC=$CC
5029 # Extract the first word of "clang", so it can be a program name with args.
5030 set dummy clang; ac_word=$2
5031 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5032 printf %s "checking for $ac_word... " >&6; }
5033 if test ${ac_cv_prog_ac_ct_CC+y}
5034 then :
5035 printf %s "(cached) " >&6
5036 else $as_nop
5037 if test -n "$ac_ct_CC"; then
5038 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5039 else
5040 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5041 for as_dir in $PATH
5043 IFS=$as_save_IFS
5044 case $as_dir in #(((
5045 '') as_dir=./ ;;
5046 */) ;;
5047 *) as_dir=$as_dir/ ;;
5048 esac
5049 for ac_exec_ext in '' $ac_executable_extensions; do
5050 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5051 ac_cv_prog_ac_ct_CC="clang"
5052 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5053 break 2
5055 done
5056 done
5057 IFS=$as_save_IFS
5061 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5062 if test -n "$ac_ct_CC"; then
5063 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5064 printf "%s\n" "$ac_ct_CC" >&6; }
5065 else
5066 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5067 printf "%s\n" "no" >&6; }
5070 if test "x$ac_ct_CC" = x; then
5071 CC=""
5072 else
5073 case $cross_compiling:$ac_tool_warned in
5074 yes:)
5075 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5076 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5077 ac_tool_warned=yes ;;
5078 esac
5079 CC=$ac_ct_CC
5081 else
5082 CC="$ac_cv_prog_CC"
5088 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5089 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5090 as_fn_error $? "no acceptable C compiler found in \$PATH
5091 See \`config.log' for more details" "$LINENO" 5; }
5093 # Provide some information about the compiler.
5094 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5095 set X $ac_compile
5096 ac_compiler=$2
5097 for ac_option in --version -v -V -qversion -version; do
5098 { { ac_try="$ac_compiler $ac_option >&5"
5099 case "(($ac_try" in
5100 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5101 *) ac_try_echo=$ac_try;;
5102 esac
5103 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5104 printf "%s\n" "$ac_try_echo"; } >&5
5105 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5106 ac_status=$?
5107 if test -s conftest.err; then
5108 sed '10a\
5109 ... rest of stderr output deleted ...
5110 10q' conftest.err >conftest.er1
5111 cat conftest.er1 >&5
5113 rm -f conftest.er1 conftest.err
5114 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5115 test $ac_status = 0; }
5116 done
5118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5119 /* end confdefs.h. */
5122 main (void)
5126 return 0;
5128 _ACEOF
5129 ac_clean_files_save=$ac_clean_files
5130 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
5131 # Try to create an executable without -o first, disregard a.out.
5132 # It will help us diagnose broken compilers, and finding out an intuition
5133 # of exeext.
5134 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
5135 printf %s "checking whether the C compiler works... " >&6; }
5136 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
5138 # The possible output files:
5139 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
5141 ac_rmfiles=
5142 for ac_file in $ac_files
5144 case $ac_file in
5145 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5146 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
5147 esac
5148 done
5149 rm -f $ac_rmfiles
5151 if { { ac_try="$ac_link_default"
5152 case "(($ac_try" in
5153 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5154 *) ac_try_echo=$ac_try;;
5155 esac
5156 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5157 printf "%s\n" "$ac_try_echo"; } >&5
5158 (eval "$ac_link_default") 2>&5
5159 ac_status=$?
5160 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5161 test $ac_status = 0; }
5162 then :
5163 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
5164 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
5165 # in a Makefile. We should not override ac_cv_exeext if it was cached,
5166 # so that the user can short-circuit this test for compilers unknown to
5167 # Autoconf.
5168 for ac_file in $ac_files ''
5170 test -f "$ac_file" || continue
5171 case $ac_file in
5172 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
5174 [ab].out )
5175 # We found the default executable, but exeext='' is most
5176 # certainly right.
5177 break;;
5178 *.* )
5179 if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
5180 then :; else
5181 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
5183 # We set ac_cv_exeext here because the later test for it is not
5184 # safe: cross compilers may not add the suffix if given an `-o'
5185 # argument, so we may need to know it at that point already.
5186 # Even if this section looks crufty: it has the advantage of
5187 # actually working.
5188 break;;
5190 break;;
5191 esac
5192 done
5193 test "$ac_cv_exeext" = no && ac_cv_exeext=
5195 else $as_nop
5196 ac_file=''
5198 if test -z "$ac_file"
5199 then :
5200 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5201 printf "%s\n" "no" >&6; }
5202 printf "%s\n" "$as_me: failed program was:" >&5
5203 sed 's/^/| /' conftest.$ac_ext >&5
5205 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5206 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5207 as_fn_error 77 "C compiler cannot create executables
5208 See \`config.log' for more details" "$LINENO" 5; }
5209 else $as_nop
5210 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5211 printf "%s\n" "yes" >&6; }
5213 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
5214 printf %s "checking for C compiler default output file name... " >&6; }
5215 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
5216 printf "%s\n" "$ac_file" >&6; }
5217 ac_exeext=$ac_cv_exeext
5219 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
5220 ac_clean_files=$ac_clean_files_save
5221 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
5222 printf %s "checking for suffix of executables... " >&6; }
5223 if { { ac_try="$ac_link"
5224 case "(($ac_try" in
5225 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5226 *) ac_try_echo=$ac_try;;
5227 esac
5228 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5229 printf "%s\n" "$ac_try_echo"; } >&5
5230 (eval "$ac_link") 2>&5
5231 ac_status=$?
5232 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5233 test $ac_status = 0; }
5234 then :
5235 # If both `conftest.exe' and `conftest' are `present' (well, observable)
5236 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
5237 # work properly (i.e., refer to `conftest.exe'), while it won't with
5238 # `rm'.
5239 for ac_file in conftest.exe conftest conftest.*; do
5240 test -f "$ac_file" || continue
5241 case $ac_file in
5242 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5243 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
5244 break;;
5245 * ) break;;
5246 esac
5247 done
5248 else $as_nop
5249 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5250 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5251 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
5252 See \`config.log' for more details" "$LINENO" 5; }
5254 rm -f conftest conftest$ac_cv_exeext
5255 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
5256 printf "%s\n" "$ac_cv_exeext" >&6; }
5258 rm -f conftest.$ac_ext
5259 EXEEXT=$ac_cv_exeext
5260 ac_exeext=$EXEEXT
5261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5262 /* end confdefs.h. */
5263 #include <stdio.h>
5265 main (void)
5267 FILE *f = fopen ("conftest.out", "w");
5268 return ferror (f) || fclose (f) != 0;
5271 return 0;
5273 _ACEOF
5274 ac_clean_files="$ac_clean_files conftest.out"
5275 # Check that the compiler produces executables we can run. If not, either
5276 # the compiler is broken, or we cross compile.
5277 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
5278 printf %s "checking whether we are cross compiling... " >&6; }
5279 if test "$cross_compiling" != yes; then
5280 { { ac_try="$ac_link"
5281 case "(($ac_try" in
5282 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5283 *) ac_try_echo=$ac_try;;
5284 esac
5285 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5286 printf "%s\n" "$ac_try_echo"; } >&5
5287 (eval "$ac_link") 2>&5
5288 ac_status=$?
5289 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5290 test $ac_status = 0; }
5291 if { ac_try='./conftest$ac_cv_exeext'
5292 { { case "(($ac_try" in
5293 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5294 *) ac_try_echo=$ac_try;;
5295 esac
5296 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5297 printf "%s\n" "$ac_try_echo"; } >&5
5298 (eval "$ac_try") 2>&5
5299 ac_status=$?
5300 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5301 test $ac_status = 0; }; }; then
5302 cross_compiling=no
5303 else
5304 if test "$cross_compiling" = maybe; then
5305 cross_compiling=yes
5306 else
5307 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5308 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5309 as_fn_error 77 "cannot run C compiled programs.
5310 If you meant to cross compile, use \`--host'.
5311 See \`config.log' for more details" "$LINENO" 5; }
5315 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
5316 printf "%s\n" "$cross_compiling" >&6; }
5318 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
5319 ac_clean_files=$ac_clean_files_save
5320 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
5321 printf %s "checking for suffix of object files... " >&6; }
5322 if test ${ac_cv_objext+y}
5323 then :
5324 printf %s "(cached) " >&6
5325 else $as_nop
5326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5327 /* end confdefs.h. */
5330 main (void)
5334 return 0;
5336 _ACEOF
5337 rm -f conftest.o conftest.obj
5338 if { { ac_try="$ac_compile"
5339 case "(($ac_try" in
5340 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5341 *) ac_try_echo=$ac_try;;
5342 esac
5343 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5344 printf "%s\n" "$ac_try_echo"; } >&5
5345 (eval "$ac_compile") 2>&5
5346 ac_status=$?
5347 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5348 test $ac_status = 0; }
5349 then :
5350 for ac_file in conftest.o conftest.obj conftest.*; do
5351 test -f "$ac_file" || continue;
5352 case $ac_file in
5353 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
5354 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
5355 break;;
5356 esac
5357 done
5358 else $as_nop
5359 printf "%s\n" "$as_me: failed program was:" >&5
5360 sed 's/^/| /' conftest.$ac_ext >&5
5362 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5363 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5364 as_fn_error $? "cannot compute suffix of object files: cannot compile
5365 See \`config.log' for more details" "$LINENO" 5; }
5367 rm -f conftest.$ac_cv_objext conftest.$ac_ext
5369 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
5370 printf "%s\n" "$ac_cv_objext" >&6; }
5371 OBJEXT=$ac_cv_objext
5372 ac_objext=$OBJEXT
5373 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
5374 printf %s "checking whether the compiler supports GNU C... " >&6; }
5375 if test ${ac_cv_c_compiler_gnu+y}
5376 then :
5377 printf %s "(cached) " >&6
5378 else $as_nop
5379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5380 /* end confdefs.h. */
5383 main (void)
5385 #ifndef __GNUC__
5386 choke me
5387 #endif
5390 return 0;
5392 _ACEOF
5393 if ac_fn_c_try_compile "$LINENO"
5394 then :
5395 ac_compiler_gnu=yes
5396 else $as_nop
5397 ac_compiler_gnu=no
5399 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5400 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5403 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5404 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
5405 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5407 if test $ac_compiler_gnu = yes; then
5408 GCC=yes
5409 else
5410 GCC=
5412 ac_test_CFLAGS=${CFLAGS+y}
5413 ac_save_CFLAGS=$CFLAGS
5414 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5415 printf %s "checking whether $CC accepts -g... " >&6; }
5416 if test ${ac_cv_prog_cc_g+y}
5417 then :
5418 printf %s "(cached) " >&6
5419 else $as_nop
5420 ac_save_c_werror_flag=$ac_c_werror_flag
5421 ac_c_werror_flag=yes
5422 ac_cv_prog_cc_g=no
5423 CFLAGS="-g"
5424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5425 /* end confdefs.h. */
5428 main (void)
5432 return 0;
5434 _ACEOF
5435 if ac_fn_c_try_compile "$LINENO"
5436 then :
5437 ac_cv_prog_cc_g=yes
5438 else $as_nop
5439 CFLAGS=""
5440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5441 /* end confdefs.h. */
5444 main (void)
5448 return 0;
5450 _ACEOF
5451 if ac_fn_c_try_compile "$LINENO"
5452 then :
5454 else $as_nop
5455 ac_c_werror_flag=$ac_save_c_werror_flag
5456 CFLAGS="-g"
5457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5458 /* end confdefs.h. */
5461 main (void)
5465 return 0;
5467 _ACEOF
5468 if ac_fn_c_try_compile "$LINENO"
5469 then :
5470 ac_cv_prog_cc_g=yes
5472 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5474 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5476 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5477 ac_c_werror_flag=$ac_save_c_werror_flag
5479 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5480 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
5481 if test $ac_test_CFLAGS; then
5482 CFLAGS=$ac_save_CFLAGS
5483 elif test $ac_cv_prog_cc_g = yes; then
5484 if test "$GCC" = yes; then
5485 CFLAGS="-g -O2"
5486 else
5487 CFLAGS="-g"
5489 else
5490 if test "$GCC" = yes; then
5491 CFLAGS="-O2"
5492 else
5493 CFLAGS=
5496 ac_prog_cc_stdc=no
5497 if test x$ac_prog_cc_stdc = xno
5498 then :
5499 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
5500 printf %s "checking for $CC option to enable C11 features... " >&6; }
5501 if test ${ac_cv_prog_cc_c11+y}
5502 then :
5503 printf %s "(cached) " >&6
5504 else $as_nop
5505 ac_cv_prog_cc_c11=no
5506 ac_save_CC=$CC
5507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5508 /* end confdefs.h. */
5509 $ac_c_conftest_c11_program
5510 _ACEOF
5511 for ac_arg in '' -std=gnu11
5513 CC="$ac_save_CC $ac_arg"
5514 if ac_fn_c_try_compile "$LINENO"
5515 then :
5516 ac_cv_prog_cc_c11=$ac_arg
5518 rm -f core conftest.err conftest.$ac_objext conftest.beam
5519 test "x$ac_cv_prog_cc_c11" != "xno" && break
5520 done
5521 rm -f conftest.$ac_ext
5522 CC=$ac_save_CC
5525 if test "x$ac_cv_prog_cc_c11" = xno
5526 then :
5527 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5528 printf "%s\n" "unsupported" >&6; }
5529 else $as_nop
5530 if test "x$ac_cv_prog_cc_c11" = x
5531 then :
5532 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5533 printf "%s\n" "none needed" >&6; }
5534 else $as_nop
5535 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
5536 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
5537 CC="$CC $ac_cv_prog_cc_c11"
5539 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
5540 ac_prog_cc_stdc=c11
5543 if test x$ac_prog_cc_stdc = xno
5544 then :
5545 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
5546 printf %s "checking for $CC option to enable C99 features... " >&6; }
5547 if test ${ac_cv_prog_cc_c99+y}
5548 then :
5549 printf %s "(cached) " >&6
5550 else $as_nop
5551 ac_cv_prog_cc_c99=no
5552 ac_save_CC=$CC
5553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5554 /* end confdefs.h. */
5555 $ac_c_conftest_c99_program
5556 _ACEOF
5557 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
5559 CC="$ac_save_CC $ac_arg"
5560 if ac_fn_c_try_compile "$LINENO"
5561 then :
5562 ac_cv_prog_cc_c99=$ac_arg
5564 rm -f core conftest.err conftest.$ac_objext conftest.beam
5565 test "x$ac_cv_prog_cc_c99" != "xno" && break
5566 done
5567 rm -f conftest.$ac_ext
5568 CC=$ac_save_CC
5571 if test "x$ac_cv_prog_cc_c99" = xno
5572 then :
5573 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5574 printf "%s\n" "unsupported" >&6; }
5575 else $as_nop
5576 if test "x$ac_cv_prog_cc_c99" = x
5577 then :
5578 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5579 printf "%s\n" "none needed" >&6; }
5580 else $as_nop
5581 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
5582 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
5583 CC="$CC $ac_cv_prog_cc_c99"
5585 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
5586 ac_prog_cc_stdc=c99
5589 if test x$ac_prog_cc_stdc = xno
5590 then :
5591 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
5592 printf %s "checking for $CC option to enable C89 features... " >&6; }
5593 if test ${ac_cv_prog_cc_c89+y}
5594 then :
5595 printf %s "(cached) " >&6
5596 else $as_nop
5597 ac_cv_prog_cc_c89=no
5598 ac_save_CC=$CC
5599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5600 /* end confdefs.h. */
5601 $ac_c_conftest_c89_program
5602 _ACEOF
5603 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5605 CC="$ac_save_CC $ac_arg"
5606 if ac_fn_c_try_compile "$LINENO"
5607 then :
5608 ac_cv_prog_cc_c89=$ac_arg
5610 rm -f core conftest.err conftest.$ac_objext conftest.beam
5611 test "x$ac_cv_prog_cc_c89" != "xno" && break
5612 done
5613 rm -f conftest.$ac_ext
5614 CC=$ac_save_CC
5617 if test "x$ac_cv_prog_cc_c89" = xno
5618 then :
5619 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5620 printf "%s\n" "unsupported" >&6; }
5621 else $as_nop
5622 if test "x$ac_cv_prog_cc_c89" = x
5623 then :
5624 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5625 printf "%s\n" "none needed" >&6; }
5626 else $as_nop
5627 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5628 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
5629 CC="$CC $ac_cv_prog_cc_c89"
5631 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
5632 ac_prog_cc_stdc=c89
5636 ac_ext=c
5637 ac_cpp='$CPP $CPPFLAGS'
5638 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5639 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5640 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5648 ac_ext=cpp
5649 ac_cpp='$CXXCPP $CPPFLAGS'
5650 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5651 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5652 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5653 if test -z "$CXX"; then
5654 if test -n "$CCC"; then
5655 CXX=$CCC
5656 else
5657 if test -n "$ac_tool_prefix"; then
5658 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5660 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5661 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5662 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5663 printf %s "checking for $ac_word... " >&6; }
5664 if test ${ac_cv_prog_CXX+y}
5665 then :
5666 printf %s "(cached) " >&6
5667 else $as_nop
5668 if test -n "$CXX"; then
5669 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5670 else
5671 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5672 for as_dir in $PATH
5674 IFS=$as_save_IFS
5675 case $as_dir in #(((
5676 '') as_dir=./ ;;
5677 */) ;;
5678 *) as_dir=$as_dir/ ;;
5679 esac
5680 for ac_exec_ext in '' $ac_executable_extensions; do
5681 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5682 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5683 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5684 break 2
5686 done
5687 done
5688 IFS=$as_save_IFS
5692 CXX=$ac_cv_prog_CXX
5693 if test -n "$CXX"; then
5694 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5695 printf "%s\n" "$CXX" >&6; }
5696 else
5697 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5698 printf "%s\n" "no" >&6; }
5702 test -n "$CXX" && break
5703 done
5705 if test -z "$CXX"; then
5706 ac_ct_CXX=$CXX
5707 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5709 # Extract the first word of "$ac_prog", so it can be a program name with args.
5710 set dummy $ac_prog; ac_word=$2
5711 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5712 printf %s "checking for $ac_word... " >&6; }
5713 if test ${ac_cv_prog_ac_ct_CXX+y}
5714 then :
5715 printf %s "(cached) " >&6
5716 else $as_nop
5717 if test -n "$ac_ct_CXX"; then
5718 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5719 else
5720 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5721 for as_dir in $PATH
5723 IFS=$as_save_IFS
5724 case $as_dir in #(((
5725 '') as_dir=./ ;;
5726 */) ;;
5727 *) as_dir=$as_dir/ ;;
5728 esac
5729 for ac_exec_ext in '' $ac_executable_extensions; do
5730 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5731 ac_cv_prog_ac_ct_CXX="$ac_prog"
5732 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5733 break 2
5735 done
5736 done
5737 IFS=$as_save_IFS
5741 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5742 if test -n "$ac_ct_CXX"; then
5743 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5744 printf "%s\n" "$ac_ct_CXX" >&6; }
5745 else
5746 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5747 printf "%s\n" "no" >&6; }
5751 test -n "$ac_ct_CXX" && break
5752 done
5754 if test "x$ac_ct_CXX" = x; then
5755 CXX="g++"
5756 else
5757 case $cross_compiling:$ac_tool_warned in
5758 yes:)
5759 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5760 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5761 ac_tool_warned=yes ;;
5762 esac
5763 CXX=$ac_ct_CXX
5769 # Provide some information about the compiler.
5770 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5771 set X $ac_compile
5772 ac_compiler=$2
5773 for ac_option in --version -v -V -qversion; do
5774 { { ac_try="$ac_compiler $ac_option >&5"
5775 case "(($ac_try" in
5776 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5777 *) ac_try_echo=$ac_try;;
5778 esac
5779 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5780 printf "%s\n" "$ac_try_echo"; } >&5
5781 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5782 ac_status=$?
5783 if test -s conftest.err; then
5784 sed '10a\
5785 ... rest of stderr output deleted ...
5786 10q' conftest.err >conftest.er1
5787 cat conftest.er1 >&5
5789 rm -f conftest.er1 conftest.err
5790 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5791 test $ac_status = 0; }
5792 done
5794 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C++" >&5
5795 printf %s "checking whether the compiler supports GNU C++... " >&6; }
5796 if test ${ac_cv_cxx_compiler_gnu+y}
5797 then :
5798 printf %s "(cached) " >&6
5799 else $as_nop
5800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5801 /* end confdefs.h. */
5804 main (void)
5806 #ifndef __GNUC__
5807 choke me
5808 #endif
5811 return 0;
5813 _ACEOF
5814 if ac_fn_cxx_try_compile "$LINENO"
5815 then :
5816 ac_compiler_gnu=yes
5817 else $as_nop
5818 ac_compiler_gnu=no
5820 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5821 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5824 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5825 printf "%s\n" "$ac_cv_cxx_compiler_gnu" >&6; }
5826 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5828 if test $ac_compiler_gnu = yes; then
5829 GXX=yes
5830 else
5831 GXX=
5833 ac_test_CXXFLAGS=${CXXFLAGS+y}
5834 ac_save_CXXFLAGS=$CXXFLAGS
5835 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5836 printf %s "checking whether $CXX accepts -g... " >&6; }
5837 if test ${ac_cv_prog_cxx_g+y}
5838 then :
5839 printf %s "(cached) " >&6
5840 else $as_nop
5841 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5842 ac_cxx_werror_flag=yes
5843 ac_cv_prog_cxx_g=no
5844 CXXFLAGS="-g"
5845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5846 /* end confdefs.h. */
5849 main (void)
5853 return 0;
5855 _ACEOF
5856 if ac_fn_cxx_try_compile "$LINENO"
5857 then :
5858 ac_cv_prog_cxx_g=yes
5859 else $as_nop
5860 CXXFLAGS=""
5861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5862 /* end confdefs.h. */
5865 main (void)
5869 return 0;
5871 _ACEOF
5872 if ac_fn_cxx_try_compile "$LINENO"
5873 then :
5875 else $as_nop
5876 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5877 CXXFLAGS="-g"
5878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5879 /* end confdefs.h. */
5882 main (void)
5886 return 0;
5888 _ACEOF
5889 if ac_fn_cxx_try_compile "$LINENO"
5890 then :
5891 ac_cv_prog_cxx_g=yes
5893 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5895 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5897 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5898 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5900 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5901 printf "%s\n" "$ac_cv_prog_cxx_g" >&6; }
5902 if test $ac_test_CXXFLAGS; then
5903 CXXFLAGS=$ac_save_CXXFLAGS
5904 elif test $ac_cv_prog_cxx_g = yes; then
5905 if test "$GXX" = yes; then
5906 CXXFLAGS="-g -O2"
5907 else
5908 CXXFLAGS="-g"
5910 else
5911 if test "$GXX" = yes; then
5912 CXXFLAGS="-O2"
5913 else
5914 CXXFLAGS=
5917 ac_prog_cxx_stdcxx=no
5918 if test x$ac_prog_cxx_stdcxx = xno
5919 then :
5920 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++11 features" >&5
5921 printf %s "checking for $CXX option to enable C++11 features... " >&6; }
5922 if test ${ac_cv_prog_cxx_cxx11+y}
5923 then :
5924 printf %s "(cached) " >&6
5925 else $as_nop
5926 ac_cv_prog_cxx_cxx11=no
5927 ac_save_CXX=$CXX
5928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5929 /* end confdefs.h. */
5930 $ac_cxx_conftest_cxx11_program
5931 _ACEOF
5932 for ac_arg in '' -std=gnu++11 -std=gnu++0x -std=c++11 -std=c++0x -qlanglvl=extended0x -AA
5934 CXX="$ac_save_CXX $ac_arg"
5935 if ac_fn_cxx_try_compile "$LINENO"
5936 then :
5937 ac_cv_prog_cxx_cxx11=$ac_arg
5939 rm -f core conftest.err conftest.$ac_objext conftest.beam
5940 test "x$ac_cv_prog_cxx_cxx11" != "xno" && break
5941 done
5942 rm -f conftest.$ac_ext
5943 CXX=$ac_save_CXX
5946 if test "x$ac_cv_prog_cxx_cxx11" = xno
5947 then :
5948 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5949 printf "%s\n" "unsupported" >&6; }
5950 else $as_nop
5951 if test "x$ac_cv_prog_cxx_cxx11" = x
5952 then :
5953 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5954 printf "%s\n" "none needed" >&6; }
5955 else $as_nop
5956 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx11" >&5
5957 printf "%s\n" "$ac_cv_prog_cxx_cxx11" >&6; }
5958 CXX="$CXX $ac_cv_prog_cxx_cxx11"
5960 ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx11
5961 ac_prog_cxx_stdcxx=cxx11
5964 if test x$ac_prog_cxx_stdcxx = xno
5965 then :
5966 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++98 features" >&5
5967 printf %s "checking for $CXX option to enable C++98 features... " >&6; }
5968 if test ${ac_cv_prog_cxx_cxx98+y}
5969 then :
5970 printf %s "(cached) " >&6
5971 else $as_nop
5972 ac_cv_prog_cxx_cxx98=no
5973 ac_save_CXX=$CXX
5974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5975 /* end confdefs.h. */
5976 $ac_cxx_conftest_cxx98_program
5977 _ACEOF
5978 for ac_arg in '' -std=gnu++98 -std=c++98 -qlanglvl=extended -AA
5980 CXX="$ac_save_CXX $ac_arg"
5981 if ac_fn_cxx_try_compile "$LINENO"
5982 then :
5983 ac_cv_prog_cxx_cxx98=$ac_arg
5985 rm -f core conftest.err conftest.$ac_objext conftest.beam
5986 test "x$ac_cv_prog_cxx_cxx98" != "xno" && break
5987 done
5988 rm -f conftest.$ac_ext
5989 CXX=$ac_save_CXX
5992 if test "x$ac_cv_prog_cxx_cxx98" = xno
5993 then :
5994 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5995 printf "%s\n" "unsupported" >&6; }
5996 else $as_nop
5997 if test "x$ac_cv_prog_cxx_cxx98" = x
5998 then :
5999 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
6000 printf "%s\n" "none needed" >&6; }
6001 else $as_nop
6002 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx98" >&5
6003 printf "%s\n" "$ac_cv_prog_cxx_cxx98" >&6; }
6004 CXX="$CXX $ac_cv_prog_cxx_cxx98"
6006 ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx98
6007 ac_prog_cxx_stdcxx=cxx98
6011 ac_ext=c
6012 ac_cpp='$CPP $CPPFLAGS'
6013 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6014 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6015 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6017 if test -n "$ac_tool_prefix"; then
6018 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
6019 set dummy ${ac_tool_prefix}cpp; ac_word=$2
6020 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6021 printf %s "checking for $ac_word... " >&6; }
6022 if test ${ac_cv_prog_CPPBIN+y}
6023 then :
6024 printf %s "(cached) " >&6
6025 else $as_nop
6026 if test -n "$CPPBIN"; then
6027 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
6028 else
6029 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6030 for as_dir in $PATH
6032 IFS=$as_save_IFS
6033 case $as_dir in #(((
6034 '') as_dir=./ ;;
6035 */) ;;
6036 *) as_dir=$as_dir/ ;;
6037 esac
6038 for ac_exec_ext in '' $ac_executable_extensions; do
6039 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6040 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
6041 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6042 break 2
6044 done
6045 done
6046 IFS=$as_save_IFS
6050 CPPBIN=$ac_cv_prog_CPPBIN
6051 if test -n "$CPPBIN"; then
6052 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
6053 printf "%s\n" "$CPPBIN" >&6; }
6054 else
6055 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6056 printf "%s\n" "no" >&6; }
6061 if test -z "$ac_cv_prog_CPPBIN"; then
6062 ac_ct_CPPBIN=$CPPBIN
6063 # Extract the first word of "cpp", so it can be a program name with args.
6064 set dummy cpp; ac_word=$2
6065 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6066 printf %s "checking for $ac_word... " >&6; }
6067 if test ${ac_cv_prog_ac_ct_CPPBIN+y}
6068 then :
6069 printf %s "(cached) " >&6
6070 else $as_nop
6071 if test -n "$ac_ct_CPPBIN"; then
6072 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
6073 else
6074 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6075 for as_dir in $PATH
6077 IFS=$as_save_IFS
6078 case $as_dir in #(((
6079 '') as_dir=./ ;;
6080 */) ;;
6081 *) as_dir=$as_dir/ ;;
6082 esac
6083 for ac_exec_ext in '' $ac_executable_extensions; do
6084 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6085 ac_cv_prog_ac_ct_CPPBIN="cpp"
6086 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6087 break 2
6089 done
6090 done
6091 IFS=$as_save_IFS
6095 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
6096 if test -n "$ac_ct_CPPBIN"; then
6097 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
6098 printf "%s\n" "$ac_ct_CPPBIN" >&6; }
6099 else
6100 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6101 printf "%s\n" "no" >&6; }
6104 if test "x$ac_ct_CPPBIN" = x; then
6105 CPPBIN="cpp"
6106 else
6107 case $cross_compiling:$ac_tool_warned in
6108 yes:)
6109 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6110 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6111 ac_tool_warned=yes ;;
6112 esac
6113 CPPBIN=$ac_ct_CPPBIN
6115 else
6116 CPPBIN="$ac_cv_prog_CPPBIN"
6120 printf "%s\n" "#define EXEEXT \"$ac_exeext\"" >>confdefs.h
6122 if test -n "$ac_tool_prefix"; then
6123 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
6124 set dummy ${ac_tool_prefix}ld; ac_word=$2
6125 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6126 printf %s "checking for $ac_word... " >&6; }
6127 if test ${ac_cv_prog_LD+y}
6128 then :
6129 printf %s "(cached) " >&6
6130 else $as_nop
6131 if test -n "$LD"; then
6132 ac_cv_prog_LD="$LD" # Let the user override the test.
6133 else
6134 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6135 for as_dir in $PATH
6137 IFS=$as_save_IFS
6138 case $as_dir in #(((
6139 '') as_dir=./ ;;
6140 */) ;;
6141 *) as_dir=$as_dir/ ;;
6142 esac
6143 for ac_exec_ext in '' $ac_executable_extensions; do
6144 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6145 ac_cv_prog_LD="${ac_tool_prefix}ld"
6146 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6147 break 2
6149 done
6150 done
6151 IFS=$as_save_IFS
6155 LD=$ac_cv_prog_LD
6156 if test -n "$LD"; then
6157 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6158 printf "%s\n" "$LD" >&6; }
6159 else
6160 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6161 printf "%s\n" "no" >&6; }
6166 if test -z "$ac_cv_prog_LD"; then
6167 ac_ct_LD=$LD
6168 # Extract the first word of "ld", so it can be a program name with args.
6169 set dummy ld; ac_word=$2
6170 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6171 printf %s "checking for $ac_word... " >&6; }
6172 if test ${ac_cv_prog_ac_ct_LD+y}
6173 then :
6174 printf %s "(cached) " >&6
6175 else $as_nop
6176 if test -n "$ac_ct_LD"; then
6177 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
6178 else
6179 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6180 for as_dir in $PATH
6182 IFS=$as_save_IFS
6183 case $as_dir in #(((
6184 '') as_dir=./ ;;
6185 */) ;;
6186 *) as_dir=$as_dir/ ;;
6187 esac
6188 for ac_exec_ext in '' $ac_executable_extensions; do
6189 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6190 ac_cv_prog_ac_ct_LD="ld"
6191 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6192 break 2
6194 done
6195 done
6196 IFS=$as_save_IFS
6200 ac_ct_LD=$ac_cv_prog_ac_ct_LD
6201 if test -n "$ac_ct_LD"; then
6202 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
6203 printf "%s\n" "$ac_ct_LD" >&6; }
6204 else
6205 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6206 printf "%s\n" "no" >&6; }
6209 if test "x$ac_ct_LD" = x; then
6210 LD=""
6211 else
6212 case $cross_compiling:$ac_tool_warned in
6213 yes:)
6214 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6215 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6216 ac_tool_warned=yes ;;
6217 esac
6218 LD=$ac_ct_LD
6220 else
6221 LD="$ac_cv_prog_LD"
6225 case $host in
6226 *-darwin*)
6227 with_fontconfig=${with_fontconfig:-no}
6229 *-mingw32*|*-cygwin*)
6230 enable_win16=${enable_win16:-no}
6231 with_mingw=${with_mingw:-no}
6233 esac
6236 case $host in
6237 x86_64*|amd64*)
6238 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes" -a x"$enable_archs" = x
6239 then
6240 CC="$CC -m32"
6241 CXX="$CXX -m32"
6243 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
6244 printf %s "checking whether $CC works... " >&6; }
6245 if test ${wine_cv_cc_m32+y}
6246 then :
6247 printf %s "(cached) " >&6
6248 else $as_nop
6249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6250 /* end confdefs.h. */
6253 main (void)
6257 return 0;
6259 _ACEOF
6260 if ac_fn_c_try_link "$LINENO"
6261 then :
6262 wine_cv_cc_m32=yes
6263 else $as_nop
6264 wine_cv_cc_m32=no
6266 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6267 conftest$ac_exeext conftest.$ac_ext
6269 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_cc_m32" >&5
6270 printf "%s\n" "$wine_cv_cc_m32" >&6; }
6271 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
6272 host_cpu="i386"
6273 notice_platform="32-bit "
6274 TARGETFLAGS="$TARGETFLAGS -m32"
6275 PKG_CONFIG_LIBDIR=${PKG_CONFIG_LIBDIR:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib32/pkgconfig:/usr/lib/pkgconfig}
6276 export PKG_CONFIG_LIBDIR
6277 with_unwind=${with_unwind:-no}
6278 else
6279 CC="$CC -m64"
6280 CXX="$CXX -m64"
6281 host_cpu="x86_64"
6282 notice_platform="64-bit "
6283 TARGETFLAGS="$TARGETFLAGS -m64"
6286 arm*)
6287 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb-2" >&5
6288 printf %s "checking whether $CC supports Thumb-2... " >&6; }
6289 if test ${wine_cv_thumb2+y}
6290 then :
6291 printf %s "(cached) " >&6
6292 else $as_nop
6293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6294 /* end confdefs.h. */
6297 main (void)
6299 asm(".syntax unified\n\t.thumb\n\tldm r0,{r0-r8}");
6301 return 0;
6303 _ACEOF
6304 if ac_fn_c_try_link "$LINENO"
6305 then :
6306 wine_cv_thumb2=yes
6307 else $as_nop
6308 wine_cv_thumb2=no
6310 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6311 conftest$ac_exeext conftest.$ac_ext
6313 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_thumb2" >&5
6314 printf "%s\n" "$wine_cv_thumb2" >&6; }
6315 if test x"$wine_cv_thumb2" = xyes
6316 then
6317 CFLAGS="$CFLAGS -mthumb"
6318 TARGETFLAGS="$TARGETFLAGS -mthumb"
6319 else
6320 CFLAGS="$CFLAGS -marm"
6321 TARGETFLAGS="$TARGETFLAGS -marm"
6323 case $with_float_abi in
6324 soft|softfp|hard)
6325 float_abi=$with_float_abi ;;
6327 case $host_os in
6328 *eabihf)
6329 float_abi=hard ;;
6331 float_abi=softfp
6332 saved_CFLAGS=$CFLAGS
6333 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
6334 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
6335 printf %s "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
6336 if test ${wine_cv_float_abi+y}
6337 then :
6338 printf %s "(cached) " >&6
6339 else $as_nop
6340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6341 /* end confdefs.h. */
6344 main (void)
6346 asm("vmrs r2,fpscr");
6348 return 0;
6350 _ACEOF
6351 if ac_fn_c_try_link "$LINENO"
6352 then :
6353 wine_cv_float_abi=yes
6354 else $as_nop
6355 wine_cv_float_abi=no
6357 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6358 conftest$ac_exeext conftest.$ac_ext
6360 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_float_abi" >&5
6361 printf "%s\n" "$wine_cv_float_abi" >&6; }
6362 if test $wine_cv_float_abi = no
6363 then
6364 float_abi=soft
6365 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
6367 CFLAGS=$saved_CFLAGS
6368 esac
6370 esac
6371 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
6372 TARGETFLAGS="$TARGETFLAGS -mfloat-abi=$float_abi"
6374 i[3456789]86*)
6375 with_unwind=${with_unwind:-no}
6377 esac
6379 enable_win16=${enable_win16:-i386}
6380 enable_win64=${enable_win64:-no}
6381 enable_wow64=${enable_wow64:-aarch64,x86_64}
6382 enable_wow64win=${enable_wow64win:-aarch64,x86_64}
6383 enable_wow64cpu=${enable_wow64cpu:-x86_64}
6385 enable_winetest=${enable_winetest:-$enable_tests}
6387 if test "x$enable_win64" = "xyes"
6388 then
6389 test -z "$with_wine64" || as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
6390 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
6393 case $build_os in
6394 cygwin*|mingw32*) toolsext=".exe"
6396 *) toolsext=""
6398 esac
6400 HOST_ARCH=unknown
6401 case "$host_cpu" in
6402 aarch64*) HOST_ARCH=aarch64 ;;
6403 arm*) HOST_ARCH=arm ;;
6404 i[3456789]86*) HOST_ARCH=i386 ;;
6405 x86_64) HOST_ARCH=x86_64 ;;
6406 esac
6409 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
6410 printf %s "checking for the directory containing the Wine tools... " >&6; }
6411 if test ${wine_cv_toolsdir+y}
6412 then :
6413 printf %s "(cached) " >&6
6414 else $as_nop
6415 wine_cv_toolsdir="$with_wine_tools"
6416 if test -z "$with_wine_tools"; then
6417 if test "$cross_compiling" = "yes"; then
6418 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
6419 elif test -n "$with_wine64"; then
6420 wine_cv_toolsdir="$with_wine64"
6424 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
6425 printf "%s\n" "$wine_cv_toolsdir" >&6; }
6426 if test -z "$wine_cv_toolsdir"; then
6427 wine_makedep=tools/makedep$toolsext
6428 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
6429 wine_makedep=$wine_cv_toolsdir/tools/makedep$toolsext
6430 enable_tools=${enable_tools:-no}
6431 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
6432 else
6433 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
6435 toolsdir=$wine_cv_toolsdir
6437 MAKEDEP=$wine_makedep
6439 RUNTESTFLAGS="-q -P wine"
6441 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'"
6444 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
6445 then
6446 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
6449 for ac_prog in flex
6451 # Extract the first word of "$ac_prog", so it can be a program name with args.
6452 set dummy $ac_prog; ac_word=$2
6453 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6454 printf %s "checking for $ac_word... " >&6; }
6455 if test ${ac_cv_prog_FLEX+y}
6456 then :
6457 printf %s "(cached) " >&6
6458 else $as_nop
6459 if test -n "$FLEX"; then
6460 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
6461 else
6462 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6463 for as_dir in $PATH
6465 IFS=$as_save_IFS
6466 case $as_dir in #(((
6467 '') as_dir=./ ;;
6468 */) ;;
6469 *) as_dir=$as_dir/ ;;
6470 esac
6471 for ac_exec_ext in '' $ac_executable_extensions; do
6472 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6473 ac_cv_prog_FLEX="$ac_prog"
6474 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6475 break 2
6477 done
6478 done
6479 IFS=$as_save_IFS
6483 FLEX=$ac_cv_prog_FLEX
6484 if test -n "$FLEX"; then
6485 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
6486 printf "%s\n" "$FLEX" >&6; }
6487 else
6488 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6489 printf "%s\n" "no" >&6; }
6493 test -n "$FLEX" && break
6494 done
6495 test -n "$FLEX" || FLEX="none"
6497 if test "$FLEX" = "none"
6498 then
6499 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
6501 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
6502 printf %s "checking whether flex is recent enough... " >&6; }
6503 if test ${wine_cv_recent_flex+y}
6504 then :
6505 printf %s "(cached) " >&6
6506 else $as_nop
6507 cat >conftest.l <<EOF
6508 %top{
6509 #include "prediluvian.h"
6513 if $FLEX -t conftest.l >/dev/null 2>&5
6514 then
6515 wine_cv_recent_flex=yes
6516 else
6517 wine_cv_recent_flex=no
6520 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_flex" >&5
6521 printf "%s\n" "$wine_cv_recent_flex" >&6; }
6522 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
6524 for ac_prog in bison
6526 # Extract the first word of "$ac_prog", so it can be a program name with args.
6527 set dummy $ac_prog; ac_word=$2
6528 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6529 printf %s "checking for $ac_word... " >&6; }
6530 if test ${ac_cv_prog_BISON+y}
6531 then :
6532 printf %s "(cached) " >&6
6533 else $as_nop
6534 if test -n "$BISON"; then
6535 ac_cv_prog_BISON="$BISON" # Let the user override the test.
6536 else
6537 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6538 for as_dir in $PATH
6540 IFS=$as_save_IFS
6541 case $as_dir in #(((
6542 '') as_dir=./ ;;
6543 */) ;;
6544 *) as_dir=$as_dir/ ;;
6545 esac
6546 for ac_exec_ext in '' $ac_executable_extensions; do
6547 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6548 ac_cv_prog_BISON="$ac_prog"
6549 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6550 break 2
6552 done
6553 done
6554 IFS=$as_save_IFS
6558 BISON=$ac_cv_prog_BISON
6559 if test -n "$BISON"; then
6560 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
6561 printf "%s\n" "$BISON" >&6; }
6562 else
6563 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6564 printf "%s\n" "no" >&6; }
6568 test -n "$BISON" && break
6569 done
6570 test -n "$BISON" || BISON="none"
6572 if test "$BISON" = "none"
6573 then
6574 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
6576 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether bison is recent enough" >&5
6577 printf %s "checking whether bison is recent enough... " >&6; }
6578 if test ${wine_cv_recent_bison+y}
6579 then :
6580 printf %s "(cached) " >&6
6581 else $as_nop
6582 cat >conftest.y <<EOF
6583 %define parse.error verbose
6585 empty: ;
6587 if $BISON conftest.y >/dev/null 2>&5
6588 then
6589 wine_cv_recent_bison=yes
6590 else
6591 wine_cv_recent_bison=no
6594 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_bison" >&5
6595 printf "%s\n" "$wine_cv_recent_bison" >&6; }
6596 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
6598 if test -n "$ac_tool_prefix"; then
6599 for ac_prog in ar gar
6601 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6602 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6603 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6604 printf %s "checking for $ac_word... " >&6; }
6605 if test ${ac_cv_prog_AR+y}
6606 then :
6607 printf %s "(cached) " >&6
6608 else $as_nop
6609 if test -n "$AR"; then
6610 ac_cv_prog_AR="$AR" # Let the user override the test.
6611 else
6612 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6613 for as_dir in $PATH
6615 IFS=$as_save_IFS
6616 case $as_dir in #(((
6617 '') as_dir=./ ;;
6618 */) ;;
6619 *) as_dir=$as_dir/ ;;
6620 esac
6621 for ac_exec_ext in '' $ac_executable_extensions; do
6622 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6623 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6624 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6625 break 2
6627 done
6628 done
6629 IFS=$as_save_IFS
6633 AR=$ac_cv_prog_AR
6634 if test -n "$AR"; then
6635 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6636 printf "%s\n" "$AR" >&6; }
6637 else
6638 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6639 printf "%s\n" "no" >&6; }
6643 test -n "$AR" && break
6644 done
6646 if test -z "$AR"; then
6647 ac_ct_AR=$AR
6648 for ac_prog in ar gar
6650 # Extract the first word of "$ac_prog", so it can be a program name with args.
6651 set dummy $ac_prog; ac_word=$2
6652 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6653 printf %s "checking for $ac_word... " >&6; }
6654 if test ${ac_cv_prog_ac_ct_AR+y}
6655 then :
6656 printf %s "(cached) " >&6
6657 else $as_nop
6658 if test -n "$ac_ct_AR"; then
6659 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6660 else
6661 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6662 for as_dir in $PATH
6664 IFS=$as_save_IFS
6665 case $as_dir in #(((
6666 '') as_dir=./ ;;
6667 */) ;;
6668 *) as_dir=$as_dir/ ;;
6669 esac
6670 for ac_exec_ext in '' $ac_executable_extensions; do
6671 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6672 ac_cv_prog_ac_ct_AR="$ac_prog"
6673 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6674 break 2
6676 done
6677 done
6678 IFS=$as_save_IFS
6682 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6683 if test -n "$ac_ct_AR"; then
6684 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6685 printf "%s\n" "$ac_ct_AR" >&6; }
6686 else
6687 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6688 printf "%s\n" "no" >&6; }
6692 test -n "$ac_ct_AR" && break
6693 done
6695 if test "x$ac_ct_AR" = x; then
6696 AR="ar"
6697 else
6698 case $cross_compiling:$ac_tool_warned in
6699 yes:)
6700 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6701 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6702 ac_tool_warned=yes ;;
6703 esac
6704 AR=$ac_ct_AR
6708 if test -n "$ac_tool_prefix"; then
6709 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6710 set dummy ${ac_tool_prefix}strip; ac_word=$2
6711 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6712 printf %s "checking for $ac_word... " >&6; }
6713 if test ${ac_cv_prog_STRIP+y}
6714 then :
6715 printf %s "(cached) " >&6
6716 else $as_nop
6717 if test -n "$STRIP"; then
6718 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6719 else
6720 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6721 for as_dir in $PATH
6723 IFS=$as_save_IFS
6724 case $as_dir in #(((
6725 '') as_dir=./ ;;
6726 */) ;;
6727 *) as_dir=$as_dir/ ;;
6728 esac
6729 for ac_exec_ext in '' $ac_executable_extensions; do
6730 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6731 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6732 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6733 break 2
6735 done
6736 done
6737 IFS=$as_save_IFS
6741 STRIP=$ac_cv_prog_STRIP
6742 if test -n "$STRIP"; then
6743 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6744 printf "%s\n" "$STRIP" >&6; }
6745 else
6746 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6747 printf "%s\n" "no" >&6; }
6752 if test -z "$ac_cv_prog_STRIP"; then
6753 ac_ct_STRIP=$STRIP
6754 # Extract the first word of "strip", so it can be a program name with args.
6755 set dummy strip; ac_word=$2
6756 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6757 printf %s "checking for $ac_word... " >&6; }
6758 if test ${ac_cv_prog_ac_ct_STRIP+y}
6759 then :
6760 printf %s "(cached) " >&6
6761 else $as_nop
6762 if test -n "$ac_ct_STRIP"; then
6763 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6764 else
6765 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6766 for as_dir in $PATH
6768 IFS=$as_save_IFS
6769 case $as_dir in #(((
6770 '') as_dir=./ ;;
6771 */) ;;
6772 *) as_dir=$as_dir/ ;;
6773 esac
6774 for ac_exec_ext in '' $ac_executable_extensions; do
6775 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6776 ac_cv_prog_ac_ct_STRIP="strip"
6777 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6778 break 2
6780 done
6781 done
6782 IFS=$as_save_IFS
6786 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6787 if test -n "$ac_ct_STRIP"; then
6788 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6789 printf "%s\n" "$ac_ct_STRIP" >&6; }
6790 else
6791 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6792 printf "%s\n" "no" >&6; }
6795 if test "x$ac_ct_STRIP" = x; then
6796 STRIP="strip"
6797 else
6798 case $cross_compiling:$ac_tool_warned in
6799 yes:)
6800 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6801 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6802 ac_tool_warned=yes ;;
6803 esac
6804 STRIP=$ac_ct_STRIP
6806 else
6807 STRIP="$ac_cv_prog_STRIP"
6810 if test -n "$ac_tool_prefix"; then
6811 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6812 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6813 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6814 printf %s "checking for $ac_word... " >&6; }
6815 if test ${ac_cv_prog_RANLIB+y}
6816 then :
6817 printf %s "(cached) " >&6
6818 else $as_nop
6819 if test -n "$RANLIB"; then
6820 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6821 else
6822 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6823 for as_dir in $PATH
6825 IFS=$as_save_IFS
6826 case $as_dir in #(((
6827 '') as_dir=./ ;;
6828 */) ;;
6829 *) as_dir=$as_dir/ ;;
6830 esac
6831 for ac_exec_ext in '' $ac_executable_extensions; do
6832 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6833 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6834 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6835 break 2
6837 done
6838 done
6839 IFS=$as_save_IFS
6843 RANLIB=$ac_cv_prog_RANLIB
6844 if test -n "$RANLIB"; then
6845 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6846 printf "%s\n" "$RANLIB" >&6; }
6847 else
6848 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6849 printf "%s\n" "no" >&6; }
6854 if test -z "$ac_cv_prog_RANLIB"; then
6855 ac_ct_RANLIB=$RANLIB
6856 # Extract the first word of "ranlib", so it can be a program name with args.
6857 set dummy ranlib; ac_word=$2
6858 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6859 printf %s "checking for $ac_word... " >&6; }
6860 if test ${ac_cv_prog_ac_ct_RANLIB+y}
6861 then :
6862 printf %s "(cached) " >&6
6863 else $as_nop
6864 if test -n "$ac_ct_RANLIB"; then
6865 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6866 else
6867 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6868 for as_dir in $PATH
6870 IFS=$as_save_IFS
6871 case $as_dir in #(((
6872 '') as_dir=./ ;;
6873 */) ;;
6874 *) as_dir=$as_dir/ ;;
6875 esac
6876 for ac_exec_ext in '' $ac_executable_extensions; do
6877 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6878 ac_cv_prog_ac_ct_RANLIB="ranlib"
6879 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6880 break 2
6882 done
6883 done
6884 IFS=$as_save_IFS
6888 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6889 if test -n "$ac_ct_RANLIB"; then
6890 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6891 printf "%s\n" "$ac_ct_RANLIB" >&6; }
6892 else
6893 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6894 printf "%s\n" "no" >&6; }
6897 if test "x$ac_ct_RANLIB" = x; then
6898 RANLIB=":"
6899 else
6900 case $cross_compiling:$ac_tool_warned in
6901 yes:)
6902 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6903 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6904 ac_tool_warned=yes ;;
6905 esac
6906 RANLIB=$ac_ct_RANLIB
6908 else
6909 RANLIB="$ac_cv_prog_RANLIB"
6912 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6913 printf %s "checking whether ln -s works... " >&6; }
6914 LN_S=$as_ln_s
6915 if test "$LN_S" = "ln -s"; then
6916 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6917 printf "%s\n" "yes" >&6; }
6918 else
6919 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6920 printf "%s\n" "no, using $LN_S" >&6; }
6923 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6924 printf %s "checking for grep that handles long lines and -e... " >&6; }
6925 if test ${ac_cv_path_GREP+y}
6926 then :
6927 printf %s "(cached) " >&6
6928 else $as_nop
6929 if test -z "$GREP"; then
6930 ac_path_GREP_found=false
6931 # Loop through the user's path and test for each of PROGNAME-LIST
6932 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6933 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6935 IFS=$as_save_IFS
6936 case $as_dir in #(((
6937 '') as_dir=./ ;;
6938 */) ;;
6939 *) as_dir=$as_dir/ ;;
6940 esac
6941 for ac_prog in grep ggrep
6943 for ac_exec_ext in '' $ac_executable_extensions; do
6944 ac_path_GREP="$as_dir$ac_prog$ac_exec_ext"
6945 as_fn_executable_p "$ac_path_GREP" || continue
6946 # Check for GNU ac_path_GREP and select it if it is found.
6947 # Check for GNU $ac_path_GREP
6948 case `"$ac_path_GREP" --version 2>&1` in
6949 *GNU*)
6950 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6952 ac_count=0
6953 printf %s 0123456789 >"conftest.in"
6954 while :
6956 cat "conftest.in" "conftest.in" >"conftest.tmp"
6957 mv "conftest.tmp" "conftest.in"
6958 cp "conftest.in" "conftest.nl"
6959 printf "%s\n" 'GREP' >> "conftest.nl"
6960 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6961 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6962 as_fn_arith $ac_count + 1 && ac_count=$as_val
6963 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6964 # Best one so far, save it but keep looking for a better one
6965 ac_cv_path_GREP="$ac_path_GREP"
6966 ac_path_GREP_max=$ac_count
6968 # 10*(2^10) chars as input seems more than enough
6969 test $ac_count -gt 10 && break
6970 done
6971 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6972 esac
6974 $ac_path_GREP_found && break 3
6975 done
6976 done
6977 done
6978 IFS=$as_save_IFS
6979 if test -z "$ac_cv_path_GREP"; then
6980 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6982 else
6983 ac_cv_path_GREP=$GREP
6987 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6988 printf "%s\n" "$ac_cv_path_GREP" >&6; }
6989 GREP="$ac_cv_path_GREP"
6992 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6993 printf %s "checking for egrep... " >&6; }
6994 if test ${ac_cv_path_EGREP+y}
6995 then :
6996 printf %s "(cached) " >&6
6997 else $as_nop
6998 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6999 then ac_cv_path_EGREP="$GREP -E"
7000 else
7001 if test -z "$EGREP"; then
7002 ac_path_EGREP_found=false
7003 # Loop through the user's path and test for each of PROGNAME-LIST
7004 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7005 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
7007 IFS=$as_save_IFS
7008 case $as_dir in #(((
7009 '') as_dir=./ ;;
7010 */) ;;
7011 *) as_dir=$as_dir/ ;;
7012 esac
7013 for ac_prog in egrep
7015 for ac_exec_ext in '' $ac_executable_extensions; do
7016 ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext"
7017 as_fn_executable_p "$ac_path_EGREP" || continue
7018 # Check for GNU ac_path_EGREP and select it if it is found.
7019 # Check for GNU $ac_path_EGREP
7020 case `"$ac_path_EGREP" --version 2>&1` in
7021 *GNU*)
7022 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
7024 ac_count=0
7025 printf %s 0123456789 >"conftest.in"
7026 while :
7028 cat "conftest.in" "conftest.in" >"conftest.tmp"
7029 mv "conftest.tmp" "conftest.in"
7030 cp "conftest.in" "conftest.nl"
7031 printf "%s\n" 'EGREP' >> "conftest.nl"
7032 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
7033 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
7034 as_fn_arith $ac_count + 1 && ac_count=$as_val
7035 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
7036 # Best one so far, save it but keep looking for a better one
7037 ac_cv_path_EGREP="$ac_path_EGREP"
7038 ac_path_EGREP_max=$ac_count
7040 # 10*(2^10) chars as input seems more than enough
7041 test $ac_count -gt 10 && break
7042 done
7043 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7044 esac
7046 $ac_path_EGREP_found && break 3
7047 done
7048 done
7049 done
7050 IFS=$as_save_IFS
7051 if test -z "$ac_cv_path_EGREP"; then
7052 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7054 else
7055 ac_cv_path_EGREP=$EGREP
7060 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
7061 printf "%s\n" "$ac_cv_path_EGREP" >&6; }
7062 EGREP="$ac_cv_path_EGREP"
7065 # Extract the first word of "ldconfig", so it can be a program name with args.
7066 set dummy ldconfig; ac_word=$2
7067 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7068 printf %s "checking for $ac_word... " >&6; }
7069 if test ${ac_cv_path_LDCONFIG+y}
7070 then :
7071 printf %s "(cached) " >&6
7072 else $as_nop
7073 case $LDCONFIG in
7074 [\\/]* | ?:[\\/]*)
7075 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
7078 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7079 for as_dir in /sbin /usr/sbin $PATH
7081 IFS=$as_save_IFS
7082 case $as_dir in #(((
7083 '') as_dir=./ ;;
7084 */) ;;
7085 *) as_dir=$as_dir/ ;;
7086 esac
7087 for ac_exec_ext in '' $ac_executable_extensions; do
7088 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7089 ac_cv_path_LDCONFIG="$as_dir$ac_word$ac_exec_ext"
7090 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7091 break 2
7093 done
7094 done
7095 IFS=$as_save_IFS
7097 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
7099 esac
7101 LDCONFIG=$ac_cv_path_LDCONFIG
7102 if test -n "$LDCONFIG"; then
7103 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
7104 printf "%s\n" "$LDCONFIG" >&6; }
7105 else
7106 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7107 printf "%s\n" "no" >&6; }
7111 for ac_prog in msgfmt
7113 # Extract the first word of "$ac_prog", so it can be a program name with args.
7114 set dummy $ac_prog; ac_word=$2
7115 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7116 printf %s "checking for $ac_word... " >&6; }
7117 if test ${ac_cv_prog_MSGFMT+y}
7118 then :
7119 printf %s "(cached) " >&6
7120 else $as_nop
7121 if test -n "$MSGFMT"; then
7122 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
7123 else
7124 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7125 for as_dir in $PATH
7127 IFS=$as_save_IFS
7128 case $as_dir in #(((
7129 '') as_dir=./ ;;
7130 */) ;;
7131 *) as_dir=$as_dir/ ;;
7132 esac
7133 for ac_exec_ext in '' $ac_executable_extensions; do
7134 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7135 ac_cv_prog_MSGFMT="$ac_prog"
7136 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7137 break 2
7139 done
7140 done
7141 IFS=$as_save_IFS
7145 MSGFMT=$ac_cv_prog_MSGFMT
7146 if test -n "$MSGFMT"; then
7147 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
7148 printf "%s\n" "$MSGFMT" >&6; }
7149 else
7150 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7151 printf "%s\n" "no" >&6; }
7155 test -n "$MSGFMT" && break
7156 done
7157 test -n "$MSGFMT" || MSGFMT="false"
7159 if test ${ac_tool_prefix+y}
7160 then :
7161 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
7162 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
7163 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7164 printf %s "checking for $ac_word... " >&6; }
7165 if test ${ac_cv_prog_PKG_CONFIG+y}
7166 then :
7167 printf %s "(cached) " >&6
7168 else $as_nop
7169 if test -n "$PKG_CONFIG"; then
7170 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
7171 else
7172 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7173 for as_dir in $PATH
7175 IFS=$as_save_IFS
7176 case $as_dir in #(((
7177 '') as_dir=./ ;;
7178 */) ;;
7179 *) as_dir=$as_dir/ ;;
7180 esac
7181 for ac_exec_ext in '' $ac_executable_extensions; do
7182 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7183 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
7184 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7185 break 2
7187 done
7188 done
7189 IFS=$as_save_IFS
7193 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7194 if test -n "$PKG_CONFIG"; then
7195 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7196 printf "%s\n" "$PKG_CONFIG" >&6; }
7197 else
7198 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7199 printf "%s\n" "no" >&6; }
7204 if ${ac_cv_prog_PKG_CONFIG:+false} :
7205 then :
7206 if test "x$cross_compiling" = xyes
7207 then :
7209 else $as_nop
7210 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
7211 # Extract the first word of "pkg-config", so it can be a program name with args.
7212 set dummy pkg-config; ac_word=$2
7213 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7214 printf %s "checking for $ac_word... " >&6; }
7215 if test ${ac_cv_prog_PKG_CONFIG+y}
7216 then :
7217 printf %s "(cached) " >&6
7218 else $as_nop
7219 if test -n "$PKG_CONFIG"; then
7220 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
7221 else
7222 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7223 for as_dir in $PATH
7225 IFS=$as_save_IFS
7226 case $as_dir in #(((
7227 '') as_dir=./ ;;
7228 */) ;;
7229 *) as_dir=$as_dir/ ;;
7230 esac
7231 for ac_exec_ext in '' $ac_executable_extensions; do
7232 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7233 ac_cv_prog_PKG_CONFIG="pkg-config"
7234 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7235 break 2
7237 done
7238 done
7239 IFS=$as_save_IFS
7243 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7244 if test -n "$PKG_CONFIG"; then
7245 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7246 printf "%s\n" "$PKG_CONFIG" >&6; }
7247 else
7248 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7249 printf "%s\n" "no" >&6; }
7254 else $as_nop
7255 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7258 if test "x$enable_maintainer_mode" != "xyes"
7259 then
7260 FONTFORGE=""
7261 RSVG=""
7262 CONVERT=""
7263 ICOTOOL=""
7264 else
7265 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
7266 for ac_prog in fontforge
7268 # Extract the first word of "$ac_prog", so it can be a program name with args.
7269 set dummy $ac_prog; ac_word=$2
7270 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7271 printf %s "checking for $ac_word... " >&6; }
7272 if test ${ac_cv_prog_FONTFORGE+y}
7273 then :
7274 printf %s "(cached) " >&6
7275 else $as_nop
7276 if test -n "$FONTFORGE"; then
7277 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
7278 else
7279 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7280 for as_dir in $PATH
7282 IFS=$as_save_IFS
7283 case $as_dir in #(((
7284 '') as_dir=./ ;;
7285 */) ;;
7286 *) as_dir=$as_dir/ ;;
7287 esac
7288 for ac_exec_ext in '' $ac_executable_extensions; do
7289 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7290 ac_cv_prog_FONTFORGE="$ac_prog"
7291 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7292 break 2
7294 done
7295 done
7296 IFS=$as_save_IFS
7300 FONTFORGE=$ac_cv_prog_FONTFORGE
7301 if test -n "$FONTFORGE"; then
7302 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
7303 printf "%s\n" "$FONTFORGE" >&6; }
7304 else
7305 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7306 printf "%s\n" "no" >&6; }
7310 test -n "$FONTFORGE" && break
7311 done
7312 test -n "$FONTFORGE" || FONTFORGE="false"
7314 for ac_prog in rsvg-convert rsvg
7316 # Extract the first word of "$ac_prog", so it can be a program name with args.
7317 set dummy $ac_prog; ac_word=$2
7318 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7319 printf %s "checking for $ac_word... " >&6; }
7320 if test ${ac_cv_prog_RSVG+y}
7321 then :
7322 printf %s "(cached) " >&6
7323 else $as_nop
7324 if test -n "$RSVG"; then
7325 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
7326 else
7327 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7328 for as_dir in $PATH
7330 IFS=$as_save_IFS
7331 case $as_dir in #(((
7332 '') as_dir=./ ;;
7333 */) ;;
7334 *) as_dir=$as_dir/ ;;
7335 esac
7336 for ac_exec_ext in '' $ac_executable_extensions; do
7337 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7338 ac_cv_prog_RSVG="$ac_prog"
7339 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7340 break 2
7342 done
7343 done
7344 IFS=$as_save_IFS
7348 RSVG=$ac_cv_prog_RSVG
7349 if test -n "$RSVG"; then
7350 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
7351 printf "%s\n" "$RSVG" >&6; }
7352 else
7353 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7354 printf "%s\n" "no" >&6; }
7358 test -n "$RSVG" && break
7359 done
7360 test -n "$RSVG" || RSVG="false"
7362 for ac_prog in convert
7364 # Extract the first word of "$ac_prog", so it can be a program name with args.
7365 set dummy $ac_prog; ac_word=$2
7366 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7367 printf %s "checking for $ac_word... " >&6; }
7368 if test ${ac_cv_prog_CONVERT+y}
7369 then :
7370 printf %s "(cached) " >&6
7371 else $as_nop
7372 if test -n "$CONVERT"; then
7373 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
7374 else
7375 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7376 for as_dir in $PATH
7378 IFS=$as_save_IFS
7379 case $as_dir in #(((
7380 '') as_dir=./ ;;
7381 */) ;;
7382 *) as_dir=$as_dir/ ;;
7383 esac
7384 for ac_exec_ext in '' $ac_executable_extensions; do
7385 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7386 ac_cv_prog_CONVERT="$ac_prog"
7387 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7388 break 2
7390 done
7391 done
7392 IFS=$as_save_IFS
7396 CONVERT=$ac_cv_prog_CONVERT
7397 if test -n "$CONVERT"; then
7398 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
7399 printf "%s\n" "$CONVERT" >&6; }
7400 else
7401 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7402 printf "%s\n" "no" >&6; }
7406 test -n "$CONVERT" && break
7407 done
7408 test -n "$CONVERT" || CONVERT="false"
7410 for ac_prog in icotool
7412 # Extract the first word of "$ac_prog", so it can be a program name with args.
7413 set dummy $ac_prog; ac_word=$2
7414 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7415 printf %s "checking for $ac_word... " >&6; }
7416 if test ${ac_cv_prog_ICOTOOL+y}
7417 then :
7418 printf %s "(cached) " >&6
7419 else $as_nop
7420 if test -n "$ICOTOOL"; then
7421 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
7422 else
7423 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7424 for as_dir in $PATH
7426 IFS=$as_save_IFS
7427 case $as_dir in #(((
7428 '') as_dir=./ ;;
7429 */) ;;
7430 *) as_dir=$as_dir/ ;;
7431 esac
7432 for ac_exec_ext in '' $ac_executable_extensions; do
7433 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7434 ac_cv_prog_ICOTOOL="$ac_prog"
7435 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7436 break 2
7438 done
7439 done
7440 IFS=$as_save_IFS
7444 ICOTOOL=$ac_cv_prog_ICOTOOL
7445 if test -n "$ICOTOOL"; then
7446 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
7447 printf "%s\n" "$ICOTOOL" >&6; }
7448 else
7449 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7450 printf "%s\n" "no" >&6; }
7454 test -n "$ICOTOOL" && break
7455 done
7456 test -n "$ICOTOOL" || ICOTOOL="false"
7458 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
7459 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
7461 if test "$CONVERT" = false
7462 then
7463 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
7464 else
7465 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
7466 printf %s "checking for recent enough imagemagick... " >&6; }
7467 convert_version=`convert --version | head -n1`
7468 if test "x$convert_version" != "x"
7469 then
7470 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
7471 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
7472 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
7473 then
7474 CONVERT=false
7477 if test "$CONVERT" = false
7478 then
7479 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
7480 printf "%s\n" "no ($convert_version_major.$convert_version_minor)" >&6; }
7481 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7482 else
7483 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
7484 printf "%s\n" "yes ($convert_version_major.$convert_version_minor)" >&6; }
7488 if test "$ICOTOOL" = false
7489 then
7490 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
7491 else
7492 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
7493 printf %s "checking for recent enough icotool... " >&6; }
7494 icotool_version=`icotool --version | head -n1`
7495 if test "x$icotool_version" != "x"
7496 then
7497 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
7498 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
7499 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
7500 then
7501 ICOTOOL=false
7502 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
7505 if test "$ICOTOOL" = false
7506 then
7507 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
7508 printf "%s\n" "no ($icotool_version_major.$icotool_version_minor)" >&6; }
7509 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7510 else
7511 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
7512 printf "%s\n" "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
7516 with_gettext=yes
7517 with_gettextpo=yes
7519 enable_werror=yes
7522 test "x$with_gettext" != xno || MSGFMT=false
7523 if test "$MSGFMT" != "false"
7524 then
7525 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
7526 printf %s "checking whether msgfmt supports contexts... " >&6; }
7527 if test ${wine_cv_msgfmt_contexts+y}
7528 then :
7529 printf %s "(cached) " >&6
7530 else $as_nop
7531 cat >conftest.po <<EOF
7532 # comment
7533 msgctxt "ctxt"
7534 msgid "id"
7535 msgstr "str"
7537 if $MSGFMT -o /dev/null conftest.po 2>&5
7538 then
7539 wine_cv_msgfmt_contexts=yes
7540 else
7541 wine_cv_msgfmt_contexts=no
7544 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_msgfmt_contexts" >&5
7545 printf "%s\n" "$wine_cv_msgfmt_contexts" >&6; }
7546 test $wine_cv_msgfmt_contexts != no || MSGFMT=false
7548 if test "$MSGFMT" = false
7549 then :
7550 case "x$with_gettext" in
7551 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
7552 xno) ;;
7553 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
7554 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
7555 esac
7556 enable_po=${enable_po:-no}
7560 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
7561 printf %s "checking for i386_set_ldt in -li386... " >&6; }
7562 if test ${ac_cv_lib_i386_i386_set_ldt+y}
7563 then :
7564 printf %s "(cached) " >&6
7565 else $as_nop
7566 ac_check_lib_save_LIBS=$LIBS
7567 LIBS="-li386 $LIBS"
7568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7569 /* end confdefs.h. */
7571 /* Override any GCC internal prototype to avoid an error.
7572 Use char because int might match the return type of a GCC
7573 builtin and then its argument prototype would still apply. */
7574 char i386_set_ldt ();
7576 main (void)
7578 return i386_set_ldt ();
7580 return 0;
7582 _ACEOF
7583 if ac_fn_c_try_link "$LINENO"
7584 then :
7585 ac_cv_lib_i386_i386_set_ldt=yes
7586 else $as_nop
7587 ac_cv_lib_i386_i386_set_ldt=no
7589 rm -f core conftest.err conftest.$ac_objext conftest.beam \
7590 conftest$ac_exeext conftest.$ac_ext
7591 LIBS=$ac_check_lib_save_LIBS
7593 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
7594 printf "%s\n" "$ac_cv_lib_i386_i386_set_ldt" >&6; }
7595 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes
7596 then :
7597 I386_LIBS="-li386"
7602 OPENGL_LIBS=""
7606 # Check whether --enable-largefile was given.
7607 if test ${enable_largefile+y}
7608 then :
7609 enableval=$enable_largefile;
7612 if test "$enable_largefile" != no; then
7614 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
7615 printf %s "checking for special C compiler options needed for large files... " >&6; }
7616 if test ${ac_cv_sys_largefile_CC+y}
7617 then :
7618 printf %s "(cached) " >&6
7619 else $as_nop
7620 ac_cv_sys_largefile_CC=no
7621 if test "$GCC" != yes; then
7622 ac_save_CC=$CC
7623 while :; do
7624 # IRIX 6.2 and later do not support large files by default,
7625 # so use the C compiler's -n32 option if that helps.
7626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7627 /* end confdefs.h. */
7628 #include <sys/types.h>
7629 /* Check that off_t can represent 2**63 - 1 correctly.
7630 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7631 since some C++ compilers masquerading as C compilers
7632 incorrectly reject 9223372036854775807. */
7633 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7634 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7635 && LARGE_OFF_T % 2147483647 == 1)
7636 ? 1 : -1];
7638 main (void)
7642 return 0;
7644 _ACEOF
7645 if ac_fn_c_try_compile "$LINENO"
7646 then :
7647 break
7649 rm -f core conftest.err conftest.$ac_objext conftest.beam
7650 CC="$CC -n32"
7651 if ac_fn_c_try_compile "$LINENO"
7652 then :
7653 ac_cv_sys_largefile_CC=' -n32'; break
7655 rm -f core conftest.err conftest.$ac_objext conftest.beam
7656 break
7657 done
7658 CC=$ac_save_CC
7659 rm -f conftest.$ac_ext
7662 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
7663 printf "%s\n" "$ac_cv_sys_largefile_CC" >&6; }
7664 if test "$ac_cv_sys_largefile_CC" != no; then
7665 CC=$CC$ac_cv_sys_largefile_CC
7668 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
7669 printf %s "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
7670 if test ${ac_cv_sys_file_offset_bits+y}
7671 then :
7672 printf %s "(cached) " >&6
7673 else $as_nop
7674 while :; do
7675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7676 /* end confdefs.h. */
7677 #include <sys/types.h>
7678 /* Check that off_t can represent 2**63 - 1 correctly.
7679 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7680 since some C++ compilers masquerading as C compilers
7681 incorrectly reject 9223372036854775807. */
7682 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7683 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7684 && LARGE_OFF_T % 2147483647 == 1)
7685 ? 1 : -1];
7687 main (void)
7691 return 0;
7693 _ACEOF
7694 if ac_fn_c_try_compile "$LINENO"
7695 then :
7696 ac_cv_sys_file_offset_bits=no; break
7698 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7700 /* end confdefs.h. */
7701 #define _FILE_OFFSET_BITS 64
7702 #include <sys/types.h>
7703 /* Check that off_t can represent 2**63 - 1 correctly.
7704 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7705 since some C++ compilers masquerading as C compilers
7706 incorrectly reject 9223372036854775807. */
7707 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7708 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7709 && LARGE_OFF_T % 2147483647 == 1)
7710 ? 1 : -1];
7712 main (void)
7716 return 0;
7718 _ACEOF
7719 if ac_fn_c_try_compile "$LINENO"
7720 then :
7721 ac_cv_sys_file_offset_bits=64; break
7723 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7724 ac_cv_sys_file_offset_bits=unknown
7725 break
7726 done
7728 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
7729 printf "%s\n" "$ac_cv_sys_file_offset_bits" >&6; }
7730 case $ac_cv_sys_file_offset_bits in #(
7731 no | unknown) ;;
7733 printf "%s\n" "#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits" >>confdefs.h
7735 esac
7736 rm -rf conftest*
7737 if test $ac_cv_sys_file_offset_bits = unknown; then
7738 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
7739 printf %s "checking for _LARGE_FILES value needed for large files... " >&6; }
7740 if test ${ac_cv_sys_large_files+y}
7741 then :
7742 printf %s "(cached) " >&6
7743 else $as_nop
7744 while :; do
7745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7746 /* end confdefs.h. */
7747 #include <sys/types.h>
7748 /* Check that off_t can represent 2**63 - 1 correctly.
7749 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7750 since some C++ compilers masquerading as C compilers
7751 incorrectly reject 9223372036854775807. */
7752 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7753 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7754 && LARGE_OFF_T % 2147483647 == 1)
7755 ? 1 : -1];
7757 main (void)
7761 return 0;
7763 _ACEOF
7764 if ac_fn_c_try_compile "$LINENO"
7765 then :
7766 ac_cv_sys_large_files=no; break
7768 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7770 /* end confdefs.h. */
7771 #define _LARGE_FILES 1
7772 #include <sys/types.h>
7773 /* Check that off_t can represent 2**63 - 1 correctly.
7774 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7775 since some C++ compilers masquerading as C compilers
7776 incorrectly reject 9223372036854775807. */
7777 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7778 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7779 && LARGE_OFF_T % 2147483647 == 1)
7780 ? 1 : -1];
7782 main (void)
7786 return 0;
7788 _ACEOF
7789 if ac_fn_c_try_compile "$LINENO"
7790 then :
7791 ac_cv_sys_large_files=1; break
7793 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7794 ac_cv_sys_large_files=unknown
7795 break
7796 done
7798 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
7799 printf "%s\n" "$ac_cv_sys_large_files" >&6; }
7800 case $ac_cv_sys_large_files in #(
7801 no | unknown) ;;
7803 printf "%s\n" "#define _LARGE_FILES $ac_cv_sys_large_files" >>confdefs.h
7805 esac
7806 rm -rf conftest*
7811 ac_header= ac_cache=
7812 for ac_item in $ac_header_c_list
7814 if test $ac_cache; then
7815 ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
7816 if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
7817 printf "%s\n" "#define $ac_item 1" >> confdefs.h
7819 ac_header= ac_cache=
7820 elif test $ac_header; then
7821 ac_cache=$ac_item
7822 else
7823 ac_header=$ac_item
7825 done
7834 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
7835 then :
7837 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
7840 ac_fn_c_check_header_compile "$LINENO" "CL/cl.h" "ac_cv_header_CL_cl_h" "$ac_includes_default"
7841 if test "x$ac_cv_header_CL_cl_h" = xyes
7842 then :
7843 printf "%s\n" "#define HAVE_CL_CL_H 1" >>confdefs.h
7846 ac_fn_c_check_header_compile "$LINENO" "EGL/egl.h" "ac_cv_header_EGL_egl_h" "$ac_includes_default"
7847 if test "x$ac_cv_header_EGL_egl_h" = xyes
7848 then :
7849 printf "%s\n" "#define HAVE_EGL_EGL_H 1" >>confdefs.h
7852 ac_fn_c_check_header_compile "$LINENO" "OpenCL/opencl.h" "ac_cv_header_OpenCL_opencl_h" "$ac_includes_default"
7853 if test "x$ac_cv_header_OpenCL_opencl_h" = xyes
7854 then :
7855 printf "%s\n" "#define HAVE_OPENCL_OPENCL_H 1" >>confdefs.h
7858 ac_fn_c_check_header_compile "$LINENO" "arpa/inet.h" "ac_cv_header_arpa_inet_h" "$ac_includes_default"
7859 if test "x$ac_cv_header_arpa_inet_h" = xyes
7860 then :
7861 printf "%s\n" "#define HAVE_ARPA_INET_H 1" >>confdefs.h
7864 ac_fn_c_check_header_compile "$LINENO" "arpa/nameser.h" "ac_cv_header_arpa_nameser_h" "$ac_includes_default"
7865 if test "x$ac_cv_header_arpa_nameser_h" = xyes
7866 then :
7867 printf "%s\n" "#define HAVE_ARPA_NAMESER_H 1" >>confdefs.h
7870 ac_fn_c_check_header_compile "$LINENO" "asm/types.h" "ac_cv_header_asm_types_h" "$ac_includes_default"
7871 if test "x$ac_cv_header_asm_types_h" = xyes
7872 then :
7873 printf "%s\n" "#define HAVE_ASM_TYPES_H 1" >>confdefs.h
7876 ac_fn_c_check_header_compile "$LINENO" "asm/user.h" "ac_cv_header_asm_user_h" "$ac_includes_default"
7877 if test "x$ac_cv_header_asm_user_h" = xyes
7878 then :
7879 printf "%s\n" "#define HAVE_ASM_USER_H 1" >>confdefs.h
7882 ac_fn_c_check_header_compile "$LINENO" "elf.h" "ac_cv_header_elf_h" "$ac_includes_default"
7883 if test "x$ac_cv_header_elf_h" = xyes
7884 then :
7885 printf "%s\n" "#define HAVE_ELF_H 1" >>confdefs.h
7888 ac_fn_c_check_header_compile "$LINENO" "float.h" "ac_cv_header_float_h" "$ac_includes_default"
7889 if test "x$ac_cv_header_float_h" = xyes
7890 then :
7891 printf "%s\n" "#define HAVE_FLOAT_H 1" >>confdefs.h
7894 ac_fn_c_check_header_compile "$LINENO" "gettext-po.h" "ac_cv_header_gettext_po_h" "$ac_includes_default"
7895 if test "x$ac_cv_header_gettext_po_h" = xyes
7896 then :
7897 printf "%s\n" "#define HAVE_GETTEXT_PO_H 1" >>confdefs.h
7900 ac_fn_c_check_header_compile "$LINENO" "libproc.h" "ac_cv_header_libproc_h" "$ac_includes_default"
7901 if test "x$ac_cv_header_libproc_h" = xyes
7902 then :
7903 printf "%s\n" "#define HAVE_LIBPROC_H 1" >>confdefs.h
7906 ac_fn_c_check_header_compile "$LINENO" "link.h" "ac_cv_header_link_h" "$ac_includes_default"
7907 if test "x$ac_cv_header_link_h" = xyes
7908 then :
7909 printf "%s\n" "#define HAVE_LINK_H 1" >>confdefs.h
7912 ac_fn_c_check_header_compile "$LINENO" "linux/cdrom.h" "ac_cv_header_linux_cdrom_h" "$ac_includes_default"
7913 if test "x$ac_cv_header_linux_cdrom_h" = xyes
7914 then :
7915 printf "%s\n" "#define HAVE_LINUX_CDROM_H 1" >>confdefs.h
7918 ac_fn_c_check_header_compile "$LINENO" "linux/filter.h" "ac_cv_header_linux_filter_h" "$ac_includes_default"
7919 if test "x$ac_cv_header_linux_filter_h" = xyes
7920 then :
7921 printf "%s\n" "#define HAVE_LINUX_FILTER_H 1" >>confdefs.h
7924 ac_fn_c_check_header_compile "$LINENO" "linux/hdreg.h" "ac_cv_header_linux_hdreg_h" "$ac_includes_default"
7925 if test "x$ac_cv_header_linux_hdreg_h" = xyes
7926 then :
7927 printf "%s\n" "#define HAVE_LINUX_HDREG_H 1" >>confdefs.h
7930 ac_fn_c_check_header_compile "$LINENO" "linux/hidraw.h" "ac_cv_header_linux_hidraw_h" "$ac_includes_default"
7931 if test "x$ac_cv_header_linux_hidraw_h" = xyes
7932 then :
7933 printf "%s\n" "#define HAVE_LINUX_HIDRAW_H 1" >>confdefs.h
7936 ac_fn_c_check_header_compile "$LINENO" "linux/input.h" "ac_cv_header_linux_input_h" "$ac_includes_default"
7937 if test "x$ac_cv_header_linux_input_h" = xyes
7938 then :
7939 printf "%s\n" "#define HAVE_LINUX_INPUT_H 1" >>confdefs.h
7942 ac_fn_c_check_header_compile "$LINENO" "linux/ioctl.h" "ac_cv_header_linux_ioctl_h" "$ac_includes_default"
7943 if test "x$ac_cv_header_linux_ioctl_h" = xyes
7944 then :
7945 printf "%s\n" "#define HAVE_LINUX_IOCTL_H 1" >>confdefs.h
7948 ac_fn_c_check_header_compile "$LINENO" "linux/major.h" "ac_cv_header_linux_major_h" "$ac_includes_default"
7949 if test "x$ac_cv_header_linux_major_h" = xyes
7950 then :
7951 printf "%s\n" "#define HAVE_LINUX_MAJOR_H 1" >>confdefs.h
7954 ac_fn_c_check_header_compile "$LINENO" "linux/param.h" "ac_cv_header_linux_param_h" "$ac_includes_default"
7955 if test "x$ac_cv_header_linux_param_h" = xyes
7956 then :
7957 printf "%s\n" "#define HAVE_LINUX_PARAM_H 1" >>confdefs.h
7960 ac_fn_c_check_header_compile "$LINENO" "linux/serial.h" "ac_cv_header_linux_serial_h" "$ac_includes_default"
7961 if test "x$ac_cv_header_linux_serial_h" = xyes
7962 then :
7963 printf "%s\n" "#define HAVE_LINUX_SERIAL_H 1" >>confdefs.h
7966 ac_fn_c_check_header_compile "$LINENO" "linux/types.h" "ac_cv_header_linux_types_h" "$ac_includes_default"
7967 if test "x$ac_cv_header_linux_types_h" = xyes
7968 then :
7969 printf "%s\n" "#define HAVE_LINUX_TYPES_H 1" >>confdefs.h
7972 ac_fn_c_check_header_compile "$LINENO" "linux/ucdrom.h" "ac_cv_header_linux_ucdrom_h" "$ac_includes_default"
7973 if test "x$ac_cv_header_linux_ucdrom_h" = xyes
7974 then :
7975 printf "%s\n" "#define HAVE_LINUX_UCDROM_H 1" >>confdefs.h
7978 ac_fn_c_check_header_compile "$LINENO" "lwp.h" "ac_cv_header_lwp_h" "$ac_includes_default"
7979 if test "x$ac_cv_header_lwp_h" = xyes
7980 then :
7981 printf "%s\n" "#define HAVE_LWP_H 1" >>confdefs.h
7984 ac_fn_c_check_header_compile "$LINENO" "mach-o/loader.h" "ac_cv_header_mach_o_loader_h" "$ac_includes_default"
7985 if test "x$ac_cv_header_mach_o_loader_h" = xyes
7986 then :
7987 printf "%s\n" "#define HAVE_MACH_O_LOADER_H 1" >>confdefs.h
7990 ac_fn_c_check_header_compile "$LINENO" "mach/mach.h" "ac_cv_header_mach_mach_h" "$ac_includes_default"
7991 if test "x$ac_cv_header_mach_mach_h" = xyes
7992 then :
7993 printf "%s\n" "#define HAVE_MACH_MACH_H 1" >>confdefs.h
7996 ac_fn_c_check_header_compile "$LINENO" "machine/cpu.h" "ac_cv_header_machine_cpu_h" "$ac_includes_default"
7997 if test "x$ac_cv_header_machine_cpu_h" = xyes
7998 then :
7999 printf "%s\n" "#define HAVE_MACHINE_CPU_H 1" >>confdefs.h
8002 ac_fn_c_check_header_compile "$LINENO" "machine/sysarch.h" "ac_cv_header_machine_sysarch_h" "$ac_includes_default"
8003 if test "x$ac_cv_header_machine_sysarch_h" = xyes
8004 then :
8005 printf "%s\n" "#define HAVE_MACHINE_SYSARCH_H 1" >>confdefs.h
8008 ac_fn_c_check_header_compile "$LINENO" "mntent.h" "ac_cv_header_mntent_h" "$ac_includes_default"
8009 if test "x$ac_cv_header_mntent_h" = xyes
8010 then :
8011 printf "%s\n" "#define HAVE_MNTENT_H 1" >>confdefs.h
8014 ac_fn_c_check_header_compile "$LINENO" "netdb.h" "ac_cv_header_netdb_h" "$ac_includes_default"
8015 if test "x$ac_cv_header_netdb_h" = xyes
8016 then :
8017 printf "%s\n" "#define HAVE_NETDB_H 1" >>confdefs.h
8020 ac_fn_c_check_header_compile "$LINENO" "netinet/in.h" "ac_cv_header_netinet_in_h" "$ac_includes_default"
8021 if test "x$ac_cv_header_netinet_in_h" = xyes
8022 then :
8023 printf "%s\n" "#define HAVE_NETINET_IN_H 1" >>confdefs.h
8026 ac_fn_c_check_header_compile "$LINENO" "netinet/in_systm.h" "ac_cv_header_netinet_in_systm_h" "$ac_includes_default"
8027 if test "x$ac_cv_header_netinet_in_systm_h" = xyes
8028 then :
8029 printf "%s\n" "#define HAVE_NETINET_IN_SYSTM_H 1" >>confdefs.h
8032 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp.h" "ac_cv_header_netinet_tcp_h" "$ac_includes_default"
8033 if test "x$ac_cv_header_netinet_tcp_h" = xyes
8034 then :
8035 printf "%s\n" "#define HAVE_NETINET_TCP_H 1" >>confdefs.h
8038 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp_fsm.h" "ac_cv_header_netinet_tcp_fsm_h" "$ac_includes_default"
8039 if test "x$ac_cv_header_netinet_tcp_fsm_h" = xyes
8040 then :
8041 printf "%s\n" "#define HAVE_NETINET_TCP_FSM_H 1" >>confdefs.h
8044 ac_fn_c_check_header_compile "$LINENO" "pcap/pcap.h" "ac_cv_header_pcap_pcap_h" "$ac_includes_default"
8045 if test "x$ac_cv_header_pcap_pcap_h" = xyes
8046 then :
8047 printf "%s\n" "#define HAVE_PCAP_PCAP_H 1" >>confdefs.h
8050 ac_fn_c_check_header_compile "$LINENO" "port.h" "ac_cv_header_port_h" "$ac_includes_default"
8051 if test "x$ac_cv_header_port_h" = xyes
8052 then :
8053 printf "%s\n" "#define HAVE_PORT_H 1" >>confdefs.h
8056 ac_fn_c_check_header_compile "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"
8057 if test "x$ac_cv_header_pthread_h" = xyes
8058 then :
8059 printf "%s\n" "#define HAVE_PTHREAD_H 1" >>confdefs.h
8062 ac_fn_c_check_header_compile "$LINENO" "pwd.h" "ac_cv_header_pwd_h" "$ac_includes_default"
8063 if test "x$ac_cv_header_pwd_h" = xyes
8064 then :
8065 printf "%s\n" "#define HAVE_PWD_H 1" >>confdefs.h
8068 ac_fn_c_check_header_compile "$LINENO" "sched.h" "ac_cv_header_sched_h" "$ac_includes_default"
8069 if test "x$ac_cv_header_sched_h" = xyes
8070 then :
8071 printf "%s\n" "#define HAVE_SCHED_H 1" >>confdefs.h
8074 ac_fn_c_check_header_compile "$LINENO" "scsi/scsi.h" "ac_cv_header_scsi_scsi_h" "$ac_includes_default"
8075 if test "x$ac_cv_header_scsi_scsi_h" = xyes
8076 then :
8077 printf "%s\n" "#define HAVE_SCSI_SCSI_H 1" >>confdefs.h
8080 ac_fn_c_check_header_compile "$LINENO" "scsi/scsi_ioctl.h" "ac_cv_header_scsi_scsi_ioctl_h" "$ac_includes_default"
8081 if test "x$ac_cv_header_scsi_scsi_ioctl_h" = xyes
8082 then :
8083 printf "%s\n" "#define HAVE_SCSI_SCSI_IOCTL_H 1" >>confdefs.h
8086 ac_fn_c_check_header_compile "$LINENO" "scsi/sg.h" "ac_cv_header_scsi_sg_h" "$ac_includes_default"
8087 if test "x$ac_cv_header_scsi_sg_h" = xyes
8088 then :
8089 printf "%s\n" "#define HAVE_SCSI_SG_H 1" >>confdefs.h
8092 ac_fn_c_check_header_compile "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
8093 if test "x$ac_cv_header_stdint_h" = xyes
8094 then :
8095 printf "%s\n" "#define HAVE_STDINT_H 1" >>confdefs.h
8098 ac_fn_c_check_header_compile "$LINENO" "sys/attr.h" "ac_cv_header_sys_attr_h" "$ac_includes_default"
8099 if test "x$ac_cv_header_sys_attr_h" = xyes
8100 then :
8101 printf "%s\n" "#define HAVE_SYS_ATTR_H 1" >>confdefs.h
8104 ac_fn_c_check_header_compile "$LINENO" "sys/auxv.h" "ac_cv_header_sys_auxv_h" "$ac_includes_default"
8105 if test "x$ac_cv_header_sys_auxv_h" = xyes
8106 then :
8107 printf "%s\n" "#define HAVE_SYS_AUXV_H 1" >>confdefs.h
8110 ac_fn_c_check_header_compile "$LINENO" "sys/cdio.h" "ac_cv_header_sys_cdio_h" "$ac_includes_default"
8111 if test "x$ac_cv_header_sys_cdio_h" = xyes
8112 then :
8113 printf "%s\n" "#define HAVE_SYS_CDIO_H 1" >>confdefs.h
8116 ac_fn_c_check_header_compile "$LINENO" "sys/epoll.h" "ac_cv_header_sys_epoll_h" "$ac_includes_default"
8117 if test "x$ac_cv_header_sys_epoll_h" = xyes
8118 then :
8119 printf "%s\n" "#define HAVE_SYS_EPOLL_H 1" >>confdefs.h
8122 ac_fn_c_check_header_compile "$LINENO" "sys/event.h" "ac_cv_header_sys_event_h" "$ac_includes_default"
8123 if test "x$ac_cv_header_sys_event_h" = xyes
8124 then :
8125 printf "%s\n" "#define HAVE_SYS_EVENT_H 1" >>confdefs.h
8128 ac_fn_c_check_header_compile "$LINENO" "sys/extattr.h" "ac_cv_header_sys_extattr_h" "$ac_includes_default"
8129 if test "x$ac_cv_header_sys_extattr_h" = xyes
8130 then :
8131 printf "%s\n" "#define HAVE_SYS_EXTATTR_H 1" >>confdefs.h
8134 ac_fn_c_check_header_compile "$LINENO" "sys/filio.h" "ac_cv_header_sys_filio_h" "$ac_includes_default"
8135 if test "x$ac_cv_header_sys_filio_h" = xyes
8136 then :
8137 printf "%s\n" "#define HAVE_SYS_FILIO_H 1" >>confdefs.h
8140 ac_fn_c_check_header_compile "$LINENO" "sys/ipc.h" "ac_cv_header_sys_ipc_h" "$ac_includes_default"
8141 if test "x$ac_cv_header_sys_ipc_h" = xyes
8142 then :
8143 printf "%s\n" "#define HAVE_SYS_IPC_H 1" >>confdefs.h
8146 ac_fn_c_check_header_compile "$LINENO" "sys/link.h" "ac_cv_header_sys_link_h" "$ac_includes_default"
8147 if test "x$ac_cv_header_sys_link_h" = xyes
8148 then :
8149 printf "%s\n" "#define HAVE_SYS_LINK_H 1" >>confdefs.h
8152 ac_fn_c_check_header_compile "$LINENO" "sys/modem.h" "ac_cv_header_sys_modem_h" "$ac_includes_default"
8153 if test "x$ac_cv_header_sys_modem_h" = xyes
8154 then :
8155 printf "%s\n" "#define HAVE_SYS_MODEM_H 1" >>confdefs.h
8158 ac_fn_c_check_header_compile "$LINENO" "sys/mtio.h" "ac_cv_header_sys_mtio_h" "$ac_includes_default"
8159 if test "x$ac_cv_header_sys_mtio_h" = xyes
8160 then :
8161 printf "%s\n" "#define HAVE_SYS_MTIO_H 1" >>confdefs.h
8164 ac_fn_c_check_header_compile "$LINENO" "sys/param.h" "ac_cv_header_sys_param_h" "$ac_includes_default"
8165 if test "x$ac_cv_header_sys_param_h" = xyes
8166 then :
8167 printf "%s\n" "#define HAVE_SYS_PARAM_H 1" >>confdefs.h
8170 ac_fn_c_check_header_compile "$LINENO" "sys/prctl.h" "ac_cv_header_sys_prctl_h" "$ac_includes_default"
8171 if test "x$ac_cv_header_sys_prctl_h" = xyes
8172 then :
8173 printf "%s\n" "#define HAVE_SYS_PRCTL_H 1" >>confdefs.h
8176 ac_fn_c_check_header_compile "$LINENO" "sys/ptrace.h" "ac_cv_header_sys_ptrace_h" "$ac_includes_default"
8177 if test "x$ac_cv_header_sys_ptrace_h" = xyes
8178 then :
8179 printf "%s\n" "#define HAVE_SYS_PTRACE_H 1" >>confdefs.h
8182 ac_fn_c_check_header_compile "$LINENO" "sys/queue.h" "ac_cv_header_sys_queue_h" "$ac_includes_default"
8183 if test "x$ac_cv_header_sys_queue_h" = xyes
8184 then :
8185 printf "%s\n" "#define HAVE_SYS_QUEUE_H 1" >>confdefs.h
8188 ac_fn_c_check_header_compile "$LINENO" "sys/random.h" "ac_cv_header_sys_random_h" "$ac_includes_default"
8189 if test "x$ac_cv_header_sys_random_h" = xyes
8190 then :
8191 printf "%s\n" "#define HAVE_SYS_RANDOM_H 1" >>confdefs.h
8194 ac_fn_c_check_header_compile "$LINENO" "sys/resource.h" "ac_cv_header_sys_resource_h" "$ac_includes_default"
8195 if test "x$ac_cv_header_sys_resource_h" = xyes
8196 then :
8197 printf "%s\n" "#define HAVE_SYS_RESOURCE_H 1" >>confdefs.h
8200 ac_fn_c_check_header_compile "$LINENO" "sys/scsiio.h" "ac_cv_header_sys_scsiio_h" "$ac_includes_default"
8201 if test "x$ac_cv_header_sys_scsiio_h" = xyes
8202 then :
8203 printf "%s\n" "#define HAVE_SYS_SCSIIO_H 1" >>confdefs.h
8206 ac_fn_c_check_header_compile "$LINENO" "sys/shm.h" "ac_cv_header_sys_shm_h" "$ac_includes_default"
8207 if test "x$ac_cv_header_sys_shm_h" = xyes
8208 then :
8209 printf "%s\n" "#define HAVE_SYS_SHM_H 1" >>confdefs.h
8212 ac_fn_c_check_header_compile "$LINENO" "sys/signal.h" "ac_cv_header_sys_signal_h" "$ac_includes_default"
8213 if test "x$ac_cv_header_sys_signal_h" = xyes
8214 then :
8215 printf "%s\n" "#define HAVE_SYS_SIGNAL_H 1" >>confdefs.h
8218 ac_fn_c_check_header_compile "$LINENO" "sys/socketvar.h" "ac_cv_header_sys_socketvar_h" "$ac_includes_default"
8219 if test "x$ac_cv_header_sys_socketvar_h" = xyes
8220 then :
8221 printf "%s\n" "#define HAVE_SYS_SOCKETVAR_H 1" >>confdefs.h
8224 ac_fn_c_check_header_compile "$LINENO" "sys/sockio.h" "ac_cv_header_sys_sockio_h" "$ac_includes_default"
8225 if test "x$ac_cv_header_sys_sockio_h" = xyes
8226 then :
8227 printf "%s\n" "#define HAVE_SYS_SOCKIO_H 1" >>confdefs.h
8230 ac_fn_c_check_header_compile "$LINENO" "sys/statvfs.h" "ac_cv_header_sys_statvfs_h" "$ac_includes_default"
8231 if test "x$ac_cv_header_sys_statvfs_h" = xyes
8232 then :
8233 printf "%s\n" "#define HAVE_SYS_STATVFS_H 1" >>confdefs.h
8236 ac_fn_c_check_header_compile "$LINENO" "sys/strtio.h" "ac_cv_header_sys_strtio_h" "$ac_includes_default"
8237 if test "x$ac_cv_header_sys_strtio_h" = xyes
8238 then :
8239 printf "%s\n" "#define HAVE_SYS_STRTIO_H 1" >>confdefs.h
8242 ac_fn_c_check_header_compile "$LINENO" "sys/syscall.h" "ac_cv_header_sys_syscall_h" "$ac_includes_default"
8243 if test "x$ac_cv_header_sys_syscall_h" = xyes
8244 then :
8245 printf "%s\n" "#define HAVE_SYS_SYSCALL_H 1" >>confdefs.h
8248 ac_fn_c_check_header_compile "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
8249 if test "x$ac_cv_header_sys_sysinfo_h" = xyes
8250 then :
8251 printf "%s\n" "#define HAVE_SYS_SYSINFO_H 1" >>confdefs.h
8254 ac_fn_c_check_header_compile "$LINENO" "sys/times.h" "ac_cv_header_sys_times_h" "$ac_includes_default"
8255 if test "x$ac_cv_header_sys_times_h" = xyes
8256 then :
8257 printf "%s\n" "#define HAVE_SYS_TIMES_H 1" >>confdefs.h
8260 ac_fn_c_check_header_compile "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
8261 if test "x$ac_cv_header_sys_uio_h" = xyes
8262 then :
8263 printf "%s\n" "#define HAVE_SYS_UIO_H 1" >>confdefs.h
8266 ac_fn_c_check_header_compile "$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "$ac_includes_default"
8267 if test "x$ac_cv_header_sys_user_h" = xyes
8268 then :
8269 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8272 ac_fn_c_check_header_compile "$LINENO" "sys/utsname.h" "ac_cv_header_sys_utsname_h" "$ac_includes_default"
8273 if test "x$ac_cv_header_sys_utsname_h" = xyes
8274 then :
8275 printf "%s\n" "#define HAVE_SYS_UTSNAME_H 1" >>confdefs.h
8278 ac_fn_c_check_header_compile "$LINENO" "sys/vnode.h" "ac_cv_header_sys_vnode_h" "$ac_includes_default"
8279 if test "x$ac_cv_header_sys_vnode_h" = xyes
8280 then :
8281 printf "%s\n" "#define HAVE_SYS_VNODE_H 1" >>confdefs.h
8284 ac_fn_c_check_header_compile "$LINENO" "sys/xattr.h" "ac_cv_header_sys_xattr_h" "$ac_includes_default"
8285 if test "x$ac_cv_header_sys_xattr_h" = xyes
8286 then :
8287 printf "%s\n" "#define HAVE_SYS_XATTR_H 1" >>confdefs.h
8290 ac_fn_c_check_header_compile "$LINENO" "syscall.h" "ac_cv_header_syscall_h" "$ac_includes_default"
8291 if test "x$ac_cv_header_syscall_h" = xyes
8292 then :
8293 printf "%s\n" "#define HAVE_SYSCALL_H 1" >>confdefs.h
8296 ac_fn_c_check_header_compile "$LINENO" "utime.h" "ac_cv_header_utime_h" "$ac_includes_default"
8297 if test "x$ac_cv_header_utime_h" = xyes
8298 then :
8299 printf "%s\n" "#define HAVE_UTIME_H 1" >>confdefs.h
8302 ac_fn_c_check_header_compile "$LINENO" "valgrind/memcheck.h" "ac_cv_header_valgrind_memcheck_h" "$ac_includes_default"
8303 if test "x$ac_cv_header_valgrind_memcheck_h" = xyes
8304 then :
8305 printf "%s\n" "#define HAVE_VALGRIND_MEMCHECK_H 1" >>confdefs.h
8308 ac_fn_c_check_header_compile "$LINENO" "valgrind/valgrind.h" "ac_cv_header_valgrind_valgrind_h" "$ac_includes_default"
8309 if test "x$ac_cv_header_valgrind_valgrind_h" = xyes
8310 then :
8311 printf "%s\n" "#define HAVE_VALGRIND_VALGRIND_H 1" >>confdefs.h
8315 ac_fn_c_check_header_compile "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
8316 if test "x$ac_cv_header_sys_mkdev_h" = xyes
8317 then :
8319 printf "%s\n" "#define MAJOR_IN_MKDEV 1" >>confdefs.h
8323 if test $ac_cv_header_sys_mkdev_h = no; then
8324 ac_fn_c_check_header_compile "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
8325 if test "x$ac_cv_header_sys_sysmacros_h" = xyes
8326 then :
8328 printf "%s\n" "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
8333 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
8334 printf %s "checking whether stat file-mode macros are broken... " >&6; }
8335 if test ${ac_cv_header_stat_broken+y}
8336 then :
8337 printf %s "(cached) " >&6
8338 else $as_nop
8339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8340 /* end confdefs.h. */
8341 #include <sys/types.h>
8342 #include <sys/stat.h>
8344 #if defined S_ISBLK && defined S_IFDIR
8345 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
8346 #endif
8348 #if defined S_ISBLK && defined S_IFCHR
8349 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
8350 #endif
8352 #if defined S_ISLNK && defined S_IFREG
8353 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
8354 #endif
8356 #if defined S_ISSOCK && defined S_IFREG
8357 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
8358 #endif
8360 _ACEOF
8361 if ac_fn_c_try_compile "$LINENO"
8362 then :
8363 ac_cv_header_stat_broken=no
8364 else $as_nop
8365 ac_cv_header_stat_broken=yes
8367 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8369 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
8370 printf "%s\n" "$ac_cv_header_stat_broken" >&6; }
8371 if test $ac_cv_header_stat_broken = yes; then
8373 printf "%s\n" "#define STAT_MACROS_BROKEN 1" >>confdefs.h
8379 ac_fn_c_check_header_compile "$LINENO" "sys/conf.h" "ac_cv_header_sys_conf_h" "#include <sys/types.h>
8380 #ifdef HAVE_SYS_PARAM_H
8381 # include <sys/param.h>
8382 #endif
8384 if test "x$ac_cv_header_sys_conf_h" = xyes
8385 then :
8386 printf "%s\n" "#define HAVE_SYS_CONF_H 1" >>confdefs.h
8389 ac_fn_c_check_header_compile "$LINENO" "sys/mount.h" "ac_cv_header_sys_mount_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_mount_h" = xyes
8395 then :
8396 printf "%s\n" "#define HAVE_SYS_MOUNT_H 1" >>confdefs.h
8399 ac_fn_c_check_header_compile "$LINENO" "sys/statfs.h" "ac_cv_header_sys_statfs_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_statfs_h" = xyes
8405 then :
8406 printf "%s\n" "#define HAVE_SYS_STATFS_H 1" >>confdefs.h
8409 ac_fn_c_check_header_compile "$LINENO" "sys/user.h" "ac_cv_header_sys_user_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_user_h" = xyes
8415 then :
8416 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8419 ac_fn_c_check_header_compile "$LINENO" "sys/vfs.h" "ac_cv_header_sys_vfs_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_vfs_h" = xyes
8425 then :
8426 printf "%s\n" "#define HAVE_SYS_VFS_H 1" >>confdefs.h
8431 saved_sysctl_h_CFLAGS=$CFLAGS
8432 test "x${GCC}" != xyes || CFLAGS="$CFLAGS -Werror"
8433 ac_fn_c_check_header_compile "$LINENO" "sys/sysctl.h" "ac_cv_header_sys_sysctl_h" "#include <sys/types.h>
8434 #ifdef HAVE_SYS_PARAM_H
8435 # include <sys/param.h>
8436 #endif
8438 if test "x$ac_cv_header_sys_sysctl_h" = xyes
8439 then :
8440 printf "%s\n" "#define HAVE_SYS_SYSCTL_H 1" >>confdefs.h
8444 CFLAGS=$saved_sysctl_h_CFLAGS
8446 ac_fn_c_check_header_compile "$LINENO" "netinet/ip.h" "ac_cv_header_netinet_ip_h" "#include <sys/types.h>
8447 #include <sys/socket.h>
8448 #ifdef HAVE_SYS_SOCKETVAR_H
8449 # include <sys/socketvar.h>
8450 #endif
8451 #ifdef HAVE_NET_ROUTE_H
8452 # include <net/route.h>
8453 #endif
8454 #ifdef HAVE_NETINET_IN_H
8455 # include <netinet/in.h>
8456 #endif
8457 #ifdef HAVE_NETINET_IN_SYSTM_H
8458 # include <netinet/in_systm.h>
8459 #endif
8460 #ifdef HAVE_NET_IF_H
8461 # include <net/if.h>
8462 #endif
8463 #ifdef HAVE_NETINET_IP_H
8464 # include <netinet/ip.h>
8465 #endif
8467 if test "x$ac_cv_header_netinet_ip_h" = xyes
8468 then :
8469 printf "%s\n" "#define HAVE_NETINET_IP_H 1" >>confdefs.h
8472 ac_fn_c_check_header_compile "$LINENO" "net/if.h" "ac_cv_header_net_if_h" "#include <sys/types.h>
8473 #include <sys/socket.h>
8474 #ifdef HAVE_SYS_SOCKETVAR_H
8475 # include <sys/socketvar.h>
8476 #endif
8477 #ifdef HAVE_NET_ROUTE_H
8478 # include <net/route.h>
8479 #endif
8480 #ifdef HAVE_NETINET_IN_H
8481 # include <netinet/in.h>
8482 #endif
8483 #ifdef HAVE_NETINET_IN_SYSTM_H
8484 # include <netinet/in_systm.h>
8485 #endif
8486 #ifdef HAVE_NET_IF_H
8487 # include <net/if.h>
8488 #endif
8489 #ifdef HAVE_NETINET_IP_H
8490 # include <netinet/ip.h>
8491 #endif
8493 if test "x$ac_cv_header_net_if_h" = xyes
8494 then :
8495 printf "%s\n" "#define HAVE_NET_IF_H 1" >>confdefs.h
8498 ac_fn_c_check_header_compile "$LINENO" "net/if_arp.h" "ac_cv_header_net_if_arp_h" "#include <sys/types.h>
8499 #include <sys/socket.h>
8500 #ifdef HAVE_SYS_SOCKETVAR_H
8501 # include <sys/socketvar.h>
8502 #endif
8503 #ifdef HAVE_NET_ROUTE_H
8504 # include <net/route.h>
8505 #endif
8506 #ifdef HAVE_NETINET_IN_H
8507 # include <netinet/in.h>
8508 #endif
8509 #ifdef HAVE_NETINET_IN_SYSTM_H
8510 # include <netinet/in_systm.h>
8511 #endif
8512 #ifdef HAVE_NET_IF_H
8513 # include <net/if.h>
8514 #endif
8515 #ifdef HAVE_NETINET_IP_H
8516 # include <netinet/ip.h>
8517 #endif
8519 if test "x$ac_cv_header_net_if_arp_h" = xyes
8520 then :
8521 printf "%s\n" "#define HAVE_NET_IF_ARP_H 1" >>confdefs.h
8524 ac_fn_c_check_header_compile "$LINENO" "net/if_dl.h" "ac_cv_header_net_if_dl_h" "#include <sys/types.h>
8525 #include <sys/socket.h>
8526 #ifdef HAVE_SYS_SOCKETVAR_H
8527 # include <sys/socketvar.h>
8528 #endif
8529 #ifdef HAVE_NET_ROUTE_H
8530 # include <net/route.h>
8531 #endif
8532 #ifdef HAVE_NETINET_IN_H
8533 # include <netinet/in.h>
8534 #endif
8535 #ifdef HAVE_NETINET_IN_SYSTM_H
8536 # include <netinet/in_systm.h>
8537 #endif
8538 #ifdef HAVE_NET_IF_H
8539 # include <net/if.h>
8540 #endif
8541 #ifdef HAVE_NETINET_IP_H
8542 # include <netinet/ip.h>
8543 #endif
8545 if test "x$ac_cv_header_net_if_dl_h" = xyes
8546 then :
8547 printf "%s\n" "#define HAVE_NET_IF_DL_H 1" >>confdefs.h
8550 ac_fn_c_check_header_compile "$LINENO" "net/if_types.h" "ac_cv_header_net_if_types_h" "#include <sys/types.h>
8551 #include <sys/socket.h>
8552 #ifdef HAVE_SYS_SOCKETVAR_H
8553 # include <sys/socketvar.h>
8554 #endif
8555 #ifdef HAVE_NET_ROUTE_H
8556 # include <net/route.h>
8557 #endif
8558 #ifdef HAVE_NETINET_IN_H
8559 # include <netinet/in.h>
8560 #endif
8561 #ifdef HAVE_NETINET_IN_SYSTM_H
8562 # include <netinet/in_systm.h>
8563 #endif
8564 #ifdef HAVE_NET_IF_H
8565 # include <net/if.h>
8566 #endif
8567 #ifdef HAVE_NETINET_IP_H
8568 # include <netinet/ip.h>
8569 #endif
8571 if test "x$ac_cv_header_net_if_types_h" = xyes
8572 then :
8573 printf "%s\n" "#define HAVE_NET_IF_TYPES_H 1" >>confdefs.h
8576 ac_fn_c_check_header_compile "$LINENO" "net/route.h" "ac_cv_header_net_route_h" "#include <sys/types.h>
8577 #include <sys/socket.h>
8578 #ifdef HAVE_SYS_SOCKETVAR_H
8579 # include <sys/socketvar.h>
8580 #endif
8581 #ifdef HAVE_NET_ROUTE_H
8582 # include <net/route.h>
8583 #endif
8584 #ifdef HAVE_NETINET_IN_H
8585 # include <netinet/in.h>
8586 #endif
8587 #ifdef HAVE_NETINET_IN_SYSTM_H
8588 # include <netinet/in_systm.h>
8589 #endif
8590 #ifdef HAVE_NET_IF_H
8591 # include <net/if.h>
8592 #endif
8593 #ifdef HAVE_NETINET_IP_H
8594 # include <netinet/ip.h>
8595 #endif
8597 if test "x$ac_cv_header_net_route_h" = xyes
8598 then :
8599 printf "%s\n" "#define HAVE_NET_ROUTE_H 1" >>confdefs.h
8602 ac_fn_c_check_header_compile "$LINENO" "netinet/if_ether.h" "ac_cv_header_netinet_if_ether_h" "#include <sys/types.h>
8603 #include <sys/socket.h>
8604 #ifdef HAVE_SYS_SOCKETVAR_H
8605 # include <sys/socketvar.h>
8606 #endif
8607 #ifdef HAVE_NET_ROUTE_H
8608 # include <net/route.h>
8609 #endif
8610 #ifdef HAVE_NETINET_IN_H
8611 # include <netinet/in.h>
8612 #endif
8613 #ifdef HAVE_NETINET_IN_SYSTM_H
8614 # include <netinet/in_systm.h>
8615 #endif
8616 #ifdef HAVE_NET_IF_H
8617 # include <net/if.h>
8618 #endif
8619 #ifdef HAVE_NETINET_IP_H
8620 # include <netinet/ip.h>
8621 #endif
8623 if test "x$ac_cv_header_netinet_if_ether_h" = xyes
8624 then :
8625 printf "%s\n" "#define HAVE_NETINET_IF_ETHER_H 1" >>confdefs.h
8628 ac_fn_c_check_header_compile "$LINENO" "netinet/in_pcb.h" "ac_cv_header_netinet_in_pcb_h" "#include <sys/types.h>
8629 #include <sys/socket.h>
8630 #ifdef HAVE_SYS_SOCKETVAR_H
8631 # include <sys/socketvar.h>
8632 #endif
8633 #ifdef HAVE_NET_ROUTE_H
8634 # include <net/route.h>
8635 #endif
8636 #ifdef HAVE_NETINET_IN_H
8637 # include <netinet/in.h>
8638 #endif
8639 #ifdef HAVE_NETINET_IN_SYSTM_H
8640 # include <netinet/in_systm.h>
8641 #endif
8642 #ifdef HAVE_NET_IF_H
8643 # include <net/if.h>
8644 #endif
8645 #ifdef HAVE_NETINET_IP_H
8646 # include <netinet/ip.h>
8647 #endif
8649 if test "x$ac_cv_header_netinet_in_pcb_h" = xyes
8650 then :
8651 printf "%s\n" "#define HAVE_NETINET_IN_PCB_H 1" >>confdefs.h
8654 ac_fn_c_check_header_compile "$LINENO" "netinet/ip_icmp.h" "ac_cv_header_netinet_ip_icmp_h" "#include <sys/types.h>
8655 #include <sys/socket.h>
8656 #ifdef HAVE_SYS_SOCKETVAR_H
8657 # include <sys/socketvar.h>
8658 #endif
8659 #ifdef HAVE_NET_ROUTE_H
8660 # include <net/route.h>
8661 #endif
8662 #ifdef HAVE_NETINET_IN_H
8663 # include <netinet/in.h>
8664 #endif
8665 #ifdef HAVE_NETINET_IN_SYSTM_H
8666 # include <netinet/in_systm.h>
8667 #endif
8668 #ifdef HAVE_NET_IF_H
8669 # include <net/if.h>
8670 #endif
8671 #ifdef HAVE_NETINET_IP_H
8672 # include <netinet/ip.h>
8673 #endif
8675 if test "x$ac_cv_header_netinet_ip_icmp_h" = xyes
8676 then :
8677 printf "%s\n" "#define HAVE_NETINET_IP_ICMP_H 1" >>confdefs.h
8680 ac_fn_c_check_header_compile "$LINENO" "netinet/ip_var.h" "ac_cv_header_netinet_ip_var_h" "#include <sys/types.h>
8681 #include <sys/socket.h>
8682 #ifdef HAVE_SYS_SOCKETVAR_H
8683 # include <sys/socketvar.h>
8684 #endif
8685 #ifdef HAVE_NET_ROUTE_H
8686 # include <net/route.h>
8687 #endif
8688 #ifdef HAVE_NETINET_IN_H
8689 # include <netinet/in.h>
8690 #endif
8691 #ifdef HAVE_NETINET_IN_SYSTM_H
8692 # include <netinet/in_systm.h>
8693 #endif
8694 #ifdef HAVE_NET_IF_H
8695 # include <net/if.h>
8696 #endif
8697 #ifdef HAVE_NETINET_IP_H
8698 # include <netinet/ip.h>
8699 #endif
8701 if test "x$ac_cv_header_netinet_ip_var_h" = xyes
8702 then :
8703 printf "%s\n" "#define HAVE_NETINET_IP_VAR_H 1" >>confdefs.h
8706 ac_fn_c_check_header_compile "$LINENO" "netinet/udp.h" "ac_cv_header_netinet_udp_h" "#include <sys/types.h>
8707 #include <sys/socket.h>
8708 #ifdef HAVE_SYS_SOCKETVAR_H
8709 # include <sys/socketvar.h>
8710 #endif
8711 #ifdef HAVE_NET_ROUTE_H
8712 # include <net/route.h>
8713 #endif
8714 #ifdef HAVE_NETINET_IN_H
8715 # include <netinet/in.h>
8716 #endif
8717 #ifdef HAVE_NETINET_IN_SYSTM_H
8718 # include <netinet/in_systm.h>
8719 #endif
8720 #ifdef HAVE_NET_IF_H
8721 # include <net/if.h>
8722 #endif
8723 #ifdef HAVE_NETINET_IP_H
8724 # include <netinet/ip.h>
8725 #endif
8727 if test "x$ac_cv_header_netinet_udp_h" = xyes
8728 then :
8729 printf "%s\n" "#define HAVE_NETINET_UDP_H 1" >>confdefs.h
8732 ac_fn_c_check_header_compile "$LINENO" "netinet6/ip6_var.h" "ac_cv_header_netinet6_ip6_var_h" "#include <sys/types.h>
8733 #include <sys/socket.h>
8734 #ifdef HAVE_SYS_SOCKETVAR_H
8735 # include <sys/socketvar.h>
8736 #endif
8737 #ifdef HAVE_NET_ROUTE_H
8738 # include <net/route.h>
8739 #endif
8740 #ifdef HAVE_NETINET_IN_H
8741 # include <netinet/in.h>
8742 #endif
8743 #ifdef HAVE_NETINET_IN_SYSTM_H
8744 # include <netinet/in_systm.h>
8745 #endif
8746 #ifdef HAVE_NET_IF_H
8747 # include <net/if.h>
8748 #endif
8749 #ifdef HAVE_NETINET_IP_H
8750 # include <netinet/ip.h>
8751 #endif
8753 if test "x$ac_cv_header_netinet6_ip6_var_h" = xyes
8754 then :
8755 printf "%s\n" "#define HAVE_NETINET6_IP6_VAR_H 1" >>confdefs.h
8758 ac_fn_c_check_header_compile "$LINENO" "netipx/ipx.h" "ac_cv_header_netipx_ipx_h" "#include <sys/types.h>
8759 #include <sys/socket.h>
8760 #ifdef HAVE_SYS_SOCKETVAR_H
8761 # include <sys/socketvar.h>
8762 #endif
8763 #ifdef HAVE_NET_ROUTE_H
8764 # include <net/route.h>
8765 #endif
8766 #ifdef HAVE_NETINET_IN_H
8767 # include <netinet/in.h>
8768 #endif
8769 #ifdef HAVE_NETINET_IN_SYSTM_H
8770 # include <netinet/in_systm.h>
8771 #endif
8772 #ifdef HAVE_NET_IF_H
8773 # include <net/if.h>
8774 #endif
8775 #ifdef HAVE_NETINET_IP_H
8776 # include <netinet/ip.h>
8777 #endif
8779 if test "x$ac_cv_header_netipx_ipx_h" = xyes
8780 then :
8781 printf "%s\n" "#define HAVE_NETIPX_IPX_H 1" >>confdefs.h
8784 ac_fn_c_check_header_compile "$LINENO" "sys/un.h" "ac_cv_header_sys_un_h" "#include <sys/types.h>
8785 #include <sys/socket.h>
8786 #ifdef HAVE_SYS_SOCKETVAR_H
8787 # include <sys/socketvar.h>
8788 #endif
8789 #ifdef HAVE_NET_ROUTE_H
8790 # include <net/route.h>
8791 #endif
8792 #ifdef HAVE_NETINET_IN_H
8793 # include <netinet/in.h>
8794 #endif
8795 #ifdef HAVE_NETINET_IN_SYSTM_H
8796 # include <netinet/in_systm.h>
8797 #endif
8798 #ifdef HAVE_NET_IF_H
8799 # include <net/if.h>
8800 #endif
8801 #ifdef HAVE_NETINET_IP_H
8802 # include <netinet/ip.h>
8803 #endif
8805 if test "x$ac_cv_header_sys_un_h" = xyes
8806 then :
8807 printf "%s\n" "#define HAVE_SYS_UN_H 1" >>confdefs.h
8812 ac_fn_c_check_header_compile "$LINENO" "netinet/udp_var.h" "ac_cv_header_netinet_udp_var_h" "#include <sys/types.h>
8813 #include <sys/socket.h>
8814 #ifdef HAVE_SYS_SOCKETVAR_H
8815 # include <sys/socketvar.h>
8816 #endif
8817 #ifdef HAVE_NETINET_IN_H
8818 # include <netinet/in.h>
8819 #endif
8820 #ifdef HAVE_NETINET_IN_SYSTM_H
8821 # include <netinet/in_systm.h>
8822 #endif
8823 #ifdef HAVE_NETINET_IP_H
8824 # include <netinet/ip.h>
8825 #endif
8826 #ifdef HAVE_NETINET_IP_VAR_H
8827 # include <netinet/ip_var.h>
8828 #endif
8829 #ifdef HAVE_NETINET_IP_ICMP_H
8830 # include <netinet/ip_icmp.h>
8831 #endif
8832 #ifdef HAVE_NETINET_UDP_H
8833 # include <netinet/udp.h>
8834 #endif
8835 #ifdef HAVE_NETINET_TCP_H
8836 # include <netinet/tcp.h>
8837 #endif
8839 if test "x$ac_cv_header_netinet_udp_var_h" = xyes
8840 then :
8841 printf "%s\n" "#define HAVE_NETINET_UDP_VAR_H 1" >>confdefs.h
8844 ac_fn_c_check_header_compile "$LINENO" "netinet/icmp_var.h" "ac_cv_header_netinet_icmp_var_h" "#include <sys/types.h>
8845 #include <sys/socket.h>
8846 #ifdef HAVE_SYS_SOCKETVAR_H
8847 # include <sys/socketvar.h>
8848 #endif
8849 #ifdef HAVE_NETINET_IN_H
8850 # include <netinet/in.h>
8851 #endif
8852 #ifdef HAVE_NETINET_IN_SYSTM_H
8853 # include <netinet/in_systm.h>
8854 #endif
8855 #ifdef HAVE_NETINET_IP_H
8856 # include <netinet/ip.h>
8857 #endif
8858 #ifdef HAVE_NETINET_IP_VAR_H
8859 # include <netinet/ip_var.h>
8860 #endif
8861 #ifdef HAVE_NETINET_IP_ICMP_H
8862 # include <netinet/ip_icmp.h>
8863 #endif
8864 #ifdef HAVE_NETINET_UDP_H
8865 # include <netinet/udp.h>
8866 #endif
8867 #ifdef HAVE_NETINET_TCP_H
8868 # include <netinet/tcp.h>
8869 #endif
8871 if test "x$ac_cv_header_netinet_icmp_var_h" = xyes
8872 then :
8873 printf "%s\n" "#define HAVE_NETINET_ICMP_VAR_H 1" >>confdefs.h
8876 ac_fn_c_check_header_compile "$LINENO" "netinet/icmp6.h" "ac_cv_header_netinet_icmp6_h" "#include <sys/types.h>
8877 #include <sys/socket.h>
8878 #ifdef HAVE_SYS_SOCKETVAR_H
8879 # include <sys/socketvar.h>
8880 #endif
8881 #ifdef HAVE_NETINET_IN_H
8882 # include <netinet/in.h>
8883 #endif
8884 #ifdef HAVE_NETINET_IN_SYSTM_H
8885 # include <netinet/in_systm.h>
8886 #endif
8887 #ifdef HAVE_NETINET_IP_H
8888 # include <netinet/ip.h>
8889 #endif
8890 #ifdef HAVE_NETINET_IP_VAR_H
8891 # include <netinet/ip_var.h>
8892 #endif
8893 #ifdef HAVE_NETINET_IP_ICMP_H
8894 # include <netinet/ip_icmp.h>
8895 #endif
8896 #ifdef HAVE_NETINET_UDP_H
8897 # include <netinet/udp.h>
8898 #endif
8899 #ifdef HAVE_NETINET_TCP_H
8900 # include <netinet/tcp.h>
8901 #endif
8903 if test "x$ac_cv_header_netinet_icmp6_h" = xyes
8904 then :
8905 printf "%s\n" "#define HAVE_NETINET_ICMP6_H 1" >>confdefs.h
8908 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp_var.h" "ac_cv_header_netinet_tcp_var_h" "#include <sys/types.h>
8909 #include <sys/socket.h>
8910 #ifdef HAVE_SYS_SOCKETVAR_H
8911 # include <sys/socketvar.h>
8912 #endif
8913 #ifdef HAVE_NETINET_IN_H
8914 # include <netinet/in.h>
8915 #endif
8916 #ifdef HAVE_NETINET_IN_SYSTM_H
8917 # include <netinet/in_systm.h>
8918 #endif
8919 #ifdef HAVE_NETINET_IP_H
8920 # include <netinet/ip.h>
8921 #endif
8922 #ifdef HAVE_NETINET_IP_VAR_H
8923 # include <netinet/ip_var.h>
8924 #endif
8925 #ifdef HAVE_NETINET_IP_ICMP_H
8926 # include <netinet/ip_icmp.h>
8927 #endif
8928 #ifdef HAVE_NETINET_UDP_H
8929 # include <netinet/udp.h>
8930 #endif
8931 #ifdef HAVE_NETINET_TCP_H
8932 # include <netinet/tcp.h>
8933 #endif
8935 if test "x$ac_cv_header_netinet_tcp_var_h" = xyes
8936 then :
8937 printf "%s\n" "#define HAVE_NETINET_TCP_VAR_H 1" >>confdefs.h
8942 ac_fn_c_check_header_compile "$LINENO" "linux/ipx.h" "ac_cv_header_linux_ipx_h" "#include <sys/types.h>
8943 #include <sys/socket.h>
8944 #ifdef HAVE_ASM_TYPES_H
8945 # include <asm/types.h>
8946 #endif
8947 #ifdef HAVE_LINUX_TYPES_H
8948 # include <linux/types.h>
8949 #endif
8951 if test "x$ac_cv_header_linux_ipx_h" = xyes
8952 then :
8953 printf "%s\n" "#define HAVE_LINUX_IPX_H 1" >>confdefs.h
8956 ac_fn_c_check_header_compile "$LINENO" "linux/irda.h" "ac_cv_header_linux_irda_h" "#include <sys/types.h>
8957 #include <sys/socket.h>
8958 #ifdef HAVE_ASM_TYPES_H
8959 # include <asm/types.h>
8960 #endif
8961 #ifdef HAVE_LINUX_TYPES_H
8962 # include <linux/types.h>
8963 #endif
8965 if test "x$ac_cv_header_linux_irda_h" = xyes
8966 then :
8967 printf "%s\n" "#define HAVE_LINUX_IRDA_H 1" >>confdefs.h
8970 ac_fn_c_check_header_compile "$LINENO" "linux/rtnetlink.h" "ac_cv_header_linux_rtnetlink_h" "#include <sys/types.h>
8971 #include <sys/socket.h>
8972 #ifdef HAVE_ASM_TYPES_H
8973 # include <asm/types.h>
8974 #endif
8975 #ifdef HAVE_LINUX_TYPES_H
8976 # include <linux/types.h>
8977 #endif
8979 if test "x$ac_cv_header_linux_rtnetlink_h" = xyes
8980 then :
8981 printf "%s\n" "#define HAVE_LINUX_RTNETLINK_H 1" >>confdefs.h
8986 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
8987 #include <sys/socket.h>
8988 #ifdef HAVE_NETINET_IN_H
8989 # include <netinet/in.h>
8990 #endif
8991 #ifdef HAVE_ARPA_NAMESER_H
8992 # include <arpa/nameser.h>
8993 #endif
8995 if test "x$ac_cv_header_resolv_h" = xyes
8996 then :
8997 printf "%s\n" "#define HAVE_RESOLV_H 1" >>confdefs.h
9002 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
9004 if test "x$ac_cv_header_ifaddrs_h" = xyes
9005 then :
9006 printf "%s\n" "#define HAVE_IFADDRS_H 1" >>confdefs.h
9011 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
9013 if test "x$ac_cv_header_sys_ucontext_h" = xyes
9014 then :
9015 printf "%s\n" "#define HAVE_SYS_UCONTEXT_H 1" >>confdefs.h
9020 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
9021 #ifdef HAVE_SYS_UCONTEXT_H
9022 #include <sys/ucontext.h>
9023 #endif
9025 if test "x$ac_cv_header_sys_thr_h" = xyes
9026 then :
9027 printf "%s\n" "#define HAVE_SYS_THR_H 1" >>confdefs.h
9032 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
9033 #include <pthread.h>
9034 #endif
9036 if test "x$ac_cv_header_pthread_np_h" = xyes
9037 then :
9038 printf "%s\n" "#define HAVE_PTHREAD_NP_H 1" >>confdefs.h
9043 ac_fn_c_check_header_compile "$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "#include <sys/time.h>
9044 #include <sys/types.h>
9045 #ifdef HAVE_ASM_TYPES_H
9046 #include <asm/types.h>
9047 #endif
9049 if test "x$ac_cv_header_linux_videodev2_h" = xyes
9050 then :
9051 printf "%s\n" "#define HAVE_LINUX_VIDEODEV2_H 1" >>confdefs.h
9056 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
9057 #include <sys/param.h>
9058 #endif
9059 #include <sys/socket.h>
9060 #ifdef HAVE_SYS_QUEUE_H
9061 #include <sys/queue.h>
9062 #endif
9064 if test "x$ac_cv_header_libprocstat_h" = xyes
9065 then :
9066 printf "%s\n" "#define HAVE_LIBPROCSTAT_H 1" >>confdefs.h
9071 if test "x$ac_cv_header_sys_xattr_h" = xyes
9072 then
9073 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether getxattr takes additional arguments" >&5
9074 printf %s "checking whether getxattr takes additional arguments... " >&6; }
9075 if test ${wine_cv_xattr_extra_args+y}
9076 then :
9077 printf %s "(cached) " >&6
9078 else $as_nop
9079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9080 /* end confdefs.h. */
9081 #include <sys/xattr.h>
9083 main (void)
9085 getxattr("", "", "", 0, 0, 0);
9087 return 0;
9089 _ACEOF
9090 if ac_fn_c_try_compile "$LINENO"
9091 then :
9092 wine_cv_xattr_extra_args=yes
9093 else $as_nop
9094 wine_cv_xattr_extra_args=no
9096 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9098 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_xattr_extra_args" >&5
9099 printf "%s\n" "$wine_cv_xattr_extra_args" >&6; }
9100 test $wine_cv_xattr_extra_args != yes ||
9101 printf "%s\n" "#define XATTR_ADDITIONAL_OPTIONS 1" >>confdefs.h
9106 DLLFLAGS=""
9108 LDDLLFLAGS=""
9110 LDEXECFLAGS=""
9112 EXTRACFLAGS=""
9114 UNIXDLLFLAGS="-fPIC"
9116 UNIXLDFLAGS="-shared -Wl,-Bsymbolic -Wl,-soname,\$(UNIXLIB)"
9118 TOP_INSTALL_LIB=""
9120 TOP_INSTALL_DEV=""
9122 WINELOADER_LDFLAGS=""
9124 WINEPRELOADER_LDFLAGS=""
9126 DLLEXT=".so"
9128 LIBEXT="so"
9129 # Extract the first word of "ldd", so it can be a program name with args.
9130 set dummy ldd; ac_word=$2
9131 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9132 printf %s "checking for $ac_word... " >&6; }
9133 if test ${ac_cv_path_LDD+y}
9134 then :
9135 printf %s "(cached) " >&6
9136 else $as_nop
9137 case $LDD in
9138 [\\/]* | ?:[\\/]*)
9139 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
9142 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9143 as_dummy="/sbin:/usr/sbin:$PATH"
9144 for as_dir in $as_dummy
9146 IFS=$as_save_IFS
9147 case $as_dir in #(((
9148 '') as_dir=./ ;;
9149 */) ;;
9150 *) as_dir=$as_dir/ ;;
9151 esac
9152 for ac_exec_ext in '' $ac_executable_extensions; do
9153 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9154 ac_cv_path_LDD="$as_dir$ac_word$ac_exec_ext"
9155 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9156 break 2
9158 done
9159 done
9160 IFS=$as_save_IFS
9162 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
9164 esac
9166 LDD=$ac_cv_path_LDD
9167 if test -n "$LDD"; then
9168 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
9169 printf "%s\n" "$LDD" >&6; }
9170 else
9171 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9172 printf "%s\n" "no" >&6; }
9176 if test -n "$ac_tool_prefix"; then
9177 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
9178 set dummy ${ac_tool_prefix}otool; ac_word=$2
9179 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9180 printf %s "checking for $ac_word... " >&6; }
9181 if test ${ac_cv_prog_OTOOL+y}
9182 then :
9183 printf %s "(cached) " >&6
9184 else $as_nop
9185 if test -n "$OTOOL"; then
9186 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
9187 else
9188 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9189 for as_dir in $PATH
9191 IFS=$as_save_IFS
9192 case $as_dir in #(((
9193 '') as_dir=./ ;;
9194 */) ;;
9195 *) as_dir=$as_dir/ ;;
9196 esac
9197 for ac_exec_ext in '' $ac_executable_extensions; do
9198 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9199 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
9200 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9201 break 2
9203 done
9204 done
9205 IFS=$as_save_IFS
9209 OTOOL=$ac_cv_prog_OTOOL
9210 if test -n "$OTOOL"; then
9211 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
9212 printf "%s\n" "$OTOOL" >&6; }
9213 else
9214 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9215 printf "%s\n" "no" >&6; }
9220 if test -z "$ac_cv_prog_OTOOL"; then
9221 ac_ct_OTOOL=$OTOOL
9222 # Extract the first word of "otool", so it can be a program name with args.
9223 set dummy otool; ac_word=$2
9224 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9225 printf %s "checking for $ac_word... " >&6; }
9226 if test ${ac_cv_prog_ac_ct_OTOOL+y}
9227 then :
9228 printf %s "(cached) " >&6
9229 else $as_nop
9230 if test -n "$ac_ct_OTOOL"; then
9231 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
9232 else
9233 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9234 for as_dir in $PATH
9236 IFS=$as_save_IFS
9237 case $as_dir in #(((
9238 '') as_dir=./ ;;
9239 */) ;;
9240 *) as_dir=$as_dir/ ;;
9241 esac
9242 for ac_exec_ext in '' $ac_executable_extensions; do
9243 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9244 ac_cv_prog_ac_ct_OTOOL="otool"
9245 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9246 break 2
9248 done
9249 done
9250 IFS=$as_save_IFS
9254 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
9255 if test -n "$ac_ct_OTOOL"; then
9256 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
9257 printf "%s\n" "$ac_ct_OTOOL" >&6; }
9258 else
9259 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9260 printf "%s\n" "no" >&6; }
9263 if test "x$ac_ct_OTOOL" = x; then
9264 OTOOL="otool"
9265 else
9266 case $cross_compiling:$ac_tool_warned in
9267 yes:)
9268 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9269 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9270 ac_tool_warned=yes ;;
9271 esac
9272 OTOOL=$ac_ct_OTOOL
9274 else
9275 OTOOL="$ac_cv_prog_OTOOL"
9278 if test -n "$ac_tool_prefix"; then
9279 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
9280 set dummy ${ac_tool_prefix}readelf; ac_word=$2
9281 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9282 printf %s "checking for $ac_word... " >&6; }
9283 if test ${ac_cv_prog_READELF+y}
9284 then :
9285 printf %s "(cached) " >&6
9286 else $as_nop
9287 if test -n "$READELF"; then
9288 ac_cv_prog_READELF="$READELF" # Let the user override the test.
9289 else
9290 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9291 for as_dir in $PATH
9293 IFS=$as_save_IFS
9294 case $as_dir in #(((
9295 '') as_dir=./ ;;
9296 */) ;;
9297 *) as_dir=$as_dir/ ;;
9298 esac
9299 for ac_exec_ext in '' $ac_executable_extensions; do
9300 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9301 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
9302 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9303 break 2
9305 done
9306 done
9307 IFS=$as_save_IFS
9311 READELF=$ac_cv_prog_READELF
9312 if test -n "$READELF"; then
9313 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
9314 printf "%s\n" "$READELF" >&6; }
9315 else
9316 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9317 printf "%s\n" "no" >&6; }
9322 if test -z "$ac_cv_prog_READELF"; then
9323 ac_ct_READELF=$READELF
9324 # Extract the first word of "readelf", so it can be a program name with args.
9325 set dummy readelf; ac_word=$2
9326 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9327 printf %s "checking for $ac_word... " >&6; }
9328 if test ${ac_cv_prog_ac_ct_READELF+y}
9329 then :
9330 printf %s "(cached) " >&6
9331 else $as_nop
9332 if test -n "$ac_ct_READELF"; then
9333 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
9334 else
9335 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9336 for as_dir in $PATH
9338 IFS=$as_save_IFS
9339 case $as_dir in #(((
9340 '') as_dir=./ ;;
9341 */) ;;
9342 *) as_dir=$as_dir/ ;;
9343 esac
9344 for ac_exec_ext in '' $ac_executable_extensions; do
9345 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9346 ac_cv_prog_ac_ct_READELF="readelf"
9347 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9348 break 2
9350 done
9351 done
9352 IFS=$as_save_IFS
9356 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
9357 if test -n "$ac_ct_READELF"; then
9358 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
9359 printf "%s\n" "$ac_ct_READELF" >&6; }
9360 else
9361 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9362 printf "%s\n" "no" >&6; }
9365 if test "x$ac_ct_READELF" = x; then
9366 READELF="true"
9367 else
9368 case $cross_compiling:$ac_tool_warned in
9369 yes:)
9370 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9371 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9372 ac_tool_warned=yes ;;
9373 esac
9374 READELF=$ac_ct_READELF
9376 else
9377 READELF="$ac_cv_prog_READELF"
9380 wine_rules="all:"
9381 SUBDIRS=""
9383 DISABLED_SUBDIRS=""
9385 CONFIGURE_TARGETS=""
9388 wine_fn_config_makefile ()
9390 as_fn_append SUBDIRS " \\$as_nl $1"
9391 eval enable=\$$2
9392 case "$enable" in
9393 no) as_fn_append DISABLED_SUBDIRS " $1" ;;
9394 *aarch64*|*arm*|*i386*|*x86_64*)
9395 if test -n "$PE_ARCHS"
9396 then
9397 for i in $PE_ARCHS
9399 test $(expr ",$enable," : ".*,$i,") -gt 0 || as_fn_append ${i}_DISABLED_SUBDIRS " $1"
9400 done
9401 else
9402 test $(expr ",$enable," : ".*,$HOST_ARCH,") -gt 0 || as_fn_append DISABLED_SUBDIRS " $1"
9403 fi;;
9404 esac
9407 wine_fn_config_symlink ()
9409 ac_links=$@
9410 as_fn_append wine_rules "
9411 $ac_links:
9412 @./config.status \$@"
9413 for f in $ac_links; do as_fn_append CONFIGURE_TARGETS " $f"; done
9416 case $host_os in
9417 cygwin*|mingw32*)
9418 LIBEXT="dll"
9419 DLLEXT=""
9420 EXTRACFLAGS="-D__WINE_PE_BUILD"
9421 case $host_cpu in
9422 *i[3456]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--disable-stdcall-fixup" >&5
9423 printf %s "checking whether the compiler supports -Wl,--disable-stdcall-fixup... " >&6; }
9424 if test ${ac_cv_cflags__Wl___disable_stdcall_fixup+y}
9425 then :
9426 printf %s "(cached) " >&6
9427 else $as_nop
9428 ac_wine_try_cflags_saved=$CFLAGS
9429 CFLAGS="$CFLAGS -Wl,--disable-stdcall-fixup"
9430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9431 /* end confdefs.h. */
9432 int main(int argc, char **argv) { return 0; }
9433 _ACEOF
9434 if ac_fn_c_try_link "$LINENO"
9435 then :
9436 ac_cv_cflags__Wl___disable_stdcall_fixup=yes
9437 else $as_nop
9438 ac_cv_cflags__Wl___disable_stdcall_fixup=no
9440 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9441 conftest$ac_exeext conftest.$ac_ext
9442 CFLAGS=$ac_wine_try_cflags_saved
9444 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___disable_stdcall_fixup" >&5
9445 printf "%s\n" "$ac_cv_cflags__Wl___disable_stdcall_fixup" >&6; }
9446 if test "x$ac_cv_cflags__Wl___disable_stdcall_fixup" = xyes
9447 then :
9448 LDDLLFLAGS="-Wl,--disable-stdcall-fixup"
9449 fi ;;
9450 esac
9451 enable_loader=${enable_loader:-no}
9452 enable_server=${enable_server:-no}
9453 with_x=${with_x:-no}
9454 with_pthread=${with_pthread:-no}
9457 darwin*|macosx*)
9458 LIBEXT="dylib"
9459 DLLFLAGS="$DLLFLAGS -fPIC"
9460 LDDLLFLAGS="-fPIC"
9461 enable_winemac_drv=${enable_winemac_drv:-yes}
9462 CARBON_LIBS="-framework Carbon"
9464 COREFOUNDATION_LIBS="-framework CoreFoundation"
9466 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
9468 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
9470 METAL_LIBS="-framework Metal"
9472 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
9474 CORESERVICES_LIBS="-framework CoreServices"
9476 APPKIT_LIBS="-framework AppKit"
9478 SECURITY_LIBS="-framework Security -framework CoreFoundation"
9480 SYSTEMCONFIGURATION_LIBS="-framework SystemConfiguration"
9483 WINELOADER_LDFLAGS="-Wl,-pie,-segalign,0x1000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist"
9485 case $host_cpu in
9486 *i[3456]86*|*x86_64*) wine_can_build_preloader=yes ;;
9487 *) wine_can_build_preloader=no ;;
9488 esac
9490 if test "$wine_can_build_preloader" = "yes"
9491 then
9492 WINEPRELOADER_LDFLAGS="-nostartfiles -nodefaultlibs -e _start -ldylib1.o -mmacosx-version-min=10.7 -Wl,-no_new_main,-segalign,0x1000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist"
9493 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
9494 printf %s "checking whether the compiler supports -Wl,-no_pie... " >&6; }
9495 if test ${ac_cv_cflags__Wl__no_pie+y}
9496 then :
9497 printf %s "(cached) " >&6
9498 else $as_nop
9499 ac_wine_try_cflags_saved=$CFLAGS
9500 CFLAGS="$CFLAGS -Wl,-no_pie"
9501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9502 /* end confdefs.h. */
9503 int main(int argc, char **argv) { return 0; }
9504 _ACEOF
9505 if ac_fn_c_try_link "$LINENO"
9506 then :
9507 ac_cv_cflags__Wl__no_pie=yes
9508 else $as_nop
9509 ac_cv_cflags__Wl__no_pie=no
9511 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9512 conftest$ac_exeext conftest.$ac_ext
9513 CFLAGS=$ac_wine_try_cflags_saved
9515 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
9516 printf "%s\n" "$ac_cv_cflags__Wl__no_pie" >&6; }
9517 if test "x$ac_cv_cflags__Wl__no_pie" = xyes
9518 then :
9519 WINEPRELOADER_LDFLAGS="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
9521 case $host_cpu in
9522 *i[3456]86*)
9523 WINEPRELOADER_LDFLAGS="-Wl,-image_base,0x7d400000 $WINEPRELOADER_LDFLAGS"
9525 *x86_64*)
9526 WINEPRELOADER_LDFLAGS="-Wl,-image_base,0x200000000,-segalign,0x1000,-segaddr,WINE_RESERVE,0x1000 $WINEPRELOADER_LDFLAGS"
9528 esac
9529 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -mmacosx-version-min=10.7"
9530 else
9531 as_fn_append wine_warnings "|can't build Wine preloader; many programs won't work"
9534 if test "x$with_coreaudio" != "xno";
9535 then
9536 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
9538 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
9540 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
9541 then
9542 OPENCL_LIBS="-framework OpenCL"
9544 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
9547 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether MTLDevice protocol supports registryID property" >&5
9548 printf %s "checking whether MTLDevice protocol supports registryID property... " >&6; }
9549 ac_ext=m
9550 ac_cpp='$OBJCPP $CPPFLAGS'
9551 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9552 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9553 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9555 ac_ext=m
9556 ac_cpp='$OBJCPP $CPPFLAGS'
9557 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9558 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9559 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9560 if test -n "$ac_tool_prefix"; then
9561 for ac_prog in gcc objcc objc cc CC clang
9563 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
9564 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
9565 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9566 printf %s "checking for $ac_word... " >&6; }
9567 if test ${ac_cv_prog_OBJC+y}
9568 then :
9569 printf %s "(cached) " >&6
9570 else $as_nop
9571 if test -n "$OBJC"; then
9572 ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
9573 else
9574 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9575 for as_dir in $PATH
9577 IFS=$as_save_IFS
9578 case $as_dir in #(((
9579 '') as_dir=./ ;;
9580 */) ;;
9581 *) as_dir=$as_dir/ ;;
9582 esac
9583 for ac_exec_ext in '' $ac_executable_extensions; do
9584 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9585 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
9586 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9587 break 2
9589 done
9590 done
9591 IFS=$as_save_IFS
9595 OBJC=$ac_cv_prog_OBJC
9596 if test -n "$OBJC"; then
9597 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
9598 printf "%s\n" "$OBJC" >&6; }
9599 else
9600 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9601 printf "%s\n" "no" >&6; }
9605 test -n "$OBJC" && break
9606 done
9608 if test -z "$OBJC"; then
9609 ac_ct_OBJC=$OBJC
9610 for ac_prog in gcc objcc objc cc CC clang
9612 # Extract the first word of "$ac_prog", so it can be a program name with args.
9613 set dummy $ac_prog; ac_word=$2
9614 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9615 printf %s "checking for $ac_word... " >&6; }
9616 if test ${ac_cv_prog_ac_ct_OBJC+y}
9617 then :
9618 printf %s "(cached) " >&6
9619 else $as_nop
9620 if test -n "$ac_ct_OBJC"; then
9621 ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
9622 else
9623 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9624 for as_dir in $PATH
9626 IFS=$as_save_IFS
9627 case $as_dir in #(((
9628 '') as_dir=./ ;;
9629 */) ;;
9630 *) as_dir=$as_dir/ ;;
9631 esac
9632 for ac_exec_ext in '' $ac_executable_extensions; do
9633 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9634 ac_cv_prog_ac_ct_OBJC="$ac_prog"
9635 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9636 break 2
9638 done
9639 done
9640 IFS=$as_save_IFS
9644 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
9645 if test -n "$ac_ct_OBJC"; then
9646 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
9647 printf "%s\n" "$ac_ct_OBJC" >&6; }
9648 else
9649 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9650 printf "%s\n" "no" >&6; }
9654 test -n "$ac_ct_OBJC" && break
9655 done
9657 if test "x$ac_ct_OBJC" = x; then
9658 OBJC="gcc"
9659 else
9660 case $cross_compiling:$ac_tool_warned in
9661 yes:)
9662 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9663 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9664 ac_tool_warned=yes ;;
9665 esac
9666 OBJC=$ac_ct_OBJC
9670 # Provide some information about the compiler.
9671 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
9672 set X $ac_compile
9673 ac_compiler=$2
9674 for ac_option in --version -v -V -qversion; do
9675 { { ac_try="$ac_compiler $ac_option >&5"
9676 case "(($ac_try" in
9677 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9678 *) ac_try_echo=$ac_try;;
9679 esac
9680 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
9681 printf "%s\n" "$ac_try_echo"; } >&5
9682 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
9683 ac_status=$?
9684 if test -s conftest.err; then
9685 sed '10a\
9686 ... rest of stderr output deleted ...
9687 10q' conftest.err >conftest.er1
9688 cat conftest.er1 >&5
9690 rm -f conftest.er1 conftest.err
9691 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9692 test $ac_status = 0; }
9693 done
9695 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU Objective C" >&5
9696 printf %s "checking whether the compiler supports GNU Objective C... " >&6; }
9697 if test ${ac_cv_objc_compiler_gnu+y}
9698 then :
9699 printf %s "(cached) " >&6
9700 else $as_nop
9701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9702 /* end confdefs.h. */
9705 main (void)
9707 #ifndef __GNUC__
9708 choke me
9709 #endif
9712 return 0;
9714 _ACEOF
9715 if ac_fn_objc_try_compile "$LINENO"
9716 then :
9717 ac_compiler_gnu=yes
9718 else $as_nop
9719 ac_compiler_gnu=no
9721 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9722 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
9725 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
9726 printf "%s\n" "$ac_cv_objc_compiler_gnu" >&6; }
9727 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9729 if test $ac_compiler_gnu = yes; then
9730 GOBJC=yes
9731 else
9732 GOBJC=
9734 ac_test_OBJCFLAGS=${OBJCFLAGS+y}
9735 ac_save_OBJCFLAGS=$OBJCFLAGS
9736 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
9737 printf %s "checking whether $OBJC accepts -g... " >&6; }
9738 if test ${ac_cv_prog_objc_g+y}
9739 then :
9740 printf %s "(cached) " >&6
9741 else $as_nop
9742 ac_save_objc_werror_flag=$ac_objc_werror_flag
9743 ac_objc_werror_flag=yes
9744 ac_cv_prog_objc_g=no
9745 OBJCFLAGS="-g"
9746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9747 /* end confdefs.h. */
9750 main (void)
9754 return 0;
9756 _ACEOF
9757 if ac_fn_objc_try_compile "$LINENO"
9758 then :
9759 ac_cv_prog_objc_g=yes
9760 else $as_nop
9761 OBJCFLAGS=""
9762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9763 /* end confdefs.h. */
9766 main (void)
9770 return 0;
9772 _ACEOF
9773 if ac_fn_objc_try_compile "$LINENO"
9774 then :
9776 else $as_nop
9777 ac_objc_werror_flag=$ac_save_objc_werror_flag
9778 OBJCFLAGS="-g"
9779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9780 /* end confdefs.h. */
9783 main (void)
9787 return 0;
9789 _ACEOF
9790 if ac_fn_objc_try_compile "$LINENO"
9791 then :
9792 ac_cv_prog_objc_g=yes
9794 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9796 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9798 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9799 ac_objc_werror_flag=$ac_save_objc_werror_flag
9801 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
9802 printf "%s\n" "$ac_cv_prog_objc_g" >&6; }
9803 if test $ac_test_OBJCFLAGS; then
9804 OBJCFLAGS=$ac_save_OBJCFLAGS
9805 elif test $ac_cv_prog_objc_g = yes; then
9806 if test "$GOBJC" = yes; then
9807 OBJCFLAGS="-g -O2"
9808 else
9809 OBJCFLAGS="-g"
9811 else
9812 if test "$GOBJC" = yes; then
9813 OBJCFLAGS="-O2"
9814 else
9815 OBJCFLAGS=
9818 ac_ext=m
9819 ac_cpp='$OBJCPP $CPPFLAGS'
9820 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9821 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9822 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9826 /* end confdefs.h. */
9827 #include <Metal/Metal.h>
9829 main (void)
9831 id<MTLDevice> device; device.registryID;
9833 return 0;
9835 _ACEOF
9836 if ac_fn_objc_try_compile "$LINENO"
9837 then :
9838 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9839 printf "%s\n" "yes" >&6; }
9841 printf "%s\n" "#define HAVE_MTLDEVICE_REGISTRYID 1" >>confdefs.h
9843 else $as_nop
9844 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9845 printf "%s\n" "no" >&6; }
9847 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9848 ac_ext=c
9849 ac_cpp='$CPP $CPPFLAGS'
9850 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9851 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9852 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9855 UNIXLDFLAGS="-dynamiclib -install_name @rpath/\$(UNIXLIB) -Wl,-rpath,@loader_path\/"
9856 WINELOADER_DEPENDS="wine_info.plist"
9860 linux-android*)
9862 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
9864 DLLFLAGS="$DLLFLAGS -fPIC"
9865 LDDLLFLAGS="-fPIC"
9866 LDEXECFLAGS="-Wl,-pie"
9867 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
9868 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
9869 printf %s "checking whether the compiler supports -Wl,-z,defs... " >&6; }
9870 if test ${ac_cv_cflags__Wl__z_defs+y}
9871 then :
9872 printf %s "(cached) " >&6
9873 else $as_nop
9874 ac_wine_try_cflags_saved=$CFLAGS
9875 CFLAGS="$CFLAGS -Wl,-z,defs"
9876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9877 /* end confdefs.h. */
9878 int main(int argc, char **argv) { return 0; }
9879 _ACEOF
9880 if ac_fn_c_try_link "$LINENO"
9881 then :
9882 ac_cv_cflags__Wl__z_defs=yes
9883 else $as_nop
9884 ac_cv_cflags__Wl__z_defs=no
9886 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9887 conftest$ac_exeext conftest.$ac_ext
9888 CFLAGS=$ac_wine_try_cflags_saved
9890 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
9891 printf "%s\n" "$ac_cv_cflags__Wl__z_defs" >&6; }
9892 if test "x$ac_cv_cflags__Wl__z_defs" = xyes
9893 then :
9894 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
9896 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
9897 printf %s "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
9898 if test ${ac_cv_cflags__fPIC__Wl___export_dynamic+y}
9899 then :
9900 printf %s "(cached) " >&6
9901 else $as_nop
9902 ac_wine_try_cflags_saved=$CFLAGS
9903 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
9904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9905 /* end confdefs.h. */
9906 int main(int argc, char **argv) { return 0; }
9907 _ACEOF
9908 if ac_fn_c_try_link "$LINENO"
9909 then :
9910 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
9911 else $as_nop
9912 ac_cv_cflags__fPIC__Wl___export_dynamic=no
9914 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9915 conftest$ac_exeext conftest.$ac_ext
9916 CFLAGS=$ac_wine_try_cflags_saved
9918 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
9919 printf "%s\n" "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
9920 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
9921 then :
9922 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9924 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
9926 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
9927 printf %s "checking for -lEGL... " >&6; }
9928 if test ${ac_cv_lib_soname_EGL+y}
9929 then :
9930 printf %s "(cached) " >&6
9931 else $as_nop
9932 ac_check_soname_save_LIBS=$LIBS
9933 LIBS="-lEGL $LIBS"
9934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9935 /* end confdefs.h. */
9937 /* Override any GCC internal prototype to avoid an error.
9938 Use char because int might match the return type of a GCC
9939 builtin and then its argument prototype would still apply. */
9940 char eglGetProcAddress ();
9942 main (void)
9944 return eglGetProcAddress ();
9946 return 0;
9948 _ACEOF
9949 if ac_fn_c_try_link "$LINENO"
9950 then :
9951 case "$LIBEXT" in
9952 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9953 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'` ;;
9954 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9955 if ${ac_cv_lib_soname_EGL:+false} :
9956 then :
9957 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9958 fi ;;
9959 esac
9960 else $as_nop
9961 ac_cv_lib_soname_EGL=
9963 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9964 conftest$ac_exeext conftest.$ac_ext
9965 LIBS=$ac_check_soname_save_LIBS
9967 if ${ac_cv_lib_soname_EGL:+false} :
9968 then :
9969 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9970 printf "%s\n" "not found" >&6; }
9972 else $as_nop
9973 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
9974 printf "%s\n" "$ac_cv_lib_soname_EGL" >&6; }
9976 printf "%s\n" "#define SONAME_LIBEGL \"$ac_cv_lib_soname_EGL\"" >>confdefs.h
9980 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
9981 printf %s "checking for -lGLESv2... " >&6; }
9982 if test ${ac_cv_lib_soname_GLESv2+y}
9983 then :
9984 printf %s "(cached) " >&6
9985 else $as_nop
9986 ac_check_soname_save_LIBS=$LIBS
9987 LIBS="-lGLESv2 $LIBS"
9988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9989 /* end confdefs.h. */
9991 /* Override any GCC internal prototype to avoid an error.
9992 Use char because int might match the return type of a GCC
9993 builtin and then its argument prototype would still apply. */
9994 char glFlush ();
9996 main (void)
9998 return glFlush ();
10000 return 0;
10002 _ACEOF
10003 if ac_fn_c_try_link "$LINENO"
10004 then :
10005 case "$LIBEXT" in
10006 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10007 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'` ;;
10008 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10009 if ${ac_cv_lib_soname_GLESv2:+false} :
10010 then :
10011 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10012 fi ;;
10013 esac
10014 else $as_nop
10015 ac_cv_lib_soname_GLESv2=
10017 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10018 conftest$ac_exeext conftest.$ac_ext
10019 LIBS=$ac_check_soname_save_LIBS
10021 if ${ac_cv_lib_soname_GLESv2:+false} :
10022 then :
10023 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10024 printf "%s\n" "not found" >&6; }
10026 else $as_nop
10027 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
10028 printf "%s\n" "$ac_cv_lib_soname_GLESv2" >&6; }
10030 printf "%s\n" "#define SONAME_LIBGLESV2 \"$ac_cv_lib_soname_GLESv2\"" >>confdefs.h
10035 if test "x$exec_prefix" = xNONE
10036 then
10037 case $host_cpu in
10038 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
10039 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
10040 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
10041 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
10042 esac
10048 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
10050 test "$ac_cv_sys_file_offset_bits" = 64 &&
10051 printf "%s\n" "#define _TIME_BITS 64" >>confdefs.h
10053 case $host_cpu in
10054 *i[3456789]86*)
10055 DLLFLAGS="$DLLFLAGS -fno-PIC"
10056 LDDLLFLAGS="-fno-PIC"
10057 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-PIC -Wl,-z,notext" >&5
10058 printf %s "checking whether the compiler supports -fno-PIC -Wl,-z,notext... " >&6; }
10059 if test ${ac_cv_cflags__fno_PIC__Wl__z_notext+y}
10060 then :
10061 printf %s "(cached) " >&6
10062 else $as_nop
10063 ac_wine_try_cflags_saved=$CFLAGS
10064 CFLAGS="$CFLAGS -fno-PIC -Wl,-z,notext"
10065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10066 /* end confdefs.h. */
10067 int main(int argc, char **argv) { return 0; }
10068 _ACEOF
10069 if ac_fn_c_try_link "$LINENO"
10070 then :
10071 ac_cv_cflags__fno_PIC__Wl__z_notext=yes
10072 else $as_nop
10073 ac_cv_cflags__fno_PIC__Wl__z_notext=no
10075 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10076 conftest$ac_exeext conftest.$ac_ext
10077 CFLAGS=$ac_wine_try_cflags_saved
10079 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_PIC__Wl__z_notext" >&5
10080 printf "%s\n" "$ac_cv_cflags__fno_PIC__Wl__z_notext" >&6; }
10081 if test "x$ac_cv_cflags__fno_PIC__Wl__z_notext" = xyes
10082 then :
10083 LDDLLFLAGS="$LDDLLFLAGS -Wl,-z,notext"
10087 DLLFLAGS="$DLLFLAGS -fPIC"
10088 LDDLLFLAGS="-fPIC" ;;
10089 esac
10091 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
10092 printf %s "checking whether the compiler supports -Wl,-z,defs... " >&6; }
10093 if test ${ac_cv_cflags__Wl__z_defs+y}
10094 then :
10095 printf %s "(cached) " >&6
10096 else $as_nop
10097 ac_wine_try_cflags_saved=$CFLAGS
10098 CFLAGS="$CFLAGS -Wl,-z,defs"
10099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10100 /* end confdefs.h. */
10101 int main(int argc, char **argv) { return 0; }
10102 _ACEOF
10103 if ac_fn_c_try_link "$LINENO"
10104 then :
10105 ac_cv_cflags__Wl__z_defs=yes
10106 else $as_nop
10107 ac_cv_cflags__Wl__z_defs=no
10109 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10110 conftest$ac_exeext conftest.$ac_ext
10111 CFLAGS=$ac_wine_try_cflags_saved
10113 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
10114 printf "%s\n" "$ac_cv_cflags__Wl__z_defs" >&6; }
10115 if test "x$ac_cv_cflags__Wl__z_defs" = xyes
10116 then :
10117 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
10119 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--export-dynamic" >&5
10120 printf %s "checking whether the compiler supports -Wl,--export-dynamic... " >&6; }
10121 if test ${ac_cv_cflags__Wl___export_dynamic+y}
10122 then :
10123 printf %s "(cached) " >&6
10124 else $as_nop
10125 ac_wine_try_cflags_saved=$CFLAGS
10126 CFLAGS="$CFLAGS -Wl,--export-dynamic"
10127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10128 /* end confdefs.h. */
10129 int main(int argc, char **argv) { return 0; }
10130 _ACEOF
10131 if ac_fn_c_try_link "$LINENO"
10132 then :
10133 ac_cv_cflags__Wl___export_dynamic=yes
10134 else $as_nop
10135 ac_cv_cflags__Wl___export_dynamic=no
10137 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10138 conftest$ac_exeext conftest.$ac_ext
10139 CFLAGS=$ac_wine_try_cflags_saved
10141 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___export_dynamic" >&5
10142 printf "%s\n" "$ac_cv_cflags__Wl___export_dynamic" >&6; }
10143 if test "x$ac_cv_cflags__Wl___export_dynamic" = xyes
10144 then :
10145 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
10147 WINEPRELOADER_LDFLAGS="-nostartfiles -nodefaultlibs"
10149 case $host_os in
10150 linux*)
10151 as_fn_append WINELOADER_LDFLAGS " -pie"
10152 case $HOST_ARCH in
10153 i386|arm)
10154 as_fn_append WINEPRELOADER_LDFLAGS " -static -Wl,-Ttext=0x7d400000" ;;
10156 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -static-pie" >&5
10157 printf %s "checking whether the compiler supports -static-pie... " >&6; }
10158 if test ${ac_cv_cflags__static_pie+y}
10159 then :
10160 printf %s "(cached) " >&6
10161 else $as_nop
10162 ac_wine_try_cflags_saved=$CFLAGS
10163 CFLAGS="$CFLAGS -static-pie"
10164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10165 /* end confdefs.h. */
10166 int main(int argc, char **argv) { return 0; }
10167 _ACEOF
10168 if ac_fn_c_try_link "$LINENO"
10169 then :
10170 ac_cv_cflags__static_pie=yes
10171 else $as_nop
10172 ac_cv_cflags__static_pie=no
10174 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10175 conftest$ac_exeext conftest.$ac_ext
10176 CFLAGS=$ac_wine_try_cflags_saved
10178 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__static_pie" >&5
10179 printf "%s\n" "$ac_cv_cflags__static_pie" >&6; }
10180 if test "x$ac_cv_cflags__static_pie" = xyes
10181 then :
10182 as_fn_append WINEPRELOADER_LDFLAGS " -static-pie"
10183 else $as_nop
10184 as_fn_append WINEPRELOADER_LDFLAGS " -static -Wl,-Ttext=0x7d7d00000000"
10187 esac
10190 case $HOST_ARCH in
10191 i386|arm)
10192 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x60000000" >&5
10193 printf %s "checking whether the compiler supports -Wl,-Ttext-segment=0x60000000... " >&6; }
10194 if test ${ac_cv_cflags__Wl__Ttext_segment_0x60000000+y}
10195 then :
10196 printf %s "(cached) " >&6
10197 else $as_nop
10198 ac_wine_try_cflags_saved=$CFLAGS
10199 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x60000000"
10200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10201 /* end confdefs.h. */
10202 int main(int argc, char **argv) { return 0; }
10203 _ACEOF
10204 if ac_fn_c_try_link "$LINENO"
10205 then :
10206 ac_cv_cflags__Wl__Ttext_segment_0x60000000=yes
10207 else $as_nop
10208 ac_cv_cflags__Wl__Ttext_segment_0x60000000=no
10210 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10211 conftest$ac_exeext conftest.$ac_ext
10212 CFLAGS=$ac_wine_try_cflags_saved
10214 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x60000000" >&5
10215 printf "%s\n" "$ac_cv_cflags__Wl__Ttext_segment_0x60000000" >&6; }
10216 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x60000000" = xyes
10217 then :
10218 as_fn_append WINELOADER_LDFLAGS " -Wl,-Ttext-segment=0x60000000"
10219 else $as_nop
10220 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x60000400" >&5
10221 printf %s "checking whether the compiler supports -Wl,--section-start,.interp=0x60000400... " >&6; }
10222 if test ${ac_cv_cflags__Wl___section_start__interp_0x60000400+y}
10223 then :
10224 printf %s "(cached) " >&6
10225 else $as_nop
10226 ac_wine_try_cflags_saved=$CFLAGS
10227 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x60000400"
10228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10229 /* end confdefs.h. */
10230 int main(int argc, char **argv) { return 0; }
10231 _ACEOF
10232 if ac_fn_c_try_link "$LINENO"
10233 then :
10234 ac_cv_cflags__Wl___section_start__interp_0x60000400=yes
10235 else $as_nop
10236 ac_cv_cflags__Wl___section_start__interp_0x60000400=no
10238 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10239 conftest$ac_exeext conftest.$ac_ext
10240 CFLAGS=$ac_wine_try_cflags_saved
10242 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x60000400" >&5
10243 printf "%s\n" "$ac_cv_cflags__Wl___section_start__interp_0x60000400" >&6; }
10244 if test "x$ac_cv_cflags__Wl___section_start__interp_0x60000400" = xyes
10245 then :
10246 as_fn_append WINELOADER_LDFLAGS " -Wl,--section-start,.interp=0x60000400"
10251 as_fn_append WINELOADER_LDFLAGS " -pie"
10253 esac
10255 esac
10257 esac
10259 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
10260 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
10261 enable_winemac_drv=${enable_winemac_drv:-no}
10263 PE_ARCHS=""
10265 cross_archs=
10266 if test ${enable_archs+y}
10267 then :
10268 test "x$with_system_dllpath" = "x" || as_fn_error $? "\"The --with-system-dllpath option is not compatible with --enable-archs\"" "$LINENO" 5
10269 ac_save_IFS=$IFS
10270 IFS=' ,'
10271 set x $enable_archs
10272 IFS=$ac_save_IFS
10273 shift
10274 for arch
10276 case $arch in
10277 i386|x86_64|arm|aarch64) cross_archs="$cross_archs $arch" ;;
10278 *) as_fn_error $? "Unknown cross-compilation architecture '$arch'" "$LINENO" 5 ;;
10279 esac
10280 done
10281 else $as_nop
10282 if test "x$with_mingw" != xno
10283 then
10284 test $HOST_ARCH = unknown || cross_archs=$HOST_ARCH
10288 for wine_arch in $cross_archs
10290 case "x$with_mingw" in
10291 xclang|x*/clang) eval "${wine_arch}_CC=\$with_mingw" ;;
10292 esac
10293 if eval \${${wine_arch}_CC:+false} :
10294 then :
10295 case $wine_arch in
10296 aarch64)
10297 for ac_prog in aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc clang
10299 # Extract the first word of "$ac_prog", so it can be a program name with args.
10300 set dummy $ac_prog; ac_word=$2
10301 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10302 printf %s "checking for $ac_word... " >&6; }
10303 if test ${ac_cv_prog_aarch64_CC+y}
10304 then :
10305 printf %s "(cached) " >&6
10306 else $as_nop
10307 if test -n "$aarch64_CC"; then
10308 ac_cv_prog_aarch64_CC="$aarch64_CC" # Let the user override the test.
10309 else
10310 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10311 for as_dir in $PATH
10313 IFS=$as_save_IFS
10314 case $as_dir in #(((
10315 '') as_dir=./ ;;
10316 */) ;;
10317 *) as_dir=$as_dir/ ;;
10318 esac
10319 for ac_exec_ext in '' $ac_executable_extensions; do
10320 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10321 ac_cv_prog_aarch64_CC="$ac_prog"
10322 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10323 break 2
10325 done
10326 done
10327 IFS=$as_save_IFS
10331 aarch64_CC=$ac_cv_prog_aarch64_CC
10332 if test -n "$aarch64_CC"; then
10333 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $aarch64_CC" >&5
10334 printf "%s\n" "$aarch64_CC" >&6; }
10335 else
10336 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10337 printf "%s\n" "no" >&6; }
10341 test -n "$aarch64_CC" && break
10342 done
10343 test -n "$aarch64_CC" || aarch64_CC="false"
10346 arm)
10347 for ac_prog in armv7-w64-mingw32-clang armv7-w64-mingw32-gcc clang
10349 # Extract the first word of "$ac_prog", so it can be a program name with args.
10350 set dummy $ac_prog; ac_word=$2
10351 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10352 printf %s "checking for $ac_word... " >&6; }
10353 if test ${ac_cv_prog_arm_CC+y}
10354 then :
10355 printf %s "(cached) " >&6
10356 else $as_nop
10357 if test -n "$arm_CC"; then
10358 ac_cv_prog_arm_CC="$arm_CC" # Let the user override the test.
10359 else
10360 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10361 for as_dir in $PATH
10363 IFS=$as_save_IFS
10364 case $as_dir in #(((
10365 '') as_dir=./ ;;
10366 */) ;;
10367 *) as_dir=$as_dir/ ;;
10368 esac
10369 for ac_exec_ext in '' $ac_executable_extensions; do
10370 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10371 ac_cv_prog_arm_CC="$ac_prog"
10372 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10373 break 2
10375 done
10376 done
10377 IFS=$as_save_IFS
10381 arm_CC=$ac_cv_prog_arm_CC
10382 if test -n "$arm_CC"; then
10383 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $arm_CC" >&5
10384 printf "%s\n" "$arm_CC" >&6; }
10385 else
10386 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10387 printf "%s\n" "no" >&6; }
10391 test -n "$arm_CC" && break
10392 done
10393 test -n "$arm_CC" || arm_CC="false"
10396 i386)
10397 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 "
10398 for ac_prog in $ac_prefix_list clang
10400 # Extract the first word of "$ac_prog", so it can be a program name with args.
10401 set dummy $ac_prog; ac_word=$2
10402 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10403 printf %s "checking for $ac_word... " >&6; }
10404 if test ${ac_cv_prog_i386_CC+y}
10405 then :
10406 printf %s "(cached) " >&6
10407 else $as_nop
10408 if test -n "$i386_CC"; then
10409 ac_cv_prog_i386_CC="$i386_CC" # Let the user override the test.
10410 else
10411 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10412 for as_dir in $PATH
10414 IFS=$as_save_IFS
10415 case $as_dir in #(((
10416 '') as_dir=./ ;;
10417 */) ;;
10418 *) as_dir=$as_dir/ ;;
10419 esac
10420 for ac_exec_ext in '' $ac_executable_extensions; do
10421 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10422 ac_cv_prog_i386_CC="$ac_prog"
10423 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10424 break 2
10426 done
10427 done
10428 IFS=$as_save_IFS
10432 i386_CC=$ac_cv_prog_i386_CC
10433 if test -n "$i386_CC"; then
10434 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $i386_CC" >&5
10435 printf "%s\n" "$i386_CC" >&6; }
10436 else
10437 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10438 printf "%s\n" "no" >&6; }
10442 test -n "$i386_CC" && break
10443 done
10444 test -n "$i386_CC" || i386_CC="false"
10447 x86_64)
10448 ac_prefix_list="x86_64-w64-mingw32-gcc amd64-w64-mingw32-gcc x86_64-w64-mingw32-clang amd64-w64-mingw32-clang "
10449 for ac_prog in $ac_prefix_list clang
10451 # Extract the first word of "$ac_prog", so it can be a program name with args.
10452 set dummy $ac_prog; ac_word=$2
10453 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10454 printf %s "checking for $ac_word... " >&6; }
10455 if test ${ac_cv_prog_x86_64_CC+y}
10456 then :
10457 printf %s "(cached) " >&6
10458 else $as_nop
10459 if test -n "$x86_64_CC"; then
10460 ac_cv_prog_x86_64_CC="$x86_64_CC" # Let the user override the test.
10461 else
10462 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10463 for as_dir in $PATH
10465 IFS=$as_save_IFS
10466 case $as_dir in #(((
10467 '') as_dir=./ ;;
10468 */) ;;
10469 *) as_dir=$as_dir/ ;;
10470 esac
10471 for ac_exec_ext in '' $ac_executable_extensions; do
10472 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10473 ac_cv_prog_x86_64_CC="$ac_prog"
10474 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10475 break 2
10477 done
10478 done
10479 IFS=$as_save_IFS
10483 x86_64_CC=$ac_cv_prog_x86_64_CC
10484 if test -n "$x86_64_CC"; then
10485 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $x86_64_CC" >&5
10486 printf "%s\n" "$x86_64_CC" >&6; }
10487 else
10488 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10489 printf "%s\n" "no" >&6; }
10493 test -n "$x86_64_CC" && break
10494 done
10495 test -n "$x86_64_CC" || x86_64_CC="false"
10498 esac
10501 if eval test \"x\$"${wine_arch}_CC"\" = x"false"
10502 then :
10503 continue
10506 saved_CC=$CC
10507 saved_CFLAGS=$CFLAGS
10508 saved_LDFLAGS=$LDFLAGS
10510 CFLAGS=${CROSSCFLAGS:-"-g -O2"}
10511 LDFLAGS=$CROSSLDFLAGS
10512 eval CC=\$${wine_arch}_CC
10513 eval ${wine_arch}_CFLAGS=\$CFLAGS
10514 eval ${wine_arch}_LDFLAGS=\$LDFLAGS
10515 eval "${wine_arch}_EXTRACFLAGS=\"-D__WINE_PE_BUILD -Wall\""
10517 target=""
10518 as_wine_cv_crosscc=`printf "%s\n" "ac_cv_${wine_arch}_crosscc" | $as_tr_sh`
10520 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
10521 printf %s "checking whether $CC works... " >&6; }
10522 if eval test \${$as_wine_cv_crosscc+y}
10523 then :
10524 printf %s "(cached) " >&6
10525 else $as_nop
10526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10527 /* end confdefs.h. */
10530 main (void)
10534 return 0;
10536 _ACEOF
10537 if ac_fn_c_try_compile "$LINENO"
10538 then :
10539 eval "$as_wine_cv_crosscc=yes"
10540 else $as_nop
10541 eval "$as_wine_cv_crosscc=no"
10543 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10545 eval ac_res=\$$as_wine_cv_crosscc
10546 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10547 printf "%s\n" "$ac_res" >&6; }
10548 if eval test \"x\$"$as_wine_cv_crosscc"\" = x"yes"
10549 then :
10550 set x $CC
10551 shift
10552 while test $# -ge 1
10554 case "$1" in
10555 *-gcc) target=`expr "$1" : '\(.*\)-gcc'` ;;
10556 *-clang) target=`expr "$1" : '\(.*\)-clang'` ;;
10557 esac
10558 shift
10559 done
10561 llvm_target=$target
10562 if test -z "$llvm_target"
10563 then
10564 case $wine_arch in
10565 i386) llvm_target=i686-windows ;;
10566 arm) llvm_target=armv7-windows ;;
10567 *) llvm_target=$wine_arch-windows ;;
10568 esac
10570 llvm_extra_cflags="-target $llvm_target -fuse-ld=lld"
10571 case $llvm_target in
10572 *windows) llvm_cflags="-Wl,-subsystem:console -Wl,-WX" ;;
10573 esac
10574 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_$llvm_extra_cflags $llvm_cflags" | $as_tr_sh`
10575 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports $llvm_extra_cflags $llvm_cflags" >&5
10576 printf %s "checking whether $CC supports $llvm_extra_cflags $llvm_cflags... " >&6; }
10577 if eval test \${$as_ac_var+y}
10578 then :
10579 printf %s "(cached) " >&6
10580 else $as_nop
10581 ac_wine_try_cflags_saved=$CFLAGS
10582 ac_wine_try_cflags_saved_exeext=$ac_exeext
10583 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs $llvm_extra_cflags $llvm_cflags"
10584 ac_exeext=".exe"
10585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10586 /* end confdefs.h. */
10587 int __cdecl mainCRTStartup(void) { return 0; }
10588 _ACEOF
10589 if ac_fn_c_try_link "$LINENO"
10590 then :
10591 eval "$as_ac_var=yes"
10592 else $as_nop
10593 eval "$as_ac_var=no"
10595 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10596 conftest$ac_exeext conftest.$ac_ext
10597 CFLAGS=$ac_wine_try_cflags_saved
10598 ac_exeext=$ac_wine_try_cflags_saved_exeext
10600 eval ac_res=\$$as_ac_var
10601 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10602 printf "%s\n" "$ac_res" >&6; }
10603 if eval test \"x\$"$as_ac_var"\" = x"yes"
10604 then :
10605 target=$llvm_target
10606 eval "${wine_arch}_DELAYLOADFLAG=\"-Wl,-delayload,\""
10607 as_fn_append ${wine_arch}_EXTRACFLAGS " $llvm_extra_cflags"
10608 CFLAGS="$llvm_extra_cflags $llvm_cflags"
10609 fi }
10610 eval "${wine_arch}_TARGET=\$target"
10614 if test -z "$target"
10615 then
10616 CC=$saved_CC
10617 CFLAGS=$saved_CFLAGS
10618 LDFLAGS=$saved_LDFLAGS
10619 continue
10622 as_wine_cv_crosscc_c99=`printf "%s\n" "ac_cv_${wine_arch}_crosscc_c99" | $as_tr_sh`
10624 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
10625 printf %s "checking for $CC option to enable C99 features... " >&6; }
10626 if eval test \${$as_wine_cv_crosscc_c99+y}
10627 then :
10628 printf %s "(cached) " >&6
10629 else $as_nop
10630 eval "$as_wine_cv_crosscc_c99=no"
10631 for arg in '' '-std=gnu99' '-D__STDC__'
10633 test -z "$arg" || CC="$CC $arg"
10634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10635 /* end confdefs.h. */
10636 $ac_c_conftest_c99_program
10637 _ACEOF
10638 if ac_fn_c_try_compile "$LINENO"
10639 then :
10640 eval "$as_wine_cv_crosscc_c99=\$arg"
10641 else $as_nop
10642 eval "$as_wine_cv_crosscc_c99=no"
10644 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10645 eval CC=\$${wine_arch}_CC
10646 if eval test \"x\$"$as_wine_cv_crosscc_c99"\" = x"no"
10647 then :
10649 else $as_nop
10650 break
10652 done
10655 eval res=\$$as_wine_cv_crosscc_c99
10657 case "x$res" in
10658 x) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
10659 printf "%s\n" "none needed" >&6; } ;;
10660 xno) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
10661 printf "%s\n" "unsupported" >&6; }
10662 CC=$saved_CC
10663 CFLAGS=$saved_CFLAGS
10664 LDFLAGS=$saved_LDFLAGS
10665 continue
10667 x*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $res" >&5
10668 printf "%s\n" "$res" >&6; }
10669 as_fn_append ${wine_arch}_CC " $res" ;;
10670 esac
10672 as_fn_append PE_ARCHS " $wine_arch"
10673 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-fno-strict-aliasing" | $as_tr_sh`
10674 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -fno-strict-aliasing" >&5
10675 printf %s "checking whether $CC supports -fno-strict-aliasing... " >&6; }
10676 if eval test \${$as_ac_var+y}
10677 then :
10678 printf %s "(cached) " >&6
10679 else $as_nop
10680 ac_wine_try_cflags_saved=$CFLAGS
10681 ac_wine_try_cflags_saved_exeext=$ac_exeext
10682 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -fno-strict-aliasing"
10683 ac_exeext=".exe"
10684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10685 /* end confdefs.h. */
10686 int __cdecl mainCRTStartup(void) { return 0; }
10687 _ACEOF
10688 if ac_fn_c_try_link "$LINENO"
10689 then :
10690 eval "$as_ac_var=yes"
10691 else $as_nop
10692 eval "$as_ac_var=no"
10694 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10695 conftest$ac_exeext conftest.$ac_ext
10696 CFLAGS=$ac_wine_try_cflags_saved
10697 ac_exeext=$ac_wine_try_cflags_saved_exeext
10699 eval ac_res=\$$as_ac_var
10700 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10701 printf "%s\n" "$ac_res" >&6; }
10702 if eval test \"x\$"$as_ac_var"\" = x"yes"
10703 then :
10704 as_fn_append ${wine_arch}_EXTRACFLAGS " -fno-strict-aliasing"
10705 fi }
10706 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror=unknown-warning-option" | $as_tr_sh`
10707 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror=unknown-warning-option" >&5
10708 printf %s "checking whether $CC supports -Werror=unknown-warning-option... " >&6; }
10709 if eval test \${$as_ac_var+y}
10710 then :
10711 printf %s "(cached) " >&6
10712 else $as_nop
10713 ac_wine_try_cflags_saved=$CFLAGS
10714 ac_wine_try_cflags_saved_exeext=$ac_exeext
10715 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Werror=unknown-warning-option"
10716 ac_exeext=".exe"
10717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10718 /* end confdefs.h. */
10719 int __cdecl mainCRTStartup(void) { return 0; }
10720 _ACEOF
10721 if ac_fn_c_try_link "$LINENO"
10722 then :
10723 eval "$as_ac_var=yes"
10724 else $as_nop
10725 eval "$as_ac_var=no"
10727 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10728 conftest$ac_exeext conftest.$ac_ext
10729 CFLAGS=$ac_wine_try_cflags_saved
10730 ac_exeext=$ac_wine_try_cflags_saved_exeext
10732 eval ac_res=\$$as_ac_var
10733 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10734 printf "%s\n" "$ac_res" >&6; }
10735 if eval test \"x\$"$as_ac_var"\" = x"yes"
10736 then :
10737 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
10738 fi }
10739 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror=ignored-optimization-argument" | $as_tr_sh`
10740 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror=ignored-optimization-argument" >&5
10741 printf %s "checking whether $CC supports -Werror=ignored-optimization-argument... " >&6; }
10742 if eval test \${$as_ac_var+y}
10743 then :
10744 printf %s "(cached) " >&6
10745 else $as_nop
10746 ac_wine_try_cflags_saved=$CFLAGS
10747 ac_wine_try_cflags_saved_exeext=$ac_exeext
10748 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Werror=ignored-optimization-argument"
10749 ac_exeext=".exe"
10750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10751 /* end confdefs.h. */
10752 int __cdecl mainCRTStartup(void) { return 0; }
10753 _ACEOF
10754 if ac_fn_c_try_link "$LINENO"
10755 then :
10756 eval "$as_ac_var=yes"
10757 else $as_nop
10758 eval "$as_ac_var=no"
10760 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10761 conftest$ac_exeext conftest.$ac_ext
10762 CFLAGS=$ac_wine_try_cflags_saved
10763 ac_exeext=$ac_wine_try_cflags_saved_exeext
10765 eval ac_res=\$$as_ac_var
10766 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10767 printf "%s\n" "$ac_res" >&6; }
10768 if eval test \"x\$"$as_ac_var"\" = x"yes"
10769 then :
10770 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
10771 fi }
10772 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wdeclaration-after-statement" | $as_tr_sh`
10773 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wdeclaration-after-statement" >&5
10774 printf %s "checking whether $CC supports -Wdeclaration-after-statement... " >&6; }
10775 if eval test \${$as_ac_var+y}
10776 then :
10777 printf %s "(cached) " >&6
10778 else $as_nop
10779 ac_wine_try_cflags_saved=$CFLAGS
10780 ac_wine_try_cflags_saved_exeext=$ac_exeext
10781 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wdeclaration-after-statement"
10782 ac_exeext=".exe"
10783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10784 /* end confdefs.h. */
10785 int __cdecl mainCRTStartup(void) { return 0; }
10786 _ACEOF
10787 if ac_fn_c_try_link "$LINENO"
10788 then :
10789 eval "$as_ac_var=yes"
10790 else $as_nop
10791 eval "$as_ac_var=no"
10793 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10794 conftest$ac_exeext conftest.$ac_ext
10795 CFLAGS=$ac_wine_try_cflags_saved
10796 ac_exeext=$ac_wine_try_cflags_saved_exeext
10798 eval ac_res=\$$as_ac_var
10799 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10800 printf "%s\n" "$ac_res" >&6; }
10801 if eval test \"x\$"$as_ac_var"\" = x"yes"
10802 then :
10803 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wdeclaration-after-statement"
10804 fi }
10805 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wempty-body" | $as_tr_sh`
10806 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wempty-body" >&5
10807 printf %s "checking whether $CC supports -Wempty-body... " >&6; }
10808 if eval test \${$as_ac_var+y}
10809 then :
10810 printf %s "(cached) " >&6
10811 else $as_nop
10812 ac_wine_try_cflags_saved=$CFLAGS
10813 ac_wine_try_cflags_saved_exeext=$ac_exeext
10814 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wempty-body"
10815 ac_exeext=".exe"
10816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10817 /* end confdefs.h. */
10818 int __cdecl mainCRTStartup(void) { return 0; }
10819 _ACEOF
10820 if ac_fn_c_try_link "$LINENO"
10821 then :
10822 eval "$as_ac_var=yes"
10823 else $as_nop
10824 eval "$as_ac_var=no"
10826 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10827 conftest$ac_exeext conftest.$ac_ext
10828 CFLAGS=$ac_wine_try_cflags_saved
10829 ac_exeext=$ac_wine_try_cflags_saved_exeext
10831 eval ac_res=\$$as_ac_var
10832 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10833 printf "%s\n" "$ac_res" >&6; }
10834 if eval test \"x\$"$as_ac_var"\" = x"yes"
10835 then :
10836 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wempty-body"
10837 fi }
10838 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wignored-qualifiers" | $as_tr_sh`
10839 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wignored-qualifiers" >&5
10840 printf %s "checking whether $CC supports -Wignored-qualifiers... " >&6; }
10841 if eval test \${$as_ac_var+y}
10842 then :
10843 printf %s "(cached) " >&6
10844 else $as_nop
10845 ac_wine_try_cflags_saved=$CFLAGS
10846 ac_wine_try_cflags_saved_exeext=$ac_exeext
10847 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wignored-qualifiers"
10848 ac_exeext=".exe"
10849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10850 /* end confdefs.h. */
10851 int __cdecl mainCRTStartup(void) { return 0; }
10852 _ACEOF
10853 if ac_fn_c_try_link "$LINENO"
10854 then :
10855 eval "$as_ac_var=yes"
10856 else $as_nop
10857 eval "$as_ac_var=no"
10859 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10860 conftest$ac_exeext conftest.$ac_ext
10861 CFLAGS=$ac_wine_try_cflags_saved
10862 ac_exeext=$ac_wine_try_cflags_saved_exeext
10864 eval ac_res=\$$as_ac_var
10865 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10866 printf "%s\n" "$ac_res" >&6; }
10867 if eval test \"x\$"$as_ac_var"\" = x"yes"
10868 then :
10869 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wignored-qualifiers"
10870 fi }
10871 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Winit-self" | $as_tr_sh`
10872 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Winit-self" >&5
10873 printf %s "checking whether $CC supports -Winit-self... " >&6; }
10874 if eval test \${$as_ac_var+y}
10875 then :
10876 printf %s "(cached) " >&6
10877 else $as_nop
10878 ac_wine_try_cflags_saved=$CFLAGS
10879 ac_wine_try_cflags_saved_exeext=$ac_exeext
10880 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Winit-self"
10881 ac_exeext=".exe"
10882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10883 /* end confdefs.h. */
10884 int __cdecl mainCRTStartup(void) { return 0; }
10885 _ACEOF
10886 if ac_fn_c_try_link "$LINENO"
10887 then :
10888 eval "$as_ac_var=yes"
10889 else $as_nop
10890 eval "$as_ac_var=no"
10892 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10893 conftest$ac_exeext conftest.$ac_ext
10894 CFLAGS=$ac_wine_try_cflags_saved
10895 ac_exeext=$ac_wine_try_cflags_saved_exeext
10897 eval ac_res=\$$as_ac_var
10898 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10899 printf "%s\n" "$ac_res" >&6; }
10900 if eval test \"x\$"$as_ac_var"\" = x"yes"
10901 then :
10902 as_fn_append ${wine_arch}_EXTRACFLAGS " -Winit-self"
10903 fi }
10904 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpacked-not-aligned" | $as_tr_sh`
10905 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpacked-not-aligned" >&5
10906 printf %s "checking whether $CC supports -Wpacked-not-aligned... " >&6; }
10907 if eval test \${$as_ac_var+y}
10908 then :
10909 printf %s "(cached) " >&6
10910 else $as_nop
10911 ac_wine_try_cflags_saved=$CFLAGS
10912 ac_wine_try_cflags_saved_exeext=$ac_exeext
10913 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wpacked-not-aligned"
10914 ac_exeext=".exe"
10915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10916 /* end confdefs.h. */
10917 int __cdecl mainCRTStartup(void) { return 0; }
10918 _ACEOF
10919 if ac_fn_c_try_link "$LINENO"
10920 then :
10921 eval "$as_ac_var=yes"
10922 else $as_nop
10923 eval "$as_ac_var=no"
10925 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10926 conftest$ac_exeext conftest.$ac_ext
10927 CFLAGS=$ac_wine_try_cflags_saved
10928 ac_exeext=$ac_wine_try_cflags_saved_exeext
10930 eval ac_res=\$$as_ac_var
10931 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10932 printf "%s\n" "$ac_res" >&6; }
10933 if eval test \"x\$"$as_ac_var"\" = x"yes"
10934 then :
10935 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-packed-not-aligned"
10936 fi }
10937 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpragma-pack" | $as_tr_sh`
10938 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpragma-pack" >&5
10939 printf %s "checking whether $CC supports -Wpragma-pack... " >&6; }
10940 if eval test \${$as_ac_var+y}
10941 then :
10942 printf %s "(cached) " >&6
10943 else $as_nop
10944 ac_wine_try_cflags_saved=$CFLAGS
10945 ac_wine_try_cflags_saved_exeext=$ac_exeext
10946 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wpragma-pack"
10947 ac_exeext=".exe"
10948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10949 /* end confdefs.h. */
10950 int __cdecl mainCRTStartup(void) { return 0; }
10951 _ACEOF
10952 if ac_fn_c_try_link "$LINENO"
10953 then :
10954 eval "$as_ac_var=yes"
10955 else $as_nop
10956 eval "$as_ac_var=no"
10958 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10959 conftest$ac_exeext conftest.$ac_ext
10960 CFLAGS=$ac_wine_try_cflags_saved
10961 ac_exeext=$ac_wine_try_cflags_saved_exeext
10963 eval ac_res=\$$as_ac_var
10964 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10965 printf "%s\n" "$ac_res" >&6; }
10966 if eval test \"x\$"$as_ac_var"\" = x"yes"
10967 then :
10968 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-pragma-pack"
10969 fi }
10970 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wshift-overflow=2" | $as_tr_sh`
10971 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wshift-overflow=2" >&5
10972 printf %s "checking whether $CC supports -Wshift-overflow=2... " >&6; }
10973 if eval test \${$as_ac_var+y}
10974 then :
10975 printf %s "(cached) " >&6
10976 else $as_nop
10977 ac_wine_try_cflags_saved=$CFLAGS
10978 ac_wine_try_cflags_saved_exeext=$ac_exeext
10979 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wshift-overflow=2"
10980 ac_exeext=".exe"
10981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10982 /* end confdefs.h. */
10983 int __cdecl mainCRTStartup(void) { return 0; }
10984 _ACEOF
10985 if ac_fn_c_try_link "$LINENO"
10986 then :
10987 eval "$as_ac_var=yes"
10988 else $as_nop
10989 eval "$as_ac_var=no"
10991 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10992 conftest$ac_exeext conftest.$ac_ext
10993 CFLAGS=$ac_wine_try_cflags_saved
10994 ac_exeext=$ac_wine_try_cflags_saved_exeext
10996 eval ac_res=\$$as_ac_var
10997 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10998 printf "%s\n" "$ac_res" >&6; }
10999 if eval test \"x\$"$as_ac_var"\" = x"yes"
11000 then :
11001 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wshift-overflow=2"
11002 fi }
11003 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wstrict-prototypes" | $as_tr_sh`
11004 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wstrict-prototypes" >&5
11005 printf %s "checking whether $CC supports -Wstrict-prototypes... " >&6; }
11006 if eval test \${$as_ac_var+y}
11007 then :
11008 printf %s "(cached) " >&6
11009 else $as_nop
11010 ac_wine_try_cflags_saved=$CFLAGS
11011 ac_wine_try_cflags_saved_exeext=$ac_exeext
11012 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wstrict-prototypes"
11013 ac_exeext=".exe"
11014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11015 /* end confdefs.h. */
11016 int __cdecl mainCRTStartup(void) { return 0; }
11017 _ACEOF
11018 if ac_fn_c_try_link "$LINENO"
11019 then :
11020 eval "$as_ac_var=yes"
11021 else $as_nop
11022 eval "$as_ac_var=no"
11024 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11025 conftest$ac_exeext conftest.$ac_ext
11026 CFLAGS=$ac_wine_try_cflags_saved
11027 ac_exeext=$ac_wine_try_cflags_saved_exeext
11029 eval ac_res=\$$as_ac_var
11030 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11031 printf "%s\n" "$ac_res" >&6; }
11032 if eval test \"x\$"$as_ac_var"\" = x"yes"
11033 then :
11034 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wstrict-prototypes"
11035 fi }
11036 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wtype-limits" | $as_tr_sh`
11037 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wtype-limits" >&5
11038 printf %s "checking whether $CC supports -Wtype-limits... " >&6; }
11039 if eval test \${$as_ac_var+y}
11040 then :
11041 printf %s "(cached) " >&6
11042 else $as_nop
11043 ac_wine_try_cflags_saved=$CFLAGS
11044 ac_wine_try_cflags_saved_exeext=$ac_exeext
11045 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wtype-limits"
11046 ac_exeext=".exe"
11047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11048 /* end confdefs.h. */
11049 int __cdecl mainCRTStartup(void) { return 0; }
11050 _ACEOF
11051 if ac_fn_c_try_link "$LINENO"
11052 then :
11053 eval "$as_ac_var=yes"
11054 else $as_nop
11055 eval "$as_ac_var=no"
11057 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11058 conftest$ac_exeext conftest.$ac_ext
11059 CFLAGS=$ac_wine_try_cflags_saved
11060 ac_exeext=$ac_wine_try_cflags_saved_exeext
11062 eval ac_res=\$$as_ac_var
11063 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11064 printf "%s\n" "$ac_res" >&6; }
11065 if eval test \"x\$"$as_ac_var"\" = x"yes"
11066 then :
11067 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wtype-limits"
11068 fi }
11069 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wunused-but-set-parameter" | $as_tr_sh`
11070 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wunused-but-set-parameter" >&5
11071 printf %s "checking whether $CC supports -Wunused-but-set-parameter... " >&6; }
11072 if eval test \${$as_ac_var+y}
11073 then :
11074 printf %s "(cached) " >&6
11075 else $as_nop
11076 ac_wine_try_cflags_saved=$CFLAGS
11077 ac_wine_try_cflags_saved_exeext=$ac_exeext
11078 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wunused-but-set-parameter"
11079 ac_exeext=".exe"
11080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11081 /* end confdefs.h. */
11082 int __cdecl mainCRTStartup(void) { return 0; }
11083 _ACEOF
11084 if ac_fn_c_try_link "$LINENO"
11085 then :
11086 eval "$as_ac_var=yes"
11087 else $as_nop
11088 eval "$as_ac_var=no"
11090 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11091 conftest$ac_exeext conftest.$ac_ext
11092 CFLAGS=$ac_wine_try_cflags_saved
11093 ac_exeext=$ac_wine_try_cflags_saved_exeext
11095 eval ac_res=\$$as_ac_var
11096 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11097 printf "%s\n" "$ac_res" >&6; }
11098 if eval test \"x\$"$as_ac_var"\" = x"yes"
11099 then :
11100 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wunused-but-set-parameter"
11101 fi }
11102 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wvla" | $as_tr_sh`
11103 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wvla" >&5
11104 printf %s "checking whether $CC supports -Wvla... " >&6; }
11105 if eval test \${$as_ac_var+y}
11106 then :
11107 printf %s "(cached) " >&6
11108 else $as_nop
11109 ac_wine_try_cflags_saved=$CFLAGS
11110 ac_wine_try_cflags_saved_exeext=$ac_exeext
11111 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wvla"
11112 ac_exeext=".exe"
11113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11114 /* end confdefs.h. */
11115 int __cdecl mainCRTStartup(void) { return 0; }
11116 _ACEOF
11117 if ac_fn_c_try_link "$LINENO"
11118 then :
11119 eval "$as_ac_var=yes"
11120 else $as_nop
11121 eval "$as_ac_var=no"
11123 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11124 conftest$ac_exeext conftest.$ac_ext
11125 CFLAGS=$ac_wine_try_cflags_saved
11126 ac_exeext=$ac_wine_try_cflags_saved_exeext
11128 eval ac_res=\$$as_ac_var
11129 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11130 printf "%s\n" "$ac_res" >&6; }
11131 if eval test \"x\$"$as_ac_var"\" = x"yes"
11132 then :
11133 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wvla"
11134 fi }
11135 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wwrite-strings" | $as_tr_sh`
11136 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wwrite-strings" >&5
11137 printf %s "checking whether $CC supports -Wwrite-strings... " >&6; }
11138 if eval test \${$as_ac_var+y}
11139 then :
11140 printf %s "(cached) " >&6
11141 else $as_nop
11142 ac_wine_try_cflags_saved=$CFLAGS
11143 ac_wine_try_cflags_saved_exeext=$ac_exeext
11144 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wwrite-strings"
11145 ac_exeext=".exe"
11146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11147 /* end confdefs.h. */
11148 int __cdecl mainCRTStartup(void) { return 0; }
11149 _ACEOF
11150 if ac_fn_c_try_link "$LINENO"
11151 then :
11152 eval "$as_ac_var=yes"
11153 else $as_nop
11154 eval "$as_ac_var=no"
11156 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11157 conftest$ac_exeext conftest.$ac_ext
11158 CFLAGS=$ac_wine_try_cflags_saved
11159 ac_exeext=$ac_wine_try_cflags_saved_exeext
11161 eval ac_res=\$$as_ac_var
11162 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11163 printf "%s\n" "$ac_res" >&6; }
11164 if eval test \"x\$"$as_ac_var"\" = x"yes"
11165 then :
11166 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wwrite-strings"
11167 fi }
11168 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpointer-arith" | $as_tr_sh`
11169 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpointer-arith" >&5
11170 printf %s "checking whether $CC supports -Wpointer-arith... " >&6; }
11171 if eval test \${$as_ac_var+y}
11172 then :
11173 printf %s "(cached) " >&6
11174 else $as_nop
11175 ac_wine_try_cflags_saved=$CFLAGS
11176 ac_wine_try_cflags_saved_exeext=$ac_exeext
11177 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wpointer-arith"
11178 ac_exeext=".exe"
11179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11180 /* end confdefs.h. */
11181 int __cdecl mainCRTStartup(void) { return 0; }
11182 _ACEOF
11183 if ac_fn_c_try_link "$LINENO"
11184 then :
11185 eval "$as_ac_var=yes"
11186 else $as_nop
11187 eval "$as_ac_var=no"
11189 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11190 conftest$ac_exeext conftest.$ac_ext
11191 CFLAGS=$ac_wine_try_cflags_saved
11192 ac_exeext=$ac_wine_try_cflags_saved_exeext
11194 eval ac_res=\$$as_ac_var
11195 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11196 printf "%s\n" "$ac_res" >&6; }
11197 if eval test \"x\$"$as_ac_var"\" = x"yes"
11198 then :
11199 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wpointer-arith"
11200 fi }
11201 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wlogical-op" | $as_tr_sh`
11202 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wlogical-op" >&5
11203 printf %s "checking whether $CC supports -Wlogical-op... " >&6; }
11204 if eval test \${$as_ac_var+y}
11205 then :
11206 printf %s "(cached) " >&6
11207 else $as_nop
11208 ac_wine_try_cflags_saved=$CFLAGS
11209 ac_wine_try_cflags_saved_exeext=$ac_exeext
11210 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wlogical-op"
11211 ac_exeext=".exe"
11212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11213 /* end confdefs.h. */
11214 int __cdecl mainCRTStartup(void) { return 0; }
11215 _ACEOF
11216 if ac_fn_c_try_link "$LINENO"
11217 then :
11218 eval "$as_ac_var=yes"
11219 else $as_nop
11220 eval "$as_ac_var=no"
11222 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11223 conftest$ac_exeext conftest.$ac_ext
11224 CFLAGS=$ac_wine_try_cflags_saved
11225 ac_exeext=$ac_wine_try_cflags_saved_exeext
11227 eval ac_res=\$$as_ac_var
11228 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11229 printf "%s\n" "$ac_res" >&6; }
11230 if eval test \"x\$"$as_ac_var"\" = x"yes"
11231 then :
11232 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wlogical-op"
11233 fi }
11234 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wabsolute-value" | $as_tr_sh`
11235 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wabsolute-value" >&5
11236 printf %s "checking whether $CC supports -Wabsolute-value... " >&6; }
11237 if eval test \${$as_ac_var+y}
11238 then :
11239 printf %s "(cached) " >&6
11240 else $as_nop
11241 ac_wine_try_cflags_saved=$CFLAGS
11242 ac_wine_try_cflags_saved_exeext=$ac_exeext
11243 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wabsolute-value"
11244 ac_exeext=".exe"
11245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11246 /* end confdefs.h. */
11247 int __cdecl mainCRTStartup(void) { return 0; }
11248 _ACEOF
11249 if ac_fn_c_try_link "$LINENO"
11250 then :
11251 eval "$as_ac_var=yes"
11252 else $as_nop
11253 eval "$as_ac_var=no"
11255 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11256 conftest$ac_exeext conftest.$ac_ext
11257 CFLAGS=$ac_wine_try_cflags_saved
11258 ac_exeext=$ac_wine_try_cflags_saved_exeext
11260 eval ac_res=\$$as_ac_var
11261 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11262 printf "%s\n" "$ac_res" >&6; }
11263 if eval test \"x\$"$as_ac_var"\" = x"yes"
11264 then :
11265 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wabsolute-value"
11266 fi }
11268 case $wine_arch in
11269 i386) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-fno-omit-frame-pointer" | $as_tr_sh`
11270 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -fno-omit-frame-pointer" >&5
11271 printf %s "checking whether $CC supports -fno-omit-frame-pointer... " >&6; }
11272 if eval test \${$as_ac_var+y}
11273 then :
11274 printf %s "(cached) " >&6
11275 else $as_nop
11276 ac_wine_try_cflags_saved=$CFLAGS
11277 ac_wine_try_cflags_saved_exeext=$ac_exeext
11278 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -fno-omit-frame-pointer"
11279 ac_exeext=".exe"
11280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11281 /* end confdefs.h. */
11282 int __cdecl mainCRTStartup(void) { return 0; }
11283 _ACEOF
11284 if ac_fn_c_try_link "$LINENO"
11285 then :
11286 eval "$as_ac_var=yes"
11287 else $as_nop
11288 eval "$as_ac_var=no"
11290 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11291 conftest$ac_exeext conftest.$ac_ext
11292 CFLAGS=$ac_wine_try_cflags_saved
11293 ac_exeext=$ac_wine_try_cflags_saved_exeext
11295 eval ac_res=\$$as_ac_var
11296 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11297 printf "%s\n" "$ac_res" >&6; }
11298 if eval test \"x\$"$as_ac_var"\" = x"yes"
11299 then :
11300 as_fn_append ${wine_arch}_EXTRACFLAGS " -fno-omit-frame-pointer"
11301 fi }
11302 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wl,--disable-stdcall-fixup" | $as_tr_sh`
11303 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wl,--disable-stdcall-fixup" >&5
11304 printf %s "checking whether $CC supports -Wl,--disable-stdcall-fixup... " >&6; }
11305 if eval test \${$as_ac_var+y}
11306 then :
11307 printf %s "(cached) " >&6
11308 else $as_nop
11309 ac_wine_try_cflags_saved=$CFLAGS
11310 ac_wine_try_cflags_saved_exeext=$ac_exeext
11311 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wl,--disable-stdcall-fixup"
11312 ac_exeext=".exe"
11313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11314 /* end confdefs.h. */
11315 int __cdecl mainCRTStartup(void) { return 0; }
11316 _ACEOF
11317 if ac_fn_c_try_link "$LINENO"
11318 then :
11319 eval "$as_ac_var=yes"
11320 else $as_nop
11321 eval "$as_ac_var=no"
11323 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11324 conftest$ac_exeext conftest.$ac_ext
11325 CFLAGS=$ac_wine_try_cflags_saved
11326 ac_exeext=$ac_wine_try_cflags_saved_exeext
11328 eval ac_res=\$$as_ac_var
11329 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11330 printf "%s\n" "$ac_res" >&6; }
11331 if eval test \"x\$"$as_ac_var"\" = x"yes"
11332 then :
11333 as_fn_append ${wine_arch}_LDFLAGS " -Wl,--disable-stdcall-fixup"
11334 fi } ;;
11335 x86_64) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wformat-overflow" | $as_tr_sh`
11336 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wformat-overflow" >&5
11337 printf %s "checking whether $CC supports -Wformat-overflow... " >&6; }
11338 if eval test \${$as_ac_var+y}
11339 then :
11340 printf %s "(cached) " >&6
11341 else $as_nop
11342 ac_wine_try_cflags_saved=$CFLAGS
11343 ac_wine_try_cflags_saved_exeext=$ac_exeext
11344 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wformat-overflow"
11345 ac_exeext=".exe"
11346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11347 /* end confdefs.h. */
11348 int __cdecl mainCRTStartup(void) { return 0; }
11349 _ACEOF
11350 if ac_fn_c_try_link "$LINENO"
11351 then :
11352 eval "$as_ac_var=yes"
11353 else $as_nop
11354 eval "$as_ac_var=no"
11356 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11357 conftest$ac_exeext conftest.$ac_ext
11358 CFLAGS=$ac_wine_try_cflags_saved
11359 ac_exeext=$ac_wine_try_cflags_saved_exeext
11361 eval ac_res=\$$as_ac_var
11362 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11363 printf "%s\n" "$ac_res" >&6; }
11364 if eval test \"x\$"$as_ac_var"\" = x"yes"
11365 then :
11366 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wformat-overflow"
11367 fi }
11368 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wnonnull" | $as_tr_sh`
11369 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wnonnull" >&5
11370 printf %s "checking whether $CC supports -Wnonnull... " >&6; }
11371 if eval test \${$as_ac_var+y}
11372 then :
11373 printf %s "(cached) " >&6
11374 else $as_nop
11375 ac_wine_try_cflags_saved=$CFLAGS
11376 ac_wine_try_cflags_saved_exeext=$ac_exeext
11377 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wnonnull"
11378 ac_exeext=".exe"
11379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11380 /* end confdefs.h. */
11381 int __cdecl mainCRTStartup(void) { return 0; }
11382 _ACEOF
11383 if ac_fn_c_try_link "$LINENO"
11384 then :
11385 eval "$as_ac_var=yes"
11386 else $as_nop
11387 eval "$as_ac_var=no"
11389 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11390 conftest$ac_exeext conftest.$ac_ext
11391 CFLAGS=$ac_wine_try_cflags_saved
11392 ac_exeext=$ac_wine_try_cflags_saved_exeext
11394 eval ac_res=\$$as_ac_var
11395 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11396 printf "%s\n" "$ac_res" >&6; }
11397 if eval test \"x\$"$as_ac_var"\" = x"yes"
11398 then :
11399 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wnonnull"
11400 fi }
11401 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-mcx16" | $as_tr_sh`
11402 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mcx16" >&5
11403 printf %s "checking whether $CC supports -mcx16... " >&6; }
11404 if eval test \${$as_ac_var+y}
11405 then :
11406 printf %s "(cached) " >&6
11407 else $as_nop
11408 ac_wine_try_cflags_saved=$CFLAGS
11409 ac_wine_try_cflags_saved_exeext=$ac_exeext
11410 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -mcx16"
11411 ac_exeext=".exe"
11412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11413 /* end confdefs.h. */
11414 int __cdecl mainCRTStartup(void) { return 0; }
11415 _ACEOF
11416 if ac_fn_c_try_link "$LINENO"
11417 then :
11418 eval "$as_ac_var=yes"
11419 else $as_nop
11420 eval "$as_ac_var=no"
11422 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11423 conftest$ac_exeext conftest.$ac_ext
11424 CFLAGS=$ac_wine_try_cflags_saved
11425 ac_exeext=$ac_wine_try_cflags_saved_exeext
11427 eval ac_res=\$$as_ac_var
11428 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11429 printf "%s\n" "$ac_res" >&6; }
11430 if eval test \"x\$"$as_ac_var"\" = x"yes"
11431 then :
11432 as_fn_append ${wine_arch}_EXTRACFLAGS " -mcx16"
11433 fi }
11434 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-mcmodel=small" | $as_tr_sh`
11435 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mcmodel=small" >&5
11436 printf %s "checking whether $CC supports -mcmodel=small... " >&6; }
11437 if eval test \${$as_ac_var+y}
11438 then :
11439 printf %s "(cached) " >&6
11440 else $as_nop
11441 ac_wine_try_cflags_saved=$CFLAGS
11442 ac_wine_try_cflags_saved_exeext=$ac_exeext
11443 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -mcmodel=small"
11444 ac_exeext=".exe"
11445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11446 /* end confdefs.h. */
11447 int __cdecl mainCRTStartup(void) { return 0; }
11448 _ACEOF
11449 if ac_fn_c_try_link "$LINENO"
11450 then :
11451 eval "$as_ac_var=yes"
11452 else $as_nop
11453 eval "$as_ac_var=no"
11455 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11456 conftest$ac_exeext conftest.$ac_ext
11457 CFLAGS=$ac_wine_try_cflags_saved
11458 ac_exeext=$ac_wine_try_cflags_saved_exeext
11460 eval ac_res=\$$as_ac_var
11461 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11462 printf "%s\n" "$ac_res" >&6; }
11463 if eval test \"x\$"$as_ac_var"\" = x"yes"
11464 then :
11465 as_fn_append ${wine_arch}_EXTRACFLAGS " -mcmodel=small"
11466 fi } ;;
11467 esac
11469 wine_crossdebug=$CROSSDEBUG
11470 if test -z "$wine_crossdebug"
11471 then
11472 for ac_flag in $CFLAGS; do
11473 case $ac_flag in
11474 -gdwarf*) wine_crossdebug=dwarf ;;
11475 -gcodeview) wine_crossdebug=pdb ;;
11476 -g) wine_crossdebug=${wine_crossdebug:-dwarf} ;;
11477 esac
11478 done
11481 ac_debug_format_seen=""
11482 for ac_flag in $CFLAGS; do
11483 case $ac_flag in
11484 -gdwarf*|-gcodeview) ac_debug_format_seen=$ac_flag ;;
11485 esac
11486 done
11487 if test "x$ac_debug_format_seen" = x
11488 then
11489 case $wine_crossdebug in
11490 *dwarf) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-gdwarf-4" | $as_tr_sh`
11491 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -gdwarf-4" >&5
11492 printf %s "checking whether $CC supports -gdwarf-4... " >&6; }
11493 if eval test \${$as_ac_var+y}
11494 then :
11495 printf %s "(cached) " >&6
11496 else $as_nop
11497 ac_wine_try_cflags_saved=$CFLAGS
11498 ac_wine_try_cflags_saved_exeext=$ac_exeext
11499 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -gdwarf-4"
11500 ac_exeext=".exe"
11501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11502 /* end confdefs.h. */
11503 int __cdecl mainCRTStartup(void) { return 0; }
11504 _ACEOF
11505 if ac_fn_c_try_link "$LINENO"
11506 then :
11507 eval "$as_ac_var=yes"
11508 else $as_nop
11509 eval "$as_ac_var=no"
11511 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11512 conftest$ac_exeext conftest.$ac_ext
11513 CFLAGS=$ac_wine_try_cflags_saved
11514 ac_exeext=$ac_wine_try_cflags_saved_exeext
11516 eval ac_res=\$$as_ac_var
11517 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11518 printf "%s\n" "$ac_res" >&6; }
11519 if eval test \"x\$"$as_ac_var"\" = x"yes"
11520 then :
11521 as_fn_append ${wine_arch}_EXTRACFLAGS " -gdwarf-4"
11522 fi } ;;
11523 pdb) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-gcodeview" | $as_tr_sh`
11524 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -gcodeview" >&5
11525 printf %s "checking whether $CC supports -gcodeview... " >&6; }
11526 if eval test \${$as_ac_var+y}
11527 then :
11528 printf %s "(cached) " >&6
11529 else $as_nop
11530 ac_wine_try_cflags_saved=$CFLAGS
11531 ac_wine_try_cflags_saved_exeext=$ac_exeext
11532 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -gcodeview"
11533 ac_exeext=".exe"
11534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11535 /* end confdefs.h. */
11536 int __cdecl mainCRTStartup(void) { return 0; }
11537 _ACEOF
11538 if ac_fn_c_try_link "$LINENO"
11539 then :
11540 eval "$as_ac_var=yes"
11541 else $as_nop
11542 eval "$as_ac_var=no"
11544 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11545 conftest$ac_exeext conftest.$ac_ext
11546 CFLAGS=$ac_wine_try_cflags_saved
11547 ac_exeext=$ac_wine_try_cflags_saved_exeext
11549 eval ac_res=\$$as_ac_var
11550 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11551 printf "%s\n" "$ac_res" >&6; }
11552 if eval test \"x\$"$as_ac_var"\" = x"yes"
11553 then :
11554 as_fn_append ${wine_arch}_EXTRACFLAGS " -gcodeview"
11555 fi } ;;
11556 esac
11558 eval "${wine_arch}_DEBUG=\$wine_crossdebug"
11560 test "x$enable_werror" != xyes || { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror" | $as_tr_sh`
11561 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror" >&5
11562 printf %s "checking whether $CC supports -Werror... " >&6; }
11563 if eval test \${$as_ac_var+y}
11564 then :
11565 printf %s "(cached) " >&6
11566 else $as_nop
11567 ac_wine_try_cflags_saved=$CFLAGS
11568 ac_wine_try_cflags_saved_exeext=$ac_exeext
11569 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Werror"
11570 ac_exeext=".exe"
11571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11572 /* end confdefs.h. */
11573 int __cdecl mainCRTStartup(void) { return 0; }
11574 _ACEOF
11575 if ac_fn_c_try_link "$LINENO"
11576 then :
11577 eval "$as_ac_var=yes"
11578 else $as_nop
11579 eval "$as_ac_var=no"
11581 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11582 conftest$ac_exeext conftest.$ac_ext
11583 CFLAGS=$ac_wine_try_cflags_saved
11584 ac_exeext=$ac_wine_try_cflags_saved_exeext
11586 eval ac_res=\$$as_ac_var
11587 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11588 printf "%s\n" "$ac_res" >&6; }
11589 if eval test \"x\$"$as_ac_var"\" = x"yes"
11590 then :
11591 as_fn_append ${wine_arch}_EXTRACFLAGS " -Werror"
11592 fi }
11593 test "x$enable_build_id" != xyes || { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wl,--build-id" | $as_tr_sh`
11594 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wl,--build-id" >&5
11595 printf %s "checking whether $CC supports -Wl,--build-id... " >&6; }
11596 if eval test \${$as_ac_var+y}
11597 then :
11598 printf %s "(cached) " >&6
11599 else $as_nop
11600 ac_wine_try_cflags_saved=$CFLAGS
11601 ac_wine_try_cflags_saved_exeext=$ac_exeext
11602 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wl,--build-id"
11603 ac_exeext=".exe"
11604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11605 /* end confdefs.h. */
11606 int __cdecl mainCRTStartup(void) { return 0; }
11607 _ACEOF
11608 if ac_fn_c_try_link "$LINENO"
11609 then :
11610 eval "$as_ac_var=yes"
11611 else $as_nop
11612 eval "$as_ac_var=no"
11614 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11615 conftest$ac_exeext conftest.$ac_ext
11616 CFLAGS=$ac_wine_try_cflags_saved
11617 ac_exeext=$ac_wine_try_cflags_saved_exeext
11619 eval ac_res=\$$as_ac_var
11620 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11621 printf "%s\n" "$ac_res" >&6; }
11622 if eval test \"x\$"$as_ac_var"\" = x"yes"
11623 then :
11624 as_fn_append ${wine_arch}_CFLAGS " -Wl,--build-id"
11625 as_fn_append ${wine_arch}_LDFLAGS " -Wl,--build-id"
11626 fi }
11628 CC=$saved_CC
11629 CFLAGS=$saved_CFLAGS
11630 LDFLAGS=$saved_LDFLAGS
11631 done
11633 if test $HOST_ARCH = aarch64
11634 then
11635 test "x$PE_ARCHS" != x || as_fn_error $? "PE cross-compilation is required for ARM64, please install clang/llvm-dlltool/lld, or llvm-mingw." "$LINENO" 5
11636 DLLEXT=""
11637 else
11638 if test "x$PE_ARCHS" = "x"
11639 then :
11640 case "x$with_mingw" in
11641 x) as_fn_append wine_notices "|MinGW compiler not found, cross-compiling PE files won't be supported." ;;
11642 xno) ;;
11643 *) as_fn_error $? "MinGW compiler not found, cross-compiling PE files won't be supported.
11644 This is an error since --with-mingw was requested." "$LINENO" 5 ;;
11645 esac
11651 if test "x$with_system_dllpath" != "x" -a -n "$PE_ARCHS"
11652 then
11653 case "$host_cpu" in
11654 i[3456789]86*)
11655 ac_prefix_list="i686-w64-mingw32-pkg-config i586-w64-mingw32-pkg-config i486-w64-mingw32-pkg-config i386-w64-mingw32-pkg-config " ;;
11657 ac_prefix_list="$host_cpu-w64-mingw32-pkg-config" ;;
11658 esac
11659 for ac_prog in $ac_prefix_list
11661 # Extract the first word of "$ac_prog", so it can be a program name with args.
11662 set dummy $ac_prog; ac_word=$2
11663 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11664 printf %s "checking for $ac_word... " >&6; }
11665 if test ${ac_cv_prog_MINGW_PKG_CONFIG+y}
11666 then :
11667 printf %s "(cached) " >&6
11668 else $as_nop
11669 if test -n "$MINGW_PKG_CONFIG"; then
11670 ac_cv_prog_MINGW_PKG_CONFIG="$MINGW_PKG_CONFIG" # Let the user override the test.
11671 else
11672 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11673 for as_dir in $PATH
11675 IFS=$as_save_IFS
11676 case $as_dir in #(((
11677 '') as_dir=./ ;;
11678 */) ;;
11679 *) as_dir=$as_dir/ ;;
11680 esac
11681 for ac_exec_ext in '' $ac_executable_extensions; do
11682 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
11683 ac_cv_prog_MINGW_PKG_CONFIG="$ac_prog"
11684 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
11685 break 2
11687 done
11688 done
11689 IFS=$as_save_IFS
11693 MINGW_PKG_CONFIG=$ac_cv_prog_MINGW_PKG_CONFIG
11694 if test -n "$MINGW_PKG_CONFIG"; then
11695 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MINGW_PKG_CONFIG" >&5
11696 printf "%s\n" "$MINGW_PKG_CONFIG" >&6; }
11697 else
11698 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11699 printf "%s\n" "no" >&6; }
11703 test -n "$MINGW_PKG_CONFIG" && break
11704 done
11705 test -n "$MINGW_PKG_CONFIG" || MINGW_PKG_CONFIG="false"
11707 if ${FAUDIO_PE_CFLAGS:+false} :
11708 then :
11709 if test ${MINGW_PKG_CONFIG+y}
11710 then :
11711 FAUDIO_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags FAudio 2>/dev/null`
11714 if ${FAUDIO_PE_LIBS:+false} :
11715 then :
11716 if test ${MINGW_PKG_CONFIG+y}
11717 then :
11718 FAUDIO_PE_LIBS=`$MINGW_PKG_CONFIG --libs FAudio 2>/dev/null`
11721 FAUDIO_PE_LIBS=${FAUDIO_PE_LIBS:-"-lFAudio"}
11722 ac_save_CPPFLAGS=$CPPFLAGS
11723 CPPFLAGS="$CPPFLAGS $FAUDIO_PE_CFLAGS"
11724 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW FAudio.h" >&5
11725 printf %s "checking for MinGW FAudio.h... " >&6; }
11726 if test ${ac_cv_mingw_header_FAudio_h+y}
11727 then :
11728 printf %s "(cached) " >&6
11729 else $as_nop
11730 ac_wine_check_headers_saved_cc=$CC
11731 ac_wine_check_headers_saved_exeext=$ac_exeext
11732 eval CC=\$${wine_arch}_CC
11733 ac_exeext=".exe"
11734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11735 /* end confdefs.h. */
11737 #include <FAudio.h>
11739 main (void)
11743 return 0;
11745 _ACEOF
11746 if ac_fn_c_try_compile "$LINENO"
11747 then :
11748 ac_cv_mingw_header_FAudio_h=yes
11749 else $as_nop
11750 ac_cv_mingw_header_FAudio_h=no
11752 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
11753 CC=$ac_wine_check_headers_saved_cc
11754 ac_exeext=$ac_wine_check_headers_saved_exeext
11756 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_FAudio_h" >&5
11757 printf "%s\n" "$ac_cv_mingw_header_FAudio_h" >&6; }
11758 if test "x$ac_cv_mingw_header_FAudio_h" = xyes
11759 then :
11760 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for FAudio_CommitOperationSet in MinGW -lFAudio" >&5
11761 printf %s "checking for FAudio_CommitOperationSet in MinGW -lFAudio... " >&6; }
11762 if test ${ac_cv_mingw_lib_FAudio+y}
11763 then :
11764 printf %s "(cached) " >&6
11765 else $as_nop
11766 ac_wine_check_headers_saved_cc=$CC
11767 ac_wine_check_headers_saved_exeext=$ac_exeext
11768 ac_wine_check_headers_saved_libs=$LIBS
11769 eval CC=\$${wine_arch}_CC
11770 ac_exeext=".exe"
11771 LIBS="-lFAudio $FAUDIO_PE_LIBS $LIBS"
11772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11773 /* end confdefs.h. */
11775 /* Override any GCC internal prototype to avoid an error.
11776 Use char because int might match the return type of a GCC
11777 builtin and then its argument prototype would still apply. */
11778 char FAudio_CommitOperationSet ();
11780 main (void)
11782 return FAudio_CommitOperationSet ();
11784 return 0;
11786 _ACEOF
11787 if ac_fn_c_try_link "$LINENO"
11788 then :
11789 ac_cv_mingw_lib_FAudio=yes
11790 else $as_nop
11791 ac_cv_mingw_lib_FAudio=no
11793 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11794 conftest$ac_exeext conftest.$ac_ext
11795 CC=$ac_wine_check_headers_saved_cc
11796 ac_exeext=$ac_wine_check_headers_saved_exeext
11797 LIBS=$ac_wine_check_headers_saved_libs
11799 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_FAudio" >&5
11800 printf "%s\n" "$ac_cv_mingw_lib_FAudio" >&6; }
11801 if test "x$ac_cv_mingw_lib_FAudio" = xyes
11802 then :
11804 else $as_nop
11805 FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
11807 else $as_nop
11808 FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
11810 CPPFLAGS=$ac_save_CPPFLAGS
11812 if test "x$FAUDIO_PE_LIBS" = "x"
11813 then
11814 as_fn_append wine_notices "|FAudio ${notice_platform}MinGW development files not found (or too old); using bundled version."
11817 if ${JPEG_PE_CFLAGS:+false} :
11818 then :
11819 if test ${MINGW_PKG_CONFIG+y}
11820 then :
11821 JPEG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libjpeg 2>/dev/null`
11824 if ${JPEG_PE_LIBS:+false} :
11825 then :
11826 if test ${MINGW_PKG_CONFIG+y}
11827 then :
11828 JPEG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libjpeg 2>/dev/null`
11832 ac_save_CPPFLAGS=$CPPFLAGS
11833 CPPFLAGS="$CPPFLAGS $JPEG_PE_CFLAGS"
11834 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW jpeglib.h" >&5
11835 printf %s "checking for MinGW jpeglib.h... " >&6; }
11836 if test ${ac_cv_mingw_header_jpeglib_h+y}
11837 then :
11838 printf %s "(cached) " >&6
11839 else $as_nop
11840 ac_wine_check_headers_saved_cc=$CC
11841 ac_wine_check_headers_saved_exeext=$ac_exeext
11842 eval CC=\$${wine_arch}_CC
11843 ac_exeext=".exe"
11844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11845 /* end confdefs.h. */
11846 #include <stddef.h>
11847 #include <stdio.h>
11848 #include <jpeglib.h>
11850 main (void)
11854 return 0;
11856 _ACEOF
11857 if ac_fn_c_try_compile "$LINENO"
11858 then :
11859 ac_cv_mingw_header_jpeglib_h=yes
11860 else $as_nop
11861 ac_cv_mingw_header_jpeglib_h=no
11863 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
11864 CC=$ac_wine_check_headers_saved_cc
11865 ac_exeext=$ac_wine_check_headers_saved_exeext
11867 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_jpeglib_h" >&5
11868 printf "%s\n" "$ac_cv_mingw_header_jpeglib_h" >&6; }
11869 if test "x$ac_cv_mingw_header_jpeglib_h" = xyes
11870 then :
11871 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for jpeg_start_decompress in MinGW -ljpeg" >&5
11872 printf %s "checking for jpeg_start_decompress in MinGW -ljpeg... " >&6; }
11873 if test ${ac_cv_mingw_lib_jpeg+y}
11874 then :
11875 printf %s "(cached) " >&6
11876 else $as_nop
11877 ac_wine_check_headers_saved_cc=$CC
11878 ac_wine_check_headers_saved_exeext=$ac_exeext
11879 ac_wine_check_headers_saved_libs=$LIBS
11880 eval CC=\$${wine_arch}_CC
11881 ac_exeext=".exe"
11882 LIBS="-ljpeg $JPEG_PE_LIBS $LIBS"
11883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11884 /* end confdefs.h. */
11886 /* Override any GCC internal prototype to avoid an error.
11887 Use char because int might match the return type of a GCC
11888 builtin and then its argument prototype would still apply. */
11889 char jpeg_start_decompress ();
11891 main (void)
11893 return jpeg_start_decompress ();
11895 return 0;
11897 _ACEOF
11898 if ac_fn_c_try_link "$LINENO"
11899 then :
11900 ac_cv_mingw_lib_jpeg=yes
11901 else $as_nop
11902 ac_cv_mingw_lib_jpeg=no
11904 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11905 conftest$ac_exeext conftest.$ac_ext
11906 CC=$ac_wine_check_headers_saved_cc
11907 ac_exeext=$ac_wine_check_headers_saved_exeext
11908 LIBS=$ac_wine_check_headers_saved_libs
11910 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_jpeg" >&5
11911 printf "%s\n" "$ac_cv_mingw_lib_jpeg" >&6; }
11912 if test "x$ac_cv_mingw_lib_jpeg" = xyes
11913 then :
11915 else $as_nop
11916 JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
11918 else $as_nop
11919 JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
11921 CPPFLAGS=$ac_save_CPPFLAGS
11923 if test "x$JPEG_PE_LIBS" = "x"
11924 then
11925 as_fn_append wine_notices "|libjpeg ${notice_platform}MinGW development files not found; using bundled version."
11928 if ${LCMS2_PE_CFLAGS:+false} :
11929 then :
11930 if test ${MINGW_PKG_CONFIG+y}
11931 then :
11932 LCMS2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags lcms2 2>/dev/null`
11935 if ${LCMS2_PE_LIBS:+false} :
11936 then :
11937 if test ${MINGW_PKG_CONFIG+y}
11938 then :
11939 LCMS2_PE_LIBS=`$MINGW_PKG_CONFIG --libs lcms2 2>/dev/null`
11942 LCMS2_PE_LIBS=${LCMS2_PE_LIBS:-"-llcms2"}
11943 ac_save_CPPFLAGS=$CPPFLAGS
11944 CPPFLAGS="$CPPFLAGS $LCMS2_PE_CFLAGS"
11945 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW lcms2.h" >&5
11946 printf %s "checking for MinGW lcms2.h... " >&6; }
11947 if test ${ac_cv_mingw_header_lcms2_h+y}
11948 then :
11949 printf %s "(cached) " >&6
11950 else $as_nop
11951 ac_wine_check_headers_saved_cc=$CC
11952 ac_wine_check_headers_saved_exeext=$ac_exeext
11953 eval CC=\$${wine_arch}_CC
11954 ac_exeext=".exe"
11955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11956 /* end confdefs.h. */
11958 #include <lcms2.h>
11960 main (void)
11964 return 0;
11966 _ACEOF
11967 if ac_fn_c_try_compile "$LINENO"
11968 then :
11969 ac_cv_mingw_header_lcms2_h=yes
11970 else $as_nop
11971 ac_cv_mingw_header_lcms2_h=no
11973 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
11974 CC=$ac_wine_check_headers_saved_cc
11975 ac_exeext=$ac_wine_check_headers_saved_exeext
11977 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_lcms2_h" >&5
11978 printf "%s\n" "$ac_cv_mingw_header_lcms2_h" >&6; }
11979 if test "x$ac_cv_mingw_header_lcms2_h" = xyes
11980 then :
11981 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in MinGW -llcms2" >&5
11982 printf %s "checking for cmsOpenProfileFromFile in MinGW -llcms2... " >&6; }
11983 if test ${ac_cv_mingw_lib_lcms2+y}
11984 then :
11985 printf %s "(cached) " >&6
11986 else $as_nop
11987 ac_wine_check_headers_saved_cc=$CC
11988 ac_wine_check_headers_saved_exeext=$ac_exeext
11989 ac_wine_check_headers_saved_libs=$LIBS
11990 eval CC=\$${wine_arch}_CC
11991 ac_exeext=".exe"
11992 LIBS="-llcms2 $LCMS2_PE_LIBS $LIBS"
11993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11994 /* end confdefs.h. */
11996 /* Override any GCC internal prototype to avoid an error.
11997 Use char because int might match the return type of a GCC
11998 builtin and then its argument prototype would still apply. */
11999 char cmsOpenProfileFromFile ();
12001 main (void)
12003 return cmsOpenProfileFromFile ();
12005 return 0;
12007 _ACEOF
12008 if ac_fn_c_try_link "$LINENO"
12009 then :
12010 ac_cv_mingw_lib_lcms2=yes
12011 else $as_nop
12012 ac_cv_mingw_lib_lcms2=no
12014 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12015 conftest$ac_exeext conftest.$ac_ext
12016 CC=$ac_wine_check_headers_saved_cc
12017 ac_exeext=$ac_wine_check_headers_saved_exeext
12018 LIBS=$ac_wine_check_headers_saved_libs
12020 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_lcms2" >&5
12021 printf "%s\n" "$ac_cv_mingw_lib_lcms2" >&6; }
12022 if test "x$ac_cv_mingw_lib_lcms2" = xyes
12023 then :
12025 else $as_nop
12026 LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
12028 else $as_nop
12029 LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
12031 CPPFLAGS=$ac_save_CPPFLAGS
12033 if test "x$LCMS2_PE_LIBS" = "x"
12034 then
12035 as_fn_append wine_notices "|liblcms2 ${notice_platform}MinGW development files not found; using bundled version."
12038 if ${MPG123_PE_CFLAGS:+false} :
12039 then :
12040 if test ${MINGW_PKG_CONFIG+y}
12041 then :
12042 MPG123_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libmpg123 2>/dev/null`
12045 if ${MPG123_PE_LIBS:+false} :
12046 then :
12047 if test ${MINGW_PKG_CONFIG+y}
12048 then :
12049 MPG123_PE_LIBS=`$MINGW_PKG_CONFIG --libs libmpg123 2>/dev/null`
12052 MPG123_PE_LIBS=${MPG123_PE_LIBS:-"-lmpg123"}
12053 ac_save_CPPFLAGS=$CPPFLAGS
12054 CPPFLAGS="$CPPFLAGS $MPG123_PE_CFLAGS"
12055 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW mpg123.h" >&5
12056 printf %s "checking for MinGW mpg123.h... " >&6; }
12057 if test ${ac_cv_mingw_header_mpg123_h+y}
12058 then :
12059 printf %s "(cached) " >&6
12060 else $as_nop
12061 ac_wine_check_headers_saved_cc=$CC
12062 ac_wine_check_headers_saved_exeext=$ac_exeext
12063 eval CC=\$${wine_arch}_CC
12064 ac_exeext=".exe"
12065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12066 /* end confdefs.h. */
12068 #include <mpg123.h>
12070 main (void)
12074 return 0;
12076 _ACEOF
12077 if ac_fn_c_try_compile "$LINENO"
12078 then :
12079 ac_cv_mingw_header_mpg123_h=yes
12080 else $as_nop
12081 ac_cv_mingw_header_mpg123_h=no
12083 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12084 CC=$ac_wine_check_headers_saved_cc
12085 ac_exeext=$ac_wine_check_headers_saved_exeext
12087 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_mpg123_h" >&5
12088 printf "%s\n" "$ac_cv_mingw_header_mpg123_h" >&6; }
12089 if test "x$ac_cv_mingw_header_mpg123_h" = xyes
12090 then :
12091 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in MinGW -lmpg123" >&5
12092 printf %s "checking for mpg123_feed in MinGW -lmpg123... " >&6; }
12093 if test ${ac_cv_mingw_lib_mpg123+y}
12094 then :
12095 printf %s "(cached) " >&6
12096 else $as_nop
12097 ac_wine_check_headers_saved_cc=$CC
12098 ac_wine_check_headers_saved_exeext=$ac_exeext
12099 ac_wine_check_headers_saved_libs=$LIBS
12100 eval CC=\$${wine_arch}_CC
12101 ac_exeext=".exe"
12102 LIBS="-lmpg123 $MPG123_PE_LIBS $LIBS"
12103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12104 /* end confdefs.h. */
12106 /* Override any GCC internal prototype to avoid an error.
12107 Use char because int might match the return type of a GCC
12108 builtin and then its argument prototype would still apply. */
12109 char mpg123_feed ();
12111 main (void)
12113 return mpg123_feed ();
12115 return 0;
12117 _ACEOF
12118 if ac_fn_c_try_link "$LINENO"
12119 then :
12120 ac_cv_mingw_lib_mpg123=yes
12121 else $as_nop
12122 ac_cv_mingw_lib_mpg123=no
12124 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12125 conftest$ac_exeext conftest.$ac_ext
12126 CC=$ac_wine_check_headers_saved_cc
12127 ac_exeext=$ac_wine_check_headers_saved_exeext
12128 LIBS=$ac_wine_check_headers_saved_libs
12130 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_mpg123" >&5
12131 printf "%s\n" "$ac_cv_mingw_lib_mpg123" >&6; }
12132 if test "x$ac_cv_mingw_lib_mpg123" = xyes
12133 then :
12135 else $as_nop
12136 MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
12138 else $as_nop
12139 MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
12141 CPPFLAGS=$ac_save_CPPFLAGS
12143 if test "x$MPG123_PE_LIBS" = "x"
12144 then
12145 as_fn_append wine_notices "|libmpg123 ${notice_platform}MinGW development files not found (or too old); using bundled version."
12148 if ${PNG_PE_CFLAGS:+false} :
12149 then :
12150 if test ${MINGW_PKG_CONFIG+y}
12151 then :
12152 PNG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libpng 2>/dev/null`
12155 if ${PNG_PE_LIBS:+false} :
12156 then :
12157 if test ${MINGW_PKG_CONFIG+y}
12158 then :
12159 PNG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libpng 2>/dev/null`
12163 ac_save_CPPFLAGS=$CPPFLAGS
12164 CPPFLAGS="$CPPFLAGS $PNG_PE_CFLAGS"
12165 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW png.h" >&5
12166 printf %s "checking for MinGW png.h... " >&6; }
12167 if test ${ac_cv_mingw_header_png_h+y}
12168 then :
12169 printf %s "(cached) " >&6
12170 else $as_nop
12171 ac_wine_check_headers_saved_cc=$CC
12172 ac_wine_check_headers_saved_exeext=$ac_exeext
12173 eval CC=\$${wine_arch}_CC
12174 ac_exeext=".exe"
12175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12176 /* end confdefs.h. */
12178 #include <png.h>
12180 main (void)
12184 return 0;
12186 _ACEOF
12187 if ac_fn_c_try_compile "$LINENO"
12188 then :
12189 ac_cv_mingw_header_png_h=yes
12190 else $as_nop
12191 ac_cv_mingw_header_png_h=no
12193 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12194 CC=$ac_wine_check_headers_saved_cc
12195 ac_exeext=$ac_wine_check_headers_saved_exeext
12197 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_png_h" >&5
12198 printf "%s\n" "$ac_cv_mingw_header_png_h" >&6; }
12199 if test "x$ac_cv_mingw_header_png_h" = xyes
12200 then :
12201 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for png_create_read_struct in MinGW -lpng" >&5
12202 printf %s "checking for png_create_read_struct in MinGW -lpng... " >&6; }
12203 if test ${ac_cv_mingw_lib_png+y}
12204 then :
12205 printf %s "(cached) " >&6
12206 else $as_nop
12207 ac_wine_check_headers_saved_cc=$CC
12208 ac_wine_check_headers_saved_exeext=$ac_exeext
12209 ac_wine_check_headers_saved_libs=$LIBS
12210 eval CC=\$${wine_arch}_CC
12211 ac_exeext=".exe"
12212 LIBS="-lpng $PNG_PE_LIBS $LIBS"
12213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12214 /* end confdefs.h. */
12216 /* Override any GCC internal prototype to avoid an error.
12217 Use char because int might match the return type of a GCC
12218 builtin and then its argument prototype would still apply. */
12219 char png_create_read_struct ();
12221 main (void)
12223 return png_create_read_struct ();
12225 return 0;
12227 _ACEOF
12228 if ac_fn_c_try_link "$LINENO"
12229 then :
12230 ac_cv_mingw_lib_png=yes
12231 else $as_nop
12232 ac_cv_mingw_lib_png=no
12234 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12235 conftest$ac_exeext conftest.$ac_ext
12236 CC=$ac_wine_check_headers_saved_cc
12237 ac_exeext=$ac_wine_check_headers_saved_exeext
12238 LIBS=$ac_wine_check_headers_saved_libs
12240 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_png" >&5
12241 printf "%s\n" "$ac_cv_mingw_lib_png" >&6; }
12242 if test "x$ac_cv_mingw_lib_png" = xyes
12243 then :
12245 else $as_nop
12246 PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
12248 else $as_nop
12249 PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
12251 CPPFLAGS=$ac_save_CPPFLAGS
12253 if test "x$PNG_PE_LIBS" = "x"
12254 then
12255 as_fn_append wine_notices "|libpng ${notice_platform}MinGW development files not found; using bundled version."
12258 if ${TIFF_PE_CFLAGS:+false} :
12259 then :
12260 if test ${MINGW_PKG_CONFIG+y}
12261 then :
12262 TIFF_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libtiff-4 2>/dev/null`
12265 if ${TIFF_PE_LIBS:+false} :
12266 then :
12267 if test ${MINGW_PKG_CONFIG+y}
12268 then :
12269 TIFF_PE_LIBS=`$MINGW_PKG_CONFIG --libs libtiff-4 2>/dev/null`
12273 ac_save_CPPFLAGS=$CPPFLAGS
12274 CPPFLAGS="$CPPFLAGS $TIFF_PE_CFLAGS"
12275 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW tiffio.h" >&5
12276 printf %s "checking for MinGW tiffio.h... " >&6; }
12277 if test ${ac_cv_mingw_header_tiffio_h+y}
12278 then :
12279 printf %s "(cached) " >&6
12280 else $as_nop
12281 ac_wine_check_headers_saved_cc=$CC
12282 ac_wine_check_headers_saved_exeext=$ac_exeext
12283 eval CC=\$${wine_arch}_CC
12284 ac_exeext=".exe"
12285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12286 /* end confdefs.h. */
12288 #include <tiffio.h>
12290 main (void)
12294 return 0;
12296 _ACEOF
12297 if ac_fn_c_try_compile "$LINENO"
12298 then :
12299 ac_cv_mingw_header_tiffio_h=yes
12300 else $as_nop
12301 ac_cv_mingw_header_tiffio_h=no
12303 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12304 CC=$ac_wine_check_headers_saved_cc
12305 ac_exeext=$ac_wine_check_headers_saved_exeext
12307 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_tiffio_h" >&5
12308 printf "%s\n" "$ac_cv_mingw_header_tiffio_h" >&6; }
12309 if test "x$ac_cv_mingw_header_tiffio_h" = xyes
12310 then :
12311 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for TIFFClientOpen in MinGW -ltiff" >&5
12312 printf %s "checking for TIFFClientOpen in MinGW -ltiff... " >&6; }
12313 if test ${ac_cv_mingw_lib_tiff+y}
12314 then :
12315 printf %s "(cached) " >&6
12316 else $as_nop
12317 ac_wine_check_headers_saved_cc=$CC
12318 ac_wine_check_headers_saved_exeext=$ac_exeext
12319 ac_wine_check_headers_saved_libs=$LIBS
12320 eval CC=\$${wine_arch}_CC
12321 ac_exeext=".exe"
12322 LIBS="-ltiff $TIFF_PE_LIBS $LIBS"
12323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12324 /* end confdefs.h. */
12326 /* Override any GCC internal prototype to avoid an error.
12327 Use char because int might match the return type of a GCC
12328 builtin and then its argument prototype would still apply. */
12329 char TIFFClientOpen ();
12331 main (void)
12333 return TIFFClientOpen ();
12335 return 0;
12337 _ACEOF
12338 if ac_fn_c_try_link "$LINENO"
12339 then :
12340 ac_cv_mingw_lib_tiff=yes
12341 else $as_nop
12342 ac_cv_mingw_lib_tiff=no
12344 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12345 conftest$ac_exeext conftest.$ac_ext
12346 CC=$ac_wine_check_headers_saved_cc
12347 ac_exeext=$ac_wine_check_headers_saved_exeext
12348 LIBS=$ac_wine_check_headers_saved_libs
12350 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_tiff" >&5
12351 printf "%s\n" "$ac_cv_mingw_lib_tiff" >&6; }
12352 if test "x$ac_cv_mingw_lib_tiff" = xyes
12353 then :
12355 else $as_nop
12356 TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
12358 else $as_nop
12359 TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
12361 CPPFLAGS=$ac_save_CPPFLAGS
12363 if test "x$TIFF_PE_LIBS" = "x"
12364 then
12365 as_fn_append wine_notices "|libtiff ${notice_platform}MinGW development files not found; using bundled version."
12368 if ${XML2_PE_CFLAGS:+false} :
12369 then :
12370 if test ${MINGW_PKG_CONFIG+y}
12371 then :
12372 XML2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
12375 if ${XML2_PE_LIBS:+false} :
12376 then :
12377 if test ${MINGW_PKG_CONFIG+y}
12378 then :
12379 XML2_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxml-2.0 2>/dev/null`
12382 XML2_PE_LIBS=${XML2_PE_LIBS:-"-lxml2"}
12383 ac_save_CPPFLAGS=$CPPFLAGS
12384 CPPFLAGS="$CPPFLAGS $XML2_PE_CFLAGS"
12385 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/parser.h" >&5
12386 printf %s "checking for MinGW libxml/parser.h... " >&6; }
12387 if test ${ac_cv_mingw_header_libxml_parser_h+y}
12388 then :
12389 printf %s "(cached) " >&6
12390 else $as_nop
12391 ac_wine_check_headers_saved_cc=$CC
12392 ac_wine_check_headers_saved_exeext=$ac_exeext
12393 eval CC=\$${wine_arch}_CC
12394 ac_exeext=".exe"
12395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12396 /* end confdefs.h. */
12398 #include <libxml/parser.h>
12400 main (void)
12404 return 0;
12406 _ACEOF
12407 if ac_fn_c_try_compile "$LINENO"
12408 then :
12409 ac_cv_mingw_header_libxml_parser_h=yes
12410 else $as_nop
12411 ac_cv_mingw_header_libxml_parser_h=no
12413 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12414 CC=$ac_wine_check_headers_saved_cc
12415 ac_exeext=$ac_wine_check_headers_saved_exeext
12417 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_parser_h" >&5
12418 printf "%s\n" "$ac_cv_mingw_header_libxml_parser_h" >&6; }
12419 if test "x$ac_cv_mingw_header_libxml_parser_h" = xyes
12420 then :
12423 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/xmlsave.h" >&5
12424 printf %s "checking for MinGW libxml/xmlsave.h... " >&6; }
12425 if test ${ac_cv_mingw_header_libxml_xmlsave_h+y}
12426 then :
12427 printf %s "(cached) " >&6
12428 else $as_nop
12429 ac_wine_check_headers_saved_cc=$CC
12430 ac_wine_check_headers_saved_exeext=$ac_exeext
12431 eval CC=\$${wine_arch}_CC
12432 ac_exeext=".exe"
12433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12434 /* end confdefs.h. */
12436 #include <libxml/xmlsave.h>
12438 main (void)
12442 return 0;
12444 _ACEOF
12445 if ac_fn_c_try_compile "$LINENO"
12446 then :
12447 ac_cv_mingw_header_libxml_xmlsave_h=yes
12448 else $as_nop
12449 ac_cv_mingw_header_libxml_xmlsave_h=no
12451 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12452 CC=$ac_wine_check_headers_saved_cc
12453 ac_exeext=$ac_wine_check_headers_saved_exeext
12455 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_xmlsave_h" >&5
12456 printf "%s\n" "$ac_cv_mingw_header_libxml_xmlsave_h" >&6; }
12457 if test "x$ac_cv_mingw_header_libxml_xmlsave_h" = xyes
12458 then :
12461 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/SAX2.h" >&5
12462 printf %s "checking for MinGW libxml/SAX2.h... " >&6; }
12463 if test ${ac_cv_mingw_header_libxml_SAX2_h+y}
12464 then :
12465 printf %s "(cached) " >&6
12466 else $as_nop
12467 ac_wine_check_headers_saved_cc=$CC
12468 ac_wine_check_headers_saved_exeext=$ac_exeext
12469 eval CC=\$${wine_arch}_CC
12470 ac_exeext=".exe"
12471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12472 /* end confdefs.h. */
12474 #include <libxml/SAX2.h>
12476 main (void)
12480 return 0;
12482 _ACEOF
12483 if ac_fn_c_try_compile "$LINENO"
12484 then :
12485 ac_cv_mingw_header_libxml_SAX2_h=yes
12486 else $as_nop
12487 ac_cv_mingw_header_libxml_SAX2_h=no
12489 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12490 CC=$ac_wine_check_headers_saved_cc
12491 ac_exeext=$ac_wine_check_headers_saved_exeext
12493 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_SAX2_h" >&5
12494 printf "%s\n" "$ac_cv_mingw_header_libxml_SAX2_h" >&6; }
12495 if test "x$ac_cv_mingw_header_libxml_SAX2_h" = xyes
12496 then :
12499 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"
12500 then
12501 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in MinGW -lxml2" >&5
12502 printf %s "checking for xmlFirstElementChild in MinGW -lxml2... " >&6; }
12503 if test ${ac_cv_mingw_lib_xml2+y}
12504 then :
12505 printf %s "(cached) " >&6
12506 else $as_nop
12507 ac_wine_check_headers_saved_cc=$CC
12508 ac_wine_check_headers_saved_exeext=$ac_exeext
12509 ac_wine_check_headers_saved_libs=$LIBS
12510 eval CC=\$${wine_arch}_CC
12511 ac_exeext=".exe"
12512 LIBS="-lxml2 $XML2_PE_LIBS $LIBS"
12513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12514 /* end confdefs.h. */
12516 /* Override any GCC internal prototype to avoid an error.
12517 Use char because int might match the return type of a GCC
12518 builtin and then its argument prototype would still apply. */
12519 char xmlFirstElementChild ();
12521 main (void)
12523 return xmlFirstElementChild ();
12525 return 0;
12527 _ACEOF
12528 if ac_fn_c_try_link "$LINENO"
12529 then :
12530 ac_cv_mingw_lib_xml2=yes
12531 else $as_nop
12532 ac_cv_mingw_lib_xml2=no
12534 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12535 conftest$ac_exeext conftest.$ac_ext
12536 CC=$ac_wine_check_headers_saved_cc
12537 ac_exeext=$ac_wine_check_headers_saved_exeext
12538 LIBS=$ac_wine_check_headers_saved_libs
12540 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xml2" >&5
12541 printf "%s\n" "$ac_cv_mingw_lib_xml2" >&6; }
12542 if test "x$ac_cv_mingw_lib_xml2" = xyes
12543 then :
12545 else $as_nop
12546 XML2_PE_CFLAGS=""; XML2_PE_LIBS=""
12548 else
12549 XML2_PE_CFLAGS=""
12550 XML2_PE_LIBS=""
12552 CPPFLAGS=$ac_save_CPPFLAGS
12554 if test "x$XML2_PE_LIBS" = "x"
12555 then
12556 as_fn_append wine_notices "|libxml2 ${notice_platform}MinGW development files not found (or too old); using bundled version."
12559 if ${XSLT_PE_CFLAGS:+false} :
12560 then :
12561 if test ${MINGW_PKG_CONFIG+y}
12562 then :
12563 XSLT_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxslt 2>/dev/null`
12566 if ${XSLT_PE_LIBS:+false} :
12567 then :
12568 if test ${MINGW_PKG_CONFIG+y}
12569 then :
12570 XSLT_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxslt 2>/dev/null`
12573 XSLT_PE_LIBS=${XSLT_PE_LIBS:-"-lxslt"}
12574 ac_save_CPPFLAGS=$CPPFLAGS
12575 CPPFLAGS="$CPPFLAGS $XSLT_PE_CFLAGS"
12576 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/pattern.h" >&5
12577 printf %s "checking for MinGW libxslt/pattern.h... " >&6; }
12578 if test ${ac_cv_mingw_header_libxslt_pattern_h+y}
12579 then :
12580 printf %s "(cached) " >&6
12581 else $as_nop
12582 ac_wine_check_headers_saved_cc=$CC
12583 ac_wine_check_headers_saved_exeext=$ac_exeext
12584 eval CC=\$${wine_arch}_CC
12585 ac_exeext=".exe"
12586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12587 /* end confdefs.h. */
12589 #include <libxslt/pattern.h>
12591 main (void)
12595 return 0;
12597 _ACEOF
12598 if ac_fn_c_try_compile "$LINENO"
12599 then :
12600 ac_cv_mingw_header_libxslt_pattern_h=yes
12601 else $as_nop
12602 ac_cv_mingw_header_libxslt_pattern_h=no
12604 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12605 CC=$ac_wine_check_headers_saved_cc
12606 ac_exeext=$ac_wine_check_headers_saved_exeext
12608 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_pattern_h" >&5
12609 printf "%s\n" "$ac_cv_mingw_header_libxslt_pattern_h" >&6; }
12610 if test "x$ac_cv_mingw_header_libxslt_pattern_h" = xyes
12611 then :
12614 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/transform.h" >&5
12615 printf %s "checking for MinGW libxslt/transform.h... " >&6; }
12616 if test ${ac_cv_mingw_header_libxslt_transform_h+y}
12617 then :
12618 printf %s "(cached) " >&6
12619 else $as_nop
12620 ac_wine_check_headers_saved_cc=$CC
12621 ac_wine_check_headers_saved_exeext=$ac_exeext
12622 eval CC=\$${wine_arch}_CC
12623 ac_exeext=".exe"
12624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12625 /* end confdefs.h. */
12627 #include <libxslt/transform.h>
12629 main (void)
12633 return 0;
12635 _ACEOF
12636 if ac_fn_c_try_compile "$LINENO"
12637 then :
12638 ac_cv_mingw_header_libxslt_transform_h=yes
12639 else $as_nop
12640 ac_cv_mingw_header_libxslt_transform_h=no
12642 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12643 CC=$ac_wine_check_headers_saved_cc
12644 ac_exeext=$ac_wine_check_headers_saved_exeext
12646 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_transform_h" >&5
12647 printf "%s\n" "$ac_cv_mingw_header_libxslt_transform_h" >&6; }
12648 if test "x$ac_cv_mingw_header_libxslt_transform_h" = xyes
12649 then :
12652 if test "$ac_cv_mingw_header_libxslt_pattern_h" = "yes" -a "$ac_cv_mingw_header_libxslt_transform_h" = "yes"
12653 then
12654 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xsltCompilePattern in MinGW -lxslt" >&5
12655 printf %s "checking for xsltCompilePattern in MinGW -lxslt... " >&6; }
12656 if test ${ac_cv_mingw_lib_xslt+y}
12657 then :
12658 printf %s "(cached) " >&6
12659 else $as_nop
12660 ac_wine_check_headers_saved_cc=$CC
12661 ac_wine_check_headers_saved_exeext=$ac_exeext
12662 ac_wine_check_headers_saved_libs=$LIBS
12663 eval CC=\$${wine_arch}_CC
12664 ac_exeext=".exe"
12665 LIBS="-lxslt $XSLT_PE_LIBS $LIBS"
12666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12667 /* end confdefs.h. */
12669 /* Override any GCC internal prototype to avoid an error.
12670 Use char because int might match the return type of a GCC
12671 builtin and then its argument prototype would still apply. */
12672 char xsltCompilePattern ();
12674 main (void)
12676 return xsltCompilePattern ();
12678 return 0;
12680 _ACEOF
12681 if ac_fn_c_try_link "$LINENO"
12682 then :
12683 ac_cv_mingw_lib_xslt=yes
12684 else $as_nop
12685 ac_cv_mingw_lib_xslt=no
12687 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12688 conftest$ac_exeext conftest.$ac_ext
12689 CC=$ac_wine_check_headers_saved_cc
12690 ac_exeext=$ac_wine_check_headers_saved_exeext
12691 LIBS=$ac_wine_check_headers_saved_libs
12693 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xslt" >&5
12694 printf "%s\n" "$ac_cv_mingw_lib_xslt" >&6; }
12695 if test "x$ac_cv_mingw_lib_xslt" = xyes
12696 then :
12698 else $as_nop
12699 XSLT_PE_CFLAGS=""; XSLT_PE_LIBS=""
12701 else
12702 XSLT_PE_CFLAGS=""
12703 XSLT_PE_LIBS=""
12705 CPPFLAGS=$ac_save_CPPFLAGS
12707 if test "x$XSLT_PE_LIBS" = "x"
12708 then
12709 as_fn_append wine_notices "|libxslt ${notice_platform}MinGW development files not found; using bundled version."
12712 if ${VKD3D_PE_CFLAGS:+false} :
12713 then :
12714 if test ${MINGW_PKG_CONFIG+y}
12715 then :
12716 VKD3D_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libvkd3d libvkd3d-shader 2>/dev/null`
12719 if ${VKD3D_PE_LIBS:+false} :
12720 then :
12721 if test ${MINGW_PKG_CONFIG+y}
12722 then :
12723 VKD3D_PE_LIBS=`$MINGW_PKG_CONFIG --libs libvkd3d libvkd3d-shader 2>/dev/null`
12726 VKD3D_PE_LIBS=${VKD3D_PE_LIBS:-"-lvkd3d -lvkd3d-shader"}
12727 ac_save_CPPFLAGS=$CPPFLAGS
12728 CPPFLAGS="$CPPFLAGS $VKD3D_PE_CFLAGS"
12729 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW vkd3d.h" >&5
12730 printf %s "checking for MinGW vkd3d.h... " >&6; }
12731 if test ${ac_cv_mingw_header_vkd3d_h+y}
12732 then :
12733 printf %s "(cached) " >&6
12734 else $as_nop
12735 ac_wine_check_headers_saved_cc=$CC
12736 ac_wine_check_headers_saved_exeext=$ac_exeext
12737 eval CC=\$${wine_arch}_CC
12738 ac_exeext=".exe"
12739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12740 /* end confdefs.h. */
12742 #include <vkd3d.h>
12744 main (void)
12748 return 0;
12750 _ACEOF
12751 if ac_fn_c_try_compile "$LINENO"
12752 then :
12753 ac_cv_mingw_header_vkd3d_h=yes
12754 else $as_nop
12755 ac_cv_mingw_header_vkd3d_h=no
12757 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12758 CC=$ac_wine_check_headers_saved_cc
12759 ac_exeext=$ac_wine_check_headers_saved_exeext
12761 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_vkd3d_h" >&5
12762 printf "%s\n" "$ac_cv_mingw_header_vkd3d_h" >&6; }
12763 if test "x$ac_cv_mingw_header_vkd3d_h" = xyes
12764 then :
12767 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW vkd3d_shader.h" >&5
12768 printf %s "checking for MinGW vkd3d_shader.h... " >&6; }
12769 if test ${ac_cv_mingw_header_vkd3d_shader_h+y}
12770 then :
12771 printf %s "(cached) " >&6
12772 else $as_nop
12773 ac_wine_check_headers_saved_cc=$CC
12774 ac_wine_check_headers_saved_exeext=$ac_exeext
12775 eval CC=\$${wine_arch}_CC
12776 ac_exeext=".exe"
12777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12778 /* end confdefs.h. */
12780 #include <vkd3d_shader.h>
12782 main (void)
12786 return 0;
12788 _ACEOF
12789 if ac_fn_c_try_compile "$LINENO"
12790 then :
12791 ac_cv_mingw_header_vkd3d_shader_h=yes
12792 else $as_nop
12793 ac_cv_mingw_header_vkd3d_shader_h=no
12795 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12796 CC=$ac_wine_check_headers_saved_cc
12797 ac_exeext=$ac_wine_check_headers_saved_exeext
12799 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_vkd3d_shader_h" >&5
12800 printf "%s\n" "$ac_cv_mingw_header_vkd3d_shader_h" >&6; }
12801 if test "x$ac_cv_mingw_header_vkd3d_shader_h" = xyes
12802 then :
12805 if test "$ac_cv_mingw_header_vkd3d_h" = "yes" -a "$ac_cv_mingw_header_vkd3d_shader_h" = "yes"
12806 then
12807 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for vkd3d_set_log_callback in MinGW -lvkd3d" >&5
12808 printf %s "checking for vkd3d_set_log_callback in MinGW -lvkd3d... " >&6; }
12809 if test ${ac_cv_mingw_lib_vkd3d+y}
12810 then :
12811 printf %s "(cached) " >&6
12812 else $as_nop
12813 ac_wine_check_headers_saved_cc=$CC
12814 ac_wine_check_headers_saved_exeext=$ac_exeext
12815 ac_wine_check_headers_saved_libs=$LIBS
12816 eval CC=\$${wine_arch}_CC
12817 ac_exeext=".exe"
12818 LIBS="-lvkd3d $VKD3D_PE_LIBS $LIBS"
12819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12820 /* end confdefs.h. */
12822 /* Override any GCC internal prototype to avoid an error.
12823 Use char because int might match the return type of a GCC
12824 builtin and then its argument prototype would still apply. */
12825 char vkd3d_set_log_callback ();
12827 main (void)
12829 return vkd3d_set_log_callback ();
12831 return 0;
12833 _ACEOF
12834 if ac_fn_c_try_link "$LINENO"
12835 then :
12836 ac_cv_mingw_lib_vkd3d=yes
12837 else $as_nop
12838 ac_cv_mingw_lib_vkd3d=no
12840 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12841 conftest$ac_exeext conftest.$ac_ext
12842 CC=$ac_wine_check_headers_saved_cc
12843 ac_exeext=$ac_wine_check_headers_saved_exeext
12844 LIBS=$ac_wine_check_headers_saved_libs
12846 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_vkd3d" >&5
12847 printf "%s\n" "$ac_cv_mingw_lib_vkd3d" >&6; }
12848 if test "x$ac_cv_mingw_lib_vkd3d" = xyes
12849 then :
12851 else $as_nop
12854 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for vkd3d_shader_serialize_dxbc in MinGW -lvkd3d-shader" >&5
12855 printf %s "checking for vkd3d_shader_serialize_dxbc in MinGW -lvkd3d-shader... " >&6; }
12856 if test ${ac_cv_mingw_lib_vkd3d_shader+y}
12857 then :
12858 printf %s "(cached) " >&6
12859 else $as_nop
12860 ac_wine_check_headers_saved_cc=$CC
12861 ac_wine_check_headers_saved_exeext=$ac_exeext
12862 ac_wine_check_headers_saved_libs=$LIBS
12863 eval CC=\$${wine_arch}_CC
12864 ac_exeext=".exe"
12865 LIBS="-lvkd3d-shader $VKD3D_PE_LIBS $LIBS"
12866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12867 /* end confdefs.h. */
12869 /* Override any GCC internal prototype to avoid an error.
12870 Use char because int might match the return type of a GCC
12871 builtin and then its argument prototype would still apply. */
12872 char vkd3d_shader_serialize_dxbc ();
12874 main (void)
12876 return vkd3d_shader_serialize_dxbc ();
12878 return 0;
12880 _ACEOF
12881 if ac_fn_c_try_link "$LINENO"
12882 then :
12883 ac_cv_mingw_lib_vkd3d_shader=yes
12884 else $as_nop
12885 ac_cv_mingw_lib_vkd3d_shader=no
12887 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12888 conftest$ac_exeext conftest.$ac_ext
12889 CC=$ac_wine_check_headers_saved_cc
12890 ac_exeext=$ac_wine_check_headers_saved_exeext
12891 LIBS=$ac_wine_check_headers_saved_libs
12893 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_vkd3d_shader" >&5
12894 printf "%s\n" "$ac_cv_mingw_lib_vkd3d_shader" >&6; }
12895 if test "x$ac_cv_mingw_lib_vkd3d_shader" = xyes
12896 then :
12898 else $as_nop
12901 if test "$ac_cv_mingw_lib_vkd3d" = "no" -o "$ac_cv_mingw_lib_vkd3d_shader" = "no"
12902 then
12903 VKD3D_PE_CFLAGS=""
12904 VKD3D_PE_LIBS=""
12906 else
12907 VKD3D_PE_CFLAGS=""
12908 VKD3D_PE_LIBS=""
12910 CPPFLAGS=$ac_save_CPPFLAGS
12912 if test "x$VKD3D_PE_LIBS" = "x"
12913 then
12914 as_fn_append wine_notices "|libvkd3d ${notice_platform}MinGW development files not found (or too old); using bundled version."
12917 if ${ZLIB_PE_CFLAGS:+false} :
12918 then :
12919 if test ${MINGW_PKG_CONFIG+y}
12920 then :
12921 ZLIB_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags zlib 2>/dev/null`
12924 if ${ZLIB_PE_LIBS:+false} :
12925 then :
12926 if test ${MINGW_PKG_CONFIG+y}
12927 then :
12928 ZLIB_PE_LIBS=`$MINGW_PKG_CONFIG --libs zlib 2>/dev/null`
12931 ZLIB_PE_LIBS=${ZLIB_PE_LIBS:-"-lz"}
12932 ac_save_CPPFLAGS=$CPPFLAGS
12933 CPPFLAGS="$CPPFLAGS $ZLIB_PE_CFLAGS"
12934 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW zlib.h" >&5
12935 printf %s "checking for MinGW zlib.h... " >&6; }
12936 if test ${ac_cv_mingw_header_zlib_h+y}
12937 then :
12938 printf %s "(cached) " >&6
12939 else $as_nop
12940 ac_wine_check_headers_saved_cc=$CC
12941 ac_wine_check_headers_saved_exeext=$ac_exeext
12942 eval CC=\$${wine_arch}_CC
12943 ac_exeext=".exe"
12944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12945 /* end confdefs.h. */
12947 #include <zlib.h>
12949 main (void)
12953 return 0;
12955 _ACEOF
12956 if ac_fn_c_try_compile "$LINENO"
12957 then :
12958 ac_cv_mingw_header_zlib_h=yes
12959 else $as_nop
12960 ac_cv_mingw_header_zlib_h=no
12962 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12963 CC=$ac_wine_check_headers_saved_cc
12964 ac_exeext=$ac_wine_check_headers_saved_exeext
12966 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_zlib_h" >&5
12967 printf "%s\n" "$ac_cv_mingw_header_zlib_h" >&6; }
12968 if test "x$ac_cv_mingw_header_zlib_h" = xyes
12969 then :
12970 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inflate in MinGW -lz" >&5
12971 printf %s "checking for inflate in MinGW -lz... " >&6; }
12972 if test ${ac_cv_mingw_lib_z+y}
12973 then :
12974 printf %s "(cached) " >&6
12975 else $as_nop
12976 ac_wine_check_headers_saved_cc=$CC
12977 ac_wine_check_headers_saved_exeext=$ac_exeext
12978 ac_wine_check_headers_saved_libs=$LIBS
12979 eval CC=\$${wine_arch}_CC
12980 ac_exeext=".exe"
12981 LIBS="-lz $ZLIB_PE_LIBS $LIBS"
12982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12983 /* end confdefs.h. */
12985 /* Override any GCC internal prototype to avoid an error.
12986 Use char because int might match the return type of a GCC
12987 builtin and then its argument prototype would still apply. */
12988 char inflate ();
12990 main (void)
12992 return inflate ();
12994 return 0;
12996 _ACEOF
12997 if ac_fn_c_try_link "$LINENO"
12998 then :
12999 ac_cv_mingw_lib_z=yes
13000 else $as_nop
13001 ac_cv_mingw_lib_z=no
13003 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13004 conftest$ac_exeext conftest.$ac_ext
13005 CC=$ac_wine_check_headers_saved_cc
13006 ac_exeext=$ac_wine_check_headers_saved_exeext
13007 LIBS=$ac_wine_check_headers_saved_libs
13009 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_z" >&5
13010 printf "%s\n" "$ac_cv_mingw_lib_z" >&6; }
13011 if test "x$ac_cv_mingw_lib_z" = xyes
13012 then :
13014 else $as_nop
13015 ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
13017 else $as_nop
13018 ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
13020 CPPFLAGS=$ac_save_CPPFLAGS
13022 if test "x$ZLIB_PE_LIBS" = "x"
13023 then
13024 as_fn_append wine_notices "|zlib ${notice_platform}MinGW development files not found; using bundled version."
13028 if ${FAUDIO_PE_LIBS:+false} :
13029 then :
13030 FAUDIO_PE_LIBS="faudio mfplat mfreadwrite mfuuid propsys"
13031 if ${FAUDIO_PE_CFLAGS:+false} :
13032 then :
13033 FAUDIO_PE_CFLAGS="-I\$(top_srcdir)/libs/faudio/include"
13034 else $as_nop
13035 enable_faudio=no
13037 else $as_nop
13038 enable_faudio=no
13040 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio cflags: $FAUDIO_PE_CFLAGS" >&5
13041 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio libs: $FAUDIO_PE_LIBS" >&5
13043 if ${GSM_PE_LIBS:+false} :
13044 then :
13045 GSM_PE_LIBS=gsm
13046 if ${GSM_PE_CFLAGS:+false} :
13047 then :
13048 GSM_PE_CFLAGS="-I\$(top_srcdir)/libs/gsm/inc"
13049 else $as_nop
13050 enable_gsm=no
13052 else $as_nop
13053 enable_gsm=no
13055 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm cflags: $GSM_PE_CFLAGS" >&5
13056 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm libs: $GSM_PE_LIBS" >&5
13058 if ${JPEG_PE_LIBS:+false} :
13059 then :
13060 JPEG_PE_LIBS=jpeg
13061 if ${JPEG_PE_CFLAGS:+false} :
13062 then :
13063 JPEG_PE_CFLAGS="-I\$(top_srcdir)/libs/jpeg"
13064 else $as_nop
13065 enable_jpeg=no
13067 else $as_nop
13068 enable_jpeg=no
13070 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg cflags: $JPEG_PE_CFLAGS" >&5
13071 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg libs: $JPEG_PE_LIBS" >&5
13073 if ${JXR_PE_LIBS:+false} :
13074 then :
13075 JXR_PE_LIBS=jxr
13076 if ${JXR_PE_CFLAGS:+false} :
13077 then :
13078 JXR_PE_CFLAGS="-I\$(top_srcdir)/libs/jxr/jxrgluelib -I\$(top_srcdir)/libs/jxr/image/sys"
13079 else $as_nop
13080 enable_jxr=no
13082 else $as_nop
13083 enable_jxr=no
13085 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr cflags: $JXR_PE_CFLAGS" >&5
13086 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr libs: $JXR_PE_LIBS" >&5
13088 if ${LCMS2_PE_LIBS:+false} :
13089 then :
13090 LCMS2_PE_LIBS=lcms2
13091 if ${LCMS2_PE_CFLAGS:+false} :
13092 then :
13093 LCMS2_PE_CFLAGS="-I\$(top_srcdir)/libs/lcms2/include"
13094 else $as_nop
13095 enable_lcms2=no
13097 else $as_nop
13098 enable_lcms2=no
13100 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_PE_CFLAGS" >&5
13101 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_PE_LIBS" >&5
13103 if ${LDAP_PE_LIBS:+false} :
13104 then :
13105 LDAP_PE_LIBS=ldap
13106 if ${LDAP_PE_CFLAGS:+false} :
13107 then :
13108 LDAP_PE_CFLAGS="-I\$(top_srcdir)/libs/ldap/include"
13109 else $as_nop
13110 enable_ldap=no
13112 else $as_nop
13113 enable_ldap=no
13115 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ldap cflags: $LDAP_PE_CFLAGS" >&5
13116 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ldap libs: $LDAP_PE_LIBS" >&5
13118 if ${MPG123_PE_LIBS:+false} :
13119 then :
13120 MPG123_PE_LIBS=mpg123
13121 if ${MPG123_PE_CFLAGS:+false} :
13122 then :
13123 MPG123_PE_CFLAGS="-I\$(top_srcdir)/libs/mpg123/src/libmpg123"
13124 else $as_nop
13125 enable_mpg123=no
13127 else $as_nop
13128 enable_mpg123=no
13130 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 cflags: $MPG123_PE_CFLAGS" >&5
13131 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 libs: $MPG123_PE_LIBS" >&5
13133 if ${MUSL_PE_LIBS:+false} :
13134 then :
13135 MUSL_PE_LIBS=musl
13136 if ${MUSL_PE_CFLAGS:+false} :
13137 then :
13138 MUSL_PE_CFLAGS=
13139 else $as_nop
13140 enable_musl=no
13142 else $as_nop
13143 enable_musl=no
13145 printf "%s\n" "$as_me:${as_lineno-$LINENO}: musl cflags: $MUSL_PE_CFLAGS" >&5
13146 printf "%s\n" "$as_me:${as_lineno-$LINENO}: musl libs: $MUSL_PE_LIBS" >&5
13148 if ${PNG_PE_LIBS:+false} :
13149 then :
13150 PNG_PE_LIBS="png \$(ZLIB_PE_LIBS)"
13151 if ${PNG_PE_CFLAGS:+false} :
13152 then :
13153 PNG_PE_CFLAGS="-I\$(top_srcdir)/libs/png"
13154 else $as_nop
13155 enable_png=no
13157 else $as_nop
13158 enable_png=no
13160 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png cflags: $PNG_PE_CFLAGS" >&5
13161 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png libs: $PNG_PE_LIBS" >&5
13163 if ${TIFF_PE_LIBS:+false} :
13164 then :
13165 TIFF_PE_LIBS="tiff \$(ZLIB_PE_LIBS)"
13166 if ${TIFF_PE_CFLAGS:+false} :
13167 then :
13168 TIFF_PE_CFLAGS="-I\$(top_srcdir)/libs/tiff/libtiff"
13169 else $as_nop
13170 enable_tiff=no
13172 else $as_nop
13173 enable_tiff=no
13175 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff cflags: $TIFF_PE_CFLAGS" >&5
13176 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff libs: $TIFF_PE_LIBS" >&5
13178 if ${VKD3D_PE_LIBS:+false} :
13179 then :
13180 VKD3D_PE_LIBS=vkd3d
13181 if ${VKD3D_PE_CFLAGS:+false} :
13182 then :
13183 VKD3D_PE_CFLAGS="-I\$(top_srcdir)/libs/vkd3d/include"
13184 else $as_nop
13185 enable_vkd3d=no
13187 else $as_nop
13188 enable_vkd3d=no
13190 printf "%s\n" "$as_me:${as_lineno-$LINENO}: vkd3d cflags: $VKD3D_PE_CFLAGS" >&5
13191 printf "%s\n" "$as_me:${as_lineno-$LINENO}: vkd3d libs: $VKD3D_PE_LIBS" >&5
13193 if ${XML2_PE_LIBS:+false} :
13194 then :
13195 XML2_PE_LIBS=xml2
13196 if ${XML2_PE_CFLAGS:+false} :
13197 then :
13198 XML2_PE_CFLAGS="-I\$(top_srcdir)/libs/xml2/include -DLIBXML_STATIC"
13199 else $as_nop
13200 enable_xml2=no
13202 else $as_nop
13203 enable_xml2=no
13205 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 cflags: $XML2_PE_CFLAGS" >&5
13206 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 libs: $XML2_PE_LIBS" >&5
13208 if ${XSLT_PE_LIBS:+false} :
13209 then :
13210 XSLT_PE_LIBS=xslt
13211 if ${XSLT_PE_CFLAGS:+false} :
13212 then :
13213 XSLT_PE_CFLAGS="-I\$(top_srcdir)/libs/xslt/libxslt -I\$(top_srcdir)/libs/xslt -DLIBXSLT_STATIC"
13214 else $as_nop
13215 enable_xslt=no
13217 else $as_nop
13218 enable_xslt=no
13220 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt cflags: $XSLT_PE_CFLAGS" >&5
13221 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt libs: $XSLT_PE_LIBS" >&5
13223 if ${ZLIB_PE_LIBS:+false} :
13224 then :
13225 ZLIB_PE_LIBS=z
13226 if ${ZLIB_PE_CFLAGS:+false} :
13227 then :
13228 ZLIB_PE_CFLAGS="-I\$(top_srcdir)/libs/zlib -DFAR= -DZ_SOLO"
13229 else $as_nop
13230 enable_zlib=no
13232 else $as_nop
13233 enable_zlib=no
13235 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib cflags: $ZLIB_PE_CFLAGS" >&5
13236 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib libs: $ZLIB_PE_LIBS" >&5
13238 if ${ZYDIS_PE_LIBS:+false} :
13239 then :
13240 ZYDIS_PE_LIBS=zydis
13241 if ${ZYDIS_PE_CFLAGS:+false} :
13242 then :
13243 ZYDIS_PE_CFLAGS="-I\$(top_srcdir)/libs/zydis/include"
13244 else $as_nop
13245 enable_zydis=no
13247 else $as_nop
13248 enable_zydis=no
13250 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zydis cflags: $ZYDIS_PE_CFLAGS" >&5
13251 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zydis libs: $ZYDIS_PE_LIBS" >&5
13255 if test "$ac_cv_header_pthread_h" = "yes"
13256 then
13257 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
13258 if test "x$ac_cv_func_pthread_create" = xyes
13259 then :
13261 else $as_nop
13262 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
13263 printf %s "checking for pthread_create in -lpthread... " >&6; }
13264 if test ${ac_cv_lib_pthread_pthread_create+y}
13265 then :
13266 printf %s "(cached) " >&6
13267 else $as_nop
13268 ac_check_lib_save_LIBS=$LIBS
13269 LIBS="-lpthread $LIBS"
13270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13271 /* end confdefs.h. */
13273 /* Override any GCC internal prototype to avoid an error.
13274 Use char because int might match the return type of a GCC
13275 builtin and then its argument prototype would still apply. */
13276 char pthread_create ();
13278 main (void)
13280 return pthread_create ();
13282 return 0;
13284 _ACEOF
13285 if ac_fn_c_try_link "$LINENO"
13286 then :
13287 ac_cv_lib_pthread_pthread_create=yes
13288 else $as_nop
13289 ac_cv_lib_pthread_pthread_create=no
13291 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13292 conftest$ac_exeext conftest.$ac_ext
13293 LIBS=$ac_check_lib_save_LIBS
13295 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
13296 printf "%s\n" "$ac_cv_lib_pthread_pthread_create" >&6; }
13297 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
13298 then :
13299 PTHREAD_LIBS="-lpthread"
13306 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x
13307 then :
13308 case "x$with_pthread" in
13309 xno) ;;
13310 *) as_fn_error $? "pthread ${notice_platform}development files not found.
13311 Wine cannot support threads without libpthread.
13312 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
13313 esac
13318 ac_ext=c
13319 ac_cpp='$CPP $CPPFLAGS'
13320 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13321 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13322 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13323 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
13324 printf %s "checking how to run the C preprocessor... " >&6; }
13325 # On Suns, sometimes $CPP names a directory.
13326 if test -n "$CPP" && test -d "$CPP"; then
13327 CPP=
13329 if test -z "$CPP"; then
13330 if test ${ac_cv_prog_CPP+y}
13331 then :
13332 printf %s "(cached) " >&6
13333 else $as_nop
13334 # Double quotes because $CC needs to be expanded
13335 for CPP in "$CC -E" "$CC -E -traditional-cpp" cpp /lib/cpp
13337 ac_preproc_ok=false
13338 for ac_c_preproc_warn_flag in '' yes
13340 # Use a header file that comes with gcc, so configuring glibc
13341 # with a fresh cross-compiler works.
13342 # On the NeXT, cc -E runs the code through the compiler's parser,
13343 # not just through cpp. "Syntax error" is here to catch this case.
13344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13345 /* end confdefs.h. */
13346 #include <limits.h>
13347 Syntax error
13348 _ACEOF
13349 if ac_fn_c_try_cpp "$LINENO"
13350 then :
13352 else $as_nop
13353 # Broken: fails on valid input.
13354 continue
13356 rm -f conftest.err conftest.i conftest.$ac_ext
13358 # OK, works on sane cases. Now check whether nonexistent headers
13359 # can be detected and how.
13360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13361 /* end confdefs.h. */
13362 #include <ac_nonexistent.h>
13363 _ACEOF
13364 if ac_fn_c_try_cpp "$LINENO"
13365 then :
13366 # Broken: success on invalid input.
13367 continue
13368 else $as_nop
13369 # Passes both tests.
13370 ac_preproc_ok=:
13371 break
13373 rm -f conftest.err conftest.i conftest.$ac_ext
13375 done
13376 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13377 rm -f conftest.i conftest.err conftest.$ac_ext
13378 if $ac_preproc_ok
13379 then :
13380 break
13383 done
13384 ac_cv_prog_CPP=$CPP
13387 CPP=$ac_cv_prog_CPP
13388 else
13389 ac_cv_prog_CPP=$CPP
13391 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
13392 printf "%s\n" "$CPP" >&6; }
13393 ac_preproc_ok=false
13394 for ac_c_preproc_warn_flag in '' yes
13396 # Use a header file that comes with gcc, so configuring glibc
13397 # with a fresh cross-compiler works.
13398 # On the NeXT, cc -E runs the code through the compiler's parser,
13399 # not just through cpp. "Syntax error" is here to catch this case.
13400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13401 /* end confdefs.h. */
13402 #include <limits.h>
13403 Syntax error
13404 _ACEOF
13405 if ac_fn_c_try_cpp "$LINENO"
13406 then :
13408 else $as_nop
13409 # Broken: fails on valid input.
13410 continue
13412 rm -f conftest.err conftest.i conftest.$ac_ext
13414 # OK, works on sane cases. Now check whether nonexistent headers
13415 # can be detected and how.
13416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13417 /* end confdefs.h. */
13418 #include <ac_nonexistent.h>
13419 _ACEOF
13420 if ac_fn_c_try_cpp "$LINENO"
13421 then :
13422 # Broken: success on invalid input.
13423 continue
13424 else $as_nop
13425 # Passes both tests.
13426 ac_preproc_ok=:
13427 break
13429 rm -f conftest.err conftest.i conftest.$ac_ext
13431 done
13432 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13433 rm -f conftest.i conftest.err conftest.$ac_ext
13434 if $ac_preproc_ok
13435 then :
13437 else $as_nop
13438 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13439 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
13440 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
13441 See \`config.log' for more details" "$LINENO" 5; }
13444 ac_ext=c
13445 ac_cpp='$CPP $CPPFLAGS'
13446 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13447 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13448 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13451 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for X" >&5
13452 printf %s "checking for X... " >&6; }
13455 # Check whether --with-x was given.
13456 if test ${with_x+y}
13457 then :
13458 withval=$with_x;
13461 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
13462 if test "x$with_x" = xno; then
13463 # The user explicitly disabled X.
13464 have_x=disabled
13465 else
13466 case $x_includes,$x_libraries in #(
13467 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
13468 *,NONE | NONE,*) if test ${ac_cv_have_x+y}
13469 then :
13470 printf %s "(cached) " >&6
13471 else $as_nop
13472 # One or both of the vars are not set, and there is no cached value.
13473 ac_x_includes=no
13474 ac_x_libraries=no
13475 # Do we need to do anything special at all?
13476 ac_save_LIBS=$LIBS
13477 LIBS="-lX11 $LIBS"
13478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13479 /* end confdefs.h. */
13480 #include <X11/Xlib.h>
13482 main (void)
13484 XrmInitialize ()
13486 return 0;
13488 _ACEOF
13489 if ac_fn_c_try_link "$LINENO"
13490 then :
13491 # We can compile and link X programs with no special options.
13492 ac_x_includes=
13493 ac_x_libraries=
13495 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13496 conftest$ac_exeext conftest.$ac_ext
13497 LIBS="$ac_save_LIBS"
13498 # If that didn't work, only try xmkmf and file system searches
13499 # for native compilation.
13500 if test x"$ac_x_includes" = xno && test "$cross_compiling" = no
13501 then :
13502 rm -f -r conftest.dir
13503 if mkdir conftest.dir; then
13504 cd conftest.dir
13505 cat >Imakefile <<'_ACEOF'
13506 incroot:
13507 @echo incroot='${INCROOT}'
13508 usrlibdir:
13509 @echo usrlibdir='${USRLIBDIR}'
13510 libdir:
13511 @echo libdir='${LIBDIR}'
13512 _ACEOF
13513 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
13514 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
13515 for ac_var in incroot usrlibdir libdir; do
13516 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
13517 done
13518 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
13519 for ac_extension in a so sl dylib la dll; do
13520 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
13521 test -f "$ac_im_libdir/libX11.$ac_extension"; then
13522 ac_im_usrlibdir=$ac_im_libdir; break
13524 done
13525 # Screen out bogus values from the imake configuration. They are
13526 # bogus both because they are the default anyway, and because
13527 # using them would break gcc on systems where it needs fixed includes.
13528 case $ac_im_incroot in
13529 /usr/include) ac_x_includes= ;;
13530 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
13531 esac
13532 case $ac_im_usrlibdir in
13533 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
13534 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
13535 esac
13537 cd ..
13538 rm -f -r conftest.dir
13541 # Standard set of common directories for X headers.
13542 # Check X11 before X11Rn because it is often a symlink to the current release.
13543 ac_x_header_dirs='
13544 /usr/X11/include
13545 /usr/X11R7/include
13546 /usr/X11R6/include
13547 /usr/X11R5/include
13548 /usr/X11R4/include
13550 /usr/include/X11
13551 /usr/include/X11R7
13552 /usr/include/X11R6
13553 /usr/include/X11R5
13554 /usr/include/X11R4
13556 /usr/local/X11/include
13557 /usr/local/X11R7/include
13558 /usr/local/X11R6/include
13559 /usr/local/X11R5/include
13560 /usr/local/X11R4/include
13562 /usr/local/include/X11
13563 /usr/local/include/X11R7
13564 /usr/local/include/X11R6
13565 /usr/local/include/X11R5
13566 /usr/local/include/X11R4
13568 /opt/X11/include
13570 /usr/X386/include
13571 /usr/x386/include
13572 /usr/XFree86/include/X11
13574 /usr/include
13575 /usr/local/include
13576 /usr/unsupported/include
13577 /usr/athena/include
13578 /usr/local/x11r5/include
13579 /usr/lpp/Xamples/include
13581 /usr/openwin/include
13582 /usr/openwin/share/include'
13584 if test "$ac_x_includes" = no; then
13585 # Guess where to find include files, by looking for Xlib.h.
13586 # First, try using that file with no special directory specified.
13587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13588 /* end confdefs.h. */
13589 #include <X11/Xlib.h>
13590 _ACEOF
13591 if ac_fn_c_try_cpp "$LINENO"
13592 then :
13593 # We can compile using X headers with no special include directory.
13594 ac_x_includes=
13595 else $as_nop
13596 for ac_dir in $ac_x_header_dirs; do
13597 if test -r "$ac_dir/X11/Xlib.h"; then
13598 ac_x_includes=$ac_dir
13599 break
13601 done
13603 rm -f conftest.err conftest.i conftest.$ac_ext
13604 fi # $ac_x_includes = no
13606 if test "$ac_x_libraries" = no; then
13607 # Check for the libraries.
13608 # See if we find them without any special options.
13609 # Don't add to $LIBS permanently.
13610 ac_save_LIBS=$LIBS
13611 LIBS="-lX11 $LIBS"
13612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13613 /* end confdefs.h. */
13614 #include <X11/Xlib.h>
13616 main (void)
13618 XrmInitialize ()
13620 return 0;
13622 _ACEOF
13623 if ac_fn_c_try_link "$LINENO"
13624 then :
13625 LIBS=$ac_save_LIBS
13626 # We can link X programs with no special library path.
13627 ac_x_libraries=
13628 else $as_nop
13629 LIBS=$ac_save_LIBS
13630 for ac_dir in `printf "%s\n" "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
13632 # Don't even attempt the hair of trying to link an X program!
13633 for ac_extension in a so sl dylib la dll; do
13634 if test -r "$ac_dir/libX11.$ac_extension"; then
13635 ac_x_libraries=$ac_dir
13636 break 2
13638 done
13639 done
13641 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13642 conftest$ac_exeext conftest.$ac_ext
13643 fi # $ac_x_libraries = no
13646 # Record the results.
13647 case $ac_x_includes,$ac_x_libraries in #(
13648 no,* | *,no | *\'*) :
13649 # Didn't find X, or a directory has "'" in its name.
13650 ac_cv_have_x="have_x=no" ;; #(
13651 *) :
13652 # Record where we found X for the cache.
13653 ac_cv_have_x="have_x=yes\
13654 ac_x_includes='$ac_x_includes'\
13655 ac_x_libraries='$ac_x_libraries'" ;;
13656 esac
13658 ;; #(
13659 *) have_x=yes;;
13660 esac
13661 eval "$ac_cv_have_x"
13662 fi # $with_x != no
13664 if test "$have_x" != yes; then
13665 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
13666 printf "%s\n" "$have_x" >&6; }
13667 no_x=yes
13668 else
13669 # If each of the values was on the command line, it overrides each guess.
13670 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
13671 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
13672 # Update the cache value to reflect the command line values.
13673 ac_cv_have_x="have_x=yes\
13674 ac_x_includes='$x_includes'\
13675 ac_x_libraries='$x_libraries'"
13676 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
13677 printf "%s\n" "libraries $x_libraries, headers $x_includes" >&6; }
13680 if test "$no_x" = yes; then
13681 # Not all programs may use this symbol, but it does not hurt to define it.
13683 printf "%s\n" "#define X_DISPLAY_MISSING 1" >>confdefs.h
13685 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
13686 else
13687 if test -n "$x_includes"; then
13688 X_CFLAGS="$X_CFLAGS -I$x_includes"
13691 # It would also be nice to do this for all -L options, not just this one.
13692 if test -n "$x_libraries"; then
13693 X_LIBS="$X_LIBS -L$x_libraries"
13694 # For Solaris; some versions of Sun CC require a space after -R and
13695 # others require no space. Words are not sufficient . . . .
13696 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
13697 printf %s "checking whether -R must be followed by a space... " >&6; }
13698 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
13699 ac_xsave_c_werror_flag=$ac_c_werror_flag
13700 ac_c_werror_flag=yes
13701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13702 /* end confdefs.h. */
13705 main (void)
13709 return 0;
13711 _ACEOF
13712 if ac_fn_c_try_link "$LINENO"
13713 then :
13714 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
13715 printf "%s\n" "no" >&6; }
13716 X_LIBS="$X_LIBS -R$x_libraries"
13717 else $as_nop
13718 LIBS="$ac_xsave_LIBS -R $x_libraries"
13719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13720 /* end confdefs.h. */
13723 main (void)
13727 return 0;
13729 _ACEOF
13730 if ac_fn_c_try_link "$LINENO"
13731 then :
13732 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13733 printf "%s\n" "yes" >&6; }
13734 X_LIBS="$X_LIBS -R $x_libraries"
13735 else $as_nop
13736 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
13737 printf "%s\n" "neither works" >&6; }
13739 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13740 conftest$ac_exeext conftest.$ac_ext
13742 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13743 conftest$ac_exeext conftest.$ac_ext
13744 ac_c_werror_flag=$ac_xsave_c_werror_flag
13745 LIBS=$ac_xsave_LIBS
13748 # Check for system-dependent libraries X programs must link with.
13749 # Do this before checking for the system-independent R6 libraries
13750 # (-lICE), since we may need -lsocket or whatever for X linking.
13752 if test "$ISC" = yes; then
13753 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
13754 else
13755 # Martyn Johnson says this is needed for Ultrix, if the X
13756 # libraries were built with DECnet support. And Karl Berry says
13757 # the Alpha needs dnet_stub (dnet does not exist).
13758 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
13759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13760 /* end confdefs.h. */
13762 /* Override any GCC internal prototype to avoid an error.
13763 Use char because int might match the return type of a GCC
13764 builtin and then its argument prototype would still apply. */
13765 char XOpenDisplay ();
13767 main (void)
13769 return XOpenDisplay ();
13771 return 0;
13773 _ACEOF
13774 if ac_fn_c_try_link "$LINENO"
13775 then :
13777 else $as_nop
13778 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
13779 printf %s "checking for dnet_ntoa in -ldnet... " >&6; }
13780 if test ${ac_cv_lib_dnet_dnet_ntoa+y}
13781 then :
13782 printf %s "(cached) " >&6
13783 else $as_nop
13784 ac_check_lib_save_LIBS=$LIBS
13785 LIBS="-ldnet $LIBS"
13786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13787 /* end confdefs.h. */
13789 /* Override any GCC internal prototype to avoid an error.
13790 Use char because int might match the return type of a GCC
13791 builtin and then its argument prototype would still apply. */
13792 char dnet_ntoa ();
13794 main (void)
13796 return dnet_ntoa ();
13798 return 0;
13800 _ACEOF
13801 if ac_fn_c_try_link "$LINENO"
13802 then :
13803 ac_cv_lib_dnet_dnet_ntoa=yes
13804 else $as_nop
13805 ac_cv_lib_dnet_dnet_ntoa=no
13807 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13808 conftest$ac_exeext conftest.$ac_ext
13809 LIBS=$ac_check_lib_save_LIBS
13811 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
13812 printf "%s\n" "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
13813 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
13814 then :
13815 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
13818 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
13819 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
13820 printf %s "checking for dnet_ntoa in -ldnet_stub... " >&6; }
13821 if test ${ac_cv_lib_dnet_stub_dnet_ntoa+y}
13822 then :
13823 printf %s "(cached) " >&6
13824 else $as_nop
13825 ac_check_lib_save_LIBS=$LIBS
13826 LIBS="-ldnet_stub $LIBS"
13827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13828 /* end confdefs.h. */
13830 /* Override any GCC internal prototype to avoid an error.
13831 Use char because int might match the return type of a GCC
13832 builtin and then its argument prototype would still apply. */
13833 char dnet_ntoa ();
13835 main (void)
13837 return dnet_ntoa ();
13839 return 0;
13841 _ACEOF
13842 if ac_fn_c_try_link "$LINENO"
13843 then :
13844 ac_cv_lib_dnet_stub_dnet_ntoa=yes
13845 else $as_nop
13846 ac_cv_lib_dnet_stub_dnet_ntoa=no
13848 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13849 conftest$ac_exeext conftest.$ac_ext
13850 LIBS=$ac_check_lib_save_LIBS
13852 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
13853 printf "%s\n" "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
13854 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
13855 then :
13856 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
13861 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13862 conftest$ac_exeext conftest.$ac_ext
13863 LIBS="$ac_xsave_LIBS"
13865 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
13866 # to get the SysV transport functions.
13867 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
13868 # needs -lnsl.
13869 # The nsl library prevents programs from opening the X display
13870 # on Irix 5.2, according to T.E. Dickey.
13871 # The functions gethostbyname, getservbyname, and inet_addr are
13872 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
13873 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
13874 if test "x$ac_cv_func_gethostbyname" = xyes
13875 then :
13879 if test $ac_cv_func_gethostbyname = no; then
13880 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
13881 printf %s "checking for gethostbyname in -lnsl... " >&6; }
13882 if test ${ac_cv_lib_nsl_gethostbyname+y}
13883 then :
13884 printf %s "(cached) " >&6
13885 else $as_nop
13886 ac_check_lib_save_LIBS=$LIBS
13887 LIBS="-lnsl $LIBS"
13888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13889 /* end confdefs.h. */
13891 /* Override any GCC internal prototype to avoid an error.
13892 Use char because int might match the return type of a GCC
13893 builtin and then its argument prototype would still apply. */
13894 char gethostbyname ();
13896 main (void)
13898 return gethostbyname ();
13900 return 0;
13902 _ACEOF
13903 if ac_fn_c_try_link "$LINENO"
13904 then :
13905 ac_cv_lib_nsl_gethostbyname=yes
13906 else $as_nop
13907 ac_cv_lib_nsl_gethostbyname=no
13909 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13910 conftest$ac_exeext conftest.$ac_ext
13911 LIBS=$ac_check_lib_save_LIBS
13913 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
13914 printf "%s\n" "$ac_cv_lib_nsl_gethostbyname" >&6; }
13915 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
13916 then :
13917 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
13920 if test $ac_cv_lib_nsl_gethostbyname = no; then
13921 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
13922 printf %s "checking for gethostbyname in -lbsd... " >&6; }
13923 if test ${ac_cv_lib_bsd_gethostbyname+y}
13924 then :
13925 printf %s "(cached) " >&6
13926 else $as_nop
13927 ac_check_lib_save_LIBS=$LIBS
13928 LIBS="-lbsd $LIBS"
13929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13930 /* end confdefs.h. */
13932 /* Override any GCC internal prototype to avoid an error.
13933 Use char because int might match the return type of a GCC
13934 builtin and then its argument prototype would still apply. */
13935 char gethostbyname ();
13937 main (void)
13939 return gethostbyname ();
13941 return 0;
13943 _ACEOF
13944 if ac_fn_c_try_link "$LINENO"
13945 then :
13946 ac_cv_lib_bsd_gethostbyname=yes
13947 else $as_nop
13948 ac_cv_lib_bsd_gethostbyname=no
13950 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13951 conftest$ac_exeext conftest.$ac_ext
13952 LIBS=$ac_check_lib_save_LIBS
13954 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
13955 printf "%s\n" "$ac_cv_lib_bsd_gethostbyname" >&6; }
13956 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
13957 then :
13958 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
13964 # lieder@skyler.mavd.honeywell.com says without -lsocket,
13965 # socket/setsockopt and other routines are undefined under SCO ODT
13966 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
13967 # on later versions), says Simon Leinen: it contains gethostby*
13968 # variants that don't use the name server (or something). -lsocket
13969 # must be given before -lnsl if both are needed. We assume that
13970 # if connect needs -lnsl, so does gethostbyname.
13971 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
13972 if test "x$ac_cv_func_connect" = xyes
13973 then :
13977 if test $ac_cv_func_connect = no; then
13978 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
13979 printf %s "checking for connect in -lsocket... " >&6; }
13980 if test ${ac_cv_lib_socket_connect+y}
13981 then :
13982 printf %s "(cached) " >&6
13983 else $as_nop
13984 ac_check_lib_save_LIBS=$LIBS
13985 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
13986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13987 /* end confdefs.h. */
13989 /* Override any GCC internal prototype to avoid an error.
13990 Use char because int might match the return type of a GCC
13991 builtin and then its argument prototype would still apply. */
13992 char connect ();
13994 main (void)
13996 return connect ();
13998 return 0;
14000 _ACEOF
14001 if ac_fn_c_try_link "$LINENO"
14002 then :
14003 ac_cv_lib_socket_connect=yes
14004 else $as_nop
14005 ac_cv_lib_socket_connect=no
14007 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14008 conftest$ac_exeext conftest.$ac_ext
14009 LIBS=$ac_check_lib_save_LIBS
14011 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
14012 printf "%s\n" "$ac_cv_lib_socket_connect" >&6; }
14013 if test "x$ac_cv_lib_socket_connect" = xyes
14014 then :
14015 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
14020 # Guillermo Gomez says -lposix is necessary on A/UX.
14021 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
14022 if test "x$ac_cv_func_remove" = xyes
14023 then :
14027 if test $ac_cv_func_remove = no; then
14028 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
14029 printf %s "checking for remove in -lposix... " >&6; }
14030 if test ${ac_cv_lib_posix_remove+y}
14031 then :
14032 printf %s "(cached) " >&6
14033 else $as_nop
14034 ac_check_lib_save_LIBS=$LIBS
14035 LIBS="-lposix $LIBS"
14036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14037 /* end confdefs.h. */
14039 /* Override any GCC internal prototype to avoid an error.
14040 Use char because int might match the return type of a GCC
14041 builtin and then its argument prototype would still apply. */
14042 char remove ();
14044 main (void)
14046 return remove ();
14048 return 0;
14050 _ACEOF
14051 if ac_fn_c_try_link "$LINENO"
14052 then :
14053 ac_cv_lib_posix_remove=yes
14054 else $as_nop
14055 ac_cv_lib_posix_remove=no
14057 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14058 conftest$ac_exeext conftest.$ac_ext
14059 LIBS=$ac_check_lib_save_LIBS
14061 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
14062 printf "%s\n" "$ac_cv_lib_posix_remove" >&6; }
14063 if test "x$ac_cv_lib_posix_remove" = xyes
14064 then :
14065 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
14070 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
14071 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
14072 if test "x$ac_cv_func_shmat" = xyes
14073 then :
14077 if test $ac_cv_func_shmat = no; then
14078 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
14079 printf %s "checking for shmat in -lipc... " >&6; }
14080 if test ${ac_cv_lib_ipc_shmat+y}
14081 then :
14082 printf %s "(cached) " >&6
14083 else $as_nop
14084 ac_check_lib_save_LIBS=$LIBS
14085 LIBS="-lipc $LIBS"
14086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14087 /* end confdefs.h. */
14089 /* Override any GCC internal prototype to avoid an error.
14090 Use char because int might match the return type of a GCC
14091 builtin and then its argument prototype would still apply. */
14092 char shmat ();
14094 main (void)
14096 return shmat ();
14098 return 0;
14100 _ACEOF
14101 if ac_fn_c_try_link "$LINENO"
14102 then :
14103 ac_cv_lib_ipc_shmat=yes
14104 else $as_nop
14105 ac_cv_lib_ipc_shmat=no
14107 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14108 conftest$ac_exeext conftest.$ac_ext
14109 LIBS=$ac_check_lib_save_LIBS
14111 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
14112 printf "%s\n" "$ac_cv_lib_ipc_shmat" >&6; }
14113 if test "x$ac_cv_lib_ipc_shmat" = xyes
14114 then :
14115 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
14121 # Check for libraries that X11R6 Xt/Xaw programs need.
14122 ac_save_LDFLAGS=$LDFLAGS
14123 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
14124 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
14125 # check for ICE first), but we must link in the order -lSM -lICE or
14126 # we get undefined symbols. So assume we have SM if we have ICE.
14127 # These have to be linked with before -lX11, unlike the other
14128 # libraries we check for below, so use a different variable.
14129 # John Interrante, Karl Berry
14130 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
14131 printf %s "checking for IceConnectionNumber in -lICE... " >&6; }
14132 if test ${ac_cv_lib_ICE_IceConnectionNumber+y}
14133 then :
14134 printf %s "(cached) " >&6
14135 else $as_nop
14136 ac_check_lib_save_LIBS=$LIBS
14137 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
14138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14139 /* end confdefs.h. */
14141 /* Override any GCC internal prototype to avoid an error.
14142 Use char because int might match the return type of a GCC
14143 builtin and then its argument prototype would still apply. */
14144 char IceConnectionNumber ();
14146 main (void)
14148 return IceConnectionNumber ();
14150 return 0;
14152 _ACEOF
14153 if ac_fn_c_try_link "$LINENO"
14154 then :
14155 ac_cv_lib_ICE_IceConnectionNumber=yes
14156 else $as_nop
14157 ac_cv_lib_ICE_IceConnectionNumber=no
14159 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14160 conftest$ac_exeext conftest.$ac_ext
14161 LIBS=$ac_check_lib_save_LIBS
14163 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
14164 printf "%s\n" "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
14165 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
14166 then :
14167 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
14170 LDFLAGS=$ac_save_LDFLAGS
14175 if test "$have_x" = "yes"
14176 then
14177 ac_save_CPPFLAGS="$CPPFLAGS"
14178 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
14180 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
14181 printf %s "checking for -lX11... " >&6; }
14182 if test ${ac_cv_lib_soname_X11+y}
14183 then :
14184 printf %s "(cached) " >&6
14185 else $as_nop
14186 ac_check_soname_save_LIBS=$LIBS
14187 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
14188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14189 /* end confdefs.h. */
14191 /* Override any GCC internal prototype to avoid an error.
14192 Use char because int might match the return type of a GCC
14193 builtin and then its argument prototype would still apply. */
14194 char XCreateWindow ();
14196 main (void)
14198 return XCreateWindow ();
14200 return 0;
14202 _ACEOF
14203 if ac_fn_c_try_link "$LINENO"
14204 then :
14205 case "$LIBEXT" in
14206 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14207 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'` ;;
14208 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14209 if ${ac_cv_lib_soname_X11:+false} :
14210 then :
14211 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14212 fi ;;
14213 esac
14214 else $as_nop
14215 ac_cv_lib_soname_X11=
14217 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14218 conftest$ac_exeext conftest.$ac_ext
14219 LIBS=$ac_check_soname_save_LIBS
14221 if ${ac_cv_lib_soname_X11:+false} :
14222 then :
14223 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14224 printf "%s\n" "not found" >&6; }
14226 else $as_nop
14227 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
14228 printf "%s\n" "$ac_cv_lib_soname_X11" >&6; }
14230 printf "%s\n" "#define SONAME_LIBX11 \"$ac_cv_lib_soname_X11\"" >>confdefs.h
14234 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
14235 printf %s "checking for -lXext... " >&6; }
14236 if test ${ac_cv_lib_soname_Xext+y}
14237 then :
14238 printf %s "(cached) " >&6
14239 else $as_nop
14240 ac_check_soname_save_LIBS=$LIBS
14241 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
14242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14243 /* end confdefs.h. */
14245 /* Override any GCC internal prototype to avoid an error.
14246 Use char because int might match the return type of a GCC
14247 builtin and then its argument prototype would still apply. */
14248 char XextCreateExtension ();
14250 main (void)
14252 return XextCreateExtension ();
14254 return 0;
14256 _ACEOF
14257 if ac_fn_c_try_link "$LINENO"
14258 then :
14259 case "$LIBEXT" in
14260 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14261 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'` ;;
14262 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14263 if ${ac_cv_lib_soname_Xext:+false} :
14264 then :
14265 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14266 fi ;;
14267 esac
14268 else $as_nop
14269 ac_cv_lib_soname_Xext=
14271 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14272 conftest$ac_exeext conftest.$ac_ext
14273 LIBS=$ac_check_soname_save_LIBS
14275 if ${ac_cv_lib_soname_Xext:+false} :
14276 then :
14277 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14278 printf "%s\n" "not found" >&6; }
14280 else $as_nop
14281 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
14282 printf "%s\n" "$ac_cv_lib_soname_Xext" >&6; }
14284 printf "%s\n" "#define SONAME_LIBXEXT \"$ac_cv_lib_soname_Xext\"" >>confdefs.h
14286 X_LIBS="$X_LIBS -lXext"
14288 X_LIBS="$X_LIBS -lX11"
14290 ac_fn_c_check_header_compile "$LINENO" "X11/Xlib.h" "ac_cv_header_X11_Xlib_h" "#ifdef HAVE_X11_XLIB_H
14291 # include <X11/Xlib.h>
14292 #endif
14293 #ifdef HAVE_X11_XUTIL_H
14294 # include <X11/Xutil.h>
14295 #endif
14297 if test "x$ac_cv_header_X11_Xlib_h" = xyes
14298 then :
14299 printf "%s\n" "#define HAVE_X11_XLIB_H 1" >>confdefs.h
14302 ac_fn_c_check_header_compile "$LINENO" "X11/XKBlib.h" "ac_cv_header_X11_XKBlib_h" "#ifdef HAVE_X11_XLIB_H
14303 # include <X11/Xlib.h>
14304 #endif
14305 #ifdef HAVE_X11_XUTIL_H
14306 # include <X11/Xutil.h>
14307 #endif
14309 if test "x$ac_cv_header_X11_XKBlib_h" = xyes
14310 then :
14311 printf "%s\n" "#define HAVE_X11_XKBLIB_H 1" >>confdefs.h
14314 ac_fn_c_check_header_compile "$LINENO" "X11/Xutil.h" "ac_cv_header_X11_Xutil_h" "#ifdef HAVE_X11_XLIB_H
14315 # include <X11/Xlib.h>
14316 #endif
14317 #ifdef HAVE_X11_XUTIL_H
14318 # include <X11/Xutil.h>
14319 #endif
14321 if test "x$ac_cv_header_X11_Xutil_h" = xyes
14322 then :
14323 printf "%s\n" "#define HAVE_X11_XUTIL_H 1" >>confdefs.h
14326 ac_fn_c_check_header_compile "$LINENO" "X11/Xcursor/Xcursor.h" "ac_cv_header_X11_Xcursor_Xcursor_h" "#ifdef HAVE_X11_XLIB_H
14327 # include <X11/Xlib.h>
14328 #endif
14329 #ifdef HAVE_X11_XUTIL_H
14330 # include <X11/Xutil.h>
14331 #endif
14333 if test "x$ac_cv_header_X11_Xcursor_Xcursor_h" = xyes
14334 then :
14335 printf "%s\n" "#define HAVE_X11_XCURSOR_XCURSOR_H 1" >>confdefs.h
14338 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/shape.h" "ac_cv_header_X11_extensions_shape_h" "#ifdef HAVE_X11_XLIB_H
14339 # include <X11/Xlib.h>
14340 #endif
14341 #ifdef HAVE_X11_XUTIL_H
14342 # include <X11/Xutil.h>
14343 #endif
14345 if test "x$ac_cv_header_X11_extensions_shape_h" = xyes
14346 then :
14347 printf "%s\n" "#define HAVE_X11_EXTENSIONS_SHAPE_H 1" >>confdefs.h
14350 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XInput.h" "ac_cv_header_X11_extensions_XInput_h" "#ifdef HAVE_X11_XLIB_H
14351 # include <X11/Xlib.h>
14352 #endif
14353 #ifdef HAVE_X11_XUTIL_H
14354 # include <X11/Xutil.h>
14355 #endif
14357 if test "x$ac_cv_header_X11_extensions_XInput_h" = xyes
14358 then :
14359 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINPUT_H 1" >>confdefs.h
14362 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XInput2.h" "ac_cv_header_X11_extensions_XInput2_h" "#ifdef HAVE_X11_XLIB_H
14363 # include <X11/Xlib.h>
14364 #endif
14365 #ifdef HAVE_X11_XUTIL_H
14366 # include <X11/Xutil.h>
14367 #endif
14369 if test "x$ac_cv_header_X11_extensions_XInput2_h" = xyes
14370 then :
14371 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINPUT2_H 1" >>confdefs.h
14374 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XShm.h" "ac_cv_header_X11_extensions_XShm_h" "#ifdef HAVE_X11_XLIB_H
14375 # include <X11/Xlib.h>
14376 #endif
14377 #ifdef HAVE_X11_XUTIL_H
14378 # include <X11/Xutil.h>
14379 #endif
14381 if test "x$ac_cv_header_X11_extensions_XShm_h" = xyes
14382 then :
14383 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XSHM_H 1" >>confdefs.h
14386 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xcomposite.h" "ac_cv_header_X11_extensions_Xcomposite_h" "#ifdef HAVE_X11_XLIB_H
14387 # include <X11/Xlib.h>
14388 #endif
14389 #ifdef HAVE_X11_XUTIL_H
14390 # include <X11/Xutil.h>
14391 #endif
14393 if test "x$ac_cv_header_X11_extensions_Xcomposite_h" = xyes
14394 then :
14395 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XCOMPOSITE_H 1" >>confdefs.h
14398 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xfixes.h" "ac_cv_header_X11_extensions_Xfixes_h" "#ifdef HAVE_X11_XLIB_H
14399 # include <X11/Xlib.h>
14400 #endif
14401 #ifdef HAVE_X11_XUTIL_H
14402 # include <X11/Xutil.h>
14403 #endif
14405 if test "x$ac_cv_header_X11_extensions_Xfixes_h" = xyes
14406 then :
14407 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XFIXES_H 1" >>confdefs.h
14410 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xinerama.h" "ac_cv_header_X11_extensions_Xinerama_h" "#ifdef HAVE_X11_XLIB_H
14411 # include <X11/Xlib.h>
14412 #endif
14413 #ifdef HAVE_X11_XUTIL_H
14414 # include <X11/Xutil.h>
14415 #endif
14417 if test "x$ac_cv_header_X11_extensions_Xinerama_h" = xyes
14418 then :
14419 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINERAMA_H 1" >>confdefs.h
14422 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xrandr.h" "ac_cv_header_X11_extensions_Xrandr_h" "#ifdef HAVE_X11_XLIB_H
14423 # include <X11/Xlib.h>
14424 #endif
14425 #ifdef HAVE_X11_XUTIL_H
14426 # include <X11/Xutil.h>
14427 #endif
14429 if test "x$ac_cv_header_X11_extensions_Xrandr_h" = xyes
14430 then :
14431 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRANDR_H 1" >>confdefs.h
14434 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xrender.h" "ac_cv_header_X11_extensions_Xrender_h" "#ifdef HAVE_X11_XLIB_H
14435 # include <X11/Xlib.h>
14436 #endif
14437 #ifdef HAVE_X11_XUTIL_H
14438 # include <X11/Xutil.h>
14439 #endif
14441 if test "x$ac_cv_header_X11_extensions_Xrender_h" = xyes
14442 then :
14443 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRENDER_H 1" >>confdefs.h
14446 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/xf86vmode.h" "ac_cv_header_X11_extensions_xf86vmode_h" "#ifdef HAVE_X11_XLIB_H
14447 # include <X11/Xlib.h>
14448 #endif
14449 #ifdef HAVE_X11_XUTIL_H
14450 # include <X11/Xutil.h>
14451 #endif
14453 if test "x$ac_cv_header_X11_extensions_xf86vmode_h" = xyes
14454 then :
14455 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMODE_H 1" >>confdefs.h
14458 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/xf86vmproto.h" "ac_cv_header_X11_extensions_xf86vmproto_h" "#ifdef HAVE_X11_XLIB_H
14459 # include <X11/Xlib.h>
14460 #endif
14461 #ifdef HAVE_X11_XUTIL_H
14462 # include <X11/Xutil.h>
14463 #endif
14465 if test "x$ac_cv_header_X11_extensions_xf86vmproto_h" = xyes
14466 then :
14467 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMPROTO_H 1" >>confdefs.h
14472 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
14473 then
14474 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
14475 printf %s "checking for -lXcursor... " >&6; }
14476 if test ${ac_cv_lib_soname_Xcursor+y}
14477 then :
14478 printf %s "(cached) " >&6
14479 else $as_nop
14480 ac_check_soname_save_LIBS=$LIBS
14481 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
14482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14483 /* end confdefs.h. */
14485 /* Override any GCC internal prototype to avoid an error.
14486 Use char because int might match the return type of a GCC
14487 builtin and then its argument prototype would still apply. */
14488 char XcursorImageLoadCursor ();
14490 main (void)
14492 return XcursorImageLoadCursor ();
14494 return 0;
14496 _ACEOF
14497 if ac_fn_c_try_link "$LINENO"
14498 then :
14499 case "$LIBEXT" in
14500 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14501 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'` ;;
14502 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14503 if ${ac_cv_lib_soname_Xcursor:+false} :
14504 then :
14505 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14506 fi ;;
14507 esac
14508 else $as_nop
14509 ac_cv_lib_soname_Xcursor=
14511 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14512 conftest$ac_exeext conftest.$ac_ext
14513 LIBS=$ac_check_soname_save_LIBS
14515 if ${ac_cv_lib_soname_Xcursor:+false} :
14516 then :
14517 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14518 printf "%s\n" "not found" >&6; }
14520 else $as_nop
14521 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
14522 printf "%s\n" "$ac_cv_lib_soname_Xcursor" >&6; }
14524 printf "%s\n" "#define SONAME_LIBXCURSOR \"$ac_cv_lib_soname_Xcursor\"" >>confdefs.h
14529 if test "x$ac_cv_lib_soname_Xcursor" = "x"
14530 then :
14531 case "x$with_xcursor" in
14532 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
14533 xno) ;;
14534 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
14535 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
14536 esac
14540 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
14541 then
14542 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
14543 printf %s "checking for -lXi... " >&6; }
14544 if test ${ac_cv_lib_soname_Xi+y}
14545 then :
14546 printf %s "(cached) " >&6
14547 else $as_nop
14548 ac_check_soname_save_LIBS=$LIBS
14549 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
14550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14551 /* end confdefs.h. */
14553 /* Override any GCC internal prototype to avoid an error.
14554 Use char because int might match the return type of a GCC
14555 builtin and then its argument prototype would still apply. */
14556 char XOpenDevice ();
14558 main (void)
14560 return XOpenDevice ();
14562 return 0;
14564 _ACEOF
14565 if ac_fn_c_try_link "$LINENO"
14566 then :
14567 case "$LIBEXT" in
14568 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14569 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'` ;;
14570 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14571 if ${ac_cv_lib_soname_Xi:+false} :
14572 then :
14573 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14574 fi ;;
14575 esac
14576 else $as_nop
14577 ac_cv_lib_soname_Xi=
14579 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14580 conftest$ac_exeext conftest.$ac_ext
14581 LIBS=$ac_check_soname_save_LIBS
14583 if ${ac_cv_lib_soname_Xi:+false} :
14584 then :
14585 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14586 printf "%s\n" "not found" >&6; }
14588 else $as_nop
14589 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
14590 printf "%s\n" "$ac_cv_lib_soname_Xi" >&6; }
14592 printf "%s\n" "#define SONAME_LIBXI \"$ac_cv_lib_soname_Xi\"" >>confdefs.h
14597 if test "x$ac_cv_lib_soname_Xi" = "x"
14598 then :
14599 case "x$with_xinput" in
14600 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
14601 xno) ;;
14602 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
14603 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
14604 esac
14608 if test "x$ac_cv_lib_soname_Xi" != x
14609 then
14610 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"
14611 then :
14612 case "x$with_xinput2" in
14613 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
14614 xno) ;;
14615 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
14616 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
14617 esac
14622 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
14623 then
14624 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
14625 printf %s "checking for XShmQueryExtension in -lXext... " >&6; }
14626 if test ${ac_cv_lib_Xext_XShmQueryExtension+y}
14627 then :
14628 printf %s "(cached) " >&6
14629 else $as_nop
14630 ac_check_lib_save_LIBS=$LIBS
14631 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
14632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14633 /* end confdefs.h. */
14635 /* Override any GCC internal prototype to avoid an error.
14636 Use char because int might match the return type of a GCC
14637 builtin and then its argument prototype would still apply. */
14638 char XShmQueryExtension ();
14640 main (void)
14642 return XShmQueryExtension ();
14644 return 0;
14646 _ACEOF
14647 if ac_fn_c_try_link "$LINENO"
14648 then :
14649 ac_cv_lib_Xext_XShmQueryExtension=yes
14650 else $as_nop
14651 ac_cv_lib_Xext_XShmQueryExtension=no
14653 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14654 conftest$ac_exeext conftest.$ac_ext
14655 LIBS=$ac_check_lib_save_LIBS
14657 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
14658 printf "%s\n" "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
14659 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
14660 then :
14662 printf "%s\n" "#define HAVE_LIBXXSHM 1" >>confdefs.h
14667 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"
14668 then :
14669 case "x$with_xshm" in
14670 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
14671 xno) ;;
14672 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
14673 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
14674 esac
14678 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
14679 then
14680 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
14681 printf %s "checking for XShapeQueryExtension in -lXext... " >&6; }
14682 if test ${ac_cv_lib_Xext_XShapeQueryExtension+y}
14683 then :
14684 printf %s "(cached) " >&6
14685 else $as_nop
14686 ac_check_lib_save_LIBS=$LIBS
14687 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
14688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14689 /* end confdefs.h. */
14691 /* Override any GCC internal prototype to avoid an error.
14692 Use char because int might match the return type of a GCC
14693 builtin and then its argument prototype would still apply. */
14694 char XShapeQueryExtension ();
14696 main (void)
14698 return XShapeQueryExtension ();
14700 return 0;
14702 _ACEOF
14703 if ac_fn_c_try_link "$LINENO"
14704 then :
14705 ac_cv_lib_Xext_XShapeQueryExtension=yes
14706 else $as_nop
14707 ac_cv_lib_Xext_XShapeQueryExtension=no
14709 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14710 conftest$ac_exeext conftest.$ac_ext
14711 LIBS=$ac_check_lib_save_LIBS
14713 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
14714 printf "%s\n" "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
14715 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
14716 then :
14718 printf "%s\n" "#define HAVE_LIBXSHAPE 1" >>confdefs.h
14723 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"
14724 then :
14725 case "x$with_xshape" in
14726 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
14727 xno) ;;
14728 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
14729 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
14730 esac
14734 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
14735 then
14736 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
14737 printf %s "checking for -lXxf86vm... " >&6; }
14738 if test ${ac_cv_lib_soname_Xxf86vm+y}
14739 then :
14740 printf %s "(cached) " >&6
14741 else $as_nop
14742 ac_check_soname_save_LIBS=$LIBS
14743 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
14744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14745 /* end confdefs.h. */
14747 /* Override any GCC internal prototype to avoid an error.
14748 Use char because int might match the return type of a GCC
14749 builtin and then its argument prototype would still apply. */
14750 char XF86VidModeQueryExtension ();
14752 main (void)
14754 return XF86VidModeQueryExtension ();
14756 return 0;
14758 _ACEOF
14759 if ac_fn_c_try_link "$LINENO"
14760 then :
14761 case "$LIBEXT" in
14762 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14763 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'` ;;
14764 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14765 if ${ac_cv_lib_soname_Xxf86vm:+false} :
14766 then :
14767 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14768 fi ;;
14769 esac
14770 else $as_nop
14771 ac_cv_lib_soname_Xxf86vm=
14773 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14774 conftest$ac_exeext conftest.$ac_ext
14775 LIBS=$ac_check_soname_save_LIBS
14777 if ${ac_cv_lib_soname_Xxf86vm:+false} :
14778 then :
14779 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14780 printf "%s\n" "not found" >&6; }
14782 else $as_nop
14783 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
14784 printf "%s\n" "$ac_cv_lib_soname_Xxf86vm" >&6; }
14786 printf "%s\n" "#define SONAME_LIBXXF86VM \"$ac_cv_lib_soname_Xxf86vm\"" >>confdefs.h
14791 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"
14792 then :
14793 case "x$with_xxf86vm" in
14794 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
14795 xno) ;;
14796 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
14797 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
14798 esac
14802 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
14803 then
14804 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
14805 printf %s "checking for -lXrender... " >&6; }
14806 if test ${ac_cv_lib_soname_Xrender+y}
14807 then :
14808 printf %s "(cached) " >&6
14809 else $as_nop
14810 ac_check_soname_save_LIBS=$LIBS
14811 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
14812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14813 /* end confdefs.h. */
14815 /* Override any GCC internal prototype to avoid an error.
14816 Use char because int might match the return type of a GCC
14817 builtin and then its argument prototype would still apply. */
14818 char XRenderQueryExtension ();
14820 main (void)
14822 return XRenderQueryExtension ();
14824 return 0;
14826 _ACEOF
14827 if ac_fn_c_try_link "$LINENO"
14828 then :
14829 case "$LIBEXT" in
14830 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14831 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'` ;;
14832 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14833 if ${ac_cv_lib_soname_Xrender:+false} :
14834 then :
14835 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14836 fi ;;
14837 esac
14838 else $as_nop
14839 ac_cv_lib_soname_Xrender=
14841 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14842 conftest$ac_exeext conftest.$ac_ext
14843 LIBS=$ac_check_soname_save_LIBS
14845 if ${ac_cv_lib_soname_Xrender:+false} :
14846 then :
14847 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14848 printf "%s\n" "not found" >&6; }
14850 else $as_nop
14851 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
14852 printf "%s\n" "$ac_cv_lib_soname_Xrender" >&6; }
14854 printf "%s\n" "#define SONAME_LIBXRENDER \"$ac_cv_lib_soname_Xrender\"" >>confdefs.h
14856 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
14857 printf %s "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
14858 if test ${ac_cv_lib_Xrender_XRenderSetPictureTransform+y}
14859 then :
14860 printf %s "(cached) " >&6
14861 else $as_nop
14862 ac_check_lib_save_LIBS=$LIBS
14863 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
14864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14865 /* end confdefs.h. */
14867 /* Override any GCC internal prototype to avoid an error.
14868 Use char because int might match the return type of a GCC
14869 builtin and then its argument prototype would still apply. */
14870 char XRenderSetPictureTransform ();
14872 main (void)
14874 return XRenderSetPictureTransform ();
14876 return 0;
14878 _ACEOF
14879 if ac_fn_c_try_link "$LINENO"
14880 then :
14881 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
14882 else $as_nop
14883 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
14885 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14886 conftest$ac_exeext conftest.$ac_ext
14887 LIBS=$ac_check_lib_save_LIBS
14889 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
14890 printf "%s\n" "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
14891 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
14892 then :
14894 printf "%s\n" "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
14898 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
14899 printf %s "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
14900 if test ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+y}
14901 then :
14902 printf %s "(cached) " >&6
14903 else $as_nop
14904 ac_check_lib_save_LIBS=$LIBS
14905 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
14906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14907 /* end confdefs.h. */
14909 /* Override any GCC internal prototype to avoid an error.
14910 Use char because int might match the return type of a GCC
14911 builtin and then its argument prototype would still apply. */
14912 char XRenderCreateLinearGradient ();
14914 main (void)
14916 return XRenderCreateLinearGradient ();
14918 return 0;
14920 _ACEOF
14921 if ac_fn_c_try_link "$LINENO"
14922 then :
14923 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
14924 else $as_nop
14925 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
14927 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14928 conftest$ac_exeext conftest.$ac_ext
14929 LIBS=$ac_check_lib_save_LIBS
14931 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
14932 printf "%s\n" "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
14933 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes
14934 then :
14936 printf "%s\n" "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
14943 if test "x$ac_cv_lib_soname_Xrender" = "x"
14944 then :
14945 case "x$with_xrender" in
14946 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
14947 xno) ;;
14948 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
14949 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
14950 esac
14954 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
14955 then
14956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14957 /* end confdefs.h. */
14958 #include <X11/Xlib.h>
14959 #include <X11/extensions/Xrandr.h>
14961 main (void)
14963 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
14965 return 0;
14967 _ACEOF
14968 if ac_fn_c_try_compile "$LINENO"
14969 then :
14970 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
14971 printf %s "checking for -lXrandr... " >&6; }
14972 if test ${ac_cv_lib_soname_Xrandr+y}
14973 then :
14974 printf %s "(cached) " >&6
14975 else $as_nop
14976 ac_check_soname_save_LIBS=$LIBS
14977 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
14978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14979 /* end confdefs.h. */
14981 /* Override any GCC internal prototype to avoid an error.
14982 Use char because int might match the return type of a GCC
14983 builtin and then its argument prototype would still apply. */
14984 char XRRQueryExtension ();
14986 main (void)
14988 return XRRQueryExtension ();
14990 return 0;
14992 _ACEOF
14993 if ac_fn_c_try_link "$LINENO"
14994 then :
14995 case "$LIBEXT" in
14996 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14997 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'` ;;
14998 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14999 if ${ac_cv_lib_soname_Xrandr:+false} :
15000 then :
15001 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15002 fi ;;
15003 esac
15004 else $as_nop
15005 ac_cv_lib_soname_Xrandr=
15007 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15008 conftest$ac_exeext conftest.$ac_ext
15009 LIBS=$ac_check_soname_save_LIBS
15011 if ${ac_cv_lib_soname_Xrandr:+false} :
15012 then :
15013 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15014 printf "%s\n" "not found" >&6; }
15016 else $as_nop
15017 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
15018 printf "%s\n" "$ac_cv_lib_soname_Xrandr" >&6; }
15020 printf "%s\n" "#define SONAME_LIBXRANDR \"$ac_cv_lib_soname_Xrandr\"" >>confdefs.h
15022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15023 /* end confdefs.h. */
15024 #include <X11/Xlib.h>
15025 #include <X11/extensions/Xrandr.h>
15027 main (void)
15029 static typeof(XRRGetProviderResources) *f; if (f) return 0;
15031 return 0;
15033 _ACEOF
15034 if ac_fn_c_try_compile "$LINENO"
15035 then :
15037 printf "%s\n" "#define HAVE_XRRGETPROVIDERRESOURCES 1" >>confdefs.h
15039 else $as_nop
15040 as_fn_append wine_notices "|libxrandr ${notice_platform}development files too old, XRandR display device handler won't be supported."
15042 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15045 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15047 if test "x$ac_cv_lib_soname_Xrandr" = "x"
15048 then :
15049 case "x$with_xrandr" in
15050 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
15051 xno) ;;
15052 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
15053 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
15054 esac
15058 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
15059 then
15060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15061 /* end confdefs.h. */
15062 #include <X11/Xlib.h>
15063 #include <X11/extensions/Xfixes.h>
15065 main (void)
15067 static typeof(XFixesQueryVersion) * func; if (func) return 0;
15069 return 0;
15071 _ACEOF
15072 if ac_fn_c_try_compile "$LINENO"
15073 then :
15074 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
15075 printf %s "checking for -lXfixes... " >&6; }
15076 if test ${ac_cv_lib_soname_Xfixes+y}
15077 then :
15078 printf %s "(cached) " >&6
15079 else $as_nop
15080 ac_check_soname_save_LIBS=$LIBS
15081 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
15082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15083 /* end confdefs.h. */
15085 /* Override any GCC internal prototype to avoid an error.
15086 Use char because int might match the return type of a GCC
15087 builtin and then its argument prototype would still apply. */
15088 char XFixesQueryVersion ();
15090 main (void)
15092 return XFixesQueryVersion ();
15094 return 0;
15096 _ACEOF
15097 if ac_fn_c_try_link "$LINENO"
15098 then :
15099 case "$LIBEXT" in
15100 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15101 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'` ;;
15102 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15103 if ${ac_cv_lib_soname_Xfixes:+false} :
15104 then :
15105 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15106 fi ;;
15107 esac
15108 else $as_nop
15109 ac_cv_lib_soname_Xfixes=
15111 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15112 conftest$ac_exeext conftest.$ac_ext
15113 LIBS=$ac_check_soname_save_LIBS
15115 if ${ac_cv_lib_soname_Xfixes:+false} :
15116 then :
15117 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15118 printf "%s\n" "not found" >&6; }
15120 else $as_nop
15121 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
15122 printf "%s\n" "$ac_cv_lib_soname_Xfixes" >&6; }
15124 printf "%s\n" "#define SONAME_LIBXFIXES \"$ac_cv_lib_soname_Xfixes\"" >>confdefs.h
15129 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15131 if test "x$ac_cv_lib_soname_Xfixes" = "x"
15132 then :
15133 case "x$with_xfixes" in
15134 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
15135 xno) ;;
15136 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
15137 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
15138 esac
15142 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
15143 then
15144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15145 /* end confdefs.h. */
15146 #include <X11/Xlib.h>
15147 #include <X11/extensions/Xinerama.h>
15149 main (void)
15151 static typeof(XineramaQueryScreens) * func; if (func) return 0;
15153 return 0;
15155 _ACEOF
15156 if ac_fn_c_try_compile "$LINENO"
15157 then :
15158 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
15159 printf %s "checking for -lXinerama... " >&6; }
15160 if test ${ac_cv_lib_soname_Xinerama+y}
15161 then :
15162 printf %s "(cached) " >&6
15163 else $as_nop
15164 ac_check_soname_save_LIBS=$LIBS
15165 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
15166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15167 /* end confdefs.h. */
15169 /* Override any GCC internal prototype to avoid an error.
15170 Use char because int might match the return type of a GCC
15171 builtin and then its argument prototype would still apply. */
15172 char XineramaQueryScreens ();
15174 main (void)
15176 return XineramaQueryScreens ();
15178 return 0;
15180 _ACEOF
15181 if ac_fn_c_try_link "$LINENO"
15182 then :
15183 case "$LIBEXT" in
15184 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15185 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'` ;;
15186 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15187 if ${ac_cv_lib_soname_Xinerama:+false} :
15188 then :
15189 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15190 fi ;;
15191 esac
15192 else $as_nop
15193 ac_cv_lib_soname_Xinerama=
15195 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15196 conftest$ac_exeext conftest.$ac_ext
15197 LIBS=$ac_check_soname_save_LIBS
15199 if ${ac_cv_lib_soname_Xinerama:+false} :
15200 then :
15201 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15202 printf "%s\n" "not found" >&6; }
15204 else $as_nop
15205 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
15206 printf "%s\n" "$ac_cv_lib_soname_Xinerama" >&6; }
15208 printf "%s\n" "#define SONAME_LIBXINERAMA \"$ac_cv_lib_soname_Xinerama\"" >>confdefs.h
15213 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15215 if test "x$ac_cv_lib_soname_Xinerama" = "x"
15216 then :
15217 case "x$with_xinerama" in
15218 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
15219 xno) ;;
15220 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
15221 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
15222 esac
15226 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
15227 then
15228 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
15229 printf %s "checking for -lXcomposite... " >&6; }
15230 if test ${ac_cv_lib_soname_Xcomposite+y}
15231 then :
15232 printf %s "(cached) " >&6
15233 else $as_nop
15234 ac_check_soname_save_LIBS=$LIBS
15235 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
15236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15237 /* end confdefs.h. */
15239 /* Override any GCC internal prototype to avoid an error.
15240 Use char because int might match the return type of a GCC
15241 builtin and then its argument prototype would still apply. */
15242 char XCompositeRedirectWindow ();
15244 main (void)
15246 return XCompositeRedirectWindow ();
15248 return 0;
15250 _ACEOF
15251 if ac_fn_c_try_link "$LINENO"
15252 then :
15253 case "$LIBEXT" in
15254 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15255 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'` ;;
15256 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15257 if ${ac_cv_lib_soname_Xcomposite:+false} :
15258 then :
15259 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15260 fi ;;
15261 esac
15262 else $as_nop
15263 ac_cv_lib_soname_Xcomposite=
15265 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15266 conftest$ac_exeext conftest.$ac_ext
15267 LIBS=$ac_check_soname_save_LIBS
15269 if ${ac_cv_lib_soname_Xcomposite:+false} :
15270 then :
15271 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15272 printf "%s\n" "not found" >&6; }
15274 else $as_nop
15275 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
15276 printf "%s\n" "$ac_cv_lib_soname_Xcomposite" >&6; }
15278 printf "%s\n" "#define SONAME_LIBXCOMPOSITE \"$ac_cv_lib_soname_Xcomposite\"" >>confdefs.h
15283 if test "x$ac_cv_lib_soname_Xcomposite" = "x"
15284 then :
15285 case "x$with_xcomposite" in
15286 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
15287 xno) ;;
15288 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
15289 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
15290 esac
15294 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
15295 #include <X11/Xlib.h>
15296 #endif
15298 if test "x$ac_cv_member_XICCallback_callback" = xyes
15299 then :
15301 printf "%s\n" "#define HAVE_XICCALLBACK_CALLBACK 1" >>confdefs.h
15305 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
15306 #include <X11/Xlib.h>
15307 #endif
15309 if test "x$ac_cv_member_XEvent_xcookie" = xyes
15310 then :
15312 printf "%s\n" "#define HAVE_XEVENT_XCOOKIE 1" >>confdefs.h
15319 opengl_msg=""
15320 if test "x$with_opengl" != "xno"
15321 then
15322 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
15323 printf %s "checking for -lGL... " >&6; }
15324 if test ${ac_cv_lib_soname_GL+y}
15325 then :
15326 printf %s "(cached) " >&6
15327 else $as_nop
15328 ac_check_soname_save_LIBS=$LIBS
15329 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
15330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15331 /* end confdefs.h. */
15333 /* Override any GCC internal prototype to avoid an error.
15334 Use char because int might match the return type of a GCC
15335 builtin and then its argument prototype would still apply. */
15336 char glXCreateContext ();
15338 main (void)
15340 return glXCreateContext ();
15342 return 0;
15344 _ACEOF
15345 if ac_fn_c_try_link "$LINENO"
15346 then :
15347 case "$LIBEXT" in
15348 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15349 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'` ;;
15350 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15351 if ${ac_cv_lib_soname_GL:+false} :
15352 then :
15353 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15354 fi ;;
15355 esac
15356 else $as_nop
15357 ac_cv_lib_soname_GL=
15359 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15360 conftest$ac_exeext conftest.$ac_ext
15361 LIBS=$ac_check_soname_save_LIBS
15363 if ${ac_cv_lib_soname_GL:+false} :
15364 then :
15365 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15366 printf "%s\n" "not found" >&6; }
15367 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
15368 printf %s "checking for -lGL... " >&6; }
15369 if test ${ac_cv_lib_soname_GL+y}
15370 then :
15371 printf %s "(cached) " >&6
15372 else $as_nop
15373 ac_check_soname_save_LIBS=$LIBS
15374 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"
15375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15376 /* end confdefs.h. */
15378 /* Override any GCC internal prototype to avoid an error.
15379 Use char because int might match the return type of a GCC
15380 builtin and then its argument prototype would still apply. */
15381 char glXCreateContext ();
15383 main (void)
15385 return glXCreateContext ();
15387 return 0;
15389 _ACEOF
15390 if ac_fn_c_try_link "$LINENO"
15391 then :
15392 case "$LIBEXT" in
15393 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15394 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'` ;;
15395 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15396 if ${ac_cv_lib_soname_GL:+false} :
15397 then :
15398 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15399 fi ;;
15400 esac
15401 else $as_nop
15402 ac_cv_lib_soname_GL=
15404 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15405 conftest$ac_exeext conftest.$ac_ext
15406 LIBS=$ac_check_soname_save_LIBS
15408 if ${ac_cv_lib_soname_GL:+false} :
15409 then :
15410 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15411 printf "%s\n" "not found" >&6; }
15412 if test -f /usr/X11R6/lib/libGL.a
15413 then
15414 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
15415 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
15416 else
15417 opengl_msg="No OpenGL library found on this system."
15419 else $as_nop
15420 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
15421 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
15423 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
15425 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"
15427 else $as_nop
15428 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
15429 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
15431 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
15433 OPENGL_LIBS="-lGL"
15435 if test "x$with_osmesa" != "xno"
15436 then
15437 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
15438 printf %s "checking for -lOSMesa... " >&6; }
15439 if test ${ac_cv_lib_soname_OSMesa+y}
15440 then :
15441 printf %s "(cached) " >&6
15442 else $as_nop
15443 ac_check_soname_save_LIBS=$LIBS
15444 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
15445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15446 /* end confdefs.h. */
15448 /* Override any GCC internal prototype to avoid an error.
15449 Use char because int might match the return type of a GCC
15450 builtin and then its argument prototype would still apply. */
15451 char OSMesaGetProcAddress ();
15453 main (void)
15455 return OSMesaGetProcAddress ();
15457 return 0;
15459 _ACEOF
15460 if ac_fn_c_try_link "$LINENO"
15461 then :
15462 case "$LIBEXT" in
15463 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15464 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'` ;;
15465 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15466 if ${ac_cv_lib_soname_OSMesa:+false} :
15467 then :
15468 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15469 fi ;;
15470 esac
15471 else $as_nop
15472 ac_cv_lib_soname_OSMesa=
15474 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15475 conftest$ac_exeext conftest.$ac_ext
15476 LIBS=$ac_check_soname_save_LIBS
15478 if ${ac_cv_lib_soname_OSMesa:+false} :
15479 then :
15480 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15481 printf "%s\n" "not found" >&6; }
15483 else $as_nop
15484 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
15485 printf "%s\n" "$ac_cv_lib_soname_OSMesa" >&6; }
15487 printf "%s\n" "#define SONAME_LIBOSMESA \"$ac_cv_lib_soname_OSMesa\"" >>confdefs.h
15491 if test "x$ac_cv_lib_soname_OSMesa" = "x"
15492 then :
15493 case "x$with_osmesa" in
15494 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
15495 xno) ;;
15496 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
15497 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
15498 esac
15503 if test -n "$opengl_msg"
15504 then :
15505 case "x$with_opengl" in
15506 x) as_fn_append wine_warnings "|$opengl_msg
15507 OpenGL and Direct3D won't be supported." ;;
15508 xno) ;;
15509 *) as_fn_error $? "$opengl_msg
15510 OpenGL and Direct3D won't be supported.
15511 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
15512 esac
15516 CPPFLAGS="$ac_save_CPPFLAGS"
15517 else
15518 X_CFLAGS=""
15519 X_LIBS=""
15522 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
15523 then
15524 if test "x$X_LIBS" = "x"
15525 then :
15526 case "x$with_x" in
15527 xno) ;;
15528 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
15529 without X support, which probably isn't what you want. You will need
15530 to install ${notice_platform}development packages of Xlib at the very least.
15531 Use the --without-x option if you really want this." "$LINENO" 5 ;;
15532 esac
15533 enable_winex11_drv=${enable_winex11_drv:-no}
15535 else
15536 if test "x$X_LIBS" = "x"
15537 then :
15538 case "x$with_x" in
15539 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
15540 xno) ;;
15541 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
15542 This is an error since --with-x was requested." "$LINENO" 5 ;;
15543 esac
15544 enable_winex11_drv=${enable_winex11_drv:-no}
15548 if test "x$with_wayland" != "xno"
15549 then
15550 rm -f conftest.err
15551 if ${WAYLAND_CLIENT_CFLAGS:+false} :
15552 then :
15553 if test ${PKG_CONFIG+y}
15554 then :
15555 WAYLAND_CLIENT_CFLAGS=`$PKG_CONFIG --cflags wayland-client 2>conftest.err`
15559 if ${WAYLAND_CLIENT_LIBS:+false} :
15560 then :
15561 if test ${PKG_CONFIG+y}
15562 then :
15563 WAYLAND_CLIENT_LIBS=`$PKG_CONFIG --libs wayland-client 2>/dev/null`
15568 printf "%s\n" "$as_me:${as_lineno-$LINENO}: wayland-client cflags: $WAYLAND_CLIENT_CFLAGS" >&5
15569 printf "%s\n" "$as_me:${as_lineno-$LINENO}: wayland-client libs: $WAYLAND_CLIENT_LIBS" >&5
15570 if test -s conftest.err; then
15571 printf %s "$as_me:${as_lineno-$LINENO}: wayland-client errors: " >&5
15572 cat conftest.err >&5
15574 rm -f conftest.err
15575 ac_save_CPPFLAGS=$CPPFLAGS
15576 CPPFLAGS="$CPPFLAGS $WAYLAND_CLIENT_CFLAGS"
15577 for ac_header in wayland-client.h
15578 do :
15579 ac_fn_c_check_header_compile "$LINENO" "wayland-client.h" "ac_cv_header_wayland_client_h" "$ac_includes_default"
15580 if test "x$ac_cv_header_wayland_client_h" = xyes
15581 then :
15582 printf "%s\n" "#define HAVE_WAYLAND_CLIENT_H 1" >>confdefs.h
15583 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for wl_display_connect in -lwayland-client" >&5
15584 printf %s "checking for wl_display_connect in -lwayland-client... " >&6; }
15585 if test ${ac_cv_lib_wayland_client_wl_display_connect+y}
15586 then :
15587 printf %s "(cached) " >&6
15588 else $as_nop
15589 ac_check_lib_save_LIBS=$LIBS
15590 LIBS="-lwayland-client $WAYLAND_CLIENT_LIBS $LIBS"
15591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15592 /* end confdefs.h. */
15594 /* Override any GCC internal prototype to avoid an error.
15595 Use char because int might match the return type of a GCC
15596 builtin and then its argument prototype would still apply. */
15597 char wl_display_connect ();
15599 main (void)
15601 return wl_display_connect ();
15603 return 0;
15605 _ACEOF
15606 if ac_fn_c_try_link "$LINENO"
15607 then :
15608 ac_cv_lib_wayland_client_wl_display_connect=yes
15609 else $as_nop
15610 ac_cv_lib_wayland_client_wl_display_connect=no
15612 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15613 conftest$ac_exeext conftest.$ac_ext
15614 LIBS=$ac_check_lib_save_LIBS
15616 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_wayland_client_wl_display_connect" >&5
15617 printf "%s\n" "$ac_cv_lib_wayland_client_wl_display_connect" >&6; }
15618 if test "x$ac_cv_lib_wayland_client_wl_display_connect" = xyes
15619 then :
15620 # Extract the first word of "wayland-scanner", so it can be a program name with args.
15621 set dummy wayland-scanner; ac_word=$2
15622 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15623 printf %s "checking for $ac_word... " >&6; }
15624 if test ${ac_cv_path_WAYLAND_SCANNER+y}
15625 then :
15626 printf %s "(cached) " >&6
15627 else $as_nop
15628 case $WAYLAND_SCANNER in
15629 [\\/]* | ?:[\\/]*)
15630 ac_cv_path_WAYLAND_SCANNER="$WAYLAND_SCANNER" # Let the user override the test with a path.
15633 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15634 for as_dir in $PATH
15636 IFS=$as_save_IFS
15637 case $as_dir in #(((
15638 '') as_dir=./ ;;
15639 */) ;;
15640 *) as_dir=$as_dir/ ;;
15641 esac
15642 for ac_exec_ext in '' $ac_executable_extensions; do
15643 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
15644 ac_cv_path_WAYLAND_SCANNER="$as_dir$ac_word$ac_exec_ext"
15645 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
15646 break 2
15648 done
15649 done
15650 IFS=$as_save_IFS
15652 test -z "$ac_cv_path_WAYLAND_SCANNER" && ac_cv_path_WAYLAND_SCANNER="`test -n "$PKG_CONFIG" && $PKG_CONFIG --variable=wayland_scanner wayland-scanner 2>/dev/null`"
15654 esac
15656 WAYLAND_SCANNER=$ac_cv_path_WAYLAND_SCANNER
15657 if test -n "$WAYLAND_SCANNER"; then
15658 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $WAYLAND_SCANNER" >&5
15659 printf "%s\n" "$WAYLAND_SCANNER" >&6; }
15660 else
15661 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
15662 printf "%s\n" "no" >&6; }
15666 else $as_nop
15667 WAYLAND_CLIENT_LIBS=""
15672 done
15673 CPPFLAGS=$ac_save_CPPFLAGS
15676 if test -z "$WAYLAND_CLIENT_LIBS" -o -z "$WAYLAND_SCANNER"
15677 then :
15678 case "x$with_wayland" in
15679 x) as_fn_append wine_notices "|Wayland ${notice_platform}development files not found, the Wayland driver won't be supported." ;;
15680 xno) ;;
15681 *) as_fn_error $? "Wayland ${notice_platform}development files not found, the Wayland driver won't be supported.
15682 This is an error since --with-wayland was requested." "$LINENO" 5 ;;
15683 esac
15684 enable_winewayland_drv=${enable_winewayland_drv:-no}
15687 if test "$ac_cv_header_CL_cl_h" = "yes"
15688 then
15689 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
15690 printf %s "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
15691 if test ${ac_cv_lib_OpenCL_clGetPlatformInfo+y}
15692 then :
15693 printf %s "(cached) " >&6
15694 else $as_nop
15695 ac_check_lib_save_LIBS=$LIBS
15696 LIBS="-lOpenCL $LIBS"
15697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15698 /* end confdefs.h. */
15700 /* Override any GCC internal prototype to avoid an error.
15701 Use char because int might match the return type of a GCC
15702 builtin and then its argument prototype would still apply. */
15703 char clGetPlatformInfo ();
15705 main (void)
15707 return clGetPlatformInfo ();
15709 return 0;
15711 _ACEOF
15712 if ac_fn_c_try_link "$LINENO"
15713 then :
15714 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
15715 else $as_nop
15716 ac_cv_lib_OpenCL_clGetPlatformInfo=no
15718 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15719 conftest$ac_exeext conftest.$ac_ext
15720 LIBS=$ac_check_lib_save_LIBS
15722 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
15723 printf "%s\n" "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
15724 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
15725 then :
15726 OPENCL_LIBS="-lOpenCL"
15731 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
15732 then :
15733 case "x$with_opencl" in
15734 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
15735 xno) ;;
15736 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
15737 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
15738 esac
15739 enable_opencl=${enable_opencl:-no}
15742 if test "$ac_cv_header_pcap_pcap_h" = "yes"
15743 then
15744 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pcap_init in -lpcap" >&5
15745 printf %s "checking for pcap_init in -lpcap... " >&6; }
15746 if test ${ac_cv_lib_pcap_pcap_init+y}
15747 then :
15748 printf %s "(cached) " >&6
15749 else $as_nop
15750 ac_check_lib_save_LIBS=$LIBS
15751 LIBS="-lpcap $LIBS"
15752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15753 /* end confdefs.h. */
15755 /* Override any GCC internal prototype to avoid an error.
15756 Use char because int might match the return type of a GCC
15757 builtin and then its argument prototype would still apply. */
15758 char pcap_init ();
15760 main (void)
15762 return pcap_init ();
15764 return 0;
15766 _ACEOF
15767 if ac_fn_c_try_link "$LINENO"
15768 then :
15769 ac_cv_lib_pcap_pcap_init=yes
15770 else $as_nop
15771 ac_cv_lib_pcap_pcap_init=no
15773 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15774 conftest$ac_exeext conftest.$ac_ext
15775 LIBS=$ac_check_lib_save_LIBS
15777 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_init" >&5
15778 printf "%s\n" "$ac_cv_lib_pcap_pcap_init" >&6; }
15779 if test "x$ac_cv_lib_pcap_pcap_init" = xyes
15780 then :
15781 PCAP_LIBS="-lpcap"
15786 if test "x$ac_cv_lib_pcap_pcap_init" != xyes
15787 then :
15788 case "x$with_pcap" in
15789 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
15790 xno) ;;
15791 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
15792 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
15793 esac
15794 enable_wpcap=${enable_wpcap:-no}
15797 if test "x$with_pcsclite" != "xno"
15798 then
15799 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for SCardEstablishContext in -lpcsclite" >&5
15800 printf %s "checking for SCardEstablishContext in -lpcsclite... " >&6; }
15801 if test ${ac_cv_lib_pcsclite_SCardEstablishContext+y}
15802 then :
15803 printf %s "(cached) " >&6
15804 else $as_nop
15805 ac_check_lib_save_LIBS=$LIBS
15806 LIBS="-lpcsclite $LIBS"
15807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15808 /* end confdefs.h. */
15810 /* Override any GCC internal prototype to avoid an error.
15811 Use char because int might match the return type of a GCC
15812 builtin and then its argument prototype would still apply. */
15813 char SCardEstablishContext ();
15815 main (void)
15817 return SCardEstablishContext ();
15819 return 0;
15821 _ACEOF
15822 if ac_fn_c_try_link "$LINENO"
15823 then :
15824 ac_cv_lib_pcsclite_SCardEstablishContext=yes
15825 else $as_nop
15826 ac_cv_lib_pcsclite_SCardEstablishContext=no
15828 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15829 conftest$ac_exeext conftest.$ac_ext
15830 LIBS=$ac_check_lib_save_LIBS
15832 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcsclite_SCardEstablishContext" >&5
15833 printf "%s\n" "$ac_cv_lib_pcsclite_SCardEstablishContext" >&6; }
15834 if test "x$ac_cv_lib_pcsclite_SCardEstablishContext" = xyes
15835 then :
15836 PCSCLITE_LIBS="-lpcsclite"
15841 if test "x$ac_cv_lib_pcsclite_SCardEstablishContext" != xyes
15842 then :
15843 case "x$with_pcsclite" in
15844 x) as_fn_append wine_notices "|libpcsclite not found, smart cards won't be supported." ;;
15845 xno) ;;
15846 *) as_fn_error $? "libpcsclite not found, smart cards won't be supported.
15847 This is an error since --with-pcsclite was requested." "$LINENO" 5 ;;
15848 esac
15849 enable_winscard=${enable_winscard:-no}
15852 if test "x$with_inotify" != "xno"
15853 then
15854 rm -f conftest.err
15855 if ${INOTIFY_CFLAGS:+false} :
15856 then :
15857 if test ${PKG_CONFIG+y}
15858 then :
15859 INOTIFY_CFLAGS=`$PKG_CONFIG --cflags libinotify 2>conftest.err`
15863 if ${INOTIFY_LIBS:+false} :
15864 then :
15865 if test ${PKG_CONFIG+y}
15866 then :
15867 INOTIFY_LIBS=`$PKG_CONFIG --libs libinotify 2>/dev/null`
15872 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
15873 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
15874 if test -s conftest.err; then
15875 printf %s "$as_me:${as_lineno-$LINENO}: libinotify errors: " >&5
15876 cat conftest.err >&5
15878 rm -f conftest.err
15879 ac_save_CPPFLAGS=$CPPFLAGS
15880 CPPFLAGS="$CPPFLAGS $INOTIFY_CFLAGS"
15881 ac_fn_c_check_header_compile "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
15882 if test "x$ac_cv_header_sys_inotify_h" = xyes
15883 then :
15884 printf "%s\n" "#define HAVE_SYS_INOTIFY_H 1" >>confdefs.h
15888 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
15889 printf %s "checking for inotify_add_watch in -linotify... " >&6; }
15890 if test ${ac_cv_lib_inotify_inotify_add_watch+y}
15891 then :
15892 printf %s "(cached) " >&6
15893 else $as_nop
15894 ac_check_lib_save_LIBS=$LIBS
15895 LIBS="-linotify $INOTIFY_LIBS $LIBS"
15896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15897 /* end confdefs.h. */
15899 /* Override any GCC internal prototype to avoid an error.
15900 Use char because int might match the return type of a GCC
15901 builtin and then its argument prototype would still apply. */
15902 char inotify_add_watch ();
15904 main (void)
15906 return inotify_add_watch ();
15908 return 0;
15910 _ACEOF
15911 if ac_fn_c_try_link "$LINENO"
15912 then :
15913 ac_cv_lib_inotify_inotify_add_watch=yes
15914 else $as_nop
15915 ac_cv_lib_inotify_inotify_add_watch=no
15917 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15918 conftest$ac_exeext conftest.$ac_ext
15919 LIBS=$ac_check_lib_save_LIBS
15921 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
15922 printf "%s\n" "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
15923 if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes
15924 then :
15926 else $as_nop
15927 INOTIFY_LIBS=""
15930 CPPFLAGS=$ac_save_CPPFLAGS
15933 if test "$ac_cv_header_sys_inotify_h" != "yes"
15934 then :
15935 case "x$with_inotify" in
15936 x) as_fn_append wine_notices "|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
15937 xno) ;;
15938 *) as_fn_error $? "libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
15939 This is an error since --with-inotify was requested." "$LINENO" 5 ;;
15940 esac
15944 if test "x$with_dbus" != "xno"
15945 then
15946 rm -f conftest.err
15947 if ${DBUS_CFLAGS:+false} :
15948 then :
15949 if test ${PKG_CONFIG+y}
15950 then :
15951 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>conftest.err`
15955 if ${DBUS_LIBS:+false} :
15956 then :
15957 if test ${PKG_CONFIG+y}
15958 then :
15959 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
15964 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
15965 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
15966 if test -s conftest.err; then
15967 printf %s "$as_me:${as_lineno-$LINENO}: dbus-1 errors: " >&5
15968 cat conftest.err >&5
15970 rm -f conftest.err
15971 ac_save_CPPFLAGS=$CPPFLAGS
15972 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
15973 ac_fn_c_check_header_compile "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
15974 if test "x$ac_cv_header_dbus_dbus_h" = xyes
15975 then :
15976 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
15977 printf %s "checking for -ldbus-1... " >&6; }
15978 if test ${ac_cv_lib_soname_dbus_1+y}
15979 then :
15980 printf %s "(cached) " >&6
15981 else $as_nop
15982 ac_check_soname_save_LIBS=$LIBS
15983 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
15984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15985 /* end confdefs.h. */
15987 /* Override any GCC internal prototype to avoid an error.
15988 Use char because int might match the return type of a GCC
15989 builtin and then its argument prototype would still apply. */
15990 char dbus_connection_close ();
15992 main (void)
15994 return dbus_connection_close ();
15996 return 0;
15998 _ACEOF
15999 if ac_fn_c_try_link "$LINENO"
16000 then :
16001 case "$LIBEXT" in
16002 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16003 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'` ;;
16004 *) 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'`
16005 if ${ac_cv_lib_soname_dbus_1:+false} :
16006 then :
16007 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16008 fi ;;
16009 esac
16010 else $as_nop
16011 ac_cv_lib_soname_dbus_1=
16013 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16014 conftest$ac_exeext conftest.$ac_ext
16015 LIBS=$ac_check_soname_save_LIBS
16017 if ${ac_cv_lib_soname_dbus_1:+false} :
16018 then :
16019 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16020 printf "%s\n" "not found" >&6; }
16021 DBUS_CFLAGS=""
16022 else $as_nop
16023 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
16024 printf "%s\n" "$ac_cv_lib_soname_dbus_1" >&6; }
16026 printf "%s\n" "#define SONAME_LIBDBUS_1 \"$ac_cv_lib_soname_dbus_1\"" >>confdefs.h
16030 else $as_nop
16031 DBUS_CFLAGS=""
16034 CPPFLAGS=$ac_save_CPPFLAGS
16037 case $host_os in
16038 darwin*|macosx*) ;;
16039 *) if test "x$ac_cv_lib_soname_dbus_1" = "x"
16040 then :
16041 case "x$with_dbus" in
16042 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
16043 xno) ;;
16044 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
16045 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
16046 esac
16048 fi ;;
16049 esac
16051 if test "x$with_gnutls" != "xno"
16052 then
16053 rm -f conftest.err
16054 if ${GNUTLS_CFLAGS:+false} :
16055 then :
16056 if test ${PKG_CONFIG+y}
16057 then :
16058 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>conftest.err`
16062 if ${GNUTLS_LIBS:+false} :
16063 then :
16064 if test ${PKG_CONFIG+y}
16065 then :
16066 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
16070 GNUTLS_LIBS=${GNUTLS_LIBS:-"-lgnutls"}
16071 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
16072 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
16073 if test -s conftest.err; then
16074 printf %s "$as_me:${as_lineno-$LINENO}: gnutls errors: " >&5
16075 cat conftest.err >&5
16077 rm -f conftest.err
16078 ac_save_CPPFLAGS=$CPPFLAGS
16079 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
16080 ac_fn_c_check_header_compile "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
16081 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
16082 then :
16083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16084 /* end confdefs.h. */
16085 #include <gnutls/gnutls.h>
16086 #include <gnutls/crypto.h>
16088 main (void)
16090 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
16092 return 0;
16094 _ACEOF
16095 if ac_fn_c_try_compile "$LINENO"
16096 then :
16097 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
16098 printf %s "checking for -lgnutls... " >&6; }
16099 if test ${ac_cv_lib_soname_gnutls+y}
16100 then :
16101 printf %s "(cached) " >&6
16102 else $as_nop
16103 ac_check_soname_save_LIBS=$LIBS
16104 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
16105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16106 /* end confdefs.h. */
16108 /* Override any GCC internal prototype to avoid an error.
16109 Use char because int might match the return type of a GCC
16110 builtin and then its argument prototype would still apply. */
16111 char gnutls_global_init ();
16113 main (void)
16115 return gnutls_global_init ();
16117 return 0;
16119 _ACEOF
16120 if ac_fn_c_try_link "$LINENO"
16121 then :
16122 case "$LIBEXT" in
16123 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16124 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'` ;;
16125 *) 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'`
16126 if ${ac_cv_lib_soname_gnutls:+false} :
16127 then :
16128 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'`
16129 fi ;;
16130 esac
16131 else $as_nop
16132 ac_cv_lib_soname_gnutls=
16134 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16135 conftest$ac_exeext conftest.$ac_ext
16136 LIBS=$ac_check_soname_save_LIBS
16138 if ${ac_cv_lib_soname_gnutls:+false} :
16139 then :
16140 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16141 printf "%s\n" "not found" >&6; }
16142 GNUTLS_CFLAGS=""
16143 else $as_nop
16144 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
16145 printf "%s\n" "$ac_cv_lib_soname_gnutls" >&6; }
16147 printf "%s\n" "#define SONAME_LIBGNUTLS \"$ac_cv_lib_soname_gnutls\"" >>confdefs.h
16151 ac_wine_check_funcs_save_LIBS="$LIBS"
16152 LIBS="$LIBS $GNUTLS_LIBS"
16154 for ac_func in gnutls_cipher_init
16155 do :
16156 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
16157 if test "x$ac_cv_func_gnutls_cipher_init" = xyes
16158 then :
16159 printf "%s\n" "#define HAVE_GNUTLS_CIPHER_INIT 1" >>confdefs.h
16161 else $as_nop
16162 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
16165 done
16166 LIBS="$ac_wine_check_funcs_save_LIBS"
16168 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
16169 else $as_nop
16170 GNUTLS_CFLAGS=""
16173 CPPFLAGS=$ac_save_CPPFLAGS
16176 if test "x$ac_cv_lib_soname_gnutls" = "x"
16177 then :
16178 case "x$with_gnutls" in
16179 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
16180 xno) ;;
16181 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
16182 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
16183 esac
16187 if test "x$with_sane" != "xno"
16188 then
16189 rm -f conftest.err
16190 if ${SANE_CFLAGS:+false} :
16191 then :
16192 if test ${PKG_CONFIG+y}
16193 then :
16194 SANE_CFLAGS=`$PKG_CONFIG --cflags sane-backends 2>conftest.err`
16197 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
16198 if ${SANE_LIBS:+false} :
16199 then :
16200 if test ${PKG_CONFIG+y}
16201 then :
16202 SANE_LIBS=`$PKG_CONFIG --libs sane-backends 2>/dev/null`
16205 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
16207 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends cflags: $SANE_CFLAGS" >&5
16208 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends libs: $SANE_LIBS" >&5
16209 if test -s conftest.err; then
16210 printf %s "$as_me:${as_lineno-$LINENO}: sane-backends errors: " >&5
16211 cat conftest.err >&5
16213 rm -f conftest.err
16214 ac_save_CPPFLAGS=$CPPFLAGS
16215 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
16216 ac_fn_c_check_header_compile "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
16217 if test "x$ac_cv_header_sane_sane_h" = xyes
16218 then :
16219 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sane_init in -lsane" >&5
16220 printf %s "checking for sane_init in -lsane... " >&6; }
16221 if test ${ac_cv_lib_sane_sane_init+y}
16222 then :
16223 printf %s "(cached) " >&6
16224 else $as_nop
16225 ac_check_lib_save_LIBS=$LIBS
16226 LIBS="-lsane $SANE_LIBS $LIBS"
16227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16228 /* end confdefs.h. */
16230 /* Override any GCC internal prototype to avoid an error.
16231 Use char because int might match the return type of a GCC
16232 builtin and then its argument prototype would still apply. */
16233 char sane_init ();
16235 main (void)
16237 return sane_init ();
16239 return 0;
16241 _ACEOF
16242 if ac_fn_c_try_link "$LINENO"
16243 then :
16244 ac_cv_lib_sane_sane_init=yes
16245 else $as_nop
16246 ac_cv_lib_sane_sane_init=no
16248 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16249 conftest$ac_exeext conftest.$ac_ext
16250 LIBS=$ac_check_lib_save_LIBS
16252 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sane_sane_init" >&5
16253 printf "%s\n" "$ac_cv_lib_sane_sane_init" >&6; }
16254 if test "x$ac_cv_lib_sane_sane_init" = xyes
16255 then :
16261 CPPFLAGS=$ac_save_CPPFLAGS
16264 if test "$ac_cv_lib_sane_sane_init" != "yes"
16265 then :
16266 case "x$with_sane" in
16267 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
16268 xno) ;;
16269 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
16270 This is an error since --with-sane was requested." "$LINENO" 5 ;;
16271 esac
16272 enable_sane_ds=${enable_sane_ds:-no}
16275 if test "x$with_usb" != "xno"
16276 then
16277 rm -f conftest.err
16278 if ${USB_CFLAGS:+false} :
16279 then :
16280 if test ${PKG_CONFIG+y}
16281 then :
16282 USB_CFLAGS=`$PKG_CONFIG --cflags libusb-1.0 2>conftest.err`
16286 if ${USB_LIBS:+false} :
16287 then :
16288 if test ${PKG_CONFIG+y}
16289 then :
16290 USB_LIBS=`$PKG_CONFIG --libs libusb-1.0 2>/dev/null`
16294 USB_LIBS=${USB_LIBS:-"-lusb-1.0"}
16295 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 cflags: $USB_CFLAGS" >&5
16296 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 libs: $USB_LIBS" >&5
16297 if test -s conftest.err; then
16298 printf %s "$as_me:${as_lineno-$LINENO}: libusb-1.0 errors: " >&5
16299 cat conftest.err >&5
16301 rm -f conftest.err
16302 ac_save_CPPFLAGS=$CPPFLAGS
16303 CPPFLAGS="$CPPFLAGS $USB_CFLAGS"
16304 ac_fn_c_check_header_compile "$LINENO" "libusb.h" "ac_cv_header_libusb_h" "$ac_includes_default"
16305 if test "x$ac_cv_header_libusb_h" = xyes
16306 then :
16307 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libusb_interrupt_event_handler in -lusb-1.0" >&5
16308 printf %s "checking for libusb_interrupt_event_handler in -lusb-1.0... " >&6; }
16309 if test ${ac_cv_lib_usb_1_0_libusb_interrupt_event_handler+y}
16310 then :
16311 printf %s "(cached) " >&6
16312 else $as_nop
16313 ac_check_lib_save_LIBS=$LIBS
16314 LIBS="-lusb-1.0 $USB_LIBS $LIBS"
16315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16316 /* end confdefs.h. */
16318 /* Override any GCC internal prototype to avoid an error.
16319 Use char because int might match the return type of a GCC
16320 builtin and then its argument prototype would still apply. */
16321 char libusb_interrupt_event_handler ();
16323 main (void)
16325 return libusb_interrupt_event_handler ();
16327 return 0;
16329 _ACEOF
16330 if ac_fn_c_try_link "$LINENO"
16331 then :
16332 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=yes
16333 else $as_nop
16334 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=no
16336 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16337 conftest$ac_exeext conftest.$ac_ext
16338 LIBS=$ac_check_lib_save_LIBS
16340 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&5
16341 printf "%s\n" "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&6; }
16342 if test "x$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" = xyes
16343 then :
16345 else $as_nop
16346 USB_LIBS=""
16349 else $as_nop
16350 USB_LIBS=""
16353 CPPFLAGS=$ac_save_CPPFLAGS
16356 if test "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" != "yes"
16357 then :
16358 case "x$with_usb" in
16359 x) as_fn_append wine_notices "|libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported." ;;
16360 xno) ;;
16361 *) as_fn_error $? "libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported.
16362 This is an error since --with-usb was requested." "$LINENO" 5 ;;
16363 esac
16364 enable_wineusb_sys=${enable_wineusb_sys:-no}
16367 if test "x$with_v4l2" != "xno"
16368 then
16369 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
16370 printf %s "checking for -lv4l2... " >&6; }
16371 if test ${ac_cv_lib_soname_v4l2+y}
16372 then :
16373 printf %s "(cached) " >&6
16374 else $as_nop
16375 ac_check_soname_save_LIBS=$LIBS
16376 LIBS="-lv4l2 $LIBS"
16377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16378 /* end confdefs.h. */
16380 /* Override any GCC internal prototype to avoid an error.
16381 Use char because int might match the return type of a GCC
16382 builtin and then its argument prototype would still apply. */
16383 char v4l2_open ();
16385 main (void)
16387 return v4l2_open ();
16389 return 0;
16391 _ACEOF
16392 if ac_fn_c_try_link "$LINENO"
16393 then :
16394 case "$LIBEXT" in
16395 dll) ac_cv_lib_soname_v4l2=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16396 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'` ;;
16397 *) ac_cv_lib_soname_v4l2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16398 if ${ac_cv_lib_soname_v4l2:+false} :
16399 then :
16400 ac_cv_lib_soname_v4l2=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16401 fi ;;
16402 esac
16403 else $as_nop
16404 ac_cv_lib_soname_v4l2=
16406 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16407 conftest$ac_exeext conftest.$ac_ext
16408 LIBS=$ac_check_soname_save_LIBS
16410 if ${ac_cv_lib_soname_v4l2:+false} :
16411 then :
16412 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16413 printf "%s\n" "not found" >&6; }
16415 else $as_nop
16416 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
16417 printf "%s\n" "$ac_cv_lib_soname_v4l2" >&6; }
16419 printf "%s\n" "#define SONAME_LIBV4L2 \"$ac_cv_lib_soname_v4l2\"" >>confdefs.h
16424 if test "x$ac_cv_lib_soname_v4l2" = "x"
16425 then :
16426 case "x$with_v4l2" in
16427 x) as_fn_append wine_notices "|libv4l2 ${notice_platform}development files not found." ;;
16428 xno) ;;
16429 *) as_fn_error $? "libv4l2 ${notice_platform}development files not found.
16430 This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
16431 esac
16435 if test "x$with_gphoto" != "xno"
16436 then
16437 rm -f conftest.err
16438 if ${GPHOTO2_CFLAGS:+false} :
16439 then :
16440 if test ${PKG_CONFIG+y}
16441 then :
16442 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>conftest.err`
16445 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
16446 if ${GPHOTO2_LIBS:+false} :
16447 then :
16448 if test ${PKG_CONFIG+y}
16449 then :
16450 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
16453 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
16454 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
16455 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
16456 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
16457 if test -s conftest.err; then
16458 printf %s "$as_me:${as_lineno-$LINENO}: libgphoto2 errors: " >&5
16459 cat conftest.err >&5
16461 rm -f conftest.err
16462 ac_save_CPPFLAGS=$CPPFLAGS
16463 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
16464 ac_fn_c_check_header_compile "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
16465 if test "x$ac_cv_header_gphoto2_camera_h" = xyes
16466 then :
16467 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
16468 printf %s "checking for gp_camera_new in -lgphoto2... " >&6; }
16469 if test ${ac_cv_lib_gphoto2_gp_camera_new+y}
16470 then :
16471 printf %s "(cached) " >&6
16472 else $as_nop
16473 ac_check_lib_save_LIBS=$LIBS
16474 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
16475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16476 /* end confdefs.h. */
16478 /* Override any GCC internal prototype to avoid an error.
16479 Use char because int might match the return type of a GCC
16480 builtin and then its argument prototype would still apply. */
16481 char gp_camera_new ();
16483 main (void)
16485 return gp_camera_new ();
16487 return 0;
16489 _ACEOF
16490 if ac_fn_c_try_link "$LINENO"
16491 then :
16492 ac_cv_lib_gphoto2_gp_camera_new=yes
16493 else $as_nop
16494 ac_cv_lib_gphoto2_gp_camera_new=no
16496 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16497 conftest$ac_exeext conftest.$ac_ext
16498 LIBS=$ac_check_lib_save_LIBS
16500 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
16501 printf "%s\n" "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
16502 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
16503 then :
16509 CPPFLAGS=$ac_save_CPPFLAGS
16511 rm -f conftest.err
16512 if ${GPHOTO2_PORT_CFLAGS:+false} :
16513 then :
16514 if test ${PKG_CONFIG+y}
16515 then :
16516 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>conftest.err`
16519 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
16520 if ${GPHOTO2_PORT_LIBS:+false} :
16521 then :
16522 if test ${PKG_CONFIG+y}
16523 then :
16524 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
16527 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
16528 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
16529 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
16530 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
16531 if test -s conftest.err; then
16532 printf %s "$as_me:${as_lineno-$LINENO}: libgphoto2_port errors: " >&5
16533 cat conftest.err >&5
16535 rm -f conftest.err
16536 ac_save_CPPFLAGS=$CPPFLAGS
16537 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
16538 ac_fn_c_check_header_compile "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
16539 if test "x$ac_cv_header_gphoto2_port_h" = xyes
16540 then :
16541 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
16542 printf %s "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
16543 if test ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+y}
16544 then :
16545 printf %s "(cached) " >&6
16546 else $as_nop
16547 ac_check_lib_save_LIBS=$LIBS
16548 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
16549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16550 /* end confdefs.h. */
16552 /* Override any GCC internal prototype to avoid an error.
16553 Use char because int might match the return type of a GCC
16554 builtin and then its argument prototype would still apply. */
16555 char gp_port_info_list_new ();
16557 main (void)
16559 return gp_port_info_list_new ();
16561 return 0;
16563 _ACEOF
16564 if ac_fn_c_try_link "$LINENO"
16565 then :
16566 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
16567 else $as_nop
16568 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
16570 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16571 conftest$ac_exeext conftest.$ac_ext
16572 LIBS=$ac_check_lib_save_LIBS
16574 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
16575 printf "%s\n" "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
16576 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes
16577 then :
16579 printf "%s\n" "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
16581 else $as_nop
16582 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
16585 else $as_nop
16586 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
16589 CPPFLAGS=$ac_save_CPPFLAGS
16592 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"
16593 then :
16594 case "x$with_gphoto" in
16595 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
16596 xno) ;;
16597 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
16598 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
16599 esac
16600 enable_gphoto2_ds=${enable_gphoto2_ds:-no}
16602 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"
16603 then :
16604 case "x$with_gphoto" in
16605 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
16606 xno) ;;
16607 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
16608 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
16609 esac
16614 if test "$ac_cv_header_resolv_h" = "yes"
16615 then
16616 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
16617 printf %s "checking for resolver library... " >&6; }
16618 if test ${ac_cv_have_resolv+y}
16619 then :
16620 printf %s "(cached) " >&6
16621 else $as_nop
16622 ac_save_LIBS="$LIBS"
16623 for lib in '' -lresolv
16625 LIBS="$lib $ac_save_LIBS"
16626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16627 /* end confdefs.h. */
16628 #ifdef HAVE_NETINET_IN_H
16629 #include <netinet/in.h>
16630 #endif
16631 #include <resolv.h>
16633 main (void)
16635 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0); ns_initparse(0,0,0)
16637 return 0;
16639 _ACEOF
16640 if ac_fn_c_try_link "$LINENO"
16641 then :
16642 ac_cv_have_resolv=${lib:-"none required"}
16643 else $as_nop
16644 ac_cv_have_resolv="not found"
16646 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16647 conftest$ac_exeext conftest.$ac_ext
16648 test "x$ac_cv_have_resolv" = "xnot found" || break
16649 done
16650 LIBS="$ac_save_LIBS"
16652 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
16653 printf "%s\n" "$ac_cv_have_resolv" >&6; }
16655 case "$ac_cv_have_resolv" in
16656 "not found") ;;
16657 "none required")
16659 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
16662 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
16664 RESOLV_LIBS=$ac_cv_have_resolv
16666 esac
16668 if test "x$ac_cv_have_resolv" != "xnot found"
16669 then
16670 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for res_getservers" >&5
16671 printf %s "checking for res_getservers... " >&6; }
16672 if test ${ac_cv_have_res_getservers+y}
16673 then :
16674 printf %s "(cached) " >&6
16675 else $as_nop
16676 ac_save_LIBS="$LIBS"
16677 LIBS="$RESOLV_LIBS $LIBS"
16678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16679 /* end confdefs.h. */
16680 #include <resolv.h>
16682 main (void)
16684 res_getservers(NULL, NULL, 0);
16686 return 0;
16688 _ACEOF
16689 if ac_fn_c_try_link "$LINENO"
16690 then :
16691 ac_cv_have_res_getservers=yes
16692 else $as_nop
16693 ac_cv_have_res_getservers=no
16695 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16696 conftest$ac_exeext conftest.$ac_ext
16697 LIBS="$ac_save_LIBS"
16699 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_res_getservers" >&5
16700 printf "%s\n" "$ac_cv_have_res_getservers" >&6; }
16701 if test "$ac_cv_have_res_getservers" = "yes"
16702 then
16704 printf "%s\n" "#define HAVE_RES_GETSERVERS 1" >>confdefs.h
16710 if test "x$with_freetype" != "xno"
16711 then
16712 rm -f conftest.err
16713 if ${FREETYPE_CFLAGS:+false} :
16714 then :
16715 if test ${PKG_CONFIG+y}
16716 then :
16717 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>conftest.err`
16720 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
16721 if ${FREETYPE_LIBS:+false} :
16722 then :
16723 if test ${PKG_CONFIG+y}
16724 then :
16725 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
16728 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
16729 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
16730 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
16731 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
16732 if test -s conftest.err; then
16733 printf %s "$as_me:${as_lineno-$LINENO}: freetype2 errors: " >&5
16734 cat conftest.err >&5
16736 rm -f conftest.err
16737 ac_save_CPPFLAGS=$CPPFLAGS
16738 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
16739 ac_fn_c_check_header_compile "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
16740 if test "x$ac_cv_header_ft2build_h" = xyes
16741 then :
16742 printf "%s\n" "#define HAVE_FT2BUILD_H 1" >>confdefs.h
16746 if test "$ac_cv_header_ft2build_h" = "yes"
16747 then
16748 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
16749 printf %s "checking for -lfreetype... " >&6; }
16750 if test ${ac_cv_lib_soname_freetype+y}
16751 then :
16752 printf %s "(cached) " >&6
16753 else $as_nop
16754 ac_check_soname_save_LIBS=$LIBS
16755 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
16756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16757 /* end confdefs.h. */
16759 /* Override any GCC internal prototype to avoid an error.
16760 Use char because int might match the return type of a GCC
16761 builtin and then its argument prototype would still apply. */
16762 char FT_Init_FreeType ();
16764 main (void)
16766 return FT_Init_FreeType ();
16768 return 0;
16770 _ACEOF
16771 if ac_fn_c_try_link "$LINENO"
16772 then :
16773 case "$LIBEXT" in
16774 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16775 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'` ;;
16776 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16777 if ${ac_cv_lib_soname_freetype:+false} :
16778 then :
16779 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16780 fi ;;
16781 esac
16782 else $as_nop
16783 ac_cv_lib_soname_freetype=
16785 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16786 conftest$ac_exeext conftest.$ac_ext
16787 LIBS=$ac_check_soname_save_LIBS
16789 if ${ac_cv_lib_soname_freetype:+false} :
16790 then :
16791 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16792 printf "%s\n" "not found" >&6; }
16793 FREETYPE_LIBS=""
16794 else $as_nop
16795 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
16796 printf "%s\n" "$ac_cv_lib_soname_freetype" >&6; }
16798 printf "%s\n" "#define SONAME_LIBFREETYPE \"$ac_cv_lib_soname_freetype\"" >>confdefs.h
16801 printf "%s\n" "#define HAVE_FREETYPE 1" >>confdefs.h
16803 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
16804 #include FT_MODULE_H
16806 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
16807 then :
16809 printf "%s\n" "#define HAVE_FT_TRUETYPEENGINETYPE 1" >>confdefs.h
16815 else
16816 FREETYPE_CFLAGS=""
16817 FREETYPE_LIBS=""
16819 CPPFLAGS=$ac_save_CPPFLAGS
16822 if test "x$ac_cv_lib_soname_freetype" = x
16823 then :
16824 case "x$with_freetype" in
16825 xno) ;;
16826 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
16827 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
16828 esac
16829 enable_fonts=${enable_fonts:-no}
16832 ac_wine_check_funcs_save_LIBS="$LIBS"
16833 LIBS="$LIBS $PTHREAD_LIBS"
16834 ac_fn_c_check_func "$LINENO" "pthread_getthreadid_np" "ac_cv_func_pthread_getthreadid_np"
16835 if test "x$ac_cv_func_pthread_getthreadid_np" = xyes
16836 then :
16837 printf "%s\n" "#define HAVE_PTHREAD_GETTHREADID_NP 1" >>confdefs.h
16841 LIBS="$ac_wine_check_funcs_save_LIBS"
16843 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
16844 then
16845 if test "$ac_cv_header_gettext_po_h" = "yes"
16846 then
16847 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
16848 printf %s "checking for po_message_msgctxt in -lgettextpo... " >&6; }
16849 if test ${ac_cv_lib_gettextpo_po_message_msgctxt+y}
16850 then :
16851 printf %s "(cached) " >&6
16852 else $as_nop
16853 ac_check_lib_save_LIBS=$LIBS
16854 LIBS="-lgettextpo $LIBS"
16855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16856 /* end confdefs.h. */
16858 /* Override any GCC internal prototype to avoid an error.
16859 Use char because int might match the return type of a GCC
16860 builtin and then its argument prototype would still apply. */
16861 char po_message_msgctxt ();
16863 main (void)
16865 return po_message_msgctxt ();
16867 return 0;
16869 _ACEOF
16870 if ac_fn_c_try_link "$LINENO"
16871 then :
16872 ac_cv_lib_gettextpo_po_message_msgctxt=yes
16873 else $as_nop
16874 ac_cv_lib_gettextpo_po_message_msgctxt=no
16876 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16877 conftest$ac_exeext conftest.$ac_ext
16878 LIBS=$ac_check_lib_save_LIBS
16880 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
16881 printf "%s\n" "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
16882 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
16883 then :
16885 printf "%s\n" "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
16887 GETTEXTPO_LIBS="-lgettextpo"
16892 if test "x$GETTEXTPO_LIBS" = "x"
16893 then :
16894 case "x$with_gettextpo" in
16895 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
16896 xno) ;;
16897 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
16898 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
16899 esac
16902 if test "$srcdir" != .
16903 then :
16904 case "x$with_gettextpo" in
16905 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
16906 xno) ;;
16907 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
16908 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
16909 esac
16914 if test "x$with_pulse" != "xno";
16915 then
16916 rm -f conftest.err
16917 if ${PULSE_CFLAGS:+false} :
16918 then :
16919 if test ${PKG_CONFIG+y}
16920 then :
16921 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>conftest.err`
16925 if ${PULSE_LIBS:+false} :
16926 then :
16927 if test ${PKG_CONFIG+y}
16928 then :
16929 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
16934 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
16935 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
16936 if test -s conftest.err; then
16937 printf %s "$as_me:${as_lineno-$LINENO}: libpulse errors: " >&5
16938 cat conftest.err >&5
16940 rm -f conftest.err
16941 ac_save_CPPFLAGS=$CPPFLAGS
16942 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
16943 for ac_header in pulse/pulseaudio.h
16944 do :
16945 ac_fn_c_check_header_compile "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
16946 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes
16947 then :
16948 printf "%s\n" "#define HAVE_PULSE_PULSEAUDIO_H 1" >>confdefs.h
16949 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
16950 printf %s "checking for pa_stream_is_corked in -lpulse... " >&6; }
16951 if test ${ac_cv_lib_pulse_pa_stream_is_corked+y}
16952 then :
16953 printf %s "(cached) " >&6
16954 else $as_nop
16955 ac_check_lib_save_LIBS=$LIBS
16956 LIBS="-lpulse $PULSE_LIBS $LIBS"
16957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16958 /* end confdefs.h. */
16960 /* Override any GCC internal prototype to avoid an error.
16961 Use char because int might match the return type of a GCC
16962 builtin and then its argument prototype would still apply. */
16963 char pa_stream_is_corked ();
16965 main (void)
16967 return pa_stream_is_corked ();
16969 return 0;
16971 _ACEOF
16972 if ac_fn_c_try_link "$LINENO"
16973 then :
16974 ac_cv_lib_pulse_pa_stream_is_corked=yes
16975 else $as_nop
16976 ac_cv_lib_pulse_pa_stream_is_corked=no
16978 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16979 conftest$ac_exeext conftest.$ac_ext
16980 LIBS=$ac_check_lib_save_LIBS
16982 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
16983 printf "%s\n" "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
16984 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes
16985 then :
16987 else $as_nop
16988 PULSE_LIBS=""
16991 else $as_nop
16992 PULSE_LIBS=""
16995 done
16996 CPPFLAGS=$ac_save_CPPFLAGS
16999 if test -z "$PULSE_LIBS"
17000 then :
17001 case "x$with_pulse" in
17002 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
17003 xno) ;;
17004 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
17005 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
17006 esac
17007 enable_winepulse_drv=${enable_winepulse_drv:-no}
17010 if test "x$with_gstreamer" != "xno"
17011 then
17012 rm -f conftest.err
17013 if ${GSTREAMER_CFLAGS:+false} :
17014 then :
17015 if test ${PKG_CONFIG+y}
17016 then :
17017 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 2>conftest.err`
17021 if ${GSTREAMER_LIBS:+false} :
17022 then :
17023 if test ${PKG_CONFIG+y}
17024 then :
17025 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 2>/dev/null`
17030 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
17031 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
17032 if test -s conftest.err; then
17033 printf %s "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 errors: " >&5
17034 cat conftest.err >&5
17036 rm -f conftest.err
17037 ac_save_CPPFLAGS=$CPPFLAGS
17038 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
17039 ac_fn_c_check_header_compile "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
17040 if test "x$ac_cv_header_gst_gst_h" = xyes
17041 then :
17042 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
17043 printf %s "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
17044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17045 /* end confdefs.h. */
17046 #include <gst/gst.h>
17048 main (void)
17050 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
17052 return 0;
17054 _ACEOF
17055 if ac_fn_c_try_compile "$LINENO"
17056 then :
17057 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17058 printf "%s\n" "yes" >&6; }
17059 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
17060 printf %s "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
17061 if test ${ac_cv_lib_gstreamer_1_0_gst_pad_new+y}
17062 then :
17063 printf %s "(cached) " >&6
17064 else $as_nop
17065 ac_check_lib_save_LIBS=$LIBS
17066 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
17067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17068 /* end confdefs.h. */
17070 /* Override any GCC internal prototype to avoid an error.
17071 Use char because int might match the return type of a GCC
17072 builtin and then its argument prototype would still apply. */
17073 char gst_pad_new ();
17075 main (void)
17077 return gst_pad_new ();
17079 return 0;
17081 _ACEOF
17082 if ac_fn_c_try_link "$LINENO"
17083 then :
17084 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
17085 else $as_nop
17086 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
17088 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17089 conftest$ac_exeext conftest.$ac_ext
17090 LIBS=$ac_check_lib_save_LIBS
17092 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
17093 printf "%s\n" "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
17094 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes
17095 then :
17099 else $as_nop
17100 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
17101 printf "%s\n" "no" >&6; }
17102 ac_glib2_broken=yes
17103 enable_winegstreamer=${enable_winegstreamer:-no}
17104 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
17106 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
17109 CPPFLAGS=$ac_save_CPPFLAGS
17112 if test "x$ac_glib2_broken" != xyes -a "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" != xyes
17113 then :
17114 case "x$with_gstreamer" in
17115 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
17116 xno) ;;
17117 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
17118 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
17119 esac
17120 enable_winegstreamer=${enable_winegstreamer:-no}
17123 ALSA_LIBS=""
17125 if test "x$with_alsa" != "xno"
17126 then
17127 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
17128 printf %s "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
17129 if test ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+y}
17130 then :
17131 printf %s "(cached) " >&6
17132 else $as_nop
17133 ac_check_lib_save_LIBS=$LIBS
17134 LIBS="-lasound $LIBS"
17135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17136 /* end confdefs.h. */
17138 /* Override any GCC internal prototype to avoid an error.
17139 Use char because int might match the return type of a GCC
17140 builtin and then its argument prototype would still apply. */
17141 char snd_pcm_hw_params_get_access_mask ();
17143 main (void)
17145 return snd_pcm_hw_params_get_access_mask ();
17147 return 0;
17149 _ACEOF
17150 if ac_fn_c_try_link "$LINENO"
17151 then :
17152 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
17153 else $as_nop
17154 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
17156 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17157 conftest$ac_exeext conftest.$ac_ext
17158 LIBS=$ac_check_lib_save_LIBS
17160 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
17161 printf "%s\n" "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
17162 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
17163 then :
17164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17165 /* end confdefs.h. */
17166 #include <alsa/asoundlib.h>
17168 main (void)
17170 snd_pcm_hw_params_get_access_mask(NULL, NULL)
17172 return 0;
17174 _ACEOF
17175 if ac_fn_c_try_compile "$LINENO"
17176 then :
17177 ALSA_LIBS="-lasound"
17179 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
17183 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
17185 if test "x$with_oss" != xno
17186 then
17187 ac_save_CPPFLAGS="$CPPFLAGS"
17188 if test -f /etc/oss.conf
17189 then
17190 . /etc/oss.conf
17192 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
17193 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
17194 ac_fn_c_check_header_compile "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
17195 if test "x$ac_cv_header_sys_soundcard_h" = xyes
17196 then :
17197 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
17199 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
17200 then :
17202 printf "%s\n" "#define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1" >>confdefs.h
17204 OSS4_CFLAGS="$ac_oss_incl"
17206 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
17207 printf %s "checking for _oss_ioctl in -lossaudio... " >&6; }
17208 if test ${ac_cv_lib_ossaudio__oss_ioctl+y}
17209 then :
17210 printf %s "(cached) " >&6
17211 else $as_nop
17212 ac_check_lib_save_LIBS=$LIBS
17213 LIBS="-lossaudio $LIBS"
17214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17215 /* end confdefs.h. */
17217 /* Override any GCC internal prototype to avoid an error.
17218 Use char because int might match the return type of a GCC
17219 builtin and then its argument prototype would still apply. */
17220 char _oss_ioctl ();
17222 main (void)
17224 return _oss_ioctl ();
17226 return 0;
17228 _ACEOF
17229 if ac_fn_c_try_link "$LINENO"
17230 then :
17231 ac_cv_lib_ossaudio__oss_ioctl=yes
17232 else $as_nop
17233 ac_cv_lib_ossaudio__oss_ioctl=no
17235 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17236 conftest$ac_exeext conftest.$ac_ext
17237 LIBS=$ac_check_lib_save_LIBS
17239 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
17240 printf "%s\n" "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
17241 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
17242 then :
17243 OSS4_LIBS="-lossaudio"
17251 CPPFLAGS="$ac_save_CPPFLAGS"
17253 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
17254 then :
17255 case "x$with_oss" in
17256 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
17257 xno) ;;
17258 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
17259 This is an error since --with-oss was requested." "$LINENO" 5 ;;
17260 esac
17261 enable_wineoss_drv=${enable_wineoss_drv:-no}
17264 if test "x$with_udev" != "xno"
17265 then
17266 rm -f conftest.err
17267 if ${UDEV_CFLAGS:+false} :
17268 then :
17269 if test ${PKG_CONFIG+y}
17270 then :
17271 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>conftest.err`
17275 if ${UDEV_LIBS:+false} :
17276 then :
17277 if test ${PKG_CONFIG+y}
17278 then :
17279 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
17283 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
17284 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
17285 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
17286 if test -s conftest.err; then
17287 printf %s "$as_me:${as_lineno-$LINENO}: libudev errors: " >&5
17288 cat conftest.err >&5
17290 rm -f conftest.err
17291 ac_save_CPPFLAGS=$CPPFLAGS
17292 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
17293 for ac_header in libudev.h
17294 do :
17295 ac_fn_c_check_header_compile "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
17296 if test "x$ac_cv_header_libudev_h" = xyes
17297 then :
17298 printf "%s\n" "#define HAVE_LIBUDEV_H 1" >>confdefs.h
17299 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
17300 printf %s "checking for udev_new in -ludev... " >&6; }
17301 if test ${ac_cv_lib_udev_udev_new+y}
17302 then :
17303 printf %s "(cached) " >&6
17304 else $as_nop
17305 ac_check_lib_save_LIBS=$LIBS
17306 LIBS="-ludev $UDEV_LIBS $LIBS"
17307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17308 /* end confdefs.h. */
17310 /* Override any GCC internal prototype to avoid an error.
17311 Use char because int might match the return type of a GCC
17312 builtin and then its argument prototype would still apply. */
17313 char udev_new ();
17315 main (void)
17317 return udev_new ();
17319 return 0;
17321 _ACEOF
17322 if ac_fn_c_try_link "$LINENO"
17323 then :
17324 ac_cv_lib_udev_udev_new=yes
17325 else $as_nop
17326 ac_cv_lib_udev_udev_new=no
17328 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17329 conftest$ac_exeext conftest.$ac_ext
17330 LIBS=$ac_check_lib_save_LIBS
17332 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
17333 printf "%s\n" "$ac_cv_lib_udev_udev_new" >&6; }
17334 if test "x$ac_cv_lib_udev_udev_new" = xyes
17335 then :
17337 printf "%s\n" "#define HAVE_UDEV 1" >>confdefs.h
17339 else $as_nop
17340 UDEV_LIBS=""
17343 else $as_nop
17344 UDEV_LIBS=""
17347 done
17348 CPPFLAGS=$ac_save_CPPFLAGS
17351 if test "x$UDEV_LIBS" = "x"
17352 then :
17353 case "x$with_udev" in
17354 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
17355 xno) ;;
17356 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
17357 This is an error since --with-udev was requested." "$LINENO" 5 ;;
17358 esac
17362 if test "x$with_unwind" != xno
17363 then
17364 rm -f conftest.err
17365 if ${UNWIND_CFLAGS:+false} :
17366 then :
17367 if test ${PKG_CONFIG+y}
17368 then :
17369 UNWIND_CFLAGS=`$PKG_CONFIG --cflags libunwind 2>conftest.err`
17373 if ${UNWIND_LIBS:+false} :
17374 then :
17375 if test ${PKG_CONFIG+y}
17376 then :
17377 UNWIND_LIBS=`$PKG_CONFIG --libs libunwind 2>/dev/null`
17381 UNWIND_LIBS=${UNWIND_LIBS:-"-lunwind"}
17382 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind cflags: $UNWIND_CFLAGS" >&5
17383 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind libs: $UNWIND_LIBS" >&5
17384 if test -s conftest.err; then
17385 printf %s "$as_me:${as_lineno-$LINENO}: libunwind errors: " >&5
17386 cat conftest.err >&5
17388 rm -f conftest.err
17389 ac_save_CPPFLAGS=$CPPFLAGS
17390 CPPFLAGS="$CPPFLAGS $UNWIND_CFLAGS"
17391 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step" >&5
17392 printf %s "checking for unw_step... " >&6; }
17393 if test ${wine_cv_have_unw_step+y}
17394 then :
17395 printf %s "(cached) " >&6
17396 else $as_nop
17397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17398 /* end confdefs.h. */
17399 #define UNW_LOCAL_ONLY
17400 #include <libunwind.h>
17402 main (void)
17404 unw_cursor_t cursor; unw_step( &cursor );
17406 return 0;
17408 _ACEOF
17409 if ac_fn_c_try_link "$LINENO"
17410 then :
17411 wine_cv_have_unw_step="yes"
17412 else $as_nop
17413 wine_cv_have_unw_step="no"
17415 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17416 conftest$ac_exeext conftest.$ac_ext
17418 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_unw_step" >&5
17419 printf "%s\n" "$wine_cv_have_unw_step" >&6; }
17420 if test "$wine_cv_have_unw_step" = no -a -n "$UNWIND_LIBS"
17421 then
17422 save_libs=$LIBS
17423 UNWIND_LIBS="-static-libgcc $UNWIND_LIBS"
17424 LIBS="$UNWIND_LIBS $LIBS"
17425 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step in libunwind" >&5
17426 printf %s "checking for unw_step in libunwind... " >&6; }
17427 if test ${wine_cv_have_libunwind_unw_step+y}
17428 then :
17429 printf %s "(cached) " >&6
17430 else $as_nop
17431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17432 /* end confdefs.h. */
17433 #define UNW_LOCAL_ONLY
17434 #include <libunwind.h>
17436 main (void)
17438 unw_cursor_t cursor; unw_step( &cursor );
17440 return 0;
17442 _ACEOF
17443 if ac_fn_c_try_link "$LINENO"
17444 then :
17445 wine_cv_have_libunwind_unw_step="yes"
17446 else $as_nop
17447 wine_cv_have_libunwind_unw_step="no"
17449 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17450 conftest$ac_exeext conftest.$ac_ext
17452 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_libunwind_unw_step" >&5
17453 printf "%s\n" "$wine_cv_have_libunwind_unw_step" >&6; }
17454 LIBS=$save_libs
17456 test "$wine_cv_have_libunwind_unw_step" = yes || UNWIND_LIBS=""
17457 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" != xnono
17458 then
17460 printf "%s\n" "#define HAVE_LIBUNWIND 1" >>confdefs.h
17463 CPPFLAGS=$ac_save_CPPFLAGS
17466 case $host in
17467 aarch64*|*-darwin*)
17468 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" = xnono
17469 then :
17470 case "x$with_unwind" in
17471 x) as_fn_append wine_notices "|libunwind ${notice_platform}development files not found, stack unwinding won't work." ;;
17472 xno) ;;
17473 *) as_fn_error $? "libunwind ${notice_platform}development files not found, stack unwinding won't work.
17474 This is an error since --with-unwind was requested." "$LINENO" 5 ;;
17475 esac
17477 fi ;;
17478 esac
17480 if test "x$with_sdl" != "xno"
17481 then
17482 rm -f conftest.err
17483 if ${SDL2_CFLAGS:+false} :
17484 then :
17485 if test ${PKG_CONFIG+y}
17486 then :
17487 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>conftest.err`
17491 if ${SDL2_LIBS:+false} :
17492 then :
17493 if test ${PKG_CONFIG+y}
17494 then :
17495 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
17499 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
17500 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
17501 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
17502 if test -s conftest.err; then
17503 printf %s "$as_me:${as_lineno-$LINENO}: sdl2 errors: " >&5
17504 cat conftest.err >&5
17506 rm -f conftest.err
17507 ac_save_CPPFLAGS=$CPPFLAGS
17508 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
17509 for ac_header in SDL.h
17510 do :
17511 ac_fn_c_check_header_compile "$LINENO" "SDL.h" "ac_cv_header_SDL_h" "$ac_includes_default"
17512 if test "x$ac_cv_header_SDL_h" = xyes
17513 then :
17514 printf "%s\n" "#define HAVE_SDL_H 1" >>confdefs.h
17515 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
17516 printf %s "checking for -lSDL2... " >&6; }
17517 if test ${ac_cv_lib_soname_SDL2+y}
17518 then :
17519 printf %s "(cached) " >&6
17520 else $as_nop
17521 ac_check_soname_save_LIBS=$LIBS
17522 LIBS="-lSDL2 $SDL2_LIBS $LIBS"
17523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17524 /* end confdefs.h. */
17526 /* Override any GCC internal prototype to avoid an error.
17527 Use char because int might match the return type of a GCC
17528 builtin and then its argument prototype would still apply. */
17529 char SDL_Init ();
17531 main (void)
17533 return SDL_Init ();
17535 return 0;
17537 _ACEOF
17538 if ac_fn_c_try_link "$LINENO"
17539 then :
17540 case "$LIBEXT" in
17541 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17542 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'` ;;
17543 *) 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'`
17544 if ${ac_cv_lib_soname_SDL2:+false} :
17545 then :
17546 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17547 fi ;;
17548 esac
17549 else $as_nop
17550 ac_cv_lib_soname_SDL2=
17552 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17553 conftest$ac_exeext conftest.$ac_ext
17554 LIBS=$ac_check_soname_save_LIBS
17556 if ${ac_cv_lib_soname_SDL2:+false} :
17557 then :
17558 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17559 printf "%s\n" "not found" >&6; }
17561 else $as_nop
17562 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
17563 printf "%s\n" "$ac_cv_lib_soname_SDL2" >&6; }
17565 printf "%s\n" "#define SONAME_LIBSDL2 \"$ac_cv_lib_soname_SDL2\"" >>confdefs.h
17571 done
17572 CPPFLAGS=$ac_save_CPPFLAGS
17575 if test "x$ac_cv_lib_soname_SDL2" = "x"
17576 then :
17577 case "x$with_sdl" in
17578 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
17579 xno) ;;
17580 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
17581 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
17582 esac
17586 if test "x$with_capi" != "xno"
17587 then
17588 rm -f conftest.err
17589 if ${CAPI20_CFLAGS:+false} :
17590 then :
17591 if test ${PKG_CONFIG+y}
17592 then :
17593 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>conftest.err`
17597 if ${CAPI20_LIBS:+false} :
17598 then :
17599 if test ${PKG_CONFIG+y}
17600 then :
17601 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
17606 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
17607 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
17608 if test -s conftest.err; then
17609 printf %s "$as_me:${as_lineno-$LINENO}: capi20 errors: " >&5
17610 cat conftest.err >&5
17612 rm -f conftest.err
17613 ac_save_CPPFLAGS=$CPPFLAGS
17614 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
17615 ac_fn_c_check_header_compile "$LINENO" "capi20.h" "ac_cv_header_capi20_h" "#define __user
17617 if test "x$ac_cv_header_capi20_h" = xyes
17618 then :
17619 printf "%s\n" "#define HAVE_CAPI20_H 1" >>confdefs.h
17622 ac_fn_c_check_header_compile "$LINENO" "linux/capi.h" "ac_cv_header_linux_capi_h" "#define __user
17624 if test "x$ac_cv_header_linux_capi_h" = xyes
17625 then :
17626 printf "%s\n" "#define HAVE_LINUX_CAPI_H 1" >>confdefs.h
17630 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
17631 then
17632 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for capi20_register in -lcapi20" >&5
17633 printf %s "checking for capi20_register in -lcapi20... " >&6; }
17634 if test ${ac_cv_lib_capi20_capi20_register+y}
17635 then :
17636 printf %s "(cached) " >&6
17637 else $as_nop
17638 ac_check_lib_save_LIBS=$LIBS
17639 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
17640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17641 /* end confdefs.h. */
17643 /* Override any GCC internal prototype to avoid an error.
17644 Use char because int might match the return type of a GCC
17645 builtin and then its argument prototype would still apply. */
17646 char capi20_register ();
17648 main (void)
17650 return capi20_register ();
17652 return 0;
17654 _ACEOF
17655 if ac_fn_c_try_link "$LINENO"
17656 then :
17657 ac_cv_lib_capi20_capi20_register=yes
17658 else $as_nop
17659 ac_cv_lib_capi20_capi20_register=no
17661 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17662 conftest$ac_exeext conftest.$ac_ext
17663 LIBS=$ac_check_lib_save_LIBS
17665 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_capi20_capi20_register" >&5
17666 printf "%s\n" "$ac_cv_lib_capi20_capi20_register" >&6; }
17667 if test "x$ac_cv_lib_capi20_capi20_register" = xyes
17668 then :
17670 else $as_nop
17671 CAPI20_LIBS=""
17675 CPPFLAGS=$ac_save_CPPFLAGS
17678 if test "x$ac_cv_lib_capi20_capi20_register" != xyes
17679 then :
17680 case "x$with_capi" in
17681 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
17682 xno) ;;
17683 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
17684 This is an error since --with-capi was requested." "$LINENO" 5 ;;
17685 esac
17686 enable_capi2032=${enable_capi2032:-no}
17689 if test "x$with_cups" != "xno"
17690 then
17691 rm -f conftest.err
17692 if ${CUPS_CFLAGS:+false} :
17693 then :
17694 if test ${PKG_CONFIG+y}
17695 then :
17696 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>conftest.err`
17699 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
17700 if ${CUPS_LIBS:+false} :
17701 then :
17702 if test ${PKG_CONFIG+y}
17703 then :
17704 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
17707 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
17708 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
17709 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
17710 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
17711 if test -s conftest.err; then
17712 printf %s "$as_me:${as_lineno-$LINENO}: cups errors: " >&5
17713 cat conftest.err >&5
17715 rm -f conftest.err
17716 ac_save_CPPFLAGS=$CPPFLAGS
17717 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
17718 ac_fn_c_check_header_compile "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
17719 if test "x$ac_cv_header_cups_cups_h" = xyes
17720 then :
17721 printf "%s\n" "#define HAVE_CUPS_CUPS_H 1" >>confdefs.h
17724 ac_fn_c_check_header_compile "$LINENO" "cups/ppd.h" "ac_cv_header_cups_ppd_h" "$ac_includes_default"
17725 if test "x$ac_cv_header_cups_ppd_h" = xyes
17726 then :
17727 printf "%s\n" "#define HAVE_CUPS_PPD_H 1" >>confdefs.h
17731 if test "$ac_cv_header_cups_cups_h" = "yes"
17732 then
17733 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
17734 printf %s "checking for -lcups... " >&6; }
17735 if test ${ac_cv_lib_soname_cups+y}
17736 then :
17737 printf %s "(cached) " >&6
17738 else $as_nop
17739 ac_check_soname_save_LIBS=$LIBS
17740 LIBS="-lcups $CUPS_LIBS $LIBS"
17741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17742 /* end confdefs.h. */
17744 /* Override any GCC internal prototype to avoid an error.
17745 Use char because int might match the return type of a GCC
17746 builtin and then its argument prototype would still apply. */
17747 char cupsGetDefault ();
17749 main (void)
17751 return cupsGetDefault ();
17753 return 0;
17755 _ACEOF
17756 if ac_fn_c_try_link "$LINENO"
17757 then :
17758 case "$LIBEXT" in
17759 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17760 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'` ;;
17761 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17762 if ${ac_cv_lib_soname_cups:+false} :
17763 then :
17764 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17765 fi ;;
17766 esac
17767 else $as_nop
17768 ac_cv_lib_soname_cups=
17770 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17771 conftest$ac_exeext conftest.$ac_ext
17772 LIBS=$ac_check_soname_save_LIBS
17774 if ${ac_cv_lib_soname_cups:+false} :
17775 then :
17776 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17777 printf "%s\n" "not found" >&6; }
17778 CUPS_LIBS=""
17779 else $as_nop
17780 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
17781 printf "%s\n" "$ac_cv_lib_soname_cups" >&6; }
17783 printf "%s\n" "#define SONAME_LIBCUPS \"$ac_cv_lib_soname_cups\"" >>confdefs.h
17787 else
17788 CUPS_CFLAGS=""
17789 CUPS_LIBS=""
17791 CPPFLAGS=$ac_save_CPPFLAGS
17794 if test "x$ac_cv_lib_soname_cups" = "x"
17795 then :
17796 case "x$with_cups" in
17797 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
17798 xno) ;;
17799 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
17800 This is an error since --with-cups was requested." "$LINENO" 5 ;;
17801 esac
17805 if test "x$with_fontconfig" != "xno"
17806 then
17807 rm -f conftest.err
17808 if ${FONTCONFIG_CFLAGS:+false} :
17809 then :
17810 if test ${PKG_CONFIG+y}
17811 then :
17812 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>conftest.err`
17815 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
17816 if ${FONTCONFIG_LIBS:+false} :
17817 then :
17818 if test ${PKG_CONFIG+y}
17819 then :
17820 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
17823 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
17825 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
17826 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
17827 if test -s conftest.err; then
17828 printf %s "$as_me:${as_lineno-$LINENO}: fontconfig errors: " >&5
17829 cat conftest.err >&5
17831 rm -f conftest.err
17832 ac_save_CPPFLAGS=$CPPFLAGS
17833 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
17834 ac_fn_c_check_header_compile "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
17835 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
17836 then :
17837 printf "%s\n" "#define HAVE_FONTCONFIG_FONTCONFIG_H 1" >>confdefs.h
17841 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
17842 then
17843 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
17844 printf %s "checking for -lfontconfig... " >&6; }
17845 if test ${ac_cv_lib_soname_fontconfig+y}
17846 then :
17847 printf %s "(cached) " >&6
17848 else $as_nop
17849 ac_check_soname_save_LIBS=$LIBS
17850 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
17851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17852 /* end confdefs.h. */
17854 /* Override any GCC internal prototype to avoid an error.
17855 Use char because int might match the return type of a GCC
17856 builtin and then its argument prototype would still apply. */
17857 char FcInit ();
17859 main (void)
17861 return FcInit ();
17863 return 0;
17865 _ACEOF
17866 if ac_fn_c_try_link "$LINENO"
17867 then :
17868 case "$LIBEXT" in
17869 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17870 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'` ;;
17871 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17872 if ${ac_cv_lib_soname_fontconfig:+false} :
17873 then :
17874 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17875 fi ;;
17876 esac
17877 else $as_nop
17878 ac_cv_lib_soname_fontconfig=
17880 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17881 conftest$ac_exeext conftest.$ac_ext
17882 LIBS=$ac_check_soname_save_LIBS
17884 if ${ac_cv_lib_soname_fontconfig:+false} :
17885 then :
17886 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17887 printf "%s\n" "not found" >&6; }
17888 FONTCONFIG_CFLAGS=""
17889 else $as_nop
17890 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
17891 printf "%s\n" "$ac_cv_lib_soname_fontconfig" >&6; }
17893 printf "%s\n" "#define SONAME_LIBFONTCONFIG \"$ac_cv_lib_soname_fontconfig\"" >>confdefs.h
17897 else
17898 FONTCONFIG_CFLAGS=""
17900 CPPFLAGS=$ac_save_CPPFLAGS
17903 if test "x$ac_cv_lib_soname_fontconfig" = "x"
17904 then :
17905 case "x$with_fontconfig" in
17906 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
17907 xno) ;;
17908 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
17909 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
17910 esac
17914 if test "x$with_krb5" != "xno"
17915 then
17916 rm -f conftest.err
17917 if ${KRB5_CFLAGS:+false} :
17918 then :
17919 if test ${PKG_CONFIG+y}
17920 then :
17921 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>conftest.err`
17924 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
17925 if ${KRB5_LIBS:+false} :
17926 then :
17927 if test ${PKG_CONFIG+y}
17928 then :
17929 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
17932 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
17934 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
17935 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
17936 if test -s conftest.err; then
17937 printf %s "$as_me:${as_lineno-$LINENO}: krb5 errors: " >&5
17938 cat conftest.err >&5
17940 rm -f conftest.err
17941 ac_save_CPPFLAGS=$CPPFLAGS
17942 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
17943 ac_fn_c_check_header_compile "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
17944 if test "x$ac_cv_header_krb5_krb5_h" = xyes
17945 then :
17946 printf "%s\n" "#define HAVE_KRB5_KRB5_H 1" >>confdefs.h
17950 if test "$ac_cv_header_krb5_krb5_h" = "yes"
17951 then
17952 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
17953 printf %s "checking for -lkrb5... " >&6; }
17954 if test ${ac_cv_lib_soname_krb5+y}
17955 then :
17956 printf %s "(cached) " >&6
17957 else $as_nop
17958 ac_check_soname_save_LIBS=$LIBS
17959 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
17960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17961 /* end confdefs.h. */
17963 /* Override any GCC internal prototype to avoid an error.
17964 Use char because int might match the return type of a GCC
17965 builtin and then its argument prototype would still apply. */
17966 char krb5_is_config_principal ();
17968 main (void)
17970 return krb5_is_config_principal ();
17972 return 0;
17974 _ACEOF
17975 if ac_fn_c_try_link "$LINENO"
17976 then :
17977 case "$LIBEXT" in
17978 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17979 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'` ;;
17980 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17981 if ${ac_cv_lib_soname_krb5:+false} :
17982 then :
17983 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17984 fi ;;
17985 esac
17986 else $as_nop
17987 ac_cv_lib_soname_krb5=
17989 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17990 conftest$ac_exeext conftest.$ac_ext
17991 LIBS=$ac_check_soname_save_LIBS
17993 if ${ac_cv_lib_soname_krb5:+false} :
17994 then :
17995 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17996 printf "%s\n" "not found" >&6; }
17997 KRB5_CFLAGS=""
17998 else $as_nop
17999 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
18000 printf "%s\n" "$ac_cv_lib_soname_krb5" >&6; }
18002 printf "%s\n" "#define SONAME_LIBKRB5 \"$ac_cv_lib_soname_krb5\"" >>confdefs.h
18006 else
18007 KRB5_CFLAGS=""
18009 CPPFLAGS=$ac_save_CPPFLAGS
18012 if test "x$ac_cv_lib_soname_krb5" = "x"
18013 then :
18014 case "x$with_krb5" in
18015 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
18016 xno) ;;
18017 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
18018 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
18019 esac
18022 test "x$ac_cv_lib_soname_krb5" != "x" || with_gssapi=${with_gssapi:-no}
18024 if test "x$with_gssapi" != "xno"
18025 then
18026 rm -f conftest.err
18027 if ${GSSAPI_CFLAGS:+false} :
18028 then :
18029 if test ${PKG_CONFIG+y}
18030 then :
18031 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>conftest.err`
18034 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
18035 if ${GSSAPI_LIBS:+false} :
18036 then :
18037 if test ${PKG_CONFIG+y}
18038 then :
18039 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
18042 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
18044 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
18045 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
18046 if test -s conftest.err; then
18047 printf %s "$as_me:${as_lineno-$LINENO}: krb5-gssapi errors: " >&5
18048 cat conftest.err >&5
18050 rm -f conftest.err
18051 ac_save_CPPFLAGS=$CPPFLAGS
18052 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
18053 ac_fn_c_check_header_compile "$LINENO" "gssapi/gssapi.h" "ac_cv_header_gssapi_gssapi_h" "$ac_includes_default"
18054 if test "x$ac_cv_header_gssapi_gssapi_h" = xyes
18055 then :
18056 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_H 1" >>confdefs.h
18059 ac_fn_c_check_header_compile "$LINENO" "gssapi/gssapi_ext.h" "ac_cv_header_gssapi_gssapi_ext_h" "$ac_includes_default"
18060 if test "x$ac_cv_header_gssapi_gssapi_ext_h" = xyes
18061 then :
18062 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_EXT_H 1" >>confdefs.h
18066 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
18067 then
18068 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
18069 printf %s "checking for -lgssapi_krb5... " >&6; }
18070 if test ${ac_cv_lib_soname_gssapi_krb5+y}
18071 then :
18072 printf %s "(cached) " >&6
18073 else $as_nop
18074 ac_check_soname_save_LIBS=$LIBS
18075 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
18076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18077 /* end confdefs.h. */
18079 /* Override any GCC internal prototype to avoid an error.
18080 Use char because int might match the return type of a GCC
18081 builtin and then its argument prototype would still apply. */
18082 char gss_init_sec_context ();
18084 main (void)
18086 return gss_init_sec_context ();
18088 return 0;
18090 _ACEOF
18091 if ac_fn_c_try_link "$LINENO"
18092 then :
18093 case "$LIBEXT" in
18094 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18095 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'` ;;
18096 *) 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'`
18097 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
18098 then :
18099 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18100 fi ;;
18101 esac
18102 else $as_nop
18103 ac_cv_lib_soname_gssapi_krb5=
18105 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18106 conftest$ac_exeext conftest.$ac_ext
18107 LIBS=$ac_check_soname_save_LIBS
18109 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
18110 then :
18111 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18112 printf "%s\n" "not found" >&6; }
18113 GSSAPI_CFLAGS=""
18114 else $as_nop
18115 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
18116 printf "%s\n" "$ac_cv_lib_soname_gssapi_krb5" >&6; }
18118 printf "%s\n" "#define SONAME_LIBGSSAPI_KRB5 \"$ac_cv_lib_soname_gssapi_krb5\"" >>confdefs.h
18122 else
18123 GSSAPI_CFLAGS=""
18125 CPPFLAGS=$ac_save_CPPFLAGS
18128 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"
18129 then :
18130 case "x$with_gssapi" in
18131 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
18132 xno) ;;
18133 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
18134 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
18135 esac
18139 if test "$ac_cv_header_libprocstat_h" = "yes"
18140 then
18141 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
18142 printf %s "checking for procstat_open_sysctl in -lprocstat... " >&6; }
18143 if test ${ac_cv_lib_procstat_procstat_open_sysctl+y}
18144 then :
18145 printf %s "(cached) " >&6
18146 else $as_nop
18147 ac_check_lib_save_LIBS=$LIBS
18148 LIBS="-lprocstat $LIBS"
18149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18150 /* end confdefs.h. */
18152 /* Override any GCC internal prototype to avoid an error.
18153 Use char because int might match the return type of a GCC
18154 builtin and then its argument prototype would still apply. */
18155 char procstat_open_sysctl ();
18157 main (void)
18159 return procstat_open_sysctl ();
18161 return 0;
18163 _ACEOF
18164 if ac_fn_c_try_link "$LINENO"
18165 then :
18166 ac_cv_lib_procstat_procstat_open_sysctl=yes
18167 else $as_nop
18168 ac_cv_lib_procstat_procstat_open_sysctl=no
18170 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18171 conftest$ac_exeext conftest.$ac_ext
18172 LIBS=$ac_check_lib_save_LIBS
18174 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
18175 printf "%s\n" "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
18176 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes
18177 then :
18179 printf "%s\n" "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
18181 PROCSTAT_LIBS="-lprocstat"
18187 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
18188 printf %s "checking for -lodbc... " >&6; }
18189 if test ${ac_cv_lib_soname_odbc+y}
18190 then :
18191 printf %s "(cached) " >&6
18192 else $as_nop
18193 ac_check_soname_save_LIBS=$LIBS
18194 LIBS="-lodbc $LIBS"
18195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18196 /* end confdefs.h. */
18198 /* Override any GCC internal prototype to avoid an error.
18199 Use char because int might match the return type of a GCC
18200 builtin and then its argument prototype would still apply. */
18201 char SQLConnect ();
18203 main (void)
18205 return SQLConnect ();
18207 return 0;
18209 _ACEOF
18210 if ac_fn_c_try_link "$LINENO"
18211 then :
18212 case "$LIBEXT" in
18213 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18214 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'` ;;
18215 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18216 if ${ac_cv_lib_soname_odbc:+false} :
18217 then :
18218 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18219 fi ;;
18220 esac
18221 else $as_nop
18222 ac_cv_lib_soname_odbc=
18224 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18225 conftest$ac_exeext conftest.$ac_ext
18226 LIBS=$ac_check_soname_save_LIBS
18228 if ${ac_cv_lib_soname_odbc:+false} :
18229 then :
18230 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18231 printf "%s\n" "not found" >&6; }
18232 printf "%s\n" "#define SONAME_LIBODBC \"libodbc.$LIBEXT\"" >>confdefs.h
18234 else $as_nop
18235 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
18236 printf "%s\n" "$ac_cv_lib_soname_odbc" >&6; }
18238 printf "%s\n" "#define SONAME_LIBODBC \"$ac_cv_lib_soname_odbc\"" >>confdefs.h
18243 if test "x$with_netapi" != "xno"
18244 then
18245 rm -f conftest.err
18246 if ${NETAPI_CFLAGS:+false} :
18247 then :
18248 if test ${PKG_CONFIG+y}
18249 then :
18250 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>conftest.err`
18254 if ${NETAPI_LIBS:+false} :
18255 then :
18256 if test ${PKG_CONFIG+y}
18257 then :
18258 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
18263 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
18264 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
18265 if test -s conftest.err; then
18266 printf %s "$as_me:${as_lineno-$LINENO}: netapi errors: " >&5
18267 cat conftest.err >&5
18269 rm -f conftest.err
18270 ac_save_CPPFLAGS=$CPPFLAGS
18271 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
18272 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
18273 printf %s "checking for -lnetapi... " >&6; }
18274 if test ${ac_cv_lib_soname_netapi+y}
18275 then :
18276 printf %s "(cached) " >&6
18277 else $as_nop
18278 ac_check_soname_save_LIBS=$LIBS
18279 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
18280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18281 /* end confdefs.h. */
18283 /* Override any GCC internal prototype to avoid an error.
18284 Use char because int might match the return type of a GCC
18285 builtin and then its argument prototype would still apply. */
18286 char libnetapi_init ();
18288 main (void)
18290 return libnetapi_init ();
18292 return 0;
18294 _ACEOF
18295 if ac_fn_c_try_link "$LINENO"
18296 then :
18297 case "$LIBEXT" in
18298 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18299 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'` ;;
18300 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18301 if ${ac_cv_lib_soname_netapi:+false} :
18302 then :
18303 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18304 fi ;;
18305 esac
18306 else $as_nop
18307 ac_cv_lib_soname_netapi=
18309 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18310 conftest$ac_exeext conftest.$ac_ext
18311 LIBS=$ac_check_soname_save_LIBS
18313 if ${ac_cv_lib_soname_netapi:+false} :
18314 then :
18315 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18316 printf "%s\n" "not found" >&6; }
18317 printf "%s\n" "#define SONAME_LIBNETAPI \"libnetapi.$LIBEXT\"" >>confdefs.h
18319 else $as_nop
18320 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
18321 printf "%s\n" "$ac_cv_lib_soname_netapi" >&6; }
18323 printf "%s\n" "#define SONAME_LIBNETAPI \"$ac_cv_lib_soname_netapi\"" >>confdefs.h
18327 CPPFLAGS=$ac_save_CPPFLAGS
18330 if test "x$ac_cv_lib_soname_netapi" = "x"
18331 then :
18332 case "x$with_netapi" in
18333 x) as_fn_append wine_notices "|libnetapi not found, Samba NetAPI won't be supported." ;;
18334 xno) ;;
18335 *) as_fn_error $? "libnetapi not found, Samba NetAPI won't be supported.
18336 This is an error since --with-netapi was requested." "$LINENO" 5 ;;
18337 esac
18338 enable_netapi=${enable_netapi:-no}
18342 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
18343 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
18344 then
18345 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
18348 if test "x$with_vulkan" != "xno"
18349 then
18350 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
18351 printf %s "checking for -lvulkan... " >&6; }
18352 if test ${ac_cv_lib_soname_vulkan+y}
18353 then :
18354 printf %s "(cached) " >&6
18355 else $as_nop
18356 ac_check_soname_save_LIBS=$LIBS
18357 LIBS="-lvulkan $LIBS"
18358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18359 /* end confdefs.h. */
18361 /* Override any GCC internal prototype to avoid an error.
18362 Use char because int might match the return type of a GCC
18363 builtin and then its argument prototype would still apply. */
18364 char vkGetInstanceProcAddr ();
18366 main (void)
18368 return vkGetInstanceProcAddr ();
18370 return 0;
18372 _ACEOF
18373 if ac_fn_c_try_link "$LINENO"
18374 then :
18375 case "$LIBEXT" in
18376 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18377 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'` ;;
18378 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18379 if ${ac_cv_lib_soname_vulkan:+false} :
18380 then :
18381 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18382 fi ;;
18383 esac
18384 else $as_nop
18385 ac_cv_lib_soname_vulkan=
18387 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18388 conftest$ac_exeext conftest.$ac_ext
18389 LIBS=$ac_check_soname_save_LIBS
18391 if ${ac_cv_lib_soname_vulkan:+false} :
18392 then :
18393 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18394 printf "%s\n" "not found" >&6; }
18396 else $as_nop
18397 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
18398 printf "%s\n" "$ac_cv_lib_soname_vulkan" >&6; }
18400 printf "%s\n" "#define SONAME_LIBVULKAN \"$ac_cv_lib_soname_vulkan\"" >>confdefs.h
18404 if test "x$ac_cv_lib_soname_vulkan" = "x"
18405 then
18406 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
18407 printf %s "checking for -lMoltenVK... " >&6; }
18408 if test ${ac_cv_lib_soname_MoltenVK+y}
18409 then :
18410 printf %s "(cached) " >&6
18411 else $as_nop
18412 ac_check_soname_save_LIBS=$LIBS
18413 LIBS="-lMoltenVK $LIBS"
18414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18415 /* end confdefs.h. */
18417 /* Override any GCC internal prototype to avoid an error.
18418 Use char because int might match the return type of a GCC
18419 builtin and then its argument prototype would still apply. */
18420 char vkGetInstanceProcAddr ();
18422 main (void)
18424 return vkGetInstanceProcAddr ();
18426 return 0;
18428 _ACEOF
18429 if ac_fn_c_try_link "$LINENO"
18430 then :
18431 case "$LIBEXT" in
18432 dll) ac_cv_lib_soname_MoltenVK=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18433 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'` ;;
18434 *) ac_cv_lib_soname_MoltenVK=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18435 if ${ac_cv_lib_soname_MoltenVK:+false} :
18436 then :
18437 ac_cv_lib_soname_MoltenVK=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18438 fi ;;
18439 esac
18440 else $as_nop
18441 ac_cv_lib_soname_MoltenVK=
18443 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18444 conftest$ac_exeext conftest.$ac_ext
18445 LIBS=$ac_check_soname_save_LIBS
18447 if ${ac_cv_lib_soname_MoltenVK:+false} :
18448 then :
18449 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18450 printf "%s\n" "not found" >&6; }
18452 else $as_nop
18453 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
18454 printf "%s\n" "$ac_cv_lib_soname_MoltenVK" >&6; }
18456 printf "%s\n" "#define SONAME_LIBMOLTENVK \"$ac_cv_lib_soname_MoltenVK\"" >>confdefs.h
18462 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"
18463 then :
18464 case "x$with_vulkan" in
18465 x) as_fn_append wine_notices "|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
18466 xno) ;;
18467 *) as_fn_error $? "libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
18468 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
18469 esac
18474 if test "x${GCC}" = "xyes"
18475 then
18476 EXTRACFLAGS="$EXTRACFLAGS -Wall -pipe"
18478 saved_CFLAGS=$CFLAGS
18479 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
18480 printf %s "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
18481 if test ${ac_cv_cflags__Werror_unknown_warning_option+y}
18482 then :
18483 printf %s "(cached) " >&6
18484 else $as_nop
18485 ac_wine_try_cflags_saved=$CFLAGS
18486 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
18487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18488 /* end confdefs.h. */
18489 int main(int argc, char **argv) { return 0; }
18490 _ACEOF
18491 if ac_fn_c_try_link "$LINENO"
18492 then :
18493 ac_cv_cflags__Werror_unknown_warning_option=yes
18494 else $as_nop
18495 ac_cv_cflags__Werror_unknown_warning_option=no
18497 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18498 conftest$ac_exeext conftest.$ac_ext
18499 CFLAGS=$ac_wine_try_cflags_saved
18501 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
18502 printf "%s\n" "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
18503 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes
18504 then :
18505 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
18507 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unused-command-line-argument" >&5
18508 printf %s "checking whether the compiler supports -Werror=unused-command-line-argument... " >&6; }
18509 if test ${ac_cv_cflags__Werror_unused_command_line_argument+y}
18510 then :
18511 printf %s "(cached) " >&6
18512 else $as_nop
18513 ac_wine_try_cflags_saved=$CFLAGS
18514 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
18515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18516 /* end confdefs.h. */
18517 int main(int argc, char **argv) { return 0; }
18518 _ACEOF
18519 if ac_fn_c_try_link "$LINENO"
18520 then :
18521 ac_cv_cflags__Werror_unused_command_line_argument=yes
18522 else $as_nop
18523 ac_cv_cflags__Werror_unused_command_line_argument=no
18525 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18526 conftest$ac_exeext conftest.$ac_ext
18527 CFLAGS=$ac_wine_try_cflags_saved
18529 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unused_command_line_argument" >&5
18530 printf "%s\n" "$ac_cv_cflags__Werror_unused_command_line_argument" >&6; }
18531 if test "x$ac_cv_cflags__Werror_unused_command_line_argument" = xyes
18532 then :
18533 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
18535 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=ignored-optimization-argument" >&5
18536 printf %s "checking whether the compiler supports -Werror=ignored-optimization-argument... " >&6; }
18537 if test ${ac_cv_cflags__Werror_ignored_optimization_argument+y}
18538 then :
18539 printf %s "(cached) " >&6
18540 else $as_nop
18541 ac_wine_try_cflags_saved=$CFLAGS
18542 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
18543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18544 /* end confdefs.h. */
18545 int main(int argc, char **argv) { return 0; }
18546 _ACEOF
18547 if ac_fn_c_try_link "$LINENO"
18548 then :
18549 ac_cv_cflags__Werror_ignored_optimization_argument=yes
18550 else $as_nop
18551 ac_cv_cflags__Werror_ignored_optimization_argument=no
18553 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18554 conftest$ac_exeext conftest.$ac_ext
18555 CFLAGS=$ac_wine_try_cflags_saved
18557 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_ignored_optimization_argument" >&5
18558 printf "%s\n" "$ac_cv_cflags__Werror_ignored_optimization_argument" >&6; }
18559 if test "x$ac_cv_cflags__Werror_ignored_optimization_argument" = xyes
18560 then :
18561 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
18563 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fcf-protection=none" >&5
18564 printf %s "checking whether the compiler supports -fcf-protection=none... " >&6; }
18565 if test ${ac_cv_cflags__fcf_protection_none+y}
18566 then :
18567 printf %s "(cached) " >&6
18568 else $as_nop
18569 ac_wine_try_cflags_saved=$CFLAGS
18570 CFLAGS="$CFLAGS -fcf-protection=none"
18571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18572 /* end confdefs.h. */
18573 int main(int argc, char **argv) { return 0; }
18574 _ACEOF
18575 if ac_fn_c_try_link "$LINENO"
18576 then :
18577 ac_cv_cflags__fcf_protection_none=yes
18578 else $as_nop
18579 ac_cv_cflags__fcf_protection_none=no
18581 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18582 conftest$ac_exeext conftest.$ac_ext
18583 CFLAGS=$ac_wine_try_cflags_saved
18585 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fcf_protection_none" >&5
18586 printf "%s\n" "$ac_cv_cflags__fcf_protection_none" >&6; }
18587 if test "x$ac_cv_cflags__fcf_protection_none" = xyes
18588 then :
18589 EXTRACFLAGS="$EXTRACFLAGS -fcf-protection=none"
18591 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-stack-protector" >&5
18592 printf %s "checking whether the compiler supports -fno-stack-protector... " >&6; }
18593 if test ${ac_cv_cflags__fno_stack_protector+y}
18594 then :
18595 printf %s "(cached) " >&6
18596 else $as_nop
18597 ac_wine_try_cflags_saved=$CFLAGS
18598 CFLAGS="$CFLAGS -fno-stack-protector"
18599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18600 /* end confdefs.h. */
18601 int main(int argc, char **argv) { return 0; }
18602 _ACEOF
18603 if ac_fn_c_try_link "$LINENO"
18604 then :
18605 ac_cv_cflags__fno_stack_protector=yes
18606 else $as_nop
18607 ac_cv_cflags__fno_stack_protector=no
18609 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18610 conftest$ac_exeext conftest.$ac_ext
18611 CFLAGS=$ac_wine_try_cflags_saved
18613 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_stack_protector" >&5
18614 printf "%s\n" "$ac_cv_cflags__fno_stack_protector" >&6; }
18615 if test "x$ac_cv_cflags__fno_stack_protector" = xyes
18616 then :
18617 EXTRACFLAGS="$EXTRACFLAGS -fno-stack-protector"
18619 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
18620 printf %s "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
18621 if test ${ac_cv_cflags__fno_strict_aliasing+y}
18622 then :
18623 printf %s "(cached) " >&6
18624 else $as_nop
18625 ac_wine_try_cflags_saved=$CFLAGS
18626 CFLAGS="$CFLAGS -fno-strict-aliasing"
18627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18628 /* end confdefs.h. */
18629 int main(int argc, char **argv) { return 0; }
18630 _ACEOF
18631 if ac_fn_c_try_link "$LINENO"
18632 then :
18633 ac_cv_cflags__fno_strict_aliasing=yes
18634 else $as_nop
18635 ac_cv_cflags__fno_strict_aliasing=no
18637 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18638 conftest$ac_exeext conftest.$ac_ext
18639 CFLAGS=$ac_wine_try_cflags_saved
18641 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
18642 printf "%s\n" "$ac_cv_cflags__fno_strict_aliasing" >&6; }
18643 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes
18644 then :
18645 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
18647 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
18648 printf %s "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
18649 if test ${ac_cv_cflags__Wdeclaration_after_statement+y}
18650 then :
18651 printf %s "(cached) " >&6
18652 else $as_nop
18653 ac_wine_try_cflags_saved=$CFLAGS
18654 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
18655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18656 /* end confdefs.h. */
18657 int main(int argc, char **argv) { return 0; }
18658 _ACEOF
18659 if ac_fn_c_try_link "$LINENO"
18660 then :
18661 ac_cv_cflags__Wdeclaration_after_statement=yes
18662 else $as_nop
18663 ac_cv_cflags__Wdeclaration_after_statement=no
18665 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18666 conftest$ac_exeext conftest.$ac_ext
18667 CFLAGS=$ac_wine_try_cflags_saved
18669 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
18670 printf "%s\n" "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
18671 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes
18672 then :
18673 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
18675 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
18676 printf %s "checking whether the compiler supports -Wempty-body... " >&6; }
18677 if test ${ac_cv_cflags__Wempty_body+y}
18678 then :
18679 printf %s "(cached) " >&6
18680 else $as_nop
18681 ac_wine_try_cflags_saved=$CFLAGS
18682 CFLAGS="$CFLAGS -Wempty-body"
18683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18684 /* end confdefs.h. */
18685 int main(int argc, char **argv) { return 0; }
18686 _ACEOF
18687 if ac_fn_c_try_link "$LINENO"
18688 then :
18689 ac_cv_cflags__Wempty_body=yes
18690 else $as_nop
18691 ac_cv_cflags__Wempty_body=no
18693 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18694 conftest$ac_exeext conftest.$ac_ext
18695 CFLAGS=$ac_wine_try_cflags_saved
18697 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
18698 printf "%s\n" "$ac_cv_cflags__Wempty_body" >&6; }
18699 if test "x$ac_cv_cflags__Wempty_body" = xyes
18700 then :
18701 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
18703 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
18704 printf %s "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
18705 if test ${ac_cv_cflags__Wignored_qualifiers+y}
18706 then :
18707 printf %s "(cached) " >&6
18708 else $as_nop
18709 ac_wine_try_cflags_saved=$CFLAGS
18710 CFLAGS="$CFLAGS -Wignored-qualifiers"
18711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18712 /* end confdefs.h. */
18713 int main(int argc, char **argv) { return 0; }
18714 _ACEOF
18715 if ac_fn_c_try_link "$LINENO"
18716 then :
18717 ac_cv_cflags__Wignored_qualifiers=yes
18718 else $as_nop
18719 ac_cv_cflags__Wignored_qualifiers=no
18721 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18722 conftest$ac_exeext conftest.$ac_ext
18723 CFLAGS=$ac_wine_try_cflags_saved
18725 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
18726 printf "%s\n" "$ac_cv_cflags__Wignored_qualifiers" >&6; }
18727 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes
18728 then :
18729 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
18731 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Winit-self" >&5
18732 printf %s "checking whether the compiler supports -Winit-self... " >&6; }
18733 if test ${ac_cv_cflags__Winit_self+y}
18734 then :
18735 printf %s "(cached) " >&6
18736 else $as_nop
18737 ac_wine_try_cflags_saved=$CFLAGS
18738 CFLAGS="$CFLAGS -Winit-self"
18739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18740 /* end confdefs.h. */
18741 int main(int argc, char **argv) { return 0; }
18742 _ACEOF
18743 if ac_fn_c_try_link "$LINENO"
18744 then :
18745 ac_cv_cflags__Winit_self=yes
18746 else $as_nop
18747 ac_cv_cflags__Winit_self=no
18749 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18750 conftest$ac_exeext conftest.$ac_ext
18751 CFLAGS=$ac_wine_try_cflags_saved
18753 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Winit_self" >&5
18754 printf "%s\n" "$ac_cv_cflags__Winit_self" >&6; }
18755 if test "x$ac_cv_cflags__Winit_self" = xyes
18756 then :
18757 EXTRACFLAGS="$EXTRACFLAGS -Winit-self"
18759 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
18760 printf %s "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
18761 if test ${ac_cv_cflags__Wpacked_not_aligned+y}
18762 then :
18763 printf %s "(cached) " >&6
18764 else $as_nop
18765 ac_wine_try_cflags_saved=$CFLAGS
18766 CFLAGS="$CFLAGS -Wpacked-not-aligned"
18767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18768 /* end confdefs.h. */
18769 int main(int argc, char **argv) { return 0; }
18770 _ACEOF
18771 if ac_fn_c_try_link "$LINENO"
18772 then :
18773 ac_cv_cflags__Wpacked_not_aligned=yes
18774 else $as_nop
18775 ac_cv_cflags__Wpacked_not_aligned=no
18777 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18778 conftest$ac_exeext conftest.$ac_ext
18779 CFLAGS=$ac_wine_try_cflags_saved
18781 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
18782 printf "%s\n" "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
18783 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes
18784 then :
18785 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
18787 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
18788 printf %s "checking whether the compiler supports -Wpragma-pack... " >&6; }
18789 if test ${ac_cv_cflags__Wpragma_pack+y}
18790 then :
18791 printf %s "(cached) " >&6
18792 else $as_nop
18793 ac_wine_try_cflags_saved=$CFLAGS
18794 CFLAGS="$CFLAGS -Wpragma-pack"
18795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18796 /* end confdefs.h. */
18797 int main(int argc, char **argv) { return 0; }
18798 _ACEOF
18799 if ac_fn_c_try_link "$LINENO"
18800 then :
18801 ac_cv_cflags__Wpragma_pack=yes
18802 else $as_nop
18803 ac_cv_cflags__Wpragma_pack=no
18805 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18806 conftest$ac_exeext conftest.$ac_ext
18807 CFLAGS=$ac_wine_try_cflags_saved
18809 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
18810 printf "%s\n" "$ac_cv_cflags__Wpragma_pack" >&6; }
18811 if test "x$ac_cv_cflags__Wpragma_pack" = xyes
18812 then :
18813 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
18815 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
18816 printf %s "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
18817 if test ${ac_cv_cflags__Wshift_overflow_2+y}
18818 then :
18819 printf %s "(cached) " >&6
18820 else $as_nop
18821 ac_wine_try_cflags_saved=$CFLAGS
18822 CFLAGS="$CFLAGS -Wshift-overflow=2"
18823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18824 /* end confdefs.h. */
18825 int main(int argc, char **argv) { return 0; }
18826 _ACEOF
18827 if ac_fn_c_try_link "$LINENO"
18828 then :
18829 ac_cv_cflags__Wshift_overflow_2=yes
18830 else $as_nop
18831 ac_cv_cflags__Wshift_overflow_2=no
18833 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18834 conftest$ac_exeext conftest.$ac_ext
18835 CFLAGS=$ac_wine_try_cflags_saved
18837 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
18838 printf "%s\n" "$ac_cv_cflags__Wshift_overflow_2" >&6; }
18839 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes
18840 then :
18841 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
18843 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
18844 printf %s "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
18845 if test ${ac_cv_cflags__Wstrict_prototypes+y}
18846 then :
18847 printf %s "(cached) " >&6
18848 else $as_nop
18849 ac_wine_try_cflags_saved=$CFLAGS
18850 CFLAGS="$CFLAGS -Wstrict-prototypes"
18851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18852 /* end confdefs.h. */
18853 int main(int argc, char **argv) { return 0; }
18854 _ACEOF
18855 if ac_fn_c_try_link "$LINENO"
18856 then :
18857 ac_cv_cflags__Wstrict_prototypes=yes
18858 else $as_nop
18859 ac_cv_cflags__Wstrict_prototypes=no
18861 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18862 conftest$ac_exeext conftest.$ac_ext
18863 CFLAGS=$ac_wine_try_cflags_saved
18865 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
18866 printf "%s\n" "$ac_cv_cflags__Wstrict_prototypes" >&6; }
18867 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes
18868 then :
18869 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
18871 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
18872 printf %s "checking whether the compiler supports -Wtype-limits... " >&6; }
18873 if test ${ac_cv_cflags__Wtype_limits+y}
18874 then :
18875 printf %s "(cached) " >&6
18876 else $as_nop
18877 ac_wine_try_cflags_saved=$CFLAGS
18878 CFLAGS="$CFLAGS -Wtype-limits"
18879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18880 /* end confdefs.h. */
18881 int main(int argc, char **argv) { return 0; }
18882 _ACEOF
18883 if ac_fn_c_try_link "$LINENO"
18884 then :
18885 ac_cv_cflags__Wtype_limits=yes
18886 else $as_nop
18887 ac_cv_cflags__Wtype_limits=no
18889 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18890 conftest$ac_exeext conftest.$ac_ext
18891 CFLAGS=$ac_wine_try_cflags_saved
18893 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
18894 printf "%s\n" "$ac_cv_cflags__Wtype_limits" >&6; }
18895 if test "x$ac_cv_cflags__Wtype_limits" = xyes
18896 then :
18897 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
18899 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
18900 printf %s "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
18901 if test ${ac_cv_cflags__Wunused_but_set_parameter+y}
18902 then :
18903 printf %s "(cached) " >&6
18904 else $as_nop
18905 ac_wine_try_cflags_saved=$CFLAGS
18906 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
18907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18908 /* end confdefs.h. */
18909 int main(int argc, char **argv) { return 0; }
18910 _ACEOF
18911 if ac_fn_c_try_link "$LINENO"
18912 then :
18913 ac_cv_cflags__Wunused_but_set_parameter=yes
18914 else $as_nop
18915 ac_cv_cflags__Wunused_but_set_parameter=no
18917 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18918 conftest$ac_exeext conftest.$ac_ext
18919 CFLAGS=$ac_wine_try_cflags_saved
18921 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
18922 printf "%s\n" "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
18923 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes
18924 then :
18925 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
18927 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
18928 printf %s "checking whether the compiler supports -Wvla... " >&6; }
18929 if test ${ac_cv_cflags__Wvla+y}
18930 then :
18931 printf %s "(cached) " >&6
18932 else $as_nop
18933 ac_wine_try_cflags_saved=$CFLAGS
18934 CFLAGS="$CFLAGS -Wvla"
18935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18936 /* end confdefs.h. */
18937 int main(int argc, char **argv) { return 0; }
18938 _ACEOF
18939 if ac_fn_c_try_link "$LINENO"
18940 then :
18941 ac_cv_cflags__Wvla=yes
18942 else $as_nop
18943 ac_cv_cflags__Wvla=no
18945 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18946 conftest$ac_exeext conftest.$ac_ext
18947 CFLAGS=$ac_wine_try_cflags_saved
18949 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
18950 printf "%s\n" "$ac_cv_cflags__Wvla" >&6; }
18951 if test "x$ac_cv_cflags__Wvla" = xyes
18952 then :
18953 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
18955 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
18956 printf %s "checking whether the compiler supports -Wwrite-strings... " >&6; }
18957 if test ${ac_cv_cflags__Wwrite_strings+y}
18958 then :
18959 printf %s "(cached) " >&6
18960 else $as_nop
18961 ac_wine_try_cflags_saved=$CFLAGS
18962 CFLAGS="$CFLAGS -Wwrite-strings"
18963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18964 /* end confdefs.h. */
18965 int main(int argc, char **argv) { return 0; }
18966 _ACEOF
18967 if ac_fn_c_try_link "$LINENO"
18968 then :
18969 ac_cv_cflags__Wwrite_strings=yes
18970 else $as_nop
18971 ac_cv_cflags__Wwrite_strings=no
18973 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18974 conftest$ac_exeext conftest.$ac_ext
18975 CFLAGS=$ac_wine_try_cflags_saved
18977 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
18978 printf "%s\n" "$ac_cv_cflags__Wwrite_strings" >&6; }
18979 if test "x$ac_cv_cflags__Wwrite_strings" = xyes
18980 then :
18981 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
18984 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
18985 printf %s "checking whether the compiler supports -Wpointer-arith... " >&6; }
18986 if test ${ac_cv_cflags__Wpointer_arith+y}
18987 then :
18988 printf %s "(cached) " >&6
18989 else $as_nop
18990 ac_wine_try_cflags_saved=$CFLAGS
18991 CFLAGS="$CFLAGS -Wpointer-arith"
18992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18993 /* end confdefs.h. */
18994 int main(int argc, char **argv) { return 0; }
18995 _ACEOF
18996 if ac_fn_c_try_link "$LINENO"
18997 then :
18998 ac_cv_cflags__Wpointer_arith=yes
18999 else $as_nop
19000 ac_cv_cflags__Wpointer_arith=no
19002 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19003 conftest$ac_exeext conftest.$ac_ext
19004 CFLAGS=$ac_wine_try_cflags_saved
19006 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
19007 printf "%s\n" "$ac_cv_cflags__Wpointer_arith" >&6; }
19008 if test "x$ac_cv_cflags__Wpointer_arith" = xyes
19009 then :
19010 saved_string_h_CFLAGS=$CFLAGS
19011 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
19012 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
19013 printf %s "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
19014 if test ${ac_cv_c_string_h_warnings+y}
19015 then :
19016 printf %s "(cached) " >&6
19017 else $as_nop
19018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19019 /* end confdefs.h. */
19020 #include <string.h>
19022 main (void)
19026 return 0;
19028 _ACEOF
19029 if ac_fn_c_try_compile "$LINENO"
19030 then :
19031 ac_cv_c_string_h_warnings=no
19032 else $as_nop
19033 ac_cv_c_string_h_warnings=yes
19035 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19037 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
19038 printf "%s\n" "$ac_cv_c_string_h_warnings" >&6; }
19039 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
19040 CFLAGS=$saved_string_h_CFLAGS
19043 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
19044 printf %s "checking whether the compiler supports -Wlogical-op... " >&6; }
19045 if test ${ac_cv_cflags__Wlogical_op+y}
19046 then :
19047 printf %s "(cached) " >&6
19048 else $as_nop
19049 ac_wine_try_cflags_saved=$CFLAGS
19050 CFLAGS="$CFLAGS -Wlogical-op"
19051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19052 /* end confdefs.h. */
19053 int main(int argc, char **argv) { return 0; }
19054 _ACEOF
19055 if ac_fn_c_try_link "$LINENO"
19056 then :
19057 ac_cv_cflags__Wlogical_op=yes
19058 else $as_nop
19059 ac_cv_cflags__Wlogical_op=no
19061 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19062 conftest$ac_exeext conftest.$ac_ext
19063 CFLAGS=$ac_wine_try_cflags_saved
19065 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
19066 printf "%s\n" "$ac_cv_cflags__Wlogical_op" >&6; }
19067 if test "x$ac_cv_cflags__Wlogical_op" = xyes
19068 then :
19069 saved_string_h_CFLAGS=$CFLAGS
19070 CFLAGS="$CFLAGS -Wlogical-op -Werror"
19071 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
19072 printf %s "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
19073 if test ${ac_cv_c_logicalop_noisy+y}
19074 then :
19075 printf %s "(cached) " >&6
19076 else $as_nop
19077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19078 /* end confdefs.h. */
19079 #include <string.h>
19080 char*f(const char *h,char n) {return strchr(h,n);}
19082 main (void)
19086 return 0;
19088 _ACEOF
19089 if ac_fn_c_try_compile "$LINENO"
19090 then :
19091 ac_cv_c_logicalop_noisy=no
19092 else $as_nop
19093 ac_cv_c_logicalop_noisy=yes
19095 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19097 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
19098 printf "%s\n" "$ac_cv_c_logicalop_noisy" >&6; }
19099 CFLAGS=$saved_string_h_CFLAGS
19100 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
19103 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for flags needed for 64-bit compare-and-swap support" >&5
19104 printf %s "checking for flags needed for 64-bit compare-and-swap support... " >&6; }
19105 if test ${wine_cv_64bit_compare_swap+y}
19106 then :
19107 printf %s "(cached) " >&6
19108 else $as_nop
19109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19110 /* end confdefs.h. */
19111 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
19112 #error no
19113 #endif
19115 main (void)
19119 return 0;
19121 _ACEOF
19122 if ac_fn_c_try_compile "$LINENO"
19123 then :
19124 wine_cv_64bit_compare_swap="none needed"
19125 else $as_nop
19126 case $host_cpu in
19127 *i[3456]86*) wine_cv_64bit_compare_swap="-march=i586" ;;
19128 *arm*) wine_cv_64bit_compare_swap="-march=armv7-a" ;;
19129 *) wine_cv_64bit_compare_swap="unknown" ;;
19130 esac
19131 if test "x$wine_cv_64bit_compare_swap" != xunknown
19132 then
19133 CFLAGS="$CFLAGS $wine_cv_64bit_compare_swap"
19134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19135 /* end confdefs.h. */
19136 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
19137 #error no
19138 #endif
19140 main (void)
19144 return 0;
19146 _ACEOF
19147 if ac_fn_c_try_compile "$LINENO"
19148 then :
19150 else $as_nop
19151 wine_cv_64bit_compare_swap="unknown"
19153 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19154 CFLAGS=$saved_CFLAGS
19157 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19159 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_64bit_compare_swap" >&5
19160 printf "%s\n" "$wine_cv_64bit_compare_swap" >&6; }
19161 case "$wine_cv_64bit_compare_swap" in
19162 unknown) as_fn_error $? "gcc doesn't support 64-bit compare-and-swap on this platform" "$LINENO" 5 ;;
19163 "none needed") ;;
19164 *) EXTRACFLAGS="$EXTRACFLAGS $wine_cv_64bit_compare_swap" ;;
19165 esac
19167 ac_debug_format_seen=""
19168 for ac_flag in $CFLAGS; do
19169 case $ac_flag in
19170 -gdwarf*) ac_debug_format_seen=yes ;;
19171 -g) ac_debug_format_seen=${ac_debug_format_seen:-default} ;;
19172 esac
19173 done
19174 if test "x$ac_debug_format_seen" = xdefault
19175 then
19176 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-4" >&5
19177 printf %s "checking whether the compiler supports -gdwarf-4... " >&6; }
19178 if test ${ac_cv_cflags__gdwarf_4+y}
19179 then :
19180 printf %s "(cached) " >&6
19181 else $as_nop
19182 ac_wine_try_cflags_saved=$CFLAGS
19183 CFLAGS="$CFLAGS -gdwarf-4"
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__gdwarf_4=yes
19191 else $as_nop
19192 ac_cv_cflags__gdwarf_4=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__gdwarf_4" >&5
19199 printf "%s\n" "$ac_cv_cflags__gdwarf_4" >&6; }
19200 if test "x$ac_cv_cflags__gdwarf_4" = xyes
19201 then :
19202 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-4"
19206 MSVCRTFLAGS=""
19208 case $host_os in
19209 mingw32*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-delayload,autoconftest.dll" >&5
19210 printf %s "checking whether the compiler supports -Wl,-delayload,autoconftest.dll... " >&6; }
19211 if test ${ac_cv_cflags__Wl__delayload_autoconftest_dll+y}
19212 then :
19213 printf %s "(cached) " >&6
19214 else $as_nop
19215 ac_wine_try_cflags_saved=$CFLAGS
19216 CFLAGS="$CFLAGS -Wl,-delayload,autoconftest.dll"
19217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19218 /* end confdefs.h. */
19219 int main(int argc, char **argv) { return 0; }
19220 _ACEOF
19221 if ac_fn_c_try_link "$LINENO"
19222 then :
19223 ac_cv_cflags__Wl__delayload_autoconftest_dll=yes
19224 else $as_nop
19225 ac_cv_cflags__Wl__delayload_autoconftest_dll=no
19227 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19228 conftest$ac_exeext conftest.$ac_ext
19229 CFLAGS=$ac_wine_try_cflags_saved
19231 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__delayload_autoconftest_dll" >&5
19232 printf "%s\n" "$ac_cv_cflags__Wl__delayload_autoconftest_dll" >&6; }
19233 if test "x$ac_cv_cflags__Wl__delayload_autoconftest_dll" = xyes
19234 then :
19235 DELAYLOADFLAG="-Wl,-delayload,"
19237 fi ;;
19238 *) MSVCRTFLAGS="-D_WIN32"
19239 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
19240 printf %s "checking whether the compiler supports -fno-builtin... " >&6; }
19241 if test ${ac_cv_cflags__fno_builtin+y}
19242 then :
19243 printf %s "(cached) " >&6
19244 else $as_nop
19245 ac_wine_try_cflags_saved=$CFLAGS
19246 CFLAGS="$CFLAGS -fno-builtin"
19247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19248 /* end confdefs.h. */
19249 int main(int argc, char **argv) { return 0; }
19250 _ACEOF
19251 if ac_fn_c_try_link "$LINENO"
19252 then :
19253 ac_cv_cflags__fno_builtin=yes
19254 else $as_nop
19255 ac_cv_cflags__fno_builtin=no
19257 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19258 conftest$ac_exeext conftest.$ac_ext
19259 CFLAGS=$ac_wine_try_cflags_saved
19261 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
19262 printf "%s\n" "$ac_cv_cflags__fno_builtin" >&6; }
19263 if test "x$ac_cv_cflags__fno_builtin" = xyes
19264 then :
19265 MSVCRTFLAGS="$MSVCRTFLAGS -fno-builtin"
19267 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
19268 printf %s "checking whether the compiler supports -fshort-wchar... " >&6; }
19269 if test ${ac_cv_cflags__fshort_wchar+y}
19270 then :
19271 printf %s "(cached) " >&6
19272 else $as_nop
19273 ac_wine_try_cflags_saved=$CFLAGS
19274 CFLAGS="$CFLAGS -fshort-wchar"
19275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19276 /* end confdefs.h. */
19277 int main(int argc, char **argv) { return 0; }
19278 _ACEOF
19279 if ac_fn_c_try_link "$LINENO"
19280 then :
19281 ac_cv_cflags__fshort_wchar=yes
19282 else $as_nop
19283 ac_cv_cflags__fshort_wchar=no
19285 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19286 conftest$ac_exeext conftest.$ac_ext
19287 CFLAGS=$ac_wine_try_cflags_saved
19289 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fshort_wchar" >&5
19290 printf "%s\n" "$ac_cv_cflags__fshort_wchar" >&6; }
19291 if test "x$ac_cv_cflags__fshort_wchar" = xyes
19292 then :
19293 MSVCRTFLAGS="$MSVCRTFLAGS -fshort-wchar"
19295 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fvisibility=hidden" >&5
19296 printf %s "checking whether the compiler supports -fvisibility=hidden... " >&6; }
19297 if test ${ac_cv_cflags__fvisibility_hidden+y}
19298 then :
19299 printf %s "(cached) " >&6
19300 else $as_nop
19301 ac_wine_try_cflags_saved=$CFLAGS
19302 CFLAGS="$CFLAGS -fvisibility=hidden"
19303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19304 /* end confdefs.h. */
19305 int main(int argc, char **argv) { return 0; }
19306 _ACEOF
19307 if ac_fn_c_try_link "$LINENO"
19308 then :
19309 ac_cv_cflags__fvisibility_hidden=yes
19310 else $as_nop
19311 ac_cv_cflags__fvisibility_hidden=no
19313 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19314 conftest$ac_exeext conftest.$ac_ext
19315 CFLAGS=$ac_wine_try_cflags_saved
19317 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fvisibility_hidden" >&5
19318 printf "%s\n" "$ac_cv_cflags__fvisibility_hidden" >&6; }
19319 if test "x$ac_cv_cflags__fvisibility_hidden" = xyes
19320 then :
19321 MSVCRTFLAGS="$MSVCRTFLAGS -fvisibility=hidden"
19323 { 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 MSVCRTFLAGS="$MSVCRTFLAGS -Wno-format"
19350 fi ;;
19351 esac
19353 case $host_cpu in
19354 *i[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
19355 printf %s "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
19356 if test ${ac_cv_cflags__fno_omit_frame_pointer+y}
19357 then :
19358 printf %s "(cached) " >&6
19359 else $as_nop
19360 ac_wine_try_cflags_saved=$CFLAGS
19361 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
19362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19363 /* end confdefs.h. */
19364 int main(int argc, char **argv) { return 0; }
19365 _ACEOF
19366 if ac_fn_c_try_link "$LINENO"
19367 then :
19368 ac_cv_cflags__fno_omit_frame_pointer=yes
19369 else $as_nop
19370 ac_cv_cflags__fno_omit_frame_pointer=no
19372 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19373 conftest$ac_exeext conftest.$ac_ext
19374 CFLAGS=$ac_wine_try_cflags_saved
19376 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
19377 printf "%s\n" "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
19378 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes
19379 then :
19380 MSVCRTFLAGS="$MSVCRTFLAGS -fno-omit-frame-pointer"
19381 fi ;;
19382 *x86_64*)
19383 case $host_os in
19384 cygwin*|mingw32*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
19385 printf %s "checking whether the compiler supports -Wno-format... " >&6; }
19386 if test ${ac_cv_cflags__Wno_format+y}
19387 then :
19388 printf %s "(cached) " >&6
19389 else $as_nop
19390 ac_wine_try_cflags_saved=$CFLAGS
19391 CFLAGS="$CFLAGS -Wno-format"
19392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19393 /* end confdefs.h. */
19394 int main(int argc, char **argv) { return 0; }
19395 _ACEOF
19396 if ac_fn_c_try_link "$LINENO"
19397 then :
19398 ac_cv_cflags__Wno_format=yes
19399 else $as_nop
19400 ac_cv_cflags__Wno_format=no
19402 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19403 conftest$ac_exeext conftest.$ac_ext
19404 CFLAGS=$ac_wine_try_cflags_saved
19406 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
19407 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
19408 if test "x$ac_cv_cflags__Wno_format" = xyes
19409 then :
19410 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
19411 fi ;;
19412 *) if test -z "$PE_ARCHS"
19413 then
19414 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working -mabi=ms" >&5
19415 printf %s "checking for working -mabi=ms... " >&6; }
19416 if test ${ac_cv_mabi_ms+y}
19417 then :
19418 printf %s "(cached) " >&6
19419 else $as_nop
19420 CFLAGS="$CFLAGS -mabi=ms"
19421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19422 /* end confdefs.h. */
19423 #include <stdarg.h>
19424 int a(int b, ...) { __builtin_ms_va_list list; __builtin_ms_va_start(list,b); }
19426 main (void)
19430 return 0;
19432 _ACEOF
19433 if ac_fn_c_try_compile "$LINENO"
19434 then :
19435 ac_cv_mabi_ms=yes
19436 else $as_nop
19437 ac_cv_mabi_ms=no
19439 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19440 CFLAGS=$saved_CFLAGS
19442 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mabi_ms" >&5
19443 printf "%s\n" "$ac_cv_mabi_ms" >&6; }
19444 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
19446 MSVCRTFLAGS="$MSVCRTFLAGS -mabi=ms" ;;
19447 esac ;;
19448 arm*)
19449 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wincompatible-function-pointer-types" >&5
19450 printf %s "checking whether the compiler supports -Wincompatible-function-pointer-types... " >&6; }
19451 if test ${ac_cv_cflags__Wincompatible_function_pointer_types+y}
19452 then :
19453 printf %s "(cached) " >&6
19454 else $as_nop
19455 ac_wine_try_cflags_saved=$CFLAGS
19456 CFLAGS="$CFLAGS -Wincompatible-function-pointer-types"
19457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19458 /* end confdefs.h. */
19459 int main(int argc, char **argv) { return 0; }
19460 _ACEOF
19461 if ac_fn_c_try_link "$LINENO"
19462 then :
19463 ac_cv_cflags__Wincompatible_function_pointer_types=yes
19464 else $as_nop
19465 ac_cv_cflags__Wincompatible_function_pointer_types=no
19467 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19468 conftest$ac_exeext conftest.$ac_ext
19469 CFLAGS=$ac_wine_try_cflags_saved
19471 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wincompatible_function_pointer_types" >&5
19472 printf "%s\n" "$ac_cv_cflags__Wincompatible_function_pointer_types" >&6; }
19473 if test "x$ac_cv_cflags__Wincompatible_function_pointer_types" = xyes
19474 then :
19475 EXTRACFLAGS="$EXTRACFLAGS -Wno-error=incompatible-function-pointer-types"
19476 fi ;;
19477 esac
19479 CFLAGS=$saved_CFLAGS
19481 if test "x$enable_werror" = "xyes"
19482 then
19483 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
19484 printf %s "checking whether the compiler supports -Werror... " >&6; }
19485 if test ${ac_cv_cflags__Werror+y}
19486 then :
19487 printf %s "(cached) " >&6
19488 else $as_nop
19489 ac_wine_try_cflags_saved=$CFLAGS
19490 CFLAGS="$CFLAGS -Werror"
19491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19492 /* end confdefs.h. */
19493 int main(int argc, char **argv) { return 0; }
19494 _ACEOF
19495 if ac_fn_c_try_link "$LINENO"
19496 then :
19497 ac_cv_cflags__Werror=yes
19498 else $as_nop
19499 ac_cv_cflags__Werror=no
19501 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19502 conftest$ac_exeext conftest.$ac_ext
19503 CFLAGS=$ac_wine_try_cflags_saved
19505 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
19506 printf "%s\n" "$ac_cv_cflags__Werror" >&6; }
19507 if test "x$ac_cv_cflags__Werror" = xyes
19508 then :
19509 EXTRACFLAGS="$EXTRACFLAGS -Werror"
19512 if test "x$enable_build_id" = "xyes"
19513 then
19514 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--build-id" >&5
19515 printf %s "checking whether the compiler supports -Wl,--build-id... " >&6; }
19516 if test ${ac_cv_cflags__Wl___build_id+y}
19517 then :
19518 printf %s "(cached) " >&6
19519 else $as_nop
19520 ac_wine_try_cflags_saved=$CFLAGS
19521 CFLAGS="$CFLAGS -Wl,--build-id"
19522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19523 /* end confdefs.h. */
19524 int main(int argc, char **argv) { return 0; }
19525 _ACEOF
19526 if ac_fn_c_try_link "$LINENO"
19527 then :
19528 ac_cv_cflags__Wl___build_id=yes
19529 else $as_nop
19530 ac_cv_cflags__Wl___build_id=no
19532 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19533 conftest$ac_exeext conftest.$ac_ext
19534 CFLAGS=$ac_wine_try_cflags_saved
19536 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___build_id" >&5
19537 printf "%s\n" "$ac_cv_cflags__Wl___build_id" >&6; }
19538 if test "x$ac_cv_cflags__Wl___build_id" = xyes
19539 then :
19540 CFLAGS="$CFLAGS -Wl,--build-id"
19541 LDFLAGS="$LDFLAGS -Wl,--build-id"
19547 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
19548 printf %s "checking for the need to disable Fortify... " >&6; }
19549 if test ${ac_cv_c_fortify_enabled+y}
19550 then :
19551 printf %s "(cached) " >&6
19552 else $as_nop
19553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19554 /* end confdefs.h. */
19555 #include <string.h>
19557 main (void)
19559 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
19560 #error Fortify enabled
19561 #endif
19563 return 0;
19565 _ACEOF
19566 if ac_fn_c_try_compile "$LINENO"
19567 then :
19568 ac_cv_c_fortify_enabled=no
19569 else $as_nop
19570 ac_cv_c_fortify_enabled=yes
19572 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19574 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
19575 printf "%s\n" "$ac_cv_c_fortify_enabled" >&6; }
19576 if test "$ac_cv_c_fortify_enabled" = yes
19577 then
19578 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
19582 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
19583 printf %s "checking whether CFI directives are supported in assembly code... " >&6; }
19584 if test ${ac_cv_c_cfi_support+y}
19585 then :
19586 printf %s "(cached) " >&6
19587 else $as_nop
19588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19589 /* end confdefs.h. */
19590 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
19592 main (void)
19596 return 0;
19598 _ACEOF
19599 if ac_fn_c_try_compile "$LINENO"
19600 then :
19601 ac_cv_c_cfi_support="yes"
19602 else $as_nop
19603 ac_cv_c_cfi_support="no"
19605 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19607 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
19608 printf "%s\n" "$ac_cv_c_cfi_support" >&6; }
19609 if test "$ac_cv_c_cfi_support" = "yes"
19610 then
19611 DLLFLAGS="$DLLFLAGS -fasynchronous-unwind-tables"
19612 LDDLLFLAGS="$LDDLLFLAGS -fasynchronous-unwind-tables"
19613 UNIXDLLFLAGS="$UNIXDLLFLAGS -fasynchronous-unwind-tables"
19614 elif test $HOST_ARCH = x86_64
19615 then
19616 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
19620 case "$HOST_ARCH,$PE_ARCHS" in
19621 x86_64,*i386*) wine_binary="wine" ;;
19622 x86_64,*) wine_binary="wine64" ;;
19623 *) wine_binary="wine" ;;
19624 esac
19625 WINELOADER_PROGRAMS="$wine_binary"
19628 case $host_os in
19629 linux*)
19630 case $host_cpu in
19631 *i[3456789]86*|x86_64*|*aarch64*|arm*)
19632 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS " loader/wine-preloader"
19633 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
19635 esac
19637 darwin*|macosx*)
19638 if test "$wine_can_build_preloader" = "yes"
19639 then
19640 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS " loader/wine-preloader"
19641 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
19644 esac
19647 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
19648 printf %s "checking for library containing dlopen... " >&6; }
19649 if test ${ac_cv_search_dlopen+y}
19650 then :
19651 printf %s "(cached) " >&6
19652 else $as_nop
19653 ac_func_search_save_LIBS=$LIBS
19654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19655 /* end confdefs.h. */
19657 /* Override any GCC internal prototype to avoid an error.
19658 Use char because int might match the return type of a GCC
19659 builtin and then its argument prototype would still apply. */
19660 char dlopen ();
19662 main (void)
19664 return dlopen ();
19666 return 0;
19668 _ACEOF
19669 for ac_lib in '' dl
19671 if test -z "$ac_lib"; then
19672 ac_res="none required"
19673 else
19674 ac_res=-l$ac_lib
19675 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19677 if ac_fn_c_try_link "$LINENO"
19678 then :
19679 ac_cv_search_dlopen=$ac_res
19681 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19682 conftest$ac_exeext
19683 if test ${ac_cv_search_dlopen+y}
19684 then :
19685 break
19687 done
19688 if test ${ac_cv_search_dlopen+y}
19689 then :
19691 else $as_nop
19692 ac_cv_search_dlopen=no
19694 rm conftest.$ac_ext
19695 LIBS=$ac_func_search_save_LIBS
19697 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
19698 printf "%s\n" "$ac_cv_search_dlopen" >&6; }
19699 ac_res=$ac_cv_search_dlopen
19700 if test "$ac_res" != no
19701 then :
19702 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19707 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
19708 printf %s "checking for library containing gethostbyname... " >&6; }
19709 if test ${ac_cv_search_gethostbyname+y}
19710 then :
19711 printf %s "(cached) " >&6
19712 else $as_nop
19713 ac_func_search_save_LIBS=$LIBS
19714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19715 /* end confdefs.h. */
19717 /* Override any GCC internal prototype to avoid an error.
19718 Use char because int might match the return type of a GCC
19719 builtin and then its argument prototype would still apply. */
19720 char gethostbyname ();
19722 main (void)
19724 return gethostbyname ();
19726 return 0;
19728 _ACEOF
19729 for ac_lib in '' nsl
19731 if test -z "$ac_lib"; then
19732 ac_res="none required"
19733 else
19734 ac_res=-l$ac_lib
19735 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19737 if ac_fn_c_try_link "$LINENO"
19738 then :
19739 ac_cv_search_gethostbyname=$ac_res
19741 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19742 conftest$ac_exeext
19743 if test ${ac_cv_search_gethostbyname+y}
19744 then :
19745 break
19747 done
19748 if test ${ac_cv_search_gethostbyname+y}
19749 then :
19751 else $as_nop
19752 ac_cv_search_gethostbyname=no
19754 rm conftest.$ac_ext
19755 LIBS=$ac_func_search_save_LIBS
19757 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
19758 printf "%s\n" "$ac_cv_search_gethostbyname" >&6; }
19759 ac_res=$ac_cv_search_gethostbyname
19760 if test "$ac_res" != no
19761 then :
19762 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19767 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
19768 printf %s "checking for library containing connect... " >&6; }
19769 if test ${ac_cv_search_connect+y}
19770 then :
19771 printf %s "(cached) " >&6
19772 else $as_nop
19773 ac_func_search_save_LIBS=$LIBS
19774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19775 /* end confdefs.h. */
19777 /* Override any GCC internal prototype to avoid an error.
19778 Use char because int might match the return type of a GCC
19779 builtin and then its argument prototype would still apply. */
19780 char connect ();
19782 main (void)
19784 return connect ();
19786 return 0;
19788 _ACEOF
19789 for ac_lib in '' socket
19791 if test -z "$ac_lib"; then
19792 ac_res="none required"
19793 else
19794 ac_res=-l$ac_lib
19795 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19797 if ac_fn_c_try_link "$LINENO"
19798 then :
19799 ac_cv_search_connect=$ac_res
19801 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19802 conftest$ac_exeext
19803 if test ${ac_cv_search_connect+y}
19804 then :
19805 break
19807 done
19808 if test ${ac_cv_search_connect+y}
19809 then :
19811 else $as_nop
19812 ac_cv_search_connect=no
19814 rm conftest.$ac_ext
19815 LIBS=$ac_func_search_save_LIBS
19817 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
19818 printf "%s\n" "$ac_cv_search_connect" >&6; }
19819 ac_res=$ac_cv_search_connect
19820 if test "$ac_res" != no
19821 then :
19822 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19827 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
19828 printf %s "checking for library containing inet_aton... " >&6; }
19829 if test ${ac_cv_search_inet_aton+y}
19830 then :
19831 printf %s "(cached) " >&6
19832 else $as_nop
19833 ac_func_search_save_LIBS=$LIBS
19834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19835 /* end confdefs.h. */
19837 /* Override any GCC internal prototype to avoid an error.
19838 Use char because int might match the return type of a GCC
19839 builtin and then its argument prototype would still apply. */
19840 char inet_aton ();
19842 main (void)
19844 return inet_aton ();
19846 return 0;
19848 _ACEOF
19849 for ac_lib in '' resolv
19851 if test -z "$ac_lib"; then
19852 ac_res="none required"
19853 else
19854 ac_res=-l$ac_lib
19855 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19857 if ac_fn_c_try_link "$LINENO"
19858 then :
19859 ac_cv_search_inet_aton=$ac_res
19861 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19862 conftest$ac_exeext
19863 if test ${ac_cv_search_inet_aton+y}
19864 then :
19865 break
19867 done
19868 if test ${ac_cv_search_inet_aton+y}
19869 then :
19871 else $as_nop
19872 ac_cv_search_inet_aton=no
19874 rm conftest.$ac_ext
19875 LIBS=$ac_func_search_save_LIBS
19877 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
19878 printf "%s\n" "$ac_cv_search_inet_aton" >&6; }
19879 ac_res=$ac_cv_search_inet_aton
19880 if test "$ac_res" != no
19881 then :
19882 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19887 ac_save_CFLAGS="$CFLAGS"
19888 CFLAGS="$CFLAGS $BUILTINFLAG"
19889 ac_fn_c_check_func "$LINENO" "dladdr1" "ac_cv_func_dladdr1"
19890 if test "x$ac_cv_func_dladdr1" = xyes
19891 then :
19892 printf "%s\n" "#define HAVE_DLADDR1 1" >>confdefs.h
19895 ac_fn_c_check_func "$LINENO" "dlinfo" "ac_cv_func_dlinfo"
19896 if test "x$ac_cv_func_dlinfo" = xyes
19897 then :
19898 printf "%s\n" "#define HAVE_DLINFO 1" >>confdefs.h
19901 ac_fn_c_check_func "$LINENO" "epoll_create" "ac_cv_func_epoll_create"
19902 if test "x$ac_cv_func_epoll_create" = xyes
19903 then :
19904 printf "%s\n" "#define HAVE_EPOLL_CREATE 1" >>confdefs.h
19907 ac_fn_c_check_func "$LINENO" "fstatfs" "ac_cv_func_fstatfs"
19908 if test "x$ac_cv_func_fstatfs" = xyes
19909 then :
19910 printf "%s\n" "#define HAVE_FSTATFS 1" >>confdefs.h
19913 ac_fn_c_check_func "$LINENO" "futimens" "ac_cv_func_futimens"
19914 if test "x$ac_cv_func_futimens" = xyes
19915 then :
19916 printf "%s\n" "#define HAVE_FUTIMENS 1" >>confdefs.h
19919 ac_fn_c_check_func "$LINENO" "futimes" "ac_cv_func_futimes"
19920 if test "x$ac_cv_func_futimes" = xyes
19921 then :
19922 printf "%s\n" "#define HAVE_FUTIMES 1" >>confdefs.h
19925 ac_fn_c_check_func "$LINENO" "futimesat" "ac_cv_func_futimesat"
19926 if test "x$ac_cv_func_futimesat" = xyes
19927 then :
19928 printf "%s\n" "#define HAVE_FUTIMESAT 1" >>confdefs.h
19931 ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
19932 if test "x$ac_cv_func_getaddrinfo" = xyes
19933 then :
19934 printf "%s\n" "#define HAVE_GETADDRINFO 1" >>confdefs.h
19937 ac_fn_c_check_func "$LINENO" "getattrlist" "ac_cv_func_getattrlist"
19938 if test "x$ac_cv_func_getattrlist" = xyes
19939 then :
19940 printf "%s\n" "#define HAVE_GETATTRLIST 1" >>confdefs.h
19943 ac_fn_c_check_func "$LINENO" "getauxval" "ac_cv_func_getauxval"
19944 if test "x$ac_cv_func_getauxval" = xyes
19945 then :
19946 printf "%s\n" "#define HAVE_GETAUXVAL 1" >>confdefs.h
19949 ac_fn_c_check_func "$LINENO" "getifaddrs" "ac_cv_func_getifaddrs"
19950 if test "x$ac_cv_func_getifaddrs" = xyes
19951 then :
19952 printf "%s\n" "#define HAVE_GETIFADDRS 1" >>confdefs.h
19955 ac_fn_c_check_func "$LINENO" "getrandom" "ac_cv_func_getrandom"
19956 if test "x$ac_cv_func_getrandom" = xyes
19957 then :
19958 printf "%s\n" "#define HAVE_GETRANDOM 1" >>confdefs.h
19961 ac_fn_c_check_func "$LINENO" "kqueue" "ac_cv_func_kqueue"
19962 if test "x$ac_cv_func_kqueue" = xyes
19963 then :
19964 printf "%s\n" "#define HAVE_KQUEUE 1" >>confdefs.h
19967 ac_fn_c_check_func "$LINENO" "mach_continuous_time" "ac_cv_func_mach_continuous_time"
19968 if test "x$ac_cv_func_mach_continuous_time" = xyes
19969 then :
19970 printf "%s\n" "#define HAVE_MACH_CONTINUOUS_TIME 1" >>confdefs.h
19973 ac_fn_c_check_func "$LINENO" "pipe2" "ac_cv_func_pipe2"
19974 if test "x$ac_cv_func_pipe2" = xyes
19975 then :
19976 printf "%s\n" "#define HAVE_PIPE2 1" >>confdefs.h
19979 ac_fn_c_check_func "$LINENO" "port_create" "ac_cv_func_port_create"
19980 if test "x$ac_cv_func_port_create" = xyes
19981 then :
19982 printf "%s\n" "#define HAVE_PORT_CREATE 1" >>confdefs.h
19985 ac_fn_c_check_func "$LINENO" "posix_fadvise" "ac_cv_func_posix_fadvise"
19986 if test "x$ac_cv_func_posix_fadvise" = xyes
19987 then :
19988 printf "%s\n" "#define HAVE_POSIX_FADVISE 1" >>confdefs.h
19991 ac_fn_c_check_func "$LINENO" "posix_fallocate" "ac_cv_func_posix_fallocate"
19992 if test "x$ac_cv_func_posix_fallocate" = xyes
19993 then :
19994 printf "%s\n" "#define HAVE_POSIX_FALLOCATE 1" >>confdefs.h
19997 ac_fn_c_check_func "$LINENO" "prctl" "ac_cv_func_prctl"
19998 if test "x$ac_cv_func_prctl" = xyes
19999 then :
20000 printf "%s\n" "#define HAVE_PRCTL 1" >>confdefs.h
20003 ac_fn_c_check_func "$LINENO" "proc_pidinfo" "ac_cv_func_proc_pidinfo"
20004 if test "x$ac_cv_func_proc_pidinfo" = xyes
20005 then :
20006 printf "%s\n" "#define HAVE_PROC_PIDINFO 1" >>confdefs.h
20009 ac_fn_c_check_func "$LINENO" "sched_yield" "ac_cv_func_sched_yield"
20010 if test "x$ac_cv_func_sched_yield" = xyes
20011 then :
20012 printf "%s\n" "#define HAVE_SCHED_YIELD 1" >>confdefs.h
20015 ac_fn_c_check_func "$LINENO" "setproctitle" "ac_cv_func_setproctitle"
20016 if test "x$ac_cv_func_setproctitle" = xyes
20017 then :
20018 printf "%s\n" "#define HAVE_SETPROCTITLE 1" >>confdefs.h
20021 ac_fn_c_check_func "$LINENO" "setprogname" "ac_cv_func_setprogname"
20022 if test "x$ac_cv_func_setprogname" = xyes
20023 then :
20024 printf "%s\n" "#define HAVE_SETPROGNAME 1" >>confdefs.h
20027 ac_fn_c_check_func "$LINENO" "sigprocmask" "ac_cv_func_sigprocmask"
20028 if test "x$ac_cv_func_sigprocmask" = xyes
20029 then :
20030 printf "%s\n" "#define HAVE_SIGPROCMASK 1" >>confdefs.h
20033 ac_fn_c_check_func "$LINENO" "sysinfo" "ac_cv_func_sysinfo"
20034 if test "x$ac_cv_func_sysinfo" = xyes
20035 then :
20036 printf "%s\n" "#define HAVE_SYSINFO 1" >>confdefs.h
20039 ac_fn_c_check_func "$LINENO" "tcdrain" "ac_cv_func_tcdrain"
20040 if test "x$ac_cv_func_tcdrain" = xyes
20041 then :
20042 printf "%s\n" "#define HAVE_TCDRAIN 1" >>confdefs.h
20045 ac_fn_c_check_func "$LINENO" "thr_kill2" "ac_cv_func_thr_kill2"
20046 if test "x$ac_cv_func_thr_kill2" = xyes
20047 then :
20048 printf "%s\n" "#define HAVE_THR_KILL2 1" >>confdefs.h
20052 CFLAGS="$ac_save_CFLAGS"
20054 case $host_os in
20055 darwin*|macosx*) ;;
20056 *) ac_save_LIBS=$LIBS
20057 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
20058 printf %s "checking for library containing clock_gettime... " >&6; }
20059 if test ${ac_cv_search_clock_gettime+y}
20060 then :
20061 printf %s "(cached) " >&6
20062 else $as_nop
20063 ac_func_search_save_LIBS=$LIBS
20064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20065 /* end confdefs.h. */
20067 /* Override any GCC internal prototype to avoid an error.
20068 Use char because int might match the return type of a GCC
20069 builtin and then its argument prototype would still apply. */
20070 char clock_gettime ();
20072 main (void)
20074 return clock_gettime ();
20076 return 0;
20078 _ACEOF
20079 for ac_lib in '' rt
20081 if test -z "$ac_lib"; then
20082 ac_res="none required"
20083 else
20084 ac_res=-l$ac_lib
20085 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20087 if ac_fn_c_try_link "$LINENO"
20088 then :
20089 ac_cv_search_clock_gettime=$ac_res
20091 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20092 conftest$ac_exeext
20093 if test ${ac_cv_search_clock_gettime+y}
20094 then :
20095 break
20097 done
20098 if test ${ac_cv_search_clock_gettime+y}
20099 then :
20101 else $as_nop
20102 ac_cv_search_clock_gettime=no
20104 rm conftest.$ac_ext
20105 LIBS=$ac_func_search_save_LIBS
20107 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
20108 printf "%s\n" "$ac_cv_search_clock_gettime" >&6; }
20109 ac_res=$ac_cv_search_clock_gettime
20110 if test "$ac_res" != no
20111 then :
20112 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20114 printf "%s\n" "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
20116 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
20120 LIBS=$ac_save_LIBS
20122 esac
20124 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
20125 printf %s "checking for sched_setaffinity... " >&6; }
20126 if test ${wine_cv_have_sched_setaffinity+y}
20127 then :
20128 printf %s "(cached) " >&6
20129 else $as_nop
20130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20131 /* end confdefs.h. */
20132 #include <sched.h>
20134 main (void)
20136 sched_setaffinity(0, 0, 0);
20138 return 0;
20140 _ACEOF
20141 if ac_fn_c_try_link "$LINENO"
20142 then :
20143 wine_cv_have_sched_setaffinity=yes
20144 else $as_nop
20145 wine_cv_have_sched_setaffinity=no
20147 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20148 conftest$ac_exeext conftest.$ac_ext
20150 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
20151 printf "%s\n" "$wine_cv_have_sched_setaffinity" >&6; }
20152 if test "$wine_cv_have_sched_setaffinity" = "yes"
20153 then
20155 printf "%s\n" "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
20160 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
20161 printf %s "checking for inline... " >&6; }
20162 if test ${ac_cv_c_inline+y}
20163 then :
20164 printf %s "(cached) " >&6
20165 else $as_nop
20166 ac_cv_c_inline=no
20167 for ac_kw in inline __inline__ __inline; do
20168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20169 /* end confdefs.h. */
20170 #ifndef __cplusplus
20171 typedef int foo_t;
20172 static $ac_kw foo_t static_foo (void) {return 0; }
20173 $ac_kw foo_t foo (void) {return 0; }
20174 #endif
20176 _ACEOF
20177 if ac_fn_c_try_compile "$LINENO"
20178 then :
20179 ac_cv_c_inline=$ac_kw
20181 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
20182 test "$ac_cv_c_inline" != no && break
20183 done
20186 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
20187 printf "%s\n" "$ac_cv_c_inline" >&6; }
20189 case $ac_cv_c_inline in
20190 inline | yes) ;;
20192 case $ac_cv_c_inline in
20193 no) ac_val=;;
20194 *) ac_val=$ac_cv_c_inline;;
20195 esac
20196 cat >>confdefs.h <<_ACEOF
20197 #ifndef __cplusplus
20198 #define inline $ac_val
20199 #endif
20200 _ACEOF
20202 esac
20204 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
20206 if test "x$ac_cv_type_request_sense" = xyes
20207 then :
20209 printf "%s\n" "#define HAVE_REQUEST_SENSE 1" >>confdefs.h
20215 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
20216 #include <sys/socket.h>
20217 #ifdef HAVE_SYS_SOCKETVAR_H
20218 #include <sys/socketvar.h>
20219 #endif
20220 #ifdef HAVE_NET_ROUTE_H
20221 #include <net/route.h>
20222 #endif
20223 #ifdef HAVE_NETINET_IN_H
20224 #include <netinet/in.h>
20225 #endif
20226 #ifdef HAVE_NETINET_IN_SYSTM_H
20227 #include <netinet/in_systm.h>
20228 #endif
20229 #ifdef HAVE_NETINET_IP_H
20230 #include <netinet/ip.h>
20231 #endif
20232 #ifdef HAVE_NETINET_IN_PCB_H
20233 #include <netinet/in_pcb.h>
20234 #endif
20236 if test "x$ac_cv_type_struct_xinpgen" = xyes
20237 then :
20239 printf "%s\n" "#define HAVE_STRUCT_XINPGEN 1" >>confdefs.h
20245 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
20246 printf %s "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
20247 if test ${wine_cv_linux_gethostbyname_r_6+y}
20248 then :
20249 printf %s "(cached) " >&6
20250 else $as_nop
20251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20252 /* end confdefs.h. */
20253 #include <netdb.h>
20255 main (void)
20258 char *name=0;
20259 struct hostent he;
20260 struct hostent *result;
20261 char *buf=0;
20262 int bufsize=0;
20263 int errnr;
20264 char *addr=0;
20265 int addrlen=0;
20266 int addrtype=0;
20267 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
20268 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
20271 return 0;
20273 _ACEOF
20274 if ac_fn_c_try_link "$LINENO"
20275 then :
20276 wine_cv_linux_gethostbyname_r_6=yes
20277 else $as_nop
20278 wine_cv_linux_gethostbyname_r_6=no
20281 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20282 conftest$ac_exeext conftest.$ac_ext
20285 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
20286 printf "%s\n" "$wine_cv_linux_gethostbyname_r_6" >&6; }
20287 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
20288 then
20290 printf "%s\n" "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
20294 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
20295 #include <sys/socket.h>
20296 #ifdef HAVE_SYS_UN_H
20297 # include <sys/un.h>
20298 #endif
20300 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes
20301 then :
20303 printf "%s\n" "#define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1" >>confdefs.h
20307 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
20308 #include <sys/socket.h>
20309 #ifdef HAVE_SYS_UN_H
20310 # include <sys/un.h>
20311 #endif
20313 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
20314 then :
20316 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1" >>confdefs.h
20322 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
20323 #ifdef HAVE_SCSI_SG_H
20324 #include <scsi/sg.h>
20325 #endif
20327 if test "x$ac_cv_member_scsireq_t_cmd" = xyes
20328 then :
20330 printf "%s\n" "#define HAVE_SCSIREQ_T_CMD 1" >>confdefs.h
20334 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>
20335 #ifdef HAVE_SCSI_SG_H
20336 #include <scsi/sg.h>
20337 #endif
20339 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
20340 then :
20342 printf "%s\n" "#define HAVE_SG_IO_HDR_T_INTERFACE_ID 1" >>confdefs.h
20348 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
20350 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
20351 then :
20353 printf "%s\n" "#define HAVE_SIGINFO_T_SI_FD 1" >>confdefs.h
20359 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
20360 #ifdef HAVE_SYS_MTIO_H
20361 #include <sys/mtio.h>
20362 #endif
20364 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes
20365 then :
20367 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKSIZ 1" >>confdefs.h
20371 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
20372 #ifdef HAVE_SYS_MTIO_H
20373 #include <sys/mtio.h>
20374 #endif
20376 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes
20377 then :
20379 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_GSTAT 1" >>confdefs.h
20383 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
20384 #ifdef HAVE_SYS_MTIO_H
20385 #include <sys/mtio.h>
20386 #endif
20388 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
20389 then :
20391 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKNO 1" >>confdefs.h
20397 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
20398 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
20399 then :
20401 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIM 1" >>confdefs.h
20405 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
20406 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes
20407 then :
20409 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIMESPEC 1" >>confdefs.h
20413 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
20414 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
20415 then :
20417 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIM 1" >>confdefs.h
20421 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
20422 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes
20423 then :
20425 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIMESPEC 1" >>confdefs.h
20429 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
20430 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
20431 then :
20433 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIM 1" >>confdefs.h
20437 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
20438 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes
20439 then :
20441 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIMESPEC 1" >>confdefs.h
20445 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
20446 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes
20447 then :
20449 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIME 1" >>confdefs.h
20453 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
20454 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes
20455 then :
20457 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIM 1" >>confdefs.h
20461 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
20462 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes
20463 then :
20465 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1" >>confdefs.h
20469 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
20470 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes
20471 then :
20473 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIME 1" >>confdefs.h
20477 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
20478 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes
20479 then :
20481 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIM 1" >>confdefs.h
20487 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>
20488 #ifdef HAVE_NETINET_IN_H
20489 #include <netinet/in.h>
20490 #endif
20492 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
20493 then :
20495 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1" >>confdefs.h
20501 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
20502 #include <resolv.h>
20503 #endif
20505 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes
20506 then :
20508 printf "%s\n" "#define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1" >>confdefs.h
20514 ac_fn_c_check_member "$LINENO" "struct in6_pktinfo" "ipi6_addr" "ac_cv_member_struct_in6_pktinfo_ipi6_addr" "#ifdef HAVE_NETINET_IN_H
20515 #include <netinet/in.h>
20516 #endif
20518 if test "x$ac_cv_member_struct_in6_pktinfo_ipi6_addr" = xyes
20519 then :
20521 printf "%s\n" "#define HAVE_STRUCT_IN6_PKTINFO_IPI6_ADDR 1" >>confdefs.h
20527 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#include <sys/types.h>
20528 #ifdef HAVE_SYS_SOCKETVAR_H
20529 #include <sys/socketvar.h>
20530 #endif
20531 #ifdef HAVE_NETINET_IN_H
20532 #include <netinet/in.h>
20533 #endif
20534 #ifdef HAVE_NETINET_IP_VAR_H
20535 #include <netinet/ip_var.h>
20536 #endif
20538 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes
20539 then :
20541 printf "%s\n" "#define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1" >>confdefs.h
20547 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
20548 #include <netinet/ip_var.h>
20549 #endif
20551 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes
20552 then :
20554 printf "%s\n" "#define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1" >>confdefs.h
20560 ac_fn_c_check_member "$LINENO" "struct ip6stat" "ip6s_total" "ac_cv_member_struct_ip6stat_ip6s_total" "#include <sys/types.h>
20561 #ifdef HAVE_SYS_SOCKETVAR_H
20562 #include <sys/socketvar.h>
20563 #endif
20564 #ifdef HAVE_NETINET_IN_H
20565 #include <netinet/in.h>
20566 #endif
20567 #ifdef HAVE_NETINET6_IP6_VAR_H
20568 #include <netinet6/ip6_var.h>
20569 #endif
20571 if test "x$ac_cv_member_struct_ip6stat_ip6s_total" = xyes
20572 then :
20574 printf "%s\n" "#define HAVE_STRUCT_IP6STAT_IP6S_TOTAL 1" >>confdefs.h
20580 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_error" "ac_cv_member_struct_icmpstat_icps_error" "#include <sys/types.h>
20581 #ifdef HAVE_SYS_SOCKETVAR_H
20582 #include <sys/socketvar.h>
20583 #endif
20584 #ifdef HAVE_NETINET_IN_H
20585 #include <netinet/in.h>
20586 #endif
20587 #ifdef HAVE_NETINET_IP_H
20588 #include <netinet/ip.h>
20589 #endif
20590 #ifdef HAVE_NETINET_IP_ICMP_H
20591 #include <netinet/ip_icmp.h>
20592 #endif
20593 #ifdef HAVE_NETINET_ICMP_VAR_H
20594 #include <netinet/icmp_var.h>
20595 #endif
20597 if test "x$ac_cv_member_struct_icmpstat_icps_error" = xyes
20598 then :
20600 printf "%s\n" "#define HAVE_STRUCT_ICMPSTAT_ICPS_ERROR 1" >>confdefs.h
20606 ac_fn_c_check_member "$LINENO" "struct icmp6stat" "icp6s_error" "ac_cv_member_struct_icmp6stat_icp6s_error" "#include <sys/types.h>
20607 #ifdef HAVE_SYS_SOCKETVAR_H
20608 #include <sys/socketvar.h>
20609 #endif
20610 #ifdef HAVE_NETINET_IN_H
20611 #include <netinet/in.h>
20612 #endif
20613 #ifdef HAVE_NETINET_ICMP6_H
20614 #include <netinet/icmp6.h>
20615 #endif
20617 if test "x$ac_cv_member_struct_icmp6stat_icp6s_error" = xyes
20618 then :
20620 printf "%s\n" "#define HAVE_STRUCT_ICMP6STAT_ICP6S_ERROR 1" >>confdefs.h
20626 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#include <sys/types.h>
20627 #ifdef HAVE_SYS_SOCKETVAR_H
20628 #include <sys/socketvar.h>
20629 #endif
20630 #ifdef HAVE_NETINET_IN_H
20631 #include <netinet/in.h>
20632 #endif
20633 #ifdef HAVE_NETINET_TCP_H
20634 #include <netinet/tcp.h>
20635 #endif
20636 #ifdef HAVE_NETINET_TCP_VAR_H
20637 #include <netinet/tcp_var.h>
20638 #endif
20640 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes
20641 then :
20643 printf "%s\n" "#define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1" >>confdefs.h
20649 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
20650 #include <netinet/tcp_var.h>
20651 #endif
20653 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes
20654 then :
20656 printf "%s\n" "#define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1" >>confdefs.h
20662 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#include <sys/types.h>
20663 #ifdef HAVE_NETINET_IN_H
20664 #include <netinet/in.h>
20665 #endif
20666 #ifdef HAVE_NETINET_IP_VAR_H
20667 #include <netinet/ip_var.h>
20668 #endif
20669 #ifdef HAVE_NETINET_UDP_H
20670 #include <netinet/udp.h>
20671 #endif
20672 #ifdef HAVE_NETINET_UDP_VAR_H
20673 #include <netinet/udp_var.h>
20674 #endif
20676 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes
20677 then :
20679 printf "%s\n" "#define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1" >>confdefs.h
20685 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#include <sys/types.h>
20686 #ifdef HAVE_NET_IF_H
20687 # include <net/if.h>
20688 #endif
20690 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
20691 then :
20693 printf "%s\n" "#define HAVE_STRUCT_IFREQ_IFR_HWADDR 1" >>confdefs.h
20699 ac_fn_c_check_member "$LINENO" "struct sysinfo" "totalram" "ac_cv_member_struct_sysinfo_totalram" "#ifdef HAVE_SYS_SYSINFO_H
20700 # include <sys/sysinfo.h>
20701 #endif
20703 if test "x$ac_cv_member_struct_sysinfo_totalram" = xyes
20704 then :
20706 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_TOTALRAM 1" >>confdefs.h
20710 ac_fn_c_check_member "$LINENO" "struct sysinfo" "mem_unit" "ac_cv_member_struct_sysinfo_mem_unit" "#ifdef HAVE_SYS_SYSINFO_H
20711 # include <sys/sysinfo.h>
20712 #endif
20714 if test "x$ac_cv_member_struct_sysinfo_mem_unit" = xyes
20715 then :
20717 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_MEM_UNIT 1" >>confdefs.h
20723 LIBS="$ac_save_LIBS"
20725 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
20726 printf %s "checking for __builtin_popcount... " >&6; }
20727 if test ${ac_cv_have___builtin_popcount+y}
20728 then :
20729 printf %s "(cached) " >&6
20730 else $as_nop
20731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20732 /* end confdefs.h. */
20735 main (void)
20737 return __builtin_popcount(1)
20739 return 0;
20741 _ACEOF
20742 if ac_fn_c_try_link "$LINENO"
20743 then :
20744 ac_cv_have___builtin_popcount="yes"
20745 else $as_nop
20746 ac_cv_have___builtin_popcount="no"
20748 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20749 conftest$ac_exeext conftest.$ac_ext
20751 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
20752 printf "%s\n" "$ac_cv_have___builtin_popcount" >&6; }
20753 if test "$ac_cv_have___builtin_popcount" = "yes"
20754 then
20756 printf "%s\n" "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
20760 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
20761 printf %s "checking for __clear_cache... " >&6; }
20762 if test ${ac_cv_have___clear_cache+y}
20763 then :
20764 printf %s "(cached) " >&6
20765 else $as_nop
20766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20767 /* end confdefs.h. */
20770 main (void)
20772 __clear_cache((void*)0, (void*)0); return 0;
20774 return 0;
20776 _ACEOF
20777 if ac_fn_c_try_link "$LINENO"
20778 then :
20779 ac_cv_have___clear_cache="yes"
20780 else $as_nop
20781 ac_cv_have___clear_cache="no"
20783 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20784 conftest$ac_exeext conftest.$ac_ext
20786 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
20787 printf "%s\n" "$ac_cv_have___clear_cache" >&6; }
20788 if test "$ac_cv_have___clear_cache" = "yes"
20789 then
20791 printf "%s\n" "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
20796 case $host_cpu in
20797 *i[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
20798 printf %s "checking whether we need to define __i386__... " >&6; }
20799 if test ${ac_cv_cpp_def___i386__+y}
20800 then :
20801 printf %s "(cached) " >&6
20802 else $as_nop
20803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20804 /* end confdefs.h. */
20805 #ifndef __i386__
20807 #endif
20808 _ACEOF
20809 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20810 $EGREP "yes" >/dev/null 2>&1
20811 then :
20812 ac_cv_cpp_def___i386__=yes
20813 else $as_nop
20814 ac_cv_cpp_def___i386__=no
20816 rm -rf conftest*
20819 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
20820 printf "%s\n" "$ac_cv_cpp_def___i386__" >&6; }
20821 if test "x$ac_cv_cpp_def___i386__" = xyes
20822 then :
20823 CFLAGS="$CFLAGS -D__i386__"
20824 LINTFLAGS="$LINTFLAGS -D__i386__"
20825 fi ;;
20826 *x86_64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
20827 printf %s "checking whether we need to define __x86_64__... " >&6; }
20828 if test ${ac_cv_cpp_def___x86_64__+y}
20829 then :
20830 printf %s "(cached) " >&6
20831 else $as_nop
20832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20833 /* end confdefs.h. */
20834 #ifndef __x86_64__
20836 #endif
20837 _ACEOF
20838 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20839 $EGREP "yes" >/dev/null 2>&1
20840 then :
20841 ac_cv_cpp_def___x86_64__=yes
20842 else $as_nop
20843 ac_cv_cpp_def___x86_64__=no
20845 rm -rf conftest*
20848 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
20849 printf "%s\n" "$ac_cv_cpp_def___x86_64__" >&6; }
20850 if test "x$ac_cv_cpp_def___x86_64__" = xyes
20851 then :
20852 CFLAGS="$CFLAGS -D__x86_64__"
20853 LINTFLAGS="$LINTFLAGS -D__x86_64__"
20854 fi ;;
20855 *sparc64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
20856 printf %s "checking whether we need to define __sparc64__... " >&6; }
20857 if test ${ac_cv_cpp_def___sparc64__+y}
20858 then :
20859 printf %s "(cached) " >&6
20860 else $as_nop
20861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20862 /* end confdefs.h. */
20863 #ifndef __sparc64__
20865 #endif
20866 _ACEOF
20867 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20868 $EGREP "yes" >/dev/null 2>&1
20869 then :
20870 ac_cv_cpp_def___sparc64__=yes
20871 else $as_nop
20872 ac_cv_cpp_def___sparc64__=no
20874 rm -rf conftest*
20877 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
20878 printf "%s\n" "$ac_cv_cpp_def___sparc64__" >&6; }
20879 if test "x$ac_cv_cpp_def___sparc64__" = xyes
20880 then :
20881 CFLAGS="$CFLAGS -D__sparc64__"
20882 LINTFLAGS="$LINTFLAGS -D__sparc64__"
20883 fi ;;
20884 *sparc*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
20885 printf %s "checking whether we need to define __sparc__... " >&6; }
20886 if test ${ac_cv_cpp_def___sparc__+y}
20887 then :
20888 printf %s "(cached) " >&6
20889 else $as_nop
20890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20891 /* end confdefs.h. */
20892 #ifndef __sparc__
20894 #endif
20895 _ACEOF
20896 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20897 $EGREP "yes" >/dev/null 2>&1
20898 then :
20899 ac_cv_cpp_def___sparc__=yes
20900 else $as_nop
20901 ac_cv_cpp_def___sparc__=no
20903 rm -rf conftest*
20906 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
20907 printf "%s\n" "$ac_cv_cpp_def___sparc__" >&6; }
20908 if test "x$ac_cv_cpp_def___sparc__" = xyes
20909 then :
20910 CFLAGS="$CFLAGS -D__sparc__"
20911 LINTFLAGS="$LINTFLAGS -D__sparc__"
20912 fi ;;
20913 *powerpc64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
20914 printf %s "checking whether we need to define __powerpc64__... " >&6; }
20915 if test ${ac_cv_cpp_def___powerpc64__+y}
20916 then :
20917 printf %s "(cached) " >&6
20918 else $as_nop
20919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20920 /* end confdefs.h. */
20921 #ifndef __powerpc64__
20923 #endif
20924 _ACEOF
20925 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20926 $EGREP "yes" >/dev/null 2>&1
20927 then :
20928 ac_cv_cpp_def___powerpc64__=yes
20929 else $as_nop
20930 ac_cv_cpp_def___powerpc64__=no
20932 rm -rf conftest*
20935 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
20936 printf "%s\n" "$ac_cv_cpp_def___powerpc64__" >&6; }
20937 if test "x$ac_cv_cpp_def___powerpc64__" = xyes
20938 then :
20939 CFLAGS="$CFLAGS -D__powerpc64__"
20940 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
20941 fi ;;
20942 *powerpc*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
20943 printf %s "checking whether we need to define __powerpc__... " >&6; }
20944 if test ${ac_cv_cpp_def___powerpc__+y}
20945 then :
20946 printf %s "(cached) " >&6
20947 else $as_nop
20948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20949 /* end confdefs.h. */
20950 #ifndef __powerpc__
20952 #endif
20953 _ACEOF
20954 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20955 $EGREP "yes" >/dev/null 2>&1
20956 then :
20957 ac_cv_cpp_def___powerpc__=yes
20958 else $as_nop
20959 ac_cv_cpp_def___powerpc__=no
20961 rm -rf conftest*
20964 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
20965 printf "%s\n" "$ac_cv_cpp_def___powerpc__" >&6; }
20966 if test "x$ac_cv_cpp_def___powerpc__" = xyes
20967 then :
20968 CFLAGS="$CFLAGS -D__powerpc__"
20969 LINTFLAGS="$LINTFLAGS -D__powerpc__"
20970 fi ;;
20971 *aarch64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
20972 printf %s "checking whether we need to define __aarch64__... " >&6; }
20973 if test ${ac_cv_cpp_def___aarch64__+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 __aarch64__
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___aarch64__=yes
20987 else $as_nop
20988 ac_cv_cpp_def___aarch64__=no
20990 rm -rf conftest*
20993 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
20994 printf "%s\n" "$ac_cv_cpp_def___aarch64__" >&6; }
20995 if test "x$ac_cv_cpp_def___aarch64__" = xyes
20996 then :
20997 CFLAGS="$CFLAGS -D__aarch64__"
20998 LINTFLAGS="$LINTFLAGS -D__aarch64__"
20999 fi ;;
21000 *arm*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
21001 printf %s "checking whether we need to define __arm__... " >&6; }
21002 if test ${ac_cv_cpp_def___arm__+y}
21003 then :
21004 printf %s "(cached) " >&6
21005 else $as_nop
21006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21007 /* end confdefs.h. */
21008 #ifndef __arm__
21010 #endif
21011 _ACEOF
21012 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21013 $EGREP "yes" >/dev/null 2>&1
21014 then :
21015 ac_cv_cpp_def___arm__=yes
21016 else $as_nop
21017 ac_cv_cpp_def___arm__=no
21019 rm -rf conftest*
21022 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
21023 printf "%s\n" "$ac_cv_cpp_def___arm__" >&6; }
21024 if test "x$ac_cv_cpp_def___arm__" = xyes
21025 then :
21026 CFLAGS="$CFLAGS -D__arm__"
21027 LINTFLAGS="$LINTFLAGS -D__arm__"
21028 fi ;;
21029 esac
21031 case $host_vendor in
21032 *sun*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
21033 printf %s "checking whether we need to define __sun__... " >&6; }
21034 if test ${ac_cv_cpp_def___sun__+y}
21035 then :
21036 printf %s "(cached) " >&6
21037 else $as_nop
21038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21039 /* end confdefs.h. */
21040 #ifndef __sun__
21042 #endif
21043 _ACEOF
21044 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21045 $EGREP "yes" >/dev/null 2>&1
21046 then :
21047 ac_cv_cpp_def___sun__=yes
21048 else $as_nop
21049 ac_cv_cpp_def___sun__=no
21051 rm -rf conftest*
21054 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
21055 printf "%s\n" "$ac_cv_cpp_def___sun__" >&6; }
21056 if test "x$ac_cv_cpp_def___sun__" = xyes
21057 then :
21058 CFLAGS="$CFLAGS -D__sun__"
21059 LINTFLAGS="$LINTFLAGS -D__sun__"
21060 fi ;;
21061 esac
21067 ac_config_commands="$ac_config_commands include/stamp-h"
21069 printf %s "creating Makefile rules..." >&6
21071 makedep_flags=""
21072 test "x$enable_silent_rules" = xyes && makedep_flags="$makedep_flags -S"
21074 wine_srcdir=
21075 test "$srcdir" = . || wine_srcdir="$srcdir/"
21077 ac_config_links="$ac_config_links wine:tools/winewrapper"
21078 wine_fn_config_symlink wine
21079 if test "$wine_binary" = wine64 -o -n "$with_wine64"; then
21080 ac_config_links="$ac_config_links wine64:tools/winewrapper"
21081 wine_fn_config_symlink wine64
21084 wine_fn_config_makefile dlls/acledit enable_acledit
21085 wine_fn_config_makefile dlls/aclui enable_aclui
21086 wine_fn_config_makefile dlls/activeds.tlb enable_activeds_tlb
21087 wine_fn_config_makefile dlls/activeds enable_activeds
21088 wine_fn_config_makefile dlls/activeds/tests enable_tests
21089 wine_fn_config_makefile dlls/actxprxy enable_actxprxy
21090 wine_fn_config_makefile dlls/adsldp enable_adsldp
21091 wine_fn_config_makefile dlls/adsldp/tests enable_tests
21092 wine_fn_config_makefile dlls/adsldpc enable_adsldpc
21093 wine_fn_config_makefile dlls/advapi32 enable_advapi32
21094 wine_fn_config_makefile dlls/advapi32/tests enable_tests
21095 wine_fn_config_makefile dlls/advpack enable_advpack
21096 wine_fn_config_makefile dlls/advpack/tests enable_tests
21097 wine_fn_config_makefile dlls/amsi enable_amsi
21098 wine_fn_config_makefile dlls/amstream enable_amstream
21099 wine_fn_config_makefile dlls/amstream/tests enable_tests
21100 wine_fn_config_makefile dlls/apisetschema enable_apisetschema
21101 wine_fn_config_makefile dlls/apphelp enable_apphelp
21102 wine_fn_config_makefile dlls/apphelp/tests enable_tests
21103 wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
21104 wine_fn_config_makefile dlls/atl enable_atl
21105 wine_fn_config_makefile dlls/atl/tests enable_tests
21106 wine_fn_config_makefile dlls/atl100 enable_atl100
21107 wine_fn_config_makefile dlls/atl100/tests enable_tests
21108 wine_fn_config_makefile dlls/atl110 enable_atl110
21109 wine_fn_config_makefile dlls/atl110/tests enable_tests
21110 wine_fn_config_makefile dlls/atl80 enable_atl80
21111 wine_fn_config_makefile dlls/atl80/tests enable_tests
21112 wine_fn_config_makefile dlls/atl90 enable_atl90
21113 wine_fn_config_makefile dlls/atlthunk enable_atlthunk
21114 wine_fn_config_makefile dlls/atlthunk/tests enable_tests
21115 wine_fn_config_makefile dlls/atmlib enable_atmlib
21116 wine_fn_config_makefile dlls/authz enable_authz
21117 wine_fn_config_makefile dlls/avicap32 enable_avicap32
21118 wine_fn_config_makefile dlls/avifil32 enable_avifil32
21119 wine_fn_config_makefile dlls/avifil32/tests enable_tests
21120 wine_fn_config_makefile dlls/avifile.dll16 enable_win16
21121 wine_fn_config_makefile dlls/avrt enable_avrt
21122 wine_fn_config_makefile dlls/bcrypt enable_bcrypt
21123 wine_fn_config_makefile dlls/bcrypt/tests enable_tests
21124 wine_fn_config_makefile dlls/bcryptprimitives enable_bcryptprimitives
21125 wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
21126 wine_fn_config_makefile dlls/browseui enable_browseui
21127 wine_fn_config_makefile dlls/browseui/tests enable_tests
21128 wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
21129 wine_fn_config_makefile dlls/cabinet enable_cabinet
21130 wine_fn_config_makefile dlls/cabinet/tests enable_tests
21131 wine_fn_config_makefile dlls/capi2032 enable_capi2032
21132 wine_fn_config_makefile dlls/cards enable_cards
21133 wine_fn_config_makefile dlls/cdosys enable_cdosys
21134 wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
21135 wine_fn_config_makefile dlls/cfgmgr32/tests enable_tests
21136 wine_fn_config_makefile dlls/clusapi enable_clusapi
21137 wine_fn_config_makefile dlls/cng.sys enable_cng_sys
21138 wine_fn_config_makefile dlls/combase enable_combase
21139 wine_fn_config_makefile dlls/combase/tests enable_tests
21140 wine_fn_config_makefile dlls/comcat enable_comcat
21141 wine_fn_config_makefile dlls/comcat/tests enable_tests
21142 wine_fn_config_makefile dlls/comctl32 enable_comctl32
21143 wine_fn_config_makefile dlls/comctl32/tests enable_tests
21144 wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
21145 wine_fn_config_makefile dlls/comdlg32/tests enable_tests
21146 wine_fn_config_makefile dlls/comm.drv16 enable_win16
21147 wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
21148 wine_fn_config_makefile dlls/compobj.dll16 enable_win16
21149 wine_fn_config_makefile dlls/compstui enable_compstui
21150 wine_fn_config_makefile dlls/compstui/tests enable_tests
21151 wine_fn_config_makefile dlls/comsvcs enable_comsvcs
21152 wine_fn_config_makefile dlls/comsvcs/tests enable_tests
21153 wine_fn_config_makefile dlls/concrt140 enable_concrt140
21154 wine_fn_config_makefile dlls/concrt140/tests enable_tests
21155 wine_fn_config_makefile dlls/connect enable_connect
21156 wine_fn_config_makefile dlls/credui enable_credui
21157 wine_fn_config_makefile dlls/credui/tests enable_tests
21158 wine_fn_config_makefile dlls/crtdll enable_crtdll
21159 wine_fn_config_makefile dlls/crypt32 enable_crypt32
21160 wine_fn_config_makefile dlls/crypt32/tests enable_tests
21161 wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
21162 wine_fn_config_makefile dlls/cryptdll enable_cryptdll
21163 wine_fn_config_makefile dlls/cryptext enable_cryptext
21164 wine_fn_config_makefile dlls/cryptnet enable_cryptnet
21165 wine_fn_config_makefile dlls/cryptnet/tests enable_tests
21166 wine_fn_config_makefile dlls/cryptowinrt enable_cryptowinrt
21167 wine_fn_config_makefile dlls/cryptowinrt/tests enable_tests
21168 wine_fn_config_makefile dlls/cryptsp enable_cryptsp
21169 wine_fn_config_makefile dlls/cryptui enable_cryptui
21170 wine_fn_config_makefile dlls/cryptui/tests enable_tests
21171 wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
21172 wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
21173 wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
21174 wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
21175 wine_fn_config_makefile dlls/d2d1 enable_d2d1
21176 wine_fn_config_makefile dlls/d2d1/tests enable_tests
21177 wine_fn_config_makefile dlls/d3d10 enable_d3d10
21178 wine_fn_config_makefile dlls/d3d10/tests enable_tests
21179 wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
21180 wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
21181 wine_fn_config_makefile dlls/d3d10core enable_d3d10core
21182 wine_fn_config_makefile dlls/d3d10core/tests enable_tests
21183 wine_fn_config_makefile dlls/d3d11 enable_d3d11
21184 wine_fn_config_makefile dlls/d3d11/tests enable_tests
21185 wine_fn_config_makefile dlls/d3d12 enable_d3d12
21186 wine_fn_config_makefile dlls/d3d12/tests enable_tests
21187 wine_fn_config_makefile dlls/d3d12core enable_d3d12core
21188 wine_fn_config_makefile dlls/d3d8 enable_d3d8
21189 wine_fn_config_makefile dlls/d3d8/tests enable_tests
21190 wine_fn_config_makefile dlls/d3d8thk enable_d3d8thk
21191 wine_fn_config_makefile dlls/d3d9 enable_d3d9
21192 wine_fn_config_makefile dlls/d3d9/tests enable_tests
21193 wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
21194 wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
21195 wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
21196 wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
21197 wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
21198 wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
21199 wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
21200 wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
21201 wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
21202 wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
21203 wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
21204 wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
21205 wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
21206 wine_fn_config_makefile dlls/d3dcompiler_46/tests enable_tests
21207 wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
21208 wine_fn_config_makefile dlls/d3dcompiler_47/tests enable_tests
21209 wine_fn_config_makefile dlls/d3dim enable_d3dim
21210 wine_fn_config_makefile dlls/d3dim700 enable_d3dim700
21211 wine_fn_config_makefile dlls/d3drm enable_d3drm
21212 wine_fn_config_makefile dlls/d3drm/tests enable_tests
21213 wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
21214 wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
21215 wine_fn_config_makefile dlls/d3dx10_34/tests enable_tests
21216 wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
21217 wine_fn_config_makefile dlls/d3dx10_35/tests enable_tests
21218 wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
21219 wine_fn_config_makefile dlls/d3dx10_36/tests enable_tests
21220 wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
21221 wine_fn_config_makefile dlls/d3dx10_37/tests enable_tests
21222 wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
21223 wine_fn_config_makefile dlls/d3dx10_38/tests enable_tests
21224 wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
21225 wine_fn_config_makefile dlls/d3dx10_39/tests enable_tests
21226 wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
21227 wine_fn_config_makefile dlls/d3dx10_40/tests enable_tests
21228 wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
21229 wine_fn_config_makefile dlls/d3dx10_41/tests enable_tests
21230 wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
21231 wine_fn_config_makefile dlls/d3dx10_42/tests enable_tests
21232 wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
21233 wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
21234 wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
21235 wine_fn_config_makefile dlls/d3dx11_42/tests enable_tests
21236 wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
21237 wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
21238 wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
21239 wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
21240 wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
21241 wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
21242 wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
21243 wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
21244 wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
21245 wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
21246 wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
21247 wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
21248 wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
21249 wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
21250 wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
21251 wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
21252 wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
21253 wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
21254 wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
21255 wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
21256 wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
21257 wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
21258 wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
21259 wine_fn_config_makefile dlls/d3dxof enable_d3dxof
21260 wine_fn_config_makefile dlls/d3dxof/tests enable_tests
21261 wine_fn_config_makefile dlls/davclnt enable_davclnt
21262 wine_fn_config_makefile dlls/dbgeng enable_dbgeng
21263 wine_fn_config_makefile dlls/dbgeng/tests enable_tests
21264 wine_fn_config_makefile dlls/dbghelp enable_dbghelp
21265 wine_fn_config_makefile dlls/dbghelp/tests enable_tests
21266 wine_fn_config_makefile dlls/dciman32 enable_dciman32
21267 wine_fn_config_makefile dlls/dcomp enable_dcomp
21268 wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
21269 wine_fn_config_makefile dlls/ddraw enable_ddraw
21270 wine_fn_config_makefile dlls/ddraw/tests enable_tests
21271 wine_fn_config_makefile dlls/ddrawex enable_ddrawex
21272 wine_fn_config_makefile dlls/ddrawex/tests enable_tests
21273 wine_fn_config_makefile dlls/devenum enable_devenum
21274 wine_fn_config_makefile dlls/devenum/tests enable_tests
21275 wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
21276 wine_fn_config_makefile dlls/dhcpcsvc/tests enable_tests
21277 wine_fn_config_makefile dlls/dhcpcsvc6 enable_dhcpcsvc6
21278 wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
21279 wine_fn_config_makefile dlls/diasymreader enable_diasymreader
21280 wine_fn_config_makefile dlls/difxapi enable_difxapi
21281 wine_fn_config_makefile dlls/dinput enable_dinput
21282 wine_fn_config_makefile dlls/dinput/tests enable_tests
21283 wine_fn_config_makefile dlls/dinput8 enable_dinput8
21284 wine_fn_config_makefile dlls/directmanipulation enable_directmanipulation
21285 wine_fn_config_makefile dlls/directmanipulation/tests enable_tests
21286 wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
21287 wine_fn_config_makefile dlls/dispex enable_dispex
21288 wine_fn_config_makefile dlls/dispex/tests enable_tests
21289 wine_fn_config_makefile dlls/display.drv16 enable_win16
21290 wine_fn_config_makefile dlls/dmband enable_dmband
21291 wine_fn_config_makefile dlls/dmband/tests enable_tests
21292 wine_fn_config_makefile dlls/dmcompos enable_dmcompos
21293 wine_fn_config_makefile dlls/dmcompos/tests enable_tests
21294 wine_fn_config_makefile dlls/dmime enable_dmime
21295 wine_fn_config_makefile dlls/dmime/tests enable_tests
21296 wine_fn_config_makefile dlls/dmloader enable_dmloader
21297 wine_fn_config_makefile dlls/dmloader/tests enable_tests
21298 wine_fn_config_makefile dlls/dmscript enable_dmscript
21299 wine_fn_config_makefile dlls/dmscript/tests enable_tests
21300 wine_fn_config_makefile dlls/dmstyle enable_dmstyle
21301 wine_fn_config_makefile dlls/dmstyle/tests enable_tests
21302 wine_fn_config_makefile dlls/dmsynth enable_dmsynth
21303 wine_fn_config_makefile dlls/dmsynth/tests enable_tests
21304 wine_fn_config_makefile dlls/dmusic enable_dmusic
21305 wine_fn_config_makefile dlls/dmusic/tests enable_tests
21306 wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
21307 wine_fn_config_makefile dlls/dnsapi enable_dnsapi
21308 wine_fn_config_makefile dlls/dnsapi/tests enable_tests
21309 wine_fn_config_makefile dlls/dplay enable_dplay
21310 wine_fn_config_makefile dlls/dplayx enable_dplayx
21311 wine_fn_config_makefile dlls/dplayx/tests enable_tests
21312 wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
21313 wine_fn_config_makefile dlls/dpnet enable_dpnet
21314 wine_fn_config_makefile dlls/dpnet/tests enable_tests
21315 wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
21316 wine_fn_config_makefile dlls/dpnhupnp enable_dpnhupnp
21317 wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
21318 wine_fn_config_makefile dlls/dpvoice enable_dpvoice
21319 wine_fn_config_makefile dlls/dpvoice/tests enable_tests
21320 wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
21321 wine_fn_config_makefile dlls/drmclien enable_drmclien
21322 wine_fn_config_makefile dlls/dsdmo enable_dsdmo
21323 wine_fn_config_makefile dlls/dsdmo/tests enable_tests
21324 wine_fn_config_makefile dlls/dsound enable_dsound
21325 wine_fn_config_makefile dlls/dsound/tests enable_tests
21326 wine_fn_config_makefile dlls/dsquery enable_dsquery
21327 wine_fn_config_makefile dlls/dssenh enable_dssenh
21328 wine_fn_config_makefile dlls/dssenh/tests enable_tests
21329 wine_fn_config_makefile dlls/dsuiext enable_dsuiext
21330 wine_fn_config_makefile dlls/dswave enable_dswave
21331 wine_fn_config_makefile dlls/dswave/tests enable_tests
21332 wine_fn_config_makefile dlls/dwmapi enable_dwmapi
21333 wine_fn_config_makefile dlls/dwmapi/tests enable_tests
21334 wine_fn_config_makefile dlls/dwrite enable_dwrite
21335 wine_fn_config_makefile dlls/dwrite/tests enable_tests
21336 wine_fn_config_makefile dlls/dx8vb enable_dx8vb
21337 wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
21338 wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
21339 wine_fn_config_makefile dlls/dxgi enable_dxgi
21340 wine_fn_config_makefile dlls/dxgi/tests enable_tests
21341 wine_fn_config_makefile dlls/dxtrans enable_dxtrans
21342 wine_fn_config_makefile dlls/dxva2 enable_dxva2
21343 wine_fn_config_makefile dlls/dxva2/tests enable_tests
21344 wine_fn_config_makefile dlls/esent enable_esent
21345 wine_fn_config_makefile dlls/evr enable_evr
21346 wine_fn_config_makefile dlls/evr/tests enable_tests
21347 wine_fn_config_makefile dlls/explorerframe enable_explorerframe
21348 wine_fn_config_makefile dlls/explorerframe/tests enable_tests
21349 wine_fn_config_makefile dlls/faultrep enable_faultrep
21350 wine_fn_config_makefile dlls/faultrep/tests enable_tests
21351 wine_fn_config_makefile dlls/feclient enable_feclient
21352 wine_fn_config_makefile dlls/fltlib enable_fltlib
21353 wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
21354 wine_fn_config_makefile dlls/fntcache enable_fntcache
21355 wine_fn_config_makefile dlls/fontsub enable_fontsub
21356 wine_fn_config_makefile dlls/fusion enable_fusion
21357 wine_fn_config_makefile dlls/fusion/tests enable_tests
21358 wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
21359 wine_fn_config_makefile dlls/gameux enable_gameux
21360 wine_fn_config_makefile dlls/gameux/tests enable_tests
21361 wine_fn_config_makefile dlls/gamingtcui enable_gamingtcui
21362 wine_fn_config_makefile dlls/gdi.exe16 enable_win16
21363 wine_fn_config_makefile dlls/gdi32 enable_gdi32
21364 wine_fn_config_makefile dlls/gdi32/tests enable_tests
21365 wine_fn_config_makefile dlls/gdiplus enable_gdiplus
21366 wine_fn_config_makefile dlls/gdiplus/tests enable_tests
21367 wine_fn_config_makefile dlls/geolocation enable_geolocation
21368 wine_fn_config_makefile dlls/geolocation/tests enable_tests
21369 wine_fn_config_makefile dlls/glu32 enable_glu32
21370 wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
21371 wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
21372 wine_fn_config_makefile dlls/graphicscapture enable_graphicscapture
21373 wine_fn_config_makefile dlls/graphicscapture/tests enable_tests
21374 wine_fn_config_makefile dlls/hal enable_hal
21375 wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
21376 wine_fn_config_makefile dlls/hid enable_hid
21377 wine_fn_config_makefile dlls/hid/tests enable_tests
21378 wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
21379 wine_fn_config_makefile dlls/hidparse.sys enable_hidparse_sys
21380 wine_fn_config_makefile dlls/hlink enable_hlink
21381 wine_fn_config_makefile dlls/hlink/tests enable_tests
21382 wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
21383 wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
21384 wine_fn_config_makefile dlls/hrtfapo enable_hrtfapo
21385 wine_fn_config_makefile dlls/http.sys enable_http_sys
21386 wine_fn_config_makefile dlls/httpapi enable_httpapi
21387 wine_fn_config_makefile dlls/httpapi/tests enable_tests
21388 wine_fn_config_makefile dlls/ia2comproxy enable_ia2comproxy
21389 wine_fn_config_makefile dlls/iccvid enable_iccvid
21390 wine_fn_config_makefile dlls/icmp enable_icmp
21391 wine_fn_config_makefile dlls/ieframe enable_ieframe
21392 wine_fn_config_makefile dlls/ieframe/tests enable_tests
21393 wine_fn_config_makefile dlls/ieproxy enable_ieproxy
21394 wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
21395 wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
21396 wine_fn_config_makefile dlls/imagehlp enable_imagehlp
21397 wine_fn_config_makefile dlls/imagehlp/tests enable_tests
21398 wine_fn_config_makefile dlls/imm.dll16 enable_win16
21399 wine_fn_config_makefile dlls/imm32 enable_imm32
21400 wine_fn_config_makefile dlls/imm32/tests enable_tests
21401 wine_fn_config_makefile dlls/inetcomm enable_inetcomm
21402 wine_fn_config_makefile dlls/inetcomm/tests enable_tests
21403 wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
21404 wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
21405 wine_fn_config_makefile dlls/inetmib1/tests enable_tests
21406 wine_fn_config_makefile dlls/infosoft enable_infosoft
21407 wine_fn_config_makefile dlls/infosoft/tests enable_tests
21408 wine_fn_config_makefile dlls/initpki enable_initpki
21409 wine_fn_config_makefile dlls/inkobj enable_inkobj
21410 wine_fn_config_makefile dlls/inseng enable_inseng
21411 wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
21412 wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
21413 wine_fn_config_makefile dlls/iprop enable_iprop
21414 wine_fn_config_makefile dlls/ir50_32 enable_ir50_32
21415 wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
21416 wine_fn_config_makefile dlls/itircl enable_itircl
21417 wine_fn_config_makefile dlls/itss enable_itss
21418 wine_fn_config_makefile dlls/itss/tests enable_tests
21419 wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
21420 wine_fn_config_makefile dlls/jscript enable_jscript
21421 wine_fn_config_makefile dlls/jscript/tests enable_tests
21422 wine_fn_config_makefile dlls/jsproxy enable_jsproxy
21423 wine_fn_config_makefile dlls/jsproxy/tests enable_tests
21424 wine_fn_config_makefile dlls/kerberos enable_kerberos
21425 wine_fn_config_makefile dlls/kernel32 enable_kernel32
21426 wine_fn_config_makefile dlls/kernel32/tests enable_tests
21427 wine_fn_config_makefile dlls/kernelbase enable_kernelbase
21428 wine_fn_config_makefile dlls/kernelbase/tests enable_tests
21429 wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
21430 wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
21431 wine_fn_config_makefile dlls/ksecdd.sys enable_ksecdd_sys
21432 wine_fn_config_makefile dlls/ksproxy.ax enable_ksproxy_ax
21433 wine_fn_config_makefile dlls/ksuser enable_ksuser
21434 wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
21435 wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
21436 wine_fn_config_makefile dlls/light.msstyles enable_light_msstyles
21437 wine_fn_config_makefile dlls/loadperf enable_loadperf
21438 wine_fn_config_makefile dlls/localspl enable_localspl
21439 wine_fn_config_makefile dlls/localspl/tests enable_tests
21440 wine_fn_config_makefile dlls/localui enable_localui
21441 wine_fn_config_makefile dlls/localui/tests enable_tests
21442 wine_fn_config_makefile dlls/lz32 enable_lz32
21443 wine_fn_config_makefile dlls/lz32/tests enable_tests
21444 wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
21445 wine_fn_config_makefile dlls/mapi32 enable_mapi32
21446 wine_fn_config_makefile dlls/mapi32/tests enable_tests
21447 wine_fn_config_makefile dlls/mapistub enable_mapistub
21448 wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
21449 wine_fn_config_makefile dlls/mcicda enable_mcicda
21450 wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
21451 wine_fn_config_makefile dlls/mciseq enable_mciseq
21452 wine_fn_config_makefile dlls/mciwave enable_mciwave
21453 wine_fn_config_makefile dlls/mf enable_mf
21454 wine_fn_config_makefile dlls/mf/tests enable_tests
21455 wine_fn_config_makefile dlls/mf3216 enable_mf3216
21456 wine_fn_config_makefile dlls/mferror enable_mferror
21457 wine_fn_config_makefile dlls/mfmediaengine enable_mfmediaengine
21458 wine_fn_config_makefile dlls/mfmediaengine/tests enable_tests
21459 wine_fn_config_makefile dlls/mfplat enable_mfplat
21460 wine_fn_config_makefile dlls/mfplat/tests enable_tests
21461 wine_fn_config_makefile dlls/mfplay enable_mfplay
21462 wine_fn_config_makefile dlls/mfplay/tests enable_tests
21463 wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
21464 wine_fn_config_makefile dlls/mfreadwrite/tests enable_tests
21465 wine_fn_config_makefile dlls/mfsrcsnk enable_mfsrcsnk
21466 wine_fn_config_makefile dlls/mfsrcsnk/tests enable_tests
21467 wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
21468 wine_fn_config_makefile dlls/midimap enable_midimap
21469 wine_fn_config_makefile dlls/mlang enable_mlang
21470 wine_fn_config_makefile dlls/mlang/tests enable_tests
21471 wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
21472 wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
21473 wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
21474 wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
21475 wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
21476 wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
21477 wine_fn_config_makefile dlls/monodebg.vxd enable_win16
21478 wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
21479 wine_fn_config_makefile dlls/mouse.drv16 enable_win16
21480 wine_fn_config_makefile dlls/mp3dmod enable_mp3dmod
21481 wine_fn_config_makefile dlls/mp3dmod/tests enable_tests
21482 wine_fn_config_makefile dlls/mpr enable_mpr
21483 wine_fn_config_makefile dlls/mpr/tests enable_tests
21484 wine_fn_config_makefile dlls/mprapi enable_mprapi
21485 wine_fn_config_makefile dlls/msacm.dll16 enable_win16
21486 wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
21487 wine_fn_config_makefile dlls/msacm32 enable_msacm32
21488 wine_fn_config_makefile dlls/msacm32/tests enable_tests
21489 wine_fn_config_makefile dlls/msado15 enable_msado15
21490 wine_fn_config_makefile dlls/msado15/tests enable_tests
21491 wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
21492 wine_fn_config_makefile dlls/msasn1 enable_msasn1
21493 wine_fn_config_makefile dlls/msasn1/tests enable_tests
21494 wine_fn_config_makefile dlls/msauddecmft enable_msauddecmft
21495 wine_fn_config_makefile dlls/mscat32 enable_mscat32
21496 wine_fn_config_makefile dlls/mscms enable_mscms
21497 wine_fn_config_makefile dlls/mscms/tests enable_tests
21498 wine_fn_config_makefile dlls/mscoree enable_mscoree
21499 wine_fn_config_makefile dlls/mscoree/tests enable_tests
21500 wine_fn_config_makefile dlls/mscorwks enable_mscorwks
21501 wine_fn_config_makefile dlls/msctf enable_msctf
21502 wine_fn_config_makefile dlls/msctf/tests enable_tests
21503 wine_fn_config_makefile dlls/msctfmonitor enable_msctfmonitor
21504 wine_fn_config_makefile dlls/msctfp enable_msctfp
21505 wine_fn_config_makefile dlls/msdaps enable_msdaps
21506 wine_fn_config_makefile dlls/msdasql enable_msdasql
21507 wine_fn_config_makefile dlls/msdasql/tests enable_tests
21508 wine_fn_config_makefile dlls/msdelta enable_msdelta
21509 wine_fn_config_makefile dlls/msdmo enable_msdmo
21510 wine_fn_config_makefile dlls/msdmo/tests enable_tests
21511 wine_fn_config_makefile dlls/msdrm enable_msdrm
21512 wine_fn_config_makefile dlls/msftedit enable_msftedit
21513 wine_fn_config_makefile dlls/msftedit/tests enable_tests
21514 wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
21515 wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
21516 wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
21517 wine_fn_config_makefile dlls/mshtml enable_mshtml
21518 wine_fn_config_makefile dlls/mshtml/tests enable_tests
21519 wine_fn_config_makefile dlls/msi enable_msi
21520 wine_fn_config_makefile dlls/msi/tests enable_tests
21521 wine_fn_config_makefile dlls/msident enable_msident
21522 wine_fn_config_makefile dlls/msimg32 enable_msimg32
21523 wine_fn_config_makefile dlls/msimsg enable_msimsg
21524 wine_fn_config_makefile dlls/msimtf enable_msimtf
21525 wine_fn_config_makefile dlls/msisip enable_msisip
21526 wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
21527 wine_fn_config_makefile dlls/msls31 enable_msls31
21528 wine_fn_config_makefile dlls/msmpeg2vdec enable_msmpeg2vdec
21529 wine_fn_config_makefile dlls/msnet32 enable_msnet32
21530 wine_fn_config_makefile dlls/mspatcha enable_mspatcha
21531 wine_fn_config_makefile dlls/mspatcha/tests enable_tests
21532 wine_fn_config_makefile dlls/msports enable_msports
21533 wine_fn_config_makefile dlls/msrle32 enable_msrle32
21534 wine_fn_config_makefile dlls/msrle32/tests enable_tests
21535 wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
21536 wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
21537 wine_fn_config_makefile dlls/mssign32 enable_mssign32
21538 wine_fn_config_makefile dlls/mssip32 enable_mssip32
21539 wine_fn_config_makefile dlls/mstask enable_mstask
21540 wine_fn_config_makefile dlls/mstask/tests enable_tests
21541 wine_fn_config_makefile dlls/msv1_0 enable_msv1_0
21542 wine_fn_config_makefile dlls/msvcirt enable_msvcirt
21543 wine_fn_config_makefile dlls/msvcirt/tests enable_tests
21544 wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
21545 wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
21546 wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
21547 wine_fn_config_makefile dlls/msvcp100/tests enable_tests
21548 wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
21549 wine_fn_config_makefile dlls/msvcp110/tests enable_tests
21550 wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
21551 wine_fn_config_makefile dlls/msvcp120/tests enable_tests
21552 wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
21553 wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
21554 wine_fn_config_makefile dlls/msvcp140/tests enable_tests
21555 wine_fn_config_makefile dlls/msvcp140_1 enable_msvcp140_1
21556 wine_fn_config_makefile dlls/msvcp140_1/tests enable_tests
21557 wine_fn_config_makefile dlls/msvcp140_2 enable_msvcp140_2
21558 wine_fn_config_makefile dlls/msvcp140_atomic_wait enable_msvcp140_atomic_wait
21559 wine_fn_config_makefile dlls/msvcp140_atomic_wait/tests enable_tests
21560 wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
21561 wine_fn_config_makefile dlls/msvcp60/tests enable_tests
21562 wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
21563 wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
21564 wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
21565 wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
21566 wine_fn_config_makefile dlls/msvcp90/tests enable_tests
21567 wine_fn_config_makefile dlls/msvcp_win enable_msvcp_win
21568 wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
21569 wine_fn_config_makefile dlls/msvcr100/tests enable_tests
21570 wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
21571 wine_fn_config_makefile dlls/msvcr110/tests enable_tests
21572 wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
21573 wine_fn_config_makefile dlls/msvcr120/tests enable_tests
21574 wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
21575 wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
21576 wine_fn_config_makefile dlls/msvcr70/tests enable_tests
21577 wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
21578 wine_fn_config_makefile dlls/msvcr71/tests enable_tests
21579 wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
21580 wine_fn_config_makefile dlls/msvcr80/tests enable_tests
21581 wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
21582 wine_fn_config_makefile dlls/msvcr90/tests enable_tests
21583 wine_fn_config_makefile dlls/msvcrt enable_msvcrt
21584 wine_fn_config_makefile dlls/msvcrt/tests enable_tests
21585 wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
21586 wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
21587 wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
21588 wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
21589 wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
21590 wine_fn_config_makefile dlls/msvfw32/tests enable_tests
21591 wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
21592 wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
21593 wine_fn_config_makefile dlls/mswsock enable_mswsock
21594 wine_fn_config_makefile dlls/msxml enable_msxml
21595 wine_fn_config_makefile dlls/msxml2 enable_msxml2
21596 wine_fn_config_makefile dlls/msxml3 enable_msxml3
21597 wine_fn_config_makefile dlls/msxml3/tests enable_tests
21598 wine_fn_config_makefile dlls/msxml4 enable_msxml4
21599 wine_fn_config_makefile dlls/msxml6 enable_msxml6
21600 wine_fn_config_makefile dlls/mtxdm enable_mtxdm
21601 wine_fn_config_makefile dlls/ncrypt enable_ncrypt
21602 wine_fn_config_makefile dlls/ncrypt/tests enable_tests
21603 wine_fn_config_makefile dlls/nddeapi enable_nddeapi
21604 wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
21605 wine_fn_config_makefile dlls/ndis.sys/tests enable_tests
21606 wine_fn_config_makefile dlls/netapi32 enable_netapi32
21607 wine_fn_config_makefile dlls/netapi32/tests enable_tests
21608 wine_fn_config_makefile dlls/netcfgx enable_netcfgx
21609 wine_fn_config_makefile dlls/netcfgx/tests enable_tests
21610 wine_fn_config_makefile dlls/netio.sys enable_netio_sys
21611 wine_fn_config_makefile dlls/netprofm enable_netprofm
21612 wine_fn_config_makefile dlls/netprofm/tests enable_tests
21613 wine_fn_config_makefile dlls/netutils enable_netutils
21614 wine_fn_config_makefile dlls/newdev enable_newdev
21615 wine_fn_config_makefile dlls/ninput enable_ninput
21616 wine_fn_config_makefile dlls/ninput/tests enable_tests
21617 wine_fn_config_makefile dlls/normaliz enable_normaliz
21618 wine_fn_config_makefile dlls/npmshtml enable_npmshtml
21619 wine_fn_config_makefile dlls/npptools enable_npptools
21620 wine_fn_config_makefile dlls/nsi enable_nsi
21621 wine_fn_config_makefile dlls/nsi/tests enable_tests
21622 wine_fn_config_makefile dlls/nsiproxy.sys enable_nsiproxy_sys
21623 wine_fn_config_makefile dlls/ntdll enable_ntdll
21624 wine_fn_config_makefile dlls/ntdll/tests enable_tests
21625 wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
21626 wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
21627 wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
21628 wine_fn_config_makefile dlls/ntoskrnl.exe/tests enable_tests
21629 wine_fn_config_makefile dlls/ntprint enable_ntprint
21630 wine_fn_config_makefile dlls/ntprint/tests enable_tests
21631 wine_fn_config_makefile dlls/objsel enable_objsel
21632 wine_fn_config_makefile dlls/odbc32 enable_odbc32
21633 wine_fn_config_makefile dlls/odbcbcp enable_odbcbcp
21634 wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
21635 wine_fn_config_makefile dlls/odbccp32/tests enable_tests
21636 wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
21637 wine_fn_config_makefile dlls/ole2.dll16 enable_win16
21638 wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
21639 wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
21640 wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
21641 wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
21642 wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
21643 wine_fn_config_makefile dlls/ole32 enable_ole32
21644 wine_fn_config_makefile dlls/ole32/tests enable_tests
21645 wine_fn_config_makefile dlls/oleacc enable_oleacc
21646 wine_fn_config_makefile dlls/oleacc/tests enable_tests
21647 wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
21648 wine_fn_config_makefile dlls/oleaut32/tests enable_tests
21649 wine_fn_config_makefile dlls/olecli.dll16 enable_win16
21650 wine_fn_config_makefile dlls/olecli32 enable_olecli32
21651 wine_fn_config_makefile dlls/oledb32 enable_oledb32
21652 wine_fn_config_makefile dlls/oledb32/tests enable_tests
21653 wine_fn_config_makefile dlls/oledlg enable_oledlg
21654 wine_fn_config_makefile dlls/oledlg/tests enable_tests
21655 wine_fn_config_makefile dlls/olepro32 enable_olepro32
21656 wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
21657 wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
21658 wine_fn_config_makefile dlls/olethk32 enable_olethk32
21659 wine_fn_config_makefile dlls/opcservices enable_opcservices
21660 wine_fn_config_makefile dlls/opcservices/tests enable_tests
21661 wine_fn_config_makefile dlls/opencl enable_opencl
21662 wine_fn_config_makefile dlls/opengl32 enable_opengl32
21663 wine_fn_config_makefile dlls/opengl32/tests enable_tests
21664 wine_fn_config_makefile dlls/packager enable_packager
21665 wine_fn_config_makefile dlls/packager/tests enable_tests
21666 wine_fn_config_makefile dlls/pdh enable_pdh
21667 wine_fn_config_makefile dlls/pdh/tests enable_tests
21668 wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
21669 wine_fn_config_makefile dlls/pidgen enable_pidgen
21670 wine_fn_config_makefile dlls/powrprof enable_powrprof
21671 wine_fn_config_makefile dlls/printui enable_printui
21672 wine_fn_config_makefile dlls/prntvpt enable_prntvpt
21673 wine_fn_config_makefile dlls/prntvpt/tests enable_tests
21674 wine_fn_config_makefile dlls/propsys enable_propsys
21675 wine_fn_config_makefile dlls/propsys/tests enable_tests
21676 wine_fn_config_makefile dlls/psapi enable_psapi
21677 wine_fn_config_makefile dlls/psapi/tests enable_tests
21678 wine_fn_config_makefile dlls/pstorec enable_pstorec
21679 wine_fn_config_makefile dlls/pstorec/tests enable_tests
21680 wine_fn_config_makefile dlls/pwrshplugin enable_pwrshplugin
21681 wine_fn_config_makefile dlls/qasf enable_qasf
21682 wine_fn_config_makefile dlls/qasf/tests enable_tests
21683 wine_fn_config_makefile dlls/qcap enable_qcap
21684 wine_fn_config_makefile dlls/qcap/tests enable_tests
21685 wine_fn_config_makefile dlls/qdvd enable_qdvd
21686 wine_fn_config_makefile dlls/qdvd/tests enable_tests
21687 wine_fn_config_makefile dlls/qedit enable_qedit
21688 wine_fn_config_makefile dlls/qedit/tests enable_tests
21689 wine_fn_config_makefile dlls/qmgr enable_qmgr
21690 wine_fn_config_makefile dlls/qmgr/tests enable_tests
21691 wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
21692 wine_fn_config_makefile dlls/quartz enable_quartz
21693 wine_fn_config_makefile dlls/quartz/tests enable_tests
21694 wine_fn_config_makefile dlls/query enable_query
21695 wine_fn_config_makefile dlls/qwave enable_qwave
21696 wine_fn_config_makefile dlls/qwave/tests enable_tests
21697 wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
21698 wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
21699 wine_fn_config_makefile dlls/rasapi32/tests enable_tests
21700 wine_fn_config_makefile dlls/rasdlg enable_rasdlg
21701 wine_fn_config_makefile dlls/regapi enable_regapi
21702 wine_fn_config_makefile dlls/resutils enable_resutils
21703 wine_fn_config_makefile dlls/riched20 enable_riched20
21704 wine_fn_config_makefile dlls/riched20/tests enable_tests
21705 wine_fn_config_makefile dlls/riched32 enable_riched32
21706 wine_fn_config_makefile dlls/riched32/tests enable_tests
21707 wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
21708 wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
21709 wine_fn_config_makefile dlls/rsabase enable_rsabase
21710 wine_fn_config_makefile dlls/rsaenh enable_rsaenh
21711 wine_fn_config_makefile dlls/rsaenh/tests enable_tests
21712 wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
21713 wine_fn_config_makefile dlls/rtutils enable_rtutils
21714 wine_fn_config_makefile dlls/rtworkq enable_rtworkq
21715 wine_fn_config_makefile dlls/rtworkq/tests enable_tests
21716 wine_fn_config_makefile dlls/samlib enable_samlib
21717 wine_fn_config_makefile dlls/sane.ds enable_sane_ds
21718 wine_fn_config_makefile dlls/sapi enable_sapi
21719 wine_fn_config_makefile dlls/sapi/tests enable_tests
21720 wine_fn_config_makefile dlls/sas enable_sas
21721 wine_fn_config_makefile dlls/scarddlg enable_scarddlg
21722 wine_fn_config_makefile dlls/scardsvr enable_scardsvr
21723 wine_fn_config_makefile dlls/sccbase enable_sccbase
21724 wine_fn_config_makefile dlls/schannel enable_schannel
21725 wine_fn_config_makefile dlls/schannel/tests enable_tests
21726 wine_fn_config_makefile dlls/schedsvc enable_schedsvc
21727 wine_fn_config_makefile dlls/schedsvc/tests enable_tests
21728 wine_fn_config_makefile dlls/scrobj enable_scrobj
21729 wine_fn_config_makefile dlls/scrobj/tests enable_tests
21730 wine_fn_config_makefile dlls/scrrun enable_scrrun
21731 wine_fn_config_makefile dlls/scrrun/tests enable_tests
21732 wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
21733 wine_fn_config_makefile dlls/sechost enable_sechost
21734 wine_fn_config_makefile dlls/secur32 enable_secur32
21735 wine_fn_config_makefile dlls/secur32/tests enable_tests
21736 wine_fn_config_makefile dlls/security enable_security
21737 wine_fn_config_makefile dlls/sensapi enable_sensapi
21738 wine_fn_config_makefile dlls/serialui enable_serialui
21739 wine_fn_config_makefile dlls/serialui/tests enable_tests
21740 wine_fn_config_makefile dlls/setupapi enable_setupapi
21741 wine_fn_config_makefile dlls/setupapi/tests enable_tests
21742 wine_fn_config_makefile dlls/setupx.dll16 enable_win16
21743 wine_fn_config_makefile dlls/sfc enable_sfc
21744 wine_fn_config_makefile dlls/sfc_os enable_sfc_os
21745 wine_fn_config_makefile dlls/shcore enable_shcore
21746 wine_fn_config_makefile dlls/shcore/tests enable_tests
21747 wine_fn_config_makefile dlls/shdoclc enable_shdoclc
21748 wine_fn_config_makefile dlls/shdocvw enable_shdocvw
21749 wine_fn_config_makefile dlls/shdocvw/tests enable_tests
21750 wine_fn_config_makefile dlls/shell.dll16 enable_win16
21751 wine_fn_config_makefile dlls/shell32 enable_shell32
21752 wine_fn_config_makefile dlls/shell32/tests enable_tests
21753 wine_fn_config_makefile dlls/shfolder enable_shfolder
21754 wine_fn_config_makefile dlls/shlwapi enable_shlwapi
21755 wine_fn_config_makefile dlls/shlwapi/tests enable_tests
21756 wine_fn_config_makefile dlls/slbcsp enable_slbcsp
21757 wine_fn_config_makefile dlls/slc enable_slc
21758 wine_fn_config_makefile dlls/slc/tests enable_tests
21759 wine_fn_config_makefile dlls/snmpapi enable_snmpapi
21760 wine_fn_config_makefile dlls/snmpapi/tests enable_tests
21761 wine_fn_config_makefile dlls/softpub enable_softpub
21762 wine_fn_config_makefile dlls/sound.drv16 enable_win16
21763 wine_fn_config_makefile dlls/spoolss enable_spoolss
21764 wine_fn_config_makefile dlls/spoolss/tests enable_tests
21765 wine_fn_config_makefile dlls/sppc enable_sppc
21766 wine_fn_config_makefile dlls/srclient enable_srclient
21767 wine_fn_config_makefile dlls/srvcli enable_srvcli
21768 wine_fn_config_makefile dlls/sspicli enable_sspicli
21769 wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
21770 wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
21771 wine_fn_config_makefile dlls/sti enable_sti
21772 wine_fn_config_makefile dlls/sti/tests enable_tests
21773 wine_fn_config_makefile dlls/storage.dll16 enable_win16
21774 wine_fn_config_makefile dlls/stress.dll16 enable_win16
21775 wine_fn_config_makefile dlls/strmdll enable_strmdll
21776 wine_fn_config_makefile dlls/svrapi enable_svrapi
21777 wine_fn_config_makefile dlls/sxs enable_sxs
21778 wine_fn_config_makefile dlls/sxs/tests enable_tests
21779 wine_fn_config_makefile dlls/system.drv16 enable_win16
21780 wine_fn_config_makefile dlls/t2embed enable_t2embed
21781 wine_fn_config_makefile dlls/t2embed/tests enable_tests
21782 wine_fn_config_makefile dlls/tapi32 enable_tapi32
21783 wine_fn_config_makefile dlls/tapi32/tests enable_tests
21784 wine_fn_config_makefile dlls/taskschd enable_taskschd
21785 wine_fn_config_makefile dlls/taskschd/tests enable_tests
21786 wine_fn_config_makefile dlls/tbs enable_tbs
21787 wine_fn_config_makefile dlls/tdh enable_tdh
21788 wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
21789 wine_fn_config_makefile dlls/threadpoolwinrt enable_threadpoolwinrt
21790 wine_fn_config_makefile dlls/threadpoolwinrt/tests enable_tests
21791 wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
21792 wine_fn_config_makefile dlls/traffic enable_traffic
21793 wine_fn_config_makefile dlls/twain.dll16 enable_win16
21794 wine_fn_config_makefile dlls/twain_32 enable_twain_32
21795 wine_fn_config_makefile dlls/twain_32/tests enable_tests
21796 wine_fn_config_makefile dlls/twinapi.appcore enable_twinapi_appcore
21797 wine_fn_config_makefile dlls/typelib.dll16 enable_win16
21798 wine_fn_config_makefile dlls/tzres enable_tzres
21799 wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
21800 wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
21801 wine_fn_config_makefile dlls/uianimation enable_uianimation
21802 wine_fn_config_makefile dlls/uianimation/tests enable_tests
21803 wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
21804 wine_fn_config_makefile dlls/uiautomationcore/tests enable_tests
21805 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
21806 wine_fn_config_makefile dlls/unicows enable_unicows
21807 wine_fn_config_makefile dlls/updspapi enable_updspapi
21808 wine_fn_config_makefile dlls/url enable_url
21809 wine_fn_config_makefile dlls/urlmon enable_urlmon
21810 wine_fn_config_makefile dlls/urlmon/tests enable_tests
21811 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
21812 wine_fn_config_makefile dlls/user.exe16 enable_win16
21813 wine_fn_config_makefile dlls/user32 enable_user32
21814 wine_fn_config_makefile dlls/user32/tests enable_tests
21815 wine_fn_config_makefile dlls/userenv enable_userenv
21816 wine_fn_config_makefile dlls/userenv/tests enable_tests
21817 wine_fn_config_makefile dlls/usp10 enable_usp10
21818 wine_fn_config_makefile dlls/usp10/tests enable_tests
21819 wine_fn_config_makefile dlls/utildll enable_utildll
21820 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
21821 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
21822 wine_fn_config_makefile dlls/vbscript enable_vbscript
21823 wine_fn_config_makefile dlls/vbscript/tests enable_tests
21824 wine_fn_config_makefile dlls/vcomp enable_vcomp
21825 wine_fn_config_makefile dlls/vcomp/tests enable_tests
21826 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
21827 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
21828 wine_fn_config_makefile dlls/vcomp110/tests enable_tests
21829 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
21830 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
21831 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
21832 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
21833 wine_fn_config_makefile dlls/vcruntime140_1 enable_vcruntime140_1
21834 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
21835 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
21836 wine_fn_config_makefile dlls/ver.dll16 enable_win16
21837 wine_fn_config_makefile dlls/version enable_version
21838 wine_fn_config_makefile dlls/version/tests enable_tests
21839 wine_fn_config_makefile dlls/vga enable_vga
21840 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
21841 wine_fn_config_makefile dlls/virtdisk/tests enable_tests
21842 wine_fn_config_makefile dlls/vmm.vxd enable_win16
21843 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
21844 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
21845 wine_fn_config_makefile dlls/vssapi enable_vssapi
21846 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
21847 wine_fn_config_makefile dlls/vulkan-1 enable_vulkan_1
21848 wine_fn_config_makefile dlls/vulkan-1/tests enable_tests
21849 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
21850 wine_fn_config_makefile dlls/w32skrnl enable_win16
21851 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
21852 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
21853 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
21854 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
21855 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
21856 wine_fn_config_makefile dlls/wdscore enable_wdscore
21857 wine_fn_config_makefile dlls/webservices enable_webservices
21858 wine_fn_config_makefile dlls/webservices/tests enable_tests
21859 wine_fn_config_makefile dlls/websocket enable_websocket
21860 wine_fn_config_makefile dlls/wer enable_wer
21861 wine_fn_config_makefile dlls/wer/tests enable_tests
21862 wine_fn_config_makefile dlls/wevtapi enable_wevtapi
21863 wine_fn_config_makefile dlls/wevtapi/tests enable_tests
21864 wine_fn_config_makefile dlls/wevtsvc enable_wevtsvc
21865 wine_fn_config_makefile dlls/wiaservc enable_wiaservc
21866 wine_fn_config_makefile dlls/wiaservc/tests enable_tests
21867 wine_fn_config_makefile dlls/wimgapi enable_wimgapi
21868 wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
21869 wine_fn_config_makefile dlls/win32u enable_win32u
21870 wine_fn_config_makefile dlls/win32u/tests enable_tests
21871 wine_fn_config_makefile dlls/win87em.dll16 enable_win16
21872 wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
21873 wine_fn_config_makefile dlls/windebug.dll16 enable_win16
21874 wine_fn_config_makefile dlls/windows.devices.bluetooth enable_windows_devices_bluetooth
21875 wine_fn_config_makefile dlls/windows.devices.bluetooth/tests enable_tests
21876 wine_fn_config_makefile dlls/windows.devices.enumeration enable_windows_devices_enumeration
21877 wine_fn_config_makefile dlls/windows.devices.enumeration/tests enable_tests
21878 wine_fn_config_makefile dlls/windows.devices.usb enable_windows_devices_usb
21879 wine_fn_config_makefile dlls/windows.devices.usb/tests enable_tests
21880 wine_fn_config_makefile dlls/windows.gaming.input enable_windows_gaming_input
21881 wine_fn_config_makefile dlls/windows.gaming.input/tests enable_tests
21882 wine_fn_config_makefile dlls/windows.gaming.ui.gamebar enable_windows_gaming_ui_gamebar
21883 wine_fn_config_makefile dlls/windows.gaming.ui.gamebar/tests enable_tests
21884 wine_fn_config_makefile dlls/windows.globalization enable_windows_globalization
21885 wine_fn_config_makefile dlls/windows.globalization/tests enable_tests
21886 wine_fn_config_makefile dlls/windows.media.devices enable_windows_media_devices
21887 wine_fn_config_makefile dlls/windows.media.devices/tests enable_tests
21888 wine_fn_config_makefile dlls/windows.media.speech enable_windows_media_speech
21889 wine_fn_config_makefile dlls/windows.media.speech/tests enable_tests
21890 wine_fn_config_makefile dlls/windows.media enable_windows_media
21891 wine_fn_config_makefile dlls/windows.media/tests enable_tests
21892 wine_fn_config_makefile dlls/windows.networking.hostname enable_windows_networking_hostname
21893 wine_fn_config_makefile dlls/windows.networking.hostname/tests enable_tests
21894 wine_fn_config_makefile dlls/windows.networking enable_windows_networking
21895 wine_fn_config_makefile dlls/windows.perception.stub enable_windows_perception_stub
21896 wine_fn_config_makefile dlls/windows.perception.stub/tests enable_tests
21897 wine_fn_config_makefile dlls/windows.system.profile.systemmanufacturers enable_windows_system_profile_systemmanufacturers
21898 wine_fn_config_makefile dlls/windows.system.profile.systemmanufacturers/tests enable_tests
21899 wine_fn_config_makefile dlls/windows.ui enable_windows_ui
21900 wine_fn_config_makefile dlls/windows.ui/tests enable_tests
21901 wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
21902 wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
21903 wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
21904 wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
21905 wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
21906 wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
21907 wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
21908 wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
21909 wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
21910 wine_fn_config_makefile dlls/wined3d enable_wined3d
21911 wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
21912 wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
21913 wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
21914 wine_fn_config_makefile dlls/winemapi enable_winemapi
21915 wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
21916 wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
21917 wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
21918 wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
21919 wine_fn_config_makefile dlls/wineusb.sys enable_wineusb_sys
21920 wine_fn_config_makefile dlls/winevulkan enable_winevulkan
21921 wine_fn_config_makefile dlls/winewayland.drv enable_winewayland_drv
21922 wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
21923 wine_fn_config_makefile dlls/winexinput.sys enable_winexinput_sys
21924 wine_fn_config_makefile dlls/wing.dll16 enable_win16
21925 wine_fn_config_makefile dlls/wing32 enable_wing32
21926 wine_fn_config_makefile dlls/winhttp enable_winhttp
21927 wine_fn_config_makefile dlls/winhttp/tests enable_tests
21928 wine_fn_config_makefile dlls/wininet enable_wininet
21929 wine_fn_config_makefile dlls/wininet/tests enable_tests
21930 wine_fn_config_makefile dlls/winmm enable_winmm
21931 wine_fn_config_makefile dlls/winmm/tests enable_tests
21932 wine_fn_config_makefile dlls/winnls.dll16 enable_win16
21933 wine_fn_config_makefile dlls/winnls32 enable_winnls32
21934 wine_fn_config_makefile dlls/winprint enable_winprint
21935 wine_fn_config_makefile dlls/winscard enable_winscard
21936 wine_fn_config_makefile dlls/winscard/tests enable_tests
21937 wine_fn_config_makefile dlls/winsock.dll16 enable_win16
21938 wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
21939 wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
21940 wine_fn_config_makefile dlls/winsta enable_winsta
21941 wine_fn_config_makefile dlls/wintab.dll16 enable_win16
21942 wine_fn_config_makefile dlls/wintab32 enable_wintab32
21943 wine_fn_config_makefile dlls/wintab32/tests enable_tests
21944 wine_fn_config_makefile dlls/wintrust enable_wintrust
21945 wine_fn_config_makefile dlls/wintrust/tests enable_tests
21946 wine_fn_config_makefile dlls/wintypes enable_wintypes
21947 wine_fn_config_makefile dlls/wintypes/tests enable_tests
21948 wine_fn_config_makefile dlls/winusb enable_winusb
21949 wine_fn_config_makefile dlls/wlanapi enable_wlanapi
21950 wine_fn_config_makefile dlls/wlanapi/tests enable_tests
21951 wine_fn_config_makefile dlls/wlanui enable_wlanui
21952 wine_fn_config_makefile dlls/wldap32 enable_wldap32
21953 wine_fn_config_makefile dlls/wldap32/tests enable_tests
21954 wine_fn_config_makefile dlls/wmasf enable_wmasf
21955 wine_fn_config_makefile dlls/wmi enable_wmi
21956 wine_fn_config_makefile dlls/wmiutils enable_wmiutils
21957 wine_fn_config_makefile dlls/wmiutils/tests enable_tests
21958 wine_fn_config_makefile dlls/wmp enable_wmp
21959 wine_fn_config_makefile dlls/wmp/tests enable_tests
21960 wine_fn_config_makefile dlls/wmphoto enable_wmphoto
21961 wine_fn_config_makefile dlls/wmvcore enable_wmvcore
21962 wine_fn_config_makefile dlls/wmvcore/tests enable_tests
21963 wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
21964 wine_fn_config_makefile dlls/wofutil enable_wofutil
21965 wine_fn_config_makefile dlls/wow32 enable_win16
21966 wine_fn_config_makefile dlls/wow64 enable_wow64
21967 wine_fn_config_makefile dlls/wow64cpu enable_wow64cpu
21968 wine_fn_config_makefile dlls/wow64win enable_wow64win
21969 wine_fn_config_makefile dlls/wpc enable_wpc
21970 wine_fn_config_makefile dlls/wpc/tests enable_tests
21971 wine_fn_config_makefile dlls/wpcap enable_wpcap
21972 wine_fn_config_makefile dlls/wpcap/tests enable_tests
21973 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
21974 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
21975 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
21976 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
21977 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
21978 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
21979 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
21980 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
21981 wine_fn_config_makefile dlls/wsock32 enable_wsock32
21982 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
21983 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
21984 wine_fn_config_makefile dlls/wuapi enable_wuapi
21985 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
21986 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
21987 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
21988 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
21989 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
21990 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
21991 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
21992 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
21993 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
21994 wine_fn_config_makefile dlls/xactengine2_0 enable_xactengine2_0
21995 wine_fn_config_makefile dlls/xactengine2_4 enable_xactengine2_4
21996 wine_fn_config_makefile dlls/xactengine2_7 enable_xactengine2_7
21997 wine_fn_config_makefile dlls/xactengine2_9 enable_xactengine2_9
21998 wine_fn_config_makefile dlls/xactengine3_0 enable_xactengine3_0
21999 wine_fn_config_makefile dlls/xactengine3_1 enable_xactengine3_1
22000 wine_fn_config_makefile dlls/xactengine3_2 enable_xactengine3_2
22001 wine_fn_config_makefile dlls/xactengine3_3 enable_xactengine3_3
22002 wine_fn_config_makefile dlls/xactengine3_4 enable_xactengine3_4
22003 wine_fn_config_makefile dlls/xactengine3_5 enable_xactengine3_5
22004 wine_fn_config_makefile dlls/xactengine3_6 enable_xactengine3_6
22005 wine_fn_config_makefile dlls/xactengine3_7 enable_xactengine3_7
22006 wine_fn_config_makefile dlls/xactengine3_7/tests enable_tests
22007 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
22008 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
22009 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
22010 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
22011 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
22012 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
22013 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
22014 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
22015 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
22016 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
22017 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
22018 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
22019 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
22020 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
22021 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
22022 wine_fn_config_makefile dlls/xaudio2_8/tests enable_tests
22023 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
22024 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
22025 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
22026 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
22027 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
22028 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
22029 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
22030 wine_fn_config_makefile dlls/xinputuap enable_xinputuap
22031 wine_fn_config_makefile dlls/xmllite enable_xmllite
22032 wine_fn_config_makefile dlls/xmllite/tests enable_tests
22033 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
22034 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
22035 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
22036 wine_fn_config_makefile fonts enable_fonts
22037 wine_fn_config_makefile include enable_include
22038 wine_fn_config_makefile libs/adsiid enable_adsiid
22039 wine_fn_config_makefile libs/dmoguids enable_dmoguids
22040 wine_fn_config_makefile libs/dxerr8 enable_dxerr8
22041 wine_fn_config_makefile libs/dxerr9 enable_dxerr9
22042 wine_fn_config_makefile libs/dxguid enable_dxguid
22043 wine_fn_config_makefile libs/faudio enable_faudio
22044 wine_fn_config_makefile libs/gsm enable_gsm
22045 wine_fn_config_makefile libs/jpeg enable_jpeg
22046 wine_fn_config_makefile libs/jxr enable_jxr
22047 wine_fn_config_makefile libs/lcms2 enable_lcms2
22048 wine_fn_config_makefile libs/ldap enable_ldap
22049 wine_fn_config_makefile libs/mfuuid enable_mfuuid
22050 wine_fn_config_makefile libs/mpg123 enable_mpg123
22051 wine_fn_config_makefile libs/musl enable_musl
22052 wine_fn_config_makefile libs/png enable_png
22053 wine_fn_config_makefile libs/strmbase enable_strmbase
22054 wine_fn_config_makefile libs/strmiids enable_strmiids
22055 wine_fn_config_makefile libs/tiff enable_tiff
22056 wine_fn_config_makefile libs/uuid enable_uuid
22057 wine_fn_config_makefile libs/vkd3d enable_vkd3d
22058 wine_fn_config_makefile libs/wbemuuid enable_wbemuuid
22059 wine_fn_config_makefile libs/wmcodecdspuuid enable_wmcodecdspuuid
22060 wine_fn_config_makefile libs/xml2 enable_xml2
22061 wine_fn_config_makefile libs/xslt enable_xslt
22062 wine_fn_config_makefile libs/zlib enable_zlib
22063 wine_fn_config_makefile libs/zydis enable_zydis
22064 wine_fn_config_makefile loader enable_loader
22065 wine_fn_config_makefile nls enable_nls
22066 wine_fn_config_makefile po enable_po
22067 wine_fn_config_makefile programs/arp enable_arp
22068 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
22069 wine_fn_config_makefile programs/attrib enable_attrib
22070 wine_fn_config_makefile programs/cabarc enable_cabarc
22071 wine_fn_config_makefile programs/cacls enable_cacls
22072 wine_fn_config_makefile programs/certutil enable_certutil
22073 wine_fn_config_makefile programs/chcp.com enable_chcp_com
22074 wine_fn_config_makefile programs/clock enable_clock
22075 wine_fn_config_makefile programs/cmd enable_cmd
22076 wine_fn_config_makefile programs/cmd/tests enable_tests
22077 wine_fn_config_makefile programs/conhost enable_conhost
22078 wine_fn_config_makefile programs/conhost/tests enable_tests
22079 wine_fn_config_makefile programs/control enable_control
22080 wine_fn_config_makefile programs/cscript enable_cscript
22081 wine_fn_config_makefile programs/dism enable_dism
22082 wine_fn_config_makefile programs/dllhost enable_dllhost
22083 wine_fn_config_makefile programs/dplaysvr enable_dplaysvr
22084 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
22085 wine_fn_config_makefile programs/dpvsetup enable_dpvsetup
22086 wine_fn_config_makefile programs/dxdiag enable_dxdiag
22087 wine_fn_config_makefile programs/eject enable_eject
22088 wine_fn_config_makefile programs/expand enable_expand
22089 wine_fn_config_makefile programs/explorer enable_explorer
22090 wine_fn_config_makefile programs/explorer/tests enable_tests
22091 wine_fn_config_makefile programs/extrac32 enable_extrac32
22092 wine_fn_config_makefile programs/fc enable_fc
22093 wine_fn_config_makefile programs/find enable_find
22094 wine_fn_config_makefile programs/find/tests enable_tests
22095 wine_fn_config_makefile programs/findstr enable_findstr
22096 wine_fn_config_makefile programs/findstr/tests enable_tests
22097 wine_fn_config_makefile programs/fsutil enable_fsutil
22098 wine_fn_config_makefile programs/fsutil/tests enable_tests
22099 wine_fn_config_makefile programs/hh enable_hh
22100 wine_fn_config_makefile programs/hostname enable_hostname
22101 wine_fn_config_makefile programs/icacls enable_icacls
22102 wine_fn_config_makefile programs/icinfo enable_icinfo
22103 wine_fn_config_makefile programs/iexplore enable_iexplore
22104 wine_fn_config_makefile programs/ipconfig enable_ipconfig
22105 wine_fn_config_makefile programs/klist enable_klist
22106 wine_fn_config_makefile programs/lodctr enable_lodctr
22107 wine_fn_config_makefile programs/mofcomp enable_mofcomp
22108 wine_fn_config_makefile programs/mshta enable_mshta
22109 wine_fn_config_makefile programs/msidb enable_msidb
22110 wine_fn_config_makefile programs/msiexec enable_msiexec
22111 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
22112 wine_fn_config_makefile programs/net enable_net
22113 wine_fn_config_makefile programs/netsh enable_netsh
22114 wine_fn_config_makefile programs/netstat enable_netstat
22115 wine_fn_config_makefile programs/ngen enable_ngen
22116 wine_fn_config_makefile programs/notepad enable_notepad
22117 wine_fn_config_makefile programs/oleview enable_oleview
22118 wine_fn_config_makefile programs/ping enable_ping
22119 wine_fn_config_makefile programs/plugplay enable_plugplay
22120 wine_fn_config_makefile programs/pnputil enable_pnputil
22121 wine_fn_config_makefile programs/powershell enable_powershell
22122 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
22123 wine_fn_config_makefile programs/progman enable_progman
22124 wine_fn_config_makefile programs/reg enable_reg
22125 wine_fn_config_makefile programs/reg/tests enable_tests
22126 wine_fn_config_makefile programs/regasm enable_regasm
22127 wine_fn_config_makefile programs/regedit enable_regedit
22128 wine_fn_config_makefile programs/regedit/tests enable_tests
22129 wine_fn_config_makefile programs/regini enable_regini
22130 wine_fn_config_makefile programs/regsvcs enable_regsvcs
22131 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
22132 wine_fn_config_makefile programs/robocopy enable_robocopy
22133 wine_fn_config_makefile programs/rpcss enable_rpcss
22134 wine_fn_config_makefile programs/rundll.exe16 enable_win16
22135 wine_fn_config_makefile programs/rundll32 enable_rundll32
22136 wine_fn_config_makefile programs/sc enable_sc
22137 wine_fn_config_makefile programs/sc/tests enable_tests
22138 wine_fn_config_makefile programs/schtasks enable_schtasks
22139 wine_fn_config_makefile programs/schtasks/tests enable_tests
22140 wine_fn_config_makefile programs/sdbinst enable_sdbinst
22141 wine_fn_config_makefile programs/secedit enable_secedit
22142 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
22143 wine_fn_config_makefile programs/services enable_services
22144 wine_fn_config_makefile programs/services/tests enable_tests
22145 wine_fn_config_makefile programs/setx enable_setx
22146 wine_fn_config_makefile programs/shutdown enable_shutdown
22147 wine_fn_config_makefile programs/spoolsv enable_spoolsv
22148 wine_fn_config_makefile programs/start enable_start
22149 wine_fn_config_makefile programs/subst enable_subst
22150 wine_fn_config_makefile programs/svchost enable_svchost
22151 wine_fn_config_makefile programs/systeminfo enable_systeminfo
22152 wine_fn_config_makefile programs/taskkill enable_taskkill
22153 wine_fn_config_makefile programs/tasklist enable_tasklist
22154 wine_fn_config_makefile programs/tasklist/tests enable_tests
22155 wine_fn_config_makefile programs/taskmgr enable_taskmgr
22156 wine_fn_config_makefile programs/termsv enable_termsv
22157 wine_fn_config_makefile programs/uninstaller enable_uninstaller
22158 wine_fn_config_makefile programs/unlodctr enable_unlodctr
22159 wine_fn_config_makefile programs/view enable_view
22160 wine_fn_config_makefile programs/wevtutil enable_wevtutil
22161 wine_fn_config_makefile programs/where enable_where
22162 wine_fn_config_makefile programs/whoami enable_whoami
22163 wine_fn_config_makefile programs/wineboot enable_wineboot
22164 wine_fn_config_makefile programs/winebrowser enable_winebrowser
22165 wine_fn_config_makefile programs/winecfg enable_winecfg
22166 wine_fn_config_makefile programs/wineconsole enable_wineconsole
22167 wine_fn_config_makefile programs/winedbg enable_winedbg
22168 wine_fn_config_makefile programs/winedevice enable_winedevice
22169 wine_fn_config_makefile programs/winefile enable_winefile
22170 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
22171 wine_fn_config_makefile programs/winemine enable_winemine
22172 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
22173 wine_fn_config_makefile programs/winepath enable_winepath
22174 wine_fn_config_makefile programs/winetest enable_winetest
22175 wine_fn_config_makefile programs/winevdm enable_win16
22176 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
22177 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
22178 wine_fn_config_makefile programs/winmgmt enable_winmgmt
22179 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
22180 wine_fn_config_makefile programs/winver enable_winver
22181 wine_fn_config_makefile programs/wmic enable_wmic
22182 wine_fn_config_makefile programs/wmplayer enable_wmplayer
22183 wine_fn_config_makefile programs/wordpad enable_wordpad
22184 wine_fn_config_makefile programs/write enable_write
22185 wine_fn_config_makefile programs/wscript enable_wscript
22186 wine_fn_config_makefile programs/wscript/tests enable_tests
22187 wine_fn_config_makefile programs/wuauserv enable_wuauserv
22188 wine_fn_config_makefile programs/wusa enable_wusa
22189 wine_fn_config_makefile programs/xcopy enable_xcopy
22190 wine_fn_config_makefile programs/xcopy/tests enable_tests
22191 wine_fn_config_makefile server enable_server
22192 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
22193 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
22194 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
22195 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
22196 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
22197 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
22198 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
22199 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
22200 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
22203 as_fn_append CONFIGURE_TARGETS " TAGS"
22204 as_fn_append CONFIGURE_TARGETS " tags"
22205 as_fn_append CONFIGURE_TARGETS " autom4te.cache"
22206 as_fn_append CONFIGURE_TARGETS " config.log"
22207 as_fn_append CONFIGURE_TARGETS " config.status"
22208 as_fn_append CONFIGURE_TARGETS " include/config.h"
22209 as_fn_append CONFIGURE_TARGETS " include/stamp-h"
22210 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS " loader/wine"
22212 if test "x$enable_tools" != xno
22213 then
22214 as_fn_append CONFIGURE_TARGETS " tools/makedep$ac_exeext"
22215 ac_config_commands="$ac_config_commands tools/makedep"
22219 ac_config_commands="$ac_config_commands Makefile"
22223 SHELL=/bin/sh
22226 as_fn_append wine_rules "
22227 all: wine
22228 @echo \"Wine build complete.\"
22229 .INIT: Makefile
22230 .MAKEFILEDEPS:
22231 all: Makefile
22232 Makefile: config.status \$(MAKEDEP)
22233 @./config.status Makefile
22234 depend: \$(MAKEDEP)
22235 \$(MAKEDEP)$makedep_flags"
22238 as_fn_append wine_rules "
22239 config.status: ${wine_srcdir}configure
22240 @./config.status --recheck
22241 include/config.h: include/stamp-h
22242 include/stamp-h: ${wine_srcdir}include/config.h.in config.status
22243 @./config.status include/config.h include/stamp-h"
22245 if test "x$enable_maintainer_mode" = xyes
22246 then
22247 as_fn_append wine_rules "
22248 configure: configure.ac aclocal.m4
22249 autoconf --warnings=all
22250 include/config.h.in: include/stamp-h.in
22251 include/stamp-h.in: configure.ac aclocal.m4
22252 autoheader --warnings=all
22253 @echo timestamp > \$@"
22256 if test "x$enable_tools" != xno
22257 then
22258 as_fn_append wine_rules "
22259 tools/makedep$ac_exeext: ${wine_srcdir}tools/makedep.c include/config.h config.status
22260 @./config.status tools/makedep
22261 Makefile: tools/makedep$ac_exeext"
22262 else
22263 as_fn_append wine_rules "
22264 \$(MAKEDEP):
22265 @echo \"You need to run make in $toolsdir first\" && false"
22269 if test -n "$with_wine64"
22270 then
22271 case "$with_wine64" in
22272 /*) reldir="" ;;
22273 *) reldir="../" ;;
22274 esac
22275 rm -f fonts server 2>/dev/null
22276 as_fn_append wine_rules "
22277 all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
22278 loader/wine64 loader/wine64-preloader:
22279 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
22280 $with_wine64/loader/wine:
22281 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
22282 $with_wine64/loader/wine-preloader:
22283 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
22284 clean::
22285 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
22286 else
22287 TOP_INSTALL_DEV="$TOP_INSTALL_DEV include"
22288 TOP_INSTALL_LIB="$TOP_INSTALL_LIB \
22289 fonts \
22290 loader/wine.inf \
22291 nls \
22292 programs/msidb/msidb \
22293 programs/msiexec/msiexec \
22294 programs/notepad/notepad \
22295 programs/regedit/regedit \
22296 programs/regsvr32/regsvr32 \
22297 programs/wineboot/wineboot \
22298 programs/winecfg/winecfg \
22299 programs/wineconsole/wineconsole \
22300 programs/winedbg/winedbg \
22301 programs/winefile/winefile \
22302 programs/winemine/winemine \
22303 programs/winepath/winepath \
22304 server/wineserver"
22306 case $host_os in
22307 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
22308 *) TOP_INSTALL_LIB="$TOP_INSTALL_LIB loader/wine.desktop" ;;
22309 esac
22313 as_fn_append wine_rules "
22314 distclean:: clean
22315 rm -rf autom4te.cache
22316 maintainer-clean::
22317 rm -f configure include/config.h.in"
22320 as_fn_append wine_rules "
22321 dlls/ntdll/unix/version.c: dummy
22322 @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)
22323 programs/winetest/build.rc: dummy
22324 @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)
22325 programs/winetest/build.nfo:
22326 @-\$(CC) -v 2>\$@
22327 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
22328 cd dlls/wineandroid.drv && gradle -q -Psrcdir=$srcdir assembleDebug
22329 mv dlls/wineandroid.drv/build/outputs/apk/wine-debug.apk \$@"
22332 TAGSFLAGS="--langmap='c:+.idl.l.rh,make:(Make*.in)'"
22334 as_fn_append wine_rules "
22335 TAGS etags:
22336 rm -f TAGS
22337 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs etags -a \$(TAGSFLAGS)
22338 tags ctags:
22339 rm -f tags
22340 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs ctags -a \$(TAGSFLAGS)
22341 dummy:
22342 .PHONY: depend dummy install-manpages"
22344 printf "%s\n" " done" >&6
22345 cat >confcache <<\_ACEOF
22346 # This file is a shell script that caches the results of configure
22347 # tests run on this system so they can be shared between configure
22348 # scripts and configure runs, see configure's option --config-cache.
22349 # It is not useful on other systems. If it contains results you don't
22350 # want to keep, you may remove or edit it.
22352 # config.status only pays attention to the cache file if you give it
22353 # the --recheck option to rerun configure.
22355 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22356 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22357 # following values.
22359 _ACEOF
22361 # The following way of writing the cache mishandles newlines in values,
22362 # but we know of no workaround that is simple, portable, and efficient.
22363 # So, we kill variables containing newlines.
22364 # Ultrix sh set writes to stderr and can't be redirected directly,
22365 # and sets the high bit in the cache file unless we assign to the vars.
22367 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
22368 eval ac_val=\$$ac_var
22369 case $ac_val in #(
22370 *${as_nl}*)
22371 case $ac_var in #(
22372 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
22373 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
22374 esac
22375 case $ac_var in #(
22376 _ | IFS | as_nl) ;; #(
22377 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
22378 *) { eval $ac_var=; unset $ac_var;} ;;
22379 esac ;;
22380 esac
22381 done
22383 (set) 2>&1 |
22384 case $as_nl`(ac_space=' '; set) 2>&1` in #(
22385 *${as_nl}ac_space=\ *)
22386 # `set' does not quote correctly, so add quotes: double-quote
22387 # substitution turns \\\\ into \\, and sed turns \\ into \.
22388 sed -n \
22389 "s/'/'\\\\''/g;
22390 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22391 ;; #(
22393 # `set' quotes correctly as required by POSIX, so do not add quotes.
22394 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22396 esac |
22397 sort
22399 sed '
22400 /^ac_cv_env_/b end
22401 t clear
22402 :clear
22403 s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
22404 t end
22405 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22406 :end' >>confcache
22407 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
22408 if test -w "$cache_file"; then
22409 if test "x$cache_file" != "x/dev/null"; then
22410 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
22411 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
22412 if test ! -f "$cache_file" || test -h "$cache_file"; then
22413 cat confcache >"$cache_file"
22414 else
22415 case $cache_file in #(
22416 */* | ?:*)
22417 mv -f confcache "$cache_file"$$ &&
22418 mv -f "$cache_file"$$ "$cache_file" ;; #(
22420 mv -f confcache "$cache_file" ;;
22421 esac
22424 else
22425 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
22426 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
22429 rm -f confcache
22431 test "x$prefix" = xNONE && prefix=$ac_default_prefix
22432 # Let make expand exec_prefix.
22433 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
22435 DEFS=-DHAVE_CONFIG_H
22437 ac_libobjs=
22438 ac_ltlibobjs=
22440 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
22441 # 1. Remove the extension, and $U if already installed.
22442 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
22443 ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
22444 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
22445 # will be set to the directory where LIBOBJS objects are built.
22446 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
22447 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
22448 done
22449 LIBOBJS=$ac_libobjs
22451 LTLIBOBJS=$ac_ltlibobjs
22455 : "${CONFIG_STATUS=./config.status}"
22456 ac_write_fail=0
22457 ac_clean_files_save=$ac_clean_files
22458 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
22459 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
22460 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
22461 as_write_fail=0
22462 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
22463 #! $SHELL
22464 # Generated by $as_me.
22465 # Run this file to recreate the current configuration.
22466 # Compiler output produced by configure, useful for debugging
22467 # configure, is in config.log if it exists.
22469 debug=false
22470 ac_cs_recheck=false
22471 ac_cs_silent=false
22473 SHELL=\${CONFIG_SHELL-$SHELL}
22474 export SHELL
22475 _ASEOF
22476 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
22477 ## -------------------- ##
22478 ## M4sh Initialization. ##
22479 ## -------------------- ##
22481 # Be more Bourne compatible
22482 DUALCASE=1; export DUALCASE # for MKS sh
22483 as_nop=:
22484 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
22485 then :
22486 emulate sh
22487 NULLCMD=:
22488 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
22489 # is contrary to our usage. Disable this feature.
22490 alias -g '${1+"$@"}'='"$@"'
22491 setopt NO_GLOB_SUBST
22492 else $as_nop
22493 case `(set -o) 2>/dev/null` in #(
22494 *posix*) :
22495 set -o posix ;; #(
22496 *) :
22498 esac
22503 # Reset variables that may have inherited troublesome values from
22504 # the environment.
22506 # IFS needs to be set, to space, tab, and newline, in precisely that order.
22507 # (If _AS_PATH_WALK were called with IFS unset, it would have the
22508 # side effect of setting IFS to empty, thus disabling word splitting.)
22509 # Quoting is to prevent editors from complaining about space-tab.
22510 as_nl='
22512 export as_nl
22513 IFS=" "" $as_nl"
22515 PS1='$ '
22516 PS2='> '
22517 PS4='+ '
22519 # Ensure predictable behavior from utilities with locale-dependent output.
22520 LC_ALL=C
22521 export LC_ALL
22522 LANGUAGE=C
22523 export LANGUAGE
22525 # We cannot yet rely on "unset" to work, but we need these variables
22526 # to be unset--not just set to an empty or harmless value--now, to
22527 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
22528 # also avoids known problems related to "unset" and subshell syntax
22529 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
22530 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
22531 do eval test \${$as_var+y} \
22532 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
22533 done
22535 # Ensure that fds 0, 1, and 2 are open.
22536 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
22537 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
22538 if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
22540 # The user is always right.
22541 if ${PATH_SEPARATOR+false} :; then
22542 PATH_SEPARATOR=:
22543 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
22544 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
22545 PATH_SEPARATOR=';'
22550 # Find who we are. Look in the path if we contain no directory separator.
22551 as_myself=
22552 case $0 in #((
22553 *[\\/]* ) as_myself=$0 ;;
22554 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22555 for as_dir in $PATH
22557 IFS=$as_save_IFS
22558 case $as_dir in #(((
22559 '') as_dir=./ ;;
22560 */) ;;
22561 *) as_dir=$as_dir/ ;;
22562 esac
22563 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
22564 done
22565 IFS=$as_save_IFS
22568 esac
22569 # We did not find ourselves, most probably we were run as `sh COMMAND'
22570 # in which case we are not to be found in the path.
22571 if test "x$as_myself" = x; then
22572 as_myself=$0
22574 if test ! -f "$as_myself"; then
22575 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
22576 exit 1
22581 # as_fn_error STATUS ERROR [LINENO LOG_FD]
22582 # ----------------------------------------
22583 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
22584 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
22585 # script with STATUS, using 1 if that was 0.
22586 as_fn_error ()
22588 as_status=$1; test $as_status -eq 0 && as_status=1
22589 if test "$4"; then
22590 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
22591 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
22593 printf "%s\n" "$as_me: error: $2" >&2
22594 as_fn_exit $as_status
22595 } # as_fn_error
22599 # as_fn_set_status STATUS
22600 # -----------------------
22601 # Set $? to STATUS, without forking.
22602 as_fn_set_status ()
22604 return $1
22605 } # as_fn_set_status
22607 # as_fn_exit STATUS
22608 # -----------------
22609 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
22610 as_fn_exit ()
22612 set +e
22613 as_fn_set_status $1
22614 exit $1
22615 } # as_fn_exit
22617 # as_fn_unset VAR
22618 # ---------------
22619 # Portably unset VAR.
22620 as_fn_unset ()
22622 { eval $1=; unset $1;}
22624 as_unset=as_fn_unset
22626 # as_fn_append VAR VALUE
22627 # ----------------------
22628 # Append the text in VALUE to the end of the definition contained in VAR. Take
22629 # advantage of any shell optimizations that allow amortized linear growth over
22630 # repeated appends, instead of the typical quadratic growth present in naive
22631 # implementations.
22632 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
22633 then :
22634 eval 'as_fn_append ()
22636 eval $1+=\$2
22638 else $as_nop
22639 as_fn_append ()
22641 eval $1=\$$1\$2
22643 fi # as_fn_append
22645 # as_fn_arith ARG...
22646 # ------------------
22647 # Perform arithmetic evaluation on the ARGs, and store the result in the
22648 # global $as_val. Take advantage of shells that can avoid forks. The arguments
22649 # must be portable across $(()) and expr.
22650 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
22651 then :
22652 eval 'as_fn_arith ()
22654 as_val=$(( $* ))
22656 else $as_nop
22657 as_fn_arith ()
22659 as_val=`expr "$@" || test $? -eq 1`
22661 fi # as_fn_arith
22664 if expr a : '\(a\)' >/dev/null 2>&1 &&
22665 test "X`expr 00001 : '.*\(...\)'`" = X001; then
22666 as_expr=expr
22667 else
22668 as_expr=false
22671 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
22672 as_basename=basename
22673 else
22674 as_basename=false
22677 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
22678 as_dirname=dirname
22679 else
22680 as_dirname=false
22683 as_me=`$as_basename -- "$0" ||
22684 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22685 X"$0" : 'X\(//\)$' \| \
22686 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
22687 printf "%s\n" X/"$0" |
22688 sed '/^.*\/\([^/][^/]*\)\/*$/{
22689 s//\1/
22692 /^X\/\(\/\/\)$/{
22693 s//\1/
22696 /^X\/\(\/\).*/{
22697 s//\1/
22700 s/.*/./; q'`
22702 # Avoid depending upon Character Ranges.
22703 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
22704 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22705 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
22706 as_cr_digits='0123456789'
22707 as_cr_alnum=$as_cr_Letters$as_cr_digits
22710 # Determine whether it's possible to make 'echo' print without a newline.
22711 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
22712 # for compatibility with existing Makefiles.
22713 ECHO_C= ECHO_N= ECHO_T=
22714 case `echo -n x` in #(((((
22715 -n*)
22716 case `echo 'xy\c'` in
22717 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
22718 xy) ECHO_C='\c';;
22719 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
22720 ECHO_T=' ';;
22721 esac;;
22723 ECHO_N='-n';;
22724 esac
22726 # For backward compatibility with old third-party macros, we provide
22727 # the shell variables $as_echo and $as_echo_n. New code should use
22728 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
22729 as_echo='printf %s\n'
22730 as_echo_n='printf %s'
22732 rm -f conf$$ conf$$.exe conf$$.file
22733 if test -d conf$$.dir; then
22734 rm -f conf$$.dir/conf$$.file
22735 else
22736 rm -f conf$$.dir
22737 mkdir conf$$.dir 2>/dev/null
22739 if (echo >conf$$.file) 2>/dev/null; then
22740 if ln -s conf$$.file conf$$ 2>/dev/null; then
22741 as_ln_s='ln -s'
22742 # ... but there are two gotchas:
22743 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
22744 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
22745 # In both cases, we have to default to `cp -pR'.
22746 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
22747 as_ln_s='cp -pR'
22748 elif ln conf$$.file conf$$ 2>/dev/null; then
22749 as_ln_s=ln
22750 else
22751 as_ln_s='cp -pR'
22753 else
22754 as_ln_s='cp -pR'
22756 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
22757 rmdir conf$$.dir 2>/dev/null
22760 # as_fn_mkdir_p
22761 # -------------
22762 # Create "$as_dir" as a directory, including parents if necessary.
22763 as_fn_mkdir_p ()
22766 case $as_dir in #(
22767 -*) as_dir=./$as_dir;;
22768 esac
22769 test -d "$as_dir" || eval $as_mkdir_p || {
22770 as_dirs=
22771 while :; do
22772 case $as_dir in #(
22773 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
22774 *) as_qdir=$as_dir;;
22775 esac
22776 as_dirs="'$as_qdir' $as_dirs"
22777 as_dir=`$as_dirname -- "$as_dir" ||
22778 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22779 X"$as_dir" : 'X\(//\)[^/]' \| \
22780 X"$as_dir" : 'X\(//\)$' \| \
22781 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22782 printf "%s\n" X"$as_dir" |
22783 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22784 s//\1/
22787 /^X\(\/\/\)[^/].*/{
22788 s//\1/
22791 /^X\(\/\/\)$/{
22792 s//\1/
22795 /^X\(\/\).*/{
22796 s//\1/
22799 s/.*/./; q'`
22800 test -d "$as_dir" && break
22801 done
22802 test -z "$as_dirs" || eval "mkdir $as_dirs"
22803 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
22806 } # as_fn_mkdir_p
22807 if mkdir -p . 2>/dev/null; then
22808 as_mkdir_p='mkdir -p "$as_dir"'
22809 else
22810 test -d ./-p && rmdir ./-p
22811 as_mkdir_p=false
22815 # as_fn_executable_p FILE
22816 # -----------------------
22817 # Test if FILE is an executable regular file.
22818 as_fn_executable_p ()
22820 test -f "$1" && test -x "$1"
22821 } # as_fn_executable_p
22822 as_test_x='test -x'
22823 as_executable_p=as_fn_executable_p
22825 # Sed expression to map a string onto a valid CPP name.
22826 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
22828 # Sed expression to map a string onto a valid variable name.
22829 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
22832 exec 6>&1
22833 ## ----------------------------------- ##
22834 ## Main body of $CONFIG_STATUS script. ##
22835 ## ----------------------------------- ##
22836 _ASEOF
22837 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
22839 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22840 # Save the log message, to keep $0 and so on meaningful, and to
22841 # report actual input values of CONFIG_FILES etc. instead of their
22842 # values after options handling.
22843 ac_log="
22844 This file was extended by Wine $as_me 8.13, which was
22845 generated by GNU Autoconf 2.71. Invocation command line was
22847 CONFIG_FILES = $CONFIG_FILES
22848 CONFIG_HEADERS = $CONFIG_HEADERS
22849 CONFIG_LINKS = $CONFIG_LINKS
22850 CONFIG_COMMANDS = $CONFIG_COMMANDS
22851 $ $0 $@
22853 on `(hostname || uname -n) 2>/dev/null | sed 1q`
22856 _ACEOF
22859 case $ac_config_headers in *"
22860 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
22861 esac
22864 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22865 # Files that config.status was made for.
22866 config_headers="$ac_config_headers"
22867 config_links="$ac_config_links"
22868 config_commands="$ac_config_commands"
22870 _ACEOF
22872 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22873 ac_cs_usage="\
22874 \`$as_me' instantiates files and other configuration actions
22875 from templates according to the current configuration. Unless the files
22876 and actions are specified as TAGs, all are instantiated by default.
22878 Usage: $0 [OPTION]... [TAG]...
22880 -h, --help print this help, then exit
22881 -V, --version print version number and configuration settings, then exit
22882 --config print configuration, then exit
22883 -q, --quiet, --silent
22884 do not print progress messages
22885 -d, --debug don't remove temporary files
22886 --recheck update $as_me by reconfiguring in the same conditions
22887 --header=FILE[:TEMPLATE]
22888 instantiate the configuration header FILE
22890 Configuration headers:
22891 $config_headers
22893 Configuration links:
22894 $config_links
22896 Configuration commands:
22897 $config_commands
22899 Report bugs to <wine-devel@winehq.org>.
22900 Wine home page: <https://www.winehq.org>."
22902 _ACEOF
22903 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
22904 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
22905 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22906 ac_cs_config='$ac_cs_config_escaped'
22907 ac_cs_version="\\
22908 Wine config.status 8.13
22909 configured by $0, generated by GNU Autoconf 2.71,
22910 with options \\"\$ac_cs_config\\"
22912 Copyright (C) 2021 Free Software Foundation, Inc.
22913 This config.status script is free software; the Free Software Foundation
22914 gives unlimited permission to copy, distribute and modify it."
22916 ac_pwd='$ac_pwd'
22917 srcdir='$srcdir'
22918 test -n "\$AWK" || AWK=awk
22919 _ACEOF
22921 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22922 # The default lists apply if the user does not specify any file.
22923 ac_need_defaults=:
22924 while test $# != 0
22926 case $1 in
22927 --*=?*)
22928 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22929 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
22930 ac_shift=:
22932 --*=)
22933 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22934 ac_optarg=
22935 ac_shift=:
22938 ac_option=$1
22939 ac_optarg=$2
22940 ac_shift=shift
22942 esac
22944 case $ac_option in
22945 # Handling of the options.
22946 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
22947 ac_cs_recheck=: ;;
22948 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
22949 printf "%s\n" "$ac_cs_version"; exit ;;
22950 --config | --confi | --conf | --con | --co | --c )
22951 printf "%s\n" "$ac_cs_config"; exit ;;
22952 --debug | --debu | --deb | --de | --d | -d )
22953 debug=: ;;
22954 --header | --heade | --head | --hea )
22955 $ac_shift
22956 case $ac_optarg in
22957 *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
22958 esac
22959 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
22960 ac_need_defaults=false;;
22961 --he | --h)
22962 # Conflict between --help and --header
22963 as_fn_error $? "ambiguous option: \`$1'
22964 Try \`$0 --help' for more information.";;
22965 --help | --hel | -h )
22966 printf "%s\n" "$ac_cs_usage"; exit ;;
22967 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
22968 | -silent | --silent | --silen | --sile | --sil | --si | --s)
22969 ac_cs_silent=: ;;
22971 # This is an error.
22972 -*) as_fn_error $? "unrecognized option: \`$1'
22973 Try \`$0 --help' for more information." ;;
22975 *) as_fn_append ac_config_targets " $1"
22976 ac_need_defaults=false ;;
22978 esac
22979 shift
22980 done
22982 ac_configure_extra_args=
22984 if $ac_cs_silent; then
22985 exec 6>/dev/null
22986 ac_configure_extra_args="$ac_configure_extra_args --silent"
22989 _ACEOF
22990 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22991 if \$ac_cs_recheck; then
22992 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
22993 shift
22994 \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
22995 CONFIG_SHELL='$SHELL'
22996 export CONFIG_SHELL
22997 exec "\$@"
23000 _ACEOF
23001 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23002 exec 5>>config.log
23004 echo
23005 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
23006 ## Running $as_me. ##
23007 _ASBOX
23008 printf "%s\n" "$ac_log"
23009 } >&5
23011 _ACEOF
23012 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23014 # INIT-COMMANDS
23016 wine_fn_output_makedep ()
23018 as_dir=tools; as_fn_mkdir_p
23019 $CC -I${wine_srcdir}tools -Iinclude -I${wine_srcdir}include -D__WINESRC__ -DWINE_UNIX_LIB $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext ${wine_srcdir}tools/makedep.c $LDFLAGS
23021 wine_fn_output_makefile ()
23023 cat <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && "$wine_makedep"$makedep_flags && return
23024 # This Makefile understands the following targets:
23026 # all (default): build wine
23027 # clean: remove all intermediate files
23028 # distclean: also remove all files created by configure
23029 # test: run tests
23030 # testclean: clean test results to force running all tests again
23031 # install-lib: install libraries needed to run applications
23032 # install-dev: install development environment
23033 # install: install everything
23034 # uninstall: uninstall everything
23035 # ctags: create a tags file for vim and others.
23036 # etags: create a TAGS file for Emacs.
23038 SHELL = $SHELL
23039 PATH_SEPARATOR = $PATH_SEPARATOR
23040 PACKAGE_NAME = $PACKAGE_NAME
23041 PACKAGE_TARNAME = $PACKAGE_TARNAME
23042 PACKAGE_VERSION = $PACKAGE_VERSION
23043 PACKAGE_STRING = $PACKAGE_STRING
23044 PACKAGE_BUGREPORT = $PACKAGE_BUGREPORT
23045 PACKAGE_URL = $PACKAGE_URL
23046 exec_prefix = $exec_prefix
23047 prefix = $prefix
23048 program_transform_name = $program_transform_name
23049 bindir = $bindir
23050 sbindir = $sbindir
23051 libexecdir = $libexecdir
23052 datarootdir = $datarootdir
23053 datadir = $datadir
23054 sysconfdir = $sysconfdir
23055 sharedstatedir = $sharedstatedir
23056 localstatedir = $localstatedir
23057 runstatedir = $runstatedir
23058 includedir = $includedir
23059 oldincludedir = $oldincludedir
23060 docdir = $docdir
23061 infodir = $infodir
23062 htmldir = $htmldir
23063 dvidir = $dvidir
23064 pdfdir = $pdfdir
23065 psdir = $psdir
23066 libdir = $libdir
23067 localedir = $localedir
23068 mandir = $mandir
23069 DEFS = $DEFS
23070 ECHO_C = $ECHO_C
23071 ECHO_N = $ECHO_N
23072 ECHO_T = $ECHO_T
23073 LIBS = $LIBS
23074 build_alias = $build_alias
23075 host_alias = $host_alias
23076 target_alias = $target_alias
23077 system_dllpath = $system_dllpath
23078 build = $build
23079 build_cpu = $build_cpu
23080 build_vendor = $build_vendor
23081 build_os = $build_os
23082 host = $host
23083 host_cpu = $host_cpu
23084 host_vendor = $host_vendor
23085 host_os = $host_os
23086 dlldir = $dlldir
23087 fontdir = $fontdir
23088 nlsdir = $nlsdir
23089 srcdir = $srcdir
23090 SET_MAKE = $SET_MAKE
23091 CC = $CC
23092 CFLAGS = $CFLAGS
23093 LDFLAGS = $LDFLAGS
23094 CPPFLAGS = $CPPFLAGS
23095 ac_ct_CC = $ac_ct_CC
23096 EXEEXT = $EXEEXT
23097 OBJEXT = $OBJEXT
23098 CXX = $CXX
23099 CXXFLAGS = $CXXFLAGS
23100 ac_ct_CXX = $ac_ct_CXX
23101 CPPBIN = $CPPBIN
23102 LD = $LD
23103 TARGETFLAGS = $TARGETFLAGS
23104 toolsext = $toolsext
23105 HOST_ARCH = $HOST_ARCH
23106 aarch64_CC = $aarch64_CC
23107 aarch64_CFLAGS = $aarch64_CFLAGS
23108 aarch64_EXTRACFLAGS = $aarch64_EXTRACFLAGS
23109 aarch64_LDFLAGS = $aarch64_LDFLAGS
23110 aarch64_DEBUG = $aarch64_DEBUG
23111 aarch64_TARGET = $aarch64_TARGET
23112 aarch64_DELAYLOADFLAG = $aarch64_DELAYLOADFLAG
23113 aarch64_DISABLED_SUBDIRS = $aarch64_DISABLED_SUBDIRS
23114 arm_CC = $arm_CC
23115 arm_CFLAGS = $arm_CFLAGS
23116 arm_EXTRACFLAGS = $arm_EXTRACFLAGS
23117 arm_LDFLAGS = $arm_LDFLAGS
23118 arm_DEBUG = $arm_DEBUG
23119 arm_TARGET = $arm_TARGET
23120 arm_DELAYLOADFLAG = $arm_DELAYLOADFLAG
23121 arm_DISABLED_SUBDIRS = $arm_DISABLED_SUBDIRS
23122 i386_CC = $i386_CC
23123 i386_CFLAGS = $i386_CFLAGS
23124 i386_EXTRACFLAGS = $i386_EXTRACFLAGS
23125 i386_LDFLAGS = $i386_LDFLAGS
23126 i386_DEBUG = $i386_DEBUG
23127 i386_TARGET = $i386_TARGET
23128 i386_DELAYLOADFLAG = $i386_DELAYLOADFLAG
23129 i386_DISABLED_SUBDIRS = $i386_DISABLED_SUBDIRS
23130 x86_64_CC = $x86_64_CC
23131 x86_64_CFLAGS = $x86_64_CFLAGS
23132 x86_64_EXTRACFLAGS = $x86_64_EXTRACFLAGS
23133 x86_64_LDFLAGS = $x86_64_LDFLAGS
23134 x86_64_DEBUG = $x86_64_DEBUG
23135 x86_64_TARGET = $x86_64_TARGET
23136 x86_64_DELAYLOADFLAG = $x86_64_DELAYLOADFLAG
23137 x86_64_DISABLED_SUBDIRS = $x86_64_DISABLED_SUBDIRS
23138 toolsdir = $toolsdir
23139 MAKEDEP = $MAKEDEP
23140 RUNTESTFLAGS = $RUNTESTFLAGS
23141 SED_CMD = $SED_CMD
23142 FLEX = $FLEX
23143 BISON = $BISON
23144 AR = $AR
23145 ac_ct_AR = $ac_ct_AR
23146 STRIP = $STRIP
23147 RANLIB = $RANLIB
23148 LN_S = $LN_S
23149 GREP = $GREP
23150 EGREP = $EGREP
23151 LDCONFIG = $LDCONFIG
23152 MSGFMT = $MSGFMT
23153 PKG_CONFIG = $PKG_CONFIG
23154 FONTFORGE = $FONTFORGE
23155 RSVG = $RSVG
23156 CONVERT = $CONVERT
23157 ICOTOOL = $ICOTOOL
23158 I386_LIBS = $I386_LIBS
23159 OPENGL_LIBS = $OPENGL_LIBS
23160 DLLFLAGS = $DLLFLAGS
23161 LDDLLFLAGS = $LDDLLFLAGS
23162 LDEXECFLAGS = $LDEXECFLAGS
23163 EXTRACFLAGS = $EXTRACFLAGS
23164 UNIXDLLFLAGS = $UNIXDLLFLAGS
23165 UNIXLDFLAGS = $UNIXLDFLAGS
23166 TOP_INSTALL_LIB = $TOP_INSTALL_LIB
23167 TOP_INSTALL_DEV = $TOP_INSTALL_DEV
23168 WINELOADER_LDFLAGS = $WINELOADER_LDFLAGS
23169 WINEPRELOADER_LDFLAGS = $WINEPRELOADER_LDFLAGS
23170 DLLEXT = $DLLEXT
23171 LDD = $LDD
23172 OTOOL = $OTOOL
23173 READELF = $READELF
23174 SUBDIRS = $SUBDIRS
23175 DISABLED_SUBDIRS = $DISABLED_SUBDIRS
23176 CONFIGURE_TARGETS = $CONFIGURE_TARGETS
23177 CARBON_LIBS = $CARBON_LIBS
23178 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
23179 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
23180 IOKIT_LIBS = $IOKIT_LIBS
23181 METAL_LIBS = $METAL_LIBS
23182 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
23183 CORESERVICES_LIBS = $CORESERVICES_LIBS
23184 APPKIT_LIBS = $APPKIT_LIBS
23185 SECURITY_LIBS = $SECURITY_LIBS
23186 SYSTEMCONFIGURATION_LIBS = $SYSTEMCONFIGURATION_LIBS
23187 COREAUDIO_LIBS = $COREAUDIO_LIBS
23188 OPENCL_LIBS = $OPENCL_LIBS
23189 OBJC = $OBJC
23190 OBJCFLAGS = $OBJCFLAGS
23191 ac_ct_OBJC = $ac_ct_OBJC
23192 WINELOADER_DEPENDS = $WINELOADER_DEPENDS
23193 PE_ARCHS = $PE_ARCHS
23194 MINGW_PKG_CONFIG = $MINGW_PKG_CONFIG
23195 FAUDIO_PE_CFLAGS = $FAUDIO_PE_CFLAGS
23196 FAUDIO_PE_LIBS = $FAUDIO_PE_LIBS
23197 GSM_PE_CFLAGS = $GSM_PE_CFLAGS
23198 GSM_PE_LIBS = $GSM_PE_LIBS
23199 JPEG_PE_CFLAGS = $JPEG_PE_CFLAGS
23200 JPEG_PE_LIBS = $JPEG_PE_LIBS
23201 JXR_PE_CFLAGS = $JXR_PE_CFLAGS
23202 JXR_PE_LIBS = $JXR_PE_LIBS
23203 LCMS2_PE_CFLAGS = $LCMS2_PE_CFLAGS
23204 LCMS2_PE_LIBS = $LCMS2_PE_LIBS
23205 LDAP_PE_CFLAGS = $LDAP_PE_CFLAGS
23206 LDAP_PE_LIBS = $LDAP_PE_LIBS
23207 MPG123_PE_CFLAGS = $MPG123_PE_CFLAGS
23208 MPG123_PE_LIBS = $MPG123_PE_LIBS
23209 MUSL_PE_CFLAGS = $MUSL_PE_CFLAGS
23210 MUSL_PE_LIBS = $MUSL_PE_LIBS
23211 PNG_PE_CFLAGS = $PNG_PE_CFLAGS
23212 PNG_PE_LIBS = $PNG_PE_LIBS
23213 TIFF_PE_CFLAGS = $TIFF_PE_CFLAGS
23214 TIFF_PE_LIBS = $TIFF_PE_LIBS
23215 VKD3D_PE_CFLAGS = $VKD3D_PE_CFLAGS
23216 VKD3D_PE_LIBS = $VKD3D_PE_LIBS
23217 XML2_PE_CFLAGS = $XML2_PE_CFLAGS
23218 XML2_PE_LIBS = $XML2_PE_LIBS
23219 XSLT_PE_CFLAGS = $XSLT_PE_CFLAGS
23220 XSLT_PE_LIBS = $XSLT_PE_LIBS
23221 ZLIB_PE_CFLAGS = $ZLIB_PE_CFLAGS
23222 ZLIB_PE_LIBS = $ZLIB_PE_LIBS
23223 ZYDIS_PE_CFLAGS = $ZYDIS_PE_CFLAGS
23224 ZYDIS_PE_LIBS = $ZYDIS_PE_LIBS
23225 PTHREAD_LIBS = $PTHREAD_LIBS
23226 XMKMF = $XMKMF
23227 CPP = $CPP
23228 X_CFLAGS = $X_CFLAGS
23229 X_PRE_LIBS = $X_PRE_LIBS
23230 X_LIBS = $X_LIBS
23231 X_EXTRA_LIBS = $X_EXTRA_LIBS
23232 WAYLAND_CLIENT_CFLAGS = $WAYLAND_CLIENT_CFLAGS
23233 WAYLAND_CLIENT_LIBS = $WAYLAND_CLIENT_LIBS
23234 WAYLAND_SCANNER = $WAYLAND_SCANNER
23235 PCAP_LIBS = $PCAP_LIBS
23236 PCSCLITE_LIBS = $PCSCLITE_LIBS
23237 INOTIFY_CFLAGS = $INOTIFY_CFLAGS
23238 INOTIFY_LIBS = $INOTIFY_LIBS
23239 DBUS_CFLAGS = $DBUS_CFLAGS
23240 DBUS_LIBS = $DBUS_LIBS
23241 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
23242 GNUTLS_LIBS = $GNUTLS_LIBS
23243 SANE_CFLAGS = $SANE_CFLAGS
23244 SANE_LIBS = $SANE_LIBS
23245 USB_CFLAGS = $USB_CFLAGS
23246 USB_LIBS = $USB_LIBS
23247 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
23248 GPHOTO2_LIBS = $GPHOTO2_LIBS
23249 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
23250 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
23251 RESOLV_LIBS = $RESOLV_LIBS
23252 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
23253 FREETYPE_LIBS = $FREETYPE_LIBS
23254 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
23255 PULSE_CFLAGS = $PULSE_CFLAGS
23256 PULSE_LIBS = $PULSE_LIBS
23257 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
23258 GSTREAMER_LIBS = $GSTREAMER_LIBS
23259 ALSA_LIBS = $ALSA_LIBS
23260 OSS4_CFLAGS = $OSS4_CFLAGS
23261 OSS4_LIBS = $OSS4_LIBS
23262 UDEV_CFLAGS = $UDEV_CFLAGS
23263 UDEV_LIBS = $UDEV_LIBS
23264 UNWIND_CFLAGS = $UNWIND_CFLAGS
23265 UNWIND_LIBS = $UNWIND_LIBS
23266 SDL2_CFLAGS = $SDL2_CFLAGS
23267 SDL2_LIBS = $SDL2_LIBS
23268 CAPI20_CFLAGS = $CAPI20_CFLAGS
23269 CAPI20_LIBS = $CAPI20_LIBS
23270 CUPS_CFLAGS = $CUPS_CFLAGS
23271 CUPS_LIBS = $CUPS_LIBS
23272 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
23273 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
23274 KRB5_CFLAGS = $KRB5_CFLAGS
23275 KRB5_LIBS = $KRB5_LIBS
23276 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
23277 GSSAPI_LIBS = $GSSAPI_LIBS
23278 PROCSTAT_LIBS = $PROCSTAT_LIBS
23279 NETAPI_CFLAGS = $NETAPI_CFLAGS
23280 NETAPI_LIBS = $NETAPI_LIBS
23281 MSVCRTFLAGS = $MSVCRTFLAGS
23282 DELAYLOADFLAG = $DELAYLOADFLAG
23283 WINELOADER_PROGRAMS = $WINELOADER_PROGRAMS
23284 RT_LIBS = $RT_LIBS
23285 TAGSFLAGS = $TAGSFLAGS
23286 LIBOBJS = $LIBOBJS
23287 LTLIBOBJS = $LTLIBOBJS
23288 $SET_MAKE
23289 $wine_rules
23290 _WINE_EOF
23291 as_fn_error $? "could not create Makefile" "$LINENO" 5
23294 _ACEOF
23296 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23298 # Handling of arguments.
23299 for ac_config_target in $ac_config_targets
23301 case $ac_config_target in
23302 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
23303 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
23304 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
23305 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
23306 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
23307 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
23309 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
23310 esac
23311 done
23314 # If the user did not use the arguments to specify the items to instantiate,
23315 # then the envvar interface is used. Set only those that are not.
23316 # We use the long form for the default assignment because of an extremely
23317 # bizarre bug on SunOS 4.1.3.
23318 if $ac_need_defaults; then
23319 test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
23320 test ${CONFIG_LINKS+y} || CONFIG_LINKS=$config_links
23321 test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
23324 # Have a temporary directory for convenience. Make it in the build tree
23325 # simply because there is no reason against having it here, and in addition,
23326 # creating and moving files from /tmp can sometimes cause problems.
23327 # Hook for its removal unless debugging.
23328 # Note that there is a small window in which the directory will not be cleaned:
23329 # after its creation but before its name has been assigned to `$tmp'.
23330 $debug ||
23332 tmp= ac_tmp=
23333 trap 'exit_status=$?
23334 : "${ac_tmp:=$tmp}"
23335 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
23337 trap 'as_fn_exit 1' 1 2 13 15
23339 # Create a (secure) tmp directory for tmp files.
23342 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
23343 test -d "$tmp"
23344 } ||
23346 tmp=./conf$$-$RANDOM
23347 (umask 077 && mkdir "$tmp")
23348 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
23349 ac_tmp=$tmp
23351 # Set up the scripts for CONFIG_HEADERS section.
23352 # No need to generate them if there are no CONFIG_HEADERS.
23353 # This happens for instance with `./config.status Makefile'.
23354 if test -n "$CONFIG_HEADERS"; then
23355 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
23356 BEGIN {
23357 _ACEOF
23359 # Transform confdefs.h into an awk script `defines.awk', embedded as
23360 # here-document in config.status, that substitutes the proper values into
23361 # config.h.in to produce config.h.
23363 # Create a delimiter string that does not exist in confdefs.h, to ease
23364 # handling of long lines.
23365 ac_delim='%!_!# '
23366 for ac_last_try in false false :; do
23367 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
23368 if test -z "$ac_tt"; then
23369 break
23370 elif $ac_last_try; then
23371 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
23372 else
23373 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
23375 done
23377 # For the awk script, D is an array of macro values keyed by name,
23378 # likewise P contains macro parameters if any. Preserve backslash
23379 # newline sequences.
23381 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
23382 sed -n '
23383 s/.\{148\}/&'"$ac_delim"'/g
23384 t rset
23385 :rset
23386 s/^[ ]*#[ ]*define[ ][ ]*/ /
23387 t def
23389 :def
23390 s/\\$//
23391 t bsnl
23392 s/["\\]/\\&/g
23393 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
23394 D["\1"]=" \3"/p
23395 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
23397 :bsnl
23398 s/["\\]/\\&/g
23399 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
23400 D["\1"]=" \3\\\\\\n"\\/p
23401 t cont
23402 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
23403 t cont
23405 :cont
23407 s/.\{148\}/&'"$ac_delim"'/g
23408 t clear
23409 :clear
23410 s/\\$//
23411 t bsnlc
23412 s/["\\]/\\&/g; s/^/"/; s/$/"/p
23414 :bsnlc
23415 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
23416 b cont
23417 ' <confdefs.h | sed '
23418 s/'"$ac_delim"'/"\\\
23419 "/g' >>$CONFIG_STATUS || ac_write_fail=1
23421 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23422 for (key in D) D_is_set[key] = 1
23423 FS = "\a"
23425 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
23426 line = \$ 0
23427 split(line, arg, " ")
23428 if (arg[1] == "#") {
23429 defundef = arg[2]
23430 mac1 = arg[3]
23431 } else {
23432 defundef = substr(arg[1], 2)
23433 mac1 = arg[2]
23435 split(mac1, mac2, "(") #)
23436 macro = mac2[1]
23437 prefix = substr(line, 1, index(line, defundef) - 1)
23438 if (D_is_set[macro]) {
23439 # Preserve the white space surrounding the "#".
23440 print prefix "define", macro P[macro] D[macro]
23441 next
23442 } else {
23443 # Replace #undef with comments. This is necessary, for example,
23444 # in the case of _POSIX_SOURCE, which is predefined and required
23445 # on some systems where configure will not decide to define it.
23446 if (defundef == "undef") {
23447 print "/*", prefix defundef, macro, "*/"
23448 next
23452 { print }
23453 _ACAWK
23454 _ACEOF
23455 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23456 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
23457 fi # test -n "$CONFIG_HEADERS"
23460 eval set X " :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
23461 shift
23462 for ac_tag
23464 case $ac_tag in
23465 :[FHLC]) ac_mode=$ac_tag; continue;;
23466 esac
23467 case $ac_mode$ac_tag in
23468 :[FHL]*:*);;
23469 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
23470 :[FH]-) ac_tag=-:-;;
23471 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
23472 esac
23473 ac_save_IFS=$IFS
23474 IFS=:
23475 set x $ac_tag
23476 IFS=$ac_save_IFS
23477 shift
23478 ac_file=$1
23479 shift
23481 case $ac_mode in
23482 :L) ac_source=$1;;
23483 :[FH])
23484 ac_file_inputs=
23485 for ac_f
23487 case $ac_f in
23488 -) ac_f="$ac_tmp/stdin";;
23489 *) # Look for the file first in the build tree, then in the source tree
23490 # (if the path is not absolute). The absolute path cannot be DOS-style,
23491 # because $ac_f cannot contain `:'.
23492 test -f "$ac_f" ||
23493 case $ac_f in
23494 [\\/$]*) false;;
23495 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
23496 esac ||
23497 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
23498 esac
23499 case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
23500 as_fn_append ac_file_inputs " '$ac_f'"
23501 done
23503 # Let's still pretend it is `configure' which instantiates (i.e., don't
23504 # use $as_me), people would be surprised to read:
23505 # /* config.h. Generated by config.status. */
23506 configure_input='Generated from '`
23507 printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
23508 `' by configure.'
23509 if test x"$ac_file" != x-; then
23510 configure_input="$ac_file. $configure_input"
23511 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
23512 printf "%s\n" "$as_me: creating $ac_file" >&6;}
23514 # Neutralize special characters interpreted by sed in replacement strings.
23515 case $configure_input in #(
23516 *\&* | *\|* | *\\* )
23517 ac_sed_conf_input=`printf "%s\n" "$configure_input" |
23518 sed 's/[\\\\&|]/\\\\&/g'`;; #(
23519 *) ac_sed_conf_input=$configure_input;;
23520 esac
23522 case $ac_tag in
23523 *:-:* | *:-) cat >"$ac_tmp/stdin" \
23524 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
23525 esac
23527 esac
23529 ac_dir=`$as_dirname -- "$ac_file" ||
23530 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23531 X"$ac_file" : 'X\(//\)[^/]' \| \
23532 X"$ac_file" : 'X\(//\)$' \| \
23533 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
23534 printf "%s\n" X"$ac_file" |
23535 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23536 s//\1/
23539 /^X\(\/\/\)[^/].*/{
23540 s//\1/
23543 /^X\(\/\/\)$/{
23544 s//\1/
23547 /^X\(\/\).*/{
23548 s//\1/
23551 s/.*/./; q'`
23552 as_dir="$ac_dir"; as_fn_mkdir_p
23553 ac_builddir=.
23555 case "$ac_dir" in
23556 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
23558 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
23559 # A ".." for each directory in $ac_dir_suffix.
23560 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
23561 case $ac_top_builddir_sub in
23562 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
23563 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
23564 esac ;;
23565 esac
23566 ac_abs_top_builddir=$ac_pwd
23567 ac_abs_builddir=$ac_pwd$ac_dir_suffix
23568 # for backward compatibility:
23569 ac_top_builddir=$ac_top_build_prefix
23571 case $srcdir in
23572 .) # We are building in place.
23573 ac_srcdir=.
23574 ac_top_srcdir=$ac_top_builddir_sub
23575 ac_abs_top_srcdir=$ac_pwd ;;
23576 [\\/]* | ?:[\\/]* ) # Absolute name.
23577 ac_srcdir=$srcdir$ac_dir_suffix;
23578 ac_top_srcdir=$srcdir
23579 ac_abs_top_srcdir=$srcdir ;;
23580 *) # Relative name.
23581 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
23582 ac_top_srcdir=$ac_top_build_prefix$srcdir
23583 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
23584 esac
23585 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
23588 case $ac_mode in
23592 # CONFIG_HEADER
23594 if test x"$ac_file" != x-; then
23596 printf "%s\n" "/* $configure_input */" >&1 \
23597 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
23598 } >"$ac_tmp/config.h" \
23599 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
23600 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
23601 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
23602 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
23603 else
23604 rm -f "$ac_file"
23605 mv "$ac_tmp/config.h" "$ac_file" \
23606 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
23608 else
23609 printf "%s\n" "/* $configure_input */" >&1 \
23610 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
23611 || as_fn_error $? "could not create -" "$LINENO" 5
23616 # CONFIG_LINK
23619 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
23621 else
23622 # Prefer the file from the source tree if names are identical.
23623 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
23624 ac_source=$srcdir/$ac_source
23627 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
23628 printf "%s\n" "$as_me: linking $ac_source to $ac_file" >&6;}
23630 if test ! -r "$ac_source"; then
23631 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
23633 rm -f "$ac_file"
23635 # Try a relative symlink, then a hard link, then a copy.
23636 case $ac_source in
23637 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
23638 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
23639 esac
23640 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
23641 ln "$ac_source" "$ac_file" 2>/dev/null ||
23642 cp -p "$ac_source" "$ac_file" ||
23643 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
23646 :C) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
23647 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
23649 esac
23652 case $ac_file$ac_mode in
23653 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
23654 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
23655 "Makefile":C) wine_fn_output_makefile Makefile ;;
23657 esac
23658 done # for ac_tag
23661 as_fn_exit 0
23662 _ACEOF
23663 ac_clean_files=$ac_clean_files_save
23665 test $ac_write_fail = 0 ||
23666 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
23669 # configure is writing to config.log, and then calls config.status.
23670 # config.status does its own redirection, appending to config.log.
23671 # Unfortunately, on DOS this fails, as config.log is still kept open
23672 # by configure, so config.status won't be able to write to it; its
23673 # output is simply discarded. So we exec the FD to /dev/null,
23674 # effectively closing config.log, so it can be properly (re)opened and
23675 # appended to by config.status. When coming back to configure, we
23676 # need to make the FD available again.
23677 if test "$no_create" != yes; then
23678 ac_cs_success=:
23679 ac_config_status_args=
23680 test "$silent" = yes &&
23681 ac_config_status_args="$ac_config_status_args --quiet"
23682 exec 5>/dev/null
23683 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
23684 exec 5>>config.log
23685 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
23686 # would make configure fail if this is the last instruction.
23687 $ac_cs_success || as_fn_exit 1
23689 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
23690 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
23691 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
23695 if test "$no_create" = "yes"
23696 then
23697 exit 0
23700 ac_save_IFS="$IFS"
23701 if test "x$wine_notices" != x; then
23702 echo >&6
23703 IFS="|"
23704 for msg in $wine_notices; do
23705 IFS="$ac_save_IFS"
23706 if ${msg:+false} :
23707 then :
23709 else $as_nop
23710 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $msg" >&5
23711 printf "%s\n" "$as_me: $msg" >&6;}
23713 done
23715 IFS="|"
23716 for msg in $wine_warnings; do
23717 IFS="$ac_save_IFS"
23718 if ${msg:+false} :
23719 then :
23721 else $as_nop
23722 echo >&2
23723 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
23724 printf "%s\n" "$as_me: WARNING: $msg" >&2;}
23726 done
23727 IFS="$ac_save_IFS"
23729 printf "%s\n" "
23730 $as_me: Finished. Do '${ac_make}' to compile Wine.
23731 " >&6