msvcp140: Add _XGetLastError implementation.
[wine.git] / configure
bloba8993e6c5c831513d27e51ecd4961951d7768c6c
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.71 for Wine 9.0.
5 # Report bugs to <wine-devel@winehq.org>.
8 # Copyright (C) 1992-1996, 1998-2017, 2020-2021 Free Software Foundation,
9 # Inc.
12 # This configure script is free software; the Free Software Foundation
13 # gives unlimited permission to copy, distribute and modify it.
14 ## -------------------- ##
15 ## M4sh Initialization. ##
16 ## -------------------- ##
18 # Be more Bourne compatible
19 DUALCASE=1; export DUALCASE # for MKS sh
20 as_nop=:
21 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
22 then :
23 emulate sh
24 NULLCMD=:
25 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
26 # is contrary to our usage. Disable this feature.
27 alias -g '${1+"$@"}'='"$@"'
28 setopt NO_GLOB_SUBST
29 else $as_nop
30 case `(set -o) 2>/dev/null` in #(
31 *posix*) :
32 set -o posix ;; #(
33 *) :
35 esac
40 # Reset variables that may have inherited troublesome values from
41 # the environment.
43 # IFS needs to be set, to space, tab, and newline, in precisely that order.
44 # (If _AS_PATH_WALK were called with IFS unset, it would have the
45 # side effect of setting IFS to empty, thus disabling word splitting.)
46 # Quoting is to prevent editors from complaining about space-tab.
47 as_nl='
49 export as_nl
50 IFS=" "" $as_nl"
52 PS1='$ '
53 PS2='> '
54 PS4='+ '
56 # Ensure predictable behavior from utilities with locale-dependent output.
57 LC_ALL=C
58 export LC_ALL
59 LANGUAGE=C
60 export LANGUAGE
62 # We cannot yet rely on "unset" to work, but we need these variables
63 # to be unset--not just set to an empty or harmless value--now, to
64 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
65 # also avoids known problems related to "unset" and subshell syntax
66 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
67 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
68 do eval test \${$as_var+y} \
69 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
70 done
72 # Ensure that fds 0, 1, and 2 are open.
73 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
74 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
75 if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
77 # The user is always right.
78 if ${PATH_SEPARATOR+false} :; then
79 PATH_SEPARATOR=:
80 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
81 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
82 PATH_SEPARATOR=';'
87 # Find who we are. Look in the path if we contain no directory separator.
88 as_myself=
89 case $0 in #((
90 *[\\/]* ) as_myself=$0 ;;
91 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
92 for as_dir in $PATH
94 IFS=$as_save_IFS
95 case $as_dir in #(((
96 '') as_dir=./ ;;
97 */) ;;
98 *) as_dir=$as_dir/ ;;
99 esac
100 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
101 done
102 IFS=$as_save_IFS
105 esac
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
109 as_myself=$0
111 if test ! -f "$as_myself"; then
112 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 exit 1
117 # Use a proper internal environment variable to ensure we don't fall
118 # into an infinite loop, continuously re-executing ourselves.
119 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
120 _as_can_reexec=no; export _as_can_reexec;
121 # We cannot yet assume a decent shell, so we have to provide a
122 # neutralization value for shells without unset; and this also
123 # works around shells that cannot unset nonexistent variables.
124 # Preserve -v and -x to the replacement shell.
125 BASH_ENV=/dev/null
126 ENV=/dev/null
127 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
128 case $- in # ((((
129 *v*x* | *x*v* ) as_opts=-vx ;;
130 *v* ) as_opts=-v ;;
131 *x* ) as_opts=-x ;;
132 * ) as_opts= ;;
133 esac
134 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
135 # Admittedly, this is quite paranoid, since all the known shells bail
136 # out after a failed `exec'.
137 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
138 exit 255
140 # We don't want this to propagate to other subprocesses.
141 { _as_can_reexec=; unset _as_can_reexec;}
142 if test "x$CONFIG_SHELL" = x; then
143 as_bourne_compatible="as_nop=:
144 if test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
145 then :
146 emulate sh
147 NULLCMD=:
148 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
149 # is contrary to our usage. Disable this feature.
150 alias -g '\${1+\"\$@\"}'='\"\$@\"'
151 setopt NO_GLOB_SUBST
152 else \$as_nop
153 case \`(set -o) 2>/dev/null\` in #(
154 *posix*) :
155 set -o posix ;; #(
156 *) :
158 esac
161 as_required="as_fn_return () { (exit \$1); }
162 as_fn_success () { as_fn_return 0; }
163 as_fn_failure () { as_fn_return 1; }
164 as_fn_ret_success () { return 0; }
165 as_fn_ret_failure () { return 1; }
167 exitcode=0
168 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
169 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
170 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
171 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
172 if ( set x; as_fn_ret_success y && test x = \"\$1\" )
173 then :
175 else \$as_nop
176 exitcode=1; echo positional parameters were not saved.
178 test x\$exitcode = x0 || exit 1
179 blah=\$(echo \$(echo blah))
180 test x\"\$blah\" = xblah || exit 1
181 test -x / || exit 1"
182 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
183 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
184 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
185 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
186 test \$(( 1 + 1 )) = 2 || exit 1"
187 if (eval "$as_required") 2>/dev/null
188 then :
189 as_have_required=yes
190 else $as_nop
191 as_have_required=no
193 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null
194 then :
196 else $as_nop
197 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
198 as_found=false
199 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
201 IFS=$as_save_IFS
202 case $as_dir in #(((
203 '') as_dir=./ ;;
204 */) ;;
205 *) as_dir=$as_dir/ ;;
206 esac
207 as_found=:
208 case $as_dir in #(
210 for as_base in sh bash ksh sh5; do
211 # Try only shells that exist, to save several forks.
212 as_shell=$as_dir$as_base
213 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
214 as_run=a "$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev/null
215 then :
216 CONFIG_SHELL=$as_shell as_have_required=yes
217 if as_run=a "$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev/null
218 then :
219 break 2
222 done;;
223 esac
224 as_found=false
225 done
226 IFS=$as_save_IFS
227 if $as_found
228 then :
230 else $as_nop
231 if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
232 as_run=a "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev/null
233 then :
234 CONFIG_SHELL=$SHELL as_have_required=yes
239 if test "x$CONFIG_SHELL" != x
240 then :
241 export CONFIG_SHELL
242 # We cannot yet assume a decent shell, so we have to provide a
243 # neutralization value for shells without unset; and this also
244 # works around shells that cannot unset nonexistent variables.
245 # Preserve -v and -x to the replacement shell.
246 BASH_ENV=/dev/null
247 ENV=/dev/null
248 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
249 case $- in # ((((
250 *v*x* | *x*v* ) as_opts=-vx ;;
251 *v* ) as_opts=-v ;;
252 *x* ) as_opts=-x ;;
253 * ) as_opts= ;;
254 esac
255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
256 # Admittedly, this is quite paranoid, since all the known shells bail
257 # out after a failed `exec'.
258 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
259 exit 255
262 if test x$as_have_required = xno
263 then :
264 printf "%s\n" "$0: This script requires a shell more modern than all"
265 printf "%s\n" "$0: the shells that I found on your system."
266 if test ${ZSH_VERSION+y} ; then
267 printf "%s\n" "$0: In particular, zsh $ZSH_VERSION has bugs and should"
268 printf "%s\n" "$0: be upgraded to zsh 4.3.4 or later."
269 else
270 printf "%s\n" "$0: Please tell bug-autoconf@gnu.org and
271 $0: wine-devel@winehq.org about your system, including any
272 $0: error possibly output before this message. Then install
273 $0: a modern shell, or manually run the script under such a
274 $0: shell if you do have one."
276 exit 1
280 SHELL=${CONFIG_SHELL-/bin/sh}
281 export SHELL
282 # Unset more variables known to interfere with behavior of common tools.
283 CLICOLOR_FORCE= GREP_OPTIONS=
284 unset CLICOLOR_FORCE GREP_OPTIONS
286 ## --------------------- ##
287 ## M4sh Shell Functions. ##
288 ## --------------------- ##
289 # as_fn_unset VAR
290 # ---------------
291 # Portably unset VAR.
292 as_fn_unset ()
294 { eval $1=; unset $1;}
296 as_unset=as_fn_unset
299 # as_fn_set_status STATUS
300 # -----------------------
301 # Set $? to STATUS, without forking.
302 as_fn_set_status ()
304 return $1
305 } # as_fn_set_status
307 # as_fn_exit STATUS
308 # -----------------
309 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
310 as_fn_exit ()
312 set +e
313 as_fn_set_status $1
314 exit $1
315 } # as_fn_exit
316 # as_fn_nop
317 # ---------
318 # Do nothing but, unlike ":", preserve the value of $?.
319 as_fn_nop ()
321 return $?
323 as_nop=as_fn_nop
325 # as_fn_mkdir_p
326 # -------------
327 # Create "$as_dir" as a directory, including parents if necessary.
328 as_fn_mkdir_p ()
331 case $as_dir in #(
332 -*) as_dir=./$as_dir;;
333 esac
334 test -d "$as_dir" || eval $as_mkdir_p || {
335 as_dirs=
336 while :; do
337 case $as_dir in #(
338 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
339 *) as_qdir=$as_dir;;
340 esac
341 as_dirs="'$as_qdir' $as_dirs"
342 as_dir=`$as_dirname -- "$as_dir" ||
343 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
344 X"$as_dir" : 'X\(//\)[^/]' \| \
345 X"$as_dir" : 'X\(//\)$' \| \
346 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
347 printf "%s\n" X"$as_dir" |
348 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
349 s//\1/
352 /^X\(\/\/\)[^/].*/{
353 s//\1/
356 /^X\(\/\/\)$/{
357 s//\1/
360 /^X\(\/\).*/{
361 s//\1/
364 s/.*/./; q'`
365 test -d "$as_dir" && break
366 done
367 test -z "$as_dirs" || eval "mkdir $as_dirs"
368 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
371 } # as_fn_mkdir_p
373 # as_fn_executable_p FILE
374 # -----------------------
375 # Test if FILE is an executable regular file.
376 as_fn_executable_p ()
378 test -f "$1" && test -x "$1"
379 } # as_fn_executable_p
380 # as_fn_append VAR VALUE
381 # ----------------------
382 # Append the text in VALUE to the end of the definition contained in VAR. Take
383 # advantage of any shell optimizations that allow amortized linear growth over
384 # repeated appends, instead of the typical quadratic growth present in naive
385 # implementations.
386 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
387 then :
388 eval 'as_fn_append ()
390 eval $1+=\$2
392 else $as_nop
393 as_fn_append ()
395 eval $1=\$$1\$2
397 fi # as_fn_append
399 # as_fn_arith ARG...
400 # ------------------
401 # Perform arithmetic evaluation on the ARGs, and store the result in the
402 # global $as_val. Take advantage of shells that can avoid forks. The arguments
403 # must be portable across $(()) and expr.
404 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
405 then :
406 eval 'as_fn_arith ()
408 as_val=$(( $* ))
410 else $as_nop
411 as_fn_arith ()
413 as_val=`expr "$@" || test $? -eq 1`
415 fi # as_fn_arith
417 # as_fn_nop
418 # ---------
419 # Do nothing but, unlike ":", preserve the value of $?.
420 as_fn_nop ()
422 return $?
424 as_nop=as_fn_nop
426 # as_fn_error STATUS ERROR [LINENO LOG_FD]
427 # ----------------------------------------
428 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
429 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
430 # script with STATUS, using 1 if that was 0.
431 as_fn_error ()
433 as_status=$1; test $as_status -eq 0 && as_status=1
434 if test "$4"; then
435 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
436 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
438 printf "%s\n" "$as_me: error: $2" >&2
439 as_fn_exit $as_status
440 } # as_fn_error
442 if expr a : '\(a\)' >/dev/null 2>&1 &&
443 test "X`expr 00001 : '.*\(...\)'`" = X001; then
444 as_expr=expr
445 else
446 as_expr=false
449 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
450 as_basename=basename
451 else
452 as_basename=false
455 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
456 as_dirname=dirname
457 else
458 as_dirname=false
461 as_me=`$as_basename -- "$0" ||
462 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
463 X"$0" : 'X\(//\)$' \| \
464 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
465 printf "%s\n" X/"$0" |
466 sed '/^.*\/\([^/][^/]*\)\/*$/{
467 s//\1/
470 /^X\/\(\/\/\)$/{
471 s//\1/
474 /^X\/\(\/\).*/{
475 s//\1/
478 s/.*/./; q'`
480 # Avoid depending upon Character Ranges.
481 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
482 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
483 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
484 as_cr_digits='0123456789'
485 as_cr_alnum=$as_cr_Letters$as_cr_digits
488 as_lineno_1=$LINENO as_lineno_1a=$LINENO
489 as_lineno_2=$LINENO as_lineno_2a=$LINENO
490 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
491 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
492 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
493 sed -n '
495 /[$]LINENO/=
496 ' <$as_myself |
497 sed '
498 s/[$]LINENO.*/&-/
499 t lineno
501 :lineno
503 :loop
504 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
505 t loop
506 s/-\n.*//
507 ' >$as_me.lineno &&
508 chmod +x "$as_me.lineno" ||
509 { printf "%s\n" "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
511 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
512 # already done that, so ensure we don't try to do so again and fall
513 # in an infinite loop. This has already happened in practice.
514 _as_can_reexec=no; export _as_can_reexec
515 # Don't try to exec as it changes $[0], causing all sort of problems
516 # (the dirname of $[0] is not the place where we might find the
517 # original and so on. Autoconf is especially sensitive to this).
518 . "./$as_me.lineno"
519 # Exit status is that of the last command.
520 exit
524 # Determine whether it's possible to make 'echo' print without a newline.
525 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
526 # for compatibility with existing Makefiles.
527 ECHO_C= ECHO_N= ECHO_T=
528 case `echo -n x` in #(((((
529 -n*)
530 case `echo 'xy\c'` in
531 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
532 xy) ECHO_C='\c';;
533 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
534 ECHO_T=' ';;
535 esac;;
537 ECHO_N='-n';;
538 esac
540 # For backward compatibility with old third-party macros, we provide
541 # the shell variables $as_echo and $as_echo_n. New code should use
542 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
543 as_echo='printf %s\n'
544 as_echo_n='printf %s'
547 rm -f conf$$ conf$$.exe conf$$.file
548 if test -d conf$$.dir; then
549 rm -f conf$$.dir/conf$$.file
550 else
551 rm -f conf$$.dir
552 mkdir conf$$.dir 2>/dev/null
554 if (echo >conf$$.file) 2>/dev/null; then
555 if ln -s conf$$.file conf$$ 2>/dev/null; then
556 as_ln_s='ln -s'
557 # ... but there are two gotchas:
558 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
559 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
560 # In both cases, we have to default to `cp -pR'.
561 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
562 as_ln_s='cp -pR'
563 elif ln conf$$.file conf$$ 2>/dev/null; then
564 as_ln_s=ln
565 else
566 as_ln_s='cp -pR'
568 else
569 as_ln_s='cp -pR'
571 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
572 rmdir conf$$.dir 2>/dev/null
574 if mkdir -p . 2>/dev/null; then
575 as_mkdir_p='mkdir -p "$as_dir"'
576 else
577 test -d ./-p && rmdir ./-p
578 as_mkdir_p=false
581 as_test_x='test -x'
582 as_executable_p=as_fn_executable_p
584 # Sed expression to map a string onto a valid CPP name.
585 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
587 # Sed expression to map a string onto a valid variable name.
588 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
591 test -n "$DJDIR" || exec 7<&0 </dev/null
592 exec 6>&1
594 # Name of the host.
595 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
596 # so uname gets run too.
597 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
600 # Initializations.
602 ac_default_prefix=/usr/local
603 ac_clean_files=
604 ac_config_libobj_dir=.
605 LIBOBJS=
606 cross_compiling=no
607 subdirs=
608 MFLAGS=
609 MAKEFLAGS=
611 # Identity of this package.
612 PACKAGE_NAME='Wine'
613 PACKAGE_TARNAME='wine'
614 PACKAGE_VERSION='9.0'
615 PACKAGE_STRING='Wine 9.0'
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 XKBREGISTRY_LIBS
706 XKBREGISTRY_CFLAGS
707 XKBCOMMON_LIBS
708 XKBCOMMON_CFLAGS
709 WAYLAND_SCANNER
710 WAYLAND_CLIENT_LIBS
711 WAYLAND_CLIENT_CFLAGS
712 X_EXTRA_LIBS
713 X_LIBS
714 X_PRE_LIBS
715 X_CFLAGS
717 XMKMF
718 PTHREAD_LIBS
719 ZYDIS_PE_LIBS
720 ZYDIS_PE_CFLAGS
721 ZLIB_PE_LIBS
722 ZLIB_PE_CFLAGS
723 XSLT_PE_LIBS
724 XSLT_PE_CFLAGS
725 XML2_PE_LIBS
726 XML2_PE_CFLAGS
727 VKD3D_PE_LIBS
728 VKD3D_PE_CFLAGS
729 TIFF_PE_LIBS
730 TIFF_PE_CFLAGS
731 PNG_PE_LIBS
732 PNG_PE_CFLAGS
733 MUSL_PE_LIBS
734 MUSL_PE_CFLAGS
735 MPG123_PE_LIBS
736 MPG123_PE_CFLAGS
737 LDAP_PE_LIBS
738 LDAP_PE_CFLAGS
739 LCMS2_PE_LIBS
740 LCMS2_PE_CFLAGS
741 JXR_PE_LIBS
742 JXR_PE_CFLAGS
743 JPEG_PE_LIBS
744 JPEG_PE_CFLAGS
745 GSM_PE_LIBS
746 GSM_PE_CFLAGS
747 FLUIDSYNTH_PE_LIBS
748 FLUIDSYNTH_PE_CFLAGS
749 FAUDIO_PE_LIBS
750 FAUDIO_PE_CFLAGS
751 MINGW_PKG_CONFIG
752 PE_ARCHS
753 WINELOADER_DEPENDS
754 ac_ct_OBJC
755 OBJCFLAGS
756 OBJC
757 OPENCL_LIBS
758 COREAUDIO_LIBS
759 SYSTEMCONFIGURATION_LIBS
760 SECURITY_LIBS
761 APPKIT_LIBS
762 CORESERVICES_LIBS
763 APPLICATIONSERVICES_LIBS
764 METAL_LIBS
765 IOKIT_LIBS
766 DISKARBITRATION_LIBS
767 COREFOUNDATION_LIBS
768 CARBON_LIBS
769 CONFIGURE_TARGETS
770 DISABLED_SUBDIRS
771 SUBDIRS
772 READELF
773 OTOOL
775 DLLEXT
776 WINEPRELOADER_LDFLAGS
777 WINELOADER_LDFLAGS
778 TOP_INSTALL_DEV
779 TOP_INSTALL_LIB
780 UNIXLDFLAGS
781 UNIXDLLFLAGS
782 EXTRACFLAGS
783 LDEXECFLAGS
784 LDDLLFLAGS
785 DLLFLAGS
786 OPENGL_LIBS
787 I386_LIBS
788 ICOTOOL
789 CONVERT
790 RSVG
791 FONTFORGE
792 PKG_CONFIG
793 MSGFMT
794 LDCONFIG
795 EGREP
796 GREP
797 LN_S
798 RANLIB
799 STRIP
800 ac_ct_AR
802 BISON
803 FLEX
804 SED_CMD
805 RUNTESTFLAGS
806 MAKEDEP
807 toolsdir
808 x86_64_DISABLED_SUBDIRS
809 x86_64_DELAYLOADFLAG
810 x86_64_TARGET
811 x86_64_DEBUG
812 x86_64_LDFLAGS
813 x86_64_EXTRACFLAGS
814 x86_64_CFLAGS
815 x86_64_CC
816 i386_DISABLED_SUBDIRS
817 i386_DELAYLOADFLAG
818 i386_TARGET
819 i386_DEBUG
820 i386_LDFLAGS
821 i386_EXTRACFLAGS
822 i386_CFLAGS
823 i386_CC
824 arm64ec_DISABLED_SUBDIRS
825 arm64ec_DELAYLOADFLAG
826 arm64ec_TARGET
827 arm64ec_DEBUG
828 arm64ec_LDFLAGS
829 arm64ec_EXTRACFLAGS
830 arm64ec_CFLAGS
831 arm64ec_CC
832 arm_DISABLED_SUBDIRS
833 arm_DELAYLOADFLAG
834 arm_TARGET
835 arm_DEBUG
836 arm_LDFLAGS
837 arm_EXTRACFLAGS
838 arm_CFLAGS
839 arm_CC
840 aarch64_DISABLED_SUBDIRS
841 aarch64_DELAYLOADFLAG
842 aarch64_TARGET
843 aarch64_DEBUG
844 aarch64_LDFLAGS
845 aarch64_EXTRACFLAGS
846 aarch64_CFLAGS
847 aarch64_CC
848 HOST_ARCH
849 toolsext
850 TARGETFLAGS
852 CPPBIN
853 ac_ct_CXX
854 CXXFLAGS
856 OBJEXT
857 EXEEXT
858 ac_ct_CC
859 CPPFLAGS
860 LDFLAGS
861 CFLAGS
863 SET_MAKE
864 srcdir
865 nlsdir
866 fontdir
867 dlldir
868 host_os
869 host_vendor
870 host_cpu
871 host
872 build_os
873 build_vendor
874 build_cpu
875 build
876 system_dllpath
877 target_alias
878 host_alias
879 build_alias
880 LIBS
881 ECHO_T
882 ECHO_N
883 ECHO_C
884 DEFS
885 mandir
886 localedir
887 libdir
888 psdir
889 pdfdir
890 dvidir
891 htmldir
892 infodir
893 docdir
894 oldincludedir
895 includedir
896 runstatedir
897 localstatedir
898 sharedstatedir
899 sysconfdir
900 datadir
901 datarootdir
902 libexecdir
903 sbindir
904 bindir
905 program_transform_name
906 prefix
907 exec_prefix
908 PACKAGE_URL
909 PACKAGE_BUGREPORT
910 PACKAGE_STRING
911 PACKAGE_VERSION
912 PACKAGE_TARNAME
913 PACKAGE_NAME
914 PATH_SEPARATOR
915 SHELL'
916 ac_subst_files=''
917 ac_user_opts='
918 enable_option_checking
919 enable_archs
920 enable_win16
921 enable_win64
922 enable_tests
923 enable_build_id
924 enable_maintainer_mode
925 enable_silent_rules
926 enable_werror
927 with_alsa
928 with_capi
929 with_coreaudio
930 with_cups
931 with_dbus
932 with_float_abi
933 with_fontconfig
934 with_freetype
935 with_gettext
936 with_gettextpo
937 with_gphoto
938 with_gnutls
939 with_gssapi
940 with_gstreamer
941 with_inotify
942 with_krb5
943 with_mingw
944 with_netapi
945 with_opencl
946 with_opengl
947 with_osmesa
948 with_oss
949 with_pcap
950 with_pcsclite
951 with_pthread
952 with_pulse
953 with_sane
954 with_sdl
955 with_udev
956 with_unwind
957 with_usb
958 with_v4l2
959 with_vulkan
960 with_wayland
961 with_xcomposite
962 with_xcursor
963 with_xfixes
964 with_xinerama
965 with_xinput
966 with_xinput2
967 with_xrandr
968 with_xrender
969 with_xshape
970 with_xshm
971 with_xxf86vm
972 with_system_dllpath
973 with_wine_tools
974 with_wine64
975 enable_largefile
976 with_x
977 enable_acledit
978 enable_aclui
979 enable_activeds_tlb
980 enable_activeds
981 enable_actxprxy
982 enable_adsldp
983 enable_adsldpc
984 enable_advapi32
985 enable_advpack
986 enable_amsi
987 enable_amstream
988 enable_apisetschema
989 enable_apphelp
990 enable_appwiz_cpl
991 enable_appxdeploymentclient
992 enable_atl
993 enable_atl100
994 enable_atl110
995 enable_atl80
996 enable_atl90
997 enable_atlthunk
998 enable_atmlib
999 enable_authz
1000 enable_avicap32
1001 enable_avifil32
1002 enable_avrt
1003 enable_bcrypt
1004 enable_bcryptprimitives
1005 enable_bluetoothapis
1006 enable_browseui
1007 enable_bthprops_cpl
1008 enable_cabinet
1009 enable_capi2032
1010 enable_cards
1011 enable_cdosys
1012 enable_cfgmgr32
1013 enable_clusapi
1014 enable_cng_sys
1015 enable_combase
1016 enable_comcat
1017 enable_comctl32
1018 enable_comdlg32
1019 enable_coml2
1020 enable_compstui
1021 enable_comsvcs
1022 enable_concrt140
1023 enable_connect
1024 enable_credui
1025 enable_crtdll
1026 enable_crypt32
1027 enable_cryptdlg
1028 enable_cryptdll
1029 enable_cryptext
1030 enable_cryptnet
1031 enable_cryptowinrt
1032 enable_cryptsp
1033 enable_cryptui
1034 enable_ctapi32
1035 enable_ctl3d32
1036 enable_d2d1
1037 enable_d3d10
1038 enable_d3d10_1
1039 enable_d3d10core
1040 enable_d3d11
1041 enable_d3d12
1042 enable_d3d12core
1043 enable_d3d8
1044 enable_d3d8thk
1045 enable_d3d9
1046 enable_d3dcompiler_33
1047 enable_d3dcompiler_34
1048 enable_d3dcompiler_35
1049 enable_d3dcompiler_36
1050 enable_d3dcompiler_37
1051 enable_d3dcompiler_38
1052 enable_d3dcompiler_39
1053 enable_d3dcompiler_40
1054 enable_d3dcompiler_41
1055 enable_d3dcompiler_42
1056 enable_d3dcompiler_43
1057 enable_d3dcompiler_46
1058 enable_d3dcompiler_47
1059 enable_d3dim
1060 enable_d3dim700
1061 enable_d3drm
1062 enable_d3dx10_33
1063 enable_d3dx10_34
1064 enable_d3dx10_35
1065 enable_d3dx10_36
1066 enable_d3dx10_37
1067 enable_d3dx10_38
1068 enable_d3dx10_39
1069 enable_d3dx10_40
1070 enable_d3dx10_41
1071 enable_d3dx10_42
1072 enable_d3dx10_43
1073 enable_d3dx11_42
1074 enable_d3dx11_43
1075 enable_d3dx9_24
1076 enable_d3dx9_25
1077 enable_d3dx9_26
1078 enable_d3dx9_27
1079 enable_d3dx9_28
1080 enable_d3dx9_29
1081 enable_d3dx9_30
1082 enable_d3dx9_31
1083 enable_d3dx9_32
1084 enable_d3dx9_33
1085 enable_d3dx9_34
1086 enable_d3dx9_35
1087 enable_d3dx9_36
1088 enable_d3dx9_37
1089 enable_d3dx9_38
1090 enable_d3dx9_39
1091 enable_d3dx9_40
1092 enable_d3dx9_41
1093 enable_d3dx9_42
1094 enable_d3dx9_43
1095 enable_d3dxof
1096 enable_davclnt
1097 enable_dbgeng
1098 enable_dbghelp
1099 enable_dciman32
1100 enable_dcomp
1101 enable_ddraw
1102 enable_ddrawex
1103 enable_devenum
1104 enable_dhcpcsvc
1105 enable_dhcpcsvc6
1106 enable_dhtmled_ocx
1107 enable_diasymreader
1108 enable_difxapi
1109 enable_dinput
1110 enable_dinput8
1111 enable_directmanipulation
1112 enable_dispex
1113 enable_dmband
1114 enable_dmcompos
1115 enable_dmime
1116 enable_dmloader
1117 enable_dmscript
1118 enable_dmstyle
1119 enable_dmsynth
1120 enable_dmusic
1121 enable_dmusic32
1122 enable_dnsapi
1123 enable_dplay
1124 enable_dplayx
1125 enable_dpnaddr
1126 enable_dpnet
1127 enable_dpnhpast
1128 enable_dpnhupnp
1129 enable_dpnlobby
1130 enable_dpvoice
1131 enable_dpwsockx
1132 enable_drmclien
1133 enable_dsdmo
1134 enable_dsound
1135 enable_dsquery
1136 enable_dssenh
1137 enable_dsuiext
1138 enable_dswave
1139 enable_dwmapi
1140 enable_dwrite
1141 enable_dx8vb
1142 enable_dxcore
1143 enable_dxdiagn
1144 enable_dxgi
1145 enable_dxtrans
1146 enable_dxva2
1147 enable_esent
1148 enable_evr
1149 enable_explorerframe
1150 enable_faultrep
1151 enable_feclient
1152 enable_fltlib
1153 enable_fltmgr_sys
1154 enable_fntcache
1155 enable_fontsub
1156 enable_fusion
1157 enable_fwpuclnt
1158 enable_gameux
1159 enable_gamingtcui
1160 enable_gdi32
1161 enable_gdiplus
1162 enable_geolocation
1163 enable_glu32
1164 enable_gphoto2_ds
1165 enable_gpkcsp
1166 enable_graphicscapture
1167 enable_hal
1168 enable_hhctrl_ocx
1169 enable_hid
1170 enable_hidclass_sys
1171 enable_hidparse_sys
1172 enable_hlink
1173 enable_hnetcfg
1174 enable_hrtfapo
1175 enable_http_sys
1176 enable_httpapi
1177 enable_hvsimanagementapi
1178 enable_ia2comproxy
1179 enable_iccvid
1180 enable_icmp
1181 enable_ieframe
1182 enable_ieproxy
1183 enable_imaadp32_acm
1184 enable_imagehlp
1185 enable_imm32
1186 enable_inetcomm
1187 enable_inetcpl_cpl
1188 enable_inetmib1
1189 enable_infosoft
1190 enable_initpki
1191 enable_inkobj
1192 enable_inseng
1193 enable_iphlpapi
1194 enable_iprop
1195 enable_ir50_32
1196 enable_irprops_cpl
1197 enable_itircl
1198 enable_itss
1199 enable_joy_cpl
1200 enable_jscript
1201 enable_jsproxy
1202 enable_kerberos
1203 enable_kernel32
1204 enable_kernelbase
1205 enable_ksecdd_sys
1206 enable_ksproxy_ax
1207 enable_ksuser
1208 enable_ktmw32
1209 enable_l3codeca_acm
1210 enable_light_msstyles
1211 enable_loadperf
1212 enable_localspl
1213 enable_localui
1214 enable_lz32
1215 enable_magnification
1216 enable_mapi32
1217 enable_mapistub
1218 enable_mciavi32
1219 enable_mcicda
1220 enable_mciqtz32
1221 enable_mciseq
1222 enable_mciwave
1223 enable_mf
1224 enable_mf3216
1225 enable_mferror
1226 enable_mfmediaengine
1227 enable_mfplat
1228 enable_mfplay
1229 enable_mfreadwrite
1230 enable_mfsrcsnk
1231 enable_mgmtapi
1232 enable_midimap
1233 enable_mlang
1234 enable_mmcndmgr
1235 enable_mmdevapi
1236 enable_mountmgr_sys
1237 enable_mp3dmod
1238 enable_mpr
1239 enable_mprapi
1240 enable_msacm32_drv
1241 enable_msacm32
1242 enable_msado15
1243 enable_msadp32_acm
1244 enable_msasn1
1245 enable_msauddecmft
1246 enable_mscat32
1247 enable_mscms
1248 enable_mscoree
1249 enable_mscorwks
1250 enable_msctf
1251 enable_msctfmonitor
1252 enable_msctfp
1253 enable_msdaps
1254 enable_msdasql
1255 enable_msdelta
1256 enable_msdmo
1257 enable_msdrm
1258 enable_msftedit
1259 enable_msg711_acm
1260 enable_msgsm32_acm
1261 enable_mshtml_tlb
1262 enable_mshtml
1263 enable_msi
1264 enable_msident
1265 enable_msimg32
1266 enable_msimsg
1267 enable_msimtf
1268 enable_msisip
1269 enable_msisys_ocx
1270 enable_msls31
1271 enable_msmpeg2vdec
1272 enable_msnet32
1273 enable_mspatcha
1274 enable_msports
1275 enable_msrle32
1276 enable_msscript_ocx
1277 enable_mssign32
1278 enable_mssip32
1279 enable_mstask
1280 enable_msttsengine
1281 enable_msv1_0
1282 enable_msvcirt
1283 enable_msvcm80
1284 enable_msvcm90
1285 enable_msvcp100
1286 enable_msvcp110
1287 enable_msvcp120
1288 enable_msvcp120_app
1289 enable_msvcp140
1290 enable_msvcp140_1
1291 enable_msvcp140_2
1292 enable_msvcp140_atomic_wait
1293 enable_msvcp140_codecvt_ids
1294 enable_msvcp60
1295 enable_msvcp70
1296 enable_msvcp71
1297 enable_msvcp80
1298 enable_msvcp90
1299 enable_msvcp_win
1300 enable_msvcr100
1301 enable_msvcr110
1302 enable_msvcr120
1303 enable_msvcr120_app
1304 enable_msvcr70
1305 enable_msvcr71
1306 enable_msvcr80
1307 enable_msvcr90
1308 enable_msvcrt
1309 enable_msvcrt20
1310 enable_msvcrt40
1311 enable_msvcrtd
1312 enable_msvfw32
1313 enable_msvidc32
1314 enable_mswsock
1315 enable_msxml
1316 enable_msxml2
1317 enable_msxml3
1318 enable_msxml4
1319 enable_msxml6
1320 enable_mtxdm
1321 enable_ncrypt
1322 enable_nddeapi
1323 enable_ndis_sys
1324 enable_netapi32
1325 enable_netcfgx
1326 enable_netio_sys
1327 enable_netprofm
1328 enable_netutils
1329 enable_newdev
1330 enable_ninput
1331 enable_normaliz
1332 enable_npmshtml
1333 enable_npptools
1334 enable_nsi
1335 enable_nsiproxy_sys
1336 enable_ntdll
1337 enable_ntdsapi
1338 enable_ntoskrnl_exe
1339 enable_ntprint
1340 enable_objsel
1341 enable_odbc32
1342 enable_odbcbcp
1343 enable_odbccp32
1344 enable_odbccu32
1345 enable_ole32
1346 enable_oleacc
1347 enable_oleaut32
1348 enable_olecli32
1349 enable_oledb32
1350 enable_oledlg
1351 enable_olepro32
1352 enable_olesvr32
1353 enable_olethk32
1354 enable_opcservices
1355 enable_opencl
1356 enable_opengl32
1357 enable_packager
1358 enable_pdh
1359 enable_photometadatahandler
1360 enable_pidgen
1361 enable_powrprof
1362 enable_printui
1363 enable_prntvpt
1364 enable_propsys
1365 enable_psapi
1366 enable_pstorec
1367 enable_pwrshplugin
1368 enable_qasf
1369 enable_qcap
1370 enable_qdvd
1371 enable_qedit
1372 enable_qmgr
1373 enable_qmgrprxy
1374 enable_quartz
1375 enable_query
1376 enable_qwave
1377 enable_rasapi32
1378 enable_rasdlg
1379 enable_regapi
1380 enable_resutils
1381 enable_riched20
1382 enable_riched32
1383 enable_rpcrt4
1384 enable_rsabase
1385 enable_rsaenh
1386 enable_rstrtmgr
1387 enable_rtutils
1388 enable_rtworkq
1389 enable_samlib
1390 enable_sane_ds
1391 enable_sapi
1392 enable_sas
1393 enable_scarddlg
1394 enable_scardsvr
1395 enable_sccbase
1396 enable_schannel
1397 enable_schedsvc
1398 enable_scrobj
1399 enable_scrrun
1400 enable_scsiport_sys
1401 enable_sechost
1402 enable_secur32
1403 enable_security
1404 enable_sensapi
1405 enable_serialui
1406 enable_setupapi
1407 enable_sfc
1408 enable_sfc_os
1409 enable_shcore
1410 enable_shdoclc
1411 enable_shdocvw
1412 enable_shell32
1413 enable_shfolder
1414 enable_shlwapi
1415 enable_slbcsp
1416 enable_slc
1417 enable_snmpapi
1418 enable_softpub
1419 enable_spoolss
1420 enable_sppc
1421 enable_srclient
1422 enable_srvcli
1423 enable_srvsvc
1424 enable_sspicli
1425 enable_stdole2_tlb
1426 enable_stdole32_tlb
1427 enable_sti
1428 enable_strmdll
1429 enable_svrapi
1430 enable_sxs
1431 enable_t2embed
1432 enable_tapi32
1433 enable_taskschd
1434 enable_tbs
1435 enable_tdh
1436 enable_tdi_sys
1437 enable_threadpoolwinrt
1438 enable_traffic
1439 enable_twain_32
1440 enable_twinapi_appcore
1441 enable_tzres
1442 enable_ucrtbase
1443 enable_uianimation
1444 enable_uiautomationcore
1445 enable_uiribbon
1446 enable_unicows
1447 enable_updspapi
1448 enable_url
1449 enable_urlmon
1450 enable_usbd_sys
1451 enable_user32
1452 enable_userenv
1453 enable_usp10
1454 enable_utildll
1455 enable_uxtheme
1456 enable_vbscript
1457 enable_vcomp
1458 enable_vcomp100
1459 enable_vcomp110
1460 enable_vcomp120
1461 enable_vcomp140
1462 enable_vcomp90
1463 enable_vcruntime140
1464 enable_vcruntime140_1
1465 enable_vdmdbg
1466 enable_version
1467 enable_vga
1468 enable_virtdisk
1469 enable_vssapi
1470 enable_vulkan_1
1471 enable_wbemdisp
1472 enable_wbemprox
1473 enable_wdscore
1474 enable_webservices
1475 enable_websocket
1476 enable_wer
1477 enable_wevtapi
1478 enable_wevtsvc
1479 enable_wiaservc
1480 enable_wimgapi
1481 enable_win32u
1482 enable_windows_applicationmodel
1483 enable_windows_devices_bluetooth
1484 enable_windows_devices_enumeration
1485 enable_windows_devices_usb
1486 enable_windows_gaming_input
1487 enable_windows_gaming_ui_gamebar
1488 enable_windows_globalization
1489 enable_windows_media_devices
1490 enable_windows_media_mediacontrol
1491 enable_windows_media_speech
1492 enable_windows_media
1493 enable_windows_networking_hostname
1494 enable_windows_networking
1495 enable_windows_perception_stub
1496 enable_windows_security_credentials_ui_userconsentverifier
1497 enable_windows_storage_applicationdata
1498 enable_windows_system_profile_systemmanufacturers
1499 enable_windows_ui
1500 enable_windowscodecs
1501 enable_windowscodecsext
1502 enable_winealsa_drv
1503 enable_wineandroid_drv
1504 enable_winebus_sys
1505 enable_winecoreaudio_drv
1506 enable_winecrt0
1507 enable_wined3d
1508 enable_winegstreamer
1509 enable_winehid_sys
1510 enable_winemac_drv
1511 enable_winemapi
1512 enable_wineoss_drv
1513 enable_wineps_drv
1514 enable_winepulse_drv
1515 enable_wineusb_sys
1516 enable_winevulkan
1517 enable_winewayland_drv
1518 enable_winex11_drv
1519 enable_winexinput_sys
1520 enable_wing32
1521 enable_winhttp
1522 enable_wininet
1523 enable_winmm
1524 enable_winnls32
1525 enable_winprint
1526 enable_winscard
1527 enable_winspool_drv
1528 enable_winsta
1529 enable_wintab32
1530 enable_wintrust
1531 enable_wintypes
1532 enable_winusb
1533 enable_wlanapi
1534 enable_wlanui
1535 enable_wldap32
1536 enable_wldp
1537 enable_wmasf
1538 enable_wmi
1539 enable_wmiutils
1540 enable_wmp
1541 enable_wmphoto
1542 enable_wmvcore
1543 enable_wnaspi32
1544 enable_wofutil
1545 enable_wow64
1546 enable_wow64cpu
1547 enable_wow64win
1548 enable_wpc
1549 enable_wpcap
1550 enable_ws2_32
1551 enable_wsdapi
1552 enable_wshom_ocx
1553 enable_wsnmp32
1554 enable_wsock32
1555 enable_wtsapi32
1556 enable_wuapi
1557 enable_wuaueng
1558 enable_x3daudio1_0
1559 enable_x3daudio1_1
1560 enable_x3daudio1_2
1561 enable_x3daudio1_3
1562 enable_x3daudio1_4
1563 enable_x3daudio1_5
1564 enable_x3daudio1_6
1565 enable_x3daudio1_7
1566 enable_xactengine2_0
1567 enable_xactengine2_4
1568 enable_xactengine2_7
1569 enable_xactengine2_9
1570 enable_xactengine3_0
1571 enable_xactengine3_1
1572 enable_xactengine3_2
1573 enable_xactengine3_3
1574 enable_xactengine3_4
1575 enable_xactengine3_5
1576 enable_xactengine3_6
1577 enable_xactengine3_7
1578 enable_xapofx1_1
1579 enable_xapofx1_2
1580 enable_xapofx1_3
1581 enable_xapofx1_4
1582 enable_xapofx1_5
1583 enable_xaudio2_0
1584 enable_xaudio2_1
1585 enable_xaudio2_2
1586 enable_xaudio2_3
1587 enable_xaudio2_4
1588 enable_xaudio2_5
1589 enable_xaudio2_6
1590 enable_xaudio2_7
1591 enable_xaudio2_8
1592 enable_xaudio2_9
1593 enable_xinput1_1
1594 enable_xinput1_2
1595 enable_xinput1_3
1596 enable_xinput1_4
1597 enable_xinput9_1_0
1598 enable_xinputuap
1599 enable_xmllite
1600 enable_xolehlp
1601 enable_xpsprint
1602 enable_xpssvcs
1603 enable_fonts
1604 enable_include
1605 enable_adsiid
1606 enable_dmoguids
1607 enable_dxerr8
1608 enable_dxerr9
1609 enable_dxguid
1610 enable_faudio
1611 enable_fluidsynth
1612 enable_gsm
1613 enable_jpeg
1614 enable_jxr
1615 enable_lcms2
1616 enable_ldap
1617 enable_mfuuid
1618 enable_mpg123
1619 enable_musl
1620 enable_png
1621 enable_strmbase
1622 enable_strmiids
1623 enable_tiff
1624 enable_uuid
1625 enable_vkd3d
1626 enable_wbemuuid
1627 enable_wmcodecdspuuid
1628 enable_xml2
1629 enable_xslt
1630 enable_zlib
1631 enable_zydis
1632 enable_loader
1633 enable_nls
1634 enable_po
1635 enable_arp
1636 enable_aspnet_regiis
1637 enable_attrib
1638 enable_cabarc
1639 enable_cacls
1640 enable_certutil
1641 enable_chcp_com
1642 enable_clock
1643 enable_cmd
1644 enable_conhost
1645 enable_control
1646 enable_cscript
1647 enable_dism
1648 enable_dllhost
1649 enable_dplaysvr
1650 enable_dpnsvr
1651 enable_dpvsetup
1652 enable_dxdiag
1653 enable_eject
1654 enable_expand
1655 enable_explorer
1656 enable_extrac32
1657 enable_fc
1658 enable_find
1659 enable_findstr
1660 enable_fsutil
1661 enable_hh
1662 enable_hostname
1663 enable_icacls
1664 enable_icinfo
1665 enable_iexplore
1666 enable_ipconfig
1667 enable_klist
1668 enable_lodctr
1669 enable_mofcomp
1670 enable_mshta
1671 enable_msidb
1672 enable_msiexec
1673 enable_msinfo32
1674 enable_net
1675 enable_netsh
1676 enable_netstat
1677 enable_ngen
1678 enable_notepad
1679 enable_oleview
1680 enable_ping
1681 enable_plugplay
1682 enable_pnputil
1683 enable_powershell
1684 enable_presentationfontcache
1685 enable_progman
1686 enable_reg
1687 enable_regasm
1688 enable_regedit
1689 enable_regini
1690 enable_regsvcs
1691 enable_regsvr32
1692 enable_robocopy
1693 enable_rpcss
1694 enable_rundll32
1695 enable_sc
1696 enable_schtasks
1697 enable_sdbinst
1698 enable_secedit
1699 enable_servicemodelreg
1700 enable_services
1701 enable_setx
1702 enable_shutdown
1703 enable_spoolsv
1704 enable_start
1705 enable_subst
1706 enable_svchost
1707 enable_systeminfo
1708 enable_taskkill
1709 enable_tasklist
1710 enable_taskmgr
1711 enable_termsv
1712 enable_uninstaller
1713 enable_unlodctr
1714 enable_view
1715 enable_wevtutil
1716 enable_where
1717 enable_whoami
1718 enable_wineboot
1719 enable_winebrowser
1720 enable_winecfg
1721 enable_wineconsole
1722 enable_winedbg
1723 enable_winedevice
1724 enable_winefile
1725 enable_winemenubuilder
1726 enable_winemine
1727 enable_winemsibuilder
1728 enable_winepath
1729 enable_winetest
1730 enable_winhlp32
1731 enable_winmgmt
1732 enable_winver
1733 enable_wmic
1734 enable_wmplayer
1735 enable_wordpad
1736 enable_write
1737 enable_wscript
1738 enable_wuauserv
1739 enable_wusa
1740 enable_xcopy
1741 enable_server
1742 enable_tools
1743 enable_sfnt2fon
1744 enable_widl
1745 enable_winebuild
1746 enable_winedump
1747 enable_winegcc
1748 enable_winemaker
1749 enable_wmc
1750 enable_wrc
1752 ac_precious_vars='build_alias
1753 host_alias
1754 target_alias
1756 CFLAGS
1757 LDFLAGS
1758 LIBS
1759 CPPFLAGS
1761 CXXFLAGS
1763 OBJC
1764 OBJCFLAGS
1765 FAUDIO_PE_CFLAGS
1766 FAUDIO_PE_LIBS
1767 FLUIDSYNTH_PE_CFLAGS
1768 FLUIDSYNTH_PE_LIBS
1769 GSM_PE_CFLAGS
1770 GSM_PE_LIBS
1771 JPEG_PE_CFLAGS
1772 JPEG_PE_LIBS
1773 JXR_PE_CFLAGS
1774 JXR_PE_LIBS
1775 LCMS2_PE_CFLAGS
1776 LCMS2_PE_LIBS
1777 LDAP_PE_CFLAGS
1778 LDAP_PE_LIBS
1779 MPG123_PE_CFLAGS
1780 MPG123_PE_LIBS
1781 MUSL_PE_CFLAGS
1782 MUSL_PE_LIBS
1783 PNG_PE_CFLAGS
1784 PNG_PE_LIBS
1785 TIFF_PE_CFLAGS
1786 TIFF_PE_LIBS
1787 VKD3D_PE_CFLAGS
1788 VKD3D_PE_LIBS
1789 XML2_PE_CFLAGS
1790 XML2_PE_LIBS
1791 XSLT_PE_CFLAGS
1792 XSLT_PE_LIBS
1793 ZLIB_PE_CFLAGS
1794 ZLIB_PE_LIBS
1795 ZYDIS_PE_CFLAGS
1796 ZYDIS_PE_LIBS
1797 XMKMF
1799 WAYLAND_CLIENT_CFLAGS
1800 WAYLAND_CLIENT_LIBS
1801 XKBCOMMON_CFLAGS
1802 XKBCOMMON_LIBS
1803 XKBREGISTRY_CFLAGS
1804 XKBREGISTRY_LIBS
1805 INOTIFY_CFLAGS
1806 INOTIFY_LIBS
1807 DBUS_CFLAGS
1808 DBUS_LIBS
1809 GNUTLS_CFLAGS
1810 GNUTLS_LIBS
1811 SANE_CFLAGS
1812 SANE_LIBS
1813 USB_CFLAGS
1814 USB_LIBS
1815 GPHOTO2_CFLAGS
1816 GPHOTO2_LIBS
1817 GPHOTO2_PORT_CFLAGS
1818 GPHOTO2_PORT_LIBS
1819 FREETYPE_CFLAGS
1820 FREETYPE_LIBS
1821 PULSE_CFLAGS
1822 PULSE_LIBS
1823 GSTREAMER_CFLAGS
1824 GSTREAMER_LIBS
1825 UDEV_CFLAGS
1826 UDEV_LIBS
1827 UNWIND_CFLAGS
1828 UNWIND_LIBS
1829 SDL2_CFLAGS
1830 SDL2_LIBS
1831 CAPI20_CFLAGS
1832 CAPI20_LIBS
1833 CUPS_CFLAGS
1834 CUPS_LIBS
1835 FONTCONFIG_CFLAGS
1836 FONTCONFIG_LIBS
1837 KRB5_CFLAGS
1838 KRB5_LIBS
1839 GSSAPI_CFLAGS
1840 GSSAPI_LIBS
1841 NETAPI_CFLAGS
1842 NETAPI_LIBS'
1845 # Initialize some variables set by options.
1846 ac_init_help=
1847 ac_init_version=false
1848 ac_unrecognized_opts=
1849 ac_unrecognized_sep=
1850 # The variables have the same names as the options, with
1851 # dashes changed to underlines.
1852 cache_file=/dev/null
1853 exec_prefix=NONE
1854 no_create=
1855 no_recursion=
1856 prefix=NONE
1857 program_prefix=NONE
1858 program_suffix=NONE
1859 program_transform_name=s,x,x,
1860 silent=
1861 site=
1862 srcdir=
1863 verbose=
1864 x_includes=NONE
1865 x_libraries=NONE
1867 # Installation directory options.
1868 # These are left unexpanded so users can "make install exec_prefix=/foo"
1869 # and all the variables that are supposed to be based on exec_prefix
1870 # by default will actually change.
1871 # Use braces instead of parens because sh, perl, etc. also accept them.
1872 # (The list follows the same order as the GNU Coding Standards.)
1873 bindir='${exec_prefix}/bin'
1874 sbindir='${exec_prefix}/sbin'
1875 libexecdir='${exec_prefix}/libexec'
1876 datarootdir='${prefix}/share'
1877 datadir='${datarootdir}'
1878 sysconfdir='${prefix}/etc'
1879 sharedstatedir='${prefix}/com'
1880 localstatedir='${prefix}/var'
1881 runstatedir='${localstatedir}/run'
1882 includedir='${prefix}/include'
1883 oldincludedir='/usr/include'
1884 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1885 infodir='${datarootdir}/info'
1886 htmldir='${docdir}'
1887 dvidir='${docdir}'
1888 pdfdir='${docdir}'
1889 psdir='${docdir}'
1890 libdir='${exec_prefix}/lib'
1891 localedir='${datarootdir}/locale'
1892 mandir='${datarootdir}/man'
1894 ac_prev=
1895 ac_dashdash=
1896 for ac_option
1898 # If the previous option needs an argument, assign it.
1899 if test -n "$ac_prev"; then
1900 eval $ac_prev=\$ac_option
1901 ac_prev=
1902 continue
1905 case $ac_option in
1906 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1907 *=) ac_optarg= ;;
1908 *) ac_optarg=yes ;;
1909 esac
1911 case $ac_dashdash$ac_option in
1913 ac_dashdash=yes ;;
1915 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1916 ac_prev=bindir ;;
1917 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1918 bindir=$ac_optarg ;;
1920 -build | --build | --buil | --bui | --bu)
1921 ac_prev=build_alias ;;
1922 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1923 build_alias=$ac_optarg ;;
1925 -cache-file | --cache-file | --cache-fil | --cache-fi \
1926 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1927 ac_prev=cache_file ;;
1928 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1929 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1930 cache_file=$ac_optarg ;;
1932 --config-cache | -C)
1933 cache_file=config.cache ;;
1935 -datadir | --datadir | --datadi | --datad)
1936 ac_prev=datadir ;;
1937 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1938 datadir=$ac_optarg ;;
1940 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1941 | --dataroo | --dataro | --datar)
1942 ac_prev=datarootdir ;;
1943 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1944 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1945 datarootdir=$ac_optarg ;;
1947 -disable-* | --disable-*)
1948 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1949 # Reject names that are not valid shell variable names.
1950 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1951 as_fn_error $? "invalid feature name: \`$ac_useropt'"
1952 ac_useropt_orig=$ac_useropt
1953 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1954 case $ac_user_opts in
1956 "enable_$ac_useropt"
1957 "*) ;;
1958 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1959 ac_unrecognized_sep=', ';;
1960 esac
1961 eval enable_$ac_useropt=no ;;
1963 -docdir | --docdir | --docdi | --doc | --do)
1964 ac_prev=docdir ;;
1965 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1966 docdir=$ac_optarg ;;
1968 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1969 ac_prev=dvidir ;;
1970 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1971 dvidir=$ac_optarg ;;
1973 -enable-* | --enable-*)
1974 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1975 # Reject names that are not valid shell variable names.
1976 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1977 as_fn_error $? "invalid feature name: \`$ac_useropt'"
1978 ac_useropt_orig=$ac_useropt
1979 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1980 case $ac_user_opts in
1982 "enable_$ac_useropt"
1983 "*) ;;
1984 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1985 ac_unrecognized_sep=', ';;
1986 esac
1987 eval enable_$ac_useropt=\$ac_optarg ;;
1989 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1990 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1991 | --exec | --exe | --ex)
1992 ac_prev=exec_prefix ;;
1993 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1994 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1995 | --exec=* | --exe=* | --ex=*)
1996 exec_prefix=$ac_optarg ;;
1998 -gas | --gas | --ga | --g)
1999 # Obsolete; use --with-gas.
2000 with_gas=yes ;;
2002 -help | --help | --hel | --he | -h)
2003 ac_init_help=long ;;
2004 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
2005 ac_init_help=recursive ;;
2006 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
2007 ac_init_help=short ;;
2009 -host | --host | --hos | --ho)
2010 ac_prev=host_alias ;;
2011 -host=* | --host=* | --hos=* | --ho=*)
2012 host_alias=$ac_optarg ;;
2014 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
2015 ac_prev=htmldir ;;
2016 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
2017 | --ht=*)
2018 htmldir=$ac_optarg ;;
2020 -includedir | --includedir | --includedi | --included | --include \
2021 | --includ | --inclu | --incl | --inc)
2022 ac_prev=includedir ;;
2023 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
2024 | --includ=* | --inclu=* | --incl=* | --inc=*)
2025 includedir=$ac_optarg ;;
2027 -infodir | --infodir | --infodi | --infod | --info | --inf)
2028 ac_prev=infodir ;;
2029 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
2030 infodir=$ac_optarg ;;
2032 -libdir | --libdir | --libdi | --libd)
2033 ac_prev=libdir ;;
2034 -libdir=* | --libdir=* | --libdi=* | --libd=*)
2035 libdir=$ac_optarg ;;
2037 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
2038 | --libexe | --libex | --libe)
2039 ac_prev=libexecdir ;;
2040 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
2041 | --libexe=* | --libex=* | --libe=*)
2042 libexecdir=$ac_optarg ;;
2044 -localedir | --localedir | --localedi | --localed | --locale)
2045 ac_prev=localedir ;;
2046 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
2047 localedir=$ac_optarg ;;
2049 -localstatedir | --localstatedir | --localstatedi | --localstated \
2050 | --localstate | --localstat | --localsta | --localst | --locals)
2051 ac_prev=localstatedir ;;
2052 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
2053 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
2054 localstatedir=$ac_optarg ;;
2056 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
2057 ac_prev=mandir ;;
2058 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
2059 mandir=$ac_optarg ;;
2061 -nfp | --nfp | --nf)
2062 # Obsolete; use --without-fp.
2063 with_fp=no ;;
2065 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
2066 | --no-cr | --no-c | -n)
2067 no_create=yes ;;
2069 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
2070 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
2071 no_recursion=yes ;;
2073 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
2074 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
2075 | --oldin | --oldi | --old | --ol | --o)
2076 ac_prev=oldincludedir ;;
2077 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
2078 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
2079 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
2080 oldincludedir=$ac_optarg ;;
2082 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2083 ac_prev=prefix ;;
2084 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2085 prefix=$ac_optarg ;;
2087 -program-prefix | --program-prefix | --program-prefi | --program-pref \
2088 | --program-pre | --program-pr | --program-p)
2089 ac_prev=program_prefix ;;
2090 -program-prefix=* | --program-prefix=* | --program-prefi=* \
2091 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2092 program_prefix=$ac_optarg ;;
2094 -program-suffix | --program-suffix | --program-suffi | --program-suff \
2095 | --program-suf | --program-su | --program-s)
2096 ac_prev=program_suffix ;;
2097 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2098 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2099 program_suffix=$ac_optarg ;;
2101 -program-transform-name | --program-transform-name \
2102 | --program-transform-nam | --program-transform-na \
2103 | --program-transform-n | --program-transform- \
2104 | --program-transform | --program-transfor \
2105 | --program-transfo | --program-transf \
2106 | --program-trans | --program-tran \
2107 | --progr-tra | --program-tr | --program-t)
2108 ac_prev=program_transform_name ;;
2109 -program-transform-name=* | --program-transform-name=* \
2110 | --program-transform-nam=* | --program-transform-na=* \
2111 | --program-transform-n=* | --program-transform-=* \
2112 | --program-transform=* | --program-transfor=* \
2113 | --program-transfo=* | --program-transf=* \
2114 | --program-trans=* | --program-tran=* \
2115 | --progr-tra=* | --program-tr=* | --program-t=*)
2116 program_transform_name=$ac_optarg ;;
2118 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2119 ac_prev=pdfdir ;;
2120 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2121 pdfdir=$ac_optarg ;;
2123 -psdir | --psdir | --psdi | --psd | --ps)
2124 ac_prev=psdir ;;
2125 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2126 psdir=$ac_optarg ;;
2128 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2129 | -silent | --silent | --silen | --sile | --sil)
2130 silent=yes ;;
2132 -runstatedir | --runstatedir | --runstatedi | --runstated \
2133 | --runstate | --runstat | --runsta | --runst | --runs \
2134 | --run | --ru | --r)
2135 ac_prev=runstatedir ;;
2136 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2137 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2138 | --run=* | --ru=* | --r=*)
2139 runstatedir=$ac_optarg ;;
2141 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2142 ac_prev=sbindir ;;
2143 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2144 | --sbi=* | --sb=*)
2145 sbindir=$ac_optarg ;;
2147 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2148 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2149 | --sharedst | --shareds | --shared | --share | --shar \
2150 | --sha | --sh)
2151 ac_prev=sharedstatedir ;;
2152 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2153 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2154 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2155 | --sha=* | --sh=*)
2156 sharedstatedir=$ac_optarg ;;
2158 -site | --site | --sit)
2159 ac_prev=site ;;
2160 -site=* | --site=* | --sit=*)
2161 site=$ac_optarg ;;
2163 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2164 ac_prev=srcdir ;;
2165 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2166 srcdir=$ac_optarg ;;
2168 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2169 | --syscon | --sysco | --sysc | --sys | --sy)
2170 ac_prev=sysconfdir ;;
2171 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2172 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2173 sysconfdir=$ac_optarg ;;
2175 -target | --target | --targe | --targ | --tar | --ta | --t)
2176 ac_prev=target_alias ;;
2177 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2178 target_alias=$ac_optarg ;;
2180 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2181 verbose=yes ;;
2183 -version | --version | --versio | --versi | --vers | -V)
2184 ac_init_version=: ;;
2186 -with-* | --with-*)
2187 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2188 # Reject names that are not valid shell variable names.
2189 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2190 as_fn_error $? "invalid package name: \`$ac_useropt'"
2191 ac_useropt_orig=$ac_useropt
2192 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2193 case $ac_user_opts in
2195 "with_$ac_useropt"
2196 "*) ;;
2197 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2198 ac_unrecognized_sep=', ';;
2199 esac
2200 eval with_$ac_useropt=\$ac_optarg ;;
2202 -without-* | --without-*)
2203 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2204 # Reject names that are not valid shell variable names.
2205 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2206 as_fn_error $? "invalid package name: \`$ac_useropt'"
2207 ac_useropt_orig=$ac_useropt
2208 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2209 case $ac_user_opts in
2211 "with_$ac_useropt"
2212 "*) ;;
2213 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2214 ac_unrecognized_sep=', ';;
2215 esac
2216 eval with_$ac_useropt=no ;;
2218 --x)
2219 # Obsolete; use --with-x.
2220 with_x=yes ;;
2222 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2223 | --x-incl | --x-inc | --x-in | --x-i)
2224 ac_prev=x_includes ;;
2225 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2226 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2227 x_includes=$ac_optarg ;;
2229 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2230 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2231 ac_prev=x_libraries ;;
2232 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2233 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2234 x_libraries=$ac_optarg ;;
2236 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2237 Try \`$0 --help' for more information"
2240 *=*)
2241 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2242 # Reject names that are not valid shell variable names.
2243 case $ac_envvar in #(
2244 '' | [0-9]* | *[!_$as_cr_alnum]* )
2245 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2246 esac
2247 eval $ac_envvar=\$ac_optarg
2248 export $ac_envvar ;;
2251 # FIXME: should be removed in autoconf 3.0.
2252 printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
2253 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2254 printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
2255 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2258 esac
2259 done
2261 if test -n "$ac_prev"; then
2262 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2263 as_fn_error $? "missing argument to $ac_option"
2266 if test -n "$ac_unrecognized_opts"; then
2267 case $enable_option_checking in
2268 no) ;;
2269 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2270 *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2271 esac
2274 # Check all directory arguments for consistency.
2275 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2276 datadir sysconfdir sharedstatedir localstatedir includedir \
2277 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2278 libdir localedir mandir runstatedir
2280 eval ac_val=\$$ac_var
2281 # Remove trailing slashes.
2282 case $ac_val in
2283 */ )
2284 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2285 eval $ac_var=\$ac_val;;
2286 esac
2287 # Be sure to have absolute directory names.
2288 case $ac_val in
2289 [\\/$]* | ?:[\\/]* ) continue;;
2290 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2291 esac
2292 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2293 done
2295 # There might be people who depend on the old broken behavior: `$host'
2296 # used to hold the argument of --host etc.
2297 # FIXME: To remove some day.
2298 build=$build_alias
2299 host=$host_alias
2300 target=$target_alias
2302 # FIXME: To remove some day.
2303 if test "x$host_alias" != x; then
2304 if test "x$build_alias" = x; then
2305 cross_compiling=maybe
2306 elif test "x$build_alias" != "x$host_alias"; then
2307 cross_compiling=yes
2311 ac_tool_prefix=
2312 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2314 test "$silent" = yes && exec 6>/dev/null
2317 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2318 ac_ls_di=`ls -di .` &&
2319 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2320 as_fn_error $? "working directory cannot be determined"
2321 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2322 as_fn_error $? "pwd does not report name of working directory"
2325 # Find the source files, if location was not specified.
2326 if test -z "$srcdir"; then
2327 ac_srcdir_defaulted=yes
2328 # Try the directory containing this script, then the parent directory.
2329 ac_confdir=`$as_dirname -- "$as_myself" ||
2330 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2331 X"$as_myself" : 'X\(//\)[^/]' \| \
2332 X"$as_myself" : 'X\(//\)$' \| \
2333 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2334 printf "%s\n" X"$as_myself" |
2335 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2336 s//\1/
2339 /^X\(\/\/\)[^/].*/{
2340 s//\1/
2343 /^X\(\/\/\)$/{
2344 s//\1/
2347 /^X\(\/\).*/{
2348 s//\1/
2351 s/.*/./; q'`
2352 srcdir=$ac_confdir
2353 if test ! -r "$srcdir/$ac_unique_file"; then
2354 srcdir=..
2356 else
2357 ac_srcdir_defaulted=no
2359 if test ! -r "$srcdir/$ac_unique_file"; then
2360 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2361 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2363 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2364 ac_abs_confdir=`(
2365 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2366 pwd)`
2367 # When building in place, set srcdir=.
2368 if test "$ac_abs_confdir" = "$ac_pwd"; then
2369 srcdir=.
2371 # Remove unnecessary trailing slashes from srcdir.
2372 # Double slashes in file names in object file debugging info
2373 # mess up M-x gdb in Emacs.
2374 case $srcdir in
2375 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2376 esac
2377 for ac_var in $ac_precious_vars; do
2378 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2379 eval ac_env_${ac_var}_value=\$${ac_var}
2380 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2381 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2382 done
2385 # Report the --help message.
2387 if test "$ac_init_help" = "long"; then
2388 # Omit some internal or obsolete options to make the list less imposing.
2389 # This message is too long to be a string in the A/UX 3.1 sh.
2390 cat <<_ACEOF
2391 \`configure' configures Wine 9.0 to adapt to many kinds of systems.
2393 Usage: $0 [OPTION]... [VAR=VALUE]...
2395 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2396 VAR=VALUE. See below for descriptions of some of the useful variables.
2398 Defaults for the options are specified in brackets.
2400 Configuration:
2401 -h, --help display this help and exit
2402 --help=short display options specific to this package
2403 --help=recursive display the short help of all the included packages
2404 -V, --version display version information and exit
2405 -q, --quiet, --silent do not print \`checking ...' messages
2406 --cache-file=FILE cache test results in FILE [disabled]
2407 -C, --config-cache alias for \`--cache-file=config.cache'
2408 -n, --no-create do not create output files
2409 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2411 Installation directories:
2412 --prefix=PREFIX install architecture-independent files in PREFIX
2413 [$ac_default_prefix]
2414 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2415 [PREFIX]
2417 By default, \`make install' will install all the files in
2418 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2419 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2420 for instance \`--prefix=\$HOME'.
2422 For better control, use the options below.
2424 Fine tuning of the installation directories:
2425 --bindir=DIR user executables [EPREFIX/bin]
2426 --sbindir=DIR system admin executables [EPREFIX/sbin]
2427 --libexecdir=DIR program executables [EPREFIX/libexec]
2428 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2429 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2430 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2431 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2432 --libdir=DIR object code libraries [EPREFIX/lib]
2433 --includedir=DIR C header files [PREFIX/include]
2434 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2435 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2436 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2437 --infodir=DIR info documentation [DATAROOTDIR/info]
2438 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2439 --mandir=DIR man documentation [DATAROOTDIR/man]
2440 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2441 --htmldir=DIR html documentation [DOCDIR]
2442 --dvidir=DIR dvi documentation [DOCDIR]
2443 --pdfdir=DIR pdf documentation [DOCDIR]
2444 --psdir=DIR ps documentation [DOCDIR]
2445 _ACEOF
2447 cat <<\_ACEOF
2449 X features:
2450 --x-includes=DIR X include files are in DIR
2451 --x-libraries=DIR X library files are in DIR
2453 System types:
2454 --build=BUILD configure for building on BUILD [guessed]
2455 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2456 _ACEOF
2459 if test -n "$ac_init_help"; then
2460 case $ac_init_help in
2461 short | recursive ) echo "Configuration of Wine 9.0:";;
2462 esac
2463 cat <<\_ACEOF
2465 Optional Features:
2466 --disable-option-checking ignore unrecognized --enable/--with options
2467 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2468 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2469 --enable-archs={i386,x86_64,arm,aarch64}
2470 enable multiple architectures for PE compilation
2471 --disable-win16 do not include Win16 support
2472 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2473 binaries)
2474 --disable-tests do not build the regression tests
2475 --enable-build-id include .buildid section in output objects
2476 --enable-maintainer-mode
2477 enable maintainer-specific build rules
2478 --enable-silent-rules use silent build rules (override: "make V=1")
2479 --enable-werror treat compilation warnings as errors
2480 --disable-largefile omit support for large files
2482 Optional Packages:
2483 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2484 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2485 --without-alsa do not use the Alsa sound support
2486 --without-capi do not use CAPI (ISDN support)
2487 --without-coreaudio do not use the CoreAudio sound support
2488 --without-cups do not use CUPS
2489 --without-dbus do not use DBus (dynamic device support)
2490 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2491 --without-fontconfig do not use fontconfig
2492 --without-freetype do not use the FreeType library
2493 --without-gettext do not use gettext
2494 --with-gettextpo use the GetTextPO library to rebuild po files
2495 --without-gphoto do not use gphoto (Digital Camera support)
2496 --without-gnutls do not use GnuTLS (schannel support)
2497 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2498 --without-gstreamer do not use GStreamer (codecs support)
2499 --without-inotify do not use inotify (filesystem change notifications)
2500 --without-krb5 do not use krb5 (Kerberos)
2501 --without-mingw do not use the MinGW cross-compiler
2502 --without-netapi do not use the Samba NetAPI library
2503 --without-opencl do not use OpenCL
2504 --without-opengl do not use OpenGL
2505 --without-osmesa do not use the OSMesa library
2506 --without-oss do not use the OSS sound support
2507 --without-pcap do not use the Packet Capture library
2508 --without-pcsclite do not use PCSC lite
2509 --without-pthread do not use the pthread library
2510 --without-pulse do not use PulseAudio sound support
2511 --without-sane do not use SANE (scanner support)
2512 --without-sdl do not use SDL
2513 --without-udev do not use udev (plug and play support)
2514 --without-unwind do not use the libunwind library (exception
2515 handling)
2516 --without-usb do not use the libusb library
2517 --without-v4l2 do not use v4l2 (video capture)
2518 --without-vulkan do not use Vulkan
2519 --without-wayland do not build the Wayland driver
2520 --without-xcomposite do not use the Xcomposite extension
2521 --without-xcursor do not use the Xcursor extension
2522 --without-xfixes do not use Xfixes for clipboard change notifications
2523 --without-xinerama do not use Xinerama (legacy multi-monitor support)
2524 --without-xinput do not use the Xinput extension
2525 --without-xinput2 do not use the Xinput 2 extension
2526 --without-xrandr do not use Xrandr (multi-monitor support)
2527 --without-xrender do not use the Xrender extension
2528 --without-xshape do not use the Xshape extension
2529 --without-xshm do not use XShm (shared memory extension)
2530 --without-xxf86vm do not use XFree video mode extension
2531 --with-system-dllpath=PATH
2532 load external PE dependencies from colon-separated
2533 path PATH
2534 --with-wine-tools=DIR use Wine tools from directory DIR
2535 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2536 --with-x use the X Window System
2538 Some influential environment variables:
2539 CC C compiler command
2540 CFLAGS C compiler flags
2541 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2542 nonstandard directory <lib dir>
2543 LIBS libraries to pass to the linker, e.g. -l<library>
2544 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2545 you have headers in a nonstandard directory <include dir>
2546 CXX C++ compiler command
2547 CXXFLAGS C++ compiler flags
2548 OBJC Objective C compiler command
2549 OBJCFLAGS Objective C compiler flags
2550 FAUDIO_PE_CFLAGS
2551 C compiler flags for the PE faudio, overriding the bundled
2552 version
2553 FAUDIO_PE_LIBS
2554 Linker flags for the PE faudio, overriding the bundled version
2555 FLUIDSYNTH_PE_CFLAGS
2556 C compiler flags for the PE fluidsynth, overriding the bundled
2557 version
2558 FLUIDSYNTH_PE_LIBS
2559 Linker flags for the PE fluidsynth, overriding the bundled
2560 version
2561 GSM_PE_CFLAGS
2562 C compiler flags for the PE gsm, overriding the bundled version
2563 GSM_PE_LIBS Linker flags for the PE gsm, overriding the bundled version
2564 JPEG_PE_CFLAGS
2565 C compiler flags for the PE jpeg, overriding the bundled version
2566 JPEG_PE_LIBS
2567 Linker flags for the PE jpeg, overriding the bundled version
2568 JXR_PE_CFLAGS
2569 C compiler flags for the PE jxr, overriding the bundled version
2570 JXR_PE_LIBS Linker flags for the PE jxr, overriding the bundled version
2571 LCMS2_PE_CFLAGS
2572 C compiler flags for the PE lcms2, overriding the bundled
2573 version
2574 LCMS2_PE_LIBS
2575 Linker flags for the PE lcms2, overriding the bundled version
2576 LDAP_PE_CFLAGS
2577 C compiler flags for the PE ldap, overriding the bundled version
2578 LDAP_PE_LIBS
2579 Linker flags for the PE ldap, overriding the bundled version
2580 MPG123_PE_CFLAGS
2581 C compiler flags for the PE mpg123, overriding the bundled
2582 version
2583 MPG123_PE_LIBS
2584 Linker flags for the PE mpg123, overriding the bundled version
2585 MUSL_PE_CFLAGS
2586 C compiler flags for the PE musl, overriding the bundled version
2587 MUSL_PE_LIBS
2588 Linker flags for the PE musl, overriding the bundled version
2589 PNG_PE_CFLAGS
2590 C compiler flags for the PE png, overriding the bundled version
2591 PNG_PE_LIBS Linker flags for the PE png, overriding the bundled version
2592 TIFF_PE_CFLAGS
2593 C compiler flags for the PE tiff, overriding the bundled version
2594 TIFF_PE_LIBS
2595 Linker flags for the PE tiff, overriding the bundled version
2596 VKD3D_PE_CFLAGS
2597 C compiler flags for the PE vkd3d, overriding the bundled
2598 version
2599 VKD3D_PE_LIBS
2600 Linker flags for the PE vkd3d, overriding the bundled version
2601 XML2_PE_CFLAGS
2602 C compiler flags for the PE xml2, overriding the bundled version
2603 XML2_PE_LIBS
2604 Linker flags for the PE xml2, overriding the bundled version
2605 XSLT_PE_CFLAGS
2606 C compiler flags for the PE xslt, overriding the bundled version
2607 XSLT_PE_LIBS
2608 Linker flags for the PE xslt, overriding the bundled version
2609 ZLIB_PE_CFLAGS
2610 C compiler flags for the PE zlib, overriding the bundled version
2611 ZLIB_PE_LIBS
2612 Linker flags for the PE zlib, overriding the bundled version
2613 ZYDIS_PE_CFLAGS
2614 C compiler flags for the PE zydis, overriding the bundled
2615 version
2616 ZYDIS_PE_LIBS
2617 Linker flags for the PE zydis, overriding the bundled version
2618 XMKMF Path to xmkmf, Makefile generator for X Window System
2619 CPP C preprocessor
2620 WAYLAND_CLIENT_CFLAGS
2621 C compiler flags for wayland-client, overriding pkg-config
2622 WAYLAND_CLIENT_LIBS
2623 Linker flags for wayland-client, overriding pkg-config
2624 XKBCOMMON_CFLAGS
2625 C compiler flags for xkbcommon, overriding pkg-config
2626 XKBCOMMON_LIBS
2627 Linker flags for xkbcommon, overriding pkg-config
2628 XKBREGISTRY_CFLAGS
2629 C compiler flags for xkbregistry, overriding pkg-config
2630 XKBREGISTRY_LIBS
2631 Linker flags for xkbregistry, overriding pkg-config
2632 INOTIFY_CFLAGS
2633 C compiler flags for libinotify, overriding pkg-config
2634 INOTIFY_LIBS
2635 Linker flags for libinotify, overriding pkg-config
2636 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2637 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2638 GNUTLS_CFLAGS
2639 C compiler flags for gnutls, overriding pkg-config
2640 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2641 SANE_CFLAGS C compiler flags for sane-backends, overriding pkg-config
2642 SANE_LIBS Linker flags for sane-backends, overriding pkg-config
2643 USB_CFLAGS C compiler flags for libusb-1.0, overriding pkg-config
2644 USB_LIBS Linker flags for libusb-1.0, overriding pkg-config
2645 GPHOTO2_CFLAGS
2646 C compiler flags for libgphoto2, overriding pkg-config
2647 GPHOTO2_LIBS
2648 Linker flags for libgphoto2, overriding pkg-config
2649 GPHOTO2_PORT_CFLAGS
2650 C compiler flags for libgphoto2_port, overriding pkg-config
2651 GPHOTO2_PORT_LIBS
2652 Linker flags for libgphoto2_port, overriding pkg-config
2653 FREETYPE_CFLAGS
2654 C compiler flags for freetype2, overriding pkg-config
2655 FREETYPE_LIBS
2656 Linker flags for freetype2, overriding pkg-config
2657 PULSE_CFLAGS
2658 C compiler flags for libpulse, overriding pkg-config
2659 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2660 GSTREAMER_CFLAGS
2661 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2662 gstreamer-audio-1.0 gstreamer-tag-1.0, overriding pkg-config
2663 GSTREAMER_LIBS
2664 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2665 gstreamer-audio-1.0 gstreamer-tag-1.0, overriding pkg-config
2666 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2667 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2668 UNWIND_CFLAGS
2669 C compiler flags for libunwind, overriding pkg-config
2670 UNWIND_LIBS Linker flags for libunwind, overriding pkg-config
2671 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2672 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2673 CAPI20_CFLAGS
2674 C compiler flags for capi20, overriding pkg-config
2675 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2676 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2677 CUPS_LIBS Linker flags for cups, overriding pkg-config
2678 FONTCONFIG_CFLAGS
2679 C compiler flags for fontconfig, overriding pkg-config
2680 FONTCONFIG_LIBS
2681 Linker flags for fontconfig, overriding pkg-config
2682 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2683 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2684 GSSAPI_CFLAGS
2685 C compiler flags for krb5-gssapi, overriding pkg-config
2686 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2687 NETAPI_CFLAGS
2688 C compiler flags for netapi, overriding pkg-config
2689 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2691 Use these variables to override the choices made by `configure' or to help
2692 it to find libraries and programs with nonstandard names/locations.
2694 Report bugs to <wine-devel@winehq.org>.
2695 Wine home page: <https://www.winehq.org>.
2696 _ACEOF
2697 ac_status=$?
2700 if test "$ac_init_help" = "recursive"; then
2701 # If there are subdirs, report their specific --help.
2702 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2703 test -d "$ac_dir" ||
2704 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2705 continue
2706 ac_builddir=.
2708 case "$ac_dir" in
2709 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2711 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
2712 # A ".." for each directory in $ac_dir_suffix.
2713 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2714 case $ac_top_builddir_sub in
2715 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2716 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2717 esac ;;
2718 esac
2719 ac_abs_top_builddir=$ac_pwd
2720 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2721 # for backward compatibility:
2722 ac_top_builddir=$ac_top_build_prefix
2724 case $srcdir in
2725 .) # We are building in place.
2726 ac_srcdir=.
2727 ac_top_srcdir=$ac_top_builddir_sub
2728 ac_abs_top_srcdir=$ac_pwd ;;
2729 [\\/]* | ?:[\\/]* ) # Absolute name.
2730 ac_srcdir=$srcdir$ac_dir_suffix;
2731 ac_top_srcdir=$srcdir
2732 ac_abs_top_srcdir=$srcdir ;;
2733 *) # Relative name.
2734 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2735 ac_top_srcdir=$ac_top_build_prefix$srcdir
2736 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2737 esac
2738 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2740 cd "$ac_dir" || { ac_status=$?; continue; }
2741 # Check for configure.gnu first; this name is used for a wrapper for
2742 # Metaconfig's "Configure" on case-insensitive file systems.
2743 if test -f "$ac_srcdir/configure.gnu"; then
2744 echo &&
2745 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2746 elif test -f "$ac_srcdir/configure"; then
2747 echo &&
2748 $SHELL "$ac_srcdir/configure" --help=recursive
2749 else
2750 printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2751 fi || ac_status=$?
2752 cd "$ac_pwd" || { ac_status=$?; break; }
2753 done
2756 test -n "$ac_init_help" && exit $ac_status
2757 if $ac_init_version; then
2758 cat <<\_ACEOF
2759 Wine configure 9.0
2760 generated by GNU Autoconf 2.71
2762 Copyright (C) 2021 Free Software Foundation, Inc.
2763 This configure script is free software; the Free Software Foundation
2764 gives unlimited permission to copy, distribute and modify it.
2765 _ACEOF
2766 exit
2769 ## ------------------------ ##
2770 ## Autoconf initialization. ##
2771 ## ------------------------ ##
2773 # ac_fn_c_try_compile LINENO
2774 # --------------------------
2775 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2776 ac_fn_c_try_compile ()
2778 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2779 rm -f conftest.$ac_objext conftest.beam
2780 if { { ac_try="$ac_compile"
2781 case "(($ac_try" in
2782 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2783 *) ac_try_echo=$ac_try;;
2784 esac
2785 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2786 printf "%s\n" "$ac_try_echo"; } >&5
2787 (eval "$ac_compile") 2>conftest.err
2788 ac_status=$?
2789 if test -s conftest.err; then
2790 grep -v '^ *+' conftest.err >conftest.er1
2791 cat conftest.er1 >&5
2792 mv -f conftest.er1 conftest.err
2794 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2795 test $ac_status = 0; } && {
2796 test -z "$ac_c_werror_flag" ||
2797 test ! -s conftest.err
2798 } && test -s conftest.$ac_objext
2799 then :
2800 ac_retval=0
2801 else $as_nop
2802 printf "%s\n" "$as_me: failed program was:" >&5
2803 sed 's/^/| /' conftest.$ac_ext >&5
2805 ac_retval=1
2807 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2808 as_fn_set_status $ac_retval
2810 } # ac_fn_c_try_compile
2812 # ac_fn_cxx_try_compile LINENO
2813 # ----------------------------
2814 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2815 ac_fn_cxx_try_compile ()
2817 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2818 rm -f conftest.$ac_objext conftest.beam
2819 if { { ac_try="$ac_compile"
2820 case "(($ac_try" in
2821 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2822 *) ac_try_echo=$ac_try;;
2823 esac
2824 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2825 printf "%s\n" "$ac_try_echo"; } >&5
2826 (eval "$ac_compile") 2>conftest.err
2827 ac_status=$?
2828 if test -s conftest.err; then
2829 grep -v '^ *+' conftest.err >conftest.er1
2830 cat conftest.er1 >&5
2831 mv -f conftest.er1 conftest.err
2833 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2834 test $ac_status = 0; } && {
2835 test -z "$ac_cxx_werror_flag" ||
2836 test ! -s conftest.err
2837 } && test -s conftest.$ac_objext
2838 then :
2839 ac_retval=0
2840 else $as_nop
2841 printf "%s\n" "$as_me: failed program was:" >&5
2842 sed 's/^/| /' conftest.$ac_ext >&5
2844 ac_retval=1
2846 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2847 as_fn_set_status $ac_retval
2849 } # ac_fn_cxx_try_compile
2851 # ac_fn_c_try_link LINENO
2852 # -----------------------
2853 # Try to link conftest.$ac_ext, and return whether this succeeded.
2854 ac_fn_c_try_link ()
2856 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2857 rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
2858 if { { ac_try="$ac_link"
2859 case "(($ac_try" in
2860 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2861 *) ac_try_echo=$ac_try;;
2862 esac
2863 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2864 printf "%s\n" "$ac_try_echo"; } >&5
2865 (eval "$ac_link") 2>conftest.err
2866 ac_status=$?
2867 if test -s conftest.err; then
2868 grep -v '^ *+' conftest.err >conftest.er1
2869 cat conftest.er1 >&5
2870 mv -f conftest.er1 conftest.err
2872 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2873 test $ac_status = 0; } && {
2874 test -z "$ac_c_werror_flag" ||
2875 test ! -s conftest.err
2876 } && test -s conftest$ac_exeext && {
2877 test "$cross_compiling" = yes ||
2878 test -x conftest$ac_exeext
2880 then :
2881 ac_retval=0
2882 else $as_nop
2883 printf "%s\n" "$as_me: failed program was:" >&5
2884 sed 's/^/| /' conftest.$ac_ext >&5
2886 ac_retval=1
2888 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2889 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2890 # interfere with the next link command; also delete a directory that is
2891 # left behind by Apple's compiler. We do this before executing the actions.
2892 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2893 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2894 as_fn_set_status $ac_retval
2896 } # ac_fn_c_try_link
2898 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2899 # -------------------------------------------------------
2900 # Tests whether HEADER exists and can be compiled using the include files in
2901 # INCLUDES, setting the cache variable VAR accordingly.
2902 ac_fn_c_check_header_compile ()
2904 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2905 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2906 printf %s "checking for $2... " >&6; }
2907 if eval test \${$3+y}
2908 then :
2909 printf %s "(cached) " >&6
2910 else $as_nop
2911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2912 /* end confdefs.h. */
2914 #include <$2>
2915 _ACEOF
2916 if ac_fn_c_try_compile "$LINENO"
2917 then :
2918 eval "$3=yes"
2919 else $as_nop
2920 eval "$3=no"
2922 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2924 eval ac_res=\$$3
2925 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2926 printf "%s\n" "$ac_res" >&6; }
2927 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2929 } # ac_fn_c_check_header_compile
2931 # ac_fn_objc_try_compile LINENO
2932 # -----------------------------
2933 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2934 ac_fn_objc_try_compile ()
2936 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2937 rm -f conftest.$ac_objext conftest.beam
2938 if { { ac_try="$ac_compile"
2939 case "(($ac_try" in
2940 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2941 *) ac_try_echo=$ac_try;;
2942 esac
2943 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2944 printf "%s\n" "$ac_try_echo"; } >&5
2945 (eval "$ac_compile") 2>conftest.err
2946 ac_status=$?
2947 if test -s conftest.err; then
2948 grep -v '^ *+' conftest.err >conftest.er1
2949 cat conftest.er1 >&5
2950 mv -f conftest.er1 conftest.err
2952 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2953 test $ac_status = 0; } && {
2954 test -z "$ac_objc_werror_flag" ||
2955 test ! -s conftest.err
2956 } && test -s conftest.$ac_objext
2957 then :
2958 ac_retval=0
2959 else $as_nop
2960 printf "%s\n" "$as_me: failed program was:" >&5
2961 sed 's/^/| /' conftest.$ac_ext >&5
2963 ac_retval=1
2965 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2966 as_fn_set_status $ac_retval
2968 } # ac_fn_objc_try_compile
2970 # ac_fn_c_check_func LINENO FUNC VAR
2971 # ----------------------------------
2972 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2973 ac_fn_c_check_func ()
2975 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2976 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2977 printf %s "checking for $2... " >&6; }
2978 if eval test \${$3+y}
2979 then :
2980 printf %s "(cached) " >&6
2981 else $as_nop
2982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2983 /* end confdefs.h. */
2984 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2985 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2986 #define $2 innocuous_$2
2988 /* System header to define __stub macros and hopefully few prototypes,
2989 which can conflict with char $2 (); below. */
2991 #include <limits.h>
2992 #undef $2
2994 /* Override any GCC internal prototype to avoid an error.
2995 Use char because int might match the return type of a GCC
2996 builtin and then its argument prototype would still apply. */
2997 #ifdef __cplusplus
2998 extern "C"
2999 #endif
3000 char $2 ();
3001 /* The GNU C library defines this for functions which it implements
3002 to always fail with ENOSYS. Some functions are actually named
3003 something starting with __ and the normal name is an alias. */
3004 #if defined __stub_$2 || defined __stub___$2
3005 choke me
3006 #endif
3009 main (void)
3011 return $2 ();
3013 return 0;
3015 _ACEOF
3016 if ac_fn_c_try_link "$LINENO"
3017 then :
3018 eval "$3=yes"
3019 else $as_nop
3020 eval "$3=no"
3022 rm -f core conftest.err conftest.$ac_objext conftest.beam \
3023 conftest$ac_exeext conftest.$ac_ext
3025 eval ac_res=\$$3
3026 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3027 printf "%s\n" "$ac_res" >&6; }
3028 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3030 } # ac_fn_c_check_func
3032 # ac_fn_c_try_cpp LINENO
3033 # ----------------------
3034 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
3035 ac_fn_c_try_cpp ()
3037 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3038 if { { ac_try="$ac_cpp conftest.$ac_ext"
3039 case "(($ac_try" in
3040 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3041 *) ac_try_echo=$ac_try;;
3042 esac
3043 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3044 printf "%s\n" "$ac_try_echo"; } >&5
3045 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
3046 ac_status=$?
3047 if test -s conftest.err; then
3048 grep -v '^ *+' conftest.err >conftest.er1
3049 cat conftest.er1 >&5
3050 mv -f conftest.er1 conftest.err
3052 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3053 test $ac_status = 0; } > conftest.i && {
3054 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3055 test ! -s conftest.err
3057 then :
3058 ac_retval=0
3059 else $as_nop
3060 printf "%s\n" "$as_me: failed program was:" >&5
3061 sed 's/^/| /' conftest.$ac_ext >&5
3063 ac_retval=1
3065 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3066 as_fn_set_status $ac_retval
3068 } # ac_fn_c_try_cpp
3070 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3071 # ----------------------------------------------------
3072 # Tries to find if the field MEMBER exists in type AGGR, after including
3073 # INCLUDES, setting cache variable VAR accordingly.
3074 ac_fn_c_check_member ()
3076 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3077 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3078 printf %s "checking for $2.$3... " >&6; }
3079 if eval test \${$4+y}
3080 then :
3081 printf %s "(cached) " >&6
3082 else $as_nop
3083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3084 /* end confdefs.h. */
3087 main (void)
3089 static $2 ac_aggr;
3090 if (ac_aggr.$3)
3091 return 0;
3093 return 0;
3095 _ACEOF
3096 if ac_fn_c_try_compile "$LINENO"
3097 then :
3098 eval "$4=yes"
3099 else $as_nop
3100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3101 /* end confdefs.h. */
3104 main (void)
3106 static $2 ac_aggr;
3107 if (sizeof ac_aggr.$3)
3108 return 0;
3110 return 0;
3112 _ACEOF
3113 if ac_fn_c_try_compile "$LINENO"
3114 then :
3115 eval "$4=yes"
3116 else $as_nop
3117 eval "$4=no"
3119 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3121 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3123 eval ac_res=\$$4
3124 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3125 printf "%s\n" "$ac_res" >&6; }
3126 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3128 } # ac_fn_c_check_member
3130 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3131 # -------------------------------------------
3132 # Tests whether TYPE exists after having included INCLUDES, setting cache
3133 # variable VAR accordingly.
3134 ac_fn_c_check_type ()
3136 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3137 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3138 printf %s "checking for $2... " >&6; }
3139 if eval test \${$3+y}
3140 then :
3141 printf %s "(cached) " >&6
3142 else $as_nop
3143 eval "$3=no"
3144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3145 /* end confdefs.h. */
3148 main (void)
3150 if (sizeof ($2))
3151 return 0;
3153 return 0;
3155 _ACEOF
3156 if ac_fn_c_try_compile "$LINENO"
3157 then :
3158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3159 /* end confdefs.h. */
3162 main (void)
3164 if (sizeof (($2)))
3165 return 0;
3167 return 0;
3169 _ACEOF
3170 if ac_fn_c_try_compile "$LINENO"
3171 then :
3173 else $as_nop
3174 eval "$3=yes"
3176 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3178 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3180 eval ac_res=\$$3
3181 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3182 printf "%s\n" "$ac_res" >&6; }
3183 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3185 } # ac_fn_c_check_type
3186 ac_configure_args_raw=
3187 for ac_arg
3189 case $ac_arg in
3190 *\'*)
3191 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3192 esac
3193 as_fn_append ac_configure_args_raw " '$ac_arg'"
3194 done
3196 case $ac_configure_args_raw in
3197 *$as_nl*)
3198 ac_safe_unquote= ;;
3200 ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab.
3201 ac_unsafe_a="$ac_unsafe_z#~"
3202 ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
3203 ac_configure_args_raw=` printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
3204 esac
3206 cat >config.log <<_ACEOF
3207 This file contains any messages produced by compilers while
3208 running configure, to aid debugging if configure makes a mistake.
3210 It was created by Wine $as_me 9.0, which was
3211 generated by GNU Autoconf 2.71. Invocation command line was
3213 $ $0$ac_configure_args_raw
3215 _ACEOF
3216 exec 5>>config.log
3218 cat <<_ASUNAME
3219 ## --------- ##
3220 ## Platform. ##
3221 ## --------- ##
3223 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3224 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3225 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3226 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3227 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3229 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3230 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3232 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3233 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3234 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3235 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3236 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3237 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3238 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3240 _ASUNAME
3242 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3243 for as_dir in $PATH
3245 IFS=$as_save_IFS
3246 case $as_dir in #(((
3247 '') as_dir=./ ;;
3248 */) ;;
3249 *) as_dir=$as_dir/ ;;
3250 esac
3251 printf "%s\n" "PATH: $as_dir"
3252 done
3253 IFS=$as_save_IFS
3255 } >&5
3257 cat >&5 <<_ACEOF
3260 ## ----------- ##
3261 ## Core tests. ##
3262 ## ----------- ##
3264 _ACEOF
3267 # Keep a trace of the command line.
3268 # Strip out --no-create and --no-recursion so they do not pile up.
3269 # Strip out --silent because we don't want to record it for future runs.
3270 # Also quote any args containing shell meta-characters.
3271 # Make two passes to allow for proper duplicate-argument suppression.
3272 ac_configure_args=
3273 ac_configure_args0=
3274 ac_configure_args1=
3275 ac_must_keep_next=false
3276 for ac_pass in 1 2
3278 for ac_arg
3280 case $ac_arg in
3281 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3282 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3283 | -silent | --silent | --silen | --sile | --sil)
3284 continue ;;
3285 *\'*)
3286 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3287 esac
3288 case $ac_pass in
3289 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3291 as_fn_append ac_configure_args1 " '$ac_arg'"
3292 if test $ac_must_keep_next = true; then
3293 ac_must_keep_next=false # Got value, back to normal.
3294 else
3295 case $ac_arg in
3296 *=* | --config-cache | -C | -disable-* | --disable-* \
3297 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3298 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3299 | -with-* | --with-* | -without-* | --without-* | --x)
3300 case "$ac_configure_args0 " in
3301 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3302 esac
3304 -* ) ac_must_keep_next=true ;;
3305 esac
3307 as_fn_append ac_configure_args " '$ac_arg'"
3309 esac
3310 done
3311 done
3312 { ac_configure_args0=; unset ac_configure_args0;}
3313 { ac_configure_args1=; unset ac_configure_args1;}
3315 # When interrupted or exit'd, cleanup temporary files, and complete
3316 # config.log. We remove comments because anyway the quotes in there
3317 # would cause problems or look ugly.
3318 # WARNING: Use '\'' to represent an apostrophe within the trap.
3319 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3320 trap 'exit_status=$?
3321 # Sanitize IFS.
3322 IFS=" "" $as_nl"
3323 # Save into config.log some information that might help in debugging.
3325 echo
3327 printf "%s\n" "## ---------------- ##
3328 ## Cache variables. ##
3329 ## ---------------- ##"
3330 echo
3331 # The following way of writing the cache mishandles newlines in values,
3333 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3334 eval ac_val=\$$ac_var
3335 case $ac_val in #(
3336 *${as_nl}*)
3337 case $ac_var in #(
3338 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3339 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3340 esac
3341 case $ac_var in #(
3342 _ | IFS | as_nl) ;; #(
3343 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3344 *) { eval $ac_var=; unset $ac_var;} ;;
3345 esac ;;
3346 esac
3347 done
3348 (set) 2>&1 |
3349 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3350 *${as_nl}ac_space=\ *)
3351 sed -n \
3352 "s/'\''/'\''\\\\'\'''\''/g;
3353 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3354 ;; #(
3356 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3358 esac |
3359 sort
3361 echo
3363 printf "%s\n" "## ----------------- ##
3364 ## Output variables. ##
3365 ## ----------------- ##"
3366 echo
3367 for ac_var in $ac_subst_vars
3369 eval ac_val=\$$ac_var
3370 case $ac_val in
3371 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3372 esac
3373 printf "%s\n" "$ac_var='\''$ac_val'\''"
3374 done | sort
3375 echo
3377 if test -n "$ac_subst_files"; then
3378 printf "%s\n" "## ------------------- ##
3379 ## File substitutions. ##
3380 ## ------------------- ##"
3381 echo
3382 for ac_var in $ac_subst_files
3384 eval ac_val=\$$ac_var
3385 case $ac_val in
3386 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3387 esac
3388 printf "%s\n" "$ac_var='\''$ac_val'\''"
3389 done | sort
3390 echo
3393 if test -s confdefs.h; then
3394 printf "%s\n" "## ----------- ##
3395 ## confdefs.h. ##
3396 ## ----------- ##"
3397 echo
3398 cat confdefs.h
3399 echo
3401 test "$ac_signal" != 0 &&
3402 printf "%s\n" "$as_me: caught signal $ac_signal"
3403 printf "%s\n" "$as_me: exit $exit_status"
3404 } >&5
3405 rm -f core *.core core.conftest.* &&
3406 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3407 exit $exit_status
3409 for ac_signal in 1 2 13 15; do
3410 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3411 done
3412 ac_signal=0
3414 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3415 rm -f -r conftest* confdefs.h
3417 printf "%s\n" "/* confdefs.h */" > confdefs.h
3419 # Predefined preprocessor variables.
3421 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
3423 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
3425 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
3427 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
3429 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
3431 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
3434 # Let the site file select an alternate cache file if it wants to.
3435 # Prefer an explicitly selected file to automatically selected ones.
3436 if test -n "$CONFIG_SITE"; then
3437 ac_site_files="$CONFIG_SITE"
3438 elif test "x$prefix" != xNONE; then
3439 ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
3440 else
3441 ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
3444 for ac_site_file in $ac_site_files
3446 case $ac_site_file in #(
3447 */*) :
3448 ;; #(
3449 *) :
3450 ac_site_file=./$ac_site_file ;;
3451 esac
3452 if test -f "$ac_site_file" && test -r "$ac_site_file"; then
3453 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3454 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
3455 sed 's/^/| /' "$ac_site_file" >&5
3456 . "$ac_site_file" \
3457 || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3458 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
3459 as_fn_error $? "failed to load site script $ac_site_file
3460 See \`config.log' for more details" "$LINENO" 5; }
3462 done
3464 if test -r "$cache_file"; then
3465 # Some versions of bash will fail to source /dev/null (special files
3466 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3467 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3468 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3469 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
3470 case $cache_file in
3471 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3472 *) . "./$cache_file";;
3473 esac
3475 else
3476 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3477 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
3478 >$cache_file
3481 # Test code for whether the C compiler supports C89 (global declarations)
3482 ac_c_conftest_c89_globals='
3483 /* Does the compiler advertise C89 conformance?
3484 Do not test the value of __STDC__, because some compilers set it to 0
3485 while being otherwise adequately conformant. */
3486 #if !defined __STDC__
3487 # error "Compiler does not advertise C89 conformance"
3488 #endif
3490 #include <stddef.h>
3491 #include <stdarg.h>
3492 struct stat;
3493 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */
3494 struct buf { int x; };
3495 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
3496 static char *e (p, i)
3497 char **p;
3498 int i;
3500 return p[i];
3502 static char *f (char * (*g) (char **, int), char **p, ...)
3504 char *s;
3505 va_list v;
3506 va_start (v,p);
3507 s = g (p, va_arg (v,int));
3508 va_end (v);
3509 return s;
3512 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3513 function prototypes and stuff, but not \xHH hex character constants.
3514 These do not provoke an error unfortunately, instead are silently treated
3515 as an "x". The following induces an error, until -std is added to get
3516 proper ANSI mode. Curiously \x00 != x always comes out true, for an
3517 array size at least. It is necessary to write \x00 == 0 to get something
3518 that is true only with -std. */
3519 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
3521 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3522 inside strings and character constants. */
3523 #define FOO(x) '\''x'\''
3524 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
3526 int test (int i, double x);
3527 struct s1 {int (*f) (int a);};
3528 struct s2 {int (*f) (double a);};
3529 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
3530 int, int);'
3532 # Test code for whether the C compiler supports C89 (body of main).
3533 ac_c_conftest_c89_main='
3534 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
3537 # Test code for whether the C compiler supports C99 (global declarations)
3538 ac_c_conftest_c99_globals='
3539 // Does the compiler advertise C99 conformance?
3540 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
3541 # error "Compiler does not advertise C99 conformance"
3542 #endif
3544 #include <stdbool.h>
3545 extern int puts (const char *);
3546 extern int printf (const char *, ...);
3547 extern int dprintf (int, const char *, ...);
3548 extern void *malloc (size_t);
3550 // Check varargs macros. These examples are taken from C99 6.10.3.5.
3551 // dprintf is used instead of fprintf to avoid needing to declare
3552 // FILE and stderr.
3553 #define debug(...) dprintf (2, __VA_ARGS__)
3554 #define showlist(...) puts (#__VA_ARGS__)
3555 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3556 static void
3557 test_varargs_macros (void)
3559 int x = 1234;
3560 int y = 5678;
3561 debug ("Flag");
3562 debug ("X = %d\n", x);
3563 showlist (The first, second, and third items.);
3564 report (x>y, "x is %d but y is %d", x, y);
3567 // Check long long types.
3568 #define BIG64 18446744073709551615ull
3569 #define BIG32 4294967295ul
3570 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3571 #if !BIG_OK
3572 #error "your preprocessor is broken"
3573 #endif
3574 #if BIG_OK
3575 #else
3576 #error "your preprocessor is broken"
3577 #endif
3578 static long long int bignum = -9223372036854775807LL;
3579 static unsigned long long int ubignum = BIG64;
3581 struct incomplete_array
3583 int datasize;
3584 double data[];
3587 struct named_init {
3588 int number;
3589 const wchar_t *name;
3590 double average;
3593 typedef const char *ccp;
3595 static inline int
3596 test_restrict (ccp restrict text)
3598 // See if C++-style comments work.
3599 // Iterate through items via the restricted pointer.
3600 // Also check for declarations in for loops.
3601 for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
3602 continue;
3603 return 0;
3606 // Check varargs and va_copy.
3607 static bool
3608 test_varargs (const char *format, ...)
3610 va_list args;
3611 va_start (args, format);
3612 va_list args_copy;
3613 va_copy (args_copy, args);
3615 const char *str = "";
3616 int number = 0;
3617 float fnumber = 0;
3619 while (*format)
3621 switch (*format++)
3623 case '\''s'\'': // string
3624 str = va_arg (args_copy, const char *);
3625 break;
3626 case '\''d'\'': // int
3627 number = va_arg (args_copy, int);
3628 break;
3629 case '\''f'\'': // float
3630 fnumber = va_arg (args_copy, double);
3631 break;
3632 default:
3633 break;
3636 va_end (args_copy);
3637 va_end (args);
3639 return *str && number && fnumber;
3643 # Test code for whether the C compiler supports C99 (body of main).
3644 ac_c_conftest_c99_main='
3645 // Check bool.
3646 _Bool success = false;
3647 success |= (argc != 0);
3649 // Check restrict.
3650 if (test_restrict ("String literal") == 0)
3651 success = true;
3652 char *restrict newvar = "Another string";
3654 // Check varargs.
3655 success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
3656 test_varargs_macros ();
3658 // Check flexible array members.
3659 struct incomplete_array *ia =
3660 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
3661 ia->datasize = 10;
3662 for (int i = 0; i < ia->datasize; ++i)
3663 ia->data[i] = i * 1.234;
3665 // Check named initializers.
3666 struct named_init ni = {
3667 .number = 34,
3668 .name = L"Test wide string",
3669 .average = 543.34343,
3672 ni.number = 58;
3674 int dynamic_array[ni.number];
3675 dynamic_array[0] = argv[0][0];
3676 dynamic_array[ni.number - 1] = 543;
3678 // work around unused variable warnings
3679 ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
3680 || dynamic_array[ni.number - 1] != 543);
3683 # Test code for whether the C compiler supports C11 (global declarations)
3684 ac_c_conftest_c11_globals='
3685 // Does the compiler advertise C11 conformance?
3686 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
3687 # error "Compiler does not advertise C11 conformance"
3688 #endif
3690 // Check _Alignas.
3691 char _Alignas (double) aligned_as_double;
3692 char _Alignas (0) no_special_alignment;
3693 extern char aligned_as_int;
3694 char _Alignas (0) _Alignas (int) aligned_as_int;
3696 // Check _Alignof.
3697 enum
3699 int_alignment = _Alignof (int),
3700 int_array_alignment = _Alignof (int[100]),
3701 char_alignment = _Alignof (char)
3703 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
3705 // Check _Noreturn.
3706 int _Noreturn does_not_return (void) { for (;;) continue; }
3708 // Check _Static_assert.
3709 struct test_static_assert
3711 int x;
3712 _Static_assert (sizeof (int) <= sizeof (long int),
3713 "_Static_assert does not work in struct");
3714 long int y;
3717 // Check UTF-8 literals.
3718 #define u8 syntax error!
3719 char const utf8_literal[] = u8"happens to be ASCII" "another string";
3721 // Check duplicate typedefs.
3722 typedef long *long_ptr;
3723 typedef long int *long_ptr;
3724 typedef long_ptr long_ptr;
3726 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
3727 struct anonymous
3729 union {
3730 struct { int i; int j; };
3731 struct { int k; long int l; } w;
3733 int m;
3734 } v1;
3737 # Test code for whether the C compiler supports C11 (body of main).
3738 ac_c_conftest_c11_main='
3739 _Static_assert ((offsetof (struct anonymous, i)
3740 == offsetof (struct anonymous, w.k)),
3741 "Anonymous union alignment botch");
3742 v1.i = 2;
3743 v1.w.k = 5;
3744 ok |= v1.i != 5;
3747 # Test code for whether the C compiler supports C11 (complete).
3748 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
3749 ${ac_c_conftest_c99_globals}
3750 ${ac_c_conftest_c11_globals}
3753 main (int argc, char **argv)
3755 int ok = 0;
3756 ${ac_c_conftest_c89_main}
3757 ${ac_c_conftest_c99_main}
3758 ${ac_c_conftest_c11_main}
3759 return ok;
3763 # Test code for whether the C compiler supports C99 (complete).
3764 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
3765 ${ac_c_conftest_c99_globals}
3768 main (int argc, char **argv)
3770 int ok = 0;
3771 ${ac_c_conftest_c89_main}
3772 ${ac_c_conftest_c99_main}
3773 return ok;
3777 # Test code for whether the C compiler supports C89 (complete).
3778 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
3781 main (int argc, char **argv)
3783 int ok = 0;
3784 ${ac_c_conftest_c89_main}
3785 return ok;
3789 # Test code for whether the C++ compiler supports C++98 (global declarations)
3790 ac_cxx_conftest_cxx98_globals='
3791 // Does the compiler advertise C++98 conformance?
3792 #if !defined __cplusplus || __cplusplus < 199711L
3793 # error "Compiler does not advertise C++98 conformance"
3794 #endif
3796 // These inclusions are to reject old compilers that
3797 // lack the unsuffixed header files.
3798 #include <cstdlib>
3799 #include <exception>
3801 // <cassert> and <cstring> are *not* freestanding headers in C++98.
3802 extern void assert (int);
3803 namespace std {
3804 extern int strcmp (const char *, const char *);
3807 // Namespaces, exceptions, and templates were all added after "C++ 2.0".
3808 using std::exception;
3809 using std::strcmp;
3811 namespace {
3813 void test_exception_syntax()
3815 try {
3816 throw "test";
3817 } catch (const char *s) {
3818 // Extra parentheses suppress a warning when building autoconf itself,
3819 // due to lint rules shared with more typical C programs.
3820 assert (!(strcmp) (s, "test"));
3824 template <typename T> struct test_template
3826 T const val;
3827 explicit test_template(T t) : val(t) {}
3828 template <typename U> T add(U u) { return static_cast<T>(u) + val; }
3831 } // anonymous namespace
3834 # Test code for whether the C++ compiler supports C++98 (body of main)
3835 ac_cxx_conftest_cxx98_main='
3836 assert (argc);
3837 assert (! argv[0]);
3839 test_exception_syntax ();
3840 test_template<double> tt (2.0);
3841 assert (tt.add (4) == 6.0);
3842 assert (true && !false);
3846 # Test code for whether the C++ compiler supports C++11 (global declarations)
3847 ac_cxx_conftest_cxx11_globals='
3848 // Does the compiler advertise C++ 2011 conformance?
3849 #if !defined __cplusplus || __cplusplus < 201103L
3850 # error "Compiler does not advertise C++11 conformance"
3851 #endif
3853 namespace cxx11test
3855 constexpr int get_val() { return 20; }
3857 struct testinit
3859 int i;
3860 double d;
3863 class delegate
3865 public:
3866 delegate(int n) : n(n) {}
3867 delegate(): delegate(2354) {}
3869 virtual int getval() { return this->n; };
3870 protected:
3871 int n;
3874 class overridden : public delegate
3876 public:
3877 overridden(int n): delegate(n) {}
3878 virtual int getval() override final { return this->n * 2; }
3881 class nocopy
3883 public:
3884 nocopy(int i): i(i) {}
3885 nocopy() = default;
3886 nocopy(const nocopy&) = delete;
3887 nocopy & operator=(const nocopy&) = delete;
3888 private:
3889 int i;
3892 // for testing lambda expressions
3893 template <typename Ret, typename Fn> Ret eval(Fn f, Ret v)
3895 return f(v);
3898 // for testing variadic templates and trailing return types
3899 template <typename V> auto sum(V first) -> V
3901 return first;
3903 template <typename V, typename... Args> auto sum(V first, Args... rest) -> V
3905 return first + sum(rest...);
3910 # Test code for whether the C++ compiler supports C++11 (body of main)
3911 ac_cxx_conftest_cxx11_main='
3913 // Test auto and decltype
3914 auto a1 = 6538;
3915 auto a2 = 48573953.4;
3916 auto a3 = "String literal";
3918 int total = 0;
3919 for (auto i = a3; *i; ++i) { total += *i; }
3921 decltype(a2) a4 = 34895.034;
3924 // Test constexpr
3925 short sa[cxx11test::get_val()] = { 0 };
3928 // Test initializer lists
3929 cxx11test::testinit il = { 4323, 435234.23544 };
3932 // Test range-based for
3933 int array[] = {9, 7, 13, 15, 4, 18, 12, 10, 5, 3,
3934 14, 19, 17, 8, 6, 20, 16, 2, 11, 1};
3935 for (auto &x : array) { x += 23; }
3938 // Test lambda expressions
3939 using cxx11test::eval;
3940 assert (eval ([](int x) { return x*2; }, 21) == 42);
3941 double d = 2.0;
3942 assert (eval ([&](double x) { return d += x; }, 3.0) == 5.0);
3943 assert (d == 5.0);
3944 assert (eval ([=](double x) mutable { return d += x; }, 4.0) == 9.0);
3945 assert (d == 5.0);
3948 // Test use of variadic templates
3949 using cxx11test::sum;
3950 auto a = sum(1);
3951 auto b = sum(1, 2);
3952 auto c = sum(1.0, 2.0, 3.0);
3955 // Test constructor delegation
3956 cxx11test::delegate d1;
3957 cxx11test::delegate d2();
3958 cxx11test::delegate d3(45);
3961 // Test override and final
3962 cxx11test::overridden o1(55464);
3965 // Test nullptr
3966 char *c = nullptr;
3969 // Test template brackets
3970 test_template<::test_template<int>> v(test_template<int>(12));
3973 // Unicode literals
3974 char const *utf8 = u8"UTF-8 string \u2500";
3975 char16_t const *utf16 = u"UTF-8 string \u2500";
3976 char32_t const *utf32 = U"UTF-32 string \u2500";
3980 # Test code for whether the C compiler supports C++11 (complete).
3981 ac_cxx_conftest_cxx11_program="${ac_cxx_conftest_cxx98_globals}
3982 ${ac_cxx_conftest_cxx11_globals}
3985 main (int argc, char **argv)
3987 int ok = 0;
3988 ${ac_cxx_conftest_cxx98_main}
3989 ${ac_cxx_conftest_cxx11_main}
3990 return ok;
3994 # Test code for whether the C compiler supports C++98 (complete).
3995 ac_cxx_conftest_cxx98_program="${ac_cxx_conftest_cxx98_globals}
3997 main (int argc, char **argv)
3999 int ok = 0;
4000 ${ac_cxx_conftest_cxx98_main}
4001 return ok;
4005 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
4006 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
4007 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
4008 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
4009 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
4010 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
4011 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
4012 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
4013 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
4015 # Auxiliary files required by this configure script.
4016 ac_aux_files="config.guess config.sub"
4018 # Locations in which to look for auxiliary files.
4019 ac_aux_dir_candidates="${srcdir}/tools"
4021 # Search for a directory containing all of the required auxiliary files,
4022 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
4023 # If we don't find one directory that contains all the files we need,
4024 # we report the set of missing files from the *first* directory in
4025 # $ac_aux_dir_candidates and give up.
4026 ac_missing_aux_files=""
4027 ac_first_candidate=:
4028 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
4029 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4030 as_found=false
4031 for as_dir in $ac_aux_dir_candidates
4033 IFS=$as_save_IFS
4034 case $as_dir in #(((
4035 '') as_dir=./ ;;
4036 */) ;;
4037 *) as_dir=$as_dir/ ;;
4038 esac
4039 as_found=:
4041 printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5
4042 ac_aux_dir_found=yes
4043 ac_install_sh=
4044 for ac_aux in $ac_aux_files
4046 # As a special case, if "install-sh" is required, that requirement
4047 # can be satisfied by any of "install-sh", "install.sh", or "shtool",
4048 # and $ac_install_sh is set appropriately for whichever one is found.
4049 if test x"$ac_aux" = x"install-sh"
4050 then
4051 if test -f "${as_dir}install-sh"; then
4052 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5
4053 ac_install_sh="${as_dir}install-sh -c"
4054 elif test -f "${as_dir}install.sh"; then
4055 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5
4056 ac_install_sh="${as_dir}install.sh -c"
4057 elif test -f "${as_dir}shtool"; then
4058 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5
4059 ac_install_sh="${as_dir}shtool install -c"
4060 else
4061 ac_aux_dir_found=no
4062 if $ac_first_candidate; then
4063 ac_missing_aux_files="${ac_missing_aux_files} install-sh"
4064 else
4065 break
4068 else
4069 if test -f "${as_dir}${ac_aux}"; then
4070 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5
4071 else
4072 ac_aux_dir_found=no
4073 if $ac_first_candidate; then
4074 ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
4075 else
4076 break
4080 done
4081 if test "$ac_aux_dir_found" = yes; then
4082 ac_aux_dir="$as_dir"
4083 break
4085 ac_first_candidate=false
4087 as_found=false
4088 done
4089 IFS=$as_save_IFS
4090 if $as_found
4091 then :
4093 else $as_nop
4094 as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
4098 # These three variables are undocumented and unsupported,
4099 # and are intended to be withdrawn in a future Autoconf release.
4100 # They can cause serious problems if a builder's source tree is in a directory
4101 # whose full name contains unusual characters.
4102 if test -f "${ac_aux_dir}config.guess"; then
4103 ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
4105 if test -f "${ac_aux_dir}config.sub"; then
4106 ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
4108 if test -f "$ac_aux_dir/configure"; then
4109 ac_configure="$SHELL ${ac_aux_dir}configure"
4112 # Check that the precious variables saved in the cache have kept the same
4113 # value.
4114 ac_cache_corrupted=false
4115 for ac_var in $ac_precious_vars; do
4116 eval ac_old_set=\$ac_cv_env_${ac_var}_set
4117 eval ac_new_set=\$ac_env_${ac_var}_set
4118 eval ac_old_val=\$ac_cv_env_${ac_var}_value
4119 eval ac_new_val=\$ac_env_${ac_var}_value
4120 case $ac_old_set,$ac_new_set in
4121 set,)
4122 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
4123 printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
4124 ac_cache_corrupted=: ;;
4125 ,set)
4126 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
4127 printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
4128 ac_cache_corrupted=: ;;
4129 ,);;
4131 if test "x$ac_old_val" != "x$ac_new_val"; then
4132 # differences in whitespace do not lead to failure.
4133 ac_old_val_w=`echo x $ac_old_val`
4134 ac_new_val_w=`echo x $ac_new_val`
4135 if test "$ac_old_val_w" != "$ac_new_val_w"; then
4136 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
4137 printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
4138 ac_cache_corrupted=:
4139 else
4140 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
4141 printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
4142 eval $ac_var=\$ac_old_val
4144 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
4145 printf "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;}
4146 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
4147 printf "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;}
4148 fi;;
4149 esac
4150 # Pass precious variables to config.status.
4151 if test "$ac_new_set" = set; then
4152 case $ac_new_val in
4153 *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
4154 *) ac_arg=$ac_var=$ac_new_val ;;
4155 esac
4156 case " $ac_configure_args " in
4157 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
4158 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
4159 esac
4161 done
4162 if $ac_cache_corrupted; then
4163 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4164 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
4165 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
4166 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
4167 as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
4168 and start over" "$LINENO" 5
4170 ## -------------------- ##
4171 ## Main body of script. ##
4172 ## -------------------- ##
4174 ac_ext=c
4175 ac_cpp='$CPP $CPPFLAGS'
4176 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4177 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4178 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4182 ac_config_headers="$ac_config_headers include/config.h"
4186 libwine_version="1.0"
4189 # Check whether --enable-archs was given.
4190 if test ${enable_archs+y}
4191 then :
4192 enableval=$enable_archs;
4195 # Check whether --enable-win16 was given.
4196 if test ${enable_win16+y}
4197 then :
4198 enableval=$enable_win16;
4201 # Check whether --enable-win64 was given.
4202 if test ${enable_win64+y}
4203 then :
4204 enableval=$enable_win64;
4207 # Check whether --enable-tests was given.
4208 if test ${enable_tests+y}
4209 then :
4210 enableval=$enable_tests;
4213 # Check whether --enable-build-id was given.
4214 if test ${enable_build_id+y}
4215 then :
4216 enableval=$enable_build_id;
4219 # Check whether --enable-maintainer-mode was given.
4220 if test ${enable_maintainer_mode+y}
4221 then :
4222 enableval=$enable_maintainer_mode;
4225 # Check whether --enable-silent-rules was given.
4226 if test ${enable_silent_rules+y}
4227 then :
4228 enableval=$enable_silent_rules;
4231 # Check whether --enable-werror was given.
4232 if test ${enable_werror+y}
4233 then :
4234 enableval=$enable_werror;
4239 # Check whether --with-alsa was given.
4240 if test ${with_alsa+y}
4241 then :
4242 withval=$with_alsa;
4246 # Check whether --with-capi was given.
4247 if test ${with_capi+y}
4248 then :
4249 withval=$with_capi;
4253 # Check whether --with-coreaudio was given.
4254 if test ${with_coreaudio+y}
4255 then :
4256 withval=$with_coreaudio;
4260 # Check whether --with-cups was given.
4261 if test ${with_cups+y}
4262 then :
4263 withval=$with_cups;
4267 # Check whether --with-dbus was given.
4268 if test ${with_dbus+y}
4269 then :
4270 withval=$with_dbus;
4274 # Check whether --with-float-abi was given.
4275 if test ${with_float_abi+y}
4276 then :
4277 withval=$with_float_abi;
4281 # Check whether --with-fontconfig was given.
4282 if test ${with_fontconfig+y}
4283 then :
4284 withval=$with_fontconfig;
4288 # Check whether --with-freetype was given.
4289 if test ${with_freetype+y}
4290 then :
4291 withval=$with_freetype;
4295 # Check whether --with-gettext was given.
4296 if test ${with_gettext+y}
4297 then :
4298 withval=$with_gettext;
4302 # Check whether --with-gettextpo was given.
4303 if test ${with_gettextpo+y}
4304 then :
4305 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
4309 # Check whether --with-gphoto was given.
4310 if test ${with_gphoto+y}
4311 then :
4312 withval=$with_gphoto;
4316 # Check whether --with-gnutls was given.
4317 if test ${with_gnutls+y}
4318 then :
4319 withval=$with_gnutls;
4323 # Check whether --with-gssapi was given.
4324 if test ${with_gssapi+y}
4325 then :
4326 withval=$with_gssapi;
4330 # Check whether --with-gstreamer was given.
4331 if test ${with_gstreamer+y}
4332 then :
4333 withval=$with_gstreamer;
4337 # Check whether --with-inotify was given.
4338 if test ${with_inotify+y}
4339 then :
4340 withval=$with_inotify;
4344 # Check whether --with-krb5 was given.
4345 if test ${with_krb5+y}
4346 then :
4347 withval=$with_krb5;
4351 # Check whether --with-mingw was given.
4352 if test ${with_mingw+y}
4353 then :
4354 withval=$with_mingw;
4358 # Check whether --with-netapi was given.
4359 if test ${with_netapi+y}
4360 then :
4361 withval=$with_netapi;
4365 # Check whether --with-opencl was given.
4366 if test ${with_opencl+y}
4367 then :
4368 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
4372 # Check whether --with-opengl was given.
4373 if test ${with_opengl+y}
4374 then :
4375 withval=$with_opengl;
4379 # Check whether --with-osmesa was given.
4380 if test ${with_osmesa+y}
4381 then :
4382 withval=$with_osmesa;
4386 # Check whether --with-oss was given.
4387 if test ${with_oss+y}
4388 then :
4389 withval=$with_oss;
4393 # Check whether --with-pcap was given.
4394 if test ${with_pcap+y}
4395 then :
4396 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
4400 # Check whether --with-pcsclite was given.
4401 if test ${with_pcsclite+y}
4402 then :
4403 withval=$with_pcsclite;
4407 # Check whether --with-pthread was given.
4408 if test ${with_pthread+y}
4409 then :
4410 withval=$with_pthread;
4414 # Check whether --with-pulse was given.
4415 if test ${with_pulse+y}
4416 then :
4417 withval=$with_pulse;
4421 # Check whether --with-sane was given.
4422 if test ${with_sane+y}
4423 then :
4424 withval=$with_sane;
4428 # Check whether --with-sdl was given.
4429 if test ${with_sdl+y}
4430 then :
4431 withval=$with_sdl;
4435 # Check whether --with-udev was given.
4436 if test ${with_udev+y}
4437 then :
4438 withval=$with_udev;
4442 # Check whether --with-unwind was given.
4443 if test ${with_unwind+y}
4444 then :
4445 withval=$with_unwind;
4449 # Check whether --with-usb was given.
4450 if test ${with_usb+y}
4451 then :
4452 withval=$with_usb;
4456 # Check whether --with-v4l2 was given.
4457 if test ${with_v4l2+y}
4458 then :
4459 withval=$with_v4l2;
4463 # Check whether --with-vulkan was given.
4464 if test ${with_vulkan+y}
4465 then :
4466 withval=$with_vulkan;
4470 # Check whether --with-wayland was given.
4471 if test ${with_wayland+y}
4472 then :
4473 withval=$with_wayland;
4477 # Check whether --with-xcomposite was given.
4478 if test ${with_xcomposite+y}
4479 then :
4480 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
4484 # Check whether --with-xcursor was given.
4485 if test ${with_xcursor+y}
4486 then :
4487 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
4491 # Check whether --with-xfixes was given.
4492 if test ${with_xfixes+y}
4493 then :
4494 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
4498 # Check whether --with-xinerama was given.
4499 if test ${with_xinerama+y}
4500 then :
4501 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
4505 # Check whether --with-xinput was given.
4506 if test ${with_xinput+y}
4507 then :
4508 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
4512 # Check whether --with-xinput2 was given.
4513 if test ${with_xinput2+y}
4514 then :
4515 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
4519 # Check whether --with-xrandr was given.
4520 if test ${with_xrandr+y}
4521 then :
4522 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
4526 # Check whether --with-xrender was given.
4527 if test ${with_xrender+y}
4528 then :
4529 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
4533 # Check whether --with-xshape was given.
4534 if test ${with_xshape+y}
4535 then :
4536 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
4540 # Check whether --with-xshm was given.
4541 if test ${with_xshm+y}
4542 then :
4543 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
4547 # Check whether --with-xxf86vm was given.
4548 if test ${with_xxf86vm+y}
4549 then :
4550 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
4555 # Check whether --with-system-dllpath was given.
4556 if test ${with_system_dllpath+y}
4557 then :
4558 withval=$with_system_dllpath; system_dllpath=$withval
4563 # Check whether --with-wine-tools was given.
4564 if test ${with_wine_tools+y}
4565 then :
4566 withval=$with_wine_tools;
4570 # Check whether --with-wine64 was given.
4571 if test ${with_wine64+y}
4572 then :
4573 withval=$with_wine64;
4580 # Make sure we can run config.sub.
4581 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
4582 as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
4584 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4585 printf %s "checking build system type... " >&6; }
4586 if test ${ac_cv_build+y}
4587 then :
4588 printf %s "(cached) " >&6
4589 else $as_nop
4590 ac_build_alias=$build_alias
4591 test "x$ac_build_alias" = x &&
4592 ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
4593 test "x$ac_build_alias" = x &&
4594 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4595 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
4596 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
4599 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4600 printf "%s\n" "$ac_cv_build" >&6; }
4601 case $ac_cv_build in
4602 *-*-*) ;;
4603 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4604 esac
4605 build=$ac_cv_build
4606 ac_save_IFS=$IFS; IFS='-'
4607 set x $ac_cv_build
4608 shift
4609 build_cpu=$1
4610 build_vendor=$2
4611 shift; shift
4612 # Remember, the first character of IFS is used to create $*,
4613 # except with old shells:
4614 build_os=$*
4615 IFS=$ac_save_IFS
4616 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4619 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4620 printf %s "checking host system type... " >&6; }
4621 if test ${ac_cv_host+y}
4622 then :
4623 printf %s "(cached) " >&6
4624 else $as_nop
4625 if test "x$host_alias" = x; then
4626 ac_cv_host=$ac_cv_build
4627 else
4628 ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
4629 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
4633 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4634 printf "%s\n" "$ac_cv_host" >&6; }
4635 case $ac_cv_host in
4636 *-*-*) ;;
4637 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4638 esac
4639 host=$ac_cv_host
4640 ac_save_IFS=$IFS; IFS='-'
4641 set x $ac_cv_host
4642 shift
4643 host_cpu=$1
4644 host_vendor=$2
4645 shift; shift
4646 # Remember, the first character of IFS is used to create $*,
4647 # except with old shells:
4648 host_os=$*
4649 IFS=$ac_save_IFS
4650 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4654 dlldir=\${libdir}/wine
4656 fontdir=\${datadir}/wine/fonts
4658 nlsdir=\${datadir}/wine/nls
4663 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4664 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4665 set x ${MAKE-make}
4666 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4667 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
4668 then :
4669 printf %s "(cached) " >&6
4670 else $as_nop
4671 cat >conftest.make <<\_ACEOF
4672 SHELL = /bin/sh
4673 all:
4674 @echo '@@@%%%=$(MAKE)=@@@%%%'
4675 _ACEOF
4676 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4677 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4678 *@@@%%%=?*=@@@%%%*)
4679 eval ac_cv_prog_make_${ac_make}_set=yes;;
4681 eval ac_cv_prog_make_${ac_make}_set=no;;
4682 esac
4683 rm -f conftest.make
4685 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4686 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4687 printf "%s\n" "yes" >&6; }
4688 SET_MAKE=
4689 else
4690 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4691 printf "%s\n" "no" >&6; }
4692 SET_MAKE="MAKE=${MAKE-make}"
4704 ac_ext=c
4705 ac_cpp='$CPP $CPPFLAGS'
4706 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4707 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4708 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4709 if test -n "$ac_tool_prefix"; then
4710 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4711 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4712 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4713 printf %s "checking for $ac_word... " >&6; }
4714 if test ${ac_cv_prog_CC+y}
4715 then :
4716 printf %s "(cached) " >&6
4717 else $as_nop
4718 if test -n "$CC"; then
4719 ac_cv_prog_CC="$CC" # Let the user override the test.
4720 else
4721 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4722 for as_dir in $PATH
4724 IFS=$as_save_IFS
4725 case $as_dir in #(((
4726 '') as_dir=./ ;;
4727 */) ;;
4728 *) as_dir=$as_dir/ ;;
4729 esac
4730 for ac_exec_ext in '' $ac_executable_extensions; do
4731 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4732 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4733 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4734 break 2
4736 done
4737 done
4738 IFS=$as_save_IFS
4742 CC=$ac_cv_prog_CC
4743 if test -n "$CC"; then
4744 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4745 printf "%s\n" "$CC" >&6; }
4746 else
4747 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4748 printf "%s\n" "no" >&6; }
4753 if test -z "$ac_cv_prog_CC"; then
4754 ac_ct_CC=$CC
4755 # Extract the first word of "gcc", so it can be a program name with args.
4756 set dummy gcc; ac_word=$2
4757 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4758 printf %s "checking for $ac_word... " >&6; }
4759 if test ${ac_cv_prog_ac_ct_CC+y}
4760 then :
4761 printf %s "(cached) " >&6
4762 else $as_nop
4763 if test -n "$ac_ct_CC"; then
4764 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4765 else
4766 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4767 for as_dir in $PATH
4769 IFS=$as_save_IFS
4770 case $as_dir in #(((
4771 '') as_dir=./ ;;
4772 */) ;;
4773 *) as_dir=$as_dir/ ;;
4774 esac
4775 for ac_exec_ext in '' $ac_executable_extensions; do
4776 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4777 ac_cv_prog_ac_ct_CC="gcc"
4778 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4779 break 2
4781 done
4782 done
4783 IFS=$as_save_IFS
4787 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4788 if test -n "$ac_ct_CC"; then
4789 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4790 printf "%s\n" "$ac_ct_CC" >&6; }
4791 else
4792 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4793 printf "%s\n" "no" >&6; }
4796 if test "x$ac_ct_CC" = x; then
4797 CC=""
4798 else
4799 case $cross_compiling:$ac_tool_warned in
4800 yes:)
4801 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4802 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4803 ac_tool_warned=yes ;;
4804 esac
4805 CC=$ac_ct_CC
4807 else
4808 CC="$ac_cv_prog_CC"
4811 if test -z "$CC"; then
4812 if test -n "$ac_tool_prefix"; then
4813 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4814 set dummy ${ac_tool_prefix}cc; ac_word=$2
4815 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4816 printf %s "checking for $ac_word... " >&6; }
4817 if test ${ac_cv_prog_CC+y}
4818 then :
4819 printf %s "(cached) " >&6
4820 else $as_nop
4821 if test -n "$CC"; then
4822 ac_cv_prog_CC="$CC" # Let the user override the test.
4823 else
4824 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4825 for as_dir in $PATH
4827 IFS=$as_save_IFS
4828 case $as_dir in #(((
4829 '') as_dir=./ ;;
4830 */) ;;
4831 *) as_dir=$as_dir/ ;;
4832 esac
4833 for ac_exec_ext in '' $ac_executable_extensions; do
4834 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4835 ac_cv_prog_CC="${ac_tool_prefix}cc"
4836 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4837 break 2
4839 done
4840 done
4841 IFS=$as_save_IFS
4845 CC=$ac_cv_prog_CC
4846 if test -n "$CC"; then
4847 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4848 printf "%s\n" "$CC" >&6; }
4849 else
4850 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4851 printf "%s\n" "no" >&6; }
4857 if test -z "$CC"; then
4858 # Extract the first word of "cc", so it can be a program name with args.
4859 set dummy cc; ac_word=$2
4860 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4861 printf %s "checking for $ac_word... " >&6; }
4862 if test ${ac_cv_prog_CC+y}
4863 then :
4864 printf %s "(cached) " >&6
4865 else $as_nop
4866 if test -n "$CC"; then
4867 ac_cv_prog_CC="$CC" # Let the user override the test.
4868 else
4869 ac_prog_rejected=no
4870 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4871 for as_dir in $PATH
4873 IFS=$as_save_IFS
4874 case $as_dir in #(((
4875 '') as_dir=./ ;;
4876 */) ;;
4877 *) as_dir=$as_dir/ ;;
4878 esac
4879 for ac_exec_ext in '' $ac_executable_extensions; do
4880 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4881 if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4882 ac_prog_rejected=yes
4883 continue
4885 ac_cv_prog_CC="cc"
4886 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4887 break 2
4889 done
4890 done
4891 IFS=$as_save_IFS
4893 if test $ac_prog_rejected = yes; then
4894 # We found a bogon in the path, so make sure we never use it.
4895 set dummy $ac_cv_prog_CC
4896 shift
4897 if test $# != 0; then
4898 # We chose a different compiler from the bogus one.
4899 # However, it has the same basename, so the bogon will be chosen
4900 # first if we set CC to just the basename; use the full file name.
4901 shift
4902 ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
4907 CC=$ac_cv_prog_CC
4908 if test -n "$CC"; then
4909 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4910 printf "%s\n" "$CC" >&6; }
4911 else
4912 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4913 printf "%s\n" "no" >&6; }
4918 if test -z "$CC"; then
4919 if test -n "$ac_tool_prefix"; then
4920 for ac_prog in cl.exe
4922 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4923 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4924 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4925 printf %s "checking for $ac_word... " >&6; }
4926 if test ${ac_cv_prog_CC+y}
4927 then :
4928 printf %s "(cached) " >&6
4929 else $as_nop
4930 if test -n "$CC"; then
4931 ac_cv_prog_CC="$CC" # Let the user override the test.
4932 else
4933 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4934 for as_dir in $PATH
4936 IFS=$as_save_IFS
4937 case $as_dir in #(((
4938 '') as_dir=./ ;;
4939 */) ;;
4940 *) as_dir=$as_dir/ ;;
4941 esac
4942 for ac_exec_ext in '' $ac_executable_extensions; do
4943 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4944 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4945 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4946 break 2
4948 done
4949 done
4950 IFS=$as_save_IFS
4954 CC=$ac_cv_prog_CC
4955 if test -n "$CC"; then
4956 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4957 printf "%s\n" "$CC" >&6; }
4958 else
4959 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4960 printf "%s\n" "no" >&6; }
4964 test -n "$CC" && break
4965 done
4967 if test -z "$CC"; then
4968 ac_ct_CC=$CC
4969 for ac_prog in cl.exe
4971 # Extract the first word of "$ac_prog", so it can be a program name with args.
4972 set dummy $ac_prog; ac_word=$2
4973 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4974 printf %s "checking for $ac_word... " >&6; }
4975 if test ${ac_cv_prog_ac_ct_CC+y}
4976 then :
4977 printf %s "(cached) " >&6
4978 else $as_nop
4979 if test -n "$ac_ct_CC"; then
4980 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4981 else
4982 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4983 for as_dir in $PATH
4985 IFS=$as_save_IFS
4986 case $as_dir in #(((
4987 '') as_dir=./ ;;
4988 */) ;;
4989 *) as_dir=$as_dir/ ;;
4990 esac
4991 for ac_exec_ext in '' $ac_executable_extensions; do
4992 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4993 ac_cv_prog_ac_ct_CC="$ac_prog"
4994 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4995 break 2
4997 done
4998 done
4999 IFS=$as_save_IFS
5003 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5004 if test -n "$ac_ct_CC"; then
5005 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5006 printf "%s\n" "$ac_ct_CC" >&6; }
5007 else
5008 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5009 printf "%s\n" "no" >&6; }
5013 test -n "$ac_ct_CC" && break
5014 done
5016 if test "x$ac_ct_CC" = x; then
5017 CC=""
5018 else
5019 case $cross_compiling:$ac_tool_warned in
5020 yes:)
5021 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5022 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5023 ac_tool_warned=yes ;;
5024 esac
5025 CC=$ac_ct_CC
5030 if test -z "$CC"; then
5031 if test -n "$ac_tool_prefix"; then
5032 # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
5033 set dummy ${ac_tool_prefix}clang; ac_word=$2
5034 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5035 printf %s "checking for $ac_word... " >&6; }
5036 if test ${ac_cv_prog_CC+y}
5037 then :
5038 printf %s "(cached) " >&6
5039 else $as_nop
5040 if test -n "$CC"; then
5041 ac_cv_prog_CC="$CC" # Let the user override the test.
5042 else
5043 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5044 for as_dir in $PATH
5046 IFS=$as_save_IFS
5047 case $as_dir in #(((
5048 '') as_dir=./ ;;
5049 */) ;;
5050 *) as_dir=$as_dir/ ;;
5051 esac
5052 for ac_exec_ext in '' $ac_executable_extensions; do
5053 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5054 ac_cv_prog_CC="${ac_tool_prefix}clang"
5055 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5056 break 2
5058 done
5059 done
5060 IFS=$as_save_IFS
5064 CC=$ac_cv_prog_CC
5065 if test -n "$CC"; then
5066 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5067 printf "%s\n" "$CC" >&6; }
5068 else
5069 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5070 printf "%s\n" "no" >&6; }
5075 if test -z "$ac_cv_prog_CC"; then
5076 ac_ct_CC=$CC
5077 # Extract the first word of "clang", so it can be a program name with args.
5078 set dummy clang; ac_word=$2
5079 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5080 printf %s "checking for $ac_word... " >&6; }
5081 if test ${ac_cv_prog_ac_ct_CC+y}
5082 then :
5083 printf %s "(cached) " >&6
5084 else $as_nop
5085 if test -n "$ac_ct_CC"; then
5086 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5087 else
5088 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5089 for as_dir in $PATH
5091 IFS=$as_save_IFS
5092 case $as_dir in #(((
5093 '') as_dir=./ ;;
5094 */) ;;
5095 *) as_dir=$as_dir/ ;;
5096 esac
5097 for ac_exec_ext in '' $ac_executable_extensions; do
5098 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5099 ac_cv_prog_ac_ct_CC="clang"
5100 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5101 break 2
5103 done
5104 done
5105 IFS=$as_save_IFS
5109 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5110 if test -n "$ac_ct_CC"; then
5111 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5112 printf "%s\n" "$ac_ct_CC" >&6; }
5113 else
5114 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5115 printf "%s\n" "no" >&6; }
5118 if test "x$ac_ct_CC" = x; then
5119 CC=""
5120 else
5121 case $cross_compiling:$ac_tool_warned in
5122 yes:)
5123 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5124 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5125 ac_tool_warned=yes ;;
5126 esac
5127 CC=$ac_ct_CC
5129 else
5130 CC="$ac_cv_prog_CC"
5136 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5137 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5138 as_fn_error $? "no acceptable C compiler found in \$PATH
5139 See \`config.log' for more details" "$LINENO" 5; }
5141 # Provide some information about the compiler.
5142 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5143 set X $ac_compile
5144 ac_compiler=$2
5145 for ac_option in --version -v -V -qversion -version; do
5146 { { ac_try="$ac_compiler $ac_option >&5"
5147 case "(($ac_try" in
5148 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5149 *) ac_try_echo=$ac_try;;
5150 esac
5151 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5152 printf "%s\n" "$ac_try_echo"; } >&5
5153 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5154 ac_status=$?
5155 if test -s conftest.err; then
5156 sed '10a\
5157 ... rest of stderr output deleted ...
5158 10q' conftest.err >conftest.er1
5159 cat conftest.er1 >&5
5161 rm -f conftest.er1 conftest.err
5162 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5163 test $ac_status = 0; }
5164 done
5166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5167 /* end confdefs.h. */
5170 main (void)
5174 return 0;
5176 _ACEOF
5177 ac_clean_files_save=$ac_clean_files
5178 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
5179 # Try to create an executable without -o first, disregard a.out.
5180 # It will help us diagnose broken compilers, and finding out an intuition
5181 # of exeext.
5182 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
5183 printf %s "checking whether the C compiler works... " >&6; }
5184 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
5186 # The possible output files:
5187 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
5189 ac_rmfiles=
5190 for ac_file in $ac_files
5192 case $ac_file in
5193 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5194 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
5195 esac
5196 done
5197 rm -f $ac_rmfiles
5199 if { { ac_try="$ac_link_default"
5200 case "(($ac_try" in
5201 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5202 *) ac_try_echo=$ac_try;;
5203 esac
5204 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5205 printf "%s\n" "$ac_try_echo"; } >&5
5206 (eval "$ac_link_default") 2>&5
5207 ac_status=$?
5208 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5209 test $ac_status = 0; }
5210 then :
5211 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
5212 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
5213 # in a Makefile. We should not override ac_cv_exeext if it was cached,
5214 # so that the user can short-circuit this test for compilers unknown to
5215 # Autoconf.
5216 for ac_file in $ac_files ''
5218 test -f "$ac_file" || continue
5219 case $ac_file in
5220 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
5222 [ab].out )
5223 # We found the default executable, but exeext='' is most
5224 # certainly right.
5225 break;;
5226 *.* )
5227 if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
5228 then :; else
5229 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
5231 # We set ac_cv_exeext here because the later test for it is not
5232 # safe: cross compilers may not add the suffix if given an `-o'
5233 # argument, so we may need to know it at that point already.
5234 # Even if this section looks crufty: it has the advantage of
5235 # actually working.
5236 break;;
5238 break;;
5239 esac
5240 done
5241 test "$ac_cv_exeext" = no && ac_cv_exeext=
5243 else $as_nop
5244 ac_file=''
5246 if test -z "$ac_file"
5247 then :
5248 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5249 printf "%s\n" "no" >&6; }
5250 printf "%s\n" "$as_me: failed program was:" >&5
5251 sed 's/^/| /' conftest.$ac_ext >&5
5253 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5254 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5255 as_fn_error 77 "C compiler cannot create executables
5256 See \`config.log' for more details" "$LINENO" 5; }
5257 else $as_nop
5258 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5259 printf "%s\n" "yes" >&6; }
5261 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
5262 printf %s "checking for C compiler default output file name... " >&6; }
5263 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
5264 printf "%s\n" "$ac_file" >&6; }
5265 ac_exeext=$ac_cv_exeext
5267 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
5268 ac_clean_files=$ac_clean_files_save
5269 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
5270 printf %s "checking for suffix of executables... " >&6; }
5271 if { { ac_try="$ac_link"
5272 case "(($ac_try" in
5273 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5274 *) ac_try_echo=$ac_try;;
5275 esac
5276 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5277 printf "%s\n" "$ac_try_echo"; } >&5
5278 (eval "$ac_link") 2>&5
5279 ac_status=$?
5280 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5281 test $ac_status = 0; }
5282 then :
5283 # If both `conftest.exe' and `conftest' are `present' (well, observable)
5284 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
5285 # work properly (i.e., refer to `conftest.exe'), while it won't with
5286 # `rm'.
5287 for ac_file in conftest.exe conftest conftest.*; do
5288 test -f "$ac_file" || continue
5289 case $ac_file in
5290 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5291 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
5292 break;;
5293 * ) break;;
5294 esac
5295 done
5296 else $as_nop
5297 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5298 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5299 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
5300 See \`config.log' for more details" "$LINENO" 5; }
5302 rm -f conftest conftest$ac_cv_exeext
5303 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
5304 printf "%s\n" "$ac_cv_exeext" >&6; }
5306 rm -f conftest.$ac_ext
5307 EXEEXT=$ac_cv_exeext
5308 ac_exeext=$EXEEXT
5309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5310 /* end confdefs.h. */
5311 #include <stdio.h>
5313 main (void)
5315 FILE *f = fopen ("conftest.out", "w");
5316 return ferror (f) || fclose (f) != 0;
5319 return 0;
5321 _ACEOF
5322 ac_clean_files="$ac_clean_files conftest.out"
5323 # Check that the compiler produces executables we can run. If not, either
5324 # the compiler is broken, or we cross compile.
5325 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
5326 printf %s "checking whether we are cross compiling... " >&6; }
5327 if test "$cross_compiling" != yes; then
5328 { { ac_try="$ac_link"
5329 case "(($ac_try" in
5330 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5331 *) ac_try_echo=$ac_try;;
5332 esac
5333 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5334 printf "%s\n" "$ac_try_echo"; } >&5
5335 (eval "$ac_link") 2>&5
5336 ac_status=$?
5337 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5338 test $ac_status = 0; }
5339 if { ac_try='./conftest$ac_cv_exeext'
5340 { { case "(($ac_try" in
5341 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5342 *) ac_try_echo=$ac_try;;
5343 esac
5344 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5345 printf "%s\n" "$ac_try_echo"; } >&5
5346 (eval "$ac_try") 2>&5
5347 ac_status=$?
5348 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5349 test $ac_status = 0; }; }; then
5350 cross_compiling=no
5351 else
5352 if test "$cross_compiling" = maybe; then
5353 cross_compiling=yes
5354 else
5355 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5356 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5357 as_fn_error 77 "cannot run C compiled programs.
5358 If you meant to cross compile, use \`--host'.
5359 See \`config.log' for more details" "$LINENO" 5; }
5363 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
5364 printf "%s\n" "$cross_compiling" >&6; }
5366 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
5367 ac_clean_files=$ac_clean_files_save
5368 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
5369 printf %s "checking for suffix of object files... " >&6; }
5370 if test ${ac_cv_objext+y}
5371 then :
5372 printf %s "(cached) " >&6
5373 else $as_nop
5374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5375 /* end confdefs.h. */
5378 main (void)
5382 return 0;
5384 _ACEOF
5385 rm -f conftest.o conftest.obj
5386 if { { ac_try="$ac_compile"
5387 case "(($ac_try" in
5388 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5389 *) ac_try_echo=$ac_try;;
5390 esac
5391 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5392 printf "%s\n" "$ac_try_echo"; } >&5
5393 (eval "$ac_compile") 2>&5
5394 ac_status=$?
5395 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5396 test $ac_status = 0; }
5397 then :
5398 for ac_file in conftest.o conftest.obj conftest.*; do
5399 test -f "$ac_file" || continue;
5400 case $ac_file in
5401 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
5402 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
5403 break;;
5404 esac
5405 done
5406 else $as_nop
5407 printf "%s\n" "$as_me: failed program was:" >&5
5408 sed 's/^/| /' conftest.$ac_ext >&5
5410 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5411 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5412 as_fn_error $? "cannot compute suffix of object files: cannot compile
5413 See \`config.log' for more details" "$LINENO" 5; }
5415 rm -f conftest.$ac_cv_objext conftest.$ac_ext
5417 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
5418 printf "%s\n" "$ac_cv_objext" >&6; }
5419 OBJEXT=$ac_cv_objext
5420 ac_objext=$OBJEXT
5421 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
5422 printf %s "checking whether the compiler supports GNU C... " >&6; }
5423 if test ${ac_cv_c_compiler_gnu+y}
5424 then :
5425 printf %s "(cached) " >&6
5426 else $as_nop
5427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5428 /* end confdefs.h. */
5431 main (void)
5433 #ifndef __GNUC__
5434 choke me
5435 #endif
5438 return 0;
5440 _ACEOF
5441 if ac_fn_c_try_compile "$LINENO"
5442 then :
5443 ac_compiler_gnu=yes
5444 else $as_nop
5445 ac_compiler_gnu=no
5447 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5448 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5451 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5452 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
5453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5455 if test $ac_compiler_gnu = yes; then
5456 GCC=yes
5457 else
5458 GCC=
5460 ac_test_CFLAGS=${CFLAGS+y}
5461 ac_save_CFLAGS=$CFLAGS
5462 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5463 printf %s "checking whether $CC accepts -g... " >&6; }
5464 if test ${ac_cv_prog_cc_g+y}
5465 then :
5466 printf %s "(cached) " >&6
5467 else $as_nop
5468 ac_save_c_werror_flag=$ac_c_werror_flag
5469 ac_c_werror_flag=yes
5470 ac_cv_prog_cc_g=no
5471 CFLAGS="-g"
5472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5473 /* end confdefs.h. */
5476 main (void)
5480 return 0;
5482 _ACEOF
5483 if ac_fn_c_try_compile "$LINENO"
5484 then :
5485 ac_cv_prog_cc_g=yes
5486 else $as_nop
5487 CFLAGS=""
5488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5489 /* end confdefs.h. */
5492 main (void)
5496 return 0;
5498 _ACEOF
5499 if ac_fn_c_try_compile "$LINENO"
5500 then :
5502 else $as_nop
5503 ac_c_werror_flag=$ac_save_c_werror_flag
5504 CFLAGS="-g"
5505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5506 /* end confdefs.h. */
5509 main (void)
5513 return 0;
5515 _ACEOF
5516 if ac_fn_c_try_compile "$LINENO"
5517 then :
5518 ac_cv_prog_cc_g=yes
5520 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5522 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5524 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5525 ac_c_werror_flag=$ac_save_c_werror_flag
5527 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5528 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
5529 if test $ac_test_CFLAGS; then
5530 CFLAGS=$ac_save_CFLAGS
5531 elif test $ac_cv_prog_cc_g = yes; then
5532 if test "$GCC" = yes; then
5533 CFLAGS="-g -O2"
5534 else
5535 CFLAGS="-g"
5537 else
5538 if test "$GCC" = yes; then
5539 CFLAGS="-O2"
5540 else
5541 CFLAGS=
5544 ac_prog_cc_stdc=no
5545 if test x$ac_prog_cc_stdc = xno
5546 then :
5547 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
5548 printf %s "checking for $CC option to enable C11 features... " >&6; }
5549 if test ${ac_cv_prog_cc_c11+y}
5550 then :
5551 printf %s "(cached) " >&6
5552 else $as_nop
5553 ac_cv_prog_cc_c11=no
5554 ac_save_CC=$CC
5555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5556 /* end confdefs.h. */
5557 $ac_c_conftest_c11_program
5558 _ACEOF
5559 for ac_arg in '' -std=gnu11
5561 CC="$ac_save_CC $ac_arg"
5562 if ac_fn_c_try_compile "$LINENO"
5563 then :
5564 ac_cv_prog_cc_c11=$ac_arg
5566 rm -f core conftest.err conftest.$ac_objext conftest.beam
5567 test "x$ac_cv_prog_cc_c11" != "xno" && break
5568 done
5569 rm -f conftest.$ac_ext
5570 CC=$ac_save_CC
5573 if test "x$ac_cv_prog_cc_c11" = xno
5574 then :
5575 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5576 printf "%s\n" "unsupported" >&6; }
5577 else $as_nop
5578 if test "x$ac_cv_prog_cc_c11" = x
5579 then :
5580 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5581 printf "%s\n" "none needed" >&6; }
5582 else $as_nop
5583 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
5584 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
5585 CC="$CC $ac_cv_prog_cc_c11"
5587 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
5588 ac_prog_cc_stdc=c11
5591 if test x$ac_prog_cc_stdc = xno
5592 then :
5593 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
5594 printf %s "checking for $CC option to enable C99 features... " >&6; }
5595 if test ${ac_cv_prog_cc_c99+y}
5596 then :
5597 printf %s "(cached) " >&6
5598 else $as_nop
5599 ac_cv_prog_cc_c99=no
5600 ac_save_CC=$CC
5601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5602 /* end confdefs.h. */
5603 $ac_c_conftest_c99_program
5604 _ACEOF
5605 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
5607 CC="$ac_save_CC $ac_arg"
5608 if ac_fn_c_try_compile "$LINENO"
5609 then :
5610 ac_cv_prog_cc_c99=$ac_arg
5612 rm -f core conftest.err conftest.$ac_objext conftest.beam
5613 test "x$ac_cv_prog_cc_c99" != "xno" && break
5614 done
5615 rm -f conftest.$ac_ext
5616 CC=$ac_save_CC
5619 if test "x$ac_cv_prog_cc_c99" = xno
5620 then :
5621 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5622 printf "%s\n" "unsupported" >&6; }
5623 else $as_nop
5624 if test "x$ac_cv_prog_cc_c99" = x
5625 then :
5626 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5627 printf "%s\n" "none needed" >&6; }
5628 else $as_nop
5629 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
5630 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
5631 CC="$CC $ac_cv_prog_cc_c99"
5633 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
5634 ac_prog_cc_stdc=c99
5637 if test x$ac_prog_cc_stdc = xno
5638 then :
5639 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
5640 printf %s "checking for $CC option to enable C89 features... " >&6; }
5641 if test ${ac_cv_prog_cc_c89+y}
5642 then :
5643 printf %s "(cached) " >&6
5644 else $as_nop
5645 ac_cv_prog_cc_c89=no
5646 ac_save_CC=$CC
5647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5648 /* end confdefs.h. */
5649 $ac_c_conftest_c89_program
5650 _ACEOF
5651 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5653 CC="$ac_save_CC $ac_arg"
5654 if ac_fn_c_try_compile "$LINENO"
5655 then :
5656 ac_cv_prog_cc_c89=$ac_arg
5658 rm -f core conftest.err conftest.$ac_objext conftest.beam
5659 test "x$ac_cv_prog_cc_c89" != "xno" && break
5660 done
5661 rm -f conftest.$ac_ext
5662 CC=$ac_save_CC
5665 if test "x$ac_cv_prog_cc_c89" = xno
5666 then :
5667 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5668 printf "%s\n" "unsupported" >&6; }
5669 else $as_nop
5670 if test "x$ac_cv_prog_cc_c89" = x
5671 then :
5672 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5673 printf "%s\n" "none needed" >&6; }
5674 else $as_nop
5675 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5676 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
5677 CC="$CC $ac_cv_prog_cc_c89"
5679 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
5680 ac_prog_cc_stdc=c89
5684 ac_ext=c
5685 ac_cpp='$CPP $CPPFLAGS'
5686 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5687 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5688 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5696 ac_ext=cpp
5697 ac_cpp='$CXXCPP $CPPFLAGS'
5698 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5699 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5700 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5701 if test -z "$CXX"; then
5702 if test -n "$CCC"; then
5703 CXX=$CCC
5704 else
5705 if test -n "$ac_tool_prefix"; then
5706 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5708 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5709 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5710 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5711 printf %s "checking for $ac_word... " >&6; }
5712 if test ${ac_cv_prog_CXX+y}
5713 then :
5714 printf %s "(cached) " >&6
5715 else $as_nop
5716 if test -n "$CXX"; then
5717 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5718 else
5719 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5720 for as_dir in $PATH
5722 IFS=$as_save_IFS
5723 case $as_dir in #(((
5724 '') as_dir=./ ;;
5725 */) ;;
5726 *) as_dir=$as_dir/ ;;
5727 esac
5728 for ac_exec_ext in '' $ac_executable_extensions; do
5729 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5730 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5731 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5732 break 2
5734 done
5735 done
5736 IFS=$as_save_IFS
5740 CXX=$ac_cv_prog_CXX
5741 if test -n "$CXX"; then
5742 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5743 printf "%s\n" "$CXX" >&6; }
5744 else
5745 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5746 printf "%s\n" "no" >&6; }
5750 test -n "$CXX" && break
5751 done
5753 if test -z "$CXX"; then
5754 ac_ct_CXX=$CXX
5755 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5757 # Extract the first word of "$ac_prog", so it can be a program name with args.
5758 set dummy $ac_prog; ac_word=$2
5759 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5760 printf %s "checking for $ac_word... " >&6; }
5761 if test ${ac_cv_prog_ac_ct_CXX+y}
5762 then :
5763 printf %s "(cached) " >&6
5764 else $as_nop
5765 if test -n "$ac_ct_CXX"; then
5766 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5767 else
5768 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5769 for as_dir in $PATH
5771 IFS=$as_save_IFS
5772 case $as_dir in #(((
5773 '') as_dir=./ ;;
5774 */) ;;
5775 *) as_dir=$as_dir/ ;;
5776 esac
5777 for ac_exec_ext in '' $ac_executable_extensions; do
5778 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5779 ac_cv_prog_ac_ct_CXX="$ac_prog"
5780 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5781 break 2
5783 done
5784 done
5785 IFS=$as_save_IFS
5789 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5790 if test -n "$ac_ct_CXX"; then
5791 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5792 printf "%s\n" "$ac_ct_CXX" >&6; }
5793 else
5794 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5795 printf "%s\n" "no" >&6; }
5799 test -n "$ac_ct_CXX" && break
5800 done
5802 if test "x$ac_ct_CXX" = x; then
5803 CXX="g++"
5804 else
5805 case $cross_compiling:$ac_tool_warned in
5806 yes:)
5807 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5808 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5809 ac_tool_warned=yes ;;
5810 esac
5811 CXX=$ac_ct_CXX
5817 # Provide some information about the compiler.
5818 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5819 set X $ac_compile
5820 ac_compiler=$2
5821 for ac_option in --version -v -V -qversion; do
5822 { { ac_try="$ac_compiler $ac_option >&5"
5823 case "(($ac_try" in
5824 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5825 *) ac_try_echo=$ac_try;;
5826 esac
5827 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5828 printf "%s\n" "$ac_try_echo"; } >&5
5829 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5830 ac_status=$?
5831 if test -s conftest.err; then
5832 sed '10a\
5833 ... rest of stderr output deleted ...
5834 10q' conftest.err >conftest.er1
5835 cat conftest.er1 >&5
5837 rm -f conftest.er1 conftest.err
5838 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5839 test $ac_status = 0; }
5840 done
5842 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C++" >&5
5843 printf %s "checking whether the compiler supports GNU C++... " >&6; }
5844 if test ${ac_cv_cxx_compiler_gnu+y}
5845 then :
5846 printf %s "(cached) " >&6
5847 else $as_nop
5848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5849 /* end confdefs.h. */
5852 main (void)
5854 #ifndef __GNUC__
5855 choke me
5856 #endif
5859 return 0;
5861 _ACEOF
5862 if ac_fn_cxx_try_compile "$LINENO"
5863 then :
5864 ac_compiler_gnu=yes
5865 else $as_nop
5866 ac_compiler_gnu=no
5868 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5869 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5872 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5873 printf "%s\n" "$ac_cv_cxx_compiler_gnu" >&6; }
5874 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5876 if test $ac_compiler_gnu = yes; then
5877 GXX=yes
5878 else
5879 GXX=
5881 ac_test_CXXFLAGS=${CXXFLAGS+y}
5882 ac_save_CXXFLAGS=$CXXFLAGS
5883 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5884 printf %s "checking whether $CXX accepts -g... " >&6; }
5885 if test ${ac_cv_prog_cxx_g+y}
5886 then :
5887 printf %s "(cached) " >&6
5888 else $as_nop
5889 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5890 ac_cxx_werror_flag=yes
5891 ac_cv_prog_cxx_g=no
5892 CXXFLAGS="-g"
5893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5894 /* end confdefs.h. */
5897 main (void)
5901 return 0;
5903 _ACEOF
5904 if ac_fn_cxx_try_compile "$LINENO"
5905 then :
5906 ac_cv_prog_cxx_g=yes
5907 else $as_nop
5908 CXXFLAGS=""
5909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5910 /* end confdefs.h. */
5913 main (void)
5917 return 0;
5919 _ACEOF
5920 if ac_fn_cxx_try_compile "$LINENO"
5921 then :
5923 else $as_nop
5924 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5925 CXXFLAGS="-g"
5926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5927 /* end confdefs.h. */
5930 main (void)
5934 return 0;
5936 _ACEOF
5937 if ac_fn_cxx_try_compile "$LINENO"
5938 then :
5939 ac_cv_prog_cxx_g=yes
5941 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5943 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5945 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5946 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5948 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5949 printf "%s\n" "$ac_cv_prog_cxx_g" >&6; }
5950 if test $ac_test_CXXFLAGS; then
5951 CXXFLAGS=$ac_save_CXXFLAGS
5952 elif test $ac_cv_prog_cxx_g = yes; then
5953 if test "$GXX" = yes; then
5954 CXXFLAGS="-g -O2"
5955 else
5956 CXXFLAGS="-g"
5958 else
5959 if test "$GXX" = yes; then
5960 CXXFLAGS="-O2"
5961 else
5962 CXXFLAGS=
5965 ac_prog_cxx_stdcxx=no
5966 if test x$ac_prog_cxx_stdcxx = xno
5967 then :
5968 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++11 features" >&5
5969 printf %s "checking for $CXX option to enable C++11 features... " >&6; }
5970 if test ${ac_cv_prog_cxx_cxx11+y}
5971 then :
5972 printf %s "(cached) " >&6
5973 else $as_nop
5974 ac_cv_prog_cxx_cxx11=no
5975 ac_save_CXX=$CXX
5976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5977 /* end confdefs.h. */
5978 $ac_cxx_conftest_cxx11_program
5979 _ACEOF
5980 for ac_arg in '' -std=gnu++11 -std=gnu++0x -std=c++11 -std=c++0x -qlanglvl=extended0x -AA
5982 CXX="$ac_save_CXX $ac_arg"
5983 if ac_fn_cxx_try_compile "$LINENO"
5984 then :
5985 ac_cv_prog_cxx_cxx11=$ac_arg
5987 rm -f core conftest.err conftest.$ac_objext conftest.beam
5988 test "x$ac_cv_prog_cxx_cxx11" != "xno" && break
5989 done
5990 rm -f conftest.$ac_ext
5991 CXX=$ac_save_CXX
5994 if test "x$ac_cv_prog_cxx_cxx11" = xno
5995 then :
5996 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5997 printf "%s\n" "unsupported" >&6; }
5998 else $as_nop
5999 if test "x$ac_cv_prog_cxx_cxx11" = x
6000 then :
6001 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
6002 printf "%s\n" "none needed" >&6; }
6003 else $as_nop
6004 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx11" >&5
6005 printf "%s\n" "$ac_cv_prog_cxx_cxx11" >&6; }
6006 CXX="$CXX $ac_cv_prog_cxx_cxx11"
6008 ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx11
6009 ac_prog_cxx_stdcxx=cxx11
6012 if test x$ac_prog_cxx_stdcxx = xno
6013 then :
6014 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++98 features" >&5
6015 printf %s "checking for $CXX option to enable C++98 features... " >&6; }
6016 if test ${ac_cv_prog_cxx_cxx98+y}
6017 then :
6018 printf %s "(cached) " >&6
6019 else $as_nop
6020 ac_cv_prog_cxx_cxx98=no
6021 ac_save_CXX=$CXX
6022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6023 /* end confdefs.h. */
6024 $ac_cxx_conftest_cxx98_program
6025 _ACEOF
6026 for ac_arg in '' -std=gnu++98 -std=c++98 -qlanglvl=extended -AA
6028 CXX="$ac_save_CXX $ac_arg"
6029 if ac_fn_cxx_try_compile "$LINENO"
6030 then :
6031 ac_cv_prog_cxx_cxx98=$ac_arg
6033 rm -f core conftest.err conftest.$ac_objext conftest.beam
6034 test "x$ac_cv_prog_cxx_cxx98" != "xno" && break
6035 done
6036 rm -f conftest.$ac_ext
6037 CXX=$ac_save_CXX
6040 if test "x$ac_cv_prog_cxx_cxx98" = xno
6041 then :
6042 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
6043 printf "%s\n" "unsupported" >&6; }
6044 else $as_nop
6045 if test "x$ac_cv_prog_cxx_cxx98" = x
6046 then :
6047 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
6048 printf "%s\n" "none needed" >&6; }
6049 else $as_nop
6050 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx98" >&5
6051 printf "%s\n" "$ac_cv_prog_cxx_cxx98" >&6; }
6052 CXX="$CXX $ac_cv_prog_cxx_cxx98"
6054 ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx98
6055 ac_prog_cxx_stdcxx=cxx98
6059 ac_ext=c
6060 ac_cpp='$CPP $CPPFLAGS'
6061 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6062 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6063 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6065 if test -n "$ac_tool_prefix"; then
6066 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
6067 set dummy ${ac_tool_prefix}cpp; ac_word=$2
6068 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6069 printf %s "checking for $ac_word... " >&6; }
6070 if test ${ac_cv_prog_CPPBIN+y}
6071 then :
6072 printf %s "(cached) " >&6
6073 else $as_nop
6074 if test -n "$CPPBIN"; then
6075 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
6076 else
6077 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6078 for as_dir in $PATH
6080 IFS=$as_save_IFS
6081 case $as_dir in #(((
6082 '') as_dir=./ ;;
6083 */) ;;
6084 *) as_dir=$as_dir/ ;;
6085 esac
6086 for ac_exec_ext in '' $ac_executable_extensions; do
6087 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6088 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
6089 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6090 break 2
6092 done
6093 done
6094 IFS=$as_save_IFS
6098 CPPBIN=$ac_cv_prog_CPPBIN
6099 if test -n "$CPPBIN"; then
6100 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
6101 printf "%s\n" "$CPPBIN" >&6; }
6102 else
6103 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6104 printf "%s\n" "no" >&6; }
6109 if test -z "$ac_cv_prog_CPPBIN"; then
6110 ac_ct_CPPBIN=$CPPBIN
6111 # Extract the first word of "cpp", so it can be a program name with args.
6112 set dummy cpp; ac_word=$2
6113 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6114 printf %s "checking for $ac_word... " >&6; }
6115 if test ${ac_cv_prog_ac_ct_CPPBIN+y}
6116 then :
6117 printf %s "(cached) " >&6
6118 else $as_nop
6119 if test -n "$ac_ct_CPPBIN"; then
6120 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
6121 else
6122 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6123 for as_dir in $PATH
6125 IFS=$as_save_IFS
6126 case $as_dir in #(((
6127 '') as_dir=./ ;;
6128 */) ;;
6129 *) as_dir=$as_dir/ ;;
6130 esac
6131 for ac_exec_ext in '' $ac_executable_extensions; do
6132 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6133 ac_cv_prog_ac_ct_CPPBIN="cpp"
6134 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6135 break 2
6137 done
6138 done
6139 IFS=$as_save_IFS
6143 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
6144 if test -n "$ac_ct_CPPBIN"; then
6145 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
6146 printf "%s\n" "$ac_ct_CPPBIN" >&6; }
6147 else
6148 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6149 printf "%s\n" "no" >&6; }
6152 if test "x$ac_ct_CPPBIN" = x; then
6153 CPPBIN="cpp"
6154 else
6155 case $cross_compiling:$ac_tool_warned in
6156 yes:)
6157 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6158 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6159 ac_tool_warned=yes ;;
6160 esac
6161 CPPBIN=$ac_ct_CPPBIN
6163 else
6164 CPPBIN="$ac_cv_prog_CPPBIN"
6168 printf "%s\n" "#define EXEEXT \"$ac_exeext\"" >>confdefs.h
6170 if test -n "$ac_tool_prefix"; then
6171 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
6172 set dummy ${ac_tool_prefix}ld; ac_word=$2
6173 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6174 printf %s "checking for $ac_word... " >&6; }
6175 if test ${ac_cv_prog_LD+y}
6176 then :
6177 printf %s "(cached) " >&6
6178 else $as_nop
6179 if test -n "$LD"; then
6180 ac_cv_prog_LD="$LD" # Let the user override the test.
6181 else
6182 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6183 for as_dir in $PATH
6185 IFS=$as_save_IFS
6186 case $as_dir in #(((
6187 '') as_dir=./ ;;
6188 */) ;;
6189 *) as_dir=$as_dir/ ;;
6190 esac
6191 for ac_exec_ext in '' $ac_executable_extensions; do
6192 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6193 ac_cv_prog_LD="${ac_tool_prefix}ld"
6194 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6195 break 2
6197 done
6198 done
6199 IFS=$as_save_IFS
6203 LD=$ac_cv_prog_LD
6204 if test -n "$LD"; then
6205 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6206 printf "%s\n" "$LD" >&6; }
6207 else
6208 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6209 printf "%s\n" "no" >&6; }
6214 if test -z "$ac_cv_prog_LD"; then
6215 ac_ct_LD=$LD
6216 # Extract the first word of "ld", so it can be a program name with args.
6217 set dummy ld; ac_word=$2
6218 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6219 printf %s "checking for $ac_word... " >&6; }
6220 if test ${ac_cv_prog_ac_ct_LD+y}
6221 then :
6222 printf %s "(cached) " >&6
6223 else $as_nop
6224 if test -n "$ac_ct_LD"; then
6225 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
6226 else
6227 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6228 for as_dir in $PATH
6230 IFS=$as_save_IFS
6231 case $as_dir in #(((
6232 '') as_dir=./ ;;
6233 */) ;;
6234 *) as_dir=$as_dir/ ;;
6235 esac
6236 for ac_exec_ext in '' $ac_executable_extensions; do
6237 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6238 ac_cv_prog_ac_ct_LD="ld"
6239 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6240 break 2
6242 done
6243 done
6244 IFS=$as_save_IFS
6248 ac_ct_LD=$ac_cv_prog_ac_ct_LD
6249 if test -n "$ac_ct_LD"; then
6250 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
6251 printf "%s\n" "$ac_ct_LD" >&6; }
6252 else
6253 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6254 printf "%s\n" "no" >&6; }
6257 if test "x$ac_ct_LD" = x; then
6258 LD=""
6259 else
6260 case $cross_compiling:$ac_tool_warned in
6261 yes:)
6262 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6263 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6264 ac_tool_warned=yes ;;
6265 esac
6266 LD=$ac_ct_LD
6268 else
6269 LD="$ac_cv_prog_LD"
6273 case $host in
6274 *-darwin*)
6275 with_fontconfig=${with_fontconfig:-no}
6277 *-mingw32*|*-cygwin*)
6278 enable_win16=${enable_win16:-no}
6279 with_mingw=${with_mingw:-no}
6281 esac
6284 case $host in
6285 x86_64*|amd64*)
6286 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes" -a x"$enable_archs" = x
6287 then
6288 CC="$CC -m32"
6289 CXX="$CXX -m32"
6291 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
6292 printf %s "checking whether $CC works... " >&6; }
6293 if test ${wine_cv_cc_m32+y}
6294 then :
6295 printf %s "(cached) " >&6
6296 else $as_nop
6297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6298 /* end confdefs.h. */
6301 main (void)
6305 return 0;
6307 _ACEOF
6308 if ac_fn_c_try_link "$LINENO"
6309 then :
6310 wine_cv_cc_m32=yes
6311 else $as_nop
6312 wine_cv_cc_m32=no
6314 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6315 conftest$ac_exeext conftest.$ac_ext
6317 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_cc_m32" >&5
6318 printf "%s\n" "$wine_cv_cc_m32" >&6; }
6319 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
6320 host_cpu="i386"
6321 notice_platform="32-bit "
6322 TARGETFLAGS="$TARGETFLAGS -m32"
6323 PKG_CONFIG_LIBDIR=${PKG_CONFIG_LIBDIR:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib32/pkgconfig:/usr/lib/pkgconfig}
6324 export PKG_CONFIG_LIBDIR
6325 with_unwind=${with_unwind:-no}
6326 else
6327 CC="$CC -m64"
6328 CXX="$CXX -m64"
6329 host_cpu="x86_64"
6330 notice_platform="64-bit "
6331 TARGETFLAGS="$TARGETFLAGS -m64"
6334 arm*)
6335 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb-2" >&5
6336 printf %s "checking whether $CC supports Thumb-2... " >&6; }
6337 if test ${wine_cv_thumb2+y}
6338 then :
6339 printf %s "(cached) " >&6
6340 else $as_nop
6341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6342 /* end confdefs.h. */
6345 main (void)
6347 asm(".syntax unified\n\t.thumb\n\tldm r0,{r0-r8}");
6349 return 0;
6351 _ACEOF
6352 if ac_fn_c_try_link "$LINENO"
6353 then :
6354 wine_cv_thumb2=yes
6355 else $as_nop
6356 wine_cv_thumb2=no
6358 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6359 conftest$ac_exeext conftest.$ac_ext
6361 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_thumb2" >&5
6362 printf "%s\n" "$wine_cv_thumb2" >&6; }
6363 if test x"$wine_cv_thumb2" = xyes
6364 then
6365 CFLAGS="$CFLAGS -mthumb"
6366 TARGETFLAGS="$TARGETFLAGS -mthumb"
6367 else
6368 CFLAGS="$CFLAGS -marm"
6369 TARGETFLAGS="$TARGETFLAGS -marm"
6371 case $with_float_abi in
6372 soft|softfp|hard)
6373 float_abi=$with_float_abi ;;
6375 case $host_os in
6376 *eabihf)
6377 float_abi=hard ;;
6379 float_abi=softfp
6380 saved_CFLAGS=$CFLAGS
6381 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
6382 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
6383 printf %s "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
6384 if test ${wine_cv_float_abi+y}
6385 then :
6386 printf %s "(cached) " >&6
6387 else $as_nop
6388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6389 /* end confdefs.h. */
6392 main (void)
6394 asm("vmrs r2,fpscr");
6396 return 0;
6398 _ACEOF
6399 if ac_fn_c_try_link "$LINENO"
6400 then :
6401 wine_cv_float_abi=yes
6402 else $as_nop
6403 wine_cv_float_abi=no
6405 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6406 conftest$ac_exeext conftest.$ac_ext
6408 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_float_abi" >&5
6409 printf "%s\n" "$wine_cv_float_abi" >&6; }
6410 if test $wine_cv_float_abi = no
6411 then
6412 float_abi=soft
6413 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
6415 CFLAGS=$saved_CFLAGS
6416 esac
6418 esac
6419 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
6420 TARGETFLAGS="$TARGETFLAGS -mfloat-abi=$float_abi"
6422 i[3456789]86*)
6423 with_unwind=${with_unwind:-no}
6425 esac
6427 enable_win16=${enable_win16:-i386}
6428 enable_win64=${enable_win64:-no}
6429 enable_wow64=${enable_wow64:-aarch64,x86_64}
6430 enable_wow64win=${enable_wow64win:-aarch64,x86_64}
6431 enable_wow64cpu=${enable_wow64cpu:-x86_64}
6432 enable_vcruntime140_1=${enable_vcruntime140_1:-x86_64,arm64ec}
6434 enable_cmd=${enable_cmd:-yes}
6435 enable_dllhost=${enable_dllhost:-yes}
6436 enable_dpnsvr=${enable_dpnsvr:-i386,x86_64,arm64ec}
6437 enable_dxdiag=${enable_dxdiag:-yes}
6438 enable_msiexec=${enable_msiexec:-yes}
6439 enable_netsh=${enable_netsh:-yes}
6440 enable_regsvr32=${enable_regsvr32:-yes}
6441 enable_rundll32=${enable_rundll32:-yes}
6443 enable_winetest=${enable_winetest:-$enable_tests}
6445 if test "x$enable_win64" = "xyes"
6446 then
6447 test -z "$with_wine64" || as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
6448 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
6451 case $build_os in
6452 cygwin*|mingw32*) toolsext=".exe"
6454 *) toolsext=""
6456 esac
6458 HOST_ARCH=unknown
6459 case "$host_cpu" in
6460 aarch64*) HOST_ARCH=aarch64 ;;
6461 arm*) HOST_ARCH=arm ;;
6462 i[3456789]86*) HOST_ARCH=i386 ;;
6463 x86_64) HOST_ARCH=x86_64 ;;
6464 esac
6467 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
6468 printf %s "checking for the directory containing the Wine tools... " >&6; }
6469 if test ${wine_cv_toolsdir+y}
6470 then :
6471 printf %s "(cached) " >&6
6472 else $as_nop
6473 wine_cv_toolsdir="$with_wine_tools"
6474 if test -z "$with_wine_tools"; then
6475 if test "$cross_compiling" = "yes"; then
6476 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
6477 elif test -n "$with_wine64"; then
6478 wine_cv_toolsdir="$with_wine64"
6482 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
6483 printf "%s\n" "$wine_cv_toolsdir" >&6; }
6484 if test -z "$wine_cv_toolsdir"; then
6485 wine_makedep=tools/makedep$toolsext
6486 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
6487 wine_makedep=$wine_cv_toolsdir/tools/makedep$toolsext
6488 enable_tools=${enable_tools:-no}
6489 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
6490 else
6491 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
6493 toolsdir=$wine_cv_toolsdir
6495 MAKEDEP=$wine_makedep
6497 RUNTESTFLAGS="-q -P wine"
6499 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'"
6502 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
6503 then
6504 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
6507 for ac_prog in flex
6509 # Extract the first word of "$ac_prog", so it can be a program name with args.
6510 set dummy $ac_prog; ac_word=$2
6511 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6512 printf %s "checking for $ac_word... " >&6; }
6513 if test ${ac_cv_prog_FLEX+y}
6514 then :
6515 printf %s "(cached) " >&6
6516 else $as_nop
6517 if test -n "$FLEX"; then
6518 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
6519 else
6520 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6521 for as_dir in $PATH
6523 IFS=$as_save_IFS
6524 case $as_dir in #(((
6525 '') as_dir=./ ;;
6526 */) ;;
6527 *) as_dir=$as_dir/ ;;
6528 esac
6529 for ac_exec_ext in '' $ac_executable_extensions; do
6530 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6531 ac_cv_prog_FLEX="$ac_prog"
6532 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6533 break 2
6535 done
6536 done
6537 IFS=$as_save_IFS
6541 FLEX=$ac_cv_prog_FLEX
6542 if test -n "$FLEX"; then
6543 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
6544 printf "%s\n" "$FLEX" >&6; }
6545 else
6546 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6547 printf "%s\n" "no" >&6; }
6551 test -n "$FLEX" && break
6552 done
6553 test -n "$FLEX" || FLEX="none"
6555 if test "$FLEX" = "none"
6556 then
6557 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
6559 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
6560 printf %s "checking whether flex is recent enough... " >&6; }
6561 if test ${wine_cv_recent_flex+y}
6562 then :
6563 printf %s "(cached) " >&6
6564 else $as_nop
6565 cat >conftest.l <<EOF
6566 %top{
6567 #include "prediluvian.h"
6571 if $FLEX -t conftest.l >/dev/null 2>&5
6572 then
6573 wine_cv_recent_flex=yes
6574 else
6575 wine_cv_recent_flex=no
6578 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_flex" >&5
6579 printf "%s\n" "$wine_cv_recent_flex" >&6; }
6580 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
6582 for ac_prog in bison
6584 # Extract the first word of "$ac_prog", so it can be a program name with args.
6585 set dummy $ac_prog; ac_word=$2
6586 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6587 printf %s "checking for $ac_word... " >&6; }
6588 if test ${ac_cv_prog_BISON+y}
6589 then :
6590 printf %s "(cached) " >&6
6591 else $as_nop
6592 if test -n "$BISON"; then
6593 ac_cv_prog_BISON="$BISON" # Let the user override the test.
6594 else
6595 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6596 for as_dir in $PATH
6598 IFS=$as_save_IFS
6599 case $as_dir in #(((
6600 '') as_dir=./ ;;
6601 */) ;;
6602 *) as_dir=$as_dir/ ;;
6603 esac
6604 for ac_exec_ext in '' $ac_executable_extensions; do
6605 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6606 ac_cv_prog_BISON="$ac_prog"
6607 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6608 break 2
6610 done
6611 done
6612 IFS=$as_save_IFS
6616 BISON=$ac_cv_prog_BISON
6617 if test -n "$BISON"; then
6618 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
6619 printf "%s\n" "$BISON" >&6; }
6620 else
6621 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6622 printf "%s\n" "no" >&6; }
6626 test -n "$BISON" && break
6627 done
6628 test -n "$BISON" || BISON="none"
6630 if test "$BISON" = "none"
6631 then
6632 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
6634 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether bison is recent enough" >&5
6635 printf %s "checking whether bison is recent enough... " >&6; }
6636 if test ${wine_cv_recent_bison+y}
6637 then :
6638 printf %s "(cached) " >&6
6639 else $as_nop
6640 cat >conftest.y <<EOF
6641 %define parse.error verbose
6643 empty: ;
6645 if $BISON conftest.y >/dev/null 2>&5
6646 then
6647 wine_cv_recent_bison=yes
6648 else
6649 wine_cv_recent_bison=no
6652 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_bison" >&5
6653 printf "%s\n" "$wine_cv_recent_bison" >&6; }
6654 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
6656 if test -n "$ac_tool_prefix"; then
6657 for ac_prog in ar gar
6659 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6660 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6661 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6662 printf %s "checking for $ac_word... " >&6; }
6663 if test ${ac_cv_prog_AR+y}
6664 then :
6665 printf %s "(cached) " >&6
6666 else $as_nop
6667 if test -n "$AR"; then
6668 ac_cv_prog_AR="$AR" # Let the user override the test.
6669 else
6670 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6671 for as_dir in $PATH
6673 IFS=$as_save_IFS
6674 case $as_dir in #(((
6675 '') as_dir=./ ;;
6676 */) ;;
6677 *) as_dir=$as_dir/ ;;
6678 esac
6679 for ac_exec_ext in '' $ac_executable_extensions; do
6680 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6681 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6682 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6683 break 2
6685 done
6686 done
6687 IFS=$as_save_IFS
6691 AR=$ac_cv_prog_AR
6692 if test -n "$AR"; then
6693 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6694 printf "%s\n" "$AR" >&6; }
6695 else
6696 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6697 printf "%s\n" "no" >&6; }
6701 test -n "$AR" && break
6702 done
6704 if test -z "$AR"; then
6705 ac_ct_AR=$AR
6706 for ac_prog in ar gar
6708 # Extract the first word of "$ac_prog", so it can be a program name with args.
6709 set dummy $ac_prog; ac_word=$2
6710 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6711 printf %s "checking for $ac_word... " >&6; }
6712 if test ${ac_cv_prog_ac_ct_AR+y}
6713 then :
6714 printf %s "(cached) " >&6
6715 else $as_nop
6716 if test -n "$ac_ct_AR"; then
6717 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6718 else
6719 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6720 for as_dir in $PATH
6722 IFS=$as_save_IFS
6723 case $as_dir in #(((
6724 '') as_dir=./ ;;
6725 */) ;;
6726 *) as_dir=$as_dir/ ;;
6727 esac
6728 for ac_exec_ext in '' $ac_executable_extensions; do
6729 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6730 ac_cv_prog_ac_ct_AR="$ac_prog"
6731 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6732 break 2
6734 done
6735 done
6736 IFS=$as_save_IFS
6740 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6741 if test -n "$ac_ct_AR"; then
6742 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6743 printf "%s\n" "$ac_ct_AR" >&6; }
6744 else
6745 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6746 printf "%s\n" "no" >&6; }
6750 test -n "$ac_ct_AR" && break
6751 done
6753 if test "x$ac_ct_AR" = x; then
6754 AR="ar"
6755 else
6756 case $cross_compiling:$ac_tool_warned in
6757 yes:)
6758 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6759 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6760 ac_tool_warned=yes ;;
6761 esac
6762 AR=$ac_ct_AR
6766 if test -n "$ac_tool_prefix"; then
6767 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6768 set dummy ${ac_tool_prefix}strip; ac_word=$2
6769 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6770 printf %s "checking for $ac_word... " >&6; }
6771 if test ${ac_cv_prog_STRIP+y}
6772 then :
6773 printf %s "(cached) " >&6
6774 else $as_nop
6775 if test -n "$STRIP"; then
6776 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6777 else
6778 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6779 for as_dir in $PATH
6781 IFS=$as_save_IFS
6782 case $as_dir in #(((
6783 '') as_dir=./ ;;
6784 */) ;;
6785 *) as_dir=$as_dir/ ;;
6786 esac
6787 for ac_exec_ext in '' $ac_executable_extensions; do
6788 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6789 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6790 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6791 break 2
6793 done
6794 done
6795 IFS=$as_save_IFS
6799 STRIP=$ac_cv_prog_STRIP
6800 if test -n "$STRIP"; then
6801 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6802 printf "%s\n" "$STRIP" >&6; }
6803 else
6804 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6805 printf "%s\n" "no" >&6; }
6810 if test -z "$ac_cv_prog_STRIP"; then
6811 ac_ct_STRIP=$STRIP
6812 # Extract the first word of "strip", so it can be a program name with args.
6813 set dummy strip; ac_word=$2
6814 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6815 printf %s "checking for $ac_word... " >&6; }
6816 if test ${ac_cv_prog_ac_ct_STRIP+y}
6817 then :
6818 printf %s "(cached) " >&6
6819 else $as_nop
6820 if test -n "$ac_ct_STRIP"; then
6821 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6822 else
6823 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6824 for as_dir in $PATH
6826 IFS=$as_save_IFS
6827 case $as_dir in #(((
6828 '') as_dir=./ ;;
6829 */) ;;
6830 *) as_dir=$as_dir/ ;;
6831 esac
6832 for ac_exec_ext in '' $ac_executable_extensions; do
6833 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6834 ac_cv_prog_ac_ct_STRIP="strip"
6835 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6836 break 2
6838 done
6839 done
6840 IFS=$as_save_IFS
6844 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6845 if test -n "$ac_ct_STRIP"; then
6846 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6847 printf "%s\n" "$ac_ct_STRIP" >&6; }
6848 else
6849 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6850 printf "%s\n" "no" >&6; }
6853 if test "x$ac_ct_STRIP" = x; then
6854 STRIP="strip"
6855 else
6856 case $cross_compiling:$ac_tool_warned in
6857 yes:)
6858 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6859 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6860 ac_tool_warned=yes ;;
6861 esac
6862 STRIP=$ac_ct_STRIP
6864 else
6865 STRIP="$ac_cv_prog_STRIP"
6868 if test -n "$ac_tool_prefix"; then
6869 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6870 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6871 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6872 printf %s "checking for $ac_word... " >&6; }
6873 if test ${ac_cv_prog_RANLIB+y}
6874 then :
6875 printf %s "(cached) " >&6
6876 else $as_nop
6877 if test -n "$RANLIB"; then
6878 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6879 else
6880 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6881 for as_dir in $PATH
6883 IFS=$as_save_IFS
6884 case $as_dir in #(((
6885 '') as_dir=./ ;;
6886 */) ;;
6887 *) as_dir=$as_dir/ ;;
6888 esac
6889 for ac_exec_ext in '' $ac_executable_extensions; do
6890 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6891 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6892 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6893 break 2
6895 done
6896 done
6897 IFS=$as_save_IFS
6901 RANLIB=$ac_cv_prog_RANLIB
6902 if test -n "$RANLIB"; then
6903 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6904 printf "%s\n" "$RANLIB" >&6; }
6905 else
6906 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6907 printf "%s\n" "no" >&6; }
6912 if test -z "$ac_cv_prog_RANLIB"; then
6913 ac_ct_RANLIB=$RANLIB
6914 # Extract the first word of "ranlib", so it can be a program name with args.
6915 set dummy ranlib; ac_word=$2
6916 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6917 printf %s "checking for $ac_word... " >&6; }
6918 if test ${ac_cv_prog_ac_ct_RANLIB+y}
6919 then :
6920 printf %s "(cached) " >&6
6921 else $as_nop
6922 if test -n "$ac_ct_RANLIB"; then
6923 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6924 else
6925 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6926 for as_dir in $PATH
6928 IFS=$as_save_IFS
6929 case $as_dir in #(((
6930 '') as_dir=./ ;;
6931 */) ;;
6932 *) as_dir=$as_dir/ ;;
6933 esac
6934 for ac_exec_ext in '' $ac_executable_extensions; do
6935 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6936 ac_cv_prog_ac_ct_RANLIB="ranlib"
6937 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6938 break 2
6940 done
6941 done
6942 IFS=$as_save_IFS
6946 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6947 if test -n "$ac_ct_RANLIB"; then
6948 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6949 printf "%s\n" "$ac_ct_RANLIB" >&6; }
6950 else
6951 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6952 printf "%s\n" "no" >&6; }
6955 if test "x$ac_ct_RANLIB" = x; then
6956 RANLIB=":"
6957 else
6958 case $cross_compiling:$ac_tool_warned in
6959 yes:)
6960 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6961 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6962 ac_tool_warned=yes ;;
6963 esac
6964 RANLIB=$ac_ct_RANLIB
6966 else
6967 RANLIB="$ac_cv_prog_RANLIB"
6970 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6971 printf %s "checking whether ln -s works... " >&6; }
6972 LN_S=$as_ln_s
6973 if test "$LN_S" = "ln -s"; then
6974 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6975 printf "%s\n" "yes" >&6; }
6976 else
6977 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6978 printf "%s\n" "no, using $LN_S" >&6; }
6981 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6982 printf %s "checking for grep that handles long lines and -e... " >&6; }
6983 if test ${ac_cv_path_GREP+y}
6984 then :
6985 printf %s "(cached) " >&6
6986 else $as_nop
6987 if test -z "$GREP"; then
6988 ac_path_GREP_found=false
6989 # Loop through the user's path and test for each of PROGNAME-LIST
6990 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6991 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6993 IFS=$as_save_IFS
6994 case $as_dir in #(((
6995 '') as_dir=./ ;;
6996 */) ;;
6997 *) as_dir=$as_dir/ ;;
6998 esac
6999 for ac_prog in grep ggrep
7001 for ac_exec_ext in '' $ac_executable_extensions; do
7002 ac_path_GREP="$as_dir$ac_prog$ac_exec_ext"
7003 as_fn_executable_p "$ac_path_GREP" || continue
7004 # Check for GNU ac_path_GREP and select it if it is found.
7005 # Check for GNU $ac_path_GREP
7006 case `"$ac_path_GREP" --version 2>&1` in
7007 *GNU*)
7008 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
7010 ac_count=0
7011 printf %s 0123456789 >"conftest.in"
7012 while :
7014 cat "conftest.in" "conftest.in" >"conftest.tmp"
7015 mv "conftest.tmp" "conftest.in"
7016 cp "conftest.in" "conftest.nl"
7017 printf "%s\n" 'GREP' >> "conftest.nl"
7018 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
7019 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
7020 as_fn_arith $ac_count + 1 && ac_count=$as_val
7021 if test $ac_count -gt ${ac_path_GREP_max-0}; then
7022 # Best one so far, save it but keep looking for a better one
7023 ac_cv_path_GREP="$ac_path_GREP"
7024 ac_path_GREP_max=$ac_count
7026 # 10*(2^10) chars as input seems more than enough
7027 test $ac_count -gt 10 && break
7028 done
7029 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7030 esac
7032 $ac_path_GREP_found && break 3
7033 done
7034 done
7035 done
7036 IFS=$as_save_IFS
7037 if test -z "$ac_cv_path_GREP"; then
7038 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7040 else
7041 ac_cv_path_GREP=$GREP
7045 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
7046 printf "%s\n" "$ac_cv_path_GREP" >&6; }
7047 GREP="$ac_cv_path_GREP"
7050 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
7051 printf %s "checking for egrep... " >&6; }
7052 if test ${ac_cv_path_EGREP+y}
7053 then :
7054 printf %s "(cached) " >&6
7055 else $as_nop
7056 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
7057 then ac_cv_path_EGREP="$GREP -E"
7058 else
7059 if test -z "$EGREP"; then
7060 ac_path_EGREP_found=false
7061 # Loop through the user's path and test for each of PROGNAME-LIST
7062 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7063 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
7065 IFS=$as_save_IFS
7066 case $as_dir in #(((
7067 '') as_dir=./ ;;
7068 */) ;;
7069 *) as_dir=$as_dir/ ;;
7070 esac
7071 for ac_prog in egrep
7073 for ac_exec_ext in '' $ac_executable_extensions; do
7074 ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext"
7075 as_fn_executable_p "$ac_path_EGREP" || continue
7076 # Check for GNU ac_path_EGREP and select it if it is found.
7077 # Check for GNU $ac_path_EGREP
7078 case `"$ac_path_EGREP" --version 2>&1` in
7079 *GNU*)
7080 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
7082 ac_count=0
7083 printf %s 0123456789 >"conftest.in"
7084 while :
7086 cat "conftest.in" "conftest.in" >"conftest.tmp"
7087 mv "conftest.tmp" "conftest.in"
7088 cp "conftest.in" "conftest.nl"
7089 printf "%s\n" 'EGREP' >> "conftest.nl"
7090 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
7091 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
7092 as_fn_arith $ac_count + 1 && ac_count=$as_val
7093 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
7094 # Best one so far, save it but keep looking for a better one
7095 ac_cv_path_EGREP="$ac_path_EGREP"
7096 ac_path_EGREP_max=$ac_count
7098 # 10*(2^10) chars as input seems more than enough
7099 test $ac_count -gt 10 && break
7100 done
7101 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7102 esac
7104 $ac_path_EGREP_found && break 3
7105 done
7106 done
7107 done
7108 IFS=$as_save_IFS
7109 if test -z "$ac_cv_path_EGREP"; then
7110 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7112 else
7113 ac_cv_path_EGREP=$EGREP
7118 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
7119 printf "%s\n" "$ac_cv_path_EGREP" >&6; }
7120 EGREP="$ac_cv_path_EGREP"
7123 # Extract the first word of "ldconfig", so it can be a program name with args.
7124 set dummy ldconfig; ac_word=$2
7125 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7126 printf %s "checking for $ac_word... " >&6; }
7127 if test ${ac_cv_path_LDCONFIG+y}
7128 then :
7129 printf %s "(cached) " >&6
7130 else $as_nop
7131 case $LDCONFIG in
7132 [\\/]* | ?:[\\/]*)
7133 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
7136 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7137 for as_dir in /sbin /usr/sbin $PATH
7139 IFS=$as_save_IFS
7140 case $as_dir in #(((
7141 '') as_dir=./ ;;
7142 */) ;;
7143 *) as_dir=$as_dir/ ;;
7144 esac
7145 for ac_exec_ext in '' $ac_executable_extensions; do
7146 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7147 ac_cv_path_LDCONFIG="$as_dir$ac_word$ac_exec_ext"
7148 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7149 break 2
7151 done
7152 done
7153 IFS=$as_save_IFS
7155 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
7157 esac
7159 LDCONFIG=$ac_cv_path_LDCONFIG
7160 if test -n "$LDCONFIG"; then
7161 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
7162 printf "%s\n" "$LDCONFIG" >&6; }
7163 else
7164 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7165 printf "%s\n" "no" >&6; }
7169 for ac_prog in msgfmt
7171 # Extract the first word of "$ac_prog", so it can be a program name with args.
7172 set dummy $ac_prog; ac_word=$2
7173 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7174 printf %s "checking for $ac_word... " >&6; }
7175 if test ${ac_cv_prog_MSGFMT+y}
7176 then :
7177 printf %s "(cached) " >&6
7178 else $as_nop
7179 if test -n "$MSGFMT"; then
7180 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
7181 else
7182 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7183 for as_dir in $PATH
7185 IFS=$as_save_IFS
7186 case $as_dir in #(((
7187 '') as_dir=./ ;;
7188 */) ;;
7189 *) as_dir=$as_dir/ ;;
7190 esac
7191 for ac_exec_ext in '' $ac_executable_extensions; do
7192 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7193 ac_cv_prog_MSGFMT="$ac_prog"
7194 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7195 break 2
7197 done
7198 done
7199 IFS=$as_save_IFS
7203 MSGFMT=$ac_cv_prog_MSGFMT
7204 if test -n "$MSGFMT"; then
7205 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
7206 printf "%s\n" "$MSGFMT" >&6; }
7207 else
7208 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7209 printf "%s\n" "no" >&6; }
7213 test -n "$MSGFMT" && break
7214 done
7215 test -n "$MSGFMT" || MSGFMT="false"
7217 if test ${ac_tool_prefix+y}
7218 then :
7219 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
7220 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
7221 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7222 printf %s "checking for $ac_word... " >&6; }
7223 if test ${ac_cv_prog_PKG_CONFIG+y}
7224 then :
7225 printf %s "(cached) " >&6
7226 else $as_nop
7227 if test -n "$PKG_CONFIG"; then
7228 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
7229 else
7230 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7231 for as_dir in $PATH
7233 IFS=$as_save_IFS
7234 case $as_dir in #(((
7235 '') as_dir=./ ;;
7236 */) ;;
7237 *) as_dir=$as_dir/ ;;
7238 esac
7239 for ac_exec_ext in '' $ac_executable_extensions; do
7240 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7241 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
7242 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7243 break 2
7245 done
7246 done
7247 IFS=$as_save_IFS
7251 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7252 if test -n "$PKG_CONFIG"; then
7253 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7254 printf "%s\n" "$PKG_CONFIG" >&6; }
7255 else
7256 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7257 printf "%s\n" "no" >&6; }
7262 if ${ac_cv_prog_PKG_CONFIG:+false} :
7263 then :
7264 if test "x$cross_compiling" = xyes
7265 then :
7267 else $as_nop
7268 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
7269 # Extract the first word of "pkg-config", so it can be a program name with args.
7270 set dummy pkg-config; ac_word=$2
7271 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7272 printf %s "checking for $ac_word... " >&6; }
7273 if test ${ac_cv_prog_PKG_CONFIG+y}
7274 then :
7275 printf %s "(cached) " >&6
7276 else $as_nop
7277 if test -n "$PKG_CONFIG"; then
7278 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
7279 else
7280 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7281 for as_dir in $PATH
7283 IFS=$as_save_IFS
7284 case $as_dir in #(((
7285 '') as_dir=./ ;;
7286 */) ;;
7287 *) as_dir=$as_dir/ ;;
7288 esac
7289 for ac_exec_ext in '' $ac_executable_extensions; do
7290 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7291 ac_cv_prog_PKG_CONFIG="pkg-config"
7292 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7293 break 2
7295 done
7296 done
7297 IFS=$as_save_IFS
7301 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7302 if test -n "$PKG_CONFIG"; then
7303 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7304 printf "%s\n" "$PKG_CONFIG" >&6; }
7305 else
7306 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7307 printf "%s\n" "no" >&6; }
7312 else $as_nop
7313 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7316 if test "x$enable_maintainer_mode" != "xyes"
7317 then
7318 FONTFORGE=""
7319 RSVG=""
7320 CONVERT=""
7321 ICOTOOL=""
7322 else
7323 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
7324 for ac_prog in fontforge
7326 # Extract the first word of "$ac_prog", so it can be a program name with args.
7327 set dummy $ac_prog; ac_word=$2
7328 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7329 printf %s "checking for $ac_word... " >&6; }
7330 if test ${ac_cv_prog_FONTFORGE+y}
7331 then :
7332 printf %s "(cached) " >&6
7333 else $as_nop
7334 if test -n "$FONTFORGE"; then
7335 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
7336 else
7337 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7338 for as_dir in $PATH
7340 IFS=$as_save_IFS
7341 case $as_dir in #(((
7342 '') as_dir=./ ;;
7343 */) ;;
7344 *) as_dir=$as_dir/ ;;
7345 esac
7346 for ac_exec_ext in '' $ac_executable_extensions; do
7347 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7348 ac_cv_prog_FONTFORGE="$ac_prog"
7349 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7350 break 2
7352 done
7353 done
7354 IFS=$as_save_IFS
7358 FONTFORGE=$ac_cv_prog_FONTFORGE
7359 if test -n "$FONTFORGE"; then
7360 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
7361 printf "%s\n" "$FONTFORGE" >&6; }
7362 else
7363 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7364 printf "%s\n" "no" >&6; }
7368 test -n "$FONTFORGE" && break
7369 done
7370 test -n "$FONTFORGE" || FONTFORGE="false"
7372 for ac_prog in rsvg-convert rsvg
7374 # Extract the first word of "$ac_prog", so it can be a program name with args.
7375 set dummy $ac_prog; ac_word=$2
7376 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7377 printf %s "checking for $ac_word... " >&6; }
7378 if test ${ac_cv_prog_RSVG+y}
7379 then :
7380 printf %s "(cached) " >&6
7381 else $as_nop
7382 if test -n "$RSVG"; then
7383 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
7384 else
7385 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7386 for as_dir in $PATH
7388 IFS=$as_save_IFS
7389 case $as_dir in #(((
7390 '') as_dir=./ ;;
7391 */) ;;
7392 *) as_dir=$as_dir/ ;;
7393 esac
7394 for ac_exec_ext in '' $ac_executable_extensions; do
7395 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7396 ac_cv_prog_RSVG="$ac_prog"
7397 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7398 break 2
7400 done
7401 done
7402 IFS=$as_save_IFS
7406 RSVG=$ac_cv_prog_RSVG
7407 if test -n "$RSVG"; then
7408 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
7409 printf "%s\n" "$RSVG" >&6; }
7410 else
7411 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7412 printf "%s\n" "no" >&6; }
7416 test -n "$RSVG" && break
7417 done
7418 test -n "$RSVG" || RSVG="false"
7420 for ac_prog in convert
7422 # Extract the first word of "$ac_prog", so it can be a program name with args.
7423 set dummy $ac_prog; ac_word=$2
7424 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7425 printf %s "checking for $ac_word... " >&6; }
7426 if test ${ac_cv_prog_CONVERT+y}
7427 then :
7428 printf %s "(cached) " >&6
7429 else $as_nop
7430 if test -n "$CONVERT"; then
7431 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
7432 else
7433 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7434 for as_dir in $PATH
7436 IFS=$as_save_IFS
7437 case $as_dir in #(((
7438 '') as_dir=./ ;;
7439 */) ;;
7440 *) as_dir=$as_dir/ ;;
7441 esac
7442 for ac_exec_ext in '' $ac_executable_extensions; do
7443 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7444 ac_cv_prog_CONVERT="$ac_prog"
7445 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7446 break 2
7448 done
7449 done
7450 IFS=$as_save_IFS
7454 CONVERT=$ac_cv_prog_CONVERT
7455 if test -n "$CONVERT"; then
7456 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
7457 printf "%s\n" "$CONVERT" >&6; }
7458 else
7459 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7460 printf "%s\n" "no" >&6; }
7464 test -n "$CONVERT" && break
7465 done
7466 test -n "$CONVERT" || CONVERT="false"
7468 for ac_prog in icotool
7470 # Extract the first word of "$ac_prog", so it can be a program name with args.
7471 set dummy $ac_prog; ac_word=$2
7472 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7473 printf %s "checking for $ac_word... " >&6; }
7474 if test ${ac_cv_prog_ICOTOOL+y}
7475 then :
7476 printf %s "(cached) " >&6
7477 else $as_nop
7478 if test -n "$ICOTOOL"; then
7479 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
7480 else
7481 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7482 for as_dir in $PATH
7484 IFS=$as_save_IFS
7485 case $as_dir in #(((
7486 '') as_dir=./ ;;
7487 */) ;;
7488 *) as_dir=$as_dir/ ;;
7489 esac
7490 for ac_exec_ext in '' $ac_executable_extensions; do
7491 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7492 ac_cv_prog_ICOTOOL="$ac_prog"
7493 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7494 break 2
7496 done
7497 done
7498 IFS=$as_save_IFS
7502 ICOTOOL=$ac_cv_prog_ICOTOOL
7503 if test -n "$ICOTOOL"; then
7504 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
7505 printf "%s\n" "$ICOTOOL" >&6; }
7506 else
7507 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7508 printf "%s\n" "no" >&6; }
7512 test -n "$ICOTOOL" && break
7513 done
7514 test -n "$ICOTOOL" || ICOTOOL="false"
7516 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
7517 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
7519 if test "$CONVERT" = false
7520 then
7521 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
7522 else
7523 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
7524 printf %s "checking for recent enough imagemagick... " >&6; }
7525 convert_version=`convert --version | head -n1`
7526 if test "x$convert_version" != "x"
7527 then
7528 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
7529 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
7530 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
7531 then
7532 CONVERT=false
7535 if test "$CONVERT" = false
7536 then
7537 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
7538 printf "%s\n" "no ($convert_version_major.$convert_version_minor)" >&6; }
7539 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7540 else
7541 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
7542 printf "%s\n" "yes ($convert_version_major.$convert_version_minor)" >&6; }
7546 if test "$ICOTOOL" = false
7547 then
7548 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
7549 else
7550 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
7551 printf %s "checking for recent enough icotool... " >&6; }
7552 icotool_version=`icotool --version | head -n1`
7553 if test "x$icotool_version" != "x"
7554 then
7555 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
7556 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
7557 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
7558 then
7559 ICOTOOL=false
7560 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
7563 if test "$ICOTOOL" = false
7564 then
7565 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
7566 printf "%s\n" "no ($icotool_version_major.$icotool_version_minor)" >&6; }
7567 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7568 else
7569 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
7570 printf "%s\n" "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
7574 with_gettext=yes
7575 with_gettextpo=yes
7577 enable_werror=yes
7580 test "x$with_gettext" != xno || MSGFMT=false
7581 if test "$MSGFMT" != "false"
7582 then
7583 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
7584 printf %s "checking whether msgfmt supports contexts... " >&6; }
7585 if test ${wine_cv_msgfmt_contexts+y}
7586 then :
7587 printf %s "(cached) " >&6
7588 else $as_nop
7589 cat >conftest.po <<EOF
7590 # comment
7591 msgctxt "ctxt"
7592 msgid "id"
7593 msgstr "str"
7595 if $MSGFMT -o /dev/null conftest.po 2>&5
7596 then
7597 wine_cv_msgfmt_contexts=yes
7598 else
7599 wine_cv_msgfmt_contexts=no
7602 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_msgfmt_contexts" >&5
7603 printf "%s\n" "$wine_cv_msgfmt_contexts" >&6; }
7604 test $wine_cv_msgfmt_contexts != no || MSGFMT=false
7606 if test "$MSGFMT" = false
7607 then :
7608 case "x$with_gettext" in
7609 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
7610 xno) ;;
7611 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
7612 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
7613 esac
7614 enable_po=${enable_po:-no}
7618 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
7619 printf %s "checking for i386_set_ldt in -li386... " >&6; }
7620 if test ${ac_cv_lib_i386_i386_set_ldt+y}
7621 then :
7622 printf %s "(cached) " >&6
7623 else $as_nop
7624 ac_check_lib_save_LIBS=$LIBS
7625 LIBS="-li386 $LIBS"
7626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7627 /* end confdefs.h. */
7629 /* Override any GCC internal prototype to avoid an error.
7630 Use char because int might match the return type of a GCC
7631 builtin and then its argument prototype would still apply. */
7632 char i386_set_ldt ();
7634 main (void)
7636 return i386_set_ldt ();
7638 return 0;
7640 _ACEOF
7641 if ac_fn_c_try_link "$LINENO"
7642 then :
7643 ac_cv_lib_i386_i386_set_ldt=yes
7644 else $as_nop
7645 ac_cv_lib_i386_i386_set_ldt=no
7647 rm -f core conftest.err conftest.$ac_objext conftest.beam \
7648 conftest$ac_exeext conftest.$ac_ext
7649 LIBS=$ac_check_lib_save_LIBS
7651 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
7652 printf "%s\n" "$ac_cv_lib_i386_i386_set_ldt" >&6; }
7653 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes
7654 then :
7655 I386_LIBS="-li386"
7660 OPENGL_LIBS=""
7664 # Check whether --enable-largefile was given.
7665 if test ${enable_largefile+y}
7666 then :
7667 enableval=$enable_largefile;
7670 if test "$enable_largefile" != no; then
7672 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
7673 printf %s "checking for special C compiler options needed for large files... " >&6; }
7674 if test ${ac_cv_sys_largefile_CC+y}
7675 then :
7676 printf %s "(cached) " >&6
7677 else $as_nop
7678 ac_cv_sys_largefile_CC=no
7679 if test "$GCC" != yes; then
7680 ac_save_CC=$CC
7681 while :; do
7682 # IRIX 6.2 and later do not support large files by default,
7683 # so use the C compiler's -n32 option if that helps.
7684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7685 /* end confdefs.h. */
7686 #include <sys/types.h>
7687 /* Check that off_t can represent 2**63 - 1 correctly.
7688 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7689 since some C++ compilers masquerading as C compilers
7690 incorrectly reject 9223372036854775807. */
7691 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7692 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7693 && LARGE_OFF_T % 2147483647 == 1)
7694 ? 1 : -1];
7696 main (void)
7700 return 0;
7702 _ACEOF
7703 if ac_fn_c_try_compile "$LINENO"
7704 then :
7705 break
7707 rm -f core conftest.err conftest.$ac_objext conftest.beam
7708 CC="$CC -n32"
7709 if ac_fn_c_try_compile "$LINENO"
7710 then :
7711 ac_cv_sys_largefile_CC=' -n32'; break
7713 rm -f core conftest.err conftest.$ac_objext conftest.beam
7714 break
7715 done
7716 CC=$ac_save_CC
7717 rm -f conftest.$ac_ext
7720 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
7721 printf "%s\n" "$ac_cv_sys_largefile_CC" >&6; }
7722 if test "$ac_cv_sys_largefile_CC" != no; then
7723 CC=$CC$ac_cv_sys_largefile_CC
7726 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
7727 printf %s "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
7728 if test ${ac_cv_sys_file_offset_bits+y}
7729 then :
7730 printf %s "(cached) " >&6
7731 else $as_nop
7732 while :; do
7733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7734 /* end confdefs.h. */
7735 #include <sys/types.h>
7736 /* Check that off_t can represent 2**63 - 1 correctly.
7737 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7738 since some C++ compilers masquerading as C compilers
7739 incorrectly reject 9223372036854775807. */
7740 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7741 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7742 && LARGE_OFF_T % 2147483647 == 1)
7743 ? 1 : -1];
7745 main (void)
7749 return 0;
7751 _ACEOF
7752 if ac_fn_c_try_compile "$LINENO"
7753 then :
7754 ac_cv_sys_file_offset_bits=no; break
7756 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7758 /* end confdefs.h. */
7759 #define _FILE_OFFSET_BITS 64
7760 #include <sys/types.h>
7761 /* Check that off_t can represent 2**63 - 1 correctly.
7762 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7763 since some C++ compilers masquerading as C compilers
7764 incorrectly reject 9223372036854775807. */
7765 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7766 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7767 && LARGE_OFF_T % 2147483647 == 1)
7768 ? 1 : -1];
7770 main (void)
7774 return 0;
7776 _ACEOF
7777 if ac_fn_c_try_compile "$LINENO"
7778 then :
7779 ac_cv_sys_file_offset_bits=64; break
7781 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7782 ac_cv_sys_file_offset_bits=unknown
7783 break
7784 done
7786 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
7787 printf "%s\n" "$ac_cv_sys_file_offset_bits" >&6; }
7788 case $ac_cv_sys_file_offset_bits in #(
7789 no | unknown) ;;
7791 printf "%s\n" "#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits" >>confdefs.h
7793 esac
7794 rm -rf conftest*
7795 if test $ac_cv_sys_file_offset_bits = unknown; then
7796 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
7797 printf %s "checking for _LARGE_FILES value needed for large files... " >&6; }
7798 if test ${ac_cv_sys_large_files+y}
7799 then :
7800 printf %s "(cached) " >&6
7801 else $as_nop
7802 while :; do
7803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7804 /* end confdefs.h. */
7805 #include <sys/types.h>
7806 /* Check that off_t can represent 2**63 - 1 correctly.
7807 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7808 since some C++ compilers masquerading as C compilers
7809 incorrectly reject 9223372036854775807. */
7810 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7811 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7812 && LARGE_OFF_T % 2147483647 == 1)
7813 ? 1 : -1];
7815 main (void)
7819 return 0;
7821 _ACEOF
7822 if ac_fn_c_try_compile "$LINENO"
7823 then :
7824 ac_cv_sys_large_files=no; break
7826 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7828 /* end confdefs.h. */
7829 #define _LARGE_FILES 1
7830 #include <sys/types.h>
7831 /* Check that off_t can represent 2**63 - 1 correctly.
7832 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7833 since some C++ compilers masquerading as C compilers
7834 incorrectly reject 9223372036854775807. */
7835 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7836 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7837 && LARGE_OFF_T % 2147483647 == 1)
7838 ? 1 : -1];
7840 main (void)
7844 return 0;
7846 _ACEOF
7847 if ac_fn_c_try_compile "$LINENO"
7848 then :
7849 ac_cv_sys_large_files=1; break
7851 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7852 ac_cv_sys_large_files=unknown
7853 break
7854 done
7856 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
7857 printf "%s\n" "$ac_cv_sys_large_files" >&6; }
7858 case $ac_cv_sys_large_files in #(
7859 no | unknown) ;;
7861 printf "%s\n" "#define _LARGE_FILES $ac_cv_sys_large_files" >>confdefs.h
7863 esac
7864 rm -rf conftest*
7869 ac_header= ac_cache=
7870 for ac_item in $ac_header_c_list
7872 if test $ac_cache; then
7873 ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
7874 if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
7875 printf "%s\n" "#define $ac_item 1" >> confdefs.h
7877 ac_header= ac_cache=
7878 elif test $ac_header; then
7879 ac_cache=$ac_item
7880 else
7881 ac_header=$ac_item
7883 done
7892 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
7893 then :
7895 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
7898 ac_fn_c_check_header_compile "$LINENO" "CL/cl.h" "ac_cv_header_CL_cl_h" "$ac_includes_default"
7899 if test "x$ac_cv_header_CL_cl_h" = xyes
7900 then :
7901 printf "%s\n" "#define HAVE_CL_CL_H 1" >>confdefs.h
7904 ac_fn_c_check_header_compile "$LINENO" "EGL/egl.h" "ac_cv_header_EGL_egl_h" "$ac_includes_default"
7905 if test "x$ac_cv_header_EGL_egl_h" = xyes
7906 then :
7907 printf "%s\n" "#define HAVE_EGL_EGL_H 1" >>confdefs.h
7910 ac_fn_c_check_header_compile "$LINENO" "OpenCL/opencl.h" "ac_cv_header_OpenCL_opencl_h" "$ac_includes_default"
7911 if test "x$ac_cv_header_OpenCL_opencl_h" = xyes
7912 then :
7913 printf "%s\n" "#define HAVE_OPENCL_OPENCL_H 1" >>confdefs.h
7916 ac_fn_c_check_header_compile "$LINENO" "arpa/inet.h" "ac_cv_header_arpa_inet_h" "$ac_includes_default"
7917 if test "x$ac_cv_header_arpa_inet_h" = xyes
7918 then :
7919 printf "%s\n" "#define HAVE_ARPA_INET_H 1" >>confdefs.h
7922 ac_fn_c_check_header_compile "$LINENO" "arpa/nameser.h" "ac_cv_header_arpa_nameser_h" "$ac_includes_default"
7923 if test "x$ac_cv_header_arpa_nameser_h" = xyes
7924 then :
7925 printf "%s\n" "#define HAVE_ARPA_NAMESER_H 1" >>confdefs.h
7928 ac_fn_c_check_header_compile "$LINENO" "asm/types.h" "ac_cv_header_asm_types_h" "$ac_includes_default"
7929 if test "x$ac_cv_header_asm_types_h" = xyes
7930 then :
7931 printf "%s\n" "#define HAVE_ASM_TYPES_H 1" >>confdefs.h
7934 ac_fn_c_check_header_compile "$LINENO" "asm/user.h" "ac_cv_header_asm_user_h" "$ac_includes_default"
7935 if test "x$ac_cv_header_asm_user_h" = xyes
7936 then :
7937 printf "%s\n" "#define HAVE_ASM_USER_H 1" >>confdefs.h
7940 ac_fn_c_check_header_compile "$LINENO" "elf.h" "ac_cv_header_elf_h" "$ac_includes_default"
7941 if test "x$ac_cv_header_elf_h" = xyes
7942 then :
7943 printf "%s\n" "#define HAVE_ELF_H 1" >>confdefs.h
7946 ac_fn_c_check_header_compile "$LINENO" "float.h" "ac_cv_header_float_h" "$ac_includes_default"
7947 if test "x$ac_cv_header_float_h" = xyes
7948 then :
7949 printf "%s\n" "#define HAVE_FLOAT_H 1" >>confdefs.h
7952 ac_fn_c_check_header_compile "$LINENO" "gettext-po.h" "ac_cv_header_gettext_po_h" "$ac_includes_default"
7953 if test "x$ac_cv_header_gettext_po_h" = xyes
7954 then :
7955 printf "%s\n" "#define HAVE_GETTEXT_PO_H 1" >>confdefs.h
7958 ac_fn_c_check_header_compile "$LINENO" "libproc.h" "ac_cv_header_libproc_h" "$ac_includes_default"
7959 if test "x$ac_cv_header_libproc_h" = xyes
7960 then :
7961 printf "%s\n" "#define HAVE_LIBPROC_H 1" >>confdefs.h
7964 ac_fn_c_check_header_compile "$LINENO" "link.h" "ac_cv_header_link_h" "$ac_includes_default"
7965 if test "x$ac_cv_header_link_h" = xyes
7966 then :
7967 printf "%s\n" "#define HAVE_LINK_H 1" >>confdefs.h
7970 ac_fn_c_check_header_compile "$LINENO" "linux/cdrom.h" "ac_cv_header_linux_cdrom_h" "$ac_includes_default"
7971 if test "x$ac_cv_header_linux_cdrom_h" = xyes
7972 then :
7973 printf "%s\n" "#define HAVE_LINUX_CDROM_H 1" >>confdefs.h
7976 ac_fn_c_check_header_compile "$LINENO" "linux/filter.h" "ac_cv_header_linux_filter_h" "$ac_includes_default"
7977 if test "x$ac_cv_header_linux_filter_h" = xyes
7978 then :
7979 printf "%s\n" "#define HAVE_LINUX_FILTER_H 1" >>confdefs.h
7982 ac_fn_c_check_header_compile "$LINENO" "linux/hdreg.h" "ac_cv_header_linux_hdreg_h" "$ac_includes_default"
7983 if test "x$ac_cv_header_linux_hdreg_h" = xyes
7984 then :
7985 printf "%s\n" "#define HAVE_LINUX_HDREG_H 1" >>confdefs.h
7988 ac_fn_c_check_header_compile "$LINENO" "linux/hidraw.h" "ac_cv_header_linux_hidraw_h" "$ac_includes_default"
7989 if test "x$ac_cv_header_linux_hidraw_h" = xyes
7990 then :
7991 printf "%s\n" "#define HAVE_LINUX_HIDRAW_H 1" >>confdefs.h
7994 ac_fn_c_check_header_compile "$LINENO" "linux/input.h" "ac_cv_header_linux_input_h" "$ac_includes_default"
7995 if test "x$ac_cv_header_linux_input_h" = xyes
7996 then :
7997 printf "%s\n" "#define HAVE_LINUX_INPUT_H 1" >>confdefs.h
8000 ac_fn_c_check_header_compile "$LINENO" "linux/ioctl.h" "ac_cv_header_linux_ioctl_h" "$ac_includes_default"
8001 if test "x$ac_cv_header_linux_ioctl_h" = xyes
8002 then :
8003 printf "%s\n" "#define HAVE_LINUX_IOCTL_H 1" >>confdefs.h
8006 ac_fn_c_check_header_compile "$LINENO" "linux/major.h" "ac_cv_header_linux_major_h" "$ac_includes_default"
8007 if test "x$ac_cv_header_linux_major_h" = xyes
8008 then :
8009 printf "%s\n" "#define HAVE_LINUX_MAJOR_H 1" >>confdefs.h
8012 ac_fn_c_check_header_compile "$LINENO" "linux/param.h" "ac_cv_header_linux_param_h" "$ac_includes_default"
8013 if test "x$ac_cv_header_linux_param_h" = xyes
8014 then :
8015 printf "%s\n" "#define HAVE_LINUX_PARAM_H 1" >>confdefs.h
8018 ac_fn_c_check_header_compile "$LINENO" "linux/serial.h" "ac_cv_header_linux_serial_h" "$ac_includes_default"
8019 if test "x$ac_cv_header_linux_serial_h" = xyes
8020 then :
8021 printf "%s\n" "#define HAVE_LINUX_SERIAL_H 1" >>confdefs.h
8024 ac_fn_c_check_header_compile "$LINENO" "linux/types.h" "ac_cv_header_linux_types_h" "$ac_includes_default"
8025 if test "x$ac_cv_header_linux_types_h" = xyes
8026 then :
8027 printf "%s\n" "#define HAVE_LINUX_TYPES_H 1" >>confdefs.h
8030 ac_fn_c_check_header_compile "$LINENO" "linux/ucdrom.h" "ac_cv_header_linux_ucdrom_h" "$ac_includes_default"
8031 if test "x$ac_cv_header_linux_ucdrom_h" = xyes
8032 then :
8033 printf "%s\n" "#define HAVE_LINUX_UCDROM_H 1" >>confdefs.h
8036 ac_fn_c_check_header_compile "$LINENO" "linux/wireless.h" "ac_cv_header_linux_wireless_h" "$ac_includes_default"
8037 if test "x$ac_cv_header_linux_wireless_h" = xyes
8038 then :
8039 printf "%s\n" "#define HAVE_LINUX_WIRELESS_H 1" >>confdefs.h
8042 ac_fn_c_check_header_compile "$LINENO" "lwp.h" "ac_cv_header_lwp_h" "$ac_includes_default"
8043 if test "x$ac_cv_header_lwp_h" = xyes
8044 then :
8045 printf "%s\n" "#define HAVE_LWP_H 1" >>confdefs.h
8048 ac_fn_c_check_header_compile "$LINENO" "mach-o/loader.h" "ac_cv_header_mach_o_loader_h" "$ac_includes_default"
8049 if test "x$ac_cv_header_mach_o_loader_h" = xyes
8050 then :
8051 printf "%s\n" "#define HAVE_MACH_O_LOADER_H 1" >>confdefs.h
8054 ac_fn_c_check_header_compile "$LINENO" "mach/mach.h" "ac_cv_header_mach_mach_h" "$ac_includes_default"
8055 if test "x$ac_cv_header_mach_mach_h" = xyes
8056 then :
8057 printf "%s\n" "#define HAVE_MACH_MACH_H 1" >>confdefs.h
8060 ac_fn_c_check_header_compile "$LINENO" "machine/cpu.h" "ac_cv_header_machine_cpu_h" "$ac_includes_default"
8061 if test "x$ac_cv_header_machine_cpu_h" = xyes
8062 then :
8063 printf "%s\n" "#define HAVE_MACHINE_CPU_H 1" >>confdefs.h
8066 ac_fn_c_check_header_compile "$LINENO" "machine/sysarch.h" "ac_cv_header_machine_sysarch_h" "$ac_includes_default"
8067 if test "x$ac_cv_header_machine_sysarch_h" = xyes
8068 then :
8069 printf "%s\n" "#define HAVE_MACHINE_SYSARCH_H 1" >>confdefs.h
8072 ac_fn_c_check_header_compile "$LINENO" "mntent.h" "ac_cv_header_mntent_h" "$ac_includes_default"
8073 if test "x$ac_cv_header_mntent_h" = xyes
8074 then :
8075 printf "%s\n" "#define HAVE_MNTENT_H 1" >>confdefs.h
8078 ac_fn_c_check_header_compile "$LINENO" "netdb.h" "ac_cv_header_netdb_h" "$ac_includes_default"
8079 if test "x$ac_cv_header_netdb_h" = xyes
8080 then :
8081 printf "%s\n" "#define HAVE_NETDB_H 1" >>confdefs.h
8084 ac_fn_c_check_header_compile "$LINENO" "netinet/in.h" "ac_cv_header_netinet_in_h" "$ac_includes_default"
8085 if test "x$ac_cv_header_netinet_in_h" = xyes
8086 then :
8087 printf "%s\n" "#define HAVE_NETINET_IN_H 1" >>confdefs.h
8090 ac_fn_c_check_header_compile "$LINENO" "netinet/in_systm.h" "ac_cv_header_netinet_in_systm_h" "$ac_includes_default"
8091 if test "x$ac_cv_header_netinet_in_systm_h" = xyes
8092 then :
8093 printf "%s\n" "#define HAVE_NETINET_IN_SYSTM_H 1" >>confdefs.h
8096 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp.h" "ac_cv_header_netinet_tcp_h" "$ac_includes_default"
8097 if test "x$ac_cv_header_netinet_tcp_h" = xyes
8098 then :
8099 printf "%s\n" "#define HAVE_NETINET_TCP_H 1" >>confdefs.h
8102 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp_fsm.h" "ac_cv_header_netinet_tcp_fsm_h" "$ac_includes_default"
8103 if test "x$ac_cv_header_netinet_tcp_fsm_h" = xyes
8104 then :
8105 printf "%s\n" "#define HAVE_NETINET_TCP_FSM_H 1" >>confdefs.h
8108 ac_fn_c_check_header_compile "$LINENO" "pcap/pcap.h" "ac_cv_header_pcap_pcap_h" "$ac_includes_default"
8109 if test "x$ac_cv_header_pcap_pcap_h" = xyes
8110 then :
8111 printf "%s\n" "#define HAVE_PCAP_PCAP_H 1" >>confdefs.h
8114 ac_fn_c_check_header_compile "$LINENO" "port.h" "ac_cv_header_port_h" "$ac_includes_default"
8115 if test "x$ac_cv_header_port_h" = xyes
8116 then :
8117 printf "%s\n" "#define HAVE_PORT_H 1" >>confdefs.h
8120 ac_fn_c_check_header_compile "$LINENO" "pwd.h" "ac_cv_header_pwd_h" "$ac_includes_default"
8121 if test "x$ac_cv_header_pwd_h" = xyes
8122 then :
8123 printf "%s\n" "#define HAVE_PWD_H 1" >>confdefs.h
8126 ac_fn_c_check_header_compile "$LINENO" "sched.h" "ac_cv_header_sched_h" "$ac_includes_default"
8127 if test "x$ac_cv_header_sched_h" = xyes
8128 then :
8129 printf "%s\n" "#define HAVE_SCHED_H 1" >>confdefs.h
8132 ac_fn_c_check_header_compile "$LINENO" "scsi/scsi.h" "ac_cv_header_scsi_scsi_h" "$ac_includes_default"
8133 if test "x$ac_cv_header_scsi_scsi_h" = xyes
8134 then :
8135 printf "%s\n" "#define HAVE_SCSI_SCSI_H 1" >>confdefs.h
8138 ac_fn_c_check_header_compile "$LINENO" "scsi/scsi_ioctl.h" "ac_cv_header_scsi_scsi_ioctl_h" "$ac_includes_default"
8139 if test "x$ac_cv_header_scsi_scsi_ioctl_h" = xyes
8140 then :
8141 printf "%s\n" "#define HAVE_SCSI_SCSI_IOCTL_H 1" >>confdefs.h
8144 ac_fn_c_check_header_compile "$LINENO" "scsi/sg.h" "ac_cv_header_scsi_sg_h" "$ac_includes_default"
8145 if test "x$ac_cv_header_scsi_sg_h" = xyes
8146 then :
8147 printf "%s\n" "#define HAVE_SCSI_SG_H 1" >>confdefs.h
8150 ac_fn_c_check_header_compile "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
8151 if test "x$ac_cv_header_stdint_h" = xyes
8152 then :
8153 printf "%s\n" "#define HAVE_STDINT_H 1" >>confdefs.h
8156 ac_fn_c_check_header_compile "$LINENO" "sys/attr.h" "ac_cv_header_sys_attr_h" "$ac_includes_default"
8157 if test "x$ac_cv_header_sys_attr_h" = xyes
8158 then :
8159 printf "%s\n" "#define HAVE_SYS_ATTR_H 1" >>confdefs.h
8162 ac_fn_c_check_header_compile "$LINENO" "sys/auxv.h" "ac_cv_header_sys_auxv_h" "$ac_includes_default"
8163 if test "x$ac_cv_header_sys_auxv_h" = xyes
8164 then :
8165 printf "%s\n" "#define HAVE_SYS_AUXV_H 1" >>confdefs.h
8168 ac_fn_c_check_header_compile "$LINENO" "sys/cdio.h" "ac_cv_header_sys_cdio_h" "$ac_includes_default"
8169 if test "x$ac_cv_header_sys_cdio_h" = xyes
8170 then :
8171 printf "%s\n" "#define HAVE_SYS_CDIO_H 1" >>confdefs.h
8174 ac_fn_c_check_header_compile "$LINENO" "sys/epoll.h" "ac_cv_header_sys_epoll_h" "$ac_includes_default"
8175 if test "x$ac_cv_header_sys_epoll_h" = xyes
8176 then :
8177 printf "%s\n" "#define HAVE_SYS_EPOLL_H 1" >>confdefs.h
8180 ac_fn_c_check_header_compile "$LINENO" "sys/event.h" "ac_cv_header_sys_event_h" "$ac_includes_default"
8181 if test "x$ac_cv_header_sys_event_h" = xyes
8182 then :
8183 printf "%s\n" "#define HAVE_SYS_EVENT_H 1" >>confdefs.h
8186 ac_fn_c_check_header_compile "$LINENO" "sys/extattr.h" "ac_cv_header_sys_extattr_h" "$ac_includes_default"
8187 if test "x$ac_cv_header_sys_extattr_h" = xyes
8188 then :
8189 printf "%s\n" "#define HAVE_SYS_EXTATTR_H 1" >>confdefs.h
8192 ac_fn_c_check_header_compile "$LINENO" "sys/filio.h" "ac_cv_header_sys_filio_h" "$ac_includes_default"
8193 if test "x$ac_cv_header_sys_filio_h" = xyes
8194 then :
8195 printf "%s\n" "#define HAVE_SYS_FILIO_H 1" >>confdefs.h
8198 ac_fn_c_check_header_compile "$LINENO" "sys/ipc.h" "ac_cv_header_sys_ipc_h" "$ac_includes_default"
8199 if test "x$ac_cv_header_sys_ipc_h" = xyes
8200 then :
8201 printf "%s\n" "#define HAVE_SYS_IPC_H 1" >>confdefs.h
8204 ac_fn_c_check_header_compile "$LINENO" "sys/link.h" "ac_cv_header_sys_link_h" "$ac_includes_default"
8205 if test "x$ac_cv_header_sys_link_h" = xyes
8206 then :
8207 printf "%s\n" "#define HAVE_SYS_LINK_H 1" >>confdefs.h
8210 ac_fn_c_check_header_compile "$LINENO" "sys/modem.h" "ac_cv_header_sys_modem_h" "$ac_includes_default"
8211 if test "x$ac_cv_header_sys_modem_h" = xyes
8212 then :
8213 printf "%s\n" "#define HAVE_SYS_MODEM_H 1" >>confdefs.h
8216 ac_fn_c_check_header_compile "$LINENO" "sys/mtio.h" "ac_cv_header_sys_mtio_h" "$ac_includes_default"
8217 if test "x$ac_cv_header_sys_mtio_h" = xyes
8218 then :
8219 printf "%s\n" "#define HAVE_SYS_MTIO_H 1" >>confdefs.h
8222 ac_fn_c_check_header_compile "$LINENO" "sys/param.h" "ac_cv_header_sys_param_h" "$ac_includes_default"
8223 if test "x$ac_cv_header_sys_param_h" = xyes
8224 then :
8225 printf "%s\n" "#define HAVE_SYS_PARAM_H 1" >>confdefs.h
8228 ac_fn_c_check_header_compile "$LINENO" "sys/prctl.h" "ac_cv_header_sys_prctl_h" "$ac_includes_default"
8229 if test "x$ac_cv_header_sys_prctl_h" = xyes
8230 then :
8231 printf "%s\n" "#define HAVE_SYS_PRCTL_H 1" >>confdefs.h
8234 ac_fn_c_check_header_compile "$LINENO" "sys/ptrace.h" "ac_cv_header_sys_ptrace_h" "$ac_includes_default"
8235 if test "x$ac_cv_header_sys_ptrace_h" = xyes
8236 then :
8237 printf "%s\n" "#define HAVE_SYS_PTRACE_H 1" >>confdefs.h
8240 ac_fn_c_check_header_compile "$LINENO" "sys/queue.h" "ac_cv_header_sys_queue_h" "$ac_includes_default"
8241 if test "x$ac_cv_header_sys_queue_h" = xyes
8242 then :
8243 printf "%s\n" "#define HAVE_SYS_QUEUE_H 1" >>confdefs.h
8246 ac_fn_c_check_header_compile "$LINENO" "sys/random.h" "ac_cv_header_sys_random_h" "$ac_includes_default"
8247 if test "x$ac_cv_header_sys_random_h" = xyes
8248 then :
8249 printf "%s\n" "#define HAVE_SYS_RANDOM_H 1" >>confdefs.h
8252 ac_fn_c_check_header_compile "$LINENO" "sys/resource.h" "ac_cv_header_sys_resource_h" "$ac_includes_default"
8253 if test "x$ac_cv_header_sys_resource_h" = xyes
8254 then :
8255 printf "%s\n" "#define HAVE_SYS_RESOURCE_H 1" >>confdefs.h
8258 ac_fn_c_check_header_compile "$LINENO" "sys/scsiio.h" "ac_cv_header_sys_scsiio_h" "$ac_includes_default"
8259 if test "x$ac_cv_header_sys_scsiio_h" = xyes
8260 then :
8261 printf "%s\n" "#define HAVE_SYS_SCSIIO_H 1" >>confdefs.h
8264 ac_fn_c_check_header_compile "$LINENO" "sys/shm.h" "ac_cv_header_sys_shm_h" "$ac_includes_default"
8265 if test "x$ac_cv_header_sys_shm_h" = xyes
8266 then :
8267 printf "%s\n" "#define HAVE_SYS_SHM_H 1" >>confdefs.h
8270 ac_fn_c_check_header_compile "$LINENO" "sys/signal.h" "ac_cv_header_sys_signal_h" "$ac_includes_default"
8271 if test "x$ac_cv_header_sys_signal_h" = xyes
8272 then :
8273 printf "%s\n" "#define HAVE_SYS_SIGNAL_H 1" >>confdefs.h
8276 ac_fn_c_check_header_compile "$LINENO" "sys/socketvar.h" "ac_cv_header_sys_socketvar_h" "$ac_includes_default"
8277 if test "x$ac_cv_header_sys_socketvar_h" = xyes
8278 then :
8279 printf "%s\n" "#define HAVE_SYS_SOCKETVAR_H 1" >>confdefs.h
8282 ac_fn_c_check_header_compile "$LINENO" "sys/sockio.h" "ac_cv_header_sys_sockio_h" "$ac_includes_default"
8283 if test "x$ac_cv_header_sys_sockio_h" = xyes
8284 then :
8285 printf "%s\n" "#define HAVE_SYS_SOCKIO_H 1" >>confdefs.h
8288 ac_fn_c_check_header_compile "$LINENO" "sys/statvfs.h" "ac_cv_header_sys_statvfs_h" "$ac_includes_default"
8289 if test "x$ac_cv_header_sys_statvfs_h" = xyes
8290 then :
8291 printf "%s\n" "#define HAVE_SYS_STATVFS_H 1" >>confdefs.h
8294 ac_fn_c_check_header_compile "$LINENO" "sys/strtio.h" "ac_cv_header_sys_strtio_h" "$ac_includes_default"
8295 if test "x$ac_cv_header_sys_strtio_h" = xyes
8296 then :
8297 printf "%s\n" "#define HAVE_SYS_STRTIO_H 1" >>confdefs.h
8300 ac_fn_c_check_header_compile "$LINENO" "sys/syscall.h" "ac_cv_header_sys_syscall_h" "$ac_includes_default"
8301 if test "x$ac_cv_header_sys_syscall_h" = xyes
8302 then :
8303 printf "%s\n" "#define HAVE_SYS_SYSCALL_H 1" >>confdefs.h
8306 ac_fn_c_check_header_compile "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
8307 if test "x$ac_cv_header_sys_sysinfo_h" = xyes
8308 then :
8309 printf "%s\n" "#define HAVE_SYS_SYSINFO_H 1" >>confdefs.h
8312 ac_fn_c_check_header_compile "$LINENO" "sys/times.h" "ac_cv_header_sys_times_h" "$ac_includes_default"
8313 if test "x$ac_cv_header_sys_times_h" = xyes
8314 then :
8315 printf "%s\n" "#define HAVE_SYS_TIMES_H 1" >>confdefs.h
8318 ac_fn_c_check_header_compile "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
8319 if test "x$ac_cv_header_sys_uio_h" = xyes
8320 then :
8321 printf "%s\n" "#define HAVE_SYS_UIO_H 1" >>confdefs.h
8324 ac_fn_c_check_header_compile "$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "$ac_includes_default"
8325 if test "x$ac_cv_header_sys_user_h" = xyes
8326 then :
8327 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8330 ac_fn_c_check_header_compile "$LINENO" "sys/utsname.h" "ac_cv_header_sys_utsname_h" "$ac_includes_default"
8331 if test "x$ac_cv_header_sys_utsname_h" = xyes
8332 then :
8333 printf "%s\n" "#define HAVE_SYS_UTSNAME_H 1" >>confdefs.h
8336 ac_fn_c_check_header_compile "$LINENO" "sys/vnode.h" "ac_cv_header_sys_vnode_h" "$ac_includes_default"
8337 if test "x$ac_cv_header_sys_vnode_h" = xyes
8338 then :
8339 printf "%s\n" "#define HAVE_SYS_VNODE_H 1" >>confdefs.h
8342 ac_fn_c_check_header_compile "$LINENO" "sys/xattr.h" "ac_cv_header_sys_xattr_h" "$ac_includes_default"
8343 if test "x$ac_cv_header_sys_xattr_h" = xyes
8344 then :
8345 printf "%s\n" "#define HAVE_SYS_XATTR_H 1" >>confdefs.h
8348 ac_fn_c_check_header_compile "$LINENO" "syscall.h" "ac_cv_header_syscall_h" "$ac_includes_default"
8349 if test "x$ac_cv_header_syscall_h" = xyes
8350 then :
8351 printf "%s\n" "#define HAVE_SYSCALL_H 1" >>confdefs.h
8354 ac_fn_c_check_header_compile "$LINENO" "utime.h" "ac_cv_header_utime_h" "$ac_includes_default"
8355 if test "x$ac_cv_header_utime_h" = xyes
8356 then :
8357 printf "%s\n" "#define HAVE_UTIME_H 1" >>confdefs.h
8360 ac_fn_c_check_header_compile "$LINENO" "valgrind/memcheck.h" "ac_cv_header_valgrind_memcheck_h" "$ac_includes_default"
8361 if test "x$ac_cv_header_valgrind_memcheck_h" = xyes
8362 then :
8363 printf "%s\n" "#define HAVE_VALGRIND_MEMCHECK_H 1" >>confdefs.h
8366 ac_fn_c_check_header_compile "$LINENO" "valgrind/valgrind.h" "ac_cv_header_valgrind_valgrind_h" "$ac_includes_default"
8367 if test "x$ac_cv_header_valgrind_valgrind_h" = xyes
8368 then :
8369 printf "%s\n" "#define HAVE_VALGRIND_VALGRIND_H 1" >>confdefs.h
8373 ac_fn_c_check_header_compile "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
8374 if test "x$ac_cv_header_sys_mkdev_h" = xyes
8375 then :
8377 printf "%s\n" "#define MAJOR_IN_MKDEV 1" >>confdefs.h
8381 if test $ac_cv_header_sys_mkdev_h = no; then
8382 ac_fn_c_check_header_compile "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
8383 if test "x$ac_cv_header_sys_sysmacros_h" = xyes
8384 then :
8386 printf "%s\n" "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
8391 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
8392 printf %s "checking whether stat file-mode macros are broken... " >&6; }
8393 if test ${ac_cv_header_stat_broken+y}
8394 then :
8395 printf %s "(cached) " >&6
8396 else $as_nop
8397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8398 /* end confdefs.h. */
8399 #include <sys/types.h>
8400 #include <sys/stat.h>
8402 #if defined S_ISBLK && defined S_IFDIR
8403 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
8404 #endif
8406 #if defined S_ISBLK && defined S_IFCHR
8407 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
8408 #endif
8410 #if defined S_ISLNK && defined S_IFREG
8411 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
8412 #endif
8414 #if defined S_ISSOCK && defined S_IFREG
8415 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
8416 #endif
8418 _ACEOF
8419 if ac_fn_c_try_compile "$LINENO"
8420 then :
8421 ac_cv_header_stat_broken=no
8422 else $as_nop
8423 ac_cv_header_stat_broken=yes
8425 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8427 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
8428 printf "%s\n" "$ac_cv_header_stat_broken" >&6; }
8429 if test $ac_cv_header_stat_broken = yes; then
8431 printf "%s\n" "#define STAT_MACROS_BROKEN 1" >>confdefs.h
8437 ac_fn_c_check_header_compile "$LINENO" "sys/conf.h" "ac_cv_header_sys_conf_h" "#include <sys/types.h>
8438 #ifdef HAVE_SYS_PARAM_H
8439 # include <sys/param.h>
8440 #endif
8442 if test "x$ac_cv_header_sys_conf_h" = xyes
8443 then :
8444 printf "%s\n" "#define HAVE_SYS_CONF_H 1" >>confdefs.h
8447 ac_fn_c_check_header_compile "$LINENO" "sys/mount.h" "ac_cv_header_sys_mount_h" "#include <sys/types.h>
8448 #ifdef HAVE_SYS_PARAM_H
8449 # include <sys/param.h>
8450 #endif
8452 if test "x$ac_cv_header_sys_mount_h" = xyes
8453 then :
8454 printf "%s\n" "#define HAVE_SYS_MOUNT_H 1" >>confdefs.h
8457 ac_fn_c_check_header_compile "$LINENO" "sys/statfs.h" "ac_cv_header_sys_statfs_h" "#include <sys/types.h>
8458 #ifdef HAVE_SYS_PARAM_H
8459 # include <sys/param.h>
8460 #endif
8462 if test "x$ac_cv_header_sys_statfs_h" = xyes
8463 then :
8464 printf "%s\n" "#define HAVE_SYS_STATFS_H 1" >>confdefs.h
8467 ac_fn_c_check_header_compile "$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "#include <sys/types.h>
8468 #ifdef HAVE_SYS_PARAM_H
8469 # include <sys/param.h>
8470 #endif
8472 if test "x$ac_cv_header_sys_user_h" = xyes
8473 then :
8474 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8477 ac_fn_c_check_header_compile "$LINENO" "sys/vfs.h" "ac_cv_header_sys_vfs_h" "#include <sys/types.h>
8478 #ifdef HAVE_SYS_PARAM_H
8479 # include <sys/param.h>
8480 #endif
8482 if test "x$ac_cv_header_sys_vfs_h" = xyes
8483 then :
8484 printf "%s\n" "#define HAVE_SYS_VFS_H 1" >>confdefs.h
8489 saved_sysctl_h_CFLAGS=$CFLAGS
8490 test "x${GCC}" != xyes || CFLAGS="$CFLAGS -Werror"
8491 ac_fn_c_check_header_compile "$LINENO" "sys/sysctl.h" "ac_cv_header_sys_sysctl_h" "#include <sys/types.h>
8492 #ifdef HAVE_SYS_PARAM_H
8493 # include <sys/param.h>
8494 #endif
8496 if test "x$ac_cv_header_sys_sysctl_h" = xyes
8497 then :
8498 printf "%s\n" "#define HAVE_SYS_SYSCTL_H 1" >>confdefs.h
8502 CFLAGS=$saved_sysctl_h_CFLAGS
8504 ac_fn_c_check_header_compile "$LINENO" "netinet/ip.h" "ac_cv_header_netinet_ip_h" "#include <sys/types.h>
8505 #include <sys/socket.h>
8506 #ifdef HAVE_SYS_SOCKETVAR_H
8507 # include <sys/socketvar.h>
8508 #endif
8509 #ifdef HAVE_NET_ROUTE_H
8510 # include <net/route.h>
8511 #endif
8512 #ifdef HAVE_NETINET_IN_H
8513 # include <netinet/in.h>
8514 #endif
8515 #ifdef HAVE_NETINET_IN_SYSTM_H
8516 # include <netinet/in_systm.h>
8517 #endif
8518 #ifdef HAVE_NET_IF_H
8519 # include <net/if.h>
8520 #endif
8521 #ifdef HAVE_NETINET_IP_H
8522 # include <netinet/ip.h>
8523 #endif
8525 if test "x$ac_cv_header_netinet_ip_h" = xyes
8526 then :
8527 printf "%s\n" "#define HAVE_NETINET_IP_H 1" >>confdefs.h
8530 ac_fn_c_check_header_compile "$LINENO" "net/if.h" "ac_cv_header_net_if_h" "#include <sys/types.h>
8531 #include <sys/socket.h>
8532 #ifdef HAVE_SYS_SOCKETVAR_H
8533 # include <sys/socketvar.h>
8534 #endif
8535 #ifdef HAVE_NET_ROUTE_H
8536 # include <net/route.h>
8537 #endif
8538 #ifdef HAVE_NETINET_IN_H
8539 # include <netinet/in.h>
8540 #endif
8541 #ifdef HAVE_NETINET_IN_SYSTM_H
8542 # include <netinet/in_systm.h>
8543 #endif
8544 #ifdef HAVE_NET_IF_H
8545 # include <net/if.h>
8546 #endif
8547 #ifdef HAVE_NETINET_IP_H
8548 # include <netinet/ip.h>
8549 #endif
8551 if test "x$ac_cv_header_net_if_h" = xyes
8552 then :
8553 printf "%s\n" "#define HAVE_NET_IF_H 1" >>confdefs.h
8556 ac_fn_c_check_header_compile "$LINENO" "net/if_arp.h" "ac_cv_header_net_if_arp_h" "#include <sys/types.h>
8557 #include <sys/socket.h>
8558 #ifdef HAVE_SYS_SOCKETVAR_H
8559 # include <sys/socketvar.h>
8560 #endif
8561 #ifdef HAVE_NET_ROUTE_H
8562 # include <net/route.h>
8563 #endif
8564 #ifdef HAVE_NETINET_IN_H
8565 # include <netinet/in.h>
8566 #endif
8567 #ifdef HAVE_NETINET_IN_SYSTM_H
8568 # include <netinet/in_systm.h>
8569 #endif
8570 #ifdef HAVE_NET_IF_H
8571 # include <net/if.h>
8572 #endif
8573 #ifdef HAVE_NETINET_IP_H
8574 # include <netinet/ip.h>
8575 #endif
8577 if test "x$ac_cv_header_net_if_arp_h" = xyes
8578 then :
8579 printf "%s\n" "#define HAVE_NET_IF_ARP_H 1" >>confdefs.h
8582 ac_fn_c_check_header_compile "$LINENO" "net/if_dl.h" "ac_cv_header_net_if_dl_h" "#include <sys/types.h>
8583 #include <sys/socket.h>
8584 #ifdef HAVE_SYS_SOCKETVAR_H
8585 # include <sys/socketvar.h>
8586 #endif
8587 #ifdef HAVE_NET_ROUTE_H
8588 # include <net/route.h>
8589 #endif
8590 #ifdef HAVE_NETINET_IN_H
8591 # include <netinet/in.h>
8592 #endif
8593 #ifdef HAVE_NETINET_IN_SYSTM_H
8594 # include <netinet/in_systm.h>
8595 #endif
8596 #ifdef HAVE_NET_IF_H
8597 # include <net/if.h>
8598 #endif
8599 #ifdef HAVE_NETINET_IP_H
8600 # include <netinet/ip.h>
8601 #endif
8603 if test "x$ac_cv_header_net_if_dl_h" = xyes
8604 then :
8605 printf "%s\n" "#define HAVE_NET_IF_DL_H 1" >>confdefs.h
8608 ac_fn_c_check_header_compile "$LINENO" "net/if_types.h" "ac_cv_header_net_if_types_h" "#include <sys/types.h>
8609 #include <sys/socket.h>
8610 #ifdef HAVE_SYS_SOCKETVAR_H
8611 # include <sys/socketvar.h>
8612 #endif
8613 #ifdef HAVE_NET_ROUTE_H
8614 # include <net/route.h>
8615 #endif
8616 #ifdef HAVE_NETINET_IN_H
8617 # include <netinet/in.h>
8618 #endif
8619 #ifdef HAVE_NETINET_IN_SYSTM_H
8620 # include <netinet/in_systm.h>
8621 #endif
8622 #ifdef HAVE_NET_IF_H
8623 # include <net/if.h>
8624 #endif
8625 #ifdef HAVE_NETINET_IP_H
8626 # include <netinet/ip.h>
8627 #endif
8629 if test "x$ac_cv_header_net_if_types_h" = xyes
8630 then :
8631 printf "%s\n" "#define HAVE_NET_IF_TYPES_H 1" >>confdefs.h
8634 ac_fn_c_check_header_compile "$LINENO" "net/route.h" "ac_cv_header_net_route_h" "#include <sys/types.h>
8635 #include <sys/socket.h>
8636 #ifdef HAVE_SYS_SOCKETVAR_H
8637 # include <sys/socketvar.h>
8638 #endif
8639 #ifdef HAVE_NET_ROUTE_H
8640 # include <net/route.h>
8641 #endif
8642 #ifdef HAVE_NETINET_IN_H
8643 # include <netinet/in.h>
8644 #endif
8645 #ifdef HAVE_NETINET_IN_SYSTM_H
8646 # include <netinet/in_systm.h>
8647 #endif
8648 #ifdef HAVE_NET_IF_H
8649 # include <net/if.h>
8650 #endif
8651 #ifdef HAVE_NETINET_IP_H
8652 # include <netinet/ip.h>
8653 #endif
8655 if test "x$ac_cv_header_net_route_h" = xyes
8656 then :
8657 printf "%s\n" "#define HAVE_NET_ROUTE_H 1" >>confdefs.h
8660 ac_fn_c_check_header_compile "$LINENO" "netinet/if_ether.h" "ac_cv_header_netinet_if_ether_h" "#include <sys/types.h>
8661 #include <sys/socket.h>
8662 #ifdef HAVE_SYS_SOCKETVAR_H
8663 # include <sys/socketvar.h>
8664 #endif
8665 #ifdef HAVE_NET_ROUTE_H
8666 # include <net/route.h>
8667 #endif
8668 #ifdef HAVE_NETINET_IN_H
8669 # include <netinet/in.h>
8670 #endif
8671 #ifdef HAVE_NETINET_IN_SYSTM_H
8672 # include <netinet/in_systm.h>
8673 #endif
8674 #ifdef HAVE_NET_IF_H
8675 # include <net/if.h>
8676 #endif
8677 #ifdef HAVE_NETINET_IP_H
8678 # include <netinet/ip.h>
8679 #endif
8681 if test "x$ac_cv_header_netinet_if_ether_h" = xyes
8682 then :
8683 printf "%s\n" "#define HAVE_NETINET_IF_ETHER_H 1" >>confdefs.h
8686 ac_fn_c_check_header_compile "$LINENO" "netinet/in_pcb.h" "ac_cv_header_netinet_in_pcb_h" "#include <sys/types.h>
8687 #include <sys/socket.h>
8688 #ifdef HAVE_SYS_SOCKETVAR_H
8689 # include <sys/socketvar.h>
8690 #endif
8691 #ifdef HAVE_NET_ROUTE_H
8692 # include <net/route.h>
8693 #endif
8694 #ifdef HAVE_NETINET_IN_H
8695 # include <netinet/in.h>
8696 #endif
8697 #ifdef HAVE_NETINET_IN_SYSTM_H
8698 # include <netinet/in_systm.h>
8699 #endif
8700 #ifdef HAVE_NET_IF_H
8701 # include <net/if.h>
8702 #endif
8703 #ifdef HAVE_NETINET_IP_H
8704 # include <netinet/ip.h>
8705 #endif
8707 if test "x$ac_cv_header_netinet_in_pcb_h" = xyes
8708 then :
8709 printf "%s\n" "#define HAVE_NETINET_IN_PCB_H 1" >>confdefs.h
8712 ac_fn_c_check_header_compile "$LINENO" "netinet/ip_icmp.h" "ac_cv_header_netinet_ip_icmp_h" "#include <sys/types.h>
8713 #include <sys/socket.h>
8714 #ifdef HAVE_SYS_SOCKETVAR_H
8715 # include <sys/socketvar.h>
8716 #endif
8717 #ifdef HAVE_NET_ROUTE_H
8718 # include <net/route.h>
8719 #endif
8720 #ifdef HAVE_NETINET_IN_H
8721 # include <netinet/in.h>
8722 #endif
8723 #ifdef HAVE_NETINET_IN_SYSTM_H
8724 # include <netinet/in_systm.h>
8725 #endif
8726 #ifdef HAVE_NET_IF_H
8727 # include <net/if.h>
8728 #endif
8729 #ifdef HAVE_NETINET_IP_H
8730 # include <netinet/ip.h>
8731 #endif
8733 if test "x$ac_cv_header_netinet_ip_icmp_h" = xyes
8734 then :
8735 printf "%s\n" "#define HAVE_NETINET_IP_ICMP_H 1" >>confdefs.h
8738 ac_fn_c_check_header_compile "$LINENO" "netinet/ip_var.h" "ac_cv_header_netinet_ip_var_h" "#include <sys/types.h>
8739 #include <sys/socket.h>
8740 #ifdef HAVE_SYS_SOCKETVAR_H
8741 # include <sys/socketvar.h>
8742 #endif
8743 #ifdef HAVE_NET_ROUTE_H
8744 # include <net/route.h>
8745 #endif
8746 #ifdef HAVE_NETINET_IN_H
8747 # include <netinet/in.h>
8748 #endif
8749 #ifdef HAVE_NETINET_IN_SYSTM_H
8750 # include <netinet/in_systm.h>
8751 #endif
8752 #ifdef HAVE_NET_IF_H
8753 # include <net/if.h>
8754 #endif
8755 #ifdef HAVE_NETINET_IP_H
8756 # include <netinet/ip.h>
8757 #endif
8759 if test "x$ac_cv_header_netinet_ip_var_h" = xyes
8760 then :
8761 printf "%s\n" "#define HAVE_NETINET_IP_VAR_H 1" >>confdefs.h
8764 ac_fn_c_check_header_compile "$LINENO" "netinet/udp.h" "ac_cv_header_netinet_udp_h" "#include <sys/types.h>
8765 #include <sys/socket.h>
8766 #ifdef HAVE_SYS_SOCKETVAR_H
8767 # include <sys/socketvar.h>
8768 #endif
8769 #ifdef HAVE_NET_ROUTE_H
8770 # include <net/route.h>
8771 #endif
8772 #ifdef HAVE_NETINET_IN_H
8773 # include <netinet/in.h>
8774 #endif
8775 #ifdef HAVE_NETINET_IN_SYSTM_H
8776 # include <netinet/in_systm.h>
8777 #endif
8778 #ifdef HAVE_NET_IF_H
8779 # include <net/if.h>
8780 #endif
8781 #ifdef HAVE_NETINET_IP_H
8782 # include <netinet/ip.h>
8783 #endif
8785 if test "x$ac_cv_header_netinet_udp_h" = xyes
8786 then :
8787 printf "%s\n" "#define HAVE_NETINET_UDP_H 1" >>confdefs.h
8790 ac_fn_c_check_header_compile "$LINENO" "netinet6/ip6_var.h" "ac_cv_header_netinet6_ip6_var_h" "#include <sys/types.h>
8791 #include <sys/socket.h>
8792 #ifdef HAVE_SYS_SOCKETVAR_H
8793 # include <sys/socketvar.h>
8794 #endif
8795 #ifdef HAVE_NET_ROUTE_H
8796 # include <net/route.h>
8797 #endif
8798 #ifdef HAVE_NETINET_IN_H
8799 # include <netinet/in.h>
8800 #endif
8801 #ifdef HAVE_NETINET_IN_SYSTM_H
8802 # include <netinet/in_systm.h>
8803 #endif
8804 #ifdef HAVE_NET_IF_H
8805 # include <net/if.h>
8806 #endif
8807 #ifdef HAVE_NETINET_IP_H
8808 # include <netinet/ip.h>
8809 #endif
8811 if test "x$ac_cv_header_netinet6_ip6_var_h" = xyes
8812 then :
8813 printf "%s\n" "#define HAVE_NETINET6_IP6_VAR_H 1" >>confdefs.h
8816 ac_fn_c_check_header_compile "$LINENO" "netipx/ipx.h" "ac_cv_header_netipx_ipx_h" "#include <sys/types.h>
8817 #include <sys/socket.h>
8818 #ifdef HAVE_SYS_SOCKETVAR_H
8819 # include <sys/socketvar.h>
8820 #endif
8821 #ifdef HAVE_NET_ROUTE_H
8822 # include <net/route.h>
8823 #endif
8824 #ifdef HAVE_NETINET_IN_H
8825 # include <netinet/in.h>
8826 #endif
8827 #ifdef HAVE_NETINET_IN_SYSTM_H
8828 # include <netinet/in_systm.h>
8829 #endif
8830 #ifdef HAVE_NET_IF_H
8831 # include <net/if.h>
8832 #endif
8833 #ifdef HAVE_NETINET_IP_H
8834 # include <netinet/ip.h>
8835 #endif
8837 if test "x$ac_cv_header_netipx_ipx_h" = xyes
8838 then :
8839 printf "%s\n" "#define HAVE_NETIPX_IPX_H 1" >>confdefs.h
8842 ac_fn_c_check_header_compile "$LINENO" "sys/un.h" "ac_cv_header_sys_un_h" "#include <sys/types.h>
8843 #include <sys/socket.h>
8844 #ifdef HAVE_SYS_SOCKETVAR_H
8845 # include <sys/socketvar.h>
8846 #endif
8847 #ifdef HAVE_NET_ROUTE_H
8848 # include <net/route.h>
8849 #endif
8850 #ifdef HAVE_NETINET_IN_H
8851 # include <netinet/in.h>
8852 #endif
8853 #ifdef HAVE_NETINET_IN_SYSTM_H
8854 # include <netinet/in_systm.h>
8855 #endif
8856 #ifdef HAVE_NET_IF_H
8857 # include <net/if.h>
8858 #endif
8859 #ifdef HAVE_NETINET_IP_H
8860 # include <netinet/ip.h>
8861 #endif
8863 if test "x$ac_cv_header_sys_un_h" = xyes
8864 then :
8865 printf "%s\n" "#define HAVE_SYS_UN_H 1" >>confdefs.h
8870 ac_fn_c_check_header_compile "$LINENO" "netinet/udp_var.h" "ac_cv_header_netinet_udp_var_h" "#include <sys/types.h>
8871 #include <sys/socket.h>
8872 #ifdef HAVE_SYS_SOCKETVAR_H
8873 # include <sys/socketvar.h>
8874 #endif
8875 #ifdef HAVE_NETINET_IN_H
8876 # include <netinet/in.h>
8877 #endif
8878 #ifdef HAVE_NETINET_IN_SYSTM_H
8879 # include <netinet/in_systm.h>
8880 #endif
8881 #ifdef HAVE_NETINET_IP_H
8882 # include <netinet/ip.h>
8883 #endif
8884 #ifdef HAVE_NETINET_IP_VAR_H
8885 # include <netinet/ip_var.h>
8886 #endif
8887 #ifdef HAVE_NETINET_IP_ICMP_H
8888 # include <netinet/ip_icmp.h>
8889 #endif
8890 #ifdef HAVE_NETINET_UDP_H
8891 # include <netinet/udp.h>
8892 #endif
8893 #ifdef HAVE_NETINET_TCP_H
8894 # include <netinet/tcp.h>
8895 #endif
8897 if test "x$ac_cv_header_netinet_udp_var_h" = xyes
8898 then :
8899 printf "%s\n" "#define HAVE_NETINET_UDP_VAR_H 1" >>confdefs.h
8902 ac_fn_c_check_header_compile "$LINENO" "netinet/icmp_var.h" "ac_cv_header_netinet_icmp_var_h" "#include <sys/types.h>
8903 #include <sys/socket.h>
8904 #ifdef HAVE_SYS_SOCKETVAR_H
8905 # include <sys/socketvar.h>
8906 #endif
8907 #ifdef HAVE_NETINET_IN_H
8908 # include <netinet/in.h>
8909 #endif
8910 #ifdef HAVE_NETINET_IN_SYSTM_H
8911 # include <netinet/in_systm.h>
8912 #endif
8913 #ifdef HAVE_NETINET_IP_H
8914 # include <netinet/ip.h>
8915 #endif
8916 #ifdef HAVE_NETINET_IP_VAR_H
8917 # include <netinet/ip_var.h>
8918 #endif
8919 #ifdef HAVE_NETINET_IP_ICMP_H
8920 # include <netinet/ip_icmp.h>
8921 #endif
8922 #ifdef HAVE_NETINET_UDP_H
8923 # include <netinet/udp.h>
8924 #endif
8925 #ifdef HAVE_NETINET_TCP_H
8926 # include <netinet/tcp.h>
8927 #endif
8929 if test "x$ac_cv_header_netinet_icmp_var_h" = xyes
8930 then :
8931 printf "%s\n" "#define HAVE_NETINET_ICMP_VAR_H 1" >>confdefs.h
8934 ac_fn_c_check_header_compile "$LINENO" "netinet/icmp6.h" "ac_cv_header_netinet_icmp6_h" "#include <sys/types.h>
8935 #include <sys/socket.h>
8936 #ifdef HAVE_SYS_SOCKETVAR_H
8937 # include <sys/socketvar.h>
8938 #endif
8939 #ifdef HAVE_NETINET_IN_H
8940 # include <netinet/in.h>
8941 #endif
8942 #ifdef HAVE_NETINET_IN_SYSTM_H
8943 # include <netinet/in_systm.h>
8944 #endif
8945 #ifdef HAVE_NETINET_IP_H
8946 # include <netinet/ip.h>
8947 #endif
8948 #ifdef HAVE_NETINET_IP_VAR_H
8949 # include <netinet/ip_var.h>
8950 #endif
8951 #ifdef HAVE_NETINET_IP_ICMP_H
8952 # include <netinet/ip_icmp.h>
8953 #endif
8954 #ifdef HAVE_NETINET_UDP_H
8955 # include <netinet/udp.h>
8956 #endif
8957 #ifdef HAVE_NETINET_TCP_H
8958 # include <netinet/tcp.h>
8959 #endif
8961 if test "x$ac_cv_header_netinet_icmp6_h" = xyes
8962 then :
8963 printf "%s\n" "#define HAVE_NETINET_ICMP6_H 1" >>confdefs.h
8966 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp_var.h" "ac_cv_header_netinet_tcp_var_h" "#include <sys/types.h>
8967 #include <sys/socket.h>
8968 #ifdef HAVE_SYS_SOCKETVAR_H
8969 # include <sys/socketvar.h>
8970 #endif
8971 #ifdef HAVE_NETINET_IN_H
8972 # include <netinet/in.h>
8973 #endif
8974 #ifdef HAVE_NETINET_IN_SYSTM_H
8975 # include <netinet/in_systm.h>
8976 #endif
8977 #ifdef HAVE_NETINET_IP_H
8978 # include <netinet/ip.h>
8979 #endif
8980 #ifdef HAVE_NETINET_IP_VAR_H
8981 # include <netinet/ip_var.h>
8982 #endif
8983 #ifdef HAVE_NETINET_IP_ICMP_H
8984 # include <netinet/ip_icmp.h>
8985 #endif
8986 #ifdef HAVE_NETINET_UDP_H
8987 # include <netinet/udp.h>
8988 #endif
8989 #ifdef HAVE_NETINET_TCP_H
8990 # include <netinet/tcp.h>
8991 #endif
8993 if test "x$ac_cv_header_netinet_tcp_var_h" = xyes
8994 then :
8995 printf "%s\n" "#define HAVE_NETINET_TCP_VAR_H 1" >>confdefs.h
9000 ac_fn_c_check_header_compile "$LINENO" "linux/ipx.h" "ac_cv_header_linux_ipx_h" "#include <sys/types.h>
9001 #include <sys/socket.h>
9002 #ifdef HAVE_ASM_TYPES_H
9003 # include <asm/types.h>
9004 #endif
9005 #ifdef HAVE_LINUX_TYPES_H
9006 # include <linux/types.h>
9007 #endif
9009 if test "x$ac_cv_header_linux_ipx_h" = xyes
9010 then :
9011 printf "%s\n" "#define HAVE_LINUX_IPX_H 1" >>confdefs.h
9014 ac_fn_c_check_header_compile "$LINENO" "linux/irda.h" "ac_cv_header_linux_irda_h" "#include <sys/types.h>
9015 #include <sys/socket.h>
9016 #ifdef HAVE_ASM_TYPES_H
9017 # include <asm/types.h>
9018 #endif
9019 #ifdef HAVE_LINUX_TYPES_H
9020 # include <linux/types.h>
9021 #endif
9023 if test "x$ac_cv_header_linux_irda_h" = xyes
9024 then :
9025 printf "%s\n" "#define HAVE_LINUX_IRDA_H 1" >>confdefs.h
9028 ac_fn_c_check_header_compile "$LINENO" "linux/rtnetlink.h" "ac_cv_header_linux_rtnetlink_h" "#include <sys/types.h>
9029 #include <sys/socket.h>
9030 #ifdef HAVE_ASM_TYPES_H
9031 # include <asm/types.h>
9032 #endif
9033 #ifdef HAVE_LINUX_TYPES_H
9034 # include <linux/types.h>
9035 #endif
9037 if test "x$ac_cv_header_linux_rtnetlink_h" = xyes
9038 then :
9039 printf "%s\n" "#define HAVE_LINUX_RTNETLINK_H 1" >>confdefs.h
9044 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
9045 #include <sys/socket.h>
9046 #ifdef HAVE_NETINET_IN_H
9047 # include <netinet/in.h>
9048 #endif
9049 #ifdef HAVE_ARPA_NAMESER_H
9050 # include <arpa/nameser.h>
9051 #endif
9053 if test "x$ac_cv_header_resolv_h" = xyes
9054 then :
9055 printf "%s\n" "#define HAVE_RESOLV_H 1" >>confdefs.h
9060 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
9062 if test "x$ac_cv_header_ifaddrs_h" = xyes
9063 then :
9064 printf "%s\n" "#define HAVE_IFADDRS_H 1" >>confdefs.h
9069 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
9071 if test "x$ac_cv_header_sys_ucontext_h" = xyes
9072 then :
9073 printf "%s\n" "#define HAVE_SYS_UCONTEXT_H 1" >>confdefs.h
9078 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
9079 #ifdef HAVE_SYS_UCONTEXT_H
9080 #include <sys/ucontext.h>
9081 #endif
9083 if test "x$ac_cv_header_sys_thr_h" = xyes
9084 then :
9085 printf "%s\n" "#define HAVE_SYS_THR_H 1" >>confdefs.h
9090 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#include <pthread.h>
9092 if test "x$ac_cv_header_pthread_np_h" = xyes
9093 then :
9094 printf "%s\n" "#define HAVE_PTHREAD_NP_H 1" >>confdefs.h
9099 ac_fn_c_check_header_compile "$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "#include <sys/time.h>
9100 #include <sys/types.h>
9101 #ifdef HAVE_ASM_TYPES_H
9102 #include <asm/types.h>
9103 #endif
9105 if test "x$ac_cv_header_linux_videodev2_h" = xyes
9106 then :
9107 printf "%s\n" "#define HAVE_LINUX_VIDEODEV2_H 1" >>confdefs.h
9112 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
9113 #include <sys/param.h>
9114 #endif
9115 #include <sys/socket.h>
9116 #ifdef HAVE_SYS_QUEUE_H
9117 #include <sys/queue.h>
9118 #endif
9120 if test "x$ac_cv_header_libprocstat_h" = xyes
9121 then :
9122 printf "%s\n" "#define HAVE_LIBPROCSTAT_H 1" >>confdefs.h
9127 if test "x$ac_cv_header_sys_xattr_h" = xyes
9128 then
9129 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether getxattr takes additional arguments" >&5
9130 printf %s "checking whether getxattr takes additional arguments... " >&6; }
9131 if test ${wine_cv_xattr_extra_args+y}
9132 then :
9133 printf %s "(cached) " >&6
9134 else $as_nop
9135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9136 /* end confdefs.h. */
9137 #include <sys/xattr.h>
9139 main (void)
9141 getxattr("", "", "", 0, 0, 0);
9143 return 0;
9145 _ACEOF
9146 if ac_fn_c_try_compile "$LINENO"
9147 then :
9148 wine_cv_xattr_extra_args=yes
9149 else $as_nop
9150 wine_cv_xattr_extra_args=no
9152 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9154 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_xattr_extra_args" >&5
9155 printf "%s\n" "$wine_cv_xattr_extra_args" >&6; }
9156 test $wine_cv_xattr_extra_args != yes ||
9157 printf "%s\n" "#define XATTR_ADDITIONAL_OPTIONS 1" >>confdefs.h
9162 DLLFLAGS=""
9164 LDDLLFLAGS=""
9166 LDEXECFLAGS=""
9168 EXTRACFLAGS=""
9170 UNIXDLLFLAGS="-fPIC"
9172 UNIXLDFLAGS="-shared -Wl,-Bsymbolic -Wl,-soname,\$(UNIXLIB)"
9174 TOP_INSTALL_LIB=""
9176 TOP_INSTALL_DEV=""
9178 WINELOADER_LDFLAGS=""
9180 WINEPRELOADER_LDFLAGS=""
9182 DLLEXT=".so"
9184 LIBEXT="so"
9185 # Extract the first word of "ldd", so it can be a program name with args.
9186 set dummy ldd; ac_word=$2
9187 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9188 printf %s "checking for $ac_word... " >&6; }
9189 if test ${ac_cv_path_LDD+y}
9190 then :
9191 printf %s "(cached) " >&6
9192 else $as_nop
9193 case $LDD in
9194 [\\/]* | ?:[\\/]*)
9195 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
9198 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9199 as_dummy="/sbin:/usr/sbin:$PATH"
9200 for as_dir in $as_dummy
9202 IFS=$as_save_IFS
9203 case $as_dir in #(((
9204 '') as_dir=./ ;;
9205 */) ;;
9206 *) as_dir=$as_dir/ ;;
9207 esac
9208 for ac_exec_ext in '' $ac_executable_extensions; do
9209 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9210 ac_cv_path_LDD="$as_dir$ac_word$ac_exec_ext"
9211 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9212 break 2
9214 done
9215 done
9216 IFS=$as_save_IFS
9218 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
9220 esac
9222 LDD=$ac_cv_path_LDD
9223 if test -n "$LDD"; then
9224 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
9225 printf "%s\n" "$LDD" >&6; }
9226 else
9227 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9228 printf "%s\n" "no" >&6; }
9232 if test -n "$ac_tool_prefix"; then
9233 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
9234 set dummy ${ac_tool_prefix}otool; ac_word=$2
9235 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9236 printf %s "checking for $ac_word... " >&6; }
9237 if test ${ac_cv_prog_OTOOL+y}
9238 then :
9239 printf %s "(cached) " >&6
9240 else $as_nop
9241 if test -n "$OTOOL"; then
9242 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
9243 else
9244 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9245 for as_dir in $PATH
9247 IFS=$as_save_IFS
9248 case $as_dir in #(((
9249 '') as_dir=./ ;;
9250 */) ;;
9251 *) as_dir=$as_dir/ ;;
9252 esac
9253 for ac_exec_ext in '' $ac_executable_extensions; do
9254 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9255 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
9256 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9257 break 2
9259 done
9260 done
9261 IFS=$as_save_IFS
9265 OTOOL=$ac_cv_prog_OTOOL
9266 if test -n "$OTOOL"; then
9267 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
9268 printf "%s\n" "$OTOOL" >&6; }
9269 else
9270 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9271 printf "%s\n" "no" >&6; }
9276 if test -z "$ac_cv_prog_OTOOL"; then
9277 ac_ct_OTOOL=$OTOOL
9278 # Extract the first word of "otool", so it can be a program name with args.
9279 set dummy otool; ac_word=$2
9280 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9281 printf %s "checking for $ac_word... " >&6; }
9282 if test ${ac_cv_prog_ac_ct_OTOOL+y}
9283 then :
9284 printf %s "(cached) " >&6
9285 else $as_nop
9286 if test -n "$ac_ct_OTOOL"; then
9287 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
9288 else
9289 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9290 for as_dir in $PATH
9292 IFS=$as_save_IFS
9293 case $as_dir in #(((
9294 '') as_dir=./ ;;
9295 */) ;;
9296 *) as_dir=$as_dir/ ;;
9297 esac
9298 for ac_exec_ext in '' $ac_executable_extensions; do
9299 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9300 ac_cv_prog_ac_ct_OTOOL="otool"
9301 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9302 break 2
9304 done
9305 done
9306 IFS=$as_save_IFS
9310 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
9311 if test -n "$ac_ct_OTOOL"; then
9312 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
9313 printf "%s\n" "$ac_ct_OTOOL" >&6; }
9314 else
9315 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9316 printf "%s\n" "no" >&6; }
9319 if test "x$ac_ct_OTOOL" = x; then
9320 OTOOL="otool"
9321 else
9322 case $cross_compiling:$ac_tool_warned in
9323 yes:)
9324 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9325 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9326 ac_tool_warned=yes ;;
9327 esac
9328 OTOOL=$ac_ct_OTOOL
9330 else
9331 OTOOL="$ac_cv_prog_OTOOL"
9334 if test -n "$ac_tool_prefix"; then
9335 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
9336 set dummy ${ac_tool_prefix}readelf; ac_word=$2
9337 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9338 printf %s "checking for $ac_word... " >&6; }
9339 if test ${ac_cv_prog_READELF+y}
9340 then :
9341 printf %s "(cached) " >&6
9342 else $as_nop
9343 if test -n "$READELF"; then
9344 ac_cv_prog_READELF="$READELF" # Let the user override the test.
9345 else
9346 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9347 for as_dir in $PATH
9349 IFS=$as_save_IFS
9350 case $as_dir in #(((
9351 '') as_dir=./ ;;
9352 */) ;;
9353 *) as_dir=$as_dir/ ;;
9354 esac
9355 for ac_exec_ext in '' $ac_executable_extensions; do
9356 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9357 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
9358 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9359 break 2
9361 done
9362 done
9363 IFS=$as_save_IFS
9367 READELF=$ac_cv_prog_READELF
9368 if test -n "$READELF"; then
9369 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
9370 printf "%s\n" "$READELF" >&6; }
9371 else
9372 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9373 printf "%s\n" "no" >&6; }
9378 if test -z "$ac_cv_prog_READELF"; then
9379 ac_ct_READELF=$READELF
9380 # Extract the first word of "readelf", so it can be a program name with args.
9381 set dummy readelf; ac_word=$2
9382 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9383 printf %s "checking for $ac_word... " >&6; }
9384 if test ${ac_cv_prog_ac_ct_READELF+y}
9385 then :
9386 printf %s "(cached) " >&6
9387 else $as_nop
9388 if test -n "$ac_ct_READELF"; then
9389 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
9390 else
9391 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9392 for as_dir in $PATH
9394 IFS=$as_save_IFS
9395 case $as_dir in #(((
9396 '') as_dir=./ ;;
9397 */) ;;
9398 *) as_dir=$as_dir/ ;;
9399 esac
9400 for ac_exec_ext in '' $ac_executable_extensions; do
9401 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9402 ac_cv_prog_ac_ct_READELF="readelf"
9403 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9404 break 2
9406 done
9407 done
9408 IFS=$as_save_IFS
9412 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
9413 if test -n "$ac_ct_READELF"; then
9414 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
9415 printf "%s\n" "$ac_ct_READELF" >&6; }
9416 else
9417 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9418 printf "%s\n" "no" >&6; }
9421 if test "x$ac_ct_READELF" = x; then
9422 READELF="true"
9423 else
9424 case $cross_compiling:$ac_tool_warned in
9425 yes:)
9426 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9427 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9428 ac_tool_warned=yes ;;
9429 esac
9430 READELF=$ac_ct_READELF
9432 else
9433 READELF="$ac_cv_prog_READELF"
9436 wine_rules="all:"
9437 SUBDIRS=""
9439 DISABLED_SUBDIRS=""
9441 CONFIGURE_TARGETS=""
9444 wine_fn_config_makefile ()
9446 as_fn_append SUBDIRS " \\$as_nl $1"
9447 eval enable=\$$2
9448 case "$enable" in
9449 no) as_fn_append DISABLED_SUBDIRS " $1" ;;
9450 yes) ;;
9451 *aarch64*|*arm*|*i386*|*x86_64*)
9452 if test -n "$PE_ARCHS"
9453 then
9454 for i in $PE_ARCHS
9456 test $(expr ",$enable," : ".*,$i,") -gt 0 || as_fn_append ${i}_DISABLED_SUBDIRS " $1"
9457 done
9458 else
9459 test $(expr ",$enable," : ".*,$HOST_ARCH,") -gt 0 || as_fn_append DISABLED_SUBDIRS " $1"
9460 fi ;;
9462 case "$1, $PE_ARCHS " in
9463 programs/*,*\ arm64ec\ *) as_fn_append arm64ec_DISABLED_SUBDIRS " $1" ;;
9464 esac ;;
9465 esac
9468 wine_fn_config_symlink ()
9470 ac_links=$@
9471 as_fn_append wine_rules "
9472 $ac_links:
9473 @./config.status \$@"
9474 for f in $ac_links; do as_fn_append CONFIGURE_TARGETS " $f"; done
9477 case $host_os in
9478 cygwin*|mingw32*)
9479 LIBEXT="dll"
9480 DLLEXT=""
9481 EXTRACFLAGS="-D__WINE_PE_BUILD"
9482 if test "x$HOST_ARCH" = xi386
9483 then :
9484 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--disable-stdcall-fixup" >&5
9485 printf %s "checking whether the compiler supports -Wl,--disable-stdcall-fixup... " >&6; }
9486 if test ${ac_cv_cflags__Wl___disable_stdcall_fixup+y}
9487 then :
9488 printf %s "(cached) " >&6
9489 else $as_nop
9490 ac_wine_try_cflags_saved=$CFLAGS
9491 CFLAGS="$CFLAGS -Wl,--disable-stdcall-fixup"
9492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9493 /* end confdefs.h. */
9494 int main(int argc, char **argv) { return 0; }
9495 _ACEOF
9496 if ac_fn_c_try_link "$LINENO"
9497 then :
9498 ac_cv_cflags__Wl___disable_stdcall_fixup=yes
9499 else $as_nop
9500 ac_cv_cflags__Wl___disable_stdcall_fixup=no
9502 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9503 conftest$ac_exeext conftest.$ac_ext
9504 CFLAGS=$ac_wine_try_cflags_saved
9506 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___disable_stdcall_fixup" >&5
9507 printf "%s\n" "$ac_cv_cflags__Wl___disable_stdcall_fixup" >&6; }
9508 if test "x$ac_cv_cflags__Wl___disable_stdcall_fixup" = xyes
9509 then :
9510 LDDLLFLAGS="-Wl,--disable-stdcall-fixup"
9513 enable_loader=${enable_loader:-no}
9514 enable_server=${enable_server:-no}
9515 with_x=${with_x:-no}
9516 with_pthread=${with_pthread:-no}
9519 darwin*|macosx*)
9520 LIBEXT="dylib"
9521 DLLFLAGS="$DLLFLAGS -fPIC"
9522 LDDLLFLAGS="-fPIC"
9523 enable_winemac_drv=${enable_winemac_drv:-yes}
9524 CARBON_LIBS="-framework Carbon"
9526 COREFOUNDATION_LIBS="-framework CoreFoundation"
9528 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
9530 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
9532 METAL_LIBS="-framework Metal"
9534 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
9536 CORESERVICES_LIBS="-framework CoreServices"
9538 APPKIT_LIBS="-framework AppKit"
9540 SECURITY_LIBS="-framework Security -framework CoreFoundation"
9542 SYSTEMCONFIGURATION_LIBS="-framework SystemConfiguration"
9545 WINELOADER_LDFLAGS="-Wl,-pie,-segalign,0x1000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist"
9547 case $HOST_ARCH in
9548 i386|x86_64) wine_can_build_preloader=yes ;;
9549 *) wine_can_build_preloader=no ;;
9550 esac
9552 if test "$wine_can_build_preloader" = "yes"
9553 then
9554 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"
9555 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
9556 printf %s "checking whether the compiler supports -Wl,-no_pie... " >&6; }
9557 if test ${ac_cv_cflags__Wl__no_pie+y}
9558 then :
9559 printf %s "(cached) " >&6
9560 else $as_nop
9561 ac_wine_try_cflags_saved=$CFLAGS
9562 CFLAGS="$CFLAGS -Wl,-no_pie"
9563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9564 /* end confdefs.h. */
9565 int main(int argc, char **argv) { return 0; }
9566 _ACEOF
9567 if ac_fn_c_try_link "$LINENO"
9568 then :
9569 ac_cv_cflags__Wl__no_pie=yes
9570 else $as_nop
9571 ac_cv_cflags__Wl__no_pie=no
9573 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9574 conftest$ac_exeext conftest.$ac_ext
9575 CFLAGS=$ac_wine_try_cflags_saved
9577 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
9578 printf "%s\n" "$ac_cv_cflags__Wl__no_pie" >&6; }
9579 if test "x$ac_cv_cflags__Wl__no_pie" = xyes
9580 then :
9581 WINEPRELOADER_LDFLAGS="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
9583 case $HOST_ARCH in
9584 i386)
9585 WINEPRELOADER_LDFLAGS="-Wl,-image_base,0x7d400000 $WINEPRELOADER_LDFLAGS"
9587 x86_64)
9588 WINEPRELOADER_LDFLAGS="-Wl,-image_base,0x200000000,-segalign,0x1000,-segaddr,WINE_RESERVE,0x1000 $WINEPRELOADER_LDFLAGS"
9590 esac
9591 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -mmacosx-version-min=10.7"
9592 else
9593 as_fn_append wine_warnings "|can't build Wine preloader; many programs won't work"
9596 if test "x$with_coreaudio" != "xno";
9597 then
9598 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
9600 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
9602 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
9603 then
9604 OPENCL_LIBS="-framework OpenCL"
9606 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
9609 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether MTLDevice protocol supports registryID property" >&5
9610 printf %s "checking whether MTLDevice protocol supports registryID property... " >&6; }
9611 ac_ext=m
9612 ac_cpp='$OBJCPP $CPPFLAGS'
9613 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9614 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9615 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9617 ac_ext=m
9618 ac_cpp='$OBJCPP $CPPFLAGS'
9619 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9620 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9621 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9622 if test -n "$ac_tool_prefix"; then
9623 for ac_prog in gcc objcc objc cc CC clang
9625 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
9626 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
9627 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9628 printf %s "checking for $ac_word... " >&6; }
9629 if test ${ac_cv_prog_OBJC+y}
9630 then :
9631 printf %s "(cached) " >&6
9632 else $as_nop
9633 if test -n "$OBJC"; then
9634 ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
9635 else
9636 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9637 for as_dir in $PATH
9639 IFS=$as_save_IFS
9640 case $as_dir in #(((
9641 '') as_dir=./ ;;
9642 */) ;;
9643 *) as_dir=$as_dir/ ;;
9644 esac
9645 for ac_exec_ext in '' $ac_executable_extensions; do
9646 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9647 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
9648 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9649 break 2
9651 done
9652 done
9653 IFS=$as_save_IFS
9657 OBJC=$ac_cv_prog_OBJC
9658 if test -n "$OBJC"; then
9659 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
9660 printf "%s\n" "$OBJC" >&6; }
9661 else
9662 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9663 printf "%s\n" "no" >&6; }
9667 test -n "$OBJC" && break
9668 done
9670 if test -z "$OBJC"; then
9671 ac_ct_OBJC=$OBJC
9672 for ac_prog in gcc objcc objc cc CC clang
9674 # Extract the first word of "$ac_prog", so it can be a program name with args.
9675 set dummy $ac_prog; ac_word=$2
9676 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9677 printf %s "checking for $ac_word... " >&6; }
9678 if test ${ac_cv_prog_ac_ct_OBJC+y}
9679 then :
9680 printf %s "(cached) " >&6
9681 else $as_nop
9682 if test -n "$ac_ct_OBJC"; then
9683 ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
9684 else
9685 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9686 for as_dir in $PATH
9688 IFS=$as_save_IFS
9689 case $as_dir in #(((
9690 '') as_dir=./ ;;
9691 */) ;;
9692 *) as_dir=$as_dir/ ;;
9693 esac
9694 for ac_exec_ext in '' $ac_executable_extensions; do
9695 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9696 ac_cv_prog_ac_ct_OBJC="$ac_prog"
9697 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9698 break 2
9700 done
9701 done
9702 IFS=$as_save_IFS
9706 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
9707 if test -n "$ac_ct_OBJC"; then
9708 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
9709 printf "%s\n" "$ac_ct_OBJC" >&6; }
9710 else
9711 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9712 printf "%s\n" "no" >&6; }
9716 test -n "$ac_ct_OBJC" && break
9717 done
9719 if test "x$ac_ct_OBJC" = x; then
9720 OBJC="gcc"
9721 else
9722 case $cross_compiling:$ac_tool_warned in
9723 yes:)
9724 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9725 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9726 ac_tool_warned=yes ;;
9727 esac
9728 OBJC=$ac_ct_OBJC
9732 # Provide some information about the compiler.
9733 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
9734 set X $ac_compile
9735 ac_compiler=$2
9736 for ac_option in --version -v -V -qversion; do
9737 { { ac_try="$ac_compiler $ac_option >&5"
9738 case "(($ac_try" in
9739 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9740 *) ac_try_echo=$ac_try;;
9741 esac
9742 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
9743 printf "%s\n" "$ac_try_echo"; } >&5
9744 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
9745 ac_status=$?
9746 if test -s conftest.err; then
9747 sed '10a\
9748 ... rest of stderr output deleted ...
9749 10q' conftest.err >conftest.er1
9750 cat conftest.er1 >&5
9752 rm -f conftest.er1 conftest.err
9753 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9754 test $ac_status = 0; }
9755 done
9757 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU Objective C" >&5
9758 printf %s "checking whether the compiler supports GNU Objective C... " >&6; }
9759 if test ${ac_cv_objc_compiler_gnu+y}
9760 then :
9761 printf %s "(cached) " >&6
9762 else $as_nop
9763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9764 /* end confdefs.h. */
9767 main (void)
9769 #ifndef __GNUC__
9770 choke me
9771 #endif
9774 return 0;
9776 _ACEOF
9777 if ac_fn_objc_try_compile "$LINENO"
9778 then :
9779 ac_compiler_gnu=yes
9780 else $as_nop
9781 ac_compiler_gnu=no
9783 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9784 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
9787 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
9788 printf "%s\n" "$ac_cv_objc_compiler_gnu" >&6; }
9789 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9791 if test $ac_compiler_gnu = yes; then
9792 GOBJC=yes
9793 else
9794 GOBJC=
9796 ac_test_OBJCFLAGS=${OBJCFLAGS+y}
9797 ac_save_OBJCFLAGS=$OBJCFLAGS
9798 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
9799 printf %s "checking whether $OBJC accepts -g... " >&6; }
9800 if test ${ac_cv_prog_objc_g+y}
9801 then :
9802 printf %s "(cached) " >&6
9803 else $as_nop
9804 ac_save_objc_werror_flag=$ac_objc_werror_flag
9805 ac_objc_werror_flag=yes
9806 ac_cv_prog_objc_g=no
9807 OBJCFLAGS="-g"
9808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9809 /* end confdefs.h. */
9812 main (void)
9816 return 0;
9818 _ACEOF
9819 if ac_fn_objc_try_compile "$LINENO"
9820 then :
9821 ac_cv_prog_objc_g=yes
9822 else $as_nop
9823 OBJCFLAGS=""
9824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9825 /* end confdefs.h. */
9828 main (void)
9832 return 0;
9834 _ACEOF
9835 if ac_fn_objc_try_compile "$LINENO"
9836 then :
9838 else $as_nop
9839 ac_objc_werror_flag=$ac_save_objc_werror_flag
9840 OBJCFLAGS="-g"
9841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9842 /* end confdefs.h. */
9845 main (void)
9849 return 0;
9851 _ACEOF
9852 if ac_fn_objc_try_compile "$LINENO"
9853 then :
9854 ac_cv_prog_objc_g=yes
9856 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9858 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9860 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9861 ac_objc_werror_flag=$ac_save_objc_werror_flag
9863 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
9864 printf "%s\n" "$ac_cv_prog_objc_g" >&6; }
9865 if test $ac_test_OBJCFLAGS; then
9866 OBJCFLAGS=$ac_save_OBJCFLAGS
9867 elif test $ac_cv_prog_objc_g = yes; then
9868 if test "$GOBJC" = yes; then
9869 OBJCFLAGS="-g -O2"
9870 else
9871 OBJCFLAGS="-g"
9873 else
9874 if test "$GOBJC" = yes; then
9875 OBJCFLAGS="-O2"
9876 else
9877 OBJCFLAGS=
9880 ac_ext=m
9881 ac_cpp='$OBJCPP $CPPFLAGS'
9882 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9883 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9884 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9888 /* end confdefs.h. */
9889 #include <Metal/Metal.h>
9891 main (void)
9893 id<MTLDevice> device; device.registryID;
9895 return 0;
9897 _ACEOF
9898 if ac_fn_objc_try_compile "$LINENO"
9899 then :
9900 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9901 printf "%s\n" "yes" >&6; }
9903 printf "%s\n" "#define HAVE_MTLDEVICE_REGISTRYID 1" >>confdefs.h
9905 else $as_nop
9906 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9907 printf "%s\n" "no" >&6; }
9909 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9910 ac_ext=c
9911 ac_cpp='$CPP $CPPFLAGS'
9912 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9913 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9914 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9917 UNIXLDFLAGS="-dynamiclib -install_name @rpath/\$(UNIXLIB) -Wl,-rpath,@loader_path\/"
9918 WINELOADER_DEPENDS="wine_info.plist"
9922 linux-android*)
9924 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
9926 DLLFLAGS="$DLLFLAGS -fPIC"
9927 LDDLLFLAGS="-fPIC"
9928 LDEXECFLAGS="-Wl,-pie"
9929 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
9930 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
9931 printf %s "checking whether the compiler supports -Wl,-z,defs... " >&6; }
9932 if test ${ac_cv_cflags__Wl__z_defs+y}
9933 then :
9934 printf %s "(cached) " >&6
9935 else $as_nop
9936 ac_wine_try_cflags_saved=$CFLAGS
9937 CFLAGS="$CFLAGS -Wl,-z,defs"
9938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9939 /* end confdefs.h. */
9940 int main(int argc, char **argv) { return 0; }
9941 _ACEOF
9942 if ac_fn_c_try_link "$LINENO"
9943 then :
9944 ac_cv_cflags__Wl__z_defs=yes
9945 else $as_nop
9946 ac_cv_cflags__Wl__z_defs=no
9948 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9949 conftest$ac_exeext conftest.$ac_ext
9950 CFLAGS=$ac_wine_try_cflags_saved
9952 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
9953 printf "%s\n" "$ac_cv_cflags__Wl__z_defs" >&6; }
9954 if test "x$ac_cv_cflags__Wl__z_defs" = xyes
9955 then :
9956 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
9958 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
9959 printf %s "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
9960 if test ${ac_cv_cflags__fPIC__Wl___export_dynamic+y}
9961 then :
9962 printf %s "(cached) " >&6
9963 else $as_nop
9964 ac_wine_try_cflags_saved=$CFLAGS
9965 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
9966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9967 /* end confdefs.h. */
9968 int main(int argc, char **argv) { return 0; }
9969 _ACEOF
9970 if ac_fn_c_try_link "$LINENO"
9971 then :
9972 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
9973 else $as_nop
9974 ac_cv_cflags__fPIC__Wl___export_dynamic=no
9976 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9977 conftest$ac_exeext conftest.$ac_ext
9978 CFLAGS=$ac_wine_try_cflags_saved
9980 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
9981 printf "%s\n" "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
9982 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
9983 then :
9984 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9986 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
9988 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
9989 printf %s "checking for -lEGL... " >&6; }
9990 if test ${ac_cv_lib_soname_EGL+y}
9991 then :
9992 printf %s "(cached) " >&6
9993 else $as_nop
9994 ac_check_soname_save_LIBS=$LIBS
9995 LIBS="-lEGL $LIBS"
9996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9997 /* end confdefs.h. */
9999 /* Override any GCC internal prototype to avoid an error.
10000 Use char because int might match the return type of a GCC
10001 builtin and then its argument prototype would still apply. */
10002 char eglGetProcAddress ();
10004 main (void)
10006 return eglGetProcAddress ();
10008 return 0;
10010 _ACEOF
10011 if ac_fn_c_try_link "$LINENO"
10012 then :
10013 case "$LIBEXT" in
10014 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10015 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'` ;;
10016 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10017 if ${ac_cv_lib_soname_EGL:+false} :
10018 then :
10019 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10020 fi ;;
10021 esac
10022 else $as_nop
10023 ac_cv_lib_soname_EGL=
10025 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10026 conftest$ac_exeext conftest.$ac_ext
10027 LIBS=$ac_check_soname_save_LIBS
10029 if ${ac_cv_lib_soname_EGL:+false} :
10030 then :
10031 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10032 printf "%s\n" "not found" >&6; }
10034 else $as_nop
10035 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
10036 printf "%s\n" "$ac_cv_lib_soname_EGL" >&6; }
10038 printf "%s\n" "#define SONAME_LIBEGL \"$ac_cv_lib_soname_EGL\"" >>confdefs.h
10042 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
10043 printf %s "checking for -lGLESv2... " >&6; }
10044 if test ${ac_cv_lib_soname_GLESv2+y}
10045 then :
10046 printf %s "(cached) " >&6
10047 else $as_nop
10048 ac_check_soname_save_LIBS=$LIBS
10049 LIBS="-lGLESv2 $LIBS"
10050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10051 /* end confdefs.h. */
10053 /* Override any GCC internal prototype to avoid an error.
10054 Use char because int might match the return type of a GCC
10055 builtin and then its argument prototype would still apply. */
10056 char glFlush ();
10058 main (void)
10060 return glFlush ();
10062 return 0;
10064 _ACEOF
10065 if ac_fn_c_try_link "$LINENO"
10066 then :
10067 case "$LIBEXT" in
10068 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10069 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'` ;;
10070 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10071 if ${ac_cv_lib_soname_GLESv2:+false} :
10072 then :
10073 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10074 fi ;;
10075 esac
10076 else $as_nop
10077 ac_cv_lib_soname_GLESv2=
10079 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10080 conftest$ac_exeext conftest.$ac_ext
10081 LIBS=$ac_check_soname_save_LIBS
10083 if ${ac_cv_lib_soname_GLESv2:+false} :
10084 then :
10085 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10086 printf "%s\n" "not found" >&6; }
10088 else $as_nop
10089 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
10090 printf "%s\n" "$ac_cv_lib_soname_GLESv2" >&6; }
10092 printf "%s\n" "#define SONAME_LIBGLESV2 \"$ac_cv_lib_soname_GLESv2\"" >>confdefs.h
10097 if test "x$exec_prefix" = xNONE
10098 then
10099 case $HOST_ARCH in
10100 i386) exec_prefix='${prefix}/x86' ;;
10101 x86_64) exec_prefix='${prefix}/x86_64' ;;
10102 arm) exec_prefix='${prefix}/armeabi-v7a' ;;
10103 aarch64) exec_prefix='${prefix}/arm64-v8a' ;;
10104 esac
10110 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
10112 test "$ac_cv_sys_file_offset_bits" = 64 &&
10113 printf "%s\n" "#define _TIME_BITS 64" >>confdefs.h
10115 if test $HOST_ARCH = i386
10116 then
10117 DLLFLAGS="$DLLFLAGS -fno-PIC"
10118 LDDLLFLAGS="-fno-PIC"
10119 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-PIC -Wl,-z,notext" >&5
10120 printf %s "checking whether the compiler supports -fno-PIC -Wl,-z,notext... " >&6; }
10121 if test ${ac_cv_cflags__fno_PIC__Wl__z_notext+y}
10122 then :
10123 printf %s "(cached) " >&6
10124 else $as_nop
10125 ac_wine_try_cflags_saved=$CFLAGS
10126 CFLAGS="$CFLAGS -fno-PIC -Wl,-z,notext"
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__fno_PIC__Wl__z_notext=yes
10134 else $as_nop
10135 ac_cv_cflags__fno_PIC__Wl__z_notext=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__fno_PIC__Wl__z_notext" >&5
10142 printf "%s\n" "$ac_cv_cflags__fno_PIC__Wl__z_notext" >&6; }
10143 if test "x$ac_cv_cflags__fno_PIC__Wl__z_notext" = xyes
10144 then :
10145 LDDLLFLAGS="$LDDLLFLAGS -Wl,-z,notext"
10147 else
10148 DLLFLAGS="$DLLFLAGS -fPIC"
10149 LDDLLFLAGS="-fPIC"
10152 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -Wl,-z,defs works correctly" >&5
10153 printf %s "checking whether -Wl,-z,defs works correctly... " >&6; }
10154 if test ${ac_cv_wl_z_defs+y}
10155 then :
10156 printf %s "(cached) " >&6
10157 else $as_nop
10158 ac_save_CFLAGS="$CFLAGS"
10159 CFLAGS="$CFLAGS $UNIXDLLFLAGS $UNIXLDFLAGS -Wl,-z,defs"
10160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10161 /* end confdefs.h. */
10162 extern char **environ; char **envp; void myfunc(void) { envp = environ; }
10163 _ACEOF
10164 if ac_fn_c_try_link "$LINENO"
10165 then :
10166 ac_cv_wl_z_defs=yes
10167 else $as_nop
10168 ac_cv_wl_z_defs=no
10170 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10171 conftest$ac_exeext conftest.$ac_ext
10172 CFLAGS=$ac_save_CFLAGS
10174 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_wl_z_defs" >&5
10175 printf "%s\n" "$ac_cv_wl_z_defs" >&6; }
10176 test $ac_cv_wl_z_defs != yes || as_fn_append UNIXLDFLAGS " -Wl,-z,defs"
10178 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--export-dynamic" >&5
10179 printf %s "checking whether the compiler supports -Wl,--export-dynamic... " >&6; }
10180 if test ${ac_cv_cflags__Wl___export_dynamic+y}
10181 then :
10182 printf %s "(cached) " >&6
10183 else $as_nop
10184 ac_wine_try_cflags_saved=$CFLAGS
10185 CFLAGS="$CFLAGS -Wl,--export-dynamic"
10186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10187 /* end confdefs.h. */
10188 int main(int argc, char **argv) { return 0; }
10189 _ACEOF
10190 if ac_fn_c_try_link "$LINENO"
10191 then :
10192 ac_cv_cflags__Wl___export_dynamic=yes
10193 else $as_nop
10194 ac_cv_cflags__Wl___export_dynamic=no
10196 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10197 conftest$ac_exeext conftest.$ac_ext
10198 CFLAGS=$ac_wine_try_cflags_saved
10200 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___export_dynamic" >&5
10201 printf "%s\n" "$ac_cv_cflags__Wl___export_dynamic" >&6; }
10202 if test "x$ac_cv_cflags__Wl___export_dynamic" = xyes
10203 then :
10204 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
10206 WINEPRELOADER_LDFLAGS="-nostartfiles -nodefaultlibs"
10208 case $host_os in
10209 linux*)
10210 as_fn_append WINELOADER_LDFLAGS " -pie"
10211 case $HOST_ARCH in
10212 i386|arm)
10213 as_fn_append WINEPRELOADER_LDFLAGS " -static -Wl,-Ttext=0x7d400000" ;;
10215 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -static-pie" >&5
10216 printf %s "checking whether the compiler supports -static-pie... " >&6; }
10217 if test ${ac_cv_cflags__static_pie+y}
10218 then :
10219 printf %s "(cached) " >&6
10220 else $as_nop
10221 ac_wine_try_cflags_saved=$CFLAGS
10222 CFLAGS="$CFLAGS -static-pie"
10223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10224 /* end confdefs.h. */
10225 int main(int argc, char **argv) { return 0; }
10226 _ACEOF
10227 if ac_fn_c_try_link "$LINENO"
10228 then :
10229 ac_cv_cflags__static_pie=yes
10230 else $as_nop
10231 ac_cv_cflags__static_pie=no
10233 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10234 conftest$ac_exeext conftest.$ac_ext
10235 CFLAGS=$ac_wine_try_cflags_saved
10237 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__static_pie" >&5
10238 printf "%s\n" "$ac_cv_cflags__static_pie" >&6; }
10239 if test "x$ac_cv_cflags__static_pie" = xyes
10240 then :
10241 as_fn_append WINEPRELOADER_LDFLAGS " -static-pie"
10242 else $as_nop
10243 as_fn_append WINEPRELOADER_LDFLAGS " -static -Wl,-Ttext=0x7d7d00000000"
10246 esac
10249 case $HOST_ARCH in
10250 i386|arm)
10251 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x60000000" >&5
10252 printf %s "checking whether the compiler supports -Wl,-Ttext-segment=0x60000000... " >&6; }
10253 if test ${ac_cv_cflags__Wl__Ttext_segment_0x60000000+y}
10254 then :
10255 printf %s "(cached) " >&6
10256 else $as_nop
10257 ac_wine_try_cflags_saved=$CFLAGS
10258 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x60000000"
10259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10260 /* end confdefs.h. */
10261 int main(int argc, char **argv) { return 0; }
10262 _ACEOF
10263 if ac_fn_c_try_link "$LINENO"
10264 then :
10265 ac_cv_cflags__Wl__Ttext_segment_0x60000000=yes
10266 else $as_nop
10267 ac_cv_cflags__Wl__Ttext_segment_0x60000000=no
10269 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10270 conftest$ac_exeext conftest.$ac_ext
10271 CFLAGS=$ac_wine_try_cflags_saved
10273 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x60000000" >&5
10274 printf "%s\n" "$ac_cv_cflags__Wl__Ttext_segment_0x60000000" >&6; }
10275 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x60000000" = xyes
10276 then :
10277 as_fn_append WINELOADER_LDFLAGS " -Wl,-Ttext-segment=0x60000000"
10278 else $as_nop
10279 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x60000400" >&5
10280 printf %s "checking whether the compiler supports -Wl,--section-start,.interp=0x60000400... " >&6; }
10281 if test ${ac_cv_cflags__Wl___section_start__interp_0x60000400+y}
10282 then :
10283 printf %s "(cached) " >&6
10284 else $as_nop
10285 ac_wine_try_cflags_saved=$CFLAGS
10286 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x60000400"
10287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10288 /* end confdefs.h. */
10289 int main(int argc, char **argv) { return 0; }
10290 _ACEOF
10291 if ac_fn_c_try_link "$LINENO"
10292 then :
10293 ac_cv_cflags__Wl___section_start__interp_0x60000400=yes
10294 else $as_nop
10295 ac_cv_cflags__Wl___section_start__interp_0x60000400=no
10297 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10298 conftest$ac_exeext conftest.$ac_ext
10299 CFLAGS=$ac_wine_try_cflags_saved
10301 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x60000400" >&5
10302 printf "%s\n" "$ac_cv_cflags__Wl___section_start__interp_0x60000400" >&6; }
10303 if test "x$ac_cv_cflags__Wl___section_start__interp_0x60000400" = xyes
10304 then :
10305 as_fn_append WINELOADER_LDFLAGS " -Wl,--section-start,.interp=0x60000400"
10310 as_fn_append WINELOADER_LDFLAGS " -pie"
10312 esac
10314 esac
10316 esac
10318 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
10319 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
10320 enable_winemac_drv=${enable_winemac_drv:-no}
10322 PE_ARCHS=""
10324 cross_archs=
10325 if test ${enable_archs+y}
10326 then :
10327 test "x$with_system_dllpath" = "x" || as_fn_error $? "\"The --with-system-dllpath option is not compatible with --enable-archs\"" "$LINENO" 5
10328 ac_save_IFS=$IFS
10329 IFS=' ,'
10330 set x $enable_archs
10331 IFS=$ac_save_IFS
10332 shift
10333 for arch
10335 case $arch in
10336 i386|x86_64|arm|aarch64|arm64ec) cross_archs="$cross_archs $arch" ;;
10337 *) as_fn_error $? "Unknown cross-compilation architecture '$arch'" "$LINENO" 5 ;;
10338 esac
10339 done
10340 else $as_nop
10341 if test "x$with_mingw" != xno
10342 then
10343 test $HOST_ARCH = unknown || cross_archs=$HOST_ARCH
10347 for wine_arch in $cross_archs
10349 case "x$with_mingw" in
10350 xclang|x*/clang) eval "${wine_arch}_CC=\$with_mingw" ;;
10351 esac
10352 if eval \${${wine_arch}_CC:+false} :
10353 then :
10354 case $wine_arch in
10355 aarch64)
10356 for ac_prog in aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc clang
10358 # Extract the first word of "$ac_prog", so it can be a program name with args.
10359 set dummy $ac_prog; ac_word=$2
10360 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10361 printf %s "checking for $ac_word... " >&6; }
10362 if test ${ac_cv_prog_aarch64_CC+y}
10363 then :
10364 printf %s "(cached) " >&6
10365 else $as_nop
10366 if test -n "$aarch64_CC"; then
10367 ac_cv_prog_aarch64_CC="$aarch64_CC" # Let the user override the test.
10368 else
10369 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10370 for as_dir in $PATH
10372 IFS=$as_save_IFS
10373 case $as_dir in #(((
10374 '') as_dir=./ ;;
10375 */) ;;
10376 *) as_dir=$as_dir/ ;;
10377 esac
10378 for ac_exec_ext in '' $ac_executable_extensions; do
10379 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10380 ac_cv_prog_aarch64_CC="$ac_prog"
10381 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10382 break 2
10384 done
10385 done
10386 IFS=$as_save_IFS
10390 aarch64_CC=$ac_cv_prog_aarch64_CC
10391 if test -n "$aarch64_CC"; then
10392 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $aarch64_CC" >&5
10393 printf "%s\n" "$aarch64_CC" >&6; }
10394 else
10395 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10396 printf "%s\n" "no" >&6; }
10400 test -n "$aarch64_CC" && break
10401 done
10402 test -n "$aarch64_CC" || aarch64_CC="false"
10405 arm64ec)
10406 for ac_prog in arm64ec-w64-mingw32-clang arm64ec-w64-mingw32-gcc clang
10408 # Extract the first word of "$ac_prog", so it can be a program name with args.
10409 set dummy $ac_prog; ac_word=$2
10410 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10411 printf %s "checking for $ac_word... " >&6; }
10412 if test ${ac_cv_prog_arm64ec_CC+y}
10413 then :
10414 printf %s "(cached) " >&6
10415 else $as_nop
10416 if test -n "$arm64ec_CC"; then
10417 ac_cv_prog_arm64ec_CC="$arm64ec_CC" # Let the user override the test.
10418 else
10419 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10420 for as_dir in $PATH
10422 IFS=$as_save_IFS
10423 case $as_dir in #(((
10424 '') as_dir=./ ;;
10425 */) ;;
10426 *) as_dir=$as_dir/ ;;
10427 esac
10428 for ac_exec_ext in '' $ac_executable_extensions; do
10429 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10430 ac_cv_prog_arm64ec_CC="$ac_prog"
10431 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10432 break 2
10434 done
10435 done
10436 IFS=$as_save_IFS
10440 arm64ec_CC=$ac_cv_prog_arm64ec_CC
10441 if test -n "$arm64ec_CC"; then
10442 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $arm64ec_CC" >&5
10443 printf "%s\n" "$arm64ec_CC" >&6; }
10444 else
10445 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10446 printf "%s\n" "no" >&6; }
10450 test -n "$arm64ec_CC" && break
10451 done
10452 test -n "$arm64ec_CC" || arm64ec_CC="false"
10455 arm)
10456 for ac_prog in armv7-w64-mingw32-clang armv7-w64-mingw32-gcc clang
10458 # Extract the first word of "$ac_prog", so it can be a program name with args.
10459 set dummy $ac_prog; ac_word=$2
10460 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10461 printf %s "checking for $ac_word... " >&6; }
10462 if test ${ac_cv_prog_arm_CC+y}
10463 then :
10464 printf %s "(cached) " >&6
10465 else $as_nop
10466 if test -n "$arm_CC"; then
10467 ac_cv_prog_arm_CC="$arm_CC" # Let the user override the test.
10468 else
10469 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10470 for as_dir in $PATH
10472 IFS=$as_save_IFS
10473 case $as_dir in #(((
10474 '') as_dir=./ ;;
10475 */) ;;
10476 *) as_dir=$as_dir/ ;;
10477 esac
10478 for ac_exec_ext in '' $ac_executable_extensions; do
10479 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10480 ac_cv_prog_arm_CC="$ac_prog"
10481 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10482 break 2
10484 done
10485 done
10486 IFS=$as_save_IFS
10490 arm_CC=$ac_cv_prog_arm_CC
10491 if test -n "$arm_CC"; then
10492 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $arm_CC" >&5
10493 printf "%s\n" "$arm_CC" >&6; }
10494 else
10495 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10496 printf "%s\n" "no" >&6; }
10500 test -n "$arm_CC" && break
10501 done
10502 test -n "$arm_CC" || arm_CC="false"
10505 i386)
10506 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 "
10507 for ac_prog in $ac_prefix_list clang
10509 # Extract the first word of "$ac_prog", so it can be a program name with args.
10510 set dummy $ac_prog; ac_word=$2
10511 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10512 printf %s "checking for $ac_word... " >&6; }
10513 if test ${ac_cv_prog_i386_CC+y}
10514 then :
10515 printf %s "(cached) " >&6
10516 else $as_nop
10517 if test -n "$i386_CC"; then
10518 ac_cv_prog_i386_CC="$i386_CC" # Let the user override the test.
10519 else
10520 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10521 for as_dir in $PATH
10523 IFS=$as_save_IFS
10524 case $as_dir in #(((
10525 '') as_dir=./ ;;
10526 */) ;;
10527 *) as_dir=$as_dir/ ;;
10528 esac
10529 for ac_exec_ext in '' $ac_executable_extensions; do
10530 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10531 ac_cv_prog_i386_CC="$ac_prog"
10532 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10533 break 2
10535 done
10536 done
10537 IFS=$as_save_IFS
10541 i386_CC=$ac_cv_prog_i386_CC
10542 if test -n "$i386_CC"; then
10543 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $i386_CC" >&5
10544 printf "%s\n" "$i386_CC" >&6; }
10545 else
10546 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10547 printf "%s\n" "no" >&6; }
10551 test -n "$i386_CC" && break
10552 done
10553 test -n "$i386_CC" || i386_CC="false"
10556 x86_64)
10557 ac_prefix_list="x86_64-w64-mingw32-gcc amd64-w64-mingw32-gcc x86_64-w64-mingw32-clang amd64-w64-mingw32-clang "
10558 for ac_prog in $ac_prefix_list clang
10560 # Extract the first word of "$ac_prog", so it can be a program name with args.
10561 set dummy $ac_prog; ac_word=$2
10562 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10563 printf %s "checking for $ac_word... " >&6; }
10564 if test ${ac_cv_prog_x86_64_CC+y}
10565 then :
10566 printf %s "(cached) " >&6
10567 else $as_nop
10568 if test -n "$x86_64_CC"; then
10569 ac_cv_prog_x86_64_CC="$x86_64_CC" # Let the user override the test.
10570 else
10571 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10572 for as_dir in $PATH
10574 IFS=$as_save_IFS
10575 case $as_dir in #(((
10576 '') as_dir=./ ;;
10577 */) ;;
10578 *) as_dir=$as_dir/ ;;
10579 esac
10580 for ac_exec_ext in '' $ac_executable_extensions; do
10581 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10582 ac_cv_prog_x86_64_CC="$ac_prog"
10583 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10584 break 2
10586 done
10587 done
10588 IFS=$as_save_IFS
10592 x86_64_CC=$ac_cv_prog_x86_64_CC
10593 if test -n "$x86_64_CC"; then
10594 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $x86_64_CC" >&5
10595 printf "%s\n" "$x86_64_CC" >&6; }
10596 else
10597 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10598 printf "%s\n" "no" >&6; }
10602 test -n "$x86_64_CC" && break
10603 done
10604 test -n "$x86_64_CC" || x86_64_CC="false"
10607 esac
10610 saved_CC=$CC
10611 saved_CFLAGS=$CFLAGS
10612 saved_LDFLAGS=$LDFLAGS
10614 CFLAGS=${CROSSCFLAGS:-"-g -O2"}
10615 LDFLAGS=$CROSSLDFLAGS
10616 eval CC=\$${wine_arch}_CC
10617 eval ${wine_arch}_CFLAGS=\$CFLAGS
10618 eval ${wine_arch}_LDFLAGS=\$LDFLAGS
10619 eval "${wine_arch}_EXTRACFLAGS=\"-D__WINE_PE_BUILD -Wall\""
10621 target=""
10622 as_wine_cv_crosscc=`printf "%s\n" "ac_cv_${wine_arch}_crosscc" | $as_tr_sh`
10624 if eval test \"x\$"${wine_arch}_CC"\" = x"false"
10625 then :
10627 else $as_nop
10628 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
10629 printf %s "checking whether $CC works... " >&6; }
10630 if eval test \${$as_wine_cv_crosscc+y}
10631 then :
10632 printf %s "(cached) " >&6
10633 else $as_nop
10634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10635 /* end confdefs.h. */
10638 main (void)
10642 return 0;
10644 _ACEOF
10645 if ac_fn_c_try_compile "$LINENO"
10646 then :
10647 eval "$as_wine_cv_crosscc=yes"
10648 else $as_nop
10649 eval "$as_wine_cv_crosscc=no"
10651 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10653 eval ac_res=\$$as_wine_cv_crosscc
10654 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10655 printf "%s\n" "$ac_res" >&6; }
10657 if eval test \"x\$"$as_wine_cv_crosscc"\" = x"yes"
10658 then :
10659 set x $CC
10660 shift
10661 while test $# -ge 1
10663 case "$1" in
10664 *-gcc) target=`expr "$1" : '\(.*\)-gcc'` ;;
10665 *-clang) target=`expr "$1" : '\(.*\)-clang'` ;;
10666 esac
10667 shift
10668 done
10670 llvm_target=$target
10671 if test -z "$llvm_target"
10672 then
10673 case $wine_arch in
10674 i386) llvm_target=i686-windows ;;
10675 arm) llvm_target=armv7-windows ;;
10676 *) llvm_target=$wine_arch-windows ;;
10677 esac
10679 llvm_extra_cflags="-target $llvm_target -fuse-ld=lld"
10680 llvm_extra_ldflags=""
10681 case $llvm_target in
10682 *windows) llvm_cflags="-Wl,-subsystem:console -Wl,-WX" ;;
10683 esac
10684 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_$llvm_extra_cflags $llvm_cflags --no-default-config" | $as_tr_sh`
10685 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports $llvm_extra_cflags $llvm_cflags --no-default-config" >&5
10686 printf %s "checking whether $CC supports $llvm_extra_cflags $llvm_cflags --no-default-config... " >&6; }
10687 if eval test \${$as_ac_var+y}
10688 then :
10689 printf %s "(cached) " >&6
10690 else $as_nop
10691 ac_wine_try_cflags_saved=$CFLAGS
10692 ac_wine_try_cflags_saved_exeext=$ac_exeext
10693 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs $llvm_extra_cflags $llvm_cflags --no-default-config"
10694 ac_exeext=".exe"
10695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10696 /* end confdefs.h. */
10697 void *__os_arm64x_dispatch_ret = 0;
10698 int __cdecl mainCRTStartup(void) { return 0; }
10699 _ACEOF
10700 if ac_fn_c_try_link "$LINENO"
10701 then :
10702 eval "$as_ac_var=yes"
10703 else $as_nop
10704 eval "$as_ac_var=no"
10706 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10707 conftest$ac_exeext conftest.$ac_ext
10708 CFLAGS=$ac_wine_try_cflags_saved
10709 ac_exeext=$ac_wine_try_cflags_saved_exeext
10711 eval ac_res=\$$as_ac_var
10712 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10713 printf "%s\n" "$ac_res" >&6; }
10714 if eval test \"x\$"$as_ac_var"\" = x"yes"
10715 then :
10716 llvm_extra_cflags="$llvm_extra_cflags --no-default-config"
10717 llvm_extra_ldflags="--no-default-config"
10718 else $as_nop
10719 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_$llvm_extra_cflags $llvm_cflags" | $as_tr_sh`
10720 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports $llvm_extra_cflags $llvm_cflags" >&5
10721 printf %s "checking whether $CC supports $llvm_extra_cflags $llvm_cflags... " >&6; }
10722 if eval test \${$as_ac_var+y}
10723 then :
10724 printf %s "(cached) " >&6
10725 else $as_nop
10726 ac_wine_try_cflags_saved=$CFLAGS
10727 ac_wine_try_cflags_saved_exeext=$ac_exeext
10728 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs $llvm_extra_cflags $llvm_cflags"
10729 ac_exeext=".exe"
10730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10731 /* end confdefs.h. */
10732 void *__os_arm64x_dispatch_ret = 0;
10733 int __cdecl mainCRTStartup(void) { return 0; }
10734 _ACEOF
10735 if ac_fn_c_try_link "$LINENO"
10736 then :
10737 eval "$as_ac_var=yes"
10738 else $as_nop
10739 eval "$as_ac_var=no"
10741 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10742 conftest$ac_exeext conftest.$ac_ext
10743 CFLAGS=$ac_wine_try_cflags_saved
10744 ac_exeext=$ac_wine_try_cflags_saved_exeext
10746 eval ac_res=\$$as_ac_var
10747 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10748 printf "%s\n" "$ac_res" >&6; }
10749 if eval test \"x\$"$as_ac_var"\" = x"yes"
10750 then :
10752 else $as_nop
10753 llvm_extra_cflags=""
10754 fi }
10755 fi }
10756 if test -n "$llvm_extra_cflags"
10757 then
10758 target=$llvm_target
10759 eval "${wine_arch}_DELAYLOADFLAG=\"-Wl,-delayload,\""
10760 as_fn_append ${wine_arch}_EXTRACFLAGS " $llvm_extra_cflags"
10761 as_fn_append ${wine_arch}_LDFLAGS " $llvm_extra_ldflags"
10762 CFLAGS="$llvm_extra_cflags $llvm_cflags"
10764 eval "${wine_arch}_TARGET=\$target"
10768 if test -z "$target"
10769 then
10770 if test ${enable_archs+y}
10771 then :
10772 as_fn_error $? "MinGW $wine_arch compiler not found.
10773 This is an error since --enable-archs=$wine_arch was requested." "$LINENO" 5
10775 CC=$saved_CC
10776 CFLAGS=$saved_CFLAGS
10777 LDFLAGS=$saved_LDFLAGS
10778 continue
10781 as_wine_cv_crosscc_c99=`printf "%s\n" "ac_cv_${wine_arch}_crosscc_c99" | $as_tr_sh`
10783 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
10784 printf %s "checking for $CC option to enable C99 features... " >&6; }
10785 if eval test \${$as_wine_cv_crosscc_c99+y}
10786 then :
10787 printf %s "(cached) " >&6
10788 else $as_nop
10789 eval "$as_wine_cv_crosscc_c99=no"
10790 for arg in '' '-std=gnu99' '-D__STDC__'
10792 test -z "$arg" || CC="$CC $arg"
10793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10794 /* end confdefs.h. */
10795 $ac_c_conftest_c99_program
10796 _ACEOF
10797 if ac_fn_c_try_compile "$LINENO"
10798 then :
10799 eval "$as_wine_cv_crosscc_c99=\$arg"
10800 else $as_nop
10801 eval "$as_wine_cv_crosscc_c99=no"
10803 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10804 eval CC=\$${wine_arch}_CC
10805 if eval test \"x\$"$as_wine_cv_crosscc_c99"\" = x"no"
10806 then :
10808 else $as_nop
10809 break
10811 done
10814 eval res=\$$as_wine_cv_crosscc_c99
10816 case "x$res" in
10817 x) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
10818 printf "%s\n" "none needed" >&6; } ;;
10819 xno) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
10820 printf "%s\n" "unsupported" >&6; }
10821 CC=$saved_CC
10822 CFLAGS=$saved_CFLAGS
10823 LDFLAGS=$saved_LDFLAGS
10824 if test ${enable_archs+y}
10825 then :
10826 as_fn_error $? "MinGW $wine_arch compiler supporting C99 not found.
10827 This is an error since --enable-archs=$wine_arch was requested." "$LINENO" 5
10829 continue
10831 x*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $res" >&5
10832 printf "%s\n" "$res" >&6; }
10833 as_fn_append ${wine_arch}_CC " $res" ;;
10834 esac
10836 if test "x$wine_arch" = xi386
10837 then :
10839 else $as_nop
10840 as_wine_cv_seh_support=`printf "%s\n" "ac_cv_${wine_arch}_seh_support" | $as_tr_sh`
10842 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports SEH directives" >&5
10843 printf %s "checking whether $CC supports SEH directives... " >&6; }
10844 if eval test \${$as_wine_cv_seh_support+y}
10845 then :
10846 printf %s "(cached) " >&6
10847 else $as_nop
10848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10849 /* end confdefs.h. */
10850 asm(".text\nac_test:\t.seh_proc ac_test\n\tnop\n\t.seh_stackalloc 16\n\t.seh_endprologue\n\t.seh_endproc");
10852 main (void)
10856 return 0;
10858 _ACEOF
10859 if ac_fn_c_try_compile "$LINENO"
10860 then :
10861 eval "$as_wine_cv_seh_support=yes"
10862 else $as_nop
10863 eval "$as_wine_cv_seh_support=no"
10865 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10867 eval ac_res=\$$as_wine_cv_seh_support
10868 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10869 printf "%s\n" "$ac_res" >&6; }
10870 eval res=\$$as_wine_cv_seh_support
10872 if test "x$res" = xyes
10873 then :
10875 else $as_nop
10876 if test ${enable_archs+y}
10877 then :
10878 as_fn_error $? "The $wine_arch cross-compiler doesn't support SEH directives.
10879 This is an error since --enable-archs=$wine_arch was requested." "$LINENO" 5
10881 continue
10885 as_fn_append PE_ARCHS " $wine_arch"
10886 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-fno-strict-aliasing" | $as_tr_sh`
10887 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -fno-strict-aliasing" >&5
10888 printf %s "checking whether $CC supports -fno-strict-aliasing... " >&6; }
10889 if eval test \${$as_ac_var+y}
10890 then :
10891 printf %s "(cached) " >&6
10892 else $as_nop
10893 ac_wine_try_cflags_saved=$CFLAGS
10894 ac_wine_try_cflags_saved_exeext=$ac_exeext
10895 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -fno-strict-aliasing"
10896 ac_exeext=".exe"
10897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10898 /* end confdefs.h. */
10899 void *__os_arm64x_dispatch_ret = 0;
10900 int __cdecl mainCRTStartup(void) { return 0; }
10901 _ACEOF
10902 if ac_fn_c_try_link "$LINENO"
10903 then :
10904 eval "$as_ac_var=yes"
10905 else $as_nop
10906 eval "$as_ac_var=no"
10908 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10909 conftest$ac_exeext conftest.$ac_ext
10910 CFLAGS=$ac_wine_try_cflags_saved
10911 ac_exeext=$ac_wine_try_cflags_saved_exeext
10913 eval ac_res=\$$as_ac_var
10914 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10915 printf "%s\n" "$ac_res" >&6; }
10916 if eval test \"x\$"$as_ac_var"\" = x"yes"
10917 then :
10918 as_fn_append ${wine_arch}_EXTRACFLAGS " -fno-strict-aliasing"
10919 fi }
10920 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror=unknown-warning-option" | $as_tr_sh`
10921 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror=unknown-warning-option" >&5
10922 printf %s "checking whether $CC supports -Werror=unknown-warning-option... " >&6; }
10923 if eval test \${$as_ac_var+y}
10924 then :
10925 printf %s "(cached) " >&6
10926 else $as_nop
10927 ac_wine_try_cflags_saved=$CFLAGS
10928 ac_wine_try_cflags_saved_exeext=$ac_exeext
10929 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Werror=unknown-warning-option"
10930 ac_exeext=".exe"
10931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10932 /* end confdefs.h. */
10933 void *__os_arm64x_dispatch_ret = 0;
10934 int __cdecl mainCRTStartup(void) { return 0; }
10935 _ACEOF
10936 if ac_fn_c_try_link "$LINENO"
10937 then :
10938 eval "$as_ac_var=yes"
10939 else $as_nop
10940 eval "$as_ac_var=no"
10942 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10943 conftest$ac_exeext conftest.$ac_ext
10944 CFLAGS=$ac_wine_try_cflags_saved
10945 ac_exeext=$ac_wine_try_cflags_saved_exeext
10947 eval ac_res=\$$as_ac_var
10948 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10949 printf "%s\n" "$ac_res" >&6; }
10950 if eval test \"x\$"$as_ac_var"\" = x"yes"
10951 then :
10952 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
10953 fi }
10954 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror=ignored-optimization-argument" | $as_tr_sh`
10955 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror=ignored-optimization-argument" >&5
10956 printf %s "checking whether $CC supports -Werror=ignored-optimization-argument... " >&6; }
10957 if eval test \${$as_ac_var+y}
10958 then :
10959 printf %s "(cached) " >&6
10960 else $as_nop
10961 ac_wine_try_cflags_saved=$CFLAGS
10962 ac_wine_try_cflags_saved_exeext=$ac_exeext
10963 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Werror=ignored-optimization-argument"
10964 ac_exeext=".exe"
10965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10966 /* end confdefs.h. */
10967 void *__os_arm64x_dispatch_ret = 0;
10968 int __cdecl mainCRTStartup(void) { return 0; }
10969 _ACEOF
10970 if ac_fn_c_try_link "$LINENO"
10971 then :
10972 eval "$as_ac_var=yes"
10973 else $as_nop
10974 eval "$as_ac_var=no"
10976 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10977 conftest$ac_exeext conftest.$ac_ext
10978 CFLAGS=$ac_wine_try_cflags_saved
10979 ac_exeext=$ac_wine_try_cflags_saved_exeext
10981 eval ac_res=\$$as_ac_var
10982 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10983 printf "%s\n" "$ac_res" >&6; }
10984 if eval test \"x\$"$as_ac_var"\" = x"yes"
10985 then :
10986 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
10987 fi }
10988 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wdeclaration-after-statement" | $as_tr_sh`
10989 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wdeclaration-after-statement" >&5
10990 printf %s "checking whether $CC supports -Wdeclaration-after-statement... " >&6; }
10991 if eval test \${$as_ac_var+y}
10992 then :
10993 printf %s "(cached) " >&6
10994 else $as_nop
10995 ac_wine_try_cflags_saved=$CFLAGS
10996 ac_wine_try_cflags_saved_exeext=$ac_exeext
10997 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wdeclaration-after-statement"
10998 ac_exeext=".exe"
10999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11000 /* end confdefs.h. */
11001 void *__os_arm64x_dispatch_ret = 0;
11002 int __cdecl mainCRTStartup(void) { return 0; }
11003 _ACEOF
11004 if ac_fn_c_try_link "$LINENO"
11005 then :
11006 eval "$as_ac_var=yes"
11007 else $as_nop
11008 eval "$as_ac_var=no"
11010 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11011 conftest$ac_exeext conftest.$ac_ext
11012 CFLAGS=$ac_wine_try_cflags_saved
11013 ac_exeext=$ac_wine_try_cflags_saved_exeext
11015 eval ac_res=\$$as_ac_var
11016 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11017 printf "%s\n" "$ac_res" >&6; }
11018 if eval test \"x\$"$as_ac_var"\" = x"yes"
11019 then :
11020 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wdeclaration-after-statement"
11021 fi }
11022 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wempty-body" | $as_tr_sh`
11023 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wempty-body" >&5
11024 printf %s "checking whether $CC supports -Wempty-body... " >&6; }
11025 if eval test \${$as_ac_var+y}
11026 then :
11027 printf %s "(cached) " >&6
11028 else $as_nop
11029 ac_wine_try_cflags_saved=$CFLAGS
11030 ac_wine_try_cflags_saved_exeext=$ac_exeext
11031 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wempty-body"
11032 ac_exeext=".exe"
11033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11034 /* end confdefs.h. */
11035 void *__os_arm64x_dispatch_ret = 0;
11036 int __cdecl mainCRTStartup(void) { return 0; }
11037 _ACEOF
11038 if ac_fn_c_try_link "$LINENO"
11039 then :
11040 eval "$as_ac_var=yes"
11041 else $as_nop
11042 eval "$as_ac_var=no"
11044 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11045 conftest$ac_exeext conftest.$ac_ext
11046 CFLAGS=$ac_wine_try_cflags_saved
11047 ac_exeext=$ac_wine_try_cflags_saved_exeext
11049 eval ac_res=\$$as_ac_var
11050 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11051 printf "%s\n" "$ac_res" >&6; }
11052 if eval test \"x\$"$as_ac_var"\" = x"yes"
11053 then :
11054 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wempty-body"
11055 fi }
11056 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wignored-qualifiers" | $as_tr_sh`
11057 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wignored-qualifiers" >&5
11058 printf %s "checking whether $CC supports -Wignored-qualifiers... " >&6; }
11059 if eval test \${$as_ac_var+y}
11060 then :
11061 printf %s "(cached) " >&6
11062 else $as_nop
11063 ac_wine_try_cflags_saved=$CFLAGS
11064 ac_wine_try_cflags_saved_exeext=$ac_exeext
11065 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wignored-qualifiers"
11066 ac_exeext=".exe"
11067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11068 /* end confdefs.h. */
11069 void *__os_arm64x_dispatch_ret = 0;
11070 int __cdecl mainCRTStartup(void) { return 0; }
11071 _ACEOF
11072 if ac_fn_c_try_link "$LINENO"
11073 then :
11074 eval "$as_ac_var=yes"
11075 else $as_nop
11076 eval "$as_ac_var=no"
11078 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11079 conftest$ac_exeext conftest.$ac_ext
11080 CFLAGS=$ac_wine_try_cflags_saved
11081 ac_exeext=$ac_wine_try_cflags_saved_exeext
11083 eval ac_res=\$$as_ac_var
11084 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11085 printf "%s\n" "$ac_res" >&6; }
11086 if eval test \"x\$"$as_ac_var"\" = x"yes"
11087 then :
11088 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wignored-qualifiers"
11089 fi }
11090 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Winit-self" | $as_tr_sh`
11091 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Winit-self" >&5
11092 printf %s "checking whether $CC supports -Winit-self... " >&6; }
11093 if eval test \${$as_ac_var+y}
11094 then :
11095 printf %s "(cached) " >&6
11096 else $as_nop
11097 ac_wine_try_cflags_saved=$CFLAGS
11098 ac_wine_try_cflags_saved_exeext=$ac_exeext
11099 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Winit-self"
11100 ac_exeext=".exe"
11101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11102 /* end confdefs.h. */
11103 void *__os_arm64x_dispatch_ret = 0;
11104 int __cdecl mainCRTStartup(void) { return 0; }
11105 _ACEOF
11106 if ac_fn_c_try_link "$LINENO"
11107 then :
11108 eval "$as_ac_var=yes"
11109 else $as_nop
11110 eval "$as_ac_var=no"
11112 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11113 conftest$ac_exeext conftest.$ac_ext
11114 CFLAGS=$ac_wine_try_cflags_saved
11115 ac_exeext=$ac_wine_try_cflags_saved_exeext
11117 eval ac_res=\$$as_ac_var
11118 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11119 printf "%s\n" "$ac_res" >&6; }
11120 if eval test \"x\$"$as_ac_var"\" = x"yes"
11121 then :
11122 as_fn_append ${wine_arch}_EXTRACFLAGS " -Winit-self"
11123 fi }
11124 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpacked-not-aligned" | $as_tr_sh`
11125 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpacked-not-aligned" >&5
11126 printf %s "checking whether $CC supports -Wpacked-not-aligned... " >&6; }
11127 if eval test \${$as_ac_var+y}
11128 then :
11129 printf %s "(cached) " >&6
11130 else $as_nop
11131 ac_wine_try_cflags_saved=$CFLAGS
11132 ac_wine_try_cflags_saved_exeext=$ac_exeext
11133 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wpacked-not-aligned"
11134 ac_exeext=".exe"
11135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11136 /* end confdefs.h. */
11137 void *__os_arm64x_dispatch_ret = 0;
11138 int __cdecl mainCRTStartup(void) { return 0; }
11139 _ACEOF
11140 if ac_fn_c_try_link "$LINENO"
11141 then :
11142 eval "$as_ac_var=yes"
11143 else $as_nop
11144 eval "$as_ac_var=no"
11146 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11147 conftest$ac_exeext conftest.$ac_ext
11148 CFLAGS=$ac_wine_try_cflags_saved
11149 ac_exeext=$ac_wine_try_cflags_saved_exeext
11151 eval ac_res=\$$as_ac_var
11152 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11153 printf "%s\n" "$ac_res" >&6; }
11154 if eval test \"x\$"$as_ac_var"\" = x"yes"
11155 then :
11156 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-packed-not-aligned"
11157 fi }
11158 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpragma-pack" | $as_tr_sh`
11159 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpragma-pack" >&5
11160 printf %s "checking whether $CC supports -Wpragma-pack... " >&6; }
11161 if eval test \${$as_ac_var+y}
11162 then :
11163 printf %s "(cached) " >&6
11164 else $as_nop
11165 ac_wine_try_cflags_saved=$CFLAGS
11166 ac_wine_try_cflags_saved_exeext=$ac_exeext
11167 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wpragma-pack"
11168 ac_exeext=".exe"
11169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11170 /* end confdefs.h. */
11171 void *__os_arm64x_dispatch_ret = 0;
11172 int __cdecl mainCRTStartup(void) { return 0; }
11173 _ACEOF
11174 if ac_fn_c_try_link "$LINENO"
11175 then :
11176 eval "$as_ac_var=yes"
11177 else $as_nop
11178 eval "$as_ac_var=no"
11180 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11181 conftest$ac_exeext conftest.$ac_ext
11182 CFLAGS=$ac_wine_try_cflags_saved
11183 ac_exeext=$ac_wine_try_cflags_saved_exeext
11185 eval ac_res=\$$as_ac_var
11186 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11187 printf "%s\n" "$ac_res" >&6; }
11188 if eval test \"x\$"$as_ac_var"\" = x"yes"
11189 then :
11190 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-pragma-pack"
11191 fi }
11192 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wmicrosoft-enum-forward-reference" | $as_tr_sh`
11193 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wmicrosoft-enum-forward-reference" >&5
11194 printf %s "checking whether $CC supports -Wmicrosoft-enum-forward-reference... " >&6; }
11195 if eval test \${$as_ac_var+y}
11196 then :
11197 printf %s "(cached) " >&6
11198 else $as_nop
11199 ac_wine_try_cflags_saved=$CFLAGS
11200 ac_wine_try_cflags_saved_exeext=$ac_exeext
11201 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wmicrosoft-enum-forward-reference"
11202 ac_exeext=".exe"
11203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11204 /* end confdefs.h. */
11205 void *__os_arm64x_dispatch_ret = 0;
11206 int __cdecl mainCRTStartup(void) { return 0; }
11207 _ACEOF
11208 if ac_fn_c_try_link "$LINENO"
11209 then :
11210 eval "$as_ac_var=yes"
11211 else $as_nop
11212 eval "$as_ac_var=no"
11214 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11215 conftest$ac_exeext conftest.$ac_ext
11216 CFLAGS=$ac_wine_try_cflags_saved
11217 ac_exeext=$ac_wine_try_cflags_saved_exeext
11219 eval ac_res=\$$as_ac_var
11220 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11221 printf "%s\n" "$ac_res" >&6; }
11222 if eval test \"x\$"$as_ac_var"\" = x"yes"
11223 then :
11224 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-microsoft-enum-forward-reference"
11225 fi }
11226 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wshift-overflow=2" | $as_tr_sh`
11227 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wshift-overflow=2" >&5
11228 printf %s "checking whether $CC supports -Wshift-overflow=2... " >&6; }
11229 if eval test \${$as_ac_var+y}
11230 then :
11231 printf %s "(cached) " >&6
11232 else $as_nop
11233 ac_wine_try_cflags_saved=$CFLAGS
11234 ac_wine_try_cflags_saved_exeext=$ac_exeext
11235 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wshift-overflow=2"
11236 ac_exeext=".exe"
11237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11238 /* end confdefs.h. */
11239 void *__os_arm64x_dispatch_ret = 0;
11240 int __cdecl mainCRTStartup(void) { return 0; }
11241 _ACEOF
11242 if ac_fn_c_try_link "$LINENO"
11243 then :
11244 eval "$as_ac_var=yes"
11245 else $as_nop
11246 eval "$as_ac_var=no"
11248 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11249 conftest$ac_exeext conftest.$ac_ext
11250 CFLAGS=$ac_wine_try_cflags_saved
11251 ac_exeext=$ac_wine_try_cflags_saved_exeext
11253 eval ac_res=\$$as_ac_var
11254 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11255 printf "%s\n" "$ac_res" >&6; }
11256 if eval test \"x\$"$as_ac_var"\" = x"yes"
11257 then :
11258 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wshift-overflow=2"
11259 fi }
11260 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wstrict-prototypes" | $as_tr_sh`
11261 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wstrict-prototypes" >&5
11262 printf %s "checking whether $CC supports -Wstrict-prototypes... " >&6; }
11263 if eval test \${$as_ac_var+y}
11264 then :
11265 printf %s "(cached) " >&6
11266 else $as_nop
11267 ac_wine_try_cflags_saved=$CFLAGS
11268 ac_wine_try_cflags_saved_exeext=$ac_exeext
11269 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wstrict-prototypes"
11270 ac_exeext=".exe"
11271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11272 /* end confdefs.h. */
11273 void *__os_arm64x_dispatch_ret = 0;
11274 int __cdecl mainCRTStartup(void) { return 0; }
11275 _ACEOF
11276 if ac_fn_c_try_link "$LINENO"
11277 then :
11278 eval "$as_ac_var=yes"
11279 else $as_nop
11280 eval "$as_ac_var=no"
11282 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11283 conftest$ac_exeext conftest.$ac_ext
11284 CFLAGS=$ac_wine_try_cflags_saved
11285 ac_exeext=$ac_wine_try_cflags_saved_exeext
11287 eval ac_res=\$$as_ac_var
11288 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11289 printf "%s\n" "$ac_res" >&6; }
11290 if eval test \"x\$"$as_ac_var"\" = x"yes"
11291 then :
11292 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wstrict-prototypes"
11293 fi }
11294 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wtype-limits" | $as_tr_sh`
11295 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wtype-limits" >&5
11296 printf %s "checking whether $CC supports -Wtype-limits... " >&6; }
11297 if eval test \${$as_ac_var+y}
11298 then :
11299 printf %s "(cached) " >&6
11300 else $as_nop
11301 ac_wine_try_cflags_saved=$CFLAGS
11302 ac_wine_try_cflags_saved_exeext=$ac_exeext
11303 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wtype-limits"
11304 ac_exeext=".exe"
11305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11306 /* end confdefs.h. */
11307 void *__os_arm64x_dispatch_ret = 0;
11308 int __cdecl mainCRTStartup(void) { return 0; }
11309 _ACEOF
11310 if ac_fn_c_try_link "$LINENO"
11311 then :
11312 eval "$as_ac_var=yes"
11313 else $as_nop
11314 eval "$as_ac_var=no"
11316 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11317 conftest$ac_exeext conftest.$ac_ext
11318 CFLAGS=$ac_wine_try_cflags_saved
11319 ac_exeext=$ac_wine_try_cflags_saved_exeext
11321 eval ac_res=\$$as_ac_var
11322 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11323 printf "%s\n" "$ac_res" >&6; }
11324 if eval test \"x\$"$as_ac_var"\" = x"yes"
11325 then :
11326 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wtype-limits"
11327 fi }
11328 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wunused-but-set-parameter" | $as_tr_sh`
11329 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wunused-but-set-parameter" >&5
11330 printf %s "checking whether $CC supports -Wunused-but-set-parameter... " >&6; }
11331 if eval test \${$as_ac_var+y}
11332 then :
11333 printf %s "(cached) " >&6
11334 else $as_nop
11335 ac_wine_try_cflags_saved=$CFLAGS
11336 ac_wine_try_cflags_saved_exeext=$ac_exeext
11337 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wunused-but-set-parameter"
11338 ac_exeext=".exe"
11339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11340 /* end confdefs.h. */
11341 void *__os_arm64x_dispatch_ret = 0;
11342 int __cdecl mainCRTStartup(void) { return 0; }
11343 _ACEOF
11344 if ac_fn_c_try_link "$LINENO"
11345 then :
11346 eval "$as_ac_var=yes"
11347 else $as_nop
11348 eval "$as_ac_var=no"
11350 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11351 conftest$ac_exeext conftest.$ac_ext
11352 CFLAGS=$ac_wine_try_cflags_saved
11353 ac_exeext=$ac_wine_try_cflags_saved_exeext
11355 eval ac_res=\$$as_ac_var
11356 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11357 printf "%s\n" "$ac_res" >&6; }
11358 if eval test \"x\$"$as_ac_var"\" = x"yes"
11359 then :
11360 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wunused-but-set-parameter"
11361 fi }
11362 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wvla" | $as_tr_sh`
11363 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wvla" >&5
11364 printf %s "checking whether $CC supports -Wvla... " >&6; }
11365 if eval test \${$as_ac_var+y}
11366 then :
11367 printf %s "(cached) " >&6
11368 else $as_nop
11369 ac_wine_try_cflags_saved=$CFLAGS
11370 ac_wine_try_cflags_saved_exeext=$ac_exeext
11371 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wvla"
11372 ac_exeext=".exe"
11373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11374 /* end confdefs.h. */
11375 void *__os_arm64x_dispatch_ret = 0;
11376 int __cdecl mainCRTStartup(void) { return 0; }
11377 _ACEOF
11378 if ac_fn_c_try_link "$LINENO"
11379 then :
11380 eval "$as_ac_var=yes"
11381 else $as_nop
11382 eval "$as_ac_var=no"
11384 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11385 conftest$ac_exeext conftest.$ac_ext
11386 CFLAGS=$ac_wine_try_cflags_saved
11387 ac_exeext=$ac_wine_try_cflags_saved_exeext
11389 eval ac_res=\$$as_ac_var
11390 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11391 printf "%s\n" "$ac_res" >&6; }
11392 if eval test \"x\$"$as_ac_var"\" = x"yes"
11393 then :
11394 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wvla"
11395 fi }
11396 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wwrite-strings" | $as_tr_sh`
11397 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wwrite-strings" >&5
11398 printf %s "checking whether $CC supports -Wwrite-strings... " >&6; }
11399 if eval test \${$as_ac_var+y}
11400 then :
11401 printf %s "(cached) " >&6
11402 else $as_nop
11403 ac_wine_try_cflags_saved=$CFLAGS
11404 ac_wine_try_cflags_saved_exeext=$ac_exeext
11405 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wwrite-strings"
11406 ac_exeext=".exe"
11407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11408 /* end confdefs.h. */
11409 void *__os_arm64x_dispatch_ret = 0;
11410 int __cdecl mainCRTStartup(void) { return 0; }
11411 _ACEOF
11412 if ac_fn_c_try_link "$LINENO"
11413 then :
11414 eval "$as_ac_var=yes"
11415 else $as_nop
11416 eval "$as_ac_var=no"
11418 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11419 conftest$ac_exeext conftest.$ac_ext
11420 CFLAGS=$ac_wine_try_cflags_saved
11421 ac_exeext=$ac_wine_try_cflags_saved_exeext
11423 eval ac_res=\$$as_ac_var
11424 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11425 printf "%s\n" "$ac_res" >&6; }
11426 if eval test \"x\$"$as_ac_var"\" = x"yes"
11427 then :
11428 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wwrite-strings"
11429 fi }
11430 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpointer-arith" | $as_tr_sh`
11431 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpointer-arith" >&5
11432 printf %s "checking whether $CC supports -Wpointer-arith... " >&6; }
11433 if eval test \${$as_ac_var+y}
11434 then :
11435 printf %s "(cached) " >&6
11436 else $as_nop
11437 ac_wine_try_cflags_saved=$CFLAGS
11438 ac_wine_try_cflags_saved_exeext=$ac_exeext
11439 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wpointer-arith"
11440 ac_exeext=".exe"
11441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11442 /* end confdefs.h. */
11443 void *__os_arm64x_dispatch_ret = 0;
11444 int __cdecl mainCRTStartup(void) { return 0; }
11445 _ACEOF
11446 if ac_fn_c_try_link "$LINENO"
11447 then :
11448 eval "$as_ac_var=yes"
11449 else $as_nop
11450 eval "$as_ac_var=no"
11452 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11453 conftest$ac_exeext conftest.$ac_ext
11454 CFLAGS=$ac_wine_try_cflags_saved
11455 ac_exeext=$ac_wine_try_cflags_saved_exeext
11457 eval ac_res=\$$as_ac_var
11458 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11459 printf "%s\n" "$ac_res" >&6; }
11460 if eval test \"x\$"$as_ac_var"\" = x"yes"
11461 then :
11462 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wpointer-arith"
11463 fi }
11464 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wlogical-op" | $as_tr_sh`
11465 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wlogical-op" >&5
11466 printf %s "checking whether $CC supports -Wlogical-op... " >&6; }
11467 if eval test \${$as_ac_var+y}
11468 then :
11469 printf %s "(cached) " >&6
11470 else $as_nop
11471 ac_wine_try_cflags_saved=$CFLAGS
11472 ac_wine_try_cflags_saved_exeext=$ac_exeext
11473 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wlogical-op"
11474 ac_exeext=".exe"
11475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11476 /* end confdefs.h. */
11477 void *__os_arm64x_dispatch_ret = 0;
11478 int __cdecl mainCRTStartup(void) { return 0; }
11479 _ACEOF
11480 if ac_fn_c_try_link "$LINENO"
11481 then :
11482 eval "$as_ac_var=yes"
11483 else $as_nop
11484 eval "$as_ac_var=no"
11486 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11487 conftest$ac_exeext conftest.$ac_ext
11488 CFLAGS=$ac_wine_try_cflags_saved
11489 ac_exeext=$ac_wine_try_cflags_saved_exeext
11491 eval ac_res=\$$as_ac_var
11492 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11493 printf "%s\n" "$ac_res" >&6; }
11494 if eval test \"x\$"$as_ac_var"\" = x"yes"
11495 then :
11496 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wlogical-op"
11497 fi }
11498 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wabsolute-value" | $as_tr_sh`
11499 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wabsolute-value" >&5
11500 printf %s "checking whether $CC supports -Wabsolute-value... " >&6; }
11501 if eval test \${$as_ac_var+y}
11502 then :
11503 printf %s "(cached) " >&6
11504 else $as_nop
11505 ac_wine_try_cflags_saved=$CFLAGS
11506 ac_wine_try_cflags_saved_exeext=$ac_exeext
11507 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wabsolute-value"
11508 ac_exeext=".exe"
11509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11510 /* end confdefs.h. */
11511 void *__os_arm64x_dispatch_ret = 0;
11512 int __cdecl mainCRTStartup(void) { return 0; }
11513 _ACEOF
11514 if ac_fn_c_try_link "$LINENO"
11515 then :
11516 eval "$as_ac_var=yes"
11517 else $as_nop
11518 eval "$as_ac_var=no"
11520 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11521 conftest$ac_exeext conftest.$ac_ext
11522 CFLAGS=$ac_wine_try_cflags_saved
11523 ac_exeext=$ac_wine_try_cflags_saved_exeext
11525 eval ac_res=\$$as_ac_var
11526 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11527 printf "%s\n" "$ac_res" >&6; }
11528 if eval test \"x\$"$as_ac_var"\" = x"yes"
11529 then :
11530 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wabsolute-value"
11531 fi }
11532 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wenum-conversion" | $as_tr_sh`
11533 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wenum-conversion" >&5
11534 printf %s "checking whether $CC supports -Wenum-conversion... " >&6; }
11535 if eval test \${$as_ac_var+y}
11536 then :
11537 printf %s "(cached) " >&6
11538 else $as_nop
11539 ac_wine_try_cflags_saved=$CFLAGS
11540 ac_wine_try_cflags_saved_exeext=$ac_exeext
11541 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wenum-conversion"
11542 ac_exeext=".exe"
11543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11544 /* end confdefs.h. */
11545 void *__os_arm64x_dispatch_ret = 0;
11546 int __cdecl mainCRTStartup(void) { return 0; }
11547 _ACEOF
11548 if ac_fn_c_try_link "$LINENO"
11549 then :
11550 eval "$as_ac_var=yes"
11551 else $as_nop
11552 eval "$as_ac_var=no"
11554 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11555 conftest$ac_exeext conftest.$ac_ext
11556 CFLAGS=$ac_wine_try_cflags_saved
11557 ac_exeext=$ac_wine_try_cflags_saved_exeext
11559 eval ac_res=\$$as_ac_var
11560 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11561 printf "%s\n" "$ac_res" >&6; }
11562 if eval test \"x\$"$as_ac_var"\" = x"yes"
11563 then :
11564 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wenum-conversion"
11565 fi }
11567 case $wine_arch in
11568 i386) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-fno-omit-frame-pointer" | $as_tr_sh`
11569 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -fno-omit-frame-pointer" >&5
11570 printf %s "checking whether $CC supports -fno-omit-frame-pointer... " >&6; }
11571 if eval test \${$as_ac_var+y}
11572 then :
11573 printf %s "(cached) " >&6
11574 else $as_nop
11575 ac_wine_try_cflags_saved=$CFLAGS
11576 ac_wine_try_cflags_saved_exeext=$ac_exeext
11577 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -fno-omit-frame-pointer"
11578 ac_exeext=".exe"
11579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11580 /* end confdefs.h. */
11581 void *__os_arm64x_dispatch_ret = 0;
11582 int __cdecl mainCRTStartup(void) { return 0; }
11583 _ACEOF
11584 if ac_fn_c_try_link "$LINENO"
11585 then :
11586 eval "$as_ac_var=yes"
11587 else $as_nop
11588 eval "$as_ac_var=no"
11590 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11591 conftest$ac_exeext conftest.$ac_ext
11592 CFLAGS=$ac_wine_try_cflags_saved
11593 ac_exeext=$ac_wine_try_cflags_saved_exeext
11595 eval ac_res=\$$as_ac_var
11596 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11597 printf "%s\n" "$ac_res" >&6; }
11598 if eval test \"x\$"$as_ac_var"\" = x"yes"
11599 then :
11600 as_fn_append ${wine_arch}_EXTRACFLAGS " -fno-omit-frame-pointer"
11601 fi }
11602 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-mpreferred-stack-boundary=2" | $as_tr_sh`
11603 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mpreferred-stack-boundary=2" >&5
11604 printf %s "checking whether $CC supports -mpreferred-stack-boundary=2... " >&6; }
11605 if eval test \${$as_ac_var+y}
11606 then :
11607 printf %s "(cached) " >&6
11608 else $as_nop
11609 ac_wine_try_cflags_saved=$CFLAGS
11610 ac_wine_try_cflags_saved_exeext=$ac_exeext
11611 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -mpreferred-stack-boundary=2"
11612 ac_exeext=".exe"
11613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11614 /* end confdefs.h. */
11615 void *__os_arm64x_dispatch_ret = 0;
11616 int __cdecl mainCRTStartup(void) { return 0; }
11617 _ACEOF
11618 if ac_fn_c_try_link "$LINENO"
11619 then :
11620 eval "$as_ac_var=yes"
11621 else $as_nop
11622 eval "$as_ac_var=no"
11624 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11625 conftest$ac_exeext conftest.$ac_ext
11626 CFLAGS=$ac_wine_try_cflags_saved
11627 ac_exeext=$ac_wine_try_cflags_saved_exeext
11629 eval ac_res=\$$as_ac_var
11630 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11631 printf "%s\n" "$ac_res" >&6; }
11632 if eval test \"x\$"$as_ac_var"\" = x"yes"
11633 then :
11634 as_fn_append ${wine_arch}_EXTRACFLAGS " -mpreferred-stack-boundary=2"
11635 fi }
11636 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wl,--disable-stdcall-fixup" | $as_tr_sh`
11637 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wl,--disable-stdcall-fixup" >&5
11638 printf %s "checking whether $CC supports -Wl,--disable-stdcall-fixup... " >&6; }
11639 if eval test \${$as_ac_var+y}
11640 then :
11641 printf %s "(cached) " >&6
11642 else $as_nop
11643 ac_wine_try_cflags_saved=$CFLAGS
11644 ac_wine_try_cflags_saved_exeext=$ac_exeext
11645 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wl,--disable-stdcall-fixup"
11646 ac_exeext=".exe"
11647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11648 /* end confdefs.h. */
11649 void *__os_arm64x_dispatch_ret = 0;
11650 int __cdecl mainCRTStartup(void) { return 0; }
11651 _ACEOF
11652 if ac_fn_c_try_link "$LINENO"
11653 then :
11654 eval "$as_ac_var=yes"
11655 else $as_nop
11656 eval "$as_ac_var=no"
11658 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11659 conftest$ac_exeext conftest.$ac_ext
11660 CFLAGS=$ac_wine_try_cflags_saved
11661 ac_exeext=$ac_wine_try_cflags_saved_exeext
11663 eval ac_res=\$$as_ac_var
11664 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11665 printf "%s\n" "$ac_res" >&6; }
11666 if eval test \"x\$"$as_ac_var"\" = x"yes"
11667 then :
11668 as_fn_append ${wine_arch}_LDFLAGS " -Wl,--disable-stdcall-fixup"
11669 fi } ;;
11670 x86_64) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wformat-overflow" | $as_tr_sh`
11671 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wformat-overflow" >&5
11672 printf %s "checking whether $CC supports -Wformat-overflow... " >&6; }
11673 if eval test \${$as_ac_var+y}
11674 then :
11675 printf %s "(cached) " >&6
11676 else $as_nop
11677 ac_wine_try_cflags_saved=$CFLAGS
11678 ac_wine_try_cflags_saved_exeext=$ac_exeext
11679 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wformat-overflow"
11680 ac_exeext=".exe"
11681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11682 /* end confdefs.h. */
11683 void *__os_arm64x_dispatch_ret = 0;
11684 int __cdecl mainCRTStartup(void) { return 0; }
11685 _ACEOF
11686 if ac_fn_c_try_link "$LINENO"
11687 then :
11688 eval "$as_ac_var=yes"
11689 else $as_nop
11690 eval "$as_ac_var=no"
11692 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11693 conftest$ac_exeext conftest.$ac_ext
11694 CFLAGS=$ac_wine_try_cflags_saved
11695 ac_exeext=$ac_wine_try_cflags_saved_exeext
11697 eval ac_res=\$$as_ac_var
11698 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11699 printf "%s\n" "$ac_res" >&6; }
11700 if eval test \"x\$"$as_ac_var"\" = x"yes"
11701 then :
11702 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wformat-overflow"
11703 fi }
11704 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wnonnull" | $as_tr_sh`
11705 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wnonnull" >&5
11706 printf %s "checking whether $CC supports -Wnonnull... " >&6; }
11707 if eval test \${$as_ac_var+y}
11708 then :
11709 printf %s "(cached) " >&6
11710 else $as_nop
11711 ac_wine_try_cflags_saved=$CFLAGS
11712 ac_wine_try_cflags_saved_exeext=$ac_exeext
11713 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wnonnull"
11714 ac_exeext=".exe"
11715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11716 /* end confdefs.h. */
11717 void *__os_arm64x_dispatch_ret = 0;
11718 int __cdecl mainCRTStartup(void) { return 0; }
11719 _ACEOF
11720 if ac_fn_c_try_link "$LINENO"
11721 then :
11722 eval "$as_ac_var=yes"
11723 else $as_nop
11724 eval "$as_ac_var=no"
11726 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11727 conftest$ac_exeext conftest.$ac_ext
11728 CFLAGS=$ac_wine_try_cflags_saved
11729 ac_exeext=$ac_wine_try_cflags_saved_exeext
11731 eval ac_res=\$$as_ac_var
11732 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11733 printf "%s\n" "$ac_res" >&6; }
11734 if eval test \"x\$"$as_ac_var"\" = x"yes"
11735 then :
11736 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wnonnull"
11737 fi }
11738 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-mcx16" | $as_tr_sh`
11739 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mcx16" >&5
11740 printf %s "checking whether $CC supports -mcx16... " >&6; }
11741 if eval test \${$as_ac_var+y}
11742 then :
11743 printf %s "(cached) " >&6
11744 else $as_nop
11745 ac_wine_try_cflags_saved=$CFLAGS
11746 ac_wine_try_cflags_saved_exeext=$ac_exeext
11747 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -mcx16"
11748 ac_exeext=".exe"
11749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11750 /* end confdefs.h. */
11751 void *__os_arm64x_dispatch_ret = 0;
11752 int __cdecl mainCRTStartup(void) { return 0; }
11753 _ACEOF
11754 if ac_fn_c_try_link "$LINENO"
11755 then :
11756 eval "$as_ac_var=yes"
11757 else $as_nop
11758 eval "$as_ac_var=no"
11760 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11761 conftest$ac_exeext conftest.$ac_ext
11762 CFLAGS=$ac_wine_try_cflags_saved
11763 ac_exeext=$ac_wine_try_cflags_saved_exeext
11765 eval ac_res=\$$as_ac_var
11766 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11767 printf "%s\n" "$ac_res" >&6; }
11768 if eval test \"x\$"$as_ac_var"\" = x"yes"
11769 then :
11770 as_fn_append ${wine_arch}_EXTRACFLAGS " -mcx16"
11771 fi }
11772 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-mcmodel=small" | $as_tr_sh`
11773 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mcmodel=small" >&5
11774 printf %s "checking whether $CC supports -mcmodel=small... " >&6; }
11775 if eval test \${$as_ac_var+y}
11776 then :
11777 printf %s "(cached) " >&6
11778 else $as_nop
11779 ac_wine_try_cflags_saved=$CFLAGS
11780 ac_wine_try_cflags_saved_exeext=$ac_exeext
11781 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -mcmodel=small"
11782 ac_exeext=".exe"
11783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11784 /* end confdefs.h. */
11785 void *__os_arm64x_dispatch_ret = 0;
11786 int __cdecl mainCRTStartup(void) { return 0; }
11787 _ACEOF
11788 if ac_fn_c_try_link "$LINENO"
11789 then :
11790 eval "$as_ac_var=yes"
11791 else $as_nop
11792 eval "$as_ac_var=no"
11794 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11795 conftest$ac_exeext conftest.$ac_ext
11796 CFLAGS=$ac_wine_try_cflags_saved
11797 ac_exeext=$ac_wine_try_cflags_saved_exeext
11799 eval ac_res=\$$as_ac_var
11800 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11801 printf "%s\n" "$ac_res" >&6; }
11802 if eval test \"x\$"$as_ac_var"\" = x"yes"
11803 then :
11804 as_fn_append ${wine_arch}_EXTRACFLAGS " -mcmodel=small"
11805 fi } ;;
11806 esac
11808 wine_crossdebug=$CROSSDEBUG
11809 if test -z "$wine_crossdebug"
11810 then
11811 for ac_flag in $CFLAGS; do
11812 case $ac_flag in
11813 -gdwarf*) wine_crossdebug=dwarf ;;
11814 -gcodeview) wine_crossdebug=pdb ;;
11815 -g) wine_crossdebug=${wine_crossdebug:-dwarf} ;;
11816 esac
11817 done
11820 ac_debug_format_seen=""
11821 for ac_flag in $CFLAGS; do
11822 case $ac_flag in
11823 -gdwarf*|-gcodeview) ac_debug_format_seen=$ac_flag ;;
11824 esac
11825 done
11826 if test "x$ac_debug_format_seen" = x
11827 then
11828 case $wine_crossdebug in
11829 *dwarf) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-gdwarf-4" | $as_tr_sh`
11830 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -gdwarf-4" >&5
11831 printf %s "checking whether $CC supports -gdwarf-4... " >&6; }
11832 if eval test \${$as_ac_var+y}
11833 then :
11834 printf %s "(cached) " >&6
11835 else $as_nop
11836 ac_wine_try_cflags_saved=$CFLAGS
11837 ac_wine_try_cflags_saved_exeext=$ac_exeext
11838 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -gdwarf-4"
11839 ac_exeext=".exe"
11840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11841 /* end confdefs.h. */
11842 void *__os_arm64x_dispatch_ret = 0;
11843 int __cdecl mainCRTStartup(void) { return 0; }
11844 _ACEOF
11845 if ac_fn_c_try_link "$LINENO"
11846 then :
11847 eval "$as_ac_var=yes"
11848 else $as_nop
11849 eval "$as_ac_var=no"
11851 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11852 conftest$ac_exeext conftest.$ac_ext
11853 CFLAGS=$ac_wine_try_cflags_saved
11854 ac_exeext=$ac_wine_try_cflags_saved_exeext
11856 eval ac_res=\$$as_ac_var
11857 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11858 printf "%s\n" "$ac_res" >&6; }
11859 if eval test \"x\$"$as_ac_var"\" = x"yes"
11860 then :
11861 as_fn_append ${wine_arch}_EXTRACFLAGS " -gdwarf-4"
11862 fi } ;;
11863 pdb) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-gcodeview" | $as_tr_sh`
11864 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -gcodeview" >&5
11865 printf %s "checking whether $CC supports -gcodeview... " >&6; }
11866 if eval test \${$as_ac_var+y}
11867 then :
11868 printf %s "(cached) " >&6
11869 else $as_nop
11870 ac_wine_try_cflags_saved=$CFLAGS
11871 ac_wine_try_cflags_saved_exeext=$ac_exeext
11872 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -gcodeview"
11873 ac_exeext=".exe"
11874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11875 /* end confdefs.h. */
11876 void *__os_arm64x_dispatch_ret = 0;
11877 int __cdecl mainCRTStartup(void) { return 0; }
11878 _ACEOF
11879 if ac_fn_c_try_link "$LINENO"
11880 then :
11881 eval "$as_ac_var=yes"
11882 else $as_nop
11883 eval "$as_ac_var=no"
11885 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11886 conftest$ac_exeext conftest.$ac_ext
11887 CFLAGS=$ac_wine_try_cflags_saved
11888 ac_exeext=$ac_wine_try_cflags_saved_exeext
11890 eval ac_res=\$$as_ac_var
11891 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11892 printf "%s\n" "$ac_res" >&6; }
11893 if eval test \"x\$"$as_ac_var"\" = x"yes"
11894 then :
11895 as_fn_append ${wine_arch}_EXTRACFLAGS " -gcodeview"
11896 fi } ;;
11897 esac
11899 eval "${wine_arch}_DEBUG=\$wine_crossdebug"
11901 test "x$enable_werror" != xyes || { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror" | $as_tr_sh`
11902 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror" >&5
11903 printf %s "checking whether $CC supports -Werror... " >&6; }
11904 if eval test \${$as_ac_var+y}
11905 then :
11906 printf %s "(cached) " >&6
11907 else $as_nop
11908 ac_wine_try_cflags_saved=$CFLAGS
11909 ac_wine_try_cflags_saved_exeext=$ac_exeext
11910 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Werror"
11911 ac_exeext=".exe"
11912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11913 /* end confdefs.h. */
11914 void *__os_arm64x_dispatch_ret = 0;
11915 int __cdecl mainCRTStartup(void) { return 0; }
11916 _ACEOF
11917 if ac_fn_c_try_link "$LINENO"
11918 then :
11919 eval "$as_ac_var=yes"
11920 else $as_nop
11921 eval "$as_ac_var=no"
11923 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11924 conftest$ac_exeext conftest.$ac_ext
11925 CFLAGS=$ac_wine_try_cflags_saved
11926 ac_exeext=$ac_wine_try_cflags_saved_exeext
11928 eval ac_res=\$$as_ac_var
11929 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11930 printf "%s\n" "$ac_res" >&6; }
11931 if eval test \"x\$"$as_ac_var"\" = x"yes"
11932 then :
11933 as_fn_append ${wine_arch}_EXTRACFLAGS " -Werror"
11934 fi }
11935 test "x$enable_build_id" != xyes || { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wl,--build-id" | $as_tr_sh`
11936 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wl,--build-id" >&5
11937 printf %s "checking whether $CC supports -Wl,--build-id... " >&6; }
11938 if eval test \${$as_ac_var+y}
11939 then :
11940 printf %s "(cached) " >&6
11941 else $as_nop
11942 ac_wine_try_cflags_saved=$CFLAGS
11943 ac_wine_try_cflags_saved_exeext=$ac_exeext
11944 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wl,--build-id"
11945 ac_exeext=".exe"
11946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11947 /* end confdefs.h. */
11948 void *__os_arm64x_dispatch_ret = 0;
11949 int __cdecl mainCRTStartup(void) { return 0; }
11950 _ACEOF
11951 if ac_fn_c_try_link "$LINENO"
11952 then :
11953 eval "$as_ac_var=yes"
11954 else $as_nop
11955 eval "$as_ac_var=no"
11957 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11958 conftest$ac_exeext conftest.$ac_ext
11959 CFLAGS=$ac_wine_try_cflags_saved
11960 ac_exeext=$ac_wine_try_cflags_saved_exeext
11962 eval ac_res=\$$as_ac_var
11963 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11964 printf "%s\n" "$ac_res" >&6; }
11965 if eval test \"x\$"$as_ac_var"\" = x"yes"
11966 then :
11967 as_fn_append ${wine_arch}_CFLAGS " -Wl,--build-id"
11968 as_fn_append ${wine_arch}_LDFLAGS " -Wl,--build-id"
11969 fi }
11971 CC=$saved_CC
11972 CFLAGS=$saved_CFLAGS
11973 LDFLAGS=$saved_LDFLAGS
11974 done
11976 if test $HOST_ARCH = aarch64
11977 then
11978 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
11979 DLLEXT=""
11983 if test "x$with_system_dllpath" != "x" -a -n "$PE_ARCHS"
11984 then
11985 if test "x$HOST_ARCH" = xi386
11986 then :
11987 ac_prefix_list="i686-w64-mingw32-pkg-config i586-w64-mingw32-pkg-config i486-w64-mingw32-pkg-config i386-w64-mingw32-pkg-config "
11988 else $as_nop
11989 ac_prefix_list="$host_cpu-w64-mingw32-pkg-config"
11991 for ac_prog in $ac_prefix_list
11993 # Extract the first word of "$ac_prog", so it can be a program name with args.
11994 set dummy $ac_prog; ac_word=$2
11995 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11996 printf %s "checking for $ac_word... " >&6; }
11997 if test ${ac_cv_prog_MINGW_PKG_CONFIG+y}
11998 then :
11999 printf %s "(cached) " >&6
12000 else $as_nop
12001 if test -n "$MINGW_PKG_CONFIG"; then
12002 ac_cv_prog_MINGW_PKG_CONFIG="$MINGW_PKG_CONFIG" # Let the user override the test.
12003 else
12004 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12005 for as_dir in $PATH
12007 IFS=$as_save_IFS
12008 case $as_dir in #(((
12009 '') as_dir=./ ;;
12010 */) ;;
12011 *) as_dir=$as_dir/ ;;
12012 esac
12013 for ac_exec_ext in '' $ac_executable_extensions; do
12014 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
12015 ac_cv_prog_MINGW_PKG_CONFIG="$ac_prog"
12016 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
12017 break 2
12019 done
12020 done
12021 IFS=$as_save_IFS
12025 MINGW_PKG_CONFIG=$ac_cv_prog_MINGW_PKG_CONFIG
12026 if test -n "$MINGW_PKG_CONFIG"; then
12027 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MINGW_PKG_CONFIG" >&5
12028 printf "%s\n" "$MINGW_PKG_CONFIG" >&6; }
12029 else
12030 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
12031 printf "%s\n" "no" >&6; }
12035 test -n "$MINGW_PKG_CONFIG" && break
12036 done
12037 test -n "$MINGW_PKG_CONFIG" || MINGW_PKG_CONFIG="false"
12039 if ${FAUDIO_PE_CFLAGS:+false} :
12040 then :
12041 if test ${MINGW_PKG_CONFIG+y}
12042 then :
12043 FAUDIO_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags FAudio 2>/dev/null`
12046 if ${FAUDIO_PE_LIBS:+false} :
12047 then :
12048 if test ${MINGW_PKG_CONFIG+y}
12049 then :
12050 FAUDIO_PE_LIBS=`$MINGW_PKG_CONFIG --libs FAudio 2>/dev/null`
12053 FAUDIO_PE_LIBS=${FAUDIO_PE_LIBS:-"-lFAudio"}
12054 ac_save_CPPFLAGS=$CPPFLAGS
12055 CPPFLAGS="$CPPFLAGS $FAUDIO_PE_CFLAGS"
12056 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW FAudio.h" >&5
12057 printf %s "checking for MinGW FAudio.h... " >&6; }
12058 if test ${ac_cv_mingw_header_FAudio_h+y}
12059 then :
12060 printf %s "(cached) " >&6
12061 else $as_nop
12062 ac_wine_check_headers_saved_cc=$CC
12063 ac_wine_check_headers_saved_exeext=$ac_exeext
12064 eval CC=\$${wine_arch}_CC
12065 ac_exeext=".exe"
12066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12067 /* end confdefs.h. */
12069 #include <FAudio.h>
12071 main (void)
12075 return 0;
12077 _ACEOF
12078 if ac_fn_c_try_compile "$LINENO"
12079 then :
12080 ac_cv_mingw_header_FAudio_h=yes
12081 else $as_nop
12082 ac_cv_mingw_header_FAudio_h=no
12084 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12085 CC=$ac_wine_check_headers_saved_cc
12086 ac_exeext=$ac_wine_check_headers_saved_exeext
12088 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_FAudio_h" >&5
12089 printf "%s\n" "$ac_cv_mingw_header_FAudio_h" >&6; }
12090 if test "x$ac_cv_mingw_header_FAudio_h" = xyes
12091 then :
12092 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for FAudio_CommitOperationSet in MinGW -lFAudio" >&5
12093 printf %s "checking for FAudio_CommitOperationSet in MinGW -lFAudio... " >&6; }
12094 if test ${ac_cv_mingw_lib_FAudio+y}
12095 then :
12096 printf %s "(cached) " >&6
12097 else $as_nop
12098 ac_wine_check_headers_saved_cc=$CC
12099 ac_wine_check_headers_saved_exeext=$ac_exeext
12100 ac_wine_check_headers_saved_libs=$LIBS
12101 eval CC=\$${wine_arch}_CC
12102 ac_exeext=".exe"
12103 LIBS="-lFAudio $FAUDIO_PE_LIBS $LIBS"
12104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12105 /* end confdefs.h. */
12107 /* Override any GCC internal prototype to avoid an error.
12108 Use char because int might match the return type of a GCC
12109 builtin and then its argument prototype would still apply. */
12110 char FAudio_CommitOperationSet ();
12112 main (void)
12114 return FAudio_CommitOperationSet ();
12116 return 0;
12118 _ACEOF
12119 if ac_fn_c_try_link "$LINENO"
12120 then :
12121 ac_cv_mingw_lib_FAudio=yes
12122 else $as_nop
12123 ac_cv_mingw_lib_FAudio=no
12125 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12126 conftest$ac_exeext conftest.$ac_ext
12127 CC=$ac_wine_check_headers_saved_cc
12128 ac_exeext=$ac_wine_check_headers_saved_exeext
12129 LIBS=$ac_wine_check_headers_saved_libs
12131 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_FAudio" >&5
12132 printf "%s\n" "$ac_cv_mingw_lib_FAudio" >&6; }
12133 if test "x$ac_cv_mingw_lib_FAudio" = xyes
12134 then :
12136 else $as_nop
12137 FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
12139 else $as_nop
12140 FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
12142 CPPFLAGS=$ac_save_CPPFLAGS
12144 if test "x$FAUDIO_PE_LIBS" = "x"
12145 then
12146 as_fn_append wine_notices "|FAudio ${notice_platform}MinGW development files not found (or too old); using bundled version."
12149 if ${FLUIDSYNTH_PE_CFLAGS:+false} :
12150 then :
12151 if test ${MINGW_PKG_CONFIG+y}
12152 then :
12153 FLUIDSYNTH_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags fluidsynth 2>/dev/null`
12156 if ${FLUIDSYNTH_PE_LIBS:+false} :
12157 then :
12158 if test ${MINGW_PKG_CONFIG+y}
12159 then :
12160 FLUIDSYNTH_PE_LIBS=`$MINGW_PKG_CONFIG --libs fluidsynth 2>/dev/null`
12163 FLUIDSYNTH_PE_LIBS=${FLUIDSYNTH_PE_LIBS:-"-lfluidsynth"}
12164 ac_save_CPPFLAGS=$CPPFLAGS
12165 CPPFLAGS="$CPPFLAGS $FLUIDSYNTH_PE_CFLAGS"
12166 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW fluidsynth.h" >&5
12167 printf %s "checking for MinGW fluidsynth.h... " >&6; }
12168 if test ${ac_cv_mingw_header_fluidsynth_h+y}
12169 then :
12170 printf %s "(cached) " >&6
12171 else $as_nop
12172 ac_wine_check_headers_saved_cc=$CC
12173 ac_wine_check_headers_saved_exeext=$ac_exeext
12174 eval CC=\$${wine_arch}_CC
12175 ac_exeext=".exe"
12176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12177 /* end confdefs.h. */
12179 #include <fluidsynth.h>
12181 main (void)
12185 return 0;
12187 _ACEOF
12188 if ac_fn_c_try_compile "$LINENO"
12189 then :
12190 ac_cv_mingw_header_fluidsynth_h=yes
12191 else $as_nop
12192 ac_cv_mingw_header_fluidsynth_h=no
12194 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12195 CC=$ac_wine_check_headers_saved_cc
12196 ac_exeext=$ac_wine_check_headers_saved_exeext
12198 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_fluidsynth_h" >&5
12199 printf "%s\n" "$ac_cv_mingw_header_fluidsynth_h" >&6; }
12200 if test "x$ac_cv_mingw_header_fluidsynth_h" = xyes
12201 then :
12202 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for new_fluid_synth in MinGW -lfluidsynth" >&5
12203 printf %s "checking for new_fluid_synth in MinGW -lfluidsynth... " >&6; }
12204 if test ${ac_cv_mingw_lib_fluidsynth+y}
12205 then :
12206 printf %s "(cached) " >&6
12207 else $as_nop
12208 ac_wine_check_headers_saved_cc=$CC
12209 ac_wine_check_headers_saved_exeext=$ac_exeext
12210 ac_wine_check_headers_saved_libs=$LIBS
12211 eval CC=\$${wine_arch}_CC
12212 ac_exeext=".exe"
12213 LIBS="-lfluidsynth $FLUIDSYNTH_PE_LIBS $LIBS"
12214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12215 /* end confdefs.h. */
12217 /* Override any GCC internal prototype to avoid an error.
12218 Use char because int might match the return type of a GCC
12219 builtin and then its argument prototype would still apply. */
12220 char new_fluid_synth ();
12222 main (void)
12224 return new_fluid_synth ();
12226 return 0;
12228 _ACEOF
12229 if ac_fn_c_try_link "$LINENO"
12230 then :
12231 ac_cv_mingw_lib_fluidsynth=yes
12232 else $as_nop
12233 ac_cv_mingw_lib_fluidsynth=no
12235 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12236 conftest$ac_exeext conftest.$ac_ext
12237 CC=$ac_wine_check_headers_saved_cc
12238 ac_exeext=$ac_wine_check_headers_saved_exeext
12239 LIBS=$ac_wine_check_headers_saved_libs
12241 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_fluidsynth" >&5
12242 printf "%s\n" "$ac_cv_mingw_lib_fluidsynth" >&6; }
12243 if test "x$ac_cv_mingw_lib_fluidsynth" = xyes
12244 then :
12246 else $as_nop
12247 FLUIDSYNTH_PE_CFLAGS=""; FLUIDSYNTH_PE_LIBS=""
12249 else $as_nop
12250 FLUIDSYNTH_PE_CFLAGS=""; FLUIDSYNTH_PE_LIBS=""
12252 CPPFLAGS=$ac_save_CPPFLAGS
12254 if test "x$FLUIDSYNTH_PE_LIBS" = "x"
12255 then
12256 as_fn_append wine_notices "|Fluidsynth ${notice_platform}MinGW development files not found (or too old); using bundled version."
12259 if ${JPEG_PE_CFLAGS:+false} :
12260 then :
12261 if test ${MINGW_PKG_CONFIG+y}
12262 then :
12263 JPEG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libjpeg 2>/dev/null`
12266 if ${JPEG_PE_LIBS:+false} :
12267 then :
12268 if test ${MINGW_PKG_CONFIG+y}
12269 then :
12270 JPEG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libjpeg 2>/dev/null`
12274 ac_save_CPPFLAGS=$CPPFLAGS
12275 CPPFLAGS="$CPPFLAGS $JPEG_PE_CFLAGS"
12276 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW jpeglib.h" >&5
12277 printf %s "checking for MinGW jpeglib.h... " >&6; }
12278 if test ${ac_cv_mingw_header_jpeglib_h+y}
12279 then :
12280 printf %s "(cached) " >&6
12281 else $as_nop
12282 ac_wine_check_headers_saved_cc=$CC
12283 ac_wine_check_headers_saved_exeext=$ac_exeext
12284 eval CC=\$${wine_arch}_CC
12285 ac_exeext=".exe"
12286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12287 /* end confdefs.h. */
12288 #include <stddef.h>
12289 #include <stdio.h>
12290 #include <jpeglib.h>
12292 main (void)
12296 return 0;
12298 _ACEOF
12299 if ac_fn_c_try_compile "$LINENO"
12300 then :
12301 ac_cv_mingw_header_jpeglib_h=yes
12302 else $as_nop
12303 ac_cv_mingw_header_jpeglib_h=no
12305 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12306 CC=$ac_wine_check_headers_saved_cc
12307 ac_exeext=$ac_wine_check_headers_saved_exeext
12309 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_jpeglib_h" >&5
12310 printf "%s\n" "$ac_cv_mingw_header_jpeglib_h" >&6; }
12311 if test "x$ac_cv_mingw_header_jpeglib_h" = xyes
12312 then :
12313 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for jpeg_start_decompress in MinGW -ljpeg" >&5
12314 printf %s "checking for jpeg_start_decompress in MinGW -ljpeg... " >&6; }
12315 if test ${ac_cv_mingw_lib_jpeg+y}
12316 then :
12317 printf %s "(cached) " >&6
12318 else $as_nop
12319 ac_wine_check_headers_saved_cc=$CC
12320 ac_wine_check_headers_saved_exeext=$ac_exeext
12321 ac_wine_check_headers_saved_libs=$LIBS
12322 eval CC=\$${wine_arch}_CC
12323 ac_exeext=".exe"
12324 LIBS="-ljpeg $JPEG_PE_LIBS $LIBS"
12325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12326 /* end confdefs.h. */
12328 /* Override any GCC internal prototype to avoid an error.
12329 Use char because int might match the return type of a GCC
12330 builtin and then its argument prototype would still apply. */
12331 char jpeg_start_decompress ();
12333 main (void)
12335 return jpeg_start_decompress ();
12337 return 0;
12339 _ACEOF
12340 if ac_fn_c_try_link "$LINENO"
12341 then :
12342 ac_cv_mingw_lib_jpeg=yes
12343 else $as_nop
12344 ac_cv_mingw_lib_jpeg=no
12346 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12347 conftest$ac_exeext conftest.$ac_ext
12348 CC=$ac_wine_check_headers_saved_cc
12349 ac_exeext=$ac_wine_check_headers_saved_exeext
12350 LIBS=$ac_wine_check_headers_saved_libs
12352 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_jpeg" >&5
12353 printf "%s\n" "$ac_cv_mingw_lib_jpeg" >&6; }
12354 if test "x$ac_cv_mingw_lib_jpeg" = xyes
12355 then :
12357 else $as_nop
12358 JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
12360 else $as_nop
12361 JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
12363 CPPFLAGS=$ac_save_CPPFLAGS
12365 if test "x$JPEG_PE_LIBS" = "x"
12366 then
12367 as_fn_append wine_notices "|libjpeg ${notice_platform}MinGW development files not found; using bundled version."
12370 if ${LCMS2_PE_CFLAGS:+false} :
12371 then :
12372 if test ${MINGW_PKG_CONFIG+y}
12373 then :
12374 LCMS2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags lcms2 2>/dev/null`
12377 if ${LCMS2_PE_LIBS:+false} :
12378 then :
12379 if test ${MINGW_PKG_CONFIG+y}
12380 then :
12381 LCMS2_PE_LIBS=`$MINGW_PKG_CONFIG --libs lcms2 2>/dev/null`
12384 LCMS2_PE_LIBS=${LCMS2_PE_LIBS:-"-llcms2"}
12385 ac_save_CPPFLAGS=$CPPFLAGS
12386 CPPFLAGS="$CPPFLAGS $LCMS2_PE_CFLAGS"
12387 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW lcms2.h" >&5
12388 printf %s "checking for MinGW lcms2.h... " >&6; }
12389 if test ${ac_cv_mingw_header_lcms2_h+y}
12390 then :
12391 printf %s "(cached) " >&6
12392 else $as_nop
12393 ac_wine_check_headers_saved_cc=$CC
12394 ac_wine_check_headers_saved_exeext=$ac_exeext
12395 eval CC=\$${wine_arch}_CC
12396 ac_exeext=".exe"
12397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12398 /* end confdefs.h. */
12400 #include <lcms2.h>
12402 main (void)
12406 return 0;
12408 _ACEOF
12409 if ac_fn_c_try_compile "$LINENO"
12410 then :
12411 ac_cv_mingw_header_lcms2_h=yes
12412 else $as_nop
12413 ac_cv_mingw_header_lcms2_h=no
12415 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12416 CC=$ac_wine_check_headers_saved_cc
12417 ac_exeext=$ac_wine_check_headers_saved_exeext
12419 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_lcms2_h" >&5
12420 printf "%s\n" "$ac_cv_mingw_header_lcms2_h" >&6; }
12421 if test "x$ac_cv_mingw_header_lcms2_h" = xyes
12422 then :
12423 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in MinGW -llcms2" >&5
12424 printf %s "checking for cmsOpenProfileFromFile in MinGW -llcms2... " >&6; }
12425 if test ${ac_cv_mingw_lib_lcms2+y}
12426 then :
12427 printf %s "(cached) " >&6
12428 else $as_nop
12429 ac_wine_check_headers_saved_cc=$CC
12430 ac_wine_check_headers_saved_exeext=$ac_exeext
12431 ac_wine_check_headers_saved_libs=$LIBS
12432 eval CC=\$${wine_arch}_CC
12433 ac_exeext=".exe"
12434 LIBS="-llcms2 $LCMS2_PE_LIBS $LIBS"
12435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12436 /* end confdefs.h. */
12438 /* Override any GCC internal prototype to avoid an error.
12439 Use char because int might match the return type of a GCC
12440 builtin and then its argument prototype would still apply. */
12441 char cmsOpenProfileFromFile ();
12443 main (void)
12445 return cmsOpenProfileFromFile ();
12447 return 0;
12449 _ACEOF
12450 if ac_fn_c_try_link "$LINENO"
12451 then :
12452 ac_cv_mingw_lib_lcms2=yes
12453 else $as_nop
12454 ac_cv_mingw_lib_lcms2=no
12456 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12457 conftest$ac_exeext conftest.$ac_ext
12458 CC=$ac_wine_check_headers_saved_cc
12459 ac_exeext=$ac_wine_check_headers_saved_exeext
12460 LIBS=$ac_wine_check_headers_saved_libs
12462 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_lcms2" >&5
12463 printf "%s\n" "$ac_cv_mingw_lib_lcms2" >&6; }
12464 if test "x$ac_cv_mingw_lib_lcms2" = xyes
12465 then :
12467 else $as_nop
12468 LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
12470 else $as_nop
12471 LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
12473 CPPFLAGS=$ac_save_CPPFLAGS
12475 if test "x$LCMS2_PE_LIBS" = "x"
12476 then
12477 as_fn_append wine_notices "|liblcms2 ${notice_platform}MinGW development files not found; using bundled version."
12480 if ${MPG123_PE_CFLAGS:+false} :
12481 then :
12482 if test ${MINGW_PKG_CONFIG+y}
12483 then :
12484 MPG123_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libmpg123 2>/dev/null`
12487 if ${MPG123_PE_LIBS:+false} :
12488 then :
12489 if test ${MINGW_PKG_CONFIG+y}
12490 then :
12491 MPG123_PE_LIBS=`$MINGW_PKG_CONFIG --libs libmpg123 2>/dev/null`
12494 MPG123_PE_LIBS=${MPG123_PE_LIBS:-"-lmpg123"}
12495 ac_save_CPPFLAGS=$CPPFLAGS
12496 CPPFLAGS="$CPPFLAGS $MPG123_PE_CFLAGS"
12497 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW mpg123.h" >&5
12498 printf %s "checking for MinGW mpg123.h... " >&6; }
12499 if test ${ac_cv_mingw_header_mpg123_h+y}
12500 then :
12501 printf %s "(cached) " >&6
12502 else $as_nop
12503 ac_wine_check_headers_saved_cc=$CC
12504 ac_wine_check_headers_saved_exeext=$ac_exeext
12505 eval CC=\$${wine_arch}_CC
12506 ac_exeext=".exe"
12507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12508 /* end confdefs.h. */
12510 #include <mpg123.h>
12512 main (void)
12516 return 0;
12518 _ACEOF
12519 if ac_fn_c_try_compile "$LINENO"
12520 then :
12521 ac_cv_mingw_header_mpg123_h=yes
12522 else $as_nop
12523 ac_cv_mingw_header_mpg123_h=no
12525 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12526 CC=$ac_wine_check_headers_saved_cc
12527 ac_exeext=$ac_wine_check_headers_saved_exeext
12529 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_mpg123_h" >&5
12530 printf "%s\n" "$ac_cv_mingw_header_mpg123_h" >&6; }
12531 if test "x$ac_cv_mingw_header_mpg123_h" = xyes
12532 then :
12533 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in MinGW -lmpg123" >&5
12534 printf %s "checking for mpg123_feed in MinGW -lmpg123... " >&6; }
12535 if test ${ac_cv_mingw_lib_mpg123+y}
12536 then :
12537 printf %s "(cached) " >&6
12538 else $as_nop
12539 ac_wine_check_headers_saved_cc=$CC
12540 ac_wine_check_headers_saved_exeext=$ac_exeext
12541 ac_wine_check_headers_saved_libs=$LIBS
12542 eval CC=\$${wine_arch}_CC
12543 ac_exeext=".exe"
12544 LIBS="-lmpg123 $MPG123_PE_LIBS $LIBS"
12545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12546 /* end confdefs.h. */
12548 /* Override any GCC internal prototype to avoid an error.
12549 Use char because int might match the return type of a GCC
12550 builtin and then its argument prototype would still apply. */
12551 char mpg123_feed ();
12553 main (void)
12555 return mpg123_feed ();
12557 return 0;
12559 _ACEOF
12560 if ac_fn_c_try_link "$LINENO"
12561 then :
12562 ac_cv_mingw_lib_mpg123=yes
12563 else $as_nop
12564 ac_cv_mingw_lib_mpg123=no
12566 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12567 conftest$ac_exeext conftest.$ac_ext
12568 CC=$ac_wine_check_headers_saved_cc
12569 ac_exeext=$ac_wine_check_headers_saved_exeext
12570 LIBS=$ac_wine_check_headers_saved_libs
12572 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_mpg123" >&5
12573 printf "%s\n" "$ac_cv_mingw_lib_mpg123" >&6; }
12574 if test "x$ac_cv_mingw_lib_mpg123" = xyes
12575 then :
12577 else $as_nop
12578 MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
12580 else $as_nop
12581 MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
12583 CPPFLAGS=$ac_save_CPPFLAGS
12585 if test "x$MPG123_PE_LIBS" = "x"
12586 then
12587 as_fn_append wine_notices "|libmpg123 ${notice_platform}MinGW development files not found (or too old); using bundled version."
12590 if ${PNG_PE_CFLAGS:+false} :
12591 then :
12592 if test ${MINGW_PKG_CONFIG+y}
12593 then :
12594 PNG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libpng 2>/dev/null`
12597 if ${PNG_PE_LIBS:+false} :
12598 then :
12599 if test ${MINGW_PKG_CONFIG+y}
12600 then :
12601 PNG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libpng 2>/dev/null`
12605 ac_save_CPPFLAGS=$CPPFLAGS
12606 CPPFLAGS="$CPPFLAGS $PNG_PE_CFLAGS"
12607 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW png.h" >&5
12608 printf %s "checking for MinGW png.h... " >&6; }
12609 if test ${ac_cv_mingw_header_png_h+y}
12610 then :
12611 printf %s "(cached) " >&6
12612 else $as_nop
12613 ac_wine_check_headers_saved_cc=$CC
12614 ac_wine_check_headers_saved_exeext=$ac_exeext
12615 eval CC=\$${wine_arch}_CC
12616 ac_exeext=".exe"
12617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12618 /* end confdefs.h. */
12620 #include <png.h>
12622 main (void)
12626 return 0;
12628 _ACEOF
12629 if ac_fn_c_try_compile "$LINENO"
12630 then :
12631 ac_cv_mingw_header_png_h=yes
12632 else $as_nop
12633 ac_cv_mingw_header_png_h=no
12635 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12636 CC=$ac_wine_check_headers_saved_cc
12637 ac_exeext=$ac_wine_check_headers_saved_exeext
12639 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_png_h" >&5
12640 printf "%s\n" "$ac_cv_mingw_header_png_h" >&6; }
12641 if test "x$ac_cv_mingw_header_png_h" = xyes
12642 then :
12643 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for png_create_read_struct in MinGW -lpng" >&5
12644 printf %s "checking for png_create_read_struct in MinGW -lpng... " >&6; }
12645 if test ${ac_cv_mingw_lib_png+y}
12646 then :
12647 printf %s "(cached) " >&6
12648 else $as_nop
12649 ac_wine_check_headers_saved_cc=$CC
12650 ac_wine_check_headers_saved_exeext=$ac_exeext
12651 ac_wine_check_headers_saved_libs=$LIBS
12652 eval CC=\$${wine_arch}_CC
12653 ac_exeext=".exe"
12654 LIBS="-lpng $PNG_PE_LIBS $LIBS"
12655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12656 /* end confdefs.h. */
12658 /* Override any GCC internal prototype to avoid an error.
12659 Use char because int might match the return type of a GCC
12660 builtin and then its argument prototype would still apply. */
12661 char png_create_read_struct ();
12663 main (void)
12665 return png_create_read_struct ();
12667 return 0;
12669 _ACEOF
12670 if ac_fn_c_try_link "$LINENO"
12671 then :
12672 ac_cv_mingw_lib_png=yes
12673 else $as_nop
12674 ac_cv_mingw_lib_png=no
12676 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12677 conftest$ac_exeext conftest.$ac_ext
12678 CC=$ac_wine_check_headers_saved_cc
12679 ac_exeext=$ac_wine_check_headers_saved_exeext
12680 LIBS=$ac_wine_check_headers_saved_libs
12682 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_png" >&5
12683 printf "%s\n" "$ac_cv_mingw_lib_png" >&6; }
12684 if test "x$ac_cv_mingw_lib_png" = xyes
12685 then :
12687 else $as_nop
12688 PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
12690 else $as_nop
12691 PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
12693 CPPFLAGS=$ac_save_CPPFLAGS
12695 if test "x$PNG_PE_LIBS" = "x"
12696 then
12697 as_fn_append wine_notices "|libpng ${notice_platform}MinGW development files not found; using bundled version."
12700 if ${TIFF_PE_CFLAGS:+false} :
12701 then :
12702 if test ${MINGW_PKG_CONFIG+y}
12703 then :
12704 TIFF_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libtiff-4 2>/dev/null`
12707 if ${TIFF_PE_LIBS:+false} :
12708 then :
12709 if test ${MINGW_PKG_CONFIG+y}
12710 then :
12711 TIFF_PE_LIBS=`$MINGW_PKG_CONFIG --libs libtiff-4 2>/dev/null`
12715 ac_save_CPPFLAGS=$CPPFLAGS
12716 CPPFLAGS="$CPPFLAGS $TIFF_PE_CFLAGS"
12717 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW tiffio.h" >&5
12718 printf %s "checking for MinGW tiffio.h... " >&6; }
12719 if test ${ac_cv_mingw_header_tiffio_h+y}
12720 then :
12721 printf %s "(cached) " >&6
12722 else $as_nop
12723 ac_wine_check_headers_saved_cc=$CC
12724 ac_wine_check_headers_saved_exeext=$ac_exeext
12725 eval CC=\$${wine_arch}_CC
12726 ac_exeext=".exe"
12727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12728 /* end confdefs.h. */
12730 #include <tiffio.h>
12732 main (void)
12736 return 0;
12738 _ACEOF
12739 if ac_fn_c_try_compile "$LINENO"
12740 then :
12741 ac_cv_mingw_header_tiffio_h=yes
12742 else $as_nop
12743 ac_cv_mingw_header_tiffio_h=no
12745 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12746 CC=$ac_wine_check_headers_saved_cc
12747 ac_exeext=$ac_wine_check_headers_saved_exeext
12749 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_tiffio_h" >&5
12750 printf "%s\n" "$ac_cv_mingw_header_tiffio_h" >&6; }
12751 if test "x$ac_cv_mingw_header_tiffio_h" = xyes
12752 then :
12753 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for TIFFClientOpen in MinGW -ltiff" >&5
12754 printf %s "checking for TIFFClientOpen in MinGW -ltiff... " >&6; }
12755 if test ${ac_cv_mingw_lib_tiff+y}
12756 then :
12757 printf %s "(cached) " >&6
12758 else $as_nop
12759 ac_wine_check_headers_saved_cc=$CC
12760 ac_wine_check_headers_saved_exeext=$ac_exeext
12761 ac_wine_check_headers_saved_libs=$LIBS
12762 eval CC=\$${wine_arch}_CC
12763 ac_exeext=".exe"
12764 LIBS="-ltiff $TIFF_PE_LIBS $LIBS"
12765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12766 /* end confdefs.h. */
12768 /* Override any GCC internal prototype to avoid an error.
12769 Use char because int might match the return type of a GCC
12770 builtin and then its argument prototype would still apply. */
12771 char TIFFClientOpen ();
12773 main (void)
12775 return TIFFClientOpen ();
12777 return 0;
12779 _ACEOF
12780 if ac_fn_c_try_link "$LINENO"
12781 then :
12782 ac_cv_mingw_lib_tiff=yes
12783 else $as_nop
12784 ac_cv_mingw_lib_tiff=no
12786 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12787 conftest$ac_exeext conftest.$ac_ext
12788 CC=$ac_wine_check_headers_saved_cc
12789 ac_exeext=$ac_wine_check_headers_saved_exeext
12790 LIBS=$ac_wine_check_headers_saved_libs
12792 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_tiff" >&5
12793 printf "%s\n" "$ac_cv_mingw_lib_tiff" >&6; }
12794 if test "x$ac_cv_mingw_lib_tiff" = xyes
12795 then :
12797 else $as_nop
12798 TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
12800 else $as_nop
12801 TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
12803 CPPFLAGS=$ac_save_CPPFLAGS
12805 if test "x$TIFF_PE_LIBS" = "x"
12806 then
12807 as_fn_append wine_notices "|libtiff ${notice_platform}MinGW development files not found; using bundled version."
12810 if ${XML2_PE_CFLAGS:+false} :
12811 then :
12812 if test ${MINGW_PKG_CONFIG+y}
12813 then :
12814 XML2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
12817 if ${XML2_PE_LIBS:+false} :
12818 then :
12819 if test ${MINGW_PKG_CONFIG+y}
12820 then :
12821 XML2_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxml-2.0 2>/dev/null`
12824 XML2_PE_LIBS=${XML2_PE_LIBS:-"-lxml2"}
12825 ac_save_CPPFLAGS=$CPPFLAGS
12826 CPPFLAGS="$CPPFLAGS $XML2_PE_CFLAGS"
12827 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/parser.h" >&5
12828 printf %s "checking for MinGW libxml/parser.h... " >&6; }
12829 if test ${ac_cv_mingw_header_libxml_parser_h+y}
12830 then :
12831 printf %s "(cached) " >&6
12832 else $as_nop
12833 ac_wine_check_headers_saved_cc=$CC
12834 ac_wine_check_headers_saved_exeext=$ac_exeext
12835 eval CC=\$${wine_arch}_CC
12836 ac_exeext=".exe"
12837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12838 /* end confdefs.h. */
12840 #include <libxml/parser.h>
12842 main (void)
12846 return 0;
12848 _ACEOF
12849 if ac_fn_c_try_compile "$LINENO"
12850 then :
12851 ac_cv_mingw_header_libxml_parser_h=yes
12852 else $as_nop
12853 ac_cv_mingw_header_libxml_parser_h=no
12855 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12856 CC=$ac_wine_check_headers_saved_cc
12857 ac_exeext=$ac_wine_check_headers_saved_exeext
12859 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_parser_h" >&5
12860 printf "%s\n" "$ac_cv_mingw_header_libxml_parser_h" >&6; }
12861 if test "x$ac_cv_mingw_header_libxml_parser_h" = xyes
12862 then :
12865 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/xmlsave.h" >&5
12866 printf %s "checking for MinGW libxml/xmlsave.h... " >&6; }
12867 if test ${ac_cv_mingw_header_libxml_xmlsave_h+y}
12868 then :
12869 printf %s "(cached) " >&6
12870 else $as_nop
12871 ac_wine_check_headers_saved_cc=$CC
12872 ac_wine_check_headers_saved_exeext=$ac_exeext
12873 eval CC=\$${wine_arch}_CC
12874 ac_exeext=".exe"
12875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12876 /* end confdefs.h. */
12878 #include <libxml/xmlsave.h>
12880 main (void)
12884 return 0;
12886 _ACEOF
12887 if ac_fn_c_try_compile "$LINENO"
12888 then :
12889 ac_cv_mingw_header_libxml_xmlsave_h=yes
12890 else $as_nop
12891 ac_cv_mingw_header_libxml_xmlsave_h=no
12893 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12894 CC=$ac_wine_check_headers_saved_cc
12895 ac_exeext=$ac_wine_check_headers_saved_exeext
12897 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_xmlsave_h" >&5
12898 printf "%s\n" "$ac_cv_mingw_header_libxml_xmlsave_h" >&6; }
12899 if test "x$ac_cv_mingw_header_libxml_xmlsave_h" = xyes
12900 then :
12903 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/SAX2.h" >&5
12904 printf %s "checking for MinGW libxml/SAX2.h... " >&6; }
12905 if test ${ac_cv_mingw_header_libxml_SAX2_h+y}
12906 then :
12907 printf %s "(cached) " >&6
12908 else $as_nop
12909 ac_wine_check_headers_saved_cc=$CC
12910 ac_wine_check_headers_saved_exeext=$ac_exeext
12911 eval CC=\$${wine_arch}_CC
12912 ac_exeext=".exe"
12913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12914 /* end confdefs.h. */
12916 #include <libxml/SAX2.h>
12918 main (void)
12922 return 0;
12924 _ACEOF
12925 if ac_fn_c_try_compile "$LINENO"
12926 then :
12927 ac_cv_mingw_header_libxml_SAX2_h=yes
12928 else $as_nop
12929 ac_cv_mingw_header_libxml_SAX2_h=no
12931 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12932 CC=$ac_wine_check_headers_saved_cc
12933 ac_exeext=$ac_wine_check_headers_saved_exeext
12935 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_SAX2_h" >&5
12936 printf "%s\n" "$ac_cv_mingw_header_libxml_SAX2_h" >&6; }
12937 if test "x$ac_cv_mingw_header_libxml_SAX2_h" = xyes
12938 then :
12941 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"
12942 then
12943 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in MinGW -lxml2" >&5
12944 printf %s "checking for xmlFirstElementChild in MinGW -lxml2... " >&6; }
12945 if test ${ac_cv_mingw_lib_xml2+y}
12946 then :
12947 printf %s "(cached) " >&6
12948 else $as_nop
12949 ac_wine_check_headers_saved_cc=$CC
12950 ac_wine_check_headers_saved_exeext=$ac_exeext
12951 ac_wine_check_headers_saved_libs=$LIBS
12952 eval CC=\$${wine_arch}_CC
12953 ac_exeext=".exe"
12954 LIBS="-lxml2 $XML2_PE_LIBS $LIBS"
12955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12956 /* end confdefs.h. */
12958 /* Override any GCC internal prototype to avoid an error.
12959 Use char because int might match the return type of a GCC
12960 builtin and then its argument prototype would still apply. */
12961 char xmlFirstElementChild ();
12963 main (void)
12965 return xmlFirstElementChild ();
12967 return 0;
12969 _ACEOF
12970 if ac_fn_c_try_link "$LINENO"
12971 then :
12972 ac_cv_mingw_lib_xml2=yes
12973 else $as_nop
12974 ac_cv_mingw_lib_xml2=no
12976 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12977 conftest$ac_exeext conftest.$ac_ext
12978 CC=$ac_wine_check_headers_saved_cc
12979 ac_exeext=$ac_wine_check_headers_saved_exeext
12980 LIBS=$ac_wine_check_headers_saved_libs
12982 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xml2" >&5
12983 printf "%s\n" "$ac_cv_mingw_lib_xml2" >&6; }
12984 if test "x$ac_cv_mingw_lib_xml2" = xyes
12985 then :
12987 else $as_nop
12988 XML2_PE_CFLAGS=""; XML2_PE_LIBS=""
12990 else
12991 XML2_PE_CFLAGS=""
12992 XML2_PE_LIBS=""
12994 CPPFLAGS=$ac_save_CPPFLAGS
12996 if test "x$XML2_PE_LIBS" = "x"
12997 then
12998 as_fn_append wine_notices "|libxml2 ${notice_platform}MinGW development files not found (or too old); using bundled version."
13001 if ${XSLT_PE_CFLAGS:+false} :
13002 then :
13003 if test ${MINGW_PKG_CONFIG+y}
13004 then :
13005 XSLT_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxslt 2>/dev/null`
13008 if ${XSLT_PE_LIBS:+false} :
13009 then :
13010 if test ${MINGW_PKG_CONFIG+y}
13011 then :
13012 XSLT_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxslt 2>/dev/null`
13015 XSLT_PE_LIBS=${XSLT_PE_LIBS:-"-lxslt"}
13016 ac_save_CPPFLAGS=$CPPFLAGS
13017 CPPFLAGS="$CPPFLAGS $XSLT_PE_CFLAGS"
13018 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/pattern.h" >&5
13019 printf %s "checking for MinGW libxslt/pattern.h... " >&6; }
13020 if test ${ac_cv_mingw_header_libxslt_pattern_h+y}
13021 then :
13022 printf %s "(cached) " >&6
13023 else $as_nop
13024 ac_wine_check_headers_saved_cc=$CC
13025 ac_wine_check_headers_saved_exeext=$ac_exeext
13026 eval CC=\$${wine_arch}_CC
13027 ac_exeext=".exe"
13028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13029 /* end confdefs.h. */
13031 #include <libxslt/pattern.h>
13033 main (void)
13037 return 0;
13039 _ACEOF
13040 if ac_fn_c_try_compile "$LINENO"
13041 then :
13042 ac_cv_mingw_header_libxslt_pattern_h=yes
13043 else $as_nop
13044 ac_cv_mingw_header_libxslt_pattern_h=no
13046 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13047 CC=$ac_wine_check_headers_saved_cc
13048 ac_exeext=$ac_wine_check_headers_saved_exeext
13050 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_pattern_h" >&5
13051 printf "%s\n" "$ac_cv_mingw_header_libxslt_pattern_h" >&6; }
13052 if test "x$ac_cv_mingw_header_libxslt_pattern_h" = xyes
13053 then :
13056 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/transform.h" >&5
13057 printf %s "checking for MinGW libxslt/transform.h... " >&6; }
13058 if test ${ac_cv_mingw_header_libxslt_transform_h+y}
13059 then :
13060 printf %s "(cached) " >&6
13061 else $as_nop
13062 ac_wine_check_headers_saved_cc=$CC
13063 ac_wine_check_headers_saved_exeext=$ac_exeext
13064 eval CC=\$${wine_arch}_CC
13065 ac_exeext=".exe"
13066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13067 /* end confdefs.h. */
13069 #include <libxslt/transform.h>
13071 main (void)
13075 return 0;
13077 _ACEOF
13078 if ac_fn_c_try_compile "$LINENO"
13079 then :
13080 ac_cv_mingw_header_libxslt_transform_h=yes
13081 else $as_nop
13082 ac_cv_mingw_header_libxslt_transform_h=no
13084 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13085 CC=$ac_wine_check_headers_saved_cc
13086 ac_exeext=$ac_wine_check_headers_saved_exeext
13088 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_transform_h" >&5
13089 printf "%s\n" "$ac_cv_mingw_header_libxslt_transform_h" >&6; }
13090 if test "x$ac_cv_mingw_header_libxslt_transform_h" = xyes
13091 then :
13094 if test "$ac_cv_mingw_header_libxslt_pattern_h" = "yes" -a "$ac_cv_mingw_header_libxslt_transform_h" = "yes"
13095 then
13096 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xsltCompilePattern in MinGW -lxslt" >&5
13097 printf %s "checking for xsltCompilePattern in MinGW -lxslt... " >&6; }
13098 if test ${ac_cv_mingw_lib_xslt+y}
13099 then :
13100 printf %s "(cached) " >&6
13101 else $as_nop
13102 ac_wine_check_headers_saved_cc=$CC
13103 ac_wine_check_headers_saved_exeext=$ac_exeext
13104 ac_wine_check_headers_saved_libs=$LIBS
13105 eval CC=\$${wine_arch}_CC
13106 ac_exeext=".exe"
13107 LIBS="-lxslt $XSLT_PE_LIBS $LIBS"
13108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13109 /* end confdefs.h. */
13111 /* Override any GCC internal prototype to avoid an error.
13112 Use char because int might match the return type of a GCC
13113 builtin and then its argument prototype would still apply. */
13114 char xsltCompilePattern ();
13116 main (void)
13118 return xsltCompilePattern ();
13120 return 0;
13122 _ACEOF
13123 if ac_fn_c_try_link "$LINENO"
13124 then :
13125 ac_cv_mingw_lib_xslt=yes
13126 else $as_nop
13127 ac_cv_mingw_lib_xslt=no
13129 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13130 conftest$ac_exeext conftest.$ac_ext
13131 CC=$ac_wine_check_headers_saved_cc
13132 ac_exeext=$ac_wine_check_headers_saved_exeext
13133 LIBS=$ac_wine_check_headers_saved_libs
13135 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xslt" >&5
13136 printf "%s\n" "$ac_cv_mingw_lib_xslt" >&6; }
13137 if test "x$ac_cv_mingw_lib_xslt" = xyes
13138 then :
13140 else $as_nop
13141 XSLT_PE_CFLAGS=""; XSLT_PE_LIBS=""
13143 else
13144 XSLT_PE_CFLAGS=""
13145 XSLT_PE_LIBS=""
13147 CPPFLAGS=$ac_save_CPPFLAGS
13149 if test "x$XSLT_PE_LIBS" = "x"
13150 then
13151 as_fn_append wine_notices "|libxslt ${notice_platform}MinGW development files not found; using bundled version."
13154 if ${VKD3D_PE_CFLAGS:+false} :
13155 then :
13156 if test ${MINGW_PKG_CONFIG+y}
13157 then :
13158 VKD3D_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libvkd3d libvkd3d-shader 2>/dev/null`
13161 if ${VKD3D_PE_LIBS:+false} :
13162 then :
13163 if test ${MINGW_PKG_CONFIG+y}
13164 then :
13165 VKD3D_PE_LIBS=`$MINGW_PKG_CONFIG --libs libvkd3d libvkd3d-shader 2>/dev/null`
13168 VKD3D_PE_LIBS=${VKD3D_PE_LIBS:-"-lvkd3d -lvkd3d-shader"}
13169 ac_save_CPPFLAGS=$CPPFLAGS
13170 CPPFLAGS="$CPPFLAGS $VKD3D_PE_CFLAGS"
13171 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW vkd3d.h" >&5
13172 printf %s "checking for MinGW vkd3d.h... " >&6; }
13173 if test ${ac_cv_mingw_header_vkd3d_h+y}
13174 then :
13175 printf %s "(cached) " >&6
13176 else $as_nop
13177 ac_wine_check_headers_saved_cc=$CC
13178 ac_wine_check_headers_saved_exeext=$ac_exeext
13179 eval CC=\$${wine_arch}_CC
13180 ac_exeext=".exe"
13181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13182 /* end confdefs.h. */
13184 #include <vkd3d.h>
13186 main (void)
13190 return 0;
13192 _ACEOF
13193 if ac_fn_c_try_compile "$LINENO"
13194 then :
13195 ac_cv_mingw_header_vkd3d_h=yes
13196 else $as_nop
13197 ac_cv_mingw_header_vkd3d_h=no
13199 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13200 CC=$ac_wine_check_headers_saved_cc
13201 ac_exeext=$ac_wine_check_headers_saved_exeext
13203 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_vkd3d_h" >&5
13204 printf "%s\n" "$ac_cv_mingw_header_vkd3d_h" >&6; }
13205 if test "x$ac_cv_mingw_header_vkd3d_h" = xyes
13206 then :
13209 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW vkd3d_shader.h" >&5
13210 printf %s "checking for MinGW vkd3d_shader.h... " >&6; }
13211 if test ${ac_cv_mingw_header_vkd3d_shader_h+y}
13212 then :
13213 printf %s "(cached) " >&6
13214 else $as_nop
13215 ac_wine_check_headers_saved_cc=$CC
13216 ac_wine_check_headers_saved_exeext=$ac_exeext
13217 eval CC=\$${wine_arch}_CC
13218 ac_exeext=".exe"
13219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13220 /* end confdefs.h. */
13222 #include <vkd3d_shader.h>
13224 main (void)
13228 return 0;
13230 _ACEOF
13231 if ac_fn_c_try_compile "$LINENO"
13232 then :
13233 ac_cv_mingw_header_vkd3d_shader_h=yes
13234 else $as_nop
13235 ac_cv_mingw_header_vkd3d_shader_h=no
13237 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13238 CC=$ac_wine_check_headers_saved_cc
13239 ac_exeext=$ac_wine_check_headers_saved_exeext
13241 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_vkd3d_shader_h" >&5
13242 printf "%s\n" "$ac_cv_mingw_header_vkd3d_shader_h" >&6; }
13243 if test "x$ac_cv_mingw_header_vkd3d_shader_h" = xyes
13244 then :
13247 if test "$ac_cv_mingw_header_vkd3d_h" = "yes" -a "$ac_cv_mingw_header_vkd3d_shader_h" = "yes"
13248 then
13249 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for vkd3d_set_log_callback in MinGW -lvkd3d" >&5
13250 printf %s "checking for vkd3d_set_log_callback in MinGW -lvkd3d... " >&6; }
13251 if test ${ac_cv_mingw_lib_vkd3d+y}
13252 then :
13253 printf %s "(cached) " >&6
13254 else $as_nop
13255 ac_wine_check_headers_saved_cc=$CC
13256 ac_wine_check_headers_saved_exeext=$ac_exeext
13257 ac_wine_check_headers_saved_libs=$LIBS
13258 eval CC=\$${wine_arch}_CC
13259 ac_exeext=".exe"
13260 LIBS="-lvkd3d $VKD3D_PE_LIBS $LIBS"
13261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13262 /* end confdefs.h. */
13264 /* Override any GCC internal prototype to avoid an error.
13265 Use char because int might match the return type of a GCC
13266 builtin and then its argument prototype would still apply. */
13267 char vkd3d_set_log_callback ();
13269 main (void)
13271 return vkd3d_set_log_callback ();
13273 return 0;
13275 _ACEOF
13276 if ac_fn_c_try_link "$LINENO"
13277 then :
13278 ac_cv_mingw_lib_vkd3d=yes
13279 else $as_nop
13280 ac_cv_mingw_lib_vkd3d=no
13282 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13283 conftest$ac_exeext conftest.$ac_ext
13284 CC=$ac_wine_check_headers_saved_cc
13285 ac_exeext=$ac_wine_check_headers_saved_exeext
13286 LIBS=$ac_wine_check_headers_saved_libs
13288 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_vkd3d" >&5
13289 printf "%s\n" "$ac_cv_mingw_lib_vkd3d" >&6; }
13290 if test "x$ac_cv_mingw_lib_vkd3d" = xyes
13291 then :
13293 else $as_nop
13296 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for vkd3d_shader_build_varying_map in MinGW -lvkd3d-shader" >&5
13297 printf %s "checking for vkd3d_shader_build_varying_map in MinGW -lvkd3d-shader... " >&6; }
13298 if test ${ac_cv_mingw_lib_vkd3d_shader+y}
13299 then :
13300 printf %s "(cached) " >&6
13301 else $as_nop
13302 ac_wine_check_headers_saved_cc=$CC
13303 ac_wine_check_headers_saved_exeext=$ac_exeext
13304 ac_wine_check_headers_saved_libs=$LIBS
13305 eval CC=\$${wine_arch}_CC
13306 ac_exeext=".exe"
13307 LIBS="-lvkd3d-shader $VKD3D_PE_LIBS $LIBS"
13308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13309 /* end confdefs.h. */
13311 /* Override any GCC internal prototype to avoid an error.
13312 Use char because int might match the return type of a GCC
13313 builtin and then its argument prototype would still apply. */
13314 char vkd3d_shader_build_varying_map ();
13316 main (void)
13318 return vkd3d_shader_build_varying_map ();
13320 return 0;
13322 _ACEOF
13323 if ac_fn_c_try_link "$LINENO"
13324 then :
13325 ac_cv_mingw_lib_vkd3d_shader=yes
13326 else $as_nop
13327 ac_cv_mingw_lib_vkd3d_shader=no
13329 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13330 conftest$ac_exeext conftest.$ac_ext
13331 CC=$ac_wine_check_headers_saved_cc
13332 ac_exeext=$ac_wine_check_headers_saved_exeext
13333 LIBS=$ac_wine_check_headers_saved_libs
13335 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_vkd3d_shader" >&5
13336 printf "%s\n" "$ac_cv_mingw_lib_vkd3d_shader" >&6; }
13337 if test "x$ac_cv_mingw_lib_vkd3d_shader" = xyes
13338 then :
13340 else $as_nop
13343 if test "$ac_cv_mingw_lib_vkd3d" = "no" -o "$ac_cv_mingw_lib_vkd3d_shader" = "no"
13344 then
13345 VKD3D_PE_CFLAGS=""
13346 VKD3D_PE_LIBS=""
13348 else
13349 VKD3D_PE_CFLAGS=""
13350 VKD3D_PE_LIBS=""
13352 CPPFLAGS=$ac_save_CPPFLAGS
13354 if test "x$VKD3D_PE_LIBS" = "x"
13355 then
13356 as_fn_append wine_notices "|libvkd3d ${notice_platform}MinGW development files not found (or too old); using bundled version."
13359 if ${ZLIB_PE_CFLAGS:+false} :
13360 then :
13361 if test ${MINGW_PKG_CONFIG+y}
13362 then :
13363 ZLIB_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags zlib 2>/dev/null`
13366 if ${ZLIB_PE_LIBS:+false} :
13367 then :
13368 if test ${MINGW_PKG_CONFIG+y}
13369 then :
13370 ZLIB_PE_LIBS=`$MINGW_PKG_CONFIG --libs zlib 2>/dev/null`
13373 ZLIB_PE_LIBS=${ZLIB_PE_LIBS:-"-lz"}
13374 ac_save_CPPFLAGS=$CPPFLAGS
13375 CPPFLAGS="$CPPFLAGS $ZLIB_PE_CFLAGS"
13376 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW zlib.h" >&5
13377 printf %s "checking for MinGW zlib.h... " >&6; }
13378 if test ${ac_cv_mingw_header_zlib_h+y}
13379 then :
13380 printf %s "(cached) " >&6
13381 else $as_nop
13382 ac_wine_check_headers_saved_cc=$CC
13383 ac_wine_check_headers_saved_exeext=$ac_exeext
13384 eval CC=\$${wine_arch}_CC
13385 ac_exeext=".exe"
13386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13387 /* end confdefs.h. */
13389 #include <zlib.h>
13391 main (void)
13395 return 0;
13397 _ACEOF
13398 if ac_fn_c_try_compile "$LINENO"
13399 then :
13400 ac_cv_mingw_header_zlib_h=yes
13401 else $as_nop
13402 ac_cv_mingw_header_zlib_h=no
13404 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13405 CC=$ac_wine_check_headers_saved_cc
13406 ac_exeext=$ac_wine_check_headers_saved_exeext
13408 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_zlib_h" >&5
13409 printf "%s\n" "$ac_cv_mingw_header_zlib_h" >&6; }
13410 if test "x$ac_cv_mingw_header_zlib_h" = xyes
13411 then :
13412 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inflate in MinGW -lz" >&5
13413 printf %s "checking for inflate in MinGW -lz... " >&6; }
13414 if test ${ac_cv_mingw_lib_z+y}
13415 then :
13416 printf %s "(cached) " >&6
13417 else $as_nop
13418 ac_wine_check_headers_saved_cc=$CC
13419 ac_wine_check_headers_saved_exeext=$ac_exeext
13420 ac_wine_check_headers_saved_libs=$LIBS
13421 eval CC=\$${wine_arch}_CC
13422 ac_exeext=".exe"
13423 LIBS="-lz $ZLIB_PE_LIBS $LIBS"
13424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13425 /* end confdefs.h. */
13427 /* Override any GCC internal prototype to avoid an error.
13428 Use char because int might match the return type of a GCC
13429 builtin and then its argument prototype would still apply. */
13430 char inflate ();
13432 main (void)
13434 return inflate ();
13436 return 0;
13438 _ACEOF
13439 if ac_fn_c_try_link "$LINENO"
13440 then :
13441 ac_cv_mingw_lib_z=yes
13442 else $as_nop
13443 ac_cv_mingw_lib_z=no
13445 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13446 conftest$ac_exeext conftest.$ac_ext
13447 CC=$ac_wine_check_headers_saved_cc
13448 ac_exeext=$ac_wine_check_headers_saved_exeext
13449 LIBS=$ac_wine_check_headers_saved_libs
13451 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_z" >&5
13452 printf "%s\n" "$ac_cv_mingw_lib_z" >&6; }
13453 if test "x$ac_cv_mingw_lib_z" = xyes
13454 then :
13456 else $as_nop
13457 ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
13459 else $as_nop
13460 ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
13462 CPPFLAGS=$ac_save_CPPFLAGS
13464 if test "x$ZLIB_PE_LIBS" = "x"
13465 then
13466 as_fn_append wine_notices "|zlib ${notice_platform}MinGW development files not found; using bundled version."
13470 if ${FAUDIO_PE_LIBS:+false} :
13471 then :
13472 FAUDIO_PE_LIBS="faudio mfplat mfreadwrite mfuuid propsys"
13473 if ${FAUDIO_PE_CFLAGS:+false} :
13474 then :
13475 FAUDIO_PE_CFLAGS="-I\$(top_srcdir)/libs/faudio/include"
13476 else $as_nop
13477 enable_faudio=no
13479 else $as_nop
13480 enable_faudio=no
13482 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio cflags: $FAUDIO_PE_CFLAGS" >&5
13483 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio libs: $FAUDIO_PE_LIBS" >&5
13485 if ${FLUIDSYNTH_PE_LIBS:+false} :
13486 then :
13487 FLUIDSYNTH_PE_LIBS="fluidsynth"
13488 if ${FLUIDSYNTH_PE_CFLAGS:+false} :
13489 then :
13490 FLUIDSYNTH_PE_CFLAGS="-I\$(top_srcdir)/libs/fluidsynth/include"
13491 else $as_nop
13492 enable_fluidsynth=no
13494 else $as_nop
13495 enable_fluidsynth=no
13497 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fluidsynth cflags: $FLUIDSYNTH_PE_CFLAGS" >&5
13498 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fluidsynth libs: $FLUIDSYNTH_PE_LIBS" >&5
13500 if ${GSM_PE_LIBS:+false} :
13501 then :
13502 GSM_PE_LIBS=gsm
13503 if ${GSM_PE_CFLAGS:+false} :
13504 then :
13505 GSM_PE_CFLAGS="-I\$(top_srcdir)/libs/gsm/inc"
13506 else $as_nop
13507 enable_gsm=no
13509 else $as_nop
13510 enable_gsm=no
13512 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm cflags: $GSM_PE_CFLAGS" >&5
13513 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm libs: $GSM_PE_LIBS" >&5
13515 if ${JPEG_PE_LIBS:+false} :
13516 then :
13517 JPEG_PE_LIBS=jpeg
13518 if ${JPEG_PE_CFLAGS:+false} :
13519 then :
13520 JPEG_PE_CFLAGS="-I\$(top_srcdir)/libs/jpeg"
13521 else $as_nop
13522 enable_jpeg=no
13524 else $as_nop
13525 enable_jpeg=no
13527 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg cflags: $JPEG_PE_CFLAGS" >&5
13528 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg libs: $JPEG_PE_LIBS" >&5
13530 if ${JXR_PE_LIBS:+false} :
13531 then :
13532 JXR_PE_LIBS=jxr
13533 if ${JXR_PE_CFLAGS:+false} :
13534 then :
13535 JXR_PE_CFLAGS="-I\$(top_srcdir)/libs/jxr/jxrgluelib -I\$(top_srcdir)/libs/jxr/image/sys"
13536 else $as_nop
13537 enable_jxr=no
13539 else $as_nop
13540 enable_jxr=no
13542 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr cflags: $JXR_PE_CFLAGS" >&5
13543 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr libs: $JXR_PE_LIBS" >&5
13545 if ${LCMS2_PE_LIBS:+false} :
13546 then :
13547 LCMS2_PE_LIBS=lcms2
13548 if ${LCMS2_PE_CFLAGS:+false} :
13549 then :
13550 LCMS2_PE_CFLAGS="-I\$(top_srcdir)/libs/lcms2/include"
13551 else $as_nop
13552 enable_lcms2=no
13554 else $as_nop
13555 enable_lcms2=no
13557 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_PE_CFLAGS" >&5
13558 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_PE_LIBS" >&5
13560 if ${LDAP_PE_LIBS:+false} :
13561 then :
13562 LDAP_PE_LIBS=ldap
13563 if ${LDAP_PE_CFLAGS:+false} :
13564 then :
13565 LDAP_PE_CFLAGS="-I\$(top_srcdir)/libs/ldap/include"
13566 else $as_nop
13567 enable_ldap=no
13569 else $as_nop
13570 enable_ldap=no
13572 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ldap cflags: $LDAP_PE_CFLAGS" >&5
13573 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ldap libs: $LDAP_PE_LIBS" >&5
13575 if ${MPG123_PE_LIBS:+false} :
13576 then :
13577 MPG123_PE_LIBS=mpg123
13578 if ${MPG123_PE_CFLAGS:+false} :
13579 then :
13580 MPG123_PE_CFLAGS="-I\$(top_srcdir)/libs/mpg123/src/libmpg123"
13581 else $as_nop
13582 enable_mpg123=no
13584 else $as_nop
13585 enable_mpg123=no
13587 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 cflags: $MPG123_PE_CFLAGS" >&5
13588 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 libs: $MPG123_PE_LIBS" >&5
13590 if ${MUSL_PE_LIBS:+false} :
13591 then :
13592 MUSL_PE_LIBS=musl
13593 if ${MUSL_PE_CFLAGS:+false} :
13594 then :
13595 MUSL_PE_CFLAGS=
13596 else $as_nop
13597 enable_musl=no
13599 else $as_nop
13600 enable_musl=no
13602 printf "%s\n" "$as_me:${as_lineno-$LINENO}: musl cflags: $MUSL_PE_CFLAGS" >&5
13603 printf "%s\n" "$as_me:${as_lineno-$LINENO}: musl libs: $MUSL_PE_LIBS" >&5
13605 if ${PNG_PE_LIBS:+false} :
13606 then :
13607 PNG_PE_LIBS="png \$(ZLIB_PE_LIBS)"
13608 if ${PNG_PE_CFLAGS:+false} :
13609 then :
13610 PNG_PE_CFLAGS="-I\$(top_srcdir)/libs/png"
13611 else $as_nop
13612 enable_png=no
13614 else $as_nop
13615 enable_png=no
13617 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png cflags: $PNG_PE_CFLAGS" >&5
13618 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png libs: $PNG_PE_LIBS" >&5
13620 if ${TIFF_PE_LIBS:+false} :
13621 then :
13622 TIFF_PE_LIBS="tiff \$(ZLIB_PE_LIBS)"
13623 if ${TIFF_PE_CFLAGS:+false} :
13624 then :
13625 TIFF_PE_CFLAGS="-I\$(top_srcdir)/libs/tiff/libtiff"
13626 else $as_nop
13627 enable_tiff=no
13629 else $as_nop
13630 enable_tiff=no
13632 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff cflags: $TIFF_PE_CFLAGS" >&5
13633 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff libs: $TIFF_PE_LIBS" >&5
13635 if ${VKD3D_PE_LIBS:+false} :
13636 then :
13637 VKD3D_PE_LIBS=vkd3d
13638 if ${VKD3D_PE_CFLAGS:+false} :
13639 then :
13640 VKD3D_PE_CFLAGS="-I\$(top_srcdir)/libs/vkd3d/include"
13641 else $as_nop
13642 enable_vkd3d=no
13644 else $as_nop
13645 enable_vkd3d=no
13647 printf "%s\n" "$as_me:${as_lineno-$LINENO}: vkd3d cflags: $VKD3D_PE_CFLAGS" >&5
13648 printf "%s\n" "$as_me:${as_lineno-$LINENO}: vkd3d libs: $VKD3D_PE_LIBS" >&5
13650 if ${XML2_PE_LIBS:+false} :
13651 then :
13652 XML2_PE_LIBS=xml2
13653 if ${XML2_PE_CFLAGS:+false} :
13654 then :
13655 XML2_PE_CFLAGS="-I\$(top_srcdir)/libs/xml2/include -DLIBXML_STATIC"
13656 else $as_nop
13657 enable_xml2=no
13659 else $as_nop
13660 enable_xml2=no
13662 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 cflags: $XML2_PE_CFLAGS" >&5
13663 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 libs: $XML2_PE_LIBS" >&5
13665 if ${XSLT_PE_LIBS:+false} :
13666 then :
13667 XSLT_PE_LIBS=xslt
13668 if ${XSLT_PE_CFLAGS:+false} :
13669 then :
13670 XSLT_PE_CFLAGS="-I\$(top_srcdir)/libs/xslt/libxslt -I\$(top_srcdir)/libs/xslt -DLIBXSLT_STATIC"
13671 else $as_nop
13672 enable_xslt=no
13674 else $as_nop
13675 enable_xslt=no
13677 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt cflags: $XSLT_PE_CFLAGS" >&5
13678 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt libs: $XSLT_PE_LIBS" >&5
13680 if ${ZLIB_PE_LIBS:+false} :
13681 then :
13682 ZLIB_PE_LIBS=z
13683 if ${ZLIB_PE_CFLAGS:+false} :
13684 then :
13685 ZLIB_PE_CFLAGS="-I\$(top_srcdir)/libs/zlib -DFAR= -DZ_SOLO"
13686 else $as_nop
13687 enable_zlib=no
13689 else $as_nop
13690 enable_zlib=no
13692 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib cflags: $ZLIB_PE_CFLAGS" >&5
13693 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib libs: $ZLIB_PE_LIBS" >&5
13695 if ${ZYDIS_PE_LIBS:+false} :
13696 then :
13697 ZYDIS_PE_LIBS=zydis
13698 if ${ZYDIS_PE_CFLAGS:+false} :
13699 then :
13700 ZYDIS_PE_CFLAGS="-I\$(top_srcdir)/libs/zydis/include"
13701 else $as_nop
13702 enable_zydis=no
13704 else $as_nop
13705 enable_zydis=no
13707 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zydis cflags: $ZYDIS_PE_CFLAGS" >&5
13708 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zydis libs: $ZYDIS_PE_LIBS" >&5
13712 if test "x$with_pthread" = xno
13713 then :
13715 else $as_nop
13716 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
13717 if test "x$ac_cv_func_pthread_create" = xyes
13718 then :
13720 else $as_nop
13721 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
13722 printf %s "checking for pthread_create in -lpthread... " >&6; }
13723 if test ${ac_cv_lib_pthread_pthread_create+y}
13724 then :
13725 printf %s "(cached) " >&6
13726 else $as_nop
13727 ac_check_lib_save_LIBS=$LIBS
13728 LIBS="-lpthread $LIBS"
13729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13730 /* end confdefs.h. */
13732 /* Override any GCC internal prototype to avoid an error.
13733 Use char because int might match the return type of a GCC
13734 builtin and then its argument prototype would still apply. */
13735 char pthread_create ();
13737 main (void)
13739 return pthread_create ();
13741 return 0;
13743 _ACEOF
13744 if ac_fn_c_try_link "$LINENO"
13745 then :
13746 ac_cv_lib_pthread_pthread_create=yes
13747 else $as_nop
13748 ac_cv_lib_pthread_pthread_create=no
13750 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13751 conftest$ac_exeext conftest.$ac_ext
13752 LIBS=$ac_check_lib_save_LIBS
13754 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
13755 printf "%s\n" "$ac_cv_lib_pthread_pthread_create" >&6; }
13756 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
13757 then :
13758 PTHREAD_LIBS="-lpthread"
13765 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x
13766 then :
13767 case "x$with_pthread" in
13768 xno) ;;
13769 *) as_fn_error $? "pthread ${notice_platform}development files not found.
13770 Wine cannot support threads without libpthread.
13771 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
13772 esac
13777 ac_ext=c
13778 ac_cpp='$CPP $CPPFLAGS'
13779 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13780 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13781 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13782 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
13783 printf %s "checking how to run the C preprocessor... " >&6; }
13784 # On Suns, sometimes $CPP names a directory.
13785 if test -n "$CPP" && test -d "$CPP"; then
13786 CPP=
13788 if test -z "$CPP"; then
13789 if test ${ac_cv_prog_CPP+y}
13790 then :
13791 printf %s "(cached) " >&6
13792 else $as_nop
13793 # Double quotes because $CC needs to be expanded
13794 for CPP in "$CC -E" "$CC -E -traditional-cpp" cpp /lib/cpp
13796 ac_preproc_ok=false
13797 for ac_c_preproc_warn_flag in '' yes
13799 # Use a header file that comes with gcc, so configuring glibc
13800 # with a fresh cross-compiler works.
13801 # On the NeXT, cc -E runs the code through the compiler's parser,
13802 # not just through cpp. "Syntax error" is here to catch this case.
13803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13804 /* end confdefs.h. */
13805 #include <limits.h>
13806 Syntax error
13807 _ACEOF
13808 if ac_fn_c_try_cpp "$LINENO"
13809 then :
13811 else $as_nop
13812 # Broken: fails on valid input.
13813 continue
13815 rm -f conftest.err conftest.i conftest.$ac_ext
13817 # OK, works on sane cases. Now check whether nonexistent headers
13818 # can be detected and how.
13819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13820 /* end confdefs.h. */
13821 #include <ac_nonexistent.h>
13822 _ACEOF
13823 if ac_fn_c_try_cpp "$LINENO"
13824 then :
13825 # Broken: success on invalid input.
13826 continue
13827 else $as_nop
13828 # Passes both tests.
13829 ac_preproc_ok=:
13830 break
13832 rm -f conftest.err conftest.i conftest.$ac_ext
13834 done
13835 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13836 rm -f conftest.i conftest.err conftest.$ac_ext
13837 if $ac_preproc_ok
13838 then :
13839 break
13842 done
13843 ac_cv_prog_CPP=$CPP
13846 CPP=$ac_cv_prog_CPP
13847 else
13848 ac_cv_prog_CPP=$CPP
13850 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
13851 printf "%s\n" "$CPP" >&6; }
13852 ac_preproc_ok=false
13853 for ac_c_preproc_warn_flag in '' yes
13855 # Use a header file that comes with gcc, so configuring glibc
13856 # with a fresh cross-compiler works.
13857 # On the NeXT, cc -E runs the code through the compiler's parser,
13858 # not just through cpp. "Syntax error" is here to catch this case.
13859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13860 /* end confdefs.h. */
13861 #include <limits.h>
13862 Syntax error
13863 _ACEOF
13864 if ac_fn_c_try_cpp "$LINENO"
13865 then :
13867 else $as_nop
13868 # Broken: fails on valid input.
13869 continue
13871 rm -f conftest.err conftest.i conftest.$ac_ext
13873 # OK, works on sane cases. Now check whether nonexistent headers
13874 # can be detected and how.
13875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13876 /* end confdefs.h. */
13877 #include <ac_nonexistent.h>
13878 _ACEOF
13879 if ac_fn_c_try_cpp "$LINENO"
13880 then :
13881 # Broken: success on invalid input.
13882 continue
13883 else $as_nop
13884 # Passes both tests.
13885 ac_preproc_ok=:
13886 break
13888 rm -f conftest.err conftest.i conftest.$ac_ext
13890 done
13891 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13892 rm -f conftest.i conftest.err conftest.$ac_ext
13893 if $ac_preproc_ok
13894 then :
13896 else $as_nop
13897 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13898 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
13899 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
13900 See \`config.log' for more details" "$LINENO" 5; }
13903 ac_ext=c
13904 ac_cpp='$CPP $CPPFLAGS'
13905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13910 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for X" >&5
13911 printf %s "checking for X... " >&6; }
13914 # Check whether --with-x was given.
13915 if test ${with_x+y}
13916 then :
13917 withval=$with_x;
13920 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
13921 if test "x$with_x" = xno; then
13922 # The user explicitly disabled X.
13923 have_x=disabled
13924 else
13925 case $x_includes,$x_libraries in #(
13926 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
13927 *,NONE | NONE,*) if test ${ac_cv_have_x+y}
13928 then :
13929 printf %s "(cached) " >&6
13930 else $as_nop
13931 # One or both of the vars are not set, and there is no cached value.
13932 ac_x_includes=no
13933 ac_x_libraries=no
13934 # Do we need to do anything special at all?
13935 ac_save_LIBS=$LIBS
13936 LIBS="-lX11 $LIBS"
13937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13938 /* end confdefs.h. */
13939 #include <X11/Xlib.h>
13941 main (void)
13943 XrmInitialize ()
13945 return 0;
13947 _ACEOF
13948 if ac_fn_c_try_link "$LINENO"
13949 then :
13950 # We can compile and link X programs with no special options.
13951 ac_x_includes=
13952 ac_x_libraries=
13954 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13955 conftest$ac_exeext conftest.$ac_ext
13956 LIBS="$ac_save_LIBS"
13957 # If that didn't work, only try xmkmf and file system searches
13958 # for native compilation.
13959 if test x"$ac_x_includes" = xno && test "$cross_compiling" = no
13960 then :
13961 rm -f -r conftest.dir
13962 if mkdir conftest.dir; then
13963 cd conftest.dir
13964 cat >Imakefile <<'_ACEOF'
13965 incroot:
13966 @echo incroot='${INCROOT}'
13967 usrlibdir:
13968 @echo usrlibdir='${USRLIBDIR}'
13969 libdir:
13970 @echo libdir='${LIBDIR}'
13971 _ACEOF
13972 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
13973 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
13974 for ac_var in incroot usrlibdir libdir; do
13975 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
13976 done
13977 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
13978 for ac_extension in a so sl dylib la dll; do
13979 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
13980 test -f "$ac_im_libdir/libX11.$ac_extension"; then
13981 ac_im_usrlibdir=$ac_im_libdir; break
13983 done
13984 # Screen out bogus values from the imake configuration. They are
13985 # bogus both because they are the default anyway, and because
13986 # using them would break gcc on systems where it needs fixed includes.
13987 case $ac_im_incroot in
13988 /usr/include) ac_x_includes= ;;
13989 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
13990 esac
13991 case $ac_im_usrlibdir in
13992 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
13993 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
13994 esac
13996 cd ..
13997 rm -f -r conftest.dir
14000 # Standard set of common directories for X headers.
14001 # Check X11 before X11Rn because it is often a symlink to the current release.
14002 ac_x_header_dirs='
14003 /usr/X11/include
14004 /usr/X11R7/include
14005 /usr/X11R6/include
14006 /usr/X11R5/include
14007 /usr/X11R4/include
14009 /usr/include/X11
14010 /usr/include/X11R7
14011 /usr/include/X11R6
14012 /usr/include/X11R5
14013 /usr/include/X11R4
14015 /usr/local/X11/include
14016 /usr/local/X11R7/include
14017 /usr/local/X11R6/include
14018 /usr/local/X11R5/include
14019 /usr/local/X11R4/include
14021 /usr/local/include/X11
14022 /usr/local/include/X11R7
14023 /usr/local/include/X11R6
14024 /usr/local/include/X11R5
14025 /usr/local/include/X11R4
14027 /opt/X11/include
14029 /usr/X386/include
14030 /usr/x386/include
14031 /usr/XFree86/include/X11
14033 /usr/include
14034 /usr/local/include
14035 /usr/unsupported/include
14036 /usr/athena/include
14037 /usr/local/x11r5/include
14038 /usr/lpp/Xamples/include
14040 /usr/openwin/include
14041 /usr/openwin/share/include'
14043 if test "$ac_x_includes" = no; then
14044 # Guess where to find include files, by looking for Xlib.h.
14045 # First, try using that file with no special directory specified.
14046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14047 /* end confdefs.h. */
14048 #include <X11/Xlib.h>
14049 _ACEOF
14050 if ac_fn_c_try_cpp "$LINENO"
14051 then :
14052 # We can compile using X headers with no special include directory.
14053 ac_x_includes=
14054 else $as_nop
14055 for ac_dir in $ac_x_header_dirs; do
14056 if test -r "$ac_dir/X11/Xlib.h"; then
14057 ac_x_includes=$ac_dir
14058 break
14060 done
14062 rm -f conftest.err conftest.i conftest.$ac_ext
14063 fi # $ac_x_includes = no
14065 if test "$ac_x_libraries" = no; then
14066 # Check for the libraries.
14067 # See if we find them without any special options.
14068 # Don't add to $LIBS permanently.
14069 ac_save_LIBS=$LIBS
14070 LIBS="-lX11 $LIBS"
14071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14072 /* end confdefs.h. */
14073 #include <X11/Xlib.h>
14075 main (void)
14077 XrmInitialize ()
14079 return 0;
14081 _ACEOF
14082 if ac_fn_c_try_link "$LINENO"
14083 then :
14084 LIBS=$ac_save_LIBS
14085 # We can link X programs with no special library path.
14086 ac_x_libraries=
14087 else $as_nop
14088 LIBS=$ac_save_LIBS
14089 for ac_dir in `printf "%s\n" "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
14091 # Don't even attempt the hair of trying to link an X program!
14092 for ac_extension in a so sl dylib la dll; do
14093 if test -r "$ac_dir/libX11.$ac_extension"; then
14094 ac_x_libraries=$ac_dir
14095 break 2
14097 done
14098 done
14100 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14101 conftest$ac_exeext conftest.$ac_ext
14102 fi # $ac_x_libraries = no
14105 # Record the results.
14106 case $ac_x_includes,$ac_x_libraries in #(
14107 no,* | *,no | *\'*) :
14108 # Didn't find X, or a directory has "'" in its name.
14109 ac_cv_have_x="have_x=no" ;; #(
14110 *) :
14111 # Record where we found X for the cache.
14112 ac_cv_have_x="have_x=yes\
14113 ac_x_includes='$ac_x_includes'\
14114 ac_x_libraries='$ac_x_libraries'" ;;
14115 esac
14117 ;; #(
14118 *) have_x=yes;;
14119 esac
14120 eval "$ac_cv_have_x"
14121 fi # $with_x != no
14123 if test "$have_x" != yes; then
14124 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
14125 printf "%s\n" "$have_x" >&6; }
14126 no_x=yes
14127 else
14128 # If each of the values was on the command line, it overrides each guess.
14129 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
14130 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
14131 # Update the cache value to reflect the command line values.
14132 ac_cv_have_x="have_x=yes\
14133 ac_x_includes='$x_includes'\
14134 ac_x_libraries='$x_libraries'"
14135 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
14136 printf "%s\n" "libraries $x_libraries, headers $x_includes" >&6; }
14139 if test "$no_x" = yes; then
14140 # Not all programs may use this symbol, but it does not hurt to define it.
14142 printf "%s\n" "#define X_DISPLAY_MISSING 1" >>confdefs.h
14144 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
14145 else
14146 if test -n "$x_includes"; then
14147 X_CFLAGS="$X_CFLAGS -I$x_includes"
14150 # It would also be nice to do this for all -L options, not just this one.
14151 if test -n "$x_libraries"; then
14152 X_LIBS="$X_LIBS -L$x_libraries"
14153 # For Solaris; some versions of Sun CC require a space after -R and
14154 # others require no space. Words are not sufficient . . . .
14155 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
14156 printf %s "checking whether -R must be followed by a space... " >&6; }
14157 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
14158 ac_xsave_c_werror_flag=$ac_c_werror_flag
14159 ac_c_werror_flag=yes
14160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14161 /* end confdefs.h. */
14164 main (void)
14168 return 0;
14170 _ACEOF
14171 if ac_fn_c_try_link "$LINENO"
14172 then :
14173 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
14174 printf "%s\n" "no" >&6; }
14175 X_LIBS="$X_LIBS -R$x_libraries"
14176 else $as_nop
14177 LIBS="$ac_xsave_LIBS -R $x_libraries"
14178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14179 /* end confdefs.h. */
14182 main (void)
14186 return 0;
14188 _ACEOF
14189 if ac_fn_c_try_link "$LINENO"
14190 then :
14191 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14192 printf "%s\n" "yes" >&6; }
14193 X_LIBS="$X_LIBS -R $x_libraries"
14194 else $as_nop
14195 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
14196 printf "%s\n" "neither works" >&6; }
14198 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14199 conftest$ac_exeext conftest.$ac_ext
14201 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14202 conftest$ac_exeext conftest.$ac_ext
14203 ac_c_werror_flag=$ac_xsave_c_werror_flag
14204 LIBS=$ac_xsave_LIBS
14207 # Check for system-dependent libraries X programs must link with.
14208 # Do this before checking for the system-independent R6 libraries
14209 # (-lICE), since we may need -lsocket or whatever for X linking.
14211 if test "$ISC" = yes; then
14212 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
14213 else
14214 # Martyn Johnson says this is needed for Ultrix, if the X
14215 # libraries were built with DECnet support. And Karl Berry says
14216 # the Alpha needs dnet_stub (dnet does not exist).
14217 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
14218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14219 /* end confdefs.h. */
14221 /* Override any GCC internal prototype to avoid an error.
14222 Use char because int might match the return type of a GCC
14223 builtin and then its argument prototype would still apply. */
14224 char XOpenDisplay ();
14226 main (void)
14228 return XOpenDisplay ();
14230 return 0;
14232 _ACEOF
14233 if ac_fn_c_try_link "$LINENO"
14234 then :
14236 else $as_nop
14237 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
14238 printf %s "checking for dnet_ntoa in -ldnet... " >&6; }
14239 if test ${ac_cv_lib_dnet_dnet_ntoa+y}
14240 then :
14241 printf %s "(cached) " >&6
14242 else $as_nop
14243 ac_check_lib_save_LIBS=$LIBS
14244 LIBS="-ldnet $LIBS"
14245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14246 /* end confdefs.h. */
14248 /* Override any GCC internal prototype to avoid an error.
14249 Use char because int might match the return type of a GCC
14250 builtin and then its argument prototype would still apply. */
14251 char dnet_ntoa ();
14253 main (void)
14255 return dnet_ntoa ();
14257 return 0;
14259 _ACEOF
14260 if ac_fn_c_try_link "$LINENO"
14261 then :
14262 ac_cv_lib_dnet_dnet_ntoa=yes
14263 else $as_nop
14264 ac_cv_lib_dnet_dnet_ntoa=no
14266 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14267 conftest$ac_exeext conftest.$ac_ext
14268 LIBS=$ac_check_lib_save_LIBS
14270 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
14271 printf "%s\n" "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
14272 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
14273 then :
14274 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
14277 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
14278 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
14279 printf %s "checking for dnet_ntoa in -ldnet_stub... " >&6; }
14280 if test ${ac_cv_lib_dnet_stub_dnet_ntoa+y}
14281 then :
14282 printf %s "(cached) " >&6
14283 else $as_nop
14284 ac_check_lib_save_LIBS=$LIBS
14285 LIBS="-ldnet_stub $LIBS"
14286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14287 /* end confdefs.h. */
14289 /* Override any GCC internal prototype to avoid an error.
14290 Use char because int might match the return type of a GCC
14291 builtin and then its argument prototype would still apply. */
14292 char dnet_ntoa ();
14294 main (void)
14296 return dnet_ntoa ();
14298 return 0;
14300 _ACEOF
14301 if ac_fn_c_try_link "$LINENO"
14302 then :
14303 ac_cv_lib_dnet_stub_dnet_ntoa=yes
14304 else $as_nop
14305 ac_cv_lib_dnet_stub_dnet_ntoa=no
14307 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14308 conftest$ac_exeext conftest.$ac_ext
14309 LIBS=$ac_check_lib_save_LIBS
14311 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
14312 printf "%s\n" "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
14313 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
14314 then :
14315 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
14320 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14321 conftest$ac_exeext conftest.$ac_ext
14322 LIBS="$ac_xsave_LIBS"
14324 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
14325 # to get the SysV transport functions.
14326 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
14327 # needs -lnsl.
14328 # The nsl library prevents programs from opening the X display
14329 # on Irix 5.2, according to T.E. Dickey.
14330 # The functions gethostbyname, getservbyname, and inet_addr are
14331 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
14332 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
14333 if test "x$ac_cv_func_gethostbyname" = xyes
14334 then :
14338 if test $ac_cv_func_gethostbyname = no; then
14339 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
14340 printf %s "checking for gethostbyname in -lnsl... " >&6; }
14341 if test ${ac_cv_lib_nsl_gethostbyname+y}
14342 then :
14343 printf %s "(cached) " >&6
14344 else $as_nop
14345 ac_check_lib_save_LIBS=$LIBS
14346 LIBS="-lnsl $LIBS"
14347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14348 /* end confdefs.h. */
14350 /* Override any GCC internal prototype to avoid an error.
14351 Use char because int might match the return type of a GCC
14352 builtin and then its argument prototype would still apply. */
14353 char gethostbyname ();
14355 main (void)
14357 return gethostbyname ();
14359 return 0;
14361 _ACEOF
14362 if ac_fn_c_try_link "$LINENO"
14363 then :
14364 ac_cv_lib_nsl_gethostbyname=yes
14365 else $as_nop
14366 ac_cv_lib_nsl_gethostbyname=no
14368 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14369 conftest$ac_exeext conftest.$ac_ext
14370 LIBS=$ac_check_lib_save_LIBS
14372 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
14373 printf "%s\n" "$ac_cv_lib_nsl_gethostbyname" >&6; }
14374 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
14375 then :
14376 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
14379 if test $ac_cv_lib_nsl_gethostbyname = no; then
14380 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
14381 printf %s "checking for gethostbyname in -lbsd... " >&6; }
14382 if test ${ac_cv_lib_bsd_gethostbyname+y}
14383 then :
14384 printf %s "(cached) " >&6
14385 else $as_nop
14386 ac_check_lib_save_LIBS=$LIBS
14387 LIBS="-lbsd $LIBS"
14388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14389 /* end confdefs.h. */
14391 /* Override any GCC internal prototype to avoid an error.
14392 Use char because int might match the return type of a GCC
14393 builtin and then its argument prototype would still apply. */
14394 char gethostbyname ();
14396 main (void)
14398 return gethostbyname ();
14400 return 0;
14402 _ACEOF
14403 if ac_fn_c_try_link "$LINENO"
14404 then :
14405 ac_cv_lib_bsd_gethostbyname=yes
14406 else $as_nop
14407 ac_cv_lib_bsd_gethostbyname=no
14409 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14410 conftest$ac_exeext conftest.$ac_ext
14411 LIBS=$ac_check_lib_save_LIBS
14413 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
14414 printf "%s\n" "$ac_cv_lib_bsd_gethostbyname" >&6; }
14415 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
14416 then :
14417 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
14423 # lieder@skyler.mavd.honeywell.com says without -lsocket,
14424 # socket/setsockopt and other routines are undefined under SCO ODT
14425 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
14426 # on later versions), says Simon Leinen: it contains gethostby*
14427 # variants that don't use the name server (or something). -lsocket
14428 # must be given before -lnsl if both are needed. We assume that
14429 # if connect needs -lnsl, so does gethostbyname.
14430 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
14431 if test "x$ac_cv_func_connect" = xyes
14432 then :
14436 if test $ac_cv_func_connect = no; then
14437 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
14438 printf %s "checking for connect in -lsocket... " >&6; }
14439 if test ${ac_cv_lib_socket_connect+y}
14440 then :
14441 printf %s "(cached) " >&6
14442 else $as_nop
14443 ac_check_lib_save_LIBS=$LIBS
14444 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
14445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14446 /* end confdefs.h. */
14448 /* Override any GCC internal prototype to avoid an error.
14449 Use char because int might match the return type of a GCC
14450 builtin and then its argument prototype would still apply. */
14451 char connect ();
14453 main (void)
14455 return connect ();
14457 return 0;
14459 _ACEOF
14460 if ac_fn_c_try_link "$LINENO"
14461 then :
14462 ac_cv_lib_socket_connect=yes
14463 else $as_nop
14464 ac_cv_lib_socket_connect=no
14466 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14467 conftest$ac_exeext conftest.$ac_ext
14468 LIBS=$ac_check_lib_save_LIBS
14470 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
14471 printf "%s\n" "$ac_cv_lib_socket_connect" >&6; }
14472 if test "x$ac_cv_lib_socket_connect" = xyes
14473 then :
14474 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
14479 # Guillermo Gomez says -lposix is necessary on A/UX.
14480 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
14481 if test "x$ac_cv_func_remove" = xyes
14482 then :
14486 if test $ac_cv_func_remove = no; then
14487 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
14488 printf %s "checking for remove in -lposix... " >&6; }
14489 if test ${ac_cv_lib_posix_remove+y}
14490 then :
14491 printf %s "(cached) " >&6
14492 else $as_nop
14493 ac_check_lib_save_LIBS=$LIBS
14494 LIBS="-lposix $LIBS"
14495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14496 /* end confdefs.h. */
14498 /* Override any GCC internal prototype to avoid an error.
14499 Use char because int might match the return type of a GCC
14500 builtin and then its argument prototype would still apply. */
14501 char remove ();
14503 main (void)
14505 return remove ();
14507 return 0;
14509 _ACEOF
14510 if ac_fn_c_try_link "$LINENO"
14511 then :
14512 ac_cv_lib_posix_remove=yes
14513 else $as_nop
14514 ac_cv_lib_posix_remove=no
14516 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14517 conftest$ac_exeext conftest.$ac_ext
14518 LIBS=$ac_check_lib_save_LIBS
14520 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
14521 printf "%s\n" "$ac_cv_lib_posix_remove" >&6; }
14522 if test "x$ac_cv_lib_posix_remove" = xyes
14523 then :
14524 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
14529 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
14530 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
14531 if test "x$ac_cv_func_shmat" = xyes
14532 then :
14536 if test $ac_cv_func_shmat = no; then
14537 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
14538 printf %s "checking for shmat in -lipc... " >&6; }
14539 if test ${ac_cv_lib_ipc_shmat+y}
14540 then :
14541 printf %s "(cached) " >&6
14542 else $as_nop
14543 ac_check_lib_save_LIBS=$LIBS
14544 LIBS="-lipc $LIBS"
14545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14546 /* end confdefs.h. */
14548 /* Override any GCC internal prototype to avoid an error.
14549 Use char because int might match the return type of a GCC
14550 builtin and then its argument prototype would still apply. */
14551 char shmat ();
14553 main (void)
14555 return shmat ();
14557 return 0;
14559 _ACEOF
14560 if ac_fn_c_try_link "$LINENO"
14561 then :
14562 ac_cv_lib_ipc_shmat=yes
14563 else $as_nop
14564 ac_cv_lib_ipc_shmat=no
14566 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14567 conftest$ac_exeext conftest.$ac_ext
14568 LIBS=$ac_check_lib_save_LIBS
14570 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
14571 printf "%s\n" "$ac_cv_lib_ipc_shmat" >&6; }
14572 if test "x$ac_cv_lib_ipc_shmat" = xyes
14573 then :
14574 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
14580 # Check for libraries that X11R6 Xt/Xaw programs need.
14581 ac_save_LDFLAGS=$LDFLAGS
14582 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
14583 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
14584 # check for ICE first), but we must link in the order -lSM -lICE or
14585 # we get undefined symbols. So assume we have SM if we have ICE.
14586 # These have to be linked with before -lX11, unlike the other
14587 # libraries we check for below, so use a different variable.
14588 # John Interrante, Karl Berry
14589 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
14590 printf %s "checking for IceConnectionNumber in -lICE... " >&6; }
14591 if test ${ac_cv_lib_ICE_IceConnectionNumber+y}
14592 then :
14593 printf %s "(cached) " >&6
14594 else $as_nop
14595 ac_check_lib_save_LIBS=$LIBS
14596 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
14597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14598 /* end confdefs.h. */
14600 /* Override any GCC internal prototype to avoid an error.
14601 Use char because int might match the return type of a GCC
14602 builtin and then its argument prototype would still apply. */
14603 char IceConnectionNumber ();
14605 main (void)
14607 return IceConnectionNumber ();
14609 return 0;
14611 _ACEOF
14612 if ac_fn_c_try_link "$LINENO"
14613 then :
14614 ac_cv_lib_ICE_IceConnectionNumber=yes
14615 else $as_nop
14616 ac_cv_lib_ICE_IceConnectionNumber=no
14618 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14619 conftest$ac_exeext conftest.$ac_ext
14620 LIBS=$ac_check_lib_save_LIBS
14622 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
14623 printf "%s\n" "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
14624 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
14625 then :
14626 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
14629 LDFLAGS=$ac_save_LDFLAGS
14634 if test "$have_x" = "yes"
14635 then
14636 ac_save_CPPFLAGS="$CPPFLAGS"
14637 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
14639 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
14640 printf %s "checking for -lX11... " >&6; }
14641 if test ${ac_cv_lib_soname_X11+y}
14642 then :
14643 printf %s "(cached) " >&6
14644 else $as_nop
14645 ac_check_soname_save_LIBS=$LIBS
14646 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
14647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14648 /* end confdefs.h. */
14650 /* Override any GCC internal prototype to avoid an error.
14651 Use char because int might match the return type of a GCC
14652 builtin and then its argument prototype would still apply. */
14653 char XCreateWindow ();
14655 main (void)
14657 return XCreateWindow ();
14659 return 0;
14661 _ACEOF
14662 if ac_fn_c_try_link "$LINENO"
14663 then :
14664 case "$LIBEXT" in
14665 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14666 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'` ;;
14667 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14668 if ${ac_cv_lib_soname_X11:+false} :
14669 then :
14670 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14671 fi ;;
14672 esac
14673 else $as_nop
14674 ac_cv_lib_soname_X11=
14676 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14677 conftest$ac_exeext conftest.$ac_ext
14678 LIBS=$ac_check_soname_save_LIBS
14680 if ${ac_cv_lib_soname_X11:+false} :
14681 then :
14682 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14683 printf "%s\n" "not found" >&6; }
14685 else $as_nop
14686 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
14687 printf "%s\n" "$ac_cv_lib_soname_X11" >&6; }
14689 printf "%s\n" "#define SONAME_LIBX11 \"$ac_cv_lib_soname_X11\"" >>confdefs.h
14693 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
14694 printf %s "checking for -lXext... " >&6; }
14695 if test ${ac_cv_lib_soname_Xext+y}
14696 then :
14697 printf %s "(cached) " >&6
14698 else $as_nop
14699 ac_check_soname_save_LIBS=$LIBS
14700 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
14701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14702 /* end confdefs.h. */
14704 /* Override any GCC internal prototype to avoid an error.
14705 Use char because int might match the return type of a GCC
14706 builtin and then its argument prototype would still apply. */
14707 char XextCreateExtension ();
14709 main (void)
14711 return XextCreateExtension ();
14713 return 0;
14715 _ACEOF
14716 if ac_fn_c_try_link "$LINENO"
14717 then :
14718 case "$LIBEXT" in
14719 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14720 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'` ;;
14721 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14722 if ${ac_cv_lib_soname_Xext:+false} :
14723 then :
14724 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14725 fi ;;
14726 esac
14727 else $as_nop
14728 ac_cv_lib_soname_Xext=
14730 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14731 conftest$ac_exeext conftest.$ac_ext
14732 LIBS=$ac_check_soname_save_LIBS
14734 if ${ac_cv_lib_soname_Xext:+false} :
14735 then :
14736 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14737 printf "%s\n" "not found" >&6; }
14739 else $as_nop
14740 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
14741 printf "%s\n" "$ac_cv_lib_soname_Xext" >&6; }
14743 printf "%s\n" "#define SONAME_LIBXEXT \"$ac_cv_lib_soname_Xext\"" >>confdefs.h
14745 X_LIBS="$X_LIBS -lXext"
14747 X_LIBS="$X_LIBS -lX11"
14749 xlib_includes="#include <X11/Xlib.h>
14750 #include <X11/Xutil.h>"
14752 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/shape.h" "ac_cv_header_X11_extensions_shape_h" "$xlib_includes
14754 if test "x$ac_cv_header_X11_extensions_shape_h" = xyes
14755 then :
14756 printf "%s\n" "#define HAVE_X11_EXTENSIONS_SHAPE_H 1" >>confdefs.h
14759 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XInput2.h" "ac_cv_header_X11_extensions_XInput2_h" "$xlib_includes
14761 if test "x$ac_cv_header_X11_extensions_XInput2_h" = xyes
14762 then :
14763 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINPUT2_H 1" >>confdefs.h
14766 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XShm.h" "ac_cv_header_X11_extensions_XShm_h" "$xlib_includes
14768 if test "x$ac_cv_header_X11_extensions_XShm_h" = xyes
14769 then :
14770 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XSHM_H 1" >>confdefs.h
14773 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xfixes.h" "ac_cv_header_X11_extensions_Xfixes_h" "$xlib_includes
14775 if test "x$ac_cv_header_X11_extensions_Xfixes_h" = xyes
14776 then :
14777 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XFIXES_H 1" >>confdefs.h
14780 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xinerama.h" "ac_cv_header_X11_extensions_Xinerama_h" "$xlib_includes
14782 if test "x$ac_cv_header_X11_extensions_Xinerama_h" = xyes
14783 then :
14784 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINERAMA_H 1" >>confdefs.h
14787 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xrandr.h" "ac_cv_header_X11_extensions_Xrandr_h" "$xlib_includes
14789 if test "x$ac_cv_header_X11_extensions_Xrandr_h" = xyes
14790 then :
14791 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRANDR_H 1" >>confdefs.h
14794 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xrender.h" "ac_cv_header_X11_extensions_Xrender_h" "$xlib_includes
14796 if test "x$ac_cv_header_X11_extensions_Xrender_h" = xyes
14797 then :
14798 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRENDER_H 1" >>confdefs.h
14801 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/xf86vmode.h" "ac_cv_header_X11_extensions_xf86vmode_h" "$xlib_includes
14803 if test "x$ac_cv_header_X11_extensions_xf86vmode_h" = xyes
14804 then :
14805 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMODE_H 1" >>confdefs.h
14808 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/xf86vmproto.h" "ac_cv_header_X11_extensions_xf86vmproto_h" "$xlib_includes
14810 if test "x$ac_cv_header_X11_extensions_xf86vmproto_h" = xyes
14811 then :
14812 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMPROTO_H 1" >>confdefs.h
14817 ac_fn_c_check_header_compile "$LINENO" "X11/Xcursor/Xcursor.h" "ac_cv_header_X11_Xcursor_Xcursor_h" "$xlib_includes
14819 if test "x$ac_cv_header_X11_Xcursor_Xcursor_h" = xyes
14820 then :
14821 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
14822 printf %s "checking for -lXcursor... " >&6; }
14823 if test ${ac_cv_lib_soname_Xcursor+y}
14824 then :
14825 printf %s "(cached) " >&6
14826 else $as_nop
14827 ac_check_soname_save_LIBS=$LIBS
14828 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
14829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14830 /* end confdefs.h. */
14832 /* Override any GCC internal prototype to avoid an error.
14833 Use char because int might match the return type of a GCC
14834 builtin and then its argument prototype would still apply. */
14835 char XcursorImageLoadCursor ();
14837 main (void)
14839 return XcursorImageLoadCursor ();
14841 return 0;
14843 _ACEOF
14844 if ac_fn_c_try_link "$LINENO"
14845 then :
14846 case "$LIBEXT" in
14847 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14848 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'` ;;
14849 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14850 if ${ac_cv_lib_soname_Xcursor:+false} :
14851 then :
14852 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14853 fi ;;
14854 esac
14855 else $as_nop
14856 ac_cv_lib_soname_Xcursor=
14858 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14859 conftest$ac_exeext conftest.$ac_ext
14860 LIBS=$ac_check_soname_save_LIBS
14862 if ${ac_cv_lib_soname_Xcursor:+false} :
14863 then :
14864 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14865 printf "%s\n" "not found" >&6; }
14867 else $as_nop
14868 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
14869 printf "%s\n" "$ac_cv_lib_soname_Xcursor" >&6; }
14871 printf "%s\n" "#define SONAME_LIBXCURSOR \"$ac_cv_lib_soname_Xcursor\"" >>confdefs.h
14877 if test "x$ac_cv_lib_soname_Xcursor" = "x"
14878 then :
14879 case "x$with_xcursor" in
14880 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
14881 xno) ;;
14882 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
14883 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
14884 esac
14888 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XInput.h" "ac_cv_header_X11_extensions_XInput_h" "$xlib_includes
14890 if test "x$ac_cv_header_X11_extensions_XInput_h" = xyes
14891 then :
14892 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
14893 printf %s "checking for -lXi... " >&6; }
14894 if test ${ac_cv_lib_soname_Xi+y}
14895 then :
14896 printf %s "(cached) " >&6
14897 else $as_nop
14898 ac_check_soname_save_LIBS=$LIBS
14899 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
14900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14901 /* end confdefs.h. */
14903 /* Override any GCC internal prototype to avoid an error.
14904 Use char because int might match the return type of a GCC
14905 builtin and then its argument prototype would still apply. */
14906 char XOpenDevice ();
14908 main (void)
14910 return XOpenDevice ();
14912 return 0;
14914 _ACEOF
14915 if ac_fn_c_try_link "$LINENO"
14916 then :
14917 case "$LIBEXT" in
14918 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14919 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'` ;;
14920 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14921 if ${ac_cv_lib_soname_Xi:+false} :
14922 then :
14923 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14924 fi ;;
14925 esac
14926 else $as_nop
14927 ac_cv_lib_soname_Xi=
14929 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14930 conftest$ac_exeext conftest.$ac_ext
14931 LIBS=$ac_check_soname_save_LIBS
14933 if ${ac_cv_lib_soname_Xi:+false} :
14934 then :
14935 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14936 printf "%s\n" "not found" >&6; }
14938 else $as_nop
14939 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
14940 printf "%s\n" "$ac_cv_lib_soname_Xi" >&6; }
14942 printf "%s\n" "#define SONAME_LIBXI \"$ac_cv_lib_soname_Xi\"" >>confdefs.h
14948 if test "x$ac_cv_lib_soname_Xi" = "x"
14949 then :
14950 case "x$with_xinput" in
14951 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
14952 xno) ;;
14953 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
14954 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
14955 esac
14959 if test "x$ac_cv_lib_soname_Xi" != x
14960 then
14961 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"
14962 then :
14963 case "x$with_xinput2" in
14964 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
14965 xno) ;;
14966 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
14967 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
14968 esac
14973 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
14974 then
14975 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
14976 printf %s "checking for XShmQueryExtension in -lXext... " >&6; }
14977 if test ${ac_cv_lib_Xext_XShmQueryExtension+y}
14978 then :
14979 printf %s "(cached) " >&6
14980 else $as_nop
14981 ac_check_lib_save_LIBS=$LIBS
14982 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
14983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14984 /* end confdefs.h. */
14986 /* Override any GCC internal prototype to avoid an error.
14987 Use char because int might match the return type of a GCC
14988 builtin and then its argument prototype would still apply. */
14989 char XShmQueryExtension ();
14991 main (void)
14993 return XShmQueryExtension ();
14995 return 0;
14997 _ACEOF
14998 if ac_fn_c_try_link "$LINENO"
14999 then :
15000 ac_cv_lib_Xext_XShmQueryExtension=yes
15001 else $as_nop
15002 ac_cv_lib_Xext_XShmQueryExtension=no
15004 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15005 conftest$ac_exeext conftest.$ac_ext
15006 LIBS=$ac_check_lib_save_LIBS
15008 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
15009 printf "%s\n" "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
15010 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
15011 then :
15013 printf "%s\n" "#define HAVE_LIBXXSHM 1" >>confdefs.h
15018 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"
15019 then :
15020 case "x$with_xshm" in
15021 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
15022 xno) ;;
15023 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
15024 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
15025 esac
15029 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
15030 then
15031 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
15032 printf %s "checking for XShapeQueryExtension in -lXext... " >&6; }
15033 if test ${ac_cv_lib_Xext_XShapeQueryExtension+y}
15034 then :
15035 printf %s "(cached) " >&6
15036 else $as_nop
15037 ac_check_lib_save_LIBS=$LIBS
15038 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
15039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15040 /* end confdefs.h. */
15042 /* Override any GCC internal prototype to avoid an error.
15043 Use char because int might match the return type of a GCC
15044 builtin and then its argument prototype would still apply. */
15045 char XShapeQueryExtension ();
15047 main (void)
15049 return XShapeQueryExtension ();
15051 return 0;
15053 _ACEOF
15054 if ac_fn_c_try_link "$LINENO"
15055 then :
15056 ac_cv_lib_Xext_XShapeQueryExtension=yes
15057 else $as_nop
15058 ac_cv_lib_Xext_XShapeQueryExtension=no
15060 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15061 conftest$ac_exeext conftest.$ac_ext
15062 LIBS=$ac_check_lib_save_LIBS
15064 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
15065 printf "%s\n" "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
15066 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
15067 then :
15069 printf "%s\n" "#define HAVE_LIBXSHAPE 1" >>confdefs.h
15074 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"
15075 then :
15076 case "x$with_xshape" in
15077 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
15078 xno) ;;
15079 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
15080 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
15081 esac
15085 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
15086 then
15087 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
15088 printf %s "checking for -lXxf86vm... " >&6; }
15089 if test ${ac_cv_lib_soname_Xxf86vm+y}
15090 then :
15091 printf %s "(cached) " >&6
15092 else $as_nop
15093 ac_check_soname_save_LIBS=$LIBS
15094 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
15095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15096 /* end confdefs.h. */
15098 /* Override any GCC internal prototype to avoid an error.
15099 Use char because int might match the return type of a GCC
15100 builtin and then its argument prototype would still apply. */
15101 char XF86VidModeQueryExtension ();
15103 main (void)
15105 return XF86VidModeQueryExtension ();
15107 return 0;
15109 _ACEOF
15110 if ac_fn_c_try_link "$LINENO"
15111 then :
15112 case "$LIBEXT" in
15113 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15114 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'` ;;
15115 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15116 if ${ac_cv_lib_soname_Xxf86vm:+false} :
15117 then :
15118 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15119 fi ;;
15120 esac
15121 else $as_nop
15122 ac_cv_lib_soname_Xxf86vm=
15124 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15125 conftest$ac_exeext conftest.$ac_ext
15126 LIBS=$ac_check_soname_save_LIBS
15128 if ${ac_cv_lib_soname_Xxf86vm:+false} :
15129 then :
15130 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15131 printf "%s\n" "not found" >&6; }
15133 else $as_nop
15134 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
15135 printf "%s\n" "$ac_cv_lib_soname_Xxf86vm" >&6; }
15137 printf "%s\n" "#define SONAME_LIBXXF86VM \"$ac_cv_lib_soname_Xxf86vm\"" >>confdefs.h
15142 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"
15143 then :
15144 case "x$with_xxf86vm" in
15145 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
15146 xno) ;;
15147 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
15148 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
15149 esac
15153 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
15154 then
15155 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
15156 printf %s "checking for -lXrender... " >&6; }
15157 if test ${ac_cv_lib_soname_Xrender+y}
15158 then :
15159 printf %s "(cached) " >&6
15160 else $as_nop
15161 ac_check_soname_save_LIBS=$LIBS
15162 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
15163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15164 /* end confdefs.h. */
15166 /* Override any GCC internal prototype to avoid an error.
15167 Use char because int might match the return type of a GCC
15168 builtin and then its argument prototype would still apply. */
15169 char XRenderQueryExtension ();
15171 main (void)
15173 return XRenderQueryExtension ();
15175 return 0;
15177 _ACEOF
15178 if ac_fn_c_try_link "$LINENO"
15179 then :
15180 case "$LIBEXT" in
15181 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15182 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'` ;;
15183 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15184 if ${ac_cv_lib_soname_Xrender:+false} :
15185 then :
15186 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15187 fi ;;
15188 esac
15189 else $as_nop
15190 ac_cv_lib_soname_Xrender=
15192 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15193 conftest$ac_exeext conftest.$ac_ext
15194 LIBS=$ac_check_soname_save_LIBS
15196 if ${ac_cv_lib_soname_Xrender:+false} :
15197 then :
15198 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15199 printf "%s\n" "not found" >&6; }
15201 else $as_nop
15202 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
15203 printf "%s\n" "$ac_cv_lib_soname_Xrender" >&6; }
15205 printf "%s\n" "#define SONAME_LIBXRENDER \"$ac_cv_lib_soname_Xrender\"" >>confdefs.h
15207 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
15208 printf %s "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
15209 if test ${ac_cv_lib_Xrender_XRenderSetPictureTransform+y}
15210 then :
15211 printf %s "(cached) " >&6
15212 else $as_nop
15213 ac_check_lib_save_LIBS=$LIBS
15214 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
15215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15216 /* end confdefs.h. */
15218 /* Override any GCC internal prototype to avoid an error.
15219 Use char because int might match the return type of a GCC
15220 builtin and then its argument prototype would still apply. */
15221 char XRenderSetPictureTransform ();
15223 main (void)
15225 return XRenderSetPictureTransform ();
15227 return 0;
15229 _ACEOF
15230 if ac_fn_c_try_link "$LINENO"
15231 then :
15232 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
15233 else $as_nop
15234 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
15236 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15237 conftest$ac_exeext conftest.$ac_ext
15238 LIBS=$ac_check_lib_save_LIBS
15240 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
15241 printf "%s\n" "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
15242 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
15243 then :
15245 printf "%s\n" "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
15249 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
15250 printf %s "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
15251 if test ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+y}
15252 then :
15253 printf %s "(cached) " >&6
15254 else $as_nop
15255 ac_check_lib_save_LIBS=$LIBS
15256 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
15257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15258 /* end confdefs.h. */
15260 /* Override any GCC internal prototype to avoid an error.
15261 Use char because int might match the return type of a GCC
15262 builtin and then its argument prototype would still apply. */
15263 char XRenderCreateLinearGradient ();
15265 main (void)
15267 return XRenderCreateLinearGradient ();
15269 return 0;
15271 _ACEOF
15272 if ac_fn_c_try_link "$LINENO"
15273 then :
15274 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
15275 else $as_nop
15276 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
15278 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15279 conftest$ac_exeext conftest.$ac_ext
15280 LIBS=$ac_check_lib_save_LIBS
15282 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
15283 printf "%s\n" "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
15284 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes
15285 then :
15287 printf "%s\n" "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
15294 if test "x$ac_cv_lib_soname_Xrender" = "x"
15295 then :
15296 case "x$with_xrender" in
15297 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
15298 xno) ;;
15299 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
15300 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
15301 esac
15305 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
15306 then
15307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15308 /* end confdefs.h. */
15309 #include <X11/Xlib.h>
15310 #include <X11/extensions/Xrandr.h>
15312 main (void)
15314 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
15316 return 0;
15318 _ACEOF
15319 if ac_fn_c_try_compile "$LINENO"
15320 then :
15321 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
15322 printf %s "checking for -lXrandr... " >&6; }
15323 if test ${ac_cv_lib_soname_Xrandr+y}
15324 then :
15325 printf %s "(cached) " >&6
15326 else $as_nop
15327 ac_check_soname_save_LIBS=$LIBS
15328 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
15329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15330 /* end confdefs.h. */
15332 /* Override any GCC internal prototype to avoid an error.
15333 Use char because int might match the return type of a GCC
15334 builtin and then its argument prototype would still apply. */
15335 char XRRQueryExtension ();
15337 main (void)
15339 return XRRQueryExtension ();
15341 return 0;
15343 _ACEOF
15344 if ac_fn_c_try_link "$LINENO"
15345 then :
15346 case "$LIBEXT" in
15347 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15348 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'` ;;
15349 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15350 if ${ac_cv_lib_soname_Xrandr:+false} :
15351 then :
15352 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15353 fi ;;
15354 esac
15355 else $as_nop
15356 ac_cv_lib_soname_Xrandr=
15358 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15359 conftest$ac_exeext conftest.$ac_ext
15360 LIBS=$ac_check_soname_save_LIBS
15362 if ${ac_cv_lib_soname_Xrandr:+false} :
15363 then :
15364 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15365 printf "%s\n" "not found" >&6; }
15367 else $as_nop
15368 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
15369 printf "%s\n" "$ac_cv_lib_soname_Xrandr" >&6; }
15371 printf "%s\n" "#define SONAME_LIBXRANDR \"$ac_cv_lib_soname_Xrandr\"" >>confdefs.h
15373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15374 /* end confdefs.h. */
15375 #include <X11/Xlib.h>
15376 #include <X11/extensions/Xrandr.h>
15378 main (void)
15380 static typeof(XRRGetProviderResources) *f; if (f) return 0;
15382 return 0;
15384 _ACEOF
15385 if ac_fn_c_try_compile "$LINENO"
15386 then :
15388 printf "%s\n" "#define HAVE_XRRGETPROVIDERRESOURCES 1" >>confdefs.h
15390 else $as_nop
15391 as_fn_append wine_notices "|libxrandr ${notice_platform}development files too old, XRandR display device handler won't be supported."
15393 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15396 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15398 if test "x$ac_cv_lib_soname_Xrandr" = "x"
15399 then :
15400 case "x$with_xrandr" in
15401 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
15402 xno) ;;
15403 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
15404 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
15405 esac
15409 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
15410 then
15411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15412 /* end confdefs.h. */
15413 #include <X11/Xlib.h>
15414 #include <X11/extensions/Xfixes.h>
15416 main (void)
15418 static typeof(XFixesQueryVersion) * func; if (func) return 0;
15420 return 0;
15422 _ACEOF
15423 if ac_fn_c_try_compile "$LINENO"
15424 then :
15425 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
15426 printf %s "checking for -lXfixes... " >&6; }
15427 if test ${ac_cv_lib_soname_Xfixes+y}
15428 then :
15429 printf %s "(cached) " >&6
15430 else $as_nop
15431 ac_check_soname_save_LIBS=$LIBS
15432 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
15433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15434 /* end confdefs.h. */
15436 /* Override any GCC internal prototype to avoid an error.
15437 Use char because int might match the return type of a GCC
15438 builtin and then its argument prototype would still apply. */
15439 char XFixesQueryVersion ();
15441 main (void)
15443 return XFixesQueryVersion ();
15445 return 0;
15447 _ACEOF
15448 if ac_fn_c_try_link "$LINENO"
15449 then :
15450 case "$LIBEXT" in
15451 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15452 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'` ;;
15453 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15454 if ${ac_cv_lib_soname_Xfixes:+false} :
15455 then :
15456 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15457 fi ;;
15458 esac
15459 else $as_nop
15460 ac_cv_lib_soname_Xfixes=
15462 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15463 conftest$ac_exeext conftest.$ac_ext
15464 LIBS=$ac_check_soname_save_LIBS
15466 if ${ac_cv_lib_soname_Xfixes:+false} :
15467 then :
15468 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15469 printf "%s\n" "not found" >&6; }
15471 else $as_nop
15472 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
15473 printf "%s\n" "$ac_cv_lib_soname_Xfixes" >&6; }
15475 printf "%s\n" "#define SONAME_LIBXFIXES \"$ac_cv_lib_soname_Xfixes\"" >>confdefs.h
15480 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15482 if test "x$ac_cv_lib_soname_Xfixes" = "x"
15483 then :
15484 case "x$with_xfixes" in
15485 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
15486 xno) ;;
15487 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
15488 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
15489 esac
15493 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
15494 then
15495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15496 /* end confdefs.h. */
15497 #include <X11/Xlib.h>
15498 #include <X11/extensions/Xinerama.h>
15500 main (void)
15502 static typeof(XineramaQueryScreens) * func; if (func) return 0;
15504 return 0;
15506 _ACEOF
15507 if ac_fn_c_try_compile "$LINENO"
15508 then :
15509 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
15510 printf %s "checking for -lXinerama... " >&6; }
15511 if test ${ac_cv_lib_soname_Xinerama+y}
15512 then :
15513 printf %s "(cached) " >&6
15514 else $as_nop
15515 ac_check_soname_save_LIBS=$LIBS
15516 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
15517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15518 /* end confdefs.h. */
15520 /* Override any GCC internal prototype to avoid an error.
15521 Use char because int might match the return type of a GCC
15522 builtin and then its argument prototype would still apply. */
15523 char XineramaQueryScreens ();
15525 main (void)
15527 return XineramaQueryScreens ();
15529 return 0;
15531 _ACEOF
15532 if ac_fn_c_try_link "$LINENO"
15533 then :
15534 case "$LIBEXT" in
15535 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15536 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'` ;;
15537 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15538 if ${ac_cv_lib_soname_Xinerama:+false} :
15539 then :
15540 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15541 fi ;;
15542 esac
15543 else $as_nop
15544 ac_cv_lib_soname_Xinerama=
15546 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15547 conftest$ac_exeext conftest.$ac_ext
15548 LIBS=$ac_check_soname_save_LIBS
15550 if ${ac_cv_lib_soname_Xinerama:+false} :
15551 then :
15552 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15553 printf "%s\n" "not found" >&6; }
15555 else $as_nop
15556 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
15557 printf "%s\n" "$ac_cv_lib_soname_Xinerama" >&6; }
15559 printf "%s\n" "#define SONAME_LIBXINERAMA \"$ac_cv_lib_soname_Xinerama\"" >>confdefs.h
15564 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15566 if test "x$ac_cv_lib_soname_Xinerama" = "x"
15567 then :
15568 case "x$with_xinerama" in
15569 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
15570 xno) ;;
15571 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
15572 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
15573 esac
15577 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xcomposite.h" "ac_cv_header_X11_extensions_Xcomposite_h" "$xlib_includes
15579 if test "x$ac_cv_header_X11_extensions_Xcomposite_h" = xyes
15580 then :
15581 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
15582 printf %s "checking for -lXcomposite... " >&6; }
15583 if test ${ac_cv_lib_soname_Xcomposite+y}
15584 then :
15585 printf %s "(cached) " >&6
15586 else $as_nop
15587 ac_check_soname_save_LIBS=$LIBS
15588 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
15589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15590 /* end confdefs.h. */
15592 /* Override any GCC internal prototype to avoid an error.
15593 Use char because int might match the return type of a GCC
15594 builtin and then its argument prototype would still apply. */
15595 char XCompositeRedirectWindow ();
15597 main (void)
15599 return XCompositeRedirectWindow ();
15601 return 0;
15603 _ACEOF
15604 if ac_fn_c_try_link "$LINENO"
15605 then :
15606 case "$LIBEXT" in
15607 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15608 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'` ;;
15609 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15610 if ${ac_cv_lib_soname_Xcomposite:+false} :
15611 then :
15612 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15613 fi ;;
15614 esac
15615 else $as_nop
15616 ac_cv_lib_soname_Xcomposite=
15618 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15619 conftest$ac_exeext conftest.$ac_ext
15620 LIBS=$ac_check_soname_save_LIBS
15622 if ${ac_cv_lib_soname_Xcomposite:+false} :
15623 then :
15624 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15625 printf "%s\n" "not found" >&6; }
15627 else $as_nop
15628 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
15629 printf "%s\n" "$ac_cv_lib_soname_Xcomposite" >&6; }
15631 printf "%s\n" "#define SONAME_LIBXCOMPOSITE \"$ac_cv_lib_soname_Xcomposite\"" >>confdefs.h
15637 if test "x$ac_cv_lib_soname_Xcomposite" = "x"
15638 then :
15639 case "x$with_xcomposite" in
15640 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
15641 xno) ;;
15642 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
15643 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
15644 esac
15648 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "$xlib_includes
15650 if test "x$ac_cv_member_XICCallback_callback" = xyes
15651 then :
15653 printf "%s\n" "#define HAVE_XICCALLBACK_CALLBACK 1" >>confdefs.h
15657 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "$xlib_includes
15659 if test "x$ac_cv_member_XEvent_xcookie" = xyes
15660 then :
15662 printf "%s\n" "#define HAVE_XEVENT_XCOOKIE 1" >>confdefs.h
15669 opengl_msg=""
15670 if test "x$with_opengl" != "xno"
15671 then
15672 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
15673 printf %s "checking for -lGL... " >&6; }
15674 if test ${ac_cv_lib_soname_GL+y}
15675 then :
15676 printf %s "(cached) " >&6
15677 else $as_nop
15678 ac_check_soname_save_LIBS=$LIBS
15679 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
15680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15681 /* end confdefs.h. */
15683 /* Override any GCC internal prototype to avoid an error.
15684 Use char because int might match the return type of a GCC
15685 builtin and then its argument prototype would still apply. */
15686 char glXCreateContext ();
15688 main (void)
15690 return glXCreateContext ();
15692 return 0;
15694 _ACEOF
15695 if ac_fn_c_try_link "$LINENO"
15696 then :
15697 case "$LIBEXT" in
15698 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15699 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'` ;;
15700 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15701 if ${ac_cv_lib_soname_GL:+false} :
15702 then :
15703 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15704 fi ;;
15705 esac
15706 else $as_nop
15707 ac_cv_lib_soname_GL=
15709 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15710 conftest$ac_exeext conftest.$ac_ext
15711 LIBS=$ac_check_soname_save_LIBS
15713 if ${ac_cv_lib_soname_GL:+false} :
15714 then :
15715 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15716 printf "%s\n" "not found" >&6; }
15717 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
15718 printf %s "checking for -lGL... " >&6; }
15719 if test ${ac_cv_lib_soname_GL+y}
15720 then :
15721 printf %s "(cached) " >&6
15722 else $as_nop
15723 ac_check_soname_save_LIBS=$LIBS
15724 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"
15725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15726 /* end confdefs.h. */
15728 /* Override any GCC internal prototype to avoid an error.
15729 Use char because int might match the return type of a GCC
15730 builtin and then its argument prototype would still apply. */
15731 char glXCreateContext ();
15733 main (void)
15735 return glXCreateContext ();
15737 return 0;
15739 _ACEOF
15740 if ac_fn_c_try_link "$LINENO"
15741 then :
15742 case "$LIBEXT" in
15743 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15744 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'` ;;
15745 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15746 if ${ac_cv_lib_soname_GL:+false} :
15747 then :
15748 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15749 fi ;;
15750 esac
15751 else $as_nop
15752 ac_cv_lib_soname_GL=
15754 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15755 conftest$ac_exeext conftest.$ac_ext
15756 LIBS=$ac_check_soname_save_LIBS
15758 if ${ac_cv_lib_soname_GL:+false} :
15759 then :
15760 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15761 printf "%s\n" "not found" >&6; }
15762 if test -f /usr/X11R6/lib/libGL.a
15763 then
15764 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
15765 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
15766 else
15767 opengl_msg="No OpenGL library found on this system."
15769 else $as_nop
15770 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
15771 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
15773 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
15775 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"
15777 else $as_nop
15778 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
15779 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
15781 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
15783 OPENGL_LIBS="-lGL"
15785 if test "x$with_osmesa" != "xno"
15786 then
15787 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
15788 printf %s "checking for -lOSMesa... " >&6; }
15789 if test ${ac_cv_lib_soname_OSMesa+y}
15790 then :
15791 printf %s "(cached) " >&6
15792 else $as_nop
15793 ac_check_soname_save_LIBS=$LIBS
15794 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
15795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15796 /* end confdefs.h. */
15798 /* Override any GCC internal prototype to avoid an error.
15799 Use char because int might match the return type of a GCC
15800 builtin and then its argument prototype would still apply. */
15801 char OSMesaGetProcAddress ();
15803 main (void)
15805 return OSMesaGetProcAddress ();
15807 return 0;
15809 _ACEOF
15810 if ac_fn_c_try_link "$LINENO"
15811 then :
15812 case "$LIBEXT" in
15813 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15814 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'` ;;
15815 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15816 if ${ac_cv_lib_soname_OSMesa:+false} :
15817 then :
15818 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15819 fi ;;
15820 esac
15821 else $as_nop
15822 ac_cv_lib_soname_OSMesa=
15824 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15825 conftest$ac_exeext conftest.$ac_ext
15826 LIBS=$ac_check_soname_save_LIBS
15828 if ${ac_cv_lib_soname_OSMesa:+false} :
15829 then :
15830 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15831 printf "%s\n" "not found" >&6; }
15833 else $as_nop
15834 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
15835 printf "%s\n" "$ac_cv_lib_soname_OSMesa" >&6; }
15837 printf "%s\n" "#define SONAME_LIBOSMESA \"$ac_cv_lib_soname_OSMesa\"" >>confdefs.h
15841 if test "x$ac_cv_lib_soname_OSMesa" = "x"
15842 then :
15843 case "x$with_osmesa" in
15844 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
15845 xno) ;;
15846 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
15847 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
15848 esac
15853 if test -n "$opengl_msg"
15854 then :
15855 case "x$with_opengl" in
15856 x) as_fn_append wine_warnings "|$opengl_msg
15857 OpenGL and Direct3D won't be supported." ;;
15858 xno) ;;
15859 *) as_fn_error $? "$opengl_msg
15860 OpenGL and Direct3D won't be supported.
15861 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
15862 esac
15866 CPPFLAGS="$ac_save_CPPFLAGS"
15867 else
15868 X_CFLAGS=""
15869 X_LIBS=""
15872 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
15873 then
15874 if test "x$X_LIBS" = "x"
15875 then :
15876 case "x$with_x" in
15877 xno) ;;
15878 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
15879 without X support, which probably isn't what you want. You will need
15880 to install ${notice_platform}development packages of Xlib at the very least.
15881 Use the --without-x option if you really want this." "$LINENO" 5 ;;
15882 esac
15883 enable_winex11_drv=${enable_winex11_drv:-no}
15885 else
15886 if test "x$X_LIBS" = "x"
15887 then :
15888 case "x$with_x" in
15889 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
15890 xno) ;;
15891 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
15892 This is an error since --with-x was requested." "$LINENO" 5 ;;
15893 esac
15894 enable_winex11_drv=${enable_winex11_drv:-no}
15898 if test "x$with_wayland" != "xno"
15899 then
15900 rm -f conftest.err
15901 if ${WAYLAND_CLIENT_CFLAGS:+false} :
15902 then :
15903 if test ${PKG_CONFIG+y}
15904 then :
15905 WAYLAND_CLIENT_CFLAGS=`$PKG_CONFIG --cflags wayland-client 2>conftest.err`
15909 if ${WAYLAND_CLIENT_LIBS:+false} :
15910 then :
15911 if test ${PKG_CONFIG+y}
15912 then :
15913 WAYLAND_CLIENT_LIBS=`$PKG_CONFIG --libs wayland-client 2>/dev/null`
15918 printf "%s\n" "$as_me:${as_lineno-$LINENO}: wayland-client cflags: $WAYLAND_CLIENT_CFLAGS" >&5
15919 printf "%s\n" "$as_me:${as_lineno-$LINENO}: wayland-client libs: $WAYLAND_CLIENT_LIBS" >&5
15920 if test -s conftest.err; then
15921 printf %s "$as_me:${as_lineno-$LINENO}: wayland-client errors: " >&5
15922 cat conftest.err >&5
15924 rm -f conftest.err
15925 ac_save_CPPFLAGS=$CPPFLAGS
15926 CPPFLAGS="$CPPFLAGS $WAYLAND_CLIENT_CFLAGS"
15927 ac_fn_c_check_header_compile "$LINENO" "wayland-client.h" "ac_cv_header_wayland_client_h" "$ac_includes_default"
15928 if test "x$ac_cv_header_wayland_client_h" = xyes
15929 then :
15930 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for wl_display_connect in -lwayland-client" >&5
15931 printf %s "checking for wl_display_connect in -lwayland-client... " >&6; }
15932 if test ${ac_cv_lib_wayland_client_wl_display_connect+y}
15933 then :
15934 printf %s "(cached) " >&6
15935 else $as_nop
15936 ac_check_lib_save_LIBS=$LIBS
15937 LIBS="-lwayland-client $WAYLAND_CLIENT_LIBS $LIBS"
15938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15939 /* end confdefs.h. */
15941 /* Override any GCC internal prototype to avoid an error.
15942 Use char because int might match the return type of a GCC
15943 builtin and then its argument prototype would still apply. */
15944 char wl_display_connect ();
15946 main (void)
15948 return wl_display_connect ();
15950 return 0;
15952 _ACEOF
15953 if ac_fn_c_try_link "$LINENO"
15954 then :
15955 ac_cv_lib_wayland_client_wl_display_connect=yes
15956 else $as_nop
15957 ac_cv_lib_wayland_client_wl_display_connect=no
15959 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15960 conftest$ac_exeext conftest.$ac_ext
15961 LIBS=$ac_check_lib_save_LIBS
15963 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_wayland_client_wl_display_connect" >&5
15964 printf "%s\n" "$ac_cv_lib_wayland_client_wl_display_connect" >&6; }
15965 if test "x$ac_cv_lib_wayland_client_wl_display_connect" = xyes
15966 then :
15967 # Extract the first word of "wayland-scanner", so it can be a program name with args.
15968 set dummy wayland-scanner; ac_word=$2
15969 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15970 printf %s "checking for $ac_word... " >&6; }
15971 if test ${ac_cv_path_WAYLAND_SCANNER+y}
15972 then :
15973 printf %s "(cached) " >&6
15974 else $as_nop
15975 case $WAYLAND_SCANNER in
15976 [\\/]* | ?:[\\/]*)
15977 ac_cv_path_WAYLAND_SCANNER="$WAYLAND_SCANNER" # Let the user override the test with a path.
15980 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15981 for as_dir in $PATH
15983 IFS=$as_save_IFS
15984 case $as_dir in #(((
15985 '') as_dir=./ ;;
15986 */) ;;
15987 *) as_dir=$as_dir/ ;;
15988 esac
15989 for ac_exec_ext in '' $ac_executable_extensions; do
15990 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
15991 ac_cv_path_WAYLAND_SCANNER="$as_dir$ac_word$ac_exec_ext"
15992 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
15993 break 2
15995 done
15996 done
15997 IFS=$as_save_IFS
15999 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`"
16001 esac
16003 WAYLAND_SCANNER=$ac_cv_path_WAYLAND_SCANNER
16004 if test -n "$WAYLAND_SCANNER"; then
16005 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $WAYLAND_SCANNER" >&5
16006 printf "%s\n" "$WAYLAND_SCANNER" >&6; }
16007 else
16008 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
16009 printf "%s\n" "no" >&6; }
16013 else $as_nop
16014 WAYLAND_CLIENT_LIBS=""
16019 CPPFLAGS=$ac_save_CPPFLAGS
16021 rm -f conftest.err
16022 if ${XKBCOMMON_CFLAGS:+false} :
16023 then :
16024 if test ${PKG_CONFIG+y}
16025 then :
16026 XKBCOMMON_CFLAGS=`$PKG_CONFIG --cflags xkbcommon 2>conftest.err`
16030 if ${XKBCOMMON_LIBS:+false} :
16031 then :
16032 if test ${PKG_CONFIG+y}
16033 then :
16034 XKBCOMMON_LIBS=`$PKG_CONFIG --libs xkbcommon 2>/dev/null`
16039 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xkbcommon cflags: $XKBCOMMON_CFLAGS" >&5
16040 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xkbcommon libs: $XKBCOMMON_LIBS" >&5
16041 if test -s conftest.err; then
16042 printf %s "$as_me:${as_lineno-$LINENO}: xkbcommon errors: " >&5
16043 cat conftest.err >&5
16045 rm -f conftest.err
16046 ac_save_CPPFLAGS=$CPPFLAGS
16047 CPPFLAGS="$CPPFLAGS $XKBCOMMON_CFLAGS"
16048 ac_fn_c_check_header_compile "$LINENO" "xkbcommon/xkbcommon.h" "ac_cv_header_xkbcommon_xkbcommon_h" "$ac_includes_default"
16049 if test "x$ac_cv_header_xkbcommon_xkbcommon_h" = xyes
16050 then :
16051 printf "%s\n" "#define HAVE_XKBCOMMON_XKBCOMMON_H 1" >>confdefs.h
16055 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xkb_context_new in -lxkbcommon" >&5
16056 printf %s "checking for xkb_context_new in -lxkbcommon... " >&6; }
16057 if test ${ac_cv_lib_xkbcommon_xkb_context_new+y}
16058 then :
16059 printf %s "(cached) " >&6
16060 else $as_nop
16061 ac_check_lib_save_LIBS=$LIBS
16062 LIBS="-lxkbcommon $XKBCOMMON_LIBS $LIBS"
16063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16064 /* end confdefs.h. */
16066 /* Override any GCC internal prototype to avoid an error.
16067 Use char because int might match the return type of a GCC
16068 builtin and then its argument prototype would still apply. */
16069 char xkb_context_new ();
16071 main (void)
16073 return xkb_context_new ();
16075 return 0;
16077 _ACEOF
16078 if ac_fn_c_try_link "$LINENO"
16079 then :
16080 ac_cv_lib_xkbcommon_xkb_context_new=yes
16081 else $as_nop
16082 ac_cv_lib_xkbcommon_xkb_context_new=no
16084 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16085 conftest$ac_exeext conftest.$ac_ext
16086 LIBS=$ac_check_lib_save_LIBS
16088 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xkbcommon_xkb_context_new" >&5
16089 printf "%s\n" "$ac_cv_lib_xkbcommon_xkb_context_new" >&6; }
16090 if test "x$ac_cv_lib_xkbcommon_xkb_context_new" = xyes
16091 then :
16093 else $as_nop
16094 XKBCOMMON_LIBS=""
16097 CPPFLAGS=$ac_save_CPPFLAGS
16099 rm -f conftest.err
16100 if ${XKBREGISTRY_CFLAGS:+false} :
16101 then :
16102 if test ${PKG_CONFIG+y}
16103 then :
16104 XKBREGISTRY_CFLAGS=`$PKG_CONFIG --cflags xkbregistry 2>conftest.err`
16108 if ${XKBREGISTRY_LIBS:+false} :
16109 then :
16110 if test ${PKG_CONFIG+y}
16111 then :
16112 XKBREGISTRY_LIBS=`$PKG_CONFIG --libs xkbregistry 2>/dev/null`
16117 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xkbregistry cflags: $XKBREGISTRY_CFLAGS" >&5
16118 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xkbregistry libs: $XKBREGISTRY_LIBS" >&5
16119 if test -s conftest.err; then
16120 printf %s "$as_me:${as_lineno-$LINENO}: xkbregistry errors: " >&5
16121 cat conftest.err >&5
16123 rm -f conftest.err
16124 ac_save_CPPFLAGS=$CPPFLAGS
16125 CPPFLAGS="$CPPFLAGS $XKBREGISTRY_CFLAGS"
16126 ac_fn_c_check_header_compile "$LINENO" "xkbcommon/xkbregistry.h" "ac_cv_header_xkbcommon_xkbregistry_h" "$ac_includes_default"
16127 if test "x$ac_cv_header_xkbcommon_xkbregistry_h" = xyes
16128 then :
16129 printf "%s\n" "#define HAVE_XKBCOMMON_XKBREGISTRY_H 1" >>confdefs.h
16133 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for rxkb_context_new in -lxkbregistry" >&5
16134 printf %s "checking for rxkb_context_new in -lxkbregistry... " >&6; }
16135 if test ${ac_cv_lib_xkbregistry_rxkb_context_new+y}
16136 then :
16137 printf %s "(cached) " >&6
16138 else $as_nop
16139 ac_check_lib_save_LIBS=$LIBS
16140 LIBS="-lxkbregistry $XKBREGISTRY_LIBS $LIBS"
16141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16142 /* end confdefs.h. */
16144 /* Override any GCC internal prototype to avoid an error.
16145 Use char because int might match the return type of a GCC
16146 builtin and then its argument prototype would still apply. */
16147 char rxkb_context_new ();
16149 main (void)
16151 return rxkb_context_new ();
16153 return 0;
16155 _ACEOF
16156 if ac_fn_c_try_link "$LINENO"
16157 then :
16158 ac_cv_lib_xkbregistry_rxkb_context_new=yes
16159 else $as_nop
16160 ac_cv_lib_xkbregistry_rxkb_context_new=no
16162 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16163 conftest$ac_exeext conftest.$ac_ext
16164 LIBS=$ac_check_lib_save_LIBS
16166 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xkbregistry_rxkb_context_new" >&5
16167 printf "%s\n" "$ac_cv_lib_xkbregistry_rxkb_context_new" >&6; }
16168 if test "x$ac_cv_lib_xkbregistry_rxkb_context_new" = xyes
16169 then :
16171 else $as_nop
16172 XKBREGISTRY_LIBS=""
16175 CPPFLAGS=$ac_save_CPPFLAGS
16178 if test -z "$WAYLAND_CLIENT_LIBS" -o -z "$WAYLAND_SCANNER" -o -z "$XKBCOMMON_LIBS" -o -z "$XKBREGISTRY_LIBS" -o "$ac_cv_header_linux_input_h" = "no"
16179 then :
16180 case "x$with_wayland" in
16181 x) as_fn_append wine_notices "|Wayland ${notice_platform}development files not found, the Wayland driver won't be supported." ;;
16182 xno) ;;
16183 *) as_fn_error $? "Wayland ${notice_platform}development files not found, the Wayland driver won't be supported.
16184 This is an error since --with-wayland was requested." "$LINENO" 5 ;;
16185 esac
16186 enable_winewayland_drv=${enable_winewayland_drv:-no}
16189 if test "$ac_cv_header_CL_cl_h" = "yes"
16190 then
16191 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
16192 printf %s "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
16193 if test ${ac_cv_lib_OpenCL_clGetPlatformInfo+y}
16194 then :
16195 printf %s "(cached) " >&6
16196 else $as_nop
16197 ac_check_lib_save_LIBS=$LIBS
16198 LIBS="-lOpenCL $LIBS"
16199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16200 /* end confdefs.h. */
16202 /* Override any GCC internal prototype to avoid an error.
16203 Use char because int might match the return type of a GCC
16204 builtin and then its argument prototype would still apply. */
16205 char clGetPlatformInfo ();
16207 main (void)
16209 return clGetPlatformInfo ();
16211 return 0;
16213 _ACEOF
16214 if ac_fn_c_try_link "$LINENO"
16215 then :
16216 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
16217 else $as_nop
16218 ac_cv_lib_OpenCL_clGetPlatformInfo=no
16220 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16221 conftest$ac_exeext conftest.$ac_ext
16222 LIBS=$ac_check_lib_save_LIBS
16224 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
16225 printf "%s\n" "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
16226 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
16227 then :
16228 OPENCL_LIBS="-lOpenCL"
16233 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
16234 then :
16235 case "x$with_opencl" in
16236 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
16237 xno) ;;
16238 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
16239 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
16240 esac
16241 enable_opencl=${enable_opencl:-no}
16244 if test "$ac_cv_header_pcap_pcap_h" = "yes"
16245 then
16246 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pcap_init in -lpcap" >&5
16247 printf %s "checking for pcap_init in -lpcap... " >&6; }
16248 if test ${ac_cv_lib_pcap_pcap_init+y}
16249 then :
16250 printf %s "(cached) " >&6
16251 else $as_nop
16252 ac_check_lib_save_LIBS=$LIBS
16253 LIBS="-lpcap $LIBS"
16254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16255 /* end confdefs.h. */
16257 /* Override any GCC internal prototype to avoid an error.
16258 Use char because int might match the return type of a GCC
16259 builtin and then its argument prototype would still apply. */
16260 char pcap_init ();
16262 main (void)
16264 return pcap_init ();
16266 return 0;
16268 _ACEOF
16269 if ac_fn_c_try_link "$LINENO"
16270 then :
16271 ac_cv_lib_pcap_pcap_init=yes
16272 else $as_nop
16273 ac_cv_lib_pcap_pcap_init=no
16275 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16276 conftest$ac_exeext conftest.$ac_ext
16277 LIBS=$ac_check_lib_save_LIBS
16279 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_init" >&5
16280 printf "%s\n" "$ac_cv_lib_pcap_pcap_init" >&6; }
16281 if test "x$ac_cv_lib_pcap_pcap_init" = xyes
16282 then :
16283 PCAP_LIBS="-lpcap"
16288 if test "x$ac_cv_lib_pcap_pcap_init" != xyes
16289 then :
16290 case "x$with_pcap" in
16291 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
16292 xno) ;;
16293 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
16294 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
16295 esac
16296 enable_wpcap=${enable_wpcap:-no}
16299 if test "x$with_pcsclite" != "xno"
16300 then
16301 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for SCardEstablishContext in -lpcsclite" >&5
16302 printf %s "checking for SCardEstablishContext in -lpcsclite... " >&6; }
16303 if test ${ac_cv_lib_pcsclite_SCardEstablishContext+y}
16304 then :
16305 printf %s "(cached) " >&6
16306 else $as_nop
16307 ac_check_lib_save_LIBS=$LIBS
16308 LIBS="-lpcsclite $LIBS"
16309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16310 /* end confdefs.h. */
16312 /* Override any GCC internal prototype to avoid an error.
16313 Use char because int might match the return type of a GCC
16314 builtin and then its argument prototype would still apply. */
16315 char SCardEstablishContext ();
16317 main (void)
16319 return SCardEstablishContext ();
16321 return 0;
16323 _ACEOF
16324 if ac_fn_c_try_link "$LINENO"
16325 then :
16326 ac_cv_lib_pcsclite_SCardEstablishContext=yes
16327 else $as_nop
16328 ac_cv_lib_pcsclite_SCardEstablishContext=no
16330 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16331 conftest$ac_exeext conftest.$ac_ext
16332 LIBS=$ac_check_lib_save_LIBS
16334 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcsclite_SCardEstablishContext" >&5
16335 printf "%s\n" "$ac_cv_lib_pcsclite_SCardEstablishContext" >&6; }
16336 if test "x$ac_cv_lib_pcsclite_SCardEstablishContext" = xyes
16337 then :
16338 PCSCLITE_LIBS="-lpcsclite"
16340 else $as_nop
16341 case $host_os in
16342 darwin*|macosx*) PCSCLITE_LIBS="-framework PCSC"
16344 esac
16348 if test "x$PCSCLITE_LIBS" = x
16349 then :
16350 case "x$with_pcsclite" in
16351 x) as_fn_append wine_notices "|libpcsclite not found, smart cards won't be supported." ;;
16352 xno) ;;
16353 *) as_fn_error $? "libpcsclite not found, smart cards won't be supported.
16354 This is an error since --with-pcsclite was requested." "$LINENO" 5 ;;
16355 esac
16356 enable_winscard=${enable_winscard:-no}
16359 if test "x$with_inotify" != "xno"
16360 then
16361 rm -f conftest.err
16362 if ${INOTIFY_CFLAGS:+false} :
16363 then :
16364 if test ${PKG_CONFIG+y}
16365 then :
16366 INOTIFY_CFLAGS=`$PKG_CONFIG --cflags libinotify 2>conftest.err`
16370 if ${INOTIFY_LIBS:+false} :
16371 then :
16372 if test ${PKG_CONFIG+y}
16373 then :
16374 INOTIFY_LIBS=`$PKG_CONFIG --libs libinotify 2>/dev/null`
16379 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
16380 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
16381 if test -s conftest.err; then
16382 printf %s "$as_me:${as_lineno-$LINENO}: libinotify errors: " >&5
16383 cat conftest.err >&5
16385 rm -f conftest.err
16386 ac_save_CPPFLAGS=$CPPFLAGS
16387 CPPFLAGS="$CPPFLAGS $INOTIFY_CFLAGS"
16388 ac_fn_c_check_header_compile "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
16389 if test "x$ac_cv_header_sys_inotify_h" = xyes
16390 then :
16391 printf "%s\n" "#define HAVE_SYS_INOTIFY_H 1" >>confdefs.h
16395 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
16396 printf %s "checking for inotify_add_watch in -linotify... " >&6; }
16397 if test ${ac_cv_lib_inotify_inotify_add_watch+y}
16398 then :
16399 printf %s "(cached) " >&6
16400 else $as_nop
16401 ac_check_lib_save_LIBS=$LIBS
16402 LIBS="-linotify $INOTIFY_LIBS $LIBS"
16403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16404 /* end confdefs.h. */
16406 /* Override any GCC internal prototype to avoid an error.
16407 Use char because int might match the return type of a GCC
16408 builtin and then its argument prototype would still apply. */
16409 char inotify_add_watch ();
16411 main (void)
16413 return inotify_add_watch ();
16415 return 0;
16417 _ACEOF
16418 if ac_fn_c_try_link "$LINENO"
16419 then :
16420 ac_cv_lib_inotify_inotify_add_watch=yes
16421 else $as_nop
16422 ac_cv_lib_inotify_inotify_add_watch=no
16424 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16425 conftest$ac_exeext conftest.$ac_ext
16426 LIBS=$ac_check_lib_save_LIBS
16428 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
16429 printf "%s\n" "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
16430 if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes
16431 then :
16433 else $as_nop
16434 INOTIFY_LIBS=""
16437 CPPFLAGS=$ac_save_CPPFLAGS
16440 if test "$ac_cv_header_sys_inotify_h" != "yes"
16441 then :
16442 case "x$with_inotify" in
16443 x) as_fn_append wine_notices "|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
16444 xno) ;;
16445 *) as_fn_error $? "libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
16446 This is an error since --with-inotify was requested." "$LINENO" 5 ;;
16447 esac
16451 if test "x$with_dbus" != "xno"
16452 then
16453 rm -f conftest.err
16454 if ${DBUS_CFLAGS:+false} :
16455 then :
16456 if test ${PKG_CONFIG+y}
16457 then :
16458 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>conftest.err`
16462 if ${DBUS_LIBS:+false} :
16463 then :
16464 if test ${PKG_CONFIG+y}
16465 then :
16466 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
16471 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
16472 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
16473 if test -s conftest.err; then
16474 printf %s "$as_me:${as_lineno-$LINENO}: dbus-1 errors: " >&5
16475 cat conftest.err >&5
16477 rm -f conftest.err
16478 ac_save_CPPFLAGS=$CPPFLAGS
16479 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
16480 ac_fn_c_check_header_compile "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
16481 if test "x$ac_cv_header_dbus_dbus_h" = xyes
16482 then :
16483 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
16484 printf %s "checking for -ldbus-1... " >&6; }
16485 if test ${ac_cv_lib_soname_dbus_1+y}
16486 then :
16487 printf %s "(cached) " >&6
16488 else $as_nop
16489 ac_check_soname_save_LIBS=$LIBS
16490 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
16491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16492 /* end confdefs.h. */
16494 /* Override any GCC internal prototype to avoid an error.
16495 Use char because int might match the return type of a GCC
16496 builtin and then its argument prototype would still apply. */
16497 char dbus_connection_close ();
16499 main (void)
16501 return dbus_connection_close ();
16503 return 0;
16505 _ACEOF
16506 if ac_fn_c_try_link "$LINENO"
16507 then :
16508 case "$LIBEXT" in
16509 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16510 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'` ;;
16511 *) 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'`
16512 if ${ac_cv_lib_soname_dbus_1:+false} :
16513 then :
16514 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16515 fi ;;
16516 esac
16517 else $as_nop
16518 ac_cv_lib_soname_dbus_1=
16520 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16521 conftest$ac_exeext conftest.$ac_ext
16522 LIBS=$ac_check_soname_save_LIBS
16524 if ${ac_cv_lib_soname_dbus_1:+false} :
16525 then :
16526 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16527 printf "%s\n" "not found" >&6; }
16528 DBUS_CFLAGS=""
16529 else $as_nop
16530 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
16531 printf "%s\n" "$ac_cv_lib_soname_dbus_1" >&6; }
16533 printf "%s\n" "#define SONAME_LIBDBUS_1 \"$ac_cv_lib_soname_dbus_1\"" >>confdefs.h
16537 else $as_nop
16538 DBUS_CFLAGS=""
16541 CPPFLAGS=$ac_save_CPPFLAGS
16544 case $host_os in
16545 darwin*|macosx*) ;;
16546 *) if test "x$ac_cv_lib_soname_dbus_1" = "x"
16547 then :
16548 case "x$with_dbus" in
16549 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
16550 xno) ;;
16551 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
16552 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
16553 esac
16555 fi ;;
16556 esac
16558 if test "x$with_gnutls" != "xno"
16559 then
16560 rm -f conftest.err
16561 if ${GNUTLS_CFLAGS:+false} :
16562 then :
16563 if test ${PKG_CONFIG+y}
16564 then :
16565 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>conftest.err`
16569 if ${GNUTLS_LIBS:+false} :
16570 then :
16571 if test ${PKG_CONFIG+y}
16572 then :
16573 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
16577 GNUTLS_LIBS=${GNUTLS_LIBS:-"-lgnutls"}
16578 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
16579 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
16580 if test -s conftest.err; then
16581 printf %s "$as_me:${as_lineno-$LINENO}: gnutls errors: " >&5
16582 cat conftest.err >&5
16584 rm -f conftest.err
16585 ac_save_CPPFLAGS=$CPPFLAGS
16586 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
16587 ac_fn_c_check_header_compile "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
16588 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
16589 then :
16590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16591 /* end confdefs.h. */
16592 #include <gnutls/gnutls.h>
16593 #include <gnutls/crypto.h>
16595 main (void)
16597 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
16599 return 0;
16601 _ACEOF
16602 if ac_fn_c_try_compile "$LINENO"
16603 then :
16604 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
16605 printf %s "checking for -lgnutls... " >&6; }
16606 if test ${ac_cv_lib_soname_gnutls+y}
16607 then :
16608 printf %s "(cached) " >&6
16609 else $as_nop
16610 ac_check_soname_save_LIBS=$LIBS
16611 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
16612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16613 /* end confdefs.h. */
16615 /* Override any GCC internal prototype to avoid an error.
16616 Use char because int might match the return type of a GCC
16617 builtin and then its argument prototype would still apply. */
16618 char gnutls_global_init ();
16620 main (void)
16622 return gnutls_global_init ();
16624 return 0;
16626 _ACEOF
16627 if ac_fn_c_try_link "$LINENO"
16628 then :
16629 case "$LIBEXT" in
16630 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16631 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'` ;;
16632 *) 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'`
16633 if ${ac_cv_lib_soname_gnutls:+false} :
16634 then :
16635 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'`
16636 fi ;;
16637 esac
16638 else $as_nop
16639 ac_cv_lib_soname_gnutls=
16641 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16642 conftest$ac_exeext conftest.$ac_ext
16643 LIBS=$ac_check_soname_save_LIBS
16645 if ${ac_cv_lib_soname_gnutls:+false} :
16646 then :
16647 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16648 printf "%s\n" "not found" >&6; }
16649 GNUTLS_CFLAGS=""
16650 else $as_nop
16651 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
16652 printf "%s\n" "$ac_cv_lib_soname_gnutls" >&6; }
16654 printf "%s\n" "#define SONAME_LIBGNUTLS \"$ac_cv_lib_soname_gnutls\"" >>confdefs.h
16658 ac_wine_check_funcs_save_LIBS="$LIBS"
16659 LIBS="$LIBS $GNUTLS_LIBS"
16661 for ac_func in gnutls_cipher_init
16662 do :
16663 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
16664 if test "x$ac_cv_func_gnutls_cipher_init" = xyes
16665 then :
16666 printf "%s\n" "#define HAVE_GNUTLS_CIPHER_INIT 1" >>confdefs.h
16668 else $as_nop
16669 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
16672 done
16673 LIBS="$ac_wine_check_funcs_save_LIBS"
16675 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
16676 else $as_nop
16677 GNUTLS_CFLAGS=""
16680 CPPFLAGS=$ac_save_CPPFLAGS
16683 if test "x$ac_cv_lib_soname_gnutls" = "x"
16684 then :
16685 case "x$with_gnutls" in
16686 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
16687 xno) ;;
16688 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
16689 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
16690 esac
16694 if test "x$with_sane" != "xno"
16695 then
16696 rm -f conftest.err
16697 if ${SANE_CFLAGS:+false} :
16698 then :
16699 if test ${PKG_CONFIG+y}
16700 then :
16701 SANE_CFLAGS=`$PKG_CONFIG --cflags sane-backends 2>conftest.err`
16704 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
16705 if ${SANE_LIBS:+false} :
16706 then :
16707 if test ${PKG_CONFIG+y}
16708 then :
16709 SANE_LIBS=`$PKG_CONFIG --libs sane-backends 2>/dev/null`
16712 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
16714 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends cflags: $SANE_CFLAGS" >&5
16715 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends libs: $SANE_LIBS" >&5
16716 if test -s conftest.err; then
16717 printf %s "$as_me:${as_lineno-$LINENO}: sane-backends errors: " >&5
16718 cat conftest.err >&5
16720 rm -f conftest.err
16721 ac_save_CPPFLAGS=$CPPFLAGS
16722 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
16723 ac_fn_c_check_header_compile "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
16724 if test "x$ac_cv_header_sane_sane_h" = xyes
16725 then :
16726 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sane_init in -lsane" >&5
16727 printf %s "checking for sane_init in -lsane... " >&6; }
16728 if test ${ac_cv_lib_sane_sane_init+y}
16729 then :
16730 printf %s "(cached) " >&6
16731 else $as_nop
16732 ac_check_lib_save_LIBS=$LIBS
16733 LIBS="-lsane $SANE_LIBS $LIBS"
16734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16735 /* end confdefs.h. */
16737 /* Override any GCC internal prototype to avoid an error.
16738 Use char because int might match the return type of a GCC
16739 builtin and then its argument prototype would still apply. */
16740 char sane_init ();
16742 main (void)
16744 return sane_init ();
16746 return 0;
16748 _ACEOF
16749 if ac_fn_c_try_link "$LINENO"
16750 then :
16751 ac_cv_lib_sane_sane_init=yes
16752 else $as_nop
16753 ac_cv_lib_sane_sane_init=no
16755 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16756 conftest$ac_exeext conftest.$ac_ext
16757 LIBS=$ac_check_lib_save_LIBS
16759 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sane_sane_init" >&5
16760 printf "%s\n" "$ac_cv_lib_sane_sane_init" >&6; }
16761 if test "x$ac_cv_lib_sane_sane_init" = xyes
16762 then :
16768 CPPFLAGS=$ac_save_CPPFLAGS
16771 if test "$ac_cv_lib_sane_sane_init" != "yes"
16772 then :
16773 case "x$with_sane" in
16774 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
16775 xno) ;;
16776 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
16777 This is an error since --with-sane was requested." "$LINENO" 5 ;;
16778 esac
16779 enable_sane_ds=${enable_sane_ds:-no}
16782 if test "x$with_usb" != "xno"
16783 then
16784 rm -f conftest.err
16785 if ${USB_CFLAGS:+false} :
16786 then :
16787 if test ${PKG_CONFIG+y}
16788 then :
16789 USB_CFLAGS=`$PKG_CONFIG --cflags libusb-1.0 2>conftest.err`
16793 if ${USB_LIBS:+false} :
16794 then :
16795 if test ${PKG_CONFIG+y}
16796 then :
16797 USB_LIBS=`$PKG_CONFIG --libs libusb-1.0 2>/dev/null`
16801 USB_LIBS=${USB_LIBS:-"-lusb-1.0"}
16802 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 cflags: $USB_CFLAGS" >&5
16803 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 libs: $USB_LIBS" >&5
16804 if test -s conftest.err; then
16805 printf %s "$as_me:${as_lineno-$LINENO}: libusb-1.0 errors: " >&5
16806 cat conftest.err >&5
16808 rm -f conftest.err
16809 ac_save_CPPFLAGS=$CPPFLAGS
16810 CPPFLAGS="$CPPFLAGS $USB_CFLAGS"
16811 ac_fn_c_check_header_compile "$LINENO" "libusb.h" "ac_cv_header_libusb_h" "$ac_includes_default"
16812 if test "x$ac_cv_header_libusb_h" = xyes
16813 then :
16814 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libusb_interrupt_event_handler in -lusb-1.0" >&5
16815 printf %s "checking for libusb_interrupt_event_handler in -lusb-1.0... " >&6; }
16816 if test ${ac_cv_lib_usb_1_0_libusb_interrupt_event_handler+y}
16817 then :
16818 printf %s "(cached) " >&6
16819 else $as_nop
16820 ac_check_lib_save_LIBS=$LIBS
16821 LIBS="-lusb-1.0 $USB_LIBS $LIBS"
16822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16823 /* end confdefs.h. */
16825 /* Override any GCC internal prototype to avoid an error.
16826 Use char because int might match the return type of a GCC
16827 builtin and then its argument prototype would still apply. */
16828 char libusb_interrupt_event_handler ();
16830 main (void)
16832 return libusb_interrupt_event_handler ();
16834 return 0;
16836 _ACEOF
16837 if ac_fn_c_try_link "$LINENO"
16838 then :
16839 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=yes
16840 else $as_nop
16841 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=no
16843 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16844 conftest$ac_exeext conftest.$ac_ext
16845 LIBS=$ac_check_lib_save_LIBS
16847 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&5
16848 printf "%s\n" "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&6; }
16849 if test "x$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" = xyes
16850 then :
16852 else $as_nop
16853 USB_LIBS=""
16856 else $as_nop
16857 USB_LIBS=""
16860 CPPFLAGS=$ac_save_CPPFLAGS
16863 if test "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" != "yes"
16864 then :
16865 case "x$with_usb" in
16866 x) as_fn_append wine_notices "|libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported." ;;
16867 xno) ;;
16868 *) as_fn_error $? "libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported.
16869 This is an error since --with-usb was requested." "$LINENO" 5 ;;
16870 esac
16871 enable_wineusb_sys=${enable_wineusb_sys:-no}
16874 if test "x$with_v4l2" != "xno"
16875 then
16876 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
16877 printf %s "checking for -lv4l2... " >&6; }
16878 if test ${ac_cv_lib_soname_v4l2+y}
16879 then :
16880 printf %s "(cached) " >&6
16881 else $as_nop
16882 ac_check_soname_save_LIBS=$LIBS
16883 LIBS="-lv4l2 $LIBS"
16884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16885 /* end confdefs.h. */
16887 /* Override any GCC internal prototype to avoid an error.
16888 Use char because int might match the return type of a GCC
16889 builtin and then its argument prototype would still apply. */
16890 char v4l2_open ();
16892 main (void)
16894 return v4l2_open ();
16896 return 0;
16898 _ACEOF
16899 if ac_fn_c_try_link "$LINENO"
16900 then :
16901 case "$LIBEXT" in
16902 dll) ac_cv_lib_soname_v4l2=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16903 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'` ;;
16904 *) ac_cv_lib_soname_v4l2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16905 if ${ac_cv_lib_soname_v4l2:+false} :
16906 then :
16907 ac_cv_lib_soname_v4l2=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16908 fi ;;
16909 esac
16910 else $as_nop
16911 ac_cv_lib_soname_v4l2=
16913 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16914 conftest$ac_exeext conftest.$ac_ext
16915 LIBS=$ac_check_soname_save_LIBS
16917 if ${ac_cv_lib_soname_v4l2:+false} :
16918 then :
16919 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16920 printf "%s\n" "not found" >&6; }
16922 else $as_nop
16923 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
16924 printf "%s\n" "$ac_cv_lib_soname_v4l2" >&6; }
16926 printf "%s\n" "#define SONAME_LIBV4L2 \"$ac_cv_lib_soname_v4l2\"" >>confdefs.h
16931 if test "x$ac_cv_lib_soname_v4l2" = "x"
16932 then :
16933 case "x$with_v4l2" in
16934 x) as_fn_append wine_notices "|libv4l2 ${notice_platform}development files not found." ;;
16935 xno) ;;
16936 *) as_fn_error $? "libv4l2 ${notice_platform}development files not found.
16937 This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
16938 esac
16942 if test "x$with_gphoto" != "xno"
16943 then
16944 rm -f conftest.err
16945 if ${GPHOTO2_CFLAGS:+false} :
16946 then :
16947 if test ${PKG_CONFIG+y}
16948 then :
16949 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>conftest.err`
16952 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
16953 if ${GPHOTO2_LIBS:+false} :
16954 then :
16955 if test ${PKG_CONFIG+y}
16956 then :
16957 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
16960 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
16961 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
16962 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
16963 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
16964 if test -s conftest.err; then
16965 printf %s "$as_me:${as_lineno-$LINENO}: libgphoto2 errors: " >&5
16966 cat conftest.err >&5
16968 rm -f conftest.err
16969 ac_save_CPPFLAGS=$CPPFLAGS
16970 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
16971 ac_fn_c_check_header_compile "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
16972 if test "x$ac_cv_header_gphoto2_camera_h" = xyes
16973 then :
16974 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
16975 printf %s "checking for gp_camera_new in -lgphoto2... " >&6; }
16976 if test ${ac_cv_lib_gphoto2_gp_camera_new+y}
16977 then :
16978 printf %s "(cached) " >&6
16979 else $as_nop
16980 ac_check_lib_save_LIBS=$LIBS
16981 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
16982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16983 /* end confdefs.h. */
16985 /* Override any GCC internal prototype to avoid an error.
16986 Use char because int might match the return type of a GCC
16987 builtin and then its argument prototype would still apply. */
16988 char gp_camera_new ();
16990 main (void)
16992 return gp_camera_new ();
16994 return 0;
16996 _ACEOF
16997 if ac_fn_c_try_link "$LINENO"
16998 then :
16999 ac_cv_lib_gphoto2_gp_camera_new=yes
17000 else $as_nop
17001 ac_cv_lib_gphoto2_gp_camera_new=no
17003 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17004 conftest$ac_exeext conftest.$ac_ext
17005 LIBS=$ac_check_lib_save_LIBS
17007 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
17008 printf "%s\n" "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
17009 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
17010 then :
17016 CPPFLAGS=$ac_save_CPPFLAGS
17018 rm -f conftest.err
17019 if ${GPHOTO2_PORT_CFLAGS:+false} :
17020 then :
17021 if test ${PKG_CONFIG+y}
17022 then :
17023 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>conftest.err`
17026 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
17027 if ${GPHOTO2_PORT_LIBS:+false} :
17028 then :
17029 if test ${PKG_CONFIG+y}
17030 then :
17031 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
17034 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
17035 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
17036 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
17037 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
17038 if test -s conftest.err; then
17039 printf %s "$as_me:${as_lineno-$LINENO}: libgphoto2_port errors: " >&5
17040 cat conftest.err >&5
17042 rm -f conftest.err
17043 ac_save_CPPFLAGS=$CPPFLAGS
17044 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
17045 ac_fn_c_check_header_compile "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
17046 if test "x$ac_cv_header_gphoto2_port_h" = xyes
17047 then :
17048 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
17049 printf %s "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
17050 if test ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+y}
17051 then :
17052 printf %s "(cached) " >&6
17053 else $as_nop
17054 ac_check_lib_save_LIBS=$LIBS
17055 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
17056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17057 /* end confdefs.h. */
17059 /* Override any GCC internal prototype to avoid an error.
17060 Use char because int might match the return type of a GCC
17061 builtin and then its argument prototype would still apply. */
17062 char gp_port_info_list_new ();
17064 main (void)
17066 return gp_port_info_list_new ();
17068 return 0;
17070 _ACEOF
17071 if ac_fn_c_try_link "$LINENO"
17072 then :
17073 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
17074 else $as_nop
17075 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
17077 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17078 conftest$ac_exeext conftest.$ac_ext
17079 LIBS=$ac_check_lib_save_LIBS
17081 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
17082 printf "%s\n" "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
17083 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes
17084 then :
17086 printf "%s\n" "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
17088 else $as_nop
17089 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
17092 else $as_nop
17093 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
17096 CPPFLAGS=$ac_save_CPPFLAGS
17099 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"
17100 then :
17101 case "x$with_gphoto" in
17102 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
17103 xno) ;;
17104 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
17105 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
17106 esac
17107 enable_gphoto2_ds=${enable_gphoto2_ds:-no}
17109 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"
17110 then :
17111 case "x$with_gphoto" in
17112 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
17113 xno) ;;
17114 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
17115 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
17116 esac
17121 if test "$ac_cv_header_resolv_h" = "yes"
17122 then
17123 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
17124 printf %s "checking for resolver library... " >&6; }
17125 if test ${ac_cv_have_resolv+y}
17126 then :
17127 printf %s "(cached) " >&6
17128 else $as_nop
17129 ac_save_LIBS="$LIBS"
17130 for lib in '' -lresolv
17132 LIBS="$lib $ac_save_LIBS"
17133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17134 /* end confdefs.h. */
17135 #ifdef HAVE_NETINET_IN_H
17136 #include <netinet/in.h>
17137 #endif
17138 #include <resolv.h>
17140 main (void)
17142 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0); ns_initparse(0,0,0)
17144 return 0;
17146 _ACEOF
17147 if ac_fn_c_try_link "$LINENO"
17148 then :
17149 ac_cv_have_resolv=${lib:-"none required"}
17150 else $as_nop
17151 ac_cv_have_resolv="not found"
17153 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17154 conftest$ac_exeext conftest.$ac_ext
17155 test "x$ac_cv_have_resolv" = "xnot found" || break
17156 done
17157 LIBS="$ac_save_LIBS"
17159 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
17160 printf "%s\n" "$ac_cv_have_resolv" >&6; }
17162 case "$ac_cv_have_resolv" in
17163 "not found") ;;
17164 "none required")
17166 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
17169 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
17171 RESOLV_LIBS=$ac_cv_have_resolv
17173 esac
17175 if test "x$ac_cv_have_resolv" != "xnot found"
17176 then
17177 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for res_getservers" >&5
17178 printf %s "checking for res_getservers... " >&6; }
17179 if test ${ac_cv_have_res_getservers+y}
17180 then :
17181 printf %s "(cached) " >&6
17182 else $as_nop
17183 ac_save_LIBS="$LIBS"
17184 LIBS="$RESOLV_LIBS $LIBS"
17185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17186 /* end confdefs.h. */
17187 #include <resolv.h>
17189 main (void)
17191 res_getservers(NULL, NULL, 0);
17193 return 0;
17195 _ACEOF
17196 if ac_fn_c_try_link "$LINENO"
17197 then :
17198 ac_cv_have_res_getservers=yes
17199 else $as_nop
17200 ac_cv_have_res_getservers=no
17202 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17203 conftest$ac_exeext conftest.$ac_ext
17204 LIBS="$ac_save_LIBS"
17206 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_res_getservers" >&5
17207 printf "%s\n" "$ac_cv_have_res_getservers" >&6; }
17208 if test "$ac_cv_have_res_getservers" = "yes"
17209 then
17211 printf "%s\n" "#define HAVE_RES_GETSERVERS 1" >>confdefs.h
17217 if test "x$with_freetype" != "xno"
17218 then
17219 rm -f conftest.err
17220 if ${FREETYPE_CFLAGS:+false} :
17221 then :
17222 if test ${PKG_CONFIG+y}
17223 then :
17224 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>conftest.err`
17227 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
17228 if ${FREETYPE_LIBS:+false} :
17229 then :
17230 if test ${PKG_CONFIG+y}
17231 then :
17232 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
17235 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
17236 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
17237 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
17238 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
17239 if test -s conftest.err; then
17240 printf %s "$as_me:${as_lineno-$LINENO}: freetype2 errors: " >&5
17241 cat conftest.err >&5
17243 rm -f conftest.err
17244 ac_save_CPPFLAGS=$CPPFLAGS
17245 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
17246 ac_fn_c_check_header_compile "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
17247 if test "x$ac_cv_header_ft2build_h" = xyes
17248 then :
17249 printf "%s\n" "#define HAVE_FT2BUILD_H 1" >>confdefs.h
17253 if test "$ac_cv_header_ft2build_h" = "yes"
17254 then
17255 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
17256 printf %s "checking for -lfreetype... " >&6; }
17257 if test ${ac_cv_lib_soname_freetype+y}
17258 then :
17259 printf %s "(cached) " >&6
17260 else $as_nop
17261 ac_check_soname_save_LIBS=$LIBS
17262 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
17263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17264 /* end confdefs.h. */
17266 /* Override any GCC internal prototype to avoid an error.
17267 Use char because int might match the return type of a GCC
17268 builtin and then its argument prototype would still apply. */
17269 char FT_Init_FreeType ();
17271 main (void)
17273 return FT_Init_FreeType ();
17275 return 0;
17277 _ACEOF
17278 if ac_fn_c_try_link "$LINENO"
17279 then :
17280 case "$LIBEXT" in
17281 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17282 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'` ;;
17283 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17284 if ${ac_cv_lib_soname_freetype:+false} :
17285 then :
17286 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17287 fi ;;
17288 esac
17289 else $as_nop
17290 ac_cv_lib_soname_freetype=
17292 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17293 conftest$ac_exeext conftest.$ac_ext
17294 LIBS=$ac_check_soname_save_LIBS
17296 if ${ac_cv_lib_soname_freetype:+false} :
17297 then :
17298 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17299 printf "%s\n" "not found" >&6; }
17300 FREETYPE_LIBS=""
17301 else $as_nop
17302 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
17303 printf "%s\n" "$ac_cv_lib_soname_freetype" >&6; }
17305 printf "%s\n" "#define SONAME_LIBFREETYPE \"$ac_cv_lib_soname_freetype\"" >>confdefs.h
17308 printf "%s\n" "#define HAVE_FREETYPE 1" >>confdefs.h
17310 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
17311 #include FT_MODULE_H
17313 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
17314 then :
17316 printf "%s\n" "#define HAVE_FT_TRUETYPEENGINETYPE 1" >>confdefs.h
17322 else
17323 FREETYPE_CFLAGS=""
17324 FREETYPE_LIBS=""
17326 CPPFLAGS=$ac_save_CPPFLAGS
17329 if test "x$ac_cv_lib_soname_freetype" = x
17330 then :
17331 case "x$with_freetype" in
17332 xno) ;;
17333 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
17334 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
17335 esac
17336 enable_fonts=${enable_fonts:-no}
17339 ac_wine_check_funcs_save_LIBS="$LIBS"
17340 LIBS="$LIBS $PTHREAD_LIBS"
17341 ac_fn_c_check_func "$LINENO" "pthread_getthreadid_np" "ac_cv_func_pthread_getthreadid_np"
17342 if test "x$ac_cv_func_pthread_getthreadid_np" = xyes
17343 then :
17344 printf "%s\n" "#define HAVE_PTHREAD_GETTHREADID_NP 1" >>confdefs.h
17348 LIBS="$ac_wine_check_funcs_save_LIBS"
17350 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
17351 then
17352 if test "$ac_cv_header_gettext_po_h" = "yes"
17353 then
17354 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
17355 printf %s "checking for po_message_msgctxt in -lgettextpo... " >&6; }
17356 if test ${ac_cv_lib_gettextpo_po_message_msgctxt+y}
17357 then :
17358 printf %s "(cached) " >&6
17359 else $as_nop
17360 ac_check_lib_save_LIBS=$LIBS
17361 LIBS="-lgettextpo $LIBS"
17362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17363 /* end confdefs.h. */
17365 /* Override any GCC internal prototype to avoid an error.
17366 Use char because int might match the return type of a GCC
17367 builtin and then its argument prototype would still apply. */
17368 char po_message_msgctxt ();
17370 main (void)
17372 return po_message_msgctxt ();
17374 return 0;
17376 _ACEOF
17377 if ac_fn_c_try_link "$LINENO"
17378 then :
17379 ac_cv_lib_gettextpo_po_message_msgctxt=yes
17380 else $as_nop
17381 ac_cv_lib_gettextpo_po_message_msgctxt=no
17383 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17384 conftest$ac_exeext conftest.$ac_ext
17385 LIBS=$ac_check_lib_save_LIBS
17387 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
17388 printf "%s\n" "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
17389 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
17390 then :
17392 printf "%s\n" "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
17394 GETTEXTPO_LIBS="-lgettextpo"
17399 if test "x$GETTEXTPO_LIBS" = "x"
17400 then :
17401 case "x$with_gettextpo" in
17402 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
17403 xno) ;;
17404 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
17405 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
17406 esac
17409 if test "$srcdir" != .
17410 then :
17411 case "x$with_gettextpo" in
17412 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
17413 xno) ;;
17414 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
17415 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
17416 esac
17421 if test "x$with_pulse" != "xno";
17422 then
17423 rm -f conftest.err
17424 if ${PULSE_CFLAGS:+false} :
17425 then :
17426 if test ${PKG_CONFIG+y}
17427 then :
17428 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>conftest.err`
17432 if ${PULSE_LIBS:+false} :
17433 then :
17434 if test ${PKG_CONFIG+y}
17435 then :
17436 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
17441 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
17442 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
17443 if test -s conftest.err; then
17444 printf %s "$as_me:${as_lineno-$LINENO}: libpulse errors: " >&5
17445 cat conftest.err >&5
17447 rm -f conftest.err
17448 ac_save_CPPFLAGS=$CPPFLAGS
17449 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
17450 ac_fn_c_check_header_compile "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
17451 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes
17452 then :
17453 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
17454 printf %s "checking for pa_stream_is_corked in -lpulse... " >&6; }
17455 if test ${ac_cv_lib_pulse_pa_stream_is_corked+y}
17456 then :
17457 printf %s "(cached) " >&6
17458 else $as_nop
17459 ac_check_lib_save_LIBS=$LIBS
17460 LIBS="-lpulse $PULSE_LIBS $LIBS"
17461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17462 /* end confdefs.h. */
17464 /* Override any GCC internal prototype to avoid an error.
17465 Use char because int might match the return type of a GCC
17466 builtin and then its argument prototype would still apply. */
17467 char pa_stream_is_corked ();
17469 main (void)
17471 return pa_stream_is_corked ();
17473 return 0;
17475 _ACEOF
17476 if ac_fn_c_try_link "$LINENO"
17477 then :
17478 ac_cv_lib_pulse_pa_stream_is_corked=yes
17479 else $as_nop
17480 ac_cv_lib_pulse_pa_stream_is_corked=no
17482 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17483 conftest$ac_exeext conftest.$ac_ext
17484 LIBS=$ac_check_lib_save_LIBS
17486 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
17487 printf "%s\n" "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
17488 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes
17489 then :
17491 else $as_nop
17492 PULSE_LIBS=""
17495 else $as_nop
17496 PULSE_LIBS=""
17499 CPPFLAGS=$ac_save_CPPFLAGS
17502 if test -z "$PULSE_LIBS"
17503 then :
17504 case "x$with_pulse" in
17505 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
17506 xno) ;;
17507 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
17508 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
17509 esac
17510 enable_winepulse_drv=${enable_winepulse_drv:-no}
17513 if test "x$with_gstreamer" != "xno"
17514 then
17515 rm -f conftest.err
17516 if ${GSTREAMER_CFLAGS:+false} :
17517 then :
17518 if test ${PKG_CONFIG+y}
17519 then :
17520 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 2>conftest.err`
17524 if ${GSTREAMER_LIBS:+false} :
17525 then :
17526 if test ${PKG_CONFIG+y}
17527 then :
17528 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 2>/dev/null`
17533 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
17534 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
17535 if test -s conftest.err; then
17536 printf %s "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 errors: " >&5
17537 cat conftest.err >&5
17539 rm -f conftest.err
17540 ac_save_CPPFLAGS=$CPPFLAGS
17541 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
17542 ac_fn_c_check_header_compile "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
17543 if test "x$ac_cv_header_gst_gst_h" = xyes
17544 then :
17545 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
17546 printf %s "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
17547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17548 /* end confdefs.h. */
17549 #include <gst/gst.h>
17551 main (void)
17553 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
17555 return 0;
17557 _ACEOF
17558 if ac_fn_c_try_compile "$LINENO"
17559 then :
17560 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17561 printf "%s\n" "yes" >&6; }
17562 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
17563 printf %s "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
17564 if test ${ac_cv_lib_gstreamer_1_0_gst_pad_new+y}
17565 then :
17566 printf %s "(cached) " >&6
17567 else $as_nop
17568 ac_check_lib_save_LIBS=$LIBS
17569 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
17570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17571 /* end confdefs.h. */
17573 /* Override any GCC internal prototype to avoid an error.
17574 Use char because int might match the return type of a GCC
17575 builtin and then its argument prototype would still apply. */
17576 char gst_pad_new ();
17578 main (void)
17580 return gst_pad_new ();
17582 return 0;
17584 _ACEOF
17585 if ac_fn_c_try_link "$LINENO"
17586 then :
17587 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
17588 else $as_nop
17589 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
17591 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17592 conftest$ac_exeext conftest.$ac_ext
17593 LIBS=$ac_check_lib_save_LIBS
17595 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
17596 printf "%s\n" "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
17597 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes
17598 then :
17602 else $as_nop
17603 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
17604 printf "%s\n" "no" >&6; }
17605 ac_glib2_broken=yes
17606 enable_winegstreamer=${enable_winegstreamer:-no}
17607 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
17609 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
17612 CPPFLAGS=$ac_save_CPPFLAGS
17615 if test "x$ac_glib2_broken" != xyes -a "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" != xyes
17616 then :
17617 case "x$with_gstreamer" in
17618 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
17619 xno) ;;
17620 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
17621 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
17622 esac
17623 enable_winegstreamer=${enable_winegstreamer:-no}
17626 ALSA_LIBS=""
17628 if test "x$with_alsa" != "xno"
17629 then
17630 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
17631 printf %s "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
17632 if test ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+y}
17633 then :
17634 printf %s "(cached) " >&6
17635 else $as_nop
17636 ac_check_lib_save_LIBS=$LIBS
17637 LIBS="-lasound $LIBS"
17638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17639 /* end confdefs.h. */
17641 /* Override any GCC internal prototype to avoid an error.
17642 Use char because int might match the return type of a GCC
17643 builtin and then its argument prototype would still apply. */
17644 char snd_pcm_hw_params_get_access_mask ();
17646 main (void)
17648 return snd_pcm_hw_params_get_access_mask ();
17650 return 0;
17652 _ACEOF
17653 if ac_fn_c_try_link "$LINENO"
17654 then :
17655 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
17656 else $as_nop
17657 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
17659 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17660 conftest$ac_exeext conftest.$ac_ext
17661 LIBS=$ac_check_lib_save_LIBS
17663 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
17664 printf "%s\n" "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
17665 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
17666 then :
17667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17668 /* end confdefs.h. */
17669 #include <alsa/asoundlib.h>
17671 main (void)
17673 snd_pcm_hw_params_get_access_mask(NULL, NULL)
17675 return 0;
17677 _ACEOF
17678 if ac_fn_c_try_compile "$LINENO"
17679 then :
17680 ALSA_LIBS="-lasound"
17682 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
17686 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
17688 if test "x$with_oss" != xno
17689 then
17690 ac_save_CPPFLAGS="$CPPFLAGS"
17691 if test -f /etc/oss.conf
17692 then
17693 . /etc/oss.conf
17695 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
17696 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
17697 ac_fn_c_check_header_compile "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
17698 if test "x$ac_cv_header_sys_soundcard_h" = xyes
17699 then :
17700 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
17702 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
17703 then :
17705 printf "%s\n" "#define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1" >>confdefs.h
17707 OSS4_CFLAGS="$ac_oss_incl"
17709 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
17710 printf %s "checking for _oss_ioctl in -lossaudio... " >&6; }
17711 if test ${ac_cv_lib_ossaudio__oss_ioctl+y}
17712 then :
17713 printf %s "(cached) " >&6
17714 else $as_nop
17715 ac_check_lib_save_LIBS=$LIBS
17716 LIBS="-lossaudio $LIBS"
17717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17718 /* end confdefs.h. */
17720 /* Override any GCC internal prototype to avoid an error.
17721 Use char because int might match the return type of a GCC
17722 builtin and then its argument prototype would still apply. */
17723 char _oss_ioctl ();
17725 main (void)
17727 return _oss_ioctl ();
17729 return 0;
17731 _ACEOF
17732 if ac_fn_c_try_link "$LINENO"
17733 then :
17734 ac_cv_lib_ossaudio__oss_ioctl=yes
17735 else $as_nop
17736 ac_cv_lib_ossaudio__oss_ioctl=no
17738 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17739 conftest$ac_exeext conftest.$ac_ext
17740 LIBS=$ac_check_lib_save_LIBS
17742 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
17743 printf "%s\n" "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
17744 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
17745 then :
17746 OSS4_LIBS="-lossaudio"
17754 CPPFLAGS="$ac_save_CPPFLAGS"
17756 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
17757 then :
17758 case "x$with_oss" in
17759 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
17760 xno) ;;
17761 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
17762 This is an error since --with-oss was requested." "$LINENO" 5 ;;
17763 esac
17764 enable_wineoss_drv=${enable_wineoss_drv:-no}
17767 if test "x$with_udev" != "xno"
17768 then
17769 rm -f conftest.err
17770 if ${UDEV_CFLAGS:+false} :
17771 then :
17772 if test ${PKG_CONFIG+y}
17773 then :
17774 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>conftest.err`
17778 if ${UDEV_LIBS:+false} :
17779 then :
17780 if test ${PKG_CONFIG+y}
17781 then :
17782 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
17786 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
17787 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
17788 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
17789 if test -s conftest.err; then
17790 printf %s "$as_me:${as_lineno-$LINENO}: libudev errors: " >&5
17791 cat conftest.err >&5
17793 rm -f conftest.err
17794 ac_save_CPPFLAGS=$CPPFLAGS
17795 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
17796 for ac_header in libudev.h
17797 do :
17798 ac_fn_c_check_header_compile "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
17799 if test "x$ac_cv_header_libudev_h" = xyes
17800 then :
17801 printf "%s\n" "#define HAVE_LIBUDEV_H 1" >>confdefs.h
17802 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
17803 printf %s "checking for udev_new in -ludev... " >&6; }
17804 if test ${ac_cv_lib_udev_udev_new+y}
17805 then :
17806 printf %s "(cached) " >&6
17807 else $as_nop
17808 ac_check_lib_save_LIBS=$LIBS
17809 LIBS="-ludev $UDEV_LIBS $LIBS"
17810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17811 /* end confdefs.h. */
17813 /* Override any GCC internal prototype to avoid an error.
17814 Use char because int might match the return type of a GCC
17815 builtin and then its argument prototype would still apply. */
17816 char udev_new ();
17818 main (void)
17820 return udev_new ();
17822 return 0;
17824 _ACEOF
17825 if ac_fn_c_try_link "$LINENO"
17826 then :
17827 ac_cv_lib_udev_udev_new=yes
17828 else $as_nop
17829 ac_cv_lib_udev_udev_new=no
17831 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17832 conftest$ac_exeext conftest.$ac_ext
17833 LIBS=$ac_check_lib_save_LIBS
17835 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
17836 printf "%s\n" "$ac_cv_lib_udev_udev_new" >&6; }
17837 if test "x$ac_cv_lib_udev_udev_new" = xyes
17838 then :
17840 printf "%s\n" "#define HAVE_UDEV 1" >>confdefs.h
17842 else $as_nop
17843 UDEV_LIBS=""
17846 else $as_nop
17847 UDEV_LIBS=""
17850 done
17851 CPPFLAGS=$ac_save_CPPFLAGS
17854 if test "x$UDEV_LIBS" = "x"
17855 then :
17856 case "x$with_udev" in
17857 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
17858 xno) ;;
17859 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
17860 This is an error since --with-udev was requested." "$LINENO" 5 ;;
17861 esac
17865 if test "x$with_unwind" != xno
17866 then
17867 rm -f conftest.err
17868 if ${UNWIND_CFLAGS:+false} :
17869 then :
17870 if test ${PKG_CONFIG+y}
17871 then :
17872 UNWIND_CFLAGS=`$PKG_CONFIG --cflags libunwind 2>conftest.err`
17876 if ${UNWIND_LIBS:+false} :
17877 then :
17878 if test ${PKG_CONFIG+y}
17879 then :
17880 UNWIND_LIBS=`$PKG_CONFIG --libs libunwind 2>/dev/null`
17884 UNWIND_LIBS=${UNWIND_LIBS:-"-lunwind"}
17885 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind cflags: $UNWIND_CFLAGS" >&5
17886 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind libs: $UNWIND_LIBS" >&5
17887 if test -s conftest.err; then
17888 printf %s "$as_me:${as_lineno-$LINENO}: libunwind errors: " >&5
17889 cat conftest.err >&5
17891 rm -f conftest.err
17892 ac_save_CPPFLAGS=$CPPFLAGS
17893 CPPFLAGS="$CPPFLAGS $UNWIND_CFLAGS"
17894 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step" >&5
17895 printf %s "checking for unw_step... " >&6; }
17896 if test ${wine_cv_have_unw_step+y}
17897 then :
17898 printf %s "(cached) " >&6
17899 else $as_nop
17900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17901 /* end confdefs.h. */
17902 #define UNW_LOCAL_ONLY
17903 #include <libunwind.h>
17905 main (void)
17907 unw_cursor_t cursor; unw_step( &cursor );
17909 return 0;
17911 _ACEOF
17912 if ac_fn_c_try_link "$LINENO"
17913 then :
17914 wine_cv_have_unw_step="yes"
17915 else $as_nop
17916 wine_cv_have_unw_step="no"
17918 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17919 conftest$ac_exeext conftest.$ac_ext
17921 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_unw_step" >&5
17922 printf "%s\n" "$wine_cv_have_unw_step" >&6; }
17923 if test "$wine_cv_have_unw_step" = no -a -n "$UNWIND_LIBS"
17924 then
17925 save_libs=$LIBS
17926 UNWIND_LIBS="-static-libgcc $UNWIND_LIBS"
17927 LIBS="$UNWIND_LIBS $LIBS"
17928 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step in libunwind" >&5
17929 printf %s "checking for unw_step in libunwind... " >&6; }
17930 if test ${wine_cv_have_libunwind_unw_step+y}
17931 then :
17932 printf %s "(cached) " >&6
17933 else $as_nop
17934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17935 /* end confdefs.h. */
17936 #define UNW_LOCAL_ONLY
17937 #include <libunwind.h>
17939 main (void)
17941 unw_cursor_t cursor; unw_step( &cursor );
17943 return 0;
17945 _ACEOF
17946 if ac_fn_c_try_link "$LINENO"
17947 then :
17948 wine_cv_have_libunwind_unw_step="yes"
17949 else $as_nop
17950 wine_cv_have_libunwind_unw_step="no"
17952 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17953 conftest$ac_exeext conftest.$ac_ext
17955 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_libunwind_unw_step" >&5
17956 printf "%s\n" "$wine_cv_have_libunwind_unw_step" >&6; }
17957 LIBS=$save_libs
17959 test "$wine_cv_have_libunwind_unw_step" = yes || UNWIND_LIBS=""
17960 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" != xnono
17961 then
17963 printf "%s\n" "#define HAVE_LIBUNWIND 1" >>confdefs.h
17966 CPPFLAGS=$ac_save_CPPFLAGS
17969 case $host in
17970 aarch64*|*-darwin*)
17971 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" = xnono
17972 then :
17973 case "x$with_unwind" in
17974 x) as_fn_append wine_notices "|libunwind ${notice_platform}development files not found, stack unwinding won't work." ;;
17975 xno) ;;
17976 *) as_fn_error $? "libunwind ${notice_platform}development files not found, stack unwinding won't work.
17977 This is an error since --with-unwind was requested." "$LINENO" 5 ;;
17978 esac
17980 fi ;;
17981 esac
17983 if test "x$with_sdl" != "xno"
17984 then
17985 rm -f conftest.err
17986 if ${SDL2_CFLAGS:+false} :
17987 then :
17988 if test ${PKG_CONFIG+y}
17989 then :
17990 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>conftest.err`
17994 if ${SDL2_LIBS:+false} :
17995 then :
17996 if test ${PKG_CONFIG+y}
17997 then :
17998 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
18002 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
18003 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
18004 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
18005 if test -s conftest.err; then
18006 printf %s "$as_me:${as_lineno-$LINENO}: sdl2 errors: " >&5
18007 cat conftest.err >&5
18009 rm -f conftest.err
18010 ac_save_CPPFLAGS=$CPPFLAGS
18011 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
18012 for ac_header in SDL.h
18013 do :
18014 ac_fn_c_check_header_compile "$LINENO" "SDL.h" "ac_cv_header_SDL_h" "$ac_includes_default"
18015 if test "x$ac_cv_header_SDL_h" = xyes
18016 then :
18017 printf "%s\n" "#define HAVE_SDL_H 1" >>confdefs.h
18018 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
18019 printf %s "checking for -lSDL2... " >&6; }
18020 if test ${ac_cv_lib_soname_SDL2+y}
18021 then :
18022 printf %s "(cached) " >&6
18023 else $as_nop
18024 ac_check_soname_save_LIBS=$LIBS
18025 LIBS="-lSDL2 $SDL2_LIBS $LIBS"
18026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18027 /* end confdefs.h. */
18029 /* Override any GCC internal prototype to avoid an error.
18030 Use char because int might match the return type of a GCC
18031 builtin and then its argument prototype would still apply. */
18032 char SDL_Init ();
18034 main (void)
18036 return SDL_Init ();
18038 return 0;
18040 _ACEOF
18041 if ac_fn_c_try_link "$LINENO"
18042 then :
18043 case "$LIBEXT" in
18044 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18045 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'` ;;
18046 *) 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'`
18047 if ${ac_cv_lib_soname_SDL2:+false} :
18048 then :
18049 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18050 fi ;;
18051 esac
18052 else $as_nop
18053 ac_cv_lib_soname_SDL2=
18055 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18056 conftest$ac_exeext conftest.$ac_ext
18057 LIBS=$ac_check_soname_save_LIBS
18059 if ${ac_cv_lib_soname_SDL2:+false} :
18060 then :
18061 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18062 printf "%s\n" "not found" >&6; }
18064 else $as_nop
18065 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
18066 printf "%s\n" "$ac_cv_lib_soname_SDL2" >&6; }
18068 printf "%s\n" "#define SONAME_LIBSDL2 \"$ac_cv_lib_soname_SDL2\"" >>confdefs.h
18074 done
18075 CPPFLAGS=$ac_save_CPPFLAGS
18078 if test "x$ac_cv_lib_soname_SDL2" = "x"
18079 then :
18080 case "x$with_sdl" in
18081 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
18082 xno) ;;
18083 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
18084 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
18085 esac
18089 if test "x$with_capi" != "xno"
18090 then
18091 rm -f conftest.err
18092 if ${CAPI20_CFLAGS:+false} :
18093 then :
18094 if test ${PKG_CONFIG+y}
18095 then :
18096 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>conftest.err`
18100 if ${CAPI20_LIBS:+false} :
18101 then :
18102 if test ${PKG_CONFIG+y}
18103 then :
18104 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
18109 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
18110 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
18111 if test -s conftest.err; then
18112 printf %s "$as_me:${as_lineno-$LINENO}: capi20 errors: " >&5
18113 cat conftest.err >&5
18115 rm -f conftest.err
18116 ac_save_CPPFLAGS=$CPPFLAGS
18117 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
18118 ac_fn_c_check_header_compile "$LINENO" "capi20.h" "ac_cv_header_capi20_h" "#define __user
18120 if test "x$ac_cv_header_capi20_h" = xyes
18121 then :
18122 printf "%s\n" "#define HAVE_CAPI20_H 1" >>confdefs.h
18125 ac_fn_c_check_header_compile "$LINENO" "linux/capi.h" "ac_cv_header_linux_capi_h" "#define __user
18127 if test "x$ac_cv_header_linux_capi_h" = xyes
18128 then :
18129 printf "%s\n" "#define HAVE_LINUX_CAPI_H 1" >>confdefs.h
18133 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
18134 then
18135 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for capi20_register in -lcapi20" >&5
18136 printf %s "checking for capi20_register in -lcapi20... " >&6; }
18137 if test ${ac_cv_lib_capi20_capi20_register+y}
18138 then :
18139 printf %s "(cached) " >&6
18140 else $as_nop
18141 ac_check_lib_save_LIBS=$LIBS
18142 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
18143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18144 /* end confdefs.h. */
18146 /* Override any GCC internal prototype to avoid an error.
18147 Use char because int might match the return type of a GCC
18148 builtin and then its argument prototype would still apply. */
18149 char capi20_register ();
18151 main (void)
18153 return capi20_register ();
18155 return 0;
18157 _ACEOF
18158 if ac_fn_c_try_link "$LINENO"
18159 then :
18160 ac_cv_lib_capi20_capi20_register=yes
18161 else $as_nop
18162 ac_cv_lib_capi20_capi20_register=no
18164 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18165 conftest$ac_exeext conftest.$ac_ext
18166 LIBS=$ac_check_lib_save_LIBS
18168 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_capi20_capi20_register" >&5
18169 printf "%s\n" "$ac_cv_lib_capi20_capi20_register" >&6; }
18170 if test "x$ac_cv_lib_capi20_capi20_register" = xyes
18171 then :
18173 else $as_nop
18174 CAPI20_LIBS=""
18178 CPPFLAGS=$ac_save_CPPFLAGS
18181 if test "x$ac_cv_lib_capi20_capi20_register" != xyes
18182 then :
18183 case "x$with_capi" in
18184 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
18185 xno) ;;
18186 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
18187 This is an error since --with-capi was requested." "$LINENO" 5 ;;
18188 esac
18189 enable_capi2032=${enable_capi2032:-no}
18192 if test "x$with_cups" != "xno"
18193 then
18194 rm -f conftest.err
18195 if ${CUPS_CFLAGS:+false} :
18196 then :
18197 if test ${PKG_CONFIG+y}
18198 then :
18199 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>conftest.err`
18202 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
18203 if ${CUPS_LIBS:+false} :
18204 then :
18205 if test ${PKG_CONFIG+y}
18206 then :
18207 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
18210 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
18211 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
18212 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
18213 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
18214 if test -s conftest.err; then
18215 printf %s "$as_me:${as_lineno-$LINENO}: cups errors: " >&5
18216 cat conftest.err >&5
18218 rm -f conftest.err
18219 ac_save_CPPFLAGS=$CPPFLAGS
18220 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
18221 ac_fn_c_check_header_compile "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
18222 if test "x$ac_cv_header_cups_cups_h" = xyes
18223 then :
18224 printf "%s\n" "#define HAVE_CUPS_CUPS_H 1" >>confdefs.h
18227 ac_fn_c_check_header_compile "$LINENO" "cups/ppd.h" "ac_cv_header_cups_ppd_h" "$ac_includes_default"
18228 if test "x$ac_cv_header_cups_ppd_h" = xyes
18229 then :
18230 printf "%s\n" "#define HAVE_CUPS_PPD_H 1" >>confdefs.h
18234 if test "$ac_cv_header_cups_cups_h" = "yes"
18235 then
18236 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
18237 printf %s "checking for -lcups... " >&6; }
18238 if test ${ac_cv_lib_soname_cups+y}
18239 then :
18240 printf %s "(cached) " >&6
18241 else $as_nop
18242 ac_check_soname_save_LIBS=$LIBS
18243 LIBS="-lcups $CUPS_LIBS $LIBS"
18244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18245 /* end confdefs.h. */
18247 /* Override any GCC internal prototype to avoid an error.
18248 Use char because int might match the return type of a GCC
18249 builtin and then its argument prototype would still apply. */
18250 char cupsGetDefault ();
18252 main (void)
18254 return cupsGetDefault ();
18256 return 0;
18258 _ACEOF
18259 if ac_fn_c_try_link "$LINENO"
18260 then :
18261 case "$LIBEXT" in
18262 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18263 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'` ;;
18264 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18265 if ${ac_cv_lib_soname_cups:+false} :
18266 then :
18267 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18268 fi ;;
18269 esac
18270 else $as_nop
18271 ac_cv_lib_soname_cups=
18273 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18274 conftest$ac_exeext conftest.$ac_ext
18275 LIBS=$ac_check_soname_save_LIBS
18277 if ${ac_cv_lib_soname_cups:+false} :
18278 then :
18279 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18280 printf "%s\n" "not found" >&6; }
18281 CUPS_LIBS=""
18282 else $as_nop
18283 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
18284 printf "%s\n" "$ac_cv_lib_soname_cups" >&6; }
18286 printf "%s\n" "#define SONAME_LIBCUPS \"$ac_cv_lib_soname_cups\"" >>confdefs.h
18290 else
18291 CUPS_CFLAGS=""
18292 CUPS_LIBS=""
18294 CPPFLAGS=$ac_save_CPPFLAGS
18297 if test "x$ac_cv_lib_soname_cups" = "x"
18298 then :
18299 case "x$with_cups" in
18300 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
18301 xno) ;;
18302 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
18303 This is an error since --with-cups was requested." "$LINENO" 5 ;;
18304 esac
18308 if test "x$with_fontconfig" != "xno"
18309 then
18310 rm -f conftest.err
18311 if ${FONTCONFIG_CFLAGS:+false} :
18312 then :
18313 if test ${PKG_CONFIG+y}
18314 then :
18315 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>conftest.err`
18318 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
18319 if ${FONTCONFIG_LIBS:+false} :
18320 then :
18321 if test ${PKG_CONFIG+y}
18322 then :
18323 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
18326 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
18328 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
18329 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
18330 if test -s conftest.err; then
18331 printf %s "$as_me:${as_lineno-$LINENO}: fontconfig errors: " >&5
18332 cat conftest.err >&5
18334 rm -f conftest.err
18335 ac_save_CPPFLAGS=$CPPFLAGS
18336 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
18337 ac_fn_c_check_header_compile "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
18338 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
18339 then :
18340 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
18341 printf %s "checking for -lfontconfig... " >&6; }
18342 if test ${ac_cv_lib_soname_fontconfig+y}
18343 then :
18344 printf %s "(cached) " >&6
18345 else $as_nop
18346 ac_check_soname_save_LIBS=$LIBS
18347 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
18348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18349 /* end confdefs.h. */
18351 /* Override any GCC internal prototype to avoid an error.
18352 Use char because int might match the return type of a GCC
18353 builtin and then its argument prototype would still apply. */
18354 char FcInit ();
18356 main (void)
18358 return FcInit ();
18360 return 0;
18362 _ACEOF
18363 if ac_fn_c_try_link "$LINENO"
18364 then :
18365 case "$LIBEXT" in
18366 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18367 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'` ;;
18368 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18369 if ${ac_cv_lib_soname_fontconfig:+false} :
18370 then :
18371 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18372 fi ;;
18373 esac
18374 else $as_nop
18375 ac_cv_lib_soname_fontconfig=
18377 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18378 conftest$ac_exeext conftest.$ac_ext
18379 LIBS=$ac_check_soname_save_LIBS
18381 if ${ac_cv_lib_soname_fontconfig:+false} :
18382 then :
18383 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18384 printf "%s\n" "not found" >&6; }
18385 FONTCONFIG_CFLAGS=""
18386 else $as_nop
18387 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
18388 printf "%s\n" "$ac_cv_lib_soname_fontconfig" >&6; }
18390 printf "%s\n" "#define SONAME_LIBFONTCONFIG \"$ac_cv_lib_soname_fontconfig\"" >>confdefs.h
18394 else $as_nop
18395 FONTCONFIG_CFLAGS=""
18398 CPPFLAGS=$ac_save_CPPFLAGS
18401 if test "x$ac_cv_lib_soname_fontconfig" = "x"
18402 then :
18403 case "x$with_fontconfig" in
18404 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
18405 xno) ;;
18406 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
18407 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
18408 esac
18412 if test "x$with_krb5" != "xno"
18413 then
18414 rm -f conftest.err
18415 if ${KRB5_CFLAGS:+false} :
18416 then :
18417 if test ${PKG_CONFIG+y}
18418 then :
18419 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>conftest.err`
18422 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
18423 if ${KRB5_LIBS:+false} :
18424 then :
18425 if test ${PKG_CONFIG+y}
18426 then :
18427 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
18430 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
18432 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
18433 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
18434 if test -s conftest.err; then
18435 printf %s "$as_me:${as_lineno-$LINENO}: krb5 errors: " >&5
18436 cat conftest.err >&5
18438 rm -f conftest.err
18439 ac_save_CPPFLAGS=$CPPFLAGS
18440 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
18441 ac_fn_c_check_header_compile "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
18442 if test "x$ac_cv_header_krb5_krb5_h" = xyes
18443 then :
18444 printf "%s\n" "#define HAVE_KRB5_KRB5_H 1" >>confdefs.h
18448 if test "$ac_cv_header_krb5_krb5_h" = "yes"
18449 then
18450 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
18451 printf %s "checking for -lkrb5... " >&6; }
18452 if test ${ac_cv_lib_soname_krb5+y}
18453 then :
18454 printf %s "(cached) " >&6
18455 else $as_nop
18456 ac_check_soname_save_LIBS=$LIBS
18457 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
18458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18459 /* end confdefs.h. */
18461 /* Override any GCC internal prototype to avoid an error.
18462 Use char because int might match the return type of a GCC
18463 builtin and then its argument prototype would still apply. */
18464 char krb5_is_config_principal ();
18466 main (void)
18468 return krb5_is_config_principal ();
18470 return 0;
18472 _ACEOF
18473 if ac_fn_c_try_link "$LINENO"
18474 then :
18475 case "$LIBEXT" in
18476 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18477 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'` ;;
18478 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18479 if ${ac_cv_lib_soname_krb5:+false} :
18480 then :
18481 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18482 fi ;;
18483 esac
18484 else $as_nop
18485 ac_cv_lib_soname_krb5=
18487 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18488 conftest$ac_exeext conftest.$ac_ext
18489 LIBS=$ac_check_soname_save_LIBS
18491 if ${ac_cv_lib_soname_krb5:+false} :
18492 then :
18493 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18494 printf "%s\n" "not found" >&6; }
18495 KRB5_CFLAGS=""
18496 else $as_nop
18497 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
18498 printf "%s\n" "$ac_cv_lib_soname_krb5" >&6; }
18500 printf "%s\n" "#define SONAME_LIBKRB5 \"$ac_cv_lib_soname_krb5\"" >>confdefs.h
18504 else
18505 KRB5_CFLAGS=""
18507 CPPFLAGS=$ac_save_CPPFLAGS
18510 if test "x$ac_cv_lib_soname_krb5" = "x"
18511 then :
18512 case "x$with_krb5" in
18513 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
18514 xno) ;;
18515 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
18516 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
18517 esac
18520 test "x$ac_cv_lib_soname_krb5" != "x" || with_gssapi=${with_gssapi:-no}
18522 if test "x$with_gssapi" != "xno"
18523 then
18524 rm -f conftest.err
18525 if ${GSSAPI_CFLAGS:+false} :
18526 then :
18527 if test ${PKG_CONFIG+y}
18528 then :
18529 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>conftest.err`
18532 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
18533 if ${GSSAPI_LIBS:+false} :
18534 then :
18535 if test ${PKG_CONFIG+y}
18536 then :
18537 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
18540 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
18542 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
18543 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
18544 if test -s conftest.err; then
18545 printf %s "$as_me:${as_lineno-$LINENO}: krb5-gssapi errors: " >&5
18546 cat conftest.err >&5
18548 rm -f conftest.err
18549 ac_save_CPPFLAGS=$CPPFLAGS
18550 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
18551 ac_fn_c_check_header_compile "$LINENO" "gssapi/gssapi.h" "ac_cv_header_gssapi_gssapi_h" "$ac_includes_default"
18552 if test "x$ac_cv_header_gssapi_gssapi_h" = xyes
18553 then :
18554 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_H 1" >>confdefs.h
18557 ac_fn_c_check_header_compile "$LINENO" "gssapi/gssapi_ext.h" "ac_cv_header_gssapi_gssapi_ext_h" "$ac_includes_default"
18558 if test "x$ac_cv_header_gssapi_gssapi_ext_h" = xyes
18559 then :
18560 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_EXT_H 1" >>confdefs.h
18564 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
18565 then
18566 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
18567 printf %s "checking for -lgssapi_krb5... " >&6; }
18568 if test ${ac_cv_lib_soname_gssapi_krb5+y}
18569 then :
18570 printf %s "(cached) " >&6
18571 else $as_nop
18572 ac_check_soname_save_LIBS=$LIBS
18573 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
18574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18575 /* end confdefs.h. */
18577 /* Override any GCC internal prototype to avoid an error.
18578 Use char because int might match the return type of a GCC
18579 builtin and then its argument prototype would still apply. */
18580 char gss_init_sec_context ();
18582 main (void)
18584 return gss_init_sec_context ();
18586 return 0;
18588 _ACEOF
18589 if ac_fn_c_try_link "$LINENO"
18590 then :
18591 case "$LIBEXT" in
18592 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18593 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'` ;;
18594 *) 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'`
18595 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
18596 then :
18597 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18598 fi ;;
18599 esac
18600 else $as_nop
18601 ac_cv_lib_soname_gssapi_krb5=
18603 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18604 conftest$ac_exeext conftest.$ac_ext
18605 LIBS=$ac_check_soname_save_LIBS
18607 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
18608 then :
18609 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18610 printf "%s\n" "not found" >&6; }
18611 GSSAPI_CFLAGS=""
18612 else $as_nop
18613 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
18614 printf "%s\n" "$ac_cv_lib_soname_gssapi_krb5" >&6; }
18616 printf "%s\n" "#define SONAME_LIBGSSAPI_KRB5 \"$ac_cv_lib_soname_gssapi_krb5\"" >>confdefs.h
18620 else
18621 GSSAPI_CFLAGS=""
18623 CPPFLAGS=$ac_save_CPPFLAGS
18626 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"
18627 then :
18628 case "x$with_gssapi" in
18629 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
18630 xno) ;;
18631 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
18632 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
18633 esac
18637 if test "$ac_cv_header_libprocstat_h" = "yes"
18638 then
18639 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
18640 printf %s "checking for procstat_open_sysctl in -lprocstat... " >&6; }
18641 if test ${ac_cv_lib_procstat_procstat_open_sysctl+y}
18642 then :
18643 printf %s "(cached) " >&6
18644 else $as_nop
18645 ac_check_lib_save_LIBS=$LIBS
18646 LIBS="-lprocstat $LIBS"
18647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18648 /* end confdefs.h. */
18650 /* Override any GCC internal prototype to avoid an error.
18651 Use char because int might match the return type of a GCC
18652 builtin and then its argument prototype would still apply. */
18653 char procstat_open_sysctl ();
18655 main (void)
18657 return procstat_open_sysctl ();
18659 return 0;
18661 _ACEOF
18662 if ac_fn_c_try_link "$LINENO"
18663 then :
18664 ac_cv_lib_procstat_procstat_open_sysctl=yes
18665 else $as_nop
18666 ac_cv_lib_procstat_procstat_open_sysctl=no
18668 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18669 conftest$ac_exeext conftest.$ac_ext
18670 LIBS=$ac_check_lib_save_LIBS
18672 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
18673 printf "%s\n" "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
18674 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes
18675 then :
18677 printf "%s\n" "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
18679 PROCSTAT_LIBS="-lprocstat"
18685 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
18686 printf %s "checking for -lodbc... " >&6; }
18687 if test ${ac_cv_lib_soname_odbc+y}
18688 then :
18689 printf %s "(cached) " >&6
18690 else $as_nop
18691 ac_check_soname_save_LIBS=$LIBS
18692 LIBS="-lodbc $LIBS"
18693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18694 /* end confdefs.h. */
18696 /* Override any GCC internal prototype to avoid an error.
18697 Use char because int might match the return type of a GCC
18698 builtin and then its argument prototype would still apply. */
18699 char SQLConnect ();
18701 main (void)
18703 return SQLConnect ();
18705 return 0;
18707 _ACEOF
18708 if ac_fn_c_try_link "$LINENO"
18709 then :
18710 case "$LIBEXT" in
18711 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18712 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'` ;;
18713 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18714 if ${ac_cv_lib_soname_odbc:+false} :
18715 then :
18716 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18717 fi ;;
18718 esac
18719 else $as_nop
18720 ac_cv_lib_soname_odbc=
18722 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18723 conftest$ac_exeext conftest.$ac_ext
18724 LIBS=$ac_check_soname_save_LIBS
18726 if ${ac_cv_lib_soname_odbc:+false} :
18727 then :
18728 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18729 printf "%s\n" "not found" >&6; }
18730 printf "%s\n" "#define SONAME_LIBODBC \"libodbc.$LIBEXT\"" >>confdefs.h
18732 else $as_nop
18733 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
18734 printf "%s\n" "$ac_cv_lib_soname_odbc" >&6; }
18736 printf "%s\n" "#define SONAME_LIBODBC \"$ac_cv_lib_soname_odbc\"" >>confdefs.h
18741 if test "x$with_netapi" != "xno"
18742 then
18743 rm -f conftest.err
18744 if ${NETAPI_CFLAGS:+false} :
18745 then :
18746 if test ${PKG_CONFIG+y}
18747 then :
18748 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>conftest.err`
18752 if ${NETAPI_LIBS:+false} :
18753 then :
18754 if test ${PKG_CONFIG+y}
18755 then :
18756 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
18761 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
18762 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
18763 if test -s conftest.err; then
18764 printf %s "$as_me:${as_lineno-$LINENO}: netapi errors: " >&5
18765 cat conftest.err >&5
18767 rm -f conftest.err
18768 ac_save_CPPFLAGS=$CPPFLAGS
18769 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
18770 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
18771 printf %s "checking for -lnetapi... " >&6; }
18772 if test ${ac_cv_lib_soname_netapi+y}
18773 then :
18774 printf %s "(cached) " >&6
18775 else $as_nop
18776 ac_check_soname_save_LIBS=$LIBS
18777 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
18778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18779 /* end confdefs.h. */
18781 /* Override any GCC internal prototype to avoid an error.
18782 Use char because int might match the return type of a GCC
18783 builtin and then its argument prototype would still apply. */
18784 char libnetapi_init ();
18786 main (void)
18788 return libnetapi_init ();
18790 return 0;
18792 _ACEOF
18793 if ac_fn_c_try_link "$LINENO"
18794 then :
18795 case "$LIBEXT" in
18796 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18797 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'` ;;
18798 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18799 if ${ac_cv_lib_soname_netapi:+false} :
18800 then :
18801 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18802 fi ;;
18803 esac
18804 else $as_nop
18805 ac_cv_lib_soname_netapi=
18807 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18808 conftest$ac_exeext conftest.$ac_ext
18809 LIBS=$ac_check_soname_save_LIBS
18811 if ${ac_cv_lib_soname_netapi:+false} :
18812 then :
18813 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18814 printf "%s\n" "not found" >&6; }
18815 printf "%s\n" "#define SONAME_LIBNETAPI \"libnetapi.$LIBEXT\"" >>confdefs.h
18817 else $as_nop
18818 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
18819 printf "%s\n" "$ac_cv_lib_soname_netapi" >&6; }
18821 printf "%s\n" "#define SONAME_LIBNETAPI \"$ac_cv_lib_soname_netapi\"" >>confdefs.h
18825 CPPFLAGS=$ac_save_CPPFLAGS
18828 if test "x$ac_cv_lib_soname_netapi" = "x"
18829 then :
18830 case "x$with_netapi" in
18831 x) as_fn_append wine_notices "|libnetapi not found, Samba NetAPI won't be supported." ;;
18832 xno) ;;
18833 *) as_fn_error $? "libnetapi not found, Samba NetAPI won't be supported.
18834 This is an error since --with-netapi was requested." "$LINENO" 5 ;;
18835 esac
18836 enable_netapi=${enable_netapi:-no}
18840 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
18841 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
18842 then
18843 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
18846 if test "x$with_vulkan" != "xno"
18847 then
18848 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
18849 printf %s "checking for -lvulkan... " >&6; }
18850 if test ${ac_cv_lib_soname_vulkan+y}
18851 then :
18852 printf %s "(cached) " >&6
18853 else $as_nop
18854 ac_check_soname_save_LIBS=$LIBS
18855 LIBS="-lvulkan $LIBS"
18856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18857 /* end confdefs.h. */
18859 /* Override any GCC internal prototype to avoid an error.
18860 Use char because int might match the return type of a GCC
18861 builtin and then its argument prototype would still apply. */
18862 char vkGetInstanceProcAddr ();
18864 main (void)
18866 return vkGetInstanceProcAddr ();
18868 return 0;
18870 _ACEOF
18871 if ac_fn_c_try_link "$LINENO"
18872 then :
18873 case "$LIBEXT" in
18874 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18875 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'` ;;
18876 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18877 if ${ac_cv_lib_soname_vulkan:+false} :
18878 then :
18879 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18880 fi ;;
18881 esac
18882 else $as_nop
18883 ac_cv_lib_soname_vulkan=
18885 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18886 conftest$ac_exeext conftest.$ac_ext
18887 LIBS=$ac_check_soname_save_LIBS
18889 if ${ac_cv_lib_soname_vulkan:+false} :
18890 then :
18891 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18892 printf "%s\n" "not found" >&6; }
18894 else $as_nop
18895 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
18896 printf "%s\n" "$ac_cv_lib_soname_vulkan" >&6; }
18898 printf "%s\n" "#define SONAME_LIBVULKAN \"$ac_cv_lib_soname_vulkan\"" >>confdefs.h
18902 if test "x$ac_cv_lib_soname_vulkan" = "x"
18903 then
18904 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
18905 printf %s "checking for -lMoltenVK... " >&6; }
18906 if test ${ac_cv_lib_soname_MoltenVK+y}
18907 then :
18908 printf %s "(cached) " >&6
18909 else $as_nop
18910 ac_check_soname_save_LIBS=$LIBS
18911 LIBS="-lMoltenVK $LIBS"
18912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18913 /* end confdefs.h. */
18915 /* Override any GCC internal prototype to avoid an error.
18916 Use char because int might match the return type of a GCC
18917 builtin and then its argument prototype would still apply. */
18918 char vkGetInstanceProcAddr ();
18920 main (void)
18922 return vkGetInstanceProcAddr ();
18924 return 0;
18926 _ACEOF
18927 if ac_fn_c_try_link "$LINENO"
18928 then :
18929 case "$LIBEXT" in
18930 dll) ac_cv_lib_soname_MoltenVK=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18931 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'` ;;
18932 *) ac_cv_lib_soname_MoltenVK=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18933 if ${ac_cv_lib_soname_MoltenVK:+false} :
18934 then :
18935 ac_cv_lib_soname_MoltenVK=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18936 fi ;;
18937 esac
18938 else $as_nop
18939 ac_cv_lib_soname_MoltenVK=
18941 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18942 conftest$ac_exeext conftest.$ac_ext
18943 LIBS=$ac_check_soname_save_LIBS
18945 if ${ac_cv_lib_soname_MoltenVK:+false} :
18946 then :
18947 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18948 printf "%s\n" "not found" >&6; }
18950 else $as_nop
18951 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
18952 printf "%s\n" "$ac_cv_lib_soname_MoltenVK" >&6; }
18954 printf "%s\n" "#define SONAME_LIBMOLTENVK \"$ac_cv_lib_soname_MoltenVK\"" >>confdefs.h
18960 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"
18961 then :
18962 case "x$with_vulkan" in
18963 x) as_fn_append wine_notices "|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
18964 xno) ;;
18965 *) as_fn_error $? "libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
18966 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
18967 esac
18972 if test "x${GCC}" = "xyes"
18973 then
18974 EXTRACFLAGS="$EXTRACFLAGS -Wall -pipe"
18976 saved_CFLAGS=$CFLAGS
18977 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
18978 printf %s "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
18979 if test ${ac_cv_cflags__Werror_unknown_warning_option+y}
18980 then :
18981 printf %s "(cached) " >&6
18982 else $as_nop
18983 ac_wine_try_cflags_saved=$CFLAGS
18984 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
18985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18986 /* end confdefs.h. */
18987 int main(int argc, char **argv) { return 0; }
18988 _ACEOF
18989 if ac_fn_c_try_link "$LINENO"
18990 then :
18991 ac_cv_cflags__Werror_unknown_warning_option=yes
18992 else $as_nop
18993 ac_cv_cflags__Werror_unknown_warning_option=no
18995 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18996 conftest$ac_exeext conftest.$ac_ext
18997 CFLAGS=$ac_wine_try_cflags_saved
18999 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
19000 printf "%s\n" "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
19001 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes
19002 then :
19003 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
19005 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unused-command-line-argument" >&5
19006 printf %s "checking whether the compiler supports -Werror=unused-command-line-argument... " >&6; }
19007 if test ${ac_cv_cflags__Werror_unused_command_line_argument+y}
19008 then :
19009 printf %s "(cached) " >&6
19010 else $as_nop
19011 ac_wine_try_cflags_saved=$CFLAGS
19012 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
19013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19014 /* end confdefs.h. */
19015 int main(int argc, char **argv) { return 0; }
19016 _ACEOF
19017 if ac_fn_c_try_link "$LINENO"
19018 then :
19019 ac_cv_cflags__Werror_unused_command_line_argument=yes
19020 else $as_nop
19021 ac_cv_cflags__Werror_unused_command_line_argument=no
19023 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19024 conftest$ac_exeext conftest.$ac_ext
19025 CFLAGS=$ac_wine_try_cflags_saved
19027 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unused_command_line_argument" >&5
19028 printf "%s\n" "$ac_cv_cflags__Werror_unused_command_line_argument" >&6; }
19029 if test "x$ac_cv_cflags__Werror_unused_command_line_argument" = xyes
19030 then :
19031 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
19033 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=ignored-optimization-argument" >&5
19034 printf %s "checking whether the compiler supports -Werror=ignored-optimization-argument... " >&6; }
19035 if test ${ac_cv_cflags__Werror_ignored_optimization_argument+y}
19036 then :
19037 printf %s "(cached) " >&6
19038 else $as_nop
19039 ac_wine_try_cflags_saved=$CFLAGS
19040 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
19041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19042 /* end confdefs.h. */
19043 int main(int argc, char **argv) { return 0; }
19044 _ACEOF
19045 if ac_fn_c_try_link "$LINENO"
19046 then :
19047 ac_cv_cflags__Werror_ignored_optimization_argument=yes
19048 else $as_nop
19049 ac_cv_cflags__Werror_ignored_optimization_argument=no
19051 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19052 conftest$ac_exeext conftest.$ac_ext
19053 CFLAGS=$ac_wine_try_cflags_saved
19055 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_ignored_optimization_argument" >&5
19056 printf "%s\n" "$ac_cv_cflags__Werror_ignored_optimization_argument" >&6; }
19057 if test "x$ac_cv_cflags__Werror_ignored_optimization_argument" = xyes
19058 then :
19059 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
19061 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fcf-protection=none" >&5
19062 printf %s "checking whether the compiler supports -fcf-protection=none... " >&6; }
19063 if test ${ac_cv_cflags__fcf_protection_none+y}
19064 then :
19065 printf %s "(cached) " >&6
19066 else $as_nop
19067 ac_wine_try_cflags_saved=$CFLAGS
19068 CFLAGS="$CFLAGS -fcf-protection=none"
19069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19070 /* end confdefs.h. */
19071 int main(int argc, char **argv) { return 0; }
19072 _ACEOF
19073 if ac_fn_c_try_link "$LINENO"
19074 then :
19075 ac_cv_cflags__fcf_protection_none=yes
19076 else $as_nop
19077 ac_cv_cflags__fcf_protection_none=no
19079 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19080 conftest$ac_exeext conftest.$ac_ext
19081 CFLAGS=$ac_wine_try_cflags_saved
19083 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fcf_protection_none" >&5
19084 printf "%s\n" "$ac_cv_cflags__fcf_protection_none" >&6; }
19085 if test "x$ac_cv_cflags__fcf_protection_none" = xyes
19086 then :
19087 EXTRACFLAGS="$EXTRACFLAGS -fcf-protection=none"
19089 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fvisibility=hidden" >&5
19090 printf %s "checking whether the compiler supports -fvisibility=hidden... " >&6; }
19091 if test ${ac_cv_cflags__fvisibility_hidden+y}
19092 then :
19093 printf %s "(cached) " >&6
19094 else $as_nop
19095 ac_wine_try_cflags_saved=$CFLAGS
19096 CFLAGS="$CFLAGS -fvisibility=hidden"
19097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19098 /* end confdefs.h. */
19099 int main(int argc, char **argv) { return 0; }
19100 _ACEOF
19101 if ac_fn_c_try_link "$LINENO"
19102 then :
19103 ac_cv_cflags__fvisibility_hidden=yes
19104 else $as_nop
19105 ac_cv_cflags__fvisibility_hidden=no
19107 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19108 conftest$ac_exeext conftest.$ac_ext
19109 CFLAGS=$ac_wine_try_cflags_saved
19111 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fvisibility_hidden" >&5
19112 printf "%s\n" "$ac_cv_cflags__fvisibility_hidden" >&6; }
19113 if test "x$ac_cv_cflags__fvisibility_hidden" = xyes
19114 then :
19115 EXTRACFLAGS="$EXTRACFLAGS -fvisibility=hidden"
19117 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-stack-protector" >&5
19118 printf %s "checking whether the compiler supports -fno-stack-protector... " >&6; }
19119 if test ${ac_cv_cflags__fno_stack_protector+y}
19120 then :
19121 printf %s "(cached) " >&6
19122 else $as_nop
19123 ac_wine_try_cflags_saved=$CFLAGS
19124 CFLAGS="$CFLAGS -fno-stack-protector"
19125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19126 /* end confdefs.h. */
19127 int main(int argc, char **argv) { return 0; }
19128 _ACEOF
19129 if ac_fn_c_try_link "$LINENO"
19130 then :
19131 ac_cv_cflags__fno_stack_protector=yes
19132 else $as_nop
19133 ac_cv_cflags__fno_stack_protector=no
19135 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19136 conftest$ac_exeext conftest.$ac_ext
19137 CFLAGS=$ac_wine_try_cflags_saved
19139 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_stack_protector" >&5
19140 printf "%s\n" "$ac_cv_cflags__fno_stack_protector" >&6; }
19141 if test "x$ac_cv_cflags__fno_stack_protector" = xyes
19142 then :
19143 EXTRACFLAGS="$EXTRACFLAGS -fno-stack-protector"
19145 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
19146 printf %s "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
19147 if test ${ac_cv_cflags__fno_strict_aliasing+y}
19148 then :
19149 printf %s "(cached) " >&6
19150 else $as_nop
19151 ac_wine_try_cflags_saved=$CFLAGS
19152 CFLAGS="$CFLAGS -fno-strict-aliasing"
19153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19154 /* end confdefs.h. */
19155 int main(int argc, char **argv) { return 0; }
19156 _ACEOF
19157 if ac_fn_c_try_link "$LINENO"
19158 then :
19159 ac_cv_cflags__fno_strict_aliasing=yes
19160 else $as_nop
19161 ac_cv_cflags__fno_strict_aliasing=no
19163 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19164 conftest$ac_exeext conftest.$ac_ext
19165 CFLAGS=$ac_wine_try_cflags_saved
19167 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
19168 printf "%s\n" "$ac_cv_cflags__fno_strict_aliasing" >&6; }
19169 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes
19170 then :
19171 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
19173 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
19174 printf %s "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
19175 if test ${ac_cv_cflags__Wdeclaration_after_statement+y}
19176 then :
19177 printf %s "(cached) " >&6
19178 else $as_nop
19179 ac_wine_try_cflags_saved=$CFLAGS
19180 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
19181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19182 /* end confdefs.h. */
19183 int main(int argc, char **argv) { return 0; }
19184 _ACEOF
19185 if ac_fn_c_try_link "$LINENO"
19186 then :
19187 ac_cv_cflags__Wdeclaration_after_statement=yes
19188 else $as_nop
19189 ac_cv_cflags__Wdeclaration_after_statement=no
19191 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19192 conftest$ac_exeext conftest.$ac_ext
19193 CFLAGS=$ac_wine_try_cflags_saved
19195 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
19196 printf "%s\n" "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
19197 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes
19198 then :
19199 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
19201 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
19202 printf %s "checking whether the compiler supports -Wempty-body... " >&6; }
19203 if test ${ac_cv_cflags__Wempty_body+y}
19204 then :
19205 printf %s "(cached) " >&6
19206 else $as_nop
19207 ac_wine_try_cflags_saved=$CFLAGS
19208 CFLAGS="$CFLAGS -Wempty-body"
19209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19210 /* end confdefs.h. */
19211 int main(int argc, char **argv) { return 0; }
19212 _ACEOF
19213 if ac_fn_c_try_link "$LINENO"
19214 then :
19215 ac_cv_cflags__Wempty_body=yes
19216 else $as_nop
19217 ac_cv_cflags__Wempty_body=no
19219 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19220 conftest$ac_exeext conftest.$ac_ext
19221 CFLAGS=$ac_wine_try_cflags_saved
19223 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
19224 printf "%s\n" "$ac_cv_cflags__Wempty_body" >&6; }
19225 if test "x$ac_cv_cflags__Wempty_body" = xyes
19226 then :
19227 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
19229 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
19230 printf %s "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
19231 if test ${ac_cv_cflags__Wignored_qualifiers+y}
19232 then :
19233 printf %s "(cached) " >&6
19234 else $as_nop
19235 ac_wine_try_cflags_saved=$CFLAGS
19236 CFLAGS="$CFLAGS -Wignored-qualifiers"
19237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19238 /* end confdefs.h. */
19239 int main(int argc, char **argv) { return 0; }
19240 _ACEOF
19241 if ac_fn_c_try_link "$LINENO"
19242 then :
19243 ac_cv_cflags__Wignored_qualifiers=yes
19244 else $as_nop
19245 ac_cv_cflags__Wignored_qualifiers=no
19247 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19248 conftest$ac_exeext conftest.$ac_ext
19249 CFLAGS=$ac_wine_try_cflags_saved
19251 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
19252 printf "%s\n" "$ac_cv_cflags__Wignored_qualifiers" >&6; }
19253 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes
19254 then :
19255 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
19257 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Winit-self" >&5
19258 printf %s "checking whether the compiler supports -Winit-self... " >&6; }
19259 if test ${ac_cv_cflags__Winit_self+y}
19260 then :
19261 printf %s "(cached) " >&6
19262 else $as_nop
19263 ac_wine_try_cflags_saved=$CFLAGS
19264 CFLAGS="$CFLAGS -Winit-self"
19265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19266 /* end confdefs.h. */
19267 int main(int argc, char **argv) { return 0; }
19268 _ACEOF
19269 if ac_fn_c_try_link "$LINENO"
19270 then :
19271 ac_cv_cflags__Winit_self=yes
19272 else $as_nop
19273 ac_cv_cflags__Winit_self=no
19275 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19276 conftest$ac_exeext conftest.$ac_ext
19277 CFLAGS=$ac_wine_try_cflags_saved
19279 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Winit_self" >&5
19280 printf "%s\n" "$ac_cv_cflags__Winit_self" >&6; }
19281 if test "x$ac_cv_cflags__Winit_self" = xyes
19282 then :
19283 EXTRACFLAGS="$EXTRACFLAGS -Winit-self"
19285 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
19286 printf %s "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
19287 if test ${ac_cv_cflags__Wpacked_not_aligned+y}
19288 then :
19289 printf %s "(cached) " >&6
19290 else $as_nop
19291 ac_wine_try_cflags_saved=$CFLAGS
19292 CFLAGS="$CFLAGS -Wpacked-not-aligned"
19293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19294 /* end confdefs.h. */
19295 int main(int argc, char **argv) { return 0; }
19296 _ACEOF
19297 if ac_fn_c_try_link "$LINENO"
19298 then :
19299 ac_cv_cflags__Wpacked_not_aligned=yes
19300 else $as_nop
19301 ac_cv_cflags__Wpacked_not_aligned=no
19303 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19304 conftest$ac_exeext conftest.$ac_ext
19305 CFLAGS=$ac_wine_try_cflags_saved
19307 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
19308 printf "%s\n" "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
19309 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes
19310 then :
19311 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
19313 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
19314 printf %s "checking whether the compiler supports -Wpragma-pack... " >&6; }
19315 if test ${ac_cv_cflags__Wpragma_pack+y}
19316 then :
19317 printf %s "(cached) " >&6
19318 else $as_nop
19319 ac_wine_try_cflags_saved=$CFLAGS
19320 CFLAGS="$CFLAGS -Wpragma-pack"
19321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19322 /* end confdefs.h. */
19323 int main(int argc, char **argv) { return 0; }
19324 _ACEOF
19325 if ac_fn_c_try_link "$LINENO"
19326 then :
19327 ac_cv_cflags__Wpragma_pack=yes
19328 else $as_nop
19329 ac_cv_cflags__Wpragma_pack=no
19331 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19332 conftest$ac_exeext conftest.$ac_ext
19333 CFLAGS=$ac_wine_try_cflags_saved
19335 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
19336 printf "%s\n" "$ac_cv_cflags__Wpragma_pack" >&6; }
19337 if test "x$ac_cv_cflags__Wpragma_pack" = xyes
19338 then :
19339 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
19341 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
19342 printf %s "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
19343 if test ${ac_cv_cflags__Wshift_overflow_2+y}
19344 then :
19345 printf %s "(cached) " >&6
19346 else $as_nop
19347 ac_wine_try_cflags_saved=$CFLAGS
19348 CFLAGS="$CFLAGS -Wshift-overflow=2"
19349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19350 /* end confdefs.h. */
19351 int main(int argc, char **argv) { return 0; }
19352 _ACEOF
19353 if ac_fn_c_try_link "$LINENO"
19354 then :
19355 ac_cv_cflags__Wshift_overflow_2=yes
19356 else $as_nop
19357 ac_cv_cflags__Wshift_overflow_2=no
19359 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19360 conftest$ac_exeext conftest.$ac_ext
19361 CFLAGS=$ac_wine_try_cflags_saved
19363 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
19364 printf "%s\n" "$ac_cv_cflags__Wshift_overflow_2" >&6; }
19365 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes
19366 then :
19367 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
19369 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
19370 printf %s "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
19371 if test ${ac_cv_cflags__Wstrict_prototypes+y}
19372 then :
19373 printf %s "(cached) " >&6
19374 else $as_nop
19375 ac_wine_try_cflags_saved=$CFLAGS
19376 CFLAGS="$CFLAGS -Wstrict-prototypes"
19377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19378 /* end confdefs.h. */
19379 int main(int argc, char **argv) { return 0; }
19380 _ACEOF
19381 if ac_fn_c_try_link "$LINENO"
19382 then :
19383 ac_cv_cflags__Wstrict_prototypes=yes
19384 else $as_nop
19385 ac_cv_cflags__Wstrict_prototypes=no
19387 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19388 conftest$ac_exeext conftest.$ac_ext
19389 CFLAGS=$ac_wine_try_cflags_saved
19391 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
19392 printf "%s\n" "$ac_cv_cflags__Wstrict_prototypes" >&6; }
19393 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes
19394 then :
19395 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
19397 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
19398 printf %s "checking whether the compiler supports -Wtype-limits... " >&6; }
19399 if test ${ac_cv_cflags__Wtype_limits+y}
19400 then :
19401 printf %s "(cached) " >&6
19402 else $as_nop
19403 ac_wine_try_cflags_saved=$CFLAGS
19404 CFLAGS="$CFLAGS -Wtype-limits"
19405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19406 /* end confdefs.h. */
19407 int main(int argc, char **argv) { return 0; }
19408 _ACEOF
19409 if ac_fn_c_try_link "$LINENO"
19410 then :
19411 ac_cv_cflags__Wtype_limits=yes
19412 else $as_nop
19413 ac_cv_cflags__Wtype_limits=no
19415 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19416 conftest$ac_exeext conftest.$ac_ext
19417 CFLAGS=$ac_wine_try_cflags_saved
19419 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
19420 printf "%s\n" "$ac_cv_cflags__Wtype_limits" >&6; }
19421 if test "x$ac_cv_cflags__Wtype_limits" = xyes
19422 then :
19423 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
19425 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
19426 printf %s "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
19427 if test ${ac_cv_cflags__Wunused_but_set_parameter+y}
19428 then :
19429 printf %s "(cached) " >&6
19430 else $as_nop
19431 ac_wine_try_cflags_saved=$CFLAGS
19432 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
19433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19434 /* end confdefs.h. */
19435 int main(int argc, char **argv) { return 0; }
19436 _ACEOF
19437 if ac_fn_c_try_link "$LINENO"
19438 then :
19439 ac_cv_cflags__Wunused_but_set_parameter=yes
19440 else $as_nop
19441 ac_cv_cflags__Wunused_but_set_parameter=no
19443 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19444 conftest$ac_exeext conftest.$ac_ext
19445 CFLAGS=$ac_wine_try_cflags_saved
19447 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
19448 printf "%s\n" "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
19449 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes
19450 then :
19451 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
19453 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
19454 printf %s "checking whether the compiler supports -Wvla... " >&6; }
19455 if test ${ac_cv_cflags__Wvla+y}
19456 then :
19457 printf %s "(cached) " >&6
19458 else $as_nop
19459 ac_wine_try_cflags_saved=$CFLAGS
19460 CFLAGS="$CFLAGS -Wvla"
19461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19462 /* end confdefs.h. */
19463 int main(int argc, char **argv) { return 0; }
19464 _ACEOF
19465 if ac_fn_c_try_link "$LINENO"
19466 then :
19467 ac_cv_cflags__Wvla=yes
19468 else $as_nop
19469 ac_cv_cflags__Wvla=no
19471 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19472 conftest$ac_exeext conftest.$ac_ext
19473 CFLAGS=$ac_wine_try_cflags_saved
19475 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
19476 printf "%s\n" "$ac_cv_cflags__Wvla" >&6; }
19477 if test "x$ac_cv_cflags__Wvla" = xyes
19478 then :
19479 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
19481 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
19482 printf %s "checking whether the compiler supports -Wwrite-strings... " >&6; }
19483 if test ${ac_cv_cflags__Wwrite_strings+y}
19484 then :
19485 printf %s "(cached) " >&6
19486 else $as_nop
19487 ac_wine_try_cflags_saved=$CFLAGS
19488 CFLAGS="$CFLAGS -Wwrite-strings"
19489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19490 /* end confdefs.h. */
19491 int main(int argc, char **argv) { return 0; }
19492 _ACEOF
19493 if ac_fn_c_try_link "$LINENO"
19494 then :
19495 ac_cv_cflags__Wwrite_strings=yes
19496 else $as_nop
19497 ac_cv_cflags__Wwrite_strings=no
19499 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19500 conftest$ac_exeext conftest.$ac_ext
19501 CFLAGS=$ac_wine_try_cflags_saved
19503 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
19504 printf "%s\n" "$ac_cv_cflags__Wwrite_strings" >&6; }
19505 if test "x$ac_cv_cflags__Wwrite_strings" = xyes
19506 then :
19507 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
19510 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
19511 printf %s "checking whether the compiler supports -Wpointer-arith... " >&6; }
19512 if test ${ac_cv_cflags__Wpointer_arith+y}
19513 then :
19514 printf %s "(cached) " >&6
19515 else $as_nop
19516 ac_wine_try_cflags_saved=$CFLAGS
19517 CFLAGS="$CFLAGS -Wpointer-arith"
19518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19519 /* end confdefs.h. */
19520 int main(int argc, char **argv) { return 0; }
19521 _ACEOF
19522 if ac_fn_c_try_link "$LINENO"
19523 then :
19524 ac_cv_cflags__Wpointer_arith=yes
19525 else $as_nop
19526 ac_cv_cflags__Wpointer_arith=no
19528 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19529 conftest$ac_exeext conftest.$ac_ext
19530 CFLAGS=$ac_wine_try_cflags_saved
19532 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
19533 printf "%s\n" "$ac_cv_cflags__Wpointer_arith" >&6; }
19534 if test "x$ac_cv_cflags__Wpointer_arith" = xyes
19535 then :
19536 saved_string_h_CFLAGS=$CFLAGS
19537 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
19538 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
19539 printf %s "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
19540 if test ${ac_cv_c_string_h_warnings+y}
19541 then :
19542 printf %s "(cached) " >&6
19543 else $as_nop
19544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19545 /* end confdefs.h. */
19546 #include <string.h>
19548 main (void)
19552 return 0;
19554 _ACEOF
19555 if ac_fn_c_try_compile "$LINENO"
19556 then :
19557 ac_cv_c_string_h_warnings=no
19558 else $as_nop
19559 ac_cv_c_string_h_warnings=yes
19561 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19563 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
19564 printf "%s\n" "$ac_cv_c_string_h_warnings" >&6; }
19565 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
19566 CFLAGS=$saved_string_h_CFLAGS
19569 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
19570 printf %s "checking whether the compiler supports -Wlogical-op... " >&6; }
19571 if test ${ac_cv_cflags__Wlogical_op+y}
19572 then :
19573 printf %s "(cached) " >&6
19574 else $as_nop
19575 ac_wine_try_cflags_saved=$CFLAGS
19576 CFLAGS="$CFLAGS -Wlogical-op"
19577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19578 /* end confdefs.h. */
19579 int main(int argc, char **argv) { return 0; }
19580 _ACEOF
19581 if ac_fn_c_try_link "$LINENO"
19582 then :
19583 ac_cv_cflags__Wlogical_op=yes
19584 else $as_nop
19585 ac_cv_cflags__Wlogical_op=no
19587 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19588 conftest$ac_exeext conftest.$ac_ext
19589 CFLAGS=$ac_wine_try_cflags_saved
19591 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
19592 printf "%s\n" "$ac_cv_cflags__Wlogical_op" >&6; }
19593 if test "x$ac_cv_cflags__Wlogical_op" = xyes
19594 then :
19595 saved_string_h_CFLAGS=$CFLAGS
19596 CFLAGS="$CFLAGS -Wlogical-op -Werror"
19597 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
19598 printf %s "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
19599 if test ${ac_cv_c_logicalop_noisy+y}
19600 then :
19601 printf %s "(cached) " >&6
19602 else $as_nop
19603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19604 /* end confdefs.h. */
19605 #include <string.h>
19606 char*f(const char *h,char n) {return strchr(h,n);}
19608 main (void)
19612 return 0;
19614 _ACEOF
19615 if ac_fn_c_try_compile "$LINENO"
19616 then :
19617 ac_cv_c_logicalop_noisy=no
19618 else $as_nop
19619 ac_cv_c_logicalop_noisy=yes
19621 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19623 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
19624 printf "%s\n" "$ac_cv_c_logicalop_noisy" >&6; }
19625 CFLAGS=$saved_string_h_CFLAGS
19626 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
19629 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for flags needed for 64-bit compare-and-swap support" >&5
19630 printf %s "checking for flags needed for 64-bit compare-and-swap support... " >&6; }
19631 if test ${wine_cv_64bit_compare_swap+y}
19632 then :
19633 printf %s "(cached) " >&6
19634 else $as_nop
19635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19636 /* end confdefs.h. */
19637 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
19638 #error no
19639 #endif
19641 main (void)
19645 return 0;
19647 _ACEOF
19648 if ac_fn_c_try_compile "$LINENO"
19649 then :
19650 wine_cv_64bit_compare_swap="none needed"
19651 else $as_nop
19652 case $HOST_ARCH in
19653 i386) wine_cv_64bit_compare_swap="-march=i586" ;;
19654 arm) wine_cv_64bit_compare_swap="-march=armv7-a" ;;
19655 *) wine_cv_64bit_compare_swap="unknown" ;;
19656 esac
19657 if test "x$wine_cv_64bit_compare_swap" != xunknown
19658 then
19659 CFLAGS="$CFLAGS $wine_cv_64bit_compare_swap"
19660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19661 /* end confdefs.h. */
19662 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
19663 #error no
19664 #endif
19666 main (void)
19670 return 0;
19672 _ACEOF
19673 if ac_fn_c_try_compile "$LINENO"
19674 then :
19676 else $as_nop
19677 wine_cv_64bit_compare_swap="unknown"
19679 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19680 CFLAGS=$saved_CFLAGS
19683 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19685 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_64bit_compare_swap" >&5
19686 printf "%s\n" "$wine_cv_64bit_compare_swap" >&6; }
19687 case "$wine_cv_64bit_compare_swap" in
19688 unknown) as_fn_error $? "gcc doesn't support 64-bit compare-and-swap on this platform" "$LINENO" 5 ;;
19689 "none needed") ;;
19690 *) EXTRACFLAGS="$EXTRACFLAGS $wine_cv_64bit_compare_swap" ;;
19691 esac
19693 ac_debug_format_seen=""
19694 for ac_flag in $CFLAGS; do
19695 case $ac_flag in
19696 -gdwarf*) ac_debug_format_seen=yes ;;
19697 -g) ac_debug_format_seen=${ac_debug_format_seen:-default} ;;
19698 esac
19699 done
19700 if test "x$ac_debug_format_seen" = xdefault
19701 then
19702 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-4" >&5
19703 printf %s "checking whether the compiler supports -gdwarf-4... " >&6; }
19704 if test ${ac_cv_cflags__gdwarf_4+y}
19705 then :
19706 printf %s "(cached) " >&6
19707 else $as_nop
19708 ac_wine_try_cflags_saved=$CFLAGS
19709 CFLAGS="$CFLAGS -gdwarf-4"
19710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19711 /* end confdefs.h. */
19712 int main(int argc, char **argv) { return 0; }
19713 _ACEOF
19714 if ac_fn_c_try_link "$LINENO"
19715 then :
19716 ac_cv_cflags__gdwarf_4=yes
19717 else $as_nop
19718 ac_cv_cflags__gdwarf_4=no
19720 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19721 conftest$ac_exeext conftest.$ac_ext
19722 CFLAGS=$ac_wine_try_cflags_saved
19724 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_4" >&5
19725 printf "%s\n" "$ac_cv_cflags__gdwarf_4" >&6; }
19726 if test "x$ac_cv_cflags__gdwarf_4" = xyes
19727 then :
19728 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-4"
19732 MSVCRTFLAGS=""
19734 case $host_os in
19735 mingw32*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-delayload,autoconftest.dll" >&5
19736 printf %s "checking whether the compiler supports -Wl,-delayload,autoconftest.dll... " >&6; }
19737 if test ${ac_cv_cflags__Wl__delayload_autoconftest_dll+y}
19738 then :
19739 printf %s "(cached) " >&6
19740 else $as_nop
19741 ac_wine_try_cflags_saved=$CFLAGS
19742 CFLAGS="$CFLAGS -Wl,-delayload,autoconftest.dll"
19743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19744 /* end confdefs.h. */
19745 int main(int argc, char **argv) { return 0; }
19746 _ACEOF
19747 if ac_fn_c_try_link "$LINENO"
19748 then :
19749 ac_cv_cflags__Wl__delayload_autoconftest_dll=yes
19750 else $as_nop
19751 ac_cv_cflags__Wl__delayload_autoconftest_dll=no
19753 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19754 conftest$ac_exeext conftest.$ac_ext
19755 CFLAGS=$ac_wine_try_cflags_saved
19757 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__delayload_autoconftest_dll" >&5
19758 printf "%s\n" "$ac_cv_cflags__Wl__delayload_autoconftest_dll" >&6; }
19759 if test "x$ac_cv_cflags__Wl__delayload_autoconftest_dll" = xyes
19760 then :
19761 DELAYLOADFLAG="-Wl,-delayload,"
19763 fi ;;
19764 *) MSVCRTFLAGS="-D_WIN32"
19765 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
19766 printf %s "checking whether the compiler supports -fno-builtin... " >&6; }
19767 if test ${ac_cv_cflags__fno_builtin+y}
19768 then :
19769 printf %s "(cached) " >&6
19770 else $as_nop
19771 ac_wine_try_cflags_saved=$CFLAGS
19772 CFLAGS="$CFLAGS -fno-builtin"
19773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19774 /* end confdefs.h. */
19775 int main(int argc, char **argv) { return 0; }
19776 _ACEOF
19777 if ac_fn_c_try_link "$LINENO"
19778 then :
19779 ac_cv_cflags__fno_builtin=yes
19780 else $as_nop
19781 ac_cv_cflags__fno_builtin=no
19783 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19784 conftest$ac_exeext conftest.$ac_ext
19785 CFLAGS=$ac_wine_try_cflags_saved
19787 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
19788 printf "%s\n" "$ac_cv_cflags__fno_builtin" >&6; }
19789 if test "x$ac_cv_cflags__fno_builtin" = xyes
19790 then :
19791 MSVCRTFLAGS="$MSVCRTFLAGS -fno-builtin"
19793 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
19794 printf %s "checking whether the compiler supports -fshort-wchar... " >&6; }
19795 if test ${ac_cv_cflags__fshort_wchar+y}
19796 then :
19797 printf %s "(cached) " >&6
19798 else $as_nop
19799 ac_wine_try_cflags_saved=$CFLAGS
19800 CFLAGS="$CFLAGS -fshort-wchar"
19801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19802 /* end confdefs.h. */
19803 int main(int argc, char **argv) { return 0; }
19804 _ACEOF
19805 if ac_fn_c_try_link "$LINENO"
19806 then :
19807 ac_cv_cflags__fshort_wchar=yes
19808 else $as_nop
19809 ac_cv_cflags__fshort_wchar=no
19811 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19812 conftest$ac_exeext conftest.$ac_ext
19813 CFLAGS=$ac_wine_try_cflags_saved
19815 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fshort_wchar" >&5
19816 printf "%s\n" "$ac_cv_cflags__fshort_wchar" >&6; }
19817 if test "x$ac_cv_cflags__fshort_wchar" = xyes
19818 then :
19819 MSVCRTFLAGS="$MSVCRTFLAGS -fshort-wchar"
19821 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
19822 printf %s "checking whether the compiler supports -Wno-format... " >&6; }
19823 if test ${ac_cv_cflags__Wno_format+y}
19824 then :
19825 printf %s "(cached) " >&6
19826 else $as_nop
19827 ac_wine_try_cflags_saved=$CFLAGS
19828 CFLAGS="$CFLAGS -Wno-format"
19829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19830 /* end confdefs.h. */
19831 int main(int argc, char **argv) { return 0; }
19832 _ACEOF
19833 if ac_fn_c_try_link "$LINENO"
19834 then :
19835 ac_cv_cflags__Wno_format=yes
19836 else $as_nop
19837 ac_cv_cflags__Wno_format=no
19839 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19840 conftest$ac_exeext conftest.$ac_ext
19841 CFLAGS=$ac_wine_try_cflags_saved
19843 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
19844 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
19845 if test "x$ac_cv_cflags__Wno_format" = xyes
19846 then :
19847 MSVCRTFLAGS="$MSVCRTFLAGS -Wno-format"
19848 fi ;;
19849 esac
19851 case $HOST_ARCH in
19852 i386) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
19853 printf %s "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
19854 if test ${ac_cv_cflags__fno_omit_frame_pointer+y}
19855 then :
19856 printf %s "(cached) " >&6
19857 else $as_nop
19858 ac_wine_try_cflags_saved=$CFLAGS
19859 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
19860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19861 /* end confdefs.h. */
19862 int main(int argc, char **argv) { return 0; }
19863 _ACEOF
19864 if ac_fn_c_try_link "$LINENO"
19865 then :
19866 ac_cv_cflags__fno_omit_frame_pointer=yes
19867 else $as_nop
19868 ac_cv_cflags__fno_omit_frame_pointer=no
19870 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19871 conftest$ac_exeext conftest.$ac_ext
19872 CFLAGS=$ac_wine_try_cflags_saved
19874 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
19875 printf "%s\n" "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
19876 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes
19877 then :
19878 MSVCRTFLAGS="$MSVCRTFLAGS -fno-omit-frame-pointer"
19879 fi ;;
19880 x86_64)
19881 case $host_os in
19882 cygwin*|mingw32*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
19883 printf %s "checking whether the compiler supports -Wno-format... " >&6; }
19884 if test ${ac_cv_cflags__Wno_format+y}
19885 then :
19886 printf %s "(cached) " >&6
19887 else $as_nop
19888 ac_wine_try_cflags_saved=$CFLAGS
19889 CFLAGS="$CFLAGS -Wno-format"
19890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19891 /* end confdefs.h. */
19892 int main(int argc, char **argv) { return 0; }
19893 _ACEOF
19894 if ac_fn_c_try_link "$LINENO"
19895 then :
19896 ac_cv_cflags__Wno_format=yes
19897 else $as_nop
19898 ac_cv_cflags__Wno_format=no
19900 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19901 conftest$ac_exeext conftest.$ac_ext
19902 CFLAGS=$ac_wine_try_cflags_saved
19904 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
19905 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
19906 if test "x$ac_cv_cflags__Wno_format" = xyes
19907 then :
19908 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
19909 fi ;;
19910 *) if test -z "$PE_ARCHS"
19911 then
19912 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working -mabi=ms" >&5
19913 printf %s "checking for working -mabi=ms... " >&6; }
19914 if test ${ac_cv_mabi_ms+y}
19915 then :
19916 printf %s "(cached) " >&6
19917 else $as_nop
19918 CFLAGS="$CFLAGS -mabi=ms"
19919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19920 /* end confdefs.h. */
19921 #include <stdarg.h>
19922 int a(int b, ...) { __builtin_ms_va_list list; __builtin_ms_va_start(list,b); }
19924 main (void)
19928 return 0;
19930 _ACEOF
19931 if ac_fn_c_try_compile "$LINENO"
19932 then :
19933 ac_cv_mabi_ms=yes
19934 else $as_nop
19935 ac_cv_mabi_ms=no
19937 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19938 CFLAGS=$saved_CFLAGS
19940 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mabi_ms" >&5
19941 printf "%s\n" "$ac_cv_mabi_ms" >&6; }
19942 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
19944 MSVCRTFLAGS="$MSVCRTFLAGS -mabi=ms" ;;
19945 esac ;;
19946 arm)
19947 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wincompatible-function-pointer-types" >&5
19948 printf %s "checking whether the compiler supports -Wincompatible-function-pointer-types... " >&6; }
19949 if test ${ac_cv_cflags__Wincompatible_function_pointer_types+y}
19950 then :
19951 printf %s "(cached) " >&6
19952 else $as_nop
19953 ac_wine_try_cflags_saved=$CFLAGS
19954 CFLAGS="$CFLAGS -Wincompatible-function-pointer-types"
19955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19956 /* end confdefs.h. */
19957 int main(int argc, char **argv) { return 0; }
19958 _ACEOF
19959 if ac_fn_c_try_link "$LINENO"
19960 then :
19961 ac_cv_cflags__Wincompatible_function_pointer_types=yes
19962 else $as_nop
19963 ac_cv_cflags__Wincompatible_function_pointer_types=no
19965 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19966 conftest$ac_exeext conftest.$ac_ext
19967 CFLAGS=$ac_wine_try_cflags_saved
19969 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wincompatible_function_pointer_types" >&5
19970 printf "%s\n" "$ac_cv_cflags__Wincompatible_function_pointer_types" >&6; }
19971 if test "x$ac_cv_cflags__Wincompatible_function_pointer_types" = xyes
19972 then :
19973 EXTRACFLAGS="$EXTRACFLAGS -Wno-error=incompatible-function-pointer-types"
19974 fi ;;
19975 esac
19977 CFLAGS=$saved_CFLAGS
19979 if test "x$enable_werror" = "xyes"
19980 then
19981 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
19982 printf %s "checking whether the compiler supports -Werror... " >&6; }
19983 if test ${ac_cv_cflags__Werror+y}
19984 then :
19985 printf %s "(cached) " >&6
19986 else $as_nop
19987 ac_wine_try_cflags_saved=$CFLAGS
19988 CFLAGS="$CFLAGS -Werror"
19989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19990 /* end confdefs.h. */
19991 int main(int argc, char **argv) { return 0; }
19992 _ACEOF
19993 if ac_fn_c_try_link "$LINENO"
19994 then :
19995 ac_cv_cflags__Werror=yes
19996 else $as_nop
19997 ac_cv_cflags__Werror=no
19999 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20000 conftest$ac_exeext conftest.$ac_ext
20001 CFLAGS=$ac_wine_try_cflags_saved
20003 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
20004 printf "%s\n" "$ac_cv_cflags__Werror" >&6; }
20005 if test "x$ac_cv_cflags__Werror" = xyes
20006 then :
20007 EXTRACFLAGS="$EXTRACFLAGS -Werror"
20010 if test "x$enable_build_id" = "xyes"
20011 then
20012 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--build-id" >&5
20013 printf %s "checking whether the compiler supports -Wl,--build-id... " >&6; }
20014 if test ${ac_cv_cflags__Wl___build_id+y}
20015 then :
20016 printf %s "(cached) " >&6
20017 else $as_nop
20018 ac_wine_try_cflags_saved=$CFLAGS
20019 CFLAGS="$CFLAGS -Wl,--build-id"
20020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20021 /* end confdefs.h. */
20022 int main(int argc, char **argv) { return 0; }
20023 _ACEOF
20024 if ac_fn_c_try_link "$LINENO"
20025 then :
20026 ac_cv_cflags__Wl___build_id=yes
20027 else $as_nop
20028 ac_cv_cflags__Wl___build_id=no
20030 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20031 conftest$ac_exeext conftest.$ac_ext
20032 CFLAGS=$ac_wine_try_cflags_saved
20034 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___build_id" >&5
20035 printf "%s\n" "$ac_cv_cflags__Wl___build_id" >&6; }
20036 if test "x$ac_cv_cflags__Wl___build_id" = xyes
20037 then :
20038 CFLAGS="$CFLAGS -Wl,--build-id"
20039 LDFLAGS="$LDFLAGS -Wl,--build-id"
20045 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
20046 printf %s "checking for the need to disable Fortify... " >&6; }
20047 if test ${ac_cv_c_fortify_enabled+y}
20048 then :
20049 printf %s "(cached) " >&6
20050 else $as_nop
20051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20052 /* end confdefs.h. */
20053 #include <string.h>
20055 main (void)
20057 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
20058 #error Fortify enabled
20059 #endif
20061 return 0;
20063 _ACEOF
20064 if ac_fn_c_try_compile "$LINENO"
20065 then :
20066 ac_cv_c_fortify_enabled=no
20067 else $as_nop
20068 ac_cv_c_fortify_enabled=yes
20070 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
20072 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
20073 printf "%s\n" "$ac_cv_c_fortify_enabled" >&6; }
20074 if test "$ac_cv_c_fortify_enabled" = yes
20075 then
20076 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
20080 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
20081 printf %s "checking whether CFI directives are supported in assembly code... " >&6; }
20082 if test ${ac_cv_c_cfi_support+y}
20083 then :
20084 printf %s "(cached) " >&6
20085 else $as_nop
20086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20087 /* end confdefs.h. */
20088 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
20090 main (void)
20094 return 0;
20096 _ACEOF
20097 if ac_fn_c_try_compile "$LINENO"
20098 then :
20099 ac_cv_c_cfi_support="yes"
20100 else $as_nop
20101 ac_cv_c_cfi_support="no"
20103 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
20105 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
20106 printf "%s\n" "$ac_cv_c_cfi_support" >&6; }
20107 if test "$ac_cv_c_cfi_support" = "yes"
20108 then
20109 DLLFLAGS="$DLLFLAGS -fasynchronous-unwind-tables"
20110 LDDLLFLAGS="$LDDLLFLAGS -fasynchronous-unwind-tables"
20111 UNIXDLLFLAGS="$UNIXDLLFLAGS -fasynchronous-unwind-tables"
20112 elif test $HOST_ARCH = x86_64
20113 then
20114 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
20118 case "$HOST_ARCH,$PE_ARCHS" in
20119 x86_64,*i386*) wine_binary="wine" ;;
20120 x86_64,*) wine_binary="wine64" ;;
20121 *) wine_binary="wine" ;;
20122 esac
20123 WINELOADER_PROGRAMS="$wine_binary"
20126 case $host_os in
20127 linux*)
20128 if test $HOST_ARCH != unknown
20129 then
20130 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS " loader/wine-preloader"
20131 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
20134 darwin*|macosx*)
20135 if test "$wine_can_build_preloader" = "yes"
20136 then
20137 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS " loader/wine-preloader"
20138 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
20141 esac
20144 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
20145 printf %s "checking for library containing dlopen... " >&6; }
20146 if test ${ac_cv_search_dlopen+y}
20147 then :
20148 printf %s "(cached) " >&6
20149 else $as_nop
20150 ac_func_search_save_LIBS=$LIBS
20151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20152 /* end confdefs.h. */
20154 /* Override any GCC internal prototype to avoid an error.
20155 Use char because int might match the return type of a GCC
20156 builtin and then its argument prototype would still apply. */
20157 char dlopen ();
20159 main (void)
20161 return dlopen ();
20163 return 0;
20165 _ACEOF
20166 for ac_lib in '' dl
20168 if test -z "$ac_lib"; then
20169 ac_res="none required"
20170 else
20171 ac_res=-l$ac_lib
20172 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20174 if ac_fn_c_try_link "$LINENO"
20175 then :
20176 ac_cv_search_dlopen=$ac_res
20178 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20179 conftest$ac_exeext
20180 if test ${ac_cv_search_dlopen+y}
20181 then :
20182 break
20184 done
20185 if test ${ac_cv_search_dlopen+y}
20186 then :
20188 else $as_nop
20189 ac_cv_search_dlopen=no
20191 rm conftest.$ac_ext
20192 LIBS=$ac_func_search_save_LIBS
20194 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
20195 printf "%s\n" "$ac_cv_search_dlopen" >&6; }
20196 ac_res=$ac_cv_search_dlopen
20197 if test "$ac_res" != no
20198 then :
20199 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20204 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
20205 printf %s "checking for library containing gethostbyname... " >&6; }
20206 if test ${ac_cv_search_gethostbyname+y}
20207 then :
20208 printf %s "(cached) " >&6
20209 else $as_nop
20210 ac_func_search_save_LIBS=$LIBS
20211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20212 /* end confdefs.h. */
20214 /* Override any GCC internal prototype to avoid an error.
20215 Use char because int might match the return type of a GCC
20216 builtin and then its argument prototype would still apply. */
20217 char gethostbyname ();
20219 main (void)
20221 return gethostbyname ();
20223 return 0;
20225 _ACEOF
20226 for ac_lib in '' nsl
20228 if test -z "$ac_lib"; then
20229 ac_res="none required"
20230 else
20231 ac_res=-l$ac_lib
20232 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20234 if ac_fn_c_try_link "$LINENO"
20235 then :
20236 ac_cv_search_gethostbyname=$ac_res
20238 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20239 conftest$ac_exeext
20240 if test ${ac_cv_search_gethostbyname+y}
20241 then :
20242 break
20244 done
20245 if test ${ac_cv_search_gethostbyname+y}
20246 then :
20248 else $as_nop
20249 ac_cv_search_gethostbyname=no
20251 rm conftest.$ac_ext
20252 LIBS=$ac_func_search_save_LIBS
20254 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
20255 printf "%s\n" "$ac_cv_search_gethostbyname" >&6; }
20256 ac_res=$ac_cv_search_gethostbyname
20257 if test "$ac_res" != no
20258 then :
20259 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20264 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
20265 printf %s "checking for library containing connect... " >&6; }
20266 if test ${ac_cv_search_connect+y}
20267 then :
20268 printf %s "(cached) " >&6
20269 else $as_nop
20270 ac_func_search_save_LIBS=$LIBS
20271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20272 /* end confdefs.h. */
20274 /* Override any GCC internal prototype to avoid an error.
20275 Use char because int might match the return type of a GCC
20276 builtin and then its argument prototype would still apply. */
20277 char connect ();
20279 main (void)
20281 return connect ();
20283 return 0;
20285 _ACEOF
20286 for ac_lib in '' socket
20288 if test -z "$ac_lib"; then
20289 ac_res="none required"
20290 else
20291 ac_res=-l$ac_lib
20292 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20294 if ac_fn_c_try_link "$LINENO"
20295 then :
20296 ac_cv_search_connect=$ac_res
20298 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20299 conftest$ac_exeext
20300 if test ${ac_cv_search_connect+y}
20301 then :
20302 break
20304 done
20305 if test ${ac_cv_search_connect+y}
20306 then :
20308 else $as_nop
20309 ac_cv_search_connect=no
20311 rm conftest.$ac_ext
20312 LIBS=$ac_func_search_save_LIBS
20314 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
20315 printf "%s\n" "$ac_cv_search_connect" >&6; }
20316 ac_res=$ac_cv_search_connect
20317 if test "$ac_res" != no
20318 then :
20319 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20324 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
20325 printf %s "checking for library containing inet_aton... " >&6; }
20326 if test ${ac_cv_search_inet_aton+y}
20327 then :
20328 printf %s "(cached) " >&6
20329 else $as_nop
20330 ac_func_search_save_LIBS=$LIBS
20331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20332 /* end confdefs.h. */
20334 /* Override any GCC internal prototype to avoid an error.
20335 Use char because int might match the return type of a GCC
20336 builtin and then its argument prototype would still apply. */
20337 char inet_aton ();
20339 main (void)
20341 return inet_aton ();
20343 return 0;
20345 _ACEOF
20346 for ac_lib in '' resolv
20348 if test -z "$ac_lib"; then
20349 ac_res="none required"
20350 else
20351 ac_res=-l$ac_lib
20352 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20354 if ac_fn_c_try_link "$LINENO"
20355 then :
20356 ac_cv_search_inet_aton=$ac_res
20358 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20359 conftest$ac_exeext
20360 if test ${ac_cv_search_inet_aton+y}
20361 then :
20362 break
20364 done
20365 if test ${ac_cv_search_inet_aton+y}
20366 then :
20368 else $as_nop
20369 ac_cv_search_inet_aton=no
20371 rm conftest.$ac_ext
20372 LIBS=$ac_func_search_save_LIBS
20374 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
20375 printf "%s\n" "$ac_cv_search_inet_aton" >&6; }
20376 ac_res=$ac_cv_search_inet_aton
20377 if test "$ac_res" != no
20378 then :
20379 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20384 ac_save_CFLAGS="$CFLAGS"
20385 CFLAGS="$CFLAGS $BUILTINFLAG"
20386 ac_fn_c_check_func "$LINENO" "dladdr1" "ac_cv_func_dladdr1"
20387 if test "x$ac_cv_func_dladdr1" = xyes
20388 then :
20389 printf "%s\n" "#define HAVE_DLADDR1 1" >>confdefs.h
20392 ac_fn_c_check_func "$LINENO" "dlinfo" "ac_cv_func_dlinfo"
20393 if test "x$ac_cv_func_dlinfo" = xyes
20394 then :
20395 printf "%s\n" "#define HAVE_DLINFO 1" >>confdefs.h
20398 ac_fn_c_check_func "$LINENO" "epoll_create" "ac_cv_func_epoll_create"
20399 if test "x$ac_cv_func_epoll_create" = xyes
20400 then :
20401 printf "%s\n" "#define HAVE_EPOLL_CREATE 1" >>confdefs.h
20404 ac_fn_c_check_func "$LINENO" "fstatfs" "ac_cv_func_fstatfs"
20405 if test "x$ac_cv_func_fstatfs" = xyes
20406 then :
20407 printf "%s\n" "#define HAVE_FSTATFS 1" >>confdefs.h
20410 ac_fn_c_check_func "$LINENO" "futimens" "ac_cv_func_futimens"
20411 if test "x$ac_cv_func_futimens" = xyes
20412 then :
20413 printf "%s\n" "#define HAVE_FUTIMENS 1" >>confdefs.h
20416 ac_fn_c_check_func "$LINENO" "futimes" "ac_cv_func_futimes"
20417 if test "x$ac_cv_func_futimes" = xyes
20418 then :
20419 printf "%s\n" "#define HAVE_FUTIMES 1" >>confdefs.h
20422 ac_fn_c_check_func "$LINENO" "futimesat" "ac_cv_func_futimesat"
20423 if test "x$ac_cv_func_futimesat" = xyes
20424 then :
20425 printf "%s\n" "#define HAVE_FUTIMESAT 1" >>confdefs.h
20428 ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
20429 if test "x$ac_cv_func_getaddrinfo" = xyes
20430 then :
20431 printf "%s\n" "#define HAVE_GETADDRINFO 1" >>confdefs.h
20434 ac_fn_c_check_func "$LINENO" "getattrlist" "ac_cv_func_getattrlist"
20435 if test "x$ac_cv_func_getattrlist" = xyes
20436 then :
20437 printf "%s\n" "#define HAVE_GETATTRLIST 1" >>confdefs.h
20440 ac_fn_c_check_func "$LINENO" "getauxval" "ac_cv_func_getauxval"
20441 if test "x$ac_cv_func_getauxval" = xyes
20442 then :
20443 printf "%s\n" "#define HAVE_GETAUXVAL 1" >>confdefs.h
20446 ac_fn_c_check_func "$LINENO" "getifaddrs" "ac_cv_func_getifaddrs"
20447 if test "x$ac_cv_func_getifaddrs" = xyes
20448 then :
20449 printf "%s\n" "#define HAVE_GETIFADDRS 1" >>confdefs.h
20452 ac_fn_c_check_func "$LINENO" "getrandom" "ac_cv_func_getrandom"
20453 if test "x$ac_cv_func_getrandom" = xyes
20454 then :
20455 printf "%s\n" "#define HAVE_GETRANDOM 1" >>confdefs.h
20458 ac_fn_c_check_func "$LINENO" "kqueue" "ac_cv_func_kqueue"
20459 if test "x$ac_cv_func_kqueue" = xyes
20460 then :
20461 printf "%s\n" "#define HAVE_KQUEUE 1" >>confdefs.h
20464 ac_fn_c_check_func "$LINENO" "mach_continuous_time" "ac_cv_func_mach_continuous_time"
20465 if test "x$ac_cv_func_mach_continuous_time" = xyes
20466 then :
20467 printf "%s\n" "#define HAVE_MACH_CONTINUOUS_TIME 1" >>confdefs.h
20470 ac_fn_c_check_func "$LINENO" "pipe2" "ac_cv_func_pipe2"
20471 if test "x$ac_cv_func_pipe2" = xyes
20472 then :
20473 printf "%s\n" "#define HAVE_PIPE2 1" >>confdefs.h
20476 ac_fn_c_check_func "$LINENO" "port_create" "ac_cv_func_port_create"
20477 if test "x$ac_cv_func_port_create" = xyes
20478 then :
20479 printf "%s\n" "#define HAVE_PORT_CREATE 1" >>confdefs.h
20482 ac_fn_c_check_func "$LINENO" "posix_fadvise" "ac_cv_func_posix_fadvise"
20483 if test "x$ac_cv_func_posix_fadvise" = xyes
20484 then :
20485 printf "%s\n" "#define HAVE_POSIX_FADVISE 1" >>confdefs.h
20488 ac_fn_c_check_func "$LINENO" "posix_fallocate" "ac_cv_func_posix_fallocate"
20489 if test "x$ac_cv_func_posix_fallocate" = xyes
20490 then :
20491 printf "%s\n" "#define HAVE_POSIX_FALLOCATE 1" >>confdefs.h
20494 ac_fn_c_check_func "$LINENO" "prctl" "ac_cv_func_prctl"
20495 if test "x$ac_cv_func_prctl" = xyes
20496 then :
20497 printf "%s\n" "#define HAVE_PRCTL 1" >>confdefs.h
20500 ac_fn_c_check_func "$LINENO" "proc_pidinfo" "ac_cv_func_proc_pidinfo"
20501 if test "x$ac_cv_func_proc_pidinfo" = xyes
20502 then :
20503 printf "%s\n" "#define HAVE_PROC_PIDINFO 1" >>confdefs.h
20506 ac_fn_c_check_func "$LINENO" "sched_yield" "ac_cv_func_sched_yield"
20507 if test "x$ac_cv_func_sched_yield" = xyes
20508 then :
20509 printf "%s\n" "#define HAVE_SCHED_YIELD 1" >>confdefs.h
20512 ac_fn_c_check_func "$LINENO" "setproctitle" "ac_cv_func_setproctitle"
20513 if test "x$ac_cv_func_setproctitle" = xyes
20514 then :
20515 printf "%s\n" "#define HAVE_SETPROCTITLE 1" >>confdefs.h
20518 ac_fn_c_check_func "$LINENO" "setprogname" "ac_cv_func_setprogname"
20519 if test "x$ac_cv_func_setprogname" = xyes
20520 then :
20521 printf "%s\n" "#define HAVE_SETPROGNAME 1" >>confdefs.h
20524 ac_fn_c_check_func "$LINENO" "sigprocmask" "ac_cv_func_sigprocmask"
20525 if test "x$ac_cv_func_sigprocmask" = xyes
20526 then :
20527 printf "%s\n" "#define HAVE_SIGPROCMASK 1" >>confdefs.h
20530 ac_fn_c_check_func "$LINENO" "sysinfo" "ac_cv_func_sysinfo"
20531 if test "x$ac_cv_func_sysinfo" = xyes
20532 then :
20533 printf "%s\n" "#define HAVE_SYSINFO 1" >>confdefs.h
20536 ac_fn_c_check_func "$LINENO" "tcdrain" "ac_cv_func_tcdrain"
20537 if test "x$ac_cv_func_tcdrain" = xyes
20538 then :
20539 printf "%s\n" "#define HAVE_TCDRAIN 1" >>confdefs.h
20542 ac_fn_c_check_func "$LINENO" "thr_kill2" "ac_cv_func_thr_kill2"
20543 if test "x$ac_cv_func_thr_kill2" = xyes
20544 then :
20545 printf "%s\n" "#define HAVE_THR_KILL2 1" >>confdefs.h
20549 CFLAGS="$ac_save_CFLAGS"
20551 case $host_os in
20552 darwin*|macosx*) ;;
20553 *) ac_save_LIBS=$LIBS
20554 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
20555 printf %s "checking for library containing clock_gettime... " >&6; }
20556 if test ${ac_cv_search_clock_gettime+y}
20557 then :
20558 printf %s "(cached) " >&6
20559 else $as_nop
20560 ac_func_search_save_LIBS=$LIBS
20561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20562 /* end confdefs.h. */
20564 /* Override any GCC internal prototype to avoid an error.
20565 Use char because int might match the return type of a GCC
20566 builtin and then its argument prototype would still apply. */
20567 char clock_gettime ();
20569 main (void)
20571 return clock_gettime ();
20573 return 0;
20575 _ACEOF
20576 for ac_lib in '' rt
20578 if test -z "$ac_lib"; then
20579 ac_res="none required"
20580 else
20581 ac_res=-l$ac_lib
20582 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20584 if ac_fn_c_try_link "$LINENO"
20585 then :
20586 ac_cv_search_clock_gettime=$ac_res
20588 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20589 conftest$ac_exeext
20590 if test ${ac_cv_search_clock_gettime+y}
20591 then :
20592 break
20594 done
20595 if test ${ac_cv_search_clock_gettime+y}
20596 then :
20598 else $as_nop
20599 ac_cv_search_clock_gettime=no
20601 rm conftest.$ac_ext
20602 LIBS=$ac_func_search_save_LIBS
20604 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
20605 printf "%s\n" "$ac_cv_search_clock_gettime" >&6; }
20606 ac_res=$ac_cv_search_clock_gettime
20607 if test "$ac_res" != no
20608 then :
20609 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20611 printf "%s\n" "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
20613 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
20617 LIBS=$ac_save_LIBS
20619 esac
20621 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
20622 printf %s "checking for sched_setaffinity... " >&6; }
20623 if test ${wine_cv_have_sched_setaffinity+y}
20624 then :
20625 printf %s "(cached) " >&6
20626 else $as_nop
20627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20628 /* end confdefs.h. */
20629 #include <sched.h>
20631 main (void)
20633 sched_setaffinity(0, 0, 0);
20635 return 0;
20637 _ACEOF
20638 if ac_fn_c_try_link "$LINENO"
20639 then :
20640 wine_cv_have_sched_setaffinity=yes
20641 else $as_nop
20642 wine_cv_have_sched_setaffinity=no
20644 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20645 conftest$ac_exeext conftest.$ac_ext
20647 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
20648 printf "%s\n" "$wine_cv_have_sched_setaffinity" >&6; }
20649 if test "$wine_cv_have_sched_setaffinity" = "yes"
20650 then
20652 printf "%s\n" "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
20657 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
20658 printf %s "checking for inline... " >&6; }
20659 if test ${ac_cv_c_inline+y}
20660 then :
20661 printf %s "(cached) " >&6
20662 else $as_nop
20663 ac_cv_c_inline=no
20664 for ac_kw in inline __inline__ __inline; do
20665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20666 /* end confdefs.h. */
20667 #ifndef __cplusplus
20668 typedef int foo_t;
20669 static $ac_kw foo_t static_foo (void) {return 0; }
20670 $ac_kw foo_t foo (void) {return 0; }
20671 #endif
20673 _ACEOF
20674 if ac_fn_c_try_compile "$LINENO"
20675 then :
20676 ac_cv_c_inline=$ac_kw
20678 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
20679 test "$ac_cv_c_inline" != no && break
20680 done
20683 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
20684 printf "%s\n" "$ac_cv_c_inline" >&6; }
20686 case $ac_cv_c_inline in
20687 inline | yes) ;;
20689 case $ac_cv_c_inline in
20690 no) ac_val=;;
20691 *) ac_val=$ac_cv_c_inline;;
20692 esac
20693 cat >>confdefs.h <<_ACEOF
20694 #ifndef __cplusplus
20695 #define inline $ac_val
20696 #endif
20697 _ACEOF
20699 esac
20701 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
20703 if test "x$ac_cv_type_request_sense" = xyes
20704 then :
20706 printf "%s\n" "#define HAVE_REQUEST_SENSE 1" >>confdefs.h
20712 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
20713 #include <sys/socket.h>
20714 #ifdef HAVE_SYS_SOCKETVAR_H
20715 #include <sys/socketvar.h>
20716 #endif
20717 #ifdef HAVE_NET_ROUTE_H
20718 #include <net/route.h>
20719 #endif
20720 #ifdef HAVE_NETINET_IN_H
20721 #include <netinet/in.h>
20722 #endif
20723 #ifdef HAVE_NETINET_IN_SYSTM_H
20724 #include <netinet/in_systm.h>
20725 #endif
20726 #ifdef HAVE_NETINET_IP_H
20727 #include <netinet/ip.h>
20728 #endif
20729 #ifdef HAVE_NETINET_IN_PCB_H
20730 #include <netinet/in_pcb.h>
20731 #endif
20733 if test "x$ac_cv_type_struct_xinpgen" = xyes
20734 then :
20736 printf "%s\n" "#define HAVE_STRUCT_XINPGEN 1" >>confdefs.h
20742 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
20743 printf %s "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
20744 if test ${wine_cv_linux_gethostbyname_r_6+y}
20745 then :
20746 printf %s "(cached) " >&6
20747 else $as_nop
20748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20749 /* end confdefs.h. */
20750 #include <netdb.h>
20752 main (void)
20755 char *name=0;
20756 struct hostent he;
20757 struct hostent *result;
20758 char *buf=0;
20759 int bufsize=0;
20760 int errnr;
20761 char *addr=0;
20762 int addrlen=0;
20763 int addrtype=0;
20764 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
20765 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
20768 return 0;
20770 _ACEOF
20771 if ac_fn_c_try_link "$LINENO"
20772 then :
20773 wine_cv_linux_gethostbyname_r_6=yes
20774 else $as_nop
20775 wine_cv_linux_gethostbyname_r_6=no
20778 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20779 conftest$ac_exeext conftest.$ac_ext
20782 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
20783 printf "%s\n" "$wine_cv_linux_gethostbyname_r_6" >&6; }
20784 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
20785 then
20787 printf "%s\n" "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
20791 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
20792 #include <sys/socket.h>
20793 #ifdef HAVE_SYS_UN_H
20794 # include <sys/un.h>
20795 #endif
20797 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes
20798 then :
20800 printf "%s\n" "#define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1" >>confdefs.h
20804 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
20805 #include <sys/socket.h>
20806 #ifdef HAVE_SYS_UN_H
20807 # include <sys/un.h>
20808 #endif
20810 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
20811 then :
20813 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1" >>confdefs.h
20819 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
20820 #ifdef HAVE_SCSI_SG_H
20821 #include <scsi/sg.h>
20822 #endif
20824 if test "x$ac_cv_member_scsireq_t_cmd" = xyes
20825 then :
20827 printf "%s\n" "#define HAVE_SCSIREQ_T_CMD 1" >>confdefs.h
20831 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>
20832 #ifdef HAVE_SCSI_SG_H
20833 #include <scsi/sg.h>
20834 #endif
20836 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
20837 then :
20839 printf "%s\n" "#define HAVE_SG_IO_HDR_T_INTERFACE_ID 1" >>confdefs.h
20845 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
20847 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
20848 then :
20850 printf "%s\n" "#define HAVE_SIGINFO_T_SI_FD 1" >>confdefs.h
20856 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
20857 #ifdef HAVE_SYS_MTIO_H
20858 #include <sys/mtio.h>
20859 #endif
20861 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes
20862 then :
20864 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKSIZ 1" >>confdefs.h
20868 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
20869 #ifdef HAVE_SYS_MTIO_H
20870 #include <sys/mtio.h>
20871 #endif
20873 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes
20874 then :
20876 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_GSTAT 1" >>confdefs.h
20880 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
20881 #ifdef HAVE_SYS_MTIO_H
20882 #include <sys/mtio.h>
20883 #endif
20885 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
20886 then :
20888 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKNO 1" >>confdefs.h
20894 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
20895 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
20896 then :
20898 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIM 1" >>confdefs.h
20902 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
20903 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes
20904 then :
20906 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIMESPEC 1" >>confdefs.h
20910 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
20911 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
20912 then :
20914 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIM 1" >>confdefs.h
20918 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
20919 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes
20920 then :
20922 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIMESPEC 1" >>confdefs.h
20926 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
20927 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
20928 then :
20930 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIM 1" >>confdefs.h
20934 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
20935 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes
20936 then :
20938 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIMESPEC 1" >>confdefs.h
20942 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
20943 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes
20944 then :
20946 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIME 1" >>confdefs.h
20950 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
20951 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes
20952 then :
20954 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIM 1" >>confdefs.h
20958 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
20959 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes
20960 then :
20962 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1" >>confdefs.h
20966 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
20967 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes
20968 then :
20970 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIME 1" >>confdefs.h
20974 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
20975 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes
20976 then :
20978 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIM 1" >>confdefs.h
20984 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>
20985 #ifdef HAVE_NETINET_IN_H
20986 #include <netinet/in.h>
20987 #endif
20989 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
20990 then :
20992 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1" >>confdefs.h
20998 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
20999 #include <resolv.h>
21000 #endif
21002 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes
21003 then :
21005 printf "%s\n" "#define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1" >>confdefs.h
21011 ac_fn_c_check_member "$LINENO" "struct in6_pktinfo" "ipi6_addr" "ac_cv_member_struct_in6_pktinfo_ipi6_addr" "#ifdef HAVE_NETINET_IN_H
21012 #include <netinet/in.h>
21013 #endif
21015 if test "x$ac_cv_member_struct_in6_pktinfo_ipi6_addr" = xyes
21016 then :
21018 printf "%s\n" "#define HAVE_STRUCT_IN6_PKTINFO_IPI6_ADDR 1" >>confdefs.h
21024 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#include <sys/types.h>
21025 #ifdef HAVE_SYS_SOCKETVAR_H
21026 #include <sys/socketvar.h>
21027 #endif
21028 #ifdef HAVE_NETINET_IN_H
21029 #include <netinet/in.h>
21030 #endif
21031 #ifdef HAVE_NETINET_IP_VAR_H
21032 #include <netinet/ip_var.h>
21033 #endif
21035 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes
21036 then :
21038 printf "%s\n" "#define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1" >>confdefs.h
21044 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
21045 #include <netinet/ip_var.h>
21046 #endif
21048 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes
21049 then :
21051 printf "%s\n" "#define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1" >>confdefs.h
21057 ac_fn_c_check_member "$LINENO" "struct ip6stat" "ip6s_total" "ac_cv_member_struct_ip6stat_ip6s_total" "#include <sys/types.h>
21058 #ifdef HAVE_SYS_SOCKETVAR_H
21059 #include <sys/socketvar.h>
21060 #endif
21061 #ifdef HAVE_NETINET_IN_H
21062 #include <netinet/in.h>
21063 #endif
21064 #ifdef HAVE_NETINET6_IP6_VAR_H
21065 #include <netinet6/ip6_var.h>
21066 #endif
21068 if test "x$ac_cv_member_struct_ip6stat_ip6s_total" = xyes
21069 then :
21071 printf "%s\n" "#define HAVE_STRUCT_IP6STAT_IP6S_TOTAL 1" >>confdefs.h
21077 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_error" "ac_cv_member_struct_icmpstat_icps_error" "#include <sys/types.h>
21078 #ifdef HAVE_SYS_SOCKETVAR_H
21079 #include <sys/socketvar.h>
21080 #endif
21081 #ifdef HAVE_NETINET_IN_H
21082 #include <netinet/in.h>
21083 #endif
21084 #ifdef HAVE_NETINET_IP_H
21085 #include <netinet/ip.h>
21086 #endif
21087 #ifdef HAVE_NETINET_IP_ICMP_H
21088 #include <netinet/ip_icmp.h>
21089 #endif
21090 #ifdef HAVE_NETINET_ICMP_VAR_H
21091 #include <netinet/icmp_var.h>
21092 #endif
21094 if test "x$ac_cv_member_struct_icmpstat_icps_error" = xyes
21095 then :
21097 printf "%s\n" "#define HAVE_STRUCT_ICMPSTAT_ICPS_ERROR 1" >>confdefs.h
21103 ac_fn_c_check_member "$LINENO" "struct icmp6stat" "icp6s_error" "ac_cv_member_struct_icmp6stat_icp6s_error" "#include <sys/types.h>
21104 #ifdef HAVE_SYS_SOCKETVAR_H
21105 #include <sys/socketvar.h>
21106 #endif
21107 #ifdef HAVE_NETINET_IN_H
21108 #include <netinet/in.h>
21109 #endif
21110 #ifdef HAVE_NETINET_ICMP6_H
21111 #include <netinet/icmp6.h>
21112 #endif
21114 if test "x$ac_cv_member_struct_icmp6stat_icp6s_error" = xyes
21115 then :
21117 printf "%s\n" "#define HAVE_STRUCT_ICMP6STAT_ICP6S_ERROR 1" >>confdefs.h
21123 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#include <sys/types.h>
21124 #ifdef HAVE_SYS_SOCKETVAR_H
21125 #include <sys/socketvar.h>
21126 #endif
21127 #ifdef HAVE_NETINET_IN_H
21128 #include <netinet/in.h>
21129 #endif
21130 #ifdef HAVE_NETINET_TCP_H
21131 #include <netinet/tcp.h>
21132 #endif
21133 #ifdef HAVE_NETINET_TCP_VAR_H
21134 #include <netinet/tcp_var.h>
21135 #endif
21137 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes
21138 then :
21140 printf "%s\n" "#define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1" >>confdefs.h
21146 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
21147 #include <netinet/tcp_var.h>
21148 #endif
21150 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes
21151 then :
21153 printf "%s\n" "#define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1" >>confdefs.h
21159 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#include <sys/types.h>
21160 #ifdef HAVE_NETINET_IN_H
21161 #include <netinet/in.h>
21162 #endif
21163 #ifdef HAVE_NETINET_IP_VAR_H
21164 #include <netinet/ip_var.h>
21165 #endif
21166 #ifdef HAVE_NETINET_UDP_H
21167 #include <netinet/udp.h>
21168 #endif
21169 #ifdef HAVE_NETINET_UDP_VAR_H
21170 #include <netinet/udp_var.h>
21171 #endif
21173 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes
21174 then :
21176 printf "%s\n" "#define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1" >>confdefs.h
21182 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#include <sys/types.h>
21183 #ifdef HAVE_NET_IF_H
21184 # include <net/if.h>
21185 #endif
21187 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
21188 then :
21190 printf "%s\n" "#define HAVE_STRUCT_IFREQ_IFR_HWADDR 1" >>confdefs.h
21196 ac_fn_c_check_member "$LINENO" "struct sysinfo" "totalram" "ac_cv_member_struct_sysinfo_totalram" "#ifdef HAVE_SYS_SYSINFO_H
21197 # include <sys/sysinfo.h>
21198 #endif
21200 if test "x$ac_cv_member_struct_sysinfo_totalram" = xyes
21201 then :
21203 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_TOTALRAM 1" >>confdefs.h
21207 ac_fn_c_check_member "$LINENO" "struct sysinfo" "mem_unit" "ac_cv_member_struct_sysinfo_mem_unit" "#ifdef HAVE_SYS_SYSINFO_H
21208 # include <sys/sysinfo.h>
21209 #endif
21211 if test "x$ac_cv_member_struct_sysinfo_mem_unit" = xyes
21212 then :
21214 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_MEM_UNIT 1" >>confdefs.h
21220 LIBS="$ac_save_LIBS"
21222 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
21223 printf %s "checking for __builtin_popcount... " >&6; }
21224 if test ${ac_cv_have___builtin_popcount+y}
21225 then :
21226 printf %s "(cached) " >&6
21227 else $as_nop
21228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21229 /* end confdefs.h. */
21232 main (void)
21234 return __builtin_popcount(1)
21236 return 0;
21238 _ACEOF
21239 if ac_fn_c_try_link "$LINENO"
21240 then :
21241 ac_cv_have___builtin_popcount="yes"
21242 else $as_nop
21243 ac_cv_have___builtin_popcount="no"
21245 rm -f core conftest.err conftest.$ac_objext conftest.beam \
21246 conftest$ac_exeext conftest.$ac_ext
21248 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
21249 printf "%s\n" "$ac_cv_have___builtin_popcount" >&6; }
21250 if test "$ac_cv_have___builtin_popcount" = "yes"
21251 then
21253 printf "%s\n" "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
21257 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
21258 printf %s "checking for __clear_cache... " >&6; }
21259 if test ${ac_cv_have___clear_cache+y}
21260 then :
21261 printf %s "(cached) " >&6
21262 else $as_nop
21263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21264 /* end confdefs.h. */
21267 main (void)
21269 __clear_cache((void*)0, (void*)0); return 0;
21271 return 0;
21273 _ACEOF
21274 if ac_fn_c_try_link "$LINENO"
21275 then :
21276 ac_cv_have___clear_cache="yes"
21277 else $as_nop
21278 ac_cv_have___clear_cache="no"
21280 rm -f core conftest.err conftest.$ac_objext conftest.beam \
21281 conftest$ac_exeext conftest.$ac_ext
21283 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
21284 printf "%s\n" "$ac_cv_have___clear_cache" >&6; }
21285 if test "$ac_cv_have___clear_cache" = "yes"
21286 then
21288 printf "%s\n" "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
21293 case $host_cpu in
21294 *i[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
21295 printf %s "checking whether we need to define __i386__... " >&6; }
21296 if test ${ac_cv_cpp_def___i386__+y}
21297 then :
21298 printf %s "(cached) " >&6
21299 else $as_nop
21300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21301 /* end confdefs.h. */
21302 #ifndef __i386__
21304 #endif
21305 _ACEOF
21306 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21307 $EGREP "yes" >/dev/null 2>&1
21308 then :
21309 ac_cv_cpp_def___i386__=yes
21310 else $as_nop
21311 ac_cv_cpp_def___i386__=no
21313 rm -rf conftest*
21316 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
21317 printf "%s\n" "$ac_cv_cpp_def___i386__" >&6; }
21318 if test "x$ac_cv_cpp_def___i386__" = xyes
21319 then :
21320 CFLAGS="$CFLAGS -D__i386__"
21321 LINTFLAGS="$LINTFLAGS -D__i386__"
21322 fi ;;
21323 *x86_64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
21324 printf %s "checking whether we need to define __x86_64__... " >&6; }
21325 if test ${ac_cv_cpp_def___x86_64__+y}
21326 then :
21327 printf %s "(cached) " >&6
21328 else $as_nop
21329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21330 /* end confdefs.h. */
21331 #ifndef __x86_64__
21333 #endif
21334 _ACEOF
21335 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21336 $EGREP "yes" >/dev/null 2>&1
21337 then :
21338 ac_cv_cpp_def___x86_64__=yes
21339 else $as_nop
21340 ac_cv_cpp_def___x86_64__=no
21342 rm -rf conftest*
21345 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
21346 printf "%s\n" "$ac_cv_cpp_def___x86_64__" >&6; }
21347 if test "x$ac_cv_cpp_def___x86_64__" = xyes
21348 then :
21349 CFLAGS="$CFLAGS -D__x86_64__"
21350 LINTFLAGS="$LINTFLAGS -D__x86_64__"
21351 fi ;;
21352 *sparc64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
21353 printf %s "checking whether we need to define __sparc64__... " >&6; }
21354 if test ${ac_cv_cpp_def___sparc64__+y}
21355 then :
21356 printf %s "(cached) " >&6
21357 else $as_nop
21358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21359 /* end confdefs.h. */
21360 #ifndef __sparc64__
21362 #endif
21363 _ACEOF
21364 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21365 $EGREP "yes" >/dev/null 2>&1
21366 then :
21367 ac_cv_cpp_def___sparc64__=yes
21368 else $as_nop
21369 ac_cv_cpp_def___sparc64__=no
21371 rm -rf conftest*
21374 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
21375 printf "%s\n" "$ac_cv_cpp_def___sparc64__" >&6; }
21376 if test "x$ac_cv_cpp_def___sparc64__" = xyes
21377 then :
21378 CFLAGS="$CFLAGS -D__sparc64__"
21379 LINTFLAGS="$LINTFLAGS -D__sparc64__"
21380 fi ;;
21381 *sparc*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
21382 printf %s "checking whether we need to define __sparc__... " >&6; }
21383 if test ${ac_cv_cpp_def___sparc__+y}
21384 then :
21385 printf %s "(cached) " >&6
21386 else $as_nop
21387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21388 /* end confdefs.h. */
21389 #ifndef __sparc__
21391 #endif
21392 _ACEOF
21393 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21394 $EGREP "yes" >/dev/null 2>&1
21395 then :
21396 ac_cv_cpp_def___sparc__=yes
21397 else $as_nop
21398 ac_cv_cpp_def___sparc__=no
21400 rm -rf conftest*
21403 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
21404 printf "%s\n" "$ac_cv_cpp_def___sparc__" >&6; }
21405 if test "x$ac_cv_cpp_def___sparc__" = xyes
21406 then :
21407 CFLAGS="$CFLAGS -D__sparc__"
21408 LINTFLAGS="$LINTFLAGS -D__sparc__"
21409 fi ;;
21410 *powerpc64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
21411 printf %s "checking whether we need to define __powerpc64__... " >&6; }
21412 if test ${ac_cv_cpp_def___powerpc64__+y}
21413 then :
21414 printf %s "(cached) " >&6
21415 else $as_nop
21416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21417 /* end confdefs.h. */
21418 #ifndef __powerpc64__
21420 #endif
21421 _ACEOF
21422 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21423 $EGREP "yes" >/dev/null 2>&1
21424 then :
21425 ac_cv_cpp_def___powerpc64__=yes
21426 else $as_nop
21427 ac_cv_cpp_def___powerpc64__=no
21429 rm -rf conftest*
21432 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
21433 printf "%s\n" "$ac_cv_cpp_def___powerpc64__" >&6; }
21434 if test "x$ac_cv_cpp_def___powerpc64__" = xyes
21435 then :
21436 CFLAGS="$CFLAGS -D__powerpc64__"
21437 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
21438 fi ;;
21439 *powerpc*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
21440 printf %s "checking whether we need to define __powerpc__... " >&6; }
21441 if test ${ac_cv_cpp_def___powerpc__+y}
21442 then :
21443 printf %s "(cached) " >&6
21444 else $as_nop
21445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21446 /* end confdefs.h. */
21447 #ifndef __powerpc__
21449 #endif
21450 _ACEOF
21451 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21452 $EGREP "yes" >/dev/null 2>&1
21453 then :
21454 ac_cv_cpp_def___powerpc__=yes
21455 else $as_nop
21456 ac_cv_cpp_def___powerpc__=no
21458 rm -rf conftest*
21461 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
21462 printf "%s\n" "$ac_cv_cpp_def___powerpc__" >&6; }
21463 if test "x$ac_cv_cpp_def___powerpc__" = xyes
21464 then :
21465 CFLAGS="$CFLAGS -D__powerpc__"
21466 LINTFLAGS="$LINTFLAGS -D__powerpc__"
21467 fi ;;
21468 *aarch64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
21469 printf %s "checking whether we need to define __aarch64__... " >&6; }
21470 if test ${ac_cv_cpp_def___aarch64__+y}
21471 then :
21472 printf %s "(cached) " >&6
21473 else $as_nop
21474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21475 /* end confdefs.h. */
21476 #ifndef __aarch64__
21478 #endif
21479 _ACEOF
21480 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21481 $EGREP "yes" >/dev/null 2>&1
21482 then :
21483 ac_cv_cpp_def___aarch64__=yes
21484 else $as_nop
21485 ac_cv_cpp_def___aarch64__=no
21487 rm -rf conftest*
21490 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
21491 printf "%s\n" "$ac_cv_cpp_def___aarch64__" >&6; }
21492 if test "x$ac_cv_cpp_def___aarch64__" = xyes
21493 then :
21494 CFLAGS="$CFLAGS -D__aarch64__"
21495 LINTFLAGS="$LINTFLAGS -D__aarch64__"
21496 fi ;;
21497 *arm*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
21498 printf %s "checking whether we need to define __arm__... " >&6; }
21499 if test ${ac_cv_cpp_def___arm__+y}
21500 then :
21501 printf %s "(cached) " >&6
21502 else $as_nop
21503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21504 /* end confdefs.h. */
21505 #ifndef __arm__
21507 #endif
21508 _ACEOF
21509 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21510 $EGREP "yes" >/dev/null 2>&1
21511 then :
21512 ac_cv_cpp_def___arm__=yes
21513 else $as_nop
21514 ac_cv_cpp_def___arm__=no
21516 rm -rf conftest*
21519 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
21520 printf "%s\n" "$ac_cv_cpp_def___arm__" >&6; }
21521 if test "x$ac_cv_cpp_def___arm__" = xyes
21522 then :
21523 CFLAGS="$CFLAGS -D__arm__"
21524 LINTFLAGS="$LINTFLAGS -D__arm__"
21525 fi ;;
21526 esac
21528 case $host_vendor in
21529 *sun*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
21530 printf %s "checking whether we need to define __sun__... " >&6; }
21531 if test ${ac_cv_cpp_def___sun__+y}
21532 then :
21533 printf %s "(cached) " >&6
21534 else $as_nop
21535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21536 /* end confdefs.h. */
21537 #ifndef __sun__
21539 #endif
21540 _ACEOF
21541 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21542 $EGREP "yes" >/dev/null 2>&1
21543 then :
21544 ac_cv_cpp_def___sun__=yes
21545 else $as_nop
21546 ac_cv_cpp_def___sun__=no
21548 rm -rf conftest*
21551 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
21552 printf "%s\n" "$ac_cv_cpp_def___sun__" >&6; }
21553 if test "x$ac_cv_cpp_def___sun__" = xyes
21554 then :
21555 CFLAGS="$CFLAGS -D__sun__"
21556 LINTFLAGS="$LINTFLAGS -D__sun__"
21557 fi ;;
21558 esac
21564 ac_config_commands="$ac_config_commands include/stamp-h"
21566 printf %s "creating Makefile rules..." >&6
21568 makedep_flags=""
21569 test "x$enable_silent_rules" = xyes && makedep_flags="$makedep_flags -S"
21571 wine_srcdir=
21572 test "$srcdir" = . || wine_srcdir="$srcdir/"
21574 ac_config_links="$ac_config_links wine:tools/winewrapper"
21575 wine_fn_config_symlink wine
21576 if test "$wine_binary" = wine64 -o -n "$with_wine64"; then
21577 ac_config_links="$ac_config_links wine64:tools/winewrapper"
21578 wine_fn_config_symlink wine64
21581 wine_fn_config_makefile dlls/acledit enable_acledit
21582 wine_fn_config_makefile dlls/aclui enable_aclui
21583 wine_fn_config_makefile dlls/activeds.tlb enable_activeds_tlb
21584 wine_fn_config_makefile dlls/activeds enable_activeds
21585 wine_fn_config_makefile dlls/activeds/tests enable_tests
21586 wine_fn_config_makefile dlls/actxprxy enable_actxprxy
21587 wine_fn_config_makefile dlls/adsldp enable_adsldp
21588 wine_fn_config_makefile dlls/adsldp/tests enable_tests
21589 wine_fn_config_makefile dlls/adsldpc enable_adsldpc
21590 wine_fn_config_makefile dlls/advapi32 enable_advapi32
21591 wine_fn_config_makefile dlls/advapi32/tests enable_tests
21592 wine_fn_config_makefile dlls/advpack enable_advpack
21593 wine_fn_config_makefile dlls/advpack/tests enable_tests
21594 wine_fn_config_makefile dlls/amsi enable_amsi
21595 wine_fn_config_makefile dlls/amstream enable_amstream
21596 wine_fn_config_makefile dlls/amstream/tests enable_tests
21597 wine_fn_config_makefile dlls/apisetschema enable_apisetschema
21598 wine_fn_config_makefile dlls/apphelp enable_apphelp
21599 wine_fn_config_makefile dlls/apphelp/tests enable_tests
21600 wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
21601 wine_fn_config_makefile dlls/appxdeploymentclient enable_appxdeploymentclient
21602 wine_fn_config_makefile dlls/atl enable_atl
21603 wine_fn_config_makefile dlls/atl/tests enable_tests
21604 wine_fn_config_makefile dlls/atl100 enable_atl100
21605 wine_fn_config_makefile dlls/atl100/tests enable_tests
21606 wine_fn_config_makefile dlls/atl110 enable_atl110
21607 wine_fn_config_makefile dlls/atl110/tests enable_tests
21608 wine_fn_config_makefile dlls/atl80 enable_atl80
21609 wine_fn_config_makefile dlls/atl80/tests enable_tests
21610 wine_fn_config_makefile dlls/atl90 enable_atl90
21611 wine_fn_config_makefile dlls/atlthunk enable_atlthunk
21612 wine_fn_config_makefile dlls/atlthunk/tests enable_tests
21613 wine_fn_config_makefile dlls/atmlib enable_atmlib
21614 wine_fn_config_makefile dlls/authz enable_authz
21615 wine_fn_config_makefile dlls/avicap32 enable_avicap32
21616 wine_fn_config_makefile dlls/avifil32 enable_avifil32
21617 wine_fn_config_makefile dlls/avifil32/tests enable_tests
21618 wine_fn_config_makefile dlls/avifile.dll16 enable_win16
21619 wine_fn_config_makefile dlls/avrt enable_avrt
21620 wine_fn_config_makefile dlls/bcrypt enable_bcrypt
21621 wine_fn_config_makefile dlls/bcrypt/tests enable_tests
21622 wine_fn_config_makefile dlls/bcryptprimitives enable_bcryptprimitives
21623 wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
21624 wine_fn_config_makefile dlls/browseui enable_browseui
21625 wine_fn_config_makefile dlls/browseui/tests enable_tests
21626 wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
21627 wine_fn_config_makefile dlls/cabinet enable_cabinet
21628 wine_fn_config_makefile dlls/cabinet/tests enable_tests
21629 wine_fn_config_makefile dlls/capi2032 enable_capi2032
21630 wine_fn_config_makefile dlls/cards enable_cards
21631 wine_fn_config_makefile dlls/cdosys enable_cdosys
21632 wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
21633 wine_fn_config_makefile dlls/cfgmgr32/tests enable_tests
21634 wine_fn_config_makefile dlls/clusapi enable_clusapi
21635 wine_fn_config_makefile dlls/cng.sys enable_cng_sys
21636 wine_fn_config_makefile dlls/combase enable_combase
21637 wine_fn_config_makefile dlls/combase/tests enable_tests
21638 wine_fn_config_makefile dlls/comcat enable_comcat
21639 wine_fn_config_makefile dlls/comcat/tests enable_tests
21640 wine_fn_config_makefile dlls/comctl32 enable_comctl32
21641 wine_fn_config_makefile dlls/comctl32/tests enable_tests
21642 wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
21643 wine_fn_config_makefile dlls/comdlg32/tests enable_tests
21644 wine_fn_config_makefile dlls/coml2 enable_coml2
21645 wine_fn_config_makefile dlls/comm.drv16 enable_win16
21646 wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
21647 wine_fn_config_makefile dlls/compobj.dll16 enable_win16
21648 wine_fn_config_makefile dlls/compstui enable_compstui
21649 wine_fn_config_makefile dlls/compstui/tests enable_tests
21650 wine_fn_config_makefile dlls/comsvcs enable_comsvcs
21651 wine_fn_config_makefile dlls/comsvcs/tests enable_tests
21652 wine_fn_config_makefile dlls/concrt140 enable_concrt140
21653 wine_fn_config_makefile dlls/concrt140/tests enable_tests
21654 wine_fn_config_makefile dlls/connect enable_connect
21655 wine_fn_config_makefile dlls/credui enable_credui
21656 wine_fn_config_makefile dlls/credui/tests enable_tests
21657 wine_fn_config_makefile dlls/crtdll enable_crtdll
21658 wine_fn_config_makefile dlls/crypt32 enable_crypt32
21659 wine_fn_config_makefile dlls/crypt32/tests enable_tests
21660 wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
21661 wine_fn_config_makefile dlls/cryptdll enable_cryptdll
21662 wine_fn_config_makefile dlls/cryptext enable_cryptext
21663 wine_fn_config_makefile dlls/cryptnet enable_cryptnet
21664 wine_fn_config_makefile dlls/cryptnet/tests enable_tests
21665 wine_fn_config_makefile dlls/cryptowinrt enable_cryptowinrt
21666 wine_fn_config_makefile dlls/cryptowinrt/tests enable_tests
21667 wine_fn_config_makefile dlls/cryptsp enable_cryptsp
21668 wine_fn_config_makefile dlls/cryptui enable_cryptui
21669 wine_fn_config_makefile dlls/cryptui/tests enable_tests
21670 wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
21671 wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
21672 wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
21673 wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
21674 wine_fn_config_makefile dlls/d2d1 enable_d2d1
21675 wine_fn_config_makefile dlls/d2d1/tests enable_tests
21676 wine_fn_config_makefile dlls/d3d10 enable_d3d10
21677 wine_fn_config_makefile dlls/d3d10/tests enable_tests
21678 wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
21679 wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
21680 wine_fn_config_makefile dlls/d3d10core enable_d3d10core
21681 wine_fn_config_makefile dlls/d3d10core/tests enable_tests
21682 wine_fn_config_makefile dlls/d3d11 enable_d3d11
21683 wine_fn_config_makefile dlls/d3d11/tests enable_tests
21684 wine_fn_config_makefile dlls/d3d12 enable_d3d12
21685 wine_fn_config_makefile dlls/d3d12/tests enable_tests
21686 wine_fn_config_makefile dlls/d3d12core enable_d3d12core
21687 wine_fn_config_makefile dlls/d3d8 enable_d3d8
21688 wine_fn_config_makefile dlls/d3d8/tests enable_tests
21689 wine_fn_config_makefile dlls/d3d8thk enable_d3d8thk
21690 wine_fn_config_makefile dlls/d3d9 enable_d3d9
21691 wine_fn_config_makefile dlls/d3d9/tests enable_tests
21692 wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
21693 wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
21694 wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
21695 wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
21696 wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
21697 wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
21698 wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
21699 wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
21700 wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
21701 wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
21702 wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
21703 wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
21704 wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
21705 wine_fn_config_makefile dlls/d3dcompiler_46/tests enable_tests
21706 wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
21707 wine_fn_config_makefile dlls/d3dcompiler_47/tests enable_tests
21708 wine_fn_config_makefile dlls/d3dim enable_d3dim
21709 wine_fn_config_makefile dlls/d3dim700 enable_d3dim700
21710 wine_fn_config_makefile dlls/d3drm enable_d3drm
21711 wine_fn_config_makefile dlls/d3drm/tests enable_tests
21712 wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
21713 wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
21714 wine_fn_config_makefile dlls/d3dx10_34/tests enable_tests
21715 wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
21716 wine_fn_config_makefile dlls/d3dx10_35/tests enable_tests
21717 wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
21718 wine_fn_config_makefile dlls/d3dx10_36/tests enable_tests
21719 wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
21720 wine_fn_config_makefile dlls/d3dx10_37/tests enable_tests
21721 wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
21722 wine_fn_config_makefile dlls/d3dx10_38/tests enable_tests
21723 wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
21724 wine_fn_config_makefile dlls/d3dx10_39/tests enable_tests
21725 wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
21726 wine_fn_config_makefile dlls/d3dx10_40/tests enable_tests
21727 wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
21728 wine_fn_config_makefile dlls/d3dx10_41/tests enable_tests
21729 wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
21730 wine_fn_config_makefile dlls/d3dx10_42/tests enable_tests
21731 wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
21732 wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
21733 wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
21734 wine_fn_config_makefile dlls/d3dx11_42/tests enable_tests
21735 wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
21736 wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
21737 wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
21738 wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
21739 wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
21740 wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
21741 wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
21742 wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
21743 wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
21744 wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
21745 wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
21746 wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
21747 wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
21748 wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
21749 wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
21750 wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
21751 wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
21752 wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
21753 wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
21754 wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
21755 wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
21756 wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
21757 wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
21758 wine_fn_config_makefile dlls/d3dxof enable_d3dxof
21759 wine_fn_config_makefile dlls/d3dxof/tests enable_tests
21760 wine_fn_config_makefile dlls/davclnt enable_davclnt
21761 wine_fn_config_makefile dlls/dbgeng enable_dbgeng
21762 wine_fn_config_makefile dlls/dbgeng/tests enable_tests
21763 wine_fn_config_makefile dlls/dbghelp enable_dbghelp
21764 wine_fn_config_makefile dlls/dbghelp/tests enable_tests
21765 wine_fn_config_makefile dlls/dciman32 enable_dciman32
21766 wine_fn_config_makefile dlls/dcomp enable_dcomp
21767 wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
21768 wine_fn_config_makefile dlls/ddraw enable_ddraw
21769 wine_fn_config_makefile dlls/ddraw/tests enable_tests
21770 wine_fn_config_makefile dlls/ddrawex enable_ddrawex
21771 wine_fn_config_makefile dlls/ddrawex/tests enable_tests
21772 wine_fn_config_makefile dlls/devenum enable_devenum
21773 wine_fn_config_makefile dlls/devenum/tests enable_tests
21774 wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
21775 wine_fn_config_makefile dlls/dhcpcsvc/tests enable_tests
21776 wine_fn_config_makefile dlls/dhcpcsvc6 enable_dhcpcsvc6
21777 wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
21778 wine_fn_config_makefile dlls/diasymreader enable_diasymreader
21779 wine_fn_config_makefile dlls/difxapi enable_difxapi
21780 wine_fn_config_makefile dlls/dinput enable_dinput
21781 wine_fn_config_makefile dlls/dinput/tests enable_tests
21782 wine_fn_config_makefile dlls/dinput8 enable_dinput8
21783 wine_fn_config_makefile dlls/directmanipulation enable_directmanipulation
21784 wine_fn_config_makefile dlls/directmanipulation/tests enable_tests
21785 wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
21786 wine_fn_config_makefile dlls/dispex enable_dispex
21787 wine_fn_config_makefile dlls/dispex/tests enable_tests
21788 wine_fn_config_makefile dlls/display.drv16 enable_win16
21789 wine_fn_config_makefile dlls/dmband enable_dmband
21790 wine_fn_config_makefile dlls/dmband/tests enable_tests
21791 wine_fn_config_makefile dlls/dmcompos enable_dmcompos
21792 wine_fn_config_makefile dlls/dmcompos/tests enable_tests
21793 wine_fn_config_makefile dlls/dmime enable_dmime
21794 wine_fn_config_makefile dlls/dmime/tests enable_tests
21795 wine_fn_config_makefile dlls/dmloader enable_dmloader
21796 wine_fn_config_makefile dlls/dmloader/tests enable_tests
21797 wine_fn_config_makefile dlls/dmscript enable_dmscript
21798 wine_fn_config_makefile dlls/dmscript/tests enable_tests
21799 wine_fn_config_makefile dlls/dmstyle enable_dmstyle
21800 wine_fn_config_makefile dlls/dmstyle/tests enable_tests
21801 wine_fn_config_makefile dlls/dmsynth enable_dmsynth
21802 wine_fn_config_makefile dlls/dmsynth/tests enable_tests
21803 wine_fn_config_makefile dlls/dmusic enable_dmusic
21804 wine_fn_config_makefile dlls/dmusic/tests enable_tests
21805 wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
21806 wine_fn_config_makefile dlls/dnsapi enable_dnsapi
21807 wine_fn_config_makefile dlls/dnsapi/tests enable_tests
21808 wine_fn_config_makefile dlls/dplay enable_dplay
21809 wine_fn_config_makefile dlls/dplayx enable_dplayx
21810 wine_fn_config_makefile dlls/dplayx/tests enable_tests
21811 wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
21812 wine_fn_config_makefile dlls/dpnet enable_dpnet
21813 wine_fn_config_makefile dlls/dpnet/tests enable_tests
21814 wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
21815 wine_fn_config_makefile dlls/dpnhupnp enable_dpnhupnp
21816 wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
21817 wine_fn_config_makefile dlls/dpvoice enable_dpvoice
21818 wine_fn_config_makefile dlls/dpvoice/tests enable_tests
21819 wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
21820 wine_fn_config_makefile dlls/drmclien enable_drmclien
21821 wine_fn_config_makefile dlls/dsdmo enable_dsdmo
21822 wine_fn_config_makefile dlls/dsdmo/tests enable_tests
21823 wine_fn_config_makefile dlls/dsound enable_dsound
21824 wine_fn_config_makefile dlls/dsound/tests enable_tests
21825 wine_fn_config_makefile dlls/dsquery enable_dsquery
21826 wine_fn_config_makefile dlls/dssenh enable_dssenh
21827 wine_fn_config_makefile dlls/dssenh/tests enable_tests
21828 wine_fn_config_makefile dlls/dsuiext enable_dsuiext
21829 wine_fn_config_makefile dlls/dswave enable_dswave
21830 wine_fn_config_makefile dlls/dswave/tests enable_tests
21831 wine_fn_config_makefile dlls/dwmapi enable_dwmapi
21832 wine_fn_config_makefile dlls/dwmapi/tests enable_tests
21833 wine_fn_config_makefile dlls/dwrite enable_dwrite
21834 wine_fn_config_makefile dlls/dwrite/tests enable_tests
21835 wine_fn_config_makefile dlls/dx8vb enable_dx8vb
21836 wine_fn_config_makefile dlls/dxcore enable_dxcore
21837 wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
21838 wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
21839 wine_fn_config_makefile dlls/dxgi enable_dxgi
21840 wine_fn_config_makefile dlls/dxgi/tests enable_tests
21841 wine_fn_config_makefile dlls/dxtrans enable_dxtrans
21842 wine_fn_config_makefile dlls/dxva2 enable_dxva2
21843 wine_fn_config_makefile dlls/dxva2/tests enable_tests
21844 wine_fn_config_makefile dlls/esent enable_esent
21845 wine_fn_config_makefile dlls/evr enable_evr
21846 wine_fn_config_makefile dlls/evr/tests enable_tests
21847 wine_fn_config_makefile dlls/explorerframe enable_explorerframe
21848 wine_fn_config_makefile dlls/explorerframe/tests enable_tests
21849 wine_fn_config_makefile dlls/faultrep enable_faultrep
21850 wine_fn_config_makefile dlls/faultrep/tests enable_tests
21851 wine_fn_config_makefile dlls/feclient enable_feclient
21852 wine_fn_config_makefile dlls/fltlib enable_fltlib
21853 wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
21854 wine_fn_config_makefile dlls/fntcache enable_fntcache
21855 wine_fn_config_makefile dlls/fontsub enable_fontsub
21856 wine_fn_config_makefile dlls/fusion enable_fusion
21857 wine_fn_config_makefile dlls/fusion/tests enable_tests
21858 wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
21859 wine_fn_config_makefile dlls/gameux enable_gameux
21860 wine_fn_config_makefile dlls/gameux/tests enable_tests
21861 wine_fn_config_makefile dlls/gamingtcui enable_gamingtcui
21862 wine_fn_config_makefile dlls/gdi.exe16 enable_win16
21863 wine_fn_config_makefile dlls/gdi32 enable_gdi32
21864 wine_fn_config_makefile dlls/gdi32/tests enable_tests
21865 wine_fn_config_makefile dlls/gdiplus enable_gdiplus
21866 wine_fn_config_makefile dlls/gdiplus/tests enable_tests
21867 wine_fn_config_makefile dlls/geolocation enable_geolocation
21868 wine_fn_config_makefile dlls/geolocation/tests enable_tests
21869 wine_fn_config_makefile dlls/glu32 enable_glu32
21870 wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
21871 wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
21872 wine_fn_config_makefile dlls/graphicscapture enable_graphicscapture
21873 wine_fn_config_makefile dlls/graphicscapture/tests enable_tests
21874 wine_fn_config_makefile dlls/hal enable_hal
21875 wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
21876 wine_fn_config_makefile dlls/hid enable_hid
21877 wine_fn_config_makefile dlls/hid/tests enable_tests
21878 wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
21879 wine_fn_config_makefile dlls/hidparse.sys enable_hidparse_sys
21880 wine_fn_config_makefile dlls/hlink enable_hlink
21881 wine_fn_config_makefile dlls/hlink/tests enable_tests
21882 wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
21883 wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
21884 wine_fn_config_makefile dlls/hrtfapo enable_hrtfapo
21885 wine_fn_config_makefile dlls/http.sys enable_http_sys
21886 wine_fn_config_makefile dlls/httpapi enable_httpapi
21887 wine_fn_config_makefile dlls/httpapi/tests enable_tests
21888 wine_fn_config_makefile dlls/hvsimanagementapi enable_hvsimanagementapi
21889 wine_fn_config_makefile dlls/hvsimanagementapi/tests enable_tests
21890 wine_fn_config_makefile dlls/ia2comproxy enable_ia2comproxy
21891 wine_fn_config_makefile dlls/iccvid enable_iccvid
21892 wine_fn_config_makefile dlls/icmp enable_icmp
21893 wine_fn_config_makefile dlls/ieframe enable_ieframe
21894 wine_fn_config_makefile dlls/ieframe/tests enable_tests
21895 wine_fn_config_makefile dlls/ieproxy enable_ieproxy
21896 wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
21897 wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
21898 wine_fn_config_makefile dlls/imagehlp enable_imagehlp
21899 wine_fn_config_makefile dlls/imagehlp/tests enable_tests
21900 wine_fn_config_makefile dlls/imm.dll16 enable_win16
21901 wine_fn_config_makefile dlls/imm32 enable_imm32
21902 wine_fn_config_makefile dlls/imm32/tests enable_tests
21903 wine_fn_config_makefile dlls/inetcomm enable_inetcomm
21904 wine_fn_config_makefile dlls/inetcomm/tests enable_tests
21905 wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
21906 wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
21907 wine_fn_config_makefile dlls/inetmib1/tests enable_tests
21908 wine_fn_config_makefile dlls/infosoft enable_infosoft
21909 wine_fn_config_makefile dlls/infosoft/tests enable_tests
21910 wine_fn_config_makefile dlls/initpki enable_initpki
21911 wine_fn_config_makefile dlls/inkobj enable_inkobj
21912 wine_fn_config_makefile dlls/inseng enable_inseng
21913 wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
21914 wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
21915 wine_fn_config_makefile dlls/iprop enable_iprop
21916 wine_fn_config_makefile dlls/ir50_32 enable_ir50_32
21917 wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
21918 wine_fn_config_makefile dlls/itircl enable_itircl
21919 wine_fn_config_makefile dlls/itss enable_itss
21920 wine_fn_config_makefile dlls/itss/tests enable_tests
21921 wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
21922 wine_fn_config_makefile dlls/jscript enable_jscript
21923 wine_fn_config_makefile dlls/jscript/tests enable_tests
21924 wine_fn_config_makefile dlls/jsproxy enable_jsproxy
21925 wine_fn_config_makefile dlls/jsproxy/tests enable_tests
21926 wine_fn_config_makefile dlls/kerberos enable_kerberos
21927 wine_fn_config_makefile dlls/kernel32 enable_kernel32
21928 wine_fn_config_makefile dlls/kernel32/tests enable_tests
21929 wine_fn_config_makefile dlls/kernelbase enable_kernelbase
21930 wine_fn_config_makefile dlls/kernelbase/tests enable_tests
21931 wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
21932 wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
21933 wine_fn_config_makefile dlls/ksecdd.sys enable_ksecdd_sys
21934 wine_fn_config_makefile dlls/ksproxy.ax enable_ksproxy_ax
21935 wine_fn_config_makefile dlls/ksuser enable_ksuser
21936 wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
21937 wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
21938 wine_fn_config_makefile dlls/light.msstyles enable_light_msstyles
21939 wine_fn_config_makefile dlls/loadperf enable_loadperf
21940 wine_fn_config_makefile dlls/localspl enable_localspl
21941 wine_fn_config_makefile dlls/localspl/tests enable_tests
21942 wine_fn_config_makefile dlls/localui enable_localui
21943 wine_fn_config_makefile dlls/localui/tests enable_tests
21944 wine_fn_config_makefile dlls/lz32 enable_lz32
21945 wine_fn_config_makefile dlls/lz32/tests enable_tests
21946 wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
21947 wine_fn_config_makefile dlls/magnification enable_magnification
21948 wine_fn_config_makefile dlls/mapi32 enable_mapi32
21949 wine_fn_config_makefile dlls/mapi32/tests enable_tests
21950 wine_fn_config_makefile dlls/mapistub enable_mapistub
21951 wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
21952 wine_fn_config_makefile dlls/mcicda enable_mcicda
21953 wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
21954 wine_fn_config_makefile dlls/mciseq enable_mciseq
21955 wine_fn_config_makefile dlls/mciwave enable_mciwave
21956 wine_fn_config_makefile dlls/mf enable_mf
21957 wine_fn_config_makefile dlls/mf/tests enable_tests
21958 wine_fn_config_makefile dlls/mf3216 enable_mf3216
21959 wine_fn_config_makefile dlls/mferror enable_mferror
21960 wine_fn_config_makefile dlls/mfmediaengine enable_mfmediaengine
21961 wine_fn_config_makefile dlls/mfmediaengine/tests enable_tests
21962 wine_fn_config_makefile dlls/mfplat enable_mfplat
21963 wine_fn_config_makefile dlls/mfplat/tests enable_tests
21964 wine_fn_config_makefile dlls/mfplay enable_mfplay
21965 wine_fn_config_makefile dlls/mfplay/tests enable_tests
21966 wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
21967 wine_fn_config_makefile dlls/mfreadwrite/tests enable_tests
21968 wine_fn_config_makefile dlls/mfsrcsnk enable_mfsrcsnk
21969 wine_fn_config_makefile dlls/mfsrcsnk/tests enable_tests
21970 wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
21971 wine_fn_config_makefile dlls/midimap enable_midimap
21972 wine_fn_config_makefile dlls/mlang enable_mlang
21973 wine_fn_config_makefile dlls/mlang/tests enable_tests
21974 wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
21975 wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
21976 wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
21977 wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
21978 wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
21979 wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
21980 wine_fn_config_makefile dlls/monodebg.vxd enable_win16
21981 wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
21982 wine_fn_config_makefile dlls/mouse.drv16 enable_win16
21983 wine_fn_config_makefile dlls/mp3dmod enable_mp3dmod
21984 wine_fn_config_makefile dlls/mp3dmod/tests enable_tests
21985 wine_fn_config_makefile dlls/mpr enable_mpr
21986 wine_fn_config_makefile dlls/mpr/tests enable_tests
21987 wine_fn_config_makefile dlls/mprapi enable_mprapi
21988 wine_fn_config_makefile dlls/msacm.dll16 enable_win16
21989 wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
21990 wine_fn_config_makefile dlls/msacm32 enable_msacm32
21991 wine_fn_config_makefile dlls/msacm32/tests enable_tests
21992 wine_fn_config_makefile dlls/msado15 enable_msado15
21993 wine_fn_config_makefile dlls/msado15/tests enable_tests
21994 wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
21995 wine_fn_config_makefile dlls/msasn1 enable_msasn1
21996 wine_fn_config_makefile dlls/msasn1/tests enable_tests
21997 wine_fn_config_makefile dlls/msauddecmft enable_msauddecmft
21998 wine_fn_config_makefile dlls/mscat32 enable_mscat32
21999 wine_fn_config_makefile dlls/mscms enable_mscms
22000 wine_fn_config_makefile dlls/mscms/tests enable_tests
22001 wine_fn_config_makefile dlls/mscoree enable_mscoree
22002 wine_fn_config_makefile dlls/mscoree/tests enable_tests
22003 wine_fn_config_makefile dlls/mscorwks enable_mscorwks
22004 wine_fn_config_makefile dlls/msctf enable_msctf
22005 wine_fn_config_makefile dlls/msctf/tests enable_tests
22006 wine_fn_config_makefile dlls/msctfmonitor enable_msctfmonitor
22007 wine_fn_config_makefile dlls/msctfp enable_msctfp
22008 wine_fn_config_makefile dlls/msdaps enable_msdaps
22009 wine_fn_config_makefile dlls/msdasql enable_msdasql
22010 wine_fn_config_makefile dlls/msdasql/tests enable_tests
22011 wine_fn_config_makefile dlls/msdelta enable_msdelta
22012 wine_fn_config_makefile dlls/msdmo enable_msdmo
22013 wine_fn_config_makefile dlls/msdmo/tests enable_tests
22014 wine_fn_config_makefile dlls/msdrm enable_msdrm
22015 wine_fn_config_makefile dlls/msftedit enable_msftedit
22016 wine_fn_config_makefile dlls/msftedit/tests enable_tests
22017 wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
22018 wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
22019 wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
22020 wine_fn_config_makefile dlls/mshtml enable_mshtml
22021 wine_fn_config_makefile dlls/mshtml/tests enable_tests
22022 wine_fn_config_makefile dlls/msi enable_msi
22023 wine_fn_config_makefile dlls/msi/tests enable_tests
22024 wine_fn_config_makefile dlls/msident enable_msident
22025 wine_fn_config_makefile dlls/msimg32 enable_msimg32
22026 wine_fn_config_makefile dlls/msimsg enable_msimsg
22027 wine_fn_config_makefile dlls/msimtf enable_msimtf
22028 wine_fn_config_makefile dlls/msisip enable_msisip
22029 wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
22030 wine_fn_config_makefile dlls/msls31 enable_msls31
22031 wine_fn_config_makefile dlls/msmpeg2vdec enable_msmpeg2vdec
22032 wine_fn_config_makefile dlls/msnet32 enable_msnet32
22033 wine_fn_config_makefile dlls/mspatcha enable_mspatcha
22034 wine_fn_config_makefile dlls/mspatcha/tests enable_tests
22035 wine_fn_config_makefile dlls/msports enable_msports
22036 wine_fn_config_makefile dlls/msrle32 enable_msrle32
22037 wine_fn_config_makefile dlls/msrle32/tests enable_tests
22038 wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
22039 wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
22040 wine_fn_config_makefile dlls/mssign32 enable_mssign32
22041 wine_fn_config_makefile dlls/mssip32 enable_mssip32
22042 wine_fn_config_makefile dlls/mstask enable_mstask
22043 wine_fn_config_makefile dlls/mstask/tests enable_tests
22044 wine_fn_config_makefile dlls/msttsengine enable_msttsengine
22045 wine_fn_config_makefile dlls/msv1_0 enable_msv1_0
22046 wine_fn_config_makefile dlls/msvcirt enable_msvcirt
22047 wine_fn_config_makefile dlls/msvcirt/tests enable_tests
22048 wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
22049 wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
22050 wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
22051 wine_fn_config_makefile dlls/msvcp100/tests enable_tests
22052 wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
22053 wine_fn_config_makefile dlls/msvcp110/tests enable_tests
22054 wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
22055 wine_fn_config_makefile dlls/msvcp120/tests enable_tests
22056 wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
22057 wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
22058 wine_fn_config_makefile dlls/msvcp140/tests enable_tests
22059 wine_fn_config_makefile dlls/msvcp140_1 enable_msvcp140_1
22060 wine_fn_config_makefile dlls/msvcp140_1/tests enable_tests
22061 wine_fn_config_makefile dlls/msvcp140_2 enable_msvcp140_2
22062 wine_fn_config_makefile dlls/msvcp140_2/tests enable_tests
22063 wine_fn_config_makefile dlls/msvcp140_atomic_wait enable_msvcp140_atomic_wait
22064 wine_fn_config_makefile dlls/msvcp140_atomic_wait/tests enable_tests
22065 wine_fn_config_makefile dlls/msvcp140_codecvt_ids enable_msvcp140_codecvt_ids
22066 wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
22067 wine_fn_config_makefile dlls/msvcp60/tests enable_tests
22068 wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
22069 wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
22070 wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
22071 wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
22072 wine_fn_config_makefile dlls/msvcp90/tests enable_tests
22073 wine_fn_config_makefile dlls/msvcp_win enable_msvcp_win
22074 wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
22075 wine_fn_config_makefile dlls/msvcr100/tests enable_tests
22076 wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
22077 wine_fn_config_makefile dlls/msvcr110/tests enable_tests
22078 wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
22079 wine_fn_config_makefile dlls/msvcr120/tests enable_tests
22080 wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
22081 wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
22082 wine_fn_config_makefile dlls/msvcr70/tests enable_tests
22083 wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
22084 wine_fn_config_makefile dlls/msvcr71/tests enable_tests
22085 wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
22086 wine_fn_config_makefile dlls/msvcr80/tests enable_tests
22087 wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
22088 wine_fn_config_makefile dlls/msvcr90/tests enable_tests
22089 wine_fn_config_makefile dlls/msvcrt enable_msvcrt
22090 wine_fn_config_makefile dlls/msvcrt/tests enable_tests
22091 wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
22092 wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
22093 wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
22094 wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
22095 wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
22096 wine_fn_config_makefile dlls/msvfw32/tests enable_tests
22097 wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
22098 wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
22099 wine_fn_config_makefile dlls/mswsock enable_mswsock
22100 wine_fn_config_makefile dlls/msxml enable_msxml
22101 wine_fn_config_makefile dlls/msxml2 enable_msxml2
22102 wine_fn_config_makefile dlls/msxml3 enable_msxml3
22103 wine_fn_config_makefile dlls/msxml3/tests enable_tests
22104 wine_fn_config_makefile dlls/msxml4 enable_msxml4
22105 wine_fn_config_makefile dlls/msxml4/tests enable_tests
22106 wine_fn_config_makefile dlls/msxml6 enable_msxml6
22107 wine_fn_config_makefile dlls/msxml6/tests enable_tests
22108 wine_fn_config_makefile dlls/mtxdm enable_mtxdm
22109 wine_fn_config_makefile dlls/ncrypt enable_ncrypt
22110 wine_fn_config_makefile dlls/ncrypt/tests enable_tests
22111 wine_fn_config_makefile dlls/nddeapi enable_nddeapi
22112 wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
22113 wine_fn_config_makefile dlls/ndis.sys/tests enable_tests
22114 wine_fn_config_makefile dlls/netapi32 enable_netapi32
22115 wine_fn_config_makefile dlls/netapi32/tests enable_tests
22116 wine_fn_config_makefile dlls/netcfgx enable_netcfgx
22117 wine_fn_config_makefile dlls/netcfgx/tests enable_tests
22118 wine_fn_config_makefile dlls/netio.sys enable_netio_sys
22119 wine_fn_config_makefile dlls/netprofm enable_netprofm
22120 wine_fn_config_makefile dlls/netprofm/tests enable_tests
22121 wine_fn_config_makefile dlls/netutils enable_netutils
22122 wine_fn_config_makefile dlls/newdev enable_newdev
22123 wine_fn_config_makefile dlls/ninput enable_ninput
22124 wine_fn_config_makefile dlls/ninput/tests enable_tests
22125 wine_fn_config_makefile dlls/normaliz enable_normaliz
22126 wine_fn_config_makefile dlls/npmshtml enable_npmshtml
22127 wine_fn_config_makefile dlls/npptools enable_npptools
22128 wine_fn_config_makefile dlls/nsi enable_nsi
22129 wine_fn_config_makefile dlls/nsi/tests enable_tests
22130 wine_fn_config_makefile dlls/nsiproxy.sys enable_nsiproxy_sys
22131 wine_fn_config_makefile dlls/ntdll enable_ntdll
22132 wine_fn_config_makefile dlls/ntdll/tests enable_tests
22133 wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
22134 wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
22135 wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
22136 wine_fn_config_makefile dlls/ntoskrnl.exe/tests enable_tests
22137 wine_fn_config_makefile dlls/ntprint enable_ntprint
22138 wine_fn_config_makefile dlls/ntprint/tests enable_tests
22139 wine_fn_config_makefile dlls/objsel enable_objsel
22140 wine_fn_config_makefile dlls/odbc32 enable_odbc32
22141 wine_fn_config_makefile dlls/odbcbcp enable_odbcbcp
22142 wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
22143 wine_fn_config_makefile dlls/odbccp32/tests enable_tests
22144 wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
22145 wine_fn_config_makefile dlls/ole2.dll16 enable_win16
22146 wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
22147 wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
22148 wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
22149 wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
22150 wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
22151 wine_fn_config_makefile dlls/ole32 enable_ole32
22152 wine_fn_config_makefile dlls/ole32/tests enable_tests
22153 wine_fn_config_makefile dlls/oleacc enable_oleacc
22154 wine_fn_config_makefile dlls/oleacc/tests enable_tests
22155 wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
22156 wine_fn_config_makefile dlls/oleaut32/tests enable_tests
22157 wine_fn_config_makefile dlls/olecli.dll16 enable_win16
22158 wine_fn_config_makefile dlls/olecli32 enable_olecli32
22159 wine_fn_config_makefile dlls/oledb32 enable_oledb32
22160 wine_fn_config_makefile dlls/oledb32/tests enable_tests
22161 wine_fn_config_makefile dlls/oledlg enable_oledlg
22162 wine_fn_config_makefile dlls/oledlg/tests enable_tests
22163 wine_fn_config_makefile dlls/olepro32 enable_olepro32
22164 wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
22165 wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
22166 wine_fn_config_makefile dlls/olethk32 enable_olethk32
22167 wine_fn_config_makefile dlls/opcservices enable_opcservices
22168 wine_fn_config_makefile dlls/opcservices/tests enable_tests
22169 wine_fn_config_makefile dlls/opencl enable_opencl
22170 wine_fn_config_makefile dlls/opengl32 enable_opengl32
22171 wine_fn_config_makefile dlls/opengl32/tests enable_tests
22172 wine_fn_config_makefile dlls/packager enable_packager
22173 wine_fn_config_makefile dlls/packager/tests enable_tests
22174 wine_fn_config_makefile dlls/pdh enable_pdh
22175 wine_fn_config_makefile dlls/pdh/tests enable_tests
22176 wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
22177 wine_fn_config_makefile dlls/pidgen enable_pidgen
22178 wine_fn_config_makefile dlls/powrprof enable_powrprof
22179 wine_fn_config_makefile dlls/printui enable_printui
22180 wine_fn_config_makefile dlls/prntvpt enable_prntvpt
22181 wine_fn_config_makefile dlls/prntvpt/tests enable_tests
22182 wine_fn_config_makefile dlls/propsys enable_propsys
22183 wine_fn_config_makefile dlls/propsys/tests enable_tests
22184 wine_fn_config_makefile dlls/psapi enable_psapi
22185 wine_fn_config_makefile dlls/psapi/tests enable_tests
22186 wine_fn_config_makefile dlls/pstorec enable_pstorec
22187 wine_fn_config_makefile dlls/pstorec/tests enable_tests
22188 wine_fn_config_makefile dlls/pwrshplugin enable_pwrshplugin
22189 wine_fn_config_makefile dlls/qasf enable_qasf
22190 wine_fn_config_makefile dlls/qasf/tests enable_tests
22191 wine_fn_config_makefile dlls/qcap enable_qcap
22192 wine_fn_config_makefile dlls/qcap/tests enable_tests
22193 wine_fn_config_makefile dlls/qdvd enable_qdvd
22194 wine_fn_config_makefile dlls/qdvd/tests enable_tests
22195 wine_fn_config_makefile dlls/qedit enable_qedit
22196 wine_fn_config_makefile dlls/qedit/tests enable_tests
22197 wine_fn_config_makefile dlls/qmgr enable_qmgr
22198 wine_fn_config_makefile dlls/qmgr/tests enable_tests
22199 wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
22200 wine_fn_config_makefile dlls/quartz enable_quartz
22201 wine_fn_config_makefile dlls/quartz/tests enable_tests
22202 wine_fn_config_makefile dlls/query enable_query
22203 wine_fn_config_makefile dlls/qwave enable_qwave
22204 wine_fn_config_makefile dlls/qwave/tests enable_tests
22205 wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
22206 wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
22207 wine_fn_config_makefile dlls/rasapi32/tests enable_tests
22208 wine_fn_config_makefile dlls/rasdlg enable_rasdlg
22209 wine_fn_config_makefile dlls/regapi enable_regapi
22210 wine_fn_config_makefile dlls/resutils enable_resutils
22211 wine_fn_config_makefile dlls/riched20 enable_riched20
22212 wine_fn_config_makefile dlls/riched20/tests enable_tests
22213 wine_fn_config_makefile dlls/riched32 enable_riched32
22214 wine_fn_config_makefile dlls/riched32/tests enable_tests
22215 wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
22216 wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
22217 wine_fn_config_makefile dlls/rsabase enable_rsabase
22218 wine_fn_config_makefile dlls/rsaenh enable_rsaenh
22219 wine_fn_config_makefile dlls/rsaenh/tests enable_tests
22220 wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
22221 wine_fn_config_makefile dlls/rtutils enable_rtutils
22222 wine_fn_config_makefile dlls/rtworkq enable_rtworkq
22223 wine_fn_config_makefile dlls/rtworkq/tests enable_tests
22224 wine_fn_config_makefile dlls/samlib enable_samlib
22225 wine_fn_config_makefile dlls/sane.ds enable_sane_ds
22226 wine_fn_config_makefile dlls/sapi enable_sapi
22227 wine_fn_config_makefile dlls/sapi/tests enable_tests
22228 wine_fn_config_makefile dlls/sas enable_sas
22229 wine_fn_config_makefile dlls/scarddlg enable_scarddlg
22230 wine_fn_config_makefile dlls/scardsvr enable_scardsvr
22231 wine_fn_config_makefile dlls/sccbase enable_sccbase
22232 wine_fn_config_makefile dlls/schannel enable_schannel
22233 wine_fn_config_makefile dlls/schannel/tests enable_tests
22234 wine_fn_config_makefile dlls/schedsvc enable_schedsvc
22235 wine_fn_config_makefile dlls/schedsvc/tests enable_tests
22236 wine_fn_config_makefile dlls/scrobj enable_scrobj
22237 wine_fn_config_makefile dlls/scrobj/tests enable_tests
22238 wine_fn_config_makefile dlls/scrrun enable_scrrun
22239 wine_fn_config_makefile dlls/scrrun/tests enable_tests
22240 wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
22241 wine_fn_config_makefile dlls/sechost enable_sechost
22242 wine_fn_config_makefile dlls/secur32 enable_secur32
22243 wine_fn_config_makefile dlls/secur32/tests enable_tests
22244 wine_fn_config_makefile dlls/security enable_security
22245 wine_fn_config_makefile dlls/sensapi enable_sensapi
22246 wine_fn_config_makefile dlls/serialui enable_serialui
22247 wine_fn_config_makefile dlls/serialui/tests enable_tests
22248 wine_fn_config_makefile dlls/setupapi enable_setupapi
22249 wine_fn_config_makefile dlls/setupapi/tests enable_tests
22250 wine_fn_config_makefile dlls/setupx.dll16 enable_win16
22251 wine_fn_config_makefile dlls/sfc enable_sfc
22252 wine_fn_config_makefile dlls/sfc_os enable_sfc_os
22253 wine_fn_config_makefile dlls/shcore enable_shcore
22254 wine_fn_config_makefile dlls/shcore/tests enable_tests
22255 wine_fn_config_makefile dlls/shdoclc enable_shdoclc
22256 wine_fn_config_makefile dlls/shdocvw enable_shdocvw
22257 wine_fn_config_makefile dlls/shdocvw/tests enable_tests
22258 wine_fn_config_makefile dlls/shell.dll16 enable_win16
22259 wine_fn_config_makefile dlls/shell32 enable_shell32
22260 wine_fn_config_makefile dlls/shell32/tests enable_tests
22261 wine_fn_config_makefile dlls/shfolder enable_shfolder
22262 wine_fn_config_makefile dlls/shlwapi enable_shlwapi
22263 wine_fn_config_makefile dlls/shlwapi/tests enable_tests
22264 wine_fn_config_makefile dlls/slbcsp enable_slbcsp
22265 wine_fn_config_makefile dlls/slc enable_slc
22266 wine_fn_config_makefile dlls/slc/tests enable_tests
22267 wine_fn_config_makefile dlls/snmpapi enable_snmpapi
22268 wine_fn_config_makefile dlls/snmpapi/tests enable_tests
22269 wine_fn_config_makefile dlls/softpub enable_softpub
22270 wine_fn_config_makefile dlls/sound.drv16 enable_win16
22271 wine_fn_config_makefile dlls/spoolss enable_spoolss
22272 wine_fn_config_makefile dlls/spoolss/tests enable_tests
22273 wine_fn_config_makefile dlls/sppc enable_sppc
22274 wine_fn_config_makefile dlls/srclient enable_srclient
22275 wine_fn_config_makefile dlls/srvcli enable_srvcli
22276 wine_fn_config_makefile dlls/srvsvc enable_srvsvc
22277 wine_fn_config_makefile dlls/sspicli enable_sspicli
22278 wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
22279 wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
22280 wine_fn_config_makefile dlls/sti enable_sti
22281 wine_fn_config_makefile dlls/sti/tests enable_tests
22282 wine_fn_config_makefile dlls/storage.dll16 enable_win16
22283 wine_fn_config_makefile dlls/stress.dll16 enable_win16
22284 wine_fn_config_makefile dlls/strmdll enable_strmdll
22285 wine_fn_config_makefile dlls/svrapi enable_svrapi
22286 wine_fn_config_makefile dlls/sxs enable_sxs
22287 wine_fn_config_makefile dlls/sxs/tests enable_tests
22288 wine_fn_config_makefile dlls/system.drv16 enable_win16
22289 wine_fn_config_makefile dlls/t2embed enable_t2embed
22290 wine_fn_config_makefile dlls/t2embed/tests enable_tests
22291 wine_fn_config_makefile dlls/tapi32 enable_tapi32
22292 wine_fn_config_makefile dlls/tapi32/tests enable_tests
22293 wine_fn_config_makefile dlls/taskschd enable_taskschd
22294 wine_fn_config_makefile dlls/taskschd/tests enable_tests
22295 wine_fn_config_makefile dlls/tbs enable_tbs
22296 wine_fn_config_makefile dlls/tdh enable_tdh
22297 wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
22298 wine_fn_config_makefile dlls/threadpoolwinrt enable_threadpoolwinrt
22299 wine_fn_config_makefile dlls/threadpoolwinrt/tests enable_tests
22300 wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
22301 wine_fn_config_makefile dlls/traffic enable_traffic
22302 wine_fn_config_makefile dlls/twain.dll16 enable_win16
22303 wine_fn_config_makefile dlls/twain_32 enable_twain_32
22304 wine_fn_config_makefile dlls/twain_32/tests enable_tests
22305 wine_fn_config_makefile dlls/twinapi.appcore enable_twinapi_appcore
22306 wine_fn_config_makefile dlls/twinapi.appcore/tests enable_tests
22307 wine_fn_config_makefile dlls/typelib.dll16 enable_win16
22308 wine_fn_config_makefile dlls/tzres enable_tzres
22309 wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
22310 wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
22311 wine_fn_config_makefile dlls/uianimation enable_uianimation
22312 wine_fn_config_makefile dlls/uianimation/tests enable_tests
22313 wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
22314 wine_fn_config_makefile dlls/uiautomationcore/tests enable_tests
22315 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
22316 wine_fn_config_makefile dlls/unicows enable_unicows
22317 wine_fn_config_makefile dlls/updspapi enable_updspapi
22318 wine_fn_config_makefile dlls/url enable_url
22319 wine_fn_config_makefile dlls/urlmon enable_urlmon
22320 wine_fn_config_makefile dlls/urlmon/tests enable_tests
22321 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
22322 wine_fn_config_makefile dlls/user.exe16 enable_win16
22323 wine_fn_config_makefile dlls/user32 enable_user32
22324 wine_fn_config_makefile dlls/user32/tests enable_tests
22325 wine_fn_config_makefile dlls/userenv enable_userenv
22326 wine_fn_config_makefile dlls/userenv/tests enable_tests
22327 wine_fn_config_makefile dlls/usp10 enable_usp10
22328 wine_fn_config_makefile dlls/usp10/tests enable_tests
22329 wine_fn_config_makefile dlls/utildll enable_utildll
22330 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
22331 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
22332 wine_fn_config_makefile dlls/vbscript enable_vbscript
22333 wine_fn_config_makefile dlls/vbscript/tests enable_tests
22334 wine_fn_config_makefile dlls/vcomp enable_vcomp
22335 wine_fn_config_makefile dlls/vcomp/tests enable_tests
22336 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
22337 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
22338 wine_fn_config_makefile dlls/vcomp110/tests enable_tests
22339 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
22340 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
22341 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
22342 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
22343 wine_fn_config_makefile dlls/vcruntime140_1 enable_vcruntime140_1
22344 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
22345 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
22346 wine_fn_config_makefile dlls/ver.dll16 enable_win16
22347 wine_fn_config_makefile dlls/version enable_version
22348 wine_fn_config_makefile dlls/version/tests enable_tests
22349 wine_fn_config_makefile dlls/vga enable_vga
22350 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
22351 wine_fn_config_makefile dlls/virtdisk/tests enable_tests
22352 wine_fn_config_makefile dlls/vmm.vxd enable_win16
22353 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
22354 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
22355 wine_fn_config_makefile dlls/vssapi enable_vssapi
22356 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
22357 wine_fn_config_makefile dlls/vulkan-1 enable_vulkan_1
22358 wine_fn_config_makefile dlls/vulkan-1/tests enable_tests
22359 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
22360 wine_fn_config_makefile dlls/w32skrnl enable_win16
22361 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
22362 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
22363 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
22364 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
22365 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
22366 wine_fn_config_makefile dlls/wdscore enable_wdscore
22367 wine_fn_config_makefile dlls/webservices enable_webservices
22368 wine_fn_config_makefile dlls/webservices/tests enable_tests
22369 wine_fn_config_makefile dlls/websocket enable_websocket
22370 wine_fn_config_makefile dlls/wer enable_wer
22371 wine_fn_config_makefile dlls/wer/tests enable_tests
22372 wine_fn_config_makefile dlls/wevtapi enable_wevtapi
22373 wine_fn_config_makefile dlls/wevtapi/tests enable_tests
22374 wine_fn_config_makefile dlls/wevtsvc enable_wevtsvc
22375 wine_fn_config_makefile dlls/wiaservc enable_wiaservc
22376 wine_fn_config_makefile dlls/wiaservc/tests enable_tests
22377 wine_fn_config_makefile dlls/wimgapi enable_wimgapi
22378 wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
22379 wine_fn_config_makefile dlls/win32u enable_win32u
22380 wine_fn_config_makefile dlls/win32u/tests enable_tests
22381 wine_fn_config_makefile dlls/win87em.dll16 enable_win16
22382 wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
22383 wine_fn_config_makefile dlls/windebug.dll16 enable_win16
22384 wine_fn_config_makefile dlls/windows.applicationmodel enable_windows_applicationmodel
22385 wine_fn_config_makefile dlls/windows.applicationmodel/tests enable_tests
22386 wine_fn_config_makefile dlls/windows.devices.bluetooth enable_windows_devices_bluetooth
22387 wine_fn_config_makefile dlls/windows.devices.bluetooth/tests enable_tests
22388 wine_fn_config_makefile dlls/windows.devices.enumeration enable_windows_devices_enumeration
22389 wine_fn_config_makefile dlls/windows.devices.enumeration/tests enable_tests
22390 wine_fn_config_makefile dlls/windows.devices.usb enable_windows_devices_usb
22391 wine_fn_config_makefile dlls/windows.devices.usb/tests enable_tests
22392 wine_fn_config_makefile dlls/windows.gaming.input enable_windows_gaming_input
22393 wine_fn_config_makefile dlls/windows.gaming.input/tests enable_tests
22394 wine_fn_config_makefile dlls/windows.gaming.ui.gamebar enable_windows_gaming_ui_gamebar
22395 wine_fn_config_makefile dlls/windows.gaming.ui.gamebar/tests enable_tests
22396 wine_fn_config_makefile dlls/windows.globalization enable_windows_globalization
22397 wine_fn_config_makefile dlls/windows.globalization/tests enable_tests
22398 wine_fn_config_makefile dlls/windows.media.devices enable_windows_media_devices
22399 wine_fn_config_makefile dlls/windows.media.devices/tests enable_tests
22400 wine_fn_config_makefile dlls/windows.media.mediacontrol enable_windows_media_mediacontrol
22401 wine_fn_config_makefile dlls/windows.media.mediacontrol/tests enable_tests
22402 wine_fn_config_makefile dlls/windows.media.speech enable_windows_media_speech
22403 wine_fn_config_makefile dlls/windows.media.speech/tests enable_tests
22404 wine_fn_config_makefile dlls/windows.media enable_windows_media
22405 wine_fn_config_makefile dlls/windows.media/tests enable_tests
22406 wine_fn_config_makefile dlls/windows.networking.hostname enable_windows_networking_hostname
22407 wine_fn_config_makefile dlls/windows.networking.hostname/tests enable_tests
22408 wine_fn_config_makefile dlls/windows.networking enable_windows_networking
22409 wine_fn_config_makefile dlls/windows.perception.stub enable_windows_perception_stub
22410 wine_fn_config_makefile dlls/windows.perception.stub/tests enable_tests
22411 wine_fn_config_makefile dlls/windows.security.credentials.ui.userconsentverifier enable_windows_security_credentials_ui_userconsentverifier
22412 wine_fn_config_makefile dlls/windows.security.credentials.ui.userconsentverifier/tests enable_tests
22413 wine_fn_config_makefile dlls/windows.storage.applicationdata enable_windows_storage_applicationdata
22414 wine_fn_config_makefile dlls/windows.storage.applicationdata/tests enable_tests
22415 wine_fn_config_makefile dlls/windows.system.profile.systemmanufacturers enable_windows_system_profile_systemmanufacturers
22416 wine_fn_config_makefile dlls/windows.system.profile.systemmanufacturers/tests enable_tests
22417 wine_fn_config_makefile dlls/windows.ui enable_windows_ui
22418 wine_fn_config_makefile dlls/windows.ui/tests enable_tests
22419 wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
22420 wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
22421 wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
22422 wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
22423 wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
22424 wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
22425 wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
22426 wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
22427 wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
22428 wine_fn_config_makefile dlls/wined3d enable_wined3d
22429 wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
22430 wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
22431 wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
22432 wine_fn_config_makefile dlls/winemapi enable_winemapi
22433 wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
22434 wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
22435 wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
22436 wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
22437 wine_fn_config_makefile dlls/wineusb.sys enable_wineusb_sys
22438 wine_fn_config_makefile dlls/winevulkan enable_winevulkan
22439 wine_fn_config_makefile dlls/winewayland.drv enable_winewayland_drv
22440 wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
22441 wine_fn_config_makefile dlls/winexinput.sys enable_winexinput_sys
22442 wine_fn_config_makefile dlls/wing.dll16 enable_win16
22443 wine_fn_config_makefile dlls/wing32 enable_wing32
22444 wine_fn_config_makefile dlls/wing32/tests enable_tests
22445 wine_fn_config_makefile dlls/winhttp enable_winhttp
22446 wine_fn_config_makefile dlls/winhttp/tests enable_tests
22447 wine_fn_config_makefile dlls/wininet enable_wininet
22448 wine_fn_config_makefile dlls/wininet/tests enable_tests
22449 wine_fn_config_makefile dlls/winmm enable_winmm
22450 wine_fn_config_makefile dlls/winmm/tests enable_tests
22451 wine_fn_config_makefile dlls/winnls.dll16 enable_win16
22452 wine_fn_config_makefile dlls/winnls32 enable_winnls32
22453 wine_fn_config_makefile dlls/winprint enable_winprint
22454 wine_fn_config_makefile dlls/winscard enable_winscard
22455 wine_fn_config_makefile dlls/winscard/tests enable_tests
22456 wine_fn_config_makefile dlls/winsock.dll16 enable_win16
22457 wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
22458 wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
22459 wine_fn_config_makefile dlls/winsta enable_winsta
22460 wine_fn_config_makefile dlls/wintab.dll16 enable_win16
22461 wine_fn_config_makefile dlls/wintab32 enable_wintab32
22462 wine_fn_config_makefile dlls/wintab32/tests enable_tests
22463 wine_fn_config_makefile dlls/wintrust enable_wintrust
22464 wine_fn_config_makefile dlls/wintrust/tests enable_tests
22465 wine_fn_config_makefile dlls/wintypes enable_wintypes
22466 wine_fn_config_makefile dlls/wintypes/tests enable_tests
22467 wine_fn_config_makefile dlls/winusb enable_winusb
22468 wine_fn_config_makefile dlls/wlanapi enable_wlanapi
22469 wine_fn_config_makefile dlls/wlanapi/tests enable_tests
22470 wine_fn_config_makefile dlls/wlanui enable_wlanui
22471 wine_fn_config_makefile dlls/wldap32 enable_wldap32
22472 wine_fn_config_makefile dlls/wldap32/tests enable_tests
22473 wine_fn_config_makefile dlls/wldp enable_wldp
22474 wine_fn_config_makefile dlls/wldp/tests enable_tests
22475 wine_fn_config_makefile dlls/wmasf enable_wmasf
22476 wine_fn_config_makefile dlls/wmi enable_wmi
22477 wine_fn_config_makefile dlls/wmiutils enable_wmiutils
22478 wine_fn_config_makefile dlls/wmiutils/tests enable_tests
22479 wine_fn_config_makefile dlls/wmp enable_wmp
22480 wine_fn_config_makefile dlls/wmp/tests enable_tests
22481 wine_fn_config_makefile dlls/wmphoto enable_wmphoto
22482 wine_fn_config_makefile dlls/wmvcore enable_wmvcore
22483 wine_fn_config_makefile dlls/wmvcore/tests enable_tests
22484 wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
22485 wine_fn_config_makefile dlls/wofutil enable_wofutil
22486 wine_fn_config_makefile dlls/wow32 enable_win16
22487 wine_fn_config_makefile dlls/wow64 enable_wow64
22488 wine_fn_config_makefile dlls/wow64cpu enable_wow64cpu
22489 wine_fn_config_makefile dlls/wow64win enable_wow64win
22490 wine_fn_config_makefile dlls/wpc enable_wpc
22491 wine_fn_config_makefile dlls/wpc/tests enable_tests
22492 wine_fn_config_makefile dlls/wpcap enable_wpcap
22493 wine_fn_config_makefile dlls/wpcap/tests enable_tests
22494 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
22495 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
22496 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
22497 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
22498 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
22499 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
22500 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
22501 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
22502 wine_fn_config_makefile dlls/wsock32 enable_wsock32
22503 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
22504 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
22505 wine_fn_config_makefile dlls/wuapi enable_wuapi
22506 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
22507 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
22508 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
22509 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
22510 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
22511 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
22512 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
22513 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
22514 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
22515 wine_fn_config_makefile dlls/xactengine2_0 enable_xactengine2_0
22516 wine_fn_config_makefile dlls/xactengine2_4 enable_xactengine2_4
22517 wine_fn_config_makefile dlls/xactengine2_7 enable_xactengine2_7
22518 wine_fn_config_makefile dlls/xactengine2_9 enable_xactengine2_9
22519 wine_fn_config_makefile dlls/xactengine3_0 enable_xactengine3_0
22520 wine_fn_config_makefile dlls/xactengine3_1 enable_xactengine3_1
22521 wine_fn_config_makefile dlls/xactengine3_2 enable_xactengine3_2
22522 wine_fn_config_makefile dlls/xactengine3_3 enable_xactengine3_3
22523 wine_fn_config_makefile dlls/xactengine3_4 enable_xactengine3_4
22524 wine_fn_config_makefile dlls/xactengine3_5 enable_xactengine3_5
22525 wine_fn_config_makefile dlls/xactengine3_6 enable_xactengine3_6
22526 wine_fn_config_makefile dlls/xactengine3_7 enable_xactengine3_7
22527 wine_fn_config_makefile dlls/xactengine3_7/tests enable_tests
22528 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
22529 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
22530 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
22531 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
22532 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
22533 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
22534 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
22535 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
22536 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
22537 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
22538 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
22539 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
22540 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
22541 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
22542 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
22543 wine_fn_config_makefile dlls/xaudio2_8/tests enable_tests
22544 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
22545 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
22546 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
22547 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
22548 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
22549 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
22550 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
22551 wine_fn_config_makefile dlls/xinputuap enable_xinputuap
22552 wine_fn_config_makefile dlls/xmllite enable_xmllite
22553 wine_fn_config_makefile dlls/xmllite/tests enable_tests
22554 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
22555 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
22556 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
22557 wine_fn_config_makefile fonts enable_fonts
22558 wine_fn_config_makefile include enable_include
22559 wine_fn_config_makefile libs/adsiid enable_adsiid
22560 wine_fn_config_makefile libs/dmoguids enable_dmoguids
22561 wine_fn_config_makefile libs/dxerr8 enable_dxerr8
22562 wine_fn_config_makefile libs/dxerr9 enable_dxerr9
22563 wine_fn_config_makefile libs/dxguid enable_dxguid
22564 wine_fn_config_makefile libs/faudio enable_faudio
22565 wine_fn_config_makefile libs/fluidsynth enable_fluidsynth
22566 wine_fn_config_makefile libs/gsm enable_gsm
22567 wine_fn_config_makefile libs/jpeg enable_jpeg
22568 wine_fn_config_makefile libs/jxr enable_jxr
22569 wine_fn_config_makefile libs/lcms2 enable_lcms2
22570 wine_fn_config_makefile libs/ldap enable_ldap
22571 wine_fn_config_makefile libs/mfuuid enable_mfuuid
22572 wine_fn_config_makefile libs/mpg123 enable_mpg123
22573 wine_fn_config_makefile libs/musl enable_musl
22574 wine_fn_config_makefile libs/png enable_png
22575 wine_fn_config_makefile libs/strmbase enable_strmbase
22576 wine_fn_config_makefile libs/strmiids enable_strmiids
22577 wine_fn_config_makefile libs/tiff enable_tiff
22578 wine_fn_config_makefile libs/uuid enable_uuid
22579 wine_fn_config_makefile libs/vkd3d enable_vkd3d
22580 wine_fn_config_makefile libs/wbemuuid enable_wbemuuid
22581 wine_fn_config_makefile libs/wmcodecdspuuid enable_wmcodecdspuuid
22582 wine_fn_config_makefile libs/xml2 enable_xml2
22583 wine_fn_config_makefile libs/xslt enable_xslt
22584 wine_fn_config_makefile libs/zlib enable_zlib
22585 wine_fn_config_makefile libs/zydis enable_zydis
22586 wine_fn_config_makefile loader enable_loader
22587 wine_fn_config_makefile nls enable_nls
22588 wine_fn_config_makefile po enable_po
22589 wine_fn_config_makefile programs/arp enable_arp
22590 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
22591 wine_fn_config_makefile programs/attrib enable_attrib
22592 wine_fn_config_makefile programs/cabarc enable_cabarc
22593 wine_fn_config_makefile programs/cacls enable_cacls
22594 wine_fn_config_makefile programs/certutil enable_certutil
22595 wine_fn_config_makefile programs/chcp.com enable_chcp_com
22596 wine_fn_config_makefile programs/clock enable_clock
22597 wine_fn_config_makefile programs/cmd enable_cmd
22598 wine_fn_config_makefile programs/cmd/tests enable_tests
22599 wine_fn_config_makefile programs/conhost enable_conhost
22600 wine_fn_config_makefile programs/conhost/tests enable_tests
22601 wine_fn_config_makefile programs/control enable_control
22602 wine_fn_config_makefile programs/cscript enable_cscript
22603 wine_fn_config_makefile programs/dism enable_dism
22604 wine_fn_config_makefile programs/dllhost enable_dllhost
22605 wine_fn_config_makefile programs/dplaysvr enable_dplaysvr
22606 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
22607 wine_fn_config_makefile programs/dpvsetup enable_dpvsetup
22608 wine_fn_config_makefile programs/dxdiag enable_dxdiag
22609 wine_fn_config_makefile programs/eject enable_eject
22610 wine_fn_config_makefile programs/expand enable_expand
22611 wine_fn_config_makefile programs/explorer enable_explorer
22612 wine_fn_config_makefile programs/explorer/tests enable_tests
22613 wine_fn_config_makefile programs/extrac32 enable_extrac32
22614 wine_fn_config_makefile programs/fc enable_fc
22615 wine_fn_config_makefile programs/find enable_find
22616 wine_fn_config_makefile programs/find/tests enable_tests
22617 wine_fn_config_makefile programs/findstr enable_findstr
22618 wine_fn_config_makefile programs/findstr/tests enable_tests
22619 wine_fn_config_makefile programs/fsutil enable_fsutil
22620 wine_fn_config_makefile programs/fsutil/tests enable_tests
22621 wine_fn_config_makefile programs/hh enable_hh
22622 wine_fn_config_makefile programs/hostname enable_hostname
22623 wine_fn_config_makefile programs/icacls enable_icacls
22624 wine_fn_config_makefile programs/icinfo enable_icinfo
22625 wine_fn_config_makefile programs/iexplore enable_iexplore
22626 wine_fn_config_makefile programs/ipconfig enable_ipconfig
22627 wine_fn_config_makefile programs/klist enable_klist
22628 wine_fn_config_makefile programs/lodctr enable_lodctr
22629 wine_fn_config_makefile programs/mofcomp enable_mofcomp
22630 wine_fn_config_makefile programs/mshta enable_mshta
22631 wine_fn_config_makefile programs/msidb enable_msidb
22632 wine_fn_config_makefile programs/msiexec enable_msiexec
22633 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
22634 wine_fn_config_makefile programs/net enable_net
22635 wine_fn_config_makefile programs/netsh enable_netsh
22636 wine_fn_config_makefile programs/netstat enable_netstat
22637 wine_fn_config_makefile programs/ngen enable_ngen
22638 wine_fn_config_makefile programs/notepad enable_notepad
22639 wine_fn_config_makefile programs/oleview enable_oleview
22640 wine_fn_config_makefile programs/ping enable_ping
22641 wine_fn_config_makefile programs/plugplay enable_plugplay
22642 wine_fn_config_makefile programs/pnputil enable_pnputil
22643 wine_fn_config_makefile programs/powershell enable_powershell
22644 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
22645 wine_fn_config_makefile programs/progman enable_progman
22646 wine_fn_config_makefile programs/reg enable_reg
22647 wine_fn_config_makefile programs/reg/tests enable_tests
22648 wine_fn_config_makefile programs/regasm enable_regasm
22649 wine_fn_config_makefile programs/regedit enable_regedit
22650 wine_fn_config_makefile programs/regedit/tests enable_tests
22651 wine_fn_config_makefile programs/regini enable_regini
22652 wine_fn_config_makefile programs/regsvcs enable_regsvcs
22653 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
22654 wine_fn_config_makefile programs/robocopy enable_robocopy
22655 wine_fn_config_makefile programs/rpcss enable_rpcss
22656 wine_fn_config_makefile programs/rundll.exe16 enable_win16
22657 wine_fn_config_makefile programs/rundll32 enable_rundll32
22658 wine_fn_config_makefile programs/sc enable_sc
22659 wine_fn_config_makefile programs/sc/tests enable_tests
22660 wine_fn_config_makefile programs/schtasks enable_schtasks
22661 wine_fn_config_makefile programs/schtasks/tests enable_tests
22662 wine_fn_config_makefile programs/sdbinst enable_sdbinst
22663 wine_fn_config_makefile programs/secedit enable_secedit
22664 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
22665 wine_fn_config_makefile programs/services enable_services
22666 wine_fn_config_makefile programs/services/tests enable_tests
22667 wine_fn_config_makefile programs/setx enable_setx
22668 wine_fn_config_makefile programs/shutdown enable_shutdown
22669 wine_fn_config_makefile programs/spoolsv enable_spoolsv
22670 wine_fn_config_makefile programs/start enable_start
22671 wine_fn_config_makefile programs/subst enable_subst
22672 wine_fn_config_makefile programs/svchost enable_svchost
22673 wine_fn_config_makefile programs/systeminfo enable_systeminfo
22674 wine_fn_config_makefile programs/taskkill enable_taskkill
22675 wine_fn_config_makefile programs/tasklist enable_tasklist
22676 wine_fn_config_makefile programs/tasklist/tests enable_tests
22677 wine_fn_config_makefile programs/taskmgr enable_taskmgr
22678 wine_fn_config_makefile programs/termsv enable_termsv
22679 wine_fn_config_makefile programs/uninstaller enable_uninstaller
22680 wine_fn_config_makefile programs/unlodctr enable_unlodctr
22681 wine_fn_config_makefile programs/view enable_view
22682 wine_fn_config_makefile programs/wevtutil enable_wevtutil
22683 wine_fn_config_makefile programs/where enable_where
22684 wine_fn_config_makefile programs/whoami enable_whoami
22685 wine_fn_config_makefile programs/wineboot enable_wineboot
22686 wine_fn_config_makefile programs/winebrowser enable_winebrowser
22687 wine_fn_config_makefile programs/winecfg enable_winecfg
22688 wine_fn_config_makefile programs/wineconsole enable_wineconsole
22689 wine_fn_config_makefile programs/winedbg enable_winedbg
22690 wine_fn_config_makefile programs/winedevice enable_winedevice
22691 wine_fn_config_makefile programs/winefile enable_winefile
22692 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
22693 wine_fn_config_makefile programs/winemine enable_winemine
22694 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
22695 wine_fn_config_makefile programs/winepath enable_winepath
22696 wine_fn_config_makefile programs/winetest enable_winetest
22697 wine_fn_config_makefile programs/winevdm enable_win16
22698 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
22699 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
22700 wine_fn_config_makefile programs/winmgmt enable_winmgmt
22701 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
22702 wine_fn_config_makefile programs/winver enable_winver
22703 wine_fn_config_makefile programs/wmic enable_wmic
22704 wine_fn_config_makefile programs/wmplayer enable_wmplayer
22705 wine_fn_config_makefile programs/wordpad enable_wordpad
22706 wine_fn_config_makefile programs/write enable_write
22707 wine_fn_config_makefile programs/wscript enable_wscript
22708 wine_fn_config_makefile programs/wscript/tests enable_tests
22709 wine_fn_config_makefile programs/wuauserv enable_wuauserv
22710 wine_fn_config_makefile programs/wusa enable_wusa
22711 wine_fn_config_makefile programs/xcopy enable_xcopy
22712 wine_fn_config_makefile programs/xcopy/tests enable_tests
22713 wine_fn_config_makefile server enable_server
22714 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
22715 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
22716 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
22717 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
22718 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
22719 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
22720 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
22721 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
22722 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
22725 as_fn_append CONFIGURE_TARGETS " TAGS"
22726 as_fn_append CONFIGURE_TARGETS " tags"
22727 as_fn_append CONFIGURE_TARGETS " autom4te.cache"
22728 as_fn_append CONFIGURE_TARGETS " config.log"
22729 as_fn_append CONFIGURE_TARGETS " config.status"
22730 as_fn_append CONFIGURE_TARGETS " include/config.h"
22731 as_fn_append CONFIGURE_TARGETS " include/stamp-h"
22732 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS " loader/wine"
22734 if test "x$enable_tools" != xno
22735 then
22736 as_fn_append CONFIGURE_TARGETS " tools/makedep$ac_exeext"
22737 ac_config_commands="$ac_config_commands tools/makedep"
22741 ac_config_commands="$ac_config_commands Makefile"
22745 SHELL=/bin/sh
22748 as_fn_append wine_rules "
22749 all: wine
22750 @echo \"Wine build complete.\"
22751 .INIT: Makefile
22752 .MAKEFILEDEPS:
22753 all: Makefile
22754 Makefile: config.status \$(MAKEDEP)
22755 @./config.status Makefile
22756 depend: \$(MAKEDEP)
22757 \$(MAKEDEP)$makedep_flags"
22760 as_fn_append wine_rules "
22761 config.status: ${wine_srcdir}configure
22762 @./config.status --recheck
22763 include/config.h: include/stamp-h
22764 include/stamp-h: ${wine_srcdir}include/config.h.in config.status
22765 @./config.status include/config.h include/stamp-h"
22767 if test "x$enable_maintainer_mode" = xyes
22768 then
22769 as_fn_append wine_rules "
22770 configure: configure.ac aclocal.m4
22771 autoconf --warnings=all
22772 include/config.h.in: include/stamp-h.in
22773 include/stamp-h.in: configure.ac aclocal.m4
22774 autoheader --warnings=all
22775 @echo timestamp > \$@"
22778 if test "x$enable_tools" != xno
22779 then
22780 as_fn_append wine_rules "
22781 tools/makedep$ac_exeext: ${wine_srcdir}tools/makedep.c include/config.h config.status
22782 @./config.status tools/makedep
22783 Makefile: tools/makedep$ac_exeext"
22784 else
22785 as_fn_append wine_rules "
22786 \$(MAKEDEP):
22787 @echo \"You need to run make in $toolsdir first\" && false"
22791 if test -n "$with_wine64"
22792 then
22793 case "$with_wine64" in
22794 /*) reldir="" ;;
22795 *) reldir="../" ;;
22796 esac
22797 rm -f fonts server 2>/dev/null
22798 as_fn_append wine_rules "
22799 all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
22800 loader/wine64 loader/wine64-preloader:
22801 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
22802 $with_wine64/loader/wine:
22803 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
22804 $with_wine64/loader/wine-preloader:
22805 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
22806 clean::
22807 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
22808 else
22809 TOP_INSTALL_DEV="$TOP_INSTALL_DEV include"
22810 TOP_INSTALL_LIB="$TOP_INSTALL_LIB \
22811 fonts \
22812 loader/wine.inf \
22813 nls \
22814 programs/msidb/msidb \
22815 programs/msiexec/msiexec \
22816 programs/notepad/notepad \
22817 programs/regedit/regedit \
22818 programs/regsvr32/regsvr32 \
22819 programs/wineboot/wineboot \
22820 programs/winecfg/winecfg \
22821 programs/wineconsole/wineconsole \
22822 programs/winedbg/winedbg \
22823 programs/winefile/winefile \
22824 programs/winemine/winemine \
22825 programs/winepath/winepath \
22826 server/wineserver"
22828 case $host_os in
22829 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
22830 *) TOP_INSTALL_LIB="$TOP_INSTALL_LIB loader/wine.desktop" ;;
22831 esac
22835 as_fn_append wine_rules "
22836 distclean:: clean
22837 rm -rf autom4te.cache
22838 maintainer-clean::
22839 rm -f configure include/config.h.in"
22842 as_fn_append wine_rules "
22843 dlls/ntdll/unix/version.c: dummy
22844 @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)
22845 programs/winetest/build.rc: dummy
22846 @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)
22847 programs/winetest/build.nfo:
22848 @-\$(CC) -v 2>\$@
22849 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
22850 cd dlls/wineandroid.drv && gradle -q -Psrcdir=$srcdir assembleDebug
22851 mv dlls/wineandroid.drv/build/outputs/apk/wine-debug.apk \$@"
22854 TAGSFLAGS="--langmap='c:+.idl.l.rh,make:(Make*.in)'"
22856 as_fn_append wine_rules "
22857 TAGS etags:
22858 rm -f TAGS
22859 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs etags -a \$(TAGSFLAGS)
22860 tags ctags:
22861 rm -f tags
22862 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs ctags -a \$(TAGSFLAGS)
22863 dummy:
22864 .PHONY: depend dummy install-manpages"
22866 printf "%s\n" " done" >&6
22867 cat >confcache <<\_ACEOF
22868 # This file is a shell script that caches the results of configure
22869 # tests run on this system so they can be shared between configure
22870 # scripts and configure runs, see configure's option --config-cache.
22871 # It is not useful on other systems. If it contains results you don't
22872 # want to keep, you may remove or edit it.
22874 # config.status only pays attention to the cache file if you give it
22875 # the --recheck option to rerun configure.
22877 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22878 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22879 # following values.
22881 _ACEOF
22883 # The following way of writing the cache mishandles newlines in values,
22884 # but we know of no workaround that is simple, portable, and efficient.
22885 # So, we kill variables containing newlines.
22886 # Ultrix sh set writes to stderr and can't be redirected directly,
22887 # and sets the high bit in the cache file unless we assign to the vars.
22889 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
22890 eval ac_val=\$$ac_var
22891 case $ac_val in #(
22892 *${as_nl}*)
22893 case $ac_var in #(
22894 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
22895 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
22896 esac
22897 case $ac_var in #(
22898 _ | IFS | as_nl) ;; #(
22899 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
22900 *) { eval $ac_var=; unset $ac_var;} ;;
22901 esac ;;
22902 esac
22903 done
22905 (set) 2>&1 |
22906 case $as_nl`(ac_space=' '; set) 2>&1` in #(
22907 *${as_nl}ac_space=\ *)
22908 # `set' does not quote correctly, so add quotes: double-quote
22909 # substitution turns \\\\ into \\, and sed turns \\ into \.
22910 sed -n \
22911 "s/'/'\\\\''/g;
22912 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22913 ;; #(
22915 # `set' quotes correctly as required by POSIX, so do not add quotes.
22916 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22918 esac |
22919 sort
22921 sed '
22922 /^ac_cv_env_/b end
22923 t clear
22924 :clear
22925 s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
22926 t end
22927 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22928 :end' >>confcache
22929 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
22930 if test -w "$cache_file"; then
22931 if test "x$cache_file" != "x/dev/null"; then
22932 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
22933 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
22934 if test ! -f "$cache_file" || test -h "$cache_file"; then
22935 cat confcache >"$cache_file"
22936 else
22937 case $cache_file in #(
22938 */* | ?:*)
22939 mv -f confcache "$cache_file"$$ &&
22940 mv -f "$cache_file"$$ "$cache_file" ;; #(
22942 mv -f confcache "$cache_file" ;;
22943 esac
22946 else
22947 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
22948 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
22951 rm -f confcache
22953 test "x$prefix" = xNONE && prefix=$ac_default_prefix
22954 # Let make expand exec_prefix.
22955 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
22957 DEFS=-DHAVE_CONFIG_H
22959 ac_libobjs=
22960 ac_ltlibobjs=
22962 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
22963 # 1. Remove the extension, and $U if already installed.
22964 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
22965 ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
22966 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
22967 # will be set to the directory where LIBOBJS objects are built.
22968 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
22969 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
22970 done
22971 LIBOBJS=$ac_libobjs
22973 LTLIBOBJS=$ac_ltlibobjs
22977 : "${CONFIG_STATUS=./config.status}"
22978 ac_write_fail=0
22979 ac_clean_files_save=$ac_clean_files
22980 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
22981 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
22982 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
22983 as_write_fail=0
22984 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
22985 #! $SHELL
22986 # Generated by $as_me.
22987 # Run this file to recreate the current configuration.
22988 # Compiler output produced by configure, useful for debugging
22989 # configure, is in config.log if it exists.
22991 debug=false
22992 ac_cs_recheck=false
22993 ac_cs_silent=false
22995 SHELL=\${CONFIG_SHELL-$SHELL}
22996 export SHELL
22997 _ASEOF
22998 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
22999 ## -------------------- ##
23000 ## M4sh Initialization. ##
23001 ## -------------------- ##
23003 # Be more Bourne compatible
23004 DUALCASE=1; export DUALCASE # for MKS sh
23005 as_nop=:
23006 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
23007 then :
23008 emulate sh
23009 NULLCMD=:
23010 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23011 # is contrary to our usage. Disable this feature.
23012 alias -g '${1+"$@"}'='"$@"'
23013 setopt NO_GLOB_SUBST
23014 else $as_nop
23015 case `(set -o) 2>/dev/null` in #(
23016 *posix*) :
23017 set -o posix ;; #(
23018 *) :
23020 esac
23025 # Reset variables that may have inherited troublesome values from
23026 # the environment.
23028 # IFS needs to be set, to space, tab, and newline, in precisely that order.
23029 # (If _AS_PATH_WALK were called with IFS unset, it would have the
23030 # side effect of setting IFS to empty, thus disabling word splitting.)
23031 # Quoting is to prevent editors from complaining about space-tab.
23032 as_nl='
23034 export as_nl
23035 IFS=" "" $as_nl"
23037 PS1='$ '
23038 PS2='> '
23039 PS4='+ '
23041 # Ensure predictable behavior from utilities with locale-dependent output.
23042 LC_ALL=C
23043 export LC_ALL
23044 LANGUAGE=C
23045 export LANGUAGE
23047 # We cannot yet rely on "unset" to work, but we need these variables
23048 # to be unset--not just set to an empty or harmless value--now, to
23049 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
23050 # also avoids known problems related to "unset" and subshell syntax
23051 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
23052 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
23053 do eval test \${$as_var+y} \
23054 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
23055 done
23057 # Ensure that fds 0, 1, and 2 are open.
23058 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
23059 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
23060 if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
23062 # The user is always right.
23063 if ${PATH_SEPARATOR+false} :; then
23064 PATH_SEPARATOR=:
23065 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
23066 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
23067 PATH_SEPARATOR=';'
23072 # Find who we are. Look in the path if we contain no directory separator.
23073 as_myself=
23074 case $0 in #((
23075 *[\\/]* ) as_myself=$0 ;;
23076 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23077 for as_dir in $PATH
23079 IFS=$as_save_IFS
23080 case $as_dir in #(((
23081 '') as_dir=./ ;;
23082 */) ;;
23083 *) as_dir=$as_dir/ ;;
23084 esac
23085 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
23086 done
23087 IFS=$as_save_IFS
23090 esac
23091 # We did not find ourselves, most probably we were run as `sh COMMAND'
23092 # in which case we are not to be found in the path.
23093 if test "x$as_myself" = x; then
23094 as_myself=$0
23096 if test ! -f "$as_myself"; then
23097 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
23098 exit 1
23103 # as_fn_error STATUS ERROR [LINENO LOG_FD]
23104 # ----------------------------------------
23105 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
23106 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
23107 # script with STATUS, using 1 if that was 0.
23108 as_fn_error ()
23110 as_status=$1; test $as_status -eq 0 && as_status=1
23111 if test "$4"; then
23112 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
23113 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
23115 printf "%s\n" "$as_me: error: $2" >&2
23116 as_fn_exit $as_status
23117 } # as_fn_error
23121 # as_fn_set_status STATUS
23122 # -----------------------
23123 # Set $? to STATUS, without forking.
23124 as_fn_set_status ()
23126 return $1
23127 } # as_fn_set_status
23129 # as_fn_exit STATUS
23130 # -----------------
23131 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
23132 as_fn_exit ()
23134 set +e
23135 as_fn_set_status $1
23136 exit $1
23137 } # as_fn_exit
23139 # as_fn_unset VAR
23140 # ---------------
23141 # Portably unset VAR.
23142 as_fn_unset ()
23144 { eval $1=; unset $1;}
23146 as_unset=as_fn_unset
23148 # as_fn_append VAR VALUE
23149 # ----------------------
23150 # Append the text in VALUE to the end of the definition contained in VAR. Take
23151 # advantage of any shell optimizations that allow amortized linear growth over
23152 # repeated appends, instead of the typical quadratic growth present in naive
23153 # implementations.
23154 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
23155 then :
23156 eval 'as_fn_append ()
23158 eval $1+=\$2
23160 else $as_nop
23161 as_fn_append ()
23163 eval $1=\$$1\$2
23165 fi # as_fn_append
23167 # as_fn_arith ARG...
23168 # ------------------
23169 # Perform arithmetic evaluation on the ARGs, and store the result in the
23170 # global $as_val. Take advantage of shells that can avoid forks. The arguments
23171 # must be portable across $(()) and expr.
23172 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
23173 then :
23174 eval 'as_fn_arith ()
23176 as_val=$(( $* ))
23178 else $as_nop
23179 as_fn_arith ()
23181 as_val=`expr "$@" || test $? -eq 1`
23183 fi # as_fn_arith
23186 if expr a : '\(a\)' >/dev/null 2>&1 &&
23187 test "X`expr 00001 : '.*\(...\)'`" = X001; then
23188 as_expr=expr
23189 else
23190 as_expr=false
23193 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
23194 as_basename=basename
23195 else
23196 as_basename=false
23199 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
23200 as_dirname=dirname
23201 else
23202 as_dirname=false
23205 as_me=`$as_basename -- "$0" ||
23206 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
23207 X"$0" : 'X\(//\)$' \| \
23208 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
23209 printf "%s\n" X/"$0" |
23210 sed '/^.*\/\([^/][^/]*\)\/*$/{
23211 s//\1/
23214 /^X\/\(\/\/\)$/{
23215 s//\1/
23218 /^X\/\(\/\).*/{
23219 s//\1/
23222 s/.*/./; q'`
23224 # Avoid depending upon Character Ranges.
23225 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
23226 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
23227 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
23228 as_cr_digits='0123456789'
23229 as_cr_alnum=$as_cr_Letters$as_cr_digits
23232 # Determine whether it's possible to make 'echo' print without a newline.
23233 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
23234 # for compatibility with existing Makefiles.
23235 ECHO_C= ECHO_N= ECHO_T=
23236 case `echo -n x` in #(((((
23237 -n*)
23238 case `echo 'xy\c'` in
23239 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
23240 xy) ECHO_C='\c';;
23241 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
23242 ECHO_T=' ';;
23243 esac;;
23245 ECHO_N='-n';;
23246 esac
23248 # For backward compatibility with old third-party macros, we provide
23249 # the shell variables $as_echo and $as_echo_n. New code should use
23250 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
23251 as_echo='printf %s\n'
23252 as_echo_n='printf %s'
23254 rm -f conf$$ conf$$.exe conf$$.file
23255 if test -d conf$$.dir; then
23256 rm -f conf$$.dir/conf$$.file
23257 else
23258 rm -f conf$$.dir
23259 mkdir conf$$.dir 2>/dev/null
23261 if (echo >conf$$.file) 2>/dev/null; then
23262 if ln -s conf$$.file conf$$ 2>/dev/null; then
23263 as_ln_s='ln -s'
23264 # ... but there are two gotchas:
23265 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
23266 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
23267 # In both cases, we have to default to `cp -pR'.
23268 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
23269 as_ln_s='cp -pR'
23270 elif ln conf$$.file conf$$ 2>/dev/null; then
23271 as_ln_s=ln
23272 else
23273 as_ln_s='cp -pR'
23275 else
23276 as_ln_s='cp -pR'
23278 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
23279 rmdir conf$$.dir 2>/dev/null
23282 # as_fn_mkdir_p
23283 # -------------
23284 # Create "$as_dir" as a directory, including parents if necessary.
23285 as_fn_mkdir_p ()
23288 case $as_dir in #(
23289 -*) as_dir=./$as_dir;;
23290 esac
23291 test -d "$as_dir" || eval $as_mkdir_p || {
23292 as_dirs=
23293 while :; do
23294 case $as_dir in #(
23295 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
23296 *) as_qdir=$as_dir;;
23297 esac
23298 as_dirs="'$as_qdir' $as_dirs"
23299 as_dir=`$as_dirname -- "$as_dir" ||
23300 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23301 X"$as_dir" : 'X\(//\)[^/]' \| \
23302 X"$as_dir" : 'X\(//\)$' \| \
23303 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
23304 printf "%s\n" X"$as_dir" |
23305 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23306 s//\1/
23309 /^X\(\/\/\)[^/].*/{
23310 s//\1/
23313 /^X\(\/\/\)$/{
23314 s//\1/
23317 /^X\(\/\).*/{
23318 s//\1/
23321 s/.*/./; q'`
23322 test -d "$as_dir" && break
23323 done
23324 test -z "$as_dirs" || eval "mkdir $as_dirs"
23325 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
23328 } # as_fn_mkdir_p
23329 if mkdir -p . 2>/dev/null; then
23330 as_mkdir_p='mkdir -p "$as_dir"'
23331 else
23332 test -d ./-p && rmdir ./-p
23333 as_mkdir_p=false
23337 # as_fn_executable_p FILE
23338 # -----------------------
23339 # Test if FILE is an executable regular file.
23340 as_fn_executable_p ()
23342 test -f "$1" && test -x "$1"
23343 } # as_fn_executable_p
23344 as_test_x='test -x'
23345 as_executable_p=as_fn_executable_p
23347 # Sed expression to map a string onto a valid CPP name.
23348 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
23350 # Sed expression to map a string onto a valid variable name.
23351 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
23354 exec 6>&1
23355 ## ----------------------------------- ##
23356 ## Main body of $CONFIG_STATUS script. ##
23357 ## ----------------------------------- ##
23358 _ASEOF
23359 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
23361 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23362 # Save the log message, to keep $0 and so on meaningful, and to
23363 # report actual input values of CONFIG_FILES etc. instead of their
23364 # values after options handling.
23365 ac_log="
23366 This file was extended by Wine $as_me 9.0, which was
23367 generated by GNU Autoconf 2.71. Invocation command line was
23369 CONFIG_FILES = $CONFIG_FILES
23370 CONFIG_HEADERS = $CONFIG_HEADERS
23371 CONFIG_LINKS = $CONFIG_LINKS
23372 CONFIG_COMMANDS = $CONFIG_COMMANDS
23373 $ $0 $@
23375 on `(hostname || uname -n) 2>/dev/null | sed 1q`
23378 _ACEOF
23381 case $ac_config_headers in *"
23382 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
23383 esac
23386 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23387 # Files that config.status was made for.
23388 config_headers="$ac_config_headers"
23389 config_links="$ac_config_links"
23390 config_commands="$ac_config_commands"
23392 _ACEOF
23394 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23395 ac_cs_usage="\
23396 \`$as_me' instantiates files and other configuration actions
23397 from templates according to the current configuration. Unless the files
23398 and actions are specified as TAGs, all are instantiated by default.
23400 Usage: $0 [OPTION]... [TAG]...
23402 -h, --help print this help, then exit
23403 -V, --version print version number and configuration settings, then exit
23404 --config print configuration, then exit
23405 -q, --quiet, --silent
23406 do not print progress messages
23407 -d, --debug don't remove temporary files
23408 --recheck update $as_me by reconfiguring in the same conditions
23409 --header=FILE[:TEMPLATE]
23410 instantiate the configuration header FILE
23412 Configuration headers:
23413 $config_headers
23415 Configuration links:
23416 $config_links
23418 Configuration commands:
23419 $config_commands
23421 Report bugs to <wine-devel@winehq.org>.
23422 Wine home page: <https://www.winehq.org>."
23424 _ACEOF
23425 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
23426 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
23427 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23428 ac_cs_config='$ac_cs_config_escaped'
23429 ac_cs_version="\\
23430 Wine config.status 9.0
23431 configured by $0, generated by GNU Autoconf 2.71,
23432 with options \\"\$ac_cs_config\\"
23434 Copyright (C) 2021 Free Software Foundation, Inc.
23435 This config.status script is free software; the Free Software Foundation
23436 gives unlimited permission to copy, distribute and modify it."
23438 ac_pwd='$ac_pwd'
23439 srcdir='$srcdir'
23440 test -n "\$AWK" || AWK=awk
23441 _ACEOF
23443 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23444 # The default lists apply if the user does not specify any file.
23445 ac_need_defaults=:
23446 while test $# != 0
23448 case $1 in
23449 --*=?*)
23450 ac_option=`expr "X$1" : 'X\([^=]*\)='`
23451 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
23452 ac_shift=:
23454 --*=)
23455 ac_option=`expr "X$1" : 'X\([^=]*\)='`
23456 ac_optarg=
23457 ac_shift=:
23460 ac_option=$1
23461 ac_optarg=$2
23462 ac_shift=shift
23464 esac
23466 case $ac_option in
23467 # Handling of the options.
23468 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
23469 ac_cs_recheck=: ;;
23470 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
23471 printf "%s\n" "$ac_cs_version"; exit ;;
23472 --config | --confi | --conf | --con | --co | --c )
23473 printf "%s\n" "$ac_cs_config"; exit ;;
23474 --debug | --debu | --deb | --de | --d | -d )
23475 debug=: ;;
23476 --header | --heade | --head | --hea )
23477 $ac_shift
23478 case $ac_optarg in
23479 *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
23480 esac
23481 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
23482 ac_need_defaults=false;;
23483 --he | --h)
23484 # Conflict between --help and --header
23485 as_fn_error $? "ambiguous option: \`$1'
23486 Try \`$0 --help' for more information.";;
23487 --help | --hel | -h )
23488 printf "%s\n" "$ac_cs_usage"; exit ;;
23489 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
23490 | -silent | --silent | --silen | --sile | --sil | --si | --s)
23491 ac_cs_silent=: ;;
23493 # This is an error.
23494 -*) as_fn_error $? "unrecognized option: \`$1'
23495 Try \`$0 --help' for more information." ;;
23497 *) as_fn_append ac_config_targets " $1"
23498 ac_need_defaults=false ;;
23500 esac
23501 shift
23502 done
23504 ac_configure_extra_args=
23506 if $ac_cs_silent; then
23507 exec 6>/dev/null
23508 ac_configure_extra_args="$ac_configure_extra_args --silent"
23511 _ACEOF
23512 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23513 if \$ac_cs_recheck; then
23514 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
23515 shift
23516 \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
23517 CONFIG_SHELL='$SHELL'
23518 export CONFIG_SHELL
23519 exec "\$@"
23522 _ACEOF
23523 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23524 exec 5>>config.log
23526 echo
23527 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
23528 ## Running $as_me. ##
23529 _ASBOX
23530 printf "%s\n" "$ac_log"
23531 } >&5
23533 _ACEOF
23534 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23536 # INIT-COMMANDS
23538 wine_fn_output_makedep ()
23540 as_dir=tools; as_fn_mkdir_p
23541 $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
23543 wine_fn_output_makefile ()
23545 cat <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && "$wine_makedep"$makedep_flags && return
23546 # This Makefile understands the following targets:
23548 # all (default): build wine
23549 # clean: remove all intermediate files
23550 # distclean: also remove all files created by configure
23551 # test: run tests
23552 # testclean: clean test results to force running all tests again
23553 # install-lib: install libraries needed to run applications
23554 # install-dev: install development environment
23555 # install: install everything
23556 # uninstall: uninstall everything
23557 # ctags: create a tags file for vim and others.
23558 # etags: create a TAGS file for Emacs.
23560 SHELL = $SHELL
23561 PATH_SEPARATOR = $PATH_SEPARATOR
23562 PACKAGE_NAME = $PACKAGE_NAME
23563 PACKAGE_TARNAME = $PACKAGE_TARNAME
23564 PACKAGE_VERSION = $PACKAGE_VERSION
23565 PACKAGE_STRING = $PACKAGE_STRING
23566 PACKAGE_BUGREPORT = $PACKAGE_BUGREPORT
23567 PACKAGE_URL = $PACKAGE_URL
23568 exec_prefix = $exec_prefix
23569 prefix = $prefix
23570 program_transform_name = $program_transform_name
23571 bindir = $bindir
23572 sbindir = $sbindir
23573 libexecdir = $libexecdir
23574 datarootdir = $datarootdir
23575 datadir = $datadir
23576 sysconfdir = $sysconfdir
23577 sharedstatedir = $sharedstatedir
23578 localstatedir = $localstatedir
23579 runstatedir = $runstatedir
23580 includedir = $includedir
23581 oldincludedir = $oldincludedir
23582 docdir = $docdir
23583 infodir = $infodir
23584 htmldir = $htmldir
23585 dvidir = $dvidir
23586 pdfdir = $pdfdir
23587 psdir = $psdir
23588 libdir = $libdir
23589 localedir = $localedir
23590 mandir = $mandir
23591 DEFS = $DEFS
23592 ECHO_C = $ECHO_C
23593 ECHO_N = $ECHO_N
23594 ECHO_T = $ECHO_T
23595 LIBS = $LIBS
23596 build_alias = $build_alias
23597 host_alias = $host_alias
23598 target_alias = $target_alias
23599 system_dllpath = $system_dllpath
23600 build = $build
23601 build_cpu = $build_cpu
23602 build_vendor = $build_vendor
23603 build_os = $build_os
23604 host = $host
23605 host_cpu = $host_cpu
23606 host_vendor = $host_vendor
23607 host_os = $host_os
23608 dlldir = $dlldir
23609 fontdir = $fontdir
23610 nlsdir = $nlsdir
23611 srcdir = $srcdir
23612 SET_MAKE = $SET_MAKE
23613 CC = $CC
23614 CFLAGS = $CFLAGS
23615 LDFLAGS = $LDFLAGS
23616 CPPFLAGS = $CPPFLAGS
23617 ac_ct_CC = $ac_ct_CC
23618 EXEEXT = $EXEEXT
23619 OBJEXT = $OBJEXT
23620 CXX = $CXX
23621 CXXFLAGS = $CXXFLAGS
23622 ac_ct_CXX = $ac_ct_CXX
23623 CPPBIN = $CPPBIN
23624 LD = $LD
23625 TARGETFLAGS = $TARGETFLAGS
23626 toolsext = $toolsext
23627 HOST_ARCH = $HOST_ARCH
23628 aarch64_CC = $aarch64_CC
23629 aarch64_CFLAGS = $aarch64_CFLAGS
23630 aarch64_EXTRACFLAGS = $aarch64_EXTRACFLAGS
23631 aarch64_LDFLAGS = $aarch64_LDFLAGS
23632 aarch64_DEBUG = $aarch64_DEBUG
23633 aarch64_TARGET = $aarch64_TARGET
23634 aarch64_DELAYLOADFLAG = $aarch64_DELAYLOADFLAG
23635 aarch64_DISABLED_SUBDIRS = $aarch64_DISABLED_SUBDIRS
23636 arm_CC = $arm_CC
23637 arm_CFLAGS = $arm_CFLAGS
23638 arm_EXTRACFLAGS = $arm_EXTRACFLAGS
23639 arm_LDFLAGS = $arm_LDFLAGS
23640 arm_DEBUG = $arm_DEBUG
23641 arm_TARGET = $arm_TARGET
23642 arm_DELAYLOADFLAG = $arm_DELAYLOADFLAG
23643 arm_DISABLED_SUBDIRS = $arm_DISABLED_SUBDIRS
23644 arm64ec_CC = $arm64ec_CC
23645 arm64ec_CFLAGS = $arm64ec_CFLAGS
23646 arm64ec_EXTRACFLAGS = $arm64ec_EXTRACFLAGS
23647 arm64ec_LDFLAGS = $arm64ec_LDFLAGS
23648 arm64ec_DEBUG = $arm64ec_DEBUG
23649 arm64ec_TARGET = $arm64ec_TARGET
23650 arm64ec_DELAYLOADFLAG = $arm64ec_DELAYLOADFLAG
23651 arm64ec_DISABLED_SUBDIRS = $arm64ec_DISABLED_SUBDIRS
23652 i386_CC = $i386_CC
23653 i386_CFLAGS = $i386_CFLAGS
23654 i386_EXTRACFLAGS = $i386_EXTRACFLAGS
23655 i386_LDFLAGS = $i386_LDFLAGS
23656 i386_DEBUG = $i386_DEBUG
23657 i386_TARGET = $i386_TARGET
23658 i386_DELAYLOADFLAG = $i386_DELAYLOADFLAG
23659 i386_DISABLED_SUBDIRS = $i386_DISABLED_SUBDIRS
23660 x86_64_CC = $x86_64_CC
23661 x86_64_CFLAGS = $x86_64_CFLAGS
23662 x86_64_EXTRACFLAGS = $x86_64_EXTRACFLAGS
23663 x86_64_LDFLAGS = $x86_64_LDFLAGS
23664 x86_64_DEBUG = $x86_64_DEBUG
23665 x86_64_TARGET = $x86_64_TARGET
23666 x86_64_DELAYLOADFLAG = $x86_64_DELAYLOADFLAG
23667 x86_64_DISABLED_SUBDIRS = $x86_64_DISABLED_SUBDIRS
23668 toolsdir = $toolsdir
23669 MAKEDEP = $MAKEDEP
23670 RUNTESTFLAGS = $RUNTESTFLAGS
23671 SED_CMD = $SED_CMD
23672 FLEX = $FLEX
23673 BISON = $BISON
23674 AR = $AR
23675 ac_ct_AR = $ac_ct_AR
23676 STRIP = $STRIP
23677 RANLIB = $RANLIB
23678 LN_S = $LN_S
23679 GREP = $GREP
23680 EGREP = $EGREP
23681 LDCONFIG = $LDCONFIG
23682 MSGFMT = $MSGFMT
23683 PKG_CONFIG = $PKG_CONFIG
23684 FONTFORGE = $FONTFORGE
23685 RSVG = $RSVG
23686 CONVERT = $CONVERT
23687 ICOTOOL = $ICOTOOL
23688 I386_LIBS = $I386_LIBS
23689 OPENGL_LIBS = $OPENGL_LIBS
23690 DLLFLAGS = $DLLFLAGS
23691 LDDLLFLAGS = $LDDLLFLAGS
23692 LDEXECFLAGS = $LDEXECFLAGS
23693 EXTRACFLAGS = $EXTRACFLAGS
23694 UNIXDLLFLAGS = $UNIXDLLFLAGS
23695 UNIXLDFLAGS = $UNIXLDFLAGS
23696 TOP_INSTALL_LIB = $TOP_INSTALL_LIB
23697 TOP_INSTALL_DEV = $TOP_INSTALL_DEV
23698 WINELOADER_LDFLAGS = $WINELOADER_LDFLAGS
23699 WINEPRELOADER_LDFLAGS = $WINEPRELOADER_LDFLAGS
23700 DLLEXT = $DLLEXT
23701 LDD = $LDD
23702 OTOOL = $OTOOL
23703 READELF = $READELF
23704 SUBDIRS = $SUBDIRS
23705 DISABLED_SUBDIRS = $DISABLED_SUBDIRS
23706 CONFIGURE_TARGETS = $CONFIGURE_TARGETS
23707 CARBON_LIBS = $CARBON_LIBS
23708 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
23709 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
23710 IOKIT_LIBS = $IOKIT_LIBS
23711 METAL_LIBS = $METAL_LIBS
23712 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
23713 CORESERVICES_LIBS = $CORESERVICES_LIBS
23714 APPKIT_LIBS = $APPKIT_LIBS
23715 SECURITY_LIBS = $SECURITY_LIBS
23716 SYSTEMCONFIGURATION_LIBS = $SYSTEMCONFIGURATION_LIBS
23717 COREAUDIO_LIBS = $COREAUDIO_LIBS
23718 OPENCL_LIBS = $OPENCL_LIBS
23719 OBJC = $OBJC
23720 OBJCFLAGS = $OBJCFLAGS
23721 ac_ct_OBJC = $ac_ct_OBJC
23722 WINELOADER_DEPENDS = $WINELOADER_DEPENDS
23723 PE_ARCHS = $PE_ARCHS
23724 MINGW_PKG_CONFIG = $MINGW_PKG_CONFIG
23725 FAUDIO_PE_CFLAGS = $FAUDIO_PE_CFLAGS
23726 FAUDIO_PE_LIBS = $FAUDIO_PE_LIBS
23727 FLUIDSYNTH_PE_CFLAGS = $FLUIDSYNTH_PE_CFLAGS
23728 FLUIDSYNTH_PE_LIBS = $FLUIDSYNTH_PE_LIBS
23729 GSM_PE_CFLAGS = $GSM_PE_CFLAGS
23730 GSM_PE_LIBS = $GSM_PE_LIBS
23731 JPEG_PE_CFLAGS = $JPEG_PE_CFLAGS
23732 JPEG_PE_LIBS = $JPEG_PE_LIBS
23733 JXR_PE_CFLAGS = $JXR_PE_CFLAGS
23734 JXR_PE_LIBS = $JXR_PE_LIBS
23735 LCMS2_PE_CFLAGS = $LCMS2_PE_CFLAGS
23736 LCMS2_PE_LIBS = $LCMS2_PE_LIBS
23737 LDAP_PE_CFLAGS = $LDAP_PE_CFLAGS
23738 LDAP_PE_LIBS = $LDAP_PE_LIBS
23739 MPG123_PE_CFLAGS = $MPG123_PE_CFLAGS
23740 MPG123_PE_LIBS = $MPG123_PE_LIBS
23741 MUSL_PE_CFLAGS = $MUSL_PE_CFLAGS
23742 MUSL_PE_LIBS = $MUSL_PE_LIBS
23743 PNG_PE_CFLAGS = $PNG_PE_CFLAGS
23744 PNG_PE_LIBS = $PNG_PE_LIBS
23745 TIFF_PE_CFLAGS = $TIFF_PE_CFLAGS
23746 TIFF_PE_LIBS = $TIFF_PE_LIBS
23747 VKD3D_PE_CFLAGS = $VKD3D_PE_CFLAGS
23748 VKD3D_PE_LIBS = $VKD3D_PE_LIBS
23749 XML2_PE_CFLAGS = $XML2_PE_CFLAGS
23750 XML2_PE_LIBS = $XML2_PE_LIBS
23751 XSLT_PE_CFLAGS = $XSLT_PE_CFLAGS
23752 XSLT_PE_LIBS = $XSLT_PE_LIBS
23753 ZLIB_PE_CFLAGS = $ZLIB_PE_CFLAGS
23754 ZLIB_PE_LIBS = $ZLIB_PE_LIBS
23755 ZYDIS_PE_CFLAGS = $ZYDIS_PE_CFLAGS
23756 ZYDIS_PE_LIBS = $ZYDIS_PE_LIBS
23757 PTHREAD_LIBS = $PTHREAD_LIBS
23758 XMKMF = $XMKMF
23759 CPP = $CPP
23760 X_CFLAGS = $X_CFLAGS
23761 X_PRE_LIBS = $X_PRE_LIBS
23762 X_LIBS = $X_LIBS
23763 X_EXTRA_LIBS = $X_EXTRA_LIBS
23764 WAYLAND_CLIENT_CFLAGS = $WAYLAND_CLIENT_CFLAGS
23765 WAYLAND_CLIENT_LIBS = $WAYLAND_CLIENT_LIBS
23766 WAYLAND_SCANNER = $WAYLAND_SCANNER
23767 XKBCOMMON_CFLAGS = $XKBCOMMON_CFLAGS
23768 XKBCOMMON_LIBS = $XKBCOMMON_LIBS
23769 XKBREGISTRY_CFLAGS = $XKBREGISTRY_CFLAGS
23770 XKBREGISTRY_LIBS = $XKBREGISTRY_LIBS
23771 PCAP_LIBS = $PCAP_LIBS
23772 PCSCLITE_LIBS = $PCSCLITE_LIBS
23773 INOTIFY_CFLAGS = $INOTIFY_CFLAGS
23774 INOTIFY_LIBS = $INOTIFY_LIBS
23775 DBUS_CFLAGS = $DBUS_CFLAGS
23776 DBUS_LIBS = $DBUS_LIBS
23777 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
23778 GNUTLS_LIBS = $GNUTLS_LIBS
23779 SANE_CFLAGS = $SANE_CFLAGS
23780 SANE_LIBS = $SANE_LIBS
23781 USB_CFLAGS = $USB_CFLAGS
23782 USB_LIBS = $USB_LIBS
23783 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
23784 GPHOTO2_LIBS = $GPHOTO2_LIBS
23785 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
23786 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
23787 RESOLV_LIBS = $RESOLV_LIBS
23788 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
23789 FREETYPE_LIBS = $FREETYPE_LIBS
23790 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
23791 PULSE_CFLAGS = $PULSE_CFLAGS
23792 PULSE_LIBS = $PULSE_LIBS
23793 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
23794 GSTREAMER_LIBS = $GSTREAMER_LIBS
23795 ALSA_LIBS = $ALSA_LIBS
23796 OSS4_CFLAGS = $OSS4_CFLAGS
23797 OSS4_LIBS = $OSS4_LIBS
23798 UDEV_CFLAGS = $UDEV_CFLAGS
23799 UDEV_LIBS = $UDEV_LIBS
23800 UNWIND_CFLAGS = $UNWIND_CFLAGS
23801 UNWIND_LIBS = $UNWIND_LIBS
23802 SDL2_CFLAGS = $SDL2_CFLAGS
23803 SDL2_LIBS = $SDL2_LIBS
23804 CAPI20_CFLAGS = $CAPI20_CFLAGS
23805 CAPI20_LIBS = $CAPI20_LIBS
23806 CUPS_CFLAGS = $CUPS_CFLAGS
23807 CUPS_LIBS = $CUPS_LIBS
23808 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
23809 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
23810 KRB5_CFLAGS = $KRB5_CFLAGS
23811 KRB5_LIBS = $KRB5_LIBS
23812 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
23813 GSSAPI_LIBS = $GSSAPI_LIBS
23814 PROCSTAT_LIBS = $PROCSTAT_LIBS
23815 NETAPI_CFLAGS = $NETAPI_CFLAGS
23816 NETAPI_LIBS = $NETAPI_LIBS
23817 MSVCRTFLAGS = $MSVCRTFLAGS
23818 DELAYLOADFLAG = $DELAYLOADFLAG
23819 WINELOADER_PROGRAMS = $WINELOADER_PROGRAMS
23820 RT_LIBS = $RT_LIBS
23821 TAGSFLAGS = $TAGSFLAGS
23822 LIBOBJS = $LIBOBJS
23823 LTLIBOBJS = $LTLIBOBJS
23824 $SET_MAKE
23825 $wine_rules
23826 _WINE_EOF
23827 as_fn_error $? "could not create Makefile" "$LINENO" 5
23830 _ACEOF
23832 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23834 # Handling of arguments.
23835 for ac_config_target in $ac_config_targets
23837 case $ac_config_target in
23838 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
23839 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
23840 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
23841 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
23842 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
23843 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
23845 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
23846 esac
23847 done
23850 # If the user did not use the arguments to specify the items to instantiate,
23851 # then the envvar interface is used. Set only those that are not.
23852 # We use the long form for the default assignment because of an extremely
23853 # bizarre bug on SunOS 4.1.3.
23854 if $ac_need_defaults; then
23855 test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
23856 test ${CONFIG_LINKS+y} || CONFIG_LINKS=$config_links
23857 test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
23860 # Have a temporary directory for convenience. Make it in the build tree
23861 # simply because there is no reason against having it here, and in addition,
23862 # creating and moving files from /tmp can sometimes cause problems.
23863 # Hook for its removal unless debugging.
23864 # Note that there is a small window in which the directory will not be cleaned:
23865 # after its creation but before its name has been assigned to `$tmp'.
23866 $debug ||
23868 tmp= ac_tmp=
23869 trap 'exit_status=$?
23870 : "${ac_tmp:=$tmp}"
23871 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
23873 trap 'as_fn_exit 1' 1 2 13 15
23875 # Create a (secure) tmp directory for tmp files.
23878 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
23879 test -d "$tmp"
23880 } ||
23882 tmp=./conf$$-$RANDOM
23883 (umask 077 && mkdir "$tmp")
23884 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
23885 ac_tmp=$tmp
23887 # Set up the scripts for CONFIG_HEADERS section.
23888 # No need to generate them if there are no CONFIG_HEADERS.
23889 # This happens for instance with `./config.status Makefile'.
23890 if test -n "$CONFIG_HEADERS"; then
23891 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
23892 BEGIN {
23893 _ACEOF
23895 # Transform confdefs.h into an awk script `defines.awk', embedded as
23896 # here-document in config.status, that substitutes the proper values into
23897 # config.h.in to produce config.h.
23899 # Create a delimiter string that does not exist in confdefs.h, to ease
23900 # handling of long lines.
23901 ac_delim='%!_!# '
23902 for ac_last_try in false false :; do
23903 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
23904 if test -z "$ac_tt"; then
23905 break
23906 elif $ac_last_try; then
23907 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
23908 else
23909 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
23911 done
23913 # For the awk script, D is an array of macro values keyed by name,
23914 # likewise P contains macro parameters if any. Preserve backslash
23915 # newline sequences.
23917 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
23918 sed -n '
23919 s/.\{148\}/&'"$ac_delim"'/g
23920 t rset
23921 :rset
23922 s/^[ ]*#[ ]*define[ ][ ]*/ /
23923 t def
23925 :def
23926 s/\\$//
23927 t bsnl
23928 s/["\\]/\\&/g
23929 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
23930 D["\1"]=" \3"/p
23931 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
23933 :bsnl
23934 s/["\\]/\\&/g
23935 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
23936 D["\1"]=" \3\\\\\\n"\\/p
23937 t cont
23938 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
23939 t cont
23941 :cont
23943 s/.\{148\}/&'"$ac_delim"'/g
23944 t clear
23945 :clear
23946 s/\\$//
23947 t bsnlc
23948 s/["\\]/\\&/g; s/^/"/; s/$/"/p
23950 :bsnlc
23951 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
23952 b cont
23953 ' <confdefs.h | sed '
23954 s/'"$ac_delim"'/"\\\
23955 "/g' >>$CONFIG_STATUS || ac_write_fail=1
23957 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23958 for (key in D) D_is_set[key] = 1
23959 FS = "\a"
23961 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
23962 line = \$ 0
23963 split(line, arg, " ")
23964 if (arg[1] == "#") {
23965 defundef = arg[2]
23966 mac1 = arg[3]
23967 } else {
23968 defundef = substr(arg[1], 2)
23969 mac1 = arg[2]
23971 split(mac1, mac2, "(") #)
23972 macro = mac2[1]
23973 prefix = substr(line, 1, index(line, defundef) - 1)
23974 if (D_is_set[macro]) {
23975 # Preserve the white space surrounding the "#".
23976 print prefix "define", macro P[macro] D[macro]
23977 next
23978 } else {
23979 # Replace #undef with comments. This is necessary, for example,
23980 # in the case of _POSIX_SOURCE, which is predefined and required
23981 # on some systems where configure will not decide to define it.
23982 if (defundef == "undef") {
23983 print "/*", prefix defundef, macro, "*/"
23984 next
23988 { print }
23989 _ACAWK
23990 _ACEOF
23991 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23992 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
23993 fi # test -n "$CONFIG_HEADERS"
23996 eval set X " :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
23997 shift
23998 for ac_tag
24000 case $ac_tag in
24001 :[FHLC]) ac_mode=$ac_tag; continue;;
24002 esac
24003 case $ac_mode$ac_tag in
24004 :[FHL]*:*);;
24005 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
24006 :[FH]-) ac_tag=-:-;;
24007 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
24008 esac
24009 ac_save_IFS=$IFS
24010 IFS=:
24011 set x $ac_tag
24012 IFS=$ac_save_IFS
24013 shift
24014 ac_file=$1
24015 shift
24017 case $ac_mode in
24018 :L) ac_source=$1;;
24019 :[FH])
24020 ac_file_inputs=
24021 for ac_f
24023 case $ac_f in
24024 -) ac_f="$ac_tmp/stdin";;
24025 *) # Look for the file first in the build tree, then in the source tree
24026 # (if the path is not absolute). The absolute path cannot be DOS-style,
24027 # because $ac_f cannot contain `:'.
24028 test -f "$ac_f" ||
24029 case $ac_f in
24030 [\\/$]*) false;;
24031 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
24032 esac ||
24033 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
24034 esac
24035 case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
24036 as_fn_append ac_file_inputs " '$ac_f'"
24037 done
24039 # Let's still pretend it is `configure' which instantiates (i.e., don't
24040 # use $as_me), people would be surprised to read:
24041 # /* config.h. Generated by config.status. */
24042 configure_input='Generated from '`
24043 printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
24044 `' by configure.'
24045 if test x"$ac_file" != x-; then
24046 configure_input="$ac_file. $configure_input"
24047 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
24048 printf "%s\n" "$as_me: creating $ac_file" >&6;}
24050 # Neutralize special characters interpreted by sed in replacement strings.
24051 case $configure_input in #(
24052 *\&* | *\|* | *\\* )
24053 ac_sed_conf_input=`printf "%s\n" "$configure_input" |
24054 sed 's/[\\\\&|]/\\\\&/g'`;; #(
24055 *) ac_sed_conf_input=$configure_input;;
24056 esac
24058 case $ac_tag in
24059 *:-:* | *:-) cat >"$ac_tmp/stdin" \
24060 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
24061 esac
24063 esac
24065 ac_dir=`$as_dirname -- "$ac_file" ||
24066 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24067 X"$ac_file" : 'X\(//\)[^/]' \| \
24068 X"$ac_file" : 'X\(//\)$' \| \
24069 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
24070 printf "%s\n" X"$ac_file" |
24071 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
24072 s//\1/
24075 /^X\(\/\/\)[^/].*/{
24076 s//\1/
24079 /^X\(\/\/\)$/{
24080 s//\1/
24083 /^X\(\/\).*/{
24084 s//\1/
24087 s/.*/./; q'`
24088 as_dir="$ac_dir"; as_fn_mkdir_p
24089 ac_builddir=.
24091 case "$ac_dir" in
24092 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
24094 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
24095 # A ".." for each directory in $ac_dir_suffix.
24096 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
24097 case $ac_top_builddir_sub in
24098 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
24099 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
24100 esac ;;
24101 esac
24102 ac_abs_top_builddir=$ac_pwd
24103 ac_abs_builddir=$ac_pwd$ac_dir_suffix
24104 # for backward compatibility:
24105 ac_top_builddir=$ac_top_build_prefix
24107 case $srcdir in
24108 .) # We are building in place.
24109 ac_srcdir=.
24110 ac_top_srcdir=$ac_top_builddir_sub
24111 ac_abs_top_srcdir=$ac_pwd ;;
24112 [\\/]* | ?:[\\/]* ) # Absolute name.
24113 ac_srcdir=$srcdir$ac_dir_suffix;
24114 ac_top_srcdir=$srcdir
24115 ac_abs_top_srcdir=$srcdir ;;
24116 *) # Relative name.
24117 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
24118 ac_top_srcdir=$ac_top_build_prefix$srcdir
24119 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
24120 esac
24121 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
24124 case $ac_mode in
24128 # CONFIG_HEADER
24130 if test x"$ac_file" != x-; then
24132 printf "%s\n" "/* $configure_input */" >&1 \
24133 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
24134 } >"$ac_tmp/config.h" \
24135 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
24136 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
24137 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
24138 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
24139 else
24140 rm -f "$ac_file"
24141 mv "$ac_tmp/config.h" "$ac_file" \
24142 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
24144 else
24145 printf "%s\n" "/* $configure_input */" >&1 \
24146 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
24147 || as_fn_error $? "could not create -" "$LINENO" 5
24152 # CONFIG_LINK
24155 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
24157 else
24158 # Prefer the file from the source tree if names are identical.
24159 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
24160 ac_source=$srcdir/$ac_source
24163 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
24164 printf "%s\n" "$as_me: linking $ac_source to $ac_file" >&6;}
24166 if test ! -r "$ac_source"; then
24167 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
24169 rm -f "$ac_file"
24171 # Try a relative symlink, then a hard link, then a copy.
24172 case $ac_source in
24173 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
24174 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
24175 esac
24176 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
24177 ln "$ac_source" "$ac_file" 2>/dev/null ||
24178 cp -p "$ac_source" "$ac_file" ||
24179 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
24182 :C) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
24183 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
24185 esac
24188 case $ac_file$ac_mode in
24189 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
24190 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
24191 "Makefile":C) wine_fn_output_makefile Makefile ;;
24193 esac
24194 done # for ac_tag
24197 as_fn_exit 0
24198 _ACEOF
24199 ac_clean_files=$ac_clean_files_save
24201 test $ac_write_fail = 0 ||
24202 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
24205 # configure is writing to config.log, and then calls config.status.
24206 # config.status does its own redirection, appending to config.log.
24207 # Unfortunately, on DOS this fails, as config.log is still kept open
24208 # by configure, so config.status won't be able to write to it; its
24209 # output is simply discarded. So we exec the FD to /dev/null,
24210 # effectively closing config.log, so it can be properly (re)opened and
24211 # appended to by config.status. When coming back to configure, we
24212 # need to make the FD available again.
24213 if test "$no_create" != yes; then
24214 ac_cs_success=:
24215 ac_config_status_args=
24216 test "$silent" = yes &&
24217 ac_config_status_args="$ac_config_status_args --quiet"
24218 exec 5>/dev/null
24219 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
24220 exec 5>>config.log
24221 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
24222 # would make configure fail if this is the last instruction.
24223 $ac_cs_success || as_fn_exit 1
24225 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
24226 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
24227 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
24231 if test "$no_create" = "yes"
24232 then
24233 exit 0
24236 ac_save_IFS="$IFS"
24237 if test "x$wine_notices" != x; then
24238 echo >&6
24239 IFS="|"
24240 for msg in $wine_notices; do
24241 IFS="$ac_save_IFS"
24242 if ${msg:+false} :
24243 then :
24245 else $as_nop
24246 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $msg" >&5
24247 printf "%s\n" "$as_me: $msg" >&6;}
24249 done
24251 IFS="|"
24252 for msg in $wine_warnings; do
24253 IFS="$ac_save_IFS"
24254 if ${msg:+false} :
24255 then :
24257 else $as_nop
24258 echo >&2
24259 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
24260 printf "%s\n" "$as_me: WARNING: $msg" >&2;}
24262 done
24263 IFS="$ac_save_IFS"
24265 printf "%s\n" "
24266 $as_me: Finished. Do '${ac_make}' to compile Wine.
24267 " >&6