wined3d: Pass "shader->function" as source to vkd3d_shader_scan() in shader_spirv_sca...
[wine.git] / configure
blob83a641ff54247a0a435a2fe8f1b6d49d92f4bfe2
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.71 for Wine 9.3.
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.3'
615 PACKAGE_STRING='Wine 9.3'
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_fontconfig
933 with_freetype
934 with_gettext
935 with_gettextpo
936 with_gphoto
937 with_gnutls
938 with_gssapi
939 with_gstreamer
940 with_inotify
941 with_krb5
942 with_mingw
943 with_netapi
944 with_opencl
945 with_opengl
946 with_osmesa
947 with_oss
948 with_pcap
949 with_pcsclite
950 with_pthread
951 with_pulse
952 with_sane
953 with_sdl
954 with_udev
955 with_unwind
956 with_usb
957 with_v4l2
958 with_vulkan
959 with_wayland
960 with_xcomposite
961 with_xcursor
962 with_xfixes
963 with_xinerama
964 with_xinput
965 with_xinput2
966 with_xrandr
967 with_xrender
968 with_xshape
969 with_xshm
970 with_xxf86vm
971 with_system_dllpath
972 with_wine_tools
973 with_wine64
974 enable_largefile
975 with_x
976 enable_acledit
977 enable_aclui
978 enable_activeds_tlb
979 enable_activeds
980 enable_actxprxy
981 enable_adsldp
982 enable_adsldpc
983 enable_advapi32
984 enable_advpack
985 enable_amsi
986 enable_amstream
987 enable_apisetschema
988 enable_apphelp
989 enable_appwiz_cpl
990 enable_appxdeploymentclient
991 enable_atl
992 enable_atl100
993 enable_atl110
994 enable_atl80
995 enable_atl90
996 enable_atlthunk
997 enable_atmlib
998 enable_authz
999 enable_avicap32
1000 enable_avifil32
1001 enable_avrt
1002 enable_bcrypt
1003 enable_bcryptprimitives
1004 enable_bluetoothapis
1005 enable_browseui
1006 enable_bthprops_cpl
1007 enable_cabinet
1008 enable_capi2032
1009 enable_cards
1010 enable_cdosys
1011 enable_cfgmgr32
1012 enable_clusapi
1013 enable_cng_sys
1014 enable_combase
1015 enable_comcat
1016 enable_comctl32
1017 enable_comdlg32
1018 enable_coml2
1019 enable_compstui
1020 enable_comsvcs
1021 enable_concrt140
1022 enable_connect
1023 enable_credui
1024 enable_crtdll
1025 enable_crypt32
1026 enable_cryptdlg
1027 enable_cryptdll
1028 enable_cryptext
1029 enable_cryptnet
1030 enable_cryptowinrt
1031 enable_cryptsp
1032 enable_cryptui
1033 enable_ctapi32
1034 enable_ctl3d32
1035 enable_d2d1
1036 enable_d3d10
1037 enable_d3d10_1
1038 enable_d3d10core
1039 enable_d3d11
1040 enable_d3d12
1041 enable_d3d12core
1042 enable_d3d8
1043 enable_d3d8thk
1044 enable_d3d9
1045 enable_d3dcompiler_33
1046 enable_d3dcompiler_34
1047 enable_d3dcompiler_35
1048 enable_d3dcompiler_36
1049 enable_d3dcompiler_37
1050 enable_d3dcompiler_38
1051 enable_d3dcompiler_39
1052 enable_d3dcompiler_40
1053 enable_d3dcompiler_41
1054 enable_d3dcompiler_42
1055 enable_d3dcompiler_43
1056 enable_d3dcompiler_46
1057 enable_d3dcompiler_47
1058 enable_d3dim
1059 enable_d3dim700
1060 enable_d3drm
1061 enable_d3dx10_33
1062 enable_d3dx10_34
1063 enable_d3dx10_35
1064 enable_d3dx10_36
1065 enable_d3dx10_37
1066 enable_d3dx10_38
1067 enable_d3dx10_39
1068 enable_d3dx10_40
1069 enable_d3dx10_41
1070 enable_d3dx10_42
1071 enable_d3dx10_43
1072 enable_d3dx11_42
1073 enable_d3dx11_43
1074 enable_d3dx9_24
1075 enable_d3dx9_25
1076 enable_d3dx9_26
1077 enable_d3dx9_27
1078 enable_d3dx9_28
1079 enable_d3dx9_29
1080 enable_d3dx9_30
1081 enable_d3dx9_31
1082 enable_d3dx9_32
1083 enable_d3dx9_33
1084 enable_d3dx9_34
1085 enable_d3dx9_35
1086 enable_d3dx9_36
1087 enable_d3dx9_37
1088 enable_d3dx9_38
1089 enable_d3dx9_39
1090 enable_d3dx9_40
1091 enable_d3dx9_41
1092 enable_d3dx9_42
1093 enable_d3dx9_43
1094 enable_d3dxof
1095 enable_davclnt
1096 enable_dbgeng
1097 enable_dbghelp
1098 enable_dciman32
1099 enable_dcomp
1100 enable_ddraw
1101 enable_ddrawex
1102 enable_devenum
1103 enable_dhcpcsvc
1104 enable_dhcpcsvc6
1105 enable_dhtmled_ocx
1106 enable_diasymreader
1107 enable_difxapi
1108 enable_dinput
1109 enable_dinput8
1110 enable_directmanipulation
1111 enable_dispex
1112 enable_dmband
1113 enable_dmcompos
1114 enable_dmime
1115 enable_dmloader
1116 enable_dmscript
1117 enable_dmstyle
1118 enable_dmsynth
1119 enable_dmusic
1120 enable_dmusic32
1121 enable_dnsapi
1122 enable_dplay
1123 enable_dplayx
1124 enable_dpnaddr
1125 enable_dpnet
1126 enable_dpnhpast
1127 enable_dpnhupnp
1128 enable_dpnlobby
1129 enable_dpvoice
1130 enable_dpwsockx
1131 enable_drmclien
1132 enable_dsdmo
1133 enable_dsound
1134 enable_dsquery
1135 enable_dssenh
1136 enable_dsuiext
1137 enable_dswave
1138 enable_dwmapi
1139 enable_dwrite
1140 enable_dx8vb
1141 enable_dxcore
1142 enable_dxdiagn
1143 enable_dxgi
1144 enable_dxtrans
1145 enable_dxva2
1146 enable_esent
1147 enable_evr
1148 enable_explorerframe
1149 enable_faultrep
1150 enable_feclient
1151 enable_fltlib
1152 enable_fltmgr_sys
1153 enable_fntcache
1154 enable_fontsub
1155 enable_fusion
1156 enable_fwpuclnt
1157 enable_gameux
1158 enable_gamingtcui
1159 enable_gdi32
1160 enable_gdiplus
1161 enable_geolocation
1162 enable_glu32
1163 enable_gphoto2_ds
1164 enable_gpkcsp
1165 enable_graphicscapture
1166 enable_hal
1167 enable_hhctrl_ocx
1168 enable_hid
1169 enable_hidclass_sys
1170 enable_hidparse_sys
1171 enable_hlink
1172 enable_hnetcfg
1173 enable_hrtfapo
1174 enable_http_sys
1175 enable_httpapi
1176 enable_hvsimanagementapi
1177 enable_ia2comproxy
1178 enable_iccvid
1179 enable_icmp
1180 enable_ieframe
1181 enable_ieproxy
1182 enable_imaadp32_acm
1183 enable_imagehlp
1184 enable_imm32
1185 enable_inetcomm
1186 enable_inetcpl_cpl
1187 enable_inetmib1
1188 enable_infosoft
1189 enable_initpki
1190 enable_inkobj
1191 enable_inseng
1192 enable_iphlpapi
1193 enable_iprop
1194 enable_ir50_32
1195 enable_irprops_cpl
1196 enable_itircl
1197 enable_itss
1198 enable_joy_cpl
1199 enable_jscript
1200 enable_jsproxy
1201 enable_kerberos
1202 enable_kernel32
1203 enable_kernelbase
1204 enable_ksecdd_sys
1205 enable_ksproxy_ax
1206 enable_ksuser
1207 enable_ktmw32
1208 enable_l3codeca_acm
1209 enable_light_msstyles
1210 enable_loadperf
1211 enable_localspl
1212 enable_localui
1213 enable_lz32
1214 enable_magnification
1215 enable_mapi32
1216 enable_mapistub
1217 enable_mciavi32
1218 enable_mcicda
1219 enable_mciqtz32
1220 enable_mciseq
1221 enable_mciwave
1222 enable_mf
1223 enable_mf3216
1224 enable_mferror
1225 enable_mfmediaengine
1226 enable_mfplat
1227 enable_mfplay
1228 enable_mfreadwrite
1229 enable_mfsrcsnk
1230 enable_mgmtapi
1231 enable_midimap
1232 enable_mlang
1233 enable_mmcndmgr
1234 enable_mmdevapi
1235 enable_mouhid_sys
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_authentication_onlineid
1497 enable_windows_security_credentials_ui_userconsentverifier
1498 enable_windows_storage_applicationdata
1499 enable_windows_system_profile_systemmanufacturers
1500 enable_windows_ui
1501 enable_windowscodecs
1502 enable_windowscodecsext
1503 enable_winealsa_drv
1504 enable_wineandroid_drv
1505 enable_winebus_sys
1506 enable_winecoreaudio_drv
1507 enable_winecrt0
1508 enable_wined3d
1509 enable_winegstreamer
1510 enable_winehid_sys
1511 enable_winemac_drv
1512 enable_winemapi
1513 enable_wineoss_drv
1514 enable_wineps_drv
1515 enable_winepulse_drv
1516 enable_wineusb_sys
1517 enable_winevulkan
1518 enable_winewayland_drv
1519 enable_winex11_drv
1520 enable_winexinput_sys
1521 enable_wing32
1522 enable_winhttp
1523 enable_wininet
1524 enable_winmm
1525 enable_winnls32
1526 enable_winprint
1527 enable_winscard
1528 enable_winspool_drv
1529 enable_winsta
1530 enable_wintab32
1531 enable_wintrust
1532 enable_wintypes
1533 enable_winusb
1534 enable_wlanapi
1535 enable_wlanui
1536 enable_wldap32
1537 enable_wldp
1538 enable_wmasf
1539 enable_wmi
1540 enable_wmiutils
1541 enable_wmp
1542 enable_wmphoto
1543 enable_wmvcore
1544 enable_wnaspi32
1545 enable_wofutil
1546 enable_wow64
1547 enable_wow64cpu
1548 enable_wow64win
1549 enable_wpc
1550 enable_wpcap
1551 enable_ws2_32
1552 enable_wsdapi
1553 enable_wshom_ocx
1554 enable_wsnmp32
1555 enable_wsock32
1556 enable_wtsapi32
1557 enable_wuapi
1558 enable_wuaueng
1559 enable_x3daudio1_0
1560 enable_x3daudio1_1
1561 enable_x3daudio1_2
1562 enable_x3daudio1_3
1563 enable_x3daudio1_4
1564 enable_x3daudio1_5
1565 enable_x3daudio1_6
1566 enable_x3daudio1_7
1567 enable_xactengine2_0
1568 enable_xactengine2_4
1569 enable_xactengine2_7
1570 enable_xactengine2_9
1571 enable_xactengine3_0
1572 enable_xactengine3_1
1573 enable_xactengine3_2
1574 enable_xactengine3_3
1575 enable_xactengine3_4
1576 enable_xactengine3_5
1577 enable_xactengine3_6
1578 enable_xactengine3_7
1579 enable_xapofx1_1
1580 enable_xapofx1_2
1581 enable_xapofx1_3
1582 enable_xapofx1_4
1583 enable_xapofx1_5
1584 enable_xaudio2_0
1585 enable_xaudio2_1
1586 enable_xaudio2_2
1587 enable_xaudio2_3
1588 enable_xaudio2_4
1589 enable_xaudio2_5
1590 enable_xaudio2_6
1591 enable_xaudio2_7
1592 enable_xaudio2_8
1593 enable_xaudio2_9
1594 enable_xinput1_1
1595 enable_xinput1_2
1596 enable_xinput1_3
1597 enable_xinput1_4
1598 enable_xinput9_1_0
1599 enable_xinputuap
1600 enable_xmllite
1601 enable_xolehlp
1602 enable_xpsprint
1603 enable_xpssvcs
1604 enable_fonts
1605 enable_include
1606 enable_adsiid
1607 enable_dmoguids
1608 enable_dxerr8
1609 enable_dxerr9
1610 enable_dxguid
1611 enable_faudio
1612 enable_fluidsynth
1613 enable_gsm
1614 enable_jpeg
1615 enable_jxr
1616 enable_lcms2
1617 enable_ldap
1618 enable_mfuuid
1619 enable_mpg123
1620 enable_musl
1621 enable_png
1622 enable_strmbase
1623 enable_strmiids
1624 enable_tiff
1625 enable_uuid
1626 enable_vkd3d
1627 enable_wbemuuid
1628 enable_wmcodecdspuuid
1629 enable_xml2
1630 enable_xslt
1631 enable_zlib
1632 enable_zydis
1633 enable_loader
1634 enable_nls
1635 enable_po
1636 enable_arp
1637 enable_aspnet_regiis
1638 enable_attrib
1639 enable_cabarc
1640 enable_cacls
1641 enable_certutil
1642 enable_chcp_com
1643 enable_clock
1644 enable_cmd
1645 enable_conhost
1646 enable_control
1647 enable_cscript
1648 enable_dism
1649 enable_dllhost
1650 enable_dplaysvr
1651 enable_dpnsvr
1652 enable_dpvsetup
1653 enable_dxdiag
1654 enable_eject
1655 enable_expand
1656 enable_explorer
1657 enable_extrac32
1658 enable_fc
1659 enable_find
1660 enable_findstr
1661 enable_fsutil
1662 enable_hh
1663 enable_hostname
1664 enable_icacls
1665 enable_icinfo
1666 enable_iexplore
1667 enable_ipconfig
1668 enable_klist
1669 enable_lodctr
1670 enable_mofcomp
1671 enable_mshta
1672 enable_msidb
1673 enable_msiexec
1674 enable_msinfo32
1675 enable_net
1676 enable_netsh
1677 enable_netstat
1678 enable_ngen
1679 enable_notepad
1680 enable_oleview
1681 enable_ping
1682 enable_plugplay
1683 enable_pnputil
1684 enable_powershell
1685 enable_presentationfontcache
1686 enable_progman
1687 enable_reg
1688 enable_regasm
1689 enable_regedit
1690 enable_regini
1691 enable_regsvcs
1692 enable_regsvr32
1693 enable_robocopy
1694 enable_rpcss
1695 enable_rundll32
1696 enable_sc
1697 enable_schtasks
1698 enable_sdbinst
1699 enable_secedit
1700 enable_servicemodelreg
1701 enable_services
1702 enable_setx
1703 enable_shutdown
1704 enable_spoolsv
1705 enable_start
1706 enable_subst
1707 enable_svchost
1708 enable_systeminfo
1709 enable_taskkill
1710 enable_tasklist
1711 enable_taskmgr
1712 enable_termsv
1713 enable_uninstaller
1714 enable_unlodctr
1715 enable_view
1716 enable_wevtutil
1717 enable_where
1718 enable_whoami
1719 enable_wineboot
1720 enable_winebrowser
1721 enable_winecfg
1722 enable_wineconsole
1723 enable_winedbg
1724 enable_winedevice
1725 enable_winefile
1726 enable_winemenubuilder
1727 enable_winemine
1728 enable_winemsibuilder
1729 enable_winepath
1730 enable_winetest
1731 enable_winhlp32
1732 enable_winmgmt
1733 enable_winver
1734 enable_wmic
1735 enable_wmplayer
1736 enable_wordpad
1737 enable_write
1738 enable_wscript
1739 enable_wuauserv
1740 enable_wusa
1741 enable_xcopy
1742 enable_server
1743 enable_tools
1744 enable_sfnt2fon
1745 enable_widl
1746 enable_winebuild
1747 enable_winedump
1748 enable_winegcc
1749 enable_winemaker
1750 enable_wmc
1751 enable_wrc
1753 ac_precious_vars='build_alias
1754 host_alias
1755 target_alias
1757 CFLAGS
1758 LDFLAGS
1759 LIBS
1760 CPPFLAGS
1762 CXXFLAGS
1764 OBJC
1765 OBJCFLAGS
1766 FAUDIO_PE_CFLAGS
1767 FAUDIO_PE_LIBS
1768 FLUIDSYNTH_PE_CFLAGS
1769 FLUIDSYNTH_PE_LIBS
1770 GSM_PE_CFLAGS
1771 GSM_PE_LIBS
1772 JPEG_PE_CFLAGS
1773 JPEG_PE_LIBS
1774 JXR_PE_CFLAGS
1775 JXR_PE_LIBS
1776 LCMS2_PE_CFLAGS
1777 LCMS2_PE_LIBS
1778 LDAP_PE_CFLAGS
1779 LDAP_PE_LIBS
1780 MPG123_PE_CFLAGS
1781 MPG123_PE_LIBS
1782 MUSL_PE_CFLAGS
1783 MUSL_PE_LIBS
1784 PNG_PE_CFLAGS
1785 PNG_PE_LIBS
1786 TIFF_PE_CFLAGS
1787 TIFF_PE_LIBS
1788 VKD3D_PE_CFLAGS
1789 VKD3D_PE_LIBS
1790 XML2_PE_CFLAGS
1791 XML2_PE_LIBS
1792 XSLT_PE_CFLAGS
1793 XSLT_PE_LIBS
1794 ZLIB_PE_CFLAGS
1795 ZLIB_PE_LIBS
1796 ZYDIS_PE_CFLAGS
1797 ZYDIS_PE_LIBS
1798 XMKMF
1800 WAYLAND_CLIENT_CFLAGS
1801 WAYLAND_CLIENT_LIBS
1802 XKBCOMMON_CFLAGS
1803 XKBCOMMON_LIBS
1804 XKBREGISTRY_CFLAGS
1805 XKBREGISTRY_LIBS
1806 INOTIFY_CFLAGS
1807 INOTIFY_LIBS
1808 DBUS_CFLAGS
1809 DBUS_LIBS
1810 GNUTLS_CFLAGS
1811 GNUTLS_LIBS
1812 SANE_CFLAGS
1813 SANE_LIBS
1814 USB_CFLAGS
1815 USB_LIBS
1816 GPHOTO2_CFLAGS
1817 GPHOTO2_LIBS
1818 GPHOTO2_PORT_CFLAGS
1819 GPHOTO2_PORT_LIBS
1820 FREETYPE_CFLAGS
1821 FREETYPE_LIBS
1822 PULSE_CFLAGS
1823 PULSE_LIBS
1824 GSTREAMER_CFLAGS
1825 GSTREAMER_LIBS
1826 UDEV_CFLAGS
1827 UDEV_LIBS
1828 UNWIND_CFLAGS
1829 UNWIND_LIBS
1830 SDL2_CFLAGS
1831 SDL2_LIBS
1832 CAPI20_CFLAGS
1833 CAPI20_LIBS
1834 CUPS_CFLAGS
1835 CUPS_LIBS
1836 FONTCONFIG_CFLAGS
1837 FONTCONFIG_LIBS
1838 KRB5_CFLAGS
1839 KRB5_LIBS
1840 GSSAPI_CFLAGS
1841 GSSAPI_LIBS
1842 NETAPI_CFLAGS
1843 NETAPI_LIBS'
1846 # Initialize some variables set by options.
1847 ac_init_help=
1848 ac_init_version=false
1849 ac_unrecognized_opts=
1850 ac_unrecognized_sep=
1851 # The variables have the same names as the options, with
1852 # dashes changed to underlines.
1853 cache_file=/dev/null
1854 exec_prefix=NONE
1855 no_create=
1856 no_recursion=
1857 prefix=NONE
1858 program_prefix=NONE
1859 program_suffix=NONE
1860 program_transform_name=s,x,x,
1861 silent=
1862 site=
1863 srcdir=
1864 verbose=
1865 x_includes=NONE
1866 x_libraries=NONE
1868 # Installation directory options.
1869 # These are left unexpanded so users can "make install exec_prefix=/foo"
1870 # and all the variables that are supposed to be based on exec_prefix
1871 # by default will actually change.
1872 # Use braces instead of parens because sh, perl, etc. also accept them.
1873 # (The list follows the same order as the GNU Coding Standards.)
1874 bindir='${exec_prefix}/bin'
1875 sbindir='${exec_prefix}/sbin'
1876 libexecdir='${exec_prefix}/libexec'
1877 datarootdir='${prefix}/share'
1878 datadir='${datarootdir}'
1879 sysconfdir='${prefix}/etc'
1880 sharedstatedir='${prefix}/com'
1881 localstatedir='${prefix}/var'
1882 runstatedir='${localstatedir}/run'
1883 includedir='${prefix}/include'
1884 oldincludedir='/usr/include'
1885 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1886 infodir='${datarootdir}/info'
1887 htmldir='${docdir}'
1888 dvidir='${docdir}'
1889 pdfdir='${docdir}'
1890 psdir='${docdir}'
1891 libdir='${exec_prefix}/lib'
1892 localedir='${datarootdir}/locale'
1893 mandir='${datarootdir}/man'
1895 ac_prev=
1896 ac_dashdash=
1897 for ac_option
1899 # If the previous option needs an argument, assign it.
1900 if test -n "$ac_prev"; then
1901 eval $ac_prev=\$ac_option
1902 ac_prev=
1903 continue
1906 case $ac_option in
1907 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1908 *=) ac_optarg= ;;
1909 *) ac_optarg=yes ;;
1910 esac
1912 case $ac_dashdash$ac_option in
1914 ac_dashdash=yes ;;
1916 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1917 ac_prev=bindir ;;
1918 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1919 bindir=$ac_optarg ;;
1921 -build | --build | --buil | --bui | --bu)
1922 ac_prev=build_alias ;;
1923 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1924 build_alias=$ac_optarg ;;
1926 -cache-file | --cache-file | --cache-fil | --cache-fi \
1927 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1928 ac_prev=cache_file ;;
1929 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1930 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1931 cache_file=$ac_optarg ;;
1933 --config-cache | -C)
1934 cache_file=config.cache ;;
1936 -datadir | --datadir | --datadi | --datad)
1937 ac_prev=datadir ;;
1938 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1939 datadir=$ac_optarg ;;
1941 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1942 | --dataroo | --dataro | --datar)
1943 ac_prev=datarootdir ;;
1944 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1945 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1946 datarootdir=$ac_optarg ;;
1948 -disable-* | --disable-*)
1949 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1950 # Reject names that are not valid shell variable names.
1951 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1952 as_fn_error $? "invalid feature name: \`$ac_useropt'"
1953 ac_useropt_orig=$ac_useropt
1954 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1955 case $ac_user_opts in
1957 "enable_$ac_useropt"
1958 "*) ;;
1959 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1960 ac_unrecognized_sep=', ';;
1961 esac
1962 eval enable_$ac_useropt=no ;;
1964 -docdir | --docdir | --docdi | --doc | --do)
1965 ac_prev=docdir ;;
1966 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1967 docdir=$ac_optarg ;;
1969 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1970 ac_prev=dvidir ;;
1971 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1972 dvidir=$ac_optarg ;;
1974 -enable-* | --enable-*)
1975 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1976 # Reject names that are not valid shell variable names.
1977 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1978 as_fn_error $? "invalid feature name: \`$ac_useropt'"
1979 ac_useropt_orig=$ac_useropt
1980 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1981 case $ac_user_opts in
1983 "enable_$ac_useropt"
1984 "*) ;;
1985 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1986 ac_unrecognized_sep=', ';;
1987 esac
1988 eval enable_$ac_useropt=\$ac_optarg ;;
1990 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1991 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1992 | --exec | --exe | --ex)
1993 ac_prev=exec_prefix ;;
1994 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1995 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1996 | --exec=* | --exe=* | --ex=*)
1997 exec_prefix=$ac_optarg ;;
1999 -gas | --gas | --ga | --g)
2000 # Obsolete; use --with-gas.
2001 with_gas=yes ;;
2003 -help | --help | --hel | --he | -h)
2004 ac_init_help=long ;;
2005 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
2006 ac_init_help=recursive ;;
2007 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
2008 ac_init_help=short ;;
2010 -host | --host | --hos | --ho)
2011 ac_prev=host_alias ;;
2012 -host=* | --host=* | --hos=* | --ho=*)
2013 host_alias=$ac_optarg ;;
2015 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
2016 ac_prev=htmldir ;;
2017 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
2018 | --ht=*)
2019 htmldir=$ac_optarg ;;
2021 -includedir | --includedir | --includedi | --included | --include \
2022 | --includ | --inclu | --incl | --inc)
2023 ac_prev=includedir ;;
2024 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
2025 | --includ=* | --inclu=* | --incl=* | --inc=*)
2026 includedir=$ac_optarg ;;
2028 -infodir | --infodir | --infodi | --infod | --info | --inf)
2029 ac_prev=infodir ;;
2030 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
2031 infodir=$ac_optarg ;;
2033 -libdir | --libdir | --libdi | --libd)
2034 ac_prev=libdir ;;
2035 -libdir=* | --libdir=* | --libdi=* | --libd=*)
2036 libdir=$ac_optarg ;;
2038 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
2039 | --libexe | --libex | --libe)
2040 ac_prev=libexecdir ;;
2041 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
2042 | --libexe=* | --libex=* | --libe=*)
2043 libexecdir=$ac_optarg ;;
2045 -localedir | --localedir | --localedi | --localed | --locale)
2046 ac_prev=localedir ;;
2047 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
2048 localedir=$ac_optarg ;;
2050 -localstatedir | --localstatedir | --localstatedi | --localstated \
2051 | --localstate | --localstat | --localsta | --localst | --locals)
2052 ac_prev=localstatedir ;;
2053 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
2054 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
2055 localstatedir=$ac_optarg ;;
2057 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
2058 ac_prev=mandir ;;
2059 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
2060 mandir=$ac_optarg ;;
2062 -nfp | --nfp | --nf)
2063 # Obsolete; use --without-fp.
2064 with_fp=no ;;
2066 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
2067 | --no-cr | --no-c | -n)
2068 no_create=yes ;;
2070 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
2071 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
2072 no_recursion=yes ;;
2074 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
2075 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
2076 | --oldin | --oldi | --old | --ol | --o)
2077 ac_prev=oldincludedir ;;
2078 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
2079 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
2080 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
2081 oldincludedir=$ac_optarg ;;
2083 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2084 ac_prev=prefix ;;
2085 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2086 prefix=$ac_optarg ;;
2088 -program-prefix | --program-prefix | --program-prefi | --program-pref \
2089 | --program-pre | --program-pr | --program-p)
2090 ac_prev=program_prefix ;;
2091 -program-prefix=* | --program-prefix=* | --program-prefi=* \
2092 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2093 program_prefix=$ac_optarg ;;
2095 -program-suffix | --program-suffix | --program-suffi | --program-suff \
2096 | --program-suf | --program-su | --program-s)
2097 ac_prev=program_suffix ;;
2098 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2099 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2100 program_suffix=$ac_optarg ;;
2102 -program-transform-name | --program-transform-name \
2103 | --program-transform-nam | --program-transform-na \
2104 | --program-transform-n | --program-transform- \
2105 | --program-transform | --program-transfor \
2106 | --program-transfo | --program-transf \
2107 | --program-trans | --program-tran \
2108 | --progr-tra | --program-tr | --program-t)
2109 ac_prev=program_transform_name ;;
2110 -program-transform-name=* | --program-transform-name=* \
2111 | --program-transform-nam=* | --program-transform-na=* \
2112 | --program-transform-n=* | --program-transform-=* \
2113 | --program-transform=* | --program-transfor=* \
2114 | --program-transfo=* | --program-transf=* \
2115 | --program-trans=* | --program-tran=* \
2116 | --progr-tra=* | --program-tr=* | --program-t=*)
2117 program_transform_name=$ac_optarg ;;
2119 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2120 ac_prev=pdfdir ;;
2121 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2122 pdfdir=$ac_optarg ;;
2124 -psdir | --psdir | --psdi | --psd | --ps)
2125 ac_prev=psdir ;;
2126 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2127 psdir=$ac_optarg ;;
2129 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2130 | -silent | --silent | --silen | --sile | --sil)
2131 silent=yes ;;
2133 -runstatedir | --runstatedir | --runstatedi | --runstated \
2134 | --runstate | --runstat | --runsta | --runst | --runs \
2135 | --run | --ru | --r)
2136 ac_prev=runstatedir ;;
2137 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2138 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2139 | --run=* | --ru=* | --r=*)
2140 runstatedir=$ac_optarg ;;
2142 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2143 ac_prev=sbindir ;;
2144 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2145 | --sbi=* | --sb=*)
2146 sbindir=$ac_optarg ;;
2148 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2149 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2150 | --sharedst | --shareds | --shared | --share | --shar \
2151 | --sha | --sh)
2152 ac_prev=sharedstatedir ;;
2153 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2154 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2155 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2156 | --sha=* | --sh=*)
2157 sharedstatedir=$ac_optarg ;;
2159 -site | --site | --sit)
2160 ac_prev=site ;;
2161 -site=* | --site=* | --sit=*)
2162 site=$ac_optarg ;;
2164 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2165 ac_prev=srcdir ;;
2166 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2167 srcdir=$ac_optarg ;;
2169 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2170 | --syscon | --sysco | --sysc | --sys | --sy)
2171 ac_prev=sysconfdir ;;
2172 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2173 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2174 sysconfdir=$ac_optarg ;;
2176 -target | --target | --targe | --targ | --tar | --ta | --t)
2177 ac_prev=target_alias ;;
2178 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2179 target_alias=$ac_optarg ;;
2181 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2182 verbose=yes ;;
2184 -version | --version | --versio | --versi | --vers | -V)
2185 ac_init_version=: ;;
2187 -with-* | --with-*)
2188 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2189 # Reject names that are not valid shell variable names.
2190 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2191 as_fn_error $? "invalid package name: \`$ac_useropt'"
2192 ac_useropt_orig=$ac_useropt
2193 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2194 case $ac_user_opts in
2196 "with_$ac_useropt"
2197 "*) ;;
2198 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2199 ac_unrecognized_sep=', ';;
2200 esac
2201 eval with_$ac_useropt=\$ac_optarg ;;
2203 -without-* | --without-*)
2204 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2205 # Reject names that are not valid shell variable names.
2206 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2207 as_fn_error $? "invalid package name: \`$ac_useropt'"
2208 ac_useropt_orig=$ac_useropt
2209 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2210 case $ac_user_opts in
2212 "with_$ac_useropt"
2213 "*) ;;
2214 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2215 ac_unrecognized_sep=', ';;
2216 esac
2217 eval with_$ac_useropt=no ;;
2219 --x)
2220 # Obsolete; use --with-x.
2221 with_x=yes ;;
2223 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2224 | --x-incl | --x-inc | --x-in | --x-i)
2225 ac_prev=x_includes ;;
2226 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2227 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2228 x_includes=$ac_optarg ;;
2230 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2231 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2232 ac_prev=x_libraries ;;
2233 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2234 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2235 x_libraries=$ac_optarg ;;
2237 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2238 Try \`$0 --help' for more information"
2241 *=*)
2242 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2243 # Reject names that are not valid shell variable names.
2244 case $ac_envvar in #(
2245 '' | [0-9]* | *[!_$as_cr_alnum]* )
2246 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2247 esac
2248 eval $ac_envvar=\$ac_optarg
2249 export $ac_envvar ;;
2252 # FIXME: should be removed in autoconf 3.0.
2253 printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
2254 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2255 printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
2256 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2259 esac
2260 done
2262 if test -n "$ac_prev"; then
2263 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2264 as_fn_error $? "missing argument to $ac_option"
2267 if test -n "$ac_unrecognized_opts"; then
2268 case $enable_option_checking in
2269 no) ;;
2270 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2271 *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2272 esac
2275 # Check all directory arguments for consistency.
2276 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2277 datadir sysconfdir sharedstatedir localstatedir includedir \
2278 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2279 libdir localedir mandir runstatedir
2281 eval ac_val=\$$ac_var
2282 # Remove trailing slashes.
2283 case $ac_val in
2284 */ )
2285 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2286 eval $ac_var=\$ac_val;;
2287 esac
2288 # Be sure to have absolute directory names.
2289 case $ac_val in
2290 [\\/$]* | ?:[\\/]* ) continue;;
2291 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2292 esac
2293 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2294 done
2296 # There might be people who depend on the old broken behavior: `$host'
2297 # used to hold the argument of --host etc.
2298 # FIXME: To remove some day.
2299 build=$build_alias
2300 host=$host_alias
2301 target=$target_alias
2303 # FIXME: To remove some day.
2304 if test "x$host_alias" != x; then
2305 if test "x$build_alias" = x; then
2306 cross_compiling=maybe
2307 elif test "x$build_alias" != "x$host_alias"; then
2308 cross_compiling=yes
2312 ac_tool_prefix=
2313 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2315 test "$silent" = yes && exec 6>/dev/null
2318 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2319 ac_ls_di=`ls -di .` &&
2320 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2321 as_fn_error $? "working directory cannot be determined"
2322 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2323 as_fn_error $? "pwd does not report name of working directory"
2326 # Find the source files, if location was not specified.
2327 if test -z "$srcdir"; then
2328 ac_srcdir_defaulted=yes
2329 # Try the directory containing this script, then the parent directory.
2330 ac_confdir=`$as_dirname -- "$as_myself" ||
2331 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2332 X"$as_myself" : 'X\(//\)[^/]' \| \
2333 X"$as_myself" : 'X\(//\)$' \| \
2334 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2335 printf "%s\n" X"$as_myself" |
2336 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2337 s//\1/
2340 /^X\(\/\/\)[^/].*/{
2341 s//\1/
2344 /^X\(\/\/\)$/{
2345 s//\1/
2348 /^X\(\/\).*/{
2349 s//\1/
2352 s/.*/./; q'`
2353 srcdir=$ac_confdir
2354 if test ! -r "$srcdir/$ac_unique_file"; then
2355 srcdir=..
2357 else
2358 ac_srcdir_defaulted=no
2360 if test ! -r "$srcdir/$ac_unique_file"; then
2361 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2362 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2364 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2365 ac_abs_confdir=`(
2366 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2367 pwd)`
2368 # When building in place, set srcdir=.
2369 if test "$ac_abs_confdir" = "$ac_pwd"; then
2370 srcdir=.
2372 # Remove unnecessary trailing slashes from srcdir.
2373 # Double slashes in file names in object file debugging info
2374 # mess up M-x gdb in Emacs.
2375 case $srcdir in
2376 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2377 esac
2378 for ac_var in $ac_precious_vars; do
2379 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2380 eval ac_env_${ac_var}_value=\$${ac_var}
2381 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2382 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2383 done
2386 # Report the --help message.
2388 if test "$ac_init_help" = "long"; then
2389 # Omit some internal or obsolete options to make the list less imposing.
2390 # This message is too long to be a string in the A/UX 3.1 sh.
2391 cat <<_ACEOF
2392 \`configure' configures Wine 9.3 to adapt to many kinds of systems.
2394 Usage: $0 [OPTION]... [VAR=VALUE]...
2396 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2397 VAR=VALUE. See below for descriptions of some of the useful variables.
2399 Defaults for the options are specified in brackets.
2401 Configuration:
2402 -h, --help display this help and exit
2403 --help=short display options specific to this package
2404 --help=recursive display the short help of all the included packages
2405 -V, --version display version information and exit
2406 -q, --quiet, --silent do not print \`checking ...' messages
2407 --cache-file=FILE cache test results in FILE [disabled]
2408 -C, --config-cache alias for \`--cache-file=config.cache'
2409 -n, --no-create do not create output files
2410 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2412 Installation directories:
2413 --prefix=PREFIX install architecture-independent files in PREFIX
2414 [$ac_default_prefix]
2415 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2416 [PREFIX]
2418 By default, \`make install' will install all the files in
2419 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2420 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2421 for instance \`--prefix=\$HOME'.
2423 For better control, use the options below.
2425 Fine tuning of the installation directories:
2426 --bindir=DIR user executables [EPREFIX/bin]
2427 --sbindir=DIR system admin executables [EPREFIX/sbin]
2428 --libexecdir=DIR program executables [EPREFIX/libexec]
2429 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2430 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2431 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2432 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2433 --libdir=DIR object code libraries [EPREFIX/lib]
2434 --includedir=DIR C header files [PREFIX/include]
2435 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2436 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2437 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2438 --infodir=DIR info documentation [DATAROOTDIR/info]
2439 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2440 --mandir=DIR man documentation [DATAROOTDIR/man]
2441 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2442 --htmldir=DIR html documentation [DOCDIR]
2443 --dvidir=DIR dvi documentation [DOCDIR]
2444 --pdfdir=DIR pdf documentation [DOCDIR]
2445 --psdir=DIR ps documentation [DOCDIR]
2446 _ACEOF
2448 cat <<\_ACEOF
2450 X features:
2451 --x-includes=DIR X include files are in DIR
2452 --x-libraries=DIR X library files are in DIR
2454 System types:
2455 --build=BUILD configure for building on BUILD [guessed]
2456 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2457 _ACEOF
2460 if test -n "$ac_init_help"; then
2461 case $ac_init_help in
2462 short | recursive ) echo "Configuration of Wine 9.3:";;
2463 esac
2464 cat <<\_ACEOF
2466 Optional Features:
2467 --disable-option-checking ignore unrecognized --enable/--with options
2468 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2469 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2470 --enable-archs={i386,x86_64,arm,aarch64}
2471 enable multiple architectures for PE compilation
2472 --disable-win16 do not include Win16 support
2473 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2474 binaries)
2475 --disable-tests do not build the regression tests
2476 --enable-build-id include .buildid section in output objects
2477 --enable-maintainer-mode
2478 enable maintainer-specific build rules
2479 --enable-silent-rules use silent build rules (override: "make V=1")
2480 --enable-werror treat compilation warnings as errors
2481 --disable-largefile omit support for large files
2483 Optional Packages:
2484 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2485 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2486 --without-alsa do not use the Alsa sound support
2487 --without-capi do not use CAPI (ISDN support)
2488 --without-coreaudio do not use the CoreAudio sound support
2489 --without-cups do not use CUPS
2490 --without-dbus do not use DBus (dynamic device support)
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.3
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.3, 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-fontconfig was given.
4275 if test ${with_fontconfig+y}
4276 then :
4277 withval=$with_fontconfig;
4281 # Check whether --with-freetype was given.
4282 if test ${with_freetype+y}
4283 then :
4284 withval=$with_freetype;
4288 # Check whether --with-gettext was given.
4289 if test ${with_gettext+y}
4290 then :
4291 withval=$with_gettext;
4295 # Check whether --with-gettextpo was given.
4296 if test ${with_gettextpo+y}
4297 then :
4298 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
4302 # Check whether --with-gphoto was given.
4303 if test ${with_gphoto+y}
4304 then :
4305 withval=$with_gphoto;
4309 # Check whether --with-gnutls was given.
4310 if test ${with_gnutls+y}
4311 then :
4312 withval=$with_gnutls;
4316 # Check whether --with-gssapi was given.
4317 if test ${with_gssapi+y}
4318 then :
4319 withval=$with_gssapi;
4323 # Check whether --with-gstreamer was given.
4324 if test ${with_gstreamer+y}
4325 then :
4326 withval=$with_gstreamer;
4330 # Check whether --with-inotify was given.
4331 if test ${with_inotify+y}
4332 then :
4333 withval=$with_inotify;
4337 # Check whether --with-krb5 was given.
4338 if test ${with_krb5+y}
4339 then :
4340 withval=$with_krb5;
4344 # Check whether --with-mingw was given.
4345 if test ${with_mingw+y}
4346 then :
4347 withval=$with_mingw;
4351 # Check whether --with-netapi was given.
4352 if test ${with_netapi+y}
4353 then :
4354 withval=$with_netapi;
4358 # Check whether --with-opencl was given.
4359 if test ${with_opencl+y}
4360 then :
4361 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
4365 # Check whether --with-opengl was given.
4366 if test ${with_opengl+y}
4367 then :
4368 withval=$with_opengl;
4372 # Check whether --with-osmesa was given.
4373 if test ${with_osmesa+y}
4374 then :
4375 withval=$with_osmesa;
4379 # Check whether --with-oss was given.
4380 if test ${with_oss+y}
4381 then :
4382 withval=$with_oss;
4386 # Check whether --with-pcap was given.
4387 if test ${with_pcap+y}
4388 then :
4389 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
4393 # Check whether --with-pcsclite was given.
4394 if test ${with_pcsclite+y}
4395 then :
4396 withval=$with_pcsclite;
4400 # Check whether --with-pthread was given.
4401 if test ${with_pthread+y}
4402 then :
4403 withval=$with_pthread;
4407 # Check whether --with-pulse was given.
4408 if test ${with_pulse+y}
4409 then :
4410 withval=$with_pulse;
4414 # Check whether --with-sane was given.
4415 if test ${with_sane+y}
4416 then :
4417 withval=$with_sane;
4421 # Check whether --with-sdl was given.
4422 if test ${with_sdl+y}
4423 then :
4424 withval=$with_sdl;
4428 # Check whether --with-udev was given.
4429 if test ${with_udev+y}
4430 then :
4431 withval=$with_udev;
4435 # Check whether --with-unwind was given.
4436 if test ${with_unwind+y}
4437 then :
4438 withval=$with_unwind;
4442 # Check whether --with-usb was given.
4443 if test ${with_usb+y}
4444 then :
4445 withval=$with_usb;
4449 # Check whether --with-v4l2 was given.
4450 if test ${with_v4l2+y}
4451 then :
4452 withval=$with_v4l2;
4456 # Check whether --with-vulkan was given.
4457 if test ${with_vulkan+y}
4458 then :
4459 withval=$with_vulkan;
4463 # Check whether --with-wayland was given.
4464 if test ${with_wayland+y}
4465 then :
4466 withval=$with_wayland;
4470 # Check whether --with-xcomposite was given.
4471 if test ${with_xcomposite+y}
4472 then :
4473 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
4477 # Check whether --with-xcursor was given.
4478 if test ${with_xcursor+y}
4479 then :
4480 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
4484 # Check whether --with-xfixes was given.
4485 if test ${with_xfixes+y}
4486 then :
4487 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
4491 # Check whether --with-xinerama was given.
4492 if test ${with_xinerama+y}
4493 then :
4494 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
4498 # Check whether --with-xinput was given.
4499 if test ${with_xinput+y}
4500 then :
4501 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
4505 # Check whether --with-xinput2 was given.
4506 if test ${with_xinput2+y}
4507 then :
4508 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
4512 # Check whether --with-xrandr was given.
4513 if test ${with_xrandr+y}
4514 then :
4515 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
4519 # Check whether --with-xrender was given.
4520 if test ${with_xrender+y}
4521 then :
4522 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
4526 # Check whether --with-xshape was given.
4527 if test ${with_xshape+y}
4528 then :
4529 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
4533 # Check whether --with-xshm was given.
4534 if test ${with_xshm+y}
4535 then :
4536 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
4540 # Check whether --with-xxf86vm was given.
4541 if test ${with_xxf86vm+y}
4542 then :
4543 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
4548 # Check whether --with-system-dllpath was given.
4549 if test ${with_system_dllpath+y}
4550 then :
4551 withval=$with_system_dllpath; system_dllpath=$withval
4556 # Check whether --with-wine-tools was given.
4557 if test ${with_wine_tools+y}
4558 then :
4559 withval=$with_wine_tools;
4563 # Check whether --with-wine64 was given.
4564 if test ${with_wine64+y}
4565 then :
4566 withval=$with_wine64;
4573 # Make sure we can run config.sub.
4574 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
4575 as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
4577 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4578 printf %s "checking build system type... " >&6; }
4579 if test ${ac_cv_build+y}
4580 then :
4581 printf %s "(cached) " >&6
4582 else $as_nop
4583 ac_build_alias=$build_alias
4584 test "x$ac_build_alias" = x &&
4585 ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
4586 test "x$ac_build_alias" = x &&
4587 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4588 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
4589 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
4592 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4593 printf "%s\n" "$ac_cv_build" >&6; }
4594 case $ac_cv_build in
4595 *-*-*) ;;
4596 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4597 esac
4598 build=$ac_cv_build
4599 ac_save_IFS=$IFS; IFS='-'
4600 set x $ac_cv_build
4601 shift
4602 build_cpu=$1
4603 build_vendor=$2
4604 shift; shift
4605 # Remember, the first character of IFS is used to create $*,
4606 # except with old shells:
4607 build_os=$*
4608 IFS=$ac_save_IFS
4609 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4612 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4613 printf %s "checking host system type... " >&6; }
4614 if test ${ac_cv_host+y}
4615 then :
4616 printf %s "(cached) " >&6
4617 else $as_nop
4618 if test "x$host_alias" = x; then
4619 ac_cv_host=$ac_cv_build
4620 else
4621 ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
4622 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
4626 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4627 printf "%s\n" "$ac_cv_host" >&6; }
4628 case $ac_cv_host in
4629 *-*-*) ;;
4630 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4631 esac
4632 host=$ac_cv_host
4633 ac_save_IFS=$IFS; IFS='-'
4634 set x $ac_cv_host
4635 shift
4636 host_cpu=$1
4637 host_vendor=$2
4638 shift; shift
4639 # Remember, the first character of IFS is used to create $*,
4640 # except with old shells:
4641 host_os=$*
4642 IFS=$ac_save_IFS
4643 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4647 dlldir=\${libdir}/wine
4649 fontdir=\${datadir}/wine/fonts
4651 nlsdir=\${datadir}/wine/nls
4656 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4657 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4658 set x ${MAKE-make}
4659 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4660 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
4661 then :
4662 printf %s "(cached) " >&6
4663 else $as_nop
4664 cat >conftest.make <<\_ACEOF
4665 SHELL = /bin/sh
4666 all:
4667 @echo '@@@%%%=$(MAKE)=@@@%%%'
4668 _ACEOF
4669 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4670 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4671 *@@@%%%=?*=@@@%%%*)
4672 eval ac_cv_prog_make_${ac_make}_set=yes;;
4674 eval ac_cv_prog_make_${ac_make}_set=no;;
4675 esac
4676 rm -f conftest.make
4678 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4679 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4680 printf "%s\n" "yes" >&6; }
4681 SET_MAKE=
4682 else
4683 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4684 printf "%s\n" "no" >&6; }
4685 SET_MAKE="MAKE=${MAKE-make}"
4697 ac_ext=c
4698 ac_cpp='$CPP $CPPFLAGS'
4699 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4700 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4701 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4702 if test -n "$ac_tool_prefix"; then
4703 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4704 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4705 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4706 printf %s "checking for $ac_word... " >&6; }
4707 if test ${ac_cv_prog_CC+y}
4708 then :
4709 printf %s "(cached) " >&6
4710 else $as_nop
4711 if test -n "$CC"; then
4712 ac_cv_prog_CC="$CC" # Let the user override the test.
4713 else
4714 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4715 for as_dir in $PATH
4717 IFS=$as_save_IFS
4718 case $as_dir in #(((
4719 '') as_dir=./ ;;
4720 */) ;;
4721 *) as_dir=$as_dir/ ;;
4722 esac
4723 for ac_exec_ext in '' $ac_executable_extensions; do
4724 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4725 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4726 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4727 break 2
4729 done
4730 done
4731 IFS=$as_save_IFS
4735 CC=$ac_cv_prog_CC
4736 if test -n "$CC"; then
4737 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4738 printf "%s\n" "$CC" >&6; }
4739 else
4740 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4741 printf "%s\n" "no" >&6; }
4746 if test -z "$ac_cv_prog_CC"; then
4747 ac_ct_CC=$CC
4748 # Extract the first word of "gcc", so it can be a program name with args.
4749 set dummy gcc; ac_word=$2
4750 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4751 printf %s "checking for $ac_word... " >&6; }
4752 if test ${ac_cv_prog_ac_ct_CC+y}
4753 then :
4754 printf %s "(cached) " >&6
4755 else $as_nop
4756 if test -n "$ac_ct_CC"; then
4757 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4758 else
4759 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4760 for as_dir in $PATH
4762 IFS=$as_save_IFS
4763 case $as_dir in #(((
4764 '') as_dir=./ ;;
4765 */) ;;
4766 *) as_dir=$as_dir/ ;;
4767 esac
4768 for ac_exec_ext in '' $ac_executable_extensions; do
4769 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4770 ac_cv_prog_ac_ct_CC="gcc"
4771 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4772 break 2
4774 done
4775 done
4776 IFS=$as_save_IFS
4780 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4781 if test -n "$ac_ct_CC"; then
4782 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4783 printf "%s\n" "$ac_ct_CC" >&6; }
4784 else
4785 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4786 printf "%s\n" "no" >&6; }
4789 if test "x$ac_ct_CC" = x; then
4790 CC=""
4791 else
4792 case $cross_compiling:$ac_tool_warned in
4793 yes:)
4794 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4795 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4796 ac_tool_warned=yes ;;
4797 esac
4798 CC=$ac_ct_CC
4800 else
4801 CC="$ac_cv_prog_CC"
4804 if test -z "$CC"; then
4805 if test -n "$ac_tool_prefix"; then
4806 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4807 set dummy ${ac_tool_prefix}cc; ac_word=$2
4808 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4809 printf %s "checking for $ac_word... " >&6; }
4810 if test ${ac_cv_prog_CC+y}
4811 then :
4812 printf %s "(cached) " >&6
4813 else $as_nop
4814 if test -n "$CC"; then
4815 ac_cv_prog_CC="$CC" # Let the user override the test.
4816 else
4817 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4818 for as_dir in $PATH
4820 IFS=$as_save_IFS
4821 case $as_dir in #(((
4822 '') as_dir=./ ;;
4823 */) ;;
4824 *) as_dir=$as_dir/ ;;
4825 esac
4826 for ac_exec_ext in '' $ac_executable_extensions; do
4827 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4828 ac_cv_prog_CC="${ac_tool_prefix}cc"
4829 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4830 break 2
4832 done
4833 done
4834 IFS=$as_save_IFS
4838 CC=$ac_cv_prog_CC
4839 if test -n "$CC"; then
4840 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4841 printf "%s\n" "$CC" >&6; }
4842 else
4843 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4844 printf "%s\n" "no" >&6; }
4850 if test -z "$CC"; then
4851 # Extract the first word of "cc", so it can be a program name with args.
4852 set dummy cc; ac_word=$2
4853 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4854 printf %s "checking for $ac_word... " >&6; }
4855 if test ${ac_cv_prog_CC+y}
4856 then :
4857 printf %s "(cached) " >&6
4858 else $as_nop
4859 if test -n "$CC"; then
4860 ac_cv_prog_CC="$CC" # Let the user override the test.
4861 else
4862 ac_prog_rejected=no
4863 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4864 for as_dir in $PATH
4866 IFS=$as_save_IFS
4867 case $as_dir in #(((
4868 '') as_dir=./ ;;
4869 */) ;;
4870 *) as_dir=$as_dir/ ;;
4871 esac
4872 for ac_exec_ext in '' $ac_executable_extensions; do
4873 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4874 if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4875 ac_prog_rejected=yes
4876 continue
4878 ac_cv_prog_CC="cc"
4879 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4880 break 2
4882 done
4883 done
4884 IFS=$as_save_IFS
4886 if test $ac_prog_rejected = yes; then
4887 # We found a bogon in the path, so make sure we never use it.
4888 set dummy $ac_cv_prog_CC
4889 shift
4890 if test $# != 0; then
4891 # We chose a different compiler from the bogus one.
4892 # However, it has the same basename, so the bogon will be chosen
4893 # first if we set CC to just the basename; use the full file name.
4894 shift
4895 ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
4900 CC=$ac_cv_prog_CC
4901 if test -n "$CC"; then
4902 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4903 printf "%s\n" "$CC" >&6; }
4904 else
4905 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4906 printf "%s\n" "no" >&6; }
4911 if test -z "$CC"; then
4912 if test -n "$ac_tool_prefix"; then
4913 for ac_prog in cl.exe
4915 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4916 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4917 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4918 printf %s "checking for $ac_word... " >&6; }
4919 if test ${ac_cv_prog_CC+y}
4920 then :
4921 printf %s "(cached) " >&6
4922 else $as_nop
4923 if test -n "$CC"; then
4924 ac_cv_prog_CC="$CC" # Let the user override the test.
4925 else
4926 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4927 for as_dir in $PATH
4929 IFS=$as_save_IFS
4930 case $as_dir in #(((
4931 '') as_dir=./ ;;
4932 */) ;;
4933 *) as_dir=$as_dir/ ;;
4934 esac
4935 for ac_exec_ext in '' $ac_executable_extensions; do
4936 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4937 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4938 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4939 break 2
4941 done
4942 done
4943 IFS=$as_save_IFS
4947 CC=$ac_cv_prog_CC
4948 if test -n "$CC"; then
4949 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4950 printf "%s\n" "$CC" >&6; }
4951 else
4952 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4953 printf "%s\n" "no" >&6; }
4957 test -n "$CC" && break
4958 done
4960 if test -z "$CC"; then
4961 ac_ct_CC=$CC
4962 for ac_prog in cl.exe
4964 # Extract the first word of "$ac_prog", so it can be a program name with args.
4965 set dummy $ac_prog; ac_word=$2
4966 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4967 printf %s "checking for $ac_word... " >&6; }
4968 if test ${ac_cv_prog_ac_ct_CC+y}
4969 then :
4970 printf %s "(cached) " >&6
4971 else $as_nop
4972 if test -n "$ac_ct_CC"; then
4973 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4974 else
4975 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4976 for as_dir in $PATH
4978 IFS=$as_save_IFS
4979 case $as_dir in #(((
4980 '') as_dir=./ ;;
4981 */) ;;
4982 *) as_dir=$as_dir/ ;;
4983 esac
4984 for ac_exec_ext in '' $ac_executable_extensions; do
4985 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4986 ac_cv_prog_ac_ct_CC="$ac_prog"
4987 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4988 break 2
4990 done
4991 done
4992 IFS=$as_save_IFS
4996 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4997 if test -n "$ac_ct_CC"; then
4998 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4999 printf "%s\n" "$ac_ct_CC" >&6; }
5000 else
5001 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5002 printf "%s\n" "no" >&6; }
5006 test -n "$ac_ct_CC" && break
5007 done
5009 if test "x$ac_ct_CC" = x; then
5010 CC=""
5011 else
5012 case $cross_compiling:$ac_tool_warned in
5013 yes:)
5014 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5015 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5016 ac_tool_warned=yes ;;
5017 esac
5018 CC=$ac_ct_CC
5023 if test -z "$CC"; then
5024 if test -n "$ac_tool_prefix"; then
5025 # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
5026 set dummy ${ac_tool_prefix}clang; ac_word=$2
5027 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5028 printf %s "checking for $ac_word... " >&6; }
5029 if test ${ac_cv_prog_CC+y}
5030 then :
5031 printf %s "(cached) " >&6
5032 else $as_nop
5033 if test -n "$CC"; then
5034 ac_cv_prog_CC="$CC" # Let the user override the test.
5035 else
5036 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5037 for as_dir in $PATH
5039 IFS=$as_save_IFS
5040 case $as_dir in #(((
5041 '') as_dir=./ ;;
5042 */) ;;
5043 *) as_dir=$as_dir/ ;;
5044 esac
5045 for ac_exec_ext in '' $ac_executable_extensions; do
5046 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5047 ac_cv_prog_CC="${ac_tool_prefix}clang"
5048 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5049 break 2
5051 done
5052 done
5053 IFS=$as_save_IFS
5057 CC=$ac_cv_prog_CC
5058 if test -n "$CC"; then
5059 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5060 printf "%s\n" "$CC" >&6; }
5061 else
5062 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5063 printf "%s\n" "no" >&6; }
5068 if test -z "$ac_cv_prog_CC"; then
5069 ac_ct_CC=$CC
5070 # Extract the first word of "clang", so it can be a program name with args.
5071 set dummy clang; ac_word=$2
5072 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5073 printf %s "checking for $ac_word... " >&6; }
5074 if test ${ac_cv_prog_ac_ct_CC+y}
5075 then :
5076 printf %s "(cached) " >&6
5077 else $as_nop
5078 if test -n "$ac_ct_CC"; then
5079 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5080 else
5081 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5082 for as_dir in $PATH
5084 IFS=$as_save_IFS
5085 case $as_dir in #(((
5086 '') as_dir=./ ;;
5087 */) ;;
5088 *) as_dir=$as_dir/ ;;
5089 esac
5090 for ac_exec_ext in '' $ac_executable_extensions; do
5091 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5092 ac_cv_prog_ac_ct_CC="clang"
5093 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5094 break 2
5096 done
5097 done
5098 IFS=$as_save_IFS
5102 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5103 if test -n "$ac_ct_CC"; then
5104 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5105 printf "%s\n" "$ac_ct_CC" >&6; }
5106 else
5107 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5108 printf "%s\n" "no" >&6; }
5111 if test "x$ac_ct_CC" = x; then
5112 CC=""
5113 else
5114 case $cross_compiling:$ac_tool_warned in
5115 yes:)
5116 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5117 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5118 ac_tool_warned=yes ;;
5119 esac
5120 CC=$ac_ct_CC
5122 else
5123 CC="$ac_cv_prog_CC"
5129 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5130 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5131 as_fn_error $? "no acceptable C compiler found in \$PATH
5132 See \`config.log' for more details" "$LINENO" 5; }
5134 # Provide some information about the compiler.
5135 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5136 set X $ac_compile
5137 ac_compiler=$2
5138 for ac_option in --version -v -V -qversion -version; do
5139 { { ac_try="$ac_compiler $ac_option >&5"
5140 case "(($ac_try" in
5141 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5142 *) ac_try_echo=$ac_try;;
5143 esac
5144 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5145 printf "%s\n" "$ac_try_echo"; } >&5
5146 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5147 ac_status=$?
5148 if test -s conftest.err; then
5149 sed '10a\
5150 ... rest of stderr output deleted ...
5151 10q' conftest.err >conftest.er1
5152 cat conftest.er1 >&5
5154 rm -f conftest.er1 conftest.err
5155 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5156 test $ac_status = 0; }
5157 done
5159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5160 /* end confdefs.h. */
5163 main (void)
5167 return 0;
5169 _ACEOF
5170 ac_clean_files_save=$ac_clean_files
5171 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
5172 # Try to create an executable without -o first, disregard a.out.
5173 # It will help us diagnose broken compilers, and finding out an intuition
5174 # of exeext.
5175 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
5176 printf %s "checking whether the C compiler works... " >&6; }
5177 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
5179 # The possible output files:
5180 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
5182 ac_rmfiles=
5183 for ac_file in $ac_files
5185 case $ac_file in
5186 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5187 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
5188 esac
5189 done
5190 rm -f $ac_rmfiles
5192 if { { ac_try="$ac_link_default"
5193 case "(($ac_try" in
5194 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5195 *) ac_try_echo=$ac_try;;
5196 esac
5197 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5198 printf "%s\n" "$ac_try_echo"; } >&5
5199 (eval "$ac_link_default") 2>&5
5200 ac_status=$?
5201 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5202 test $ac_status = 0; }
5203 then :
5204 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
5205 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
5206 # in a Makefile. We should not override ac_cv_exeext if it was cached,
5207 # so that the user can short-circuit this test for compilers unknown to
5208 # Autoconf.
5209 for ac_file in $ac_files ''
5211 test -f "$ac_file" || continue
5212 case $ac_file in
5213 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
5215 [ab].out )
5216 # We found the default executable, but exeext='' is most
5217 # certainly right.
5218 break;;
5219 *.* )
5220 if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
5221 then :; else
5222 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
5224 # We set ac_cv_exeext here because the later test for it is not
5225 # safe: cross compilers may not add the suffix if given an `-o'
5226 # argument, so we may need to know it at that point already.
5227 # Even if this section looks crufty: it has the advantage of
5228 # actually working.
5229 break;;
5231 break;;
5232 esac
5233 done
5234 test "$ac_cv_exeext" = no && ac_cv_exeext=
5236 else $as_nop
5237 ac_file=''
5239 if test -z "$ac_file"
5240 then :
5241 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5242 printf "%s\n" "no" >&6; }
5243 printf "%s\n" "$as_me: failed program was:" >&5
5244 sed 's/^/| /' conftest.$ac_ext >&5
5246 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5247 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5248 as_fn_error 77 "C compiler cannot create executables
5249 See \`config.log' for more details" "$LINENO" 5; }
5250 else $as_nop
5251 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5252 printf "%s\n" "yes" >&6; }
5254 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
5255 printf %s "checking for C compiler default output file name... " >&6; }
5256 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
5257 printf "%s\n" "$ac_file" >&6; }
5258 ac_exeext=$ac_cv_exeext
5260 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
5261 ac_clean_files=$ac_clean_files_save
5262 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
5263 printf %s "checking for suffix of executables... " >&6; }
5264 if { { ac_try="$ac_link"
5265 case "(($ac_try" in
5266 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5267 *) ac_try_echo=$ac_try;;
5268 esac
5269 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5270 printf "%s\n" "$ac_try_echo"; } >&5
5271 (eval "$ac_link") 2>&5
5272 ac_status=$?
5273 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5274 test $ac_status = 0; }
5275 then :
5276 # If both `conftest.exe' and `conftest' are `present' (well, observable)
5277 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
5278 # work properly (i.e., refer to `conftest.exe'), while it won't with
5279 # `rm'.
5280 for ac_file in conftest.exe conftest conftest.*; do
5281 test -f "$ac_file" || continue
5282 case $ac_file in
5283 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5284 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
5285 break;;
5286 * ) break;;
5287 esac
5288 done
5289 else $as_nop
5290 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5291 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5292 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
5293 See \`config.log' for more details" "$LINENO" 5; }
5295 rm -f conftest conftest$ac_cv_exeext
5296 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
5297 printf "%s\n" "$ac_cv_exeext" >&6; }
5299 rm -f conftest.$ac_ext
5300 EXEEXT=$ac_cv_exeext
5301 ac_exeext=$EXEEXT
5302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5303 /* end confdefs.h. */
5304 #include <stdio.h>
5306 main (void)
5308 FILE *f = fopen ("conftest.out", "w");
5309 return ferror (f) || fclose (f) != 0;
5312 return 0;
5314 _ACEOF
5315 ac_clean_files="$ac_clean_files conftest.out"
5316 # Check that the compiler produces executables we can run. If not, either
5317 # the compiler is broken, or we cross compile.
5318 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
5319 printf %s "checking whether we are cross compiling... " >&6; }
5320 if test "$cross_compiling" != yes; then
5321 { { ac_try="$ac_link"
5322 case "(($ac_try" in
5323 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5324 *) ac_try_echo=$ac_try;;
5325 esac
5326 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5327 printf "%s\n" "$ac_try_echo"; } >&5
5328 (eval "$ac_link") 2>&5
5329 ac_status=$?
5330 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5331 test $ac_status = 0; }
5332 if { ac_try='./conftest$ac_cv_exeext'
5333 { { case "(($ac_try" in
5334 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5335 *) ac_try_echo=$ac_try;;
5336 esac
5337 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5338 printf "%s\n" "$ac_try_echo"; } >&5
5339 (eval "$ac_try") 2>&5
5340 ac_status=$?
5341 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5342 test $ac_status = 0; }; }; then
5343 cross_compiling=no
5344 else
5345 if test "$cross_compiling" = maybe; then
5346 cross_compiling=yes
5347 else
5348 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5349 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5350 as_fn_error 77 "cannot run C compiled programs.
5351 If you meant to cross compile, use \`--host'.
5352 See \`config.log' for more details" "$LINENO" 5; }
5356 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
5357 printf "%s\n" "$cross_compiling" >&6; }
5359 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
5360 ac_clean_files=$ac_clean_files_save
5361 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
5362 printf %s "checking for suffix of object files... " >&6; }
5363 if test ${ac_cv_objext+y}
5364 then :
5365 printf %s "(cached) " >&6
5366 else $as_nop
5367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5368 /* end confdefs.h. */
5371 main (void)
5375 return 0;
5377 _ACEOF
5378 rm -f conftest.o conftest.obj
5379 if { { ac_try="$ac_compile"
5380 case "(($ac_try" in
5381 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5382 *) ac_try_echo=$ac_try;;
5383 esac
5384 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5385 printf "%s\n" "$ac_try_echo"; } >&5
5386 (eval "$ac_compile") 2>&5
5387 ac_status=$?
5388 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5389 test $ac_status = 0; }
5390 then :
5391 for ac_file in conftest.o conftest.obj conftest.*; do
5392 test -f "$ac_file" || continue;
5393 case $ac_file in
5394 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
5395 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
5396 break;;
5397 esac
5398 done
5399 else $as_nop
5400 printf "%s\n" "$as_me: failed program was:" >&5
5401 sed 's/^/| /' conftest.$ac_ext >&5
5403 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5404 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5405 as_fn_error $? "cannot compute suffix of object files: cannot compile
5406 See \`config.log' for more details" "$LINENO" 5; }
5408 rm -f conftest.$ac_cv_objext conftest.$ac_ext
5410 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
5411 printf "%s\n" "$ac_cv_objext" >&6; }
5412 OBJEXT=$ac_cv_objext
5413 ac_objext=$OBJEXT
5414 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
5415 printf %s "checking whether the compiler supports GNU C... " >&6; }
5416 if test ${ac_cv_c_compiler_gnu+y}
5417 then :
5418 printf %s "(cached) " >&6
5419 else $as_nop
5420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5421 /* end confdefs.h. */
5424 main (void)
5426 #ifndef __GNUC__
5427 choke me
5428 #endif
5431 return 0;
5433 _ACEOF
5434 if ac_fn_c_try_compile "$LINENO"
5435 then :
5436 ac_compiler_gnu=yes
5437 else $as_nop
5438 ac_compiler_gnu=no
5440 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5441 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5444 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5445 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
5446 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5448 if test $ac_compiler_gnu = yes; then
5449 GCC=yes
5450 else
5451 GCC=
5453 ac_test_CFLAGS=${CFLAGS+y}
5454 ac_save_CFLAGS=$CFLAGS
5455 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5456 printf %s "checking whether $CC accepts -g... " >&6; }
5457 if test ${ac_cv_prog_cc_g+y}
5458 then :
5459 printf %s "(cached) " >&6
5460 else $as_nop
5461 ac_save_c_werror_flag=$ac_c_werror_flag
5462 ac_c_werror_flag=yes
5463 ac_cv_prog_cc_g=no
5464 CFLAGS="-g"
5465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5466 /* end confdefs.h. */
5469 main (void)
5473 return 0;
5475 _ACEOF
5476 if ac_fn_c_try_compile "$LINENO"
5477 then :
5478 ac_cv_prog_cc_g=yes
5479 else $as_nop
5480 CFLAGS=""
5481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5482 /* end confdefs.h. */
5485 main (void)
5489 return 0;
5491 _ACEOF
5492 if ac_fn_c_try_compile "$LINENO"
5493 then :
5495 else $as_nop
5496 ac_c_werror_flag=$ac_save_c_werror_flag
5497 CFLAGS="-g"
5498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5499 /* end confdefs.h. */
5502 main (void)
5506 return 0;
5508 _ACEOF
5509 if ac_fn_c_try_compile "$LINENO"
5510 then :
5511 ac_cv_prog_cc_g=yes
5513 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5515 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5517 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5518 ac_c_werror_flag=$ac_save_c_werror_flag
5520 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5521 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
5522 if test $ac_test_CFLAGS; then
5523 CFLAGS=$ac_save_CFLAGS
5524 elif test $ac_cv_prog_cc_g = yes; then
5525 if test "$GCC" = yes; then
5526 CFLAGS="-g -O2"
5527 else
5528 CFLAGS="-g"
5530 else
5531 if test "$GCC" = yes; then
5532 CFLAGS="-O2"
5533 else
5534 CFLAGS=
5537 ac_prog_cc_stdc=no
5538 if test x$ac_prog_cc_stdc = xno
5539 then :
5540 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
5541 printf %s "checking for $CC option to enable C11 features... " >&6; }
5542 if test ${ac_cv_prog_cc_c11+y}
5543 then :
5544 printf %s "(cached) " >&6
5545 else $as_nop
5546 ac_cv_prog_cc_c11=no
5547 ac_save_CC=$CC
5548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5549 /* end confdefs.h. */
5550 $ac_c_conftest_c11_program
5551 _ACEOF
5552 for ac_arg in '' -std=gnu11
5554 CC="$ac_save_CC $ac_arg"
5555 if ac_fn_c_try_compile "$LINENO"
5556 then :
5557 ac_cv_prog_cc_c11=$ac_arg
5559 rm -f core conftest.err conftest.$ac_objext conftest.beam
5560 test "x$ac_cv_prog_cc_c11" != "xno" && break
5561 done
5562 rm -f conftest.$ac_ext
5563 CC=$ac_save_CC
5566 if test "x$ac_cv_prog_cc_c11" = xno
5567 then :
5568 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5569 printf "%s\n" "unsupported" >&6; }
5570 else $as_nop
5571 if test "x$ac_cv_prog_cc_c11" = x
5572 then :
5573 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5574 printf "%s\n" "none needed" >&6; }
5575 else $as_nop
5576 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
5577 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
5578 CC="$CC $ac_cv_prog_cc_c11"
5580 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
5581 ac_prog_cc_stdc=c11
5584 if test x$ac_prog_cc_stdc = xno
5585 then :
5586 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
5587 printf %s "checking for $CC option to enable C99 features... " >&6; }
5588 if test ${ac_cv_prog_cc_c99+y}
5589 then :
5590 printf %s "(cached) " >&6
5591 else $as_nop
5592 ac_cv_prog_cc_c99=no
5593 ac_save_CC=$CC
5594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5595 /* end confdefs.h. */
5596 $ac_c_conftest_c99_program
5597 _ACEOF
5598 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
5600 CC="$ac_save_CC $ac_arg"
5601 if ac_fn_c_try_compile "$LINENO"
5602 then :
5603 ac_cv_prog_cc_c99=$ac_arg
5605 rm -f core conftest.err conftest.$ac_objext conftest.beam
5606 test "x$ac_cv_prog_cc_c99" != "xno" && break
5607 done
5608 rm -f conftest.$ac_ext
5609 CC=$ac_save_CC
5612 if test "x$ac_cv_prog_cc_c99" = xno
5613 then :
5614 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5615 printf "%s\n" "unsupported" >&6; }
5616 else $as_nop
5617 if test "x$ac_cv_prog_cc_c99" = x
5618 then :
5619 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5620 printf "%s\n" "none needed" >&6; }
5621 else $as_nop
5622 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
5623 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
5624 CC="$CC $ac_cv_prog_cc_c99"
5626 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
5627 ac_prog_cc_stdc=c99
5630 if test x$ac_prog_cc_stdc = xno
5631 then :
5632 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
5633 printf %s "checking for $CC option to enable C89 features... " >&6; }
5634 if test ${ac_cv_prog_cc_c89+y}
5635 then :
5636 printf %s "(cached) " >&6
5637 else $as_nop
5638 ac_cv_prog_cc_c89=no
5639 ac_save_CC=$CC
5640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5641 /* end confdefs.h. */
5642 $ac_c_conftest_c89_program
5643 _ACEOF
5644 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5646 CC="$ac_save_CC $ac_arg"
5647 if ac_fn_c_try_compile "$LINENO"
5648 then :
5649 ac_cv_prog_cc_c89=$ac_arg
5651 rm -f core conftest.err conftest.$ac_objext conftest.beam
5652 test "x$ac_cv_prog_cc_c89" != "xno" && break
5653 done
5654 rm -f conftest.$ac_ext
5655 CC=$ac_save_CC
5658 if test "x$ac_cv_prog_cc_c89" = xno
5659 then :
5660 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5661 printf "%s\n" "unsupported" >&6; }
5662 else $as_nop
5663 if test "x$ac_cv_prog_cc_c89" = x
5664 then :
5665 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5666 printf "%s\n" "none needed" >&6; }
5667 else $as_nop
5668 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5669 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
5670 CC="$CC $ac_cv_prog_cc_c89"
5672 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
5673 ac_prog_cc_stdc=c89
5677 ac_ext=c
5678 ac_cpp='$CPP $CPPFLAGS'
5679 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5680 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5681 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5689 ac_ext=cpp
5690 ac_cpp='$CXXCPP $CPPFLAGS'
5691 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5692 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5693 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5694 if test -z "$CXX"; then
5695 if test -n "$CCC"; then
5696 CXX=$CCC
5697 else
5698 if test -n "$ac_tool_prefix"; then
5699 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5701 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5702 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5703 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5704 printf %s "checking for $ac_word... " >&6; }
5705 if test ${ac_cv_prog_CXX+y}
5706 then :
5707 printf %s "(cached) " >&6
5708 else $as_nop
5709 if test -n "$CXX"; then
5710 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5711 else
5712 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5713 for as_dir in $PATH
5715 IFS=$as_save_IFS
5716 case $as_dir in #(((
5717 '') as_dir=./ ;;
5718 */) ;;
5719 *) as_dir=$as_dir/ ;;
5720 esac
5721 for ac_exec_ext in '' $ac_executable_extensions; do
5722 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5723 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5724 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5725 break 2
5727 done
5728 done
5729 IFS=$as_save_IFS
5733 CXX=$ac_cv_prog_CXX
5734 if test -n "$CXX"; then
5735 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5736 printf "%s\n" "$CXX" >&6; }
5737 else
5738 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5739 printf "%s\n" "no" >&6; }
5743 test -n "$CXX" && break
5744 done
5746 if test -z "$CXX"; then
5747 ac_ct_CXX=$CXX
5748 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5750 # Extract the first word of "$ac_prog", so it can be a program name with args.
5751 set dummy $ac_prog; ac_word=$2
5752 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5753 printf %s "checking for $ac_word... " >&6; }
5754 if test ${ac_cv_prog_ac_ct_CXX+y}
5755 then :
5756 printf %s "(cached) " >&6
5757 else $as_nop
5758 if test -n "$ac_ct_CXX"; then
5759 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5760 else
5761 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5762 for as_dir in $PATH
5764 IFS=$as_save_IFS
5765 case $as_dir in #(((
5766 '') as_dir=./ ;;
5767 */) ;;
5768 *) as_dir=$as_dir/ ;;
5769 esac
5770 for ac_exec_ext in '' $ac_executable_extensions; do
5771 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5772 ac_cv_prog_ac_ct_CXX="$ac_prog"
5773 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5774 break 2
5776 done
5777 done
5778 IFS=$as_save_IFS
5782 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5783 if test -n "$ac_ct_CXX"; then
5784 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5785 printf "%s\n" "$ac_ct_CXX" >&6; }
5786 else
5787 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5788 printf "%s\n" "no" >&6; }
5792 test -n "$ac_ct_CXX" && break
5793 done
5795 if test "x$ac_ct_CXX" = x; then
5796 CXX="g++"
5797 else
5798 case $cross_compiling:$ac_tool_warned in
5799 yes:)
5800 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5801 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5802 ac_tool_warned=yes ;;
5803 esac
5804 CXX=$ac_ct_CXX
5810 # Provide some information about the compiler.
5811 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5812 set X $ac_compile
5813 ac_compiler=$2
5814 for ac_option in --version -v -V -qversion; do
5815 { { ac_try="$ac_compiler $ac_option >&5"
5816 case "(($ac_try" in
5817 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5818 *) ac_try_echo=$ac_try;;
5819 esac
5820 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5821 printf "%s\n" "$ac_try_echo"; } >&5
5822 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5823 ac_status=$?
5824 if test -s conftest.err; then
5825 sed '10a\
5826 ... rest of stderr output deleted ...
5827 10q' conftest.err >conftest.er1
5828 cat conftest.er1 >&5
5830 rm -f conftest.er1 conftest.err
5831 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5832 test $ac_status = 0; }
5833 done
5835 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C++" >&5
5836 printf %s "checking whether the compiler supports GNU C++... " >&6; }
5837 if test ${ac_cv_cxx_compiler_gnu+y}
5838 then :
5839 printf %s "(cached) " >&6
5840 else $as_nop
5841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5842 /* end confdefs.h. */
5845 main (void)
5847 #ifndef __GNUC__
5848 choke me
5849 #endif
5852 return 0;
5854 _ACEOF
5855 if ac_fn_cxx_try_compile "$LINENO"
5856 then :
5857 ac_compiler_gnu=yes
5858 else $as_nop
5859 ac_compiler_gnu=no
5861 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5862 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5865 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5866 printf "%s\n" "$ac_cv_cxx_compiler_gnu" >&6; }
5867 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5869 if test $ac_compiler_gnu = yes; then
5870 GXX=yes
5871 else
5872 GXX=
5874 ac_test_CXXFLAGS=${CXXFLAGS+y}
5875 ac_save_CXXFLAGS=$CXXFLAGS
5876 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5877 printf %s "checking whether $CXX accepts -g... " >&6; }
5878 if test ${ac_cv_prog_cxx_g+y}
5879 then :
5880 printf %s "(cached) " >&6
5881 else $as_nop
5882 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5883 ac_cxx_werror_flag=yes
5884 ac_cv_prog_cxx_g=no
5885 CXXFLAGS="-g"
5886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5887 /* end confdefs.h. */
5890 main (void)
5894 return 0;
5896 _ACEOF
5897 if ac_fn_cxx_try_compile "$LINENO"
5898 then :
5899 ac_cv_prog_cxx_g=yes
5900 else $as_nop
5901 CXXFLAGS=""
5902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5903 /* end confdefs.h. */
5906 main (void)
5910 return 0;
5912 _ACEOF
5913 if ac_fn_cxx_try_compile "$LINENO"
5914 then :
5916 else $as_nop
5917 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5918 CXXFLAGS="-g"
5919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5920 /* end confdefs.h. */
5923 main (void)
5927 return 0;
5929 _ACEOF
5930 if ac_fn_cxx_try_compile "$LINENO"
5931 then :
5932 ac_cv_prog_cxx_g=yes
5934 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5936 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5938 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5939 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5941 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5942 printf "%s\n" "$ac_cv_prog_cxx_g" >&6; }
5943 if test $ac_test_CXXFLAGS; then
5944 CXXFLAGS=$ac_save_CXXFLAGS
5945 elif test $ac_cv_prog_cxx_g = yes; then
5946 if test "$GXX" = yes; then
5947 CXXFLAGS="-g -O2"
5948 else
5949 CXXFLAGS="-g"
5951 else
5952 if test "$GXX" = yes; then
5953 CXXFLAGS="-O2"
5954 else
5955 CXXFLAGS=
5958 ac_prog_cxx_stdcxx=no
5959 if test x$ac_prog_cxx_stdcxx = xno
5960 then :
5961 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++11 features" >&5
5962 printf %s "checking for $CXX option to enable C++11 features... " >&6; }
5963 if test ${ac_cv_prog_cxx_cxx11+y}
5964 then :
5965 printf %s "(cached) " >&6
5966 else $as_nop
5967 ac_cv_prog_cxx_cxx11=no
5968 ac_save_CXX=$CXX
5969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5970 /* end confdefs.h. */
5971 $ac_cxx_conftest_cxx11_program
5972 _ACEOF
5973 for ac_arg in '' -std=gnu++11 -std=gnu++0x -std=c++11 -std=c++0x -qlanglvl=extended0x -AA
5975 CXX="$ac_save_CXX $ac_arg"
5976 if ac_fn_cxx_try_compile "$LINENO"
5977 then :
5978 ac_cv_prog_cxx_cxx11=$ac_arg
5980 rm -f core conftest.err conftest.$ac_objext conftest.beam
5981 test "x$ac_cv_prog_cxx_cxx11" != "xno" && break
5982 done
5983 rm -f conftest.$ac_ext
5984 CXX=$ac_save_CXX
5987 if test "x$ac_cv_prog_cxx_cxx11" = xno
5988 then :
5989 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5990 printf "%s\n" "unsupported" >&6; }
5991 else $as_nop
5992 if test "x$ac_cv_prog_cxx_cxx11" = x
5993 then :
5994 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5995 printf "%s\n" "none needed" >&6; }
5996 else $as_nop
5997 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx11" >&5
5998 printf "%s\n" "$ac_cv_prog_cxx_cxx11" >&6; }
5999 CXX="$CXX $ac_cv_prog_cxx_cxx11"
6001 ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx11
6002 ac_prog_cxx_stdcxx=cxx11
6005 if test x$ac_prog_cxx_stdcxx = xno
6006 then :
6007 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++98 features" >&5
6008 printf %s "checking for $CXX option to enable C++98 features... " >&6; }
6009 if test ${ac_cv_prog_cxx_cxx98+y}
6010 then :
6011 printf %s "(cached) " >&6
6012 else $as_nop
6013 ac_cv_prog_cxx_cxx98=no
6014 ac_save_CXX=$CXX
6015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6016 /* end confdefs.h. */
6017 $ac_cxx_conftest_cxx98_program
6018 _ACEOF
6019 for ac_arg in '' -std=gnu++98 -std=c++98 -qlanglvl=extended -AA
6021 CXX="$ac_save_CXX $ac_arg"
6022 if ac_fn_cxx_try_compile "$LINENO"
6023 then :
6024 ac_cv_prog_cxx_cxx98=$ac_arg
6026 rm -f core conftest.err conftest.$ac_objext conftest.beam
6027 test "x$ac_cv_prog_cxx_cxx98" != "xno" && break
6028 done
6029 rm -f conftest.$ac_ext
6030 CXX=$ac_save_CXX
6033 if test "x$ac_cv_prog_cxx_cxx98" = xno
6034 then :
6035 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
6036 printf "%s\n" "unsupported" >&6; }
6037 else $as_nop
6038 if test "x$ac_cv_prog_cxx_cxx98" = x
6039 then :
6040 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
6041 printf "%s\n" "none needed" >&6; }
6042 else $as_nop
6043 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx98" >&5
6044 printf "%s\n" "$ac_cv_prog_cxx_cxx98" >&6; }
6045 CXX="$CXX $ac_cv_prog_cxx_cxx98"
6047 ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx98
6048 ac_prog_cxx_stdcxx=cxx98
6052 ac_ext=c
6053 ac_cpp='$CPP $CPPFLAGS'
6054 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6055 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6056 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6058 if test -n "$ac_tool_prefix"; then
6059 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
6060 set dummy ${ac_tool_prefix}cpp; ac_word=$2
6061 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6062 printf %s "checking for $ac_word... " >&6; }
6063 if test ${ac_cv_prog_CPPBIN+y}
6064 then :
6065 printf %s "(cached) " >&6
6066 else $as_nop
6067 if test -n "$CPPBIN"; then
6068 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
6069 else
6070 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6071 for as_dir in $PATH
6073 IFS=$as_save_IFS
6074 case $as_dir in #(((
6075 '') as_dir=./ ;;
6076 */) ;;
6077 *) as_dir=$as_dir/ ;;
6078 esac
6079 for ac_exec_ext in '' $ac_executable_extensions; do
6080 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6081 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
6082 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6083 break 2
6085 done
6086 done
6087 IFS=$as_save_IFS
6091 CPPBIN=$ac_cv_prog_CPPBIN
6092 if test -n "$CPPBIN"; then
6093 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
6094 printf "%s\n" "$CPPBIN" >&6; }
6095 else
6096 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6097 printf "%s\n" "no" >&6; }
6102 if test -z "$ac_cv_prog_CPPBIN"; then
6103 ac_ct_CPPBIN=$CPPBIN
6104 # Extract the first word of "cpp", so it can be a program name with args.
6105 set dummy cpp; ac_word=$2
6106 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6107 printf %s "checking for $ac_word... " >&6; }
6108 if test ${ac_cv_prog_ac_ct_CPPBIN+y}
6109 then :
6110 printf %s "(cached) " >&6
6111 else $as_nop
6112 if test -n "$ac_ct_CPPBIN"; then
6113 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
6114 else
6115 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6116 for as_dir in $PATH
6118 IFS=$as_save_IFS
6119 case $as_dir in #(((
6120 '') as_dir=./ ;;
6121 */) ;;
6122 *) as_dir=$as_dir/ ;;
6123 esac
6124 for ac_exec_ext in '' $ac_executable_extensions; do
6125 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6126 ac_cv_prog_ac_ct_CPPBIN="cpp"
6127 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6128 break 2
6130 done
6131 done
6132 IFS=$as_save_IFS
6136 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
6137 if test -n "$ac_ct_CPPBIN"; then
6138 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
6139 printf "%s\n" "$ac_ct_CPPBIN" >&6; }
6140 else
6141 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6142 printf "%s\n" "no" >&6; }
6145 if test "x$ac_ct_CPPBIN" = x; then
6146 CPPBIN="cpp"
6147 else
6148 case $cross_compiling:$ac_tool_warned in
6149 yes:)
6150 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6151 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6152 ac_tool_warned=yes ;;
6153 esac
6154 CPPBIN=$ac_ct_CPPBIN
6156 else
6157 CPPBIN="$ac_cv_prog_CPPBIN"
6161 printf "%s\n" "#define EXEEXT \"$ac_exeext\"" >>confdefs.h
6163 if test -n "$ac_tool_prefix"; then
6164 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
6165 set dummy ${ac_tool_prefix}ld; ac_word=$2
6166 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6167 printf %s "checking for $ac_word... " >&6; }
6168 if test ${ac_cv_prog_LD+y}
6169 then :
6170 printf %s "(cached) " >&6
6171 else $as_nop
6172 if test -n "$LD"; then
6173 ac_cv_prog_LD="$LD" # Let the user override the test.
6174 else
6175 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6176 for as_dir in $PATH
6178 IFS=$as_save_IFS
6179 case $as_dir in #(((
6180 '') as_dir=./ ;;
6181 */) ;;
6182 *) as_dir=$as_dir/ ;;
6183 esac
6184 for ac_exec_ext in '' $ac_executable_extensions; do
6185 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6186 ac_cv_prog_LD="${ac_tool_prefix}ld"
6187 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6188 break 2
6190 done
6191 done
6192 IFS=$as_save_IFS
6196 LD=$ac_cv_prog_LD
6197 if test -n "$LD"; then
6198 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6199 printf "%s\n" "$LD" >&6; }
6200 else
6201 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6202 printf "%s\n" "no" >&6; }
6207 if test -z "$ac_cv_prog_LD"; then
6208 ac_ct_LD=$LD
6209 # Extract the first word of "ld", so it can be a program name with args.
6210 set dummy ld; ac_word=$2
6211 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6212 printf %s "checking for $ac_word... " >&6; }
6213 if test ${ac_cv_prog_ac_ct_LD+y}
6214 then :
6215 printf %s "(cached) " >&6
6216 else $as_nop
6217 if test -n "$ac_ct_LD"; then
6218 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
6219 else
6220 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6221 for as_dir in $PATH
6223 IFS=$as_save_IFS
6224 case $as_dir in #(((
6225 '') as_dir=./ ;;
6226 */) ;;
6227 *) as_dir=$as_dir/ ;;
6228 esac
6229 for ac_exec_ext in '' $ac_executable_extensions; do
6230 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6231 ac_cv_prog_ac_ct_LD="ld"
6232 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6233 break 2
6235 done
6236 done
6237 IFS=$as_save_IFS
6241 ac_ct_LD=$ac_cv_prog_ac_ct_LD
6242 if test -n "$ac_ct_LD"; then
6243 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
6244 printf "%s\n" "$ac_ct_LD" >&6; }
6245 else
6246 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6247 printf "%s\n" "no" >&6; }
6250 if test "x$ac_ct_LD" = x; then
6251 LD=""
6252 else
6253 case $cross_compiling:$ac_tool_warned in
6254 yes:)
6255 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6256 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6257 ac_tool_warned=yes ;;
6258 esac
6259 LD=$ac_ct_LD
6261 else
6262 LD="$ac_cv_prog_LD"
6266 case $host in
6267 *-darwin*)
6268 with_fontconfig=${with_fontconfig:-no}
6270 *-mingw32*|*-cygwin*)
6271 enable_win16=${enable_win16:-no}
6272 with_mingw=${with_mingw:-no}
6274 esac
6277 case $host in
6278 x86_64*|amd64*)
6279 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes" -a x"$enable_archs" = x
6280 then
6281 CC="$CC -m32"
6282 CXX="$CXX -m32"
6284 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
6285 printf %s "checking whether $CC works... " >&6; }
6286 if test ${wine_cv_cc_m32+y}
6287 then :
6288 printf %s "(cached) " >&6
6289 else $as_nop
6290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6291 /* end confdefs.h. */
6294 main (void)
6298 return 0;
6300 _ACEOF
6301 if ac_fn_c_try_link "$LINENO"
6302 then :
6303 wine_cv_cc_m32=yes
6304 else $as_nop
6305 wine_cv_cc_m32=no
6307 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6308 conftest$ac_exeext conftest.$ac_ext
6310 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_cc_m32" >&5
6311 printf "%s\n" "$wine_cv_cc_m32" >&6; }
6312 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
6313 host_cpu="i386"
6314 notice_platform="32-bit "
6315 TARGETFLAGS="$TARGETFLAGS -m32"
6316 PKG_CONFIG_LIBDIR=${PKG_CONFIG_LIBDIR:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib32/pkgconfig:/usr/lib/pkgconfig}
6317 export PKG_CONFIG_LIBDIR
6318 else
6319 CC="$CC -m64"
6320 CXX="$CXX -m64"
6321 host_cpu="x86_64"
6322 notice_platform="64-bit "
6323 TARGETFLAGS="$TARGETFLAGS -m64"
6326 arm*)
6327 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb-2" >&5
6328 printf %s "checking whether $CC supports Thumb-2... " >&6; }
6329 if test ${wine_cv_thumb2+y}
6330 then :
6331 printf %s "(cached) " >&6
6332 else $as_nop
6333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6334 /* end confdefs.h. */
6337 main (void)
6339 asm(".syntax unified\n\t.thumb\n\tldm r0,{r0-r8}");
6341 return 0;
6343 _ACEOF
6344 if ac_fn_c_try_link "$LINENO"
6345 then :
6346 wine_cv_thumb2=yes
6347 else $as_nop
6348 wine_cv_thumb2=no
6350 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6351 conftest$ac_exeext conftest.$ac_ext
6353 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_thumb2" >&5
6354 printf "%s\n" "$wine_cv_thumb2" >&6; }
6355 if test x"$wine_cv_thumb2" = xyes
6356 then
6357 CFLAGS="$CFLAGS -mthumb"
6358 else
6359 CFLAGS="$CFLAGS -marm"
6361 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports floating point instructions" >&5
6362 printf %s "checking whether $CC supports floating point instructions... " >&6; }
6363 if test ${wine_cv_float_abi+y}
6364 then :
6365 printf %s "(cached) " >&6
6366 else $as_nop
6367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6368 /* end confdefs.h. */
6371 main (void)
6373 asm("vmrs r2,fpscr");
6375 return 0;
6377 _ACEOF
6378 if ac_fn_c_try_link "$LINENO"
6379 then :
6380 wine_cv_float_abi=yes
6381 else $as_nop
6382 wine_cv_float_abi=no
6384 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6385 conftest$ac_exeext conftest.$ac_ext
6387 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_float_abi" >&5
6388 printf "%s\n" "$wine_cv_float_abi" >&6; }
6389 test $wine_cv_float_abi != no || as_fn_error $? "The ARM target needs to support floating point instructions." "$LINENO" 5
6391 esac
6393 enable_win16=${enable_win16:-i386}
6394 enable_win64=${enable_win64:-no}
6395 enable_wow64=${enable_wow64:-aarch64,x86_64}
6396 enable_wow64win=${enable_wow64win:-aarch64,x86_64}
6397 enable_wow64cpu=${enable_wow64cpu:-x86_64}
6398 enable_vcruntime140_1=${enable_vcruntime140_1:-x86_64,arm64ec}
6400 enable_cmd=${enable_cmd:-yes}
6401 enable_dllhost=${enable_dllhost:-yes}
6402 enable_dpnsvr=${enable_dpnsvr:-i386,x86_64,arm64ec}
6403 enable_dxdiag=${enable_dxdiag:-yes}
6404 enable_msiexec=${enable_msiexec:-yes}
6405 enable_netsh=${enable_netsh:-yes}
6406 enable_regsvr32=${enable_regsvr32:-yes}
6407 enable_rundll32=${enable_rundll32:-yes}
6409 enable_winetest=${enable_winetest:-$enable_tests}
6411 if test "x$enable_win64" = "xyes"
6412 then
6413 test -z "$with_wine64" || as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
6414 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
6417 case $build_os in
6418 cygwin*|mingw32*) toolsext=".exe"
6420 *) toolsext=""
6422 esac
6424 HOST_ARCH=unknown
6425 case "$host_cpu" in
6426 aarch64*) HOST_ARCH=aarch64 ;;
6427 arm*) HOST_ARCH=arm ;;
6428 i[3456789]86*) HOST_ARCH=i386 ;;
6429 x86_64) HOST_ARCH=x86_64 ;;
6430 esac
6433 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
6434 printf %s "checking for the directory containing the Wine tools... " >&6; }
6435 if test ${wine_cv_toolsdir+y}
6436 then :
6437 printf %s "(cached) " >&6
6438 else $as_nop
6439 wine_cv_toolsdir="$with_wine_tools"
6440 if test -z "$with_wine_tools"; then
6441 if test "$cross_compiling" = "yes"; then
6442 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
6443 elif test -n "$with_wine64"; then
6444 wine_cv_toolsdir="$with_wine64"
6448 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
6449 printf "%s\n" "$wine_cv_toolsdir" >&6; }
6450 if test -z "$wine_cv_toolsdir"; then
6451 wine_makedep=tools/makedep$toolsext
6452 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
6453 wine_makedep=$wine_cv_toolsdir/tools/makedep$toolsext
6454 enable_tools=${enable_tools:-no}
6455 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
6456 else
6457 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
6459 toolsdir=$wine_cv_toolsdir
6461 MAKEDEP=$wine_makedep
6463 RUNTESTFLAGS="-q -P wine"
6465 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'"
6468 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
6469 then
6470 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
6473 for ac_prog in flex
6475 # Extract the first word of "$ac_prog", so it can be a program name with args.
6476 set dummy $ac_prog; ac_word=$2
6477 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6478 printf %s "checking for $ac_word... " >&6; }
6479 if test ${ac_cv_prog_FLEX+y}
6480 then :
6481 printf %s "(cached) " >&6
6482 else $as_nop
6483 if test -n "$FLEX"; then
6484 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
6485 else
6486 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6487 for as_dir in $PATH
6489 IFS=$as_save_IFS
6490 case $as_dir in #(((
6491 '') as_dir=./ ;;
6492 */) ;;
6493 *) as_dir=$as_dir/ ;;
6494 esac
6495 for ac_exec_ext in '' $ac_executable_extensions; do
6496 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6497 ac_cv_prog_FLEX="$ac_prog"
6498 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6499 break 2
6501 done
6502 done
6503 IFS=$as_save_IFS
6507 FLEX=$ac_cv_prog_FLEX
6508 if test -n "$FLEX"; then
6509 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
6510 printf "%s\n" "$FLEX" >&6; }
6511 else
6512 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6513 printf "%s\n" "no" >&6; }
6517 test -n "$FLEX" && break
6518 done
6519 test -n "$FLEX" || FLEX="none"
6521 if test "$FLEX" = "none"
6522 then
6523 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
6525 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
6526 printf %s "checking whether flex is recent enough... " >&6; }
6527 if test ${wine_cv_recent_flex+y}
6528 then :
6529 printf %s "(cached) " >&6
6530 else $as_nop
6531 cat >conftest.l <<EOF
6532 %top{
6533 #include "prediluvian.h"
6537 if $FLEX -t conftest.l >/dev/null 2>&5
6538 then
6539 wine_cv_recent_flex=yes
6540 else
6541 wine_cv_recent_flex=no
6544 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_flex" >&5
6545 printf "%s\n" "$wine_cv_recent_flex" >&6; }
6546 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
6548 for ac_prog in bison
6550 # Extract the first word of "$ac_prog", so it can be a program name with args.
6551 set dummy $ac_prog; ac_word=$2
6552 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6553 printf %s "checking for $ac_word... " >&6; }
6554 if test ${ac_cv_prog_BISON+y}
6555 then :
6556 printf %s "(cached) " >&6
6557 else $as_nop
6558 if test -n "$BISON"; then
6559 ac_cv_prog_BISON="$BISON" # Let the user override the test.
6560 else
6561 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6562 for as_dir in $PATH
6564 IFS=$as_save_IFS
6565 case $as_dir in #(((
6566 '') as_dir=./ ;;
6567 */) ;;
6568 *) as_dir=$as_dir/ ;;
6569 esac
6570 for ac_exec_ext in '' $ac_executable_extensions; do
6571 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6572 ac_cv_prog_BISON="$ac_prog"
6573 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6574 break 2
6576 done
6577 done
6578 IFS=$as_save_IFS
6582 BISON=$ac_cv_prog_BISON
6583 if test -n "$BISON"; then
6584 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
6585 printf "%s\n" "$BISON" >&6; }
6586 else
6587 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6588 printf "%s\n" "no" >&6; }
6592 test -n "$BISON" && break
6593 done
6594 test -n "$BISON" || BISON="none"
6596 if test "$BISON" = "none"
6597 then
6598 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
6600 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether bison is recent enough" >&5
6601 printf %s "checking whether bison is recent enough... " >&6; }
6602 if test ${wine_cv_recent_bison+y}
6603 then :
6604 printf %s "(cached) " >&6
6605 else $as_nop
6606 cat >conftest.y <<EOF
6607 %define parse.error verbose
6609 empty: ;
6611 if $BISON conftest.y >/dev/null 2>&5
6612 then
6613 wine_cv_recent_bison=yes
6614 else
6615 wine_cv_recent_bison=no
6618 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_bison" >&5
6619 printf "%s\n" "$wine_cv_recent_bison" >&6; }
6620 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
6622 if test -n "$ac_tool_prefix"; then
6623 for ac_prog in ar gar
6625 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6626 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6627 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6628 printf %s "checking for $ac_word... " >&6; }
6629 if test ${ac_cv_prog_AR+y}
6630 then :
6631 printf %s "(cached) " >&6
6632 else $as_nop
6633 if test -n "$AR"; then
6634 ac_cv_prog_AR="$AR" # Let the user override the test.
6635 else
6636 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6637 for as_dir in $PATH
6639 IFS=$as_save_IFS
6640 case $as_dir in #(((
6641 '') as_dir=./ ;;
6642 */) ;;
6643 *) as_dir=$as_dir/ ;;
6644 esac
6645 for ac_exec_ext in '' $ac_executable_extensions; do
6646 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6647 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6648 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6649 break 2
6651 done
6652 done
6653 IFS=$as_save_IFS
6657 AR=$ac_cv_prog_AR
6658 if test -n "$AR"; then
6659 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6660 printf "%s\n" "$AR" >&6; }
6661 else
6662 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6663 printf "%s\n" "no" >&6; }
6667 test -n "$AR" && break
6668 done
6670 if test -z "$AR"; then
6671 ac_ct_AR=$AR
6672 for ac_prog in ar gar
6674 # Extract the first word of "$ac_prog", so it can be a program name with args.
6675 set dummy $ac_prog; ac_word=$2
6676 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6677 printf %s "checking for $ac_word... " >&6; }
6678 if test ${ac_cv_prog_ac_ct_AR+y}
6679 then :
6680 printf %s "(cached) " >&6
6681 else $as_nop
6682 if test -n "$ac_ct_AR"; then
6683 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6684 else
6685 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6686 for as_dir in $PATH
6688 IFS=$as_save_IFS
6689 case $as_dir in #(((
6690 '') as_dir=./ ;;
6691 */) ;;
6692 *) as_dir=$as_dir/ ;;
6693 esac
6694 for ac_exec_ext in '' $ac_executable_extensions; do
6695 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6696 ac_cv_prog_ac_ct_AR="$ac_prog"
6697 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6698 break 2
6700 done
6701 done
6702 IFS=$as_save_IFS
6706 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6707 if test -n "$ac_ct_AR"; then
6708 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6709 printf "%s\n" "$ac_ct_AR" >&6; }
6710 else
6711 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6712 printf "%s\n" "no" >&6; }
6716 test -n "$ac_ct_AR" && break
6717 done
6719 if test "x$ac_ct_AR" = x; then
6720 AR="ar"
6721 else
6722 case $cross_compiling:$ac_tool_warned in
6723 yes:)
6724 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6725 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6726 ac_tool_warned=yes ;;
6727 esac
6728 AR=$ac_ct_AR
6732 if test -n "$ac_tool_prefix"; then
6733 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6734 set dummy ${ac_tool_prefix}strip; ac_word=$2
6735 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6736 printf %s "checking for $ac_word... " >&6; }
6737 if test ${ac_cv_prog_STRIP+y}
6738 then :
6739 printf %s "(cached) " >&6
6740 else $as_nop
6741 if test -n "$STRIP"; then
6742 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6743 else
6744 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6745 for as_dir in $PATH
6747 IFS=$as_save_IFS
6748 case $as_dir in #(((
6749 '') as_dir=./ ;;
6750 */) ;;
6751 *) as_dir=$as_dir/ ;;
6752 esac
6753 for ac_exec_ext in '' $ac_executable_extensions; do
6754 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6755 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6756 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6757 break 2
6759 done
6760 done
6761 IFS=$as_save_IFS
6765 STRIP=$ac_cv_prog_STRIP
6766 if test -n "$STRIP"; then
6767 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6768 printf "%s\n" "$STRIP" >&6; }
6769 else
6770 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6771 printf "%s\n" "no" >&6; }
6776 if test -z "$ac_cv_prog_STRIP"; then
6777 ac_ct_STRIP=$STRIP
6778 # Extract the first word of "strip", so it can be a program name with args.
6779 set dummy strip; ac_word=$2
6780 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6781 printf %s "checking for $ac_word... " >&6; }
6782 if test ${ac_cv_prog_ac_ct_STRIP+y}
6783 then :
6784 printf %s "(cached) " >&6
6785 else $as_nop
6786 if test -n "$ac_ct_STRIP"; then
6787 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6788 else
6789 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6790 for as_dir in $PATH
6792 IFS=$as_save_IFS
6793 case $as_dir in #(((
6794 '') as_dir=./ ;;
6795 */) ;;
6796 *) as_dir=$as_dir/ ;;
6797 esac
6798 for ac_exec_ext in '' $ac_executable_extensions; do
6799 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6800 ac_cv_prog_ac_ct_STRIP="strip"
6801 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6802 break 2
6804 done
6805 done
6806 IFS=$as_save_IFS
6810 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6811 if test -n "$ac_ct_STRIP"; then
6812 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6813 printf "%s\n" "$ac_ct_STRIP" >&6; }
6814 else
6815 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6816 printf "%s\n" "no" >&6; }
6819 if test "x$ac_ct_STRIP" = x; then
6820 STRIP="strip"
6821 else
6822 case $cross_compiling:$ac_tool_warned in
6823 yes:)
6824 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6825 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6826 ac_tool_warned=yes ;;
6827 esac
6828 STRIP=$ac_ct_STRIP
6830 else
6831 STRIP="$ac_cv_prog_STRIP"
6834 if test -n "$ac_tool_prefix"; then
6835 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6836 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6837 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6838 printf %s "checking for $ac_word... " >&6; }
6839 if test ${ac_cv_prog_RANLIB+y}
6840 then :
6841 printf %s "(cached) " >&6
6842 else $as_nop
6843 if test -n "$RANLIB"; then
6844 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6845 else
6846 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6847 for as_dir in $PATH
6849 IFS=$as_save_IFS
6850 case $as_dir in #(((
6851 '') as_dir=./ ;;
6852 */) ;;
6853 *) as_dir=$as_dir/ ;;
6854 esac
6855 for ac_exec_ext in '' $ac_executable_extensions; do
6856 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6857 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6858 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6859 break 2
6861 done
6862 done
6863 IFS=$as_save_IFS
6867 RANLIB=$ac_cv_prog_RANLIB
6868 if test -n "$RANLIB"; then
6869 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6870 printf "%s\n" "$RANLIB" >&6; }
6871 else
6872 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6873 printf "%s\n" "no" >&6; }
6878 if test -z "$ac_cv_prog_RANLIB"; then
6879 ac_ct_RANLIB=$RANLIB
6880 # Extract the first word of "ranlib", so it can be a program name with args.
6881 set dummy ranlib; ac_word=$2
6882 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6883 printf %s "checking for $ac_word... " >&6; }
6884 if test ${ac_cv_prog_ac_ct_RANLIB+y}
6885 then :
6886 printf %s "(cached) " >&6
6887 else $as_nop
6888 if test -n "$ac_ct_RANLIB"; then
6889 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6890 else
6891 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6892 for as_dir in $PATH
6894 IFS=$as_save_IFS
6895 case $as_dir in #(((
6896 '') as_dir=./ ;;
6897 */) ;;
6898 *) as_dir=$as_dir/ ;;
6899 esac
6900 for ac_exec_ext in '' $ac_executable_extensions; do
6901 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6902 ac_cv_prog_ac_ct_RANLIB="ranlib"
6903 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6904 break 2
6906 done
6907 done
6908 IFS=$as_save_IFS
6912 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6913 if test -n "$ac_ct_RANLIB"; then
6914 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6915 printf "%s\n" "$ac_ct_RANLIB" >&6; }
6916 else
6917 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6918 printf "%s\n" "no" >&6; }
6921 if test "x$ac_ct_RANLIB" = x; then
6922 RANLIB=":"
6923 else
6924 case $cross_compiling:$ac_tool_warned in
6925 yes:)
6926 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6927 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6928 ac_tool_warned=yes ;;
6929 esac
6930 RANLIB=$ac_ct_RANLIB
6932 else
6933 RANLIB="$ac_cv_prog_RANLIB"
6936 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6937 printf %s "checking whether ln -s works... " >&6; }
6938 LN_S=$as_ln_s
6939 if test "$LN_S" = "ln -s"; then
6940 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6941 printf "%s\n" "yes" >&6; }
6942 else
6943 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6944 printf "%s\n" "no, using $LN_S" >&6; }
6947 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6948 printf %s "checking for grep that handles long lines and -e... " >&6; }
6949 if test ${ac_cv_path_GREP+y}
6950 then :
6951 printf %s "(cached) " >&6
6952 else $as_nop
6953 if test -z "$GREP"; then
6954 ac_path_GREP_found=false
6955 # Loop through the user's path and test for each of PROGNAME-LIST
6956 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6957 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6959 IFS=$as_save_IFS
6960 case $as_dir in #(((
6961 '') as_dir=./ ;;
6962 */) ;;
6963 *) as_dir=$as_dir/ ;;
6964 esac
6965 for ac_prog in grep ggrep
6967 for ac_exec_ext in '' $ac_executable_extensions; do
6968 ac_path_GREP="$as_dir$ac_prog$ac_exec_ext"
6969 as_fn_executable_p "$ac_path_GREP" || continue
6970 # Check for GNU ac_path_GREP and select it if it is found.
6971 # Check for GNU $ac_path_GREP
6972 case `"$ac_path_GREP" --version 2>&1` in
6973 *GNU*)
6974 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6976 ac_count=0
6977 printf %s 0123456789 >"conftest.in"
6978 while :
6980 cat "conftest.in" "conftest.in" >"conftest.tmp"
6981 mv "conftest.tmp" "conftest.in"
6982 cp "conftest.in" "conftest.nl"
6983 printf "%s\n" 'GREP' >> "conftest.nl"
6984 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6985 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6986 as_fn_arith $ac_count + 1 && ac_count=$as_val
6987 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6988 # Best one so far, save it but keep looking for a better one
6989 ac_cv_path_GREP="$ac_path_GREP"
6990 ac_path_GREP_max=$ac_count
6992 # 10*(2^10) chars as input seems more than enough
6993 test $ac_count -gt 10 && break
6994 done
6995 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6996 esac
6998 $ac_path_GREP_found && break 3
6999 done
7000 done
7001 done
7002 IFS=$as_save_IFS
7003 if test -z "$ac_cv_path_GREP"; then
7004 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7006 else
7007 ac_cv_path_GREP=$GREP
7011 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
7012 printf "%s\n" "$ac_cv_path_GREP" >&6; }
7013 GREP="$ac_cv_path_GREP"
7016 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
7017 printf %s "checking for egrep... " >&6; }
7018 if test ${ac_cv_path_EGREP+y}
7019 then :
7020 printf %s "(cached) " >&6
7021 else $as_nop
7022 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
7023 then ac_cv_path_EGREP="$GREP -E"
7024 else
7025 if test -z "$EGREP"; then
7026 ac_path_EGREP_found=false
7027 # Loop through the user's path and test for each of PROGNAME-LIST
7028 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7029 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
7031 IFS=$as_save_IFS
7032 case $as_dir in #(((
7033 '') as_dir=./ ;;
7034 */) ;;
7035 *) as_dir=$as_dir/ ;;
7036 esac
7037 for ac_prog in egrep
7039 for ac_exec_ext in '' $ac_executable_extensions; do
7040 ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext"
7041 as_fn_executable_p "$ac_path_EGREP" || continue
7042 # Check for GNU ac_path_EGREP and select it if it is found.
7043 # Check for GNU $ac_path_EGREP
7044 case `"$ac_path_EGREP" --version 2>&1` in
7045 *GNU*)
7046 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
7048 ac_count=0
7049 printf %s 0123456789 >"conftest.in"
7050 while :
7052 cat "conftest.in" "conftest.in" >"conftest.tmp"
7053 mv "conftest.tmp" "conftest.in"
7054 cp "conftest.in" "conftest.nl"
7055 printf "%s\n" 'EGREP' >> "conftest.nl"
7056 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
7057 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
7058 as_fn_arith $ac_count + 1 && ac_count=$as_val
7059 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
7060 # Best one so far, save it but keep looking for a better one
7061 ac_cv_path_EGREP="$ac_path_EGREP"
7062 ac_path_EGREP_max=$ac_count
7064 # 10*(2^10) chars as input seems more than enough
7065 test $ac_count -gt 10 && break
7066 done
7067 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7068 esac
7070 $ac_path_EGREP_found && break 3
7071 done
7072 done
7073 done
7074 IFS=$as_save_IFS
7075 if test -z "$ac_cv_path_EGREP"; then
7076 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7078 else
7079 ac_cv_path_EGREP=$EGREP
7084 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
7085 printf "%s\n" "$ac_cv_path_EGREP" >&6; }
7086 EGREP="$ac_cv_path_EGREP"
7089 # Extract the first word of "ldconfig", so it can be a program name with args.
7090 set dummy ldconfig; ac_word=$2
7091 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7092 printf %s "checking for $ac_word... " >&6; }
7093 if test ${ac_cv_path_LDCONFIG+y}
7094 then :
7095 printf %s "(cached) " >&6
7096 else $as_nop
7097 case $LDCONFIG in
7098 [\\/]* | ?:[\\/]*)
7099 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
7102 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7103 for as_dir in /sbin /usr/sbin $PATH
7105 IFS=$as_save_IFS
7106 case $as_dir in #(((
7107 '') as_dir=./ ;;
7108 */) ;;
7109 *) as_dir=$as_dir/ ;;
7110 esac
7111 for ac_exec_ext in '' $ac_executable_extensions; do
7112 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7113 ac_cv_path_LDCONFIG="$as_dir$ac_word$ac_exec_ext"
7114 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7115 break 2
7117 done
7118 done
7119 IFS=$as_save_IFS
7121 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
7123 esac
7125 LDCONFIG=$ac_cv_path_LDCONFIG
7126 if test -n "$LDCONFIG"; then
7127 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
7128 printf "%s\n" "$LDCONFIG" >&6; }
7129 else
7130 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7131 printf "%s\n" "no" >&6; }
7135 for ac_prog in msgfmt
7137 # Extract the first word of "$ac_prog", so it can be a program name with args.
7138 set dummy $ac_prog; ac_word=$2
7139 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7140 printf %s "checking for $ac_word... " >&6; }
7141 if test ${ac_cv_prog_MSGFMT+y}
7142 then :
7143 printf %s "(cached) " >&6
7144 else $as_nop
7145 if test -n "$MSGFMT"; then
7146 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
7147 else
7148 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7149 for as_dir in $PATH
7151 IFS=$as_save_IFS
7152 case $as_dir in #(((
7153 '') as_dir=./ ;;
7154 */) ;;
7155 *) as_dir=$as_dir/ ;;
7156 esac
7157 for ac_exec_ext in '' $ac_executable_extensions; do
7158 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7159 ac_cv_prog_MSGFMT="$ac_prog"
7160 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7161 break 2
7163 done
7164 done
7165 IFS=$as_save_IFS
7169 MSGFMT=$ac_cv_prog_MSGFMT
7170 if test -n "$MSGFMT"; then
7171 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
7172 printf "%s\n" "$MSGFMT" >&6; }
7173 else
7174 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7175 printf "%s\n" "no" >&6; }
7179 test -n "$MSGFMT" && break
7180 done
7181 test -n "$MSGFMT" || MSGFMT="false"
7183 if test ${ac_tool_prefix+y}
7184 then :
7185 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
7186 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
7187 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7188 printf %s "checking for $ac_word... " >&6; }
7189 if test ${ac_cv_prog_PKG_CONFIG+y}
7190 then :
7191 printf %s "(cached) " >&6
7192 else $as_nop
7193 if test -n "$PKG_CONFIG"; then
7194 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
7195 else
7196 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7197 for as_dir in $PATH
7199 IFS=$as_save_IFS
7200 case $as_dir in #(((
7201 '') as_dir=./ ;;
7202 */) ;;
7203 *) as_dir=$as_dir/ ;;
7204 esac
7205 for ac_exec_ext in '' $ac_executable_extensions; do
7206 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7207 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
7208 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7209 break 2
7211 done
7212 done
7213 IFS=$as_save_IFS
7217 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7218 if test -n "$PKG_CONFIG"; then
7219 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7220 printf "%s\n" "$PKG_CONFIG" >&6; }
7221 else
7222 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7223 printf "%s\n" "no" >&6; }
7228 if ${ac_cv_prog_PKG_CONFIG:+false} :
7229 then :
7230 if test "x$cross_compiling" = xyes
7231 then :
7233 else $as_nop
7234 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
7235 # Extract the first word of "pkg-config", so it can be a program name with args.
7236 set dummy pkg-config; ac_word=$2
7237 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7238 printf %s "checking for $ac_word... " >&6; }
7239 if test ${ac_cv_prog_PKG_CONFIG+y}
7240 then :
7241 printf %s "(cached) " >&6
7242 else $as_nop
7243 if test -n "$PKG_CONFIG"; then
7244 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
7245 else
7246 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7247 for as_dir in $PATH
7249 IFS=$as_save_IFS
7250 case $as_dir in #(((
7251 '') as_dir=./ ;;
7252 */) ;;
7253 *) as_dir=$as_dir/ ;;
7254 esac
7255 for ac_exec_ext in '' $ac_executable_extensions; do
7256 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7257 ac_cv_prog_PKG_CONFIG="pkg-config"
7258 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7259 break 2
7261 done
7262 done
7263 IFS=$as_save_IFS
7267 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7268 if test -n "$PKG_CONFIG"; then
7269 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7270 printf "%s\n" "$PKG_CONFIG" >&6; }
7271 else
7272 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7273 printf "%s\n" "no" >&6; }
7278 else $as_nop
7279 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7282 if test "x$enable_maintainer_mode" != "xyes"
7283 then
7284 FONTFORGE=""
7285 RSVG=""
7286 CONVERT=""
7287 ICOTOOL=""
7288 else
7289 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
7290 for ac_prog in fontforge
7292 # Extract the first word of "$ac_prog", so it can be a program name with args.
7293 set dummy $ac_prog; ac_word=$2
7294 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7295 printf %s "checking for $ac_word... " >&6; }
7296 if test ${ac_cv_prog_FONTFORGE+y}
7297 then :
7298 printf %s "(cached) " >&6
7299 else $as_nop
7300 if test -n "$FONTFORGE"; then
7301 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
7302 else
7303 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7304 for as_dir in $PATH
7306 IFS=$as_save_IFS
7307 case $as_dir in #(((
7308 '') as_dir=./ ;;
7309 */) ;;
7310 *) as_dir=$as_dir/ ;;
7311 esac
7312 for ac_exec_ext in '' $ac_executable_extensions; do
7313 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7314 ac_cv_prog_FONTFORGE="$ac_prog"
7315 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7316 break 2
7318 done
7319 done
7320 IFS=$as_save_IFS
7324 FONTFORGE=$ac_cv_prog_FONTFORGE
7325 if test -n "$FONTFORGE"; then
7326 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
7327 printf "%s\n" "$FONTFORGE" >&6; }
7328 else
7329 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7330 printf "%s\n" "no" >&6; }
7334 test -n "$FONTFORGE" && break
7335 done
7336 test -n "$FONTFORGE" || FONTFORGE="false"
7338 for ac_prog in rsvg-convert rsvg
7340 # Extract the first word of "$ac_prog", so it can be a program name with args.
7341 set dummy $ac_prog; ac_word=$2
7342 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7343 printf %s "checking for $ac_word... " >&6; }
7344 if test ${ac_cv_prog_RSVG+y}
7345 then :
7346 printf %s "(cached) " >&6
7347 else $as_nop
7348 if test -n "$RSVG"; then
7349 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
7350 else
7351 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7352 for as_dir in $PATH
7354 IFS=$as_save_IFS
7355 case $as_dir in #(((
7356 '') as_dir=./ ;;
7357 */) ;;
7358 *) as_dir=$as_dir/ ;;
7359 esac
7360 for ac_exec_ext in '' $ac_executable_extensions; do
7361 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7362 ac_cv_prog_RSVG="$ac_prog"
7363 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7364 break 2
7366 done
7367 done
7368 IFS=$as_save_IFS
7372 RSVG=$ac_cv_prog_RSVG
7373 if test -n "$RSVG"; then
7374 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
7375 printf "%s\n" "$RSVG" >&6; }
7376 else
7377 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7378 printf "%s\n" "no" >&6; }
7382 test -n "$RSVG" && break
7383 done
7384 test -n "$RSVG" || RSVG="false"
7386 for ac_prog in convert
7388 # Extract the first word of "$ac_prog", so it can be a program name with args.
7389 set dummy $ac_prog; ac_word=$2
7390 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7391 printf %s "checking for $ac_word... " >&6; }
7392 if test ${ac_cv_prog_CONVERT+y}
7393 then :
7394 printf %s "(cached) " >&6
7395 else $as_nop
7396 if test -n "$CONVERT"; then
7397 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
7398 else
7399 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7400 for as_dir in $PATH
7402 IFS=$as_save_IFS
7403 case $as_dir in #(((
7404 '') as_dir=./ ;;
7405 */) ;;
7406 *) as_dir=$as_dir/ ;;
7407 esac
7408 for ac_exec_ext in '' $ac_executable_extensions; do
7409 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7410 ac_cv_prog_CONVERT="$ac_prog"
7411 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7412 break 2
7414 done
7415 done
7416 IFS=$as_save_IFS
7420 CONVERT=$ac_cv_prog_CONVERT
7421 if test -n "$CONVERT"; then
7422 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
7423 printf "%s\n" "$CONVERT" >&6; }
7424 else
7425 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7426 printf "%s\n" "no" >&6; }
7430 test -n "$CONVERT" && break
7431 done
7432 test -n "$CONVERT" || CONVERT="false"
7434 for ac_prog in icotool
7436 # Extract the first word of "$ac_prog", so it can be a program name with args.
7437 set dummy $ac_prog; ac_word=$2
7438 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7439 printf %s "checking for $ac_word... " >&6; }
7440 if test ${ac_cv_prog_ICOTOOL+y}
7441 then :
7442 printf %s "(cached) " >&6
7443 else $as_nop
7444 if test -n "$ICOTOOL"; then
7445 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
7446 else
7447 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7448 for as_dir in $PATH
7450 IFS=$as_save_IFS
7451 case $as_dir in #(((
7452 '') as_dir=./ ;;
7453 */) ;;
7454 *) as_dir=$as_dir/ ;;
7455 esac
7456 for ac_exec_ext in '' $ac_executable_extensions; do
7457 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7458 ac_cv_prog_ICOTOOL="$ac_prog"
7459 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7460 break 2
7462 done
7463 done
7464 IFS=$as_save_IFS
7468 ICOTOOL=$ac_cv_prog_ICOTOOL
7469 if test -n "$ICOTOOL"; then
7470 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
7471 printf "%s\n" "$ICOTOOL" >&6; }
7472 else
7473 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7474 printf "%s\n" "no" >&6; }
7478 test -n "$ICOTOOL" && break
7479 done
7480 test -n "$ICOTOOL" || ICOTOOL="false"
7482 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
7483 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
7485 if test "$CONVERT" = false
7486 then
7487 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
7488 else
7489 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
7490 printf %s "checking for recent enough imagemagick... " >&6; }
7491 convert_version=`convert --version | head -n1`
7492 if test "x$convert_version" != "x"
7493 then
7494 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
7495 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
7496 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
7497 then
7498 CONVERT=false
7501 if test "$CONVERT" = false
7502 then
7503 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
7504 printf "%s\n" "no ($convert_version_major.$convert_version_minor)" >&6; }
7505 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7506 else
7507 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
7508 printf "%s\n" "yes ($convert_version_major.$convert_version_minor)" >&6; }
7512 if test "$ICOTOOL" = false
7513 then
7514 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
7515 else
7516 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
7517 printf %s "checking for recent enough icotool... " >&6; }
7518 icotool_version=`icotool --version | head -n1`
7519 if test "x$icotool_version" != "x"
7520 then
7521 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
7522 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
7523 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
7524 then
7525 ICOTOOL=false
7526 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
7529 if test "$ICOTOOL" = false
7530 then
7531 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
7532 printf "%s\n" "no ($icotool_version_major.$icotool_version_minor)" >&6; }
7533 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7534 else
7535 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
7536 printf "%s\n" "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
7540 with_gettext=yes
7541 with_gettextpo=yes
7543 enable_werror=yes
7546 test "x$with_gettext" != xno || MSGFMT=false
7547 if test "$MSGFMT" != "false"
7548 then
7549 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
7550 printf %s "checking whether msgfmt supports contexts... " >&6; }
7551 if test ${wine_cv_msgfmt_contexts+y}
7552 then :
7553 printf %s "(cached) " >&6
7554 else $as_nop
7555 cat >conftest.po <<EOF
7556 # comment
7557 msgctxt "ctxt"
7558 msgid "id"
7559 msgstr "str"
7561 if $MSGFMT -o /dev/null conftest.po 2>&5
7562 then
7563 wine_cv_msgfmt_contexts=yes
7564 else
7565 wine_cv_msgfmt_contexts=no
7568 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_msgfmt_contexts" >&5
7569 printf "%s\n" "$wine_cv_msgfmt_contexts" >&6; }
7570 test $wine_cv_msgfmt_contexts != no || MSGFMT=false
7572 if test "$MSGFMT" = false
7573 then :
7574 case "x$with_gettext" in
7575 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
7576 xno) ;;
7577 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
7578 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
7579 esac
7580 enable_po=${enable_po:-no}
7584 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
7585 printf %s "checking for i386_set_ldt in -li386... " >&6; }
7586 if test ${ac_cv_lib_i386_i386_set_ldt+y}
7587 then :
7588 printf %s "(cached) " >&6
7589 else $as_nop
7590 ac_check_lib_save_LIBS=$LIBS
7591 LIBS="-li386 $LIBS"
7592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7593 /* end confdefs.h. */
7595 /* Override any GCC internal prototype to avoid an error.
7596 Use char because int might match the return type of a GCC
7597 builtin and then its argument prototype would still apply. */
7598 char i386_set_ldt ();
7600 main (void)
7602 return i386_set_ldt ();
7604 return 0;
7606 _ACEOF
7607 if ac_fn_c_try_link "$LINENO"
7608 then :
7609 ac_cv_lib_i386_i386_set_ldt=yes
7610 else $as_nop
7611 ac_cv_lib_i386_i386_set_ldt=no
7613 rm -f core conftest.err conftest.$ac_objext conftest.beam \
7614 conftest$ac_exeext conftest.$ac_ext
7615 LIBS=$ac_check_lib_save_LIBS
7617 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
7618 printf "%s\n" "$ac_cv_lib_i386_i386_set_ldt" >&6; }
7619 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes
7620 then :
7621 I386_LIBS="-li386"
7626 OPENGL_LIBS=""
7630 # Check whether --enable-largefile was given.
7631 if test ${enable_largefile+y}
7632 then :
7633 enableval=$enable_largefile;
7636 if test "$enable_largefile" != no; then
7638 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
7639 printf %s "checking for special C compiler options needed for large files... " >&6; }
7640 if test ${ac_cv_sys_largefile_CC+y}
7641 then :
7642 printf %s "(cached) " >&6
7643 else $as_nop
7644 ac_cv_sys_largefile_CC=no
7645 if test "$GCC" != yes; then
7646 ac_save_CC=$CC
7647 while :; do
7648 # IRIX 6.2 and later do not support large files by default,
7649 # so use the C compiler's -n32 option if that helps.
7650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7651 /* end confdefs.h. */
7652 #include <sys/types.h>
7653 /* Check that off_t can represent 2**63 - 1 correctly.
7654 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7655 since some C++ compilers masquerading as C compilers
7656 incorrectly reject 9223372036854775807. */
7657 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7658 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7659 && LARGE_OFF_T % 2147483647 == 1)
7660 ? 1 : -1];
7662 main (void)
7666 return 0;
7668 _ACEOF
7669 if ac_fn_c_try_compile "$LINENO"
7670 then :
7671 break
7673 rm -f core conftest.err conftest.$ac_objext conftest.beam
7674 CC="$CC -n32"
7675 if ac_fn_c_try_compile "$LINENO"
7676 then :
7677 ac_cv_sys_largefile_CC=' -n32'; break
7679 rm -f core conftest.err conftest.$ac_objext conftest.beam
7680 break
7681 done
7682 CC=$ac_save_CC
7683 rm -f conftest.$ac_ext
7686 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
7687 printf "%s\n" "$ac_cv_sys_largefile_CC" >&6; }
7688 if test "$ac_cv_sys_largefile_CC" != no; then
7689 CC=$CC$ac_cv_sys_largefile_CC
7692 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
7693 printf %s "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
7694 if test ${ac_cv_sys_file_offset_bits+y}
7695 then :
7696 printf %s "(cached) " >&6
7697 else $as_nop
7698 while :; do
7699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7700 /* end confdefs.h. */
7701 #include <sys/types.h>
7702 /* Check that off_t can represent 2**63 - 1 correctly.
7703 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7704 since some C++ compilers masquerading as C compilers
7705 incorrectly reject 9223372036854775807. */
7706 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7707 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7708 && LARGE_OFF_T % 2147483647 == 1)
7709 ? 1 : -1];
7711 main (void)
7715 return 0;
7717 _ACEOF
7718 if ac_fn_c_try_compile "$LINENO"
7719 then :
7720 ac_cv_sys_file_offset_bits=no; break
7722 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7724 /* end confdefs.h. */
7725 #define _FILE_OFFSET_BITS 64
7726 #include <sys/types.h>
7727 /* Check that off_t can represent 2**63 - 1 correctly.
7728 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7729 since some C++ compilers masquerading as C compilers
7730 incorrectly reject 9223372036854775807. */
7731 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7732 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7733 && LARGE_OFF_T % 2147483647 == 1)
7734 ? 1 : -1];
7736 main (void)
7740 return 0;
7742 _ACEOF
7743 if ac_fn_c_try_compile "$LINENO"
7744 then :
7745 ac_cv_sys_file_offset_bits=64; break
7747 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7748 ac_cv_sys_file_offset_bits=unknown
7749 break
7750 done
7752 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
7753 printf "%s\n" "$ac_cv_sys_file_offset_bits" >&6; }
7754 case $ac_cv_sys_file_offset_bits in #(
7755 no | unknown) ;;
7757 printf "%s\n" "#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits" >>confdefs.h
7759 esac
7760 rm -rf conftest*
7761 if test $ac_cv_sys_file_offset_bits = unknown; then
7762 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
7763 printf %s "checking for _LARGE_FILES value needed for large files... " >&6; }
7764 if test ${ac_cv_sys_large_files+y}
7765 then :
7766 printf %s "(cached) " >&6
7767 else $as_nop
7768 while :; do
7769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7770 /* end confdefs.h. */
7771 #include <sys/types.h>
7772 /* Check that off_t can represent 2**63 - 1 correctly.
7773 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7774 since some C++ compilers masquerading as C compilers
7775 incorrectly reject 9223372036854775807. */
7776 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7777 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7778 && LARGE_OFF_T % 2147483647 == 1)
7779 ? 1 : -1];
7781 main (void)
7785 return 0;
7787 _ACEOF
7788 if ac_fn_c_try_compile "$LINENO"
7789 then :
7790 ac_cv_sys_large_files=no; break
7792 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7794 /* end confdefs.h. */
7795 #define _LARGE_FILES 1
7796 #include <sys/types.h>
7797 /* Check that off_t can represent 2**63 - 1 correctly.
7798 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7799 since some C++ compilers masquerading as C compilers
7800 incorrectly reject 9223372036854775807. */
7801 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7802 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7803 && LARGE_OFF_T % 2147483647 == 1)
7804 ? 1 : -1];
7806 main (void)
7810 return 0;
7812 _ACEOF
7813 if ac_fn_c_try_compile "$LINENO"
7814 then :
7815 ac_cv_sys_large_files=1; break
7817 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7818 ac_cv_sys_large_files=unknown
7819 break
7820 done
7822 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
7823 printf "%s\n" "$ac_cv_sys_large_files" >&6; }
7824 case $ac_cv_sys_large_files in #(
7825 no | unknown) ;;
7827 printf "%s\n" "#define _LARGE_FILES $ac_cv_sys_large_files" >>confdefs.h
7829 esac
7830 rm -rf conftest*
7834 test "$ac_cv_sys_file_offset_bits" = 64 &&
7835 printf "%s\n" "#define _TIME_BITS 64" >>confdefs.h
7838 ac_header= ac_cache=
7839 for ac_item in $ac_header_c_list
7841 if test $ac_cache; then
7842 ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
7843 if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
7844 printf "%s\n" "#define $ac_item 1" >> confdefs.h
7846 ac_header= ac_cache=
7847 elif test $ac_header; then
7848 ac_cache=$ac_item
7849 else
7850 ac_header=$ac_item
7852 done
7861 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
7862 then :
7864 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
7867 ac_fn_c_check_header_compile "$LINENO" "CL/cl.h" "ac_cv_header_CL_cl_h" "$ac_includes_default"
7868 if test "x$ac_cv_header_CL_cl_h" = xyes
7869 then :
7870 printf "%s\n" "#define HAVE_CL_CL_H 1" >>confdefs.h
7873 ac_fn_c_check_header_compile "$LINENO" "EGL/egl.h" "ac_cv_header_EGL_egl_h" "$ac_includes_default"
7874 if test "x$ac_cv_header_EGL_egl_h" = xyes
7875 then :
7876 printf "%s\n" "#define HAVE_EGL_EGL_H 1" >>confdefs.h
7879 ac_fn_c_check_header_compile "$LINENO" "OpenCL/opencl.h" "ac_cv_header_OpenCL_opencl_h" "$ac_includes_default"
7880 if test "x$ac_cv_header_OpenCL_opencl_h" = xyes
7881 then :
7882 printf "%s\n" "#define HAVE_OPENCL_OPENCL_H 1" >>confdefs.h
7885 ac_fn_c_check_header_compile "$LINENO" "arpa/inet.h" "ac_cv_header_arpa_inet_h" "$ac_includes_default"
7886 if test "x$ac_cv_header_arpa_inet_h" = xyes
7887 then :
7888 printf "%s\n" "#define HAVE_ARPA_INET_H 1" >>confdefs.h
7891 ac_fn_c_check_header_compile "$LINENO" "arpa/nameser.h" "ac_cv_header_arpa_nameser_h" "$ac_includes_default"
7892 if test "x$ac_cv_header_arpa_nameser_h" = xyes
7893 then :
7894 printf "%s\n" "#define HAVE_ARPA_NAMESER_H 1" >>confdefs.h
7897 ac_fn_c_check_header_compile "$LINENO" "asm/types.h" "ac_cv_header_asm_types_h" "$ac_includes_default"
7898 if test "x$ac_cv_header_asm_types_h" = xyes
7899 then :
7900 printf "%s\n" "#define HAVE_ASM_TYPES_H 1" >>confdefs.h
7903 ac_fn_c_check_header_compile "$LINENO" "asm/user.h" "ac_cv_header_asm_user_h" "$ac_includes_default"
7904 if test "x$ac_cv_header_asm_user_h" = xyes
7905 then :
7906 printf "%s\n" "#define HAVE_ASM_USER_H 1" >>confdefs.h
7909 ac_fn_c_check_header_compile "$LINENO" "elf.h" "ac_cv_header_elf_h" "$ac_includes_default"
7910 if test "x$ac_cv_header_elf_h" = xyes
7911 then :
7912 printf "%s\n" "#define HAVE_ELF_H 1" >>confdefs.h
7915 ac_fn_c_check_header_compile "$LINENO" "float.h" "ac_cv_header_float_h" "$ac_includes_default"
7916 if test "x$ac_cv_header_float_h" = xyes
7917 then :
7918 printf "%s\n" "#define HAVE_FLOAT_H 1" >>confdefs.h
7921 ac_fn_c_check_header_compile "$LINENO" "gettext-po.h" "ac_cv_header_gettext_po_h" "$ac_includes_default"
7922 if test "x$ac_cv_header_gettext_po_h" = xyes
7923 then :
7924 printf "%s\n" "#define HAVE_GETTEXT_PO_H 1" >>confdefs.h
7927 ac_fn_c_check_header_compile "$LINENO" "libproc.h" "ac_cv_header_libproc_h" "$ac_includes_default"
7928 if test "x$ac_cv_header_libproc_h" = xyes
7929 then :
7930 printf "%s\n" "#define HAVE_LIBPROC_H 1" >>confdefs.h
7933 ac_fn_c_check_header_compile "$LINENO" "link.h" "ac_cv_header_link_h" "$ac_includes_default"
7934 if test "x$ac_cv_header_link_h" = xyes
7935 then :
7936 printf "%s\n" "#define HAVE_LINK_H 1" >>confdefs.h
7939 ac_fn_c_check_header_compile "$LINENO" "linux/cdrom.h" "ac_cv_header_linux_cdrom_h" "$ac_includes_default"
7940 if test "x$ac_cv_header_linux_cdrom_h" = xyes
7941 then :
7942 printf "%s\n" "#define HAVE_LINUX_CDROM_H 1" >>confdefs.h
7945 ac_fn_c_check_header_compile "$LINENO" "linux/filter.h" "ac_cv_header_linux_filter_h" "$ac_includes_default"
7946 if test "x$ac_cv_header_linux_filter_h" = xyes
7947 then :
7948 printf "%s\n" "#define HAVE_LINUX_FILTER_H 1" >>confdefs.h
7951 ac_fn_c_check_header_compile "$LINENO" "linux/hdreg.h" "ac_cv_header_linux_hdreg_h" "$ac_includes_default"
7952 if test "x$ac_cv_header_linux_hdreg_h" = xyes
7953 then :
7954 printf "%s\n" "#define HAVE_LINUX_HDREG_H 1" >>confdefs.h
7957 ac_fn_c_check_header_compile "$LINENO" "linux/hidraw.h" "ac_cv_header_linux_hidraw_h" "$ac_includes_default"
7958 if test "x$ac_cv_header_linux_hidraw_h" = xyes
7959 then :
7960 printf "%s\n" "#define HAVE_LINUX_HIDRAW_H 1" >>confdefs.h
7963 ac_fn_c_check_header_compile "$LINENO" "linux/input.h" "ac_cv_header_linux_input_h" "$ac_includes_default"
7964 if test "x$ac_cv_header_linux_input_h" = xyes
7965 then :
7966 printf "%s\n" "#define HAVE_LINUX_INPUT_H 1" >>confdefs.h
7969 ac_fn_c_check_header_compile "$LINENO" "linux/ioctl.h" "ac_cv_header_linux_ioctl_h" "$ac_includes_default"
7970 if test "x$ac_cv_header_linux_ioctl_h" = xyes
7971 then :
7972 printf "%s\n" "#define HAVE_LINUX_IOCTL_H 1" >>confdefs.h
7975 ac_fn_c_check_header_compile "$LINENO" "linux/major.h" "ac_cv_header_linux_major_h" "$ac_includes_default"
7976 if test "x$ac_cv_header_linux_major_h" = xyes
7977 then :
7978 printf "%s\n" "#define HAVE_LINUX_MAJOR_H 1" >>confdefs.h
7981 ac_fn_c_check_header_compile "$LINENO" "linux/param.h" "ac_cv_header_linux_param_h" "$ac_includes_default"
7982 if test "x$ac_cv_header_linux_param_h" = xyes
7983 then :
7984 printf "%s\n" "#define HAVE_LINUX_PARAM_H 1" >>confdefs.h
7987 ac_fn_c_check_header_compile "$LINENO" "linux/serial.h" "ac_cv_header_linux_serial_h" "$ac_includes_default"
7988 if test "x$ac_cv_header_linux_serial_h" = xyes
7989 then :
7990 printf "%s\n" "#define HAVE_LINUX_SERIAL_H 1" >>confdefs.h
7993 ac_fn_c_check_header_compile "$LINENO" "linux/types.h" "ac_cv_header_linux_types_h" "$ac_includes_default"
7994 if test "x$ac_cv_header_linux_types_h" = xyes
7995 then :
7996 printf "%s\n" "#define HAVE_LINUX_TYPES_H 1" >>confdefs.h
7999 ac_fn_c_check_header_compile "$LINENO" "linux/ucdrom.h" "ac_cv_header_linux_ucdrom_h" "$ac_includes_default"
8000 if test "x$ac_cv_header_linux_ucdrom_h" = xyes
8001 then :
8002 printf "%s\n" "#define HAVE_LINUX_UCDROM_H 1" >>confdefs.h
8005 ac_fn_c_check_header_compile "$LINENO" "linux/wireless.h" "ac_cv_header_linux_wireless_h" "$ac_includes_default"
8006 if test "x$ac_cv_header_linux_wireless_h" = xyes
8007 then :
8008 printf "%s\n" "#define HAVE_LINUX_WIRELESS_H 1" >>confdefs.h
8011 ac_fn_c_check_header_compile "$LINENO" "lwp.h" "ac_cv_header_lwp_h" "$ac_includes_default"
8012 if test "x$ac_cv_header_lwp_h" = xyes
8013 then :
8014 printf "%s\n" "#define HAVE_LWP_H 1" >>confdefs.h
8017 ac_fn_c_check_header_compile "$LINENO" "mach-o/loader.h" "ac_cv_header_mach_o_loader_h" "$ac_includes_default"
8018 if test "x$ac_cv_header_mach_o_loader_h" = xyes
8019 then :
8020 printf "%s\n" "#define HAVE_MACH_O_LOADER_H 1" >>confdefs.h
8023 ac_fn_c_check_header_compile "$LINENO" "mach/mach.h" "ac_cv_header_mach_mach_h" "$ac_includes_default"
8024 if test "x$ac_cv_header_mach_mach_h" = xyes
8025 then :
8026 printf "%s\n" "#define HAVE_MACH_MACH_H 1" >>confdefs.h
8029 ac_fn_c_check_header_compile "$LINENO" "machine/cpu.h" "ac_cv_header_machine_cpu_h" "$ac_includes_default"
8030 if test "x$ac_cv_header_machine_cpu_h" = xyes
8031 then :
8032 printf "%s\n" "#define HAVE_MACHINE_CPU_H 1" >>confdefs.h
8035 ac_fn_c_check_header_compile "$LINENO" "machine/sysarch.h" "ac_cv_header_machine_sysarch_h" "$ac_includes_default"
8036 if test "x$ac_cv_header_machine_sysarch_h" = xyes
8037 then :
8038 printf "%s\n" "#define HAVE_MACHINE_SYSARCH_H 1" >>confdefs.h
8041 ac_fn_c_check_header_compile "$LINENO" "mntent.h" "ac_cv_header_mntent_h" "$ac_includes_default"
8042 if test "x$ac_cv_header_mntent_h" = xyes
8043 then :
8044 printf "%s\n" "#define HAVE_MNTENT_H 1" >>confdefs.h
8047 ac_fn_c_check_header_compile "$LINENO" "netdb.h" "ac_cv_header_netdb_h" "$ac_includes_default"
8048 if test "x$ac_cv_header_netdb_h" = xyes
8049 then :
8050 printf "%s\n" "#define HAVE_NETDB_H 1" >>confdefs.h
8053 ac_fn_c_check_header_compile "$LINENO" "netinet/in.h" "ac_cv_header_netinet_in_h" "$ac_includes_default"
8054 if test "x$ac_cv_header_netinet_in_h" = xyes
8055 then :
8056 printf "%s\n" "#define HAVE_NETINET_IN_H 1" >>confdefs.h
8059 ac_fn_c_check_header_compile "$LINENO" "netinet/in_systm.h" "ac_cv_header_netinet_in_systm_h" "$ac_includes_default"
8060 if test "x$ac_cv_header_netinet_in_systm_h" = xyes
8061 then :
8062 printf "%s\n" "#define HAVE_NETINET_IN_SYSTM_H 1" >>confdefs.h
8065 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp.h" "ac_cv_header_netinet_tcp_h" "$ac_includes_default"
8066 if test "x$ac_cv_header_netinet_tcp_h" = xyes
8067 then :
8068 printf "%s\n" "#define HAVE_NETINET_TCP_H 1" >>confdefs.h
8071 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp_fsm.h" "ac_cv_header_netinet_tcp_fsm_h" "$ac_includes_default"
8072 if test "x$ac_cv_header_netinet_tcp_fsm_h" = xyes
8073 then :
8074 printf "%s\n" "#define HAVE_NETINET_TCP_FSM_H 1" >>confdefs.h
8077 ac_fn_c_check_header_compile "$LINENO" "pcap/pcap.h" "ac_cv_header_pcap_pcap_h" "$ac_includes_default"
8078 if test "x$ac_cv_header_pcap_pcap_h" = xyes
8079 then :
8080 printf "%s\n" "#define HAVE_PCAP_PCAP_H 1" >>confdefs.h
8083 ac_fn_c_check_header_compile "$LINENO" "port.h" "ac_cv_header_port_h" "$ac_includes_default"
8084 if test "x$ac_cv_header_port_h" = xyes
8085 then :
8086 printf "%s\n" "#define HAVE_PORT_H 1" >>confdefs.h
8089 ac_fn_c_check_header_compile "$LINENO" "pwd.h" "ac_cv_header_pwd_h" "$ac_includes_default"
8090 if test "x$ac_cv_header_pwd_h" = xyes
8091 then :
8092 printf "%s\n" "#define HAVE_PWD_H 1" >>confdefs.h
8095 ac_fn_c_check_header_compile "$LINENO" "sched.h" "ac_cv_header_sched_h" "$ac_includes_default"
8096 if test "x$ac_cv_header_sched_h" = xyes
8097 then :
8098 printf "%s\n" "#define HAVE_SCHED_H 1" >>confdefs.h
8101 ac_fn_c_check_header_compile "$LINENO" "scsi/scsi.h" "ac_cv_header_scsi_scsi_h" "$ac_includes_default"
8102 if test "x$ac_cv_header_scsi_scsi_h" = xyes
8103 then :
8104 printf "%s\n" "#define HAVE_SCSI_SCSI_H 1" >>confdefs.h
8107 ac_fn_c_check_header_compile "$LINENO" "scsi/scsi_ioctl.h" "ac_cv_header_scsi_scsi_ioctl_h" "$ac_includes_default"
8108 if test "x$ac_cv_header_scsi_scsi_ioctl_h" = xyes
8109 then :
8110 printf "%s\n" "#define HAVE_SCSI_SCSI_IOCTL_H 1" >>confdefs.h
8113 ac_fn_c_check_header_compile "$LINENO" "scsi/sg.h" "ac_cv_header_scsi_sg_h" "$ac_includes_default"
8114 if test "x$ac_cv_header_scsi_sg_h" = xyes
8115 then :
8116 printf "%s\n" "#define HAVE_SCSI_SG_H 1" >>confdefs.h
8119 ac_fn_c_check_header_compile "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
8120 if test "x$ac_cv_header_stdint_h" = xyes
8121 then :
8122 printf "%s\n" "#define HAVE_STDINT_H 1" >>confdefs.h
8125 ac_fn_c_check_header_compile "$LINENO" "sys/attr.h" "ac_cv_header_sys_attr_h" "$ac_includes_default"
8126 if test "x$ac_cv_header_sys_attr_h" = xyes
8127 then :
8128 printf "%s\n" "#define HAVE_SYS_ATTR_H 1" >>confdefs.h
8131 ac_fn_c_check_header_compile "$LINENO" "sys/auxv.h" "ac_cv_header_sys_auxv_h" "$ac_includes_default"
8132 if test "x$ac_cv_header_sys_auxv_h" = xyes
8133 then :
8134 printf "%s\n" "#define HAVE_SYS_AUXV_H 1" >>confdefs.h
8137 ac_fn_c_check_header_compile "$LINENO" "sys/cdio.h" "ac_cv_header_sys_cdio_h" "$ac_includes_default"
8138 if test "x$ac_cv_header_sys_cdio_h" = xyes
8139 then :
8140 printf "%s\n" "#define HAVE_SYS_CDIO_H 1" >>confdefs.h
8143 ac_fn_c_check_header_compile "$LINENO" "sys/epoll.h" "ac_cv_header_sys_epoll_h" "$ac_includes_default"
8144 if test "x$ac_cv_header_sys_epoll_h" = xyes
8145 then :
8146 printf "%s\n" "#define HAVE_SYS_EPOLL_H 1" >>confdefs.h
8149 ac_fn_c_check_header_compile "$LINENO" "sys/event.h" "ac_cv_header_sys_event_h" "$ac_includes_default"
8150 if test "x$ac_cv_header_sys_event_h" = xyes
8151 then :
8152 printf "%s\n" "#define HAVE_SYS_EVENT_H 1" >>confdefs.h
8155 ac_fn_c_check_header_compile "$LINENO" "sys/extattr.h" "ac_cv_header_sys_extattr_h" "$ac_includes_default"
8156 if test "x$ac_cv_header_sys_extattr_h" = xyes
8157 then :
8158 printf "%s\n" "#define HAVE_SYS_EXTATTR_H 1" >>confdefs.h
8161 ac_fn_c_check_header_compile "$LINENO" "sys/filio.h" "ac_cv_header_sys_filio_h" "$ac_includes_default"
8162 if test "x$ac_cv_header_sys_filio_h" = xyes
8163 then :
8164 printf "%s\n" "#define HAVE_SYS_FILIO_H 1" >>confdefs.h
8167 ac_fn_c_check_header_compile "$LINENO" "sys/ipc.h" "ac_cv_header_sys_ipc_h" "$ac_includes_default"
8168 if test "x$ac_cv_header_sys_ipc_h" = xyes
8169 then :
8170 printf "%s\n" "#define HAVE_SYS_IPC_H 1" >>confdefs.h
8173 ac_fn_c_check_header_compile "$LINENO" "sys/link.h" "ac_cv_header_sys_link_h" "$ac_includes_default"
8174 if test "x$ac_cv_header_sys_link_h" = xyes
8175 then :
8176 printf "%s\n" "#define HAVE_SYS_LINK_H 1" >>confdefs.h
8179 ac_fn_c_check_header_compile "$LINENO" "sys/modem.h" "ac_cv_header_sys_modem_h" "$ac_includes_default"
8180 if test "x$ac_cv_header_sys_modem_h" = xyes
8181 then :
8182 printf "%s\n" "#define HAVE_SYS_MODEM_H 1" >>confdefs.h
8185 ac_fn_c_check_header_compile "$LINENO" "sys/mtio.h" "ac_cv_header_sys_mtio_h" "$ac_includes_default"
8186 if test "x$ac_cv_header_sys_mtio_h" = xyes
8187 then :
8188 printf "%s\n" "#define HAVE_SYS_MTIO_H 1" >>confdefs.h
8191 ac_fn_c_check_header_compile "$LINENO" "sys/param.h" "ac_cv_header_sys_param_h" "$ac_includes_default"
8192 if test "x$ac_cv_header_sys_param_h" = xyes
8193 then :
8194 printf "%s\n" "#define HAVE_SYS_PARAM_H 1" >>confdefs.h
8197 ac_fn_c_check_header_compile "$LINENO" "sys/prctl.h" "ac_cv_header_sys_prctl_h" "$ac_includes_default"
8198 if test "x$ac_cv_header_sys_prctl_h" = xyes
8199 then :
8200 printf "%s\n" "#define HAVE_SYS_PRCTL_H 1" >>confdefs.h
8203 ac_fn_c_check_header_compile "$LINENO" "sys/ptrace.h" "ac_cv_header_sys_ptrace_h" "$ac_includes_default"
8204 if test "x$ac_cv_header_sys_ptrace_h" = xyes
8205 then :
8206 printf "%s\n" "#define HAVE_SYS_PTRACE_H 1" >>confdefs.h
8209 ac_fn_c_check_header_compile "$LINENO" "sys/queue.h" "ac_cv_header_sys_queue_h" "$ac_includes_default"
8210 if test "x$ac_cv_header_sys_queue_h" = xyes
8211 then :
8212 printf "%s\n" "#define HAVE_SYS_QUEUE_H 1" >>confdefs.h
8215 ac_fn_c_check_header_compile "$LINENO" "sys/random.h" "ac_cv_header_sys_random_h" "$ac_includes_default"
8216 if test "x$ac_cv_header_sys_random_h" = xyes
8217 then :
8218 printf "%s\n" "#define HAVE_SYS_RANDOM_H 1" >>confdefs.h
8221 ac_fn_c_check_header_compile "$LINENO" "sys/resource.h" "ac_cv_header_sys_resource_h" "$ac_includes_default"
8222 if test "x$ac_cv_header_sys_resource_h" = xyes
8223 then :
8224 printf "%s\n" "#define HAVE_SYS_RESOURCE_H 1" >>confdefs.h
8227 ac_fn_c_check_header_compile "$LINENO" "sys/scsiio.h" "ac_cv_header_sys_scsiio_h" "$ac_includes_default"
8228 if test "x$ac_cv_header_sys_scsiio_h" = xyes
8229 then :
8230 printf "%s\n" "#define HAVE_SYS_SCSIIO_H 1" >>confdefs.h
8233 ac_fn_c_check_header_compile "$LINENO" "sys/shm.h" "ac_cv_header_sys_shm_h" "$ac_includes_default"
8234 if test "x$ac_cv_header_sys_shm_h" = xyes
8235 then :
8236 printf "%s\n" "#define HAVE_SYS_SHM_H 1" >>confdefs.h
8239 ac_fn_c_check_header_compile "$LINENO" "sys/signal.h" "ac_cv_header_sys_signal_h" "$ac_includes_default"
8240 if test "x$ac_cv_header_sys_signal_h" = xyes
8241 then :
8242 printf "%s\n" "#define HAVE_SYS_SIGNAL_H 1" >>confdefs.h
8245 ac_fn_c_check_header_compile "$LINENO" "sys/socketvar.h" "ac_cv_header_sys_socketvar_h" "$ac_includes_default"
8246 if test "x$ac_cv_header_sys_socketvar_h" = xyes
8247 then :
8248 printf "%s\n" "#define HAVE_SYS_SOCKETVAR_H 1" >>confdefs.h
8251 ac_fn_c_check_header_compile "$LINENO" "sys/sockio.h" "ac_cv_header_sys_sockio_h" "$ac_includes_default"
8252 if test "x$ac_cv_header_sys_sockio_h" = xyes
8253 then :
8254 printf "%s\n" "#define HAVE_SYS_SOCKIO_H 1" >>confdefs.h
8257 ac_fn_c_check_header_compile "$LINENO" "sys/statvfs.h" "ac_cv_header_sys_statvfs_h" "$ac_includes_default"
8258 if test "x$ac_cv_header_sys_statvfs_h" = xyes
8259 then :
8260 printf "%s\n" "#define HAVE_SYS_STATVFS_H 1" >>confdefs.h
8263 ac_fn_c_check_header_compile "$LINENO" "sys/strtio.h" "ac_cv_header_sys_strtio_h" "$ac_includes_default"
8264 if test "x$ac_cv_header_sys_strtio_h" = xyes
8265 then :
8266 printf "%s\n" "#define HAVE_SYS_STRTIO_H 1" >>confdefs.h
8269 ac_fn_c_check_header_compile "$LINENO" "sys/syscall.h" "ac_cv_header_sys_syscall_h" "$ac_includes_default"
8270 if test "x$ac_cv_header_sys_syscall_h" = xyes
8271 then :
8272 printf "%s\n" "#define HAVE_SYS_SYSCALL_H 1" >>confdefs.h
8275 ac_fn_c_check_header_compile "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
8276 if test "x$ac_cv_header_sys_sysinfo_h" = xyes
8277 then :
8278 printf "%s\n" "#define HAVE_SYS_SYSINFO_H 1" >>confdefs.h
8281 ac_fn_c_check_header_compile "$LINENO" "sys/times.h" "ac_cv_header_sys_times_h" "$ac_includes_default"
8282 if test "x$ac_cv_header_sys_times_h" = xyes
8283 then :
8284 printf "%s\n" "#define HAVE_SYS_TIMES_H 1" >>confdefs.h
8287 ac_fn_c_check_header_compile "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
8288 if test "x$ac_cv_header_sys_uio_h" = xyes
8289 then :
8290 printf "%s\n" "#define HAVE_SYS_UIO_H 1" >>confdefs.h
8293 ac_fn_c_check_header_compile "$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "$ac_includes_default"
8294 if test "x$ac_cv_header_sys_user_h" = xyes
8295 then :
8296 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8299 ac_fn_c_check_header_compile "$LINENO" "sys/utsname.h" "ac_cv_header_sys_utsname_h" "$ac_includes_default"
8300 if test "x$ac_cv_header_sys_utsname_h" = xyes
8301 then :
8302 printf "%s\n" "#define HAVE_SYS_UTSNAME_H 1" >>confdefs.h
8305 ac_fn_c_check_header_compile "$LINENO" "sys/vnode.h" "ac_cv_header_sys_vnode_h" "$ac_includes_default"
8306 if test "x$ac_cv_header_sys_vnode_h" = xyes
8307 then :
8308 printf "%s\n" "#define HAVE_SYS_VNODE_H 1" >>confdefs.h
8311 ac_fn_c_check_header_compile "$LINENO" "sys/xattr.h" "ac_cv_header_sys_xattr_h" "$ac_includes_default"
8312 if test "x$ac_cv_header_sys_xattr_h" = xyes
8313 then :
8314 printf "%s\n" "#define HAVE_SYS_XATTR_H 1" >>confdefs.h
8317 ac_fn_c_check_header_compile "$LINENO" "syscall.h" "ac_cv_header_syscall_h" "$ac_includes_default"
8318 if test "x$ac_cv_header_syscall_h" = xyes
8319 then :
8320 printf "%s\n" "#define HAVE_SYSCALL_H 1" >>confdefs.h
8323 ac_fn_c_check_header_compile "$LINENO" "utime.h" "ac_cv_header_utime_h" "$ac_includes_default"
8324 if test "x$ac_cv_header_utime_h" = xyes
8325 then :
8326 printf "%s\n" "#define HAVE_UTIME_H 1" >>confdefs.h
8329 ac_fn_c_check_header_compile "$LINENO" "valgrind/memcheck.h" "ac_cv_header_valgrind_memcheck_h" "$ac_includes_default"
8330 if test "x$ac_cv_header_valgrind_memcheck_h" = xyes
8331 then :
8332 printf "%s\n" "#define HAVE_VALGRIND_MEMCHECK_H 1" >>confdefs.h
8335 ac_fn_c_check_header_compile "$LINENO" "valgrind/valgrind.h" "ac_cv_header_valgrind_valgrind_h" "$ac_includes_default"
8336 if test "x$ac_cv_header_valgrind_valgrind_h" = xyes
8337 then :
8338 printf "%s\n" "#define HAVE_VALGRIND_VALGRIND_H 1" >>confdefs.h
8342 ac_fn_c_check_header_compile "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
8343 if test "x$ac_cv_header_sys_mkdev_h" = xyes
8344 then :
8346 printf "%s\n" "#define MAJOR_IN_MKDEV 1" >>confdefs.h
8350 if test $ac_cv_header_sys_mkdev_h = no; then
8351 ac_fn_c_check_header_compile "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
8352 if test "x$ac_cv_header_sys_sysmacros_h" = xyes
8353 then :
8355 printf "%s\n" "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
8360 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
8361 printf %s "checking whether stat file-mode macros are broken... " >&6; }
8362 if test ${ac_cv_header_stat_broken+y}
8363 then :
8364 printf %s "(cached) " >&6
8365 else $as_nop
8366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8367 /* end confdefs.h. */
8368 #include <sys/types.h>
8369 #include <sys/stat.h>
8371 #if defined S_ISBLK && defined S_IFDIR
8372 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
8373 #endif
8375 #if defined S_ISBLK && defined S_IFCHR
8376 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
8377 #endif
8379 #if defined S_ISLNK && defined S_IFREG
8380 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
8381 #endif
8383 #if defined S_ISSOCK && defined S_IFREG
8384 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
8385 #endif
8387 _ACEOF
8388 if ac_fn_c_try_compile "$LINENO"
8389 then :
8390 ac_cv_header_stat_broken=no
8391 else $as_nop
8392 ac_cv_header_stat_broken=yes
8394 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8396 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
8397 printf "%s\n" "$ac_cv_header_stat_broken" >&6; }
8398 if test $ac_cv_header_stat_broken = yes; then
8400 printf "%s\n" "#define STAT_MACROS_BROKEN 1" >>confdefs.h
8406 ac_fn_c_check_header_compile "$LINENO" "sys/conf.h" "ac_cv_header_sys_conf_h" "#include <sys/types.h>
8407 #ifdef HAVE_SYS_PARAM_H
8408 # include <sys/param.h>
8409 #endif
8411 if test "x$ac_cv_header_sys_conf_h" = xyes
8412 then :
8413 printf "%s\n" "#define HAVE_SYS_CONF_H 1" >>confdefs.h
8416 ac_fn_c_check_header_compile "$LINENO" "sys/mount.h" "ac_cv_header_sys_mount_h" "#include <sys/types.h>
8417 #ifdef HAVE_SYS_PARAM_H
8418 # include <sys/param.h>
8419 #endif
8421 if test "x$ac_cv_header_sys_mount_h" = xyes
8422 then :
8423 printf "%s\n" "#define HAVE_SYS_MOUNT_H 1" >>confdefs.h
8426 ac_fn_c_check_header_compile "$LINENO" "sys/statfs.h" "ac_cv_header_sys_statfs_h" "#include <sys/types.h>
8427 #ifdef HAVE_SYS_PARAM_H
8428 # include <sys/param.h>
8429 #endif
8431 if test "x$ac_cv_header_sys_statfs_h" = xyes
8432 then :
8433 printf "%s\n" "#define HAVE_SYS_STATFS_H 1" >>confdefs.h
8436 ac_fn_c_check_header_compile "$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "#include <sys/types.h>
8437 #ifdef HAVE_SYS_PARAM_H
8438 # include <sys/param.h>
8439 #endif
8441 if test "x$ac_cv_header_sys_user_h" = xyes
8442 then :
8443 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8446 ac_fn_c_check_header_compile "$LINENO" "sys/vfs.h" "ac_cv_header_sys_vfs_h" "#include <sys/types.h>
8447 #ifdef HAVE_SYS_PARAM_H
8448 # include <sys/param.h>
8449 #endif
8451 if test "x$ac_cv_header_sys_vfs_h" = xyes
8452 then :
8453 printf "%s\n" "#define HAVE_SYS_VFS_H 1" >>confdefs.h
8458 saved_sysctl_h_CFLAGS=$CFLAGS
8459 test "x${GCC}" != xyes || CFLAGS="$CFLAGS -Werror"
8460 ac_fn_c_check_header_compile "$LINENO" "sys/sysctl.h" "ac_cv_header_sys_sysctl_h" "#include <sys/types.h>
8461 #ifdef HAVE_SYS_PARAM_H
8462 # include <sys/param.h>
8463 #endif
8465 if test "x$ac_cv_header_sys_sysctl_h" = xyes
8466 then :
8467 printf "%s\n" "#define HAVE_SYS_SYSCTL_H 1" >>confdefs.h
8471 CFLAGS=$saved_sysctl_h_CFLAGS
8473 ac_fn_c_check_header_compile "$LINENO" "netinet/ip.h" "ac_cv_header_netinet_ip_h" "#include <sys/types.h>
8474 #include <sys/socket.h>
8475 #ifdef HAVE_SYS_SOCKETVAR_H
8476 # include <sys/socketvar.h>
8477 #endif
8478 #ifdef HAVE_NET_ROUTE_H
8479 # include <net/route.h>
8480 #endif
8481 #ifdef HAVE_NETINET_IN_H
8482 # include <netinet/in.h>
8483 #endif
8484 #ifdef HAVE_NETINET_IN_SYSTM_H
8485 # include <netinet/in_systm.h>
8486 #endif
8487 #ifdef HAVE_NET_IF_H
8488 # include <net/if.h>
8489 #endif
8490 #ifdef HAVE_NETINET_IP_H
8491 # include <netinet/ip.h>
8492 #endif
8494 if test "x$ac_cv_header_netinet_ip_h" = xyes
8495 then :
8496 printf "%s\n" "#define HAVE_NETINET_IP_H 1" >>confdefs.h
8499 ac_fn_c_check_header_compile "$LINENO" "net/if.h" "ac_cv_header_net_if_h" "#include <sys/types.h>
8500 #include <sys/socket.h>
8501 #ifdef HAVE_SYS_SOCKETVAR_H
8502 # include <sys/socketvar.h>
8503 #endif
8504 #ifdef HAVE_NET_ROUTE_H
8505 # include <net/route.h>
8506 #endif
8507 #ifdef HAVE_NETINET_IN_H
8508 # include <netinet/in.h>
8509 #endif
8510 #ifdef HAVE_NETINET_IN_SYSTM_H
8511 # include <netinet/in_systm.h>
8512 #endif
8513 #ifdef HAVE_NET_IF_H
8514 # include <net/if.h>
8515 #endif
8516 #ifdef HAVE_NETINET_IP_H
8517 # include <netinet/ip.h>
8518 #endif
8520 if test "x$ac_cv_header_net_if_h" = xyes
8521 then :
8522 printf "%s\n" "#define HAVE_NET_IF_H 1" >>confdefs.h
8525 ac_fn_c_check_header_compile "$LINENO" "net/if_arp.h" "ac_cv_header_net_if_arp_h" "#include <sys/types.h>
8526 #include <sys/socket.h>
8527 #ifdef HAVE_SYS_SOCKETVAR_H
8528 # include <sys/socketvar.h>
8529 #endif
8530 #ifdef HAVE_NET_ROUTE_H
8531 # include <net/route.h>
8532 #endif
8533 #ifdef HAVE_NETINET_IN_H
8534 # include <netinet/in.h>
8535 #endif
8536 #ifdef HAVE_NETINET_IN_SYSTM_H
8537 # include <netinet/in_systm.h>
8538 #endif
8539 #ifdef HAVE_NET_IF_H
8540 # include <net/if.h>
8541 #endif
8542 #ifdef HAVE_NETINET_IP_H
8543 # include <netinet/ip.h>
8544 #endif
8546 if test "x$ac_cv_header_net_if_arp_h" = xyes
8547 then :
8548 printf "%s\n" "#define HAVE_NET_IF_ARP_H 1" >>confdefs.h
8551 ac_fn_c_check_header_compile "$LINENO" "net/if_dl.h" "ac_cv_header_net_if_dl_h" "#include <sys/types.h>
8552 #include <sys/socket.h>
8553 #ifdef HAVE_SYS_SOCKETVAR_H
8554 # include <sys/socketvar.h>
8555 #endif
8556 #ifdef HAVE_NET_ROUTE_H
8557 # include <net/route.h>
8558 #endif
8559 #ifdef HAVE_NETINET_IN_H
8560 # include <netinet/in.h>
8561 #endif
8562 #ifdef HAVE_NETINET_IN_SYSTM_H
8563 # include <netinet/in_systm.h>
8564 #endif
8565 #ifdef HAVE_NET_IF_H
8566 # include <net/if.h>
8567 #endif
8568 #ifdef HAVE_NETINET_IP_H
8569 # include <netinet/ip.h>
8570 #endif
8572 if test "x$ac_cv_header_net_if_dl_h" = xyes
8573 then :
8574 printf "%s\n" "#define HAVE_NET_IF_DL_H 1" >>confdefs.h
8577 ac_fn_c_check_header_compile "$LINENO" "net/if_types.h" "ac_cv_header_net_if_types_h" "#include <sys/types.h>
8578 #include <sys/socket.h>
8579 #ifdef HAVE_SYS_SOCKETVAR_H
8580 # include <sys/socketvar.h>
8581 #endif
8582 #ifdef HAVE_NET_ROUTE_H
8583 # include <net/route.h>
8584 #endif
8585 #ifdef HAVE_NETINET_IN_H
8586 # include <netinet/in.h>
8587 #endif
8588 #ifdef HAVE_NETINET_IN_SYSTM_H
8589 # include <netinet/in_systm.h>
8590 #endif
8591 #ifdef HAVE_NET_IF_H
8592 # include <net/if.h>
8593 #endif
8594 #ifdef HAVE_NETINET_IP_H
8595 # include <netinet/ip.h>
8596 #endif
8598 if test "x$ac_cv_header_net_if_types_h" = xyes
8599 then :
8600 printf "%s\n" "#define HAVE_NET_IF_TYPES_H 1" >>confdefs.h
8603 ac_fn_c_check_header_compile "$LINENO" "net/route.h" "ac_cv_header_net_route_h" "#include <sys/types.h>
8604 #include <sys/socket.h>
8605 #ifdef HAVE_SYS_SOCKETVAR_H
8606 # include <sys/socketvar.h>
8607 #endif
8608 #ifdef HAVE_NET_ROUTE_H
8609 # include <net/route.h>
8610 #endif
8611 #ifdef HAVE_NETINET_IN_H
8612 # include <netinet/in.h>
8613 #endif
8614 #ifdef HAVE_NETINET_IN_SYSTM_H
8615 # include <netinet/in_systm.h>
8616 #endif
8617 #ifdef HAVE_NET_IF_H
8618 # include <net/if.h>
8619 #endif
8620 #ifdef HAVE_NETINET_IP_H
8621 # include <netinet/ip.h>
8622 #endif
8624 if test "x$ac_cv_header_net_route_h" = xyes
8625 then :
8626 printf "%s\n" "#define HAVE_NET_ROUTE_H 1" >>confdefs.h
8629 ac_fn_c_check_header_compile "$LINENO" "netinet/if_ether.h" "ac_cv_header_netinet_if_ether_h" "#include <sys/types.h>
8630 #include <sys/socket.h>
8631 #ifdef HAVE_SYS_SOCKETVAR_H
8632 # include <sys/socketvar.h>
8633 #endif
8634 #ifdef HAVE_NET_ROUTE_H
8635 # include <net/route.h>
8636 #endif
8637 #ifdef HAVE_NETINET_IN_H
8638 # include <netinet/in.h>
8639 #endif
8640 #ifdef HAVE_NETINET_IN_SYSTM_H
8641 # include <netinet/in_systm.h>
8642 #endif
8643 #ifdef HAVE_NET_IF_H
8644 # include <net/if.h>
8645 #endif
8646 #ifdef HAVE_NETINET_IP_H
8647 # include <netinet/ip.h>
8648 #endif
8650 if test "x$ac_cv_header_netinet_if_ether_h" = xyes
8651 then :
8652 printf "%s\n" "#define HAVE_NETINET_IF_ETHER_H 1" >>confdefs.h
8655 ac_fn_c_check_header_compile "$LINENO" "netinet/in_pcb.h" "ac_cv_header_netinet_in_pcb_h" "#include <sys/types.h>
8656 #include <sys/socket.h>
8657 #ifdef HAVE_SYS_SOCKETVAR_H
8658 # include <sys/socketvar.h>
8659 #endif
8660 #ifdef HAVE_NET_ROUTE_H
8661 # include <net/route.h>
8662 #endif
8663 #ifdef HAVE_NETINET_IN_H
8664 # include <netinet/in.h>
8665 #endif
8666 #ifdef HAVE_NETINET_IN_SYSTM_H
8667 # include <netinet/in_systm.h>
8668 #endif
8669 #ifdef HAVE_NET_IF_H
8670 # include <net/if.h>
8671 #endif
8672 #ifdef HAVE_NETINET_IP_H
8673 # include <netinet/ip.h>
8674 #endif
8676 if test "x$ac_cv_header_netinet_in_pcb_h" = xyes
8677 then :
8678 printf "%s\n" "#define HAVE_NETINET_IN_PCB_H 1" >>confdefs.h
8681 ac_fn_c_check_header_compile "$LINENO" "netinet/ip_icmp.h" "ac_cv_header_netinet_ip_icmp_h" "#include <sys/types.h>
8682 #include <sys/socket.h>
8683 #ifdef HAVE_SYS_SOCKETVAR_H
8684 # include <sys/socketvar.h>
8685 #endif
8686 #ifdef HAVE_NET_ROUTE_H
8687 # include <net/route.h>
8688 #endif
8689 #ifdef HAVE_NETINET_IN_H
8690 # include <netinet/in.h>
8691 #endif
8692 #ifdef HAVE_NETINET_IN_SYSTM_H
8693 # include <netinet/in_systm.h>
8694 #endif
8695 #ifdef HAVE_NET_IF_H
8696 # include <net/if.h>
8697 #endif
8698 #ifdef HAVE_NETINET_IP_H
8699 # include <netinet/ip.h>
8700 #endif
8702 if test "x$ac_cv_header_netinet_ip_icmp_h" = xyes
8703 then :
8704 printf "%s\n" "#define HAVE_NETINET_IP_ICMP_H 1" >>confdefs.h
8707 ac_fn_c_check_header_compile "$LINENO" "netinet/ip_var.h" "ac_cv_header_netinet_ip_var_h" "#include <sys/types.h>
8708 #include <sys/socket.h>
8709 #ifdef HAVE_SYS_SOCKETVAR_H
8710 # include <sys/socketvar.h>
8711 #endif
8712 #ifdef HAVE_NET_ROUTE_H
8713 # include <net/route.h>
8714 #endif
8715 #ifdef HAVE_NETINET_IN_H
8716 # include <netinet/in.h>
8717 #endif
8718 #ifdef HAVE_NETINET_IN_SYSTM_H
8719 # include <netinet/in_systm.h>
8720 #endif
8721 #ifdef HAVE_NET_IF_H
8722 # include <net/if.h>
8723 #endif
8724 #ifdef HAVE_NETINET_IP_H
8725 # include <netinet/ip.h>
8726 #endif
8728 if test "x$ac_cv_header_netinet_ip_var_h" = xyes
8729 then :
8730 printf "%s\n" "#define HAVE_NETINET_IP_VAR_H 1" >>confdefs.h
8733 ac_fn_c_check_header_compile "$LINENO" "netinet/udp.h" "ac_cv_header_netinet_udp_h" "#include <sys/types.h>
8734 #include <sys/socket.h>
8735 #ifdef HAVE_SYS_SOCKETVAR_H
8736 # include <sys/socketvar.h>
8737 #endif
8738 #ifdef HAVE_NET_ROUTE_H
8739 # include <net/route.h>
8740 #endif
8741 #ifdef HAVE_NETINET_IN_H
8742 # include <netinet/in.h>
8743 #endif
8744 #ifdef HAVE_NETINET_IN_SYSTM_H
8745 # include <netinet/in_systm.h>
8746 #endif
8747 #ifdef HAVE_NET_IF_H
8748 # include <net/if.h>
8749 #endif
8750 #ifdef HAVE_NETINET_IP_H
8751 # include <netinet/ip.h>
8752 #endif
8754 if test "x$ac_cv_header_netinet_udp_h" = xyes
8755 then :
8756 printf "%s\n" "#define HAVE_NETINET_UDP_H 1" >>confdefs.h
8759 ac_fn_c_check_header_compile "$LINENO" "netinet6/ip6_var.h" "ac_cv_header_netinet6_ip6_var_h" "#include <sys/types.h>
8760 #include <sys/socket.h>
8761 #ifdef HAVE_SYS_SOCKETVAR_H
8762 # include <sys/socketvar.h>
8763 #endif
8764 #ifdef HAVE_NET_ROUTE_H
8765 # include <net/route.h>
8766 #endif
8767 #ifdef HAVE_NETINET_IN_H
8768 # include <netinet/in.h>
8769 #endif
8770 #ifdef HAVE_NETINET_IN_SYSTM_H
8771 # include <netinet/in_systm.h>
8772 #endif
8773 #ifdef HAVE_NET_IF_H
8774 # include <net/if.h>
8775 #endif
8776 #ifdef HAVE_NETINET_IP_H
8777 # include <netinet/ip.h>
8778 #endif
8780 if test "x$ac_cv_header_netinet6_ip6_var_h" = xyes
8781 then :
8782 printf "%s\n" "#define HAVE_NETINET6_IP6_VAR_H 1" >>confdefs.h
8785 ac_fn_c_check_header_compile "$LINENO" "netipx/ipx.h" "ac_cv_header_netipx_ipx_h" "#include <sys/types.h>
8786 #include <sys/socket.h>
8787 #ifdef HAVE_SYS_SOCKETVAR_H
8788 # include <sys/socketvar.h>
8789 #endif
8790 #ifdef HAVE_NET_ROUTE_H
8791 # include <net/route.h>
8792 #endif
8793 #ifdef HAVE_NETINET_IN_H
8794 # include <netinet/in.h>
8795 #endif
8796 #ifdef HAVE_NETINET_IN_SYSTM_H
8797 # include <netinet/in_systm.h>
8798 #endif
8799 #ifdef HAVE_NET_IF_H
8800 # include <net/if.h>
8801 #endif
8802 #ifdef HAVE_NETINET_IP_H
8803 # include <netinet/ip.h>
8804 #endif
8806 if test "x$ac_cv_header_netipx_ipx_h" = xyes
8807 then :
8808 printf "%s\n" "#define HAVE_NETIPX_IPX_H 1" >>confdefs.h
8811 ac_fn_c_check_header_compile "$LINENO" "sys/un.h" "ac_cv_header_sys_un_h" "#include <sys/types.h>
8812 #include <sys/socket.h>
8813 #ifdef HAVE_SYS_SOCKETVAR_H
8814 # include <sys/socketvar.h>
8815 #endif
8816 #ifdef HAVE_NET_ROUTE_H
8817 # include <net/route.h>
8818 #endif
8819 #ifdef HAVE_NETINET_IN_H
8820 # include <netinet/in.h>
8821 #endif
8822 #ifdef HAVE_NETINET_IN_SYSTM_H
8823 # include <netinet/in_systm.h>
8824 #endif
8825 #ifdef HAVE_NET_IF_H
8826 # include <net/if.h>
8827 #endif
8828 #ifdef HAVE_NETINET_IP_H
8829 # include <netinet/ip.h>
8830 #endif
8832 if test "x$ac_cv_header_sys_un_h" = xyes
8833 then :
8834 printf "%s\n" "#define HAVE_SYS_UN_H 1" >>confdefs.h
8839 ac_fn_c_check_header_compile "$LINENO" "netinet/udp_var.h" "ac_cv_header_netinet_udp_var_h" "#include <sys/types.h>
8840 #include <sys/socket.h>
8841 #ifdef HAVE_SYS_SOCKETVAR_H
8842 # include <sys/socketvar.h>
8843 #endif
8844 #ifdef HAVE_NETINET_IN_H
8845 # include <netinet/in.h>
8846 #endif
8847 #ifdef HAVE_NETINET_IN_SYSTM_H
8848 # include <netinet/in_systm.h>
8849 #endif
8850 #ifdef HAVE_NETINET_IP_H
8851 # include <netinet/ip.h>
8852 #endif
8853 #ifdef HAVE_NETINET_IP_VAR_H
8854 # include <netinet/ip_var.h>
8855 #endif
8856 #ifdef HAVE_NETINET_IP_ICMP_H
8857 # include <netinet/ip_icmp.h>
8858 #endif
8859 #ifdef HAVE_NETINET_UDP_H
8860 # include <netinet/udp.h>
8861 #endif
8862 #ifdef HAVE_NETINET_TCP_H
8863 # include <netinet/tcp.h>
8864 #endif
8866 if test "x$ac_cv_header_netinet_udp_var_h" = xyes
8867 then :
8868 printf "%s\n" "#define HAVE_NETINET_UDP_VAR_H 1" >>confdefs.h
8871 ac_fn_c_check_header_compile "$LINENO" "netinet/icmp_var.h" "ac_cv_header_netinet_icmp_var_h" "#include <sys/types.h>
8872 #include <sys/socket.h>
8873 #ifdef HAVE_SYS_SOCKETVAR_H
8874 # include <sys/socketvar.h>
8875 #endif
8876 #ifdef HAVE_NETINET_IN_H
8877 # include <netinet/in.h>
8878 #endif
8879 #ifdef HAVE_NETINET_IN_SYSTM_H
8880 # include <netinet/in_systm.h>
8881 #endif
8882 #ifdef HAVE_NETINET_IP_H
8883 # include <netinet/ip.h>
8884 #endif
8885 #ifdef HAVE_NETINET_IP_VAR_H
8886 # include <netinet/ip_var.h>
8887 #endif
8888 #ifdef HAVE_NETINET_IP_ICMP_H
8889 # include <netinet/ip_icmp.h>
8890 #endif
8891 #ifdef HAVE_NETINET_UDP_H
8892 # include <netinet/udp.h>
8893 #endif
8894 #ifdef HAVE_NETINET_TCP_H
8895 # include <netinet/tcp.h>
8896 #endif
8898 if test "x$ac_cv_header_netinet_icmp_var_h" = xyes
8899 then :
8900 printf "%s\n" "#define HAVE_NETINET_ICMP_VAR_H 1" >>confdefs.h
8903 ac_fn_c_check_header_compile "$LINENO" "netinet/icmp6.h" "ac_cv_header_netinet_icmp6_h" "#include <sys/types.h>
8904 #include <sys/socket.h>
8905 #ifdef HAVE_SYS_SOCKETVAR_H
8906 # include <sys/socketvar.h>
8907 #endif
8908 #ifdef HAVE_NETINET_IN_H
8909 # include <netinet/in.h>
8910 #endif
8911 #ifdef HAVE_NETINET_IN_SYSTM_H
8912 # include <netinet/in_systm.h>
8913 #endif
8914 #ifdef HAVE_NETINET_IP_H
8915 # include <netinet/ip.h>
8916 #endif
8917 #ifdef HAVE_NETINET_IP_VAR_H
8918 # include <netinet/ip_var.h>
8919 #endif
8920 #ifdef HAVE_NETINET_IP_ICMP_H
8921 # include <netinet/ip_icmp.h>
8922 #endif
8923 #ifdef HAVE_NETINET_UDP_H
8924 # include <netinet/udp.h>
8925 #endif
8926 #ifdef HAVE_NETINET_TCP_H
8927 # include <netinet/tcp.h>
8928 #endif
8930 if test "x$ac_cv_header_netinet_icmp6_h" = xyes
8931 then :
8932 printf "%s\n" "#define HAVE_NETINET_ICMP6_H 1" >>confdefs.h
8935 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp_var.h" "ac_cv_header_netinet_tcp_var_h" "#include <sys/types.h>
8936 #include <sys/socket.h>
8937 #ifdef HAVE_SYS_SOCKETVAR_H
8938 # include <sys/socketvar.h>
8939 #endif
8940 #ifdef HAVE_NETINET_IN_H
8941 # include <netinet/in.h>
8942 #endif
8943 #ifdef HAVE_NETINET_IN_SYSTM_H
8944 # include <netinet/in_systm.h>
8945 #endif
8946 #ifdef HAVE_NETINET_IP_H
8947 # include <netinet/ip.h>
8948 #endif
8949 #ifdef HAVE_NETINET_IP_VAR_H
8950 # include <netinet/ip_var.h>
8951 #endif
8952 #ifdef HAVE_NETINET_IP_ICMP_H
8953 # include <netinet/ip_icmp.h>
8954 #endif
8955 #ifdef HAVE_NETINET_UDP_H
8956 # include <netinet/udp.h>
8957 #endif
8958 #ifdef HAVE_NETINET_TCP_H
8959 # include <netinet/tcp.h>
8960 #endif
8962 if test "x$ac_cv_header_netinet_tcp_var_h" = xyes
8963 then :
8964 printf "%s\n" "#define HAVE_NETINET_TCP_VAR_H 1" >>confdefs.h
8969 ac_fn_c_check_header_compile "$LINENO" "linux/ipx.h" "ac_cv_header_linux_ipx_h" "#include <sys/types.h>
8970 #include <sys/socket.h>
8971 #ifdef HAVE_ASM_TYPES_H
8972 # include <asm/types.h>
8973 #endif
8974 #ifdef HAVE_LINUX_TYPES_H
8975 # include <linux/types.h>
8976 #endif
8978 if test "x$ac_cv_header_linux_ipx_h" = xyes
8979 then :
8980 printf "%s\n" "#define HAVE_LINUX_IPX_H 1" >>confdefs.h
8983 ac_fn_c_check_header_compile "$LINENO" "linux/irda.h" "ac_cv_header_linux_irda_h" "#include <sys/types.h>
8984 #include <sys/socket.h>
8985 #ifdef HAVE_ASM_TYPES_H
8986 # include <asm/types.h>
8987 #endif
8988 #ifdef HAVE_LINUX_TYPES_H
8989 # include <linux/types.h>
8990 #endif
8992 if test "x$ac_cv_header_linux_irda_h" = xyes
8993 then :
8994 printf "%s\n" "#define HAVE_LINUX_IRDA_H 1" >>confdefs.h
8997 ac_fn_c_check_header_compile "$LINENO" "linux/rtnetlink.h" "ac_cv_header_linux_rtnetlink_h" "#include <sys/types.h>
8998 #include <sys/socket.h>
8999 #ifdef HAVE_ASM_TYPES_H
9000 # include <asm/types.h>
9001 #endif
9002 #ifdef HAVE_LINUX_TYPES_H
9003 # include <linux/types.h>
9004 #endif
9006 if test "x$ac_cv_header_linux_rtnetlink_h" = xyes
9007 then :
9008 printf "%s\n" "#define HAVE_LINUX_RTNETLINK_H 1" >>confdefs.h
9013 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
9014 #include <sys/socket.h>
9015 #ifdef HAVE_NETINET_IN_H
9016 # include <netinet/in.h>
9017 #endif
9018 #ifdef HAVE_ARPA_NAMESER_H
9019 # include <arpa/nameser.h>
9020 #endif
9022 if test "x$ac_cv_header_resolv_h" = xyes
9023 then :
9024 printf "%s\n" "#define HAVE_RESOLV_H 1" >>confdefs.h
9029 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
9031 if test "x$ac_cv_header_ifaddrs_h" = xyes
9032 then :
9033 printf "%s\n" "#define HAVE_IFADDRS_H 1" >>confdefs.h
9038 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
9040 if test "x$ac_cv_header_sys_ucontext_h" = xyes
9041 then :
9042 printf "%s\n" "#define HAVE_SYS_UCONTEXT_H 1" >>confdefs.h
9047 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
9048 #ifdef HAVE_SYS_UCONTEXT_H
9049 #include <sys/ucontext.h>
9050 #endif
9052 if test "x$ac_cv_header_sys_thr_h" = xyes
9053 then :
9054 printf "%s\n" "#define HAVE_SYS_THR_H 1" >>confdefs.h
9059 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#include <pthread.h>
9061 if test "x$ac_cv_header_pthread_np_h" = xyes
9062 then :
9063 printf "%s\n" "#define HAVE_PTHREAD_NP_H 1" >>confdefs.h
9068 ac_fn_c_check_header_compile "$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "#include <sys/time.h>
9069 #include <sys/types.h>
9070 #ifdef HAVE_ASM_TYPES_H
9071 #include <asm/types.h>
9072 #endif
9074 if test "x$ac_cv_header_linux_videodev2_h" = xyes
9075 then :
9076 printf "%s\n" "#define HAVE_LINUX_VIDEODEV2_H 1" >>confdefs.h
9081 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
9082 #include <sys/param.h>
9083 #endif
9084 #include <sys/socket.h>
9085 #ifdef HAVE_SYS_QUEUE_H
9086 #include <sys/queue.h>
9087 #endif
9089 if test "x$ac_cv_header_libprocstat_h" = xyes
9090 then :
9091 printf "%s\n" "#define HAVE_LIBPROCSTAT_H 1" >>confdefs.h
9096 if test "x$ac_cv_header_sys_xattr_h" = xyes
9097 then
9098 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether getxattr takes additional arguments" >&5
9099 printf %s "checking whether getxattr takes additional arguments... " >&6; }
9100 if test ${wine_cv_xattr_extra_args+y}
9101 then :
9102 printf %s "(cached) " >&6
9103 else $as_nop
9104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9105 /* end confdefs.h. */
9106 #include <sys/xattr.h>
9108 main (void)
9110 getxattr("", "", "", 0, 0, 0);
9112 return 0;
9114 _ACEOF
9115 if ac_fn_c_try_compile "$LINENO"
9116 then :
9117 wine_cv_xattr_extra_args=yes
9118 else $as_nop
9119 wine_cv_xattr_extra_args=no
9121 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9123 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_xattr_extra_args" >&5
9124 printf "%s\n" "$wine_cv_xattr_extra_args" >&6; }
9125 test $wine_cv_xattr_extra_args != yes ||
9126 printf "%s\n" "#define XATTR_ADDITIONAL_OPTIONS 1" >>confdefs.h
9131 DLLFLAGS=""
9133 LDDLLFLAGS=""
9135 LDEXECFLAGS=""
9137 EXTRACFLAGS=""
9139 UNIXDLLFLAGS="-fPIC"
9141 UNIXLDFLAGS="-shared -Wl,-Bsymbolic -Wl,-soname,\$(UNIXLIB)"
9143 TOP_INSTALL_LIB=""
9145 TOP_INSTALL_DEV=""
9147 WINELOADER_LDFLAGS=""
9149 WINEPRELOADER_LDFLAGS=""
9151 DLLEXT=".so"
9153 LIBEXT="so"
9154 # Extract the first word of "ldd", so it can be a program name with args.
9155 set dummy ldd; ac_word=$2
9156 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9157 printf %s "checking for $ac_word... " >&6; }
9158 if test ${ac_cv_path_LDD+y}
9159 then :
9160 printf %s "(cached) " >&6
9161 else $as_nop
9162 case $LDD in
9163 [\\/]* | ?:[\\/]*)
9164 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
9167 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9168 as_dummy="/sbin:/usr/sbin:$PATH"
9169 for as_dir in $as_dummy
9171 IFS=$as_save_IFS
9172 case $as_dir in #(((
9173 '') as_dir=./ ;;
9174 */) ;;
9175 *) as_dir=$as_dir/ ;;
9176 esac
9177 for ac_exec_ext in '' $ac_executable_extensions; do
9178 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9179 ac_cv_path_LDD="$as_dir$ac_word$ac_exec_ext"
9180 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9181 break 2
9183 done
9184 done
9185 IFS=$as_save_IFS
9187 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
9189 esac
9191 LDD=$ac_cv_path_LDD
9192 if test -n "$LDD"; then
9193 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
9194 printf "%s\n" "$LDD" >&6; }
9195 else
9196 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9197 printf "%s\n" "no" >&6; }
9201 if test -n "$ac_tool_prefix"; then
9202 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
9203 set dummy ${ac_tool_prefix}otool; ac_word=$2
9204 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9205 printf %s "checking for $ac_word... " >&6; }
9206 if test ${ac_cv_prog_OTOOL+y}
9207 then :
9208 printf %s "(cached) " >&6
9209 else $as_nop
9210 if test -n "$OTOOL"; then
9211 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
9212 else
9213 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9214 for as_dir in $PATH
9216 IFS=$as_save_IFS
9217 case $as_dir in #(((
9218 '') as_dir=./ ;;
9219 */) ;;
9220 *) as_dir=$as_dir/ ;;
9221 esac
9222 for ac_exec_ext in '' $ac_executable_extensions; do
9223 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9224 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
9225 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9226 break 2
9228 done
9229 done
9230 IFS=$as_save_IFS
9234 OTOOL=$ac_cv_prog_OTOOL
9235 if test -n "$OTOOL"; then
9236 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
9237 printf "%s\n" "$OTOOL" >&6; }
9238 else
9239 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9240 printf "%s\n" "no" >&6; }
9245 if test -z "$ac_cv_prog_OTOOL"; then
9246 ac_ct_OTOOL=$OTOOL
9247 # Extract the first word of "otool", so it can be a program name with args.
9248 set dummy otool; ac_word=$2
9249 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9250 printf %s "checking for $ac_word... " >&6; }
9251 if test ${ac_cv_prog_ac_ct_OTOOL+y}
9252 then :
9253 printf %s "(cached) " >&6
9254 else $as_nop
9255 if test -n "$ac_ct_OTOOL"; then
9256 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
9257 else
9258 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9259 for as_dir in $PATH
9261 IFS=$as_save_IFS
9262 case $as_dir in #(((
9263 '') as_dir=./ ;;
9264 */) ;;
9265 *) as_dir=$as_dir/ ;;
9266 esac
9267 for ac_exec_ext in '' $ac_executable_extensions; do
9268 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9269 ac_cv_prog_ac_ct_OTOOL="otool"
9270 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9271 break 2
9273 done
9274 done
9275 IFS=$as_save_IFS
9279 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
9280 if test -n "$ac_ct_OTOOL"; then
9281 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
9282 printf "%s\n" "$ac_ct_OTOOL" >&6; }
9283 else
9284 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9285 printf "%s\n" "no" >&6; }
9288 if test "x$ac_ct_OTOOL" = x; then
9289 OTOOL="otool"
9290 else
9291 case $cross_compiling:$ac_tool_warned in
9292 yes:)
9293 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9294 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9295 ac_tool_warned=yes ;;
9296 esac
9297 OTOOL=$ac_ct_OTOOL
9299 else
9300 OTOOL="$ac_cv_prog_OTOOL"
9303 if test -n "$ac_tool_prefix"; then
9304 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
9305 set dummy ${ac_tool_prefix}readelf; ac_word=$2
9306 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9307 printf %s "checking for $ac_word... " >&6; }
9308 if test ${ac_cv_prog_READELF+y}
9309 then :
9310 printf %s "(cached) " >&6
9311 else $as_nop
9312 if test -n "$READELF"; then
9313 ac_cv_prog_READELF="$READELF" # Let the user override the test.
9314 else
9315 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9316 for as_dir in $PATH
9318 IFS=$as_save_IFS
9319 case $as_dir in #(((
9320 '') as_dir=./ ;;
9321 */) ;;
9322 *) as_dir=$as_dir/ ;;
9323 esac
9324 for ac_exec_ext in '' $ac_executable_extensions; do
9325 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9326 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
9327 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9328 break 2
9330 done
9331 done
9332 IFS=$as_save_IFS
9336 READELF=$ac_cv_prog_READELF
9337 if test -n "$READELF"; then
9338 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
9339 printf "%s\n" "$READELF" >&6; }
9340 else
9341 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9342 printf "%s\n" "no" >&6; }
9347 if test -z "$ac_cv_prog_READELF"; then
9348 ac_ct_READELF=$READELF
9349 # Extract the first word of "readelf", so it can be a program name with args.
9350 set dummy readelf; ac_word=$2
9351 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9352 printf %s "checking for $ac_word... " >&6; }
9353 if test ${ac_cv_prog_ac_ct_READELF+y}
9354 then :
9355 printf %s "(cached) " >&6
9356 else $as_nop
9357 if test -n "$ac_ct_READELF"; then
9358 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
9359 else
9360 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9361 for as_dir in $PATH
9363 IFS=$as_save_IFS
9364 case $as_dir in #(((
9365 '') as_dir=./ ;;
9366 */) ;;
9367 *) as_dir=$as_dir/ ;;
9368 esac
9369 for ac_exec_ext in '' $ac_executable_extensions; do
9370 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9371 ac_cv_prog_ac_ct_READELF="readelf"
9372 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9373 break 2
9375 done
9376 done
9377 IFS=$as_save_IFS
9381 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
9382 if test -n "$ac_ct_READELF"; then
9383 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
9384 printf "%s\n" "$ac_ct_READELF" >&6; }
9385 else
9386 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9387 printf "%s\n" "no" >&6; }
9390 if test "x$ac_ct_READELF" = x; then
9391 READELF="true"
9392 else
9393 case $cross_compiling:$ac_tool_warned in
9394 yes:)
9395 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9396 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9397 ac_tool_warned=yes ;;
9398 esac
9399 READELF=$ac_ct_READELF
9401 else
9402 READELF="$ac_cv_prog_READELF"
9405 wine_rules="all:"
9406 SUBDIRS=""
9408 DISABLED_SUBDIRS=""
9410 CONFIGURE_TARGETS=""
9413 wine_fn_config_makefile ()
9415 as_fn_append SUBDIRS " \\$as_nl $1"
9416 eval enable=\$$2
9417 case "$enable" in
9418 no) as_fn_append DISABLED_SUBDIRS " $1" ;;
9419 yes) ;;
9420 *aarch64*|*arm*|*i386*|*x86_64*)
9421 if test -n "$PE_ARCHS"
9422 then
9423 for i in $PE_ARCHS
9425 test $(expr ",$enable," : ".*,$i,") -gt 0 || as_fn_append ${i}_DISABLED_SUBDIRS " $1"
9426 done
9427 else
9428 test $(expr ",$enable," : ".*,$HOST_ARCH,") -gt 0 || as_fn_append DISABLED_SUBDIRS " $1"
9429 fi ;;
9431 case "$1, $PE_ARCHS " in
9432 programs/*,*\ arm64ec\ *) as_fn_append arm64ec_DISABLED_SUBDIRS " $1" ;;
9433 esac ;;
9434 esac
9437 wine_fn_config_symlink ()
9439 ac_links=$@
9440 as_fn_append wine_rules "
9441 $ac_links:
9442 @./config.status \$@"
9443 for f in $ac_links; do as_fn_append CONFIGURE_TARGETS " $f"; done
9446 case $host_os in
9447 cygwin*|mingw32*)
9448 LIBEXT="dll"
9449 DLLEXT=""
9450 EXTRACFLAGS="-D__WINE_PE_BUILD"
9451 if test "x$HOST_ARCH" = xi386
9452 then :
9453 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--disable-stdcall-fixup" >&5
9454 printf %s "checking whether the compiler supports -Wl,--disable-stdcall-fixup... " >&6; }
9455 if test ${ac_cv_cflags__Wl___disable_stdcall_fixup+y}
9456 then :
9457 printf %s "(cached) " >&6
9458 else $as_nop
9459 ac_wine_try_cflags_saved=$CFLAGS
9460 CFLAGS="$CFLAGS -Wl,--disable-stdcall-fixup"
9461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9462 /* end confdefs.h. */
9463 int main(int argc, char **argv) { return 0; }
9464 _ACEOF
9465 if ac_fn_c_try_link "$LINENO"
9466 then :
9467 ac_cv_cflags__Wl___disable_stdcall_fixup=yes
9468 else $as_nop
9469 ac_cv_cflags__Wl___disable_stdcall_fixup=no
9471 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9472 conftest$ac_exeext conftest.$ac_ext
9473 CFLAGS=$ac_wine_try_cflags_saved
9475 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___disable_stdcall_fixup" >&5
9476 printf "%s\n" "$ac_cv_cflags__Wl___disable_stdcall_fixup" >&6; }
9477 if test "x$ac_cv_cflags__Wl___disable_stdcall_fixup" = xyes
9478 then :
9479 LDDLLFLAGS="-Wl,--disable-stdcall-fixup"
9482 enable_loader=${enable_loader:-no}
9483 enable_server=${enable_server:-no}
9484 with_x=${with_x:-no}
9485 with_pthread=${with_pthread:-no}
9488 darwin*|macosx*)
9489 LIBEXT="dylib"
9490 DLLFLAGS="$DLLFLAGS -fPIC"
9491 LDDLLFLAGS="-fPIC"
9492 enable_winemac_drv=${enable_winemac_drv:-yes}
9493 CARBON_LIBS="-framework Carbon"
9495 COREFOUNDATION_LIBS="-framework CoreFoundation"
9497 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
9499 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
9501 METAL_LIBS="-framework Metal"
9503 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
9505 CORESERVICES_LIBS="-framework CoreServices"
9507 APPKIT_LIBS="-framework AppKit"
9509 SECURITY_LIBS="-framework Security -framework CoreFoundation"
9511 SYSTEMCONFIGURATION_LIBS="-framework SystemConfiguration"
9514 WINELOADER_LDFLAGS="-Wl,-pie,-segalign,0x1000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist"
9516 case $HOST_ARCH in
9517 i386|x86_64) wine_can_build_preloader=yes ;;
9518 *) wine_can_build_preloader=no ;;
9519 esac
9521 if test "$wine_can_build_preloader" = "yes"
9522 then
9523 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"
9524 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
9525 printf %s "checking whether the compiler supports -Wl,-no_pie... " >&6; }
9526 if test ${ac_cv_cflags__Wl__no_pie+y}
9527 then :
9528 printf %s "(cached) " >&6
9529 else $as_nop
9530 ac_wine_try_cflags_saved=$CFLAGS
9531 CFLAGS="$CFLAGS -Wl,-no_pie"
9532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9533 /* end confdefs.h. */
9534 int main(int argc, char **argv) { return 0; }
9535 _ACEOF
9536 if ac_fn_c_try_link "$LINENO"
9537 then :
9538 ac_cv_cflags__Wl__no_pie=yes
9539 else $as_nop
9540 ac_cv_cflags__Wl__no_pie=no
9542 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9543 conftest$ac_exeext conftest.$ac_ext
9544 CFLAGS=$ac_wine_try_cflags_saved
9546 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
9547 printf "%s\n" "$ac_cv_cflags__Wl__no_pie" >&6; }
9548 if test "x$ac_cv_cflags__Wl__no_pie" = xyes
9549 then :
9550 WINEPRELOADER_LDFLAGS="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
9552 case $HOST_ARCH in
9553 i386)
9554 WINEPRELOADER_LDFLAGS="-Wl,-image_base,0x7d400000 $WINEPRELOADER_LDFLAGS"
9556 x86_64)
9557 WINEPRELOADER_LDFLAGS="-Wl,-image_base,0x200000000,-segalign,0x1000,-segaddr,WINE_RESERVE,0x1000 $WINEPRELOADER_LDFLAGS"
9559 esac
9560 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -mmacosx-version-min=10.7"
9561 else
9562 as_fn_append wine_warnings "|can't build Wine preloader; many programs won't work"
9565 if test "x$with_coreaudio" != "xno";
9566 then
9567 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
9569 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
9571 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
9572 then
9573 OPENCL_LIBS="-framework OpenCL"
9575 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
9578 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether MTLDevice protocol supports registryID property" >&5
9579 printf %s "checking whether MTLDevice protocol supports registryID property... " >&6; }
9580 ac_ext=m
9581 ac_cpp='$OBJCPP $CPPFLAGS'
9582 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9583 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9584 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9586 ac_ext=m
9587 ac_cpp='$OBJCPP $CPPFLAGS'
9588 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9589 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9590 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9591 if test -n "$ac_tool_prefix"; then
9592 for ac_prog in gcc objcc objc cc CC clang
9594 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
9595 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
9596 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9597 printf %s "checking for $ac_word... " >&6; }
9598 if test ${ac_cv_prog_OBJC+y}
9599 then :
9600 printf %s "(cached) " >&6
9601 else $as_nop
9602 if test -n "$OBJC"; then
9603 ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
9604 else
9605 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9606 for as_dir in $PATH
9608 IFS=$as_save_IFS
9609 case $as_dir in #(((
9610 '') as_dir=./ ;;
9611 */) ;;
9612 *) as_dir=$as_dir/ ;;
9613 esac
9614 for ac_exec_ext in '' $ac_executable_extensions; do
9615 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9616 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
9617 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9618 break 2
9620 done
9621 done
9622 IFS=$as_save_IFS
9626 OBJC=$ac_cv_prog_OBJC
9627 if test -n "$OBJC"; then
9628 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
9629 printf "%s\n" "$OBJC" >&6; }
9630 else
9631 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9632 printf "%s\n" "no" >&6; }
9636 test -n "$OBJC" && break
9637 done
9639 if test -z "$OBJC"; then
9640 ac_ct_OBJC=$OBJC
9641 for ac_prog in gcc objcc objc cc CC clang
9643 # Extract the first word of "$ac_prog", so it can be a program name with args.
9644 set dummy $ac_prog; ac_word=$2
9645 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9646 printf %s "checking for $ac_word... " >&6; }
9647 if test ${ac_cv_prog_ac_ct_OBJC+y}
9648 then :
9649 printf %s "(cached) " >&6
9650 else $as_nop
9651 if test -n "$ac_ct_OBJC"; then
9652 ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
9653 else
9654 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9655 for as_dir in $PATH
9657 IFS=$as_save_IFS
9658 case $as_dir in #(((
9659 '') as_dir=./ ;;
9660 */) ;;
9661 *) as_dir=$as_dir/ ;;
9662 esac
9663 for ac_exec_ext in '' $ac_executable_extensions; do
9664 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9665 ac_cv_prog_ac_ct_OBJC="$ac_prog"
9666 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9667 break 2
9669 done
9670 done
9671 IFS=$as_save_IFS
9675 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
9676 if test -n "$ac_ct_OBJC"; then
9677 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
9678 printf "%s\n" "$ac_ct_OBJC" >&6; }
9679 else
9680 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9681 printf "%s\n" "no" >&6; }
9685 test -n "$ac_ct_OBJC" && break
9686 done
9688 if test "x$ac_ct_OBJC" = x; then
9689 OBJC="gcc"
9690 else
9691 case $cross_compiling:$ac_tool_warned in
9692 yes:)
9693 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9694 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9695 ac_tool_warned=yes ;;
9696 esac
9697 OBJC=$ac_ct_OBJC
9701 # Provide some information about the compiler.
9702 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
9703 set X $ac_compile
9704 ac_compiler=$2
9705 for ac_option in --version -v -V -qversion; do
9706 { { ac_try="$ac_compiler $ac_option >&5"
9707 case "(($ac_try" in
9708 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9709 *) ac_try_echo=$ac_try;;
9710 esac
9711 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
9712 printf "%s\n" "$ac_try_echo"; } >&5
9713 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
9714 ac_status=$?
9715 if test -s conftest.err; then
9716 sed '10a\
9717 ... rest of stderr output deleted ...
9718 10q' conftest.err >conftest.er1
9719 cat conftest.er1 >&5
9721 rm -f conftest.er1 conftest.err
9722 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9723 test $ac_status = 0; }
9724 done
9726 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU Objective C" >&5
9727 printf %s "checking whether the compiler supports GNU Objective C... " >&6; }
9728 if test ${ac_cv_objc_compiler_gnu+y}
9729 then :
9730 printf %s "(cached) " >&6
9731 else $as_nop
9732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9733 /* end confdefs.h. */
9736 main (void)
9738 #ifndef __GNUC__
9739 choke me
9740 #endif
9743 return 0;
9745 _ACEOF
9746 if ac_fn_objc_try_compile "$LINENO"
9747 then :
9748 ac_compiler_gnu=yes
9749 else $as_nop
9750 ac_compiler_gnu=no
9752 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9753 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
9756 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
9757 printf "%s\n" "$ac_cv_objc_compiler_gnu" >&6; }
9758 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9760 if test $ac_compiler_gnu = yes; then
9761 GOBJC=yes
9762 else
9763 GOBJC=
9765 ac_test_OBJCFLAGS=${OBJCFLAGS+y}
9766 ac_save_OBJCFLAGS=$OBJCFLAGS
9767 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
9768 printf %s "checking whether $OBJC accepts -g... " >&6; }
9769 if test ${ac_cv_prog_objc_g+y}
9770 then :
9771 printf %s "(cached) " >&6
9772 else $as_nop
9773 ac_save_objc_werror_flag=$ac_objc_werror_flag
9774 ac_objc_werror_flag=yes
9775 ac_cv_prog_objc_g=no
9776 OBJCFLAGS="-g"
9777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9778 /* end confdefs.h. */
9781 main (void)
9785 return 0;
9787 _ACEOF
9788 if ac_fn_objc_try_compile "$LINENO"
9789 then :
9790 ac_cv_prog_objc_g=yes
9791 else $as_nop
9792 OBJCFLAGS=""
9793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9794 /* end confdefs.h. */
9797 main (void)
9801 return 0;
9803 _ACEOF
9804 if ac_fn_objc_try_compile "$LINENO"
9805 then :
9807 else $as_nop
9808 ac_objc_werror_flag=$ac_save_objc_werror_flag
9809 OBJCFLAGS="-g"
9810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9811 /* end confdefs.h. */
9814 main (void)
9818 return 0;
9820 _ACEOF
9821 if ac_fn_objc_try_compile "$LINENO"
9822 then :
9823 ac_cv_prog_objc_g=yes
9825 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9827 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9829 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9830 ac_objc_werror_flag=$ac_save_objc_werror_flag
9832 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
9833 printf "%s\n" "$ac_cv_prog_objc_g" >&6; }
9834 if test $ac_test_OBJCFLAGS; then
9835 OBJCFLAGS=$ac_save_OBJCFLAGS
9836 elif test $ac_cv_prog_objc_g = yes; then
9837 if test "$GOBJC" = yes; then
9838 OBJCFLAGS="-g -O2"
9839 else
9840 OBJCFLAGS="-g"
9842 else
9843 if test "$GOBJC" = yes; then
9844 OBJCFLAGS="-O2"
9845 else
9846 OBJCFLAGS=
9849 ac_ext=m
9850 ac_cpp='$OBJCPP $CPPFLAGS'
9851 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9852 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9853 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9857 /* end confdefs.h. */
9858 #include <Metal/Metal.h>
9860 main (void)
9862 id<MTLDevice> device; device.registryID;
9864 return 0;
9866 _ACEOF
9867 if ac_fn_objc_try_compile "$LINENO"
9868 then :
9869 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9870 printf "%s\n" "yes" >&6; }
9872 printf "%s\n" "#define HAVE_MTLDEVICE_REGISTRYID 1" >>confdefs.h
9874 else $as_nop
9875 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9876 printf "%s\n" "no" >&6; }
9878 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9879 ac_ext=c
9880 ac_cpp='$CPP $CPPFLAGS'
9881 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9882 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9883 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9886 UNIXLDFLAGS="-dynamiclib -install_name @rpath/\$(UNIXLIB) -Wl,-rpath,@loader_path\/"
9887 WINELOADER_DEPENDS="wine_info.plist"
9891 linux-android*)
9893 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
9895 DLLFLAGS="$DLLFLAGS -fPIC"
9896 LDDLLFLAGS="-fPIC"
9897 LDEXECFLAGS="-Wl,-pie"
9898 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
9899 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
9900 printf %s "checking whether the compiler supports -Wl,-z,defs... " >&6; }
9901 if test ${ac_cv_cflags__Wl__z_defs+y}
9902 then :
9903 printf %s "(cached) " >&6
9904 else $as_nop
9905 ac_wine_try_cflags_saved=$CFLAGS
9906 CFLAGS="$CFLAGS -Wl,-z,defs"
9907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9908 /* end confdefs.h. */
9909 int main(int argc, char **argv) { return 0; }
9910 _ACEOF
9911 if ac_fn_c_try_link "$LINENO"
9912 then :
9913 ac_cv_cflags__Wl__z_defs=yes
9914 else $as_nop
9915 ac_cv_cflags__Wl__z_defs=no
9917 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9918 conftest$ac_exeext conftest.$ac_ext
9919 CFLAGS=$ac_wine_try_cflags_saved
9921 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
9922 printf "%s\n" "$ac_cv_cflags__Wl__z_defs" >&6; }
9923 if test "x$ac_cv_cflags__Wl__z_defs" = xyes
9924 then :
9925 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
9927 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
9928 printf %s "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
9929 if test ${ac_cv_cflags__fPIC__Wl___export_dynamic+y}
9930 then :
9931 printf %s "(cached) " >&6
9932 else $as_nop
9933 ac_wine_try_cflags_saved=$CFLAGS
9934 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
9935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9936 /* end confdefs.h. */
9937 int main(int argc, char **argv) { return 0; }
9938 _ACEOF
9939 if ac_fn_c_try_link "$LINENO"
9940 then :
9941 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
9942 else $as_nop
9943 ac_cv_cflags__fPIC__Wl___export_dynamic=no
9945 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9946 conftest$ac_exeext conftest.$ac_ext
9947 CFLAGS=$ac_wine_try_cflags_saved
9949 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
9950 printf "%s\n" "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
9951 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
9952 then :
9953 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9955 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
9957 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
9958 printf %s "checking for -lEGL... " >&6; }
9959 if test ${ac_cv_lib_soname_EGL+y}
9960 then :
9961 printf %s "(cached) " >&6
9962 else $as_nop
9963 ac_check_soname_save_LIBS=$LIBS
9964 LIBS="-lEGL $LIBS"
9965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9966 /* end confdefs.h. */
9968 /* Override any GCC internal prototype to avoid an error.
9969 Use char because int might match the return type of a GCC
9970 builtin and then its argument prototype would still apply. */
9971 char eglGetProcAddress ();
9973 main (void)
9975 return eglGetProcAddress ();
9977 return 0;
9979 _ACEOF
9980 if ac_fn_c_try_link "$LINENO"
9981 then :
9982 case "$LIBEXT" in
9983 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9984 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'` ;;
9985 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9986 if ${ac_cv_lib_soname_EGL:+false} :
9987 then :
9988 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9989 fi ;;
9990 esac
9991 else $as_nop
9992 ac_cv_lib_soname_EGL=
9994 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9995 conftest$ac_exeext conftest.$ac_ext
9996 LIBS=$ac_check_soname_save_LIBS
9998 if ${ac_cv_lib_soname_EGL:+false} :
9999 then :
10000 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10001 printf "%s\n" "not found" >&6; }
10003 else $as_nop
10004 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
10005 printf "%s\n" "$ac_cv_lib_soname_EGL" >&6; }
10007 printf "%s\n" "#define SONAME_LIBEGL \"$ac_cv_lib_soname_EGL\"" >>confdefs.h
10011 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
10012 printf %s "checking for -lGLESv2... " >&6; }
10013 if test ${ac_cv_lib_soname_GLESv2+y}
10014 then :
10015 printf %s "(cached) " >&6
10016 else $as_nop
10017 ac_check_soname_save_LIBS=$LIBS
10018 LIBS="-lGLESv2 $LIBS"
10019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10020 /* end confdefs.h. */
10022 /* Override any GCC internal prototype to avoid an error.
10023 Use char because int might match the return type of a GCC
10024 builtin and then its argument prototype would still apply. */
10025 char glFlush ();
10027 main (void)
10029 return glFlush ();
10031 return 0;
10033 _ACEOF
10034 if ac_fn_c_try_link "$LINENO"
10035 then :
10036 case "$LIBEXT" in
10037 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10038 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'` ;;
10039 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10040 if ${ac_cv_lib_soname_GLESv2:+false} :
10041 then :
10042 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10043 fi ;;
10044 esac
10045 else $as_nop
10046 ac_cv_lib_soname_GLESv2=
10048 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10049 conftest$ac_exeext conftest.$ac_ext
10050 LIBS=$ac_check_soname_save_LIBS
10052 if ${ac_cv_lib_soname_GLESv2:+false} :
10053 then :
10054 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10055 printf "%s\n" "not found" >&6; }
10057 else $as_nop
10058 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
10059 printf "%s\n" "$ac_cv_lib_soname_GLESv2" >&6; }
10061 printf "%s\n" "#define SONAME_LIBGLESV2 \"$ac_cv_lib_soname_GLESv2\"" >>confdefs.h
10066 if test "x$exec_prefix" = xNONE
10067 then
10068 case $HOST_ARCH in
10069 i386) exec_prefix='${prefix}/x86' ;;
10070 x86_64) exec_prefix='${prefix}/x86_64' ;;
10071 arm) exec_prefix='${prefix}/armeabi-v7a' ;;
10072 aarch64) exec_prefix='${prefix}/arm64-v8a' ;;
10073 esac
10079 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
10081 if test $HOST_ARCH = i386
10082 then
10083 DLLFLAGS="$DLLFLAGS -fno-PIC"
10084 LDDLLFLAGS="-fno-PIC"
10085 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-PIC -Wl,-z,notext" >&5
10086 printf %s "checking whether the compiler supports -fno-PIC -Wl,-z,notext... " >&6; }
10087 if test ${ac_cv_cflags__fno_PIC__Wl__z_notext+y}
10088 then :
10089 printf %s "(cached) " >&6
10090 else $as_nop
10091 ac_wine_try_cflags_saved=$CFLAGS
10092 CFLAGS="$CFLAGS -fno-PIC -Wl,-z,notext"
10093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10094 /* end confdefs.h. */
10095 int main(int argc, char **argv) { return 0; }
10096 _ACEOF
10097 if ac_fn_c_try_link "$LINENO"
10098 then :
10099 ac_cv_cflags__fno_PIC__Wl__z_notext=yes
10100 else $as_nop
10101 ac_cv_cflags__fno_PIC__Wl__z_notext=no
10103 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10104 conftest$ac_exeext conftest.$ac_ext
10105 CFLAGS=$ac_wine_try_cflags_saved
10107 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_PIC__Wl__z_notext" >&5
10108 printf "%s\n" "$ac_cv_cflags__fno_PIC__Wl__z_notext" >&6; }
10109 if test "x$ac_cv_cflags__fno_PIC__Wl__z_notext" = xyes
10110 then :
10111 LDDLLFLAGS="$LDDLLFLAGS -Wl,-z,notext"
10113 else
10114 DLLFLAGS="$DLLFLAGS -fPIC"
10115 LDDLLFLAGS="-fPIC"
10118 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -Wl,-z,defs works correctly" >&5
10119 printf %s "checking whether -Wl,-z,defs works correctly... " >&6; }
10120 if test ${ac_cv_wl_z_defs+y}
10121 then :
10122 printf %s "(cached) " >&6
10123 else $as_nop
10124 ac_save_CFLAGS="$CFLAGS"
10125 CFLAGS="$CFLAGS $UNIXDLLFLAGS $UNIXLDFLAGS -Wl,-z,defs"
10126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10127 /* end confdefs.h. */
10128 extern char **environ; char **envp; void myfunc(void) { envp = environ; }
10129 _ACEOF
10130 if ac_fn_c_try_link "$LINENO"
10131 then :
10132 ac_cv_wl_z_defs=yes
10133 else $as_nop
10134 ac_cv_wl_z_defs=no
10136 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10137 conftest$ac_exeext conftest.$ac_ext
10138 CFLAGS=$ac_save_CFLAGS
10140 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_wl_z_defs" >&5
10141 printf "%s\n" "$ac_cv_wl_z_defs" >&6; }
10142 test $ac_cv_wl_z_defs != yes || as_fn_append UNIXLDFLAGS " -Wl,-z,defs"
10144 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--export-dynamic" >&5
10145 printf %s "checking whether the compiler supports -Wl,--export-dynamic... " >&6; }
10146 if test ${ac_cv_cflags__Wl___export_dynamic+y}
10147 then :
10148 printf %s "(cached) " >&6
10149 else $as_nop
10150 ac_wine_try_cflags_saved=$CFLAGS
10151 CFLAGS="$CFLAGS -Wl,--export-dynamic"
10152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10153 /* end confdefs.h. */
10154 int main(int argc, char **argv) { return 0; }
10155 _ACEOF
10156 if ac_fn_c_try_link "$LINENO"
10157 then :
10158 ac_cv_cflags__Wl___export_dynamic=yes
10159 else $as_nop
10160 ac_cv_cflags__Wl___export_dynamic=no
10162 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10163 conftest$ac_exeext conftest.$ac_ext
10164 CFLAGS=$ac_wine_try_cflags_saved
10166 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___export_dynamic" >&5
10167 printf "%s\n" "$ac_cv_cflags__Wl___export_dynamic" >&6; }
10168 if test "x$ac_cv_cflags__Wl___export_dynamic" = xyes
10169 then :
10170 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
10172 WINEPRELOADER_LDFLAGS="-nostartfiles -nodefaultlibs"
10174 case $host_os in
10175 linux*)
10176 as_fn_append WINELOADER_LDFLAGS " -pie"
10177 case $HOST_ARCH in
10178 i386|arm)
10179 as_fn_append WINEPRELOADER_LDFLAGS " -static -Wl,-Ttext=0x7d400000" ;;
10181 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -static-pie" >&5
10182 printf %s "checking whether the compiler supports -static-pie... " >&6; }
10183 if test ${ac_cv_cflags__static_pie+y}
10184 then :
10185 printf %s "(cached) " >&6
10186 else $as_nop
10187 ac_wine_try_cflags_saved=$CFLAGS
10188 CFLAGS="$CFLAGS -static-pie"
10189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10190 /* end confdefs.h. */
10191 int main(int argc, char **argv) { return 0; }
10192 _ACEOF
10193 if ac_fn_c_try_link "$LINENO"
10194 then :
10195 ac_cv_cflags__static_pie=yes
10196 else $as_nop
10197 ac_cv_cflags__static_pie=no
10199 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10200 conftest$ac_exeext conftest.$ac_ext
10201 CFLAGS=$ac_wine_try_cflags_saved
10203 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__static_pie" >&5
10204 printf "%s\n" "$ac_cv_cflags__static_pie" >&6; }
10205 if test "x$ac_cv_cflags__static_pie" = xyes
10206 then :
10207 as_fn_append WINEPRELOADER_LDFLAGS " -static-pie"
10208 else $as_nop
10209 as_fn_append WINEPRELOADER_LDFLAGS " -static -Wl,-Ttext=0x7d7d00000000"
10212 esac
10215 case $HOST_ARCH in
10216 i386|arm)
10217 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x60000000" >&5
10218 printf %s "checking whether the compiler supports -Wl,-Ttext-segment=0x60000000... " >&6; }
10219 if test ${ac_cv_cflags__Wl__Ttext_segment_0x60000000+y}
10220 then :
10221 printf %s "(cached) " >&6
10222 else $as_nop
10223 ac_wine_try_cflags_saved=$CFLAGS
10224 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x60000000"
10225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10226 /* end confdefs.h. */
10227 int main(int argc, char **argv) { return 0; }
10228 _ACEOF
10229 if ac_fn_c_try_link "$LINENO"
10230 then :
10231 ac_cv_cflags__Wl__Ttext_segment_0x60000000=yes
10232 else $as_nop
10233 ac_cv_cflags__Wl__Ttext_segment_0x60000000=no
10235 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10236 conftest$ac_exeext conftest.$ac_ext
10237 CFLAGS=$ac_wine_try_cflags_saved
10239 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x60000000" >&5
10240 printf "%s\n" "$ac_cv_cflags__Wl__Ttext_segment_0x60000000" >&6; }
10241 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x60000000" = xyes
10242 then :
10243 as_fn_append WINELOADER_LDFLAGS " -Wl,-Ttext-segment=0x60000000"
10244 else $as_nop
10245 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x60000400" >&5
10246 printf %s "checking whether the compiler supports -Wl,--section-start,.interp=0x60000400... " >&6; }
10247 if test ${ac_cv_cflags__Wl___section_start__interp_0x60000400+y}
10248 then :
10249 printf %s "(cached) " >&6
10250 else $as_nop
10251 ac_wine_try_cflags_saved=$CFLAGS
10252 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x60000400"
10253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10254 /* end confdefs.h. */
10255 int main(int argc, char **argv) { return 0; }
10256 _ACEOF
10257 if ac_fn_c_try_link "$LINENO"
10258 then :
10259 ac_cv_cflags__Wl___section_start__interp_0x60000400=yes
10260 else $as_nop
10261 ac_cv_cflags__Wl___section_start__interp_0x60000400=no
10263 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10264 conftest$ac_exeext conftest.$ac_ext
10265 CFLAGS=$ac_wine_try_cflags_saved
10267 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x60000400" >&5
10268 printf "%s\n" "$ac_cv_cflags__Wl___section_start__interp_0x60000400" >&6; }
10269 if test "x$ac_cv_cflags__Wl___section_start__interp_0x60000400" = xyes
10270 then :
10271 as_fn_append WINELOADER_LDFLAGS " -Wl,--section-start,.interp=0x60000400"
10276 as_fn_append WINELOADER_LDFLAGS " -pie"
10278 esac
10280 esac
10282 esac
10284 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
10285 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
10286 enable_winemac_drv=${enable_winemac_drv:-no}
10288 PE_ARCHS=""
10290 cross_archs=
10291 if test ${enable_archs+y}
10292 then :
10293 test "x$with_system_dllpath" = "x" || as_fn_error $? "\"The --with-system-dllpath option is not compatible with --enable-archs\"" "$LINENO" 5
10294 ac_save_IFS=$IFS
10295 IFS=' ,'
10296 set x $enable_archs
10297 IFS=$ac_save_IFS
10298 shift
10299 for arch
10301 case $arch in
10302 i386|x86_64|arm|aarch64|arm64ec) cross_archs="$cross_archs $arch" ;;
10303 *) as_fn_error $? "Unknown cross-compilation architecture '$arch'" "$LINENO" 5 ;;
10304 esac
10305 done
10306 else $as_nop
10307 if test "x$with_mingw" != xno
10308 then
10309 test $HOST_ARCH = unknown || cross_archs=$HOST_ARCH
10313 saved_CC=$CC
10314 saved_CFLAGS=$CFLAGS
10315 saved_LDFLAGS=$LDFLAGS
10317 for wine_arch in $cross_archs
10319 case "x$with_mingw" in
10320 xclang|x*/clang) eval "${wine_arch}_CC=\$with_mingw" ;;
10321 esac
10322 if eval \${${wine_arch}_CC:+false} :
10323 then :
10324 case $wine_arch in
10325 aarch64)
10326 for ac_prog in aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc clang
10328 # Extract the first word of "$ac_prog", so it can be a program name with args.
10329 set dummy $ac_prog; ac_word=$2
10330 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10331 printf %s "checking for $ac_word... " >&6; }
10332 if test ${ac_cv_prog_aarch64_CC+y}
10333 then :
10334 printf %s "(cached) " >&6
10335 else $as_nop
10336 if test -n "$aarch64_CC"; then
10337 ac_cv_prog_aarch64_CC="$aarch64_CC" # Let the user override the test.
10338 else
10339 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10340 for as_dir in $PATH
10342 IFS=$as_save_IFS
10343 case $as_dir in #(((
10344 '') as_dir=./ ;;
10345 */) ;;
10346 *) as_dir=$as_dir/ ;;
10347 esac
10348 for ac_exec_ext in '' $ac_executable_extensions; do
10349 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10350 ac_cv_prog_aarch64_CC="$ac_prog"
10351 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10352 break 2
10354 done
10355 done
10356 IFS=$as_save_IFS
10360 aarch64_CC=$ac_cv_prog_aarch64_CC
10361 if test -n "$aarch64_CC"; then
10362 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $aarch64_CC" >&5
10363 printf "%s\n" "$aarch64_CC" >&6; }
10364 else
10365 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10366 printf "%s\n" "no" >&6; }
10370 test -n "$aarch64_CC" && break
10371 done
10372 test -n "$aarch64_CC" || aarch64_CC="false"
10375 arm64ec)
10376 for ac_prog in arm64ec-w64-mingw32-clang arm64ec-w64-mingw32-gcc clang
10378 # Extract the first word of "$ac_prog", so it can be a program name with args.
10379 set dummy $ac_prog; ac_word=$2
10380 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10381 printf %s "checking for $ac_word... " >&6; }
10382 if test ${ac_cv_prog_arm64ec_CC+y}
10383 then :
10384 printf %s "(cached) " >&6
10385 else $as_nop
10386 if test -n "$arm64ec_CC"; then
10387 ac_cv_prog_arm64ec_CC="$arm64ec_CC" # Let the user override the test.
10388 else
10389 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10390 for as_dir in $PATH
10392 IFS=$as_save_IFS
10393 case $as_dir in #(((
10394 '') as_dir=./ ;;
10395 */) ;;
10396 *) as_dir=$as_dir/ ;;
10397 esac
10398 for ac_exec_ext in '' $ac_executable_extensions; do
10399 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10400 ac_cv_prog_arm64ec_CC="$ac_prog"
10401 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10402 break 2
10404 done
10405 done
10406 IFS=$as_save_IFS
10410 arm64ec_CC=$ac_cv_prog_arm64ec_CC
10411 if test -n "$arm64ec_CC"; then
10412 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $arm64ec_CC" >&5
10413 printf "%s\n" "$arm64ec_CC" >&6; }
10414 else
10415 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10416 printf "%s\n" "no" >&6; }
10420 test -n "$arm64ec_CC" && break
10421 done
10422 test -n "$arm64ec_CC" || arm64ec_CC="false"
10425 arm)
10426 for ac_prog in armv7-w64-mingw32-clang armv7-w64-mingw32-gcc clang
10428 # Extract the first word of "$ac_prog", so it can be a program name with args.
10429 set dummy $ac_prog; ac_word=$2
10430 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10431 printf %s "checking for $ac_word... " >&6; }
10432 if test ${ac_cv_prog_arm_CC+y}
10433 then :
10434 printf %s "(cached) " >&6
10435 else $as_nop
10436 if test -n "$arm_CC"; then
10437 ac_cv_prog_arm_CC="$arm_CC" # Let the user override the test.
10438 else
10439 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10440 for as_dir in $PATH
10442 IFS=$as_save_IFS
10443 case $as_dir in #(((
10444 '') as_dir=./ ;;
10445 */) ;;
10446 *) as_dir=$as_dir/ ;;
10447 esac
10448 for ac_exec_ext in '' $ac_executable_extensions; do
10449 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10450 ac_cv_prog_arm_CC="$ac_prog"
10451 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10452 break 2
10454 done
10455 done
10456 IFS=$as_save_IFS
10460 arm_CC=$ac_cv_prog_arm_CC
10461 if test -n "$arm_CC"; then
10462 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $arm_CC" >&5
10463 printf "%s\n" "$arm_CC" >&6; }
10464 else
10465 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10466 printf "%s\n" "no" >&6; }
10470 test -n "$arm_CC" && break
10471 done
10472 test -n "$arm_CC" || arm_CC="false"
10475 i386)
10476 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 "
10477 for ac_prog in $ac_prefix_list clang
10479 # Extract the first word of "$ac_prog", so it can be a program name with args.
10480 set dummy $ac_prog; ac_word=$2
10481 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10482 printf %s "checking for $ac_word... " >&6; }
10483 if test ${ac_cv_prog_i386_CC+y}
10484 then :
10485 printf %s "(cached) " >&6
10486 else $as_nop
10487 if test -n "$i386_CC"; then
10488 ac_cv_prog_i386_CC="$i386_CC" # Let the user override the test.
10489 else
10490 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10491 for as_dir in $PATH
10493 IFS=$as_save_IFS
10494 case $as_dir in #(((
10495 '') as_dir=./ ;;
10496 */) ;;
10497 *) as_dir=$as_dir/ ;;
10498 esac
10499 for ac_exec_ext in '' $ac_executable_extensions; do
10500 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10501 ac_cv_prog_i386_CC="$ac_prog"
10502 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10503 break 2
10505 done
10506 done
10507 IFS=$as_save_IFS
10511 i386_CC=$ac_cv_prog_i386_CC
10512 if test -n "$i386_CC"; then
10513 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $i386_CC" >&5
10514 printf "%s\n" "$i386_CC" >&6; }
10515 else
10516 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10517 printf "%s\n" "no" >&6; }
10521 test -n "$i386_CC" && break
10522 done
10523 test -n "$i386_CC" || i386_CC="false"
10526 x86_64)
10527 ac_prefix_list="x86_64-w64-mingw32-gcc amd64-w64-mingw32-gcc x86_64-w64-mingw32-clang amd64-w64-mingw32-clang "
10528 for ac_prog in $ac_prefix_list clang
10530 # Extract the first word of "$ac_prog", so it can be a program name with args.
10531 set dummy $ac_prog; ac_word=$2
10532 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10533 printf %s "checking for $ac_word... " >&6; }
10534 if test ${ac_cv_prog_x86_64_CC+y}
10535 then :
10536 printf %s "(cached) " >&6
10537 else $as_nop
10538 if test -n "$x86_64_CC"; then
10539 ac_cv_prog_x86_64_CC="$x86_64_CC" # Let the user override the test.
10540 else
10541 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10542 for as_dir in $PATH
10544 IFS=$as_save_IFS
10545 case $as_dir in #(((
10546 '') as_dir=./ ;;
10547 */) ;;
10548 *) as_dir=$as_dir/ ;;
10549 esac
10550 for ac_exec_ext in '' $ac_executable_extensions; do
10551 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10552 ac_cv_prog_x86_64_CC="$ac_prog"
10553 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10554 break 2
10556 done
10557 done
10558 IFS=$as_save_IFS
10562 x86_64_CC=$ac_cv_prog_x86_64_CC
10563 if test -n "$x86_64_CC"; then
10564 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $x86_64_CC" >&5
10565 printf "%s\n" "$x86_64_CC" >&6; }
10566 else
10567 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10568 printf "%s\n" "no" >&6; }
10572 test -n "$x86_64_CC" && break
10573 done
10574 test -n "$x86_64_CC" || x86_64_CC="false"
10577 esac
10580 CFLAGS=${CROSSCFLAGS:-"-g -O2"}
10581 LDFLAGS=$CROSSLDFLAGS
10582 eval CC=\$${wine_arch}_CC
10583 eval ${wine_arch}_CFLAGS=\$CFLAGS
10584 eval ${wine_arch}_LDFLAGS=\$LDFLAGS
10585 eval "${wine_arch}_EXTRACFLAGS=\"-D__WINE_PE_BUILD -Wall\""
10587 target=""
10588 as_wine_cv_crosscc=`printf "%s\n" "ac_cv_${wine_arch}_crosscc" | $as_tr_sh`
10590 if eval test \"x\$"${wine_arch}_CC"\" = x"false"
10591 then :
10593 else $as_nop
10594 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
10595 printf %s "checking whether $CC works... " >&6; }
10596 if eval test \${$as_wine_cv_crosscc+y}
10597 then :
10598 printf %s "(cached) " >&6
10599 else $as_nop
10600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10601 /* end confdefs.h. */
10604 main (void)
10608 return 0;
10610 _ACEOF
10611 if ac_fn_c_try_compile "$LINENO"
10612 then :
10613 eval "$as_wine_cv_crosscc=yes"
10614 else $as_nop
10615 eval "$as_wine_cv_crosscc=no"
10617 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10619 eval ac_res=\$$as_wine_cv_crosscc
10620 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10621 printf "%s\n" "$ac_res" >&6; }
10623 if eval test \"x\$"$as_wine_cv_crosscc"\" = x"yes"
10624 then :
10625 set x $CC
10626 shift
10627 while test $# -ge 1
10629 case "$1" in
10630 */*-gcc) target=`expr "$1" : '.*/\(.*\)-gcc'` ;;
10631 */*-clang) target=`expr "$1" : '.*/\(.*\)-clang'` ;;
10632 *-gcc) target=`expr "$1" : '\(.*\)-gcc'` ;;
10633 *-clang) target=`expr "$1" : '\(.*\)-clang'` ;;
10634 esac
10635 shift
10636 done
10638 llvm_target=$target
10639 if test -z "$llvm_target"
10640 then
10641 case $wine_arch in
10642 i386) llvm_target=i686-windows ;;
10643 arm) llvm_target=armv7-windows ;;
10644 *) llvm_target=$wine_arch-windows ;;
10645 esac
10647 llvm_extra_cflags="-target $llvm_target -fuse-ld=lld"
10648 llvm_extra_ldflags=""
10649 case $llvm_target in
10650 *windows) llvm_cflags="-Wl,-subsystem:console -Wl,-WX" ;;
10651 esac
10652 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_$llvm_extra_cflags $llvm_cflags --no-default-config" | $as_tr_sh`
10653 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports $llvm_extra_cflags $llvm_cflags --no-default-config" >&5
10654 printf %s "checking whether $CC supports $llvm_extra_cflags $llvm_cflags --no-default-config... " >&6; }
10655 if eval test \${$as_ac_var+y}
10656 then :
10657 printf %s "(cached) " >&6
10658 else $as_nop
10659 ac_wine_try_cflags_saved=$CFLAGS
10660 ac_wine_try_cflags_saved_exeext=$ac_exeext
10661 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs $llvm_extra_cflags $llvm_cflags --no-default-config"
10662 ac_exeext=".exe"
10663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10664 /* end confdefs.h. */
10665 void *__os_arm64x_dispatch_ret = 0;
10666 int __cdecl mainCRTStartup(void) { return 0; }
10667 _ACEOF
10668 if ac_fn_c_try_link "$LINENO"
10669 then :
10670 eval "$as_ac_var=yes"
10671 else $as_nop
10672 eval "$as_ac_var=no"
10674 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10675 conftest$ac_exeext conftest.$ac_ext
10676 CFLAGS=$ac_wine_try_cflags_saved
10677 ac_exeext=$ac_wine_try_cflags_saved_exeext
10679 eval ac_res=\$$as_ac_var
10680 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10681 printf "%s\n" "$ac_res" >&6; }
10682 if eval test \"x\$"$as_ac_var"\" = x"yes"
10683 then :
10684 llvm_extra_cflags="$llvm_extra_cflags --no-default-config"
10685 llvm_extra_ldflags="--no-default-config"
10686 else $as_nop
10687 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_$llvm_extra_cflags $llvm_cflags" | $as_tr_sh`
10688 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports $llvm_extra_cflags $llvm_cflags" >&5
10689 printf %s "checking whether $CC supports $llvm_extra_cflags $llvm_cflags... " >&6; }
10690 if eval test \${$as_ac_var+y}
10691 then :
10692 printf %s "(cached) " >&6
10693 else $as_nop
10694 ac_wine_try_cflags_saved=$CFLAGS
10695 ac_wine_try_cflags_saved_exeext=$ac_exeext
10696 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs $llvm_extra_cflags $llvm_cflags"
10697 ac_exeext=".exe"
10698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10699 /* end confdefs.h. */
10700 void *__os_arm64x_dispatch_ret = 0;
10701 int __cdecl mainCRTStartup(void) { return 0; }
10702 _ACEOF
10703 if ac_fn_c_try_link "$LINENO"
10704 then :
10705 eval "$as_ac_var=yes"
10706 else $as_nop
10707 eval "$as_ac_var=no"
10709 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10710 conftest$ac_exeext conftest.$ac_ext
10711 CFLAGS=$ac_wine_try_cflags_saved
10712 ac_exeext=$ac_wine_try_cflags_saved_exeext
10714 eval ac_res=\$$as_ac_var
10715 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10716 printf "%s\n" "$ac_res" >&6; }
10717 if eval test \"x\$"$as_ac_var"\" = x"yes"
10718 then :
10720 else $as_nop
10721 llvm_extra_cflags=""
10722 fi }
10723 fi }
10724 if test -n "$llvm_extra_cflags"
10725 then
10726 target=$llvm_target
10727 eval "${wine_arch}_DELAYLOADFLAG=\"-Wl,-delayload,\""
10728 as_fn_append ${wine_arch}_EXTRACFLAGS " $llvm_extra_cflags"
10729 as_fn_append ${wine_arch}_LDFLAGS " $llvm_extra_ldflags"
10730 CFLAGS="$llvm_extra_cflags $llvm_cflags"
10732 eval "${wine_arch}_TARGET=\$target"
10736 if test -z "$target"
10737 then
10738 if test ${enable_archs+y}
10739 then :
10740 as_fn_error $? "$wine_arch PE cross-compiler not found.
10741 This is an error since --enable-archs=$wine_arch was requested." "$LINENO" 5
10743 continue
10746 as_wine_cv_crosscc_c99=`printf "%s\n" "ac_cv_${wine_arch}_crosscc_c99" | $as_tr_sh`
10748 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
10749 printf %s "checking for $CC option to enable C99 features... " >&6; }
10750 if eval test \${$as_wine_cv_crosscc_c99+y}
10751 then :
10752 printf %s "(cached) " >&6
10753 else $as_nop
10754 eval "$as_wine_cv_crosscc_c99=no"
10755 for arg in '' '-std=gnu99' '-D__STDC__'
10757 test -z "$arg" || CC="$CC $arg"
10758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10759 /* end confdefs.h. */
10760 $ac_c_conftest_c99_program
10761 _ACEOF
10762 if ac_fn_c_try_compile "$LINENO"
10763 then :
10764 eval "$as_wine_cv_crosscc_c99=\$arg"
10765 else $as_nop
10766 eval "$as_wine_cv_crosscc_c99=no"
10768 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10769 eval CC=\$${wine_arch}_CC
10770 if eval test \"x\$"$as_wine_cv_crosscc_c99"\" = x"no"
10771 then :
10773 else $as_nop
10774 break
10776 done
10779 eval res=\$$as_wine_cv_crosscc_c99
10781 case "x$res" in
10782 x) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
10783 printf "%s\n" "none needed" >&6; } ;;
10784 xno) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
10785 printf "%s\n" "unsupported" >&6; }
10786 if test ${enable_archs+y}
10787 then :
10788 as_fn_error $? "$wine_arch PE cross-compiler supporting C99 not found.
10789 This is an error since --enable-archs=$wine_arch was requested." "$LINENO" 5
10791 continue
10793 x*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $res" >&5
10794 printf "%s\n" "$res" >&6; }
10795 as_fn_append ${wine_arch}_CC " $res" ;;
10796 esac
10798 if test "x$wine_arch" = xi386
10799 then :
10801 else $as_nop
10802 as_wine_cv_seh_support=`printf "%s\n" "ac_cv_${wine_arch}_seh_support" | $as_tr_sh`
10804 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports SEH directives" >&5
10805 printf %s "checking whether $CC supports SEH directives... " >&6; }
10806 if eval test \${$as_wine_cv_seh_support+y}
10807 then :
10808 printf %s "(cached) " >&6
10809 else $as_nop
10810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10811 /* end confdefs.h. */
10812 asm(".text\nac_test:\t.seh_proc ac_test\n\tnop\n\t.seh_stackalloc 16\n\t.seh_endprologue\n\t.seh_endproc");
10814 main (void)
10818 return 0;
10820 _ACEOF
10821 if ac_fn_c_try_compile "$LINENO"
10822 then :
10823 eval "$as_wine_cv_seh_support=yes"
10824 else $as_nop
10825 eval "$as_wine_cv_seh_support=no"
10827 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10829 eval ac_res=\$$as_wine_cv_seh_support
10830 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10831 printf "%s\n" "$ac_res" >&6; }
10832 eval res=\$$as_wine_cv_seh_support
10834 if test "x$res" = xyes
10835 then :
10837 else $as_nop
10838 if test ${enable_archs+y}
10839 then :
10840 as_fn_error $? "The $wine_arch PE cross-compiler doesn't support SEH directives.
10841 This is an error since --enable-archs=$wine_arch was requested." "$LINENO" 5
10843 continue
10847 as_fn_append PE_ARCHS " $wine_arch"
10848 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-fno-strict-aliasing" | $as_tr_sh`
10849 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -fno-strict-aliasing" >&5
10850 printf %s "checking whether $CC supports -fno-strict-aliasing... " >&6; }
10851 if eval test \${$as_ac_var+y}
10852 then :
10853 printf %s "(cached) " >&6
10854 else $as_nop
10855 ac_wine_try_cflags_saved=$CFLAGS
10856 ac_wine_try_cflags_saved_exeext=$ac_exeext
10857 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -fno-strict-aliasing"
10858 ac_exeext=".exe"
10859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10860 /* end confdefs.h. */
10861 void *__os_arm64x_dispatch_ret = 0;
10862 int __cdecl mainCRTStartup(void) { return 0; }
10863 _ACEOF
10864 if ac_fn_c_try_link "$LINENO"
10865 then :
10866 eval "$as_ac_var=yes"
10867 else $as_nop
10868 eval "$as_ac_var=no"
10870 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10871 conftest$ac_exeext conftest.$ac_ext
10872 CFLAGS=$ac_wine_try_cflags_saved
10873 ac_exeext=$ac_wine_try_cflags_saved_exeext
10875 eval ac_res=\$$as_ac_var
10876 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10877 printf "%s\n" "$ac_res" >&6; }
10878 if eval test \"x\$"$as_ac_var"\" = x"yes"
10879 then :
10880 as_fn_append ${wine_arch}_EXTRACFLAGS " -fno-strict-aliasing"
10881 fi }
10882 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror=unknown-warning-option" | $as_tr_sh`
10883 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror=unknown-warning-option" >&5
10884 printf %s "checking whether $CC supports -Werror=unknown-warning-option... " >&6; }
10885 if eval test \${$as_ac_var+y}
10886 then :
10887 printf %s "(cached) " >&6
10888 else $as_nop
10889 ac_wine_try_cflags_saved=$CFLAGS
10890 ac_wine_try_cflags_saved_exeext=$ac_exeext
10891 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Werror=unknown-warning-option"
10892 ac_exeext=".exe"
10893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10894 /* end confdefs.h. */
10895 void *__os_arm64x_dispatch_ret = 0;
10896 int __cdecl mainCRTStartup(void) { return 0; }
10897 _ACEOF
10898 if ac_fn_c_try_link "$LINENO"
10899 then :
10900 eval "$as_ac_var=yes"
10901 else $as_nop
10902 eval "$as_ac_var=no"
10904 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10905 conftest$ac_exeext conftest.$ac_ext
10906 CFLAGS=$ac_wine_try_cflags_saved
10907 ac_exeext=$ac_wine_try_cflags_saved_exeext
10909 eval ac_res=\$$as_ac_var
10910 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10911 printf "%s\n" "$ac_res" >&6; }
10912 if eval test \"x\$"$as_ac_var"\" = x"yes"
10913 then :
10914 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
10915 fi }
10916 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror=ignored-optimization-argument" | $as_tr_sh`
10917 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror=ignored-optimization-argument" >&5
10918 printf %s "checking whether $CC supports -Werror=ignored-optimization-argument... " >&6; }
10919 if eval test \${$as_ac_var+y}
10920 then :
10921 printf %s "(cached) " >&6
10922 else $as_nop
10923 ac_wine_try_cflags_saved=$CFLAGS
10924 ac_wine_try_cflags_saved_exeext=$ac_exeext
10925 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Werror=ignored-optimization-argument"
10926 ac_exeext=".exe"
10927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10928 /* end confdefs.h. */
10929 void *__os_arm64x_dispatch_ret = 0;
10930 int __cdecl mainCRTStartup(void) { return 0; }
10931 _ACEOF
10932 if ac_fn_c_try_link "$LINENO"
10933 then :
10934 eval "$as_ac_var=yes"
10935 else $as_nop
10936 eval "$as_ac_var=no"
10938 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10939 conftest$ac_exeext conftest.$ac_ext
10940 CFLAGS=$ac_wine_try_cflags_saved
10941 ac_exeext=$ac_wine_try_cflags_saved_exeext
10943 eval ac_res=\$$as_ac_var
10944 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10945 printf "%s\n" "$ac_res" >&6; }
10946 if eval test \"x\$"$as_ac_var"\" = x"yes"
10947 then :
10948 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
10949 fi }
10950 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wdeclaration-after-statement" | $as_tr_sh`
10951 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wdeclaration-after-statement" >&5
10952 printf %s "checking whether $CC supports -Wdeclaration-after-statement... " >&6; }
10953 if eval test \${$as_ac_var+y}
10954 then :
10955 printf %s "(cached) " >&6
10956 else $as_nop
10957 ac_wine_try_cflags_saved=$CFLAGS
10958 ac_wine_try_cflags_saved_exeext=$ac_exeext
10959 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wdeclaration-after-statement"
10960 ac_exeext=".exe"
10961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10962 /* end confdefs.h. */
10963 void *__os_arm64x_dispatch_ret = 0;
10964 int __cdecl mainCRTStartup(void) { return 0; }
10965 _ACEOF
10966 if ac_fn_c_try_link "$LINENO"
10967 then :
10968 eval "$as_ac_var=yes"
10969 else $as_nop
10970 eval "$as_ac_var=no"
10972 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10973 conftest$ac_exeext conftest.$ac_ext
10974 CFLAGS=$ac_wine_try_cflags_saved
10975 ac_exeext=$ac_wine_try_cflags_saved_exeext
10977 eval ac_res=\$$as_ac_var
10978 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10979 printf "%s\n" "$ac_res" >&6; }
10980 if eval test \"x\$"$as_ac_var"\" = x"yes"
10981 then :
10982 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wdeclaration-after-statement"
10983 fi }
10984 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wempty-body" | $as_tr_sh`
10985 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wempty-body" >&5
10986 printf %s "checking whether $CC supports -Wempty-body... " >&6; }
10987 if eval test \${$as_ac_var+y}
10988 then :
10989 printf %s "(cached) " >&6
10990 else $as_nop
10991 ac_wine_try_cflags_saved=$CFLAGS
10992 ac_wine_try_cflags_saved_exeext=$ac_exeext
10993 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wempty-body"
10994 ac_exeext=".exe"
10995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10996 /* end confdefs.h. */
10997 void *__os_arm64x_dispatch_ret = 0;
10998 int __cdecl mainCRTStartup(void) { return 0; }
10999 _ACEOF
11000 if ac_fn_c_try_link "$LINENO"
11001 then :
11002 eval "$as_ac_var=yes"
11003 else $as_nop
11004 eval "$as_ac_var=no"
11006 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11007 conftest$ac_exeext conftest.$ac_ext
11008 CFLAGS=$ac_wine_try_cflags_saved
11009 ac_exeext=$ac_wine_try_cflags_saved_exeext
11011 eval ac_res=\$$as_ac_var
11012 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11013 printf "%s\n" "$ac_res" >&6; }
11014 if eval test \"x\$"$as_ac_var"\" = x"yes"
11015 then :
11016 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wempty-body"
11017 fi }
11018 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wignored-qualifiers" | $as_tr_sh`
11019 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wignored-qualifiers" >&5
11020 printf %s "checking whether $CC supports -Wignored-qualifiers... " >&6; }
11021 if eval test \${$as_ac_var+y}
11022 then :
11023 printf %s "(cached) " >&6
11024 else $as_nop
11025 ac_wine_try_cflags_saved=$CFLAGS
11026 ac_wine_try_cflags_saved_exeext=$ac_exeext
11027 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wignored-qualifiers"
11028 ac_exeext=".exe"
11029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11030 /* end confdefs.h. */
11031 void *__os_arm64x_dispatch_ret = 0;
11032 int __cdecl mainCRTStartup(void) { return 0; }
11033 _ACEOF
11034 if ac_fn_c_try_link "$LINENO"
11035 then :
11036 eval "$as_ac_var=yes"
11037 else $as_nop
11038 eval "$as_ac_var=no"
11040 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11041 conftest$ac_exeext conftest.$ac_ext
11042 CFLAGS=$ac_wine_try_cflags_saved
11043 ac_exeext=$ac_wine_try_cflags_saved_exeext
11045 eval ac_res=\$$as_ac_var
11046 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11047 printf "%s\n" "$ac_res" >&6; }
11048 if eval test \"x\$"$as_ac_var"\" = x"yes"
11049 then :
11050 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wignored-qualifiers"
11051 fi }
11052 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Winit-self" | $as_tr_sh`
11053 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Winit-self" >&5
11054 printf %s "checking whether $CC supports -Winit-self... " >&6; }
11055 if eval test \${$as_ac_var+y}
11056 then :
11057 printf %s "(cached) " >&6
11058 else $as_nop
11059 ac_wine_try_cflags_saved=$CFLAGS
11060 ac_wine_try_cflags_saved_exeext=$ac_exeext
11061 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Winit-self"
11062 ac_exeext=".exe"
11063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11064 /* end confdefs.h. */
11065 void *__os_arm64x_dispatch_ret = 0;
11066 int __cdecl mainCRTStartup(void) { return 0; }
11067 _ACEOF
11068 if ac_fn_c_try_link "$LINENO"
11069 then :
11070 eval "$as_ac_var=yes"
11071 else $as_nop
11072 eval "$as_ac_var=no"
11074 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11075 conftest$ac_exeext conftest.$ac_ext
11076 CFLAGS=$ac_wine_try_cflags_saved
11077 ac_exeext=$ac_wine_try_cflags_saved_exeext
11079 eval ac_res=\$$as_ac_var
11080 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11081 printf "%s\n" "$ac_res" >&6; }
11082 if eval test \"x\$"$as_ac_var"\" = x"yes"
11083 then :
11084 as_fn_append ${wine_arch}_EXTRACFLAGS " -Winit-self"
11085 fi }
11086 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpacked-not-aligned" | $as_tr_sh`
11087 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpacked-not-aligned" >&5
11088 printf %s "checking whether $CC supports -Wpacked-not-aligned... " >&6; }
11089 if eval test \${$as_ac_var+y}
11090 then :
11091 printf %s "(cached) " >&6
11092 else $as_nop
11093 ac_wine_try_cflags_saved=$CFLAGS
11094 ac_wine_try_cflags_saved_exeext=$ac_exeext
11095 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wpacked-not-aligned"
11096 ac_exeext=".exe"
11097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11098 /* end confdefs.h. */
11099 void *__os_arm64x_dispatch_ret = 0;
11100 int __cdecl mainCRTStartup(void) { return 0; }
11101 _ACEOF
11102 if ac_fn_c_try_link "$LINENO"
11103 then :
11104 eval "$as_ac_var=yes"
11105 else $as_nop
11106 eval "$as_ac_var=no"
11108 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11109 conftest$ac_exeext conftest.$ac_ext
11110 CFLAGS=$ac_wine_try_cflags_saved
11111 ac_exeext=$ac_wine_try_cflags_saved_exeext
11113 eval ac_res=\$$as_ac_var
11114 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11115 printf "%s\n" "$ac_res" >&6; }
11116 if eval test \"x\$"$as_ac_var"\" = x"yes"
11117 then :
11118 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-packed-not-aligned"
11119 fi }
11120 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpragma-pack" | $as_tr_sh`
11121 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpragma-pack" >&5
11122 printf %s "checking whether $CC supports -Wpragma-pack... " >&6; }
11123 if eval test \${$as_ac_var+y}
11124 then :
11125 printf %s "(cached) " >&6
11126 else $as_nop
11127 ac_wine_try_cflags_saved=$CFLAGS
11128 ac_wine_try_cflags_saved_exeext=$ac_exeext
11129 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wpragma-pack"
11130 ac_exeext=".exe"
11131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11132 /* end confdefs.h. */
11133 void *__os_arm64x_dispatch_ret = 0;
11134 int __cdecl mainCRTStartup(void) { return 0; }
11135 _ACEOF
11136 if ac_fn_c_try_link "$LINENO"
11137 then :
11138 eval "$as_ac_var=yes"
11139 else $as_nop
11140 eval "$as_ac_var=no"
11142 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11143 conftest$ac_exeext conftest.$ac_ext
11144 CFLAGS=$ac_wine_try_cflags_saved
11145 ac_exeext=$ac_wine_try_cflags_saved_exeext
11147 eval ac_res=\$$as_ac_var
11148 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11149 printf "%s\n" "$ac_res" >&6; }
11150 if eval test \"x\$"$as_ac_var"\" = x"yes"
11151 then :
11152 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-pragma-pack"
11153 fi }
11154 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wmicrosoft-enum-forward-reference" | $as_tr_sh`
11155 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wmicrosoft-enum-forward-reference" >&5
11156 printf %s "checking whether $CC supports -Wmicrosoft-enum-forward-reference... " >&6; }
11157 if eval test \${$as_ac_var+y}
11158 then :
11159 printf %s "(cached) " >&6
11160 else $as_nop
11161 ac_wine_try_cflags_saved=$CFLAGS
11162 ac_wine_try_cflags_saved_exeext=$ac_exeext
11163 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wmicrosoft-enum-forward-reference"
11164 ac_exeext=".exe"
11165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11166 /* end confdefs.h. */
11167 void *__os_arm64x_dispatch_ret = 0;
11168 int __cdecl mainCRTStartup(void) { return 0; }
11169 _ACEOF
11170 if ac_fn_c_try_link "$LINENO"
11171 then :
11172 eval "$as_ac_var=yes"
11173 else $as_nop
11174 eval "$as_ac_var=no"
11176 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11177 conftest$ac_exeext conftest.$ac_ext
11178 CFLAGS=$ac_wine_try_cflags_saved
11179 ac_exeext=$ac_wine_try_cflags_saved_exeext
11181 eval ac_res=\$$as_ac_var
11182 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11183 printf "%s\n" "$ac_res" >&6; }
11184 if eval test \"x\$"$as_ac_var"\" = x"yes"
11185 then :
11186 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-microsoft-enum-forward-reference"
11187 fi }
11188 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wshift-overflow=2" | $as_tr_sh`
11189 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wshift-overflow=2" >&5
11190 printf %s "checking whether $CC supports -Wshift-overflow=2... " >&6; }
11191 if eval test \${$as_ac_var+y}
11192 then :
11193 printf %s "(cached) " >&6
11194 else $as_nop
11195 ac_wine_try_cflags_saved=$CFLAGS
11196 ac_wine_try_cflags_saved_exeext=$ac_exeext
11197 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wshift-overflow=2"
11198 ac_exeext=".exe"
11199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11200 /* end confdefs.h. */
11201 void *__os_arm64x_dispatch_ret = 0;
11202 int __cdecl mainCRTStartup(void) { return 0; }
11203 _ACEOF
11204 if ac_fn_c_try_link "$LINENO"
11205 then :
11206 eval "$as_ac_var=yes"
11207 else $as_nop
11208 eval "$as_ac_var=no"
11210 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11211 conftest$ac_exeext conftest.$ac_ext
11212 CFLAGS=$ac_wine_try_cflags_saved
11213 ac_exeext=$ac_wine_try_cflags_saved_exeext
11215 eval ac_res=\$$as_ac_var
11216 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11217 printf "%s\n" "$ac_res" >&6; }
11218 if eval test \"x\$"$as_ac_var"\" = x"yes"
11219 then :
11220 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wshift-overflow=2"
11221 fi }
11222 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wstrict-prototypes" | $as_tr_sh`
11223 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wstrict-prototypes" >&5
11224 printf %s "checking whether $CC supports -Wstrict-prototypes... " >&6; }
11225 if eval test \${$as_ac_var+y}
11226 then :
11227 printf %s "(cached) " >&6
11228 else $as_nop
11229 ac_wine_try_cflags_saved=$CFLAGS
11230 ac_wine_try_cflags_saved_exeext=$ac_exeext
11231 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wstrict-prototypes"
11232 ac_exeext=".exe"
11233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11234 /* end confdefs.h. */
11235 void *__os_arm64x_dispatch_ret = 0;
11236 int __cdecl mainCRTStartup(void) { return 0; }
11237 _ACEOF
11238 if ac_fn_c_try_link "$LINENO"
11239 then :
11240 eval "$as_ac_var=yes"
11241 else $as_nop
11242 eval "$as_ac_var=no"
11244 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11245 conftest$ac_exeext conftest.$ac_ext
11246 CFLAGS=$ac_wine_try_cflags_saved
11247 ac_exeext=$ac_wine_try_cflags_saved_exeext
11249 eval ac_res=\$$as_ac_var
11250 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11251 printf "%s\n" "$ac_res" >&6; }
11252 if eval test \"x\$"$as_ac_var"\" = x"yes"
11253 then :
11254 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wstrict-prototypes"
11255 fi }
11256 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wtype-limits" | $as_tr_sh`
11257 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wtype-limits" >&5
11258 printf %s "checking whether $CC supports -Wtype-limits... " >&6; }
11259 if eval test \${$as_ac_var+y}
11260 then :
11261 printf %s "(cached) " >&6
11262 else $as_nop
11263 ac_wine_try_cflags_saved=$CFLAGS
11264 ac_wine_try_cflags_saved_exeext=$ac_exeext
11265 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wtype-limits"
11266 ac_exeext=".exe"
11267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11268 /* end confdefs.h. */
11269 void *__os_arm64x_dispatch_ret = 0;
11270 int __cdecl mainCRTStartup(void) { return 0; }
11271 _ACEOF
11272 if ac_fn_c_try_link "$LINENO"
11273 then :
11274 eval "$as_ac_var=yes"
11275 else $as_nop
11276 eval "$as_ac_var=no"
11278 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11279 conftest$ac_exeext conftest.$ac_ext
11280 CFLAGS=$ac_wine_try_cflags_saved
11281 ac_exeext=$ac_wine_try_cflags_saved_exeext
11283 eval ac_res=\$$as_ac_var
11284 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11285 printf "%s\n" "$ac_res" >&6; }
11286 if eval test \"x\$"$as_ac_var"\" = x"yes"
11287 then :
11288 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wtype-limits"
11289 fi }
11290 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wunused-but-set-parameter" | $as_tr_sh`
11291 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wunused-but-set-parameter" >&5
11292 printf %s "checking whether $CC supports -Wunused-but-set-parameter... " >&6; }
11293 if eval test \${$as_ac_var+y}
11294 then :
11295 printf %s "(cached) " >&6
11296 else $as_nop
11297 ac_wine_try_cflags_saved=$CFLAGS
11298 ac_wine_try_cflags_saved_exeext=$ac_exeext
11299 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wunused-but-set-parameter"
11300 ac_exeext=".exe"
11301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11302 /* end confdefs.h. */
11303 void *__os_arm64x_dispatch_ret = 0;
11304 int __cdecl mainCRTStartup(void) { return 0; }
11305 _ACEOF
11306 if ac_fn_c_try_link "$LINENO"
11307 then :
11308 eval "$as_ac_var=yes"
11309 else $as_nop
11310 eval "$as_ac_var=no"
11312 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11313 conftest$ac_exeext conftest.$ac_ext
11314 CFLAGS=$ac_wine_try_cflags_saved
11315 ac_exeext=$ac_wine_try_cflags_saved_exeext
11317 eval ac_res=\$$as_ac_var
11318 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11319 printf "%s\n" "$ac_res" >&6; }
11320 if eval test \"x\$"$as_ac_var"\" = x"yes"
11321 then :
11322 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wunused-but-set-parameter"
11323 fi }
11324 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wvla" | $as_tr_sh`
11325 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wvla" >&5
11326 printf %s "checking whether $CC supports -Wvla... " >&6; }
11327 if eval test \${$as_ac_var+y}
11328 then :
11329 printf %s "(cached) " >&6
11330 else $as_nop
11331 ac_wine_try_cflags_saved=$CFLAGS
11332 ac_wine_try_cflags_saved_exeext=$ac_exeext
11333 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wvla"
11334 ac_exeext=".exe"
11335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11336 /* end confdefs.h. */
11337 void *__os_arm64x_dispatch_ret = 0;
11338 int __cdecl mainCRTStartup(void) { return 0; }
11339 _ACEOF
11340 if ac_fn_c_try_link "$LINENO"
11341 then :
11342 eval "$as_ac_var=yes"
11343 else $as_nop
11344 eval "$as_ac_var=no"
11346 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11347 conftest$ac_exeext conftest.$ac_ext
11348 CFLAGS=$ac_wine_try_cflags_saved
11349 ac_exeext=$ac_wine_try_cflags_saved_exeext
11351 eval ac_res=\$$as_ac_var
11352 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11353 printf "%s\n" "$ac_res" >&6; }
11354 if eval test \"x\$"$as_ac_var"\" = x"yes"
11355 then :
11356 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wvla"
11357 fi }
11358 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wwrite-strings" | $as_tr_sh`
11359 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wwrite-strings" >&5
11360 printf %s "checking whether $CC supports -Wwrite-strings... " >&6; }
11361 if eval test \${$as_ac_var+y}
11362 then :
11363 printf %s "(cached) " >&6
11364 else $as_nop
11365 ac_wine_try_cflags_saved=$CFLAGS
11366 ac_wine_try_cflags_saved_exeext=$ac_exeext
11367 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wwrite-strings"
11368 ac_exeext=".exe"
11369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11370 /* end confdefs.h. */
11371 void *__os_arm64x_dispatch_ret = 0;
11372 int __cdecl mainCRTStartup(void) { return 0; }
11373 _ACEOF
11374 if ac_fn_c_try_link "$LINENO"
11375 then :
11376 eval "$as_ac_var=yes"
11377 else $as_nop
11378 eval "$as_ac_var=no"
11380 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11381 conftest$ac_exeext conftest.$ac_ext
11382 CFLAGS=$ac_wine_try_cflags_saved
11383 ac_exeext=$ac_wine_try_cflags_saved_exeext
11385 eval ac_res=\$$as_ac_var
11386 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11387 printf "%s\n" "$ac_res" >&6; }
11388 if eval test \"x\$"$as_ac_var"\" = x"yes"
11389 then :
11390 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wwrite-strings"
11391 fi }
11392 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpointer-arith" | $as_tr_sh`
11393 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpointer-arith" >&5
11394 printf %s "checking whether $CC supports -Wpointer-arith... " >&6; }
11395 if eval test \${$as_ac_var+y}
11396 then :
11397 printf %s "(cached) " >&6
11398 else $as_nop
11399 ac_wine_try_cflags_saved=$CFLAGS
11400 ac_wine_try_cflags_saved_exeext=$ac_exeext
11401 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wpointer-arith"
11402 ac_exeext=".exe"
11403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11404 /* end confdefs.h. */
11405 void *__os_arm64x_dispatch_ret = 0;
11406 int __cdecl mainCRTStartup(void) { return 0; }
11407 _ACEOF
11408 if ac_fn_c_try_link "$LINENO"
11409 then :
11410 eval "$as_ac_var=yes"
11411 else $as_nop
11412 eval "$as_ac_var=no"
11414 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11415 conftest$ac_exeext conftest.$ac_ext
11416 CFLAGS=$ac_wine_try_cflags_saved
11417 ac_exeext=$ac_wine_try_cflags_saved_exeext
11419 eval ac_res=\$$as_ac_var
11420 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11421 printf "%s\n" "$ac_res" >&6; }
11422 if eval test \"x\$"$as_ac_var"\" = x"yes"
11423 then :
11424 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wpointer-arith"
11425 fi }
11426 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wlogical-op" | $as_tr_sh`
11427 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wlogical-op" >&5
11428 printf %s "checking whether $CC supports -Wlogical-op... " >&6; }
11429 if eval test \${$as_ac_var+y}
11430 then :
11431 printf %s "(cached) " >&6
11432 else $as_nop
11433 ac_wine_try_cflags_saved=$CFLAGS
11434 ac_wine_try_cflags_saved_exeext=$ac_exeext
11435 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wlogical-op"
11436 ac_exeext=".exe"
11437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11438 /* end confdefs.h. */
11439 void *__os_arm64x_dispatch_ret = 0;
11440 int __cdecl mainCRTStartup(void) { return 0; }
11441 _ACEOF
11442 if ac_fn_c_try_link "$LINENO"
11443 then :
11444 eval "$as_ac_var=yes"
11445 else $as_nop
11446 eval "$as_ac_var=no"
11448 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11449 conftest$ac_exeext conftest.$ac_ext
11450 CFLAGS=$ac_wine_try_cflags_saved
11451 ac_exeext=$ac_wine_try_cflags_saved_exeext
11453 eval ac_res=\$$as_ac_var
11454 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11455 printf "%s\n" "$ac_res" >&6; }
11456 if eval test \"x\$"$as_ac_var"\" = x"yes"
11457 then :
11458 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wlogical-op"
11459 fi }
11460 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wabsolute-value" | $as_tr_sh`
11461 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wabsolute-value" >&5
11462 printf %s "checking whether $CC supports -Wabsolute-value... " >&6; }
11463 if eval test \${$as_ac_var+y}
11464 then :
11465 printf %s "(cached) " >&6
11466 else $as_nop
11467 ac_wine_try_cflags_saved=$CFLAGS
11468 ac_wine_try_cflags_saved_exeext=$ac_exeext
11469 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wabsolute-value"
11470 ac_exeext=".exe"
11471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11472 /* end confdefs.h. */
11473 void *__os_arm64x_dispatch_ret = 0;
11474 int __cdecl mainCRTStartup(void) { return 0; }
11475 _ACEOF
11476 if ac_fn_c_try_link "$LINENO"
11477 then :
11478 eval "$as_ac_var=yes"
11479 else $as_nop
11480 eval "$as_ac_var=no"
11482 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11483 conftest$ac_exeext conftest.$ac_ext
11484 CFLAGS=$ac_wine_try_cflags_saved
11485 ac_exeext=$ac_wine_try_cflags_saved_exeext
11487 eval ac_res=\$$as_ac_var
11488 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11489 printf "%s\n" "$ac_res" >&6; }
11490 if eval test \"x\$"$as_ac_var"\" = x"yes"
11491 then :
11492 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wabsolute-value"
11493 fi }
11494 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wenum-conversion" | $as_tr_sh`
11495 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wenum-conversion" >&5
11496 printf %s "checking whether $CC supports -Wenum-conversion... " >&6; }
11497 if eval test \${$as_ac_var+y}
11498 then :
11499 printf %s "(cached) " >&6
11500 else $as_nop
11501 ac_wine_try_cflags_saved=$CFLAGS
11502 ac_wine_try_cflags_saved_exeext=$ac_exeext
11503 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wenum-conversion"
11504 ac_exeext=".exe"
11505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11506 /* end confdefs.h. */
11507 void *__os_arm64x_dispatch_ret = 0;
11508 int __cdecl mainCRTStartup(void) { return 0; }
11509 _ACEOF
11510 if ac_fn_c_try_link "$LINENO"
11511 then :
11512 eval "$as_ac_var=yes"
11513 else $as_nop
11514 eval "$as_ac_var=no"
11516 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11517 conftest$ac_exeext conftest.$ac_ext
11518 CFLAGS=$ac_wine_try_cflags_saved
11519 ac_exeext=$ac_wine_try_cflags_saved_exeext
11521 eval ac_res=\$$as_ac_var
11522 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11523 printf "%s\n" "$ac_res" >&6; }
11524 if eval test \"x\$"$as_ac_var"\" = x"yes"
11525 then :
11526 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wenum-conversion"
11527 fi }
11529 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-flarge-source-files -Wmisleading-indentation" | $as_tr_sh`
11530 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -flarge-source-files -Wmisleading-indentation" >&5
11531 printf %s "checking whether $CC supports -flarge-source-files -Wmisleading-indentation... " >&6; }
11532 if eval test \${$as_ac_var+y}
11533 then :
11534 printf %s "(cached) " >&6
11535 else $as_nop
11536 ac_wine_try_cflags_saved=$CFLAGS
11537 ac_wine_try_cflags_saved_exeext=$ac_exeext
11538 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -flarge-source-files -Wmisleading-indentation"
11539 ac_exeext=".exe"
11540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11541 /* end confdefs.h. */
11542 void *__os_arm64x_dispatch_ret = 0;
11543 int __cdecl mainCRTStartup(void) { return 0; }
11544 _ACEOF
11545 if ac_fn_c_try_link "$LINENO"
11546 then :
11547 eval "$as_ac_var=yes"
11548 else $as_nop
11549 eval "$as_ac_var=no"
11551 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11552 conftest$ac_exeext conftest.$ac_ext
11553 CFLAGS=$ac_wine_try_cflags_saved
11554 ac_exeext=$ac_wine_try_cflags_saved_exeext
11556 eval ac_res=\$$as_ac_var
11557 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11558 printf "%s\n" "$ac_res" >&6; }
11559 if eval test \"x\$"$as_ac_var"\" = x"yes"
11560 then :
11561 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-misleading-indentation"
11562 fi }
11564 case $wine_arch in
11565 i386) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-fno-omit-frame-pointer" | $as_tr_sh`
11566 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -fno-omit-frame-pointer" >&5
11567 printf %s "checking whether $CC supports -fno-omit-frame-pointer... " >&6; }
11568 if eval test \${$as_ac_var+y}
11569 then :
11570 printf %s "(cached) " >&6
11571 else $as_nop
11572 ac_wine_try_cflags_saved=$CFLAGS
11573 ac_wine_try_cflags_saved_exeext=$ac_exeext
11574 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -fno-omit-frame-pointer"
11575 ac_exeext=".exe"
11576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11577 /* end confdefs.h. */
11578 void *__os_arm64x_dispatch_ret = 0;
11579 int __cdecl mainCRTStartup(void) { return 0; }
11580 _ACEOF
11581 if ac_fn_c_try_link "$LINENO"
11582 then :
11583 eval "$as_ac_var=yes"
11584 else $as_nop
11585 eval "$as_ac_var=no"
11587 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11588 conftest$ac_exeext conftest.$ac_ext
11589 CFLAGS=$ac_wine_try_cflags_saved
11590 ac_exeext=$ac_wine_try_cflags_saved_exeext
11592 eval ac_res=\$$as_ac_var
11593 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11594 printf "%s\n" "$ac_res" >&6; }
11595 if eval test \"x\$"$as_ac_var"\" = x"yes"
11596 then :
11597 as_fn_append ${wine_arch}_EXTRACFLAGS " -fno-omit-frame-pointer"
11598 fi }
11599 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-mpreferred-stack-boundary=2" | $as_tr_sh`
11600 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mpreferred-stack-boundary=2" >&5
11601 printf %s "checking whether $CC supports -mpreferred-stack-boundary=2... " >&6; }
11602 if eval test \${$as_ac_var+y}
11603 then :
11604 printf %s "(cached) " >&6
11605 else $as_nop
11606 ac_wine_try_cflags_saved=$CFLAGS
11607 ac_wine_try_cflags_saved_exeext=$ac_exeext
11608 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -mpreferred-stack-boundary=2"
11609 ac_exeext=".exe"
11610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11611 /* end confdefs.h. */
11612 void *__os_arm64x_dispatch_ret = 0;
11613 int __cdecl mainCRTStartup(void) { return 0; }
11614 _ACEOF
11615 if ac_fn_c_try_link "$LINENO"
11616 then :
11617 eval "$as_ac_var=yes"
11618 else $as_nop
11619 eval "$as_ac_var=no"
11621 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11622 conftest$ac_exeext conftest.$ac_ext
11623 CFLAGS=$ac_wine_try_cflags_saved
11624 ac_exeext=$ac_wine_try_cflags_saved_exeext
11626 eval ac_res=\$$as_ac_var
11627 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11628 printf "%s\n" "$ac_res" >&6; }
11629 if eval test \"x\$"$as_ac_var"\" = x"yes"
11630 then :
11631 as_fn_append ${wine_arch}_EXTRACFLAGS " -mpreferred-stack-boundary=2"
11632 fi }
11633 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wl,--disable-stdcall-fixup" | $as_tr_sh`
11634 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wl,--disable-stdcall-fixup" >&5
11635 printf %s "checking whether $CC supports -Wl,--disable-stdcall-fixup... " >&6; }
11636 if eval test \${$as_ac_var+y}
11637 then :
11638 printf %s "(cached) " >&6
11639 else $as_nop
11640 ac_wine_try_cflags_saved=$CFLAGS
11641 ac_wine_try_cflags_saved_exeext=$ac_exeext
11642 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wl,--disable-stdcall-fixup"
11643 ac_exeext=".exe"
11644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11645 /* end confdefs.h. */
11646 void *__os_arm64x_dispatch_ret = 0;
11647 int __cdecl mainCRTStartup(void) { return 0; }
11648 _ACEOF
11649 if ac_fn_c_try_link "$LINENO"
11650 then :
11651 eval "$as_ac_var=yes"
11652 else $as_nop
11653 eval "$as_ac_var=no"
11655 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11656 conftest$ac_exeext conftest.$ac_ext
11657 CFLAGS=$ac_wine_try_cflags_saved
11658 ac_exeext=$ac_wine_try_cflags_saved_exeext
11660 eval ac_res=\$$as_ac_var
11661 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11662 printf "%s\n" "$ac_res" >&6; }
11663 if eval test \"x\$"$as_ac_var"\" = x"yes"
11664 then :
11665 as_fn_append ${wine_arch}_LDFLAGS " -Wl,--disable-stdcall-fixup"
11666 fi } ;;
11667 x86_64) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wformat-overflow" | $as_tr_sh`
11668 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wformat-overflow" >&5
11669 printf %s "checking whether $CC supports -Wformat-overflow... " >&6; }
11670 if eval test \${$as_ac_var+y}
11671 then :
11672 printf %s "(cached) " >&6
11673 else $as_nop
11674 ac_wine_try_cflags_saved=$CFLAGS
11675 ac_wine_try_cflags_saved_exeext=$ac_exeext
11676 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wformat-overflow"
11677 ac_exeext=".exe"
11678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11679 /* end confdefs.h. */
11680 void *__os_arm64x_dispatch_ret = 0;
11681 int __cdecl mainCRTStartup(void) { return 0; }
11682 _ACEOF
11683 if ac_fn_c_try_link "$LINENO"
11684 then :
11685 eval "$as_ac_var=yes"
11686 else $as_nop
11687 eval "$as_ac_var=no"
11689 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11690 conftest$ac_exeext conftest.$ac_ext
11691 CFLAGS=$ac_wine_try_cflags_saved
11692 ac_exeext=$ac_wine_try_cflags_saved_exeext
11694 eval ac_res=\$$as_ac_var
11695 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11696 printf "%s\n" "$ac_res" >&6; }
11697 if eval test \"x\$"$as_ac_var"\" = x"yes"
11698 then :
11699 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wformat-overflow"
11700 fi }
11701 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wnonnull" | $as_tr_sh`
11702 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wnonnull" >&5
11703 printf %s "checking whether $CC supports -Wnonnull... " >&6; }
11704 if eval test \${$as_ac_var+y}
11705 then :
11706 printf %s "(cached) " >&6
11707 else $as_nop
11708 ac_wine_try_cflags_saved=$CFLAGS
11709 ac_wine_try_cflags_saved_exeext=$ac_exeext
11710 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wnonnull"
11711 ac_exeext=".exe"
11712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11713 /* end confdefs.h. */
11714 void *__os_arm64x_dispatch_ret = 0;
11715 int __cdecl mainCRTStartup(void) { return 0; }
11716 _ACEOF
11717 if ac_fn_c_try_link "$LINENO"
11718 then :
11719 eval "$as_ac_var=yes"
11720 else $as_nop
11721 eval "$as_ac_var=no"
11723 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11724 conftest$ac_exeext conftest.$ac_ext
11725 CFLAGS=$ac_wine_try_cflags_saved
11726 ac_exeext=$ac_wine_try_cflags_saved_exeext
11728 eval ac_res=\$$as_ac_var
11729 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11730 printf "%s\n" "$ac_res" >&6; }
11731 if eval test \"x\$"$as_ac_var"\" = x"yes"
11732 then :
11733 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wnonnull"
11734 fi }
11735 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-mcx16" | $as_tr_sh`
11736 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mcx16" >&5
11737 printf %s "checking whether $CC supports -mcx16... " >&6; }
11738 if eval test \${$as_ac_var+y}
11739 then :
11740 printf %s "(cached) " >&6
11741 else $as_nop
11742 ac_wine_try_cflags_saved=$CFLAGS
11743 ac_wine_try_cflags_saved_exeext=$ac_exeext
11744 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -mcx16"
11745 ac_exeext=".exe"
11746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11747 /* end confdefs.h. */
11748 void *__os_arm64x_dispatch_ret = 0;
11749 int __cdecl mainCRTStartup(void) { return 0; }
11750 _ACEOF
11751 if ac_fn_c_try_link "$LINENO"
11752 then :
11753 eval "$as_ac_var=yes"
11754 else $as_nop
11755 eval "$as_ac_var=no"
11757 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11758 conftest$ac_exeext conftest.$ac_ext
11759 CFLAGS=$ac_wine_try_cflags_saved
11760 ac_exeext=$ac_wine_try_cflags_saved_exeext
11762 eval ac_res=\$$as_ac_var
11763 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11764 printf "%s\n" "$ac_res" >&6; }
11765 if eval test \"x\$"$as_ac_var"\" = x"yes"
11766 then :
11767 as_fn_append ${wine_arch}_EXTRACFLAGS " -mcx16"
11768 fi }
11769 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-mcmodel=small" | $as_tr_sh`
11770 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mcmodel=small" >&5
11771 printf %s "checking whether $CC supports -mcmodel=small... " >&6; }
11772 if eval test \${$as_ac_var+y}
11773 then :
11774 printf %s "(cached) " >&6
11775 else $as_nop
11776 ac_wine_try_cflags_saved=$CFLAGS
11777 ac_wine_try_cflags_saved_exeext=$ac_exeext
11778 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -mcmodel=small"
11779 ac_exeext=".exe"
11780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11781 /* end confdefs.h. */
11782 void *__os_arm64x_dispatch_ret = 0;
11783 int __cdecl mainCRTStartup(void) { return 0; }
11784 _ACEOF
11785 if ac_fn_c_try_link "$LINENO"
11786 then :
11787 eval "$as_ac_var=yes"
11788 else $as_nop
11789 eval "$as_ac_var=no"
11791 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11792 conftest$ac_exeext conftest.$ac_ext
11793 CFLAGS=$ac_wine_try_cflags_saved
11794 ac_exeext=$ac_wine_try_cflags_saved_exeext
11796 eval ac_res=\$$as_ac_var
11797 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11798 printf "%s\n" "$ac_res" >&6; }
11799 if eval test \"x\$"$as_ac_var"\" = x"yes"
11800 then :
11801 as_fn_append ${wine_arch}_EXTRACFLAGS " -mcmodel=small"
11802 fi } ;;
11803 esac
11805 wine_crossdebug=$CROSSDEBUG
11806 if test -z "$wine_crossdebug"
11807 then
11808 for ac_flag in $CFLAGS; do
11809 case $ac_flag in
11810 -gdwarf*) wine_crossdebug=dwarf ;;
11811 -gcodeview) wine_crossdebug=pdb ;;
11812 -g) wine_crossdebug=${wine_crossdebug:-dwarf} ;;
11813 esac
11814 done
11817 ac_debug_format_seen=""
11818 for ac_flag in $CFLAGS; do
11819 case $ac_flag in
11820 -gdwarf*|-gcodeview) ac_debug_format_seen=$ac_flag ;;
11821 esac
11822 done
11823 if test "x$ac_debug_format_seen" = x
11824 then
11825 case $wine_crossdebug in
11826 *dwarf) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-gdwarf-4" | $as_tr_sh`
11827 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -gdwarf-4" >&5
11828 printf %s "checking whether $CC supports -gdwarf-4... " >&6; }
11829 if eval test \${$as_ac_var+y}
11830 then :
11831 printf %s "(cached) " >&6
11832 else $as_nop
11833 ac_wine_try_cflags_saved=$CFLAGS
11834 ac_wine_try_cflags_saved_exeext=$ac_exeext
11835 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -gdwarf-4"
11836 ac_exeext=".exe"
11837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11838 /* end confdefs.h. */
11839 void *__os_arm64x_dispatch_ret = 0;
11840 int __cdecl mainCRTStartup(void) { return 0; }
11841 _ACEOF
11842 if ac_fn_c_try_link "$LINENO"
11843 then :
11844 eval "$as_ac_var=yes"
11845 else $as_nop
11846 eval "$as_ac_var=no"
11848 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11849 conftest$ac_exeext conftest.$ac_ext
11850 CFLAGS=$ac_wine_try_cflags_saved
11851 ac_exeext=$ac_wine_try_cflags_saved_exeext
11853 eval ac_res=\$$as_ac_var
11854 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11855 printf "%s\n" "$ac_res" >&6; }
11856 if eval test \"x\$"$as_ac_var"\" = x"yes"
11857 then :
11858 as_fn_append ${wine_arch}_EXTRACFLAGS " -gdwarf-4"
11859 fi } ;;
11860 pdb) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-gcodeview" | $as_tr_sh`
11861 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -gcodeview" >&5
11862 printf %s "checking whether $CC supports -gcodeview... " >&6; }
11863 if eval test \${$as_ac_var+y}
11864 then :
11865 printf %s "(cached) " >&6
11866 else $as_nop
11867 ac_wine_try_cflags_saved=$CFLAGS
11868 ac_wine_try_cflags_saved_exeext=$ac_exeext
11869 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -gcodeview"
11870 ac_exeext=".exe"
11871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11872 /* end confdefs.h. */
11873 void *__os_arm64x_dispatch_ret = 0;
11874 int __cdecl mainCRTStartup(void) { return 0; }
11875 _ACEOF
11876 if ac_fn_c_try_link "$LINENO"
11877 then :
11878 eval "$as_ac_var=yes"
11879 else $as_nop
11880 eval "$as_ac_var=no"
11882 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11883 conftest$ac_exeext conftest.$ac_ext
11884 CFLAGS=$ac_wine_try_cflags_saved
11885 ac_exeext=$ac_wine_try_cflags_saved_exeext
11887 eval ac_res=\$$as_ac_var
11888 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11889 printf "%s\n" "$ac_res" >&6; }
11890 if eval test \"x\$"$as_ac_var"\" = x"yes"
11891 then :
11892 as_fn_append ${wine_arch}_EXTRACFLAGS " -gcodeview"
11893 fi } ;;
11894 esac
11896 eval "${wine_arch}_DEBUG=\$wine_crossdebug"
11898 test "x$enable_werror" != xyes || { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror" | $as_tr_sh`
11899 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror" >&5
11900 printf %s "checking whether $CC supports -Werror... " >&6; }
11901 if eval test \${$as_ac_var+y}
11902 then :
11903 printf %s "(cached) " >&6
11904 else $as_nop
11905 ac_wine_try_cflags_saved=$CFLAGS
11906 ac_wine_try_cflags_saved_exeext=$ac_exeext
11907 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Werror"
11908 ac_exeext=".exe"
11909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11910 /* end confdefs.h. */
11911 void *__os_arm64x_dispatch_ret = 0;
11912 int __cdecl mainCRTStartup(void) { return 0; }
11913 _ACEOF
11914 if ac_fn_c_try_link "$LINENO"
11915 then :
11916 eval "$as_ac_var=yes"
11917 else $as_nop
11918 eval "$as_ac_var=no"
11920 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11921 conftest$ac_exeext conftest.$ac_ext
11922 CFLAGS=$ac_wine_try_cflags_saved
11923 ac_exeext=$ac_wine_try_cflags_saved_exeext
11925 eval ac_res=\$$as_ac_var
11926 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11927 printf "%s\n" "$ac_res" >&6; }
11928 if eval test \"x\$"$as_ac_var"\" = x"yes"
11929 then :
11930 as_fn_append ${wine_arch}_EXTRACFLAGS " -Werror"
11931 fi }
11932 test "x$enable_build_id" != xyes || { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wl,--build-id" | $as_tr_sh`
11933 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wl,--build-id" >&5
11934 printf %s "checking whether $CC supports -Wl,--build-id... " >&6; }
11935 if eval test \${$as_ac_var+y}
11936 then :
11937 printf %s "(cached) " >&6
11938 else $as_nop
11939 ac_wine_try_cflags_saved=$CFLAGS
11940 ac_wine_try_cflags_saved_exeext=$ac_exeext
11941 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wl,--build-id"
11942 ac_exeext=".exe"
11943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11944 /* end confdefs.h. */
11945 void *__os_arm64x_dispatch_ret = 0;
11946 int __cdecl mainCRTStartup(void) { return 0; }
11947 _ACEOF
11948 if ac_fn_c_try_link "$LINENO"
11949 then :
11950 eval "$as_ac_var=yes"
11951 else $as_nop
11952 eval "$as_ac_var=no"
11954 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11955 conftest$ac_exeext conftest.$ac_ext
11956 CFLAGS=$ac_wine_try_cflags_saved
11957 ac_exeext=$ac_wine_try_cflags_saved_exeext
11959 eval ac_res=\$$as_ac_var
11960 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11961 printf "%s\n" "$ac_res" >&6; }
11962 if eval test \"x\$"$as_ac_var"\" = x"yes"
11963 then :
11964 as_fn_append ${wine_arch}_CFLAGS " -Wl,--build-id"
11965 as_fn_append ${wine_arch}_LDFLAGS " -Wl,--build-id"
11966 fi }
11968 done
11970 CC=$saved_CC
11971 CFLAGS=$saved_CFLAGS
11972 LDFLAGS=$saved_LDFLAGS
11974 case $HOST_ARCH in
11975 arm|aarch64)
11976 test "x$PE_ARCHS" != x || as_fn_error $? "PE cross-compilation is required for $HOST_ARCH, please install clang/llvm-dlltool/lld, or llvm-mingw." "$LINENO" 5
11977 DLLEXT="" ;;
11978 esac
11981 if test "x$with_system_dllpath" != "x" -a -n "$PE_ARCHS"
11982 then
11983 if test "x$HOST_ARCH" = xi386
11984 then :
11985 ac_prefix_list="i686-w64-mingw32-pkg-config i586-w64-mingw32-pkg-config i486-w64-mingw32-pkg-config i386-w64-mingw32-pkg-config "
11986 else $as_nop
11987 ac_prefix_list="$host_cpu-w64-mingw32-pkg-config"
11989 for ac_prog in $ac_prefix_list
11991 # Extract the first word of "$ac_prog", so it can be a program name with args.
11992 set dummy $ac_prog; ac_word=$2
11993 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11994 printf %s "checking for $ac_word... " >&6; }
11995 if test ${ac_cv_prog_MINGW_PKG_CONFIG+y}
11996 then :
11997 printf %s "(cached) " >&6
11998 else $as_nop
11999 if test -n "$MINGW_PKG_CONFIG"; then
12000 ac_cv_prog_MINGW_PKG_CONFIG="$MINGW_PKG_CONFIG" # Let the user override the test.
12001 else
12002 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12003 for as_dir in $PATH
12005 IFS=$as_save_IFS
12006 case $as_dir in #(((
12007 '') as_dir=./ ;;
12008 */) ;;
12009 *) as_dir=$as_dir/ ;;
12010 esac
12011 for ac_exec_ext in '' $ac_executable_extensions; do
12012 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
12013 ac_cv_prog_MINGW_PKG_CONFIG="$ac_prog"
12014 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
12015 break 2
12017 done
12018 done
12019 IFS=$as_save_IFS
12023 MINGW_PKG_CONFIG=$ac_cv_prog_MINGW_PKG_CONFIG
12024 if test -n "$MINGW_PKG_CONFIG"; then
12025 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MINGW_PKG_CONFIG" >&5
12026 printf "%s\n" "$MINGW_PKG_CONFIG" >&6; }
12027 else
12028 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
12029 printf "%s\n" "no" >&6; }
12033 test -n "$MINGW_PKG_CONFIG" && break
12034 done
12035 test -n "$MINGW_PKG_CONFIG" || MINGW_PKG_CONFIG="false"
12037 if ${FAUDIO_PE_CFLAGS:+false} :
12038 then :
12039 if test ${MINGW_PKG_CONFIG+y}
12040 then :
12041 FAUDIO_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags FAudio 2>/dev/null`
12044 if ${FAUDIO_PE_LIBS:+false} :
12045 then :
12046 if test ${MINGW_PKG_CONFIG+y}
12047 then :
12048 FAUDIO_PE_LIBS=`$MINGW_PKG_CONFIG --libs FAudio 2>/dev/null`
12051 FAUDIO_PE_LIBS=${FAUDIO_PE_LIBS:-"-lFAudio"}
12052 ac_save_CPPFLAGS=$CPPFLAGS
12053 CPPFLAGS="$CPPFLAGS $FAUDIO_PE_CFLAGS"
12054 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW FAudio.h" >&5
12055 printf %s "checking for MinGW FAudio.h... " >&6; }
12056 if test ${ac_cv_mingw_header_FAudio_h+y}
12057 then :
12058 printf %s "(cached) " >&6
12059 else $as_nop
12060 ac_wine_check_headers_saved_cc=$CC
12061 ac_wine_check_headers_saved_exeext=$ac_exeext
12062 eval CC=\$${wine_arch}_CC
12063 ac_exeext=".exe"
12064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12065 /* end confdefs.h. */
12067 #include <FAudio.h>
12069 main (void)
12073 return 0;
12075 _ACEOF
12076 if ac_fn_c_try_compile "$LINENO"
12077 then :
12078 ac_cv_mingw_header_FAudio_h=yes
12079 else $as_nop
12080 ac_cv_mingw_header_FAudio_h=no
12082 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12083 CC=$ac_wine_check_headers_saved_cc
12084 ac_exeext=$ac_wine_check_headers_saved_exeext
12086 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_FAudio_h" >&5
12087 printf "%s\n" "$ac_cv_mingw_header_FAudio_h" >&6; }
12088 if test "x$ac_cv_mingw_header_FAudio_h" = xyes
12089 then :
12090 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for FAudio_CommitOperationSet in MinGW -lFAudio" >&5
12091 printf %s "checking for FAudio_CommitOperationSet in MinGW -lFAudio... " >&6; }
12092 if test ${ac_cv_mingw_lib_FAudio+y}
12093 then :
12094 printf %s "(cached) " >&6
12095 else $as_nop
12096 ac_wine_check_headers_saved_cc=$CC
12097 ac_wine_check_headers_saved_exeext=$ac_exeext
12098 ac_wine_check_headers_saved_libs=$LIBS
12099 eval CC=\$${wine_arch}_CC
12100 ac_exeext=".exe"
12101 LIBS="-lFAudio $FAUDIO_PE_LIBS $LIBS"
12102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12103 /* end confdefs.h. */
12105 /* Override any GCC internal prototype to avoid an error.
12106 Use char because int might match the return type of a GCC
12107 builtin and then its argument prototype would still apply. */
12108 char FAudio_CommitOperationSet ();
12110 main (void)
12112 return FAudio_CommitOperationSet ();
12114 return 0;
12116 _ACEOF
12117 if ac_fn_c_try_link "$LINENO"
12118 then :
12119 ac_cv_mingw_lib_FAudio=yes
12120 else $as_nop
12121 ac_cv_mingw_lib_FAudio=no
12123 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12124 conftest$ac_exeext conftest.$ac_ext
12125 CC=$ac_wine_check_headers_saved_cc
12126 ac_exeext=$ac_wine_check_headers_saved_exeext
12127 LIBS=$ac_wine_check_headers_saved_libs
12129 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_FAudio" >&5
12130 printf "%s\n" "$ac_cv_mingw_lib_FAudio" >&6; }
12131 if test "x$ac_cv_mingw_lib_FAudio" = xyes
12132 then :
12134 else $as_nop
12135 FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
12137 else $as_nop
12138 FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
12140 CPPFLAGS=$ac_save_CPPFLAGS
12142 if test "x$FAUDIO_PE_LIBS" = "x"
12143 then
12144 as_fn_append wine_notices "|FAudio ${notice_platform}MinGW development files not found (or too old); using bundled version."
12147 if ${FLUIDSYNTH_PE_CFLAGS:+false} :
12148 then :
12149 if test ${MINGW_PKG_CONFIG+y}
12150 then :
12151 FLUIDSYNTH_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags fluidsynth 2>/dev/null`
12154 if ${FLUIDSYNTH_PE_LIBS:+false} :
12155 then :
12156 if test ${MINGW_PKG_CONFIG+y}
12157 then :
12158 FLUIDSYNTH_PE_LIBS=`$MINGW_PKG_CONFIG --libs fluidsynth 2>/dev/null`
12161 FLUIDSYNTH_PE_LIBS=${FLUIDSYNTH_PE_LIBS:-"-lfluidsynth"}
12162 ac_save_CPPFLAGS=$CPPFLAGS
12163 CPPFLAGS="$CPPFLAGS $FLUIDSYNTH_PE_CFLAGS"
12164 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW fluidsynth.h" >&5
12165 printf %s "checking for MinGW fluidsynth.h... " >&6; }
12166 if test ${ac_cv_mingw_header_fluidsynth_h+y}
12167 then :
12168 printf %s "(cached) " >&6
12169 else $as_nop
12170 ac_wine_check_headers_saved_cc=$CC
12171 ac_wine_check_headers_saved_exeext=$ac_exeext
12172 eval CC=\$${wine_arch}_CC
12173 ac_exeext=".exe"
12174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12175 /* end confdefs.h. */
12177 #include <fluidsynth.h>
12179 main (void)
12183 return 0;
12185 _ACEOF
12186 if ac_fn_c_try_compile "$LINENO"
12187 then :
12188 ac_cv_mingw_header_fluidsynth_h=yes
12189 else $as_nop
12190 ac_cv_mingw_header_fluidsynth_h=no
12192 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12193 CC=$ac_wine_check_headers_saved_cc
12194 ac_exeext=$ac_wine_check_headers_saved_exeext
12196 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_fluidsynth_h" >&5
12197 printf "%s\n" "$ac_cv_mingw_header_fluidsynth_h" >&6; }
12198 if test "x$ac_cv_mingw_header_fluidsynth_h" = xyes
12199 then :
12200 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for new_fluid_synth in MinGW -lfluidsynth" >&5
12201 printf %s "checking for new_fluid_synth in MinGW -lfluidsynth... " >&6; }
12202 if test ${ac_cv_mingw_lib_fluidsynth+y}
12203 then :
12204 printf %s "(cached) " >&6
12205 else $as_nop
12206 ac_wine_check_headers_saved_cc=$CC
12207 ac_wine_check_headers_saved_exeext=$ac_exeext
12208 ac_wine_check_headers_saved_libs=$LIBS
12209 eval CC=\$${wine_arch}_CC
12210 ac_exeext=".exe"
12211 LIBS="-lfluidsynth $FLUIDSYNTH_PE_LIBS $LIBS"
12212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12213 /* end confdefs.h. */
12215 /* Override any GCC internal prototype to avoid an error.
12216 Use char because int might match the return type of a GCC
12217 builtin and then its argument prototype would still apply. */
12218 char new_fluid_synth ();
12220 main (void)
12222 return new_fluid_synth ();
12224 return 0;
12226 _ACEOF
12227 if ac_fn_c_try_link "$LINENO"
12228 then :
12229 ac_cv_mingw_lib_fluidsynth=yes
12230 else $as_nop
12231 ac_cv_mingw_lib_fluidsynth=no
12233 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12234 conftest$ac_exeext conftest.$ac_ext
12235 CC=$ac_wine_check_headers_saved_cc
12236 ac_exeext=$ac_wine_check_headers_saved_exeext
12237 LIBS=$ac_wine_check_headers_saved_libs
12239 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_fluidsynth" >&5
12240 printf "%s\n" "$ac_cv_mingw_lib_fluidsynth" >&6; }
12241 if test "x$ac_cv_mingw_lib_fluidsynth" = xyes
12242 then :
12244 else $as_nop
12245 FLUIDSYNTH_PE_CFLAGS=""; FLUIDSYNTH_PE_LIBS=""
12247 else $as_nop
12248 FLUIDSYNTH_PE_CFLAGS=""; FLUIDSYNTH_PE_LIBS=""
12250 CPPFLAGS=$ac_save_CPPFLAGS
12252 if test "x$FLUIDSYNTH_PE_LIBS" = "x"
12253 then
12254 as_fn_append wine_notices "|Fluidsynth ${notice_platform}MinGW development files not found (or too old); using bundled version."
12257 if ${JPEG_PE_CFLAGS:+false} :
12258 then :
12259 if test ${MINGW_PKG_CONFIG+y}
12260 then :
12261 JPEG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libjpeg 2>/dev/null`
12264 if ${JPEG_PE_LIBS:+false} :
12265 then :
12266 if test ${MINGW_PKG_CONFIG+y}
12267 then :
12268 JPEG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libjpeg 2>/dev/null`
12272 ac_save_CPPFLAGS=$CPPFLAGS
12273 CPPFLAGS="$CPPFLAGS $JPEG_PE_CFLAGS"
12274 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW jpeglib.h" >&5
12275 printf %s "checking for MinGW jpeglib.h... " >&6; }
12276 if test ${ac_cv_mingw_header_jpeglib_h+y}
12277 then :
12278 printf %s "(cached) " >&6
12279 else $as_nop
12280 ac_wine_check_headers_saved_cc=$CC
12281 ac_wine_check_headers_saved_exeext=$ac_exeext
12282 eval CC=\$${wine_arch}_CC
12283 ac_exeext=".exe"
12284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12285 /* end confdefs.h. */
12286 #include <stddef.h>
12287 #include <stdio.h>
12288 #include <jpeglib.h>
12290 main (void)
12294 return 0;
12296 _ACEOF
12297 if ac_fn_c_try_compile "$LINENO"
12298 then :
12299 ac_cv_mingw_header_jpeglib_h=yes
12300 else $as_nop
12301 ac_cv_mingw_header_jpeglib_h=no
12303 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12304 CC=$ac_wine_check_headers_saved_cc
12305 ac_exeext=$ac_wine_check_headers_saved_exeext
12307 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_jpeglib_h" >&5
12308 printf "%s\n" "$ac_cv_mingw_header_jpeglib_h" >&6; }
12309 if test "x$ac_cv_mingw_header_jpeglib_h" = xyes
12310 then :
12311 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for jpeg_start_decompress in MinGW -ljpeg" >&5
12312 printf %s "checking for jpeg_start_decompress in MinGW -ljpeg... " >&6; }
12313 if test ${ac_cv_mingw_lib_jpeg+y}
12314 then :
12315 printf %s "(cached) " >&6
12316 else $as_nop
12317 ac_wine_check_headers_saved_cc=$CC
12318 ac_wine_check_headers_saved_exeext=$ac_exeext
12319 ac_wine_check_headers_saved_libs=$LIBS
12320 eval CC=\$${wine_arch}_CC
12321 ac_exeext=".exe"
12322 LIBS="-ljpeg $JPEG_PE_LIBS $LIBS"
12323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12324 /* end confdefs.h. */
12326 /* Override any GCC internal prototype to avoid an error.
12327 Use char because int might match the return type of a GCC
12328 builtin and then its argument prototype would still apply. */
12329 char jpeg_start_decompress ();
12331 main (void)
12333 return jpeg_start_decompress ();
12335 return 0;
12337 _ACEOF
12338 if ac_fn_c_try_link "$LINENO"
12339 then :
12340 ac_cv_mingw_lib_jpeg=yes
12341 else $as_nop
12342 ac_cv_mingw_lib_jpeg=no
12344 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12345 conftest$ac_exeext conftest.$ac_ext
12346 CC=$ac_wine_check_headers_saved_cc
12347 ac_exeext=$ac_wine_check_headers_saved_exeext
12348 LIBS=$ac_wine_check_headers_saved_libs
12350 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_jpeg" >&5
12351 printf "%s\n" "$ac_cv_mingw_lib_jpeg" >&6; }
12352 if test "x$ac_cv_mingw_lib_jpeg" = xyes
12353 then :
12355 else $as_nop
12356 JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
12358 else $as_nop
12359 JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
12361 CPPFLAGS=$ac_save_CPPFLAGS
12363 if test "x$JPEG_PE_LIBS" = "x"
12364 then
12365 as_fn_append wine_notices "|libjpeg ${notice_platform}MinGW development files not found; using bundled version."
12368 if ${LCMS2_PE_CFLAGS:+false} :
12369 then :
12370 if test ${MINGW_PKG_CONFIG+y}
12371 then :
12372 LCMS2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags lcms2 2>/dev/null`
12375 if ${LCMS2_PE_LIBS:+false} :
12376 then :
12377 if test ${MINGW_PKG_CONFIG+y}
12378 then :
12379 LCMS2_PE_LIBS=`$MINGW_PKG_CONFIG --libs lcms2 2>/dev/null`
12382 LCMS2_PE_LIBS=${LCMS2_PE_LIBS:-"-llcms2"}
12383 ac_save_CPPFLAGS=$CPPFLAGS
12384 CPPFLAGS="$CPPFLAGS $LCMS2_PE_CFLAGS"
12385 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW lcms2.h" >&5
12386 printf %s "checking for MinGW lcms2.h... " >&6; }
12387 if test ${ac_cv_mingw_header_lcms2_h+y}
12388 then :
12389 printf %s "(cached) " >&6
12390 else $as_nop
12391 ac_wine_check_headers_saved_cc=$CC
12392 ac_wine_check_headers_saved_exeext=$ac_exeext
12393 eval CC=\$${wine_arch}_CC
12394 ac_exeext=".exe"
12395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12396 /* end confdefs.h. */
12398 #include <lcms2.h>
12400 main (void)
12404 return 0;
12406 _ACEOF
12407 if ac_fn_c_try_compile "$LINENO"
12408 then :
12409 ac_cv_mingw_header_lcms2_h=yes
12410 else $as_nop
12411 ac_cv_mingw_header_lcms2_h=no
12413 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12414 CC=$ac_wine_check_headers_saved_cc
12415 ac_exeext=$ac_wine_check_headers_saved_exeext
12417 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_lcms2_h" >&5
12418 printf "%s\n" "$ac_cv_mingw_header_lcms2_h" >&6; }
12419 if test "x$ac_cv_mingw_header_lcms2_h" = xyes
12420 then :
12421 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in MinGW -llcms2" >&5
12422 printf %s "checking for cmsOpenProfileFromFile in MinGW -llcms2... " >&6; }
12423 if test ${ac_cv_mingw_lib_lcms2+y}
12424 then :
12425 printf %s "(cached) " >&6
12426 else $as_nop
12427 ac_wine_check_headers_saved_cc=$CC
12428 ac_wine_check_headers_saved_exeext=$ac_exeext
12429 ac_wine_check_headers_saved_libs=$LIBS
12430 eval CC=\$${wine_arch}_CC
12431 ac_exeext=".exe"
12432 LIBS="-llcms2 $LCMS2_PE_LIBS $LIBS"
12433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12434 /* end confdefs.h. */
12436 /* Override any GCC internal prototype to avoid an error.
12437 Use char because int might match the return type of a GCC
12438 builtin and then its argument prototype would still apply. */
12439 char cmsOpenProfileFromFile ();
12441 main (void)
12443 return cmsOpenProfileFromFile ();
12445 return 0;
12447 _ACEOF
12448 if ac_fn_c_try_link "$LINENO"
12449 then :
12450 ac_cv_mingw_lib_lcms2=yes
12451 else $as_nop
12452 ac_cv_mingw_lib_lcms2=no
12454 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12455 conftest$ac_exeext conftest.$ac_ext
12456 CC=$ac_wine_check_headers_saved_cc
12457 ac_exeext=$ac_wine_check_headers_saved_exeext
12458 LIBS=$ac_wine_check_headers_saved_libs
12460 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_lcms2" >&5
12461 printf "%s\n" "$ac_cv_mingw_lib_lcms2" >&6; }
12462 if test "x$ac_cv_mingw_lib_lcms2" = xyes
12463 then :
12465 else $as_nop
12466 LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
12468 else $as_nop
12469 LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
12471 CPPFLAGS=$ac_save_CPPFLAGS
12473 if test "x$LCMS2_PE_LIBS" = "x"
12474 then
12475 as_fn_append wine_notices "|liblcms2 ${notice_platform}MinGW development files not found; using bundled version."
12478 if ${MPG123_PE_CFLAGS:+false} :
12479 then :
12480 if test ${MINGW_PKG_CONFIG+y}
12481 then :
12482 MPG123_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libmpg123 2>/dev/null`
12485 if ${MPG123_PE_LIBS:+false} :
12486 then :
12487 if test ${MINGW_PKG_CONFIG+y}
12488 then :
12489 MPG123_PE_LIBS=`$MINGW_PKG_CONFIG --libs libmpg123 2>/dev/null`
12492 MPG123_PE_LIBS=${MPG123_PE_LIBS:-"-lmpg123"}
12493 ac_save_CPPFLAGS=$CPPFLAGS
12494 CPPFLAGS="$CPPFLAGS $MPG123_PE_CFLAGS"
12495 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW mpg123.h" >&5
12496 printf %s "checking for MinGW mpg123.h... " >&6; }
12497 if test ${ac_cv_mingw_header_mpg123_h+y}
12498 then :
12499 printf %s "(cached) " >&6
12500 else $as_nop
12501 ac_wine_check_headers_saved_cc=$CC
12502 ac_wine_check_headers_saved_exeext=$ac_exeext
12503 eval CC=\$${wine_arch}_CC
12504 ac_exeext=".exe"
12505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12506 /* end confdefs.h. */
12508 #include <mpg123.h>
12510 main (void)
12514 return 0;
12516 _ACEOF
12517 if ac_fn_c_try_compile "$LINENO"
12518 then :
12519 ac_cv_mingw_header_mpg123_h=yes
12520 else $as_nop
12521 ac_cv_mingw_header_mpg123_h=no
12523 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12524 CC=$ac_wine_check_headers_saved_cc
12525 ac_exeext=$ac_wine_check_headers_saved_exeext
12527 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_mpg123_h" >&5
12528 printf "%s\n" "$ac_cv_mingw_header_mpg123_h" >&6; }
12529 if test "x$ac_cv_mingw_header_mpg123_h" = xyes
12530 then :
12531 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in MinGW -lmpg123" >&5
12532 printf %s "checking for mpg123_feed in MinGW -lmpg123... " >&6; }
12533 if test ${ac_cv_mingw_lib_mpg123+y}
12534 then :
12535 printf %s "(cached) " >&6
12536 else $as_nop
12537 ac_wine_check_headers_saved_cc=$CC
12538 ac_wine_check_headers_saved_exeext=$ac_exeext
12539 ac_wine_check_headers_saved_libs=$LIBS
12540 eval CC=\$${wine_arch}_CC
12541 ac_exeext=".exe"
12542 LIBS="-lmpg123 $MPG123_PE_LIBS $LIBS"
12543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12544 /* end confdefs.h. */
12546 /* Override any GCC internal prototype to avoid an error.
12547 Use char because int might match the return type of a GCC
12548 builtin and then its argument prototype would still apply. */
12549 char mpg123_feed ();
12551 main (void)
12553 return mpg123_feed ();
12555 return 0;
12557 _ACEOF
12558 if ac_fn_c_try_link "$LINENO"
12559 then :
12560 ac_cv_mingw_lib_mpg123=yes
12561 else $as_nop
12562 ac_cv_mingw_lib_mpg123=no
12564 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12565 conftest$ac_exeext conftest.$ac_ext
12566 CC=$ac_wine_check_headers_saved_cc
12567 ac_exeext=$ac_wine_check_headers_saved_exeext
12568 LIBS=$ac_wine_check_headers_saved_libs
12570 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_mpg123" >&5
12571 printf "%s\n" "$ac_cv_mingw_lib_mpg123" >&6; }
12572 if test "x$ac_cv_mingw_lib_mpg123" = xyes
12573 then :
12575 else $as_nop
12576 MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
12578 else $as_nop
12579 MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
12581 CPPFLAGS=$ac_save_CPPFLAGS
12583 if test "x$MPG123_PE_LIBS" = "x"
12584 then
12585 as_fn_append wine_notices "|libmpg123 ${notice_platform}MinGW development files not found (or too old); using bundled version."
12588 if ${PNG_PE_CFLAGS:+false} :
12589 then :
12590 if test ${MINGW_PKG_CONFIG+y}
12591 then :
12592 PNG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libpng 2>/dev/null`
12595 if ${PNG_PE_LIBS:+false} :
12596 then :
12597 if test ${MINGW_PKG_CONFIG+y}
12598 then :
12599 PNG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libpng 2>/dev/null`
12603 ac_save_CPPFLAGS=$CPPFLAGS
12604 CPPFLAGS="$CPPFLAGS $PNG_PE_CFLAGS"
12605 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW png.h" >&5
12606 printf %s "checking for MinGW png.h... " >&6; }
12607 if test ${ac_cv_mingw_header_png_h+y}
12608 then :
12609 printf %s "(cached) " >&6
12610 else $as_nop
12611 ac_wine_check_headers_saved_cc=$CC
12612 ac_wine_check_headers_saved_exeext=$ac_exeext
12613 eval CC=\$${wine_arch}_CC
12614 ac_exeext=".exe"
12615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12616 /* end confdefs.h. */
12618 #include <png.h>
12620 main (void)
12624 return 0;
12626 _ACEOF
12627 if ac_fn_c_try_compile "$LINENO"
12628 then :
12629 ac_cv_mingw_header_png_h=yes
12630 else $as_nop
12631 ac_cv_mingw_header_png_h=no
12633 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12634 CC=$ac_wine_check_headers_saved_cc
12635 ac_exeext=$ac_wine_check_headers_saved_exeext
12637 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_png_h" >&5
12638 printf "%s\n" "$ac_cv_mingw_header_png_h" >&6; }
12639 if test "x$ac_cv_mingw_header_png_h" = xyes
12640 then :
12641 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for png_create_read_struct in MinGW -lpng" >&5
12642 printf %s "checking for png_create_read_struct in MinGW -lpng... " >&6; }
12643 if test ${ac_cv_mingw_lib_png+y}
12644 then :
12645 printf %s "(cached) " >&6
12646 else $as_nop
12647 ac_wine_check_headers_saved_cc=$CC
12648 ac_wine_check_headers_saved_exeext=$ac_exeext
12649 ac_wine_check_headers_saved_libs=$LIBS
12650 eval CC=\$${wine_arch}_CC
12651 ac_exeext=".exe"
12652 LIBS="-lpng $PNG_PE_LIBS $LIBS"
12653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12654 /* end confdefs.h. */
12656 /* Override any GCC internal prototype to avoid an error.
12657 Use char because int might match the return type of a GCC
12658 builtin and then its argument prototype would still apply. */
12659 char png_create_read_struct ();
12661 main (void)
12663 return png_create_read_struct ();
12665 return 0;
12667 _ACEOF
12668 if ac_fn_c_try_link "$LINENO"
12669 then :
12670 ac_cv_mingw_lib_png=yes
12671 else $as_nop
12672 ac_cv_mingw_lib_png=no
12674 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12675 conftest$ac_exeext conftest.$ac_ext
12676 CC=$ac_wine_check_headers_saved_cc
12677 ac_exeext=$ac_wine_check_headers_saved_exeext
12678 LIBS=$ac_wine_check_headers_saved_libs
12680 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_png" >&5
12681 printf "%s\n" "$ac_cv_mingw_lib_png" >&6; }
12682 if test "x$ac_cv_mingw_lib_png" = xyes
12683 then :
12685 else $as_nop
12686 PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
12688 else $as_nop
12689 PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
12691 CPPFLAGS=$ac_save_CPPFLAGS
12693 if test "x$PNG_PE_LIBS" = "x"
12694 then
12695 as_fn_append wine_notices "|libpng ${notice_platform}MinGW development files not found; using bundled version."
12698 if ${TIFF_PE_CFLAGS:+false} :
12699 then :
12700 if test ${MINGW_PKG_CONFIG+y}
12701 then :
12702 TIFF_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libtiff-4 2>/dev/null`
12705 if ${TIFF_PE_LIBS:+false} :
12706 then :
12707 if test ${MINGW_PKG_CONFIG+y}
12708 then :
12709 TIFF_PE_LIBS=`$MINGW_PKG_CONFIG --libs libtiff-4 2>/dev/null`
12713 ac_save_CPPFLAGS=$CPPFLAGS
12714 CPPFLAGS="$CPPFLAGS $TIFF_PE_CFLAGS"
12715 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW tiffio.h" >&5
12716 printf %s "checking for MinGW tiffio.h... " >&6; }
12717 if test ${ac_cv_mingw_header_tiffio_h+y}
12718 then :
12719 printf %s "(cached) " >&6
12720 else $as_nop
12721 ac_wine_check_headers_saved_cc=$CC
12722 ac_wine_check_headers_saved_exeext=$ac_exeext
12723 eval CC=\$${wine_arch}_CC
12724 ac_exeext=".exe"
12725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12726 /* end confdefs.h. */
12728 #include <tiffio.h>
12730 main (void)
12734 return 0;
12736 _ACEOF
12737 if ac_fn_c_try_compile "$LINENO"
12738 then :
12739 ac_cv_mingw_header_tiffio_h=yes
12740 else $as_nop
12741 ac_cv_mingw_header_tiffio_h=no
12743 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12744 CC=$ac_wine_check_headers_saved_cc
12745 ac_exeext=$ac_wine_check_headers_saved_exeext
12747 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_tiffio_h" >&5
12748 printf "%s\n" "$ac_cv_mingw_header_tiffio_h" >&6; }
12749 if test "x$ac_cv_mingw_header_tiffio_h" = xyes
12750 then :
12751 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for TIFFClientOpen in MinGW -ltiff" >&5
12752 printf %s "checking for TIFFClientOpen in MinGW -ltiff... " >&6; }
12753 if test ${ac_cv_mingw_lib_tiff+y}
12754 then :
12755 printf %s "(cached) " >&6
12756 else $as_nop
12757 ac_wine_check_headers_saved_cc=$CC
12758 ac_wine_check_headers_saved_exeext=$ac_exeext
12759 ac_wine_check_headers_saved_libs=$LIBS
12760 eval CC=\$${wine_arch}_CC
12761 ac_exeext=".exe"
12762 LIBS="-ltiff $TIFF_PE_LIBS $LIBS"
12763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12764 /* end confdefs.h. */
12766 /* Override any GCC internal prototype to avoid an error.
12767 Use char because int might match the return type of a GCC
12768 builtin and then its argument prototype would still apply. */
12769 char TIFFClientOpen ();
12771 main (void)
12773 return TIFFClientOpen ();
12775 return 0;
12777 _ACEOF
12778 if ac_fn_c_try_link "$LINENO"
12779 then :
12780 ac_cv_mingw_lib_tiff=yes
12781 else $as_nop
12782 ac_cv_mingw_lib_tiff=no
12784 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12785 conftest$ac_exeext conftest.$ac_ext
12786 CC=$ac_wine_check_headers_saved_cc
12787 ac_exeext=$ac_wine_check_headers_saved_exeext
12788 LIBS=$ac_wine_check_headers_saved_libs
12790 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_tiff" >&5
12791 printf "%s\n" "$ac_cv_mingw_lib_tiff" >&6; }
12792 if test "x$ac_cv_mingw_lib_tiff" = xyes
12793 then :
12795 else $as_nop
12796 TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
12798 else $as_nop
12799 TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
12801 CPPFLAGS=$ac_save_CPPFLAGS
12803 if test "x$TIFF_PE_LIBS" = "x"
12804 then
12805 as_fn_append wine_notices "|libtiff ${notice_platform}MinGW development files not found; using bundled version."
12808 if ${XML2_PE_CFLAGS:+false} :
12809 then :
12810 if test ${MINGW_PKG_CONFIG+y}
12811 then :
12812 XML2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
12815 if ${XML2_PE_LIBS:+false} :
12816 then :
12817 if test ${MINGW_PKG_CONFIG+y}
12818 then :
12819 XML2_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxml-2.0 2>/dev/null`
12822 XML2_PE_LIBS=${XML2_PE_LIBS:-"-lxml2"}
12823 ac_save_CPPFLAGS=$CPPFLAGS
12824 CPPFLAGS="$CPPFLAGS $XML2_PE_CFLAGS"
12825 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/parser.h" >&5
12826 printf %s "checking for MinGW libxml/parser.h... " >&6; }
12827 if test ${ac_cv_mingw_header_libxml_parser_h+y}
12828 then :
12829 printf %s "(cached) " >&6
12830 else $as_nop
12831 ac_wine_check_headers_saved_cc=$CC
12832 ac_wine_check_headers_saved_exeext=$ac_exeext
12833 eval CC=\$${wine_arch}_CC
12834 ac_exeext=".exe"
12835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12836 /* end confdefs.h. */
12838 #include <libxml/parser.h>
12840 main (void)
12844 return 0;
12846 _ACEOF
12847 if ac_fn_c_try_compile "$LINENO"
12848 then :
12849 ac_cv_mingw_header_libxml_parser_h=yes
12850 else $as_nop
12851 ac_cv_mingw_header_libxml_parser_h=no
12853 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12854 CC=$ac_wine_check_headers_saved_cc
12855 ac_exeext=$ac_wine_check_headers_saved_exeext
12857 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_parser_h" >&5
12858 printf "%s\n" "$ac_cv_mingw_header_libxml_parser_h" >&6; }
12859 if test "x$ac_cv_mingw_header_libxml_parser_h" = xyes
12860 then :
12863 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/xmlsave.h" >&5
12864 printf %s "checking for MinGW libxml/xmlsave.h... " >&6; }
12865 if test ${ac_cv_mingw_header_libxml_xmlsave_h+y}
12866 then :
12867 printf %s "(cached) " >&6
12868 else $as_nop
12869 ac_wine_check_headers_saved_cc=$CC
12870 ac_wine_check_headers_saved_exeext=$ac_exeext
12871 eval CC=\$${wine_arch}_CC
12872 ac_exeext=".exe"
12873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12874 /* end confdefs.h. */
12876 #include <libxml/xmlsave.h>
12878 main (void)
12882 return 0;
12884 _ACEOF
12885 if ac_fn_c_try_compile "$LINENO"
12886 then :
12887 ac_cv_mingw_header_libxml_xmlsave_h=yes
12888 else $as_nop
12889 ac_cv_mingw_header_libxml_xmlsave_h=no
12891 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12892 CC=$ac_wine_check_headers_saved_cc
12893 ac_exeext=$ac_wine_check_headers_saved_exeext
12895 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_xmlsave_h" >&5
12896 printf "%s\n" "$ac_cv_mingw_header_libxml_xmlsave_h" >&6; }
12897 if test "x$ac_cv_mingw_header_libxml_xmlsave_h" = xyes
12898 then :
12901 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/SAX2.h" >&5
12902 printf %s "checking for MinGW libxml/SAX2.h... " >&6; }
12903 if test ${ac_cv_mingw_header_libxml_SAX2_h+y}
12904 then :
12905 printf %s "(cached) " >&6
12906 else $as_nop
12907 ac_wine_check_headers_saved_cc=$CC
12908 ac_wine_check_headers_saved_exeext=$ac_exeext
12909 eval CC=\$${wine_arch}_CC
12910 ac_exeext=".exe"
12911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12912 /* end confdefs.h. */
12914 #include <libxml/SAX2.h>
12916 main (void)
12920 return 0;
12922 _ACEOF
12923 if ac_fn_c_try_compile "$LINENO"
12924 then :
12925 ac_cv_mingw_header_libxml_SAX2_h=yes
12926 else $as_nop
12927 ac_cv_mingw_header_libxml_SAX2_h=no
12929 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12930 CC=$ac_wine_check_headers_saved_cc
12931 ac_exeext=$ac_wine_check_headers_saved_exeext
12933 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_SAX2_h" >&5
12934 printf "%s\n" "$ac_cv_mingw_header_libxml_SAX2_h" >&6; }
12935 if test "x$ac_cv_mingw_header_libxml_SAX2_h" = xyes
12936 then :
12939 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"
12940 then
12941 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in MinGW -lxml2" >&5
12942 printf %s "checking for xmlFirstElementChild in MinGW -lxml2... " >&6; }
12943 if test ${ac_cv_mingw_lib_xml2+y}
12944 then :
12945 printf %s "(cached) " >&6
12946 else $as_nop
12947 ac_wine_check_headers_saved_cc=$CC
12948 ac_wine_check_headers_saved_exeext=$ac_exeext
12949 ac_wine_check_headers_saved_libs=$LIBS
12950 eval CC=\$${wine_arch}_CC
12951 ac_exeext=".exe"
12952 LIBS="-lxml2 $XML2_PE_LIBS $LIBS"
12953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12954 /* end confdefs.h. */
12956 /* Override any GCC internal prototype to avoid an error.
12957 Use char because int might match the return type of a GCC
12958 builtin and then its argument prototype would still apply. */
12959 char xmlFirstElementChild ();
12961 main (void)
12963 return xmlFirstElementChild ();
12965 return 0;
12967 _ACEOF
12968 if ac_fn_c_try_link "$LINENO"
12969 then :
12970 ac_cv_mingw_lib_xml2=yes
12971 else $as_nop
12972 ac_cv_mingw_lib_xml2=no
12974 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12975 conftest$ac_exeext conftest.$ac_ext
12976 CC=$ac_wine_check_headers_saved_cc
12977 ac_exeext=$ac_wine_check_headers_saved_exeext
12978 LIBS=$ac_wine_check_headers_saved_libs
12980 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xml2" >&5
12981 printf "%s\n" "$ac_cv_mingw_lib_xml2" >&6; }
12982 if test "x$ac_cv_mingw_lib_xml2" = xyes
12983 then :
12985 else $as_nop
12986 XML2_PE_CFLAGS=""; XML2_PE_LIBS=""
12988 else
12989 XML2_PE_CFLAGS=""
12990 XML2_PE_LIBS=""
12992 CPPFLAGS=$ac_save_CPPFLAGS
12994 if test "x$XML2_PE_LIBS" = "x"
12995 then
12996 as_fn_append wine_notices "|libxml2 ${notice_platform}MinGW development files not found (or too old); using bundled version."
12999 if ${XSLT_PE_CFLAGS:+false} :
13000 then :
13001 if test ${MINGW_PKG_CONFIG+y}
13002 then :
13003 XSLT_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxslt 2>/dev/null`
13006 if ${XSLT_PE_LIBS:+false} :
13007 then :
13008 if test ${MINGW_PKG_CONFIG+y}
13009 then :
13010 XSLT_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxslt 2>/dev/null`
13013 XSLT_PE_LIBS=${XSLT_PE_LIBS:-"-lxslt"}
13014 ac_save_CPPFLAGS=$CPPFLAGS
13015 CPPFLAGS="$CPPFLAGS $XSLT_PE_CFLAGS"
13016 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/pattern.h" >&5
13017 printf %s "checking for MinGW libxslt/pattern.h... " >&6; }
13018 if test ${ac_cv_mingw_header_libxslt_pattern_h+y}
13019 then :
13020 printf %s "(cached) " >&6
13021 else $as_nop
13022 ac_wine_check_headers_saved_cc=$CC
13023 ac_wine_check_headers_saved_exeext=$ac_exeext
13024 eval CC=\$${wine_arch}_CC
13025 ac_exeext=".exe"
13026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13027 /* end confdefs.h. */
13029 #include <libxslt/pattern.h>
13031 main (void)
13035 return 0;
13037 _ACEOF
13038 if ac_fn_c_try_compile "$LINENO"
13039 then :
13040 ac_cv_mingw_header_libxslt_pattern_h=yes
13041 else $as_nop
13042 ac_cv_mingw_header_libxslt_pattern_h=no
13044 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13045 CC=$ac_wine_check_headers_saved_cc
13046 ac_exeext=$ac_wine_check_headers_saved_exeext
13048 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_pattern_h" >&5
13049 printf "%s\n" "$ac_cv_mingw_header_libxslt_pattern_h" >&6; }
13050 if test "x$ac_cv_mingw_header_libxslt_pattern_h" = xyes
13051 then :
13054 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/transform.h" >&5
13055 printf %s "checking for MinGW libxslt/transform.h... " >&6; }
13056 if test ${ac_cv_mingw_header_libxslt_transform_h+y}
13057 then :
13058 printf %s "(cached) " >&6
13059 else $as_nop
13060 ac_wine_check_headers_saved_cc=$CC
13061 ac_wine_check_headers_saved_exeext=$ac_exeext
13062 eval CC=\$${wine_arch}_CC
13063 ac_exeext=".exe"
13064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13065 /* end confdefs.h. */
13067 #include <libxslt/transform.h>
13069 main (void)
13073 return 0;
13075 _ACEOF
13076 if ac_fn_c_try_compile "$LINENO"
13077 then :
13078 ac_cv_mingw_header_libxslt_transform_h=yes
13079 else $as_nop
13080 ac_cv_mingw_header_libxslt_transform_h=no
13082 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13083 CC=$ac_wine_check_headers_saved_cc
13084 ac_exeext=$ac_wine_check_headers_saved_exeext
13086 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_transform_h" >&5
13087 printf "%s\n" "$ac_cv_mingw_header_libxslt_transform_h" >&6; }
13088 if test "x$ac_cv_mingw_header_libxslt_transform_h" = xyes
13089 then :
13092 if test "$ac_cv_mingw_header_libxslt_pattern_h" = "yes" -a "$ac_cv_mingw_header_libxslt_transform_h" = "yes"
13093 then
13094 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xsltCompilePattern in MinGW -lxslt" >&5
13095 printf %s "checking for xsltCompilePattern in MinGW -lxslt... " >&6; }
13096 if test ${ac_cv_mingw_lib_xslt+y}
13097 then :
13098 printf %s "(cached) " >&6
13099 else $as_nop
13100 ac_wine_check_headers_saved_cc=$CC
13101 ac_wine_check_headers_saved_exeext=$ac_exeext
13102 ac_wine_check_headers_saved_libs=$LIBS
13103 eval CC=\$${wine_arch}_CC
13104 ac_exeext=".exe"
13105 LIBS="-lxslt $XSLT_PE_LIBS $LIBS"
13106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13107 /* end confdefs.h. */
13109 /* Override any GCC internal prototype to avoid an error.
13110 Use char because int might match the return type of a GCC
13111 builtin and then its argument prototype would still apply. */
13112 char xsltCompilePattern ();
13114 main (void)
13116 return xsltCompilePattern ();
13118 return 0;
13120 _ACEOF
13121 if ac_fn_c_try_link "$LINENO"
13122 then :
13123 ac_cv_mingw_lib_xslt=yes
13124 else $as_nop
13125 ac_cv_mingw_lib_xslt=no
13127 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13128 conftest$ac_exeext conftest.$ac_ext
13129 CC=$ac_wine_check_headers_saved_cc
13130 ac_exeext=$ac_wine_check_headers_saved_exeext
13131 LIBS=$ac_wine_check_headers_saved_libs
13133 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xslt" >&5
13134 printf "%s\n" "$ac_cv_mingw_lib_xslt" >&6; }
13135 if test "x$ac_cv_mingw_lib_xslt" = xyes
13136 then :
13138 else $as_nop
13139 XSLT_PE_CFLAGS=""; XSLT_PE_LIBS=""
13141 else
13142 XSLT_PE_CFLAGS=""
13143 XSLT_PE_LIBS=""
13145 CPPFLAGS=$ac_save_CPPFLAGS
13147 if test "x$XSLT_PE_LIBS" = "x"
13148 then
13149 as_fn_append wine_notices "|libxslt ${notice_platform}MinGW development files not found; using bundled version."
13152 if ${VKD3D_PE_CFLAGS:+false} :
13153 then :
13154 if test ${MINGW_PKG_CONFIG+y}
13155 then :
13156 VKD3D_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libvkd3d libvkd3d-shader 2>/dev/null`
13159 if ${VKD3D_PE_LIBS:+false} :
13160 then :
13161 if test ${MINGW_PKG_CONFIG+y}
13162 then :
13163 VKD3D_PE_LIBS=`$MINGW_PKG_CONFIG --libs libvkd3d libvkd3d-shader 2>/dev/null`
13166 VKD3D_PE_LIBS=${VKD3D_PE_LIBS:-"-lvkd3d -lvkd3d-shader"}
13167 ac_save_CPPFLAGS=$CPPFLAGS
13168 CPPFLAGS="$CPPFLAGS $VKD3D_PE_CFLAGS"
13169 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW vkd3d.h" >&5
13170 printf %s "checking for MinGW vkd3d.h... " >&6; }
13171 if test ${ac_cv_mingw_header_vkd3d_h+y}
13172 then :
13173 printf %s "(cached) " >&6
13174 else $as_nop
13175 ac_wine_check_headers_saved_cc=$CC
13176 ac_wine_check_headers_saved_exeext=$ac_exeext
13177 eval CC=\$${wine_arch}_CC
13178 ac_exeext=".exe"
13179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13180 /* end confdefs.h. */
13182 #include <vkd3d.h>
13184 main (void)
13188 return 0;
13190 _ACEOF
13191 if ac_fn_c_try_compile "$LINENO"
13192 then :
13193 ac_cv_mingw_header_vkd3d_h=yes
13194 else $as_nop
13195 ac_cv_mingw_header_vkd3d_h=no
13197 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13198 CC=$ac_wine_check_headers_saved_cc
13199 ac_exeext=$ac_wine_check_headers_saved_exeext
13201 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_vkd3d_h" >&5
13202 printf "%s\n" "$ac_cv_mingw_header_vkd3d_h" >&6; }
13203 if test "x$ac_cv_mingw_header_vkd3d_h" = xyes
13204 then :
13207 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW vkd3d_shader.h" >&5
13208 printf %s "checking for MinGW vkd3d_shader.h... " >&6; }
13209 if test ${ac_cv_mingw_header_vkd3d_shader_h+y}
13210 then :
13211 printf %s "(cached) " >&6
13212 else $as_nop
13213 ac_wine_check_headers_saved_cc=$CC
13214 ac_wine_check_headers_saved_exeext=$ac_exeext
13215 eval CC=\$${wine_arch}_CC
13216 ac_exeext=".exe"
13217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13218 /* end confdefs.h. */
13220 #include <vkd3d_shader.h>
13222 main (void)
13226 return 0;
13228 _ACEOF
13229 if ac_fn_c_try_compile "$LINENO"
13230 then :
13231 ac_cv_mingw_header_vkd3d_shader_h=yes
13232 else $as_nop
13233 ac_cv_mingw_header_vkd3d_shader_h=no
13235 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13236 CC=$ac_wine_check_headers_saved_cc
13237 ac_exeext=$ac_wine_check_headers_saved_exeext
13239 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_vkd3d_shader_h" >&5
13240 printf "%s\n" "$ac_cv_mingw_header_vkd3d_shader_h" >&6; }
13241 if test "x$ac_cv_mingw_header_vkd3d_shader_h" = xyes
13242 then :
13245 if test "$ac_cv_mingw_header_vkd3d_h" = "yes" -a "$ac_cv_mingw_header_vkd3d_shader_h" = "yes"
13246 then
13247 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for vkd3d_set_log_callback in MinGW -lvkd3d" >&5
13248 printf %s "checking for vkd3d_set_log_callback in MinGW -lvkd3d... " >&6; }
13249 if test ${ac_cv_mingw_lib_vkd3d+y}
13250 then :
13251 printf %s "(cached) " >&6
13252 else $as_nop
13253 ac_wine_check_headers_saved_cc=$CC
13254 ac_wine_check_headers_saved_exeext=$ac_exeext
13255 ac_wine_check_headers_saved_libs=$LIBS
13256 eval CC=\$${wine_arch}_CC
13257 ac_exeext=".exe"
13258 LIBS="-lvkd3d $VKD3D_PE_LIBS $LIBS"
13259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13260 /* end confdefs.h. */
13262 /* Override any GCC internal prototype to avoid an error.
13263 Use char because int might match the return type of a GCC
13264 builtin and then its argument prototype would still apply. */
13265 char vkd3d_set_log_callback ();
13267 main (void)
13269 return vkd3d_set_log_callback ();
13271 return 0;
13273 _ACEOF
13274 if ac_fn_c_try_link "$LINENO"
13275 then :
13276 ac_cv_mingw_lib_vkd3d=yes
13277 else $as_nop
13278 ac_cv_mingw_lib_vkd3d=no
13280 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13281 conftest$ac_exeext conftest.$ac_ext
13282 CC=$ac_wine_check_headers_saved_cc
13283 ac_exeext=$ac_wine_check_headers_saved_exeext
13284 LIBS=$ac_wine_check_headers_saved_libs
13286 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_vkd3d" >&5
13287 printf "%s\n" "$ac_cv_mingw_lib_vkd3d" >&6; }
13288 if test "x$ac_cv_mingw_lib_vkd3d" = xyes
13289 then :
13291 else $as_nop
13294 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for vkd3d_shader_build_varying_map in MinGW -lvkd3d-shader" >&5
13295 printf %s "checking for vkd3d_shader_build_varying_map in MinGW -lvkd3d-shader... " >&6; }
13296 if test ${ac_cv_mingw_lib_vkd3d_shader+y}
13297 then :
13298 printf %s "(cached) " >&6
13299 else $as_nop
13300 ac_wine_check_headers_saved_cc=$CC
13301 ac_wine_check_headers_saved_exeext=$ac_exeext
13302 ac_wine_check_headers_saved_libs=$LIBS
13303 eval CC=\$${wine_arch}_CC
13304 ac_exeext=".exe"
13305 LIBS="-lvkd3d-shader $VKD3D_PE_LIBS $LIBS"
13306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13307 /* end confdefs.h. */
13309 /* Override any GCC internal prototype to avoid an error.
13310 Use char because int might match the return type of a GCC
13311 builtin and then its argument prototype would still apply. */
13312 char vkd3d_shader_build_varying_map ();
13314 main (void)
13316 return vkd3d_shader_build_varying_map ();
13318 return 0;
13320 _ACEOF
13321 if ac_fn_c_try_link "$LINENO"
13322 then :
13323 ac_cv_mingw_lib_vkd3d_shader=yes
13324 else $as_nop
13325 ac_cv_mingw_lib_vkd3d_shader=no
13327 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13328 conftest$ac_exeext conftest.$ac_ext
13329 CC=$ac_wine_check_headers_saved_cc
13330 ac_exeext=$ac_wine_check_headers_saved_exeext
13331 LIBS=$ac_wine_check_headers_saved_libs
13333 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_vkd3d_shader" >&5
13334 printf "%s\n" "$ac_cv_mingw_lib_vkd3d_shader" >&6; }
13335 if test "x$ac_cv_mingw_lib_vkd3d_shader" = xyes
13336 then :
13338 else $as_nop
13341 if test "$ac_cv_mingw_lib_vkd3d" = "no" -o "$ac_cv_mingw_lib_vkd3d_shader" = "no"
13342 then
13343 VKD3D_PE_CFLAGS=""
13344 VKD3D_PE_LIBS=""
13346 else
13347 VKD3D_PE_CFLAGS=""
13348 VKD3D_PE_LIBS=""
13350 CPPFLAGS=$ac_save_CPPFLAGS
13352 if test "x$VKD3D_PE_LIBS" = "x"
13353 then
13354 as_fn_append wine_notices "|libvkd3d ${notice_platform}MinGW development files not found (or too old); using bundled version."
13357 if ${ZLIB_PE_CFLAGS:+false} :
13358 then :
13359 if test ${MINGW_PKG_CONFIG+y}
13360 then :
13361 ZLIB_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags zlib 2>/dev/null`
13364 if ${ZLIB_PE_LIBS:+false} :
13365 then :
13366 if test ${MINGW_PKG_CONFIG+y}
13367 then :
13368 ZLIB_PE_LIBS=`$MINGW_PKG_CONFIG --libs zlib 2>/dev/null`
13371 ZLIB_PE_LIBS=${ZLIB_PE_LIBS:-"-lz"}
13372 ac_save_CPPFLAGS=$CPPFLAGS
13373 CPPFLAGS="$CPPFLAGS $ZLIB_PE_CFLAGS"
13374 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW zlib.h" >&5
13375 printf %s "checking for MinGW zlib.h... " >&6; }
13376 if test ${ac_cv_mingw_header_zlib_h+y}
13377 then :
13378 printf %s "(cached) " >&6
13379 else $as_nop
13380 ac_wine_check_headers_saved_cc=$CC
13381 ac_wine_check_headers_saved_exeext=$ac_exeext
13382 eval CC=\$${wine_arch}_CC
13383 ac_exeext=".exe"
13384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13385 /* end confdefs.h. */
13387 #include <zlib.h>
13389 main (void)
13393 return 0;
13395 _ACEOF
13396 if ac_fn_c_try_compile "$LINENO"
13397 then :
13398 ac_cv_mingw_header_zlib_h=yes
13399 else $as_nop
13400 ac_cv_mingw_header_zlib_h=no
13402 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13403 CC=$ac_wine_check_headers_saved_cc
13404 ac_exeext=$ac_wine_check_headers_saved_exeext
13406 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_zlib_h" >&5
13407 printf "%s\n" "$ac_cv_mingw_header_zlib_h" >&6; }
13408 if test "x$ac_cv_mingw_header_zlib_h" = xyes
13409 then :
13410 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inflate in MinGW -lz" >&5
13411 printf %s "checking for inflate in MinGW -lz... " >&6; }
13412 if test ${ac_cv_mingw_lib_z+y}
13413 then :
13414 printf %s "(cached) " >&6
13415 else $as_nop
13416 ac_wine_check_headers_saved_cc=$CC
13417 ac_wine_check_headers_saved_exeext=$ac_exeext
13418 ac_wine_check_headers_saved_libs=$LIBS
13419 eval CC=\$${wine_arch}_CC
13420 ac_exeext=".exe"
13421 LIBS="-lz $ZLIB_PE_LIBS $LIBS"
13422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13423 /* end confdefs.h. */
13425 /* Override any GCC internal prototype to avoid an error.
13426 Use char because int might match the return type of a GCC
13427 builtin and then its argument prototype would still apply. */
13428 char inflate ();
13430 main (void)
13432 return inflate ();
13434 return 0;
13436 _ACEOF
13437 if ac_fn_c_try_link "$LINENO"
13438 then :
13439 ac_cv_mingw_lib_z=yes
13440 else $as_nop
13441 ac_cv_mingw_lib_z=no
13443 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13444 conftest$ac_exeext conftest.$ac_ext
13445 CC=$ac_wine_check_headers_saved_cc
13446 ac_exeext=$ac_wine_check_headers_saved_exeext
13447 LIBS=$ac_wine_check_headers_saved_libs
13449 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_z" >&5
13450 printf "%s\n" "$ac_cv_mingw_lib_z" >&6; }
13451 if test "x$ac_cv_mingw_lib_z" = xyes
13452 then :
13454 else $as_nop
13455 ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
13457 else $as_nop
13458 ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
13460 CPPFLAGS=$ac_save_CPPFLAGS
13462 if test "x$ZLIB_PE_LIBS" = "x"
13463 then
13464 as_fn_append wine_notices "|zlib ${notice_platform}MinGW development files not found; using bundled version."
13468 if ${FAUDIO_PE_LIBS:+false} :
13469 then :
13470 FAUDIO_PE_LIBS="faudio mfplat mfreadwrite mfuuid propsys"
13471 if ${FAUDIO_PE_CFLAGS:+false} :
13472 then :
13473 FAUDIO_PE_CFLAGS="-I\$(top_srcdir)/libs/faudio/include"
13474 else $as_nop
13475 enable_faudio=no
13477 else $as_nop
13478 enable_faudio=no
13480 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio cflags: $FAUDIO_PE_CFLAGS" >&5
13481 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio libs: $FAUDIO_PE_LIBS" >&5
13483 if ${FLUIDSYNTH_PE_LIBS:+false} :
13484 then :
13485 FLUIDSYNTH_PE_LIBS="fluidsynth"
13486 if ${FLUIDSYNTH_PE_CFLAGS:+false} :
13487 then :
13488 FLUIDSYNTH_PE_CFLAGS="-I\$(top_srcdir)/libs/fluidsynth/include"
13489 else $as_nop
13490 enable_fluidsynth=no
13492 else $as_nop
13493 enable_fluidsynth=no
13495 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fluidsynth cflags: $FLUIDSYNTH_PE_CFLAGS" >&5
13496 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fluidsynth libs: $FLUIDSYNTH_PE_LIBS" >&5
13498 if ${GSM_PE_LIBS:+false} :
13499 then :
13500 GSM_PE_LIBS=gsm
13501 if ${GSM_PE_CFLAGS:+false} :
13502 then :
13503 GSM_PE_CFLAGS="-I\$(top_srcdir)/libs/gsm/inc"
13504 else $as_nop
13505 enable_gsm=no
13507 else $as_nop
13508 enable_gsm=no
13510 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm cflags: $GSM_PE_CFLAGS" >&5
13511 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm libs: $GSM_PE_LIBS" >&5
13513 if ${JPEG_PE_LIBS:+false} :
13514 then :
13515 JPEG_PE_LIBS=jpeg
13516 if ${JPEG_PE_CFLAGS:+false} :
13517 then :
13518 JPEG_PE_CFLAGS="-I\$(top_srcdir)/libs/jpeg"
13519 else $as_nop
13520 enable_jpeg=no
13522 else $as_nop
13523 enable_jpeg=no
13525 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg cflags: $JPEG_PE_CFLAGS" >&5
13526 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg libs: $JPEG_PE_LIBS" >&5
13528 if ${JXR_PE_LIBS:+false} :
13529 then :
13530 JXR_PE_LIBS=jxr
13531 if ${JXR_PE_CFLAGS:+false} :
13532 then :
13533 JXR_PE_CFLAGS="-I\$(top_srcdir)/libs/jxr/jxrgluelib -I\$(top_srcdir)/libs/jxr/image/sys"
13534 else $as_nop
13535 enable_jxr=no
13537 else $as_nop
13538 enable_jxr=no
13540 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr cflags: $JXR_PE_CFLAGS" >&5
13541 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr libs: $JXR_PE_LIBS" >&5
13543 if ${LCMS2_PE_LIBS:+false} :
13544 then :
13545 LCMS2_PE_LIBS=lcms2
13546 if ${LCMS2_PE_CFLAGS:+false} :
13547 then :
13548 LCMS2_PE_CFLAGS="-I\$(top_srcdir)/libs/lcms2/include"
13549 else $as_nop
13550 enable_lcms2=no
13552 else $as_nop
13553 enable_lcms2=no
13555 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_PE_CFLAGS" >&5
13556 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_PE_LIBS" >&5
13558 if ${LDAP_PE_LIBS:+false} :
13559 then :
13560 LDAP_PE_LIBS=ldap
13561 if ${LDAP_PE_CFLAGS:+false} :
13562 then :
13563 LDAP_PE_CFLAGS="-I\$(top_srcdir)/libs/ldap/include"
13564 else $as_nop
13565 enable_ldap=no
13567 else $as_nop
13568 enable_ldap=no
13570 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ldap cflags: $LDAP_PE_CFLAGS" >&5
13571 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ldap libs: $LDAP_PE_LIBS" >&5
13573 if ${MPG123_PE_LIBS:+false} :
13574 then :
13575 MPG123_PE_LIBS=mpg123
13576 if ${MPG123_PE_CFLAGS:+false} :
13577 then :
13578 MPG123_PE_CFLAGS="-I\$(top_srcdir)/libs/mpg123/src/include"
13579 else $as_nop
13580 enable_mpg123=no
13582 else $as_nop
13583 enable_mpg123=no
13585 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 cflags: $MPG123_PE_CFLAGS" >&5
13586 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 libs: $MPG123_PE_LIBS" >&5
13588 if ${MUSL_PE_LIBS:+false} :
13589 then :
13590 MUSL_PE_LIBS=musl
13591 if ${MUSL_PE_CFLAGS:+false} :
13592 then :
13593 MUSL_PE_CFLAGS=
13594 else $as_nop
13595 enable_musl=no
13597 else $as_nop
13598 enable_musl=no
13600 printf "%s\n" "$as_me:${as_lineno-$LINENO}: musl cflags: $MUSL_PE_CFLAGS" >&5
13601 printf "%s\n" "$as_me:${as_lineno-$LINENO}: musl libs: $MUSL_PE_LIBS" >&5
13603 if ${PNG_PE_LIBS:+false} :
13604 then :
13605 PNG_PE_LIBS="png \$(ZLIB_PE_LIBS)"
13606 if ${PNG_PE_CFLAGS:+false} :
13607 then :
13608 PNG_PE_CFLAGS="-I\$(top_srcdir)/libs/png"
13609 else $as_nop
13610 enable_png=no
13612 else $as_nop
13613 enable_png=no
13615 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png cflags: $PNG_PE_CFLAGS" >&5
13616 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png libs: $PNG_PE_LIBS" >&5
13618 if ${TIFF_PE_LIBS:+false} :
13619 then :
13620 TIFF_PE_LIBS="tiff \$(ZLIB_PE_LIBS)"
13621 if ${TIFF_PE_CFLAGS:+false} :
13622 then :
13623 TIFF_PE_CFLAGS="-I\$(top_srcdir)/libs/tiff/libtiff"
13624 else $as_nop
13625 enable_tiff=no
13627 else $as_nop
13628 enable_tiff=no
13630 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff cflags: $TIFF_PE_CFLAGS" >&5
13631 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff libs: $TIFF_PE_LIBS" >&5
13633 if ${VKD3D_PE_LIBS:+false} :
13634 then :
13635 VKD3D_PE_LIBS=vkd3d
13636 if ${VKD3D_PE_CFLAGS:+false} :
13637 then :
13638 VKD3D_PE_CFLAGS="-I\$(top_srcdir)/libs/vkd3d/include"
13639 else $as_nop
13640 enable_vkd3d=no
13642 else $as_nop
13643 enable_vkd3d=no
13645 printf "%s\n" "$as_me:${as_lineno-$LINENO}: vkd3d cflags: $VKD3D_PE_CFLAGS" >&5
13646 printf "%s\n" "$as_me:${as_lineno-$LINENO}: vkd3d libs: $VKD3D_PE_LIBS" >&5
13648 if ${XML2_PE_LIBS:+false} :
13649 then :
13650 XML2_PE_LIBS=xml2
13651 if ${XML2_PE_CFLAGS:+false} :
13652 then :
13653 XML2_PE_CFLAGS="-I\$(top_srcdir)/libs/xml2/include -DLIBXML_STATIC"
13654 else $as_nop
13655 enable_xml2=no
13657 else $as_nop
13658 enable_xml2=no
13660 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 cflags: $XML2_PE_CFLAGS" >&5
13661 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 libs: $XML2_PE_LIBS" >&5
13663 if ${XSLT_PE_LIBS:+false} :
13664 then :
13665 XSLT_PE_LIBS=xslt
13666 if ${XSLT_PE_CFLAGS:+false} :
13667 then :
13668 XSLT_PE_CFLAGS="-I\$(top_srcdir)/libs/xslt/libxslt -I\$(top_srcdir)/libs/xslt -DLIBXSLT_STATIC"
13669 else $as_nop
13670 enable_xslt=no
13672 else $as_nop
13673 enable_xslt=no
13675 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt cflags: $XSLT_PE_CFLAGS" >&5
13676 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt libs: $XSLT_PE_LIBS" >&5
13678 if ${ZLIB_PE_LIBS:+false} :
13679 then :
13680 ZLIB_PE_LIBS=z
13681 if ${ZLIB_PE_CFLAGS:+false} :
13682 then :
13683 ZLIB_PE_CFLAGS="-I\$(top_srcdir)/libs/zlib -DFAR= -DZ_SOLO"
13684 else $as_nop
13685 enable_zlib=no
13687 else $as_nop
13688 enable_zlib=no
13690 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib cflags: $ZLIB_PE_CFLAGS" >&5
13691 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib libs: $ZLIB_PE_LIBS" >&5
13693 if ${ZYDIS_PE_LIBS:+false} :
13694 then :
13695 ZYDIS_PE_LIBS=zydis
13696 if ${ZYDIS_PE_CFLAGS:+false} :
13697 then :
13698 ZYDIS_PE_CFLAGS="-I\$(top_srcdir)/libs/zydis/include"
13699 else $as_nop
13700 enable_zydis=no
13702 else $as_nop
13703 enable_zydis=no
13705 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zydis cflags: $ZYDIS_PE_CFLAGS" >&5
13706 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zydis libs: $ZYDIS_PE_LIBS" >&5
13710 if test "x$with_pthread" = xno
13711 then :
13713 else $as_nop
13714 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
13715 if test "x$ac_cv_func_pthread_create" = xyes
13716 then :
13718 else $as_nop
13719 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
13720 printf %s "checking for pthread_create in -lpthread... " >&6; }
13721 if test ${ac_cv_lib_pthread_pthread_create+y}
13722 then :
13723 printf %s "(cached) " >&6
13724 else $as_nop
13725 ac_check_lib_save_LIBS=$LIBS
13726 LIBS="-lpthread $LIBS"
13727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13728 /* end confdefs.h. */
13730 /* Override any GCC internal prototype to avoid an error.
13731 Use char because int might match the return type of a GCC
13732 builtin and then its argument prototype would still apply. */
13733 char pthread_create ();
13735 main (void)
13737 return pthread_create ();
13739 return 0;
13741 _ACEOF
13742 if ac_fn_c_try_link "$LINENO"
13743 then :
13744 ac_cv_lib_pthread_pthread_create=yes
13745 else $as_nop
13746 ac_cv_lib_pthread_pthread_create=no
13748 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13749 conftest$ac_exeext conftest.$ac_ext
13750 LIBS=$ac_check_lib_save_LIBS
13752 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
13753 printf "%s\n" "$ac_cv_lib_pthread_pthread_create" >&6; }
13754 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
13755 then :
13756 PTHREAD_LIBS="-lpthread"
13763 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x
13764 then :
13765 case "x$with_pthread" in
13766 xno) ;;
13767 *) as_fn_error $? "pthread ${notice_platform}development files not found.
13768 Wine cannot support threads without libpthread.
13769 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
13770 esac
13775 ac_ext=c
13776 ac_cpp='$CPP $CPPFLAGS'
13777 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13778 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13779 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13780 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
13781 printf %s "checking how to run the C preprocessor... " >&6; }
13782 # On Suns, sometimes $CPP names a directory.
13783 if test -n "$CPP" && test -d "$CPP"; then
13784 CPP=
13786 if test -z "$CPP"; then
13787 if test ${ac_cv_prog_CPP+y}
13788 then :
13789 printf %s "(cached) " >&6
13790 else $as_nop
13791 # Double quotes because $CC needs to be expanded
13792 for CPP in "$CC -E" "$CC -E -traditional-cpp" cpp /lib/cpp
13794 ac_preproc_ok=false
13795 for ac_c_preproc_warn_flag in '' yes
13797 # Use a header file that comes with gcc, so configuring glibc
13798 # with a fresh cross-compiler works.
13799 # On the NeXT, cc -E runs the code through the compiler's parser,
13800 # not just through cpp. "Syntax error" is here to catch this case.
13801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13802 /* end confdefs.h. */
13803 #include <limits.h>
13804 Syntax error
13805 _ACEOF
13806 if ac_fn_c_try_cpp "$LINENO"
13807 then :
13809 else $as_nop
13810 # Broken: fails on valid input.
13811 continue
13813 rm -f conftest.err conftest.i conftest.$ac_ext
13815 # OK, works on sane cases. Now check whether nonexistent headers
13816 # can be detected and how.
13817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13818 /* end confdefs.h. */
13819 #include <ac_nonexistent.h>
13820 _ACEOF
13821 if ac_fn_c_try_cpp "$LINENO"
13822 then :
13823 # Broken: success on invalid input.
13824 continue
13825 else $as_nop
13826 # Passes both tests.
13827 ac_preproc_ok=:
13828 break
13830 rm -f conftest.err conftest.i conftest.$ac_ext
13832 done
13833 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13834 rm -f conftest.i conftest.err conftest.$ac_ext
13835 if $ac_preproc_ok
13836 then :
13837 break
13840 done
13841 ac_cv_prog_CPP=$CPP
13844 CPP=$ac_cv_prog_CPP
13845 else
13846 ac_cv_prog_CPP=$CPP
13848 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
13849 printf "%s\n" "$CPP" >&6; }
13850 ac_preproc_ok=false
13851 for ac_c_preproc_warn_flag in '' yes
13853 # Use a header file that comes with gcc, so configuring glibc
13854 # with a fresh cross-compiler works.
13855 # On the NeXT, cc -E runs the code through the compiler's parser,
13856 # not just through cpp. "Syntax error" is here to catch this case.
13857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13858 /* end confdefs.h. */
13859 #include <limits.h>
13860 Syntax error
13861 _ACEOF
13862 if ac_fn_c_try_cpp "$LINENO"
13863 then :
13865 else $as_nop
13866 # Broken: fails on valid input.
13867 continue
13869 rm -f conftest.err conftest.i conftest.$ac_ext
13871 # OK, works on sane cases. Now check whether nonexistent headers
13872 # can be detected and how.
13873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13874 /* end confdefs.h. */
13875 #include <ac_nonexistent.h>
13876 _ACEOF
13877 if ac_fn_c_try_cpp "$LINENO"
13878 then :
13879 # Broken: success on invalid input.
13880 continue
13881 else $as_nop
13882 # Passes both tests.
13883 ac_preproc_ok=:
13884 break
13886 rm -f conftest.err conftest.i conftest.$ac_ext
13888 done
13889 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13890 rm -f conftest.i conftest.err conftest.$ac_ext
13891 if $ac_preproc_ok
13892 then :
13894 else $as_nop
13895 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13896 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
13897 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
13898 See \`config.log' for more details" "$LINENO" 5; }
13901 ac_ext=c
13902 ac_cpp='$CPP $CPPFLAGS'
13903 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13904 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13905 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13908 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for X" >&5
13909 printf %s "checking for X... " >&6; }
13912 # Check whether --with-x was given.
13913 if test ${with_x+y}
13914 then :
13915 withval=$with_x;
13918 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
13919 if test "x$with_x" = xno; then
13920 # The user explicitly disabled X.
13921 have_x=disabled
13922 else
13923 case $x_includes,$x_libraries in #(
13924 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
13925 *,NONE | NONE,*) if test ${ac_cv_have_x+y}
13926 then :
13927 printf %s "(cached) " >&6
13928 else $as_nop
13929 # One or both of the vars are not set, and there is no cached value.
13930 ac_x_includes=no
13931 ac_x_libraries=no
13932 # Do we need to do anything special at all?
13933 ac_save_LIBS=$LIBS
13934 LIBS="-lX11 $LIBS"
13935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13936 /* end confdefs.h. */
13937 #include <X11/Xlib.h>
13939 main (void)
13941 XrmInitialize ()
13943 return 0;
13945 _ACEOF
13946 if ac_fn_c_try_link "$LINENO"
13947 then :
13948 # We can compile and link X programs with no special options.
13949 ac_x_includes=
13950 ac_x_libraries=
13952 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13953 conftest$ac_exeext conftest.$ac_ext
13954 LIBS="$ac_save_LIBS"
13955 # If that didn't work, only try xmkmf and file system searches
13956 # for native compilation.
13957 if test x"$ac_x_includes" = xno && test "$cross_compiling" = no
13958 then :
13959 rm -f -r conftest.dir
13960 if mkdir conftest.dir; then
13961 cd conftest.dir
13962 cat >Imakefile <<'_ACEOF'
13963 incroot:
13964 @echo incroot='${INCROOT}'
13965 usrlibdir:
13966 @echo usrlibdir='${USRLIBDIR}'
13967 libdir:
13968 @echo libdir='${LIBDIR}'
13969 _ACEOF
13970 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
13971 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
13972 for ac_var in incroot usrlibdir libdir; do
13973 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
13974 done
13975 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
13976 for ac_extension in a so sl dylib la dll; do
13977 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
13978 test -f "$ac_im_libdir/libX11.$ac_extension"; then
13979 ac_im_usrlibdir=$ac_im_libdir; break
13981 done
13982 # Screen out bogus values from the imake configuration. They are
13983 # bogus both because they are the default anyway, and because
13984 # using them would break gcc on systems where it needs fixed includes.
13985 case $ac_im_incroot in
13986 /usr/include) ac_x_includes= ;;
13987 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
13988 esac
13989 case $ac_im_usrlibdir in
13990 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
13991 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
13992 esac
13994 cd ..
13995 rm -f -r conftest.dir
13998 # Standard set of common directories for X headers.
13999 # Check X11 before X11Rn because it is often a symlink to the current release.
14000 ac_x_header_dirs='
14001 /usr/X11/include
14002 /usr/X11R7/include
14003 /usr/X11R6/include
14004 /usr/X11R5/include
14005 /usr/X11R4/include
14007 /usr/include/X11
14008 /usr/include/X11R7
14009 /usr/include/X11R6
14010 /usr/include/X11R5
14011 /usr/include/X11R4
14013 /usr/local/X11/include
14014 /usr/local/X11R7/include
14015 /usr/local/X11R6/include
14016 /usr/local/X11R5/include
14017 /usr/local/X11R4/include
14019 /usr/local/include/X11
14020 /usr/local/include/X11R7
14021 /usr/local/include/X11R6
14022 /usr/local/include/X11R5
14023 /usr/local/include/X11R4
14025 /opt/X11/include
14027 /usr/X386/include
14028 /usr/x386/include
14029 /usr/XFree86/include/X11
14031 /usr/include
14032 /usr/local/include
14033 /usr/unsupported/include
14034 /usr/athena/include
14035 /usr/local/x11r5/include
14036 /usr/lpp/Xamples/include
14038 /usr/openwin/include
14039 /usr/openwin/share/include'
14041 if test "$ac_x_includes" = no; then
14042 # Guess where to find include files, by looking for Xlib.h.
14043 # First, try using that file with no special directory specified.
14044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14045 /* end confdefs.h. */
14046 #include <X11/Xlib.h>
14047 _ACEOF
14048 if ac_fn_c_try_cpp "$LINENO"
14049 then :
14050 # We can compile using X headers with no special include directory.
14051 ac_x_includes=
14052 else $as_nop
14053 for ac_dir in $ac_x_header_dirs; do
14054 if test -r "$ac_dir/X11/Xlib.h"; then
14055 ac_x_includes=$ac_dir
14056 break
14058 done
14060 rm -f conftest.err conftest.i conftest.$ac_ext
14061 fi # $ac_x_includes = no
14063 if test "$ac_x_libraries" = no; then
14064 # Check for the libraries.
14065 # See if we find them without any special options.
14066 # Don't add to $LIBS permanently.
14067 ac_save_LIBS=$LIBS
14068 LIBS="-lX11 $LIBS"
14069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14070 /* end confdefs.h. */
14071 #include <X11/Xlib.h>
14073 main (void)
14075 XrmInitialize ()
14077 return 0;
14079 _ACEOF
14080 if ac_fn_c_try_link "$LINENO"
14081 then :
14082 LIBS=$ac_save_LIBS
14083 # We can link X programs with no special library path.
14084 ac_x_libraries=
14085 else $as_nop
14086 LIBS=$ac_save_LIBS
14087 for ac_dir in `printf "%s\n" "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
14089 # Don't even attempt the hair of trying to link an X program!
14090 for ac_extension in a so sl dylib la dll; do
14091 if test -r "$ac_dir/libX11.$ac_extension"; then
14092 ac_x_libraries=$ac_dir
14093 break 2
14095 done
14096 done
14098 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14099 conftest$ac_exeext conftest.$ac_ext
14100 fi # $ac_x_libraries = no
14103 # Record the results.
14104 case $ac_x_includes,$ac_x_libraries in #(
14105 no,* | *,no | *\'*) :
14106 # Didn't find X, or a directory has "'" in its name.
14107 ac_cv_have_x="have_x=no" ;; #(
14108 *) :
14109 # Record where we found X for the cache.
14110 ac_cv_have_x="have_x=yes\
14111 ac_x_includes='$ac_x_includes'\
14112 ac_x_libraries='$ac_x_libraries'" ;;
14113 esac
14115 ;; #(
14116 *) have_x=yes;;
14117 esac
14118 eval "$ac_cv_have_x"
14119 fi # $with_x != no
14121 if test "$have_x" != yes; then
14122 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
14123 printf "%s\n" "$have_x" >&6; }
14124 no_x=yes
14125 else
14126 # If each of the values was on the command line, it overrides each guess.
14127 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
14128 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
14129 # Update the cache value to reflect the command line values.
14130 ac_cv_have_x="have_x=yes\
14131 ac_x_includes='$x_includes'\
14132 ac_x_libraries='$x_libraries'"
14133 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
14134 printf "%s\n" "libraries $x_libraries, headers $x_includes" >&6; }
14137 if test "$no_x" = yes; then
14138 # Not all programs may use this symbol, but it does not hurt to define it.
14140 printf "%s\n" "#define X_DISPLAY_MISSING 1" >>confdefs.h
14142 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
14143 else
14144 if test -n "$x_includes"; then
14145 X_CFLAGS="$X_CFLAGS -I$x_includes"
14148 # It would also be nice to do this for all -L options, not just this one.
14149 if test -n "$x_libraries"; then
14150 X_LIBS="$X_LIBS -L$x_libraries"
14151 # For Solaris; some versions of Sun CC require a space after -R and
14152 # others require no space. Words are not sufficient . . . .
14153 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
14154 printf %s "checking whether -R must be followed by a space... " >&6; }
14155 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
14156 ac_xsave_c_werror_flag=$ac_c_werror_flag
14157 ac_c_werror_flag=yes
14158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14159 /* end confdefs.h. */
14162 main (void)
14166 return 0;
14168 _ACEOF
14169 if ac_fn_c_try_link "$LINENO"
14170 then :
14171 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
14172 printf "%s\n" "no" >&6; }
14173 X_LIBS="$X_LIBS -R$x_libraries"
14174 else $as_nop
14175 LIBS="$ac_xsave_LIBS -R $x_libraries"
14176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14177 /* end confdefs.h. */
14180 main (void)
14184 return 0;
14186 _ACEOF
14187 if ac_fn_c_try_link "$LINENO"
14188 then :
14189 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14190 printf "%s\n" "yes" >&6; }
14191 X_LIBS="$X_LIBS -R $x_libraries"
14192 else $as_nop
14193 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
14194 printf "%s\n" "neither works" >&6; }
14196 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14197 conftest$ac_exeext conftest.$ac_ext
14199 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14200 conftest$ac_exeext conftest.$ac_ext
14201 ac_c_werror_flag=$ac_xsave_c_werror_flag
14202 LIBS=$ac_xsave_LIBS
14205 # Check for system-dependent libraries X programs must link with.
14206 # Do this before checking for the system-independent R6 libraries
14207 # (-lICE), since we may need -lsocket or whatever for X linking.
14209 if test "$ISC" = yes; then
14210 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
14211 else
14212 # Martyn Johnson says this is needed for Ultrix, if the X
14213 # libraries were built with DECnet support. And Karl Berry says
14214 # the Alpha needs dnet_stub (dnet does not exist).
14215 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
14216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14217 /* end confdefs.h. */
14219 /* Override any GCC internal prototype to avoid an error.
14220 Use char because int might match the return type of a GCC
14221 builtin and then its argument prototype would still apply. */
14222 char XOpenDisplay ();
14224 main (void)
14226 return XOpenDisplay ();
14228 return 0;
14230 _ACEOF
14231 if ac_fn_c_try_link "$LINENO"
14232 then :
14234 else $as_nop
14235 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
14236 printf %s "checking for dnet_ntoa in -ldnet... " >&6; }
14237 if test ${ac_cv_lib_dnet_dnet_ntoa+y}
14238 then :
14239 printf %s "(cached) " >&6
14240 else $as_nop
14241 ac_check_lib_save_LIBS=$LIBS
14242 LIBS="-ldnet $LIBS"
14243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14244 /* end confdefs.h. */
14246 /* Override any GCC internal prototype to avoid an error.
14247 Use char because int might match the return type of a GCC
14248 builtin and then its argument prototype would still apply. */
14249 char dnet_ntoa ();
14251 main (void)
14253 return dnet_ntoa ();
14255 return 0;
14257 _ACEOF
14258 if ac_fn_c_try_link "$LINENO"
14259 then :
14260 ac_cv_lib_dnet_dnet_ntoa=yes
14261 else $as_nop
14262 ac_cv_lib_dnet_dnet_ntoa=no
14264 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14265 conftest$ac_exeext conftest.$ac_ext
14266 LIBS=$ac_check_lib_save_LIBS
14268 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
14269 printf "%s\n" "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
14270 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
14271 then :
14272 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
14275 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
14276 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
14277 printf %s "checking for dnet_ntoa in -ldnet_stub... " >&6; }
14278 if test ${ac_cv_lib_dnet_stub_dnet_ntoa+y}
14279 then :
14280 printf %s "(cached) " >&6
14281 else $as_nop
14282 ac_check_lib_save_LIBS=$LIBS
14283 LIBS="-ldnet_stub $LIBS"
14284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14285 /* end confdefs.h. */
14287 /* Override any GCC internal prototype to avoid an error.
14288 Use char because int might match the return type of a GCC
14289 builtin and then its argument prototype would still apply. */
14290 char dnet_ntoa ();
14292 main (void)
14294 return dnet_ntoa ();
14296 return 0;
14298 _ACEOF
14299 if ac_fn_c_try_link "$LINENO"
14300 then :
14301 ac_cv_lib_dnet_stub_dnet_ntoa=yes
14302 else $as_nop
14303 ac_cv_lib_dnet_stub_dnet_ntoa=no
14305 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14306 conftest$ac_exeext conftest.$ac_ext
14307 LIBS=$ac_check_lib_save_LIBS
14309 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
14310 printf "%s\n" "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
14311 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
14312 then :
14313 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
14318 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14319 conftest$ac_exeext conftest.$ac_ext
14320 LIBS="$ac_xsave_LIBS"
14322 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
14323 # to get the SysV transport functions.
14324 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
14325 # needs -lnsl.
14326 # The nsl library prevents programs from opening the X display
14327 # on Irix 5.2, according to T.E. Dickey.
14328 # The functions gethostbyname, getservbyname, and inet_addr are
14329 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
14330 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
14331 if test "x$ac_cv_func_gethostbyname" = xyes
14332 then :
14336 if test $ac_cv_func_gethostbyname = no; then
14337 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
14338 printf %s "checking for gethostbyname in -lnsl... " >&6; }
14339 if test ${ac_cv_lib_nsl_gethostbyname+y}
14340 then :
14341 printf %s "(cached) " >&6
14342 else $as_nop
14343 ac_check_lib_save_LIBS=$LIBS
14344 LIBS="-lnsl $LIBS"
14345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14346 /* end confdefs.h. */
14348 /* Override any GCC internal prototype to avoid an error.
14349 Use char because int might match the return type of a GCC
14350 builtin and then its argument prototype would still apply. */
14351 char gethostbyname ();
14353 main (void)
14355 return gethostbyname ();
14357 return 0;
14359 _ACEOF
14360 if ac_fn_c_try_link "$LINENO"
14361 then :
14362 ac_cv_lib_nsl_gethostbyname=yes
14363 else $as_nop
14364 ac_cv_lib_nsl_gethostbyname=no
14366 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14367 conftest$ac_exeext conftest.$ac_ext
14368 LIBS=$ac_check_lib_save_LIBS
14370 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
14371 printf "%s\n" "$ac_cv_lib_nsl_gethostbyname" >&6; }
14372 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
14373 then :
14374 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
14377 if test $ac_cv_lib_nsl_gethostbyname = no; then
14378 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
14379 printf %s "checking for gethostbyname in -lbsd... " >&6; }
14380 if test ${ac_cv_lib_bsd_gethostbyname+y}
14381 then :
14382 printf %s "(cached) " >&6
14383 else $as_nop
14384 ac_check_lib_save_LIBS=$LIBS
14385 LIBS="-lbsd $LIBS"
14386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14387 /* end confdefs.h. */
14389 /* Override any GCC internal prototype to avoid an error.
14390 Use char because int might match the return type of a GCC
14391 builtin and then its argument prototype would still apply. */
14392 char gethostbyname ();
14394 main (void)
14396 return gethostbyname ();
14398 return 0;
14400 _ACEOF
14401 if ac_fn_c_try_link "$LINENO"
14402 then :
14403 ac_cv_lib_bsd_gethostbyname=yes
14404 else $as_nop
14405 ac_cv_lib_bsd_gethostbyname=no
14407 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14408 conftest$ac_exeext conftest.$ac_ext
14409 LIBS=$ac_check_lib_save_LIBS
14411 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
14412 printf "%s\n" "$ac_cv_lib_bsd_gethostbyname" >&6; }
14413 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
14414 then :
14415 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
14421 # lieder@skyler.mavd.honeywell.com says without -lsocket,
14422 # socket/setsockopt and other routines are undefined under SCO ODT
14423 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
14424 # on later versions), says Simon Leinen: it contains gethostby*
14425 # variants that don't use the name server (or something). -lsocket
14426 # must be given before -lnsl if both are needed. We assume that
14427 # if connect needs -lnsl, so does gethostbyname.
14428 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
14429 if test "x$ac_cv_func_connect" = xyes
14430 then :
14434 if test $ac_cv_func_connect = no; then
14435 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
14436 printf %s "checking for connect in -lsocket... " >&6; }
14437 if test ${ac_cv_lib_socket_connect+y}
14438 then :
14439 printf %s "(cached) " >&6
14440 else $as_nop
14441 ac_check_lib_save_LIBS=$LIBS
14442 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
14443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14444 /* end confdefs.h. */
14446 /* Override any GCC internal prototype to avoid an error.
14447 Use char because int might match the return type of a GCC
14448 builtin and then its argument prototype would still apply. */
14449 char connect ();
14451 main (void)
14453 return connect ();
14455 return 0;
14457 _ACEOF
14458 if ac_fn_c_try_link "$LINENO"
14459 then :
14460 ac_cv_lib_socket_connect=yes
14461 else $as_nop
14462 ac_cv_lib_socket_connect=no
14464 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14465 conftest$ac_exeext conftest.$ac_ext
14466 LIBS=$ac_check_lib_save_LIBS
14468 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
14469 printf "%s\n" "$ac_cv_lib_socket_connect" >&6; }
14470 if test "x$ac_cv_lib_socket_connect" = xyes
14471 then :
14472 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
14477 # Guillermo Gomez says -lposix is necessary on A/UX.
14478 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
14479 if test "x$ac_cv_func_remove" = xyes
14480 then :
14484 if test $ac_cv_func_remove = no; then
14485 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
14486 printf %s "checking for remove in -lposix... " >&6; }
14487 if test ${ac_cv_lib_posix_remove+y}
14488 then :
14489 printf %s "(cached) " >&6
14490 else $as_nop
14491 ac_check_lib_save_LIBS=$LIBS
14492 LIBS="-lposix $LIBS"
14493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14494 /* end confdefs.h. */
14496 /* Override any GCC internal prototype to avoid an error.
14497 Use char because int might match the return type of a GCC
14498 builtin and then its argument prototype would still apply. */
14499 char remove ();
14501 main (void)
14503 return remove ();
14505 return 0;
14507 _ACEOF
14508 if ac_fn_c_try_link "$LINENO"
14509 then :
14510 ac_cv_lib_posix_remove=yes
14511 else $as_nop
14512 ac_cv_lib_posix_remove=no
14514 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14515 conftest$ac_exeext conftest.$ac_ext
14516 LIBS=$ac_check_lib_save_LIBS
14518 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
14519 printf "%s\n" "$ac_cv_lib_posix_remove" >&6; }
14520 if test "x$ac_cv_lib_posix_remove" = xyes
14521 then :
14522 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
14527 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
14528 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
14529 if test "x$ac_cv_func_shmat" = xyes
14530 then :
14534 if test $ac_cv_func_shmat = no; then
14535 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
14536 printf %s "checking for shmat in -lipc... " >&6; }
14537 if test ${ac_cv_lib_ipc_shmat+y}
14538 then :
14539 printf %s "(cached) " >&6
14540 else $as_nop
14541 ac_check_lib_save_LIBS=$LIBS
14542 LIBS="-lipc $LIBS"
14543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14544 /* end confdefs.h. */
14546 /* Override any GCC internal prototype to avoid an error.
14547 Use char because int might match the return type of a GCC
14548 builtin and then its argument prototype would still apply. */
14549 char shmat ();
14551 main (void)
14553 return shmat ();
14555 return 0;
14557 _ACEOF
14558 if ac_fn_c_try_link "$LINENO"
14559 then :
14560 ac_cv_lib_ipc_shmat=yes
14561 else $as_nop
14562 ac_cv_lib_ipc_shmat=no
14564 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14565 conftest$ac_exeext conftest.$ac_ext
14566 LIBS=$ac_check_lib_save_LIBS
14568 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
14569 printf "%s\n" "$ac_cv_lib_ipc_shmat" >&6; }
14570 if test "x$ac_cv_lib_ipc_shmat" = xyes
14571 then :
14572 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
14578 # Check for libraries that X11R6 Xt/Xaw programs need.
14579 ac_save_LDFLAGS=$LDFLAGS
14580 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
14581 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
14582 # check for ICE first), but we must link in the order -lSM -lICE or
14583 # we get undefined symbols. So assume we have SM if we have ICE.
14584 # These have to be linked with before -lX11, unlike the other
14585 # libraries we check for below, so use a different variable.
14586 # John Interrante, Karl Berry
14587 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
14588 printf %s "checking for IceConnectionNumber in -lICE... " >&6; }
14589 if test ${ac_cv_lib_ICE_IceConnectionNumber+y}
14590 then :
14591 printf %s "(cached) " >&6
14592 else $as_nop
14593 ac_check_lib_save_LIBS=$LIBS
14594 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
14595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14596 /* end confdefs.h. */
14598 /* Override any GCC internal prototype to avoid an error.
14599 Use char because int might match the return type of a GCC
14600 builtin and then its argument prototype would still apply. */
14601 char IceConnectionNumber ();
14603 main (void)
14605 return IceConnectionNumber ();
14607 return 0;
14609 _ACEOF
14610 if ac_fn_c_try_link "$LINENO"
14611 then :
14612 ac_cv_lib_ICE_IceConnectionNumber=yes
14613 else $as_nop
14614 ac_cv_lib_ICE_IceConnectionNumber=no
14616 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14617 conftest$ac_exeext conftest.$ac_ext
14618 LIBS=$ac_check_lib_save_LIBS
14620 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
14621 printf "%s\n" "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
14622 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
14623 then :
14624 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
14627 LDFLAGS=$ac_save_LDFLAGS
14632 if test "$have_x" = "yes"
14633 then
14634 ac_save_CPPFLAGS="$CPPFLAGS"
14635 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
14637 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
14638 printf %s "checking for -lX11... " >&6; }
14639 if test ${ac_cv_lib_soname_X11+y}
14640 then :
14641 printf %s "(cached) " >&6
14642 else $as_nop
14643 ac_check_soname_save_LIBS=$LIBS
14644 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
14645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14646 /* end confdefs.h. */
14648 /* Override any GCC internal prototype to avoid an error.
14649 Use char because int might match the return type of a GCC
14650 builtin and then its argument prototype would still apply. */
14651 char XCreateWindow ();
14653 main (void)
14655 return XCreateWindow ();
14657 return 0;
14659 _ACEOF
14660 if ac_fn_c_try_link "$LINENO"
14661 then :
14662 case "$LIBEXT" in
14663 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14664 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'` ;;
14665 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14666 if ${ac_cv_lib_soname_X11:+false} :
14667 then :
14668 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14669 fi ;;
14670 esac
14671 else $as_nop
14672 ac_cv_lib_soname_X11=
14674 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14675 conftest$ac_exeext conftest.$ac_ext
14676 LIBS=$ac_check_soname_save_LIBS
14678 if ${ac_cv_lib_soname_X11:+false} :
14679 then :
14680 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14681 printf "%s\n" "not found" >&6; }
14683 else $as_nop
14684 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
14685 printf "%s\n" "$ac_cv_lib_soname_X11" >&6; }
14687 printf "%s\n" "#define SONAME_LIBX11 \"$ac_cv_lib_soname_X11\"" >>confdefs.h
14691 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
14692 printf %s "checking for -lXext... " >&6; }
14693 if test ${ac_cv_lib_soname_Xext+y}
14694 then :
14695 printf %s "(cached) " >&6
14696 else $as_nop
14697 ac_check_soname_save_LIBS=$LIBS
14698 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
14699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14700 /* end confdefs.h. */
14702 /* Override any GCC internal prototype to avoid an error.
14703 Use char because int might match the return type of a GCC
14704 builtin and then its argument prototype would still apply. */
14705 char XextCreateExtension ();
14707 main (void)
14709 return XextCreateExtension ();
14711 return 0;
14713 _ACEOF
14714 if ac_fn_c_try_link "$LINENO"
14715 then :
14716 case "$LIBEXT" in
14717 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14718 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'` ;;
14719 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14720 if ${ac_cv_lib_soname_Xext:+false} :
14721 then :
14722 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14723 fi ;;
14724 esac
14725 else $as_nop
14726 ac_cv_lib_soname_Xext=
14728 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14729 conftest$ac_exeext conftest.$ac_ext
14730 LIBS=$ac_check_soname_save_LIBS
14732 if ${ac_cv_lib_soname_Xext:+false} :
14733 then :
14734 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14735 printf "%s\n" "not found" >&6; }
14737 else $as_nop
14738 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
14739 printf "%s\n" "$ac_cv_lib_soname_Xext" >&6; }
14741 printf "%s\n" "#define SONAME_LIBXEXT \"$ac_cv_lib_soname_Xext\"" >>confdefs.h
14743 X_LIBS="$X_LIBS -lXext"
14745 X_LIBS="$X_LIBS -lX11"
14747 xlib_includes="#include <X11/Xlib.h>
14748 #include <X11/Xutil.h>"
14750 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/shape.h" "ac_cv_header_X11_extensions_shape_h" "$xlib_includes
14752 if test "x$ac_cv_header_X11_extensions_shape_h" = xyes
14753 then :
14754 printf "%s\n" "#define HAVE_X11_EXTENSIONS_SHAPE_H 1" >>confdefs.h
14757 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XInput2.h" "ac_cv_header_X11_extensions_XInput2_h" "$xlib_includes
14759 if test "x$ac_cv_header_X11_extensions_XInput2_h" = xyes
14760 then :
14761 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINPUT2_H 1" >>confdefs.h
14764 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XShm.h" "ac_cv_header_X11_extensions_XShm_h" "$xlib_includes
14766 if test "x$ac_cv_header_X11_extensions_XShm_h" = xyes
14767 then :
14768 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XSHM_H 1" >>confdefs.h
14771 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xfixes.h" "ac_cv_header_X11_extensions_Xfixes_h" "$xlib_includes
14773 if test "x$ac_cv_header_X11_extensions_Xfixes_h" = xyes
14774 then :
14775 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XFIXES_H 1" >>confdefs.h
14778 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xinerama.h" "ac_cv_header_X11_extensions_Xinerama_h" "$xlib_includes
14780 if test "x$ac_cv_header_X11_extensions_Xinerama_h" = xyes
14781 then :
14782 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINERAMA_H 1" >>confdefs.h
14785 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xrandr.h" "ac_cv_header_X11_extensions_Xrandr_h" "$xlib_includes
14787 if test "x$ac_cv_header_X11_extensions_Xrandr_h" = xyes
14788 then :
14789 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRANDR_H 1" >>confdefs.h
14792 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xrender.h" "ac_cv_header_X11_extensions_Xrender_h" "$xlib_includes
14794 if test "x$ac_cv_header_X11_extensions_Xrender_h" = xyes
14795 then :
14796 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRENDER_H 1" >>confdefs.h
14799 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/xf86vmode.h" "ac_cv_header_X11_extensions_xf86vmode_h" "$xlib_includes
14801 if test "x$ac_cv_header_X11_extensions_xf86vmode_h" = xyes
14802 then :
14803 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMODE_H 1" >>confdefs.h
14806 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/xf86vmproto.h" "ac_cv_header_X11_extensions_xf86vmproto_h" "$xlib_includes
14808 if test "x$ac_cv_header_X11_extensions_xf86vmproto_h" = xyes
14809 then :
14810 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMPROTO_H 1" >>confdefs.h
14815 ac_fn_c_check_header_compile "$LINENO" "X11/Xcursor/Xcursor.h" "ac_cv_header_X11_Xcursor_Xcursor_h" "$xlib_includes
14817 if test "x$ac_cv_header_X11_Xcursor_Xcursor_h" = xyes
14818 then :
14819 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
14820 printf %s "checking for -lXcursor... " >&6; }
14821 if test ${ac_cv_lib_soname_Xcursor+y}
14822 then :
14823 printf %s "(cached) " >&6
14824 else $as_nop
14825 ac_check_soname_save_LIBS=$LIBS
14826 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
14827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14828 /* end confdefs.h. */
14830 /* Override any GCC internal prototype to avoid an error.
14831 Use char because int might match the return type of a GCC
14832 builtin and then its argument prototype would still apply. */
14833 char XcursorImageLoadCursor ();
14835 main (void)
14837 return XcursorImageLoadCursor ();
14839 return 0;
14841 _ACEOF
14842 if ac_fn_c_try_link "$LINENO"
14843 then :
14844 case "$LIBEXT" in
14845 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14846 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'` ;;
14847 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14848 if ${ac_cv_lib_soname_Xcursor:+false} :
14849 then :
14850 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14851 fi ;;
14852 esac
14853 else $as_nop
14854 ac_cv_lib_soname_Xcursor=
14856 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14857 conftest$ac_exeext conftest.$ac_ext
14858 LIBS=$ac_check_soname_save_LIBS
14860 if ${ac_cv_lib_soname_Xcursor:+false} :
14861 then :
14862 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14863 printf "%s\n" "not found" >&6; }
14865 else $as_nop
14866 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
14867 printf "%s\n" "$ac_cv_lib_soname_Xcursor" >&6; }
14869 printf "%s\n" "#define SONAME_LIBXCURSOR \"$ac_cv_lib_soname_Xcursor\"" >>confdefs.h
14875 if test "x$ac_cv_lib_soname_Xcursor" = "x"
14876 then :
14877 case "x$with_xcursor" in
14878 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
14879 xno) ;;
14880 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
14881 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
14882 esac
14886 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XInput.h" "ac_cv_header_X11_extensions_XInput_h" "$xlib_includes
14888 if test "x$ac_cv_header_X11_extensions_XInput_h" = xyes
14889 then :
14890 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
14891 printf %s "checking for -lXi... " >&6; }
14892 if test ${ac_cv_lib_soname_Xi+y}
14893 then :
14894 printf %s "(cached) " >&6
14895 else $as_nop
14896 ac_check_soname_save_LIBS=$LIBS
14897 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
14898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14899 /* end confdefs.h. */
14901 /* Override any GCC internal prototype to avoid an error.
14902 Use char because int might match the return type of a GCC
14903 builtin and then its argument prototype would still apply. */
14904 char XOpenDevice ();
14906 main (void)
14908 return XOpenDevice ();
14910 return 0;
14912 _ACEOF
14913 if ac_fn_c_try_link "$LINENO"
14914 then :
14915 case "$LIBEXT" in
14916 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14917 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'` ;;
14918 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14919 if ${ac_cv_lib_soname_Xi:+false} :
14920 then :
14921 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14922 fi ;;
14923 esac
14924 else $as_nop
14925 ac_cv_lib_soname_Xi=
14927 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14928 conftest$ac_exeext conftest.$ac_ext
14929 LIBS=$ac_check_soname_save_LIBS
14931 if ${ac_cv_lib_soname_Xi:+false} :
14932 then :
14933 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14934 printf "%s\n" "not found" >&6; }
14936 else $as_nop
14937 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
14938 printf "%s\n" "$ac_cv_lib_soname_Xi" >&6; }
14940 printf "%s\n" "#define SONAME_LIBXI \"$ac_cv_lib_soname_Xi\"" >>confdefs.h
14946 if test "x$ac_cv_lib_soname_Xi" = "x"
14947 then :
14948 case "x$with_xinput" in
14949 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
14950 xno) ;;
14951 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
14952 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
14953 esac
14957 if test "x$ac_cv_lib_soname_Xi" != x
14958 then
14959 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"
14960 then :
14961 case "x$with_xinput2" in
14962 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
14963 xno) ;;
14964 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
14965 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
14966 esac
14971 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
14972 then
14973 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
14974 printf %s "checking for XShmQueryExtension in -lXext... " >&6; }
14975 if test ${ac_cv_lib_Xext_XShmQueryExtension+y}
14976 then :
14977 printf %s "(cached) " >&6
14978 else $as_nop
14979 ac_check_lib_save_LIBS=$LIBS
14980 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
14981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14982 /* end confdefs.h. */
14984 /* Override any GCC internal prototype to avoid an error.
14985 Use char because int might match the return type of a GCC
14986 builtin and then its argument prototype would still apply. */
14987 char XShmQueryExtension ();
14989 main (void)
14991 return XShmQueryExtension ();
14993 return 0;
14995 _ACEOF
14996 if ac_fn_c_try_link "$LINENO"
14997 then :
14998 ac_cv_lib_Xext_XShmQueryExtension=yes
14999 else $as_nop
15000 ac_cv_lib_Xext_XShmQueryExtension=no
15002 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15003 conftest$ac_exeext conftest.$ac_ext
15004 LIBS=$ac_check_lib_save_LIBS
15006 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
15007 printf "%s\n" "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
15008 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
15009 then :
15011 printf "%s\n" "#define HAVE_LIBXXSHM 1" >>confdefs.h
15016 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"
15017 then :
15018 case "x$with_xshm" in
15019 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
15020 xno) ;;
15021 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
15022 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
15023 esac
15027 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
15028 then
15029 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
15030 printf %s "checking for XShapeQueryExtension in -lXext... " >&6; }
15031 if test ${ac_cv_lib_Xext_XShapeQueryExtension+y}
15032 then :
15033 printf %s "(cached) " >&6
15034 else $as_nop
15035 ac_check_lib_save_LIBS=$LIBS
15036 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
15037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15038 /* end confdefs.h. */
15040 /* Override any GCC internal prototype to avoid an error.
15041 Use char because int might match the return type of a GCC
15042 builtin and then its argument prototype would still apply. */
15043 char XShapeQueryExtension ();
15045 main (void)
15047 return XShapeQueryExtension ();
15049 return 0;
15051 _ACEOF
15052 if ac_fn_c_try_link "$LINENO"
15053 then :
15054 ac_cv_lib_Xext_XShapeQueryExtension=yes
15055 else $as_nop
15056 ac_cv_lib_Xext_XShapeQueryExtension=no
15058 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15059 conftest$ac_exeext conftest.$ac_ext
15060 LIBS=$ac_check_lib_save_LIBS
15062 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
15063 printf "%s\n" "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
15064 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
15065 then :
15067 printf "%s\n" "#define HAVE_LIBXSHAPE 1" >>confdefs.h
15072 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"
15073 then :
15074 case "x$with_xshape" in
15075 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
15076 xno) ;;
15077 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
15078 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
15079 esac
15083 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
15084 then
15085 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
15086 printf %s "checking for -lXxf86vm... " >&6; }
15087 if test ${ac_cv_lib_soname_Xxf86vm+y}
15088 then :
15089 printf %s "(cached) " >&6
15090 else $as_nop
15091 ac_check_soname_save_LIBS=$LIBS
15092 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
15093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15094 /* end confdefs.h. */
15096 /* Override any GCC internal prototype to avoid an error.
15097 Use char because int might match the return type of a GCC
15098 builtin and then its argument prototype would still apply. */
15099 char XF86VidModeQueryExtension ();
15101 main (void)
15103 return XF86VidModeQueryExtension ();
15105 return 0;
15107 _ACEOF
15108 if ac_fn_c_try_link "$LINENO"
15109 then :
15110 case "$LIBEXT" in
15111 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15112 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'` ;;
15113 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15114 if ${ac_cv_lib_soname_Xxf86vm:+false} :
15115 then :
15116 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15117 fi ;;
15118 esac
15119 else $as_nop
15120 ac_cv_lib_soname_Xxf86vm=
15122 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15123 conftest$ac_exeext conftest.$ac_ext
15124 LIBS=$ac_check_soname_save_LIBS
15126 if ${ac_cv_lib_soname_Xxf86vm:+false} :
15127 then :
15128 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15129 printf "%s\n" "not found" >&6; }
15131 else $as_nop
15132 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
15133 printf "%s\n" "$ac_cv_lib_soname_Xxf86vm" >&6; }
15135 printf "%s\n" "#define SONAME_LIBXXF86VM \"$ac_cv_lib_soname_Xxf86vm\"" >>confdefs.h
15140 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"
15141 then :
15142 case "x$with_xxf86vm" in
15143 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
15144 xno) ;;
15145 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
15146 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
15147 esac
15151 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
15152 then
15153 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
15154 printf %s "checking for -lXrender... " >&6; }
15155 if test ${ac_cv_lib_soname_Xrender+y}
15156 then :
15157 printf %s "(cached) " >&6
15158 else $as_nop
15159 ac_check_soname_save_LIBS=$LIBS
15160 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
15161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15162 /* end confdefs.h. */
15164 /* Override any GCC internal prototype to avoid an error.
15165 Use char because int might match the return type of a GCC
15166 builtin and then its argument prototype would still apply. */
15167 char XRenderQueryExtension ();
15169 main (void)
15171 return XRenderQueryExtension ();
15173 return 0;
15175 _ACEOF
15176 if ac_fn_c_try_link "$LINENO"
15177 then :
15178 case "$LIBEXT" in
15179 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15180 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'` ;;
15181 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15182 if ${ac_cv_lib_soname_Xrender:+false} :
15183 then :
15184 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15185 fi ;;
15186 esac
15187 else $as_nop
15188 ac_cv_lib_soname_Xrender=
15190 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15191 conftest$ac_exeext conftest.$ac_ext
15192 LIBS=$ac_check_soname_save_LIBS
15194 if ${ac_cv_lib_soname_Xrender:+false} :
15195 then :
15196 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15197 printf "%s\n" "not found" >&6; }
15199 else $as_nop
15200 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
15201 printf "%s\n" "$ac_cv_lib_soname_Xrender" >&6; }
15203 printf "%s\n" "#define SONAME_LIBXRENDER \"$ac_cv_lib_soname_Xrender\"" >>confdefs.h
15205 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
15206 printf %s "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
15207 if test ${ac_cv_lib_Xrender_XRenderSetPictureTransform+y}
15208 then :
15209 printf %s "(cached) " >&6
15210 else $as_nop
15211 ac_check_lib_save_LIBS=$LIBS
15212 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
15213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15214 /* end confdefs.h. */
15216 /* Override any GCC internal prototype to avoid an error.
15217 Use char because int might match the return type of a GCC
15218 builtin and then its argument prototype would still apply. */
15219 char XRenderSetPictureTransform ();
15221 main (void)
15223 return XRenderSetPictureTransform ();
15225 return 0;
15227 _ACEOF
15228 if ac_fn_c_try_link "$LINENO"
15229 then :
15230 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
15231 else $as_nop
15232 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
15234 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15235 conftest$ac_exeext conftest.$ac_ext
15236 LIBS=$ac_check_lib_save_LIBS
15238 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
15239 printf "%s\n" "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
15240 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
15241 then :
15243 printf "%s\n" "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
15247 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
15248 printf %s "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
15249 if test ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+y}
15250 then :
15251 printf %s "(cached) " >&6
15252 else $as_nop
15253 ac_check_lib_save_LIBS=$LIBS
15254 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
15255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15256 /* end confdefs.h. */
15258 /* Override any GCC internal prototype to avoid an error.
15259 Use char because int might match the return type of a GCC
15260 builtin and then its argument prototype would still apply. */
15261 char XRenderCreateLinearGradient ();
15263 main (void)
15265 return XRenderCreateLinearGradient ();
15267 return 0;
15269 _ACEOF
15270 if ac_fn_c_try_link "$LINENO"
15271 then :
15272 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
15273 else $as_nop
15274 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
15276 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15277 conftest$ac_exeext conftest.$ac_ext
15278 LIBS=$ac_check_lib_save_LIBS
15280 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
15281 printf "%s\n" "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
15282 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes
15283 then :
15285 printf "%s\n" "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
15292 if test "x$ac_cv_lib_soname_Xrender" = "x"
15293 then :
15294 case "x$with_xrender" in
15295 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
15296 xno) ;;
15297 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
15298 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
15299 esac
15303 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
15304 then
15305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15306 /* end confdefs.h. */
15307 #include <X11/Xlib.h>
15308 #include <X11/extensions/Xrandr.h>
15310 main (void)
15312 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
15314 return 0;
15316 _ACEOF
15317 if ac_fn_c_try_compile "$LINENO"
15318 then :
15319 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
15320 printf %s "checking for -lXrandr... " >&6; }
15321 if test ${ac_cv_lib_soname_Xrandr+y}
15322 then :
15323 printf %s "(cached) " >&6
15324 else $as_nop
15325 ac_check_soname_save_LIBS=$LIBS
15326 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
15327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15328 /* end confdefs.h. */
15330 /* Override any GCC internal prototype to avoid an error.
15331 Use char because int might match the return type of a GCC
15332 builtin and then its argument prototype would still apply. */
15333 char XRRQueryExtension ();
15335 main (void)
15337 return XRRQueryExtension ();
15339 return 0;
15341 _ACEOF
15342 if ac_fn_c_try_link "$LINENO"
15343 then :
15344 case "$LIBEXT" in
15345 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15346 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'` ;;
15347 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15348 if ${ac_cv_lib_soname_Xrandr:+false} :
15349 then :
15350 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15351 fi ;;
15352 esac
15353 else $as_nop
15354 ac_cv_lib_soname_Xrandr=
15356 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15357 conftest$ac_exeext conftest.$ac_ext
15358 LIBS=$ac_check_soname_save_LIBS
15360 if ${ac_cv_lib_soname_Xrandr:+false} :
15361 then :
15362 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15363 printf "%s\n" "not found" >&6; }
15365 else $as_nop
15366 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
15367 printf "%s\n" "$ac_cv_lib_soname_Xrandr" >&6; }
15369 printf "%s\n" "#define SONAME_LIBXRANDR \"$ac_cv_lib_soname_Xrandr\"" >>confdefs.h
15371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15372 /* end confdefs.h. */
15373 #include <X11/Xlib.h>
15374 #include <X11/extensions/Xrandr.h>
15376 main (void)
15378 static typeof(XRRGetProviderResources) *f; if (f) return 0;
15380 return 0;
15382 _ACEOF
15383 if ac_fn_c_try_compile "$LINENO"
15384 then :
15386 printf "%s\n" "#define HAVE_XRRGETPROVIDERRESOURCES 1" >>confdefs.h
15388 else $as_nop
15389 as_fn_append wine_notices "|libxrandr ${notice_platform}development files too old, XRandR display device handler won't be supported."
15391 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15394 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15396 if test "x$ac_cv_lib_soname_Xrandr" = "x"
15397 then :
15398 case "x$with_xrandr" in
15399 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
15400 xno) ;;
15401 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
15402 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
15403 esac
15407 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
15408 then
15409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15410 /* end confdefs.h. */
15411 #include <X11/Xlib.h>
15412 #include <X11/extensions/Xfixes.h>
15414 main (void)
15416 static typeof(XFixesQueryVersion) * func; if (func) return 0;
15418 return 0;
15420 _ACEOF
15421 if ac_fn_c_try_compile "$LINENO"
15422 then :
15423 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
15424 printf %s "checking for -lXfixes... " >&6; }
15425 if test ${ac_cv_lib_soname_Xfixes+y}
15426 then :
15427 printf %s "(cached) " >&6
15428 else $as_nop
15429 ac_check_soname_save_LIBS=$LIBS
15430 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
15431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15432 /* end confdefs.h. */
15434 /* Override any GCC internal prototype to avoid an error.
15435 Use char because int might match the return type of a GCC
15436 builtin and then its argument prototype would still apply. */
15437 char XFixesQueryVersion ();
15439 main (void)
15441 return XFixesQueryVersion ();
15443 return 0;
15445 _ACEOF
15446 if ac_fn_c_try_link "$LINENO"
15447 then :
15448 case "$LIBEXT" in
15449 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15450 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'` ;;
15451 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15452 if ${ac_cv_lib_soname_Xfixes:+false} :
15453 then :
15454 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15455 fi ;;
15456 esac
15457 else $as_nop
15458 ac_cv_lib_soname_Xfixes=
15460 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15461 conftest$ac_exeext conftest.$ac_ext
15462 LIBS=$ac_check_soname_save_LIBS
15464 if ${ac_cv_lib_soname_Xfixes:+false} :
15465 then :
15466 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15467 printf "%s\n" "not found" >&6; }
15469 else $as_nop
15470 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
15471 printf "%s\n" "$ac_cv_lib_soname_Xfixes" >&6; }
15473 printf "%s\n" "#define SONAME_LIBXFIXES \"$ac_cv_lib_soname_Xfixes\"" >>confdefs.h
15478 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15480 if test "x$ac_cv_lib_soname_Xfixes" = "x"
15481 then :
15482 case "x$with_xfixes" in
15483 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
15484 xno) ;;
15485 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
15486 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
15487 esac
15491 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
15492 then
15493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15494 /* end confdefs.h. */
15495 #include <X11/Xlib.h>
15496 #include <X11/extensions/Xinerama.h>
15498 main (void)
15500 static typeof(XineramaQueryScreens) * func; if (func) return 0;
15502 return 0;
15504 _ACEOF
15505 if ac_fn_c_try_compile "$LINENO"
15506 then :
15507 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
15508 printf %s "checking for -lXinerama... " >&6; }
15509 if test ${ac_cv_lib_soname_Xinerama+y}
15510 then :
15511 printf %s "(cached) " >&6
15512 else $as_nop
15513 ac_check_soname_save_LIBS=$LIBS
15514 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
15515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15516 /* end confdefs.h. */
15518 /* Override any GCC internal prototype to avoid an error.
15519 Use char because int might match the return type of a GCC
15520 builtin and then its argument prototype would still apply. */
15521 char XineramaQueryScreens ();
15523 main (void)
15525 return XineramaQueryScreens ();
15527 return 0;
15529 _ACEOF
15530 if ac_fn_c_try_link "$LINENO"
15531 then :
15532 case "$LIBEXT" in
15533 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15534 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'` ;;
15535 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15536 if ${ac_cv_lib_soname_Xinerama:+false} :
15537 then :
15538 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15539 fi ;;
15540 esac
15541 else $as_nop
15542 ac_cv_lib_soname_Xinerama=
15544 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15545 conftest$ac_exeext conftest.$ac_ext
15546 LIBS=$ac_check_soname_save_LIBS
15548 if ${ac_cv_lib_soname_Xinerama:+false} :
15549 then :
15550 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15551 printf "%s\n" "not found" >&6; }
15553 else $as_nop
15554 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
15555 printf "%s\n" "$ac_cv_lib_soname_Xinerama" >&6; }
15557 printf "%s\n" "#define SONAME_LIBXINERAMA \"$ac_cv_lib_soname_Xinerama\"" >>confdefs.h
15562 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15564 if test "x$ac_cv_lib_soname_Xinerama" = "x"
15565 then :
15566 case "x$with_xinerama" in
15567 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
15568 xno) ;;
15569 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
15570 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
15571 esac
15575 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xcomposite.h" "ac_cv_header_X11_extensions_Xcomposite_h" "$xlib_includes
15577 if test "x$ac_cv_header_X11_extensions_Xcomposite_h" = xyes
15578 then :
15579 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
15580 printf %s "checking for -lXcomposite... " >&6; }
15581 if test ${ac_cv_lib_soname_Xcomposite+y}
15582 then :
15583 printf %s "(cached) " >&6
15584 else $as_nop
15585 ac_check_soname_save_LIBS=$LIBS
15586 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
15587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15588 /* end confdefs.h. */
15590 /* Override any GCC internal prototype to avoid an error.
15591 Use char because int might match the return type of a GCC
15592 builtin and then its argument prototype would still apply. */
15593 char XCompositeRedirectWindow ();
15595 main (void)
15597 return XCompositeRedirectWindow ();
15599 return 0;
15601 _ACEOF
15602 if ac_fn_c_try_link "$LINENO"
15603 then :
15604 case "$LIBEXT" in
15605 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15606 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'` ;;
15607 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15608 if ${ac_cv_lib_soname_Xcomposite:+false} :
15609 then :
15610 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15611 fi ;;
15612 esac
15613 else $as_nop
15614 ac_cv_lib_soname_Xcomposite=
15616 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15617 conftest$ac_exeext conftest.$ac_ext
15618 LIBS=$ac_check_soname_save_LIBS
15620 if ${ac_cv_lib_soname_Xcomposite:+false} :
15621 then :
15622 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15623 printf "%s\n" "not found" >&6; }
15625 else $as_nop
15626 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
15627 printf "%s\n" "$ac_cv_lib_soname_Xcomposite" >&6; }
15629 printf "%s\n" "#define SONAME_LIBXCOMPOSITE \"$ac_cv_lib_soname_Xcomposite\"" >>confdefs.h
15635 if test "x$ac_cv_lib_soname_Xcomposite" = "x"
15636 then :
15637 case "x$with_xcomposite" in
15638 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
15639 xno) ;;
15640 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
15641 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
15642 esac
15646 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "$xlib_includes
15648 if test "x$ac_cv_member_XICCallback_callback" = xyes
15649 then :
15651 printf "%s\n" "#define HAVE_XICCALLBACK_CALLBACK 1" >>confdefs.h
15655 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "$xlib_includes
15657 if test "x$ac_cv_member_XEvent_xcookie" = xyes
15658 then :
15660 printf "%s\n" "#define HAVE_XEVENT_XCOOKIE 1" >>confdefs.h
15667 opengl_msg=""
15668 if test "x$with_opengl" != "xno"
15669 then
15670 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
15671 printf %s "checking for -lGL... " >&6; }
15672 if test ${ac_cv_lib_soname_GL+y}
15673 then :
15674 printf %s "(cached) " >&6
15675 else $as_nop
15676 ac_check_soname_save_LIBS=$LIBS
15677 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
15678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15679 /* end confdefs.h. */
15681 /* Override any GCC internal prototype to avoid an error.
15682 Use char because int might match the return type of a GCC
15683 builtin and then its argument prototype would still apply. */
15684 char glXCreateContext ();
15686 main (void)
15688 return glXCreateContext ();
15690 return 0;
15692 _ACEOF
15693 if ac_fn_c_try_link "$LINENO"
15694 then :
15695 case "$LIBEXT" in
15696 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15697 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'` ;;
15698 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15699 if ${ac_cv_lib_soname_GL:+false} :
15700 then :
15701 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15702 fi ;;
15703 esac
15704 else $as_nop
15705 ac_cv_lib_soname_GL=
15707 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15708 conftest$ac_exeext conftest.$ac_ext
15709 LIBS=$ac_check_soname_save_LIBS
15711 if ${ac_cv_lib_soname_GL:+false} :
15712 then :
15713 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15714 printf "%s\n" "not found" >&6; }
15715 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
15716 printf %s "checking for -lGL... " >&6; }
15717 if test ${ac_cv_lib_soname_GL+y}
15718 then :
15719 printf %s "(cached) " >&6
15720 else $as_nop
15721 ac_check_soname_save_LIBS=$LIBS
15722 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"
15723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15724 /* end confdefs.h. */
15726 /* Override any GCC internal prototype to avoid an error.
15727 Use char because int might match the return type of a GCC
15728 builtin and then its argument prototype would still apply. */
15729 char glXCreateContext ();
15731 main (void)
15733 return glXCreateContext ();
15735 return 0;
15737 _ACEOF
15738 if ac_fn_c_try_link "$LINENO"
15739 then :
15740 case "$LIBEXT" in
15741 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15742 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'` ;;
15743 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15744 if ${ac_cv_lib_soname_GL:+false} :
15745 then :
15746 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15747 fi ;;
15748 esac
15749 else $as_nop
15750 ac_cv_lib_soname_GL=
15752 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15753 conftest$ac_exeext conftest.$ac_ext
15754 LIBS=$ac_check_soname_save_LIBS
15756 if ${ac_cv_lib_soname_GL:+false} :
15757 then :
15758 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15759 printf "%s\n" "not found" >&6; }
15760 if test -f /usr/X11R6/lib/libGL.a
15761 then
15762 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
15763 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
15764 else
15765 opengl_msg="No OpenGL library found on this system."
15767 else $as_nop
15768 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
15769 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
15771 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
15773 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"
15775 else $as_nop
15776 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
15777 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
15779 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
15781 OPENGL_LIBS="-lGL"
15783 if test "x$with_osmesa" != "xno"
15784 then
15785 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
15786 printf %s "checking for -lOSMesa... " >&6; }
15787 if test ${ac_cv_lib_soname_OSMesa+y}
15788 then :
15789 printf %s "(cached) " >&6
15790 else $as_nop
15791 ac_check_soname_save_LIBS=$LIBS
15792 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
15793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15794 /* end confdefs.h. */
15796 /* Override any GCC internal prototype to avoid an error.
15797 Use char because int might match the return type of a GCC
15798 builtin and then its argument prototype would still apply. */
15799 char OSMesaGetProcAddress ();
15801 main (void)
15803 return OSMesaGetProcAddress ();
15805 return 0;
15807 _ACEOF
15808 if ac_fn_c_try_link "$LINENO"
15809 then :
15810 case "$LIBEXT" in
15811 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15812 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'` ;;
15813 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15814 if ${ac_cv_lib_soname_OSMesa:+false} :
15815 then :
15816 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15817 fi ;;
15818 esac
15819 else $as_nop
15820 ac_cv_lib_soname_OSMesa=
15822 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15823 conftest$ac_exeext conftest.$ac_ext
15824 LIBS=$ac_check_soname_save_LIBS
15826 if ${ac_cv_lib_soname_OSMesa:+false} :
15827 then :
15828 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15829 printf "%s\n" "not found" >&6; }
15831 else $as_nop
15832 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
15833 printf "%s\n" "$ac_cv_lib_soname_OSMesa" >&6; }
15835 printf "%s\n" "#define SONAME_LIBOSMESA \"$ac_cv_lib_soname_OSMesa\"" >>confdefs.h
15839 if test "x$ac_cv_lib_soname_OSMesa" = "x"
15840 then :
15841 case "x$with_osmesa" in
15842 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
15843 xno) ;;
15844 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
15845 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
15846 esac
15851 if test -n "$opengl_msg"
15852 then :
15853 case "x$with_opengl" in
15854 x) as_fn_append wine_warnings "|$opengl_msg
15855 OpenGL and Direct3D won't be supported." ;;
15856 xno) ;;
15857 *) as_fn_error $? "$opengl_msg
15858 OpenGL and Direct3D won't be supported.
15859 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
15860 esac
15864 CPPFLAGS="$ac_save_CPPFLAGS"
15865 else
15866 X_CFLAGS=""
15867 X_LIBS=""
15870 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
15871 then
15872 if test "x$X_LIBS" = "x"
15873 then :
15874 case "x$with_x" in
15875 xno) ;;
15876 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
15877 without X support, which probably isn't what you want. You will need
15878 to install ${notice_platform}development packages of Xlib at the very least.
15879 Use the --without-x option if you really want this." "$LINENO" 5 ;;
15880 esac
15881 enable_winex11_drv=${enable_winex11_drv:-no}
15883 else
15884 if test "x$X_LIBS" = "x"
15885 then :
15886 case "x$with_x" in
15887 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
15888 xno) ;;
15889 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
15890 This is an error since --with-x was requested." "$LINENO" 5 ;;
15891 esac
15892 enable_winex11_drv=${enable_winex11_drv:-no}
15896 if test "x$with_wayland" != "xno"
15897 then
15898 rm -f conftest.err
15899 if ${WAYLAND_CLIENT_CFLAGS:+false} :
15900 then :
15901 if test ${PKG_CONFIG+y}
15902 then :
15903 WAYLAND_CLIENT_CFLAGS=`$PKG_CONFIG --cflags wayland-client 2>conftest.err`
15907 if ${WAYLAND_CLIENT_LIBS:+false} :
15908 then :
15909 if test ${PKG_CONFIG+y}
15910 then :
15911 WAYLAND_CLIENT_LIBS=`$PKG_CONFIG --libs wayland-client 2>/dev/null`
15916 printf "%s\n" "$as_me:${as_lineno-$LINENO}: wayland-client cflags: $WAYLAND_CLIENT_CFLAGS" >&5
15917 printf "%s\n" "$as_me:${as_lineno-$LINENO}: wayland-client libs: $WAYLAND_CLIENT_LIBS" >&5
15918 if test -s conftest.err; then
15919 printf %s "$as_me:${as_lineno-$LINENO}: wayland-client errors: " >&5
15920 cat conftest.err >&5
15922 rm -f conftest.err
15923 ac_save_CPPFLAGS=$CPPFLAGS
15924 CPPFLAGS="$CPPFLAGS $WAYLAND_CLIENT_CFLAGS"
15925 ac_fn_c_check_header_compile "$LINENO" "wayland-client.h" "ac_cv_header_wayland_client_h" "$ac_includes_default"
15926 if test "x$ac_cv_header_wayland_client_h" = xyes
15927 then :
15928 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for wl_display_connect in -lwayland-client" >&5
15929 printf %s "checking for wl_display_connect in -lwayland-client... " >&6; }
15930 if test ${ac_cv_lib_wayland_client_wl_display_connect+y}
15931 then :
15932 printf %s "(cached) " >&6
15933 else $as_nop
15934 ac_check_lib_save_LIBS=$LIBS
15935 LIBS="-lwayland-client $WAYLAND_CLIENT_LIBS $LIBS"
15936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15937 /* end confdefs.h. */
15939 /* Override any GCC internal prototype to avoid an error.
15940 Use char because int might match the return type of a GCC
15941 builtin and then its argument prototype would still apply. */
15942 char wl_display_connect ();
15944 main (void)
15946 return wl_display_connect ();
15948 return 0;
15950 _ACEOF
15951 if ac_fn_c_try_link "$LINENO"
15952 then :
15953 ac_cv_lib_wayland_client_wl_display_connect=yes
15954 else $as_nop
15955 ac_cv_lib_wayland_client_wl_display_connect=no
15957 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15958 conftest$ac_exeext conftest.$ac_ext
15959 LIBS=$ac_check_lib_save_LIBS
15961 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_wayland_client_wl_display_connect" >&5
15962 printf "%s\n" "$ac_cv_lib_wayland_client_wl_display_connect" >&6; }
15963 if test "x$ac_cv_lib_wayland_client_wl_display_connect" = xyes
15964 then :
15965 # Extract the first word of "wayland-scanner", so it can be a program name with args.
15966 set dummy wayland-scanner; ac_word=$2
15967 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15968 printf %s "checking for $ac_word... " >&6; }
15969 if test ${ac_cv_path_WAYLAND_SCANNER+y}
15970 then :
15971 printf %s "(cached) " >&6
15972 else $as_nop
15973 case $WAYLAND_SCANNER in
15974 [\\/]* | ?:[\\/]*)
15975 ac_cv_path_WAYLAND_SCANNER="$WAYLAND_SCANNER" # Let the user override the test with a path.
15978 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15979 for as_dir in $PATH
15981 IFS=$as_save_IFS
15982 case $as_dir in #(((
15983 '') as_dir=./ ;;
15984 */) ;;
15985 *) as_dir=$as_dir/ ;;
15986 esac
15987 for ac_exec_ext in '' $ac_executable_extensions; do
15988 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
15989 ac_cv_path_WAYLAND_SCANNER="$as_dir$ac_word$ac_exec_ext"
15990 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
15991 break 2
15993 done
15994 done
15995 IFS=$as_save_IFS
15997 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`"
15999 esac
16001 WAYLAND_SCANNER=$ac_cv_path_WAYLAND_SCANNER
16002 if test -n "$WAYLAND_SCANNER"; then
16003 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $WAYLAND_SCANNER" >&5
16004 printf "%s\n" "$WAYLAND_SCANNER" >&6; }
16005 else
16006 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
16007 printf "%s\n" "no" >&6; }
16011 else $as_nop
16012 WAYLAND_CLIENT_LIBS=""
16017 CPPFLAGS=$ac_save_CPPFLAGS
16019 rm -f conftest.err
16020 if ${XKBCOMMON_CFLAGS:+false} :
16021 then :
16022 if test ${PKG_CONFIG+y}
16023 then :
16024 XKBCOMMON_CFLAGS=`$PKG_CONFIG --cflags xkbcommon 2>conftest.err`
16028 if ${XKBCOMMON_LIBS:+false} :
16029 then :
16030 if test ${PKG_CONFIG+y}
16031 then :
16032 XKBCOMMON_LIBS=`$PKG_CONFIG --libs xkbcommon 2>/dev/null`
16037 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xkbcommon cflags: $XKBCOMMON_CFLAGS" >&5
16038 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xkbcommon libs: $XKBCOMMON_LIBS" >&5
16039 if test -s conftest.err; then
16040 printf %s "$as_me:${as_lineno-$LINENO}: xkbcommon errors: " >&5
16041 cat conftest.err >&5
16043 rm -f conftest.err
16044 ac_save_CPPFLAGS=$CPPFLAGS
16045 CPPFLAGS="$CPPFLAGS $XKBCOMMON_CFLAGS"
16046 ac_fn_c_check_header_compile "$LINENO" "xkbcommon/xkbcommon.h" "ac_cv_header_xkbcommon_xkbcommon_h" "$ac_includes_default"
16047 if test "x$ac_cv_header_xkbcommon_xkbcommon_h" = xyes
16048 then :
16049 printf "%s\n" "#define HAVE_XKBCOMMON_XKBCOMMON_H 1" >>confdefs.h
16053 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xkb_context_new in -lxkbcommon" >&5
16054 printf %s "checking for xkb_context_new in -lxkbcommon... " >&6; }
16055 if test ${ac_cv_lib_xkbcommon_xkb_context_new+y}
16056 then :
16057 printf %s "(cached) " >&6
16058 else $as_nop
16059 ac_check_lib_save_LIBS=$LIBS
16060 LIBS="-lxkbcommon $XKBCOMMON_LIBS $LIBS"
16061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16062 /* end confdefs.h. */
16064 /* Override any GCC internal prototype to avoid an error.
16065 Use char because int might match the return type of a GCC
16066 builtin and then its argument prototype would still apply. */
16067 char xkb_context_new ();
16069 main (void)
16071 return xkb_context_new ();
16073 return 0;
16075 _ACEOF
16076 if ac_fn_c_try_link "$LINENO"
16077 then :
16078 ac_cv_lib_xkbcommon_xkb_context_new=yes
16079 else $as_nop
16080 ac_cv_lib_xkbcommon_xkb_context_new=no
16082 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16083 conftest$ac_exeext conftest.$ac_ext
16084 LIBS=$ac_check_lib_save_LIBS
16086 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xkbcommon_xkb_context_new" >&5
16087 printf "%s\n" "$ac_cv_lib_xkbcommon_xkb_context_new" >&6; }
16088 if test "x$ac_cv_lib_xkbcommon_xkb_context_new" = xyes
16089 then :
16091 else $as_nop
16092 XKBCOMMON_LIBS=""
16095 CPPFLAGS=$ac_save_CPPFLAGS
16097 rm -f conftest.err
16098 if ${XKBREGISTRY_CFLAGS:+false} :
16099 then :
16100 if test ${PKG_CONFIG+y}
16101 then :
16102 XKBREGISTRY_CFLAGS=`$PKG_CONFIG --cflags xkbregistry 2>conftest.err`
16106 if ${XKBREGISTRY_LIBS:+false} :
16107 then :
16108 if test ${PKG_CONFIG+y}
16109 then :
16110 XKBREGISTRY_LIBS=`$PKG_CONFIG --libs xkbregistry 2>/dev/null`
16115 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xkbregistry cflags: $XKBREGISTRY_CFLAGS" >&5
16116 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xkbregistry libs: $XKBREGISTRY_LIBS" >&5
16117 if test -s conftest.err; then
16118 printf %s "$as_me:${as_lineno-$LINENO}: xkbregistry errors: " >&5
16119 cat conftest.err >&5
16121 rm -f conftest.err
16122 ac_save_CPPFLAGS=$CPPFLAGS
16123 CPPFLAGS="$CPPFLAGS $XKBREGISTRY_CFLAGS"
16124 ac_fn_c_check_header_compile "$LINENO" "xkbcommon/xkbregistry.h" "ac_cv_header_xkbcommon_xkbregistry_h" "$ac_includes_default"
16125 if test "x$ac_cv_header_xkbcommon_xkbregistry_h" = xyes
16126 then :
16127 printf "%s\n" "#define HAVE_XKBCOMMON_XKBREGISTRY_H 1" >>confdefs.h
16131 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for rxkb_context_new in -lxkbregistry" >&5
16132 printf %s "checking for rxkb_context_new in -lxkbregistry... " >&6; }
16133 if test ${ac_cv_lib_xkbregistry_rxkb_context_new+y}
16134 then :
16135 printf %s "(cached) " >&6
16136 else $as_nop
16137 ac_check_lib_save_LIBS=$LIBS
16138 LIBS="-lxkbregistry $XKBREGISTRY_LIBS $LIBS"
16139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16140 /* end confdefs.h. */
16142 /* Override any GCC internal prototype to avoid an error.
16143 Use char because int might match the return type of a GCC
16144 builtin and then its argument prototype would still apply. */
16145 char rxkb_context_new ();
16147 main (void)
16149 return rxkb_context_new ();
16151 return 0;
16153 _ACEOF
16154 if ac_fn_c_try_link "$LINENO"
16155 then :
16156 ac_cv_lib_xkbregistry_rxkb_context_new=yes
16157 else $as_nop
16158 ac_cv_lib_xkbregistry_rxkb_context_new=no
16160 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16161 conftest$ac_exeext conftest.$ac_ext
16162 LIBS=$ac_check_lib_save_LIBS
16164 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xkbregistry_rxkb_context_new" >&5
16165 printf "%s\n" "$ac_cv_lib_xkbregistry_rxkb_context_new" >&6; }
16166 if test "x$ac_cv_lib_xkbregistry_rxkb_context_new" = xyes
16167 then :
16169 else $as_nop
16170 XKBREGISTRY_LIBS=""
16173 CPPFLAGS=$ac_save_CPPFLAGS
16176 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"
16177 then :
16178 case "x$with_wayland" in
16179 x) as_fn_append wine_notices "|Wayland ${notice_platform}development files not found, the Wayland driver won't be supported." ;;
16180 xno) ;;
16181 *) as_fn_error $? "Wayland ${notice_platform}development files not found, the Wayland driver won't be supported.
16182 This is an error since --with-wayland was requested." "$LINENO" 5 ;;
16183 esac
16184 enable_winewayland_drv=${enable_winewayland_drv:-no}
16187 if test "$ac_cv_header_CL_cl_h" = "yes"
16188 then
16189 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
16190 printf %s "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
16191 if test ${ac_cv_lib_OpenCL_clGetPlatformInfo+y}
16192 then :
16193 printf %s "(cached) " >&6
16194 else $as_nop
16195 ac_check_lib_save_LIBS=$LIBS
16196 LIBS="-lOpenCL $LIBS"
16197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16198 /* end confdefs.h. */
16200 /* Override any GCC internal prototype to avoid an error.
16201 Use char because int might match the return type of a GCC
16202 builtin and then its argument prototype would still apply. */
16203 char clGetPlatformInfo ();
16205 main (void)
16207 return clGetPlatformInfo ();
16209 return 0;
16211 _ACEOF
16212 if ac_fn_c_try_link "$LINENO"
16213 then :
16214 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
16215 else $as_nop
16216 ac_cv_lib_OpenCL_clGetPlatformInfo=no
16218 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16219 conftest$ac_exeext conftest.$ac_ext
16220 LIBS=$ac_check_lib_save_LIBS
16222 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
16223 printf "%s\n" "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
16224 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
16225 then :
16226 OPENCL_LIBS="-lOpenCL"
16231 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
16232 then :
16233 case "x$with_opencl" in
16234 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
16235 xno) ;;
16236 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
16237 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
16238 esac
16239 enable_opencl=${enable_opencl:-no}
16242 if test "$ac_cv_header_pcap_pcap_h" = "yes"
16243 then
16244 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pcap_init in -lpcap" >&5
16245 printf %s "checking for pcap_init in -lpcap... " >&6; }
16246 if test ${ac_cv_lib_pcap_pcap_init+y}
16247 then :
16248 printf %s "(cached) " >&6
16249 else $as_nop
16250 ac_check_lib_save_LIBS=$LIBS
16251 LIBS="-lpcap $LIBS"
16252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16253 /* end confdefs.h. */
16255 /* Override any GCC internal prototype to avoid an error.
16256 Use char because int might match the return type of a GCC
16257 builtin and then its argument prototype would still apply. */
16258 char pcap_init ();
16260 main (void)
16262 return pcap_init ();
16264 return 0;
16266 _ACEOF
16267 if ac_fn_c_try_link "$LINENO"
16268 then :
16269 ac_cv_lib_pcap_pcap_init=yes
16270 else $as_nop
16271 ac_cv_lib_pcap_pcap_init=no
16273 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16274 conftest$ac_exeext conftest.$ac_ext
16275 LIBS=$ac_check_lib_save_LIBS
16277 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_init" >&5
16278 printf "%s\n" "$ac_cv_lib_pcap_pcap_init" >&6; }
16279 if test "x$ac_cv_lib_pcap_pcap_init" = xyes
16280 then :
16281 PCAP_LIBS="-lpcap"
16286 if test "x$ac_cv_lib_pcap_pcap_init" != xyes
16287 then :
16288 case "x$with_pcap" in
16289 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
16290 xno) ;;
16291 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
16292 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
16293 esac
16294 enable_wpcap=${enable_wpcap:-no}
16297 if test "x$with_pcsclite" != "xno"
16298 then
16299 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for SCardEstablishContext in -lpcsclite" >&5
16300 printf %s "checking for SCardEstablishContext in -lpcsclite... " >&6; }
16301 if test ${ac_cv_lib_pcsclite_SCardEstablishContext+y}
16302 then :
16303 printf %s "(cached) " >&6
16304 else $as_nop
16305 ac_check_lib_save_LIBS=$LIBS
16306 LIBS="-lpcsclite $LIBS"
16307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16308 /* end confdefs.h. */
16310 /* Override any GCC internal prototype to avoid an error.
16311 Use char because int might match the return type of a GCC
16312 builtin and then its argument prototype would still apply. */
16313 char SCardEstablishContext ();
16315 main (void)
16317 return SCardEstablishContext ();
16319 return 0;
16321 _ACEOF
16322 if ac_fn_c_try_link "$LINENO"
16323 then :
16324 ac_cv_lib_pcsclite_SCardEstablishContext=yes
16325 else $as_nop
16326 ac_cv_lib_pcsclite_SCardEstablishContext=no
16328 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16329 conftest$ac_exeext conftest.$ac_ext
16330 LIBS=$ac_check_lib_save_LIBS
16332 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcsclite_SCardEstablishContext" >&5
16333 printf "%s\n" "$ac_cv_lib_pcsclite_SCardEstablishContext" >&6; }
16334 if test "x$ac_cv_lib_pcsclite_SCardEstablishContext" = xyes
16335 then :
16336 PCSCLITE_LIBS="-lpcsclite"
16338 else $as_nop
16339 case $host_os in
16340 darwin*|macosx*) PCSCLITE_LIBS="-framework PCSC"
16342 esac
16346 if test "x$PCSCLITE_LIBS" = x
16347 then :
16348 case "x$with_pcsclite" in
16349 x) as_fn_append wine_notices "|libpcsclite not found, smart cards won't be supported." ;;
16350 xno) ;;
16351 *) as_fn_error $? "libpcsclite not found, smart cards won't be supported.
16352 This is an error since --with-pcsclite was requested." "$LINENO" 5 ;;
16353 esac
16354 enable_winscard=${enable_winscard:-no}
16357 if test "x$with_inotify" != "xno"
16358 then
16359 rm -f conftest.err
16360 if ${INOTIFY_CFLAGS:+false} :
16361 then :
16362 if test ${PKG_CONFIG+y}
16363 then :
16364 INOTIFY_CFLAGS=`$PKG_CONFIG --cflags libinotify 2>conftest.err`
16368 if ${INOTIFY_LIBS:+false} :
16369 then :
16370 if test ${PKG_CONFIG+y}
16371 then :
16372 INOTIFY_LIBS=`$PKG_CONFIG --libs libinotify 2>/dev/null`
16377 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
16378 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
16379 if test -s conftest.err; then
16380 printf %s "$as_me:${as_lineno-$LINENO}: libinotify errors: " >&5
16381 cat conftest.err >&5
16383 rm -f conftest.err
16384 ac_save_CPPFLAGS=$CPPFLAGS
16385 CPPFLAGS="$CPPFLAGS $INOTIFY_CFLAGS"
16386 ac_fn_c_check_header_compile "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
16387 if test "x$ac_cv_header_sys_inotify_h" = xyes
16388 then :
16389 printf "%s\n" "#define HAVE_SYS_INOTIFY_H 1" >>confdefs.h
16393 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
16394 printf %s "checking for inotify_add_watch in -linotify... " >&6; }
16395 if test ${ac_cv_lib_inotify_inotify_add_watch+y}
16396 then :
16397 printf %s "(cached) " >&6
16398 else $as_nop
16399 ac_check_lib_save_LIBS=$LIBS
16400 LIBS="-linotify $INOTIFY_LIBS $LIBS"
16401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16402 /* end confdefs.h. */
16404 /* Override any GCC internal prototype to avoid an error.
16405 Use char because int might match the return type of a GCC
16406 builtin and then its argument prototype would still apply. */
16407 char inotify_add_watch ();
16409 main (void)
16411 return inotify_add_watch ();
16413 return 0;
16415 _ACEOF
16416 if ac_fn_c_try_link "$LINENO"
16417 then :
16418 ac_cv_lib_inotify_inotify_add_watch=yes
16419 else $as_nop
16420 ac_cv_lib_inotify_inotify_add_watch=no
16422 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16423 conftest$ac_exeext conftest.$ac_ext
16424 LIBS=$ac_check_lib_save_LIBS
16426 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
16427 printf "%s\n" "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
16428 if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes
16429 then :
16431 else $as_nop
16432 INOTIFY_LIBS=""
16435 CPPFLAGS=$ac_save_CPPFLAGS
16438 if test "$ac_cv_header_sys_inotify_h" != "yes"
16439 then :
16440 case "x$with_inotify" in
16441 x) as_fn_append wine_notices "|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
16442 xno) ;;
16443 *) as_fn_error $? "libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
16444 This is an error since --with-inotify was requested." "$LINENO" 5 ;;
16445 esac
16449 if test "x$with_dbus" != "xno"
16450 then
16451 rm -f conftest.err
16452 if ${DBUS_CFLAGS:+false} :
16453 then :
16454 if test ${PKG_CONFIG+y}
16455 then :
16456 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>conftest.err`
16460 if ${DBUS_LIBS:+false} :
16461 then :
16462 if test ${PKG_CONFIG+y}
16463 then :
16464 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
16469 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
16470 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
16471 if test -s conftest.err; then
16472 printf %s "$as_me:${as_lineno-$LINENO}: dbus-1 errors: " >&5
16473 cat conftest.err >&5
16475 rm -f conftest.err
16476 ac_save_CPPFLAGS=$CPPFLAGS
16477 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
16478 ac_fn_c_check_header_compile "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
16479 if test "x$ac_cv_header_dbus_dbus_h" = xyes
16480 then :
16481 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
16482 printf %s "checking for -ldbus-1... " >&6; }
16483 if test ${ac_cv_lib_soname_dbus_1+y}
16484 then :
16485 printf %s "(cached) " >&6
16486 else $as_nop
16487 ac_check_soname_save_LIBS=$LIBS
16488 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
16489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16490 /* end confdefs.h. */
16492 /* Override any GCC internal prototype to avoid an error.
16493 Use char because int might match the return type of a GCC
16494 builtin and then its argument prototype would still apply. */
16495 char dbus_connection_close ();
16497 main (void)
16499 return dbus_connection_close ();
16501 return 0;
16503 _ACEOF
16504 if ac_fn_c_try_link "$LINENO"
16505 then :
16506 case "$LIBEXT" in
16507 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16508 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'` ;;
16509 *) 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'`
16510 if ${ac_cv_lib_soname_dbus_1:+false} :
16511 then :
16512 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16513 fi ;;
16514 esac
16515 else $as_nop
16516 ac_cv_lib_soname_dbus_1=
16518 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16519 conftest$ac_exeext conftest.$ac_ext
16520 LIBS=$ac_check_soname_save_LIBS
16522 if ${ac_cv_lib_soname_dbus_1:+false} :
16523 then :
16524 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16525 printf "%s\n" "not found" >&6; }
16526 DBUS_CFLAGS=""
16527 else $as_nop
16528 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
16529 printf "%s\n" "$ac_cv_lib_soname_dbus_1" >&6; }
16531 printf "%s\n" "#define SONAME_LIBDBUS_1 \"$ac_cv_lib_soname_dbus_1\"" >>confdefs.h
16535 else $as_nop
16536 DBUS_CFLAGS=""
16539 CPPFLAGS=$ac_save_CPPFLAGS
16542 case $host_os in
16543 darwin*|macosx*) ;;
16544 *) if test "x$ac_cv_lib_soname_dbus_1" = "x"
16545 then :
16546 case "x$with_dbus" in
16547 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
16548 xno) ;;
16549 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
16550 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
16551 esac
16553 fi ;;
16554 esac
16556 if test "x$with_gnutls" != "xno"
16557 then
16558 rm -f conftest.err
16559 if ${GNUTLS_CFLAGS:+false} :
16560 then :
16561 if test ${PKG_CONFIG+y}
16562 then :
16563 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>conftest.err`
16567 if ${GNUTLS_LIBS:+false} :
16568 then :
16569 if test ${PKG_CONFIG+y}
16570 then :
16571 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
16575 GNUTLS_LIBS=${GNUTLS_LIBS:-"-lgnutls"}
16576 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
16577 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
16578 if test -s conftest.err; then
16579 printf %s "$as_me:${as_lineno-$LINENO}: gnutls errors: " >&5
16580 cat conftest.err >&5
16582 rm -f conftest.err
16583 ac_save_CPPFLAGS=$CPPFLAGS
16584 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
16585 ac_fn_c_check_header_compile "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
16586 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
16587 then :
16588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16589 /* end confdefs.h. */
16590 #include <gnutls/gnutls.h>
16591 #include <gnutls/crypto.h>
16593 main (void)
16595 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
16597 return 0;
16599 _ACEOF
16600 if ac_fn_c_try_compile "$LINENO"
16601 then :
16602 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
16603 printf %s "checking for -lgnutls... " >&6; }
16604 if test ${ac_cv_lib_soname_gnutls+y}
16605 then :
16606 printf %s "(cached) " >&6
16607 else $as_nop
16608 ac_check_soname_save_LIBS=$LIBS
16609 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
16610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16611 /* end confdefs.h. */
16613 /* Override any GCC internal prototype to avoid an error.
16614 Use char because int might match the return type of a GCC
16615 builtin and then its argument prototype would still apply. */
16616 char gnutls_global_init ();
16618 main (void)
16620 return gnutls_global_init ();
16622 return 0;
16624 _ACEOF
16625 if ac_fn_c_try_link "$LINENO"
16626 then :
16627 case "$LIBEXT" in
16628 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16629 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'` ;;
16630 *) 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'`
16631 if ${ac_cv_lib_soname_gnutls:+false} :
16632 then :
16633 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'`
16634 fi ;;
16635 esac
16636 else $as_nop
16637 ac_cv_lib_soname_gnutls=
16639 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16640 conftest$ac_exeext conftest.$ac_ext
16641 LIBS=$ac_check_soname_save_LIBS
16643 if ${ac_cv_lib_soname_gnutls:+false} :
16644 then :
16645 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16646 printf "%s\n" "not found" >&6; }
16647 GNUTLS_CFLAGS=""
16648 else $as_nop
16649 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
16650 printf "%s\n" "$ac_cv_lib_soname_gnutls" >&6; }
16652 printf "%s\n" "#define SONAME_LIBGNUTLS \"$ac_cv_lib_soname_gnutls\"" >>confdefs.h
16656 ac_wine_check_funcs_save_LIBS="$LIBS"
16657 LIBS="$LIBS $GNUTLS_LIBS"
16659 for ac_func in gnutls_cipher_init
16660 do :
16661 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
16662 if test "x$ac_cv_func_gnutls_cipher_init" = xyes
16663 then :
16664 printf "%s\n" "#define HAVE_GNUTLS_CIPHER_INIT 1" >>confdefs.h
16666 else $as_nop
16667 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
16670 done
16671 LIBS="$ac_wine_check_funcs_save_LIBS"
16673 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
16674 else $as_nop
16675 GNUTLS_CFLAGS=""
16678 CPPFLAGS=$ac_save_CPPFLAGS
16681 if test "x$ac_cv_lib_soname_gnutls" = "x"
16682 then :
16683 case "x$with_gnutls" in
16684 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
16685 xno) ;;
16686 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
16687 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
16688 esac
16692 if test "x$with_sane" != "xno"
16693 then
16694 rm -f conftest.err
16695 if ${SANE_CFLAGS:+false} :
16696 then :
16697 if test ${PKG_CONFIG+y}
16698 then :
16699 SANE_CFLAGS=`$PKG_CONFIG --cflags sane-backends 2>conftest.err`
16702 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
16703 if ${SANE_LIBS:+false} :
16704 then :
16705 if test ${PKG_CONFIG+y}
16706 then :
16707 SANE_LIBS=`$PKG_CONFIG --libs sane-backends 2>/dev/null`
16710 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
16712 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends cflags: $SANE_CFLAGS" >&5
16713 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends libs: $SANE_LIBS" >&5
16714 if test -s conftest.err; then
16715 printf %s "$as_me:${as_lineno-$LINENO}: sane-backends errors: " >&5
16716 cat conftest.err >&5
16718 rm -f conftest.err
16719 ac_save_CPPFLAGS=$CPPFLAGS
16720 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
16721 ac_fn_c_check_header_compile "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
16722 if test "x$ac_cv_header_sane_sane_h" = xyes
16723 then :
16724 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sane_init in -lsane" >&5
16725 printf %s "checking for sane_init in -lsane... " >&6; }
16726 if test ${ac_cv_lib_sane_sane_init+y}
16727 then :
16728 printf %s "(cached) " >&6
16729 else $as_nop
16730 ac_check_lib_save_LIBS=$LIBS
16731 LIBS="-lsane $SANE_LIBS $LIBS"
16732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16733 /* end confdefs.h. */
16735 /* Override any GCC internal prototype to avoid an error.
16736 Use char because int might match the return type of a GCC
16737 builtin and then its argument prototype would still apply. */
16738 char sane_init ();
16740 main (void)
16742 return sane_init ();
16744 return 0;
16746 _ACEOF
16747 if ac_fn_c_try_link "$LINENO"
16748 then :
16749 ac_cv_lib_sane_sane_init=yes
16750 else $as_nop
16751 ac_cv_lib_sane_sane_init=no
16753 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16754 conftest$ac_exeext conftest.$ac_ext
16755 LIBS=$ac_check_lib_save_LIBS
16757 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sane_sane_init" >&5
16758 printf "%s\n" "$ac_cv_lib_sane_sane_init" >&6; }
16759 if test "x$ac_cv_lib_sane_sane_init" = xyes
16760 then :
16766 CPPFLAGS=$ac_save_CPPFLAGS
16769 if test "$ac_cv_lib_sane_sane_init" != "yes"
16770 then :
16771 case "x$with_sane" in
16772 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
16773 xno) ;;
16774 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
16775 This is an error since --with-sane was requested." "$LINENO" 5 ;;
16776 esac
16777 enable_sane_ds=${enable_sane_ds:-no}
16780 if test "x$with_usb" != "xno"
16781 then
16782 rm -f conftest.err
16783 if ${USB_CFLAGS:+false} :
16784 then :
16785 if test ${PKG_CONFIG+y}
16786 then :
16787 USB_CFLAGS=`$PKG_CONFIG --cflags libusb-1.0 2>conftest.err`
16791 if ${USB_LIBS:+false} :
16792 then :
16793 if test ${PKG_CONFIG+y}
16794 then :
16795 USB_LIBS=`$PKG_CONFIG --libs libusb-1.0 2>/dev/null`
16799 USB_LIBS=${USB_LIBS:-"-lusb-1.0"}
16800 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 cflags: $USB_CFLAGS" >&5
16801 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 libs: $USB_LIBS" >&5
16802 if test -s conftest.err; then
16803 printf %s "$as_me:${as_lineno-$LINENO}: libusb-1.0 errors: " >&5
16804 cat conftest.err >&5
16806 rm -f conftest.err
16807 ac_save_CPPFLAGS=$CPPFLAGS
16808 CPPFLAGS="$CPPFLAGS $USB_CFLAGS"
16809 ac_fn_c_check_header_compile "$LINENO" "libusb.h" "ac_cv_header_libusb_h" "$ac_includes_default"
16810 if test "x$ac_cv_header_libusb_h" = xyes
16811 then :
16812 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libusb_interrupt_event_handler in -lusb-1.0" >&5
16813 printf %s "checking for libusb_interrupt_event_handler in -lusb-1.0... " >&6; }
16814 if test ${ac_cv_lib_usb_1_0_libusb_interrupt_event_handler+y}
16815 then :
16816 printf %s "(cached) " >&6
16817 else $as_nop
16818 ac_check_lib_save_LIBS=$LIBS
16819 LIBS="-lusb-1.0 $USB_LIBS $LIBS"
16820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16821 /* end confdefs.h. */
16823 /* Override any GCC internal prototype to avoid an error.
16824 Use char because int might match the return type of a GCC
16825 builtin and then its argument prototype would still apply. */
16826 char libusb_interrupt_event_handler ();
16828 main (void)
16830 return libusb_interrupt_event_handler ();
16832 return 0;
16834 _ACEOF
16835 if ac_fn_c_try_link "$LINENO"
16836 then :
16837 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=yes
16838 else $as_nop
16839 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=no
16841 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16842 conftest$ac_exeext conftest.$ac_ext
16843 LIBS=$ac_check_lib_save_LIBS
16845 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&5
16846 printf "%s\n" "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&6; }
16847 if test "x$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" = xyes
16848 then :
16850 else $as_nop
16851 USB_LIBS=""
16854 else $as_nop
16855 USB_LIBS=""
16858 CPPFLAGS=$ac_save_CPPFLAGS
16861 if test "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" != "yes"
16862 then :
16863 case "x$with_usb" in
16864 x) as_fn_append wine_notices "|libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported." ;;
16865 xno) ;;
16866 *) as_fn_error $? "libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported.
16867 This is an error since --with-usb was requested." "$LINENO" 5 ;;
16868 esac
16869 enable_wineusb_sys=${enable_wineusb_sys:-no}
16872 if test "x$with_v4l2" != "xno"
16873 then
16874 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
16875 printf %s "checking for -lv4l2... " >&6; }
16876 if test ${ac_cv_lib_soname_v4l2+y}
16877 then :
16878 printf %s "(cached) " >&6
16879 else $as_nop
16880 ac_check_soname_save_LIBS=$LIBS
16881 LIBS="-lv4l2 $LIBS"
16882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16883 /* end confdefs.h. */
16885 /* Override any GCC internal prototype to avoid an error.
16886 Use char because int might match the return type of a GCC
16887 builtin and then its argument prototype would still apply. */
16888 char v4l2_open ();
16890 main (void)
16892 return v4l2_open ();
16894 return 0;
16896 _ACEOF
16897 if ac_fn_c_try_link "$LINENO"
16898 then :
16899 case "$LIBEXT" in
16900 dll) ac_cv_lib_soname_v4l2=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16901 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'` ;;
16902 *) ac_cv_lib_soname_v4l2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16903 if ${ac_cv_lib_soname_v4l2:+false} :
16904 then :
16905 ac_cv_lib_soname_v4l2=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16906 fi ;;
16907 esac
16908 else $as_nop
16909 ac_cv_lib_soname_v4l2=
16911 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16912 conftest$ac_exeext conftest.$ac_ext
16913 LIBS=$ac_check_soname_save_LIBS
16915 if ${ac_cv_lib_soname_v4l2:+false} :
16916 then :
16917 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16918 printf "%s\n" "not found" >&6; }
16920 else $as_nop
16921 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
16922 printf "%s\n" "$ac_cv_lib_soname_v4l2" >&6; }
16924 printf "%s\n" "#define SONAME_LIBV4L2 \"$ac_cv_lib_soname_v4l2\"" >>confdefs.h
16929 if test "x$ac_cv_lib_soname_v4l2" = "x"
16930 then :
16931 case "x$with_v4l2" in
16932 x) as_fn_append wine_notices "|libv4l2 ${notice_platform}development files not found." ;;
16933 xno) ;;
16934 *) as_fn_error $? "libv4l2 ${notice_platform}development files not found.
16935 This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
16936 esac
16940 if test "x$with_gphoto" != "xno"
16941 then
16942 rm -f conftest.err
16943 if ${GPHOTO2_CFLAGS:+false} :
16944 then :
16945 if test ${PKG_CONFIG+y}
16946 then :
16947 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>conftest.err`
16950 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
16951 if ${GPHOTO2_LIBS:+false} :
16952 then :
16953 if test ${PKG_CONFIG+y}
16954 then :
16955 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
16958 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
16959 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
16960 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
16961 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
16962 if test -s conftest.err; then
16963 printf %s "$as_me:${as_lineno-$LINENO}: libgphoto2 errors: " >&5
16964 cat conftest.err >&5
16966 rm -f conftest.err
16967 ac_save_CPPFLAGS=$CPPFLAGS
16968 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
16969 ac_fn_c_check_header_compile "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
16970 if test "x$ac_cv_header_gphoto2_camera_h" = xyes
16971 then :
16972 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
16973 printf %s "checking for gp_camera_new in -lgphoto2... " >&6; }
16974 if test ${ac_cv_lib_gphoto2_gp_camera_new+y}
16975 then :
16976 printf %s "(cached) " >&6
16977 else $as_nop
16978 ac_check_lib_save_LIBS=$LIBS
16979 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
16980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16981 /* end confdefs.h. */
16983 /* Override any GCC internal prototype to avoid an error.
16984 Use char because int might match the return type of a GCC
16985 builtin and then its argument prototype would still apply. */
16986 char gp_camera_new ();
16988 main (void)
16990 return gp_camera_new ();
16992 return 0;
16994 _ACEOF
16995 if ac_fn_c_try_link "$LINENO"
16996 then :
16997 ac_cv_lib_gphoto2_gp_camera_new=yes
16998 else $as_nop
16999 ac_cv_lib_gphoto2_gp_camera_new=no
17001 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17002 conftest$ac_exeext conftest.$ac_ext
17003 LIBS=$ac_check_lib_save_LIBS
17005 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
17006 printf "%s\n" "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
17007 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
17008 then :
17014 CPPFLAGS=$ac_save_CPPFLAGS
17016 rm -f conftest.err
17017 if ${GPHOTO2_PORT_CFLAGS:+false} :
17018 then :
17019 if test ${PKG_CONFIG+y}
17020 then :
17021 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>conftest.err`
17024 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
17025 if ${GPHOTO2_PORT_LIBS:+false} :
17026 then :
17027 if test ${PKG_CONFIG+y}
17028 then :
17029 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
17032 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
17033 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
17034 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
17035 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
17036 if test -s conftest.err; then
17037 printf %s "$as_me:${as_lineno-$LINENO}: libgphoto2_port errors: " >&5
17038 cat conftest.err >&5
17040 rm -f conftest.err
17041 ac_save_CPPFLAGS=$CPPFLAGS
17042 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
17043 ac_fn_c_check_header_compile "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
17044 if test "x$ac_cv_header_gphoto2_port_h" = xyes
17045 then :
17046 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
17047 printf %s "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
17048 if test ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+y}
17049 then :
17050 printf %s "(cached) " >&6
17051 else $as_nop
17052 ac_check_lib_save_LIBS=$LIBS
17053 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
17054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17055 /* end confdefs.h. */
17057 /* Override any GCC internal prototype to avoid an error.
17058 Use char because int might match the return type of a GCC
17059 builtin and then its argument prototype would still apply. */
17060 char gp_port_info_list_new ();
17062 main (void)
17064 return gp_port_info_list_new ();
17066 return 0;
17068 _ACEOF
17069 if ac_fn_c_try_link "$LINENO"
17070 then :
17071 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
17072 else $as_nop
17073 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
17075 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17076 conftest$ac_exeext conftest.$ac_ext
17077 LIBS=$ac_check_lib_save_LIBS
17079 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
17080 printf "%s\n" "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
17081 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes
17082 then :
17084 printf "%s\n" "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
17086 else $as_nop
17087 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
17090 else $as_nop
17091 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
17094 CPPFLAGS=$ac_save_CPPFLAGS
17097 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"
17098 then :
17099 case "x$with_gphoto" in
17100 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
17101 xno) ;;
17102 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
17103 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
17104 esac
17105 enable_gphoto2_ds=${enable_gphoto2_ds:-no}
17107 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"
17108 then :
17109 case "x$with_gphoto" in
17110 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
17111 xno) ;;
17112 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
17113 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
17114 esac
17119 if test "$ac_cv_header_resolv_h" = "yes"
17120 then
17121 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
17122 printf %s "checking for resolver library... " >&6; }
17123 if test ${ac_cv_have_resolv+y}
17124 then :
17125 printf %s "(cached) " >&6
17126 else $as_nop
17127 ac_save_LIBS="$LIBS"
17128 for lib in '' -lresolv
17130 LIBS="$lib $ac_save_LIBS"
17131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17132 /* end confdefs.h. */
17133 #ifdef HAVE_NETINET_IN_H
17134 #include <netinet/in.h>
17135 #endif
17136 #include <resolv.h>
17138 main (void)
17140 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0); ns_initparse(0,0,0)
17142 return 0;
17144 _ACEOF
17145 if ac_fn_c_try_link "$LINENO"
17146 then :
17147 ac_cv_have_resolv=${lib:-"none required"}
17148 else $as_nop
17149 ac_cv_have_resolv="not found"
17151 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17152 conftest$ac_exeext conftest.$ac_ext
17153 test "x$ac_cv_have_resolv" = "xnot found" || break
17154 done
17155 LIBS="$ac_save_LIBS"
17157 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
17158 printf "%s\n" "$ac_cv_have_resolv" >&6; }
17160 case "$ac_cv_have_resolv" in
17161 "not found") ;;
17162 "none required")
17164 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
17167 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
17169 RESOLV_LIBS=$ac_cv_have_resolv
17171 esac
17173 if test "x$ac_cv_have_resolv" != "xnot found"
17174 then
17175 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for res_getservers" >&5
17176 printf %s "checking for res_getservers... " >&6; }
17177 if test ${ac_cv_have_res_getservers+y}
17178 then :
17179 printf %s "(cached) " >&6
17180 else $as_nop
17181 ac_save_LIBS="$LIBS"
17182 LIBS="$RESOLV_LIBS $LIBS"
17183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17184 /* end confdefs.h. */
17185 #include <resolv.h>
17187 main (void)
17189 res_getservers(NULL, NULL, 0);
17191 return 0;
17193 _ACEOF
17194 if ac_fn_c_try_link "$LINENO"
17195 then :
17196 ac_cv_have_res_getservers=yes
17197 else $as_nop
17198 ac_cv_have_res_getservers=no
17200 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17201 conftest$ac_exeext conftest.$ac_ext
17202 LIBS="$ac_save_LIBS"
17204 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_res_getservers" >&5
17205 printf "%s\n" "$ac_cv_have_res_getservers" >&6; }
17206 if test "$ac_cv_have_res_getservers" = "yes"
17207 then
17209 printf "%s\n" "#define HAVE_RES_GETSERVERS 1" >>confdefs.h
17215 if test "x$with_freetype" != "xno"
17216 then
17217 rm -f conftest.err
17218 if ${FREETYPE_CFLAGS:+false} :
17219 then :
17220 if test ${PKG_CONFIG+y}
17221 then :
17222 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>conftest.err`
17225 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
17226 if ${FREETYPE_LIBS:+false} :
17227 then :
17228 if test ${PKG_CONFIG+y}
17229 then :
17230 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
17233 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
17234 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
17235 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
17236 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
17237 if test -s conftest.err; then
17238 printf %s "$as_me:${as_lineno-$LINENO}: freetype2 errors: " >&5
17239 cat conftest.err >&5
17241 rm -f conftest.err
17242 ac_save_CPPFLAGS=$CPPFLAGS
17243 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
17244 ac_fn_c_check_header_compile "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
17245 if test "x$ac_cv_header_ft2build_h" = xyes
17246 then :
17247 printf "%s\n" "#define HAVE_FT2BUILD_H 1" >>confdefs.h
17251 if test "$ac_cv_header_ft2build_h" = "yes"
17252 then
17253 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
17254 printf %s "checking for -lfreetype... " >&6; }
17255 if test ${ac_cv_lib_soname_freetype+y}
17256 then :
17257 printf %s "(cached) " >&6
17258 else $as_nop
17259 ac_check_soname_save_LIBS=$LIBS
17260 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
17261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17262 /* end confdefs.h. */
17264 /* Override any GCC internal prototype to avoid an error.
17265 Use char because int might match the return type of a GCC
17266 builtin and then its argument prototype would still apply. */
17267 char FT_Init_FreeType ();
17269 main (void)
17271 return FT_Init_FreeType ();
17273 return 0;
17275 _ACEOF
17276 if ac_fn_c_try_link "$LINENO"
17277 then :
17278 case "$LIBEXT" in
17279 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17280 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'` ;;
17281 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17282 if ${ac_cv_lib_soname_freetype:+false} :
17283 then :
17284 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17285 fi ;;
17286 esac
17287 else $as_nop
17288 ac_cv_lib_soname_freetype=
17290 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17291 conftest$ac_exeext conftest.$ac_ext
17292 LIBS=$ac_check_soname_save_LIBS
17294 if ${ac_cv_lib_soname_freetype:+false} :
17295 then :
17296 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17297 printf "%s\n" "not found" >&6; }
17298 FREETYPE_LIBS=""
17299 else $as_nop
17300 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
17301 printf "%s\n" "$ac_cv_lib_soname_freetype" >&6; }
17303 printf "%s\n" "#define SONAME_LIBFREETYPE \"$ac_cv_lib_soname_freetype\"" >>confdefs.h
17306 printf "%s\n" "#define HAVE_FREETYPE 1" >>confdefs.h
17308 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
17309 #include FT_MODULE_H
17311 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
17312 then :
17314 printf "%s\n" "#define HAVE_FT_TRUETYPEENGINETYPE 1" >>confdefs.h
17320 else
17321 FREETYPE_CFLAGS=""
17322 FREETYPE_LIBS=""
17324 CPPFLAGS=$ac_save_CPPFLAGS
17327 if test "x$ac_cv_lib_soname_freetype" = x
17328 then :
17329 case "x$with_freetype" in
17330 xno) ;;
17331 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
17332 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
17333 esac
17334 enable_fonts=${enable_fonts:-no}
17337 ac_wine_check_funcs_save_LIBS="$LIBS"
17338 LIBS="$LIBS $PTHREAD_LIBS"
17339 ac_fn_c_check_func "$LINENO" "pthread_getthreadid_np" "ac_cv_func_pthread_getthreadid_np"
17340 if test "x$ac_cv_func_pthread_getthreadid_np" = xyes
17341 then :
17342 printf "%s\n" "#define HAVE_PTHREAD_GETTHREADID_NP 1" >>confdefs.h
17346 LIBS="$ac_wine_check_funcs_save_LIBS"
17348 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
17349 then
17350 if test "$ac_cv_header_gettext_po_h" = "yes"
17351 then
17352 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
17353 printf %s "checking for po_message_msgctxt in -lgettextpo... " >&6; }
17354 if test ${ac_cv_lib_gettextpo_po_message_msgctxt+y}
17355 then :
17356 printf %s "(cached) " >&6
17357 else $as_nop
17358 ac_check_lib_save_LIBS=$LIBS
17359 LIBS="-lgettextpo $LIBS"
17360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17361 /* end confdefs.h. */
17363 /* Override any GCC internal prototype to avoid an error.
17364 Use char because int might match the return type of a GCC
17365 builtin and then its argument prototype would still apply. */
17366 char po_message_msgctxt ();
17368 main (void)
17370 return po_message_msgctxt ();
17372 return 0;
17374 _ACEOF
17375 if ac_fn_c_try_link "$LINENO"
17376 then :
17377 ac_cv_lib_gettextpo_po_message_msgctxt=yes
17378 else $as_nop
17379 ac_cv_lib_gettextpo_po_message_msgctxt=no
17381 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17382 conftest$ac_exeext conftest.$ac_ext
17383 LIBS=$ac_check_lib_save_LIBS
17385 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
17386 printf "%s\n" "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
17387 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
17388 then :
17390 printf "%s\n" "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
17392 GETTEXTPO_LIBS="-lgettextpo"
17397 if test "x$GETTEXTPO_LIBS" = "x"
17398 then :
17399 case "x$with_gettextpo" in
17400 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
17401 xno) ;;
17402 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
17403 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
17404 esac
17407 if test "$srcdir" != .
17408 then :
17409 case "x$with_gettextpo" in
17410 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
17411 xno) ;;
17412 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
17413 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
17414 esac
17419 if test "x$with_pulse" != "xno";
17420 then
17421 rm -f conftest.err
17422 if ${PULSE_CFLAGS:+false} :
17423 then :
17424 if test ${PKG_CONFIG+y}
17425 then :
17426 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>conftest.err`
17430 if ${PULSE_LIBS:+false} :
17431 then :
17432 if test ${PKG_CONFIG+y}
17433 then :
17434 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
17439 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
17440 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
17441 if test -s conftest.err; then
17442 printf %s "$as_me:${as_lineno-$LINENO}: libpulse errors: " >&5
17443 cat conftest.err >&5
17445 rm -f conftest.err
17446 ac_save_CPPFLAGS=$CPPFLAGS
17447 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
17448 ac_fn_c_check_header_compile "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
17449 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes
17450 then :
17451 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
17452 printf %s "checking for pa_stream_is_corked in -lpulse... " >&6; }
17453 if test ${ac_cv_lib_pulse_pa_stream_is_corked+y}
17454 then :
17455 printf %s "(cached) " >&6
17456 else $as_nop
17457 ac_check_lib_save_LIBS=$LIBS
17458 LIBS="-lpulse $PULSE_LIBS $LIBS"
17459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17460 /* end confdefs.h. */
17462 /* Override any GCC internal prototype to avoid an error.
17463 Use char because int might match the return type of a GCC
17464 builtin and then its argument prototype would still apply. */
17465 char pa_stream_is_corked ();
17467 main (void)
17469 return pa_stream_is_corked ();
17471 return 0;
17473 _ACEOF
17474 if ac_fn_c_try_link "$LINENO"
17475 then :
17476 ac_cv_lib_pulse_pa_stream_is_corked=yes
17477 else $as_nop
17478 ac_cv_lib_pulse_pa_stream_is_corked=no
17480 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17481 conftest$ac_exeext conftest.$ac_ext
17482 LIBS=$ac_check_lib_save_LIBS
17484 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
17485 printf "%s\n" "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
17486 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes
17487 then :
17489 else $as_nop
17490 PULSE_LIBS=""
17493 else $as_nop
17494 PULSE_LIBS=""
17497 CPPFLAGS=$ac_save_CPPFLAGS
17500 if test -z "$PULSE_LIBS"
17501 then :
17502 case "x$with_pulse" in
17503 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
17504 xno) ;;
17505 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
17506 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
17507 esac
17508 enable_winepulse_drv=${enable_winepulse_drv:-no}
17511 if test "x$with_gstreamer" != "xno"
17512 then
17513 rm -f conftest.err
17514 if ${GSTREAMER_CFLAGS:+false} :
17515 then :
17516 if test ${PKG_CONFIG+y}
17517 then :
17518 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 2>conftest.err`
17522 if ${GSTREAMER_LIBS:+false} :
17523 then :
17524 if test ${PKG_CONFIG+y}
17525 then :
17526 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 2>/dev/null`
17531 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
17532 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
17533 if test -s conftest.err; then
17534 printf %s "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 errors: " >&5
17535 cat conftest.err >&5
17537 rm -f conftest.err
17538 ac_save_CPPFLAGS=$CPPFLAGS
17539 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
17540 ac_fn_c_check_header_compile "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
17541 if test "x$ac_cv_header_gst_gst_h" = xyes
17542 then :
17543 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
17544 printf %s "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
17545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17546 /* end confdefs.h. */
17547 #include <gst/gst.h>
17549 main (void)
17551 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
17553 return 0;
17555 _ACEOF
17556 if ac_fn_c_try_compile "$LINENO"
17557 then :
17558 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17559 printf "%s\n" "yes" >&6; }
17560 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
17561 printf %s "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
17562 if test ${ac_cv_lib_gstreamer_1_0_gst_pad_new+y}
17563 then :
17564 printf %s "(cached) " >&6
17565 else $as_nop
17566 ac_check_lib_save_LIBS=$LIBS
17567 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
17568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17569 /* end confdefs.h. */
17571 /* Override any GCC internal prototype to avoid an error.
17572 Use char because int might match the return type of a GCC
17573 builtin and then its argument prototype would still apply. */
17574 char gst_pad_new ();
17576 main (void)
17578 return gst_pad_new ();
17580 return 0;
17582 _ACEOF
17583 if ac_fn_c_try_link "$LINENO"
17584 then :
17585 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
17586 else $as_nop
17587 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
17589 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17590 conftest$ac_exeext conftest.$ac_ext
17591 LIBS=$ac_check_lib_save_LIBS
17593 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
17594 printf "%s\n" "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
17595 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes
17596 then :
17600 else $as_nop
17601 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
17602 printf "%s\n" "no" >&6; }
17603 ac_glib2_broken=yes
17604 enable_winegstreamer=${enable_winegstreamer:-no}
17605 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
17607 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
17610 CPPFLAGS=$ac_save_CPPFLAGS
17613 if test "x$ac_glib2_broken" != xyes -a "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" != xyes
17614 then :
17615 case "x$with_gstreamer" in
17616 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
17617 xno) ;;
17618 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
17619 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
17620 esac
17621 enable_winegstreamer=${enable_winegstreamer:-no}
17624 ALSA_LIBS=""
17626 if test "x$with_alsa" != "xno"
17627 then
17628 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
17629 printf %s "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
17630 if test ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+y}
17631 then :
17632 printf %s "(cached) " >&6
17633 else $as_nop
17634 ac_check_lib_save_LIBS=$LIBS
17635 LIBS="-lasound $LIBS"
17636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17637 /* end confdefs.h. */
17639 /* Override any GCC internal prototype to avoid an error.
17640 Use char because int might match the return type of a GCC
17641 builtin and then its argument prototype would still apply. */
17642 char snd_pcm_hw_params_get_access_mask ();
17644 main (void)
17646 return snd_pcm_hw_params_get_access_mask ();
17648 return 0;
17650 _ACEOF
17651 if ac_fn_c_try_link "$LINENO"
17652 then :
17653 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
17654 else $as_nop
17655 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
17657 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17658 conftest$ac_exeext conftest.$ac_ext
17659 LIBS=$ac_check_lib_save_LIBS
17661 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
17662 printf "%s\n" "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
17663 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
17664 then :
17665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17666 /* end confdefs.h. */
17667 #include <alsa/asoundlib.h>
17669 main (void)
17671 snd_pcm_hw_params_get_access_mask(NULL, NULL)
17673 return 0;
17675 _ACEOF
17676 if ac_fn_c_try_compile "$LINENO"
17677 then :
17678 ALSA_LIBS="-lasound"
17680 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
17684 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
17686 if test "x$with_oss" != xno
17687 then
17688 ac_save_CPPFLAGS="$CPPFLAGS"
17689 if test -f /etc/oss.conf
17690 then
17691 . /etc/oss.conf
17693 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
17694 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
17695 ac_fn_c_check_header_compile "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
17696 if test "x$ac_cv_header_sys_soundcard_h" = xyes
17697 then :
17698 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
17700 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
17701 then :
17703 printf "%s\n" "#define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1" >>confdefs.h
17705 OSS4_CFLAGS="$ac_oss_incl"
17707 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
17708 printf %s "checking for _oss_ioctl in -lossaudio... " >&6; }
17709 if test ${ac_cv_lib_ossaudio__oss_ioctl+y}
17710 then :
17711 printf %s "(cached) " >&6
17712 else $as_nop
17713 ac_check_lib_save_LIBS=$LIBS
17714 LIBS="-lossaudio $LIBS"
17715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17716 /* end confdefs.h. */
17718 /* Override any GCC internal prototype to avoid an error.
17719 Use char because int might match the return type of a GCC
17720 builtin and then its argument prototype would still apply. */
17721 char _oss_ioctl ();
17723 main (void)
17725 return _oss_ioctl ();
17727 return 0;
17729 _ACEOF
17730 if ac_fn_c_try_link "$LINENO"
17731 then :
17732 ac_cv_lib_ossaudio__oss_ioctl=yes
17733 else $as_nop
17734 ac_cv_lib_ossaudio__oss_ioctl=no
17736 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17737 conftest$ac_exeext conftest.$ac_ext
17738 LIBS=$ac_check_lib_save_LIBS
17740 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
17741 printf "%s\n" "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
17742 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
17743 then :
17744 OSS4_LIBS="-lossaudio"
17752 CPPFLAGS="$ac_save_CPPFLAGS"
17754 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
17755 then :
17756 case "x$with_oss" in
17757 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
17758 xno) ;;
17759 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
17760 This is an error since --with-oss was requested." "$LINENO" 5 ;;
17761 esac
17762 enable_wineoss_drv=${enable_wineoss_drv:-no}
17765 if test "x$with_udev" != "xno"
17766 then
17767 rm -f conftest.err
17768 if ${UDEV_CFLAGS:+false} :
17769 then :
17770 if test ${PKG_CONFIG+y}
17771 then :
17772 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>conftest.err`
17776 if ${UDEV_LIBS:+false} :
17777 then :
17778 if test ${PKG_CONFIG+y}
17779 then :
17780 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
17784 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
17785 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
17786 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
17787 if test -s conftest.err; then
17788 printf %s "$as_me:${as_lineno-$LINENO}: libudev errors: " >&5
17789 cat conftest.err >&5
17791 rm -f conftest.err
17792 ac_save_CPPFLAGS=$CPPFLAGS
17793 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
17794 for ac_header in libudev.h
17795 do :
17796 ac_fn_c_check_header_compile "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
17797 if test "x$ac_cv_header_libudev_h" = xyes
17798 then :
17799 printf "%s\n" "#define HAVE_LIBUDEV_H 1" >>confdefs.h
17800 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
17801 printf %s "checking for udev_new in -ludev... " >&6; }
17802 if test ${ac_cv_lib_udev_udev_new+y}
17803 then :
17804 printf %s "(cached) " >&6
17805 else $as_nop
17806 ac_check_lib_save_LIBS=$LIBS
17807 LIBS="-ludev $UDEV_LIBS $LIBS"
17808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17809 /* end confdefs.h. */
17811 /* Override any GCC internal prototype to avoid an error.
17812 Use char because int might match the return type of a GCC
17813 builtin and then its argument prototype would still apply. */
17814 char udev_new ();
17816 main (void)
17818 return udev_new ();
17820 return 0;
17822 _ACEOF
17823 if ac_fn_c_try_link "$LINENO"
17824 then :
17825 ac_cv_lib_udev_udev_new=yes
17826 else $as_nop
17827 ac_cv_lib_udev_udev_new=no
17829 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17830 conftest$ac_exeext conftest.$ac_ext
17831 LIBS=$ac_check_lib_save_LIBS
17833 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
17834 printf "%s\n" "$ac_cv_lib_udev_udev_new" >&6; }
17835 if test "x$ac_cv_lib_udev_udev_new" = xyes
17836 then :
17838 printf "%s\n" "#define HAVE_UDEV 1" >>confdefs.h
17840 else $as_nop
17841 UDEV_LIBS=""
17844 else $as_nop
17845 UDEV_LIBS=""
17848 done
17849 CPPFLAGS=$ac_save_CPPFLAGS
17852 if test "x$UDEV_LIBS" = "x"
17853 then :
17854 case "x$with_udev" in
17855 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
17856 xno) ;;
17857 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
17858 This is an error since --with-udev was requested." "$LINENO" 5 ;;
17859 esac
17863 if test $HOST_ARCH = x86_64
17864 then
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 *-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
17984 if test "x$with_sdl" != "xno"
17985 then
17986 rm -f conftest.err
17987 if ${SDL2_CFLAGS:+false} :
17988 then :
17989 if test ${PKG_CONFIG+y}
17990 then :
17991 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>conftest.err`
17995 if ${SDL2_LIBS:+false} :
17996 then :
17997 if test ${PKG_CONFIG+y}
17998 then :
17999 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
18003 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
18004 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
18005 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
18006 if test -s conftest.err; then
18007 printf %s "$as_me:${as_lineno-$LINENO}: sdl2 errors: " >&5
18008 cat conftest.err >&5
18010 rm -f conftest.err
18011 ac_save_CPPFLAGS=$CPPFLAGS
18012 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
18013 for ac_header in SDL.h
18014 do :
18015 ac_fn_c_check_header_compile "$LINENO" "SDL.h" "ac_cv_header_SDL_h" "$ac_includes_default"
18016 if test "x$ac_cv_header_SDL_h" = xyes
18017 then :
18018 printf "%s\n" "#define HAVE_SDL_H 1" >>confdefs.h
18019 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
18020 printf %s "checking for -lSDL2... " >&6; }
18021 if test ${ac_cv_lib_soname_SDL2+y}
18022 then :
18023 printf %s "(cached) " >&6
18024 else $as_nop
18025 ac_check_soname_save_LIBS=$LIBS
18026 LIBS="-lSDL2 $SDL2_LIBS $LIBS"
18027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18028 /* end confdefs.h. */
18030 /* Override any GCC internal prototype to avoid an error.
18031 Use char because int might match the return type of a GCC
18032 builtin and then its argument prototype would still apply. */
18033 char SDL_Init ();
18035 main (void)
18037 return SDL_Init ();
18039 return 0;
18041 _ACEOF
18042 if ac_fn_c_try_link "$LINENO"
18043 then :
18044 case "$LIBEXT" in
18045 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18046 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'` ;;
18047 *) 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'`
18048 if ${ac_cv_lib_soname_SDL2:+false} :
18049 then :
18050 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18051 fi ;;
18052 esac
18053 else $as_nop
18054 ac_cv_lib_soname_SDL2=
18056 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18057 conftest$ac_exeext conftest.$ac_ext
18058 LIBS=$ac_check_soname_save_LIBS
18060 if ${ac_cv_lib_soname_SDL2:+false} :
18061 then :
18062 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18063 printf "%s\n" "not found" >&6; }
18065 else $as_nop
18066 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
18067 printf "%s\n" "$ac_cv_lib_soname_SDL2" >&6; }
18069 printf "%s\n" "#define SONAME_LIBSDL2 \"$ac_cv_lib_soname_SDL2\"" >>confdefs.h
18075 done
18076 CPPFLAGS=$ac_save_CPPFLAGS
18079 if test "x$ac_cv_lib_soname_SDL2" = "x"
18080 then :
18081 case "x$with_sdl" in
18082 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
18083 xno) ;;
18084 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
18085 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
18086 esac
18090 if test "x$with_capi" != "xno"
18091 then
18092 rm -f conftest.err
18093 if ${CAPI20_CFLAGS:+false} :
18094 then :
18095 if test ${PKG_CONFIG+y}
18096 then :
18097 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>conftest.err`
18101 if ${CAPI20_LIBS:+false} :
18102 then :
18103 if test ${PKG_CONFIG+y}
18104 then :
18105 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
18110 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
18111 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
18112 if test -s conftest.err; then
18113 printf %s "$as_me:${as_lineno-$LINENO}: capi20 errors: " >&5
18114 cat conftest.err >&5
18116 rm -f conftest.err
18117 ac_save_CPPFLAGS=$CPPFLAGS
18118 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
18119 ac_fn_c_check_header_compile "$LINENO" "capi20.h" "ac_cv_header_capi20_h" "#define __user
18121 if test "x$ac_cv_header_capi20_h" = xyes
18122 then :
18123 printf "%s\n" "#define HAVE_CAPI20_H 1" >>confdefs.h
18126 ac_fn_c_check_header_compile "$LINENO" "linux/capi.h" "ac_cv_header_linux_capi_h" "#define __user
18128 if test "x$ac_cv_header_linux_capi_h" = xyes
18129 then :
18130 printf "%s\n" "#define HAVE_LINUX_CAPI_H 1" >>confdefs.h
18134 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
18135 then
18136 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for capi20_register in -lcapi20" >&5
18137 printf %s "checking for capi20_register in -lcapi20... " >&6; }
18138 if test ${ac_cv_lib_capi20_capi20_register+y}
18139 then :
18140 printf %s "(cached) " >&6
18141 else $as_nop
18142 ac_check_lib_save_LIBS=$LIBS
18143 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
18144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18145 /* end confdefs.h. */
18147 /* Override any GCC internal prototype to avoid an error.
18148 Use char because int might match the return type of a GCC
18149 builtin and then its argument prototype would still apply. */
18150 char capi20_register ();
18152 main (void)
18154 return capi20_register ();
18156 return 0;
18158 _ACEOF
18159 if ac_fn_c_try_link "$LINENO"
18160 then :
18161 ac_cv_lib_capi20_capi20_register=yes
18162 else $as_nop
18163 ac_cv_lib_capi20_capi20_register=no
18165 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18166 conftest$ac_exeext conftest.$ac_ext
18167 LIBS=$ac_check_lib_save_LIBS
18169 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_capi20_capi20_register" >&5
18170 printf "%s\n" "$ac_cv_lib_capi20_capi20_register" >&6; }
18171 if test "x$ac_cv_lib_capi20_capi20_register" = xyes
18172 then :
18174 else $as_nop
18175 CAPI20_LIBS=""
18179 CPPFLAGS=$ac_save_CPPFLAGS
18182 if test "x$ac_cv_lib_capi20_capi20_register" != xyes
18183 then :
18184 case "x$with_capi" in
18185 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
18186 xno) ;;
18187 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
18188 This is an error since --with-capi was requested." "$LINENO" 5 ;;
18189 esac
18190 enable_capi2032=${enable_capi2032:-no}
18193 if test "x$with_cups" != "xno"
18194 then
18195 rm -f conftest.err
18196 if ${CUPS_CFLAGS:+false} :
18197 then :
18198 if test ${PKG_CONFIG+y}
18199 then :
18200 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>conftest.err`
18203 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
18204 if ${CUPS_LIBS:+false} :
18205 then :
18206 if test ${PKG_CONFIG+y}
18207 then :
18208 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
18211 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
18212 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
18213 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
18214 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
18215 if test -s conftest.err; then
18216 printf %s "$as_me:${as_lineno-$LINENO}: cups errors: " >&5
18217 cat conftest.err >&5
18219 rm -f conftest.err
18220 ac_save_CPPFLAGS=$CPPFLAGS
18221 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
18222 ac_fn_c_check_header_compile "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
18223 if test "x$ac_cv_header_cups_cups_h" = xyes
18224 then :
18225 printf "%s\n" "#define HAVE_CUPS_CUPS_H 1" >>confdefs.h
18228 ac_fn_c_check_header_compile "$LINENO" "cups/ppd.h" "ac_cv_header_cups_ppd_h" "$ac_includes_default"
18229 if test "x$ac_cv_header_cups_ppd_h" = xyes
18230 then :
18231 printf "%s\n" "#define HAVE_CUPS_PPD_H 1" >>confdefs.h
18235 if test "$ac_cv_header_cups_cups_h" = "yes"
18236 then
18237 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
18238 printf %s "checking for -lcups... " >&6; }
18239 if test ${ac_cv_lib_soname_cups+y}
18240 then :
18241 printf %s "(cached) " >&6
18242 else $as_nop
18243 ac_check_soname_save_LIBS=$LIBS
18244 LIBS="-lcups $CUPS_LIBS $LIBS"
18245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18246 /* end confdefs.h. */
18248 /* Override any GCC internal prototype to avoid an error.
18249 Use char because int might match the return type of a GCC
18250 builtin and then its argument prototype would still apply. */
18251 char cupsGetDefault ();
18253 main (void)
18255 return cupsGetDefault ();
18257 return 0;
18259 _ACEOF
18260 if ac_fn_c_try_link "$LINENO"
18261 then :
18262 case "$LIBEXT" in
18263 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18264 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'` ;;
18265 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18266 if ${ac_cv_lib_soname_cups:+false} :
18267 then :
18268 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18269 fi ;;
18270 esac
18271 else $as_nop
18272 ac_cv_lib_soname_cups=
18274 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18275 conftest$ac_exeext conftest.$ac_ext
18276 LIBS=$ac_check_soname_save_LIBS
18278 if ${ac_cv_lib_soname_cups:+false} :
18279 then :
18280 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18281 printf "%s\n" "not found" >&6; }
18282 CUPS_LIBS=""
18283 else $as_nop
18284 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
18285 printf "%s\n" "$ac_cv_lib_soname_cups" >&6; }
18287 printf "%s\n" "#define SONAME_LIBCUPS \"$ac_cv_lib_soname_cups\"" >>confdefs.h
18291 else
18292 CUPS_CFLAGS=""
18293 CUPS_LIBS=""
18295 CPPFLAGS=$ac_save_CPPFLAGS
18298 if test "x$ac_cv_lib_soname_cups" = "x"
18299 then :
18300 case "x$with_cups" in
18301 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
18302 xno) ;;
18303 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
18304 This is an error since --with-cups was requested." "$LINENO" 5 ;;
18305 esac
18309 if test "x$with_fontconfig" != "xno"
18310 then
18311 rm -f conftest.err
18312 if ${FONTCONFIG_CFLAGS:+false} :
18313 then :
18314 if test ${PKG_CONFIG+y}
18315 then :
18316 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>conftest.err`
18319 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
18320 if ${FONTCONFIG_LIBS:+false} :
18321 then :
18322 if test ${PKG_CONFIG+y}
18323 then :
18324 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
18327 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
18329 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
18330 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
18331 if test -s conftest.err; then
18332 printf %s "$as_me:${as_lineno-$LINENO}: fontconfig errors: " >&5
18333 cat conftest.err >&5
18335 rm -f conftest.err
18336 ac_save_CPPFLAGS=$CPPFLAGS
18337 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
18338 ac_fn_c_check_header_compile "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
18339 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
18340 then :
18341 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
18342 printf %s "checking for -lfontconfig... " >&6; }
18343 if test ${ac_cv_lib_soname_fontconfig+y}
18344 then :
18345 printf %s "(cached) " >&6
18346 else $as_nop
18347 ac_check_soname_save_LIBS=$LIBS
18348 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
18349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18350 /* end confdefs.h. */
18352 /* Override any GCC internal prototype to avoid an error.
18353 Use char because int might match the return type of a GCC
18354 builtin and then its argument prototype would still apply. */
18355 char FcInit ();
18357 main (void)
18359 return FcInit ();
18361 return 0;
18363 _ACEOF
18364 if ac_fn_c_try_link "$LINENO"
18365 then :
18366 case "$LIBEXT" in
18367 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18368 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'` ;;
18369 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18370 if ${ac_cv_lib_soname_fontconfig:+false} :
18371 then :
18372 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18373 fi ;;
18374 esac
18375 else $as_nop
18376 ac_cv_lib_soname_fontconfig=
18378 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18379 conftest$ac_exeext conftest.$ac_ext
18380 LIBS=$ac_check_soname_save_LIBS
18382 if ${ac_cv_lib_soname_fontconfig:+false} :
18383 then :
18384 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18385 printf "%s\n" "not found" >&6; }
18386 FONTCONFIG_CFLAGS=""
18387 else $as_nop
18388 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
18389 printf "%s\n" "$ac_cv_lib_soname_fontconfig" >&6; }
18391 printf "%s\n" "#define SONAME_LIBFONTCONFIG \"$ac_cv_lib_soname_fontconfig\"" >>confdefs.h
18395 else $as_nop
18396 FONTCONFIG_CFLAGS=""
18399 CPPFLAGS=$ac_save_CPPFLAGS
18402 if test "x$ac_cv_lib_soname_fontconfig" = "x"
18403 then :
18404 case "x$with_fontconfig" in
18405 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
18406 xno) ;;
18407 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
18408 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
18409 esac
18413 if test "x$with_krb5" != "xno"
18414 then
18415 rm -f conftest.err
18416 if ${KRB5_CFLAGS:+false} :
18417 then :
18418 if test ${PKG_CONFIG+y}
18419 then :
18420 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>conftest.err`
18423 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
18424 if ${KRB5_LIBS:+false} :
18425 then :
18426 if test ${PKG_CONFIG+y}
18427 then :
18428 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
18431 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
18433 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
18434 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
18435 if test -s conftest.err; then
18436 printf %s "$as_me:${as_lineno-$LINENO}: krb5 errors: " >&5
18437 cat conftest.err >&5
18439 rm -f conftest.err
18440 ac_save_CPPFLAGS=$CPPFLAGS
18441 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
18442 ac_fn_c_check_header_compile "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
18443 if test "x$ac_cv_header_krb5_krb5_h" = xyes
18444 then :
18445 printf "%s\n" "#define HAVE_KRB5_KRB5_H 1" >>confdefs.h
18449 if test "$ac_cv_header_krb5_krb5_h" = "yes"
18450 then
18451 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
18452 printf %s "checking for -lkrb5... " >&6; }
18453 if test ${ac_cv_lib_soname_krb5+y}
18454 then :
18455 printf %s "(cached) " >&6
18456 else $as_nop
18457 ac_check_soname_save_LIBS=$LIBS
18458 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
18459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18460 /* end confdefs.h. */
18462 /* Override any GCC internal prototype to avoid an error.
18463 Use char because int might match the return type of a GCC
18464 builtin and then its argument prototype would still apply. */
18465 char krb5_is_config_principal ();
18467 main (void)
18469 return krb5_is_config_principal ();
18471 return 0;
18473 _ACEOF
18474 if ac_fn_c_try_link "$LINENO"
18475 then :
18476 case "$LIBEXT" in
18477 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18478 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'` ;;
18479 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18480 if ${ac_cv_lib_soname_krb5:+false} :
18481 then :
18482 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18483 fi ;;
18484 esac
18485 else $as_nop
18486 ac_cv_lib_soname_krb5=
18488 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18489 conftest$ac_exeext conftest.$ac_ext
18490 LIBS=$ac_check_soname_save_LIBS
18492 if ${ac_cv_lib_soname_krb5:+false} :
18493 then :
18494 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18495 printf "%s\n" "not found" >&6; }
18496 KRB5_CFLAGS=""
18497 else $as_nop
18498 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
18499 printf "%s\n" "$ac_cv_lib_soname_krb5" >&6; }
18501 printf "%s\n" "#define SONAME_LIBKRB5 \"$ac_cv_lib_soname_krb5\"" >>confdefs.h
18505 else
18506 KRB5_CFLAGS=""
18508 CPPFLAGS=$ac_save_CPPFLAGS
18511 if test "x$ac_cv_lib_soname_krb5" = "x"
18512 then :
18513 case "x$with_krb5" in
18514 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
18515 xno) ;;
18516 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
18517 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
18518 esac
18521 test "x$ac_cv_lib_soname_krb5" != "x" || with_gssapi=${with_gssapi:-no}
18523 if test "x$with_gssapi" != "xno"
18524 then
18525 rm -f conftest.err
18526 if ${GSSAPI_CFLAGS:+false} :
18527 then :
18528 if test ${PKG_CONFIG+y}
18529 then :
18530 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>conftest.err`
18533 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
18534 if ${GSSAPI_LIBS:+false} :
18535 then :
18536 if test ${PKG_CONFIG+y}
18537 then :
18538 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
18541 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
18543 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
18544 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
18545 if test -s conftest.err; then
18546 printf %s "$as_me:${as_lineno-$LINENO}: krb5-gssapi errors: " >&5
18547 cat conftest.err >&5
18549 rm -f conftest.err
18550 ac_save_CPPFLAGS=$CPPFLAGS
18551 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
18552 ac_fn_c_check_header_compile "$LINENO" "gssapi/gssapi.h" "ac_cv_header_gssapi_gssapi_h" "$ac_includes_default"
18553 if test "x$ac_cv_header_gssapi_gssapi_h" = xyes
18554 then :
18555 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_H 1" >>confdefs.h
18558 ac_fn_c_check_header_compile "$LINENO" "gssapi/gssapi_ext.h" "ac_cv_header_gssapi_gssapi_ext_h" "$ac_includes_default"
18559 if test "x$ac_cv_header_gssapi_gssapi_ext_h" = xyes
18560 then :
18561 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_EXT_H 1" >>confdefs.h
18565 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
18566 then
18567 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
18568 printf %s "checking for -lgssapi_krb5... " >&6; }
18569 if test ${ac_cv_lib_soname_gssapi_krb5+y}
18570 then :
18571 printf %s "(cached) " >&6
18572 else $as_nop
18573 ac_check_soname_save_LIBS=$LIBS
18574 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
18575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18576 /* end confdefs.h. */
18578 /* Override any GCC internal prototype to avoid an error.
18579 Use char because int might match the return type of a GCC
18580 builtin and then its argument prototype would still apply. */
18581 char gss_init_sec_context ();
18583 main (void)
18585 return gss_init_sec_context ();
18587 return 0;
18589 _ACEOF
18590 if ac_fn_c_try_link "$LINENO"
18591 then :
18592 case "$LIBEXT" in
18593 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18594 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'` ;;
18595 *) 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'`
18596 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
18597 then :
18598 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18599 fi ;;
18600 esac
18601 else $as_nop
18602 ac_cv_lib_soname_gssapi_krb5=
18604 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18605 conftest$ac_exeext conftest.$ac_ext
18606 LIBS=$ac_check_soname_save_LIBS
18608 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
18609 then :
18610 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18611 printf "%s\n" "not found" >&6; }
18612 GSSAPI_CFLAGS=""
18613 else $as_nop
18614 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
18615 printf "%s\n" "$ac_cv_lib_soname_gssapi_krb5" >&6; }
18617 printf "%s\n" "#define SONAME_LIBGSSAPI_KRB5 \"$ac_cv_lib_soname_gssapi_krb5\"" >>confdefs.h
18621 else
18622 GSSAPI_CFLAGS=""
18624 CPPFLAGS=$ac_save_CPPFLAGS
18627 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"
18628 then :
18629 case "x$with_gssapi" in
18630 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
18631 xno) ;;
18632 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
18633 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
18634 esac
18638 if test "$ac_cv_header_libprocstat_h" = "yes"
18639 then
18640 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
18641 printf %s "checking for procstat_open_sysctl in -lprocstat... " >&6; }
18642 if test ${ac_cv_lib_procstat_procstat_open_sysctl+y}
18643 then :
18644 printf %s "(cached) " >&6
18645 else $as_nop
18646 ac_check_lib_save_LIBS=$LIBS
18647 LIBS="-lprocstat $LIBS"
18648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18649 /* end confdefs.h. */
18651 /* Override any GCC internal prototype to avoid an error.
18652 Use char because int might match the return type of a GCC
18653 builtin and then its argument prototype would still apply. */
18654 char procstat_open_sysctl ();
18656 main (void)
18658 return procstat_open_sysctl ();
18660 return 0;
18662 _ACEOF
18663 if ac_fn_c_try_link "$LINENO"
18664 then :
18665 ac_cv_lib_procstat_procstat_open_sysctl=yes
18666 else $as_nop
18667 ac_cv_lib_procstat_procstat_open_sysctl=no
18669 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18670 conftest$ac_exeext conftest.$ac_ext
18671 LIBS=$ac_check_lib_save_LIBS
18673 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
18674 printf "%s\n" "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
18675 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes
18676 then :
18678 printf "%s\n" "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
18680 PROCSTAT_LIBS="-lprocstat"
18686 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
18687 printf %s "checking for -lodbc... " >&6; }
18688 if test ${ac_cv_lib_soname_odbc+y}
18689 then :
18690 printf %s "(cached) " >&6
18691 else $as_nop
18692 ac_check_soname_save_LIBS=$LIBS
18693 LIBS="-lodbc $LIBS"
18694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18695 /* end confdefs.h. */
18697 /* Override any GCC internal prototype to avoid an error.
18698 Use char because int might match the return type of a GCC
18699 builtin and then its argument prototype would still apply. */
18700 char SQLConnect ();
18702 main (void)
18704 return SQLConnect ();
18706 return 0;
18708 _ACEOF
18709 if ac_fn_c_try_link "$LINENO"
18710 then :
18711 case "$LIBEXT" in
18712 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18713 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'` ;;
18714 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18715 if ${ac_cv_lib_soname_odbc:+false} :
18716 then :
18717 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18718 fi ;;
18719 esac
18720 else $as_nop
18721 ac_cv_lib_soname_odbc=
18723 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18724 conftest$ac_exeext conftest.$ac_ext
18725 LIBS=$ac_check_soname_save_LIBS
18727 if ${ac_cv_lib_soname_odbc:+false} :
18728 then :
18729 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18730 printf "%s\n" "not found" >&6; }
18731 printf "%s\n" "#define SONAME_LIBODBC \"libodbc.$LIBEXT\"" >>confdefs.h
18733 else $as_nop
18734 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
18735 printf "%s\n" "$ac_cv_lib_soname_odbc" >&6; }
18737 printf "%s\n" "#define SONAME_LIBODBC \"$ac_cv_lib_soname_odbc\"" >>confdefs.h
18742 if test "x$with_netapi" != "xno"
18743 then
18744 rm -f conftest.err
18745 if ${NETAPI_CFLAGS:+false} :
18746 then :
18747 if test ${PKG_CONFIG+y}
18748 then :
18749 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>conftest.err`
18753 if ${NETAPI_LIBS:+false} :
18754 then :
18755 if test ${PKG_CONFIG+y}
18756 then :
18757 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
18762 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
18763 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
18764 if test -s conftest.err; then
18765 printf %s "$as_me:${as_lineno-$LINENO}: netapi errors: " >&5
18766 cat conftest.err >&5
18768 rm -f conftest.err
18769 ac_save_CPPFLAGS=$CPPFLAGS
18770 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
18771 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
18772 printf %s "checking for -lnetapi... " >&6; }
18773 if test ${ac_cv_lib_soname_netapi+y}
18774 then :
18775 printf %s "(cached) " >&6
18776 else $as_nop
18777 ac_check_soname_save_LIBS=$LIBS
18778 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
18779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18780 /* end confdefs.h. */
18782 /* Override any GCC internal prototype to avoid an error.
18783 Use char because int might match the return type of a GCC
18784 builtin and then its argument prototype would still apply. */
18785 char libnetapi_init ();
18787 main (void)
18789 return libnetapi_init ();
18791 return 0;
18793 _ACEOF
18794 if ac_fn_c_try_link "$LINENO"
18795 then :
18796 case "$LIBEXT" in
18797 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18798 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'` ;;
18799 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18800 if ${ac_cv_lib_soname_netapi:+false} :
18801 then :
18802 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18803 fi ;;
18804 esac
18805 else $as_nop
18806 ac_cv_lib_soname_netapi=
18808 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18809 conftest$ac_exeext conftest.$ac_ext
18810 LIBS=$ac_check_soname_save_LIBS
18812 if ${ac_cv_lib_soname_netapi:+false} :
18813 then :
18814 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18815 printf "%s\n" "not found" >&6; }
18816 printf "%s\n" "#define SONAME_LIBNETAPI \"libnetapi.$LIBEXT\"" >>confdefs.h
18818 else $as_nop
18819 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
18820 printf "%s\n" "$ac_cv_lib_soname_netapi" >&6; }
18822 printf "%s\n" "#define SONAME_LIBNETAPI \"$ac_cv_lib_soname_netapi\"" >>confdefs.h
18826 CPPFLAGS=$ac_save_CPPFLAGS
18829 if test "x$ac_cv_lib_soname_netapi" = "x"
18830 then :
18831 case "x$with_netapi" in
18832 x) as_fn_append wine_notices "|libnetapi not found, Samba NetAPI won't be supported." ;;
18833 xno) ;;
18834 *) as_fn_error $? "libnetapi not found, Samba NetAPI won't be supported.
18835 This is an error since --with-netapi was requested." "$LINENO" 5 ;;
18836 esac
18837 enable_netapi=${enable_netapi:-no}
18841 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
18842 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
18843 then
18844 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
18847 if test "x$with_vulkan" != "xno"
18848 then
18849 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
18850 printf %s "checking for -lvulkan... " >&6; }
18851 if test ${ac_cv_lib_soname_vulkan+y}
18852 then :
18853 printf %s "(cached) " >&6
18854 else $as_nop
18855 ac_check_soname_save_LIBS=$LIBS
18856 LIBS="-lvulkan $LIBS"
18857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18858 /* end confdefs.h. */
18860 /* Override any GCC internal prototype to avoid an error.
18861 Use char because int might match the return type of a GCC
18862 builtin and then its argument prototype would still apply. */
18863 char vkGetInstanceProcAddr ();
18865 main (void)
18867 return vkGetInstanceProcAddr ();
18869 return 0;
18871 _ACEOF
18872 if ac_fn_c_try_link "$LINENO"
18873 then :
18874 case "$LIBEXT" in
18875 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18876 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'` ;;
18877 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18878 if ${ac_cv_lib_soname_vulkan:+false} :
18879 then :
18880 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18881 fi ;;
18882 esac
18883 else $as_nop
18884 ac_cv_lib_soname_vulkan=
18886 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18887 conftest$ac_exeext conftest.$ac_ext
18888 LIBS=$ac_check_soname_save_LIBS
18890 if ${ac_cv_lib_soname_vulkan:+false} :
18891 then :
18892 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18893 printf "%s\n" "not found" >&6; }
18895 else $as_nop
18896 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
18897 printf "%s\n" "$ac_cv_lib_soname_vulkan" >&6; }
18899 printf "%s\n" "#define SONAME_LIBVULKAN \"$ac_cv_lib_soname_vulkan\"" >>confdefs.h
18903 if test "x$ac_cv_lib_soname_vulkan" = "x"
18904 then
18905 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
18906 printf %s "checking for -lMoltenVK... " >&6; }
18907 if test ${ac_cv_lib_soname_MoltenVK+y}
18908 then :
18909 printf %s "(cached) " >&6
18910 else $as_nop
18911 ac_check_soname_save_LIBS=$LIBS
18912 LIBS="-lMoltenVK $LIBS"
18913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18914 /* end confdefs.h. */
18916 /* Override any GCC internal prototype to avoid an error.
18917 Use char because int might match the return type of a GCC
18918 builtin and then its argument prototype would still apply. */
18919 char vkGetInstanceProcAddr ();
18921 main (void)
18923 return vkGetInstanceProcAddr ();
18925 return 0;
18927 _ACEOF
18928 if ac_fn_c_try_link "$LINENO"
18929 then :
18930 case "$LIBEXT" in
18931 dll) ac_cv_lib_soname_MoltenVK=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18932 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'` ;;
18933 *) ac_cv_lib_soname_MoltenVK=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18934 if ${ac_cv_lib_soname_MoltenVK:+false} :
18935 then :
18936 ac_cv_lib_soname_MoltenVK=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18937 fi ;;
18938 esac
18939 else $as_nop
18940 ac_cv_lib_soname_MoltenVK=
18942 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18943 conftest$ac_exeext conftest.$ac_ext
18944 LIBS=$ac_check_soname_save_LIBS
18946 if ${ac_cv_lib_soname_MoltenVK:+false} :
18947 then :
18948 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18949 printf "%s\n" "not found" >&6; }
18951 else $as_nop
18952 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
18953 printf "%s\n" "$ac_cv_lib_soname_MoltenVK" >&6; }
18955 printf "%s\n" "#define SONAME_LIBMOLTENVK \"$ac_cv_lib_soname_MoltenVK\"" >>confdefs.h
18961 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"
18962 then :
18963 case "x$with_vulkan" in
18964 x) as_fn_append wine_notices "|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
18965 xno) ;;
18966 *) as_fn_error $? "libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
18967 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
18968 esac
18973 if test "x${GCC}" = "xyes"
18974 then
18975 EXTRACFLAGS="$EXTRACFLAGS -Wall -pipe"
18977 saved_CFLAGS=$CFLAGS
18978 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
18979 printf %s "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
18980 if test ${ac_cv_cflags__Werror_unknown_warning_option+y}
18981 then :
18982 printf %s "(cached) " >&6
18983 else $as_nop
18984 ac_wine_try_cflags_saved=$CFLAGS
18985 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
18986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18987 /* end confdefs.h. */
18988 int main(int argc, char **argv) { return 0; }
18989 _ACEOF
18990 if ac_fn_c_try_link "$LINENO"
18991 then :
18992 ac_cv_cflags__Werror_unknown_warning_option=yes
18993 else $as_nop
18994 ac_cv_cflags__Werror_unknown_warning_option=no
18996 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18997 conftest$ac_exeext conftest.$ac_ext
18998 CFLAGS=$ac_wine_try_cflags_saved
19000 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
19001 printf "%s\n" "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
19002 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes
19003 then :
19004 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
19006 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unused-command-line-argument" >&5
19007 printf %s "checking whether the compiler supports -Werror=unused-command-line-argument... " >&6; }
19008 if test ${ac_cv_cflags__Werror_unused_command_line_argument+y}
19009 then :
19010 printf %s "(cached) " >&6
19011 else $as_nop
19012 ac_wine_try_cflags_saved=$CFLAGS
19013 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
19014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19015 /* end confdefs.h. */
19016 int main(int argc, char **argv) { return 0; }
19017 _ACEOF
19018 if ac_fn_c_try_link "$LINENO"
19019 then :
19020 ac_cv_cflags__Werror_unused_command_line_argument=yes
19021 else $as_nop
19022 ac_cv_cflags__Werror_unused_command_line_argument=no
19024 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19025 conftest$ac_exeext conftest.$ac_ext
19026 CFLAGS=$ac_wine_try_cflags_saved
19028 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unused_command_line_argument" >&5
19029 printf "%s\n" "$ac_cv_cflags__Werror_unused_command_line_argument" >&6; }
19030 if test "x$ac_cv_cflags__Werror_unused_command_line_argument" = xyes
19031 then :
19032 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
19034 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=ignored-optimization-argument" >&5
19035 printf %s "checking whether the compiler supports -Werror=ignored-optimization-argument... " >&6; }
19036 if test ${ac_cv_cflags__Werror_ignored_optimization_argument+y}
19037 then :
19038 printf %s "(cached) " >&6
19039 else $as_nop
19040 ac_wine_try_cflags_saved=$CFLAGS
19041 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
19042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19043 /* end confdefs.h. */
19044 int main(int argc, char **argv) { return 0; }
19045 _ACEOF
19046 if ac_fn_c_try_link "$LINENO"
19047 then :
19048 ac_cv_cflags__Werror_ignored_optimization_argument=yes
19049 else $as_nop
19050 ac_cv_cflags__Werror_ignored_optimization_argument=no
19052 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19053 conftest$ac_exeext conftest.$ac_ext
19054 CFLAGS=$ac_wine_try_cflags_saved
19056 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_ignored_optimization_argument" >&5
19057 printf "%s\n" "$ac_cv_cflags__Werror_ignored_optimization_argument" >&6; }
19058 if test "x$ac_cv_cflags__Werror_ignored_optimization_argument" = xyes
19059 then :
19060 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
19062 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fcf-protection=none" >&5
19063 printf %s "checking whether the compiler supports -fcf-protection=none... " >&6; }
19064 if test ${ac_cv_cflags__fcf_protection_none+y}
19065 then :
19066 printf %s "(cached) " >&6
19067 else $as_nop
19068 ac_wine_try_cflags_saved=$CFLAGS
19069 CFLAGS="$CFLAGS -fcf-protection=none"
19070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19071 /* end confdefs.h. */
19072 int main(int argc, char **argv) { return 0; }
19073 _ACEOF
19074 if ac_fn_c_try_link "$LINENO"
19075 then :
19076 ac_cv_cflags__fcf_protection_none=yes
19077 else $as_nop
19078 ac_cv_cflags__fcf_protection_none=no
19080 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19081 conftest$ac_exeext conftest.$ac_ext
19082 CFLAGS=$ac_wine_try_cflags_saved
19084 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fcf_protection_none" >&5
19085 printf "%s\n" "$ac_cv_cflags__fcf_protection_none" >&6; }
19086 if test "x$ac_cv_cflags__fcf_protection_none" = xyes
19087 then :
19088 EXTRACFLAGS="$EXTRACFLAGS -fcf-protection=none"
19090 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fvisibility=hidden" >&5
19091 printf %s "checking whether the compiler supports -fvisibility=hidden... " >&6; }
19092 if test ${ac_cv_cflags__fvisibility_hidden+y}
19093 then :
19094 printf %s "(cached) " >&6
19095 else $as_nop
19096 ac_wine_try_cflags_saved=$CFLAGS
19097 CFLAGS="$CFLAGS -fvisibility=hidden"
19098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19099 /* end confdefs.h. */
19100 int main(int argc, char **argv) { return 0; }
19101 _ACEOF
19102 if ac_fn_c_try_link "$LINENO"
19103 then :
19104 ac_cv_cflags__fvisibility_hidden=yes
19105 else $as_nop
19106 ac_cv_cflags__fvisibility_hidden=no
19108 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19109 conftest$ac_exeext conftest.$ac_ext
19110 CFLAGS=$ac_wine_try_cflags_saved
19112 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fvisibility_hidden" >&5
19113 printf "%s\n" "$ac_cv_cflags__fvisibility_hidden" >&6; }
19114 if test "x$ac_cv_cflags__fvisibility_hidden" = xyes
19115 then :
19116 EXTRACFLAGS="$EXTRACFLAGS -fvisibility=hidden"
19118 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-stack-protector" >&5
19119 printf %s "checking whether the compiler supports -fno-stack-protector... " >&6; }
19120 if test ${ac_cv_cflags__fno_stack_protector+y}
19121 then :
19122 printf %s "(cached) " >&6
19123 else $as_nop
19124 ac_wine_try_cflags_saved=$CFLAGS
19125 CFLAGS="$CFLAGS -fno-stack-protector"
19126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19127 /* end confdefs.h. */
19128 int main(int argc, char **argv) { return 0; }
19129 _ACEOF
19130 if ac_fn_c_try_link "$LINENO"
19131 then :
19132 ac_cv_cflags__fno_stack_protector=yes
19133 else $as_nop
19134 ac_cv_cflags__fno_stack_protector=no
19136 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19137 conftest$ac_exeext conftest.$ac_ext
19138 CFLAGS=$ac_wine_try_cflags_saved
19140 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_stack_protector" >&5
19141 printf "%s\n" "$ac_cv_cflags__fno_stack_protector" >&6; }
19142 if test "x$ac_cv_cflags__fno_stack_protector" = xyes
19143 then :
19144 EXTRACFLAGS="$EXTRACFLAGS -fno-stack-protector"
19146 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
19147 printf %s "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
19148 if test ${ac_cv_cflags__fno_strict_aliasing+y}
19149 then :
19150 printf %s "(cached) " >&6
19151 else $as_nop
19152 ac_wine_try_cflags_saved=$CFLAGS
19153 CFLAGS="$CFLAGS -fno-strict-aliasing"
19154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19155 /* end confdefs.h. */
19156 int main(int argc, char **argv) { return 0; }
19157 _ACEOF
19158 if ac_fn_c_try_link "$LINENO"
19159 then :
19160 ac_cv_cflags__fno_strict_aliasing=yes
19161 else $as_nop
19162 ac_cv_cflags__fno_strict_aliasing=no
19164 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19165 conftest$ac_exeext conftest.$ac_ext
19166 CFLAGS=$ac_wine_try_cflags_saved
19168 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
19169 printf "%s\n" "$ac_cv_cflags__fno_strict_aliasing" >&6; }
19170 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes
19171 then :
19172 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
19174 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
19175 printf %s "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
19176 if test ${ac_cv_cflags__Wdeclaration_after_statement+y}
19177 then :
19178 printf %s "(cached) " >&6
19179 else $as_nop
19180 ac_wine_try_cflags_saved=$CFLAGS
19181 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
19182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19183 /* end confdefs.h. */
19184 int main(int argc, char **argv) { return 0; }
19185 _ACEOF
19186 if ac_fn_c_try_link "$LINENO"
19187 then :
19188 ac_cv_cflags__Wdeclaration_after_statement=yes
19189 else $as_nop
19190 ac_cv_cflags__Wdeclaration_after_statement=no
19192 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19193 conftest$ac_exeext conftest.$ac_ext
19194 CFLAGS=$ac_wine_try_cflags_saved
19196 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
19197 printf "%s\n" "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
19198 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes
19199 then :
19200 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
19202 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
19203 printf %s "checking whether the compiler supports -Wempty-body... " >&6; }
19204 if test ${ac_cv_cflags__Wempty_body+y}
19205 then :
19206 printf %s "(cached) " >&6
19207 else $as_nop
19208 ac_wine_try_cflags_saved=$CFLAGS
19209 CFLAGS="$CFLAGS -Wempty-body"
19210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19211 /* end confdefs.h. */
19212 int main(int argc, char **argv) { return 0; }
19213 _ACEOF
19214 if ac_fn_c_try_link "$LINENO"
19215 then :
19216 ac_cv_cflags__Wempty_body=yes
19217 else $as_nop
19218 ac_cv_cflags__Wempty_body=no
19220 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19221 conftest$ac_exeext conftest.$ac_ext
19222 CFLAGS=$ac_wine_try_cflags_saved
19224 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
19225 printf "%s\n" "$ac_cv_cflags__Wempty_body" >&6; }
19226 if test "x$ac_cv_cflags__Wempty_body" = xyes
19227 then :
19228 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
19230 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
19231 printf %s "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
19232 if test ${ac_cv_cflags__Wignored_qualifiers+y}
19233 then :
19234 printf %s "(cached) " >&6
19235 else $as_nop
19236 ac_wine_try_cflags_saved=$CFLAGS
19237 CFLAGS="$CFLAGS -Wignored-qualifiers"
19238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19239 /* end confdefs.h. */
19240 int main(int argc, char **argv) { return 0; }
19241 _ACEOF
19242 if ac_fn_c_try_link "$LINENO"
19243 then :
19244 ac_cv_cflags__Wignored_qualifiers=yes
19245 else $as_nop
19246 ac_cv_cflags__Wignored_qualifiers=no
19248 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19249 conftest$ac_exeext conftest.$ac_ext
19250 CFLAGS=$ac_wine_try_cflags_saved
19252 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
19253 printf "%s\n" "$ac_cv_cflags__Wignored_qualifiers" >&6; }
19254 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes
19255 then :
19256 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
19258 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Winit-self" >&5
19259 printf %s "checking whether the compiler supports -Winit-self... " >&6; }
19260 if test ${ac_cv_cflags__Winit_self+y}
19261 then :
19262 printf %s "(cached) " >&6
19263 else $as_nop
19264 ac_wine_try_cflags_saved=$CFLAGS
19265 CFLAGS="$CFLAGS -Winit-self"
19266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19267 /* end confdefs.h. */
19268 int main(int argc, char **argv) { return 0; }
19269 _ACEOF
19270 if ac_fn_c_try_link "$LINENO"
19271 then :
19272 ac_cv_cflags__Winit_self=yes
19273 else $as_nop
19274 ac_cv_cflags__Winit_self=no
19276 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19277 conftest$ac_exeext conftest.$ac_ext
19278 CFLAGS=$ac_wine_try_cflags_saved
19280 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Winit_self" >&5
19281 printf "%s\n" "$ac_cv_cflags__Winit_self" >&6; }
19282 if test "x$ac_cv_cflags__Winit_self" = xyes
19283 then :
19284 EXTRACFLAGS="$EXTRACFLAGS -Winit-self"
19286 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
19287 printf %s "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
19288 if test ${ac_cv_cflags__Wpacked_not_aligned+y}
19289 then :
19290 printf %s "(cached) " >&6
19291 else $as_nop
19292 ac_wine_try_cflags_saved=$CFLAGS
19293 CFLAGS="$CFLAGS -Wpacked-not-aligned"
19294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19295 /* end confdefs.h. */
19296 int main(int argc, char **argv) { return 0; }
19297 _ACEOF
19298 if ac_fn_c_try_link "$LINENO"
19299 then :
19300 ac_cv_cflags__Wpacked_not_aligned=yes
19301 else $as_nop
19302 ac_cv_cflags__Wpacked_not_aligned=no
19304 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19305 conftest$ac_exeext conftest.$ac_ext
19306 CFLAGS=$ac_wine_try_cflags_saved
19308 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
19309 printf "%s\n" "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
19310 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes
19311 then :
19312 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
19314 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
19315 printf %s "checking whether the compiler supports -Wpragma-pack... " >&6; }
19316 if test ${ac_cv_cflags__Wpragma_pack+y}
19317 then :
19318 printf %s "(cached) " >&6
19319 else $as_nop
19320 ac_wine_try_cflags_saved=$CFLAGS
19321 CFLAGS="$CFLAGS -Wpragma-pack"
19322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19323 /* end confdefs.h. */
19324 int main(int argc, char **argv) { return 0; }
19325 _ACEOF
19326 if ac_fn_c_try_link "$LINENO"
19327 then :
19328 ac_cv_cflags__Wpragma_pack=yes
19329 else $as_nop
19330 ac_cv_cflags__Wpragma_pack=no
19332 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19333 conftest$ac_exeext conftest.$ac_ext
19334 CFLAGS=$ac_wine_try_cflags_saved
19336 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
19337 printf "%s\n" "$ac_cv_cflags__Wpragma_pack" >&6; }
19338 if test "x$ac_cv_cflags__Wpragma_pack" = xyes
19339 then :
19340 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
19342 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
19343 printf %s "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
19344 if test ${ac_cv_cflags__Wshift_overflow_2+y}
19345 then :
19346 printf %s "(cached) " >&6
19347 else $as_nop
19348 ac_wine_try_cflags_saved=$CFLAGS
19349 CFLAGS="$CFLAGS -Wshift-overflow=2"
19350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19351 /* end confdefs.h. */
19352 int main(int argc, char **argv) { return 0; }
19353 _ACEOF
19354 if ac_fn_c_try_link "$LINENO"
19355 then :
19356 ac_cv_cflags__Wshift_overflow_2=yes
19357 else $as_nop
19358 ac_cv_cflags__Wshift_overflow_2=no
19360 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19361 conftest$ac_exeext conftest.$ac_ext
19362 CFLAGS=$ac_wine_try_cflags_saved
19364 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
19365 printf "%s\n" "$ac_cv_cflags__Wshift_overflow_2" >&6; }
19366 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes
19367 then :
19368 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
19370 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
19371 printf %s "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
19372 if test ${ac_cv_cflags__Wstrict_prototypes+y}
19373 then :
19374 printf %s "(cached) " >&6
19375 else $as_nop
19376 ac_wine_try_cflags_saved=$CFLAGS
19377 CFLAGS="$CFLAGS -Wstrict-prototypes"
19378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19379 /* end confdefs.h. */
19380 int main(int argc, char **argv) { return 0; }
19381 _ACEOF
19382 if ac_fn_c_try_link "$LINENO"
19383 then :
19384 ac_cv_cflags__Wstrict_prototypes=yes
19385 else $as_nop
19386 ac_cv_cflags__Wstrict_prototypes=no
19388 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19389 conftest$ac_exeext conftest.$ac_ext
19390 CFLAGS=$ac_wine_try_cflags_saved
19392 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
19393 printf "%s\n" "$ac_cv_cflags__Wstrict_prototypes" >&6; }
19394 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes
19395 then :
19396 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
19398 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
19399 printf %s "checking whether the compiler supports -Wtype-limits... " >&6; }
19400 if test ${ac_cv_cflags__Wtype_limits+y}
19401 then :
19402 printf %s "(cached) " >&6
19403 else $as_nop
19404 ac_wine_try_cflags_saved=$CFLAGS
19405 CFLAGS="$CFLAGS -Wtype-limits"
19406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19407 /* end confdefs.h. */
19408 int main(int argc, char **argv) { return 0; }
19409 _ACEOF
19410 if ac_fn_c_try_link "$LINENO"
19411 then :
19412 ac_cv_cflags__Wtype_limits=yes
19413 else $as_nop
19414 ac_cv_cflags__Wtype_limits=no
19416 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19417 conftest$ac_exeext conftest.$ac_ext
19418 CFLAGS=$ac_wine_try_cflags_saved
19420 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
19421 printf "%s\n" "$ac_cv_cflags__Wtype_limits" >&6; }
19422 if test "x$ac_cv_cflags__Wtype_limits" = xyes
19423 then :
19424 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
19426 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
19427 printf %s "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
19428 if test ${ac_cv_cflags__Wunused_but_set_parameter+y}
19429 then :
19430 printf %s "(cached) " >&6
19431 else $as_nop
19432 ac_wine_try_cflags_saved=$CFLAGS
19433 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
19434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19435 /* end confdefs.h. */
19436 int main(int argc, char **argv) { return 0; }
19437 _ACEOF
19438 if ac_fn_c_try_link "$LINENO"
19439 then :
19440 ac_cv_cflags__Wunused_but_set_parameter=yes
19441 else $as_nop
19442 ac_cv_cflags__Wunused_but_set_parameter=no
19444 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19445 conftest$ac_exeext conftest.$ac_ext
19446 CFLAGS=$ac_wine_try_cflags_saved
19448 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
19449 printf "%s\n" "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
19450 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes
19451 then :
19452 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
19454 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
19455 printf %s "checking whether the compiler supports -Wvla... " >&6; }
19456 if test ${ac_cv_cflags__Wvla+y}
19457 then :
19458 printf %s "(cached) " >&6
19459 else $as_nop
19460 ac_wine_try_cflags_saved=$CFLAGS
19461 CFLAGS="$CFLAGS -Wvla"
19462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19463 /* end confdefs.h. */
19464 int main(int argc, char **argv) { return 0; }
19465 _ACEOF
19466 if ac_fn_c_try_link "$LINENO"
19467 then :
19468 ac_cv_cflags__Wvla=yes
19469 else $as_nop
19470 ac_cv_cflags__Wvla=no
19472 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19473 conftest$ac_exeext conftest.$ac_ext
19474 CFLAGS=$ac_wine_try_cflags_saved
19476 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
19477 printf "%s\n" "$ac_cv_cflags__Wvla" >&6; }
19478 if test "x$ac_cv_cflags__Wvla" = xyes
19479 then :
19480 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
19482 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
19483 printf %s "checking whether the compiler supports -Wwrite-strings... " >&6; }
19484 if test ${ac_cv_cflags__Wwrite_strings+y}
19485 then :
19486 printf %s "(cached) " >&6
19487 else $as_nop
19488 ac_wine_try_cflags_saved=$CFLAGS
19489 CFLAGS="$CFLAGS -Wwrite-strings"
19490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19491 /* end confdefs.h. */
19492 int main(int argc, char **argv) { return 0; }
19493 _ACEOF
19494 if ac_fn_c_try_link "$LINENO"
19495 then :
19496 ac_cv_cflags__Wwrite_strings=yes
19497 else $as_nop
19498 ac_cv_cflags__Wwrite_strings=no
19500 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19501 conftest$ac_exeext conftest.$ac_ext
19502 CFLAGS=$ac_wine_try_cflags_saved
19504 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
19505 printf "%s\n" "$ac_cv_cflags__Wwrite_strings" >&6; }
19506 if test "x$ac_cv_cflags__Wwrite_strings" = xyes
19507 then :
19508 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
19511 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -flarge-source-files -Wmisleading-indentation" >&5
19512 printf %s "checking whether the compiler supports -flarge-source-files -Wmisleading-indentation... " >&6; }
19513 if test ${ac_cv_cflags__flarge_source_files__Wmisleading_indentation+y}
19514 then :
19515 printf %s "(cached) " >&6
19516 else $as_nop
19517 ac_wine_try_cflags_saved=$CFLAGS
19518 CFLAGS="$CFLAGS -flarge-source-files -Wmisleading-indentation"
19519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19520 /* end confdefs.h. */
19521 int main(int argc, char **argv) { return 0; }
19522 _ACEOF
19523 if ac_fn_c_try_link "$LINENO"
19524 then :
19525 ac_cv_cflags__flarge_source_files__Wmisleading_indentation=yes
19526 else $as_nop
19527 ac_cv_cflags__flarge_source_files__Wmisleading_indentation=no
19529 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19530 conftest$ac_exeext conftest.$ac_ext
19531 CFLAGS=$ac_wine_try_cflags_saved
19533 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__flarge_source_files__Wmisleading_indentation" >&5
19534 printf "%s\n" "$ac_cv_cflags__flarge_source_files__Wmisleading_indentation" >&6; }
19535 if test "x$ac_cv_cflags__flarge_source_files__Wmisleading_indentation" = xyes
19536 then :
19537 EXTRACFLAGS="$EXTRACFLAGS -Wno-misleading-indentation"
19540 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
19541 printf %s "checking whether the compiler supports -Wpointer-arith... " >&6; }
19542 if test ${ac_cv_cflags__Wpointer_arith+y}
19543 then :
19544 printf %s "(cached) " >&6
19545 else $as_nop
19546 ac_wine_try_cflags_saved=$CFLAGS
19547 CFLAGS="$CFLAGS -Wpointer-arith"
19548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19549 /* end confdefs.h. */
19550 int main(int argc, char **argv) { return 0; }
19551 _ACEOF
19552 if ac_fn_c_try_link "$LINENO"
19553 then :
19554 ac_cv_cflags__Wpointer_arith=yes
19555 else $as_nop
19556 ac_cv_cflags__Wpointer_arith=no
19558 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19559 conftest$ac_exeext conftest.$ac_ext
19560 CFLAGS=$ac_wine_try_cflags_saved
19562 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
19563 printf "%s\n" "$ac_cv_cflags__Wpointer_arith" >&6; }
19564 if test "x$ac_cv_cflags__Wpointer_arith" = xyes
19565 then :
19566 saved_string_h_CFLAGS=$CFLAGS
19567 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
19568 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
19569 printf %s "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
19570 if test ${ac_cv_c_string_h_warnings+y}
19571 then :
19572 printf %s "(cached) " >&6
19573 else $as_nop
19574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19575 /* end confdefs.h. */
19576 #include <string.h>
19578 main (void)
19582 return 0;
19584 _ACEOF
19585 if ac_fn_c_try_compile "$LINENO"
19586 then :
19587 ac_cv_c_string_h_warnings=no
19588 else $as_nop
19589 ac_cv_c_string_h_warnings=yes
19591 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19593 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
19594 printf "%s\n" "$ac_cv_c_string_h_warnings" >&6; }
19595 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
19596 CFLAGS=$saved_string_h_CFLAGS
19599 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
19600 printf %s "checking whether the compiler supports -Wlogical-op... " >&6; }
19601 if test ${ac_cv_cflags__Wlogical_op+y}
19602 then :
19603 printf %s "(cached) " >&6
19604 else $as_nop
19605 ac_wine_try_cflags_saved=$CFLAGS
19606 CFLAGS="$CFLAGS -Wlogical-op"
19607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19608 /* end confdefs.h. */
19609 int main(int argc, char **argv) { return 0; }
19610 _ACEOF
19611 if ac_fn_c_try_link "$LINENO"
19612 then :
19613 ac_cv_cflags__Wlogical_op=yes
19614 else $as_nop
19615 ac_cv_cflags__Wlogical_op=no
19617 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19618 conftest$ac_exeext conftest.$ac_ext
19619 CFLAGS=$ac_wine_try_cflags_saved
19621 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
19622 printf "%s\n" "$ac_cv_cflags__Wlogical_op" >&6; }
19623 if test "x$ac_cv_cflags__Wlogical_op" = xyes
19624 then :
19625 saved_string_h_CFLAGS=$CFLAGS
19626 CFLAGS="$CFLAGS -Wlogical-op -Werror"
19627 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
19628 printf %s "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
19629 if test ${ac_cv_c_logicalop_noisy+y}
19630 then :
19631 printf %s "(cached) " >&6
19632 else $as_nop
19633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19634 /* end confdefs.h. */
19635 #include <string.h>
19636 char*f(const char *h,char n) {return strchr(h,n);}
19638 main (void)
19642 return 0;
19644 _ACEOF
19645 if ac_fn_c_try_compile "$LINENO"
19646 then :
19647 ac_cv_c_logicalop_noisy=no
19648 else $as_nop
19649 ac_cv_c_logicalop_noisy=yes
19651 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19653 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
19654 printf "%s\n" "$ac_cv_c_logicalop_noisy" >&6; }
19655 CFLAGS=$saved_string_h_CFLAGS
19656 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
19659 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for flags needed for 64-bit compare-and-swap support" >&5
19660 printf %s "checking for flags needed for 64-bit compare-and-swap support... " >&6; }
19661 if test ${wine_cv_64bit_compare_swap+y}
19662 then :
19663 printf %s "(cached) " >&6
19664 else $as_nop
19665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19666 /* end confdefs.h. */
19667 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
19668 #error no
19669 #endif
19671 main (void)
19675 return 0;
19677 _ACEOF
19678 if ac_fn_c_try_compile "$LINENO"
19679 then :
19680 wine_cv_64bit_compare_swap="none needed"
19681 else $as_nop
19682 case $HOST_ARCH in
19683 i386) wine_cv_64bit_compare_swap="-march=i586" ;;
19684 arm) wine_cv_64bit_compare_swap="-march=armv7-a" ;;
19685 *) wine_cv_64bit_compare_swap="unknown" ;;
19686 esac
19687 if test "x$wine_cv_64bit_compare_swap" != xunknown
19688 then
19689 CFLAGS="$CFLAGS $wine_cv_64bit_compare_swap"
19690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19691 /* end confdefs.h. */
19692 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
19693 #error no
19694 #endif
19696 main (void)
19700 return 0;
19702 _ACEOF
19703 if ac_fn_c_try_compile "$LINENO"
19704 then :
19706 else $as_nop
19707 wine_cv_64bit_compare_swap="unknown"
19709 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19710 CFLAGS=$saved_CFLAGS
19713 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19715 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_64bit_compare_swap" >&5
19716 printf "%s\n" "$wine_cv_64bit_compare_swap" >&6; }
19717 case "$wine_cv_64bit_compare_swap" in
19718 unknown) as_fn_error $? "gcc doesn't support 64-bit compare-and-swap on this platform" "$LINENO" 5 ;;
19719 "none needed") ;;
19720 *) EXTRACFLAGS="$EXTRACFLAGS $wine_cv_64bit_compare_swap" ;;
19721 esac
19723 ac_debug_format_seen=""
19724 for ac_flag in $CFLAGS; do
19725 case $ac_flag in
19726 -gdwarf*) ac_debug_format_seen=yes ;;
19727 -g) ac_debug_format_seen=${ac_debug_format_seen:-default} ;;
19728 esac
19729 done
19730 if test "x$ac_debug_format_seen" = xdefault
19731 then
19732 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-4" >&5
19733 printf %s "checking whether the compiler supports -gdwarf-4... " >&6; }
19734 if test ${ac_cv_cflags__gdwarf_4+y}
19735 then :
19736 printf %s "(cached) " >&6
19737 else $as_nop
19738 ac_wine_try_cflags_saved=$CFLAGS
19739 CFLAGS="$CFLAGS -gdwarf-4"
19740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19741 /* end confdefs.h. */
19742 int main(int argc, char **argv) { return 0; }
19743 _ACEOF
19744 if ac_fn_c_try_link "$LINENO"
19745 then :
19746 ac_cv_cflags__gdwarf_4=yes
19747 else $as_nop
19748 ac_cv_cflags__gdwarf_4=no
19750 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19751 conftest$ac_exeext conftest.$ac_ext
19752 CFLAGS=$ac_wine_try_cflags_saved
19754 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_4" >&5
19755 printf "%s\n" "$ac_cv_cflags__gdwarf_4" >&6; }
19756 if test "x$ac_cv_cflags__gdwarf_4" = xyes
19757 then :
19758 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-4"
19762 MSVCRTFLAGS=""
19764 case $host_os in
19765 mingw32*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-delayload,autoconftest.dll" >&5
19766 printf %s "checking whether the compiler supports -Wl,-delayload,autoconftest.dll... " >&6; }
19767 if test ${ac_cv_cflags__Wl__delayload_autoconftest_dll+y}
19768 then :
19769 printf %s "(cached) " >&6
19770 else $as_nop
19771 ac_wine_try_cflags_saved=$CFLAGS
19772 CFLAGS="$CFLAGS -Wl,-delayload,autoconftest.dll"
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__Wl__delayload_autoconftest_dll=yes
19780 else $as_nop
19781 ac_cv_cflags__Wl__delayload_autoconftest_dll=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__Wl__delayload_autoconftest_dll" >&5
19788 printf "%s\n" "$ac_cv_cflags__Wl__delayload_autoconftest_dll" >&6; }
19789 if test "x$ac_cv_cflags__Wl__delayload_autoconftest_dll" = xyes
19790 then :
19791 DELAYLOADFLAG="-Wl,-delayload,"
19793 fi ;;
19794 *) MSVCRTFLAGS="-D_WIN32"
19795 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
19796 printf %s "checking whether the compiler supports -fno-builtin... " >&6; }
19797 if test ${ac_cv_cflags__fno_builtin+y}
19798 then :
19799 printf %s "(cached) " >&6
19800 else $as_nop
19801 ac_wine_try_cflags_saved=$CFLAGS
19802 CFLAGS="$CFLAGS -fno-builtin"
19803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19804 /* end confdefs.h. */
19805 int main(int argc, char **argv) { return 0; }
19806 _ACEOF
19807 if ac_fn_c_try_link "$LINENO"
19808 then :
19809 ac_cv_cflags__fno_builtin=yes
19810 else $as_nop
19811 ac_cv_cflags__fno_builtin=no
19813 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19814 conftest$ac_exeext conftest.$ac_ext
19815 CFLAGS=$ac_wine_try_cflags_saved
19817 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
19818 printf "%s\n" "$ac_cv_cflags__fno_builtin" >&6; }
19819 if test "x$ac_cv_cflags__fno_builtin" = xyes
19820 then :
19821 MSVCRTFLAGS="$MSVCRTFLAGS -fno-builtin"
19823 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
19824 printf %s "checking whether the compiler supports -fshort-wchar... " >&6; }
19825 if test ${ac_cv_cflags__fshort_wchar+y}
19826 then :
19827 printf %s "(cached) " >&6
19828 else $as_nop
19829 ac_wine_try_cflags_saved=$CFLAGS
19830 CFLAGS="$CFLAGS -fshort-wchar"
19831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19832 /* end confdefs.h. */
19833 int main(int argc, char **argv) { return 0; }
19834 _ACEOF
19835 if ac_fn_c_try_link "$LINENO"
19836 then :
19837 ac_cv_cflags__fshort_wchar=yes
19838 else $as_nop
19839 ac_cv_cflags__fshort_wchar=no
19841 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19842 conftest$ac_exeext conftest.$ac_ext
19843 CFLAGS=$ac_wine_try_cflags_saved
19845 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fshort_wchar" >&5
19846 printf "%s\n" "$ac_cv_cflags__fshort_wchar" >&6; }
19847 if test "x$ac_cv_cflags__fshort_wchar" = xyes
19848 then :
19849 MSVCRTFLAGS="$MSVCRTFLAGS -fshort-wchar"
19851 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
19852 printf %s "checking whether the compiler supports -Wno-format... " >&6; }
19853 if test ${ac_cv_cflags__Wno_format+y}
19854 then :
19855 printf %s "(cached) " >&6
19856 else $as_nop
19857 ac_wine_try_cflags_saved=$CFLAGS
19858 CFLAGS="$CFLAGS -Wno-format"
19859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19860 /* end confdefs.h. */
19861 int main(int argc, char **argv) { return 0; }
19862 _ACEOF
19863 if ac_fn_c_try_link "$LINENO"
19864 then :
19865 ac_cv_cflags__Wno_format=yes
19866 else $as_nop
19867 ac_cv_cflags__Wno_format=no
19869 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19870 conftest$ac_exeext conftest.$ac_ext
19871 CFLAGS=$ac_wine_try_cflags_saved
19873 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
19874 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
19875 if test "x$ac_cv_cflags__Wno_format" = xyes
19876 then :
19877 MSVCRTFLAGS="$MSVCRTFLAGS -Wno-format"
19878 fi ;;
19879 esac
19881 case $HOST_ARCH in
19882 i386) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
19883 printf %s "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
19884 if test ${ac_cv_cflags__fno_omit_frame_pointer+y}
19885 then :
19886 printf %s "(cached) " >&6
19887 else $as_nop
19888 ac_wine_try_cflags_saved=$CFLAGS
19889 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
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__fno_omit_frame_pointer=yes
19897 else $as_nop
19898 ac_cv_cflags__fno_omit_frame_pointer=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__fno_omit_frame_pointer" >&5
19905 printf "%s\n" "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
19906 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes
19907 then :
19908 MSVCRTFLAGS="$MSVCRTFLAGS -fno-omit-frame-pointer"
19909 fi ;;
19910 x86_64)
19911 case $host_os in
19912 cygwin*|mingw32*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
19913 printf %s "checking whether the compiler supports -Wno-format... " >&6; }
19914 if test ${ac_cv_cflags__Wno_format+y}
19915 then :
19916 printf %s "(cached) " >&6
19917 else $as_nop
19918 ac_wine_try_cflags_saved=$CFLAGS
19919 CFLAGS="$CFLAGS -Wno-format"
19920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19921 /* end confdefs.h. */
19922 int main(int argc, char **argv) { return 0; }
19923 _ACEOF
19924 if ac_fn_c_try_link "$LINENO"
19925 then :
19926 ac_cv_cflags__Wno_format=yes
19927 else $as_nop
19928 ac_cv_cflags__Wno_format=no
19930 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19931 conftest$ac_exeext conftest.$ac_ext
19932 CFLAGS=$ac_wine_try_cflags_saved
19934 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
19935 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
19936 if test "x$ac_cv_cflags__Wno_format" = xyes
19937 then :
19938 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
19939 fi ;;
19940 *) if test -z "$PE_ARCHS"
19941 then
19942 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working -mabi=ms" >&5
19943 printf %s "checking for working -mabi=ms... " >&6; }
19944 if test ${ac_cv_mabi_ms+y}
19945 then :
19946 printf %s "(cached) " >&6
19947 else $as_nop
19948 CFLAGS="$CFLAGS -mabi=ms"
19949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19950 /* end confdefs.h. */
19951 #include <stdarg.h>
19952 int a(int b, ...) { __builtin_ms_va_list list; __builtin_ms_va_start(list,b); }
19954 main (void)
19958 return 0;
19960 _ACEOF
19961 if ac_fn_c_try_compile "$LINENO"
19962 then :
19963 ac_cv_mabi_ms=yes
19964 else $as_nop
19965 ac_cv_mabi_ms=no
19967 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19968 CFLAGS=$saved_CFLAGS
19970 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mabi_ms" >&5
19971 printf "%s\n" "$ac_cv_mabi_ms" >&6; }
19972 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
19974 MSVCRTFLAGS="$MSVCRTFLAGS -mabi=ms" ;;
19975 esac ;;
19976 arm)
19977 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wincompatible-function-pointer-types" >&5
19978 printf %s "checking whether the compiler supports -Wincompatible-function-pointer-types... " >&6; }
19979 if test ${ac_cv_cflags__Wincompatible_function_pointer_types+y}
19980 then :
19981 printf %s "(cached) " >&6
19982 else $as_nop
19983 ac_wine_try_cflags_saved=$CFLAGS
19984 CFLAGS="$CFLAGS -Wincompatible-function-pointer-types"
19985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19986 /* end confdefs.h. */
19987 int main(int argc, char **argv) { return 0; }
19988 _ACEOF
19989 if ac_fn_c_try_link "$LINENO"
19990 then :
19991 ac_cv_cflags__Wincompatible_function_pointer_types=yes
19992 else $as_nop
19993 ac_cv_cflags__Wincompatible_function_pointer_types=no
19995 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19996 conftest$ac_exeext conftest.$ac_ext
19997 CFLAGS=$ac_wine_try_cflags_saved
19999 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wincompatible_function_pointer_types" >&5
20000 printf "%s\n" "$ac_cv_cflags__Wincompatible_function_pointer_types" >&6; }
20001 if test "x$ac_cv_cflags__Wincompatible_function_pointer_types" = xyes
20002 then :
20003 EXTRACFLAGS="$EXTRACFLAGS -Wno-error=incompatible-function-pointer-types"
20004 fi ;;
20005 esac
20007 CFLAGS=$saved_CFLAGS
20009 if test "x$enable_werror" = "xyes"
20010 then
20011 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
20012 printf %s "checking whether the compiler supports -Werror... " >&6; }
20013 if test ${ac_cv_cflags__Werror+y}
20014 then :
20015 printf %s "(cached) " >&6
20016 else $as_nop
20017 ac_wine_try_cflags_saved=$CFLAGS
20018 CFLAGS="$CFLAGS -Werror"
20019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20020 /* end confdefs.h. */
20021 int main(int argc, char **argv) { return 0; }
20022 _ACEOF
20023 if ac_fn_c_try_link "$LINENO"
20024 then :
20025 ac_cv_cflags__Werror=yes
20026 else $as_nop
20027 ac_cv_cflags__Werror=no
20029 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20030 conftest$ac_exeext conftest.$ac_ext
20031 CFLAGS=$ac_wine_try_cflags_saved
20033 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
20034 printf "%s\n" "$ac_cv_cflags__Werror" >&6; }
20035 if test "x$ac_cv_cflags__Werror" = xyes
20036 then :
20037 EXTRACFLAGS="$EXTRACFLAGS -Werror"
20040 if test "x$enable_build_id" = "xyes"
20041 then
20042 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--build-id" >&5
20043 printf %s "checking whether the compiler supports -Wl,--build-id... " >&6; }
20044 if test ${ac_cv_cflags__Wl___build_id+y}
20045 then :
20046 printf %s "(cached) " >&6
20047 else $as_nop
20048 ac_wine_try_cflags_saved=$CFLAGS
20049 CFLAGS="$CFLAGS -Wl,--build-id"
20050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20051 /* end confdefs.h. */
20052 int main(int argc, char **argv) { return 0; }
20053 _ACEOF
20054 if ac_fn_c_try_link "$LINENO"
20055 then :
20056 ac_cv_cflags__Wl___build_id=yes
20057 else $as_nop
20058 ac_cv_cflags__Wl___build_id=no
20060 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20061 conftest$ac_exeext conftest.$ac_ext
20062 CFLAGS=$ac_wine_try_cflags_saved
20064 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___build_id" >&5
20065 printf "%s\n" "$ac_cv_cflags__Wl___build_id" >&6; }
20066 if test "x$ac_cv_cflags__Wl___build_id" = xyes
20067 then :
20068 CFLAGS="$CFLAGS -Wl,--build-id"
20069 LDFLAGS="$LDFLAGS -Wl,--build-id"
20075 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
20076 printf %s "checking for the need to disable Fortify... " >&6; }
20077 if test ${ac_cv_c_fortify_enabled+y}
20078 then :
20079 printf %s "(cached) " >&6
20080 else $as_nop
20081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20082 /* end confdefs.h. */
20083 #include <string.h>
20085 main (void)
20087 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
20088 #error Fortify enabled
20089 #endif
20091 return 0;
20093 _ACEOF
20094 if ac_fn_c_try_compile "$LINENO"
20095 then :
20096 ac_cv_c_fortify_enabled=no
20097 else $as_nop
20098 ac_cv_c_fortify_enabled=yes
20100 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
20102 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
20103 printf "%s\n" "$ac_cv_c_fortify_enabled" >&6; }
20104 if test "$ac_cv_c_fortify_enabled" = yes
20105 then
20106 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
20110 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
20111 printf %s "checking whether CFI directives are supported in assembly code... " >&6; }
20112 if test ${ac_cv_c_cfi_support+y}
20113 then :
20114 printf %s "(cached) " >&6
20115 else $as_nop
20116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20117 /* end confdefs.h. */
20118 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
20120 main (void)
20124 return 0;
20126 _ACEOF
20127 if ac_fn_c_try_compile "$LINENO"
20128 then :
20129 ac_cv_c_cfi_support="yes"
20130 else $as_nop
20131 ac_cv_c_cfi_support="no"
20133 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
20135 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
20136 printf "%s\n" "$ac_cv_c_cfi_support" >&6; }
20137 if test "$ac_cv_c_cfi_support" = "yes"
20138 then
20139 DLLFLAGS="$DLLFLAGS -fasynchronous-unwind-tables"
20140 LDDLLFLAGS="$LDDLLFLAGS -fasynchronous-unwind-tables"
20141 UNIXDLLFLAGS="$UNIXDLLFLAGS -fasynchronous-unwind-tables"
20142 elif test $HOST_ARCH = x86_64
20143 then
20144 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
20148 case "$HOST_ARCH,$PE_ARCHS" in
20149 x86_64,*i386*) wine_binary="wine" ;;
20150 x86_64,*) wine_binary="wine64" ;;
20151 *) wine_binary="wine" ;;
20152 esac
20153 WINELOADER_PROGRAMS="$wine_binary"
20156 case $host_os in
20157 linux*)
20158 if test $HOST_ARCH != unknown
20159 then
20160 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS " loader/wine-preloader"
20161 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
20164 darwin*|macosx*)
20165 if test "$wine_can_build_preloader" = "yes"
20166 then
20167 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS " loader/wine-preloader"
20168 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
20171 esac
20174 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
20175 printf %s "checking for library containing dlopen... " >&6; }
20176 if test ${ac_cv_search_dlopen+y}
20177 then :
20178 printf %s "(cached) " >&6
20179 else $as_nop
20180 ac_func_search_save_LIBS=$LIBS
20181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20182 /* end confdefs.h. */
20184 /* Override any GCC internal prototype to avoid an error.
20185 Use char because int might match the return type of a GCC
20186 builtin and then its argument prototype would still apply. */
20187 char dlopen ();
20189 main (void)
20191 return dlopen ();
20193 return 0;
20195 _ACEOF
20196 for ac_lib in '' dl
20198 if test -z "$ac_lib"; then
20199 ac_res="none required"
20200 else
20201 ac_res=-l$ac_lib
20202 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20204 if ac_fn_c_try_link "$LINENO"
20205 then :
20206 ac_cv_search_dlopen=$ac_res
20208 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20209 conftest$ac_exeext
20210 if test ${ac_cv_search_dlopen+y}
20211 then :
20212 break
20214 done
20215 if test ${ac_cv_search_dlopen+y}
20216 then :
20218 else $as_nop
20219 ac_cv_search_dlopen=no
20221 rm conftest.$ac_ext
20222 LIBS=$ac_func_search_save_LIBS
20224 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
20225 printf "%s\n" "$ac_cv_search_dlopen" >&6; }
20226 ac_res=$ac_cv_search_dlopen
20227 if test "$ac_res" != no
20228 then :
20229 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20234 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
20235 printf %s "checking for library containing gethostbyname... " >&6; }
20236 if test ${ac_cv_search_gethostbyname+y}
20237 then :
20238 printf %s "(cached) " >&6
20239 else $as_nop
20240 ac_func_search_save_LIBS=$LIBS
20241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20242 /* end confdefs.h. */
20244 /* Override any GCC internal prototype to avoid an error.
20245 Use char because int might match the return type of a GCC
20246 builtin and then its argument prototype would still apply. */
20247 char gethostbyname ();
20249 main (void)
20251 return gethostbyname ();
20253 return 0;
20255 _ACEOF
20256 for ac_lib in '' nsl
20258 if test -z "$ac_lib"; then
20259 ac_res="none required"
20260 else
20261 ac_res=-l$ac_lib
20262 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20264 if ac_fn_c_try_link "$LINENO"
20265 then :
20266 ac_cv_search_gethostbyname=$ac_res
20268 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20269 conftest$ac_exeext
20270 if test ${ac_cv_search_gethostbyname+y}
20271 then :
20272 break
20274 done
20275 if test ${ac_cv_search_gethostbyname+y}
20276 then :
20278 else $as_nop
20279 ac_cv_search_gethostbyname=no
20281 rm conftest.$ac_ext
20282 LIBS=$ac_func_search_save_LIBS
20284 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
20285 printf "%s\n" "$ac_cv_search_gethostbyname" >&6; }
20286 ac_res=$ac_cv_search_gethostbyname
20287 if test "$ac_res" != no
20288 then :
20289 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20294 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
20295 printf %s "checking for library containing connect... " >&6; }
20296 if test ${ac_cv_search_connect+y}
20297 then :
20298 printf %s "(cached) " >&6
20299 else $as_nop
20300 ac_func_search_save_LIBS=$LIBS
20301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20302 /* end confdefs.h. */
20304 /* Override any GCC internal prototype to avoid an error.
20305 Use char because int might match the return type of a GCC
20306 builtin and then its argument prototype would still apply. */
20307 char connect ();
20309 main (void)
20311 return connect ();
20313 return 0;
20315 _ACEOF
20316 for ac_lib in '' socket
20318 if test -z "$ac_lib"; then
20319 ac_res="none required"
20320 else
20321 ac_res=-l$ac_lib
20322 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20324 if ac_fn_c_try_link "$LINENO"
20325 then :
20326 ac_cv_search_connect=$ac_res
20328 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20329 conftest$ac_exeext
20330 if test ${ac_cv_search_connect+y}
20331 then :
20332 break
20334 done
20335 if test ${ac_cv_search_connect+y}
20336 then :
20338 else $as_nop
20339 ac_cv_search_connect=no
20341 rm conftest.$ac_ext
20342 LIBS=$ac_func_search_save_LIBS
20344 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
20345 printf "%s\n" "$ac_cv_search_connect" >&6; }
20346 ac_res=$ac_cv_search_connect
20347 if test "$ac_res" != no
20348 then :
20349 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20354 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
20355 printf %s "checking for library containing inet_aton... " >&6; }
20356 if test ${ac_cv_search_inet_aton+y}
20357 then :
20358 printf %s "(cached) " >&6
20359 else $as_nop
20360 ac_func_search_save_LIBS=$LIBS
20361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20362 /* end confdefs.h. */
20364 /* Override any GCC internal prototype to avoid an error.
20365 Use char because int might match the return type of a GCC
20366 builtin and then its argument prototype would still apply. */
20367 char inet_aton ();
20369 main (void)
20371 return inet_aton ();
20373 return 0;
20375 _ACEOF
20376 for ac_lib in '' resolv
20378 if test -z "$ac_lib"; then
20379 ac_res="none required"
20380 else
20381 ac_res=-l$ac_lib
20382 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20384 if ac_fn_c_try_link "$LINENO"
20385 then :
20386 ac_cv_search_inet_aton=$ac_res
20388 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20389 conftest$ac_exeext
20390 if test ${ac_cv_search_inet_aton+y}
20391 then :
20392 break
20394 done
20395 if test ${ac_cv_search_inet_aton+y}
20396 then :
20398 else $as_nop
20399 ac_cv_search_inet_aton=no
20401 rm conftest.$ac_ext
20402 LIBS=$ac_func_search_save_LIBS
20404 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
20405 printf "%s\n" "$ac_cv_search_inet_aton" >&6; }
20406 ac_res=$ac_cv_search_inet_aton
20407 if test "$ac_res" != no
20408 then :
20409 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20414 ac_save_CFLAGS="$CFLAGS"
20415 CFLAGS="$CFLAGS $BUILTINFLAG"
20416 ac_fn_c_check_func "$LINENO" "dladdr1" "ac_cv_func_dladdr1"
20417 if test "x$ac_cv_func_dladdr1" = xyes
20418 then :
20419 printf "%s\n" "#define HAVE_DLADDR1 1" >>confdefs.h
20422 ac_fn_c_check_func "$LINENO" "dlinfo" "ac_cv_func_dlinfo"
20423 if test "x$ac_cv_func_dlinfo" = xyes
20424 then :
20425 printf "%s\n" "#define HAVE_DLINFO 1" >>confdefs.h
20428 ac_fn_c_check_func "$LINENO" "epoll_create" "ac_cv_func_epoll_create"
20429 if test "x$ac_cv_func_epoll_create" = xyes
20430 then :
20431 printf "%s\n" "#define HAVE_EPOLL_CREATE 1" >>confdefs.h
20434 ac_fn_c_check_func "$LINENO" "fstatfs" "ac_cv_func_fstatfs"
20435 if test "x$ac_cv_func_fstatfs" = xyes
20436 then :
20437 printf "%s\n" "#define HAVE_FSTATFS 1" >>confdefs.h
20440 ac_fn_c_check_func "$LINENO" "futimens" "ac_cv_func_futimens"
20441 if test "x$ac_cv_func_futimens" = xyes
20442 then :
20443 printf "%s\n" "#define HAVE_FUTIMENS 1" >>confdefs.h
20446 ac_fn_c_check_func "$LINENO" "futimes" "ac_cv_func_futimes"
20447 if test "x$ac_cv_func_futimes" = xyes
20448 then :
20449 printf "%s\n" "#define HAVE_FUTIMES 1" >>confdefs.h
20452 ac_fn_c_check_func "$LINENO" "futimesat" "ac_cv_func_futimesat"
20453 if test "x$ac_cv_func_futimesat" = xyes
20454 then :
20455 printf "%s\n" "#define HAVE_FUTIMESAT 1" >>confdefs.h
20458 ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
20459 if test "x$ac_cv_func_getaddrinfo" = xyes
20460 then :
20461 printf "%s\n" "#define HAVE_GETADDRINFO 1" >>confdefs.h
20464 ac_fn_c_check_func "$LINENO" "getattrlist" "ac_cv_func_getattrlist"
20465 if test "x$ac_cv_func_getattrlist" = xyes
20466 then :
20467 printf "%s\n" "#define HAVE_GETATTRLIST 1" >>confdefs.h
20470 ac_fn_c_check_func "$LINENO" "getauxval" "ac_cv_func_getauxval"
20471 if test "x$ac_cv_func_getauxval" = xyes
20472 then :
20473 printf "%s\n" "#define HAVE_GETAUXVAL 1" >>confdefs.h
20476 ac_fn_c_check_func "$LINENO" "getifaddrs" "ac_cv_func_getifaddrs"
20477 if test "x$ac_cv_func_getifaddrs" = xyes
20478 then :
20479 printf "%s\n" "#define HAVE_GETIFADDRS 1" >>confdefs.h
20482 ac_fn_c_check_func "$LINENO" "getrandom" "ac_cv_func_getrandom"
20483 if test "x$ac_cv_func_getrandom" = xyes
20484 then :
20485 printf "%s\n" "#define HAVE_GETRANDOM 1" >>confdefs.h
20488 ac_fn_c_check_func "$LINENO" "kqueue" "ac_cv_func_kqueue"
20489 if test "x$ac_cv_func_kqueue" = xyes
20490 then :
20491 printf "%s\n" "#define HAVE_KQUEUE 1" >>confdefs.h
20494 ac_fn_c_check_func "$LINENO" "mach_continuous_time" "ac_cv_func_mach_continuous_time"
20495 if test "x$ac_cv_func_mach_continuous_time" = xyes
20496 then :
20497 printf "%s\n" "#define HAVE_MACH_CONTINUOUS_TIME 1" >>confdefs.h
20500 ac_fn_c_check_func "$LINENO" "pipe2" "ac_cv_func_pipe2"
20501 if test "x$ac_cv_func_pipe2" = xyes
20502 then :
20503 printf "%s\n" "#define HAVE_PIPE2 1" >>confdefs.h
20506 ac_fn_c_check_func "$LINENO" "port_create" "ac_cv_func_port_create"
20507 if test "x$ac_cv_func_port_create" = xyes
20508 then :
20509 printf "%s\n" "#define HAVE_PORT_CREATE 1" >>confdefs.h
20512 ac_fn_c_check_func "$LINENO" "posix_fadvise" "ac_cv_func_posix_fadvise"
20513 if test "x$ac_cv_func_posix_fadvise" = xyes
20514 then :
20515 printf "%s\n" "#define HAVE_POSIX_FADVISE 1" >>confdefs.h
20518 ac_fn_c_check_func "$LINENO" "posix_fallocate" "ac_cv_func_posix_fallocate"
20519 if test "x$ac_cv_func_posix_fallocate" = xyes
20520 then :
20521 printf "%s\n" "#define HAVE_POSIX_FALLOCATE 1" >>confdefs.h
20524 ac_fn_c_check_func "$LINENO" "prctl" "ac_cv_func_prctl"
20525 if test "x$ac_cv_func_prctl" = xyes
20526 then :
20527 printf "%s\n" "#define HAVE_PRCTL 1" >>confdefs.h
20530 ac_fn_c_check_func "$LINENO" "proc_pidinfo" "ac_cv_func_proc_pidinfo"
20531 if test "x$ac_cv_func_proc_pidinfo" = xyes
20532 then :
20533 printf "%s\n" "#define HAVE_PROC_PIDINFO 1" >>confdefs.h
20536 ac_fn_c_check_func "$LINENO" "sched_yield" "ac_cv_func_sched_yield"
20537 if test "x$ac_cv_func_sched_yield" = xyes
20538 then :
20539 printf "%s\n" "#define HAVE_SCHED_YIELD 1" >>confdefs.h
20542 ac_fn_c_check_func "$LINENO" "setproctitle" "ac_cv_func_setproctitle"
20543 if test "x$ac_cv_func_setproctitle" = xyes
20544 then :
20545 printf "%s\n" "#define HAVE_SETPROCTITLE 1" >>confdefs.h
20548 ac_fn_c_check_func "$LINENO" "setprogname" "ac_cv_func_setprogname"
20549 if test "x$ac_cv_func_setprogname" = xyes
20550 then :
20551 printf "%s\n" "#define HAVE_SETPROGNAME 1" >>confdefs.h
20554 ac_fn_c_check_func "$LINENO" "sigprocmask" "ac_cv_func_sigprocmask"
20555 if test "x$ac_cv_func_sigprocmask" = xyes
20556 then :
20557 printf "%s\n" "#define HAVE_SIGPROCMASK 1" >>confdefs.h
20560 ac_fn_c_check_func "$LINENO" "sysinfo" "ac_cv_func_sysinfo"
20561 if test "x$ac_cv_func_sysinfo" = xyes
20562 then :
20563 printf "%s\n" "#define HAVE_SYSINFO 1" >>confdefs.h
20566 ac_fn_c_check_func "$LINENO" "tcdrain" "ac_cv_func_tcdrain"
20567 if test "x$ac_cv_func_tcdrain" = xyes
20568 then :
20569 printf "%s\n" "#define HAVE_TCDRAIN 1" >>confdefs.h
20572 ac_fn_c_check_func "$LINENO" "thr_kill2" "ac_cv_func_thr_kill2"
20573 if test "x$ac_cv_func_thr_kill2" = xyes
20574 then :
20575 printf "%s\n" "#define HAVE_THR_KILL2 1" >>confdefs.h
20579 CFLAGS="$ac_save_CFLAGS"
20581 case $host_os in
20582 darwin*|macosx*) ;;
20583 *) ac_save_LIBS=$LIBS
20584 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
20585 printf %s "checking for library containing clock_gettime... " >&6; }
20586 if test ${ac_cv_search_clock_gettime+y}
20587 then :
20588 printf %s "(cached) " >&6
20589 else $as_nop
20590 ac_func_search_save_LIBS=$LIBS
20591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20592 /* end confdefs.h. */
20594 /* Override any GCC internal prototype to avoid an error.
20595 Use char because int might match the return type of a GCC
20596 builtin and then its argument prototype would still apply. */
20597 char clock_gettime ();
20599 main (void)
20601 return clock_gettime ();
20603 return 0;
20605 _ACEOF
20606 for ac_lib in '' rt
20608 if test -z "$ac_lib"; then
20609 ac_res="none required"
20610 else
20611 ac_res=-l$ac_lib
20612 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20614 if ac_fn_c_try_link "$LINENO"
20615 then :
20616 ac_cv_search_clock_gettime=$ac_res
20618 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20619 conftest$ac_exeext
20620 if test ${ac_cv_search_clock_gettime+y}
20621 then :
20622 break
20624 done
20625 if test ${ac_cv_search_clock_gettime+y}
20626 then :
20628 else $as_nop
20629 ac_cv_search_clock_gettime=no
20631 rm conftest.$ac_ext
20632 LIBS=$ac_func_search_save_LIBS
20634 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
20635 printf "%s\n" "$ac_cv_search_clock_gettime" >&6; }
20636 ac_res=$ac_cv_search_clock_gettime
20637 if test "$ac_res" != no
20638 then :
20639 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20641 printf "%s\n" "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
20643 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
20647 LIBS=$ac_save_LIBS
20649 esac
20651 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
20652 printf %s "checking for sched_setaffinity... " >&6; }
20653 if test ${wine_cv_have_sched_setaffinity+y}
20654 then :
20655 printf %s "(cached) " >&6
20656 else $as_nop
20657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20658 /* end confdefs.h. */
20659 #include <sched.h>
20661 main (void)
20663 sched_setaffinity(0, 0, 0);
20665 return 0;
20667 _ACEOF
20668 if ac_fn_c_try_link "$LINENO"
20669 then :
20670 wine_cv_have_sched_setaffinity=yes
20671 else $as_nop
20672 wine_cv_have_sched_setaffinity=no
20674 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20675 conftest$ac_exeext conftest.$ac_ext
20677 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
20678 printf "%s\n" "$wine_cv_have_sched_setaffinity" >&6; }
20679 if test "$wine_cv_have_sched_setaffinity" = "yes"
20680 then
20682 printf "%s\n" "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
20687 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
20688 printf %s "checking for inline... " >&6; }
20689 if test ${ac_cv_c_inline+y}
20690 then :
20691 printf %s "(cached) " >&6
20692 else $as_nop
20693 ac_cv_c_inline=no
20694 for ac_kw in inline __inline__ __inline; do
20695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20696 /* end confdefs.h. */
20697 #ifndef __cplusplus
20698 typedef int foo_t;
20699 static $ac_kw foo_t static_foo (void) {return 0; }
20700 $ac_kw foo_t foo (void) {return 0; }
20701 #endif
20703 _ACEOF
20704 if ac_fn_c_try_compile "$LINENO"
20705 then :
20706 ac_cv_c_inline=$ac_kw
20708 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
20709 test "$ac_cv_c_inline" != no && break
20710 done
20713 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
20714 printf "%s\n" "$ac_cv_c_inline" >&6; }
20716 case $ac_cv_c_inline in
20717 inline | yes) ;;
20719 case $ac_cv_c_inline in
20720 no) ac_val=;;
20721 *) ac_val=$ac_cv_c_inline;;
20722 esac
20723 cat >>confdefs.h <<_ACEOF
20724 #ifndef __cplusplus
20725 #define inline $ac_val
20726 #endif
20727 _ACEOF
20729 esac
20731 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
20733 if test "x$ac_cv_type_request_sense" = xyes
20734 then :
20736 printf "%s\n" "#define HAVE_REQUEST_SENSE 1" >>confdefs.h
20742 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
20743 #include <sys/socket.h>
20744 #ifdef HAVE_SYS_SOCKETVAR_H
20745 #include <sys/socketvar.h>
20746 #endif
20747 #ifdef HAVE_NET_ROUTE_H
20748 #include <net/route.h>
20749 #endif
20750 #ifdef HAVE_NETINET_IN_H
20751 #include <netinet/in.h>
20752 #endif
20753 #ifdef HAVE_NETINET_IN_SYSTM_H
20754 #include <netinet/in_systm.h>
20755 #endif
20756 #ifdef HAVE_NETINET_IP_H
20757 #include <netinet/ip.h>
20758 #endif
20759 #ifdef HAVE_NETINET_IN_PCB_H
20760 #include <netinet/in_pcb.h>
20761 #endif
20763 if test "x$ac_cv_type_struct_xinpgen" = xyes
20764 then :
20766 printf "%s\n" "#define HAVE_STRUCT_XINPGEN 1" >>confdefs.h
20772 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
20773 printf %s "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
20774 if test ${wine_cv_linux_gethostbyname_r_6+y}
20775 then :
20776 printf %s "(cached) " >&6
20777 else $as_nop
20778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20779 /* end confdefs.h. */
20780 #include <netdb.h>
20782 main (void)
20785 char *name=0;
20786 struct hostent he;
20787 struct hostent *result;
20788 char *buf=0;
20789 int bufsize=0;
20790 int errnr;
20791 char *addr=0;
20792 int addrlen=0;
20793 int addrtype=0;
20794 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
20795 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
20798 return 0;
20800 _ACEOF
20801 if ac_fn_c_try_link "$LINENO"
20802 then :
20803 wine_cv_linux_gethostbyname_r_6=yes
20804 else $as_nop
20805 wine_cv_linux_gethostbyname_r_6=no
20808 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20809 conftest$ac_exeext conftest.$ac_ext
20812 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
20813 printf "%s\n" "$wine_cv_linux_gethostbyname_r_6" >&6; }
20814 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
20815 then
20817 printf "%s\n" "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
20821 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
20822 #include <sys/socket.h>
20823 #ifdef HAVE_SYS_UN_H
20824 # include <sys/un.h>
20825 #endif
20827 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes
20828 then :
20830 printf "%s\n" "#define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1" >>confdefs.h
20834 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
20835 #include <sys/socket.h>
20836 #ifdef HAVE_SYS_UN_H
20837 # include <sys/un.h>
20838 #endif
20840 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
20841 then :
20843 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1" >>confdefs.h
20849 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
20850 #ifdef HAVE_SCSI_SG_H
20851 #include <scsi/sg.h>
20852 #endif
20854 if test "x$ac_cv_member_scsireq_t_cmd" = xyes
20855 then :
20857 printf "%s\n" "#define HAVE_SCSIREQ_T_CMD 1" >>confdefs.h
20861 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>
20862 #ifdef HAVE_SCSI_SG_H
20863 #include <scsi/sg.h>
20864 #endif
20866 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
20867 then :
20869 printf "%s\n" "#define HAVE_SG_IO_HDR_T_INTERFACE_ID 1" >>confdefs.h
20875 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
20877 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
20878 then :
20880 printf "%s\n" "#define HAVE_SIGINFO_T_SI_FD 1" >>confdefs.h
20886 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
20887 #ifdef HAVE_SYS_MTIO_H
20888 #include <sys/mtio.h>
20889 #endif
20891 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes
20892 then :
20894 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKSIZ 1" >>confdefs.h
20898 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
20899 #ifdef HAVE_SYS_MTIO_H
20900 #include <sys/mtio.h>
20901 #endif
20903 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes
20904 then :
20906 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_GSTAT 1" >>confdefs.h
20910 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
20911 #ifdef HAVE_SYS_MTIO_H
20912 #include <sys/mtio.h>
20913 #endif
20915 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
20916 then :
20918 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKNO 1" >>confdefs.h
20924 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
20925 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
20926 then :
20928 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIM 1" >>confdefs.h
20932 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
20933 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes
20934 then :
20936 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIMESPEC 1" >>confdefs.h
20940 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
20941 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
20942 then :
20944 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIM 1" >>confdefs.h
20948 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
20949 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes
20950 then :
20952 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIMESPEC 1" >>confdefs.h
20956 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
20957 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
20958 then :
20960 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIM 1" >>confdefs.h
20964 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
20965 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes
20966 then :
20968 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIMESPEC 1" >>confdefs.h
20972 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
20973 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes
20974 then :
20976 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIME 1" >>confdefs.h
20980 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
20981 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes
20982 then :
20984 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIM 1" >>confdefs.h
20988 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
20989 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes
20990 then :
20992 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1" >>confdefs.h
20996 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
20997 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes
20998 then :
21000 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIME 1" >>confdefs.h
21004 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
21005 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes
21006 then :
21008 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIM 1" >>confdefs.h
21014 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>
21015 #ifdef HAVE_NETINET_IN_H
21016 #include <netinet/in.h>
21017 #endif
21019 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
21020 then :
21022 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1" >>confdefs.h
21028 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
21029 #include <resolv.h>
21030 #endif
21032 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes
21033 then :
21035 printf "%s\n" "#define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1" >>confdefs.h
21041 ac_fn_c_check_member "$LINENO" "struct in6_pktinfo" "ipi6_addr" "ac_cv_member_struct_in6_pktinfo_ipi6_addr" "#ifdef HAVE_NETINET_IN_H
21042 #include <netinet/in.h>
21043 #endif
21045 if test "x$ac_cv_member_struct_in6_pktinfo_ipi6_addr" = xyes
21046 then :
21048 printf "%s\n" "#define HAVE_STRUCT_IN6_PKTINFO_IPI6_ADDR 1" >>confdefs.h
21054 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#include <sys/types.h>
21055 #ifdef HAVE_SYS_SOCKETVAR_H
21056 #include <sys/socketvar.h>
21057 #endif
21058 #ifdef HAVE_NETINET_IN_H
21059 #include <netinet/in.h>
21060 #endif
21061 #ifdef HAVE_NETINET_IP_VAR_H
21062 #include <netinet/ip_var.h>
21063 #endif
21065 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes
21066 then :
21068 printf "%s\n" "#define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1" >>confdefs.h
21074 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
21075 #include <netinet/ip_var.h>
21076 #endif
21078 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes
21079 then :
21081 printf "%s\n" "#define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1" >>confdefs.h
21087 ac_fn_c_check_member "$LINENO" "struct ip6stat" "ip6s_total" "ac_cv_member_struct_ip6stat_ip6s_total" "#include <sys/types.h>
21088 #ifdef HAVE_SYS_SOCKETVAR_H
21089 #include <sys/socketvar.h>
21090 #endif
21091 #ifdef HAVE_NETINET_IN_H
21092 #include <netinet/in.h>
21093 #endif
21094 #ifdef HAVE_NETINET6_IP6_VAR_H
21095 #include <netinet6/ip6_var.h>
21096 #endif
21098 if test "x$ac_cv_member_struct_ip6stat_ip6s_total" = xyes
21099 then :
21101 printf "%s\n" "#define HAVE_STRUCT_IP6STAT_IP6S_TOTAL 1" >>confdefs.h
21107 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_error" "ac_cv_member_struct_icmpstat_icps_error" "#include <sys/types.h>
21108 #ifdef HAVE_SYS_SOCKETVAR_H
21109 #include <sys/socketvar.h>
21110 #endif
21111 #ifdef HAVE_NETINET_IN_H
21112 #include <netinet/in.h>
21113 #endif
21114 #ifdef HAVE_NETINET_IP_H
21115 #include <netinet/ip.h>
21116 #endif
21117 #ifdef HAVE_NETINET_IP_ICMP_H
21118 #include <netinet/ip_icmp.h>
21119 #endif
21120 #ifdef HAVE_NETINET_ICMP_VAR_H
21121 #include <netinet/icmp_var.h>
21122 #endif
21124 if test "x$ac_cv_member_struct_icmpstat_icps_error" = xyes
21125 then :
21127 printf "%s\n" "#define HAVE_STRUCT_ICMPSTAT_ICPS_ERROR 1" >>confdefs.h
21133 ac_fn_c_check_member "$LINENO" "struct icmp6stat" "icp6s_error" "ac_cv_member_struct_icmp6stat_icp6s_error" "#include <sys/types.h>
21134 #ifdef HAVE_SYS_SOCKETVAR_H
21135 #include <sys/socketvar.h>
21136 #endif
21137 #ifdef HAVE_NETINET_IN_H
21138 #include <netinet/in.h>
21139 #endif
21140 #ifdef HAVE_NETINET_ICMP6_H
21141 #include <netinet/icmp6.h>
21142 #endif
21144 if test "x$ac_cv_member_struct_icmp6stat_icp6s_error" = xyes
21145 then :
21147 printf "%s\n" "#define HAVE_STRUCT_ICMP6STAT_ICP6S_ERROR 1" >>confdefs.h
21153 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#include <sys/types.h>
21154 #ifdef HAVE_SYS_SOCKETVAR_H
21155 #include <sys/socketvar.h>
21156 #endif
21157 #ifdef HAVE_NETINET_IN_H
21158 #include <netinet/in.h>
21159 #endif
21160 #ifdef HAVE_NETINET_TCP_H
21161 #include <netinet/tcp.h>
21162 #endif
21163 #ifdef HAVE_NETINET_TCP_VAR_H
21164 #include <netinet/tcp_var.h>
21165 #endif
21167 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes
21168 then :
21170 printf "%s\n" "#define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1" >>confdefs.h
21176 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
21177 #include <netinet/tcp_var.h>
21178 #endif
21180 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes
21181 then :
21183 printf "%s\n" "#define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1" >>confdefs.h
21189 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#include <sys/types.h>
21190 #ifdef HAVE_NETINET_IN_H
21191 #include <netinet/in.h>
21192 #endif
21193 #ifdef HAVE_NETINET_IP_VAR_H
21194 #include <netinet/ip_var.h>
21195 #endif
21196 #ifdef HAVE_NETINET_UDP_H
21197 #include <netinet/udp.h>
21198 #endif
21199 #ifdef HAVE_NETINET_UDP_VAR_H
21200 #include <netinet/udp_var.h>
21201 #endif
21203 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes
21204 then :
21206 printf "%s\n" "#define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1" >>confdefs.h
21212 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#include <sys/types.h>
21213 #ifdef HAVE_NET_IF_H
21214 # include <net/if.h>
21215 #endif
21217 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
21218 then :
21220 printf "%s\n" "#define HAVE_STRUCT_IFREQ_IFR_HWADDR 1" >>confdefs.h
21226 ac_fn_c_check_member "$LINENO" "struct sysinfo" "totalram" "ac_cv_member_struct_sysinfo_totalram" "#ifdef HAVE_SYS_SYSINFO_H
21227 # include <sys/sysinfo.h>
21228 #endif
21230 if test "x$ac_cv_member_struct_sysinfo_totalram" = xyes
21231 then :
21233 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_TOTALRAM 1" >>confdefs.h
21237 ac_fn_c_check_member "$LINENO" "struct sysinfo" "mem_unit" "ac_cv_member_struct_sysinfo_mem_unit" "#ifdef HAVE_SYS_SYSINFO_H
21238 # include <sys/sysinfo.h>
21239 #endif
21241 if test "x$ac_cv_member_struct_sysinfo_mem_unit" = xyes
21242 then :
21244 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_MEM_UNIT 1" >>confdefs.h
21250 LIBS="$ac_save_LIBS"
21252 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
21253 printf %s "checking for __builtin_popcount... " >&6; }
21254 if test ${ac_cv_have___builtin_popcount+y}
21255 then :
21256 printf %s "(cached) " >&6
21257 else $as_nop
21258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21259 /* end confdefs.h. */
21262 main (void)
21264 return __builtin_popcount(1)
21266 return 0;
21268 _ACEOF
21269 if ac_fn_c_try_link "$LINENO"
21270 then :
21271 ac_cv_have___builtin_popcount="yes"
21272 else $as_nop
21273 ac_cv_have___builtin_popcount="no"
21275 rm -f core conftest.err conftest.$ac_objext conftest.beam \
21276 conftest$ac_exeext conftest.$ac_ext
21278 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
21279 printf "%s\n" "$ac_cv_have___builtin_popcount" >&6; }
21280 if test "$ac_cv_have___builtin_popcount" = "yes"
21281 then
21283 printf "%s\n" "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
21287 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
21288 printf %s "checking for __clear_cache... " >&6; }
21289 if test ${ac_cv_have___clear_cache+y}
21290 then :
21291 printf %s "(cached) " >&6
21292 else $as_nop
21293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21294 /* end confdefs.h. */
21297 main (void)
21299 __clear_cache((void*)0, (void*)0); return 0;
21301 return 0;
21303 _ACEOF
21304 if ac_fn_c_try_link "$LINENO"
21305 then :
21306 ac_cv_have___clear_cache="yes"
21307 else $as_nop
21308 ac_cv_have___clear_cache="no"
21310 rm -f core conftest.err conftest.$ac_objext conftest.beam \
21311 conftest$ac_exeext conftest.$ac_ext
21313 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
21314 printf "%s\n" "$ac_cv_have___clear_cache" >&6; }
21315 if test "$ac_cv_have___clear_cache" = "yes"
21316 then
21318 printf "%s\n" "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
21323 case $host_cpu in
21324 *i[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
21325 printf %s "checking whether we need to define __i386__... " >&6; }
21326 if test ${ac_cv_cpp_def___i386__+y}
21327 then :
21328 printf %s "(cached) " >&6
21329 else $as_nop
21330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21331 /* end confdefs.h. */
21332 #ifndef __i386__
21334 #endif
21335 _ACEOF
21336 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21337 $EGREP "yes" >/dev/null 2>&1
21338 then :
21339 ac_cv_cpp_def___i386__=yes
21340 else $as_nop
21341 ac_cv_cpp_def___i386__=no
21343 rm -rf conftest*
21346 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
21347 printf "%s\n" "$ac_cv_cpp_def___i386__" >&6; }
21348 if test "x$ac_cv_cpp_def___i386__" = xyes
21349 then :
21350 CFLAGS="$CFLAGS -D__i386__"
21351 LINTFLAGS="$LINTFLAGS -D__i386__"
21352 fi ;;
21353 *x86_64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
21354 printf %s "checking whether we need to define __x86_64__... " >&6; }
21355 if test ${ac_cv_cpp_def___x86_64__+y}
21356 then :
21357 printf %s "(cached) " >&6
21358 else $as_nop
21359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21360 /* end confdefs.h. */
21361 #ifndef __x86_64__
21363 #endif
21364 _ACEOF
21365 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21366 $EGREP "yes" >/dev/null 2>&1
21367 then :
21368 ac_cv_cpp_def___x86_64__=yes
21369 else $as_nop
21370 ac_cv_cpp_def___x86_64__=no
21372 rm -rf conftest*
21375 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
21376 printf "%s\n" "$ac_cv_cpp_def___x86_64__" >&6; }
21377 if test "x$ac_cv_cpp_def___x86_64__" = xyes
21378 then :
21379 CFLAGS="$CFLAGS -D__x86_64__"
21380 LINTFLAGS="$LINTFLAGS -D__x86_64__"
21381 fi ;;
21382 *sparc64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
21383 printf %s "checking whether we need to define __sparc64__... " >&6; }
21384 if test ${ac_cv_cpp_def___sparc64__+y}
21385 then :
21386 printf %s "(cached) " >&6
21387 else $as_nop
21388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21389 /* end confdefs.h. */
21390 #ifndef __sparc64__
21392 #endif
21393 _ACEOF
21394 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21395 $EGREP "yes" >/dev/null 2>&1
21396 then :
21397 ac_cv_cpp_def___sparc64__=yes
21398 else $as_nop
21399 ac_cv_cpp_def___sparc64__=no
21401 rm -rf conftest*
21404 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
21405 printf "%s\n" "$ac_cv_cpp_def___sparc64__" >&6; }
21406 if test "x$ac_cv_cpp_def___sparc64__" = xyes
21407 then :
21408 CFLAGS="$CFLAGS -D__sparc64__"
21409 LINTFLAGS="$LINTFLAGS -D__sparc64__"
21410 fi ;;
21411 *sparc*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
21412 printf %s "checking whether we need to define __sparc__... " >&6; }
21413 if test ${ac_cv_cpp_def___sparc__+y}
21414 then :
21415 printf %s "(cached) " >&6
21416 else $as_nop
21417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21418 /* end confdefs.h. */
21419 #ifndef __sparc__
21421 #endif
21422 _ACEOF
21423 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21424 $EGREP "yes" >/dev/null 2>&1
21425 then :
21426 ac_cv_cpp_def___sparc__=yes
21427 else $as_nop
21428 ac_cv_cpp_def___sparc__=no
21430 rm -rf conftest*
21433 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
21434 printf "%s\n" "$ac_cv_cpp_def___sparc__" >&6; }
21435 if test "x$ac_cv_cpp_def___sparc__" = xyes
21436 then :
21437 CFLAGS="$CFLAGS -D__sparc__"
21438 LINTFLAGS="$LINTFLAGS -D__sparc__"
21439 fi ;;
21440 *powerpc64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
21441 printf %s "checking whether we need to define __powerpc64__... " >&6; }
21442 if test ${ac_cv_cpp_def___powerpc64__+y}
21443 then :
21444 printf %s "(cached) " >&6
21445 else $as_nop
21446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21447 /* end confdefs.h. */
21448 #ifndef __powerpc64__
21450 #endif
21451 _ACEOF
21452 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21453 $EGREP "yes" >/dev/null 2>&1
21454 then :
21455 ac_cv_cpp_def___powerpc64__=yes
21456 else $as_nop
21457 ac_cv_cpp_def___powerpc64__=no
21459 rm -rf conftest*
21462 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
21463 printf "%s\n" "$ac_cv_cpp_def___powerpc64__" >&6; }
21464 if test "x$ac_cv_cpp_def___powerpc64__" = xyes
21465 then :
21466 CFLAGS="$CFLAGS -D__powerpc64__"
21467 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
21468 fi ;;
21469 *powerpc*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
21470 printf %s "checking whether we need to define __powerpc__... " >&6; }
21471 if test ${ac_cv_cpp_def___powerpc__+y}
21472 then :
21473 printf %s "(cached) " >&6
21474 else $as_nop
21475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21476 /* end confdefs.h. */
21477 #ifndef __powerpc__
21479 #endif
21480 _ACEOF
21481 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21482 $EGREP "yes" >/dev/null 2>&1
21483 then :
21484 ac_cv_cpp_def___powerpc__=yes
21485 else $as_nop
21486 ac_cv_cpp_def___powerpc__=no
21488 rm -rf conftest*
21491 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
21492 printf "%s\n" "$ac_cv_cpp_def___powerpc__" >&6; }
21493 if test "x$ac_cv_cpp_def___powerpc__" = xyes
21494 then :
21495 CFLAGS="$CFLAGS -D__powerpc__"
21496 LINTFLAGS="$LINTFLAGS -D__powerpc__"
21497 fi ;;
21498 *aarch64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
21499 printf %s "checking whether we need to define __aarch64__... " >&6; }
21500 if test ${ac_cv_cpp_def___aarch64__+y}
21501 then :
21502 printf %s "(cached) " >&6
21503 else $as_nop
21504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21505 /* end confdefs.h. */
21506 #ifndef __aarch64__
21508 #endif
21509 _ACEOF
21510 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21511 $EGREP "yes" >/dev/null 2>&1
21512 then :
21513 ac_cv_cpp_def___aarch64__=yes
21514 else $as_nop
21515 ac_cv_cpp_def___aarch64__=no
21517 rm -rf conftest*
21520 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
21521 printf "%s\n" "$ac_cv_cpp_def___aarch64__" >&6; }
21522 if test "x$ac_cv_cpp_def___aarch64__" = xyes
21523 then :
21524 CFLAGS="$CFLAGS -D__aarch64__"
21525 LINTFLAGS="$LINTFLAGS -D__aarch64__"
21526 fi ;;
21527 *arm*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
21528 printf %s "checking whether we need to define __arm__... " >&6; }
21529 if test ${ac_cv_cpp_def___arm__+y}
21530 then :
21531 printf %s "(cached) " >&6
21532 else $as_nop
21533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21534 /* end confdefs.h. */
21535 #ifndef __arm__
21537 #endif
21538 _ACEOF
21539 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21540 $EGREP "yes" >/dev/null 2>&1
21541 then :
21542 ac_cv_cpp_def___arm__=yes
21543 else $as_nop
21544 ac_cv_cpp_def___arm__=no
21546 rm -rf conftest*
21549 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
21550 printf "%s\n" "$ac_cv_cpp_def___arm__" >&6; }
21551 if test "x$ac_cv_cpp_def___arm__" = xyes
21552 then :
21553 CFLAGS="$CFLAGS -D__arm__"
21554 LINTFLAGS="$LINTFLAGS -D__arm__"
21555 fi ;;
21556 esac
21558 case $host_vendor in
21559 *sun*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
21560 printf %s "checking whether we need to define __sun__... " >&6; }
21561 if test ${ac_cv_cpp_def___sun__+y}
21562 then :
21563 printf %s "(cached) " >&6
21564 else $as_nop
21565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21566 /* end confdefs.h. */
21567 #ifndef __sun__
21569 #endif
21570 _ACEOF
21571 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21572 $EGREP "yes" >/dev/null 2>&1
21573 then :
21574 ac_cv_cpp_def___sun__=yes
21575 else $as_nop
21576 ac_cv_cpp_def___sun__=no
21578 rm -rf conftest*
21581 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
21582 printf "%s\n" "$ac_cv_cpp_def___sun__" >&6; }
21583 if test "x$ac_cv_cpp_def___sun__" = xyes
21584 then :
21585 CFLAGS="$CFLAGS -D__sun__"
21586 LINTFLAGS="$LINTFLAGS -D__sun__"
21587 fi ;;
21588 esac
21594 ac_config_commands="$ac_config_commands include/stamp-h"
21596 printf %s "creating Makefile rules..." >&6
21598 makedep_flags=""
21599 test "x$enable_silent_rules" = xyes && makedep_flags="$makedep_flags -S"
21601 wine_srcdir=
21602 test "$srcdir" = . || wine_srcdir="$srcdir/"
21604 ac_config_links="$ac_config_links wine:tools/winewrapper"
21605 wine_fn_config_symlink wine
21606 if test "$wine_binary" = wine64 -o -n "$with_wine64"; then
21607 ac_config_links="$ac_config_links wine64:tools/winewrapper"
21608 wine_fn_config_symlink wine64
21611 wine_fn_config_makefile dlls/acledit enable_acledit
21612 wine_fn_config_makefile dlls/aclui enable_aclui
21613 wine_fn_config_makefile dlls/activeds.tlb enable_activeds_tlb
21614 wine_fn_config_makefile dlls/activeds enable_activeds
21615 wine_fn_config_makefile dlls/activeds/tests enable_tests
21616 wine_fn_config_makefile dlls/actxprxy enable_actxprxy
21617 wine_fn_config_makefile dlls/adsldp enable_adsldp
21618 wine_fn_config_makefile dlls/adsldp/tests enable_tests
21619 wine_fn_config_makefile dlls/adsldpc enable_adsldpc
21620 wine_fn_config_makefile dlls/advapi32 enable_advapi32
21621 wine_fn_config_makefile dlls/advapi32/tests enable_tests
21622 wine_fn_config_makefile dlls/advpack enable_advpack
21623 wine_fn_config_makefile dlls/advpack/tests enable_tests
21624 wine_fn_config_makefile dlls/amsi enable_amsi
21625 wine_fn_config_makefile dlls/amstream enable_amstream
21626 wine_fn_config_makefile dlls/amstream/tests enable_tests
21627 wine_fn_config_makefile dlls/apisetschema enable_apisetschema
21628 wine_fn_config_makefile dlls/apphelp enable_apphelp
21629 wine_fn_config_makefile dlls/apphelp/tests enable_tests
21630 wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
21631 wine_fn_config_makefile dlls/appxdeploymentclient enable_appxdeploymentclient
21632 wine_fn_config_makefile dlls/atl enable_atl
21633 wine_fn_config_makefile dlls/atl/tests enable_tests
21634 wine_fn_config_makefile dlls/atl100 enable_atl100
21635 wine_fn_config_makefile dlls/atl100/tests enable_tests
21636 wine_fn_config_makefile dlls/atl110 enable_atl110
21637 wine_fn_config_makefile dlls/atl110/tests enable_tests
21638 wine_fn_config_makefile dlls/atl80 enable_atl80
21639 wine_fn_config_makefile dlls/atl80/tests enable_tests
21640 wine_fn_config_makefile dlls/atl90 enable_atl90
21641 wine_fn_config_makefile dlls/atlthunk enable_atlthunk
21642 wine_fn_config_makefile dlls/atlthunk/tests enable_tests
21643 wine_fn_config_makefile dlls/atmlib enable_atmlib
21644 wine_fn_config_makefile dlls/authz enable_authz
21645 wine_fn_config_makefile dlls/avicap32 enable_avicap32
21646 wine_fn_config_makefile dlls/avifil32 enable_avifil32
21647 wine_fn_config_makefile dlls/avifil32/tests enable_tests
21648 wine_fn_config_makefile dlls/avifile.dll16 enable_win16
21649 wine_fn_config_makefile dlls/avrt enable_avrt
21650 wine_fn_config_makefile dlls/bcrypt enable_bcrypt
21651 wine_fn_config_makefile dlls/bcrypt/tests enable_tests
21652 wine_fn_config_makefile dlls/bcryptprimitives enable_bcryptprimitives
21653 wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
21654 wine_fn_config_makefile dlls/browseui enable_browseui
21655 wine_fn_config_makefile dlls/browseui/tests enable_tests
21656 wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
21657 wine_fn_config_makefile dlls/cabinet enable_cabinet
21658 wine_fn_config_makefile dlls/cabinet/tests enable_tests
21659 wine_fn_config_makefile dlls/capi2032 enable_capi2032
21660 wine_fn_config_makefile dlls/cards enable_cards
21661 wine_fn_config_makefile dlls/cdosys enable_cdosys
21662 wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
21663 wine_fn_config_makefile dlls/cfgmgr32/tests enable_tests
21664 wine_fn_config_makefile dlls/clusapi enable_clusapi
21665 wine_fn_config_makefile dlls/cng.sys enable_cng_sys
21666 wine_fn_config_makefile dlls/combase enable_combase
21667 wine_fn_config_makefile dlls/combase/tests enable_tests
21668 wine_fn_config_makefile dlls/comcat enable_comcat
21669 wine_fn_config_makefile dlls/comcat/tests enable_tests
21670 wine_fn_config_makefile dlls/comctl32 enable_comctl32
21671 wine_fn_config_makefile dlls/comctl32/tests enable_tests
21672 wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
21673 wine_fn_config_makefile dlls/comdlg32/tests enable_tests
21674 wine_fn_config_makefile dlls/coml2 enable_coml2
21675 wine_fn_config_makefile dlls/comm.drv16 enable_win16
21676 wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
21677 wine_fn_config_makefile dlls/compobj.dll16 enable_win16
21678 wine_fn_config_makefile dlls/compstui enable_compstui
21679 wine_fn_config_makefile dlls/compstui/tests enable_tests
21680 wine_fn_config_makefile dlls/comsvcs enable_comsvcs
21681 wine_fn_config_makefile dlls/comsvcs/tests enable_tests
21682 wine_fn_config_makefile dlls/concrt140 enable_concrt140
21683 wine_fn_config_makefile dlls/concrt140/tests enable_tests
21684 wine_fn_config_makefile dlls/connect enable_connect
21685 wine_fn_config_makefile dlls/credui enable_credui
21686 wine_fn_config_makefile dlls/credui/tests enable_tests
21687 wine_fn_config_makefile dlls/crtdll enable_crtdll
21688 wine_fn_config_makefile dlls/crypt32 enable_crypt32
21689 wine_fn_config_makefile dlls/crypt32/tests enable_tests
21690 wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
21691 wine_fn_config_makefile dlls/cryptdll enable_cryptdll
21692 wine_fn_config_makefile dlls/cryptext enable_cryptext
21693 wine_fn_config_makefile dlls/cryptnet enable_cryptnet
21694 wine_fn_config_makefile dlls/cryptnet/tests enable_tests
21695 wine_fn_config_makefile dlls/cryptowinrt enable_cryptowinrt
21696 wine_fn_config_makefile dlls/cryptowinrt/tests enable_tests
21697 wine_fn_config_makefile dlls/cryptsp enable_cryptsp
21698 wine_fn_config_makefile dlls/cryptui enable_cryptui
21699 wine_fn_config_makefile dlls/cryptui/tests enable_tests
21700 wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
21701 wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
21702 wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
21703 wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
21704 wine_fn_config_makefile dlls/d2d1 enable_d2d1
21705 wine_fn_config_makefile dlls/d2d1/tests enable_tests
21706 wine_fn_config_makefile dlls/d3d10 enable_d3d10
21707 wine_fn_config_makefile dlls/d3d10/tests enable_tests
21708 wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
21709 wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
21710 wine_fn_config_makefile dlls/d3d10core enable_d3d10core
21711 wine_fn_config_makefile dlls/d3d10core/tests enable_tests
21712 wine_fn_config_makefile dlls/d3d11 enable_d3d11
21713 wine_fn_config_makefile dlls/d3d11/tests enable_tests
21714 wine_fn_config_makefile dlls/d3d12 enable_d3d12
21715 wine_fn_config_makefile dlls/d3d12/tests enable_tests
21716 wine_fn_config_makefile dlls/d3d12core enable_d3d12core
21717 wine_fn_config_makefile dlls/d3d8 enable_d3d8
21718 wine_fn_config_makefile dlls/d3d8/tests enable_tests
21719 wine_fn_config_makefile dlls/d3d8thk enable_d3d8thk
21720 wine_fn_config_makefile dlls/d3d9 enable_d3d9
21721 wine_fn_config_makefile dlls/d3d9/tests enable_tests
21722 wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
21723 wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
21724 wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
21725 wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
21726 wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
21727 wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
21728 wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
21729 wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
21730 wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
21731 wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
21732 wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
21733 wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
21734 wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
21735 wine_fn_config_makefile dlls/d3dcompiler_46/tests enable_tests
21736 wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
21737 wine_fn_config_makefile dlls/d3dcompiler_47/tests enable_tests
21738 wine_fn_config_makefile dlls/d3dim enable_d3dim
21739 wine_fn_config_makefile dlls/d3dim700 enable_d3dim700
21740 wine_fn_config_makefile dlls/d3drm enable_d3drm
21741 wine_fn_config_makefile dlls/d3drm/tests enable_tests
21742 wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
21743 wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
21744 wine_fn_config_makefile dlls/d3dx10_34/tests enable_tests
21745 wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
21746 wine_fn_config_makefile dlls/d3dx10_35/tests enable_tests
21747 wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
21748 wine_fn_config_makefile dlls/d3dx10_36/tests enable_tests
21749 wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
21750 wine_fn_config_makefile dlls/d3dx10_37/tests enable_tests
21751 wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
21752 wine_fn_config_makefile dlls/d3dx10_38/tests enable_tests
21753 wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
21754 wine_fn_config_makefile dlls/d3dx10_39/tests enable_tests
21755 wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
21756 wine_fn_config_makefile dlls/d3dx10_40/tests enable_tests
21757 wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
21758 wine_fn_config_makefile dlls/d3dx10_41/tests enable_tests
21759 wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
21760 wine_fn_config_makefile dlls/d3dx10_42/tests enable_tests
21761 wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
21762 wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
21763 wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
21764 wine_fn_config_makefile dlls/d3dx11_42/tests enable_tests
21765 wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
21766 wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
21767 wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
21768 wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
21769 wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
21770 wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
21771 wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
21772 wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
21773 wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
21774 wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
21775 wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
21776 wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
21777 wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
21778 wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
21779 wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
21780 wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
21781 wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
21782 wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
21783 wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
21784 wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
21785 wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
21786 wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
21787 wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
21788 wine_fn_config_makefile dlls/d3dxof enable_d3dxof
21789 wine_fn_config_makefile dlls/d3dxof/tests enable_tests
21790 wine_fn_config_makefile dlls/davclnt enable_davclnt
21791 wine_fn_config_makefile dlls/dbgeng enable_dbgeng
21792 wine_fn_config_makefile dlls/dbgeng/tests enable_tests
21793 wine_fn_config_makefile dlls/dbghelp enable_dbghelp
21794 wine_fn_config_makefile dlls/dbghelp/tests enable_tests
21795 wine_fn_config_makefile dlls/dciman32 enable_dciman32
21796 wine_fn_config_makefile dlls/dcomp enable_dcomp
21797 wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
21798 wine_fn_config_makefile dlls/ddraw enable_ddraw
21799 wine_fn_config_makefile dlls/ddraw/tests enable_tests
21800 wine_fn_config_makefile dlls/ddrawex enable_ddrawex
21801 wine_fn_config_makefile dlls/ddrawex/tests enable_tests
21802 wine_fn_config_makefile dlls/devenum enable_devenum
21803 wine_fn_config_makefile dlls/devenum/tests enable_tests
21804 wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
21805 wine_fn_config_makefile dlls/dhcpcsvc/tests enable_tests
21806 wine_fn_config_makefile dlls/dhcpcsvc6 enable_dhcpcsvc6
21807 wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
21808 wine_fn_config_makefile dlls/diasymreader enable_diasymreader
21809 wine_fn_config_makefile dlls/difxapi enable_difxapi
21810 wine_fn_config_makefile dlls/dinput enable_dinput
21811 wine_fn_config_makefile dlls/dinput/tests enable_tests
21812 wine_fn_config_makefile dlls/dinput8 enable_dinput8
21813 wine_fn_config_makefile dlls/directmanipulation enable_directmanipulation
21814 wine_fn_config_makefile dlls/directmanipulation/tests enable_tests
21815 wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
21816 wine_fn_config_makefile dlls/dispex enable_dispex
21817 wine_fn_config_makefile dlls/dispex/tests enable_tests
21818 wine_fn_config_makefile dlls/display.drv16 enable_win16
21819 wine_fn_config_makefile dlls/dmband enable_dmband
21820 wine_fn_config_makefile dlls/dmband/tests enable_tests
21821 wine_fn_config_makefile dlls/dmcompos enable_dmcompos
21822 wine_fn_config_makefile dlls/dmcompos/tests enable_tests
21823 wine_fn_config_makefile dlls/dmime enable_dmime
21824 wine_fn_config_makefile dlls/dmime/tests enable_tests
21825 wine_fn_config_makefile dlls/dmloader enable_dmloader
21826 wine_fn_config_makefile dlls/dmloader/tests enable_tests
21827 wine_fn_config_makefile dlls/dmscript enable_dmscript
21828 wine_fn_config_makefile dlls/dmscript/tests enable_tests
21829 wine_fn_config_makefile dlls/dmstyle enable_dmstyle
21830 wine_fn_config_makefile dlls/dmstyle/tests enable_tests
21831 wine_fn_config_makefile dlls/dmsynth enable_dmsynth
21832 wine_fn_config_makefile dlls/dmsynth/tests enable_tests
21833 wine_fn_config_makefile dlls/dmusic enable_dmusic
21834 wine_fn_config_makefile dlls/dmusic/tests enable_tests
21835 wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
21836 wine_fn_config_makefile dlls/dnsapi enable_dnsapi
21837 wine_fn_config_makefile dlls/dnsapi/tests enable_tests
21838 wine_fn_config_makefile dlls/dplay enable_dplay
21839 wine_fn_config_makefile dlls/dplayx enable_dplayx
21840 wine_fn_config_makefile dlls/dplayx/tests enable_tests
21841 wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
21842 wine_fn_config_makefile dlls/dpnet enable_dpnet
21843 wine_fn_config_makefile dlls/dpnet/tests enable_tests
21844 wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
21845 wine_fn_config_makefile dlls/dpnhupnp enable_dpnhupnp
21846 wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
21847 wine_fn_config_makefile dlls/dpvoice enable_dpvoice
21848 wine_fn_config_makefile dlls/dpvoice/tests enable_tests
21849 wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
21850 wine_fn_config_makefile dlls/drmclien enable_drmclien
21851 wine_fn_config_makefile dlls/dsdmo enable_dsdmo
21852 wine_fn_config_makefile dlls/dsdmo/tests enable_tests
21853 wine_fn_config_makefile dlls/dsound enable_dsound
21854 wine_fn_config_makefile dlls/dsound/tests enable_tests
21855 wine_fn_config_makefile dlls/dsquery enable_dsquery
21856 wine_fn_config_makefile dlls/dssenh enable_dssenh
21857 wine_fn_config_makefile dlls/dssenh/tests enable_tests
21858 wine_fn_config_makefile dlls/dsuiext enable_dsuiext
21859 wine_fn_config_makefile dlls/dswave enable_dswave
21860 wine_fn_config_makefile dlls/dswave/tests enable_tests
21861 wine_fn_config_makefile dlls/dwmapi enable_dwmapi
21862 wine_fn_config_makefile dlls/dwmapi/tests enable_tests
21863 wine_fn_config_makefile dlls/dwrite enable_dwrite
21864 wine_fn_config_makefile dlls/dwrite/tests enable_tests
21865 wine_fn_config_makefile dlls/dx8vb enable_dx8vb
21866 wine_fn_config_makefile dlls/dxcore enable_dxcore
21867 wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
21868 wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
21869 wine_fn_config_makefile dlls/dxgi enable_dxgi
21870 wine_fn_config_makefile dlls/dxgi/tests enable_tests
21871 wine_fn_config_makefile dlls/dxtrans enable_dxtrans
21872 wine_fn_config_makefile dlls/dxva2 enable_dxva2
21873 wine_fn_config_makefile dlls/dxva2/tests enable_tests
21874 wine_fn_config_makefile dlls/esent enable_esent
21875 wine_fn_config_makefile dlls/evr enable_evr
21876 wine_fn_config_makefile dlls/evr/tests enable_tests
21877 wine_fn_config_makefile dlls/explorerframe enable_explorerframe
21878 wine_fn_config_makefile dlls/explorerframe/tests enable_tests
21879 wine_fn_config_makefile dlls/faultrep enable_faultrep
21880 wine_fn_config_makefile dlls/faultrep/tests enable_tests
21881 wine_fn_config_makefile dlls/feclient enable_feclient
21882 wine_fn_config_makefile dlls/fltlib enable_fltlib
21883 wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
21884 wine_fn_config_makefile dlls/fntcache enable_fntcache
21885 wine_fn_config_makefile dlls/fontsub enable_fontsub
21886 wine_fn_config_makefile dlls/fusion enable_fusion
21887 wine_fn_config_makefile dlls/fusion/tests enable_tests
21888 wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
21889 wine_fn_config_makefile dlls/gameux enable_gameux
21890 wine_fn_config_makefile dlls/gameux/tests enable_tests
21891 wine_fn_config_makefile dlls/gamingtcui enable_gamingtcui
21892 wine_fn_config_makefile dlls/gdi.exe16 enable_win16
21893 wine_fn_config_makefile dlls/gdi32 enable_gdi32
21894 wine_fn_config_makefile dlls/gdi32/tests enable_tests
21895 wine_fn_config_makefile dlls/gdiplus enable_gdiplus
21896 wine_fn_config_makefile dlls/gdiplus/tests enable_tests
21897 wine_fn_config_makefile dlls/geolocation enable_geolocation
21898 wine_fn_config_makefile dlls/geolocation/tests enable_tests
21899 wine_fn_config_makefile dlls/glu32 enable_glu32
21900 wine_fn_config_makefile dlls/glu32/tests enable_tests
21901 wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
21902 wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
21903 wine_fn_config_makefile dlls/graphicscapture enable_graphicscapture
21904 wine_fn_config_makefile dlls/graphicscapture/tests enable_tests
21905 wine_fn_config_makefile dlls/hal enable_hal
21906 wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
21907 wine_fn_config_makefile dlls/hid enable_hid
21908 wine_fn_config_makefile dlls/hid/tests enable_tests
21909 wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
21910 wine_fn_config_makefile dlls/hidparse.sys enable_hidparse_sys
21911 wine_fn_config_makefile dlls/hlink enable_hlink
21912 wine_fn_config_makefile dlls/hlink/tests enable_tests
21913 wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
21914 wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
21915 wine_fn_config_makefile dlls/hrtfapo enable_hrtfapo
21916 wine_fn_config_makefile dlls/http.sys enable_http_sys
21917 wine_fn_config_makefile dlls/httpapi enable_httpapi
21918 wine_fn_config_makefile dlls/httpapi/tests enable_tests
21919 wine_fn_config_makefile dlls/hvsimanagementapi enable_hvsimanagementapi
21920 wine_fn_config_makefile dlls/hvsimanagementapi/tests enable_tests
21921 wine_fn_config_makefile dlls/ia2comproxy enable_ia2comproxy
21922 wine_fn_config_makefile dlls/iccvid enable_iccvid
21923 wine_fn_config_makefile dlls/icmp enable_icmp
21924 wine_fn_config_makefile dlls/ieframe enable_ieframe
21925 wine_fn_config_makefile dlls/ieframe/tests enable_tests
21926 wine_fn_config_makefile dlls/ieproxy enable_ieproxy
21927 wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
21928 wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
21929 wine_fn_config_makefile dlls/imagehlp enable_imagehlp
21930 wine_fn_config_makefile dlls/imagehlp/tests enable_tests
21931 wine_fn_config_makefile dlls/imm.dll16 enable_win16
21932 wine_fn_config_makefile dlls/imm32 enable_imm32
21933 wine_fn_config_makefile dlls/imm32/tests enable_tests
21934 wine_fn_config_makefile dlls/inetcomm enable_inetcomm
21935 wine_fn_config_makefile dlls/inetcomm/tests enable_tests
21936 wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
21937 wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
21938 wine_fn_config_makefile dlls/inetmib1/tests enable_tests
21939 wine_fn_config_makefile dlls/infosoft enable_infosoft
21940 wine_fn_config_makefile dlls/infosoft/tests enable_tests
21941 wine_fn_config_makefile dlls/initpki enable_initpki
21942 wine_fn_config_makefile dlls/inkobj enable_inkobj
21943 wine_fn_config_makefile dlls/inseng enable_inseng
21944 wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
21945 wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
21946 wine_fn_config_makefile dlls/iprop enable_iprop
21947 wine_fn_config_makefile dlls/ir50_32 enable_ir50_32
21948 wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
21949 wine_fn_config_makefile dlls/itircl enable_itircl
21950 wine_fn_config_makefile dlls/itss enable_itss
21951 wine_fn_config_makefile dlls/itss/tests enable_tests
21952 wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
21953 wine_fn_config_makefile dlls/jscript enable_jscript
21954 wine_fn_config_makefile dlls/jscript/tests enable_tests
21955 wine_fn_config_makefile dlls/jsproxy enable_jsproxy
21956 wine_fn_config_makefile dlls/jsproxy/tests enable_tests
21957 wine_fn_config_makefile dlls/kerberos enable_kerberos
21958 wine_fn_config_makefile dlls/kernel32 enable_kernel32
21959 wine_fn_config_makefile dlls/kernel32/tests enable_tests
21960 wine_fn_config_makefile dlls/kernelbase enable_kernelbase
21961 wine_fn_config_makefile dlls/kernelbase/tests enable_tests
21962 wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
21963 wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
21964 wine_fn_config_makefile dlls/ksecdd.sys enable_ksecdd_sys
21965 wine_fn_config_makefile dlls/ksproxy.ax enable_ksproxy_ax
21966 wine_fn_config_makefile dlls/ksuser enable_ksuser
21967 wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
21968 wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
21969 wine_fn_config_makefile dlls/light.msstyles enable_light_msstyles
21970 wine_fn_config_makefile dlls/loadperf enable_loadperf
21971 wine_fn_config_makefile dlls/localspl enable_localspl
21972 wine_fn_config_makefile dlls/localspl/tests enable_tests
21973 wine_fn_config_makefile dlls/localui enable_localui
21974 wine_fn_config_makefile dlls/localui/tests enable_tests
21975 wine_fn_config_makefile dlls/lz32 enable_lz32
21976 wine_fn_config_makefile dlls/lz32/tests enable_tests
21977 wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
21978 wine_fn_config_makefile dlls/magnification enable_magnification
21979 wine_fn_config_makefile dlls/mapi32 enable_mapi32
21980 wine_fn_config_makefile dlls/mapi32/tests enable_tests
21981 wine_fn_config_makefile dlls/mapistub enable_mapistub
21982 wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
21983 wine_fn_config_makefile dlls/mcicda enable_mcicda
21984 wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
21985 wine_fn_config_makefile dlls/mciseq enable_mciseq
21986 wine_fn_config_makefile dlls/mciwave enable_mciwave
21987 wine_fn_config_makefile dlls/mf enable_mf
21988 wine_fn_config_makefile dlls/mf/tests enable_tests
21989 wine_fn_config_makefile dlls/mf3216 enable_mf3216
21990 wine_fn_config_makefile dlls/mferror enable_mferror
21991 wine_fn_config_makefile dlls/mfmediaengine enable_mfmediaengine
21992 wine_fn_config_makefile dlls/mfmediaengine/tests enable_tests
21993 wine_fn_config_makefile dlls/mfplat enable_mfplat
21994 wine_fn_config_makefile dlls/mfplat/tests enable_tests
21995 wine_fn_config_makefile dlls/mfplay enable_mfplay
21996 wine_fn_config_makefile dlls/mfplay/tests enable_tests
21997 wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
21998 wine_fn_config_makefile dlls/mfreadwrite/tests enable_tests
21999 wine_fn_config_makefile dlls/mfsrcsnk enable_mfsrcsnk
22000 wine_fn_config_makefile dlls/mfsrcsnk/tests enable_tests
22001 wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
22002 wine_fn_config_makefile dlls/midimap enable_midimap
22003 wine_fn_config_makefile dlls/mlang enable_mlang
22004 wine_fn_config_makefile dlls/mlang/tests enable_tests
22005 wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
22006 wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
22007 wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
22008 wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
22009 wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
22010 wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
22011 wine_fn_config_makefile dlls/monodebg.vxd enable_win16
22012 wine_fn_config_makefile dlls/mouhid.sys enable_mouhid_sys
22013 wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
22014 wine_fn_config_makefile dlls/mouse.drv16 enable_win16
22015 wine_fn_config_makefile dlls/mp3dmod enable_mp3dmod
22016 wine_fn_config_makefile dlls/mp3dmod/tests enable_tests
22017 wine_fn_config_makefile dlls/mpr enable_mpr
22018 wine_fn_config_makefile dlls/mpr/tests enable_tests
22019 wine_fn_config_makefile dlls/mprapi enable_mprapi
22020 wine_fn_config_makefile dlls/msacm.dll16 enable_win16
22021 wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
22022 wine_fn_config_makefile dlls/msacm32 enable_msacm32
22023 wine_fn_config_makefile dlls/msacm32/tests enable_tests
22024 wine_fn_config_makefile dlls/msado15 enable_msado15
22025 wine_fn_config_makefile dlls/msado15/tests enable_tests
22026 wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
22027 wine_fn_config_makefile dlls/msasn1 enable_msasn1
22028 wine_fn_config_makefile dlls/msasn1/tests enable_tests
22029 wine_fn_config_makefile dlls/msauddecmft enable_msauddecmft
22030 wine_fn_config_makefile dlls/mscat32 enable_mscat32
22031 wine_fn_config_makefile dlls/mscms enable_mscms
22032 wine_fn_config_makefile dlls/mscms/tests enable_tests
22033 wine_fn_config_makefile dlls/mscoree enable_mscoree
22034 wine_fn_config_makefile dlls/mscoree/tests enable_tests
22035 wine_fn_config_makefile dlls/mscorwks enable_mscorwks
22036 wine_fn_config_makefile dlls/msctf enable_msctf
22037 wine_fn_config_makefile dlls/msctf/tests enable_tests
22038 wine_fn_config_makefile dlls/msctfmonitor enable_msctfmonitor
22039 wine_fn_config_makefile dlls/msctfp enable_msctfp
22040 wine_fn_config_makefile dlls/msdaps enable_msdaps
22041 wine_fn_config_makefile dlls/msdasql enable_msdasql
22042 wine_fn_config_makefile dlls/msdasql/tests enable_tests
22043 wine_fn_config_makefile dlls/msdelta enable_msdelta
22044 wine_fn_config_makefile dlls/msdmo enable_msdmo
22045 wine_fn_config_makefile dlls/msdmo/tests enable_tests
22046 wine_fn_config_makefile dlls/msdrm enable_msdrm
22047 wine_fn_config_makefile dlls/msftedit enable_msftedit
22048 wine_fn_config_makefile dlls/msftedit/tests enable_tests
22049 wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
22050 wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
22051 wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
22052 wine_fn_config_makefile dlls/mshtml enable_mshtml
22053 wine_fn_config_makefile dlls/mshtml/tests enable_tests
22054 wine_fn_config_makefile dlls/msi enable_msi
22055 wine_fn_config_makefile dlls/msi/tests enable_tests
22056 wine_fn_config_makefile dlls/msident enable_msident
22057 wine_fn_config_makefile dlls/msimg32 enable_msimg32
22058 wine_fn_config_makefile dlls/msimsg enable_msimsg
22059 wine_fn_config_makefile dlls/msimtf enable_msimtf
22060 wine_fn_config_makefile dlls/msisip enable_msisip
22061 wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
22062 wine_fn_config_makefile dlls/msls31 enable_msls31
22063 wine_fn_config_makefile dlls/msmpeg2vdec enable_msmpeg2vdec
22064 wine_fn_config_makefile dlls/msnet32 enable_msnet32
22065 wine_fn_config_makefile dlls/mspatcha enable_mspatcha
22066 wine_fn_config_makefile dlls/mspatcha/tests enable_tests
22067 wine_fn_config_makefile dlls/msports enable_msports
22068 wine_fn_config_makefile dlls/msrle32 enable_msrle32
22069 wine_fn_config_makefile dlls/msrle32/tests enable_tests
22070 wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
22071 wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
22072 wine_fn_config_makefile dlls/mssign32 enable_mssign32
22073 wine_fn_config_makefile dlls/mssip32 enable_mssip32
22074 wine_fn_config_makefile dlls/mstask enable_mstask
22075 wine_fn_config_makefile dlls/mstask/tests enable_tests
22076 wine_fn_config_makefile dlls/msttsengine enable_msttsengine
22077 wine_fn_config_makefile dlls/msv1_0 enable_msv1_0
22078 wine_fn_config_makefile dlls/msvcirt enable_msvcirt
22079 wine_fn_config_makefile dlls/msvcirt/tests enable_tests
22080 wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
22081 wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
22082 wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
22083 wine_fn_config_makefile dlls/msvcp100/tests enable_tests
22084 wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
22085 wine_fn_config_makefile dlls/msvcp110/tests enable_tests
22086 wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
22087 wine_fn_config_makefile dlls/msvcp120/tests enable_tests
22088 wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
22089 wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
22090 wine_fn_config_makefile dlls/msvcp140/tests enable_tests
22091 wine_fn_config_makefile dlls/msvcp140_1 enable_msvcp140_1
22092 wine_fn_config_makefile dlls/msvcp140_1/tests enable_tests
22093 wine_fn_config_makefile dlls/msvcp140_2 enable_msvcp140_2
22094 wine_fn_config_makefile dlls/msvcp140_2/tests enable_tests
22095 wine_fn_config_makefile dlls/msvcp140_atomic_wait enable_msvcp140_atomic_wait
22096 wine_fn_config_makefile dlls/msvcp140_atomic_wait/tests enable_tests
22097 wine_fn_config_makefile dlls/msvcp140_codecvt_ids enable_msvcp140_codecvt_ids
22098 wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
22099 wine_fn_config_makefile dlls/msvcp60/tests enable_tests
22100 wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
22101 wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
22102 wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
22103 wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
22104 wine_fn_config_makefile dlls/msvcp90/tests enable_tests
22105 wine_fn_config_makefile dlls/msvcp_win enable_msvcp_win
22106 wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
22107 wine_fn_config_makefile dlls/msvcr100/tests enable_tests
22108 wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
22109 wine_fn_config_makefile dlls/msvcr110/tests enable_tests
22110 wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
22111 wine_fn_config_makefile dlls/msvcr120/tests enable_tests
22112 wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
22113 wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
22114 wine_fn_config_makefile dlls/msvcr70/tests enable_tests
22115 wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
22116 wine_fn_config_makefile dlls/msvcr71/tests enable_tests
22117 wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
22118 wine_fn_config_makefile dlls/msvcr80/tests enable_tests
22119 wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
22120 wine_fn_config_makefile dlls/msvcr90/tests enable_tests
22121 wine_fn_config_makefile dlls/msvcrt enable_msvcrt
22122 wine_fn_config_makefile dlls/msvcrt/tests enable_tests
22123 wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
22124 wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
22125 wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
22126 wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
22127 wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
22128 wine_fn_config_makefile dlls/msvfw32/tests enable_tests
22129 wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
22130 wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
22131 wine_fn_config_makefile dlls/mswsock enable_mswsock
22132 wine_fn_config_makefile dlls/msxml enable_msxml
22133 wine_fn_config_makefile dlls/msxml2 enable_msxml2
22134 wine_fn_config_makefile dlls/msxml3 enable_msxml3
22135 wine_fn_config_makefile dlls/msxml3/tests enable_tests
22136 wine_fn_config_makefile dlls/msxml4 enable_msxml4
22137 wine_fn_config_makefile dlls/msxml4/tests enable_tests
22138 wine_fn_config_makefile dlls/msxml6 enable_msxml6
22139 wine_fn_config_makefile dlls/msxml6/tests enable_tests
22140 wine_fn_config_makefile dlls/mtxdm enable_mtxdm
22141 wine_fn_config_makefile dlls/ncrypt enable_ncrypt
22142 wine_fn_config_makefile dlls/ncrypt/tests enable_tests
22143 wine_fn_config_makefile dlls/nddeapi enable_nddeapi
22144 wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
22145 wine_fn_config_makefile dlls/ndis.sys/tests enable_tests
22146 wine_fn_config_makefile dlls/netapi32 enable_netapi32
22147 wine_fn_config_makefile dlls/netapi32/tests enable_tests
22148 wine_fn_config_makefile dlls/netcfgx enable_netcfgx
22149 wine_fn_config_makefile dlls/netcfgx/tests enable_tests
22150 wine_fn_config_makefile dlls/netio.sys enable_netio_sys
22151 wine_fn_config_makefile dlls/netprofm enable_netprofm
22152 wine_fn_config_makefile dlls/netprofm/tests enable_tests
22153 wine_fn_config_makefile dlls/netutils enable_netutils
22154 wine_fn_config_makefile dlls/newdev enable_newdev
22155 wine_fn_config_makefile dlls/ninput enable_ninput
22156 wine_fn_config_makefile dlls/ninput/tests enable_tests
22157 wine_fn_config_makefile dlls/normaliz enable_normaliz
22158 wine_fn_config_makefile dlls/npmshtml enable_npmshtml
22159 wine_fn_config_makefile dlls/npptools enable_npptools
22160 wine_fn_config_makefile dlls/nsi enable_nsi
22161 wine_fn_config_makefile dlls/nsi/tests enable_tests
22162 wine_fn_config_makefile dlls/nsiproxy.sys enable_nsiproxy_sys
22163 wine_fn_config_makefile dlls/ntdll enable_ntdll
22164 wine_fn_config_makefile dlls/ntdll/tests enable_tests
22165 wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
22166 wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
22167 wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
22168 wine_fn_config_makefile dlls/ntoskrnl.exe/tests enable_tests
22169 wine_fn_config_makefile dlls/ntprint enable_ntprint
22170 wine_fn_config_makefile dlls/ntprint/tests enable_tests
22171 wine_fn_config_makefile dlls/objsel enable_objsel
22172 wine_fn_config_makefile dlls/odbc32 enable_odbc32
22173 wine_fn_config_makefile dlls/odbcbcp enable_odbcbcp
22174 wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
22175 wine_fn_config_makefile dlls/odbccp32/tests enable_tests
22176 wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
22177 wine_fn_config_makefile dlls/ole2.dll16 enable_win16
22178 wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
22179 wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
22180 wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
22181 wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
22182 wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
22183 wine_fn_config_makefile dlls/ole32 enable_ole32
22184 wine_fn_config_makefile dlls/ole32/tests enable_tests
22185 wine_fn_config_makefile dlls/oleacc enable_oleacc
22186 wine_fn_config_makefile dlls/oleacc/tests enable_tests
22187 wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
22188 wine_fn_config_makefile dlls/oleaut32/tests enable_tests
22189 wine_fn_config_makefile dlls/olecli.dll16 enable_win16
22190 wine_fn_config_makefile dlls/olecli32 enable_olecli32
22191 wine_fn_config_makefile dlls/oledb32 enable_oledb32
22192 wine_fn_config_makefile dlls/oledb32/tests enable_tests
22193 wine_fn_config_makefile dlls/oledlg enable_oledlg
22194 wine_fn_config_makefile dlls/oledlg/tests enable_tests
22195 wine_fn_config_makefile dlls/olepro32 enable_olepro32
22196 wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
22197 wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
22198 wine_fn_config_makefile dlls/olethk32 enable_olethk32
22199 wine_fn_config_makefile dlls/opcservices enable_opcservices
22200 wine_fn_config_makefile dlls/opcservices/tests enable_tests
22201 wine_fn_config_makefile dlls/opencl enable_opencl
22202 wine_fn_config_makefile dlls/opengl32 enable_opengl32
22203 wine_fn_config_makefile dlls/opengl32/tests enable_tests
22204 wine_fn_config_makefile dlls/packager enable_packager
22205 wine_fn_config_makefile dlls/packager/tests enable_tests
22206 wine_fn_config_makefile dlls/pdh enable_pdh
22207 wine_fn_config_makefile dlls/pdh/tests enable_tests
22208 wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
22209 wine_fn_config_makefile dlls/pidgen enable_pidgen
22210 wine_fn_config_makefile dlls/powrprof enable_powrprof
22211 wine_fn_config_makefile dlls/printui enable_printui
22212 wine_fn_config_makefile dlls/prntvpt enable_prntvpt
22213 wine_fn_config_makefile dlls/prntvpt/tests enable_tests
22214 wine_fn_config_makefile dlls/propsys enable_propsys
22215 wine_fn_config_makefile dlls/propsys/tests enable_tests
22216 wine_fn_config_makefile dlls/psapi enable_psapi
22217 wine_fn_config_makefile dlls/psapi/tests enable_tests
22218 wine_fn_config_makefile dlls/pstorec enable_pstorec
22219 wine_fn_config_makefile dlls/pstorec/tests enable_tests
22220 wine_fn_config_makefile dlls/pwrshplugin enable_pwrshplugin
22221 wine_fn_config_makefile dlls/qasf enable_qasf
22222 wine_fn_config_makefile dlls/qasf/tests enable_tests
22223 wine_fn_config_makefile dlls/qcap enable_qcap
22224 wine_fn_config_makefile dlls/qcap/tests enable_tests
22225 wine_fn_config_makefile dlls/qdvd enable_qdvd
22226 wine_fn_config_makefile dlls/qdvd/tests enable_tests
22227 wine_fn_config_makefile dlls/qedit enable_qedit
22228 wine_fn_config_makefile dlls/qedit/tests enable_tests
22229 wine_fn_config_makefile dlls/qmgr enable_qmgr
22230 wine_fn_config_makefile dlls/qmgr/tests enable_tests
22231 wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
22232 wine_fn_config_makefile dlls/quartz enable_quartz
22233 wine_fn_config_makefile dlls/quartz/tests enable_tests
22234 wine_fn_config_makefile dlls/query enable_query
22235 wine_fn_config_makefile dlls/qwave enable_qwave
22236 wine_fn_config_makefile dlls/qwave/tests enable_tests
22237 wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
22238 wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
22239 wine_fn_config_makefile dlls/rasapi32/tests enable_tests
22240 wine_fn_config_makefile dlls/rasdlg enable_rasdlg
22241 wine_fn_config_makefile dlls/regapi enable_regapi
22242 wine_fn_config_makefile dlls/resutils enable_resutils
22243 wine_fn_config_makefile dlls/riched20 enable_riched20
22244 wine_fn_config_makefile dlls/riched20/tests enable_tests
22245 wine_fn_config_makefile dlls/riched32 enable_riched32
22246 wine_fn_config_makefile dlls/riched32/tests enable_tests
22247 wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
22248 wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
22249 wine_fn_config_makefile dlls/rsabase enable_rsabase
22250 wine_fn_config_makefile dlls/rsaenh enable_rsaenh
22251 wine_fn_config_makefile dlls/rsaenh/tests enable_tests
22252 wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
22253 wine_fn_config_makefile dlls/rtutils enable_rtutils
22254 wine_fn_config_makefile dlls/rtworkq enable_rtworkq
22255 wine_fn_config_makefile dlls/rtworkq/tests enable_tests
22256 wine_fn_config_makefile dlls/samlib enable_samlib
22257 wine_fn_config_makefile dlls/sane.ds enable_sane_ds
22258 wine_fn_config_makefile dlls/sapi enable_sapi
22259 wine_fn_config_makefile dlls/sapi/tests enable_tests
22260 wine_fn_config_makefile dlls/sas enable_sas
22261 wine_fn_config_makefile dlls/scarddlg enable_scarddlg
22262 wine_fn_config_makefile dlls/scardsvr enable_scardsvr
22263 wine_fn_config_makefile dlls/sccbase enable_sccbase
22264 wine_fn_config_makefile dlls/schannel enable_schannel
22265 wine_fn_config_makefile dlls/schannel/tests enable_tests
22266 wine_fn_config_makefile dlls/schedsvc enable_schedsvc
22267 wine_fn_config_makefile dlls/schedsvc/tests enable_tests
22268 wine_fn_config_makefile dlls/scrobj enable_scrobj
22269 wine_fn_config_makefile dlls/scrobj/tests enable_tests
22270 wine_fn_config_makefile dlls/scrrun enable_scrrun
22271 wine_fn_config_makefile dlls/scrrun/tests enable_tests
22272 wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
22273 wine_fn_config_makefile dlls/sechost enable_sechost
22274 wine_fn_config_makefile dlls/secur32 enable_secur32
22275 wine_fn_config_makefile dlls/secur32/tests enable_tests
22276 wine_fn_config_makefile dlls/security enable_security
22277 wine_fn_config_makefile dlls/sensapi enable_sensapi
22278 wine_fn_config_makefile dlls/serialui enable_serialui
22279 wine_fn_config_makefile dlls/serialui/tests enable_tests
22280 wine_fn_config_makefile dlls/setupapi enable_setupapi
22281 wine_fn_config_makefile dlls/setupapi/tests enable_tests
22282 wine_fn_config_makefile dlls/setupx.dll16 enable_win16
22283 wine_fn_config_makefile dlls/sfc enable_sfc
22284 wine_fn_config_makefile dlls/sfc_os enable_sfc_os
22285 wine_fn_config_makefile dlls/shcore enable_shcore
22286 wine_fn_config_makefile dlls/shcore/tests enable_tests
22287 wine_fn_config_makefile dlls/shdoclc enable_shdoclc
22288 wine_fn_config_makefile dlls/shdocvw enable_shdocvw
22289 wine_fn_config_makefile dlls/shdocvw/tests enable_tests
22290 wine_fn_config_makefile dlls/shell.dll16 enable_win16
22291 wine_fn_config_makefile dlls/shell32 enable_shell32
22292 wine_fn_config_makefile dlls/shell32/tests enable_tests
22293 wine_fn_config_makefile dlls/shfolder enable_shfolder
22294 wine_fn_config_makefile dlls/shlwapi enable_shlwapi
22295 wine_fn_config_makefile dlls/shlwapi/tests enable_tests
22296 wine_fn_config_makefile dlls/slbcsp enable_slbcsp
22297 wine_fn_config_makefile dlls/slc enable_slc
22298 wine_fn_config_makefile dlls/slc/tests enable_tests
22299 wine_fn_config_makefile dlls/snmpapi enable_snmpapi
22300 wine_fn_config_makefile dlls/snmpapi/tests enable_tests
22301 wine_fn_config_makefile dlls/softpub enable_softpub
22302 wine_fn_config_makefile dlls/sound.drv16 enable_win16
22303 wine_fn_config_makefile dlls/spoolss enable_spoolss
22304 wine_fn_config_makefile dlls/spoolss/tests enable_tests
22305 wine_fn_config_makefile dlls/sppc enable_sppc
22306 wine_fn_config_makefile dlls/srclient enable_srclient
22307 wine_fn_config_makefile dlls/srvcli enable_srvcli
22308 wine_fn_config_makefile dlls/srvsvc enable_srvsvc
22309 wine_fn_config_makefile dlls/sspicli enable_sspicli
22310 wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
22311 wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
22312 wine_fn_config_makefile dlls/sti enable_sti
22313 wine_fn_config_makefile dlls/sti/tests enable_tests
22314 wine_fn_config_makefile dlls/storage.dll16 enable_win16
22315 wine_fn_config_makefile dlls/stress.dll16 enable_win16
22316 wine_fn_config_makefile dlls/strmdll enable_strmdll
22317 wine_fn_config_makefile dlls/svrapi enable_svrapi
22318 wine_fn_config_makefile dlls/sxs enable_sxs
22319 wine_fn_config_makefile dlls/sxs/tests enable_tests
22320 wine_fn_config_makefile dlls/system.drv16 enable_win16
22321 wine_fn_config_makefile dlls/t2embed enable_t2embed
22322 wine_fn_config_makefile dlls/t2embed/tests enable_tests
22323 wine_fn_config_makefile dlls/tapi32 enable_tapi32
22324 wine_fn_config_makefile dlls/tapi32/tests enable_tests
22325 wine_fn_config_makefile dlls/taskschd enable_taskschd
22326 wine_fn_config_makefile dlls/taskschd/tests enable_tests
22327 wine_fn_config_makefile dlls/tbs enable_tbs
22328 wine_fn_config_makefile dlls/tdh enable_tdh
22329 wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
22330 wine_fn_config_makefile dlls/threadpoolwinrt enable_threadpoolwinrt
22331 wine_fn_config_makefile dlls/threadpoolwinrt/tests enable_tests
22332 wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
22333 wine_fn_config_makefile dlls/traffic enable_traffic
22334 wine_fn_config_makefile dlls/twain.dll16 enable_win16
22335 wine_fn_config_makefile dlls/twain_32 enable_twain_32
22336 wine_fn_config_makefile dlls/twain_32/tests enable_tests
22337 wine_fn_config_makefile dlls/twinapi.appcore enable_twinapi_appcore
22338 wine_fn_config_makefile dlls/twinapi.appcore/tests enable_tests
22339 wine_fn_config_makefile dlls/typelib.dll16 enable_win16
22340 wine_fn_config_makefile dlls/tzres enable_tzres
22341 wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
22342 wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
22343 wine_fn_config_makefile dlls/uianimation enable_uianimation
22344 wine_fn_config_makefile dlls/uianimation/tests enable_tests
22345 wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
22346 wine_fn_config_makefile dlls/uiautomationcore/tests enable_tests
22347 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
22348 wine_fn_config_makefile dlls/unicows enable_unicows
22349 wine_fn_config_makefile dlls/updspapi enable_updspapi
22350 wine_fn_config_makefile dlls/url enable_url
22351 wine_fn_config_makefile dlls/urlmon enable_urlmon
22352 wine_fn_config_makefile dlls/urlmon/tests enable_tests
22353 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
22354 wine_fn_config_makefile dlls/user.exe16 enable_win16
22355 wine_fn_config_makefile dlls/user32 enable_user32
22356 wine_fn_config_makefile dlls/user32/tests enable_tests
22357 wine_fn_config_makefile dlls/userenv enable_userenv
22358 wine_fn_config_makefile dlls/userenv/tests enable_tests
22359 wine_fn_config_makefile dlls/usp10 enable_usp10
22360 wine_fn_config_makefile dlls/usp10/tests enable_tests
22361 wine_fn_config_makefile dlls/utildll enable_utildll
22362 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
22363 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
22364 wine_fn_config_makefile dlls/vbscript enable_vbscript
22365 wine_fn_config_makefile dlls/vbscript/tests enable_tests
22366 wine_fn_config_makefile dlls/vcomp enable_vcomp
22367 wine_fn_config_makefile dlls/vcomp/tests enable_tests
22368 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
22369 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
22370 wine_fn_config_makefile dlls/vcomp110/tests enable_tests
22371 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
22372 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
22373 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
22374 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
22375 wine_fn_config_makefile dlls/vcruntime140_1 enable_vcruntime140_1
22376 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
22377 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
22378 wine_fn_config_makefile dlls/ver.dll16 enable_win16
22379 wine_fn_config_makefile dlls/version enable_version
22380 wine_fn_config_makefile dlls/version/tests enable_tests
22381 wine_fn_config_makefile dlls/vga enable_vga
22382 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
22383 wine_fn_config_makefile dlls/virtdisk/tests enable_tests
22384 wine_fn_config_makefile dlls/vmm.vxd enable_win16
22385 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
22386 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
22387 wine_fn_config_makefile dlls/vssapi enable_vssapi
22388 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
22389 wine_fn_config_makefile dlls/vulkan-1 enable_vulkan_1
22390 wine_fn_config_makefile dlls/vulkan-1/tests enable_tests
22391 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
22392 wine_fn_config_makefile dlls/w32skrnl enable_win16
22393 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
22394 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
22395 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
22396 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
22397 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
22398 wine_fn_config_makefile dlls/wdscore enable_wdscore
22399 wine_fn_config_makefile dlls/webservices enable_webservices
22400 wine_fn_config_makefile dlls/webservices/tests enable_tests
22401 wine_fn_config_makefile dlls/websocket enable_websocket
22402 wine_fn_config_makefile dlls/wer enable_wer
22403 wine_fn_config_makefile dlls/wer/tests enable_tests
22404 wine_fn_config_makefile dlls/wevtapi enable_wevtapi
22405 wine_fn_config_makefile dlls/wevtapi/tests enable_tests
22406 wine_fn_config_makefile dlls/wevtsvc enable_wevtsvc
22407 wine_fn_config_makefile dlls/wiaservc enable_wiaservc
22408 wine_fn_config_makefile dlls/wiaservc/tests enable_tests
22409 wine_fn_config_makefile dlls/wimgapi enable_wimgapi
22410 wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
22411 wine_fn_config_makefile dlls/win32u enable_win32u
22412 wine_fn_config_makefile dlls/win32u/tests enable_tests
22413 wine_fn_config_makefile dlls/win87em.dll16 enable_win16
22414 wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
22415 wine_fn_config_makefile dlls/windebug.dll16 enable_win16
22416 wine_fn_config_makefile dlls/windows.applicationmodel enable_windows_applicationmodel
22417 wine_fn_config_makefile dlls/windows.applicationmodel/tests enable_tests
22418 wine_fn_config_makefile dlls/windows.devices.bluetooth enable_windows_devices_bluetooth
22419 wine_fn_config_makefile dlls/windows.devices.bluetooth/tests enable_tests
22420 wine_fn_config_makefile dlls/windows.devices.enumeration enable_windows_devices_enumeration
22421 wine_fn_config_makefile dlls/windows.devices.enumeration/tests enable_tests
22422 wine_fn_config_makefile dlls/windows.devices.usb enable_windows_devices_usb
22423 wine_fn_config_makefile dlls/windows.devices.usb/tests enable_tests
22424 wine_fn_config_makefile dlls/windows.gaming.input enable_windows_gaming_input
22425 wine_fn_config_makefile dlls/windows.gaming.input/tests enable_tests
22426 wine_fn_config_makefile dlls/windows.gaming.ui.gamebar enable_windows_gaming_ui_gamebar
22427 wine_fn_config_makefile dlls/windows.gaming.ui.gamebar/tests enable_tests
22428 wine_fn_config_makefile dlls/windows.globalization enable_windows_globalization
22429 wine_fn_config_makefile dlls/windows.globalization/tests enable_tests
22430 wine_fn_config_makefile dlls/windows.media.devices enable_windows_media_devices
22431 wine_fn_config_makefile dlls/windows.media.devices/tests enable_tests
22432 wine_fn_config_makefile dlls/windows.media.mediacontrol enable_windows_media_mediacontrol
22433 wine_fn_config_makefile dlls/windows.media.mediacontrol/tests enable_tests
22434 wine_fn_config_makefile dlls/windows.media.speech enable_windows_media_speech
22435 wine_fn_config_makefile dlls/windows.media.speech/tests enable_tests
22436 wine_fn_config_makefile dlls/windows.media enable_windows_media
22437 wine_fn_config_makefile dlls/windows.media/tests enable_tests
22438 wine_fn_config_makefile dlls/windows.networking.hostname enable_windows_networking_hostname
22439 wine_fn_config_makefile dlls/windows.networking.hostname/tests enable_tests
22440 wine_fn_config_makefile dlls/windows.networking enable_windows_networking
22441 wine_fn_config_makefile dlls/windows.perception.stub enable_windows_perception_stub
22442 wine_fn_config_makefile dlls/windows.perception.stub/tests enable_tests
22443 wine_fn_config_makefile dlls/windows.security.authentication.onlineid enable_windows_security_authentication_onlineid
22444 wine_fn_config_makefile dlls/windows.security.authentication.onlineid/tests enable_tests
22445 wine_fn_config_makefile dlls/windows.security.credentials.ui.userconsentverifier enable_windows_security_credentials_ui_userconsentverifier
22446 wine_fn_config_makefile dlls/windows.security.credentials.ui.userconsentverifier/tests enable_tests
22447 wine_fn_config_makefile dlls/windows.storage.applicationdata enable_windows_storage_applicationdata
22448 wine_fn_config_makefile dlls/windows.storage.applicationdata/tests enable_tests
22449 wine_fn_config_makefile dlls/windows.system.profile.systemmanufacturers enable_windows_system_profile_systemmanufacturers
22450 wine_fn_config_makefile dlls/windows.system.profile.systemmanufacturers/tests enable_tests
22451 wine_fn_config_makefile dlls/windows.ui enable_windows_ui
22452 wine_fn_config_makefile dlls/windows.ui/tests enable_tests
22453 wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
22454 wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
22455 wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
22456 wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
22457 wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
22458 wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
22459 wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
22460 wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
22461 wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
22462 wine_fn_config_makefile dlls/wined3d enable_wined3d
22463 wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
22464 wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
22465 wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
22466 wine_fn_config_makefile dlls/winemapi enable_winemapi
22467 wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
22468 wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
22469 wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
22470 wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
22471 wine_fn_config_makefile dlls/wineusb.sys enable_wineusb_sys
22472 wine_fn_config_makefile dlls/winevulkan enable_winevulkan
22473 wine_fn_config_makefile dlls/winewayland.drv enable_winewayland_drv
22474 wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
22475 wine_fn_config_makefile dlls/winexinput.sys enable_winexinput_sys
22476 wine_fn_config_makefile dlls/wing.dll16 enable_win16
22477 wine_fn_config_makefile dlls/wing32 enable_wing32
22478 wine_fn_config_makefile dlls/wing32/tests enable_tests
22479 wine_fn_config_makefile dlls/winhttp enable_winhttp
22480 wine_fn_config_makefile dlls/winhttp/tests enable_tests
22481 wine_fn_config_makefile dlls/wininet enable_wininet
22482 wine_fn_config_makefile dlls/wininet/tests enable_tests
22483 wine_fn_config_makefile dlls/winmm enable_winmm
22484 wine_fn_config_makefile dlls/winmm/tests enable_tests
22485 wine_fn_config_makefile dlls/winnls.dll16 enable_win16
22486 wine_fn_config_makefile dlls/winnls32 enable_winnls32
22487 wine_fn_config_makefile dlls/winprint enable_winprint
22488 wine_fn_config_makefile dlls/winscard enable_winscard
22489 wine_fn_config_makefile dlls/winscard/tests enable_tests
22490 wine_fn_config_makefile dlls/winsock.dll16 enable_win16
22491 wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
22492 wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
22493 wine_fn_config_makefile dlls/winsta enable_winsta
22494 wine_fn_config_makefile dlls/wintab.dll16 enable_win16
22495 wine_fn_config_makefile dlls/wintab32 enable_wintab32
22496 wine_fn_config_makefile dlls/wintab32/tests enable_tests
22497 wine_fn_config_makefile dlls/wintrust enable_wintrust
22498 wine_fn_config_makefile dlls/wintrust/tests enable_tests
22499 wine_fn_config_makefile dlls/wintypes enable_wintypes
22500 wine_fn_config_makefile dlls/wintypes/tests enable_tests
22501 wine_fn_config_makefile dlls/winusb enable_winusb
22502 wine_fn_config_makefile dlls/wlanapi enable_wlanapi
22503 wine_fn_config_makefile dlls/wlanapi/tests enable_tests
22504 wine_fn_config_makefile dlls/wlanui enable_wlanui
22505 wine_fn_config_makefile dlls/wldap32 enable_wldap32
22506 wine_fn_config_makefile dlls/wldap32/tests enable_tests
22507 wine_fn_config_makefile dlls/wldp enable_wldp
22508 wine_fn_config_makefile dlls/wldp/tests enable_tests
22509 wine_fn_config_makefile dlls/wmasf enable_wmasf
22510 wine_fn_config_makefile dlls/wmi enable_wmi
22511 wine_fn_config_makefile dlls/wmiutils enable_wmiutils
22512 wine_fn_config_makefile dlls/wmiutils/tests enable_tests
22513 wine_fn_config_makefile dlls/wmp enable_wmp
22514 wine_fn_config_makefile dlls/wmp/tests enable_tests
22515 wine_fn_config_makefile dlls/wmphoto enable_wmphoto
22516 wine_fn_config_makefile dlls/wmvcore enable_wmvcore
22517 wine_fn_config_makefile dlls/wmvcore/tests enable_tests
22518 wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
22519 wine_fn_config_makefile dlls/wofutil enable_wofutil
22520 wine_fn_config_makefile dlls/wow32 enable_win16
22521 wine_fn_config_makefile dlls/wow64 enable_wow64
22522 wine_fn_config_makefile dlls/wow64cpu enable_wow64cpu
22523 wine_fn_config_makefile dlls/wow64win enable_wow64win
22524 wine_fn_config_makefile dlls/wpc enable_wpc
22525 wine_fn_config_makefile dlls/wpc/tests enable_tests
22526 wine_fn_config_makefile dlls/wpcap enable_wpcap
22527 wine_fn_config_makefile dlls/wpcap/tests enable_tests
22528 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
22529 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
22530 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
22531 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
22532 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
22533 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
22534 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
22535 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
22536 wine_fn_config_makefile dlls/wsock32 enable_wsock32
22537 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
22538 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
22539 wine_fn_config_makefile dlls/wuapi enable_wuapi
22540 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
22541 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
22542 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
22543 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
22544 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
22545 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
22546 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
22547 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
22548 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
22549 wine_fn_config_makefile dlls/xactengine2_0 enable_xactengine2_0
22550 wine_fn_config_makefile dlls/xactengine2_4 enable_xactengine2_4
22551 wine_fn_config_makefile dlls/xactengine2_7 enable_xactengine2_7
22552 wine_fn_config_makefile dlls/xactengine2_9 enable_xactengine2_9
22553 wine_fn_config_makefile dlls/xactengine3_0 enable_xactengine3_0
22554 wine_fn_config_makefile dlls/xactengine3_1 enable_xactengine3_1
22555 wine_fn_config_makefile dlls/xactengine3_2 enable_xactengine3_2
22556 wine_fn_config_makefile dlls/xactengine3_3 enable_xactengine3_3
22557 wine_fn_config_makefile dlls/xactengine3_4 enable_xactengine3_4
22558 wine_fn_config_makefile dlls/xactengine3_5 enable_xactengine3_5
22559 wine_fn_config_makefile dlls/xactengine3_6 enable_xactengine3_6
22560 wine_fn_config_makefile dlls/xactengine3_7 enable_xactengine3_7
22561 wine_fn_config_makefile dlls/xactengine3_7/tests enable_tests
22562 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
22563 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
22564 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
22565 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
22566 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
22567 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
22568 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
22569 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
22570 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
22571 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
22572 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
22573 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
22574 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
22575 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
22576 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
22577 wine_fn_config_makefile dlls/xaudio2_8/tests enable_tests
22578 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
22579 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
22580 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
22581 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
22582 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
22583 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
22584 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
22585 wine_fn_config_makefile dlls/xinputuap enable_xinputuap
22586 wine_fn_config_makefile dlls/xmllite enable_xmllite
22587 wine_fn_config_makefile dlls/xmllite/tests enable_tests
22588 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
22589 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
22590 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
22591 wine_fn_config_makefile fonts enable_fonts
22592 wine_fn_config_makefile include enable_include
22593 wine_fn_config_makefile libs/adsiid enable_adsiid
22594 wine_fn_config_makefile libs/dmoguids enable_dmoguids
22595 wine_fn_config_makefile libs/dxerr8 enable_dxerr8
22596 wine_fn_config_makefile libs/dxerr9 enable_dxerr9
22597 wine_fn_config_makefile libs/dxguid enable_dxguid
22598 wine_fn_config_makefile libs/faudio enable_faudio
22599 wine_fn_config_makefile libs/fluidsynth enable_fluidsynth
22600 wine_fn_config_makefile libs/gsm enable_gsm
22601 wine_fn_config_makefile libs/jpeg enable_jpeg
22602 wine_fn_config_makefile libs/jxr enable_jxr
22603 wine_fn_config_makefile libs/lcms2 enable_lcms2
22604 wine_fn_config_makefile libs/ldap enable_ldap
22605 wine_fn_config_makefile libs/mfuuid enable_mfuuid
22606 wine_fn_config_makefile libs/mpg123 enable_mpg123
22607 wine_fn_config_makefile libs/musl enable_musl
22608 wine_fn_config_makefile libs/png enable_png
22609 wine_fn_config_makefile libs/strmbase enable_strmbase
22610 wine_fn_config_makefile libs/strmiids enable_strmiids
22611 wine_fn_config_makefile libs/tiff enable_tiff
22612 wine_fn_config_makefile libs/uuid enable_uuid
22613 wine_fn_config_makefile libs/vkd3d enable_vkd3d
22614 wine_fn_config_makefile libs/wbemuuid enable_wbemuuid
22615 wine_fn_config_makefile libs/wmcodecdspuuid enable_wmcodecdspuuid
22616 wine_fn_config_makefile libs/xml2 enable_xml2
22617 wine_fn_config_makefile libs/xslt enable_xslt
22618 wine_fn_config_makefile libs/zlib enable_zlib
22619 wine_fn_config_makefile libs/zydis enable_zydis
22620 wine_fn_config_makefile loader enable_loader
22621 wine_fn_config_makefile nls enable_nls
22622 wine_fn_config_makefile po enable_po
22623 wine_fn_config_makefile programs/arp enable_arp
22624 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
22625 wine_fn_config_makefile programs/attrib enable_attrib
22626 wine_fn_config_makefile programs/cabarc enable_cabarc
22627 wine_fn_config_makefile programs/cacls enable_cacls
22628 wine_fn_config_makefile programs/certutil enable_certutil
22629 wine_fn_config_makefile programs/chcp.com enable_chcp_com
22630 wine_fn_config_makefile programs/clock enable_clock
22631 wine_fn_config_makefile programs/cmd enable_cmd
22632 wine_fn_config_makefile programs/cmd/tests enable_tests
22633 wine_fn_config_makefile programs/conhost enable_conhost
22634 wine_fn_config_makefile programs/conhost/tests enable_tests
22635 wine_fn_config_makefile programs/control enable_control
22636 wine_fn_config_makefile programs/cscript enable_cscript
22637 wine_fn_config_makefile programs/dism enable_dism
22638 wine_fn_config_makefile programs/dllhost enable_dllhost
22639 wine_fn_config_makefile programs/dplaysvr enable_dplaysvr
22640 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
22641 wine_fn_config_makefile programs/dpvsetup enable_dpvsetup
22642 wine_fn_config_makefile programs/dxdiag enable_dxdiag
22643 wine_fn_config_makefile programs/eject enable_eject
22644 wine_fn_config_makefile programs/expand enable_expand
22645 wine_fn_config_makefile programs/explorer enable_explorer
22646 wine_fn_config_makefile programs/explorer/tests enable_tests
22647 wine_fn_config_makefile programs/extrac32 enable_extrac32
22648 wine_fn_config_makefile programs/fc enable_fc
22649 wine_fn_config_makefile programs/find enable_find
22650 wine_fn_config_makefile programs/find/tests enable_tests
22651 wine_fn_config_makefile programs/findstr enable_findstr
22652 wine_fn_config_makefile programs/findstr/tests enable_tests
22653 wine_fn_config_makefile programs/fsutil enable_fsutil
22654 wine_fn_config_makefile programs/fsutil/tests enable_tests
22655 wine_fn_config_makefile programs/hh enable_hh
22656 wine_fn_config_makefile programs/hostname enable_hostname
22657 wine_fn_config_makefile programs/icacls enable_icacls
22658 wine_fn_config_makefile programs/icinfo enable_icinfo
22659 wine_fn_config_makefile programs/iexplore enable_iexplore
22660 wine_fn_config_makefile programs/ipconfig enable_ipconfig
22661 wine_fn_config_makefile programs/klist enable_klist
22662 wine_fn_config_makefile programs/lodctr enable_lodctr
22663 wine_fn_config_makefile programs/mofcomp enable_mofcomp
22664 wine_fn_config_makefile programs/mshta enable_mshta
22665 wine_fn_config_makefile programs/msidb enable_msidb
22666 wine_fn_config_makefile programs/msiexec enable_msiexec
22667 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
22668 wine_fn_config_makefile programs/net enable_net
22669 wine_fn_config_makefile programs/netsh enable_netsh
22670 wine_fn_config_makefile programs/netstat enable_netstat
22671 wine_fn_config_makefile programs/ngen enable_ngen
22672 wine_fn_config_makefile programs/notepad enable_notepad
22673 wine_fn_config_makefile programs/oleview enable_oleview
22674 wine_fn_config_makefile programs/ping enable_ping
22675 wine_fn_config_makefile programs/plugplay enable_plugplay
22676 wine_fn_config_makefile programs/pnputil enable_pnputil
22677 wine_fn_config_makefile programs/powershell enable_powershell
22678 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
22679 wine_fn_config_makefile programs/progman enable_progman
22680 wine_fn_config_makefile programs/reg enable_reg
22681 wine_fn_config_makefile programs/reg/tests enable_tests
22682 wine_fn_config_makefile programs/regasm enable_regasm
22683 wine_fn_config_makefile programs/regedit enable_regedit
22684 wine_fn_config_makefile programs/regedit/tests enable_tests
22685 wine_fn_config_makefile programs/regini enable_regini
22686 wine_fn_config_makefile programs/regsvcs enable_regsvcs
22687 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
22688 wine_fn_config_makefile programs/robocopy enable_robocopy
22689 wine_fn_config_makefile programs/rpcss enable_rpcss
22690 wine_fn_config_makefile programs/rundll.exe16 enable_win16
22691 wine_fn_config_makefile programs/rundll32 enable_rundll32
22692 wine_fn_config_makefile programs/sc enable_sc
22693 wine_fn_config_makefile programs/sc/tests enable_tests
22694 wine_fn_config_makefile programs/schtasks enable_schtasks
22695 wine_fn_config_makefile programs/schtasks/tests enable_tests
22696 wine_fn_config_makefile programs/sdbinst enable_sdbinst
22697 wine_fn_config_makefile programs/secedit enable_secedit
22698 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
22699 wine_fn_config_makefile programs/services enable_services
22700 wine_fn_config_makefile programs/services/tests enable_tests
22701 wine_fn_config_makefile programs/setx enable_setx
22702 wine_fn_config_makefile programs/shutdown enable_shutdown
22703 wine_fn_config_makefile programs/spoolsv enable_spoolsv
22704 wine_fn_config_makefile programs/start enable_start
22705 wine_fn_config_makefile programs/subst enable_subst
22706 wine_fn_config_makefile programs/svchost enable_svchost
22707 wine_fn_config_makefile programs/systeminfo enable_systeminfo
22708 wine_fn_config_makefile programs/taskkill enable_taskkill
22709 wine_fn_config_makefile programs/tasklist enable_tasklist
22710 wine_fn_config_makefile programs/tasklist/tests enable_tests
22711 wine_fn_config_makefile programs/taskmgr enable_taskmgr
22712 wine_fn_config_makefile programs/termsv enable_termsv
22713 wine_fn_config_makefile programs/uninstaller enable_uninstaller
22714 wine_fn_config_makefile programs/unlodctr enable_unlodctr
22715 wine_fn_config_makefile programs/view enable_view
22716 wine_fn_config_makefile programs/wevtutil enable_wevtutil
22717 wine_fn_config_makefile programs/where enable_where
22718 wine_fn_config_makefile programs/whoami enable_whoami
22719 wine_fn_config_makefile programs/wineboot enable_wineboot
22720 wine_fn_config_makefile programs/winebrowser enable_winebrowser
22721 wine_fn_config_makefile programs/winecfg enable_winecfg
22722 wine_fn_config_makefile programs/wineconsole enable_wineconsole
22723 wine_fn_config_makefile programs/winedbg enable_winedbg
22724 wine_fn_config_makefile programs/winedevice enable_winedevice
22725 wine_fn_config_makefile programs/winefile enable_winefile
22726 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
22727 wine_fn_config_makefile programs/winemine enable_winemine
22728 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
22729 wine_fn_config_makefile programs/winepath enable_winepath
22730 wine_fn_config_makefile programs/winetest enable_winetest
22731 wine_fn_config_makefile programs/winevdm enable_win16
22732 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
22733 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
22734 wine_fn_config_makefile programs/winmgmt enable_winmgmt
22735 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
22736 wine_fn_config_makefile programs/winver enable_winver
22737 wine_fn_config_makefile programs/wmic enable_wmic
22738 wine_fn_config_makefile programs/wmplayer enable_wmplayer
22739 wine_fn_config_makefile programs/wordpad enable_wordpad
22740 wine_fn_config_makefile programs/write enable_write
22741 wine_fn_config_makefile programs/wscript enable_wscript
22742 wine_fn_config_makefile programs/wscript/tests enable_tests
22743 wine_fn_config_makefile programs/wuauserv enable_wuauserv
22744 wine_fn_config_makefile programs/wusa enable_wusa
22745 wine_fn_config_makefile programs/xcopy enable_xcopy
22746 wine_fn_config_makefile programs/xcopy/tests enable_tests
22747 wine_fn_config_makefile server enable_server
22748 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
22749 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
22750 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
22751 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
22752 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
22753 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
22754 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
22755 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
22756 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
22759 as_fn_append CONFIGURE_TARGETS " TAGS"
22760 as_fn_append CONFIGURE_TARGETS " tags"
22761 as_fn_append CONFIGURE_TARGETS " autom4te.cache"
22762 as_fn_append CONFIGURE_TARGETS " config.log"
22763 as_fn_append CONFIGURE_TARGETS " config.status"
22764 as_fn_append CONFIGURE_TARGETS " include/config.h"
22765 as_fn_append CONFIGURE_TARGETS " include/stamp-h"
22766 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS " loader/wine"
22768 if test "x$enable_tools" != xno
22769 then
22770 as_fn_append CONFIGURE_TARGETS " tools/makedep$ac_exeext"
22771 ac_config_commands="$ac_config_commands tools/makedep"
22775 ac_config_commands="$ac_config_commands Makefile"
22779 SHELL=/bin/sh
22782 as_fn_append wine_rules "
22783 all: wine
22784 @echo \"Wine build complete.\"
22785 .INIT: Makefile
22786 .MAKEFILEDEPS:
22787 all: Makefile
22788 Makefile: config.status \$(MAKEDEP)
22789 @./config.status Makefile
22790 depend: \$(MAKEDEP)
22791 \$(MAKEDEP)$makedep_flags"
22794 as_fn_append wine_rules "
22795 config.status: ${wine_srcdir}configure
22796 @./config.status --recheck
22797 include/config.h: include/stamp-h
22798 include/stamp-h: ${wine_srcdir}include/config.h.in config.status
22799 @./config.status include/config.h include/stamp-h"
22801 if test "x$enable_maintainer_mode" = xyes
22802 then
22803 as_fn_append wine_rules "
22804 configure: configure.ac aclocal.m4
22805 autoconf --warnings=all
22806 include/config.h.in: include/stamp-h.in
22807 include/stamp-h.in: configure.ac aclocal.m4
22808 autoheader --warnings=all
22809 @echo timestamp > \$@"
22812 if test "x$enable_tools" != xno
22813 then
22814 as_fn_append wine_rules "
22815 tools/makedep$ac_exeext: ${wine_srcdir}tools/makedep.c include/config.h config.status
22816 @./config.status tools/makedep
22817 Makefile: tools/makedep$ac_exeext"
22818 else
22819 as_fn_append wine_rules "
22820 \$(MAKEDEP):
22821 @echo \"You need to run make in $toolsdir first\" && false"
22825 if test -n "$with_wine64"
22826 then
22827 case "$with_wine64" in
22828 /*) reldir="" ;;
22829 *) reldir="../" ;;
22830 esac
22831 rm -f fonts server 2>/dev/null
22832 as_fn_append wine_rules "
22833 all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
22834 loader/wine64 loader/wine64-preloader:
22835 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
22836 $with_wine64/loader/wine:
22837 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
22838 $with_wine64/loader/wine-preloader:
22839 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
22840 clean::
22841 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
22842 else
22843 TOP_INSTALL_DEV="$TOP_INSTALL_DEV include"
22844 TOP_INSTALL_LIB="$TOP_INSTALL_LIB \
22845 fonts \
22846 loader/wine.inf \
22847 nls \
22848 programs/msidb/msidb \
22849 programs/msiexec/msiexec \
22850 programs/notepad/notepad \
22851 programs/regedit/regedit \
22852 programs/regsvr32/regsvr32 \
22853 programs/wineboot/wineboot \
22854 programs/winecfg/winecfg \
22855 programs/wineconsole/wineconsole \
22856 programs/winedbg/winedbg \
22857 programs/winefile/winefile \
22858 programs/winemine/winemine \
22859 programs/winepath/winepath \
22860 server/wineserver"
22862 case $host_os in
22863 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
22864 *) TOP_INSTALL_LIB="$TOP_INSTALL_LIB loader/wine.desktop" ;;
22865 esac
22869 as_fn_append wine_rules "
22870 distclean:: clean
22871 rm -rf autom4te.cache
22872 maintainer-clean::
22873 rm -f configure include/config.h.in"
22876 as_fn_append wine_rules "
22877 dlls/ntdll/unix/version.c: dummy
22878 @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)
22879 programs/winetest/build.rc: dummy
22880 @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)
22881 programs/winetest/build.nfo:
22882 @-\$(CC) -v 2>\$@
22883 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
22884 cd dlls/wineandroid.drv && gradle -q -Psrcdir=$srcdir assembleDebug
22885 mv dlls/wineandroid.drv/build/outputs/apk/wine-debug.apk \$@"
22888 TAGSFLAGS="--langmap='c:+.idl.l.rh,make:(Make*.in)'"
22890 as_fn_append wine_rules "
22891 TAGS etags:
22892 rm -f TAGS
22893 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs etags -a \$(TAGSFLAGS)
22894 tags ctags:
22895 rm -f tags
22896 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs ctags -a \$(TAGSFLAGS)
22897 dummy:
22898 .PHONY: depend dummy install-manpages"
22900 printf "%s\n" " done" >&6
22901 cat >confcache <<\_ACEOF
22902 # This file is a shell script that caches the results of configure
22903 # tests run on this system so they can be shared between configure
22904 # scripts and configure runs, see configure's option --config-cache.
22905 # It is not useful on other systems. If it contains results you don't
22906 # want to keep, you may remove or edit it.
22908 # config.status only pays attention to the cache file if you give it
22909 # the --recheck option to rerun configure.
22911 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22912 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22913 # following values.
22915 _ACEOF
22917 # The following way of writing the cache mishandles newlines in values,
22918 # but we know of no workaround that is simple, portable, and efficient.
22919 # So, we kill variables containing newlines.
22920 # Ultrix sh set writes to stderr and can't be redirected directly,
22921 # and sets the high bit in the cache file unless we assign to the vars.
22923 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
22924 eval ac_val=\$$ac_var
22925 case $ac_val in #(
22926 *${as_nl}*)
22927 case $ac_var in #(
22928 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
22929 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
22930 esac
22931 case $ac_var in #(
22932 _ | IFS | as_nl) ;; #(
22933 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
22934 *) { eval $ac_var=; unset $ac_var;} ;;
22935 esac ;;
22936 esac
22937 done
22939 (set) 2>&1 |
22940 case $as_nl`(ac_space=' '; set) 2>&1` in #(
22941 *${as_nl}ac_space=\ *)
22942 # `set' does not quote correctly, so add quotes: double-quote
22943 # substitution turns \\\\ into \\, and sed turns \\ into \.
22944 sed -n \
22945 "s/'/'\\\\''/g;
22946 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22947 ;; #(
22949 # `set' quotes correctly as required by POSIX, so do not add quotes.
22950 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22952 esac |
22953 sort
22955 sed '
22956 /^ac_cv_env_/b end
22957 t clear
22958 :clear
22959 s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
22960 t end
22961 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22962 :end' >>confcache
22963 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
22964 if test -w "$cache_file"; then
22965 if test "x$cache_file" != "x/dev/null"; then
22966 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
22967 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
22968 if test ! -f "$cache_file" || test -h "$cache_file"; then
22969 cat confcache >"$cache_file"
22970 else
22971 case $cache_file in #(
22972 */* | ?:*)
22973 mv -f confcache "$cache_file"$$ &&
22974 mv -f "$cache_file"$$ "$cache_file" ;; #(
22976 mv -f confcache "$cache_file" ;;
22977 esac
22980 else
22981 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
22982 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
22985 rm -f confcache
22987 test "x$prefix" = xNONE && prefix=$ac_default_prefix
22988 # Let make expand exec_prefix.
22989 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
22991 DEFS=-DHAVE_CONFIG_H
22993 ac_libobjs=
22994 ac_ltlibobjs=
22996 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
22997 # 1. Remove the extension, and $U if already installed.
22998 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
22999 ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
23000 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
23001 # will be set to the directory where LIBOBJS objects are built.
23002 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
23003 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
23004 done
23005 LIBOBJS=$ac_libobjs
23007 LTLIBOBJS=$ac_ltlibobjs
23011 : "${CONFIG_STATUS=./config.status}"
23012 ac_write_fail=0
23013 ac_clean_files_save=$ac_clean_files
23014 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
23015 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
23016 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
23017 as_write_fail=0
23018 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
23019 #! $SHELL
23020 # Generated by $as_me.
23021 # Run this file to recreate the current configuration.
23022 # Compiler output produced by configure, useful for debugging
23023 # configure, is in config.log if it exists.
23025 debug=false
23026 ac_cs_recheck=false
23027 ac_cs_silent=false
23029 SHELL=\${CONFIG_SHELL-$SHELL}
23030 export SHELL
23031 _ASEOF
23032 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
23033 ## -------------------- ##
23034 ## M4sh Initialization. ##
23035 ## -------------------- ##
23037 # Be more Bourne compatible
23038 DUALCASE=1; export DUALCASE # for MKS sh
23039 as_nop=:
23040 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
23041 then :
23042 emulate sh
23043 NULLCMD=:
23044 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23045 # is contrary to our usage. Disable this feature.
23046 alias -g '${1+"$@"}'='"$@"'
23047 setopt NO_GLOB_SUBST
23048 else $as_nop
23049 case `(set -o) 2>/dev/null` in #(
23050 *posix*) :
23051 set -o posix ;; #(
23052 *) :
23054 esac
23059 # Reset variables that may have inherited troublesome values from
23060 # the environment.
23062 # IFS needs to be set, to space, tab, and newline, in precisely that order.
23063 # (If _AS_PATH_WALK were called with IFS unset, it would have the
23064 # side effect of setting IFS to empty, thus disabling word splitting.)
23065 # Quoting is to prevent editors from complaining about space-tab.
23066 as_nl='
23068 export as_nl
23069 IFS=" "" $as_nl"
23071 PS1='$ '
23072 PS2='> '
23073 PS4='+ '
23075 # Ensure predictable behavior from utilities with locale-dependent output.
23076 LC_ALL=C
23077 export LC_ALL
23078 LANGUAGE=C
23079 export LANGUAGE
23081 # We cannot yet rely on "unset" to work, but we need these variables
23082 # to be unset--not just set to an empty or harmless value--now, to
23083 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
23084 # also avoids known problems related to "unset" and subshell syntax
23085 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
23086 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
23087 do eval test \${$as_var+y} \
23088 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
23089 done
23091 # Ensure that fds 0, 1, and 2 are open.
23092 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
23093 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
23094 if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
23096 # The user is always right.
23097 if ${PATH_SEPARATOR+false} :; then
23098 PATH_SEPARATOR=:
23099 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
23100 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
23101 PATH_SEPARATOR=';'
23106 # Find who we are. Look in the path if we contain no directory separator.
23107 as_myself=
23108 case $0 in #((
23109 *[\\/]* ) as_myself=$0 ;;
23110 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23111 for as_dir in $PATH
23113 IFS=$as_save_IFS
23114 case $as_dir in #(((
23115 '') as_dir=./ ;;
23116 */) ;;
23117 *) as_dir=$as_dir/ ;;
23118 esac
23119 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
23120 done
23121 IFS=$as_save_IFS
23124 esac
23125 # We did not find ourselves, most probably we were run as `sh COMMAND'
23126 # in which case we are not to be found in the path.
23127 if test "x$as_myself" = x; then
23128 as_myself=$0
23130 if test ! -f "$as_myself"; then
23131 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
23132 exit 1
23137 # as_fn_error STATUS ERROR [LINENO LOG_FD]
23138 # ----------------------------------------
23139 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
23140 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
23141 # script with STATUS, using 1 if that was 0.
23142 as_fn_error ()
23144 as_status=$1; test $as_status -eq 0 && as_status=1
23145 if test "$4"; then
23146 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
23147 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
23149 printf "%s\n" "$as_me: error: $2" >&2
23150 as_fn_exit $as_status
23151 } # as_fn_error
23155 # as_fn_set_status STATUS
23156 # -----------------------
23157 # Set $? to STATUS, without forking.
23158 as_fn_set_status ()
23160 return $1
23161 } # as_fn_set_status
23163 # as_fn_exit STATUS
23164 # -----------------
23165 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
23166 as_fn_exit ()
23168 set +e
23169 as_fn_set_status $1
23170 exit $1
23171 } # as_fn_exit
23173 # as_fn_unset VAR
23174 # ---------------
23175 # Portably unset VAR.
23176 as_fn_unset ()
23178 { eval $1=; unset $1;}
23180 as_unset=as_fn_unset
23182 # as_fn_append VAR VALUE
23183 # ----------------------
23184 # Append the text in VALUE to the end of the definition contained in VAR. Take
23185 # advantage of any shell optimizations that allow amortized linear growth over
23186 # repeated appends, instead of the typical quadratic growth present in naive
23187 # implementations.
23188 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
23189 then :
23190 eval 'as_fn_append ()
23192 eval $1+=\$2
23194 else $as_nop
23195 as_fn_append ()
23197 eval $1=\$$1\$2
23199 fi # as_fn_append
23201 # as_fn_arith ARG...
23202 # ------------------
23203 # Perform arithmetic evaluation on the ARGs, and store the result in the
23204 # global $as_val. Take advantage of shells that can avoid forks. The arguments
23205 # must be portable across $(()) and expr.
23206 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
23207 then :
23208 eval 'as_fn_arith ()
23210 as_val=$(( $* ))
23212 else $as_nop
23213 as_fn_arith ()
23215 as_val=`expr "$@" || test $? -eq 1`
23217 fi # as_fn_arith
23220 if expr a : '\(a\)' >/dev/null 2>&1 &&
23221 test "X`expr 00001 : '.*\(...\)'`" = X001; then
23222 as_expr=expr
23223 else
23224 as_expr=false
23227 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
23228 as_basename=basename
23229 else
23230 as_basename=false
23233 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
23234 as_dirname=dirname
23235 else
23236 as_dirname=false
23239 as_me=`$as_basename -- "$0" ||
23240 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
23241 X"$0" : 'X\(//\)$' \| \
23242 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
23243 printf "%s\n" X/"$0" |
23244 sed '/^.*\/\([^/][^/]*\)\/*$/{
23245 s//\1/
23248 /^X\/\(\/\/\)$/{
23249 s//\1/
23252 /^X\/\(\/\).*/{
23253 s//\1/
23256 s/.*/./; q'`
23258 # Avoid depending upon Character Ranges.
23259 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
23260 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
23261 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
23262 as_cr_digits='0123456789'
23263 as_cr_alnum=$as_cr_Letters$as_cr_digits
23266 # Determine whether it's possible to make 'echo' print without a newline.
23267 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
23268 # for compatibility with existing Makefiles.
23269 ECHO_C= ECHO_N= ECHO_T=
23270 case `echo -n x` in #(((((
23271 -n*)
23272 case `echo 'xy\c'` in
23273 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
23274 xy) ECHO_C='\c';;
23275 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
23276 ECHO_T=' ';;
23277 esac;;
23279 ECHO_N='-n';;
23280 esac
23282 # For backward compatibility with old third-party macros, we provide
23283 # the shell variables $as_echo and $as_echo_n. New code should use
23284 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
23285 as_echo='printf %s\n'
23286 as_echo_n='printf %s'
23288 rm -f conf$$ conf$$.exe conf$$.file
23289 if test -d conf$$.dir; then
23290 rm -f conf$$.dir/conf$$.file
23291 else
23292 rm -f conf$$.dir
23293 mkdir conf$$.dir 2>/dev/null
23295 if (echo >conf$$.file) 2>/dev/null; then
23296 if ln -s conf$$.file conf$$ 2>/dev/null; then
23297 as_ln_s='ln -s'
23298 # ... but there are two gotchas:
23299 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
23300 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
23301 # In both cases, we have to default to `cp -pR'.
23302 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
23303 as_ln_s='cp -pR'
23304 elif ln conf$$.file conf$$ 2>/dev/null; then
23305 as_ln_s=ln
23306 else
23307 as_ln_s='cp -pR'
23309 else
23310 as_ln_s='cp -pR'
23312 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
23313 rmdir conf$$.dir 2>/dev/null
23316 # as_fn_mkdir_p
23317 # -------------
23318 # Create "$as_dir" as a directory, including parents if necessary.
23319 as_fn_mkdir_p ()
23322 case $as_dir in #(
23323 -*) as_dir=./$as_dir;;
23324 esac
23325 test -d "$as_dir" || eval $as_mkdir_p || {
23326 as_dirs=
23327 while :; do
23328 case $as_dir in #(
23329 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
23330 *) as_qdir=$as_dir;;
23331 esac
23332 as_dirs="'$as_qdir' $as_dirs"
23333 as_dir=`$as_dirname -- "$as_dir" ||
23334 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23335 X"$as_dir" : 'X\(//\)[^/]' \| \
23336 X"$as_dir" : 'X\(//\)$' \| \
23337 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
23338 printf "%s\n" X"$as_dir" |
23339 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23340 s//\1/
23343 /^X\(\/\/\)[^/].*/{
23344 s//\1/
23347 /^X\(\/\/\)$/{
23348 s//\1/
23351 /^X\(\/\).*/{
23352 s//\1/
23355 s/.*/./; q'`
23356 test -d "$as_dir" && break
23357 done
23358 test -z "$as_dirs" || eval "mkdir $as_dirs"
23359 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
23362 } # as_fn_mkdir_p
23363 if mkdir -p . 2>/dev/null; then
23364 as_mkdir_p='mkdir -p "$as_dir"'
23365 else
23366 test -d ./-p && rmdir ./-p
23367 as_mkdir_p=false
23371 # as_fn_executable_p FILE
23372 # -----------------------
23373 # Test if FILE is an executable regular file.
23374 as_fn_executable_p ()
23376 test -f "$1" && test -x "$1"
23377 } # as_fn_executable_p
23378 as_test_x='test -x'
23379 as_executable_p=as_fn_executable_p
23381 # Sed expression to map a string onto a valid CPP name.
23382 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
23384 # Sed expression to map a string onto a valid variable name.
23385 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
23388 exec 6>&1
23389 ## ----------------------------------- ##
23390 ## Main body of $CONFIG_STATUS script. ##
23391 ## ----------------------------------- ##
23392 _ASEOF
23393 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
23395 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23396 # Save the log message, to keep $0 and so on meaningful, and to
23397 # report actual input values of CONFIG_FILES etc. instead of their
23398 # values after options handling.
23399 ac_log="
23400 This file was extended by Wine $as_me 9.3, which was
23401 generated by GNU Autoconf 2.71. Invocation command line was
23403 CONFIG_FILES = $CONFIG_FILES
23404 CONFIG_HEADERS = $CONFIG_HEADERS
23405 CONFIG_LINKS = $CONFIG_LINKS
23406 CONFIG_COMMANDS = $CONFIG_COMMANDS
23407 $ $0 $@
23409 on `(hostname || uname -n) 2>/dev/null | sed 1q`
23412 _ACEOF
23415 case $ac_config_headers in *"
23416 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
23417 esac
23420 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23421 # Files that config.status was made for.
23422 config_headers="$ac_config_headers"
23423 config_links="$ac_config_links"
23424 config_commands="$ac_config_commands"
23426 _ACEOF
23428 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23429 ac_cs_usage="\
23430 \`$as_me' instantiates files and other configuration actions
23431 from templates according to the current configuration. Unless the files
23432 and actions are specified as TAGs, all are instantiated by default.
23434 Usage: $0 [OPTION]... [TAG]...
23436 -h, --help print this help, then exit
23437 -V, --version print version number and configuration settings, then exit
23438 --config print configuration, then exit
23439 -q, --quiet, --silent
23440 do not print progress messages
23441 -d, --debug don't remove temporary files
23442 --recheck update $as_me by reconfiguring in the same conditions
23443 --header=FILE[:TEMPLATE]
23444 instantiate the configuration header FILE
23446 Configuration headers:
23447 $config_headers
23449 Configuration links:
23450 $config_links
23452 Configuration commands:
23453 $config_commands
23455 Report bugs to <wine-devel@winehq.org>.
23456 Wine home page: <https://www.winehq.org>."
23458 _ACEOF
23459 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
23460 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
23461 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23462 ac_cs_config='$ac_cs_config_escaped'
23463 ac_cs_version="\\
23464 Wine config.status 9.3
23465 configured by $0, generated by GNU Autoconf 2.71,
23466 with options \\"\$ac_cs_config\\"
23468 Copyright (C) 2021 Free Software Foundation, Inc.
23469 This config.status script is free software; the Free Software Foundation
23470 gives unlimited permission to copy, distribute and modify it."
23472 ac_pwd='$ac_pwd'
23473 srcdir='$srcdir'
23474 test -n "\$AWK" || AWK=awk
23475 _ACEOF
23477 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23478 # The default lists apply if the user does not specify any file.
23479 ac_need_defaults=:
23480 while test $# != 0
23482 case $1 in
23483 --*=?*)
23484 ac_option=`expr "X$1" : 'X\([^=]*\)='`
23485 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
23486 ac_shift=:
23488 --*=)
23489 ac_option=`expr "X$1" : 'X\([^=]*\)='`
23490 ac_optarg=
23491 ac_shift=:
23494 ac_option=$1
23495 ac_optarg=$2
23496 ac_shift=shift
23498 esac
23500 case $ac_option in
23501 # Handling of the options.
23502 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
23503 ac_cs_recheck=: ;;
23504 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
23505 printf "%s\n" "$ac_cs_version"; exit ;;
23506 --config | --confi | --conf | --con | --co | --c )
23507 printf "%s\n" "$ac_cs_config"; exit ;;
23508 --debug | --debu | --deb | --de | --d | -d )
23509 debug=: ;;
23510 --header | --heade | --head | --hea )
23511 $ac_shift
23512 case $ac_optarg in
23513 *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
23514 esac
23515 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
23516 ac_need_defaults=false;;
23517 --he | --h)
23518 # Conflict between --help and --header
23519 as_fn_error $? "ambiguous option: \`$1'
23520 Try \`$0 --help' for more information.";;
23521 --help | --hel | -h )
23522 printf "%s\n" "$ac_cs_usage"; exit ;;
23523 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
23524 | -silent | --silent | --silen | --sile | --sil | --si | --s)
23525 ac_cs_silent=: ;;
23527 # This is an error.
23528 -*) as_fn_error $? "unrecognized option: \`$1'
23529 Try \`$0 --help' for more information." ;;
23531 *) as_fn_append ac_config_targets " $1"
23532 ac_need_defaults=false ;;
23534 esac
23535 shift
23536 done
23538 ac_configure_extra_args=
23540 if $ac_cs_silent; then
23541 exec 6>/dev/null
23542 ac_configure_extra_args="$ac_configure_extra_args --silent"
23545 _ACEOF
23546 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23547 if \$ac_cs_recheck; then
23548 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
23549 shift
23550 \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
23551 CONFIG_SHELL='$SHELL'
23552 export CONFIG_SHELL
23553 exec "\$@"
23556 _ACEOF
23557 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23558 exec 5>>config.log
23560 echo
23561 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
23562 ## Running $as_me. ##
23563 _ASBOX
23564 printf "%s\n" "$ac_log"
23565 } >&5
23567 _ACEOF
23568 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23570 # INIT-COMMANDS
23572 wine_fn_output_makedep ()
23574 as_dir=tools; as_fn_mkdir_p
23575 $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
23577 wine_fn_output_makefile ()
23579 cat <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && "$wine_makedep"$makedep_flags && return
23580 # This Makefile understands the following targets:
23582 # all (default): build wine
23583 # clean: remove all intermediate files
23584 # distclean: also remove all files created by configure
23585 # test: run tests
23586 # testclean: clean test results to force running all tests again
23587 # install-lib: install libraries needed to run applications
23588 # install-dev: install development environment
23589 # install: install everything
23590 # uninstall: uninstall everything
23591 # ctags: create a tags file for vim and others.
23592 # etags: create a TAGS file for Emacs.
23594 SHELL = $SHELL
23595 PATH_SEPARATOR = $PATH_SEPARATOR
23596 PACKAGE_NAME = $PACKAGE_NAME
23597 PACKAGE_TARNAME = $PACKAGE_TARNAME
23598 PACKAGE_VERSION = $PACKAGE_VERSION
23599 PACKAGE_STRING = $PACKAGE_STRING
23600 PACKAGE_BUGREPORT = $PACKAGE_BUGREPORT
23601 PACKAGE_URL = $PACKAGE_URL
23602 exec_prefix = $exec_prefix
23603 prefix = $prefix
23604 program_transform_name = $program_transform_name
23605 bindir = $bindir
23606 sbindir = $sbindir
23607 libexecdir = $libexecdir
23608 datarootdir = $datarootdir
23609 datadir = $datadir
23610 sysconfdir = $sysconfdir
23611 sharedstatedir = $sharedstatedir
23612 localstatedir = $localstatedir
23613 runstatedir = $runstatedir
23614 includedir = $includedir
23615 oldincludedir = $oldincludedir
23616 docdir = $docdir
23617 infodir = $infodir
23618 htmldir = $htmldir
23619 dvidir = $dvidir
23620 pdfdir = $pdfdir
23621 psdir = $psdir
23622 libdir = $libdir
23623 localedir = $localedir
23624 mandir = $mandir
23625 DEFS = $DEFS
23626 ECHO_C = $ECHO_C
23627 ECHO_N = $ECHO_N
23628 ECHO_T = $ECHO_T
23629 LIBS = $LIBS
23630 build_alias = $build_alias
23631 host_alias = $host_alias
23632 target_alias = $target_alias
23633 system_dllpath = $system_dllpath
23634 build = $build
23635 build_cpu = $build_cpu
23636 build_vendor = $build_vendor
23637 build_os = $build_os
23638 host = $host
23639 host_cpu = $host_cpu
23640 host_vendor = $host_vendor
23641 host_os = $host_os
23642 dlldir = $dlldir
23643 fontdir = $fontdir
23644 nlsdir = $nlsdir
23645 srcdir = $srcdir
23646 SET_MAKE = $SET_MAKE
23647 CC = $CC
23648 CFLAGS = $CFLAGS
23649 LDFLAGS = $LDFLAGS
23650 CPPFLAGS = $CPPFLAGS
23651 ac_ct_CC = $ac_ct_CC
23652 EXEEXT = $EXEEXT
23653 OBJEXT = $OBJEXT
23654 CXX = $CXX
23655 CXXFLAGS = $CXXFLAGS
23656 ac_ct_CXX = $ac_ct_CXX
23657 CPPBIN = $CPPBIN
23658 LD = $LD
23659 TARGETFLAGS = $TARGETFLAGS
23660 toolsext = $toolsext
23661 HOST_ARCH = $HOST_ARCH
23662 aarch64_CC = $aarch64_CC
23663 aarch64_CFLAGS = $aarch64_CFLAGS
23664 aarch64_EXTRACFLAGS = $aarch64_EXTRACFLAGS
23665 aarch64_LDFLAGS = $aarch64_LDFLAGS
23666 aarch64_DEBUG = $aarch64_DEBUG
23667 aarch64_TARGET = $aarch64_TARGET
23668 aarch64_DELAYLOADFLAG = $aarch64_DELAYLOADFLAG
23669 aarch64_DISABLED_SUBDIRS = $aarch64_DISABLED_SUBDIRS
23670 arm_CC = $arm_CC
23671 arm_CFLAGS = $arm_CFLAGS
23672 arm_EXTRACFLAGS = $arm_EXTRACFLAGS
23673 arm_LDFLAGS = $arm_LDFLAGS
23674 arm_DEBUG = $arm_DEBUG
23675 arm_TARGET = $arm_TARGET
23676 arm_DELAYLOADFLAG = $arm_DELAYLOADFLAG
23677 arm_DISABLED_SUBDIRS = $arm_DISABLED_SUBDIRS
23678 arm64ec_CC = $arm64ec_CC
23679 arm64ec_CFLAGS = $arm64ec_CFLAGS
23680 arm64ec_EXTRACFLAGS = $arm64ec_EXTRACFLAGS
23681 arm64ec_LDFLAGS = $arm64ec_LDFLAGS
23682 arm64ec_DEBUG = $arm64ec_DEBUG
23683 arm64ec_TARGET = $arm64ec_TARGET
23684 arm64ec_DELAYLOADFLAG = $arm64ec_DELAYLOADFLAG
23685 arm64ec_DISABLED_SUBDIRS = $arm64ec_DISABLED_SUBDIRS
23686 i386_CC = $i386_CC
23687 i386_CFLAGS = $i386_CFLAGS
23688 i386_EXTRACFLAGS = $i386_EXTRACFLAGS
23689 i386_LDFLAGS = $i386_LDFLAGS
23690 i386_DEBUG = $i386_DEBUG
23691 i386_TARGET = $i386_TARGET
23692 i386_DELAYLOADFLAG = $i386_DELAYLOADFLAG
23693 i386_DISABLED_SUBDIRS = $i386_DISABLED_SUBDIRS
23694 x86_64_CC = $x86_64_CC
23695 x86_64_CFLAGS = $x86_64_CFLAGS
23696 x86_64_EXTRACFLAGS = $x86_64_EXTRACFLAGS
23697 x86_64_LDFLAGS = $x86_64_LDFLAGS
23698 x86_64_DEBUG = $x86_64_DEBUG
23699 x86_64_TARGET = $x86_64_TARGET
23700 x86_64_DELAYLOADFLAG = $x86_64_DELAYLOADFLAG
23701 x86_64_DISABLED_SUBDIRS = $x86_64_DISABLED_SUBDIRS
23702 toolsdir = $toolsdir
23703 MAKEDEP = $MAKEDEP
23704 RUNTESTFLAGS = $RUNTESTFLAGS
23705 SED_CMD = $SED_CMD
23706 FLEX = $FLEX
23707 BISON = $BISON
23708 AR = $AR
23709 ac_ct_AR = $ac_ct_AR
23710 STRIP = $STRIP
23711 RANLIB = $RANLIB
23712 LN_S = $LN_S
23713 GREP = $GREP
23714 EGREP = $EGREP
23715 LDCONFIG = $LDCONFIG
23716 MSGFMT = $MSGFMT
23717 PKG_CONFIG = $PKG_CONFIG
23718 FONTFORGE = $FONTFORGE
23719 RSVG = $RSVG
23720 CONVERT = $CONVERT
23721 ICOTOOL = $ICOTOOL
23722 I386_LIBS = $I386_LIBS
23723 OPENGL_LIBS = $OPENGL_LIBS
23724 DLLFLAGS = $DLLFLAGS
23725 LDDLLFLAGS = $LDDLLFLAGS
23726 LDEXECFLAGS = $LDEXECFLAGS
23727 EXTRACFLAGS = $EXTRACFLAGS
23728 UNIXDLLFLAGS = $UNIXDLLFLAGS
23729 UNIXLDFLAGS = $UNIXLDFLAGS
23730 TOP_INSTALL_LIB = $TOP_INSTALL_LIB
23731 TOP_INSTALL_DEV = $TOP_INSTALL_DEV
23732 WINELOADER_LDFLAGS = $WINELOADER_LDFLAGS
23733 WINEPRELOADER_LDFLAGS = $WINEPRELOADER_LDFLAGS
23734 DLLEXT = $DLLEXT
23735 LDD = $LDD
23736 OTOOL = $OTOOL
23737 READELF = $READELF
23738 SUBDIRS = $SUBDIRS
23739 DISABLED_SUBDIRS = $DISABLED_SUBDIRS
23740 CONFIGURE_TARGETS = $CONFIGURE_TARGETS
23741 CARBON_LIBS = $CARBON_LIBS
23742 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
23743 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
23744 IOKIT_LIBS = $IOKIT_LIBS
23745 METAL_LIBS = $METAL_LIBS
23746 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
23747 CORESERVICES_LIBS = $CORESERVICES_LIBS
23748 APPKIT_LIBS = $APPKIT_LIBS
23749 SECURITY_LIBS = $SECURITY_LIBS
23750 SYSTEMCONFIGURATION_LIBS = $SYSTEMCONFIGURATION_LIBS
23751 COREAUDIO_LIBS = $COREAUDIO_LIBS
23752 OPENCL_LIBS = $OPENCL_LIBS
23753 OBJC = $OBJC
23754 OBJCFLAGS = $OBJCFLAGS
23755 ac_ct_OBJC = $ac_ct_OBJC
23756 WINELOADER_DEPENDS = $WINELOADER_DEPENDS
23757 PE_ARCHS = $PE_ARCHS
23758 MINGW_PKG_CONFIG = $MINGW_PKG_CONFIG
23759 FAUDIO_PE_CFLAGS = $FAUDIO_PE_CFLAGS
23760 FAUDIO_PE_LIBS = $FAUDIO_PE_LIBS
23761 FLUIDSYNTH_PE_CFLAGS = $FLUIDSYNTH_PE_CFLAGS
23762 FLUIDSYNTH_PE_LIBS = $FLUIDSYNTH_PE_LIBS
23763 GSM_PE_CFLAGS = $GSM_PE_CFLAGS
23764 GSM_PE_LIBS = $GSM_PE_LIBS
23765 JPEG_PE_CFLAGS = $JPEG_PE_CFLAGS
23766 JPEG_PE_LIBS = $JPEG_PE_LIBS
23767 JXR_PE_CFLAGS = $JXR_PE_CFLAGS
23768 JXR_PE_LIBS = $JXR_PE_LIBS
23769 LCMS2_PE_CFLAGS = $LCMS2_PE_CFLAGS
23770 LCMS2_PE_LIBS = $LCMS2_PE_LIBS
23771 LDAP_PE_CFLAGS = $LDAP_PE_CFLAGS
23772 LDAP_PE_LIBS = $LDAP_PE_LIBS
23773 MPG123_PE_CFLAGS = $MPG123_PE_CFLAGS
23774 MPG123_PE_LIBS = $MPG123_PE_LIBS
23775 MUSL_PE_CFLAGS = $MUSL_PE_CFLAGS
23776 MUSL_PE_LIBS = $MUSL_PE_LIBS
23777 PNG_PE_CFLAGS = $PNG_PE_CFLAGS
23778 PNG_PE_LIBS = $PNG_PE_LIBS
23779 TIFF_PE_CFLAGS = $TIFF_PE_CFLAGS
23780 TIFF_PE_LIBS = $TIFF_PE_LIBS
23781 VKD3D_PE_CFLAGS = $VKD3D_PE_CFLAGS
23782 VKD3D_PE_LIBS = $VKD3D_PE_LIBS
23783 XML2_PE_CFLAGS = $XML2_PE_CFLAGS
23784 XML2_PE_LIBS = $XML2_PE_LIBS
23785 XSLT_PE_CFLAGS = $XSLT_PE_CFLAGS
23786 XSLT_PE_LIBS = $XSLT_PE_LIBS
23787 ZLIB_PE_CFLAGS = $ZLIB_PE_CFLAGS
23788 ZLIB_PE_LIBS = $ZLIB_PE_LIBS
23789 ZYDIS_PE_CFLAGS = $ZYDIS_PE_CFLAGS
23790 ZYDIS_PE_LIBS = $ZYDIS_PE_LIBS
23791 PTHREAD_LIBS = $PTHREAD_LIBS
23792 XMKMF = $XMKMF
23793 CPP = $CPP
23794 X_CFLAGS = $X_CFLAGS
23795 X_PRE_LIBS = $X_PRE_LIBS
23796 X_LIBS = $X_LIBS
23797 X_EXTRA_LIBS = $X_EXTRA_LIBS
23798 WAYLAND_CLIENT_CFLAGS = $WAYLAND_CLIENT_CFLAGS
23799 WAYLAND_CLIENT_LIBS = $WAYLAND_CLIENT_LIBS
23800 WAYLAND_SCANNER = $WAYLAND_SCANNER
23801 XKBCOMMON_CFLAGS = $XKBCOMMON_CFLAGS
23802 XKBCOMMON_LIBS = $XKBCOMMON_LIBS
23803 XKBREGISTRY_CFLAGS = $XKBREGISTRY_CFLAGS
23804 XKBREGISTRY_LIBS = $XKBREGISTRY_LIBS
23805 PCAP_LIBS = $PCAP_LIBS
23806 PCSCLITE_LIBS = $PCSCLITE_LIBS
23807 INOTIFY_CFLAGS = $INOTIFY_CFLAGS
23808 INOTIFY_LIBS = $INOTIFY_LIBS
23809 DBUS_CFLAGS = $DBUS_CFLAGS
23810 DBUS_LIBS = $DBUS_LIBS
23811 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
23812 GNUTLS_LIBS = $GNUTLS_LIBS
23813 SANE_CFLAGS = $SANE_CFLAGS
23814 SANE_LIBS = $SANE_LIBS
23815 USB_CFLAGS = $USB_CFLAGS
23816 USB_LIBS = $USB_LIBS
23817 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
23818 GPHOTO2_LIBS = $GPHOTO2_LIBS
23819 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
23820 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
23821 RESOLV_LIBS = $RESOLV_LIBS
23822 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
23823 FREETYPE_LIBS = $FREETYPE_LIBS
23824 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
23825 PULSE_CFLAGS = $PULSE_CFLAGS
23826 PULSE_LIBS = $PULSE_LIBS
23827 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
23828 GSTREAMER_LIBS = $GSTREAMER_LIBS
23829 ALSA_LIBS = $ALSA_LIBS
23830 OSS4_CFLAGS = $OSS4_CFLAGS
23831 OSS4_LIBS = $OSS4_LIBS
23832 UDEV_CFLAGS = $UDEV_CFLAGS
23833 UDEV_LIBS = $UDEV_LIBS
23834 UNWIND_CFLAGS = $UNWIND_CFLAGS
23835 UNWIND_LIBS = $UNWIND_LIBS
23836 SDL2_CFLAGS = $SDL2_CFLAGS
23837 SDL2_LIBS = $SDL2_LIBS
23838 CAPI20_CFLAGS = $CAPI20_CFLAGS
23839 CAPI20_LIBS = $CAPI20_LIBS
23840 CUPS_CFLAGS = $CUPS_CFLAGS
23841 CUPS_LIBS = $CUPS_LIBS
23842 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
23843 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
23844 KRB5_CFLAGS = $KRB5_CFLAGS
23845 KRB5_LIBS = $KRB5_LIBS
23846 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
23847 GSSAPI_LIBS = $GSSAPI_LIBS
23848 PROCSTAT_LIBS = $PROCSTAT_LIBS
23849 NETAPI_CFLAGS = $NETAPI_CFLAGS
23850 NETAPI_LIBS = $NETAPI_LIBS
23851 MSVCRTFLAGS = $MSVCRTFLAGS
23852 DELAYLOADFLAG = $DELAYLOADFLAG
23853 WINELOADER_PROGRAMS = $WINELOADER_PROGRAMS
23854 RT_LIBS = $RT_LIBS
23855 TAGSFLAGS = $TAGSFLAGS
23856 LIBOBJS = $LIBOBJS
23857 LTLIBOBJS = $LTLIBOBJS
23858 $SET_MAKE
23859 $wine_rules
23860 _WINE_EOF
23861 as_fn_error $? "could not create Makefile" "$LINENO" 5
23864 _ACEOF
23866 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23868 # Handling of arguments.
23869 for ac_config_target in $ac_config_targets
23871 case $ac_config_target in
23872 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
23873 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
23874 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
23875 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
23876 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
23877 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
23879 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
23880 esac
23881 done
23884 # If the user did not use the arguments to specify the items to instantiate,
23885 # then the envvar interface is used. Set only those that are not.
23886 # We use the long form for the default assignment because of an extremely
23887 # bizarre bug on SunOS 4.1.3.
23888 if $ac_need_defaults; then
23889 test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
23890 test ${CONFIG_LINKS+y} || CONFIG_LINKS=$config_links
23891 test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
23894 # Have a temporary directory for convenience. Make it in the build tree
23895 # simply because there is no reason against having it here, and in addition,
23896 # creating and moving files from /tmp can sometimes cause problems.
23897 # Hook for its removal unless debugging.
23898 # Note that there is a small window in which the directory will not be cleaned:
23899 # after its creation but before its name has been assigned to `$tmp'.
23900 $debug ||
23902 tmp= ac_tmp=
23903 trap 'exit_status=$?
23904 : "${ac_tmp:=$tmp}"
23905 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
23907 trap 'as_fn_exit 1' 1 2 13 15
23909 # Create a (secure) tmp directory for tmp files.
23912 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
23913 test -d "$tmp"
23914 } ||
23916 tmp=./conf$$-$RANDOM
23917 (umask 077 && mkdir "$tmp")
23918 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
23919 ac_tmp=$tmp
23921 # Set up the scripts for CONFIG_HEADERS section.
23922 # No need to generate them if there are no CONFIG_HEADERS.
23923 # This happens for instance with `./config.status Makefile'.
23924 if test -n "$CONFIG_HEADERS"; then
23925 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
23926 BEGIN {
23927 _ACEOF
23929 # Transform confdefs.h into an awk script `defines.awk', embedded as
23930 # here-document in config.status, that substitutes the proper values into
23931 # config.h.in to produce config.h.
23933 # Create a delimiter string that does not exist in confdefs.h, to ease
23934 # handling of long lines.
23935 ac_delim='%!_!# '
23936 for ac_last_try in false false :; do
23937 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
23938 if test -z "$ac_tt"; then
23939 break
23940 elif $ac_last_try; then
23941 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
23942 else
23943 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
23945 done
23947 # For the awk script, D is an array of macro values keyed by name,
23948 # likewise P contains macro parameters if any. Preserve backslash
23949 # newline sequences.
23951 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
23952 sed -n '
23953 s/.\{148\}/&'"$ac_delim"'/g
23954 t rset
23955 :rset
23956 s/^[ ]*#[ ]*define[ ][ ]*/ /
23957 t def
23959 :def
23960 s/\\$//
23961 t bsnl
23962 s/["\\]/\\&/g
23963 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
23964 D["\1"]=" \3"/p
23965 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
23967 :bsnl
23968 s/["\\]/\\&/g
23969 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
23970 D["\1"]=" \3\\\\\\n"\\/p
23971 t cont
23972 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
23973 t cont
23975 :cont
23977 s/.\{148\}/&'"$ac_delim"'/g
23978 t clear
23979 :clear
23980 s/\\$//
23981 t bsnlc
23982 s/["\\]/\\&/g; s/^/"/; s/$/"/p
23984 :bsnlc
23985 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
23986 b cont
23987 ' <confdefs.h | sed '
23988 s/'"$ac_delim"'/"\\\
23989 "/g' >>$CONFIG_STATUS || ac_write_fail=1
23991 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23992 for (key in D) D_is_set[key] = 1
23993 FS = "\a"
23995 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
23996 line = \$ 0
23997 split(line, arg, " ")
23998 if (arg[1] == "#") {
23999 defundef = arg[2]
24000 mac1 = arg[3]
24001 } else {
24002 defundef = substr(arg[1], 2)
24003 mac1 = arg[2]
24005 split(mac1, mac2, "(") #)
24006 macro = mac2[1]
24007 prefix = substr(line, 1, index(line, defundef) - 1)
24008 if (D_is_set[macro]) {
24009 # Preserve the white space surrounding the "#".
24010 print prefix "define", macro P[macro] D[macro]
24011 next
24012 } else {
24013 # Replace #undef with comments. This is necessary, for example,
24014 # in the case of _POSIX_SOURCE, which is predefined and required
24015 # on some systems where configure will not decide to define it.
24016 if (defundef == "undef") {
24017 print "/*", prefix defundef, macro, "*/"
24018 next
24022 { print }
24023 _ACAWK
24024 _ACEOF
24025 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
24026 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
24027 fi # test -n "$CONFIG_HEADERS"
24030 eval set X " :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
24031 shift
24032 for ac_tag
24034 case $ac_tag in
24035 :[FHLC]) ac_mode=$ac_tag; continue;;
24036 esac
24037 case $ac_mode$ac_tag in
24038 :[FHL]*:*);;
24039 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
24040 :[FH]-) ac_tag=-:-;;
24041 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
24042 esac
24043 ac_save_IFS=$IFS
24044 IFS=:
24045 set x $ac_tag
24046 IFS=$ac_save_IFS
24047 shift
24048 ac_file=$1
24049 shift
24051 case $ac_mode in
24052 :L) ac_source=$1;;
24053 :[FH])
24054 ac_file_inputs=
24055 for ac_f
24057 case $ac_f in
24058 -) ac_f="$ac_tmp/stdin";;
24059 *) # Look for the file first in the build tree, then in the source tree
24060 # (if the path is not absolute). The absolute path cannot be DOS-style,
24061 # because $ac_f cannot contain `:'.
24062 test -f "$ac_f" ||
24063 case $ac_f in
24064 [\\/$]*) false;;
24065 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
24066 esac ||
24067 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
24068 esac
24069 case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
24070 as_fn_append ac_file_inputs " '$ac_f'"
24071 done
24073 # Let's still pretend it is `configure' which instantiates (i.e., don't
24074 # use $as_me), people would be surprised to read:
24075 # /* config.h. Generated by config.status. */
24076 configure_input='Generated from '`
24077 printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
24078 `' by configure.'
24079 if test x"$ac_file" != x-; then
24080 configure_input="$ac_file. $configure_input"
24081 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
24082 printf "%s\n" "$as_me: creating $ac_file" >&6;}
24084 # Neutralize special characters interpreted by sed in replacement strings.
24085 case $configure_input in #(
24086 *\&* | *\|* | *\\* )
24087 ac_sed_conf_input=`printf "%s\n" "$configure_input" |
24088 sed 's/[\\\\&|]/\\\\&/g'`;; #(
24089 *) ac_sed_conf_input=$configure_input;;
24090 esac
24092 case $ac_tag in
24093 *:-:* | *:-) cat >"$ac_tmp/stdin" \
24094 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
24095 esac
24097 esac
24099 ac_dir=`$as_dirname -- "$ac_file" ||
24100 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24101 X"$ac_file" : 'X\(//\)[^/]' \| \
24102 X"$ac_file" : 'X\(//\)$' \| \
24103 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
24104 printf "%s\n" X"$ac_file" |
24105 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
24106 s//\1/
24109 /^X\(\/\/\)[^/].*/{
24110 s//\1/
24113 /^X\(\/\/\)$/{
24114 s//\1/
24117 /^X\(\/\).*/{
24118 s//\1/
24121 s/.*/./; q'`
24122 as_dir="$ac_dir"; as_fn_mkdir_p
24123 ac_builddir=.
24125 case "$ac_dir" in
24126 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
24128 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
24129 # A ".." for each directory in $ac_dir_suffix.
24130 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
24131 case $ac_top_builddir_sub in
24132 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
24133 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
24134 esac ;;
24135 esac
24136 ac_abs_top_builddir=$ac_pwd
24137 ac_abs_builddir=$ac_pwd$ac_dir_suffix
24138 # for backward compatibility:
24139 ac_top_builddir=$ac_top_build_prefix
24141 case $srcdir in
24142 .) # We are building in place.
24143 ac_srcdir=.
24144 ac_top_srcdir=$ac_top_builddir_sub
24145 ac_abs_top_srcdir=$ac_pwd ;;
24146 [\\/]* | ?:[\\/]* ) # Absolute name.
24147 ac_srcdir=$srcdir$ac_dir_suffix;
24148 ac_top_srcdir=$srcdir
24149 ac_abs_top_srcdir=$srcdir ;;
24150 *) # Relative name.
24151 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
24152 ac_top_srcdir=$ac_top_build_prefix$srcdir
24153 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
24154 esac
24155 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
24158 case $ac_mode in
24162 # CONFIG_HEADER
24164 if test x"$ac_file" != x-; then
24166 printf "%s\n" "/* $configure_input */" >&1 \
24167 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
24168 } >"$ac_tmp/config.h" \
24169 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
24170 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
24171 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
24172 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
24173 else
24174 rm -f "$ac_file"
24175 mv "$ac_tmp/config.h" "$ac_file" \
24176 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
24178 else
24179 printf "%s\n" "/* $configure_input */" >&1 \
24180 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
24181 || as_fn_error $? "could not create -" "$LINENO" 5
24186 # CONFIG_LINK
24189 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
24191 else
24192 # Prefer the file from the source tree if names are identical.
24193 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
24194 ac_source=$srcdir/$ac_source
24197 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
24198 printf "%s\n" "$as_me: linking $ac_source to $ac_file" >&6;}
24200 if test ! -r "$ac_source"; then
24201 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
24203 rm -f "$ac_file"
24205 # Try a relative symlink, then a hard link, then a copy.
24206 case $ac_source in
24207 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
24208 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
24209 esac
24210 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
24211 ln "$ac_source" "$ac_file" 2>/dev/null ||
24212 cp -p "$ac_source" "$ac_file" ||
24213 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
24216 :C) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
24217 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
24219 esac
24222 case $ac_file$ac_mode in
24223 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
24224 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
24225 "Makefile":C) wine_fn_output_makefile Makefile ;;
24227 esac
24228 done # for ac_tag
24231 as_fn_exit 0
24232 _ACEOF
24233 ac_clean_files=$ac_clean_files_save
24235 test $ac_write_fail = 0 ||
24236 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
24239 # configure is writing to config.log, and then calls config.status.
24240 # config.status does its own redirection, appending to config.log.
24241 # Unfortunately, on DOS this fails, as config.log is still kept open
24242 # by configure, so config.status won't be able to write to it; its
24243 # output is simply discarded. So we exec the FD to /dev/null,
24244 # effectively closing config.log, so it can be properly (re)opened and
24245 # appended to by config.status. When coming back to configure, we
24246 # need to make the FD available again.
24247 if test "$no_create" != yes; then
24248 ac_cs_success=:
24249 ac_config_status_args=
24250 test "$silent" = yes &&
24251 ac_config_status_args="$ac_config_status_args --quiet"
24252 exec 5>/dev/null
24253 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
24254 exec 5>>config.log
24255 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
24256 # would make configure fail if this is the last instruction.
24257 $ac_cs_success || as_fn_exit 1
24259 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
24260 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
24261 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
24265 if test "$no_create" = "yes"
24266 then
24267 exit 0
24270 ac_save_IFS="$IFS"
24271 if test "x$wine_notices" != x; then
24272 echo >&6
24273 IFS="|"
24274 for msg in $wine_notices; do
24275 IFS="$ac_save_IFS"
24276 if ${msg:+false} :
24277 then :
24279 else $as_nop
24280 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $msg" >&5
24281 printf "%s\n" "$as_me: $msg" >&6;}
24283 done
24285 IFS="|"
24286 for msg in $wine_warnings; do
24287 IFS="$ac_save_IFS"
24288 if ${msg:+false} :
24289 then :
24291 else $as_nop
24292 echo >&2
24293 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
24294 printf "%s\n" "$as_me: WARNING: $msg" >&2;}
24296 done
24297 IFS="$ac_save_IFS"
24299 printf "%s\n" "
24300 $as_me: Finished. Do '${ac_make}' to compile Wine.
24301 " >&6