gdiplus: Implement font linking for gdiplus.
[wine.git] / configure
blob72d1271632b0063d7ecb21ad3605c9901261b1ed
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.71 for Wine 9.2.
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.2'
615 PACKAGE_STRING='Wine 9.2'
616 PACKAGE_BUGREPORT='wine-devel@winehq.org'
617 PACKAGE_URL='https://www.winehq.org'
619 ac_unique_file="server/atom.c"
620 # Factoring default headers for most tests.
621 ac_includes_default="\
622 #include <stddef.h>
623 #ifdef HAVE_STDIO_H
624 # include <stdio.h>
625 #endif
626 #ifdef HAVE_STDLIB_H
627 # include <stdlib.h>
628 #endif
629 #ifdef HAVE_STRING_H
630 # include <string.h>
631 #endif
632 #ifdef HAVE_INTTYPES_H
633 # include <inttypes.h>
634 #endif
635 #ifdef HAVE_STDINT_H
636 # include <stdint.h>
637 #endif
638 #ifdef HAVE_STRINGS_H
639 # include <strings.h>
640 #endif
641 #ifdef HAVE_SYS_TYPES_H
642 # include <sys/types.h>
643 #endif
644 #ifdef HAVE_SYS_STAT_H
645 # include <sys/stat.h>
646 #endif
647 #ifdef HAVE_UNISTD_H
648 # include <unistd.h>
649 #endif"
651 ac_header_c_list=
652 ac_subst_vars='LTLIBOBJS
653 LIBOBJS
654 TAGSFLAGS
655 RT_LIBS
656 WINELOADER_PROGRAMS
657 DELAYLOADFLAG
658 MSVCRTFLAGS
659 NETAPI_LIBS
660 NETAPI_CFLAGS
661 PROCSTAT_LIBS
662 GSSAPI_LIBS
663 GSSAPI_CFLAGS
664 KRB5_LIBS
665 KRB5_CFLAGS
666 FONTCONFIG_LIBS
667 FONTCONFIG_CFLAGS
668 CUPS_LIBS
669 CUPS_CFLAGS
670 CAPI20_LIBS
671 CAPI20_CFLAGS
672 SDL2_LIBS
673 SDL2_CFLAGS
674 UNWIND_LIBS
675 UNWIND_CFLAGS
676 UDEV_LIBS
677 UDEV_CFLAGS
678 OSS4_LIBS
679 OSS4_CFLAGS
680 ALSA_LIBS
681 GSTREAMER_LIBS
682 GSTREAMER_CFLAGS
683 PULSE_LIBS
684 PULSE_CFLAGS
685 GETTEXTPO_LIBS
686 FREETYPE_LIBS
687 FREETYPE_CFLAGS
688 RESOLV_LIBS
689 GPHOTO2_PORT_LIBS
690 GPHOTO2_PORT_CFLAGS
691 GPHOTO2_LIBS
692 GPHOTO2_CFLAGS
693 USB_LIBS
694 USB_CFLAGS
695 SANE_LIBS
696 SANE_CFLAGS
697 GNUTLS_LIBS
698 GNUTLS_CFLAGS
699 DBUS_LIBS
700 DBUS_CFLAGS
701 INOTIFY_LIBS
702 INOTIFY_CFLAGS
703 PCSCLITE_LIBS
704 PCAP_LIBS
705 XKBREGISTRY_LIBS
706 XKBREGISTRY_CFLAGS
707 XKBCOMMON_LIBS
708 XKBCOMMON_CFLAGS
709 WAYLAND_SCANNER
710 WAYLAND_CLIENT_LIBS
711 WAYLAND_CLIENT_CFLAGS
712 X_EXTRA_LIBS
713 X_LIBS
714 X_PRE_LIBS
715 X_CFLAGS
717 XMKMF
718 PTHREAD_LIBS
719 ZYDIS_PE_LIBS
720 ZYDIS_PE_CFLAGS
721 ZLIB_PE_LIBS
722 ZLIB_PE_CFLAGS
723 XSLT_PE_LIBS
724 XSLT_PE_CFLAGS
725 XML2_PE_LIBS
726 XML2_PE_CFLAGS
727 VKD3D_PE_LIBS
728 VKD3D_PE_CFLAGS
729 TIFF_PE_LIBS
730 TIFF_PE_CFLAGS
731 PNG_PE_LIBS
732 PNG_PE_CFLAGS
733 MUSL_PE_LIBS
734 MUSL_PE_CFLAGS
735 MPG123_PE_LIBS
736 MPG123_PE_CFLAGS
737 LDAP_PE_LIBS
738 LDAP_PE_CFLAGS
739 LCMS2_PE_LIBS
740 LCMS2_PE_CFLAGS
741 JXR_PE_LIBS
742 JXR_PE_CFLAGS
743 JPEG_PE_LIBS
744 JPEG_PE_CFLAGS
745 GSM_PE_LIBS
746 GSM_PE_CFLAGS
747 FLUIDSYNTH_PE_LIBS
748 FLUIDSYNTH_PE_CFLAGS
749 FAUDIO_PE_LIBS
750 FAUDIO_PE_CFLAGS
751 MINGW_PKG_CONFIG
752 PE_ARCHS
753 WINELOADER_DEPENDS
754 ac_ct_OBJC
755 OBJCFLAGS
756 OBJC
757 OPENCL_LIBS
758 COREAUDIO_LIBS
759 SYSTEMCONFIGURATION_LIBS
760 SECURITY_LIBS
761 APPKIT_LIBS
762 CORESERVICES_LIBS
763 APPLICATIONSERVICES_LIBS
764 METAL_LIBS
765 IOKIT_LIBS
766 DISKARBITRATION_LIBS
767 COREFOUNDATION_LIBS
768 CARBON_LIBS
769 CONFIGURE_TARGETS
770 DISABLED_SUBDIRS
771 SUBDIRS
772 READELF
773 OTOOL
775 DLLEXT
776 WINEPRELOADER_LDFLAGS
777 WINELOADER_LDFLAGS
778 TOP_INSTALL_DEV
779 TOP_INSTALL_LIB
780 UNIXLDFLAGS
781 UNIXDLLFLAGS
782 EXTRACFLAGS
783 LDEXECFLAGS
784 LDDLLFLAGS
785 DLLFLAGS
786 OPENGL_LIBS
787 I386_LIBS
788 ICOTOOL
789 CONVERT
790 RSVG
791 FONTFORGE
792 PKG_CONFIG
793 MSGFMT
794 LDCONFIG
795 EGREP
796 GREP
797 LN_S
798 RANLIB
799 STRIP
800 ac_ct_AR
802 BISON
803 FLEX
804 SED_CMD
805 RUNTESTFLAGS
806 MAKEDEP
807 toolsdir
808 x86_64_DISABLED_SUBDIRS
809 x86_64_DELAYLOADFLAG
810 x86_64_TARGET
811 x86_64_DEBUG
812 x86_64_LDFLAGS
813 x86_64_EXTRACFLAGS
814 x86_64_CFLAGS
815 x86_64_CC
816 i386_DISABLED_SUBDIRS
817 i386_DELAYLOADFLAG
818 i386_TARGET
819 i386_DEBUG
820 i386_LDFLAGS
821 i386_EXTRACFLAGS
822 i386_CFLAGS
823 i386_CC
824 arm64ec_DISABLED_SUBDIRS
825 arm64ec_DELAYLOADFLAG
826 arm64ec_TARGET
827 arm64ec_DEBUG
828 arm64ec_LDFLAGS
829 arm64ec_EXTRACFLAGS
830 arm64ec_CFLAGS
831 arm64ec_CC
832 arm_DISABLED_SUBDIRS
833 arm_DELAYLOADFLAG
834 arm_TARGET
835 arm_DEBUG
836 arm_LDFLAGS
837 arm_EXTRACFLAGS
838 arm_CFLAGS
839 arm_CC
840 aarch64_DISABLED_SUBDIRS
841 aarch64_DELAYLOADFLAG
842 aarch64_TARGET
843 aarch64_DEBUG
844 aarch64_LDFLAGS
845 aarch64_EXTRACFLAGS
846 aarch64_CFLAGS
847 aarch64_CC
848 HOST_ARCH
849 toolsext
850 TARGETFLAGS
852 CPPBIN
853 ac_ct_CXX
854 CXXFLAGS
856 OBJEXT
857 EXEEXT
858 ac_ct_CC
859 CPPFLAGS
860 LDFLAGS
861 CFLAGS
863 SET_MAKE
864 srcdir
865 nlsdir
866 fontdir
867 dlldir
868 host_os
869 host_vendor
870 host_cpu
871 host
872 build_os
873 build_vendor
874 build_cpu
875 build
876 system_dllpath
877 target_alias
878 host_alias
879 build_alias
880 LIBS
881 ECHO_T
882 ECHO_N
883 ECHO_C
884 DEFS
885 mandir
886 localedir
887 libdir
888 psdir
889 pdfdir
890 dvidir
891 htmldir
892 infodir
893 docdir
894 oldincludedir
895 includedir
896 runstatedir
897 localstatedir
898 sharedstatedir
899 sysconfdir
900 datadir
901 datarootdir
902 libexecdir
903 sbindir
904 bindir
905 program_transform_name
906 prefix
907 exec_prefix
908 PACKAGE_URL
909 PACKAGE_BUGREPORT
910 PACKAGE_STRING
911 PACKAGE_VERSION
912 PACKAGE_TARNAME
913 PACKAGE_NAME
914 PATH_SEPARATOR
915 SHELL'
916 ac_subst_files=''
917 ac_user_opts='
918 enable_option_checking
919 enable_archs
920 enable_win16
921 enable_win64
922 enable_tests
923 enable_build_id
924 enable_maintainer_mode
925 enable_silent_rules
926 enable_werror
927 with_alsa
928 with_capi
929 with_coreaudio
930 with_cups
931 with_dbus
932 with_float_abi
933 with_fontconfig
934 with_freetype
935 with_gettext
936 with_gettextpo
937 with_gphoto
938 with_gnutls
939 with_gssapi
940 with_gstreamer
941 with_inotify
942 with_krb5
943 with_mingw
944 with_netapi
945 with_opencl
946 with_opengl
947 with_osmesa
948 with_oss
949 with_pcap
950 with_pcsclite
951 with_pthread
952 with_pulse
953 with_sane
954 with_sdl
955 with_udev
956 with_unwind
957 with_usb
958 with_v4l2
959 with_vulkan
960 with_wayland
961 with_xcomposite
962 with_xcursor
963 with_xfixes
964 with_xinerama
965 with_xinput
966 with_xinput2
967 with_xrandr
968 with_xrender
969 with_xshape
970 with_xshm
971 with_xxf86vm
972 with_system_dllpath
973 with_wine_tools
974 with_wine64
975 enable_largefile
976 with_x
977 enable_acledit
978 enable_aclui
979 enable_activeds_tlb
980 enable_activeds
981 enable_actxprxy
982 enable_adsldp
983 enable_adsldpc
984 enable_advapi32
985 enable_advpack
986 enable_amsi
987 enable_amstream
988 enable_apisetschema
989 enable_apphelp
990 enable_appwiz_cpl
991 enable_appxdeploymentclient
992 enable_atl
993 enable_atl100
994 enable_atl110
995 enable_atl80
996 enable_atl90
997 enable_atlthunk
998 enable_atmlib
999 enable_authz
1000 enable_avicap32
1001 enable_avifil32
1002 enable_avrt
1003 enable_bcrypt
1004 enable_bcryptprimitives
1005 enable_bluetoothapis
1006 enable_browseui
1007 enable_bthprops_cpl
1008 enable_cabinet
1009 enable_capi2032
1010 enable_cards
1011 enable_cdosys
1012 enable_cfgmgr32
1013 enable_clusapi
1014 enable_cng_sys
1015 enable_combase
1016 enable_comcat
1017 enable_comctl32
1018 enable_comdlg32
1019 enable_coml2
1020 enable_compstui
1021 enable_comsvcs
1022 enable_concrt140
1023 enable_connect
1024 enable_credui
1025 enable_crtdll
1026 enable_crypt32
1027 enable_cryptdlg
1028 enable_cryptdll
1029 enable_cryptext
1030 enable_cryptnet
1031 enable_cryptowinrt
1032 enable_cryptsp
1033 enable_cryptui
1034 enable_ctapi32
1035 enable_ctl3d32
1036 enable_d2d1
1037 enable_d3d10
1038 enable_d3d10_1
1039 enable_d3d10core
1040 enable_d3d11
1041 enable_d3d12
1042 enable_d3d12core
1043 enable_d3d8
1044 enable_d3d8thk
1045 enable_d3d9
1046 enable_d3dcompiler_33
1047 enable_d3dcompiler_34
1048 enable_d3dcompiler_35
1049 enable_d3dcompiler_36
1050 enable_d3dcompiler_37
1051 enable_d3dcompiler_38
1052 enable_d3dcompiler_39
1053 enable_d3dcompiler_40
1054 enable_d3dcompiler_41
1055 enable_d3dcompiler_42
1056 enable_d3dcompiler_43
1057 enable_d3dcompiler_46
1058 enable_d3dcompiler_47
1059 enable_d3dim
1060 enable_d3dim700
1061 enable_d3drm
1062 enable_d3dx10_33
1063 enable_d3dx10_34
1064 enable_d3dx10_35
1065 enable_d3dx10_36
1066 enable_d3dx10_37
1067 enable_d3dx10_38
1068 enable_d3dx10_39
1069 enable_d3dx10_40
1070 enable_d3dx10_41
1071 enable_d3dx10_42
1072 enable_d3dx10_43
1073 enable_d3dx11_42
1074 enable_d3dx11_43
1075 enable_d3dx9_24
1076 enable_d3dx9_25
1077 enable_d3dx9_26
1078 enable_d3dx9_27
1079 enable_d3dx9_28
1080 enable_d3dx9_29
1081 enable_d3dx9_30
1082 enable_d3dx9_31
1083 enable_d3dx9_32
1084 enable_d3dx9_33
1085 enable_d3dx9_34
1086 enable_d3dx9_35
1087 enable_d3dx9_36
1088 enable_d3dx9_37
1089 enable_d3dx9_38
1090 enable_d3dx9_39
1091 enable_d3dx9_40
1092 enable_d3dx9_41
1093 enable_d3dx9_42
1094 enable_d3dx9_43
1095 enable_d3dxof
1096 enable_davclnt
1097 enable_dbgeng
1098 enable_dbghelp
1099 enable_dciman32
1100 enable_dcomp
1101 enable_ddraw
1102 enable_ddrawex
1103 enable_devenum
1104 enable_dhcpcsvc
1105 enable_dhcpcsvc6
1106 enable_dhtmled_ocx
1107 enable_diasymreader
1108 enable_difxapi
1109 enable_dinput
1110 enable_dinput8
1111 enable_directmanipulation
1112 enable_dispex
1113 enable_dmband
1114 enable_dmcompos
1115 enable_dmime
1116 enable_dmloader
1117 enable_dmscript
1118 enable_dmstyle
1119 enable_dmsynth
1120 enable_dmusic
1121 enable_dmusic32
1122 enable_dnsapi
1123 enable_dplay
1124 enable_dplayx
1125 enable_dpnaddr
1126 enable_dpnet
1127 enable_dpnhpast
1128 enable_dpnhupnp
1129 enable_dpnlobby
1130 enable_dpvoice
1131 enable_dpwsockx
1132 enable_drmclien
1133 enable_dsdmo
1134 enable_dsound
1135 enable_dsquery
1136 enable_dssenh
1137 enable_dsuiext
1138 enable_dswave
1139 enable_dwmapi
1140 enable_dwrite
1141 enable_dx8vb
1142 enable_dxcore
1143 enable_dxdiagn
1144 enable_dxgi
1145 enable_dxtrans
1146 enable_dxva2
1147 enable_esent
1148 enable_evr
1149 enable_explorerframe
1150 enable_faultrep
1151 enable_feclient
1152 enable_fltlib
1153 enable_fltmgr_sys
1154 enable_fntcache
1155 enable_fontsub
1156 enable_fusion
1157 enable_fwpuclnt
1158 enable_gameux
1159 enable_gamingtcui
1160 enable_gdi32
1161 enable_gdiplus
1162 enable_geolocation
1163 enable_glu32
1164 enable_gphoto2_ds
1165 enable_gpkcsp
1166 enable_graphicscapture
1167 enable_hal
1168 enable_hhctrl_ocx
1169 enable_hid
1170 enable_hidclass_sys
1171 enable_hidparse_sys
1172 enable_hlink
1173 enable_hnetcfg
1174 enable_hrtfapo
1175 enable_http_sys
1176 enable_httpapi
1177 enable_hvsimanagementapi
1178 enable_ia2comproxy
1179 enable_iccvid
1180 enable_icmp
1181 enable_ieframe
1182 enable_ieproxy
1183 enable_imaadp32_acm
1184 enable_imagehlp
1185 enable_imm32
1186 enable_inetcomm
1187 enable_inetcpl_cpl
1188 enable_inetmib1
1189 enable_infosoft
1190 enable_initpki
1191 enable_inkobj
1192 enable_inseng
1193 enable_iphlpapi
1194 enable_iprop
1195 enable_ir50_32
1196 enable_irprops_cpl
1197 enable_itircl
1198 enable_itss
1199 enable_joy_cpl
1200 enable_jscript
1201 enable_jsproxy
1202 enable_kerberos
1203 enable_kernel32
1204 enable_kernelbase
1205 enable_ksecdd_sys
1206 enable_ksproxy_ax
1207 enable_ksuser
1208 enable_ktmw32
1209 enable_l3codeca_acm
1210 enable_light_msstyles
1211 enable_loadperf
1212 enable_localspl
1213 enable_localui
1214 enable_lz32
1215 enable_magnification
1216 enable_mapi32
1217 enable_mapistub
1218 enable_mciavi32
1219 enable_mcicda
1220 enable_mciqtz32
1221 enable_mciseq
1222 enable_mciwave
1223 enable_mf
1224 enable_mf3216
1225 enable_mferror
1226 enable_mfmediaengine
1227 enable_mfplat
1228 enable_mfplay
1229 enable_mfreadwrite
1230 enable_mfsrcsnk
1231 enable_mgmtapi
1232 enable_midimap
1233 enable_mlang
1234 enable_mmcndmgr
1235 enable_mmdevapi
1236 enable_mountmgr_sys
1237 enable_mp3dmod
1238 enable_mpr
1239 enable_mprapi
1240 enable_msacm32_drv
1241 enable_msacm32
1242 enable_msado15
1243 enable_msadp32_acm
1244 enable_msasn1
1245 enable_msauddecmft
1246 enable_mscat32
1247 enable_mscms
1248 enable_mscoree
1249 enable_mscorwks
1250 enable_msctf
1251 enable_msctfmonitor
1252 enable_msctfp
1253 enable_msdaps
1254 enable_msdasql
1255 enable_msdelta
1256 enable_msdmo
1257 enable_msdrm
1258 enable_msftedit
1259 enable_msg711_acm
1260 enable_msgsm32_acm
1261 enable_mshtml_tlb
1262 enable_mshtml
1263 enable_msi
1264 enable_msident
1265 enable_msimg32
1266 enable_msimsg
1267 enable_msimtf
1268 enable_msisip
1269 enable_msisys_ocx
1270 enable_msls31
1271 enable_msmpeg2vdec
1272 enable_msnet32
1273 enable_mspatcha
1274 enable_msports
1275 enable_msrle32
1276 enable_msscript_ocx
1277 enable_mssign32
1278 enable_mssip32
1279 enable_mstask
1280 enable_msttsengine
1281 enable_msv1_0
1282 enable_msvcirt
1283 enable_msvcm80
1284 enable_msvcm90
1285 enable_msvcp100
1286 enable_msvcp110
1287 enable_msvcp120
1288 enable_msvcp120_app
1289 enable_msvcp140
1290 enable_msvcp140_1
1291 enable_msvcp140_2
1292 enable_msvcp140_atomic_wait
1293 enable_msvcp140_codecvt_ids
1294 enable_msvcp60
1295 enable_msvcp70
1296 enable_msvcp71
1297 enable_msvcp80
1298 enable_msvcp90
1299 enable_msvcp_win
1300 enable_msvcr100
1301 enable_msvcr110
1302 enable_msvcr120
1303 enable_msvcr120_app
1304 enable_msvcr70
1305 enable_msvcr71
1306 enable_msvcr80
1307 enable_msvcr90
1308 enable_msvcrt
1309 enable_msvcrt20
1310 enable_msvcrt40
1311 enable_msvcrtd
1312 enable_msvfw32
1313 enable_msvidc32
1314 enable_mswsock
1315 enable_msxml
1316 enable_msxml2
1317 enable_msxml3
1318 enable_msxml4
1319 enable_msxml6
1320 enable_mtxdm
1321 enable_ncrypt
1322 enable_nddeapi
1323 enable_ndis_sys
1324 enable_netapi32
1325 enable_netcfgx
1326 enable_netio_sys
1327 enable_netprofm
1328 enable_netutils
1329 enable_newdev
1330 enable_ninput
1331 enable_normaliz
1332 enable_npmshtml
1333 enable_npptools
1334 enable_nsi
1335 enable_nsiproxy_sys
1336 enable_ntdll
1337 enable_ntdsapi
1338 enable_ntoskrnl_exe
1339 enable_ntprint
1340 enable_objsel
1341 enable_odbc32
1342 enable_odbcbcp
1343 enable_odbccp32
1344 enable_odbccu32
1345 enable_ole32
1346 enable_oleacc
1347 enable_oleaut32
1348 enable_olecli32
1349 enable_oledb32
1350 enable_oledlg
1351 enable_olepro32
1352 enable_olesvr32
1353 enable_olethk32
1354 enable_opcservices
1355 enable_opencl
1356 enable_opengl32
1357 enable_packager
1358 enable_pdh
1359 enable_photometadatahandler
1360 enable_pidgen
1361 enable_powrprof
1362 enable_printui
1363 enable_prntvpt
1364 enable_propsys
1365 enable_psapi
1366 enable_pstorec
1367 enable_pwrshplugin
1368 enable_qasf
1369 enable_qcap
1370 enable_qdvd
1371 enable_qedit
1372 enable_qmgr
1373 enable_qmgrprxy
1374 enable_quartz
1375 enable_query
1376 enable_qwave
1377 enable_rasapi32
1378 enable_rasdlg
1379 enable_regapi
1380 enable_resutils
1381 enable_riched20
1382 enable_riched32
1383 enable_rpcrt4
1384 enable_rsabase
1385 enable_rsaenh
1386 enable_rstrtmgr
1387 enable_rtutils
1388 enable_rtworkq
1389 enable_samlib
1390 enable_sane_ds
1391 enable_sapi
1392 enable_sas
1393 enable_scarddlg
1394 enable_scardsvr
1395 enable_sccbase
1396 enable_schannel
1397 enable_schedsvc
1398 enable_scrobj
1399 enable_scrrun
1400 enable_scsiport_sys
1401 enable_sechost
1402 enable_secur32
1403 enable_security
1404 enable_sensapi
1405 enable_serialui
1406 enable_setupapi
1407 enable_sfc
1408 enable_sfc_os
1409 enable_shcore
1410 enable_shdoclc
1411 enable_shdocvw
1412 enable_shell32
1413 enable_shfolder
1414 enable_shlwapi
1415 enable_slbcsp
1416 enable_slc
1417 enable_snmpapi
1418 enable_softpub
1419 enable_spoolss
1420 enable_sppc
1421 enable_srclient
1422 enable_srvcli
1423 enable_srvsvc
1424 enable_sspicli
1425 enable_stdole2_tlb
1426 enable_stdole32_tlb
1427 enable_sti
1428 enable_strmdll
1429 enable_svrapi
1430 enable_sxs
1431 enable_t2embed
1432 enable_tapi32
1433 enable_taskschd
1434 enable_tbs
1435 enable_tdh
1436 enable_tdi_sys
1437 enable_threadpoolwinrt
1438 enable_traffic
1439 enable_twain_32
1440 enable_twinapi_appcore
1441 enable_tzres
1442 enable_ucrtbase
1443 enable_uianimation
1444 enable_uiautomationcore
1445 enable_uiribbon
1446 enable_unicows
1447 enable_updspapi
1448 enable_url
1449 enable_urlmon
1450 enable_usbd_sys
1451 enable_user32
1452 enable_userenv
1453 enable_usp10
1454 enable_utildll
1455 enable_uxtheme
1456 enable_vbscript
1457 enable_vcomp
1458 enable_vcomp100
1459 enable_vcomp110
1460 enable_vcomp120
1461 enable_vcomp140
1462 enable_vcomp90
1463 enable_vcruntime140
1464 enable_vcruntime140_1
1465 enable_vdmdbg
1466 enable_version
1467 enable_vga
1468 enable_virtdisk
1469 enable_vssapi
1470 enable_vulkan_1
1471 enable_wbemdisp
1472 enable_wbemprox
1473 enable_wdscore
1474 enable_webservices
1475 enable_websocket
1476 enable_wer
1477 enable_wevtapi
1478 enable_wevtsvc
1479 enable_wiaservc
1480 enable_wimgapi
1481 enable_win32u
1482 enable_windows_applicationmodel
1483 enable_windows_devices_bluetooth
1484 enable_windows_devices_enumeration
1485 enable_windows_devices_usb
1486 enable_windows_gaming_input
1487 enable_windows_gaming_ui_gamebar
1488 enable_windows_globalization
1489 enable_windows_media_devices
1490 enable_windows_media_mediacontrol
1491 enable_windows_media_speech
1492 enable_windows_media
1493 enable_windows_networking_hostname
1494 enable_windows_networking
1495 enable_windows_perception_stub
1496 enable_windows_security_credentials_ui_userconsentverifier
1497 enable_windows_storage_applicationdata
1498 enable_windows_system_profile_systemmanufacturers
1499 enable_windows_ui
1500 enable_windowscodecs
1501 enable_windowscodecsext
1502 enable_winealsa_drv
1503 enable_wineandroid_drv
1504 enable_winebus_sys
1505 enable_winecoreaudio_drv
1506 enable_winecrt0
1507 enable_wined3d
1508 enable_winegstreamer
1509 enable_winehid_sys
1510 enable_winemac_drv
1511 enable_winemapi
1512 enable_wineoss_drv
1513 enable_wineps_drv
1514 enable_winepulse_drv
1515 enable_wineusb_sys
1516 enable_winevulkan
1517 enable_winewayland_drv
1518 enable_winex11_drv
1519 enable_winexinput_sys
1520 enable_wing32
1521 enable_winhttp
1522 enable_wininet
1523 enable_winmm
1524 enable_winnls32
1525 enable_winprint
1526 enable_winscard
1527 enable_winspool_drv
1528 enable_winsta
1529 enable_wintab32
1530 enable_wintrust
1531 enable_wintypes
1532 enable_winusb
1533 enable_wlanapi
1534 enable_wlanui
1535 enable_wldap32
1536 enable_wldp
1537 enable_wmasf
1538 enable_wmi
1539 enable_wmiutils
1540 enable_wmp
1541 enable_wmphoto
1542 enable_wmvcore
1543 enable_wnaspi32
1544 enable_wofutil
1545 enable_wow64
1546 enable_wow64cpu
1547 enable_wow64win
1548 enable_wpc
1549 enable_wpcap
1550 enable_ws2_32
1551 enable_wsdapi
1552 enable_wshom_ocx
1553 enable_wsnmp32
1554 enable_wsock32
1555 enable_wtsapi32
1556 enable_wuapi
1557 enable_wuaueng
1558 enable_x3daudio1_0
1559 enable_x3daudio1_1
1560 enable_x3daudio1_2
1561 enable_x3daudio1_3
1562 enable_x3daudio1_4
1563 enable_x3daudio1_5
1564 enable_x3daudio1_6
1565 enable_x3daudio1_7
1566 enable_xactengine2_0
1567 enable_xactengine2_4
1568 enable_xactengine2_7
1569 enable_xactengine2_9
1570 enable_xactengine3_0
1571 enable_xactengine3_1
1572 enable_xactengine3_2
1573 enable_xactengine3_3
1574 enable_xactengine3_4
1575 enable_xactengine3_5
1576 enable_xactengine3_6
1577 enable_xactengine3_7
1578 enable_xapofx1_1
1579 enable_xapofx1_2
1580 enable_xapofx1_3
1581 enable_xapofx1_4
1582 enable_xapofx1_5
1583 enable_xaudio2_0
1584 enable_xaudio2_1
1585 enable_xaudio2_2
1586 enable_xaudio2_3
1587 enable_xaudio2_4
1588 enable_xaudio2_5
1589 enable_xaudio2_6
1590 enable_xaudio2_7
1591 enable_xaudio2_8
1592 enable_xaudio2_9
1593 enable_xinput1_1
1594 enable_xinput1_2
1595 enable_xinput1_3
1596 enable_xinput1_4
1597 enable_xinput9_1_0
1598 enable_xinputuap
1599 enable_xmllite
1600 enable_xolehlp
1601 enable_xpsprint
1602 enable_xpssvcs
1603 enable_fonts
1604 enable_include
1605 enable_adsiid
1606 enable_dmoguids
1607 enable_dxerr8
1608 enable_dxerr9
1609 enable_dxguid
1610 enable_faudio
1611 enable_fluidsynth
1612 enable_gsm
1613 enable_jpeg
1614 enable_jxr
1615 enable_lcms2
1616 enable_ldap
1617 enable_mfuuid
1618 enable_mpg123
1619 enable_musl
1620 enable_png
1621 enable_strmbase
1622 enable_strmiids
1623 enable_tiff
1624 enable_uuid
1625 enable_vkd3d
1626 enable_wbemuuid
1627 enable_wmcodecdspuuid
1628 enable_xml2
1629 enable_xslt
1630 enable_zlib
1631 enable_zydis
1632 enable_loader
1633 enable_nls
1634 enable_po
1635 enable_arp
1636 enable_aspnet_regiis
1637 enable_attrib
1638 enable_cabarc
1639 enable_cacls
1640 enable_certutil
1641 enable_chcp_com
1642 enable_clock
1643 enable_cmd
1644 enable_conhost
1645 enable_control
1646 enable_cscript
1647 enable_dism
1648 enable_dllhost
1649 enable_dplaysvr
1650 enable_dpnsvr
1651 enable_dpvsetup
1652 enable_dxdiag
1653 enable_eject
1654 enable_expand
1655 enable_explorer
1656 enable_extrac32
1657 enable_fc
1658 enable_find
1659 enable_findstr
1660 enable_fsutil
1661 enable_hh
1662 enable_hostname
1663 enable_icacls
1664 enable_icinfo
1665 enable_iexplore
1666 enable_ipconfig
1667 enable_klist
1668 enable_lodctr
1669 enable_mofcomp
1670 enable_mshta
1671 enable_msidb
1672 enable_msiexec
1673 enable_msinfo32
1674 enable_net
1675 enable_netsh
1676 enable_netstat
1677 enable_ngen
1678 enable_notepad
1679 enable_oleview
1680 enable_ping
1681 enable_plugplay
1682 enable_pnputil
1683 enable_powershell
1684 enable_presentationfontcache
1685 enable_progman
1686 enable_reg
1687 enable_regasm
1688 enable_regedit
1689 enable_regini
1690 enable_regsvcs
1691 enable_regsvr32
1692 enable_robocopy
1693 enable_rpcss
1694 enable_rundll32
1695 enable_sc
1696 enable_schtasks
1697 enable_sdbinst
1698 enable_secedit
1699 enable_servicemodelreg
1700 enable_services
1701 enable_setx
1702 enable_shutdown
1703 enable_spoolsv
1704 enable_start
1705 enable_subst
1706 enable_svchost
1707 enable_systeminfo
1708 enable_taskkill
1709 enable_tasklist
1710 enable_taskmgr
1711 enable_termsv
1712 enable_uninstaller
1713 enable_unlodctr
1714 enable_view
1715 enable_wevtutil
1716 enable_where
1717 enable_whoami
1718 enable_wineboot
1719 enable_winebrowser
1720 enable_winecfg
1721 enable_wineconsole
1722 enable_winedbg
1723 enable_winedevice
1724 enable_winefile
1725 enable_winemenubuilder
1726 enable_winemine
1727 enable_winemsibuilder
1728 enable_winepath
1729 enable_winetest
1730 enable_winhlp32
1731 enable_winmgmt
1732 enable_winver
1733 enable_wmic
1734 enable_wmplayer
1735 enable_wordpad
1736 enable_write
1737 enable_wscript
1738 enable_wuauserv
1739 enable_wusa
1740 enable_xcopy
1741 enable_server
1742 enable_tools
1743 enable_sfnt2fon
1744 enable_widl
1745 enable_winebuild
1746 enable_winedump
1747 enable_winegcc
1748 enable_winemaker
1749 enable_wmc
1750 enable_wrc
1752 ac_precious_vars='build_alias
1753 host_alias
1754 target_alias
1756 CFLAGS
1757 LDFLAGS
1758 LIBS
1759 CPPFLAGS
1761 CXXFLAGS
1763 OBJC
1764 OBJCFLAGS
1765 FAUDIO_PE_CFLAGS
1766 FAUDIO_PE_LIBS
1767 FLUIDSYNTH_PE_CFLAGS
1768 FLUIDSYNTH_PE_LIBS
1769 GSM_PE_CFLAGS
1770 GSM_PE_LIBS
1771 JPEG_PE_CFLAGS
1772 JPEG_PE_LIBS
1773 JXR_PE_CFLAGS
1774 JXR_PE_LIBS
1775 LCMS2_PE_CFLAGS
1776 LCMS2_PE_LIBS
1777 LDAP_PE_CFLAGS
1778 LDAP_PE_LIBS
1779 MPG123_PE_CFLAGS
1780 MPG123_PE_LIBS
1781 MUSL_PE_CFLAGS
1782 MUSL_PE_LIBS
1783 PNG_PE_CFLAGS
1784 PNG_PE_LIBS
1785 TIFF_PE_CFLAGS
1786 TIFF_PE_LIBS
1787 VKD3D_PE_CFLAGS
1788 VKD3D_PE_LIBS
1789 XML2_PE_CFLAGS
1790 XML2_PE_LIBS
1791 XSLT_PE_CFLAGS
1792 XSLT_PE_LIBS
1793 ZLIB_PE_CFLAGS
1794 ZLIB_PE_LIBS
1795 ZYDIS_PE_CFLAGS
1796 ZYDIS_PE_LIBS
1797 XMKMF
1799 WAYLAND_CLIENT_CFLAGS
1800 WAYLAND_CLIENT_LIBS
1801 XKBCOMMON_CFLAGS
1802 XKBCOMMON_LIBS
1803 XKBREGISTRY_CFLAGS
1804 XKBREGISTRY_LIBS
1805 INOTIFY_CFLAGS
1806 INOTIFY_LIBS
1807 DBUS_CFLAGS
1808 DBUS_LIBS
1809 GNUTLS_CFLAGS
1810 GNUTLS_LIBS
1811 SANE_CFLAGS
1812 SANE_LIBS
1813 USB_CFLAGS
1814 USB_LIBS
1815 GPHOTO2_CFLAGS
1816 GPHOTO2_LIBS
1817 GPHOTO2_PORT_CFLAGS
1818 GPHOTO2_PORT_LIBS
1819 FREETYPE_CFLAGS
1820 FREETYPE_LIBS
1821 PULSE_CFLAGS
1822 PULSE_LIBS
1823 GSTREAMER_CFLAGS
1824 GSTREAMER_LIBS
1825 UDEV_CFLAGS
1826 UDEV_LIBS
1827 UNWIND_CFLAGS
1828 UNWIND_LIBS
1829 SDL2_CFLAGS
1830 SDL2_LIBS
1831 CAPI20_CFLAGS
1832 CAPI20_LIBS
1833 CUPS_CFLAGS
1834 CUPS_LIBS
1835 FONTCONFIG_CFLAGS
1836 FONTCONFIG_LIBS
1837 KRB5_CFLAGS
1838 KRB5_LIBS
1839 GSSAPI_CFLAGS
1840 GSSAPI_LIBS
1841 NETAPI_CFLAGS
1842 NETAPI_LIBS'
1845 # Initialize some variables set by options.
1846 ac_init_help=
1847 ac_init_version=false
1848 ac_unrecognized_opts=
1849 ac_unrecognized_sep=
1850 # The variables have the same names as the options, with
1851 # dashes changed to underlines.
1852 cache_file=/dev/null
1853 exec_prefix=NONE
1854 no_create=
1855 no_recursion=
1856 prefix=NONE
1857 program_prefix=NONE
1858 program_suffix=NONE
1859 program_transform_name=s,x,x,
1860 silent=
1861 site=
1862 srcdir=
1863 verbose=
1864 x_includes=NONE
1865 x_libraries=NONE
1867 # Installation directory options.
1868 # These are left unexpanded so users can "make install exec_prefix=/foo"
1869 # and all the variables that are supposed to be based on exec_prefix
1870 # by default will actually change.
1871 # Use braces instead of parens because sh, perl, etc. also accept them.
1872 # (The list follows the same order as the GNU Coding Standards.)
1873 bindir='${exec_prefix}/bin'
1874 sbindir='${exec_prefix}/sbin'
1875 libexecdir='${exec_prefix}/libexec'
1876 datarootdir='${prefix}/share'
1877 datadir='${datarootdir}'
1878 sysconfdir='${prefix}/etc'
1879 sharedstatedir='${prefix}/com'
1880 localstatedir='${prefix}/var'
1881 runstatedir='${localstatedir}/run'
1882 includedir='${prefix}/include'
1883 oldincludedir='/usr/include'
1884 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1885 infodir='${datarootdir}/info'
1886 htmldir='${docdir}'
1887 dvidir='${docdir}'
1888 pdfdir='${docdir}'
1889 psdir='${docdir}'
1890 libdir='${exec_prefix}/lib'
1891 localedir='${datarootdir}/locale'
1892 mandir='${datarootdir}/man'
1894 ac_prev=
1895 ac_dashdash=
1896 for ac_option
1898 # If the previous option needs an argument, assign it.
1899 if test -n "$ac_prev"; then
1900 eval $ac_prev=\$ac_option
1901 ac_prev=
1902 continue
1905 case $ac_option in
1906 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1907 *=) ac_optarg= ;;
1908 *) ac_optarg=yes ;;
1909 esac
1911 case $ac_dashdash$ac_option in
1913 ac_dashdash=yes ;;
1915 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1916 ac_prev=bindir ;;
1917 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1918 bindir=$ac_optarg ;;
1920 -build | --build | --buil | --bui | --bu)
1921 ac_prev=build_alias ;;
1922 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1923 build_alias=$ac_optarg ;;
1925 -cache-file | --cache-file | --cache-fil | --cache-fi \
1926 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1927 ac_prev=cache_file ;;
1928 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1929 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1930 cache_file=$ac_optarg ;;
1932 --config-cache | -C)
1933 cache_file=config.cache ;;
1935 -datadir | --datadir | --datadi | --datad)
1936 ac_prev=datadir ;;
1937 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1938 datadir=$ac_optarg ;;
1940 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1941 | --dataroo | --dataro | --datar)
1942 ac_prev=datarootdir ;;
1943 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1944 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1945 datarootdir=$ac_optarg ;;
1947 -disable-* | --disable-*)
1948 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1949 # Reject names that are not valid shell variable names.
1950 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1951 as_fn_error $? "invalid feature name: \`$ac_useropt'"
1952 ac_useropt_orig=$ac_useropt
1953 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1954 case $ac_user_opts in
1956 "enable_$ac_useropt"
1957 "*) ;;
1958 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1959 ac_unrecognized_sep=', ';;
1960 esac
1961 eval enable_$ac_useropt=no ;;
1963 -docdir | --docdir | --docdi | --doc | --do)
1964 ac_prev=docdir ;;
1965 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1966 docdir=$ac_optarg ;;
1968 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1969 ac_prev=dvidir ;;
1970 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1971 dvidir=$ac_optarg ;;
1973 -enable-* | --enable-*)
1974 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1975 # Reject names that are not valid shell variable names.
1976 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1977 as_fn_error $? "invalid feature name: \`$ac_useropt'"
1978 ac_useropt_orig=$ac_useropt
1979 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1980 case $ac_user_opts in
1982 "enable_$ac_useropt"
1983 "*) ;;
1984 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1985 ac_unrecognized_sep=', ';;
1986 esac
1987 eval enable_$ac_useropt=\$ac_optarg ;;
1989 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1990 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1991 | --exec | --exe | --ex)
1992 ac_prev=exec_prefix ;;
1993 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1994 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1995 | --exec=* | --exe=* | --ex=*)
1996 exec_prefix=$ac_optarg ;;
1998 -gas | --gas | --ga | --g)
1999 # Obsolete; use --with-gas.
2000 with_gas=yes ;;
2002 -help | --help | --hel | --he | -h)
2003 ac_init_help=long ;;
2004 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
2005 ac_init_help=recursive ;;
2006 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
2007 ac_init_help=short ;;
2009 -host | --host | --hos | --ho)
2010 ac_prev=host_alias ;;
2011 -host=* | --host=* | --hos=* | --ho=*)
2012 host_alias=$ac_optarg ;;
2014 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
2015 ac_prev=htmldir ;;
2016 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
2017 | --ht=*)
2018 htmldir=$ac_optarg ;;
2020 -includedir | --includedir | --includedi | --included | --include \
2021 | --includ | --inclu | --incl | --inc)
2022 ac_prev=includedir ;;
2023 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
2024 | --includ=* | --inclu=* | --incl=* | --inc=*)
2025 includedir=$ac_optarg ;;
2027 -infodir | --infodir | --infodi | --infod | --info | --inf)
2028 ac_prev=infodir ;;
2029 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
2030 infodir=$ac_optarg ;;
2032 -libdir | --libdir | --libdi | --libd)
2033 ac_prev=libdir ;;
2034 -libdir=* | --libdir=* | --libdi=* | --libd=*)
2035 libdir=$ac_optarg ;;
2037 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
2038 | --libexe | --libex | --libe)
2039 ac_prev=libexecdir ;;
2040 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
2041 | --libexe=* | --libex=* | --libe=*)
2042 libexecdir=$ac_optarg ;;
2044 -localedir | --localedir | --localedi | --localed | --locale)
2045 ac_prev=localedir ;;
2046 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
2047 localedir=$ac_optarg ;;
2049 -localstatedir | --localstatedir | --localstatedi | --localstated \
2050 | --localstate | --localstat | --localsta | --localst | --locals)
2051 ac_prev=localstatedir ;;
2052 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
2053 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
2054 localstatedir=$ac_optarg ;;
2056 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
2057 ac_prev=mandir ;;
2058 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
2059 mandir=$ac_optarg ;;
2061 -nfp | --nfp | --nf)
2062 # Obsolete; use --without-fp.
2063 with_fp=no ;;
2065 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
2066 | --no-cr | --no-c | -n)
2067 no_create=yes ;;
2069 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
2070 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
2071 no_recursion=yes ;;
2073 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
2074 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
2075 | --oldin | --oldi | --old | --ol | --o)
2076 ac_prev=oldincludedir ;;
2077 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
2078 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
2079 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
2080 oldincludedir=$ac_optarg ;;
2082 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2083 ac_prev=prefix ;;
2084 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2085 prefix=$ac_optarg ;;
2087 -program-prefix | --program-prefix | --program-prefi | --program-pref \
2088 | --program-pre | --program-pr | --program-p)
2089 ac_prev=program_prefix ;;
2090 -program-prefix=* | --program-prefix=* | --program-prefi=* \
2091 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2092 program_prefix=$ac_optarg ;;
2094 -program-suffix | --program-suffix | --program-suffi | --program-suff \
2095 | --program-suf | --program-su | --program-s)
2096 ac_prev=program_suffix ;;
2097 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2098 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2099 program_suffix=$ac_optarg ;;
2101 -program-transform-name | --program-transform-name \
2102 | --program-transform-nam | --program-transform-na \
2103 | --program-transform-n | --program-transform- \
2104 | --program-transform | --program-transfor \
2105 | --program-transfo | --program-transf \
2106 | --program-trans | --program-tran \
2107 | --progr-tra | --program-tr | --program-t)
2108 ac_prev=program_transform_name ;;
2109 -program-transform-name=* | --program-transform-name=* \
2110 | --program-transform-nam=* | --program-transform-na=* \
2111 | --program-transform-n=* | --program-transform-=* \
2112 | --program-transform=* | --program-transfor=* \
2113 | --program-transfo=* | --program-transf=* \
2114 | --program-trans=* | --program-tran=* \
2115 | --progr-tra=* | --program-tr=* | --program-t=*)
2116 program_transform_name=$ac_optarg ;;
2118 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2119 ac_prev=pdfdir ;;
2120 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2121 pdfdir=$ac_optarg ;;
2123 -psdir | --psdir | --psdi | --psd | --ps)
2124 ac_prev=psdir ;;
2125 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2126 psdir=$ac_optarg ;;
2128 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2129 | -silent | --silent | --silen | --sile | --sil)
2130 silent=yes ;;
2132 -runstatedir | --runstatedir | --runstatedi | --runstated \
2133 | --runstate | --runstat | --runsta | --runst | --runs \
2134 | --run | --ru | --r)
2135 ac_prev=runstatedir ;;
2136 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2137 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2138 | --run=* | --ru=* | --r=*)
2139 runstatedir=$ac_optarg ;;
2141 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2142 ac_prev=sbindir ;;
2143 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2144 | --sbi=* | --sb=*)
2145 sbindir=$ac_optarg ;;
2147 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2148 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2149 | --sharedst | --shareds | --shared | --share | --shar \
2150 | --sha | --sh)
2151 ac_prev=sharedstatedir ;;
2152 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2153 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2154 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2155 | --sha=* | --sh=*)
2156 sharedstatedir=$ac_optarg ;;
2158 -site | --site | --sit)
2159 ac_prev=site ;;
2160 -site=* | --site=* | --sit=*)
2161 site=$ac_optarg ;;
2163 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2164 ac_prev=srcdir ;;
2165 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2166 srcdir=$ac_optarg ;;
2168 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2169 | --syscon | --sysco | --sysc | --sys | --sy)
2170 ac_prev=sysconfdir ;;
2171 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2172 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2173 sysconfdir=$ac_optarg ;;
2175 -target | --target | --targe | --targ | --tar | --ta | --t)
2176 ac_prev=target_alias ;;
2177 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2178 target_alias=$ac_optarg ;;
2180 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2181 verbose=yes ;;
2183 -version | --version | --versio | --versi | --vers | -V)
2184 ac_init_version=: ;;
2186 -with-* | --with-*)
2187 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2188 # Reject names that are not valid shell variable names.
2189 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2190 as_fn_error $? "invalid package name: \`$ac_useropt'"
2191 ac_useropt_orig=$ac_useropt
2192 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2193 case $ac_user_opts in
2195 "with_$ac_useropt"
2196 "*) ;;
2197 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2198 ac_unrecognized_sep=', ';;
2199 esac
2200 eval with_$ac_useropt=\$ac_optarg ;;
2202 -without-* | --without-*)
2203 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2204 # Reject names that are not valid shell variable names.
2205 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2206 as_fn_error $? "invalid package name: \`$ac_useropt'"
2207 ac_useropt_orig=$ac_useropt
2208 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2209 case $ac_user_opts in
2211 "with_$ac_useropt"
2212 "*) ;;
2213 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2214 ac_unrecognized_sep=', ';;
2215 esac
2216 eval with_$ac_useropt=no ;;
2218 --x)
2219 # Obsolete; use --with-x.
2220 with_x=yes ;;
2222 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2223 | --x-incl | --x-inc | --x-in | --x-i)
2224 ac_prev=x_includes ;;
2225 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2226 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2227 x_includes=$ac_optarg ;;
2229 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2230 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2231 ac_prev=x_libraries ;;
2232 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2233 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2234 x_libraries=$ac_optarg ;;
2236 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2237 Try \`$0 --help' for more information"
2240 *=*)
2241 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2242 # Reject names that are not valid shell variable names.
2243 case $ac_envvar in #(
2244 '' | [0-9]* | *[!_$as_cr_alnum]* )
2245 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2246 esac
2247 eval $ac_envvar=\$ac_optarg
2248 export $ac_envvar ;;
2251 # FIXME: should be removed in autoconf 3.0.
2252 printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
2253 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2254 printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
2255 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2258 esac
2259 done
2261 if test -n "$ac_prev"; then
2262 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2263 as_fn_error $? "missing argument to $ac_option"
2266 if test -n "$ac_unrecognized_opts"; then
2267 case $enable_option_checking in
2268 no) ;;
2269 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2270 *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2271 esac
2274 # Check all directory arguments for consistency.
2275 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2276 datadir sysconfdir sharedstatedir localstatedir includedir \
2277 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2278 libdir localedir mandir runstatedir
2280 eval ac_val=\$$ac_var
2281 # Remove trailing slashes.
2282 case $ac_val in
2283 */ )
2284 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2285 eval $ac_var=\$ac_val;;
2286 esac
2287 # Be sure to have absolute directory names.
2288 case $ac_val in
2289 [\\/$]* | ?:[\\/]* ) continue;;
2290 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2291 esac
2292 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2293 done
2295 # There might be people who depend on the old broken behavior: `$host'
2296 # used to hold the argument of --host etc.
2297 # FIXME: To remove some day.
2298 build=$build_alias
2299 host=$host_alias
2300 target=$target_alias
2302 # FIXME: To remove some day.
2303 if test "x$host_alias" != x; then
2304 if test "x$build_alias" = x; then
2305 cross_compiling=maybe
2306 elif test "x$build_alias" != "x$host_alias"; then
2307 cross_compiling=yes
2311 ac_tool_prefix=
2312 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2314 test "$silent" = yes && exec 6>/dev/null
2317 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2318 ac_ls_di=`ls -di .` &&
2319 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2320 as_fn_error $? "working directory cannot be determined"
2321 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2322 as_fn_error $? "pwd does not report name of working directory"
2325 # Find the source files, if location was not specified.
2326 if test -z "$srcdir"; then
2327 ac_srcdir_defaulted=yes
2328 # Try the directory containing this script, then the parent directory.
2329 ac_confdir=`$as_dirname -- "$as_myself" ||
2330 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2331 X"$as_myself" : 'X\(//\)[^/]' \| \
2332 X"$as_myself" : 'X\(//\)$' \| \
2333 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2334 printf "%s\n" X"$as_myself" |
2335 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2336 s//\1/
2339 /^X\(\/\/\)[^/].*/{
2340 s//\1/
2343 /^X\(\/\/\)$/{
2344 s//\1/
2347 /^X\(\/\).*/{
2348 s//\1/
2351 s/.*/./; q'`
2352 srcdir=$ac_confdir
2353 if test ! -r "$srcdir/$ac_unique_file"; then
2354 srcdir=..
2356 else
2357 ac_srcdir_defaulted=no
2359 if test ! -r "$srcdir/$ac_unique_file"; then
2360 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2361 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2363 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2364 ac_abs_confdir=`(
2365 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2366 pwd)`
2367 # When building in place, set srcdir=.
2368 if test "$ac_abs_confdir" = "$ac_pwd"; then
2369 srcdir=.
2371 # Remove unnecessary trailing slashes from srcdir.
2372 # Double slashes in file names in object file debugging info
2373 # mess up M-x gdb in Emacs.
2374 case $srcdir in
2375 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2376 esac
2377 for ac_var in $ac_precious_vars; do
2378 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2379 eval ac_env_${ac_var}_value=\$${ac_var}
2380 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2381 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2382 done
2385 # Report the --help message.
2387 if test "$ac_init_help" = "long"; then
2388 # Omit some internal or obsolete options to make the list less imposing.
2389 # This message is too long to be a string in the A/UX 3.1 sh.
2390 cat <<_ACEOF
2391 \`configure' configures Wine 9.2 to adapt to many kinds of systems.
2393 Usage: $0 [OPTION]... [VAR=VALUE]...
2395 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2396 VAR=VALUE. See below for descriptions of some of the useful variables.
2398 Defaults for the options are specified in brackets.
2400 Configuration:
2401 -h, --help display this help and exit
2402 --help=short display options specific to this package
2403 --help=recursive display the short help of all the included packages
2404 -V, --version display version information and exit
2405 -q, --quiet, --silent do not print \`checking ...' messages
2406 --cache-file=FILE cache test results in FILE [disabled]
2407 -C, --config-cache alias for \`--cache-file=config.cache'
2408 -n, --no-create do not create output files
2409 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2411 Installation directories:
2412 --prefix=PREFIX install architecture-independent files in PREFIX
2413 [$ac_default_prefix]
2414 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2415 [PREFIX]
2417 By default, \`make install' will install all the files in
2418 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2419 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2420 for instance \`--prefix=\$HOME'.
2422 For better control, use the options below.
2424 Fine tuning of the installation directories:
2425 --bindir=DIR user executables [EPREFIX/bin]
2426 --sbindir=DIR system admin executables [EPREFIX/sbin]
2427 --libexecdir=DIR program executables [EPREFIX/libexec]
2428 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2429 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2430 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2431 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2432 --libdir=DIR object code libraries [EPREFIX/lib]
2433 --includedir=DIR C header files [PREFIX/include]
2434 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2435 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2436 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2437 --infodir=DIR info documentation [DATAROOTDIR/info]
2438 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2439 --mandir=DIR man documentation [DATAROOTDIR/man]
2440 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2441 --htmldir=DIR html documentation [DOCDIR]
2442 --dvidir=DIR dvi documentation [DOCDIR]
2443 --pdfdir=DIR pdf documentation [DOCDIR]
2444 --psdir=DIR ps documentation [DOCDIR]
2445 _ACEOF
2447 cat <<\_ACEOF
2449 X features:
2450 --x-includes=DIR X include files are in DIR
2451 --x-libraries=DIR X library files are in DIR
2453 System types:
2454 --build=BUILD configure for building on BUILD [guessed]
2455 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2456 _ACEOF
2459 if test -n "$ac_init_help"; then
2460 case $ac_init_help in
2461 short | recursive ) echo "Configuration of Wine 9.2:";;
2462 esac
2463 cat <<\_ACEOF
2465 Optional Features:
2466 --disable-option-checking ignore unrecognized --enable/--with options
2467 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2468 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2469 --enable-archs={i386,x86_64,arm,aarch64}
2470 enable multiple architectures for PE compilation
2471 --disable-win16 do not include Win16 support
2472 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2473 binaries)
2474 --disable-tests do not build the regression tests
2475 --enable-build-id include .buildid section in output objects
2476 --enable-maintainer-mode
2477 enable maintainer-specific build rules
2478 --enable-silent-rules use silent build rules (override: "make V=1")
2479 --enable-werror treat compilation warnings as errors
2480 --disable-largefile omit support for large files
2482 Optional Packages:
2483 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2484 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2485 --without-alsa do not use the Alsa sound support
2486 --without-capi do not use CAPI (ISDN support)
2487 --without-coreaudio do not use the CoreAudio sound support
2488 --without-cups do not use CUPS
2489 --without-dbus do not use DBus (dynamic device support)
2490 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2491 --without-fontconfig do not use fontconfig
2492 --without-freetype do not use the FreeType library
2493 --without-gettext do not use gettext
2494 --with-gettextpo use the GetTextPO library to rebuild po files
2495 --without-gphoto do not use gphoto (Digital Camera support)
2496 --without-gnutls do not use GnuTLS (schannel support)
2497 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2498 --without-gstreamer do not use GStreamer (codecs support)
2499 --without-inotify do not use inotify (filesystem change notifications)
2500 --without-krb5 do not use krb5 (Kerberos)
2501 --without-mingw do not use the MinGW cross-compiler
2502 --without-netapi do not use the Samba NetAPI library
2503 --without-opencl do not use OpenCL
2504 --without-opengl do not use OpenGL
2505 --without-osmesa do not use the OSMesa library
2506 --without-oss do not use the OSS sound support
2507 --without-pcap do not use the Packet Capture library
2508 --without-pcsclite do not use PCSC lite
2509 --without-pthread do not use the pthread library
2510 --without-pulse do not use PulseAudio sound support
2511 --without-sane do not use SANE (scanner support)
2512 --without-sdl do not use SDL
2513 --without-udev do not use udev (plug and play support)
2514 --without-unwind do not use the libunwind library (exception
2515 handling)
2516 --without-usb do not use the libusb library
2517 --without-v4l2 do not use v4l2 (video capture)
2518 --without-vulkan do not use Vulkan
2519 --without-wayland do not build the Wayland driver
2520 --without-xcomposite do not use the Xcomposite extension
2521 --without-xcursor do not use the Xcursor extension
2522 --without-xfixes do not use Xfixes for clipboard change notifications
2523 --without-xinerama do not use Xinerama (legacy multi-monitor support)
2524 --without-xinput do not use the Xinput extension
2525 --without-xinput2 do not use the Xinput 2 extension
2526 --without-xrandr do not use Xrandr (multi-monitor support)
2527 --without-xrender do not use the Xrender extension
2528 --without-xshape do not use the Xshape extension
2529 --without-xshm do not use XShm (shared memory extension)
2530 --without-xxf86vm do not use XFree video mode extension
2531 --with-system-dllpath=PATH
2532 load external PE dependencies from colon-separated
2533 path PATH
2534 --with-wine-tools=DIR use Wine tools from directory DIR
2535 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2536 --with-x use the X Window System
2538 Some influential environment variables:
2539 CC C compiler command
2540 CFLAGS C compiler flags
2541 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2542 nonstandard directory <lib dir>
2543 LIBS libraries to pass to the linker, e.g. -l<library>
2544 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2545 you have headers in a nonstandard directory <include dir>
2546 CXX C++ compiler command
2547 CXXFLAGS C++ compiler flags
2548 OBJC Objective C compiler command
2549 OBJCFLAGS Objective C compiler flags
2550 FAUDIO_PE_CFLAGS
2551 C compiler flags for the PE faudio, overriding the bundled
2552 version
2553 FAUDIO_PE_LIBS
2554 Linker flags for the PE faudio, overriding the bundled version
2555 FLUIDSYNTH_PE_CFLAGS
2556 C compiler flags for the PE fluidsynth, overriding the bundled
2557 version
2558 FLUIDSYNTH_PE_LIBS
2559 Linker flags for the PE fluidsynth, overriding the bundled
2560 version
2561 GSM_PE_CFLAGS
2562 C compiler flags for the PE gsm, overriding the bundled version
2563 GSM_PE_LIBS Linker flags for the PE gsm, overriding the bundled version
2564 JPEG_PE_CFLAGS
2565 C compiler flags for the PE jpeg, overriding the bundled version
2566 JPEG_PE_LIBS
2567 Linker flags for the PE jpeg, overriding the bundled version
2568 JXR_PE_CFLAGS
2569 C compiler flags for the PE jxr, overriding the bundled version
2570 JXR_PE_LIBS Linker flags for the PE jxr, overriding the bundled version
2571 LCMS2_PE_CFLAGS
2572 C compiler flags for the PE lcms2, overriding the bundled
2573 version
2574 LCMS2_PE_LIBS
2575 Linker flags for the PE lcms2, overriding the bundled version
2576 LDAP_PE_CFLAGS
2577 C compiler flags for the PE ldap, overriding the bundled version
2578 LDAP_PE_LIBS
2579 Linker flags for the PE ldap, overriding the bundled version
2580 MPG123_PE_CFLAGS
2581 C compiler flags for the PE mpg123, overriding the bundled
2582 version
2583 MPG123_PE_LIBS
2584 Linker flags for the PE mpg123, overriding the bundled version
2585 MUSL_PE_CFLAGS
2586 C compiler flags for the PE musl, overriding the bundled version
2587 MUSL_PE_LIBS
2588 Linker flags for the PE musl, overriding the bundled version
2589 PNG_PE_CFLAGS
2590 C compiler flags for the PE png, overriding the bundled version
2591 PNG_PE_LIBS Linker flags for the PE png, overriding the bundled version
2592 TIFF_PE_CFLAGS
2593 C compiler flags for the PE tiff, overriding the bundled version
2594 TIFF_PE_LIBS
2595 Linker flags for the PE tiff, overriding the bundled version
2596 VKD3D_PE_CFLAGS
2597 C compiler flags for the PE vkd3d, overriding the bundled
2598 version
2599 VKD3D_PE_LIBS
2600 Linker flags for the PE vkd3d, overriding the bundled version
2601 XML2_PE_CFLAGS
2602 C compiler flags for the PE xml2, overriding the bundled version
2603 XML2_PE_LIBS
2604 Linker flags for the PE xml2, overriding the bundled version
2605 XSLT_PE_CFLAGS
2606 C compiler flags for the PE xslt, overriding the bundled version
2607 XSLT_PE_LIBS
2608 Linker flags for the PE xslt, overriding the bundled version
2609 ZLIB_PE_CFLAGS
2610 C compiler flags for the PE zlib, overriding the bundled version
2611 ZLIB_PE_LIBS
2612 Linker flags for the PE zlib, overriding the bundled version
2613 ZYDIS_PE_CFLAGS
2614 C compiler flags for the PE zydis, overriding the bundled
2615 version
2616 ZYDIS_PE_LIBS
2617 Linker flags for the PE zydis, overriding the bundled version
2618 XMKMF Path to xmkmf, Makefile generator for X Window System
2619 CPP C preprocessor
2620 WAYLAND_CLIENT_CFLAGS
2621 C compiler flags for wayland-client, overriding pkg-config
2622 WAYLAND_CLIENT_LIBS
2623 Linker flags for wayland-client, overriding pkg-config
2624 XKBCOMMON_CFLAGS
2625 C compiler flags for xkbcommon, overriding pkg-config
2626 XKBCOMMON_LIBS
2627 Linker flags for xkbcommon, overriding pkg-config
2628 XKBREGISTRY_CFLAGS
2629 C compiler flags for xkbregistry, overriding pkg-config
2630 XKBREGISTRY_LIBS
2631 Linker flags for xkbregistry, overriding pkg-config
2632 INOTIFY_CFLAGS
2633 C compiler flags for libinotify, overriding pkg-config
2634 INOTIFY_LIBS
2635 Linker flags for libinotify, overriding pkg-config
2636 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2637 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2638 GNUTLS_CFLAGS
2639 C compiler flags for gnutls, overriding pkg-config
2640 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2641 SANE_CFLAGS C compiler flags for sane-backends, overriding pkg-config
2642 SANE_LIBS Linker flags for sane-backends, overriding pkg-config
2643 USB_CFLAGS C compiler flags for libusb-1.0, overriding pkg-config
2644 USB_LIBS Linker flags for libusb-1.0, overriding pkg-config
2645 GPHOTO2_CFLAGS
2646 C compiler flags for libgphoto2, overriding pkg-config
2647 GPHOTO2_LIBS
2648 Linker flags for libgphoto2, overriding pkg-config
2649 GPHOTO2_PORT_CFLAGS
2650 C compiler flags for libgphoto2_port, overriding pkg-config
2651 GPHOTO2_PORT_LIBS
2652 Linker flags for libgphoto2_port, overriding pkg-config
2653 FREETYPE_CFLAGS
2654 C compiler flags for freetype2, overriding pkg-config
2655 FREETYPE_LIBS
2656 Linker flags for freetype2, overriding pkg-config
2657 PULSE_CFLAGS
2658 C compiler flags for libpulse, overriding pkg-config
2659 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2660 GSTREAMER_CFLAGS
2661 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2662 gstreamer-audio-1.0 gstreamer-tag-1.0, overriding pkg-config
2663 GSTREAMER_LIBS
2664 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2665 gstreamer-audio-1.0 gstreamer-tag-1.0, overriding pkg-config
2666 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2667 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2668 UNWIND_CFLAGS
2669 C compiler flags for libunwind, overriding pkg-config
2670 UNWIND_LIBS Linker flags for libunwind, overriding pkg-config
2671 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2672 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2673 CAPI20_CFLAGS
2674 C compiler flags for capi20, overriding pkg-config
2675 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2676 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2677 CUPS_LIBS Linker flags for cups, overriding pkg-config
2678 FONTCONFIG_CFLAGS
2679 C compiler flags for fontconfig, overriding pkg-config
2680 FONTCONFIG_LIBS
2681 Linker flags for fontconfig, overriding pkg-config
2682 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2683 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2684 GSSAPI_CFLAGS
2685 C compiler flags for krb5-gssapi, overriding pkg-config
2686 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2687 NETAPI_CFLAGS
2688 C compiler flags for netapi, overriding pkg-config
2689 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2691 Use these variables to override the choices made by `configure' or to help
2692 it to find libraries and programs with nonstandard names/locations.
2694 Report bugs to <wine-devel@winehq.org>.
2695 Wine home page: <https://www.winehq.org>.
2696 _ACEOF
2697 ac_status=$?
2700 if test "$ac_init_help" = "recursive"; then
2701 # If there are subdirs, report their specific --help.
2702 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2703 test -d "$ac_dir" ||
2704 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2705 continue
2706 ac_builddir=.
2708 case "$ac_dir" in
2709 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2711 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
2712 # A ".." for each directory in $ac_dir_suffix.
2713 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2714 case $ac_top_builddir_sub in
2715 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2716 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2717 esac ;;
2718 esac
2719 ac_abs_top_builddir=$ac_pwd
2720 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2721 # for backward compatibility:
2722 ac_top_builddir=$ac_top_build_prefix
2724 case $srcdir in
2725 .) # We are building in place.
2726 ac_srcdir=.
2727 ac_top_srcdir=$ac_top_builddir_sub
2728 ac_abs_top_srcdir=$ac_pwd ;;
2729 [\\/]* | ?:[\\/]* ) # Absolute name.
2730 ac_srcdir=$srcdir$ac_dir_suffix;
2731 ac_top_srcdir=$srcdir
2732 ac_abs_top_srcdir=$srcdir ;;
2733 *) # Relative name.
2734 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2735 ac_top_srcdir=$ac_top_build_prefix$srcdir
2736 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2737 esac
2738 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2740 cd "$ac_dir" || { ac_status=$?; continue; }
2741 # Check for configure.gnu first; this name is used for a wrapper for
2742 # Metaconfig's "Configure" on case-insensitive file systems.
2743 if test -f "$ac_srcdir/configure.gnu"; then
2744 echo &&
2745 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2746 elif test -f "$ac_srcdir/configure"; then
2747 echo &&
2748 $SHELL "$ac_srcdir/configure" --help=recursive
2749 else
2750 printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2751 fi || ac_status=$?
2752 cd "$ac_pwd" || { ac_status=$?; break; }
2753 done
2756 test -n "$ac_init_help" && exit $ac_status
2757 if $ac_init_version; then
2758 cat <<\_ACEOF
2759 Wine configure 9.2
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.2, which was
3211 generated by GNU Autoconf 2.71. Invocation command line was
3213 $ $0$ac_configure_args_raw
3215 _ACEOF
3216 exec 5>>config.log
3218 cat <<_ASUNAME
3219 ## --------- ##
3220 ## Platform. ##
3221 ## --------- ##
3223 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3224 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3225 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3226 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3227 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3229 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3230 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3232 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3233 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3234 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3235 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3236 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3237 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3238 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3240 _ASUNAME
3242 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3243 for as_dir in $PATH
3245 IFS=$as_save_IFS
3246 case $as_dir in #(((
3247 '') as_dir=./ ;;
3248 */) ;;
3249 *) as_dir=$as_dir/ ;;
3250 esac
3251 printf "%s\n" "PATH: $as_dir"
3252 done
3253 IFS=$as_save_IFS
3255 } >&5
3257 cat >&5 <<_ACEOF
3260 ## ----------- ##
3261 ## Core tests. ##
3262 ## ----------- ##
3264 _ACEOF
3267 # Keep a trace of the command line.
3268 # Strip out --no-create and --no-recursion so they do not pile up.
3269 # Strip out --silent because we don't want to record it for future runs.
3270 # Also quote any args containing shell meta-characters.
3271 # Make two passes to allow for proper duplicate-argument suppression.
3272 ac_configure_args=
3273 ac_configure_args0=
3274 ac_configure_args1=
3275 ac_must_keep_next=false
3276 for ac_pass in 1 2
3278 for ac_arg
3280 case $ac_arg in
3281 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3282 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3283 | -silent | --silent | --silen | --sile | --sil)
3284 continue ;;
3285 *\'*)
3286 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3287 esac
3288 case $ac_pass in
3289 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3291 as_fn_append ac_configure_args1 " '$ac_arg'"
3292 if test $ac_must_keep_next = true; then
3293 ac_must_keep_next=false # Got value, back to normal.
3294 else
3295 case $ac_arg in
3296 *=* | --config-cache | -C | -disable-* | --disable-* \
3297 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3298 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3299 | -with-* | --with-* | -without-* | --without-* | --x)
3300 case "$ac_configure_args0 " in
3301 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3302 esac
3304 -* ) ac_must_keep_next=true ;;
3305 esac
3307 as_fn_append ac_configure_args " '$ac_arg'"
3309 esac
3310 done
3311 done
3312 { ac_configure_args0=; unset ac_configure_args0;}
3313 { ac_configure_args1=; unset ac_configure_args1;}
3315 # When interrupted or exit'd, cleanup temporary files, and complete
3316 # config.log. We remove comments because anyway the quotes in there
3317 # would cause problems or look ugly.
3318 # WARNING: Use '\'' to represent an apostrophe within the trap.
3319 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3320 trap 'exit_status=$?
3321 # Sanitize IFS.
3322 IFS=" "" $as_nl"
3323 # Save into config.log some information that might help in debugging.
3325 echo
3327 printf "%s\n" "## ---------------- ##
3328 ## Cache variables. ##
3329 ## ---------------- ##"
3330 echo
3331 # The following way of writing the cache mishandles newlines in values,
3333 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3334 eval ac_val=\$$ac_var
3335 case $ac_val in #(
3336 *${as_nl}*)
3337 case $ac_var in #(
3338 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3339 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3340 esac
3341 case $ac_var in #(
3342 _ | IFS | as_nl) ;; #(
3343 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3344 *) { eval $ac_var=; unset $ac_var;} ;;
3345 esac ;;
3346 esac
3347 done
3348 (set) 2>&1 |
3349 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3350 *${as_nl}ac_space=\ *)
3351 sed -n \
3352 "s/'\''/'\''\\\\'\'''\''/g;
3353 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3354 ;; #(
3356 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3358 esac |
3359 sort
3361 echo
3363 printf "%s\n" "## ----------------- ##
3364 ## Output variables. ##
3365 ## ----------------- ##"
3366 echo
3367 for ac_var in $ac_subst_vars
3369 eval ac_val=\$$ac_var
3370 case $ac_val in
3371 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3372 esac
3373 printf "%s\n" "$ac_var='\''$ac_val'\''"
3374 done | sort
3375 echo
3377 if test -n "$ac_subst_files"; then
3378 printf "%s\n" "## ------------------- ##
3379 ## File substitutions. ##
3380 ## ------------------- ##"
3381 echo
3382 for ac_var in $ac_subst_files
3384 eval ac_val=\$$ac_var
3385 case $ac_val in
3386 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3387 esac
3388 printf "%s\n" "$ac_var='\''$ac_val'\''"
3389 done | sort
3390 echo
3393 if test -s confdefs.h; then
3394 printf "%s\n" "## ----------- ##
3395 ## confdefs.h. ##
3396 ## ----------- ##"
3397 echo
3398 cat confdefs.h
3399 echo
3401 test "$ac_signal" != 0 &&
3402 printf "%s\n" "$as_me: caught signal $ac_signal"
3403 printf "%s\n" "$as_me: exit $exit_status"
3404 } >&5
3405 rm -f core *.core core.conftest.* &&
3406 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3407 exit $exit_status
3409 for ac_signal in 1 2 13 15; do
3410 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3411 done
3412 ac_signal=0
3414 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3415 rm -f -r conftest* confdefs.h
3417 printf "%s\n" "/* confdefs.h */" > confdefs.h
3419 # Predefined preprocessor variables.
3421 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
3423 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
3425 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
3427 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
3429 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
3431 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
3434 # Let the site file select an alternate cache file if it wants to.
3435 # Prefer an explicitly selected file to automatically selected ones.
3436 if test -n "$CONFIG_SITE"; then
3437 ac_site_files="$CONFIG_SITE"
3438 elif test "x$prefix" != xNONE; then
3439 ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
3440 else
3441 ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
3444 for ac_site_file in $ac_site_files
3446 case $ac_site_file in #(
3447 */*) :
3448 ;; #(
3449 *) :
3450 ac_site_file=./$ac_site_file ;;
3451 esac
3452 if test -f "$ac_site_file" && test -r "$ac_site_file"; then
3453 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3454 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
3455 sed 's/^/| /' "$ac_site_file" >&5
3456 . "$ac_site_file" \
3457 || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3458 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
3459 as_fn_error $? "failed to load site script $ac_site_file
3460 See \`config.log' for more details" "$LINENO" 5; }
3462 done
3464 if test -r "$cache_file"; then
3465 # Some versions of bash will fail to source /dev/null (special files
3466 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3467 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3468 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3469 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
3470 case $cache_file in
3471 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3472 *) . "./$cache_file";;
3473 esac
3475 else
3476 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3477 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
3478 >$cache_file
3481 # Test code for whether the C compiler supports C89 (global declarations)
3482 ac_c_conftest_c89_globals='
3483 /* Does the compiler advertise C89 conformance?
3484 Do not test the value of __STDC__, because some compilers set it to 0
3485 while being otherwise adequately conformant. */
3486 #if !defined __STDC__
3487 # error "Compiler does not advertise C89 conformance"
3488 #endif
3490 #include <stddef.h>
3491 #include <stdarg.h>
3492 struct stat;
3493 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */
3494 struct buf { int x; };
3495 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
3496 static char *e (p, i)
3497 char **p;
3498 int i;
3500 return p[i];
3502 static char *f (char * (*g) (char **, int), char **p, ...)
3504 char *s;
3505 va_list v;
3506 va_start (v,p);
3507 s = g (p, va_arg (v,int));
3508 va_end (v);
3509 return s;
3512 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3513 function prototypes and stuff, but not \xHH hex character constants.
3514 These do not provoke an error unfortunately, instead are silently treated
3515 as an "x". The following induces an error, until -std is added to get
3516 proper ANSI mode. Curiously \x00 != x always comes out true, for an
3517 array size at least. It is necessary to write \x00 == 0 to get something
3518 that is true only with -std. */
3519 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
3521 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3522 inside strings and character constants. */
3523 #define FOO(x) '\''x'\''
3524 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
3526 int test (int i, double x);
3527 struct s1 {int (*f) (int a);};
3528 struct s2 {int (*f) (double a);};
3529 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
3530 int, int);'
3532 # Test code for whether the C compiler supports C89 (body of main).
3533 ac_c_conftest_c89_main='
3534 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
3537 # Test code for whether the C compiler supports C99 (global declarations)
3538 ac_c_conftest_c99_globals='
3539 // Does the compiler advertise C99 conformance?
3540 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
3541 # error "Compiler does not advertise C99 conformance"
3542 #endif
3544 #include <stdbool.h>
3545 extern int puts (const char *);
3546 extern int printf (const char *, ...);
3547 extern int dprintf (int, const char *, ...);
3548 extern void *malloc (size_t);
3550 // Check varargs macros. These examples are taken from C99 6.10.3.5.
3551 // dprintf is used instead of fprintf to avoid needing to declare
3552 // FILE and stderr.
3553 #define debug(...) dprintf (2, __VA_ARGS__)
3554 #define showlist(...) puts (#__VA_ARGS__)
3555 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3556 static void
3557 test_varargs_macros (void)
3559 int x = 1234;
3560 int y = 5678;
3561 debug ("Flag");
3562 debug ("X = %d\n", x);
3563 showlist (The first, second, and third items.);
3564 report (x>y, "x is %d but y is %d", x, y);
3567 // Check long long types.
3568 #define BIG64 18446744073709551615ull
3569 #define BIG32 4294967295ul
3570 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3571 #if !BIG_OK
3572 #error "your preprocessor is broken"
3573 #endif
3574 #if BIG_OK
3575 #else
3576 #error "your preprocessor is broken"
3577 #endif
3578 static long long int bignum = -9223372036854775807LL;
3579 static unsigned long long int ubignum = BIG64;
3581 struct incomplete_array
3583 int datasize;
3584 double data[];
3587 struct named_init {
3588 int number;
3589 const wchar_t *name;
3590 double average;
3593 typedef const char *ccp;
3595 static inline int
3596 test_restrict (ccp restrict text)
3598 // See if C++-style comments work.
3599 // Iterate through items via the restricted pointer.
3600 // Also check for declarations in for loops.
3601 for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
3602 continue;
3603 return 0;
3606 // Check varargs and va_copy.
3607 static bool
3608 test_varargs (const char *format, ...)
3610 va_list args;
3611 va_start (args, format);
3612 va_list args_copy;
3613 va_copy (args_copy, args);
3615 const char *str = "";
3616 int number = 0;
3617 float fnumber = 0;
3619 while (*format)
3621 switch (*format++)
3623 case '\''s'\'': // string
3624 str = va_arg (args_copy, const char *);
3625 break;
3626 case '\''d'\'': // int
3627 number = va_arg (args_copy, int);
3628 break;
3629 case '\''f'\'': // float
3630 fnumber = va_arg (args_copy, double);
3631 break;
3632 default:
3633 break;
3636 va_end (args_copy);
3637 va_end (args);
3639 return *str && number && fnumber;
3643 # Test code for whether the C compiler supports C99 (body of main).
3644 ac_c_conftest_c99_main='
3645 // Check bool.
3646 _Bool success = false;
3647 success |= (argc != 0);
3649 // Check restrict.
3650 if (test_restrict ("String literal") == 0)
3651 success = true;
3652 char *restrict newvar = "Another string";
3654 // Check varargs.
3655 success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
3656 test_varargs_macros ();
3658 // Check flexible array members.
3659 struct incomplete_array *ia =
3660 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
3661 ia->datasize = 10;
3662 for (int i = 0; i < ia->datasize; ++i)
3663 ia->data[i] = i * 1.234;
3665 // Check named initializers.
3666 struct named_init ni = {
3667 .number = 34,
3668 .name = L"Test wide string",
3669 .average = 543.34343,
3672 ni.number = 58;
3674 int dynamic_array[ni.number];
3675 dynamic_array[0] = argv[0][0];
3676 dynamic_array[ni.number - 1] = 543;
3678 // work around unused variable warnings
3679 ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
3680 || dynamic_array[ni.number - 1] != 543);
3683 # Test code for whether the C compiler supports C11 (global declarations)
3684 ac_c_conftest_c11_globals='
3685 // Does the compiler advertise C11 conformance?
3686 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
3687 # error "Compiler does not advertise C11 conformance"
3688 #endif
3690 // Check _Alignas.
3691 char _Alignas (double) aligned_as_double;
3692 char _Alignas (0) no_special_alignment;
3693 extern char aligned_as_int;
3694 char _Alignas (0) _Alignas (int) aligned_as_int;
3696 // Check _Alignof.
3697 enum
3699 int_alignment = _Alignof (int),
3700 int_array_alignment = _Alignof (int[100]),
3701 char_alignment = _Alignof (char)
3703 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
3705 // Check _Noreturn.
3706 int _Noreturn does_not_return (void) { for (;;) continue; }
3708 // Check _Static_assert.
3709 struct test_static_assert
3711 int x;
3712 _Static_assert (sizeof (int) <= sizeof (long int),
3713 "_Static_assert does not work in struct");
3714 long int y;
3717 // Check UTF-8 literals.
3718 #define u8 syntax error!
3719 char const utf8_literal[] = u8"happens to be ASCII" "another string";
3721 // Check duplicate typedefs.
3722 typedef long *long_ptr;
3723 typedef long int *long_ptr;
3724 typedef long_ptr long_ptr;
3726 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
3727 struct anonymous
3729 union {
3730 struct { int i; int j; };
3731 struct { int k; long int l; } w;
3733 int m;
3734 } v1;
3737 # Test code for whether the C compiler supports C11 (body of main).
3738 ac_c_conftest_c11_main='
3739 _Static_assert ((offsetof (struct anonymous, i)
3740 == offsetof (struct anonymous, w.k)),
3741 "Anonymous union alignment botch");
3742 v1.i = 2;
3743 v1.w.k = 5;
3744 ok |= v1.i != 5;
3747 # Test code for whether the C compiler supports C11 (complete).
3748 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
3749 ${ac_c_conftest_c99_globals}
3750 ${ac_c_conftest_c11_globals}
3753 main (int argc, char **argv)
3755 int ok = 0;
3756 ${ac_c_conftest_c89_main}
3757 ${ac_c_conftest_c99_main}
3758 ${ac_c_conftest_c11_main}
3759 return ok;
3763 # Test code for whether the C compiler supports C99 (complete).
3764 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
3765 ${ac_c_conftest_c99_globals}
3768 main (int argc, char **argv)
3770 int ok = 0;
3771 ${ac_c_conftest_c89_main}
3772 ${ac_c_conftest_c99_main}
3773 return ok;
3777 # Test code for whether the C compiler supports C89 (complete).
3778 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
3781 main (int argc, char **argv)
3783 int ok = 0;
3784 ${ac_c_conftest_c89_main}
3785 return ok;
3789 # Test code for whether the C++ compiler supports C++98 (global declarations)
3790 ac_cxx_conftest_cxx98_globals='
3791 // Does the compiler advertise C++98 conformance?
3792 #if !defined __cplusplus || __cplusplus < 199711L
3793 # error "Compiler does not advertise C++98 conformance"
3794 #endif
3796 // These inclusions are to reject old compilers that
3797 // lack the unsuffixed header files.
3798 #include <cstdlib>
3799 #include <exception>
3801 // <cassert> and <cstring> are *not* freestanding headers in C++98.
3802 extern void assert (int);
3803 namespace std {
3804 extern int strcmp (const char *, const char *);
3807 // Namespaces, exceptions, and templates were all added after "C++ 2.0".
3808 using std::exception;
3809 using std::strcmp;
3811 namespace {
3813 void test_exception_syntax()
3815 try {
3816 throw "test";
3817 } catch (const char *s) {
3818 // Extra parentheses suppress a warning when building autoconf itself,
3819 // due to lint rules shared with more typical C programs.
3820 assert (!(strcmp) (s, "test"));
3824 template <typename T> struct test_template
3826 T const val;
3827 explicit test_template(T t) : val(t) {}
3828 template <typename U> T add(U u) { return static_cast<T>(u) + val; }
3831 } // anonymous namespace
3834 # Test code for whether the C++ compiler supports C++98 (body of main)
3835 ac_cxx_conftest_cxx98_main='
3836 assert (argc);
3837 assert (! argv[0]);
3839 test_exception_syntax ();
3840 test_template<double> tt (2.0);
3841 assert (tt.add (4) == 6.0);
3842 assert (true && !false);
3846 # Test code for whether the C++ compiler supports C++11 (global declarations)
3847 ac_cxx_conftest_cxx11_globals='
3848 // Does the compiler advertise C++ 2011 conformance?
3849 #if !defined __cplusplus || __cplusplus < 201103L
3850 # error "Compiler does not advertise C++11 conformance"
3851 #endif
3853 namespace cxx11test
3855 constexpr int get_val() { return 20; }
3857 struct testinit
3859 int i;
3860 double d;
3863 class delegate
3865 public:
3866 delegate(int n) : n(n) {}
3867 delegate(): delegate(2354) {}
3869 virtual int getval() { return this->n; };
3870 protected:
3871 int n;
3874 class overridden : public delegate
3876 public:
3877 overridden(int n): delegate(n) {}
3878 virtual int getval() override final { return this->n * 2; }
3881 class nocopy
3883 public:
3884 nocopy(int i): i(i) {}
3885 nocopy() = default;
3886 nocopy(const nocopy&) = delete;
3887 nocopy & operator=(const nocopy&) = delete;
3888 private:
3889 int i;
3892 // for testing lambda expressions
3893 template <typename Ret, typename Fn> Ret eval(Fn f, Ret v)
3895 return f(v);
3898 // for testing variadic templates and trailing return types
3899 template <typename V> auto sum(V first) -> V
3901 return first;
3903 template <typename V, typename... Args> auto sum(V first, Args... rest) -> V
3905 return first + sum(rest...);
3910 # Test code for whether the C++ compiler supports C++11 (body of main)
3911 ac_cxx_conftest_cxx11_main='
3913 // Test auto and decltype
3914 auto a1 = 6538;
3915 auto a2 = 48573953.4;
3916 auto a3 = "String literal";
3918 int total = 0;
3919 for (auto i = a3; *i; ++i) { total += *i; }
3921 decltype(a2) a4 = 34895.034;
3924 // Test constexpr
3925 short sa[cxx11test::get_val()] = { 0 };
3928 // Test initializer lists
3929 cxx11test::testinit il = { 4323, 435234.23544 };
3932 // Test range-based for
3933 int array[] = {9, 7, 13, 15, 4, 18, 12, 10, 5, 3,
3934 14, 19, 17, 8, 6, 20, 16, 2, 11, 1};
3935 for (auto &x : array) { x += 23; }
3938 // Test lambda expressions
3939 using cxx11test::eval;
3940 assert (eval ([](int x) { return x*2; }, 21) == 42);
3941 double d = 2.0;
3942 assert (eval ([&](double x) { return d += x; }, 3.0) == 5.0);
3943 assert (d == 5.0);
3944 assert (eval ([=](double x) mutable { return d += x; }, 4.0) == 9.0);
3945 assert (d == 5.0);
3948 // Test use of variadic templates
3949 using cxx11test::sum;
3950 auto a = sum(1);
3951 auto b = sum(1, 2);
3952 auto c = sum(1.0, 2.0, 3.0);
3955 // Test constructor delegation
3956 cxx11test::delegate d1;
3957 cxx11test::delegate d2();
3958 cxx11test::delegate d3(45);
3961 // Test override and final
3962 cxx11test::overridden o1(55464);
3965 // Test nullptr
3966 char *c = nullptr;
3969 // Test template brackets
3970 test_template<::test_template<int>> v(test_template<int>(12));
3973 // Unicode literals
3974 char const *utf8 = u8"UTF-8 string \u2500";
3975 char16_t const *utf16 = u"UTF-8 string \u2500";
3976 char32_t const *utf32 = U"UTF-32 string \u2500";
3980 # Test code for whether the C compiler supports C++11 (complete).
3981 ac_cxx_conftest_cxx11_program="${ac_cxx_conftest_cxx98_globals}
3982 ${ac_cxx_conftest_cxx11_globals}
3985 main (int argc, char **argv)
3987 int ok = 0;
3988 ${ac_cxx_conftest_cxx98_main}
3989 ${ac_cxx_conftest_cxx11_main}
3990 return ok;
3994 # Test code for whether the C compiler supports C++98 (complete).
3995 ac_cxx_conftest_cxx98_program="${ac_cxx_conftest_cxx98_globals}
3997 main (int argc, char **argv)
3999 int ok = 0;
4000 ${ac_cxx_conftest_cxx98_main}
4001 return ok;
4005 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
4006 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
4007 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
4008 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
4009 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
4010 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
4011 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
4012 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
4013 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
4015 # Auxiliary files required by this configure script.
4016 ac_aux_files="config.guess config.sub"
4018 # Locations in which to look for auxiliary files.
4019 ac_aux_dir_candidates="${srcdir}/tools"
4021 # Search for a directory containing all of the required auxiliary files,
4022 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
4023 # If we don't find one directory that contains all the files we need,
4024 # we report the set of missing files from the *first* directory in
4025 # $ac_aux_dir_candidates and give up.
4026 ac_missing_aux_files=""
4027 ac_first_candidate=:
4028 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
4029 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4030 as_found=false
4031 for as_dir in $ac_aux_dir_candidates
4033 IFS=$as_save_IFS
4034 case $as_dir in #(((
4035 '') as_dir=./ ;;
4036 */) ;;
4037 *) as_dir=$as_dir/ ;;
4038 esac
4039 as_found=:
4041 printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5
4042 ac_aux_dir_found=yes
4043 ac_install_sh=
4044 for ac_aux in $ac_aux_files
4046 # As a special case, if "install-sh" is required, that requirement
4047 # can be satisfied by any of "install-sh", "install.sh", or "shtool",
4048 # and $ac_install_sh is set appropriately for whichever one is found.
4049 if test x"$ac_aux" = x"install-sh"
4050 then
4051 if test -f "${as_dir}install-sh"; then
4052 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5
4053 ac_install_sh="${as_dir}install-sh -c"
4054 elif test -f "${as_dir}install.sh"; then
4055 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5
4056 ac_install_sh="${as_dir}install.sh -c"
4057 elif test -f "${as_dir}shtool"; then
4058 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5
4059 ac_install_sh="${as_dir}shtool install -c"
4060 else
4061 ac_aux_dir_found=no
4062 if $ac_first_candidate; then
4063 ac_missing_aux_files="${ac_missing_aux_files} install-sh"
4064 else
4065 break
4068 else
4069 if test -f "${as_dir}${ac_aux}"; then
4070 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5
4071 else
4072 ac_aux_dir_found=no
4073 if $ac_first_candidate; then
4074 ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
4075 else
4076 break
4080 done
4081 if test "$ac_aux_dir_found" = yes; then
4082 ac_aux_dir="$as_dir"
4083 break
4085 ac_first_candidate=false
4087 as_found=false
4088 done
4089 IFS=$as_save_IFS
4090 if $as_found
4091 then :
4093 else $as_nop
4094 as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
4098 # These three variables are undocumented and unsupported,
4099 # and are intended to be withdrawn in a future Autoconf release.
4100 # They can cause serious problems if a builder's source tree is in a directory
4101 # whose full name contains unusual characters.
4102 if test -f "${ac_aux_dir}config.guess"; then
4103 ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
4105 if test -f "${ac_aux_dir}config.sub"; then
4106 ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
4108 if test -f "$ac_aux_dir/configure"; then
4109 ac_configure="$SHELL ${ac_aux_dir}configure"
4112 # Check that the precious variables saved in the cache have kept the same
4113 # value.
4114 ac_cache_corrupted=false
4115 for ac_var in $ac_precious_vars; do
4116 eval ac_old_set=\$ac_cv_env_${ac_var}_set
4117 eval ac_new_set=\$ac_env_${ac_var}_set
4118 eval ac_old_val=\$ac_cv_env_${ac_var}_value
4119 eval ac_new_val=\$ac_env_${ac_var}_value
4120 case $ac_old_set,$ac_new_set in
4121 set,)
4122 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
4123 printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
4124 ac_cache_corrupted=: ;;
4125 ,set)
4126 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
4127 printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
4128 ac_cache_corrupted=: ;;
4129 ,);;
4131 if test "x$ac_old_val" != "x$ac_new_val"; then
4132 # differences in whitespace do not lead to failure.
4133 ac_old_val_w=`echo x $ac_old_val`
4134 ac_new_val_w=`echo x $ac_new_val`
4135 if test "$ac_old_val_w" != "$ac_new_val_w"; then
4136 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
4137 printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
4138 ac_cache_corrupted=:
4139 else
4140 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
4141 printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
4142 eval $ac_var=\$ac_old_val
4144 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
4145 printf "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;}
4146 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
4147 printf "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;}
4148 fi;;
4149 esac
4150 # Pass precious variables to config.status.
4151 if test "$ac_new_set" = set; then
4152 case $ac_new_val in
4153 *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
4154 *) ac_arg=$ac_var=$ac_new_val ;;
4155 esac
4156 case " $ac_configure_args " in
4157 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
4158 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
4159 esac
4161 done
4162 if $ac_cache_corrupted; then
4163 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4164 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
4165 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
4166 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
4167 as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
4168 and start over" "$LINENO" 5
4170 ## -------------------- ##
4171 ## Main body of script. ##
4172 ## -------------------- ##
4174 ac_ext=c
4175 ac_cpp='$CPP $CPPFLAGS'
4176 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4177 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4178 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4182 ac_config_headers="$ac_config_headers include/config.h"
4186 libwine_version="1.0"
4189 # Check whether --enable-archs was given.
4190 if test ${enable_archs+y}
4191 then :
4192 enableval=$enable_archs;
4195 # Check whether --enable-win16 was given.
4196 if test ${enable_win16+y}
4197 then :
4198 enableval=$enable_win16;
4201 # Check whether --enable-win64 was given.
4202 if test ${enable_win64+y}
4203 then :
4204 enableval=$enable_win64;
4207 # Check whether --enable-tests was given.
4208 if test ${enable_tests+y}
4209 then :
4210 enableval=$enable_tests;
4213 # Check whether --enable-build-id was given.
4214 if test ${enable_build_id+y}
4215 then :
4216 enableval=$enable_build_id;
4219 # Check whether --enable-maintainer-mode was given.
4220 if test ${enable_maintainer_mode+y}
4221 then :
4222 enableval=$enable_maintainer_mode;
4225 # Check whether --enable-silent-rules was given.
4226 if test ${enable_silent_rules+y}
4227 then :
4228 enableval=$enable_silent_rules;
4231 # Check whether --enable-werror was given.
4232 if test ${enable_werror+y}
4233 then :
4234 enableval=$enable_werror;
4239 # Check whether --with-alsa was given.
4240 if test ${with_alsa+y}
4241 then :
4242 withval=$with_alsa;
4246 # Check whether --with-capi was given.
4247 if test ${with_capi+y}
4248 then :
4249 withval=$with_capi;
4253 # Check whether --with-coreaudio was given.
4254 if test ${with_coreaudio+y}
4255 then :
4256 withval=$with_coreaudio;
4260 # Check whether --with-cups was given.
4261 if test ${with_cups+y}
4262 then :
4263 withval=$with_cups;
4267 # Check whether --with-dbus was given.
4268 if test ${with_dbus+y}
4269 then :
4270 withval=$with_dbus;
4274 # Check whether --with-float-abi was given.
4275 if test ${with_float_abi+y}
4276 then :
4277 withval=$with_float_abi;
4281 # Check whether --with-fontconfig was given.
4282 if test ${with_fontconfig+y}
4283 then :
4284 withval=$with_fontconfig;
4288 # Check whether --with-freetype was given.
4289 if test ${with_freetype+y}
4290 then :
4291 withval=$with_freetype;
4295 # Check whether --with-gettext was given.
4296 if test ${with_gettext+y}
4297 then :
4298 withval=$with_gettext;
4302 # Check whether --with-gettextpo was given.
4303 if test ${with_gettextpo+y}
4304 then :
4305 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
4309 # Check whether --with-gphoto was given.
4310 if test ${with_gphoto+y}
4311 then :
4312 withval=$with_gphoto;
4316 # Check whether --with-gnutls was given.
4317 if test ${with_gnutls+y}
4318 then :
4319 withval=$with_gnutls;
4323 # Check whether --with-gssapi was given.
4324 if test ${with_gssapi+y}
4325 then :
4326 withval=$with_gssapi;
4330 # Check whether --with-gstreamer was given.
4331 if test ${with_gstreamer+y}
4332 then :
4333 withval=$with_gstreamer;
4337 # Check whether --with-inotify was given.
4338 if test ${with_inotify+y}
4339 then :
4340 withval=$with_inotify;
4344 # Check whether --with-krb5 was given.
4345 if test ${with_krb5+y}
4346 then :
4347 withval=$with_krb5;
4351 # Check whether --with-mingw was given.
4352 if test ${with_mingw+y}
4353 then :
4354 withval=$with_mingw;
4358 # Check whether --with-netapi was given.
4359 if test ${with_netapi+y}
4360 then :
4361 withval=$with_netapi;
4365 # Check whether --with-opencl was given.
4366 if test ${with_opencl+y}
4367 then :
4368 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
4372 # Check whether --with-opengl was given.
4373 if test ${with_opengl+y}
4374 then :
4375 withval=$with_opengl;
4379 # Check whether --with-osmesa was given.
4380 if test ${with_osmesa+y}
4381 then :
4382 withval=$with_osmesa;
4386 # Check whether --with-oss was given.
4387 if test ${with_oss+y}
4388 then :
4389 withval=$with_oss;
4393 # Check whether --with-pcap was given.
4394 if test ${with_pcap+y}
4395 then :
4396 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
4400 # Check whether --with-pcsclite was given.
4401 if test ${with_pcsclite+y}
4402 then :
4403 withval=$with_pcsclite;
4407 # Check whether --with-pthread was given.
4408 if test ${with_pthread+y}
4409 then :
4410 withval=$with_pthread;
4414 # Check whether --with-pulse was given.
4415 if test ${with_pulse+y}
4416 then :
4417 withval=$with_pulse;
4421 # Check whether --with-sane was given.
4422 if test ${with_sane+y}
4423 then :
4424 withval=$with_sane;
4428 # Check whether --with-sdl was given.
4429 if test ${with_sdl+y}
4430 then :
4431 withval=$with_sdl;
4435 # Check whether --with-udev was given.
4436 if test ${with_udev+y}
4437 then :
4438 withval=$with_udev;
4442 # Check whether --with-unwind was given.
4443 if test ${with_unwind+y}
4444 then :
4445 withval=$with_unwind;
4449 # Check whether --with-usb was given.
4450 if test ${with_usb+y}
4451 then :
4452 withval=$with_usb;
4456 # Check whether --with-v4l2 was given.
4457 if test ${with_v4l2+y}
4458 then :
4459 withval=$with_v4l2;
4463 # Check whether --with-vulkan was given.
4464 if test ${with_vulkan+y}
4465 then :
4466 withval=$with_vulkan;
4470 # Check whether --with-wayland was given.
4471 if test ${with_wayland+y}
4472 then :
4473 withval=$with_wayland;
4477 # Check whether --with-xcomposite was given.
4478 if test ${with_xcomposite+y}
4479 then :
4480 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
4484 # Check whether --with-xcursor was given.
4485 if test ${with_xcursor+y}
4486 then :
4487 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
4491 # Check whether --with-xfixes was given.
4492 if test ${with_xfixes+y}
4493 then :
4494 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
4498 # Check whether --with-xinerama was given.
4499 if test ${with_xinerama+y}
4500 then :
4501 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
4505 # Check whether --with-xinput was given.
4506 if test ${with_xinput+y}
4507 then :
4508 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
4512 # Check whether --with-xinput2 was given.
4513 if test ${with_xinput2+y}
4514 then :
4515 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
4519 # Check whether --with-xrandr was given.
4520 if test ${with_xrandr+y}
4521 then :
4522 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
4526 # Check whether --with-xrender was given.
4527 if test ${with_xrender+y}
4528 then :
4529 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
4533 # Check whether --with-xshape was given.
4534 if test ${with_xshape+y}
4535 then :
4536 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
4540 # Check whether --with-xshm was given.
4541 if test ${with_xshm+y}
4542 then :
4543 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
4547 # Check whether --with-xxf86vm was given.
4548 if test ${with_xxf86vm+y}
4549 then :
4550 withval=$with_xxf86vm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_xf86vmode_h=no; ac_cv_header_X11_extensions_xf86vmproto_h=no; fi
4555 # Check whether --with-system-dllpath was given.
4556 if test ${with_system_dllpath+y}
4557 then :
4558 withval=$with_system_dllpath; system_dllpath=$withval
4563 # Check whether --with-wine-tools was given.
4564 if test ${with_wine_tools+y}
4565 then :
4566 withval=$with_wine_tools;
4570 # Check whether --with-wine64 was given.
4571 if test ${with_wine64+y}
4572 then :
4573 withval=$with_wine64;
4580 # Make sure we can run config.sub.
4581 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
4582 as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
4584 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4585 printf %s "checking build system type... " >&6; }
4586 if test ${ac_cv_build+y}
4587 then :
4588 printf %s "(cached) " >&6
4589 else $as_nop
4590 ac_build_alias=$build_alias
4591 test "x$ac_build_alias" = x &&
4592 ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
4593 test "x$ac_build_alias" = x &&
4594 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4595 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
4596 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
4599 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4600 printf "%s\n" "$ac_cv_build" >&6; }
4601 case $ac_cv_build in
4602 *-*-*) ;;
4603 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4604 esac
4605 build=$ac_cv_build
4606 ac_save_IFS=$IFS; IFS='-'
4607 set x $ac_cv_build
4608 shift
4609 build_cpu=$1
4610 build_vendor=$2
4611 shift; shift
4612 # Remember, the first character of IFS is used to create $*,
4613 # except with old shells:
4614 build_os=$*
4615 IFS=$ac_save_IFS
4616 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4619 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4620 printf %s "checking host system type... " >&6; }
4621 if test ${ac_cv_host+y}
4622 then :
4623 printf %s "(cached) " >&6
4624 else $as_nop
4625 if test "x$host_alias" = x; then
4626 ac_cv_host=$ac_cv_build
4627 else
4628 ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
4629 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
4633 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4634 printf "%s\n" "$ac_cv_host" >&6; }
4635 case $ac_cv_host in
4636 *-*-*) ;;
4637 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4638 esac
4639 host=$ac_cv_host
4640 ac_save_IFS=$IFS; IFS='-'
4641 set x $ac_cv_host
4642 shift
4643 host_cpu=$1
4644 host_vendor=$2
4645 shift; shift
4646 # Remember, the first character of IFS is used to create $*,
4647 # except with old shells:
4648 host_os=$*
4649 IFS=$ac_save_IFS
4650 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4654 dlldir=\${libdir}/wine
4656 fontdir=\${datadir}/wine/fonts
4658 nlsdir=\${datadir}/wine/nls
4663 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4664 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4665 set x ${MAKE-make}
4666 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4667 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
4668 then :
4669 printf %s "(cached) " >&6
4670 else $as_nop
4671 cat >conftest.make <<\_ACEOF
4672 SHELL = /bin/sh
4673 all:
4674 @echo '@@@%%%=$(MAKE)=@@@%%%'
4675 _ACEOF
4676 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4677 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4678 *@@@%%%=?*=@@@%%%*)
4679 eval ac_cv_prog_make_${ac_make}_set=yes;;
4681 eval ac_cv_prog_make_${ac_make}_set=no;;
4682 esac
4683 rm -f conftest.make
4685 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4686 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4687 printf "%s\n" "yes" >&6; }
4688 SET_MAKE=
4689 else
4690 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4691 printf "%s\n" "no" >&6; }
4692 SET_MAKE="MAKE=${MAKE-make}"
4704 ac_ext=c
4705 ac_cpp='$CPP $CPPFLAGS'
4706 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4707 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4708 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4709 if test -n "$ac_tool_prefix"; then
4710 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4711 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4712 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4713 printf %s "checking for $ac_word... " >&6; }
4714 if test ${ac_cv_prog_CC+y}
4715 then :
4716 printf %s "(cached) " >&6
4717 else $as_nop
4718 if test -n "$CC"; then
4719 ac_cv_prog_CC="$CC" # Let the user override the test.
4720 else
4721 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4722 for as_dir in $PATH
4724 IFS=$as_save_IFS
4725 case $as_dir in #(((
4726 '') as_dir=./ ;;
4727 */) ;;
4728 *) as_dir=$as_dir/ ;;
4729 esac
4730 for ac_exec_ext in '' $ac_executable_extensions; do
4731 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4732 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4733 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4734 break 2
4736 done
4737 done
4738 IFS=$as_save_IFS
4742 CC=$ac_cv_prog_CC
4743 if test -n "$CC"; then
4744 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4745 printf "%s\n" "$CC" >&6; }
4746 else
4747 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4748 printf "%s\n" "no" >&6; }
4753 if test -z "$ac_cv_prog_CC"; then
4754 ac_ct_CC=$CC
4755 # Extract the first word of "gcc", so it can be a program name with args.
4756 set dummy gcc; ac_word=$2
4757 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4758 printf %s "checking for $ac_word... " >&6; }
4759 if test ${ac_cv_prog_ac_ct_CC+y}
4760 then :
4761 printf %s "(cached) " >&6
4762 else $as_nop
4763 if test -n "$ac_ct_CC"; then
4764 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4765 else
4766 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4767 for as_dir in $PATH
4769 IFS=$as_save_IFS
4770 case $as_dir in #(((
4771 '') as_dir=./ ;;
4772 */) ;;
4773 *) as_dir=$as_dir/ ;;
4774 esac
4775 for ac_exec_ext in '' $ac_executable_extensions; do
4776 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4777 ac_cv_prog_ac_ct_CC="gcc"
4778 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4779 break 2
4781 done
4782 done
4783 IFS=$as_save_IFS
4787 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4788 if test -n "$ac_ct_CC"; then
4789 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4790 printf "%s\n" "$ac_ct_CC" >&6; }
4791 else
4792 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4793 printf "%s\n" "no" >&6; }
4796 if test "x$ac_ct_CC" = x; then
4797 CC=""
4798 else
4799 case $cross_compiling:$ac_tool_warned in
4800 yes:)
4801 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4802 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4803 ac_tool_warned=yes ;;
4804 esac
4805 CC=$ac_ct_CC
4807 else
4808 CC="$ac_cv_prog_CC"
4811 if test -z "$CC"; then
4812 if test -n "$ac_tool_prefix"; then
4813 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4814 set dummy ${ac_tool_prefix}cc; ac_word=$2
4815 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4816 printf %s "checking for $ac_word... " >&6; }
4817 if test ${ac_cv_prog_CC+y}
4818 then :
4819 printf %s "(cached) " >&6
4820 else $as_nop
4821 if test -n "$CC"; then
4822 ac_cv_prog_CC="$CC" # Let the user override the test.
4823 else
4824 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4825 for as_dir in $PATH
4827 IFS=$as_save_IFS
4828 case $as_dir in #(((
4829 '') as_dir=./ ;;
4830 */) ;;
4831 *) as_dir=$as_dir/ ;;
4832 esac
4833 for ac_exec_ext in '' $ac_executable_extensions; do
4834 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4835 ac_cv_prog_CC="${ac_tool_prefix}cc"
4836 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4837 break 2
4839 done
4840 done
4841 IFS=$as_save_IFS
4845 CC=$ac_cv_prog_CC
4846 if test -n "$CC"; then
4847 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4848 printf "%s\n" "$CC" >&6; }
4849 else
4850 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4851 printf "%s\n" "no" >&6; }
4857 if test -z "$CC"; then
4858 # Extract the first word of "cc", so it can be a program name with args.
4859 set dummy cc; ac_word=$2
4860 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4861 printf %s "checking for $ac_word... " >&6; }
4862 if test ${ac_cv_prog_CC+y}
4863 then :
4864 printf %s "(cached) " >&6
4865 else $as_nop
4866 if test -n "$CC"; then
4867 ac_cv_prog_CC="$CC" # Let the user override the test.
4868 else
4869 ac_prog_rejected=no
4870 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4871 for as_dir in $PATH
4873 IFS=$as_save_IFS
4874 case $as_dir in #(((
4875 '') as_dir=./ ;;
4876 */) ;;
4877 *) as_dir=$as_dir/ ;;
4878 esac
4879 for ac_exec_ext in '' $ac_executable_extensions; do
4880 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4881 if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4882 ac_prog_rejected=yes
4883 continue
4885 ac_cv_prog_CC="cc"
4886 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4887 break 2
4889 done
4890 done
4891 IFS=$as_save_IFS
4893 if test $ac_prog_rejected = yes; then
4894 # We found a bogon in the path, so make sure we never use it.
4895 set dummy $ac_cv_prog_CC
4896 shift
4897 if test $# != 0; then
4898 # We chose a different compiler from the bogus one.
4899 # However, it has the same basename, so the bogon will be chosen
4900 # first if we set CC to just the basename; use the full file name.
4901 shift
4902 ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
4907 CC=$ac_cv_prog_CC
4908 if test -n "$CC"; then
4909 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4910 printf "%s\n" "$CC" >&6; }
4911 else
4912 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4913 printf "%s\n" "no" >&6; }
4918 if test -z "$CC"; then
4919 if test -n "$ac_tool_prefix"; then
4920 for ac_prog in cl.exe
4922 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4923 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4924 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4925 printf %s "checking for $ac_word... " >&6; }
4926 if test ${ac_cv_prog_CC+y}
4927 then :
4928 printf %s "(cached) " >&6
4929 else $as_nop
4930 if test -n "$CC"; then
4931 ac_cv_prog_CC="$CC" # Let the user override the test.
4932 else
4933 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4934 for as_dir in $PATH
4936 IFS=$as_save_IFS
4937 case $as_dir in #(((
4938 '') as_dir=./ ;;
4939 */) ;;
4940 *) as_dir=$as_dir/ ;;
4941 esac
4942 for ac_exec_ext in '' $ac_executable_extensions; do
4943 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4944 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4945 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4946 break 2
4948 done
4949 done
4950 IFS=$as_save_IFS
4954 CC=$ac_cv_prog_CC
4955 if test -n "$CC"; then
4956 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4957 printf "%s\n" "$CC" >&6; }
4958 else
4959 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4960 printf "%s\n" "no" >&6; }
4964 test -n "$CC" && break
4965 done
4967 if test -z "$CC"; then
4968 ac_ct_CC=$CC
4969 for ac_prog in cl.exe
4971 # Extract the first word of "$ac_prog", so it can be a program name with args.
4972 set dummy $ac_prog; ac_word=$2
4973 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4974 printf %s "checking for $ac_word... " >&6; }
4975 if test ${ac_cv_prog_ac_ct_CC+y}
4976 then :
4977 printf %s "(cached) " >&6
4978 else $as_nop
4979 if test -n "$ac_ct_CC"; then
4980 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4981 else
4982 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4983 for as_dir in $PATH
4985 IFS=$as_save_IFS
4986 case $as_dir in #(((
4987 '') as_dir=./ ;;
4988 */) ;;
4989 *) as_dir=$as_dir/ ;;
4990 esac
4991 for ac_exec_ext in '' $ac_executable_extensions; do
4992 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4993 ac_cv_prog_ac_ct_CC="$ac_prog"
4994 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4995 break 2
4997 done
4998 done
4999 IFS=$as_save_IFS
5003 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5004 if test -n "$ac_ct_CC"; then
5005 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5006 printf "%s\n" "$ac_ct_CC" >&6; }
5007 else
5008 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5009 printf "%s\n" "no" >&6; }
5013 test -n "$ac_ct_CC" && break
5014 done
5016 if test "x$ac_ct_CC" = x; then
5017 CC=""
5018 else
5019 case $cross_compiling:$ac_tool_warned in
5020 yes:)
5021 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5022 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5023 ac_tool_warned=yes ;;
5024 esac
5025 CC=$ac_ct_CC
5030 if test -z "$CC"; then
5031 if test -n "$ac_tool_prefix"; then
5032 # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
5033 set dummy ${ac_tool_prefix}clang; ac_word=$2
5034 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5035 printf %s "checking for $ac_word... " >&6; }
5036 if test ${ac_cv_prog_CC+y}
5037 then :
5038 printf %s "(cached) " >&6
5039 else $as_nop
5040 if test -n "$CC"; then
5041 ac_cv_prog_CC="$CC" # Let the user override the test.
5042 else
5043 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5044 for as_dir in $PATH
5046 IFS=$as_save_IFS
5047 case $as_dir in #(((
5048 '') as_dir=./ ;;
5049 */) ;;
5050 *) as_dir=$as_dir/ ;;
5051 esac
5052 for ac_exec_ext in '' $ac_executable_extensions; do
5053 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5054 ac_cv_prog_CC="${ac_tool_prefix}clang"
5055 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5056 break 2
5058 done
5059 done
5060 IFS=$as_save_IFS
5064 CC=$ac_cv_prog_CC
5065 if test -n "$CC"; then
5066 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5067 printf "%s\n" "$CC" >&6; }
5068 else
5069 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5070 printf "%s\n" "no" >&6; }
5075 if test -z "$ac_cv_prog_CC"; then
5076 ac_ct_CC=$CC
5077 # Extract the first word of "clang", so it can be a program name with args.
5078 set dummy clang; ac_word=$2
5079 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5080 printf %s "checking for $ac_word... " >&6; }
5081 if test ${ac_cv_prog_ac_ct_CC+y}
5082 then :
5083 printf %s "(cached) " >&6
5084 else $as_nop
5085 if test -n "$ac_ct_CC"; then
5086 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5087 else
5088 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5089 for as_dir in $PATH
5091 IFS=$as_save_IFS
5092 case $as_dir in #(((
5093 '') as_dir=./ ;;
5094 */) ;;
5095 *) as_dir=$as_dir/ ;;
5096 esac
5097 for ac_exec_ext in '' $ac_executable_extensions; do
5098 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5099 ac_cv_prog_ac_ct_CC="clang"
5100 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5101 break 2
5103 done
5104 done
5105 IFS=$as_save_IFS
5109 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5110 if test -n "$ac_ct_CC"; then
5111 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5112 printf "%s\n" "$ac_ct_CC" >&6; }
5113 else
5114 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5115 printf "%s\n" "no" >&6; }
5118 if test "x$ac_ct_CC" = x; then
5119 CC=""
5120 else
5121 case $cross_compiling:$ac_tool_warned in
5122 yes:)
5123 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5124 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5125 ac_tool_warned=yes ;;
5126 esac
5127 CC=$ac_ct_CC
5129 else
5130 CC="$ac_cv_prog_CC"
5136 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5137 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5138 as_fn_error $? "no acceptable C compiler found in \$PATH
5139 See \`config.log' for more details" "$LINENO" 5; }
5141 # Provide some information about the compiler.
5142 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5143 set X $ac_compile
5144 ac_compiler=$2
5145 for ac_option in --version -v -V -qversion -version; do
5146 { { ac_try="$ac_compiler $ac_option >&5"
5147 case "(($ac_try" in
5148 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5149 *) ac_try_echo=$ac_try;;
5150 esac
5151 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5152 printf "%s\n" "$ac_try_echo"; } >&5
5153 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5154 ac_status=$?
5155 if test -s conftest.err; then
5156 sed '10a\
5157 ... rest of stderr output deleted ...
5158 10q' conftest.err >conftest.er1
5159 cat conftest.er1 >&5
5161 rm -f conftest.er1 conftest.err
5162 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5163 test $ac_status = 0; }
5164 done
5166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5167 /* end confdefs.h. */
5170 main (void)
5174 return 0;
5176 _ACEOF
5177 ac_clean_files_save=$ac_clean_files
5178 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
5179 # Try to create an executable without -o first, disregard a.out.
5180 # It will help us diagnose broken compilers, and finding out an intuition
5181 # of exeext.
5182 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
5183 printf %s "checking whether the C compiler works... " >&6; }
5184 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
5186 # The possible output files:
5187 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
5189 ac_rmfiles=
5190 for ac_file in $ac_files
5192 case $ac_file in
5193 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5194 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
5195 esac
5196 done
5197 rm -f $ac_rmfiles
5199 if { { ac_try="$ac_link_default"
5200 case "(($ac_try" in
5201 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5202 *) ac_try_echo=$ac_try;;
5203 esac
5204 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5205 printf "%s\n" "$ac_try_echo"; } >&5
5206 (eval "$ac_link_default") 2>&5
5207 ac_status=$?
5208 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5209 test $ac_status = 0; }
5210 then :
5211 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
5212 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
5213 # in a Makefile. We should not override ac_cv_exeext if it was cached,
5214 # so that the user can short-circuit this test for compilers unknown to
5215 # Autoconf.
5216 for ac_file in $ac_files ''
5218 test -f "$ac_file" || continue
5219 case $ac_file in
5220 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
5222 [ab].out )
5223 # We found the default executable, but exeext='' is most
5224 # certainly right.
5225 break;;
5226 *.* )
5227 if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
5228 then :; else
5229 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
5231 # We set ac_cv_exeext here because the later test for it is not
5232 # safe: cross compilers may not add the suffix if given an `-o'
5233 # argument, so we may need to know it at that point already.
5234 # Even if this section looks crufty: it has the advantage of
5235 # actually working.
5236 break;;
5238 break;;
5239 esac
5240 done
5241 test "$ac_cv_exeext" = no && ac_cv_exeext=
5243 else $as_nop
5244 ac_file=''
5246 if test -z "$ac_file"
5247 then :
5248 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5249 printf "%s\n" "no" >&6; }
5250 printf "%s\n" "$as_me: failed program was:" >&5
5251 sed 's/^/| /' conftest.$ac_ext >&5
5253 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5254 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5255 as_fn_error 77 "C compiler cannot create executables
5256 See \`config.log' for more details" "$LINENO" 5; }
5257 else $as_nop
5258 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5259 printf "%s\n" "yes" >&6; }
5261 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
5262 printf %s "checking for C compiler default output file name... " >&6; }
5263 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
5264 printf "%s\n" "$ac_file" >&6; }
5265 ac_exeext=$ac_cv_exeext
5267 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
5268 ac_clean_files=$ac_clean_files_save
5269 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
5270 printf %s "checking for suffix of executables... " >&6; }
5271 if { { ac_try="$ac_link"
5272 case "(($ac_try" in
5273 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5274 *) ac_try_echo=$ac_try;;
5275 esac
5276 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5277 printf "%s\n" "$ac_try_echo"; } >&5
5278 (eval "$ac_link") 2>&5
5279 ac_status=$?
5280 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5281 test $ac_status = 0; }
5282 then :
5283 # If both `conftest.exe' and `conftest' are `present' (well, observable)
5284 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
5285 # work properly (i.e., refer to `conftest.exe'), while it won't with
5286 # `rm'.
5287 for ac_file in conftest.exe conftest conftest.*; do
5288 test -f "$ac_file" || continue
5289 case $ac_file in
5290 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5291 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
5292 break;;
5293 * ) break;;
5294 esac
5295 done
5296 else $as_nop
5297 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5298 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5299 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
5300 See \`config.log' for more details" "$LINENO" 5; }
5302 rm -f conftest conftest$ac_cv_exeext
5303 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
5304 printf "%s\n" "$ac_cv_exeext" >&6; }
5306 rm -f conftest.$ac_ext
5307 EXEEXT=$ac_cv_exeext
5308 ac_exeext=$EXEEXT
5309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5310 /* end confdefs.h. */
5311 #include <stdio.h>
5313 main (void)
5315 FILE *f = fopen ("conftest.out", "w");
5316 return ferror (f) || fclose (f) != 0;
5319 return 0;
5321 _ACEOF
5322 ac_clean_files="$ac_clean_files conftest.out"
5323 # Check that the compiler produces executables we can run. If not, either
5324 # the compiler is broken, or we cross compile.
5325 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
5326 printf %s "checking whether we are cross compiling... " >&6; }
5327 if test "$cross_compiling" != yes; then
5328 { { ac_try="$ac_link"
5329 case "(($ac_try" in
5330 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5331 *) ac_try_echo=$ac_try;;
5332 esac
5333 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5334 printf "%s\n" "$ac_try_echo"; } >&5
5335 (eval "$ac_link") 2>&5
5336 ac_status=$?
5337 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5338 test $ac_status = 0; }
5339 if { ac_try='./conftest$ac_cv_exeext'
5340 { { case "(($ac_try" in
5341 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5342 *) ac_try_echo=$ac_try;;
5343 esac
5344 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5345 printf "%s\n" "$ac_try_echo"; } >&5
5346 (eval "$ac_try") 2>&5
5347 ac_status=$?
5348 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5349 test $ac_status = 0; }; }; then
5350 cross_compiling=no
5351 else
5352 if test "$cross_compiling" = maybe; then
5353 cross_compiling=yes
5354 else
5355 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5356 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5357 as_fn_error 77 "cannot run C compiled programs.
5358 If you meant to cross compile, use \`--host'.
5359 See \`config.log' for more details" "$LINENO" 5; }
5363 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
5364 printf "%s\n" "$cross_compiling" >&6; }
5366 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
5367 ac_clean_files=$ac_clean_files_save
5368 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
5369 printf %s "checking for suffix of object files... " >&6; }
5370 if test ${ac_cv_objext+y}
5371 then :
5372 printf %s "(cached) " >&6
5373 else $as_nop
5374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5375 /* end confdefs.h. */
5378 main (void)
5382 return 0;
5384 _ACEOF
5385 rm -f conftest.o conftest.obj
5386 if { { ac_try="$ac_compile"
5387 case "(($ac_try" in
5388 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5389 *) ac_try_echo=$ac_try;;
5390 esac
5391 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5392 printf "%s\n" "$ac_try_echo"; } >&5
5393 (eval "$ac_compile") 2>&5
5394 ac_status=$?
5395 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5396 test $ac_status = 0; }
5397 then :
5398 for ac_file in conftest.o conftest.obj conftest.*; do
5399 test -f "$ac_file" || continue;
5400 case $ac_file in
5401 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
5402 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
5403 break;;
5404 esac
5405 done
5406 else $as_nop
5407 printf "%s\n" "$as_me: failed program was:" >&5
5408 sed 's/^/| /' conftest.$ac_ext >&5
5410 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5411 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5412 as_fn_error $? "cannot compute suffix of object files: cannot compile
5413 See \`config.log' for more details" "$LINENO" 5; }
5415 rm -f conftest.$ac_cv_objext conftest.$ac_ext
5417 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
5418 printf "%s\n" "$ac_cv_objext" >&6; }
5419 OBJEXT=$ac_cv_objext
5420 ac_objext=$OBJEXT
5421 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
5422 printf %s "checking whether the compiler supports GNU C... " >&6; }
5423 if test ${ac_cv_c_compiler_gnu+y}
5424 then :
5425 printf %s "(cached) " >&6
5426 else $as_nop
5427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5428 /* end confdefs.h. */
5431 main (void)
5433 #ifndef __GNUC__
5434 choke me
5435 #endif
5438 return 0;
5440 _ACEOF
5441 if ac_fn_c_try_compile "$LINENO"
5442 then :
5443 ac_compiler_gnu=yes
5444 else $as_nop
5445 ac_compiler_gnu=no
5447 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5448 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5451 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5452 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
5453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5455 if test $ac_compiler_gnu = yes; then
5456 GCC=yes
5457 else
5458 GCC=
5460 ac_test_CFLAGS=${CFLAGS+y}
5461 ac_save_CFLAGS=$CFLAGS
5462 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5463 printf %s "checking whether $CC accepts -g... " >&6; }
5464 if test ${ac_cv_prog_cc_g+y}
5465 then :
5466 printf %s "(cached) " >&6
5467 else $as_nop
5468 ac_save_c_werror_flag=$ac_c_werror_flag
5469 ac_c_werror_flag=yes
5470 ac_cv_prog_cc_g=no
5471 CFLAGS="-g"
5472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5473 /* end confdefs.h. */
5476 main (void)
5480 return 0;
5482 _ACEOF
5483 if ac_fn_c_try_compile "$LINENO"
5484 then :
5485 ac_cv_prog_cc_g=yes
5486 else $as_nop
5487 CFLAGS=""
5488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5489 /* end confdefs.h. */
5492 main (void)
5496 return 0;
5498 _ACEOF
5499 if ac_fn_c_try_compile "$LINENO"
5500 then :
5502 else $as_nop
5503 ac_c_werror_flag=$ac_save_c_werror_flag
5504 CFLAGS="-g"
5505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5506 /* end confdefs.h. */
5509 main (void)
5513 return 0;
5515 _ACEOF
5516 if ac_fn_c_try_compile "$LINENO"
5517 then :
5518 ac_cv_prog_cc_g=yes
5520 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5522 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5524 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5525 ac_c_werror_flag=$ac_save_c_werror_flag
5527 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5528 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
5529 if test $ac_test_CFLAGS; then
5530 CFLAGS=$ac_save_CFLAGS
5531 elif test $ac_cv_prog_cc_g = yes; then
5532 if test "$GCC" = yes; then
5533 CFLAGS="-g -O2"
5534 else
5535 CFLAGS="-g"
5537 else
5538 if test "$GCC" = yes; then
5539 CFLAGS="-O2"
5540 else
5541 CFLAGS=
5544 ac_prog_cc_stdc=no
5545 if test x$ac_prog_cc_stdc = xno
5546 then :
5547 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
5548 printf %s "checking for $CC option to enable C11 features... " >&6; }
5549 if test ${ac_cv_prog_cc_c11+y}
5550 then :
5551 printf %s "(cached) " >&6
5552 else $as_nop
5553 ac_cv_prog_cc_c11=no
5554 ac_save_CC=$CC
5555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5556 /* end confdefs.h. */
5557 $ac_c_conftest_c11_program
5558 _ACEOF
5559 for ac_arg in '' -std=gnu11
5561 CC="$ac_save_CC $ac_arg"
5562 if ac_fn_c_try_compile "$LINENO"
5563 then :
5564 ac_cv_prog_cc_c11=$ac_arg
5566 rm -f core conftest.err conftest.$ac_objext conftest.beam
5567 test "x$ac_cv_prog_cc_c11" != "xno" && break
5568 done
5569 rm -f conftest.$ac_ext
5570 CC=$ac_save_CC
5573 if test "x$ac_cv_prog_cc_c11" = xno
5574 then :
5575 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5576 printf "%s\n" "unsupported" >&6; }
5577 else $as_nop
5578 if test "x$ac_cv_prog_cc_c11" = x
5579 then :
5580 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5581 printf "%s\n" "none needed" >&6; }
5582 else $as_nop
5583 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
5584 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
5585 CC="$CC $ac_cv_prog_cc_c11"
5587 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
5588 ac_prog_cc_stdc=c11
5591 if test x$ac_prog_cc_stdc = xno
5592 then :
5593 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
5594 printf %s "checking for $CC option to enable C99 features... " >&6; }
5595 if test ${ac_cv_prog_cc_c99+y}
5596 then :
5597 printf %s "(cached) " >&6
5598 else $as_nop
5599 ac_cv_prog_cc_c99=no
5600 ac_save_CC=$CC
5601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5602 /* end confdefs.h. */
5603 $ac_c_conftest_c99_program
5604 _ACEOF
5605 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
5607 CC="$ac_save_CC $ac_arg"
5608 if ac_fn_c_try_compile "$LINENO"
5609 then :
5610 ac_cv_prog_cc_c99=$ac_arg
5612 rm -f core conftest.err conftest.$ac_objext conftest.beam
5613 test "x$ac_cv_prog_cc_c99" != "xno" && break
5614 done
5615 rm -f conftest.$ac_ext
5616 CC=$ac_save_CC
5619 if test "x$ac_cv_prog_cc_c99" = xno
5620 then :
5621 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5622 printf "%s\n" "unsupported" >&6; }
5623 else $as_nop
5624 if test "x$ac_cv_prog_cc_c99" = x
5625 then :
5626 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5627 printf "%s\n" "none needed" >&6; }
5628 else $as_nop
5629 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
5630 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
5631 CC="$CC $ac_cv_prog_cc_c99"
5633 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
5634 ac_prog_cc_stdc=c99
5637 if test x$ac_prog_cc_stdc = xno
5638 then :
5639 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
5640 printf %s "checking for $CC option to enable C89 features... " >&6; }
5641 if test ${ac_cv_prog_cc_c89+y}
5642 then :
5643 printf %s "(cached) " >&6
5644 else $as_nop
5645 ac_cv_prog_cc_c89=no
5646 ac_save_CC=$CC
5647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5648 /* end confdefs.h. */
5649 $ac_c_conftest_c89_program
5650 _ACEOF
5651 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5653 CC="$ac_save_CC $ac_arg"
5654 if ac_fn_c_try_compile "$LINENO"
5655 then :
5656 ac_cv_prog_cc_c89=$ac_arg
5658 rm -f core conftest.err conftest.$ac_objext conftest.beam
5659 test "x$ac_cv_prog_cc_c89" != "xno" && break
5660 done
5661 rm -f conftest.$ac_ext
5662 CC=$ac_save_CC
5665 if test "x$ac_cv_prog_cc_c89" = xno
5666 then :
5667 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5668 printf "%s\n" "unsupported" >&6; }
5669 else $as_nop
5670 if test "x$ac_cv_prog_cc_c89" = x
5671 then :
5672 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5673 printf "%s\n" "none needed" >&6; }
5674 else $as_nop
5675 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5676 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
5677 CC="$CC $ac_cv_prog_cc_c89"
5679 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
5680 ac_prog_cc_stdc=c89
5684 ac_ext=c
5685 ac_cpp='$CPP $CPPFLAGS'
5686 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5687 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5688 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5696 ac_ext=cpp
5697 ac_cpp='$CXXCPP $CPPFLAGS'
5698 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5699 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5700 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5701 if test -z "$CXX"; then
5702 if test -n "$CCC"; then
5703 CXX=$CCC
5704 else
5705 if test -n "$ac_tool_prefix"; then
5706 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5708 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5709 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5710 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5711 printf %s "checking for $ac_word... " >&6; }
5712 if test ${ac_cv_prog_CXX+y}
5713 then :
5714 printf %s "(cached) " >&6
5715 else $as_nop
5716 if test -n "$CXX"; then
5717 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5718 else
5719 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5720 for as_dir in $PATH
5722 IFS=$as_save_IFS
5723 case $as_dir in #(((
5724 '') as_dir=./ ;;
5725 */) ;;
5726 *) as_dir=$as_dir/ ;;
5727 esac
5728 for ac_exec_ext in '' $ac_executable_extensions; do
5729 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5730 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5731 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5732 break 2
5734 done
5735 done
5736 IFS=$as_save_IFS
5740 CXX=$ac_cv_prog_CXX
5741 if test -n "$CXX"; then
5742 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5743 printf "%s\n" "$CXX" >&6; }
5744 else
5745 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5746 printf "%s\n" "no" >&6; }
5750 test -n "$CXX" && break
5751 done
5753 if test -z "$CXX"; then
5754 ac_ct_CXX=$CXX
5755 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5757 # Extract the first word of "$ac_prog", so it can be a program name with args.
5758 set dummy $ac_prog; ac_word=$2
5759 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5760 printf %s "checking for $ac_word... " >&6; }
5761 if test ${ac_cv_prog_ac_ct_CXX+y}
5762 then :
5763 printf %s "(cached) " >&6
5764 else $as_nop
5765 if test -n "$ac_ct_CXX"; then
5766 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5767 else
5768 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5769 for as_dir in $PATH
5771 IFS=$as_save_IFS
5772 case $as_dir in #(((
5773 '') as_dir=./ ;;
5774 */) ;;
5775 *) as_dir=$as_dir/ ;;
5776 esac
5777 for ac_exec_ext in '' $ac_executable_extensions; do
5778 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5779 ac_cv_prog_ac_ct_CXX="$ac_prog"
5780 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5781 break 2
5783 done
5784 done
5785 IFS=$as_save_IFS
5789 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5790 if test -n "$ac_ct_CXX"; then
5791 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5792 printf "%s\n" "$ac_ct_CXX" >&6; }
5793 else
5794 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5795 printf "%s\n" "no" >&6; }
5799 test -n "$ac_ct_CXX" && break
5800 done
5802 if test "x$ac_ct_CXX" = x; then
5803 CXX="g++"
5804 else
5805 case $cross_compiling:$ac_tool_warned in
5806 yes:)
5807 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5808 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5809 ac_tool_warned=yes ;;
5810 esac
5811 CXX=$ac_ct_CXX
5817 # Provide some information about the compiler.
5818 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5819 set X $ac_compile
5820 ac_compiler=$2
5821 for ac_option in --version -v -V -qversion; do
5822 { { ac_try="$ac_compiler $ac_option >&5"
5823 case "(($ac_try" in
5824 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5825 *) ac_try_echo=$ac_try;;
5826 esac
5827 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5828 printf "%s\n" "$ac_try_echo"; } >&5
5829 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5830 ac_status=$?
5831 if test -s conftest.err; then
5832 sed '10a\
5833 ... rest of stderr output deleted ...
5834 10q' conftest.err >conftest.er1
5835 cat conftest.er1 >&5
5837 rm -f conftest.er1 conftest.err
5838 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5839 test $ac_status = 0; }
5840 done
5842 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C++" >&5
5843 printf %s "checking whether the compiler supports GNU C++... " >&6; }
5844 if test ${ac_cv_cxx_compiler_gnu+y}
5845 then :
5846 printf %s "(cached) " >&6
5847 else $as_nop
5848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5849 /* end confdefs.h. */
5852 main (void)
5854 #ifndef __GNUC__
5855 choke me
5856 #endif
5859 return 0;
5861 _ACEOF
5862 if ac_fn_cxx_try_compile "$LINENO"
5863 then :
5864 ac_compiler_gnu=yes
5865 else $as_nop
5866 ac_compiler_gnu=no
5868 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5869 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5872 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5873 printf "%s\n" "$ac_cv_cxx_compiler_gnu" >&6; }
5874 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5876 if test $ac_compiler_gnu = yes; then
5877 GXX=yes
5878 else
5879 GXX=
5881 ac_test_CXXFLAGS=${CXXFLAGS+y}
5882 ac_save_CXXFLAGS=$CXXFLAGS
5883 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5884 printf %s "checking whether $CXX accepts -g... " >&6; }
5885 if test ${ac_cv_prog_cxx_g+y}
5886 then :
5887 printf %s "(cached) " >&6
5888 else $as_nop
5889 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5890 ac_cxx_werror_flag=yes
5891 ac_cv_prog_cxx_g=no
5892 CXXFLAGS="-g"
5893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5894 /* end confdefs.h. */
5897 main (void)
5901 return 0;
5903 _ACEOF
5904 if ac_fn_cxx_try_compile "$LINENO"
5905 then :
5906 ac_cv_prog_cxx_g=yes
5907 else $as_nop
5908 CXXFLAGS=""
5909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5910 /* end confdefs.h. */
5913 main (void)
5917 return 0;
5919 _ACEOF
5920 if ac_fn_cxx_try_compile "$LINENO"
5921 then :
5923 else $as_nop
5924 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5925 CXXFLAGS="-g"
5926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5927 /* end confdefs.h. */
5930 main (void)
5934 return 0;
5936 _ACEOF
5937 if ac_fn_cxx_try_compile "$LINENO"
5938 then :
5939 ac_cv_prog_cxx_g=yes
5941 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5943 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5945 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5946 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5948 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5949 printf "%s\n" "$ac_cv_prog_cxx_g" >&6; }
5950 if test $ac_test_CXXFLAGS; then
5951 CXXFLAGS=$ac_save_CXXFLAGS
5952 elif test $ac_cv_prog_cxx_g = yes; then
5953 if test "$GXX" = yes; then
5954 CXXFLAGS="-g -O2"
5955 else
5956 CXXFLAGS="-g"
5958 else
5959 if test "$GXX" = yes; then
5960 CXXFLAGS="-O2"
5961 else
5962 CXXFLAGS=
5965 ac_prog_cxx_stdcxx=no
5966 if test x$ac_prog_cxx_stdcxx = xno
5967 then :
5968 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++11 features" >&5
5969 printf %s "checking for $CXX option to enable C++11 features... " >&6; }
5970 if test ${ac_cv_prog_cxx_cxx11+y}
5971 then :
5972 printf %s "(cached) " >&6
5973 else $as_nop
5974 ac_cv_prog_cxx_cxx11=no
5975 ac_save_CXX=$CXX
5976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5977 /* end confdefs.h. */
5978 $ac_cxx_conftest_cxx11_program
5979 _ACEOF
5980 for ac_arg in '' -std=gnu++11 -std=gnu++0x -std=c++11 -std=c++0x -qlanglvl=extended0x -AA
5982 CXX="$ac_save_CXX $ac_arg"
5983 if ac_fn_cxx_try_compile "$LINENO"
5984 then :
5985 ac_cv_prog_cxx_cxx11=$ac_arg
5987 rm -f core conftest.err conftest.$ac_objext conftest.beam
5988 test "x$ac_cv_prog_cxx_cxx11" != "xno" && break
5989 done
5990 rm -f conftest.$ac_ext
5991 CXX=$ac_save_CXX
5994 if test "x$ac_cv_prog_cxx_cxx11" = xno
5995 then :
5996 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5997 printf "%s\n" "unsupported" >&6; }
5998 else $as_nop
5999 if test "x$ac_cv_prog_cxx_cxx11" = x
6000 then :
6001 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
6002 printf "%s\n" "none needed" >&6; }
6003 else $as_nop
6004 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx11" >&5
6005 printf "%s\n" "$ac_cv_prog_cxx_cxx11" >&6; }
6006 CXX="$CXX $ac_cv_prog_cxx_cxx11"
6008 ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx11
6009 ac_prog_cxx_stdcxx=cxx11
6012 if test x$ac_prog_cxx_stdcxx = xno
6013 then :
6014 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++98 features" >&5
6015 printf %s "checking for $CXX option to enable C++98 features... " >&6; }
6016 if test ${ac_cv_prog_cxx_cxx98+y}
6017 then :
6018 printf %s "(cached) " >&6
6019 else $as_nop
6020 ac_cv_prog_cxx_cxx98=no
6021 ac_save_CXX=$CXX
6022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6023 /* end confdefs.h. */
6024 $ac_cxx_conftest_cxx98_program
6025 _ACEOF
6026 for ac_arg in '' -std=gnu++98 -std=c++98 -qlanglvl=extended -AA
6028 CXX="$ac_save_CXX $ac_arg"
6029 if ac_fn_cxx_try_compile "$LINENO"
6030 then :
6031 ac_cv_prog_cxx_cxx98=$ac_arg
6033 rm -f core conftest.err conftest.$ac_objext conftest.beam
6034 test "x$ac_cv_prog_cxx_cxx98" != "xno" && break
6035 done
6036 rm -f conftest.$ac_ext
6037 CXX=$ac_save_CXX
6040 if test "x$ac_cv_prog_cxx_cxx98" = xno
6041 then :
6042 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
6043 printf "%s\n" "unsupported" >&6; }
6044 else $as_nop
6045 if test "x$ac_cv_prog_cxx_cxx98" = x
6046 then :
6047 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
6048 printf "%s\n" "none needed" >&6; }
6049 else $as_nop
6050 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx98" >&5
6051 printf "%s\n" "$ac_cv_prog_cxx_cxx98" >&6; }
6052 CXX="$CXX $ac_cv_prog_cxx_cxx98"
6054 ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx98
6055 ac_prog_cxx_stdcxx=cxx98
6059 ac_ext=c
6060 ac_cpp='$CPP $CPPFLAGS'
6061 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6062 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6063 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6065 if test -n "$ac_tool_prefix"; then
6066 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
6067 set dummy ${ac_tool_prefix}cpp; ac_word=$2
6068 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6069 printf %s "checking for $ac_word... " >&6; }
6070 if test ${ac_cv_prog_CPPBIN+y}
6071 then :
6072 printf %s "(cached) " >&6
6073 else $as_nop
6074 if test -n "$CPPBIN"; then
6075 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
6076 else
6077 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6078 for as_dir in $PATH
6080 IFS=$as_save_IFS
6081 case $as_dir in #(((
6082 '') as_dir=./ ;;
6083 */) ;;
6084 *) as_dir=$as_dir/ ;;
6085 esac
6086 for ac_exec_ext in '' $ac_executable_extensions; do
6087 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6088 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
6089 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6090 break 2
6092 done
6093 done
6094 IFS=$as_save_IFS
6098 CPPBIN=$ac_cv_prog_CPPBIN
6099 if test -n "$CPPBIN"; then
6100 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
6101 printf "%s\n" "$CPPBIN" >&6; }
6102 else
6103 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6104 printf "%s\n" "no" >&6; }
6109 if test -z "$ac_cv_prog_CPPBIN"; then
6110 ac_ct_CPPBIN=$CPPBIN
6111 # Extract the first word of "cpp", so it can be a program name with args.
6112 set dummy cpp; ac_word=$2
6113 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6114 printf %s "checking for $ac_word... " >&6; }
6115 if test ${ac_cv_prog_ac_ct_CPPBIN+y}
6116 then :
6117 printf %s "(cached) " >&6
6118 else $as_nop
6119 if test -n "$ac_ct_CPPBIN"; then
6120 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
6121 else
6122 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6123 for as_dir in $PATH
6125 IFS=$as_save_IFS
6126 case $as_dir in #(((
6127 '') as_dir=./ ;;
6128 */) ;;
6129 *) as_dir=$as_dir/ ;;
6130 esac
6131 for ac_exec_ext in '' $ac_executable_extensions; do
6132 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6133 ac_cv_prog_ac_ct_CPPBIN="cpp"
6134 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6135 break 2
6137 done
6138 done
6139 IFS=$as_save_IFS
6143 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
6144 if test -n "$ac_ct_CPPBIN"; then
6145 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
6146 printf "%s\n" "$ac_ct_CPPBIN" >&6; }
6147 else
6148 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6149 printf "%s\n" "no" >&6; }
6152 if test "x$ac_ct_CPPBIN" = x; then
6153 CPPBIN="cpp"
6154 else
6155 case $cross_compiling:$ac_tool_warned in
6156 yes:)
6157 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6158 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6159 ac_tool_warned=yes ;;
6160 esac
6161 CPPBIN=$ac_ct_CPPBIN
6163 else
6164 CPPBIN="$ac_cv_prog_CPPBIN"
6168 printf "%s\n" "#define EXEEXT \"$ac_exeext\"" >>confdefs.h
6170 if test -n "$ac_tool_prefix"; then
6171 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
6172 set dummy ${ac_tool_prefix}ld; ac_word=$2
6173 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6174 printf %s "checking for $ac_word... " >&6; }
6175 if test ${ac_cv_prog_LD+y}
6176 then :
6177 printf %s "(cached) " >&6
6178 else $as_nop
6179 if test -n "$LD"; then
6180 ac_cv_prog_LD="$LD" # Let the user override the test.
6181 else
6182 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6183 for as_dir in $PATH
6185 IFS=$as_save_IFS
6186 case $as_dir in #(((
6187 '') as_dir=./ ;;
6188 */) ;;
6189 *) as_dir=$as_dir/ ;;
6190 esac
6191 for ac_exec_ext in '' $ac_executable_extensions; do
6192 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6193 ac_cv_prog_LD="${ac_tool_prefix}ld"
6194 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6195 break 2
6197 done
6198 done
6199 IFS=$as_save_IFS
6203 LD=$ac_cv_prog_LD
6204 if test -n "$LD"; then
6205 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6206 printf "%s\n" "$LD" >&6; }
6207 else
6208 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6209 printf "%s\n" "no" >&6; }
6214 if test -z "$ac_cv_prog_LD"; then
6215 ac_ct_LD=$LD
6216 # Extract the first word of "ld", so it can be a program name with args.
6217 set dummy ld; ac_word=$2
6218 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6219 printf %s "checking for $ac_word... " >&6; }
6220 if test ${ac_cv_prog_ac_ct_LD+y}
6221 then :
6222 printf %s "(cached) " >&6
6223 else $as_nop
6224 if test -n "$ac_ct_LD"; then
6225 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
6226 else
6227 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6228 for as_dir in $PATH
6230 IFS=$as_save_IFS
6231 case $as_dir in #(((
6232 '') as_dir=./ ;;
6233 */) ;;
6234 *) as_dir=$as_dir/ ;;
6235 esac
6236 for ac_exec_ext in '' $ac_executable_extensions; do
6237 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6238 ac_cv_prog_ac_ct_LD="ld"
6239 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6240 break 2
6242 done
6243 done
6244 IFS=$as_save_IFS
6248 ac_ct_LD=$ac_cv_prog_ac_ct_LD
6249 if test -n "$ac_ct_LD"; then
6250 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
6251 printf "%s\n" "$ac_ct_LD" >&6; }
6252 else
6253 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6254 printf "%s\n" "no" >&6; }
6257 if test "x$ac_ct_LD" = x; then
6258 LD=""
6259 else
6260 case $cross_compiling:$ac_tool_warned in
6261 yes:)
6262 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6263 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6264 ac_tool_warned=yes ;;
6265 esac
6266 LD=$ac_ct_LD
6268 else
6269 LD="$ac_cv_prog_LD"
6273 case $host in
6274 *-darwin*)
6275 with_fontconfig=${with_fontconfig:-no}
6277 *-mingw32*|*-cygwin*)
6278 enable_win16=${enable_win16:-no}
6279 with_mingw=${with_mingw:-no}
6281 esac
6284 case $host in
6285 x86_64*|amd64*)
6286 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes" -a x"$enable_archs" = x
6287 then
6288 CC="$CC -m32"
6289 CXX="$CXX -m32"
6291 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
6292 printf %s "checking whether $CC works... " >&6; }
6293 if test ${wine_cv_cc_m32+y}
6294 then :
6295 printf %s "(cached) " >&6
6296 else $as_nop
6297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6298 /* end confdefs.h. */
6301 main (void)
6305 return 0;
6307 _ACEOF
6308 if ac_fn_c_try_link "$LINENO"
6309 then :
6310 wine_cv_cc_m32=yes
6311 else $as_nop
6312 wine_cv_cc_m32=no
6314 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6315 conftest$ac_exeext conftest.$ac_ext
6317 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_cc_m32" >&5
6318 printf "%s\n" "$wine_cv_cc_m32" >&6; }
6319 test $wine_cv_cc_m32 != no || as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
6320 host_cpu="i386"
6321 notice_platform="32-bit "
6322 TARGETFLAGS="$TARGETFLAGS -m32"
6323 PKG_CONFIG_LIBDIR=${PKG_CONFIG_LIBDIR:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib32/pkgconfig:/usr/lib/pkgconfig}
6324 export PKG_CONFIG_LIBDIR
6325 else
6326 CC="$CC -m64"
6327 CXX="$CXX -m64"
6328 host_cpu="x86_64"
6329 notice_platform="64-bit "
6330 TARGETFLAGS="$TARGETFLAGS -m64"
6333 arm*)
6334 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb-2" >&5
6335 printf %s "checking whether $CC supports Thumb-2... " >&6; }
6336 if test ${wine_cv_thumb2+y}
6337 then :
6338 printf %s "(cached) " >&6
6339 else $as_nop
6340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6341 /* end confdefs.h. */
6344 main (void)
6346 asm(".syntax unified\n\t.thumb\n\tldm r0,{r0-r8}");
6348 return 0;
6350 _ACEOF
6351 if ac_fn_c_try_link "$LINENO"
6352 then :
6353 wine_cv_thumb2=yes
6354 else $as_nop
6355 wine_cv_thumb2=no
6357 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6358 conftest$ac_exeext conftest.$ac_ext
6360 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_thumb2" >&5
6361 printf "%s\n" "$wine_cv_thumb2" >&6; }
6362 if test x"$wine_cv_thumb2" = xyes
6363 then
6364 CFLAGS="$CFLAGS -mthumb"
6365 TARGETFLAGS="$TARGETFLAGS -mthumb"
6366 else
6367 CFLAGS="$CFLAGS -marm"
6368 TARGETFLAGS="$TARGETFLAGS -marm"
6370 case $with_float_abi in
6371 soft|softfp|hard)
6372 float_abi=$with_float_abi ;;
6374 case $host_os in
6375 *eabihf)
6376 float_abi=hard ;;
6378 float_abi=softfp
6379 saved_CFLAGS=$CFLAGS
6380 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
6381 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
6382 printf %s "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
6383 if test ${wine_cv_float_abi+y}
6384 then :
6385 printf %s "(cached) " >&6
6386 else $as_nop
6387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6388 /* end confdefs.h. */
6391 main (void)
6393 asm("vmrs r2,fpscr");
6395 return 0;
6397 _ACEOF
6398 if ac_fn_c_try_link "$LINENO"
6399 then :
6400 wine_cv_float_abi=yes
6401 else $as_nop
6402 wine_cv_float_abi=no
6404 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6405 conftest$ac_exeext conftest.$ac_ext
6407 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_float_abi" >&5
6408 printf "%s\n" "$wine_cv_float_abi" >&6; }
6409 if test $wine_cv_float_abi = no
6410 then
6411 float_abi=soft
6412 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
6414 CFLAGS=$saved_CFLAGS
6415 esac
6417 esac
6418 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
6419 TARGETFLAGS="$TARGETFLAGS -mfloat-abi=$float_abi"
6421 esac
6423 enable_win16=${enable_win16:-i386}
6424 enable_win64=${enable_win64:-no}
6425 enable_wow64=${enable_wow64:-aarch64,x86_64}
6426 enable_wow64win=${enable_wow64win:-aarch64,x86_64}
6427 enable_wow64cpu=${enable_wow64cpu:-x86_64}
6428 enable_vcruntime140_1=${enable_vcruntime140_1:-x86_64,arm64ec}
6430 enable_cmd=${enable_cmd:-yes}
6431 enable_dllhost=${enable_dllhost:-yes}
6432 enable_dpnsvr=${enable_dpnsvr:-i386,x86_64,arm64ec}
6433 enable_dxdiag=${enable_dxdiag:-yes}
6434 enable_msiexec=${enable_msiexec:-yes}
6435 enable_netsh=${enable_netsh:-yes}
6436 enable_regsvr32=${enable_regsvr32:-yes}
6437 enable_rundll32=${enable_rundll32:-yes}
6439 enable_winetest=${enable_winetest:-$enable_tests}
6441 if test "x$enable_win64" = "xyes"
6442 then
6443 test -z "$with_wine64" || as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
6444 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
6447 case $build_os in
6448 cygwin*|mingw32*) toolsext=".exe"
6450 *) toolsext=""
6452 esac
6454 HOST_ARCH=unknown
6455 case "$host_cpu" in
6456 aarch64*) HOST_ARCH=aarch64 ;;
6457 arm*) HOST_ARCH=arm ;;
6458 i[3456789]86*) HOST_ARCH=i386 ;;
6459 x86_64) HOST_ARCH=x86_64 ;;
6460 esac
6463 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
6464 printf %s "checking for the directory containing the Wine tools... " >&6; }
6465 if test ${wine_cv_toolsdir+y}
6466 then :
6467 printf %s "(cached) " >&6
6468 else $as_nop
6469 wine_cv_toolsdir="$with_wine_tools"
6470 if test -z "$with_wine_tools"; then
6471 if test "$cross_compiling" = "yes"; then
6472 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
6473 elif test -n "$with_wine64"; then
6474 wine_cv_toolsdir="$with_wine64"
6478 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
6479 printf "%s\n" "$wine_cv_toolsdir" >&6; }
6480 if test -z "$wine_cv_toolsdir"; then
6481 wine_makedep=tools/makedep$toolsext
6482 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
6483 wine_makedep=$wine_cv_toolsdir/tools/makedep$toolsext
6484 enable_tools=${enable_tools:-no}
6485 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
6486 else
6487 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
6489 toolsdir=$wine_cv_toolsdir
6491 MAKEDEP=$wine_makedep
6493 RUNTESTFLAGS="-q -P wine"
6495 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'"
6498 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
6499 then
6500 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
6503 for ac_prog in flex
6505 # Extract the first word of "$ac_prog", so it can be a program name with args.
6506 set dummy $ac_prog; ac_word=$2
6507 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6508 printf %s "checking for $ac_word... " >&6; }
6509 if test ${ac_cv_prog_FLEX+y}
6510 then :
6511 printf %s "(cached) " >&6
6512 else $as_nop
6513 if test -n "$FLEX"; then
6514 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
6515 else
6516 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6517 for as_dir in $PATH
6519 IFS=$as_save_IFS
6520 case $as_dir in #(((
6521 '') as_dir=./ ;;
6522 */) ;;
6523 *) as_dir=$as_dir/ ;;
6524 esac
6525 for ac_exec_ext in '' $ac_executable_extensions; do
6526 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6527 ac_cv_prog_FLEX="$ac_prog"
6528 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6529 break 2
6531 done
6532 done
6533 IFS=$as_save_IFS
6537 FLEX=$ac_cv_prog_FLEX
6538 if test -n "$FLEX"; then
6539 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
6540 printf "%s\n" "$FLEX" >&6; }
6541 else
6542 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6543 printf "%s\n" "no" >&6; }
6547 test -n "$FLEX" && break
6548 done
6549 test -n "$FLEX" || FLEX="none"
6551 if test "$FLEX" = "none"
6552 then
6553 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
6555 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
6556 printf %s "checking whether flex is recent enough... " >&6; }
6557 if test ${wine_cv_recent_flex+y}
6558 then :
6559 printf %s "(cached) " >&6
6560 else $as_nop
6561 cat >conftest.l <<EOF
6562 %top{
6563 #include "prediluvian.h"
6567 if $FLEX -t conftest.l >/dev/null 2>&5
6568 then
6569 wine_cv_recent_flex=yes
6570 else
6571 wine_cv_recent_flex=no
6574 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_flex" >&5
6575 printf "%s\n" "$wine_cv_recent_flex" >&6; }
6576 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
6578 for ac_prog in bison
6580 # Extract the first word of "$ac_prog", so it can be a program name with args.
6581 set dummy $ac_prog; ac_word=$2
6582 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6583 printf %s "checking for $ac_word... " >&6; }
6584 if test ${ac_cv_prog_BISON+y}
6585 then :
6586 printf %s "(cached) " >&6
6587 else $as_nop
6588 if test -n "$BISON"; then
6589 ac_cv_prog_BISON="$BISON" # Let the user override the test.
6590 else
6591 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6592 for as_dir in $PATH
6594 IFS=$as_save_IFS
6595 case $as_dir in #(((
6596 '') as_dir=./ ;;
6597 */) ;;
6598 *) as_dir=$as_dir/ ;;
6599 esac
6600 for ac_exec_ext in '' $ac_executable_extensions; do
6601 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6602 ac_cv_prog_BISON="$ac_prog"
6603 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6604 break 2
6606 done
6607 done
6608 IFS=$as_save_IFS
6612 BISON=$ac_cv_prog_BISON
6613 if test -n "$BISON"; then
6614 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
6615 printf "%s\n" "$BISON" >&6; }
6616 else
6617 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6618 printf "%s\n" "no" >&6; }
6622 test -n "$BISON" && break
6623 done
6624 test -n "$BISON" || BISON="none"
6626 if test "$BISON" = "none"
6627 then
6628 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
6630 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether bison is recent enough" >&5
6631 printf %s "checking whether bison is recent enough... " >&6; }
6632 if test ${wine_cv_recent_bison+y}
6633 then :
6634 printf %s "(cached) " >&6
6635 else $as_nop
6636 cat >conftest.y <<EOF
6637 %define parse.error verbose
6639 empty: ;
6641 if $BISON conftest.y >/dev/null 2>&5
6642 then
6643 wine_cv_recent_bison=yes
6644 else
6645 wine_cv_recent_bison=no
6648 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_bison" >&5
6649 printf "%s\n" "$wine_cv_recent_bison" >&6; }
6650 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
6652 if test -n "$ac_tool_prefix"; then
6653 for ac_prog in ar gar
6655 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6656 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6657 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6658 printf %s "checking for $ac_word... " >&6; }
6659 if test ${ac_cv_prog_AR+y}
6660 then :
6661 printf %s "(cached) " >&6
6662 else $as_nop
6663 if test -n "$AR"; then
6664 ac_cv_prog_AR="$AR" # Let the user override the test.
6665 else
6666 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6667 for as_dir in $PATH
6669 IFS=$as_save_IFS
6670 case $as_dir in #(((
6671 '') as_dir=./ ;;
6672 */) ;;
6673 *) as_dir=$as_dir/ ;;
6674 esac
6675 for ac_exec_ext in '' $ac_executable_extensions; do
6676 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6677 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6678 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6679 break 2
6681 done
6682 done
6683 IFS=$as_save_IFS
6687 AR=$ac_cv_prog_AR
6688 if test -n "$AR"; then
6689 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6690 printf "%s\n" "$AR" >&6; }
6691 else
6692 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6693 printf "%s\n" "no" >&6; }
6697 test -n "$AR" && break
6698 done
6700 if test -z "$AR"; then
6701 ac_ct_AR=$AR
6702 for ac_prog in ar gar
6704 # Extract the first word of "$ac_prog", so it can be a program name with args.
6705 set dummy $ac_prog; ac_word=$2
6706 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6707 printf %s "checking for $ac_word... " >&6; }
6708 if test ${ac_cv_prog_ac_ct_AR+y}
6709 then :
6710 printf %s "(cached) " >&6
6711 else $as_nop
6712 if test -n "$ac_ct_AR"; then
6713 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6714 else
6715 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6716 for as_dir in $PATH
6718 IFS=$as_save_IFS
6719 case $as_dir in #(((
6720 '') as_dir=./ ;;
6721 */) ;;
6722 *) as_dir=$as_dir/ ;;
6723 esac
6724 for ac_exec_ext in '' $ac_executable_extensions; do
6725 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6726 ac_cv_prog_ac_ct_AR="$ac_prog"
6727 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6728 break 2
6730 done
6731 done
6732 IFS=$as_save_IFS
6736 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6737 if test -n "$ac_ct_AR"; then
6738 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6739 printf "%s\n" "$ac_ct_AR" >&6; }
6740 else
6741 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6742 printf "%s\n" "no" >&6; }
6746 test -n "$ac_ct_AR" && break
6747 done
6749 if test "x$ac_ct_AR" = x; then
6750 AR="ar"
6751 else
6752 case $cross_compiling:$ac_tool_warned in
6753 yes:)
6754 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6755 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6756 ac_tool_warned=yes ;;
6757 esac
6758 AR=$ac_ct_AR
6762 if test -n "$ac_tool_prefix"; then
6763 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6764 set dummy ${ac_tool_prefix}strip; ac_word=$2
6765 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6766 printf %s "checking for $ac_word... " >&6; }
6767 if test ${ac_cv_prog_STRIP+y}
6768 then :
6769 printf %s "(cached) " >&6
6770 else $as_nop
6771 if test -n "$STRIP"; then
6772 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6773 else
6774 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6775 for as_dir in $PATH
6777 IFS=$as_save_IFS
6778 case $as_dir in #(((
6779 '') as_dir=./ ;;
6780 */) ;;
6781 *) as_dir=$as_dir/ ;;
6782 esac
6783 for ac_exec_ext in '' $ac_executable_extensions; do
6784 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6785 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6786 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6787 break 2
6789 done
6790 done
6791 IFS=$as_save_IFS
6795 STRIP=$ac_cv_prog_STRIP
6796 if test -n "$STRIP"; then
6797 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6798 printf "%s\n" "$STRIP" >&6; }
6799 else
6800 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6801 printf "%s\n" "no" >&6; }
6806 if test -z "$ac_cv_prog_STRIP"; then
6807 ac_ct_STRIP=$STRIP
6808 # Extract the first word of "strip", so it can be a program name with args.
6809 set dummy strip; ac_word=$2
6810 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6811 printf %s "checking for $ac_word... " >&6; }
6812 if test ${ac_cv_prog_ac_ct_STRIP+y}
6813 then :
6814 printf %s "(cached) " >&6
6815 else $as_nop
6816 if test -n "$ac_ct_STRIP"; then
6817 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6818 else
6819 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6820 for as_dir in $PATH
6822 IFS=$as_save_IFS
6823 case $as_dir in #(((
6824 '') as_dir=./ ;;
6825 */) ;;
6826 *) as_dir=$as_dir/ ;;
6827 esac
6828 for ac_exec_ext in '' $ac_executable_extensions; do
6829 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6830 ac_cv_prog_ac_ct_STRIP="strip"
6831 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6832 break 2
6834 done
6835 done
6836 IFS=$as_save_IFS
6840 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6841 if test -n "$ac_ct_STRIP"; then
6842 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6843 printf "%s\n" "$ac_ct_STRIP" >&6; }
6844 else
6845 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6846 printf "%s\n" "no" >&6; }
6849 if test "x$ac_ct_STRIP" = x; then
6850 STRIP="strip"
6851 else
6852 case $cross_compiling:$ac_tool_warned in
6853 yes:)
6854 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6855 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6856 ac_tool_warned=yes ;;
6857 esac
6858 STRIP=$ac_ct_STRIP
6860 else
6861 STRIP="$ac_cv_prog_STRIP"
6864 if test -n "$ac_tool_prefix"; then
6865 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6866 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6867 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6868 printf %s "checking for $ac_word... " >&6; }
6869 if test ${ac_cv_prog_RANLIB+y}
6870 then :
6871 printf %s "(cached) " >&6
6872 else $as_nop
6873 if test -n "$RANLIB"; then
6874 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6875 else
6876 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6877 for as_dir in $PATH
6879 IFS=$as_save_IFS
6880 case $as_dir in #(((
6881 '') as_dir=./ ;;
6882 */) ;;
6883 *) as_dir=$as_dir/ ;;
6884 esac
6885 for ac_exec_ext in '' $ac_executable_extensions; do
6886 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6887 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6888 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6889 break 2
6891 done
6892 done
6893 IFS=$as_save_IFS
6897 RANLIB=$ac_cv_prog_RANLIB
6898 if test -n "$RANLIB"; then
6899 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6900 printf "%s\n" "$RANLIB" >&6; }
6901 else
6902 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6903 printf "%s\n" "no" >&6; }
6908 if test -z "$ac_cv_prog_RANLIB"; then
6909 ac_ct_RANLIB=$RANLIB
6910 # Extract the first word of "ranlib", so it can be a program name with args.
6911 set dummy ranlib; ac_word=$2
6912 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6913 printf %s "checking for $ac_word... " >&6; }
6914 if test ${ac_cv_prog_ac_ct_RANLIB+y}
6915 then :
6916 printf %s "(cached) " >&6
6917 else $as_nop
6918 if test -n "$ac_ct_RANLIB"; then
6919 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6920 else
6921 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6922 for as_dir in $PATH
6924 IFS=$as_save_IFS
6925 case $as_dir in #(((
6926 '') as_dir=./ ;;
6927 */) ;;
6928 *) as_dir=$as_dir/ ;;
6929 esac
6930 for ac_exec_ext in '' $ac_executable_extensions; do
6931 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6932 ac_cv_prog_ac_ct_RANLIB="ranlib"
6933 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6934 break 2
6936 done
6937 done
6938 IFS=$as_save_IFS
6942 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6943 if test -n "$ac_ct_RANLIB"; then
6944 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6945 printf "%s\n" "$ac_ct_RANLIB" >&6; }
6946 else
6947 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6948 printf "%s\n" "no" >&6; }
6951 if test "x$ac_ct_RANLIB" = x; then
6952 RANLIB=":"
6953 else
6954 case $cross_compiling:$ac_tool_warned in
6955 yes:)
6956 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6957 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6958 ac_tool_warned=yes ;;
6959 esac
6960 RANLIB=$ac_ct_RANLIB
6962 else
6963 RANLIB="$ac_cv_prog_RANLIB"
6966 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6967 printf %s "checking whether ln -s works... " >&6; }
6968 LN_S=$as_ln_s
6969 if test "$LN_S" = "ln -s"; then
6970 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6971 printf "%s\n" "yes" >&6; }
6972 else
6973 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6974 printf "%s\n" "no, using $LN_S" >&6; }
6977 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6978 printf %s "checking for grep that handles long lines and -e... " >&6; }
6979 if test ${ac_cv_path_GREP+y}
6980 then :
6981 printf %s "(cached) " >&6
6982 else $as_nop
6983 if test -z "$GREP"; then
6984 ac_path_GREP_found=false
6985 # Loop through the user's path and test for each of PROGNAME-LIST
6986 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6987 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6989 IFS=$as_save_IFS
6990 case $as_dir in #(((
6991 '') as_dir=./ ;;
6992 */) ;;
6993 *) as_dir=$as_dir/ ;;
6994 esac
6995 for ac_prog in grep ggrep
6997 for ac_exec_ext in '' $ac_executable_extensions; do
6998 ac_path_GREP="$as_dir$ac_prog$ac_exec_ext"
6999 as_fn_executable_p "$ac_path_GREP" || continue
7000 # Check for GNU ac_path_GREP and select it if it is found.
7001 # Check for GNU $ac_path_GREP
7002 case `"$ac_path_GREP" --version 2>&1` in
7003 *GNU*)
7004 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
7006 ac_count=0
7007 printf %s 0123456789 >"conftest.in"
7008 while :
7010 cat "conftest.in" "conftest.in" >"conftest.tmp"
7011 mv "conftest.tmp" "conftest.in"
7012 cp "conftest.in" "conftest.nl"
7013 printf "%s\n" 'GREP' >> "conftest.nl"
7014 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
7015 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
7016 as_fn_arith $ac_count + 1 && ac_count=$as_val
7017 if test $ac_count -gt ${ac_path_GREP_max-0}; then
7018 # Best one so far, save it but keep looking for a better one
7019 ac_cv_path_GREP="$ac_path_GREP"
7020 ac_path_GREP_max=$ac_count
7022 # 10*(2^10) chars as input seems more than enough
7023 test $ac_count -gt 10 && break
7024 done
7025 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7026 esac
7028 $ac_path_GREP_found && break 3
7029 done
7030 done
7031 done
7032 IFS=$as_save_IFS
7033 if test -z "$ac_cv_path_GREP"; then
7034 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7036 else
7037 ac_cv_path_GREP=$GREP
7041 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
7042 printf "%s\n" "$ac_cv_path_GREP" >&6; }
7043 GREP="$ac_cv_path_GREP"
7046 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
7047 printf %s "checking for egrep... " >&6; }
7048 if test ${ac_cv_path_EGREP+y}
7049 then :
7050 printf %s "(cached) " >&6
7051 else $as_nop
7052 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
7053 then ac_cv_path_EGREP="$GREP -E"
7054 else
7055 if test -z "$EGREP"; then
7056 ac_path_EGREP_found=false
7057 # Loop through the user's path and test for each of PROGNAME-LIST
7058 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7059 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
7061 IFS=$as_save_IFS
7062 case $as_dir in #(((
7063 '') as_dir=./ ;;
7064 */) ;;
7065 *) as_dir=$as_dir/ ;;
7066 esac
7067 for ac_prog in egrep
7069 for ac_exec_ext in '' $ac_executable_extensions; do
7070 ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext"
7071 as_fn_executable_p "$ac_path_EGREP" || continue
7072 # Check for GNU ac_path_EGREP and select it if it is found.
7073 # Check for GNU $ac_path_EGREP
7074 case `"$ac_path_EGREP" --version 2>&1` in
7075 *GNU*)
7076 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
7078 ac_count=0
7079 printf %s 0123456789 >"conftest.in"
7080 while :
7082 cat "conftest.in" "conftest.in" >"conftest.tmp"
7083 mv "conftest.tmp" "conftest.in"
7084 cp "conftest.in" "conftest.nl"
7085 printf "%s\n" 'EGREP' >> "conftest.nl"
7086 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
7087 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
7088 as_fn_arith $ac_count + 1 && ac_count=$as_val
7089 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
7090 # Best one so far, save it but keep looking for a better one
7091 ac_cv_path_EGREP="$ac_path_EGREP"
7092 ac_path_EGREP_max=$ac_count
7094 # 10*(2^10) chars as input seems more than enough
7095 test $ac_count -gt 10 && break
7096 done
7097 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7098 esac
7100 $ac_path_EGREP_found && break 3
7101 done
7102 done
7103 done
7104 IFS=$as_save_IFS
7105 if test -z "$ac_cv_path_EGREP"; then
7106 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7108 else
7109 ac_cv_path_EGREP=$EGREP
7114 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
7115 printf "%s\n" "$ac_cv_path_EGREP" >&6; }
7116 EGREP="$ac_cv_path_EGREP"
7119 # Extract the first word of "ldconfig", so it can be a program name with args.
7120 set dummy ldconfig; ac_word=$2
7121 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7122 printf %s "checking for $ac_word... " >&6; }
7123 if test ${ac_cv_path_LDCONFIG+y}
7124 then :
7125 printf %s "(cached) " >&6
7126 else $as_nop
7127 case $LDCONFIG in
7128 [\\/]* | ?:[\\/]*)
7129 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
7132 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7133 for as_dir in /sbin /usr/sbin $PATH
7135 IFS=$as_save_IFS
7136 case $as_dir in #(((
7137 '') as_dir=./ ;;
7138 */) ;;
7139 *) as_dir=$as_dir/ ;;
7140 esac
7141 for ac_exec_ext in '' $ac_executable_extensions; do
7142 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7143 ac_cv_path_LDCONFIG="$as_dir$ac_word$ac_exec_ext"
7144 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7145 break 2
7147 done
7148 done
7149 IFS=$as_save_IFS
7151 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
7153 esac
7155 LDCONFIG=$ac_cv_path_LDCONFIG
7156 if test -n "$LDCONFIG"; then
7157 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
7158 printf "%s\n" "$LDCONFIG" >&6; }
7159 else
7160 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7161 printf "%s\n" "no" >&6; }
7165 for ac_prog in msgfmt
7167 # Extract the first word of "$ac_prog", so it can be a program name with args.
7168 set dummy $ac_prog; ac_word=$2
7169 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7170 printf %s "checking for $ac_word... " >&6; }
7171 if test ${ac_cv_prog_MSGFMT+y}
7172 then :
7173 printf %s "(cached) " >&6
7174 else $as_nop
7175 if test -n "$MSGFMT"; then
7176 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
7177 else
7178 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7179 for as_dir in $PATH
7181 IFS=$as_save_IFS
7182 case $as_dir in #(((
7183 '') as_dir=./ ;;
7184 */) ;;
7185 *) as_dir=$as_dir/ ;;
7186 esac
7187 for ac_exec_ext in '' $ac_executable_extensions; do
7188 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7189 ac_cv_prog_MSGFMT="$ac_prog"
7190 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7191 break 2
7193 done
7194 done
7195 IFS=$as_save_IFS
7199 MSGFMT=$ac_cv_prog_MSGFMT
7200 if test -n "$MSGFMT"; then
7201 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
7202 printf "%s\n" "$MSGFMT" >&6; }
7203 else
7204 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7205 printf "%s\n" "no" >&6; }
7209 test -n "$MSGFMT" && break
7210 done
7211 test -n "$MSGFMT" || MSGFMT="false"
7213 if test ${ac_tool_prefix+y}
7214 then :
7215 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
7216 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
7217 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7218 printf %s "checking for $ac_word... " >&6; }
7219 if test ${ac_cv_prog_PKG_CONFIG+y}
7220 then :
7221 printf %s "(cached) " >&6
7222 else $as_nop
7223 if test -n "$PKG_CONFIG"; then
7224 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
7225 else
7226 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7227 for as_dir in $PATH
7229 IFS=$as_save_IFS
7230 case $as_dir in #(((
7231 '') as_dir=./ ;;
7232 */) ;;
7233 *) as_dir=$as_dir/ ;;
7234 esac
7235 for ac_exec_ext in '' $ac_executable_extensions; do
7236 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7237 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
7238 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7239 break 2
7241 done
7242 done
7243 IFS=$as_save_IFS
7247 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7248 if test -n "$PKG_CONFIG"; then
7249 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7250 printf "%s\n" "$PKG_CONFIG" >&6; }
7251 else
7252 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7253 printf "%s\n" "no" >&6; }
7258 if ${ac_cv_prog_PKG_CONFIG:+false} :
7259 then :
7260 if test "x$cross_compiling" = xyes
7261 then :
7263 else $as_nop
7264 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
7265 # Extract the first word of "pkg-config", so it can be a program name with args.
7266 set dummy pkg-config; ac_word=$2
7267 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7268 printf %s "checking for $ac_word... " >&6; }
7269 if test ${ac_cv_prog_PKG_CONFIG+y}
7270 then :
7271 printf %s "(cached) " >&6
7272 else $as_nop
7273 if test -n "$PKG_CONFIG"; then
7274 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
7275 else
7276 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7277 for as_dir in $PATH
7279 IFS=$as_save_IFS
7280 case $as_dir in #(((
7281 '') as_dir=./ ;;
7282 */) ;;
7283 *) as_dir=$as_dir/ ;;
7284 esac
7285 for ac_exec_ext in '' $ac_executable_extensions; do
7286 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7287 ac_cv_prog_PKG_CONFIG="pkg-config"
7288 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7289 break 2
7291 done
7292 done
7293 IFS=$as_save_IFS
7297 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7298 if test -n "$PKG_CONFIG"; then
7299 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7300 printf "%s\n" "$PKG_CONFIG" >&6; }
7301 else
7302 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7303 printf "%s\n" "no" >&6; }
7308 else $as_nop
7309 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7312 if test "x$enable_maintainer_mode" != "xyes"
7313 then
7314 FONTFORGE=""
7315 RSVG=""
7316 CONVERT=""
7317 ICOTOOL=""
7318 else
7319 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
7320 for ac_prog in fontforge
7322 # Extract the first word of "$ac_prog", so it can be a program name with args.
7323 set dummy $ac_prog; ac_word=$2
7324 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7325 printf %s "checking for $ac_word... " >&6; }
7326 if test ${ac_cv_prog_FONTFORGE+y}
7327 then :
7328 printf %s "(cached) " >&6
7329 else $as_nop
7330 if test -n "$FONTFORGE"; then
7331 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
7332 else
7333 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7334 for as_dir in $PATH
7336 IFS=$as_save_IFS
7337 case $as_dir in #(((
7338 '') as_dir=./ ;;
7339 */) ;;
7340 *) as_dir=$as_dir/ ;;
7341 esac
7342 for ac_exec_ext in '' $ac_executable_extensions; do
7343 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7344 ac_cv_prog_FONTFORGE="$ac_prog"
7345 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7346 break 2
7348 done
7349 done
7350 IFS=$as_save_IFS
7354 FONTFORGE=$ac_cv_prog_FONTFORGE
7355 if test -n "$FONTFORGE"; then
7356 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
7357 printf "%s\n" "$FONTFORGE" >&6; }
7358 else
7359 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7360 printf "%s\n" "no" >&6; }
7364 test -n "$FONTFORGE" && break
7365 done
7366 test -n "$FONTFORGE" || FONTFORGE="false"
7368 for ac_prog in rsvg-convert rsvg
7370 # Extract the first word of "$ac_prog", so it can be a program name with args.
7371 set dummy $ac_prog; ac_word=$2
7372 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7373 printf %s "checking for $ac_word... " >&6; }
7374 if test ${ac_cv_prog_RSVG+y}
7375 then :
7376 printf %s "(cached) " >&6
7377 else $as_nop
7378 if test -n "$RSVG"; then
7379 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
7380 else
7381 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7382 for as_dir in $PATH
7384 IFS=$as_save_IFS
7385 case $as_dir in #(((
7386 '') as_dir=./ ;;
7387 */) ;;
7388 *) as_dir=$as_dir/ ;;
7389 esac
7390 for ac_exec_ext in '' $ac_executable_extensions; do
7391 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7392 ac_cv_prog_RSVG="$ac_prog"
7393 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7394 break 2
7396 done
7397 done
7398 IFS=$as_save_IFS
7402 RSVG=$ac_cv_prog_RSVG
7403 if test -n "$RSVG"; then
7404 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
7405 printf "%s\n" "$RSVG" >&6; }
7406 else
7407 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7408 printf "%s\n" "no" >&6; }
7412 test -n "$RSVG" && break
7413 done
7414 test -n "$RSVG" || RSVG="false"
7416 for ac_prog in convert
7418 # Extract the first word of "$ac_prog", so it can be a program name with args.
7419 set dummy $ac_prog; ac_word=$2
7420 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7421 printf %s "checking for $ac_word... " >&6; }
7422 if test ${ac_cv_prog_CONVERT+y}
7423 then :
7424 printf %s "(cached) " >&6
7425 else $as_nop
7426 if test -n "$CONVERT"; then
7427 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
7428 else
7429 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7430 for as_dir in $PATH
7432 IFS=$as_save_IFS
7433 case $as_dir in #(((
7434 '') as_dir=./ ;;
7435 */) ;;
7436 *) as_dir=$as_dir/ ;;
7437 esac
7438 for ac_exec_ext in '' $ac_executable_extensions; do
7439 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7440 ac_cv_prog_CONVERT="$ac_prog"
7441 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7442 break 2
7444 done
7445 done
7446 IFS=$as_save_IFS
7450 CONVERT=$ac_cv_prog_CONVERT
7451 if test -n "$CONVERT"; then
7452 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
7453 printf "%s\n" "$CONVERT" >&6; }
7454 else
7455 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7456 printf "%s\n" "no" >&6; }
7460 test -n "$CONVERT" && break
7461 done
7462 test -n "$CONVERT" || CONVERT="false"
7464 for ac_prog in icotool
7466 # Extract the first word of "$ac_prog", so it can be a program name with args.
7467 set dummy $ac_prog; ac_word=$2
7468 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7469 printf %s "checking for $ac_word... " >&6; }
7470 if test ${ac_cv_prog_ICOTOOL+y}
7471 then :
7472 printf %s "(cached) " >&6
7473 else $as_nop
7474 if test -n "$ICOTOOL"; then
7475 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
7476 else
7477 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7478 for as_dir in $PATH
7480 IFS=$as_save_IFS
7481 case $as_dir in #(((
7482 '') as_dir=./ ;;
7483 */) ;;
7484 *) as_dir=$as_dir/ ;;
7485 esac
7486 for ac_exec_ext in '' $ac_executable_extensions; do
7487 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7488 ac_cv_prog_ICOTOOL="$ac_prog"
7489 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7490 break 2
7492 done
7493 done
7494 IFS=$as_save_IFS
7498 ICOTOOL=$ac_cv_prog_ICOTOOL
7499 if test -n "$ICOTOOL"; then
7500 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
7501 printf "%s\n" "$ICOTOOL" >&6; }
7502 else
7503 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7504 printf "%s\n" "no" >&6; }
7508 test -n "$ICOTOOL" && break
7509 done
7510 test -n "$ICOTOOL" || ICOTOOL="false"
7512 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
7513 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
7515 if test "$CONVERT" = false
7516 then
7517 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
7518 else
7519 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
7520 printf %s "checking for recent enough imagemagick... " >&6; }
7521 convert_version=`convert --version | head -n1`
7522 if test "x$convert_version" != "x"
7523 then
7524 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
7525 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
7526 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
7527 then
7528 CONVERT=false
7531 if test "$CONVERT" = false
7532 then
7533 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
7534 printf "%s\n" "no ($convert_version_major.$convert_version_minor)" >&6; }
7535 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7536 else
7537 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
7538 printf "%s\n" "yes ($convert_version_major.$convert_version_minor)" >&6; }
7542 if test "$ICOTOOL" = false
7543 then
7544 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
7545 else
7546 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
7547 printf %s "checking for recent enough icotool... " >&6; }
7548 icotool_version=`icotool --version | head -n1`
7549 if test "x$icotool_version" != "x"
7550 then
7551 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
7552 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
7553 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
7554 then
7555 ICOTOOL=false
7556 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
7559 if test "$ICOTOOL" = false
7560 then
7561 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
7562 printf "%s\n" "no ($icotool_version_major.$icotool_version_minor)" >&6; }
7563 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7564 else
7565 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
7566 printf "%s\n" "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
7570 with_gettext=yes
7571 with_gettextpo=yes
7573 enable_werror=yes
7576 test "x$with_gettext" != xno || MSGFMT=false
7577 if test "$MSGFMT" != "false"
7578 then
7579 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
7580 printf %s "checking whether msgfmt supports contexts... " >&6; }
7581 if test ${wine_cv_msgfmt_contexts+y}
7582 then :
7583 printf %s "(cached) " >&6
7584 else $as_nop
7585 cat >conftest.po <<EOF
7586 # comment
7587 msgctxt "ctxt"
7588 msgid "id"
7589 msgstr "str"
7591 if $MSGFMT -o /dev/null conftest.po 2>&5
7592 then
7593 wine_cv_msgfmt_contexts=yes
7594 else
7595 wine_cv_msgfmt_contexts=no
7598 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_msgfmt_contexts" >&5
7599 printf "%s\n" "$wine_cv_msgfmt_contexts" >&6; }
7600 test $wine_cv_msgfmt_contexts != no || MSGFMT=false
7602 if test "$MSGFMT" = false
7603 then :
7604 case "x$with_gettext" in
7605 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
7606 xno) ;;
7607 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
7608 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
7609 esac
7610 enable_po=${enable_po:-no}
7614 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
7615 printf %s "checking for i386_set_ldt in -li386... " >&6; }
7616 if test ${ac_cv_lib_i386_i386_set_ldt+y}
7617 then :
7618 printf %s "(cached) " >&6
7619 else $as_nop
7620 ac_check_lib_save_LIBS=$LIBS
7621 LIBS="-li386 $LIBS"
7622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7623 /* end confdefs.h. */
7625 /* Override any GCC internal prototype to avoid an error.
7626 Use char because int might match the return type of a GCC
7627 builtin and then its argument prototype would still apply. */
7628 char i386_set_ldt ();
7630 main (void)
7632 return i386_set_ldt ();
7634 return 0;
7636 _ACEOF
7637 if ac_fn_c_try_link "$LINENO"
7638 then :
7639 ac_cv_lib_i386_i386_set_ldt=yes
7640 else $as_nop
7641 ac_cv_lib_i386_i386_set_ldt=no
7643 rm -f core conftest.err conftest.$ac_objext conftest.beam \
7644 conftest$ac_exeext conftest.$ac_ext
7645 LIBS=$ac_check_lib_save_LIBS
7647 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
7648 printf "%s\n" "$ac_cv_lib_i386_i386_set_ldt" >&6; }
7649 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes
7650 then :
7651 I386_LIBS="-li386"
7656 OPENGL_LIBS=""
7660 # Check whether --enable-largefile was given.
7661 if test ${enable_largefile+y}
7662 then :
7663 enableval=$enable_largefile;
7666 if test "$enable_largefile" != no; then
7668 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
7669 printf %s "checking for special C compiler options needed for large files... " >&6; }
7670 if test ${ac_cv_sys_largefile_CC+y}
7671 then :
7672 printf %s "(cached) " >&6
7673 else $as_nop
7674 ac_cv_sys_largefile_CC=no
7675 if test "$GCC" != yes; then
7676 ac_save_CC=$CC
7677 while :; do
7678 # IRIX 6.2 and later do not support large files by default,
7679 # so use the C compiler's -n32 option if that helps.
7680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7681 /* end confdefs.h. */
7682 #include <sys/types.h>
7683 /* Check that off_t can represent 2**63 - 1 correctly.
7684 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7685 since some C++ compilers masquerading as C compilers
7686 incorrectly reject 9223372036854775807. */
7687 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7688 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7689 && LARGE_OFF_T % 2147483647 == 1)
7690 ? 1 : -1];
7692 main (void)
7696 return 0;
7698 _ACEOF
7699 if ac_fn_c_try_compile "$LINENO"
7700 then :
7701 break
7703 rm -f core conftest.err conftest.$ac_objext conftest.beam
7704 CC="$CC -n32"
7705 if ac_fn_c_try_compile "$LINENO"
7706 then :
7707 ac_cv_sys_largefile_CC=' -n32'; break
7709 rm -f core conftest.err conftest.$ac_objext conftest.beam
7710 break
7711 done
7712 CC=$ac_save_CC
7713 rm -f conftest.$ac_ext
7716 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
7717 printf "%s\n" "$ac_cv_sys_largefile_CC" >&6; }
7718 if test "$ac_cv_sys_largefile_CC" != no; then
7719 CC=$CC$ac_cv_sys_largefile_CC
7722 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
7723 printf %s "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
7724 if test ${ac_cv_sys_file_offset_bits+y}
7725 then :
7726 printf %s "(cached) " >&6
7727 else $as_nop
7728 while :; do
7729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7730 /* end confdefs.h. */
7731 #include <sys/types.h>
7732 /* Check that off_t can represent 2**63 - 1 correctly.
7733 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7734 since some C++ compilers masquerading as C compilers
7735 incorrectly reject 9223372036854775807. */
7736 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7737 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7738 && LARGE_OFF_T % 2147483647 == 1)
7739 ? 1 : -1];
7741 main (void)
7745 return 0;
7747 _ACEOF
7748 if ac_fn_c_try_compile "$LINENO"
7749 then :
7750 ac_cv_sys_file_offset_bits=no; break
7752 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7754 /* end confdefs.h. */
7755 #define _FILE_OFFSET_BITS 64
7756 #include <sys/types.h>
7757 /* Check that off_t can represent 2**63 - 1 correctly.
7758 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7759 since some C++ compilers masquerading as C compilers
7760 incorrectly reject 9223372036854775807. */
7761 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7762 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7763 && LARGE_OFF_T % 2147483647 == 1)
7764 ? 1 : -1];
7766 main (void)
7770 return 0;
7772 _ACEOF
7773 if ac_fn_c_try_compile "$LINENO"
7774 then :
7775 ac_cv_sys_file_offset_bits=64; break
7777 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7778 ac_cv_sys_file_offset_bits=unknown
7779 break
7780 done
7782 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
7783 printf "%s\n" "$ac_cv_sys_file_offset_bits" >&6; }
7784 case $ac_cv_sys_file_offset_bits in #(
7785 no | unknown) ;;
7787 printf "%s\n" "#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits" >>confdefs.h
7789 esac
7790 rm -rf conftest*
7791 if test $ac_cv_sys_file_offset_bits = unknown; then
7792 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
7793 printf %s "checking for _LARGE_FILES value needed for large files... " >&6; }
7794 if test ${ac_cv_sys_large_files+y}
7795 then :
7796 printf %s "(cached) " >&6
7797 else $as_nop
7798 while :; do
7799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7800 /* end confdefs.h. */
7801 #include <sys/types.h>
7802 /* Check that off_t can represent 2**63 - 1 correctly.
7803 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7804 since some C++ compilers masquerading as C compilers
7805 incorrectly reject 9223372036854775807. */
7806 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7807 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7808 && LARGE_OFF_T % 2147483647 == 1)
7809 ? 1 : -1];
7811 main (void)
7815 return 0;
7817 _ACEOF
7818 if ac_fn_c_try_compile "$LINENO"
7819 then :
7820 ac_cv_sys_large_files=no; break
7822 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7824 /* end confdefs.h. */
7825 #define _LARGE_FILES 1
7826 #include <sys/types.h>
7827 /* Check that off_t can represent 2**63 - 1 correctly.
7828 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7829 since some C++ compilers masquerading as C compilers
7830 incorrectly reject 9223372036854775807. */
7831 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7832 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7833 && LARGE_OFF_T % 2147483647 == 1)
7834 ? 1 : -1];
7836 main (void)
7840 return 0;
7842 _ACEOF
7843 if ac_fn_c_try_compile "$LINENO"
7844 then :
7845 ac_cv_sys_large_files=1; break
7847 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7848 ac_cv_sys_large_files=unknown
7849 break
7850 done
7852 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
7853 printf "%s\n" "$ac_cv_sys_large_files" >&6; }
7854 case $ac_cv_sys_large_files in #(
7855 no | unknown) ;;
7857 printf "%s\n" "#define _LARGE_FILES $ac_cv_sys_large_files" >>confdefs.h
7859 esac
7860 rm -rf conftest*
7864 test "$ac_cv_sys_file_offset_bits" = 64 &&
7865 printf "%s\n" "#define _TIME_BITS 64" >>confdefs.h
7868 ac_header= ac_cache=
7869 for ac_item in $ac_header_c_list
7871 if test $ac_cache; then
7872 ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
7873 if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
7874 printf "%s\n" "#define $ac_item 1" >> confdefs.h
7876 ac_header= ac_cache=
7877 elif test $ac_header; then
7878 ac_cache=$ac_item
7879 else
7880 ac_header=$ac_item
7882 done
7891 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
7892 then :
7894 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
7897 ac_fn_c_check_header_compile "$LINENO" "CL/cl.h" "ac_cv_header_CL_cl_h" "$ac_includes_default"
7898 if test "x$ac_cv_header_CL_cl_h" = xyes
7899 then :
7900 printf "%s\n" "#define HAVE_CL_CL_H 1" >>confdefs.h
7903 ac_fn_c_check_header_compile "$LINENO" "EGL/egl.h" "ac_cv_header_EGL_egl_h" "$ac_includes_default"
7904 if test "x$ac_cv_header_EGL_egl_h" = xyes
7905 then :
7906 printf "%s\n" "#define HAVE_EGL_EGL_H 1" >>confdefs.h
7909 ac_fn_c_check_header_compile "$LINENO" "OpenCL/opencl.h" "ac_cv_header_OpenCL_opencl_h" "$ac_includes_default"
7910 if test "x$ac_cv_header_OpenCL_opencl_h" = xyes
7911 then :
7912 printf "%s\n" "#define HAVE_OPENCL_OPENCL_H 1" >>confdefs.h
7915 ac_fn_c_check_header_compile "$LINENO" "arpa/inet.h" "ac_cv_header_arpa_inet_h" "$ac_includes_default"
7916 if test "x$ac_cv_header_arpa_inet_h" = xyes
7917 then :
7918 printf "%s\n" "#define HAVE_ARPA_INET_H 1" >>confdefs.h
7921 ac_fn_c_check_header_compile "$LINENO" "arpa/nameser.h" "ac_cv_header_arpa_nameser_h" "$ac_includes_default"
7922 if test "x$ac_cv_header_arpa_nameser_h" = xyes
7923 then :
7924 printf "%s\n" "#define HAVE_ARPA_NAMESER_H 1" >>confdefs.h
7927 ac_fn_c_check_header_compile "$LINENO" "asm/types.h" "ac_cv_header_asm_types_h" "$ac_includes_default"
7928 if test "x$ac_cv_header_asm_types_h" = xyes
7929 then :
7930 printf "%s\n" "#define HAVE_ASM_TYPES_H 1" >>confdefs.h
7933 ac_fn_c_check_header_compile "$LINENO" "asm/user.h" "ac_cv_header_asm_user_h" "$ac_includes_default"
7934 if test "x$ac_cv_header_asm_user_h" = xyes
7935 then :
7936 printf "%s\n" "#define HAVE_ASM_USER_H 1" >>confdefs.h
7939 ac_fn_c_check_header_compile "$LINENO" "elf.h" "ac_cv_header_elf_h" "$ac_includes_default"
7940 if test "x$ac_cv_header_elf_h" = xyes
7941 then :
7942 printf "%s\n" "#define HAVE_ELF_H 1" >>confdefs.h
7945 ac_fn_c_check_header_compile "$LINENO" "float.h" "ac_cv_header_float_h" "$ac_includes_default"
7946 if test "x$ac_cv_header_float_h" = xyes
7947 then :
7948 printf "%s\n" "#define HAVE_FLOAT_H 1" >>confdefs.h
7951 ac_fn_c_check_header_compile "$LINENO" "gettext-po.h" "ac_cv_header_gettext_po_h" "$ac_includes_default"
7952 if test "x$ac_cv_header_gettext_po_h" = xyes
7953 then :
7954 printf "%s\n" "#define HAVE_GETTEXT_PO_H 1" >>confdefs.h
7957 ac_fn_c_check_header_compile "$LINENO" "libproc.h" "ac_cv_header_libproc_h" "$ac_includes_default"
7958 if test "x$ac_cv_header_libproc_h" = xyes
7959 then :
7960 printf "%s\n" "#define HAVE_LIBPROC_H 1" >>confdefs.h
7963 ac_fn_c_check_header_compile "$LINENO" "link.h" "ac_cv_header_link_h" "$ac_includes_default"
7964 if test "x$ac_cv_header_link_h" = xyes
7965 then :
7966 printf "%s\n" "#define HAVE_LINK_H 1" >>confdefs.h
7969 ac_fn_c_check_header_compile "$LINENO" "linux/cdrom.h" "ac_cv_header_linux_cdrom_h" "$ac_includes_default"
7970 if test "x$ac_cv_header_linux_cdrom_h" = xyes
7971 then :
7972 printf "%s\n" "#define HAVE_LINUX_CDROM_H 1" >>confdefs.h
7975 ac_fn_c_check_header_compile "$LINENO" "linux/filter.h" "ac_cv_header_linux_filter_h" "$ac_includes_default"
7976 if test "x$ac_cv_header_linux_filter_h" = xyes
7977 then :
7978 printf "%s\n" "#define HAVE_LINUX_FILTER_H 1" >>confdefs.h
7981 ac_fn_c_check_header_compile "$LINENO" "linux/hdreg.h" "ac_cv_header_linux_hdreg_h" "$ac_includes_default"
7982 if test "x$ac_cv_header_linux_hdreg_h" = xyes
7983 then :
7984 printf "%s\n" "#define HAVE_LINUX_HDREG_H 1" >>confdefs.h
7987 ac_fn_c_check_header_compile "$LINENO" "linux/hidraw.h" "ac_cv_header_linux_hidraw_h" "$ac_includes_default"
7988 if test "x$ac_cv_header_linux_hidraw_h" = xyes
7989 then :
7990 printf "%s\n" "#define HAVE_LINUX_HIDRAW_H 1" >>confdefs.h
7993 ac_fn_c_check_header_compile "$LINENO" "linux/input.h" "ac_cv_header_linux_input_h" "$ac_includes_default"
7994 if test "x$ac_cv_header_linux_input_h" = xyes
7995 then :
7996 printf "%s\n" "#define HAVE_LINUX_INPUT_H 1" >>confdefs.h
7999 ac_fn_c_check_header_compile "$LINENO" "linux/ioctl.h" "ac_cv_header_linux_ioctl_h" "$ac_includes_default"
8000 if test "x$ac_cv_header_linux_ioctl_h" = xyes
8001 then :
8002 printf "%s\n" "#define HAVE_LINUX_IOCTL_H 1" >>confdefs.h
8005 ac_fn_c_check_header_compile "$LINENO" "linux/major.h" "ac_cv_header_linux_major_h" "$ac_includes_default"
8006 if test "x$ac_cv_header_linux_major_h" = xyes
8007 then :
8008 printf "%s\n" "#define HAVE_LINUX_MAJOR_H 1" >>confdefs.h
8011 ac_fn_c_check_header_compile "$LINENO" "linux/param.h" "ac_cv_header_linux_param_h" "$ac_includes_default"
8012 if test "x$ac_cv_header_linux_param_h" = xyes
8013 then :
8014 printf "%s\n" "#define HAVE_LINUX_PARAM_H 1" >>confdefs.h
8017 ac_fn_c_check_header_compile "$LINENO" "linux/serial.h" "ac_cv_header_linux_serial_h" "$ac_includes_default"
8018 if test "x$ac_cv_header_linux_serial_h" = xyes
8019 then :
8020 printf "%s\n" "#define HAVE_LINUX_SERIAL_H 1" >>confdefs.h
8023 ac_fn_c_check_header_compile "$LINENO" "linux/types.h" "ac_cv_header_linux_types_h" "$ac_includes_default"
8024 if test "x$ac_cv_header_linux_types_h" = xyes
8025 then :
8026 printf "%s\n" "#define HAVE_LINUX_TYPES_H 1" >>confdefs.h
8029 ac_fn_c_check_header_compile "$LINENO" "linux/ucdrom.h" "ac_cv_header_linux_ucdrom_h" "$ac_includes_default"
8030 if test "x$ac_cv_header_linux_ucdrom_h" = xyes
8031 then :
8032 printf "%s\n" "#define HAVE_LINUX_UCDROM_H 1" >>confdefs.h
8035 ac_fn_c_check_header_compile "$LINENO" "linux/wireless.h" "ac_cv_header_linux_wireless_h" "$ac_includes_default"
8036 if test "x$ac_cv_header_linux_wireless_h" = xyes
8037 then :
8038 printf "%s\n" "#define HAVE_LINUX_WIRELESS_H 1" >>confdefs.h
8041 ac_fn_c_check_header_compile "$LINENO" "lwp.h" "ac_cv_header_lwp_h" "$ac_includes_default"
8042 if test "x$ac_cv_header_lwp_h" = xyes
8043 then :
8044 printf "%s\n" "#define HAVE_LWP_H 1" >>confdefs.h
8047 ac_fn_c_check_header_compile "$LINENO" "mach-o/loader.h" "ac_cv_header_mach_o_loader_h" "$ac_includes_default"
8048 if test "x$ac_cv_header_mach_o_loader_h" = xyes
8049 then :
8050 printf "%s\n" "#define HAVE_MACH_O_LOADER_H 1" >>confdefs.h
8053 ac_fn_c_check_header_compile "$LINENO" "mach/mach.h" "ac_cv_header_mach_mach_h" "$ac_includes_default"
8054 if test "x$ac_cv_header_mach_mach_h" = xyes
8055 then :
8056 printf "%s\n" "#define HAVE_MACH_MACH_H 1" >>confdefs.h
8059 ac_fn_c_check_header_compile "$LINENO" "machine/cpu.h" "ac_cv_header_machine_cpu_h" "$ac_includes_default"
8060 if test "x$ac_cv_header_machine_cpu_h" = xyes
8061 then :
8062 printf "%s\n" "#define HAVE_MACHINE_CPU_H 1" >>confdefs.h
8065 ac_fn_c_check_header_compile "$LINENO" "machine/sysarch.h" "ac_cv_header_machine_sysarch_h" "$ac_includes_default"
8066 if test "x$ac_cv_header_machine_sysarch_h" = xyes
8067 then :
8068 printf "%s\n" "#define HAVE_MACHINE_SYSARCH_H 1" >>confdefs.h
8071 ac_fn_c_check_header_compile "$LINENO" "mntent.h" "ac_cv_header_mntent_h" "$ac_includes_default"
8072 if test "x$ac_cv_header_mntent_h" = xyes
8073 then :
8074 printf "%s\n" "#define HAVE_MNTENT_H 1" >>confdefs.h
8077 ac_fn_c_check_header_compile "$LINENO" "netdb.h" "ac_cv_header_netdb_h" "$ac_includes_default"
8078 if test "x$ac_cv_header_netdb_h" = xyes
8079 then :
8080 printf "%s\n" "#define HAVE_NETDB_H 1" >>confdefs.h
8083 ac_fn_c_check_header_compile "$LINENO" "netinet/in.h" "ac_cv_header_netinet_in_h" "$ac_includes_default"
8084 if test "x$ac_cv_header_netinet_in_h" = xyes
8085 then :
8086 printf "%s\n" "#define HAVE_NETINET_IN_H 1" >>confdefs.h
8089 ac_fn_c_check_header_compile "$LINENO" "netinet/in_systm.h" "ac_cv_header_netinet_in_systm_h" "$ac_includes_default"
8090 if test "x$ac_cv_header_netinet_in_systm_h" = xyes
8091 then :
8092 printf "%s\n" "#define HAVE_NETINET_IN_SYSTM_H 1" >>confdefs.h
8095 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp.h" "ac_cv_header_netinet_tcp_h" "$ac_includes_default"
8096 if test "x$ac_cv_header_netinet_tcp_h" = xyes
8097 then :
8098 printf "%s\n" "#define HAVE_NETINET_TCP_H 1" >>confdefs.h
8101 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp_fsm.h" "ac_cv_header_netinet_tcp_fsm_h" "$ac_includes_default"
8102 if test "x$ac_cv_header_netinet_tcp_fsm_h" = xyes
8103 then :
8104 printf "%s\n" "#define HAVE_NETINET_TCP_FSM_H 1" >>confdefs.h
8107 ac_fn_c_check_header_compile "$LINENO" "pcap/pcap.h" "ac_cv_header_pcap_pcap_h" "$ac_includes_default"
8108 if test "x$ac_cv_header_pcap_pcap_h" = xyes
8109 then :
8110 printf "%s\n" "#define HAVE_PCAP_PCAP_H 1" >>confdefs.h
8113 ac_fn_c_check_header_compile "$LINENO" "port.h" "ac_cv_header_port_h" "$ac_includes_default"
8114 if test "x$ac_cv_header_port_h" = xyes
8115 then :
8116 printf "%s\n" "#define HAVE_PORT_H 1" >>confdefs.h
8119 ac_fn_c_check_header_compile "$LINENO" "pwd.h" "ac_cv_header_pwd_h" "$ac_includes_default"
8120 if test "x$ac_cv_header_pwd_h" = xyes
8121 then :
8122 printf "%s\n" "#define HAVE_PWD_H 1" >>confdefs.h
8125 ac_fn_c_check_header_compile "$LINENO" "sched.h" "ac_cv_header_sched_h" "$ac_includes_default"
8126 if test "x$ac_cv_header_sched_h" = xyes
8127 then :
8128 printf "%s\n" "#define HAVE_SCHED_H 1" >>confdefs.h
8131 ac_fn_c_check_header_compile "$LINENO" "scsi/scsi.h" "ac_cv_header_scsi_scsi_h" "$ac_includes_default"
8132 if test "x$ac_cv_header_scsi_scsi_h" = xyes
8133 then :
8134 printf "%s\n" "#define HAVE_SCSI_SCSI_H 1" >>confdefs.h
8137 ac_fn_c_check_header_compile "$LINENO" "scsi/scsi_ioctl.h" "ac_cv_header_scsi_scsi_ioctl_h" "$ac_includes_default"
8138 if test "x$ac_cv_header_scsi_scsi_ioctl_h" = xyes
8139 then :
8140 printf "%s\n" "#define HAVE_SCSI_SCSI_IOCTL_H 1" >>confdefs.h
8143 ac_fn_c_check_header_compile "$LINENO" "scsi/sg.h" "ac_cv_header_scsi_sg_h" "$ac_includes_default"
8144 if test "x$ac_cv_header_scsi_sg_h" = xyes
8145 then :
8146 printf "%s\n" "#define HAVE_SCSI_SG_H 1" >>confdefs.h
8149 ac_fn_c_check_header_compile "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
8150 if test "x$ac_cv_header_stdint_h" = xyes
8151 then :
8152 printf "%s\n" "#define HAVE_STDINT_H 1" >>confdefs.h
8155 ac_fn_c_check_header_compile "$LINENO" "sys/attr.h" "ac_cv_header_sys_attr_h" "$ac_includes_default"
8156 if test "x$ac_cv_header_sys_attr_h" = xyes
8157 then :
8158 printf "%s\n" "#define HAVE_SYS_ATTR_H 1" >>confdefs.h
8161 ac_fn_c_check_header_compile "$LINENO" "sys/auxv.h" "ac_cv_header_sys_auxv_h" "$ac_includes_default"
8162 if test "x$ac_cv_header_sys_auxv_h" = xyes
8163 then :
8164 printf "%s\n" "#define HAVE_SYS_AUXV_H 1" >>confdefs.h
8167 ac_fn_c_check_header_compile "$LINENO" "sys/cdio.h" "ac_cv_header_sys_cdio_h" "$ac_includes_default"
8168 if test "x$ac_cv_header_sys_cdio_h" = xyes
8169 then :
8170 printf "%s\n" "#define HAVE_SYS_CDIO_H 1" >>confdefs.h
8173 ac_fn_c_check_header_compile "$LINENO" "sys/epoll.h" "ac_cv_header_sys_epoll_h" "$ac_includes_default"
8174 if test "x$ac_cv_header_sys_epoll_h" = xyes
8175 then :
8176 printf "%s\n" "#define HAVE_SYS_EPOLL_H 1" >>confdefs.h
8179 ac_fn_c_check_header_compile "$LINENO" "sys/event.h" "ac_cv_header_sys_event_h" "$ac_includes_default"
8180 if test "x$ac_cv_header_sys_event_h" = xyes
8181 then :
8182 printf "%s\n" "#define HAVE_SYS_EVENT_H 1" >>confdefs.h
8185 ac_fn_c_check_header_compile "$LINENO" "sys/extattr.h" "ac_cv_header_sys_extattr_h" "$ac_includes_default"
8186 if test "x$ac_cv_header_sys_extattr_h" = xyes
8187 then :
8188 printf "%s\n" "#define HAVE_SYS_EXTATTR_H 1" >>confdefs.h
8191 ac_fn_c_check_header_compile "$LINENO" "sys/filio.h" "ac_cv_header_sys_filio_h" "$ac_includes_default"
8192 if test "x$ac_cv_header_sys_filio_h" = xyes
8193 then :
8194 printf "%s\n" "#define HAVE_SYS_FILIO_H 1" >>confdefs.h
8197 ac_fn_c_check_header_compile "$LINENO" "sys/ipc.h" "ac_cv_header_sys_ipc_h" "$ac_includes_default"
8198 if test "x$ac_cv_header_sys_ipc_h" = xyes
8199 then :
8200 printf "%s\n" "#define HAVE_SYS_IPC_H 1" >>confdefs.h
8203 ac_fn_c_check_header_compile "$LINENO" "sys/link.h" "ac_cv_header_sys_link_h" "$ac_includes_default"
8204 if test "x$ac_cv_header_sys_link_h" = xyes
8205 then :
8206 printf "%s\n" "#define HAVE_SYS_LINK_H 1" >>confdefs.h
8209 ac_fn_c_check_header_compile "$LINENO" "sys/modem.h" "ac_cv_header_sys_modem_h" "$ac_includes_default"
8210 if test "x$ac_cv_header_sys_modem_h" = xyes
8211 then :
8212 printf "%s\n" "#define HAVE_SYS_MODEM_H 1" >>confdefs.h
8215 ac_fn_c_check_header_compile "$LINENO" "sys/mtio.h" "ac_cv_header_sys_mtio_h" "$ac_includes_default"
8216 if test "x$ac_cv_header_sys_mtio_h" = xyes
8217 then :
8218 printf "%s\n" "#define HAVE_SYS_MTIO_H 1" >>confdefs.h
8221 ac_fn_c_check_header_compile "$LINENO" "sys/param.h" "ac_cv_header_sys_param_h" "$ac_includes_default"
8222 if test "x$ac_cv_header_sys_param_h" = xyes
8223 then :
8224 printf "%s\n" "#define HAVE_SYS_PARAM_H 1" >>confdefs.h
8227 ac_fn_c_check_header_compile "$LINENO" "sys/prctl.h" "ac_cv_header_sys_prctl_h" "$ac_includes_default"
8228 if test "x$ac_cv_header_sys_prctl_h" = xyes
8229 then :
8230 printf "%s\n" "#define HAVE_SYS_PRCTL_H 1" >>confdefs.h
8233 ac_fn_c_check_header_compile "$LINENO" "sys/ptrace.h" "ac_cv_header_sys_ptrace_h" "$ac_includes_default"
8234 if test "x$ac_cv_header_sys_ptrace_h" = xyes
8235 then :
8236 printf "%s\n" "#define HAVE_SYS_PTRACE_H 1" >>confdefs.h
8239 ac_fn_c_check_header_compile "$LINENO" "sys/queue.h" "ac_cv_header_sys_queue_h" "$ac_includes_default"
8240 if test "x$ac_cv_header_sys_queue_h" = xyes
8241 then :
8242 printf "%s\n" "#define HAVE_SYS_QUEUE_H 1" >>confdefs.h
8245 ac_fn_c_check_header_compile "$LINENO" "sys/random.h" "ac_cv_header_sys_random_h" "$ac_includes_default"
8246 if test "x$ac_cv_header_sys_random_h" = xyes
8247 then :
8248 printf "%s\n" "#define HAVE_SYS_RANDOM_H 1" >>confdefs.h
8251 ac_fn_c_check_header_compile "$LINENO" "sys/resource.h" "ac_cv_header_sys_resource_h" "$ac_includes_default"
8252 if test "x$ac_cv_header_sys_resource_h" = xyes
8253 then :
8254 printf "%s\n" "#define HAVE_SYS_RESOURCE_H 1" >>confdefs.h
8257 ac_fn_c_check_header_compile "$LINENO" "sys/scsiio.h" "ac_cv_header_sys_scsiio_h" "$ac_includes_default"
8258 if test "x$ac_cv_header_sys_scsiio_h" = xyes
8259 then :
8260 printf "%s\n" "#define HAVE_SYS_SCSIIO_H 1" >>confdefs.h
8263 ac_fn_c_check_header_compile "$LINENO" "sys/shm.h" "ac_cv_header_sys_shm_h" "$ac_includes_default"
8264 if test "x$ac_cv_header_sys_shm_h" = xyes
8265 then :
8266 printf "%s\n" "#define HAVE_SYS_SHM_H 1" >>confdefs.h
8269 ac_fn_c_check_header_compile "$LINENO" "sys/signal.h" "ac_cv_header_sys_signal_h" "$ac_includes_default"
8270 if test "x$ac_cv_header_sys_signal_h" = xyes
8271 then :
8272 printf "%s\n" "#define HAVE_SYS_SIGNAL_H 1" >>confdefs.h
8275 ac_fn_c_check_header_compile "$LINENO" "sys/socketvar.h" "ac_cv_header_sys_socketvar_h" "$ac_includes_default"
8276 if test "x$ac_cv_header_sys_socketvar_h" = xyes
8277 then :
8278 printf "%s\n" "#define HAVE_SYS_SOCKETVAR_H 1" >>confdefs.h
8281 ac_fn_c_check_header_compile "$LINENO" "sys/sockio.h" "ac_cv_header_sys_sockio_h" "$ac_includes_default"
8282 if test "x$ac_cv_header_sys_sockio_h" = xyes
8283 then :
8284 printf "%s\n" "#define HAVE_SYS_SOCKIO_H 1" >>confdefs.h
8287 ac_fn_c_check_header_compile "$LINENO" "sys/statvfs.h" "ac_cv_header_sys_statvfs_h" "$ac_includes_default"
8288 if test "x$ac_cv_header_sys_statvfs_h" = xyes
8289 then :
8290 printf "%s\n" "#define HAVE_SYS_STATVFS_H 1" >>confdefs.h
8293 ac_fn_c_check_header_compile "$LINENO" "sys/strtio.h" "ac_cv_header_sys_strtio_h" "$ac_includes_default"
8294 if test "x$ac_cv_header_sys_strtio_h" = xyes
8295 then :
8296 printf "%s\n" "#define HAVE_SYS_STRTIO_H 1" >>confdefs.h
8299 ac_fn_c_check_header_compile "$LINENO" "sys/syscall.h" "ac_cv_header_sys_syscall_h" "$ac_includes_default"
8300 if test "x$ac_cv_header_sys_syscall_h" = xyes
8301 then :
8302 printf "%s\n" "#define HAVE_SYS_SYSCALL_H 1" >>confdefs.h
8305 ac_fn_c_check_header_compile "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
8306 if test "x$ac_cv_header_sys_sysinfo_h" = xyes
8307 then :
8308 printf "%s\n" "#define HAVE_SYS_SYSINFO_H 1" >>confdefs.h
8311 ac_fn_c_check_header_compile "$LINENO" "sys/times.h" "ac_cv_header_sys_times_h" "$ac_includes_default"
8312 if test "x$ac_cv_header_sys_times_h" = xyes
8313 then :
8314 printf "%s\n" "#define HAVE_SYS_TIMES_H 1" >>confdefs.h
8317 ac_fn_c_check_header_compile "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
8318 if test "x$ac_cv_header_sys_uio_h" = xyes
8319 then :
8320 printf "%s\n" "#define HAVE_SYS_UIO_H 1" >>confdefs.h
8323 ac_fn_c_check_header_compile "$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "$ac_includes_default"
8324 if test "x$ac_cv_header_sys_user_h" = xyes
8325 then :
8326 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8329 ac_fn_c_check_header_compile "$LINENO" "sys/utsname.h" "ac_cv_header_sys_utsname_h" "$ac_includes_default"
8330 if test "x$ac_cv_header_sys_utsname_h" = xyes
8331 then :
8332 printf "%s\n" "#define HAVE_SYS_UTSNAME_H 1" >>confdefs.h
8335 ac_fn_c_check_header_compile "$LINENO" "sys/vnode.h" "ac_cv_header_sys_vnode_h" "$ac_includes_default"
8336 if test "x$ac_cv_header_sys_vnode_h" = xyes
8337 then :
8338 printf "%s\n" "#define HAVE_SYS_VNODE_H 1" >>confdefs.h
8341 ac_fn_c_check_header_compile "$LINENO" "sys/xattr.h" "ac_cv_header_sys_xattr_h" "$ac_includes_default"
8342 if test "x$ac_cv_header_sys_xattr_h" = xyes
8343 then :
8344 printf "%s\n" "#define HAVE_SYS_XATTR_H 1" >>confdefs.h
8347 ac_fn_c_check_header_compile "$LINENO" "syscall.h" "ac_cv_header_syscall_h" "$ac_includes_default"
8348 if test "x$ac_cv_header_syscall_h" = xyes
8349 then :
8350 printf "%s\n" "#define HAVE_SYSCALL_H 1" >>confdefs.h
8353 ac_fn_c_check_header_compile "$LINENO" "utime.h" "ac_cv_header_utime_h" "$ac_includes_default"
8354 if test "x$ac_cv_header_utime_h" = xyes
8355 then :
8356 printf "%s\n" "#define HAVE_UTIME_H 1" >>confdefs.h
8359 ac_fn_c_check_header_compile "$LINENO" "valgrind/memcheck.h" "ac_cv_header_valgrind_memcheck_h" "$ac_includes_default"
8360 if test "x$ac_cv_header_valgrind_memcheck_h" = xyes
8361 then :
8362 printf "%s\n" "#define HAVE_VALGRIND_MEMCHECK_H 1" >>confdefs.h
8365 ac_fn_c_check_header_compile "$LINENO" "valgrind/valgrind.h" "ac_cv_header_valgrind_valgrind_h" "$ac_includes_default"
8366 if test "x$ac_cv_header_valgrind_valgrind_h" = xyes
8367 then :
8368 printf "%s\n" "#define HAVE_VALGRIND_VALGRIND_H 1" >>confdefs.h
8372 ac_fn_c_check_header_compile "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
8373 if test "x$ac_cv_header_sys_mkdev_h" = xyes
8374 then :
8376 printf "%s\n" "#define MAJOR_IN_MKDEV 1" >>confdefs.h
8380 if test $ac_cv_header_sys_mkdev_h = no; then
8381 ac_fn_c_check_header_compile "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
8382 if test "x$ac_cv_header_sys_sysmacros_h" = xyes
8383 then :
8385 printf "%s\n" "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
8390 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
8391 printf %s "checking whether stat file-mode macros are broken... " >&6; }
8392 if test ${ac_cv_header_stat_broken+y}
8393 then :
8394 printf %s "(cached) " >&6
8395 else $as_nop
8396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8397 /* end confdefs.h. */
8398 #include <sys/types.h>
8399 #include <sys/stat.h>
8401 #if defined S_ISBLK && defined S_IFDIR
8402 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
8403 #endif
8405 #if defined S_ISBLK && defined S_IFCHR
8406 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
8407 #endif
8409 #if defined S_ISLNK && defined S_IFREG
8410 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
8411 #endif
8413 #if defined S_ISSOCK && defined S_IFREG
8414 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
8415 #endif
8417 _ACEOF
8418 if ac_fn_c_try_compile "$LINENO"
8419 then :
8420 ac_cv_header_stat_broken=no
8421 else $as_nop
8422 ac_cv_header_stat_broken=yes
8424 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8426 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
8427 printf "%s\n" "$ac_cv_header_stat_broken" >&6; }
8428 if test $ac_cv_header_stat_broken = yes; then
8430 printf "%s\n" "#define STAT_MACROS_BROKEN 1" >>confdefs.h
8436 ac_fn_c_check_header_compile "$LINENO" "sys/conf.h" "ac_cv_header_sys_conf_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_conf_h" = xyes
8442 then :
8443 printf "%s\n" "#define HAVE_SYS_CONF_H 1" >>confdefs.h
8446 ac_fn_c_check_header_compile "$LINENO" "sys/mount.h" "ac_cv_header_sys_mount_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_mount_h" = xyes
8452 then :
8453 printf "%s\n" "#define HAVE_SYS_MOUNT_H 1" >>confdefs.h
8456 ac_fn_c_check_header_compile "$LINENO" "sys/statfs.h" "ac_cv_header_sys_statfs_h" "#include <sys/types.h>
8457 #ifdef HAVE_SYS_PARAM_H
8458 # include <sys/param.h>
8459 #endif
8461 if test "x$ac_cv_header_sys_statfs_h" = xyes
8462 then :
8463 printf "%s\n" "#define HAVE_SYS_STATFS_H 1" >>confdefs.h
8466 ac_fn_c_check_header_compile "$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "#include <sys/types.h>
8467 #ifdef HAVE_SYS_PARAM_H
8468 # include <sys/param.h>
8469 #endif
8471 if test "x$ac_cv_header_sys_user_h" = xyes
8472 then :
8473 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8476 ac_fn_c_check_header_compile "$LINENO" "sys/vfs.h" "ac_cv_header_sys_vfs_h" "#include <sys/types.h>
8477 #ifdef HAVE_SYS_PARAM_H
8478 # include <sys/param.h>
8479 #endif
8481 if test "x$ac_cv_header_sys_vfs_h" = xyes
8482 then :
8483 printf "%s\n" "#define HAVE_SYS_VFS_H 1" >>confdefs.h
8488 saved_sysctl_h_CFLAGS=$CFLAGS
8489 test "x${GCC}" != xyes || CFLAGS="$CFLAGS -Werror"
8490 ac_fn_c_check_header_compile "$LINENO" "sys/sysctl.h" "ac_cv_header_sys_sysctl_h" "#include <sys/types.h>
8491 #ifdef HAVE_SYS_PARAM_H
8492 # include <sys/param.h>
8493 #endif
8495 if test "x$ac_cv_header_sys_sysctl_h" = xyes
8496 then :
8497 printf "%s\n" "#define HAVE_SYS_SYSCTL_H 1" >>confdefs.h
8501 CFLAGS=$saved_sysctl_h_CFLAGS
8503 ac_fn_c_check_header_compile "$LINENO" "netinet/ip.h" "ac_cv_header_netinet_ip_h" "#include <sys/types.h>
8504 #include <sys/socket.h>
8505 #ifdef HAVE_SYS_SOCKETVAR_H
8506 # include <sys/socketvar.h>
8507 #endif
8508 #ifdef HAVE_NET_ROUTE_H
8509 # include <net/route.h>
8510 #endif
8511 #ifdef HAVE_NETINET_IN_H
8512 # include <netinet/in.h>
8513 #endif
8514 #ifdef HAVE_NETINET_IN_SYSTM_H
8515 # include <netinet/in_systm.h>
8516 #endif
8517 #ifdef HAVE_NET_IF_H
8518 # include <net/if.h>
8519 #endif
8520 #ifdef HAVE_NETINET_IP_H
8521 # include <netinet/ip.h>
8522 #endif
8524 if test "x$ac_cv_header_netinet_ip_h" = xyes
8525 then :
8526 printf "%s\n" "#define HAVE_NETINET_IP_H 1" >>confdefs.h
8529 ac_fn_c_check_header_compile "$LINENO" "net/if.h" "ac_cv_header_net_if_h" "#include <sys/types.h>
8530 #include <sys/socket.h>
8531 #ifdef HAVE_SYS_SOCKETVAR_H
8532 # include <sys/socketvar.h>
8533 #endif
8534 #ifdef HAVE_NET_ROUTE_H
8535 # include <net/route.h>
8536 #endif
8537 #ifdef HAVE_NETINET_IN_H
8538 # include <netinet/in.h>
8539 #endif
8540 #ifdef HAVE_NETINET_IN_SYSTM_H
8541 # include <netinet/in_systm.h>
8542 #endif
8543 #ifdef HAVE_NET_IF_H
8544 # include <net/if.h>
8545 #endif
8546 #ifdef HAVE_NETINET_IP_H
8547 # include <netinet/ip.h>
8548 #endif
8550 if test "x$ac_cv_header_net_if_h" = xyes
8551 then :
8552 printf "%s\n" "#define HAVE_NET_IF_H 1" >>confdefs.h
8555 ac_fn_c_check_header_compile "$LINENO" "net/if_arp.h" "ac_cv_header_net_if_arp_h" "#include <sys/types.h>
8556 #include <sys/socket.h>
8557 #ifdef HAVE_SYS_SOCKETVAR_H
8558 # include <sys/socketvar.h>
8559 #endif
8560 #ifdef HAVE_NET_ROUTE_H
8561 # include <net/route.h>
8562 #endif
8563 #ifdef HAVE_NETINET_IN_H
8564 # include <netinet/in.h>
8565 #endif
8566 #ifdef HAVE_NETINET_IN_SYSTM_H
8567 # include <netinet/in_systm.h>
8568 #endif
8569 #ifdef HAVE_NET_IF_H
8570 # include <net/if.h>
8571 #endif
8572 #ifdef HAVE_NETINET_IP_H
8573 # include <netinet/ip.h>
8574 #endif
8576 if test "x$ac_cv_header_net_if_arp_h" = xyes
8577 then :
8578 printf "%s\n" "#define HAVE_NET_IF_ARP_H 1" >>confdefs.h
8581 ac_fn_c_check_header_compile "$LINENO" "net/if_dl.h" "ac_cv_header_net_if_dl_h" "#include <sys/types.h>
8582 #include <sys/socket.h>
8583 #ifdef HAVE_SYS_SOCKETVAR_H
8584 # include <sys/socketvar.h>
8585 #endif
8586 #ifdef HAVE_NET_ROUTE_H
8587 # include <net/route.h>
8588 #endif
8589 #ifdef HAVE_NETINET_IN_H
8590 # include <netinet/in.h>
8591 #endif
8592 #ifdef HAVE_NETINET_IN_SYSTM_H
8593 # include <netinet/in_systm.h>
8594 #endif
8595 #ifdef HAVE_NET_IF_H
8596 # include <net/if.h>
8597 #endif
8598 #ifdef HAVE_NETINET_IP_H
8599 # include <netinet/ip.h>
8600 #endif
8602 if test "x$ac_cv_header_net_if_dl_h" = xyes
8603 then :
8604 printf "%s\n" "#define HAVE_NET_IF_DL_H 1" >>confdefs.h
8607 ac_fn_c_check_header_compile "$LINENO" "net/if_types.h" "ac_cv_header_net_if_types_h" "#include <sys/types.h>
8608 #include <sys/socket.h>
8609 #ifdef HAVE_SYS_SOCKETVAR_H
8610 # include <sys/socketvar.h>
8611 #endif
8612 #ifdef HAVE_NET_ROUTE_H
8613 # include <net/route.h>
8614 #endif
8615 #ifdef HAVE_NETINET_IN_H
8616 # include <netinet/in.h>
8617 #endif
8618 #ifdef HAVE_NETINET_IN_SYSTM_H
8619 # include <netinet/in_systm.h>
8620 #endif
8621 #ifdef HAVE_NET_IF_H
8622 # include <net/if.h>
8623 #endif
8624 #ifdef HAVE_NETINET_IP_H
8625 # include <netinet/ip.h>
8626 #endif
8628 if test "x$ac_cv_header_net_if_types_h" = xyes
8629 then :
8630 printf "%s\n" "#define HAVE_NET_IF_TYPES_H 1" >>confdefs.h
8633 ac_fn_c_check_header_compile "$LINENO" "net/route.h" "ac_cv_header_net_route_h" "#include <sys/types.h>
8634 #include <sys/socket.h>
8635 #ifdef HAVE_SYS_SOCKETVAR_H
8636 # include <sys/socketvar.h>
8637 #endif
8638 #ifdef HAVE_NET_ROUTE_H
8639 # include <net/route.h>
8640 #endif
8641 #ifdef HAVE_NETINET_IN_H
8642 # include <netinet/in.h>
8643 #endif
8644 #ifdef HAVE_NETINET_IN_SYSTM_H
8645 # include <netinet/in_systm.h>
8646 #endif
8647 #ifdef HAVE_NET_IF_H
8648 # include <net/if.h>
8649 #endif
8650 #ifdef HAVE_NETINET_IP_H
8651 # include <netinet/ip.h>
8652 #endif
8654 if test "x$ac_cv_header_net_route_h" = xyes
8655 then :
8656 printf "%s\n" "#define HAVE_NET_ROUTE_H 1" >>confdefs.h
8659 ac_fn_c_check_header_compile "$LINENO" "netinet/if_ether.h" "ac_cv_header_netinet_if_ether_h" "#include <sys/types.h>
8660 #include <sys/socket.h>
8661 #ifdef HAVE_SYS_SOCKETVAR_H
8662 # include <sys/socketvar.h>
8663 #endif
8664 #ifdef HAVE_NET_ROUTE_H
8665 # include <net/route.h>
8666 #endif
8667 #ifdef HAVE_NETINET_IN_H
8668 # include <netinet/in.h>
8669 #endif
8670 #ifdef HAVE_NETINET_IN_SYSTM_H
8671 # include <netinet/in_systm.h>
8672 #endif
8673 #ifdef HAVE_NET_IF_H
8674 # include <net/if.h>
8675 #endif
8676 #ifdef HAVE_NETINET_IP_H
8677 # include <netinet/ip.h>
8678 #endif
8680 if test "x$ac_cv_header_netinet_if_ether_h" = xyes
8681 then :
8682 printf "%s\n" "#define HAVE_NETINET_IF_ETHER_H 1" >>confdefs.h
8685 ac_fn_c_check_header_compile "$LINENO" "netinet/in_pcb.h" "ac_cv_header_netinet_in_pcb_h" "#include <sys/types.h>
8686 #include <sys/socket.h>
8687 #ifdef HAVE_SYS_SOCKETVAR_H
8688 # include <sys/socketvar.h>
8689 #endif
8690 #ifdef HAVE_NET_ROUTE_H
8691 # include <net/route.h>
8692 #endif
8693 #ifdef HAVE_NETINET_IN_H
8694 # include <netinet/in.h>
8695 #endif
8696 #ifdef HAVE_NETINET_IN_SYSTM_H
8697 # include <netinet/in_systm.h>
8698 #endif
8699 #ifdef HAVE_NET_IF_H
8700 # include <net/if.h>
8701 #endif
8702 #ifdef HAVE_NETINET_IP_H
8703 # include <netinet/ip.h>
8704 #endif
8706 if test "x$ac_cv_header_netinet_in_pcb_h" = xyes
8707 then :
8708 printf "%s\n" "#define HAVE_NETINET_IN_PCB_H 1" >>confdefs.h
8711 ac_fn_c_check_header_compile "$LINENO" "netinet/ip_icmp.h" "ac_cv_header_netinet_ip_icmp_h" "#include <sys/types.h>
8712 #include <sys/socket.h>
8713 #ifdef HAVE_SYS_SOCKETVAR_H
8714 # include <sys/socketvar.h>
8715 #endif
8716 #ifdef HAVE_NET_ROUTE_H
8717 # include <net/route.h>
8718 #endif
8719 #ifdef HAVE_NETINET_IN_H
8720 # include <netinet/in.h>
8721 #endif
8722 #ifdef HAVE_NETINET_IN_SYSTM_H
8723 # include <netinet/in_systm.h>
8724 #endif
8725 #ifdef HAVE_NET_IF_H
8726 # include <net/if.h>
8727 #endif
8728 #ifdef HAVE_NETINET_IP_H
8729 # include <netinet/ip.h>
8730 #endif
8732 if test "x$ac_cv_header_netinet_ip_icmp_h" = xyes
8733 then :
8734 printf "%s\n" "#define HAVE_NETINET_IP_ICMP_H 1" >>confdefs.h
8737 ac_fn_c_check_header_compile "$LINENO" "netinet/ip_var.h" "ac_cv_header_netinet_ip_var_h" "#include <sys/types.h>
8738 #include <sys/socket.h>
8739 #ifdef HAVE_SYS_SOCKETVAR_H
8740 # include <sys/socketvar.h>
8741 #endif
8742 #ifdef HAVE_NET_ROUTE_H
8743 # include <net/route.h>
8744 #endif
8745 #ifdef HAVE_NETINET_IN_H
8746 # include <netinet/in.h>
8747 #endif
8748 #ifdef HAVE_NETINET_IN_SYSTM_H
8749 # include <netinet/in_systm.h>
8750 #endif
8751 #ifdef HAVE_NET_IF_H
8752 # include <net/if.h>
8753 #endif
8754 #ifdef HAVE_NETINET_IP_H
8755 # include <netinet/ip.h>
8756 #endif
8758 if test "x$ac_cv_header_netinet_ip_var_h" = xyes
8759 then :
8760 printf "%s\n" "#define HAVE_NETINET_IP_VAR_H 1" >>confdefs.h
8763 ac_fn_c_check_header_compile "$LINENO" "netinet/udp.h" "ac_cv_header_netinet_udp_h" "#include <sys/types.h>
8764 #include <sys/socket.h>
8765 #ifdef HAVE_SYS_SOCKETVAR_H
8766 # include <sys/socketvar.h>
8767 #endif
8768 #ifdef HAVE_NET_ROUTE_H
8769 # include <net/route.h>
8770 #endif
8771 #ifdef HAVE_NETINET_IN_H
8772 # include <netinet/in.h>
8773 #endif
8774 #ifdef HAVE_NETINET_IN_SYSTM_H
8775 # include <netinet/in_systm.h>
8776 #endif
8777 #ifdef HAVE_NET_IF_H
8778 # include <net/if.h>
8779 #endif
8780 #ifdef HAVE_NETINET_IP_H
8781 # include <netinet/ip.h>
8782 #endif
8784 if test "x$ac_cv_header_netinet_udp_h" = xyes
8785 then :
8786 printf "%s\n" "#define HAVE_NETINET_UDP_H 1" >>confdefs.h
8789 ac_fn_c_check_header_compile "$LINENO" "netinet6/ip6_var.h" "ac_cv_header_netinet6_ip6_var_h" "#include <sys/types.h>
8790 #include <sys/socket.h>
8791 #ifdef HAVE_SYS_SOCKETVAR_H
8792 # include <sys/socketvar.h>
8793 #endif
8794 #ifdef HAVE_NET_ROUTE_H
8795 # include <net/route.h>
8796 #endif
8797 #ifdef HAVE_NETINET_IN_H
8798 # include <netinet/in.h>
8799 #endif
8800 #ifdef HAVE_NETINET_IN_SYSTM_H
8801 # include <netinet/in_systm.h>
8802 #endif
8803 #ifdef HAVE_NET_IF_H
8804 # include <net/if.h>
8805 #endif
8806 #ifdef HAVE_NETINET_IP_H
8807 # include <netinet/ip.h>
8808 #endif
8810 if test "x$ac_cv_header_netinet6_ip6_var_h" = xyes
8811 then :
8812 printf "%s\n" "#define HAVE_NETINET6_IP6_VAR_H 1" >>confdefs.h
8815 ac_fn_c_check_header_compile "$LINENO" "netipx/ipx.h" "ac_cv_header_netipx_ipx_h" "#include <sys/types.h>
8816 #include <sys/socket.h>
8817 #ifdef HAVE_SYS_SOCKETVAR_H
8818 # include <sys/socketvar.h>
8819 #endif
8820 #ifdef HAVE_NET_ROUTE_H
8821 # include <net/route.h>
8822 #endif
8823 #ifdef HAVE_NETINET_IN_H
8824 # include <netinet/in.h>
8825 #endif
8826 #ifdef HAVE_NETINET_IN_SYSTM_H
8827 # include <netinet/in_systm.h>
8828 #endif
8829 #ifdef HAVE_NET_IF_H
8830 # include <net/if.h>
8831 #endif
8832 #ifdef HAVE_NETINET_IP_H
8833 # include <netinet/ip.h>
8834 #endif
8836 if test "x$ac_cv_header_netipx_ipx_h" = xyes
8837 then :
8838 printf "%s\n" "#define HAVE_NETIPX_IPX_H 1" >>confdefs.h
8841 ac_fn_c_check_header_compile "$LINENO" "sys/un.h" "ac_cv_header_sys_un_h" "#include <sys/types.h>
8842 #include <sys/socket.h>
8843 #ifdef HAVE_SYS_SOCKETVAR_H
8844 # include <sys/socketvar.h>
8845 #endif
8846 #ifdef HAVE_NET_ROUTE_H
8847 # include <net/route.h>
8848 #endif
8849 #ifdef HAVE_NETINET_IN_H
8850 # include <netinet/in.h>
8851 #endif
8852 #ifdef HAVE_NETINET_IN_SYSTM_H
8853 # include <netinet/in_systm.h>
8854 #endif
8855 #ifdef HAVE_NET_IF_H
8856 # include <net/if.h>
8857 #endif
8858 #ifdef HAVE_NETINET_IP_H
8859 # include <netinet/ip.h>
8860 #endif
8862 if test "x$ac_cv_header_sys_un_h" = xyes
8863 then :
8864 printf "%s\n" "#define HAVE_SYS_UN_H 1" >>confdefs.h
8869 ac_fn_c_check_header_compile "$LINENO" "netinet/udp_var.h" "ac_cv_header_netinet_udp_var_h" "#include <sys/types.h>
8870 #include <sys/socket.h>
8871 #ifdef HAVE_SYS_SOCKETVAR_H
8872 # include <sys/socketvar.h>
8873 #endif
8874 #ifdef HAVE_NETINET_IN_H
8875 # include <netinet/in.h>
8876 #endif
8877 #ifdef HAVE_NETINET_IN_SYSTM_H
8878 # include <netinet/in_systm.h>
8879 #endif
8880 #ifdef HAVE_NETINET_IP_H
8881 # include <netinet/ip.h>
8882 #endif
8883 #ifdef HAVE_NETINET_IP_VAR_H
8884 # include <netinet/ip_var.h>
8885 #endif
8886 #ifdef HAVE_NETINET_IP_ICMP_H
8887 # include <netinet/ip_icmp.h>
8888 #endif
8889 #ifdef HAVE_NETINET_UDP_H
8890 # include <netinet/udp.h>
8891 #endif
8892 #ifdef HAVE_NETINET_TCP_H
8893 # include <netinet/tcp.h>
8894 #endif
8896 if test "x$ac_cv_header_netinet_udp_var_h" = xyes
8897 then :
8898 printf "%s\n" "#define HAVE_NETINET_UDP_VAR_H 1" >>confdefs.h
8901 ac_fn_c_check_header_compile "$LINENO" "netinet/icmp_var.h" "ac_cv_header_netinet_icmp_var_h" "#include <sys/types.h>
8902 #include <sys/socket.h>
8903 #ifdef HAVE_SYS_SOCKETVAR_H
8904 # include <sys/socketvar.h>
8905 #endif
8906 #ifdef HAVE_NETINET_IN_H
8907 # include <netinet/in.h>
8908 #endif
8909 #ifdef HAVE_NETINET_IN_SYSTM_H
8910 # include <netinet/in_systm.h>
8911 #endif
8912 #ifdef HAVE_NETINET_IP_H
8913 # include <netinet/ip.h>
8914 #endif
8915 #ifdef HAVE_NETINET_IP_VAR_H
8916 # include <netinet/ip_var.h>
8917 #endif
8918 #ifdef HAVE_NETINET_IP_ICMP_H
8919 # include <netinet/ip_icmp.h>
8920 #endif
8921 #ifdef HAVE_NETINET_UDP_H
8922 # include <netinet/udp.h>
8923 #endif
8924 #ifdef HAVE_NETINET_TCP_H
8925 # include <netinet/tcp.h>
8926 #endif
8928 if test "x$ac_cv_header_netinet_icmp_var_h" = xyes
8929 then :
8930 printf "%s\n" "#define HAVE_NETINET_ICMP_VAR_H 1" >>confdefs.h
8933 ac_fn_c_check_header_compile "$LINENO" "netinet/icmp6.h" "ac_cv_header_netinet_icmp6_h" "#include <sys/types.h>
8934 #include <sys/socket.h>
8935 #ifdef HAVE_SYS_SOCKETVAR_H
8936 # include <sys/socketvar.h>
8937 #endif
8938 #ifdef HAVE_NETINET_IN_H
8939 # include <netinet/in.h>
8940 #endif
8941 #ifdef HAVE_NETINET_IN_SYSTM_H
8942 # include <netinet/in_systm.h>
8943 #endif
8944 #ifdef HAVE_NETINET_IP_H
8945 # include <netinet/ip.h>
8946 #endif
8947 #ifdef HAVE_NETINET_IP_VAR_H
8948 # include <netinet/ip_var.h>
8949 #endif
8950 #ifdef HAVE_NETINET_IP_ICMP_H
8951 # include <netinet/ip_icmp.h>
8952 #endif
8953 #ifdef HAVE_NETINET_UDP_H
8954 # include <netinet/udp.h>
8955 #endif
8956 #ifdef HAVE_NETINET_TCP_H
8957 # include <netinet/tcp.h>
8958 #endif
8960 if test "x$ac_cv_header_netinet_icmp6_h" = xyes
8961 then :
8962 printf "%s\n" "#define HAVE_NETINET_ICMP6_H 1" >>confdefs.h
8965 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp_var.h" "ac_cv_header_netinet_tcp_var_h" "#include <sys/types.h>
8966 #include <sys/socket.h>
8967 #ifdef HAVE_SYS_SOCKETVAR_H
8968 # include <sys/socketvar.h>
8969 #endif
8970 #ifdef HAVE_NETINET_IN_H
8971 # include <netinet/in.h>
8972 #endif
8973 #ifdef HAVE_NETINET_IN_SYSTM_H
8974 # include <netinet/in_systm.h>
8975 #endif
8976 #ifdef HAVE_NETINET_IP_H
8977 # include <netinet/ip.h>
8978 #endif
8979 #ifdef HAVE_NETINET_IP_VAR_H
8980 # include <netinet/ip_var.h>
8981 #endif
8982 #ifdef HAVE_NETINET_IP_ICMP_H
8983 # include <netinet/ip_icmp.h>
8984 #endif
8985 #ifdef HAVE_NETINET_UDP_H
8986 # include <netinet/udp.h>
8987 #endif
8988 #ifdef HAVE_NETINET_TCP_H
8989 # include <netinet/tcp.h>
8990 #endif
8992 if test "x$ac_cv_header_netinet_tcp_var_h" = xyes
8993 then :
8994 printf "%s\n" "#define HAVE_NETINET_TCP_VAR_H 1" >>confdefs.h
8999 ac_fn_c_check_header_compile "$LINENO" "linux/ipx.h" "ac_cv_header_linux_ipx_h" "#include <sys/types.h>
9000 #include <sys/socket.h>
9001 #ifdef HAVE_ASM_TYPES_H
9002 # include <asm/types.h>
9003 #endif
9004 #ifdef HAVE_LINUX_TYPES_H
9005 # include <linux/types.h>
9006 #endif
9008 if test "x$ac_cv_header_linux_ipx_h" = xyes
9009 then :
9010 printf "%s\n" "#define HAVE_LINUX_IPX_H 1" >>confdefs.h
9013 ac_fn_c_check_header_compile "$LINENO" "linux/irda.h" "ac_cv_header_linux_irda_h" "#include <sys/types.h>
9014 #include <sys/socket.h>
9015 #ifdef HAVE_ASM_TYPES_H
9016 # include <asm/types.h>
9017 #endif
9018 #ifdef HAVE_LINUX_TYPES_H
9019 # include <linux/types.h>
9020 #endif
9022 if test "x$ac_cv_header_linux_irda_h" = xyes
9023 then :
9024 printf "%s\n" "#define HAVE_LINUX_IRDA_H 1" >>confdefs.h
9027 ac_fn_c_check_header_compile "$LINENO" "linux/rtnetlink.h" "ac_cv_header_linux_rtnetlink_h" "#include <sys/types.h>
9028 #include <sys/socket.h>
9029 #ifdef HAVE_ASM_TYPES_H
9030 # include <asm/types.h>
9031 #endif
9032 #ifdef HAVE_LINUX_TYPES_H
9033 # include <linux/types.h>
9034 #endif
9036 if test "x$ac_cv_header_linux_rtnetlink_h" = xyes
9037 then :
9038 printf "%s\n" "#define HAVE_LINUX_RTNETLINK_H 1" >>confdefs.h
9043 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
9044 #include <sys/socket.h>
9045 #ifdef HAVE_NETINET_IN_H
9046 # include <netinet/in.h>
9047 #endif
9048 #ifdef HAVE_ARPA_NAMESER_H
9049 # include <arpa/nameser.h>
9050 #endif
9052 if test "x$ac_cv_header_resolv_h" = xyes
9053 then :
9054 printf "%s\n" "#define HAVE_RESOLV_H 1" >>confdefs.h
9059 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
9061 if test "x$ac_cv_header_ifaddrs_h" = xyes
9062 then :
9063 printf "%s\n" "#define HAVE_IFADDRS_H 1" >>confdefs.h
9068 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
9070 if test "x$ac_cv_header_sys_ucontext_h" = xyes
9071 then :
9072 printf "%s\n" "#define HAVE_SYS_UCONTEXT_H 1" >>confdefs.h
9077 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
9078 #ifdef HAVE_SYS_UCONTEXT_H
9079 #include <sys/ucontext.h>
9080 #endif
9082 if test "x$ac_cv_header_sys_thr_h" = xyes
9083 then :
9084 printf "%s\n" "#define HAVE_SYS_THR_H 1" >>confdefs.h
9089 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#include <pthread.h>
9091 if test "x$ac_cv_header_pthread_np_h" = xyes
9092 then :
9093 printf "%s\n" "#define HAVE_PTHREAD_NP_H 1" >>confdefs.h
9098 ac_fn_c_check_header_compile "$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "#include <sys/time.h>
9099 #include <sys/types.h>
9100 #ifdef HAVE_ASM_TYPES_H
9101 #include <asm/types.h>
9102 #endif
9104 if test "x$ac_cv_header_linux_videodev2_h" = xyes
9105 then :
9106 printf "%s\n" "#define HAVE_LINUX_VIDEODEV2_H 1" >>confdefs.h
9111 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
9112 #include <sys/param.h>
9113 #endif
9114 #include <sys/socket.h>
9115 #ifdef HAVE_SYS_QUEUE_H
9116 #include <sys/queue.h>
9117 #endif
9119 if test "x$ac_cv_header_libprocstat_h" = xyes
9120 then :
9121 printf "%s\n" "#define HAVE_LIBPROCSTAT_H 1" >>confdefs.h
9126 if test "x$ac_cv_header_sys_xattr_h" = xyes
9127 then
9128 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether getxattr takes additional arguments" >&5
9129 printf %s "checking whether getxattr takes additional arguments... " >&6; }
9130 if test ${wine_cv_xattr_extra_args+y}
9131 then :
9132 printf %s "(cached) " >&6
9133 else $as_nop
9134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9135 /* end confdefs.h. */
9136 #include <sys/xattr.h>
9138 main (void)
9140 getxattr("", "", "", 0, 0, 0);
9142 return 0;
9144 _ACEOF
9145 if ac_fn_c_try_compile "$LINENO"
9146 then :
9147 wine_cv_xattr_extra_args=yes
9148 else $as_nop
9149 wine_cv_xattr_extra_args=no
9151 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9153 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_xattr_extra_args" >&5
9154 printf "%s\n" "$wine_cv_xattr_extra_args" >&6; }
9155 test $wine_cv_xattr_extra_args != yes ||
9156 printf "%s\n" "#define XATTR_ADDITIONAL_OPTIONS 1" >>confdefs.h
9161 DLLFLAGS=""
9163 LDDLLFLAGS=""
9165 LDEXECFLAGS=""
9167 EXTRACFLAGS=""
9169 UNIXDLLFLAGS="-fPIC"
9171 UNIXLDFLAGS="-shared -Wl,-Bsymbolic -Wl,-soname,\$(UNIXLIB)"
9173 TOP_INSTALL_LIB=""
9175 TOP_INSTALL_DEV=""
9177 WINELOADER_LDFLAGS=""
9179 WINEPRELOADER_LDFLAGS=""
9181 DLLEXT=".so"
9183 LIBEXT="so"
9184 # Extract the first word of "ldd", so it can be a program name with args.
9185 set dummy ldd; ac_word=$2
9186 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9187 printf %s "checking for $ac_word... " >&6; }
9188 if test ${ac_cv_path_LDD+y}
9189 then :
9190 printf %s "(cached) " >&6
9191 else $as_nop
9192 case $LDD in
9193 [\\/]* | ?:[\\/]*)
9194 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
9197 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9198 as_dummy="/sbin:/usr/sbin:$PATH"
9199 for as_dir in $as_dummy
9201 IFS=$as_save_IFS
9202 case $as_dir in #(((
9203 '') as_dir=./ ;;
9204 */) ;;
9205 *) as_dir=$as_dir/ ;;
9206 esac
9207 for ac_exec_ext in '' $ac_executable_extensions; do
9208 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9209 ac_cv_path_LDD="$as_dir$ac_word$ac_exec_ext"
9210 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9211 break 2
9213 done
9214 done
9215 IFS=$as_save_IFS
9217 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
9219 esac
9221 LDD=$ac_cv_path_LDD
9222 if test -n "$LDD"; then
9223 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
9224 printf "%s\n" "$LDD" >&6; }
9225 else
9226 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9227 printf "%s\n" "no" >&6; }
9231 if test -n "$ac_tool_prefix"; then
9232 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
9233 set dummy ${ac_tool_prefix}otool; ac_word=$2
9234 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9235 printf %s "checking for $ac_word... " >&6; }
9236 if test ${ac_cv_prog_OTOOL+y}
9237 then :
9238 printf %s "(cached) " >&6
9239 else $as_nop
9240 if test -n "$OTOOL"; then
9241 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
9242 else
9243 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9244 for as_dir in $PATH
9246 IFS=$as_save_IFS
9247 case $as_dir in #(((
9248 '') as_dir=./ ;;
9249 */) ;;
9250 *) as_dir=$as_dir/ ;;
9251 esac
9252 for ac_exec_ext in '' $ac_executable_extensions; do
9253 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9254 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
9255 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9256 break 2
9258 done
9259 done
9260 IFS=$as_save_IFS
9264 OTOOL=$ac_cv_prog_OTOOL
9265 if test -n "$OTOOL"; then
9266 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
9267 printf "%s\n" "$OTOOL" >&6; }
9268 else
9269 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9270 printf "%s\n" "no" >&6; }
9275 if test -z "$ac_cv_prog_OTOOL"; then
9276 ac_ct_OTOOL=$OTOOL
9277 # Extract the first word of "otool", so it can be a program name with args.
9278 set dummy otool; ac_word=$2
9279 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9280 printf %s "checking for $ac_word... " >&6; }
9281 if test ${ac_cv_prog_ac_ct_OTOOL+y}
9282 then :
9283 printf %s "(cached) " >&6
9284 else $as_nop
9285 if test -n "$ac_ct_OTOOL"; then
9286 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
9287 else
9288 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9289 for as_dir in $PATH
9291 IFS=$as_save_IFS
9292 case $as_dir in #(((
9293 '') as_dir=./ ;;
9294 */) ;;
9295 *) as_dir=$as_dir/ ;;
9296 esac
9297 for ac_exec_ext in '' $ac_executable_extensions; do
9298 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9299 ac_cv_prog_ac_ct_OTOOL="otool"
9300 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9301 break 2
9303 done
9304 done
9305 IFS=$as_save_IFS
9309 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
9310 if test -n "$ac_ct_OTOOL"; then
9311 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
9312 printf "%s\n" "$ac_ct_OTOOL" >&6; }
9313 else
9314 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9315 printf "%s\n" "no" >&6; }
9318 if test "x$ac_ct_OTOOL" = x; then
9319 OTOOL="otool"
9320 else
9321 case $cross_compiling:$ac_tool_warned in
9322 yes:)
9323 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9324 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9325 ac_tool_warned=yes ;;
9326 esac
9327 OTOOL=$ac_ct_OTOOL
9329 else
9330 OTOOL="$ac_cv_prog_OTOOL"
9333 if test -n "$ac_tool_prefix"; then
9334 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
9335 set dummy ${ac_tool_prefix}readelf; ac_word=$2
9336 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9337 printf %s "checking for $ac_word... " >&6; }
9338 if test ${ac_cv_prog_READELF+y}
9339 then :
9340 printf %s "(cached) " >&6
9341 else $as_nop
9342 if test -n "$READELF"; then
9343 ac_cv_prog_READELF="$READELF" # Let the user override the test.
9344 else
9345 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9346 for as_dir in $PATH
9348 IFS=$as_save_IFS
9349 case $as_dir in #(((
9350 '') as_dir=./ ;;
9351 */) ;;
9352 *) as_dir=$as_dir/ ;;
9353 esac
9354 for ac_exec_ext in '' $ac_executable_extensions; do
9355 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9356 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
9357 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9358 break 2
9360 done
9361 done
9362 IFS=$as_save_IFS
9366 READELF=$ac_cv_prog_READELF
9367 if test -n "$READELF"; then
9368 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
9369 printf "%s\n" "$READELF" >&6; }
9370 else
9371 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9372 printf "%s\n" "no" >&6; }
9377 if test -z "$ac_cv_prog_READELF"; then
9378 ac_ct_READELF=$READELF
9379 # Extract the first word of "readelf", so it can be a program name with args.
9380 set dummy readelf; ac_word=$2
9381 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9382 printf %s "checking for $ac_word... " >&6; }
9383 if test ${ac_cv_prog_ac_ct_READELF+y}
9384 then :
9385 printf %s "(cached) " >&6
9386 else $as_nop
9387 if test -n "$ac_ct_READELF"; then
9388 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
9389 else
9390 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9391 for as_dir in $PATH
9393 IFS=$as_save_IFS
9394 case $as_dir in #(((
9395 '') as_dir=./ ;;
9396 */) ;;
9397 *) as_dir=$as_dir/ ;;
9398 esac
9399 for ac_exec_ext in '' $ac_executable_extensions; do
9400 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9401 ac_cv_prog_ac_ct_READELF="readelf"
9402 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9403 break 2
9405 done
9406 done
9407 IFS=$as_save_IFS
9411 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
9412 if test -n "$ac_ct_READELF"; then
9413 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
9414 printf "%s\n" "$ac_ct_READELF" >&6; }
9415 else
9416 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9417 printf "%s\n" "no" >&6; }
9420 if test "x$ac_ct_READELF" = x; then
9421 READELF="true"
9422 else
9423 case $cross_compiling:$ac_tool_warned in
9424 yes:)
9425 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9426 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9427 ac_tool_warned=yes ;;
9428 esac
9429 READELF=$ac_ct_READELF
9431 else
9432 READELF="$ac_cv_prog_READELF"
9435 wine_rules="all:"
9436 SUBDIRS=""
9438 DISABLED_SUBDIRS=""
9440 CONFIGURE_TARGETS=""
9443 wine_fn_config_makefile ()
9445 as_fn_append SUBDIRS " \\$as_nl $1"
9446 eval enable=\$$2
9447 case "$enable" in
9448 no) as_fn_append DISABLED_SUBDIRS " $1" ;;
9449 yes) ;;
9450 *aarch64*|*arm*|*i386*|*x86_64*)
9451 if test -n "$PE_ARCHS"
9452 then
9453 for i in $PE_ARCHS
9455 test $(expr ",$enable," : ".*,$i,") -gt 0 || as_fn_append ${i}_DISABLED_SUBDIRS " $1"
9456 done
9457 else
9458 test $(expr ",$enable," : ".*,$HOST_ARCH,") -gt 0 || as_fn_append DISABLED_SUBDIRS " $1"
9459 fi ;;
9461 case "$1, $PE_ARCHS " in
9462 programs/*,*\ arm64ec\ *) as_fn_append arm64ec_DISABLED_SUBDIRS " $1" ;;
9463 esac ;;
9464 esac
9467 wine_fn_config_symlink ()
9469 ac_links=$@
9470 as_fn_append wine_rules "
9471 $ac_links:
9472 @./config.status \$@"
9473 for f in $ac_links; do as_fn_append CONFIGURE_TARGETS " $f"; done
9476 case $host_os in
9477 cygwin*|mingw32*)
9478 LIBEXT="dll"
9479 DLLEXT=""
9480 EXTRACFLAGS="-D__WINE_PE_BUILD"
9481 if test "x$HOST_ARCH" = xi386
9482 then :
9483 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--disable-stdcall-fixup" >&5
9484 printf %s "checking whether the compiler supports -Wl,--disable-stdcall-fixup... " >&6; }
9485 if test ${ac_cv_cflags__Wl___disable_stdcall_fixup+y}
9486 then :
9487 printf %s "(cached) " >&6
9488 else $as_nop
9489 ac_wine_try_cflags_saved=$CFLAGS
9490 CFLAGS="$CFLAGS -Wl,--disable-stdcall-fixup"
9491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9492 /* end confdefs.h. */
9493 int main(int argc, char **argv) { return 0; }
9494 _ACEOF
9495 if ac_fn_c_try_link "$LINENO"
9496 then :
9497 ac_cv_cflags__Wl___disable_stdcall_fixup=yes
9498 else $as_nop
9499 ac_cv_cflags__Wl___disable_stdcall_fixup=no
9501 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9502 conftest$ac_exeext conftest.$ac_ext
9503 CFLAGS=$ac_wine_try_cflags_saved
9505 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___disable_stdcall_fixup" >&5
9506 printf "%s\n" "$ac_cv_cflags__Wl___disable_stdcall_fixup" >&6; }
9507 if test "x$ac_cv_cflags__Wl___disable_stdcall_fixup" = xyes
9508 then :
9509 LDDLLFLAGS="-Wl,--disable-stdcall-fixup"
9512 enable_loader=${enable_loader:-no}
9513 enable_server=${enable_server:-no}
9514 with_x=${with_x:-no}
9515 with_pthread=${with_pthread:-no}
9518 darwin*|macosx*)
9519 LIBEXT="dylib"
9520 DLLFLAGS="$DLLFLAGS -fPIC"
9521 LDDLLFLAGS="-fPIC"
9522 enable_winemac_drv=${enable_winemac_drv:-yes}
9523 CARBON_LIBS="-framework Carbon"
9525 COREFOUNDATION_LIBS="-framework CoreFoundation"
9527 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
9529 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
9531 METAL_LIBS="-framework Metal"
9533 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
9535 CORESERVICES_LIBS="-framework CoreServices"
9537 APPKIT_LIBS="-framework AppKit"
9539 SECURITY_LIBS="-framework Security -framework CoreFoundation"
9541 SYSTEMCONFIGURATION_LIBS="-framework SystemConfiguration"
9544 WINELOADER_LDFLAGS="-Wl,-pie,-segalign,0x1000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist"
9546 case $HOST_ARCH in
9547 i386|x86_64) wine_can_build_preloader=yes ;;
9548 *) wine_can_build_preloader=no ;;
9549 esac
9551 if test "$wine_can_build_preloader" = "yes"
9552 then
9553 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"
9554 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
9555 printf %s "checking whether the compiler supports -Wl,-no_pie... " >&6; }
9556 if test ${ac_cv_cflags__Wl__no_pie+y}
9557 then :
9558 printf %s "(cached) " >&6
9559 else $as_nop
9560 ac_wine_try_cflags_saved=$CFLAGS
9561 CFLAGS="$CFLAGS -Wl,-no_pie"
9562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9563 /* end confdefs.h. */
9564 int main(int argc, char **argv) { return 0; }
9565 _ACEOF
9566 if ac_fn_c_try_link "$LINENO"
9567 then :
9568 ac_cv_cflags__Wl__no_pie=yes
9569 else $as_nop
9570 ac_cv_cflags__Wl__no_pie=no
9572 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9573 conftest$ac_exeext conftest.$ac_ext
9574 CFLAGS=$ac_wine_try_cflags_saved
9576 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
9577 printf "%s\n" "$ac_cv_cflags__Wl__no_pie" >&6; }
9578 if test "x$ac_cv_cflags__Wl__no_pie" = xyes
9579 then :
9580 WINEPRELOADER_LDFLAGS="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
9582 case $HOST_ARCH in
9583 i386)
9584 WINEPRELOADER_LDFLAGS="-Wl,-image_base,0x7d400000 $WINEPRELOADER_LDFLAGS"
9586 x86_64)
9587 WINEPRELOADER_LDFLAGS="-Wl,-image_base,0x200000000,-segalign,0x1000,-segaddr,WINE_RESERVE,0x1000 $WINEPRELOADER_LDFLAGS"
9589 esac
9590 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -mmacosx-version-min=10.7"
9591 else
9592 as_fn_append wine_warnings "|can't build Wine preloader; many programs won't work"
9595 if test "x$with_coreaudio" != "xno";
9596 then
9597 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
9599 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
9601 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
9602 then
9603 OPENCL_LIBS="-framework OpenCL"
9605 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
9608 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether MTLDevice protocol supports registryID property" >&5
9609 printf %s "checking whether MTLDevice protocol supports registryID property... " >&6; }
9610 ac_ext=m
9611 ac_cpp='$OBJCPP $CPPFLAGS'
9612 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9613 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9614 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9616 ac_ext=m
9617 ac_cpp='$OBJCPP $CPPFLAGS'
9618 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9619 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9620 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9621 if test -n "$ac_tool_prefix"; then
9622 for ac_prog in gcc objcc objc cc CC clang
9624 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
9625 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
9626 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9627 printf %s "checking for $ac_word... " >&6; }
9628 if test ${ac_cv_prog_OBJC+y}
9629 then :
9630 printf %s "(cached) " >&6
9631 else $as_nop
9632 if test -n "$OBJC"; then
9633 ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
9634 else
9635 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9636 for as_dir in $PATH
9638 IFS=$as_save_IFS
9639 case $as_dir in #(((
9640 '') as_dir=./ ;;
9641 */) ;;
9642 *) as_dir=$as_dir/ ;;
9643 esac
9644 for ac_exec_ext in '' $ac_executable_extensions; do
9645 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9646 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
9647 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9648 break 2
9650 done
9651 done
9652 IFS=$as_save_IFS
9656 OBJC=$ac_cv_prog_OBJC
9657 if test -n "$OBJC"; then
9658 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
9659 printf "%s\n" "$OBJC" >&6; }
9660 else
9661 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9662 printf "%s\n" "no" >&6; }
9666 test -n "$OBJC" && break
9667 done
9669 if test -z "$OBJC"; then
9670 ac_ct_OBJC=$OBJC
9671 for ac_prog in gcc objcc objc cc CC clang
9673 # Extract the first word of "$ac_prog", so it can be a program name with args.
9674 set dummy $ac_prog; ac_word=$2
9675 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9676 printf %s "checking for $ac_word... " >&6; }
9677 if test ${ac_cv_prog_ac_ct_OBJC+y}
9678 then :
9679 printf %s "(cached) " >&6
9680 else $as_nop
9681 if test -n "$ac_ct_OBJC"; then
9682 ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
9683 else
9684 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9685 for as_dir in $PATH
9687 IFS=$as_save_IFS
9688 case $as_dir in #(((
9689 '') as_dir=./ ;;
9690 */) ;;
9691 *) as_dir=$as_dir/ ;;
9692 esac
9693 for ac_exec_ext in '' $ac_executable_extensions; do
9694 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9695 ac_cv_prog_ac_ct_OBJC="$ac_prog"
9696 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9697 break 2
9699 done
9700 done
9701 IFS=$as_save_IFS
9705 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
9706 if test -n "$ac_ct_OBJC"; then
9707 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
9708 printf "%s\n" "$ac_ct_OBJC" >&6; }
9709 else
9710 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9711 printf "%s\n" "no" >&6; }
9715 test -n "$ac_ct_OBJC" && break
9716 done
9718 if test "x$ac_ct_OBJC" = x; then
9719 OBJC="gcc"
9720 else
9721 case $cross_compiling:$ac_tool_warned in
9722 yes:)
9723 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9724 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9725 ac_tool_warned=yes ;;
9726 esac
9727 OBJC=$ac_ct_OBJC
9731 # Provide some information about the compiler.
9732 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
9733 set X $ac_compile
9734 ac_compiler=$2
9735 for ac_option in --version -v -V -qversion; do
9736 { { ac_try="$ac_compiler $ac_option >&5"
9737 case "(($ac_try" in
9738 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9739 *) ac_try_echo=$ac_try;;
9740 esac
9741 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
9742 printf "%s\n" "$ac_try_echo"; } >&5
9743 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
9744 ac_status=$?
9745 if test -s conftest.err; then
9746 sed '10a\
9747 ... rest of stderr output deleted ...
9748 10q' conftest.err >conftest.er1
9749 cat conftest.er1 >&5
9751 rm -f conftest.er1 conftest.err
9752 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9753 test $ac_status = 0; }
9754 done
9756 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU Objective C" >&5
9757 printf %s "checking whether the compiler supports GNU Objective C... " >&6; }
9758 if test ${ac_cv_objc_compiler_gnu+y}
9759 then :
9760 printf %s "(cached) " >&6
9761 else $as_nop
9762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9763 /* end confdefs.h. */
9766 main (void)
9768 #ifndef __GNUC__
9769 choke me
9770 #endif
9773 return 0;
9775 _ACEOF
9776 if ac_fn_objc_try_compile "$LINENO"
9777 then :
9778 ac_compiler_gnu=yes
9779 else $as_nop
9780 ac_compiler_gnu=no
9782 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9783 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
9786 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
9787 printf "%s\n" "$ac_cv_objc_compiler_gnu" >&6; }
9788 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9790 if test $ac_compiler_gnu = yes; then
9791 GOBJC=yes
9792 else
9793 GOBJC=
9795 ac_test_OBJCFLAGS=${OBJCFLAGS+y}
9796 ac_save_OBJCFLAGS=$OBJCFLAGS
9797 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
9798 printf %s "checking whether $OBJC accepts -g... " >&6; }
9799 if test ${ac_cv_prog_objc_g+y}
9800 then :
9801 printf %s "(cached) " >&6
9802 else $as_nop
9803 ac_save_objc_werror_flag=$ac_objc_werror_flag
9804 ac_objc_werror_flag=yes
9805 ac_cv_prog_objc_g=no
9806 OBJCFLAGS="-g"
9807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9808 /* end confdefs.h. */
9811 main (void)
9815 return 0;
9817 _ACEOF
9818 if ac_fn_objc_try_compile "$LINENO"
9819 then :
9820 ac_cv_prog_objc_g=yes
9821 else $as_nop
9822 OBJCFLAGS=""
9823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9824 /* end confdefs.h. */
9827 main (void)
9831 return 0;
9833 _ACEOF
9834 if ac_fn_objc_try_compile "$LINENO"
9835 then :
9837 else $as_nop
9838 ac_objc_werror_flag=$ac_save_objc_werror_flag
9839 OBJCFLAGS="-g"
9840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9841 /* end confdefs.h. */
9844 main (void)
9848 return 0;
9850 _ACEOF
9851 if ac_fn_objc_try_compile "$LINENO"
9852 then :
9853 ac_cv_prog_objc_g=yes
9855 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9857 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9859 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9860 ac_objc_werror_flag=$ac_save_objc_werror_flag
9862 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
9863 printf "%s\n" "$ac_cv_prog_objc_g" >&6; }
9864 if test $ac_test_OBJCFLAGS; then
9865 OBJCFLAGS=$ac_save_OBJCFLAGS
9866 elif test $ac_cv_prog_objc_g = yes; then
9867 if test "$GOBJC" = yes; then
9868 OBJCFLAGS="-g -O2"
9869 else
9870 OBJCFLAGS="-g"
9872 else
9873 if test "$GOBJC" = yes; then
9874 OBJCFLAGS="-O2"
9875 else
9876 OBJCFLAGS=
9879 ac_ext=m
9880 ac_cpp='$OBJCPP $CPPFLAGS'
9881 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9882 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9883 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9887 /* end confdefs.h. */
9888 #include <Metal/Metal.h>
9890 main (void)
9892 id<MTLDevice> device; device.registryID;
9894 return 0;
9896 _ACEOF
9897 if ac_fn_objc_try_compile "$LINENO"
9898 then :
9899 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9900 printf "%s\n" "yes" >&6; }
9902 printf "%s\n" "#define HAVE_MTLDEVICE_REGISTRYID 1" >>confdefs.h
9904 else $as_nop
9905 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9906 printf "%s\n" "no" >&6; }
9908 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9909 ac_ext=c
9910 ac_cpp='$CPP $CPPFLAGS'
9911 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9912 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9913 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9916 UNIXLDFLAGS="-dynamiclib -install_name @rpath/\$(UNIXLIB) -Wl,-rpath,@loader_path\/"
9917 WINELOADER_DEPENDS="wine_info.plist"
9921 linux-android*)
9923 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
9925 DLLFLAGS="$DLLFLAGS -fPIC"
9926 LDDLLFLAGS="-fPIC"
9927 LDEXECFLAGS="-Wl,-pie"
9928 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
9929 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
9930 printf %s "checking whether the compiler supports -Wl,-z,defs... " >&6; }
9931 if test ${ac_cv_cflags__Wl__z_defs+y}
9932 then :
9933 printf %s "(cached) " >&6
9934 else $as_nop
9935 ac_wine_try_cflags_saved=$CFLAGS
9936 CFLAGS="$CFLAGS -Wl,-z,defs"
9937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9938 /* end confdefs.h. */
9939 int main(int argc, char **argv) { return 0; }
9940 _ACEOF
9941 if ac_fn_c_try_link "$LINENO"
9942 then :
9943 ac_cv_cflags__Wl__z_defs=yes
9944 else $as_nop
9945 ac_cv_cflags__Wl__z_defs=no
9947 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9948 conftest$ac_exeext conftest.$ac_ext
9949 CFLAGS=$ac_wine_try_cflags_saved
9951 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
9952 printf "%s\n" "$ac_cv_cflags__Wl__z_defs" >&6; }
9953 if test "x$ac_cv_cflags__Wl__z_defs" = xyes
9954 then :
9955 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
9957 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
9958 printf %s "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
9959 if test ${ac_cv_cflags__fPIC__Wl___export_dynamic+y}
9960 then :
9961 printf %s "(cached) " >&6
9962 else $as_nop
9963 ac_wine_try_cflags_saved=$CFLAGS
9964 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
9965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9966 /* end confdefs.h. */
9967 int main(int argc, char **argv) { return 0; }
9968 _ACEOF
9969 if ac_fn_c_try_link "$LINENO"
9970 then :
9971 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
9972 else $as_nop
9973 ac_cv_cflags__fPIC__Wl___export_dynamic=no
9975 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9976 conftest$ac_exeext conftest.$ac_ext
9977 CFLAGS=$ac_wine_try_cflags_saved
9979 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
9980 printf "%s\n" "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
9981 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
9982 then :
9983 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9985 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
9987 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
9988 printf %s "checking for -lEGL... " >&6; }
9989 if test ${ac_cv_lib_soname_EGL+y}
9990 then :
9991 printf %s "(cached) " >&6
9992 else $as_nop
9993 ac_check_soname_save_LIBS=$LIBS
9994 LIBS="-lEGL $LIBS"
9995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9996 /* end confdefs.h. */
9998 /* Override any GCC internal prototype to avoid an error.
9999 Use char because int might match the return type of a GCC
10000 builtin and then its argument prototype would still apply. */
10001 char eglGetProcAddress ();
10003 main (void)
10005 return eglGetProcAddress ();
10007 return 0;
10009 _ACEOF
10010 if ac_fn_c_try_link "$LINENO"
10011 then :
10012 case "$LIBEXT" in
10013 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10014 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'` ;;
10015 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10016 if ${ac_cv_lib_soname_EGL:+false} :
10017 then :
10018 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10019 fi ;;
10020 esac
10021 else $as_nop
10022 ac_cv_lib_soname_EGL=
10024 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10025 conftest$ac_exeext conftest.$ac_ext
10026 LIBS=$ac_check_soname_save_LIBS
10028 if ${ac_cv_lib_soname_EGL:+false} :
10029 then :
10030 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10031 printf "%s\n" "not found" >&6; }
10033 else $as_nop
10034 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
10035 printf "%s\n" "$ac_cv_lib_soname_EGL" >&6; }
10037 printf "%s\n" "#define SONAME_LIBEGL \"$ac_cv_lib_soname_EGL\"" >>confdefs.h
10041 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
10042 printf %s "checking for -lGLESv2... " >&6; }
10043 if test ${ac_cv_lib_soname_GLESv2+y}
10044 then :
10045 printf %s "(cached) " >&6
10046 else $as_nop
10047 ac_check_soname_save_LIBS=$LIBS
10048 LIBS="-lGLESv2 $LIBS"
10049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10050 /* end confdefs.h. */
10052 /* Override any GCC internal prototype to avoid an error.
10053 Use char because int might match the return type of a GCC
10054 builtin and then its argument prototype would still apply. */
10055 char glFlush ();
10057 main (void)
10059 return glFlush ();
10061 return 0;
10063 _ACEOF
10064 if ac_fn_c_try_link "$LINENO"
10065 then :
10066 case "$LIBEXT" in
10067 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10068 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'` ;;
10069 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10070 if ${ac_cv_lib_soname_GLESv2:+false} :
10071 then :
10072 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10073 fi ;;
10074 esac
10075 else $as_nop
10076 ac_cv_lib_soname_GLESv2=
10078 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10079 conftest$ac_exeext conftest.$ac_ext
10080 LIBS=$ac_check_soname_save_LIBS
10082 if ${ac_cv_lib_soname_GLESv2:+false} :
10083 then :
10084 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10085 printf "%s\n" "not found" >&6; }
10087 else $as_nop
10088 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
10089 printf "%s\n" "$ac_cv_lib_soname_GLESv2" >&6; }
10091 printf "%s\n" "#define SONAME_LIBGLESV2 \"$ac_cv_lib_soname_GLESv2\"" >>confdefs.h
10096 if test "x$exec_prefix" = xNONE
10097 then
10098 case $HOST_ARCH in
10099 i386) exec_prefix='${prefix}/x86' ;;
10100 x86_64) exec_prefix='${prefix}/x86_64' ;;
10101 arm) exec_prefix='${prefix}/armeabi-v7a' ;;
10102 aarch64) exec_prefix='${prefix}/arm64-v8a' ;;
10103 esac
10109 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
10111 if test $HOST_ARCH = i386
10112 then
10113 DLLFLAGS="$DLLFLAGS -fno-PIC"
10114 LDDLLFLAGS="-fno-PIC"
10115 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-PIC -Wl,-z,notext" >&5
10116 printf %s "checking whether the compiler supports -fno-PIC -Wl,-z,notext... " >&6; }
10117 if test ${ac_cv_cflags__fno_PIC__Wl__z_notext+y}
10118 then :
10119 printf %s "(cached) " >&6
10120 else $as_nop
10121 ac_wine_try_cflags_saved=$CFLAGS
10122 CFLAGS="$CFLAGS -fno-PIC -Wl,-z,notext"
10123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10124 /* end confdefs.h. */
10125 int main(int argc, char **argv) { return 0; }
10126 _ACEOF
10127 if ac_fn_c_try_link "$LINENO"
10128 then :
10129 ac_cv_cflags__fno_PIC__Wl__z_notext=yes
10130 else $as_nop
10131 ac_cv_cflags__fno_PIC__Wl__z_notext=no
10133 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10134 conftest$ac_exeext conftest.$ac_ext
10135 CFLAGS=$ac_wine_try_cflags_saved
10137 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_PIC__Wl__z_notext" >&5
10138 printf "%s\n" "$ac_cv_cflags__fno_PIC__Wl__z_notext" >&6; }
10139 if test "x$ac_cv_cflags__fno_PIC__Wl__z_notext" = xyes
10140 then :
10141 LDDLLFLAGS="$LDDLLFLAGS -Wl,-z,notext"
10143 else
10144 DLLFLAGS="$DLLFLAGS -fPIC"
10145 LDDLLFLAGS="-fPIC"
10148 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -Wl,-z,defs works correctly" >&5
10149 printf %s "checking whether -Wl,-z,defs works correctly... " >&6; }
10150 if test ${ac_cv_wl_z_defs+y}
10151 then :
10152 printf %s "(cached) " >&6
10153 else $as_nop
10154 ac_save_CFLAGS="$CFLAGS"
10155 CFLAGS="$CFLAGS $UNIXDLLFLAGS $UNIXLDFLAGS -Wl,-z,defs"
10156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10157 /* end confdefs.h. */
10158 extern char **environ; char **envp; void myfunc(void) { envp = environ; }
10159 _ACEOF
10160 if ac_fn_c_try_link "$LINENO"
10161 then :
10162 ac_cv_wl_z_defs=yes
10163 else $as_nop
10164 ac_cv_wl_z_defs=no
10166 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10167 conftest$ac_exeext conftest.$ac_ext
10168 CFLAGS=$ac_save_CFLAGS
10170 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_wl_z_defs" >&5
10171 printf "%s\n" "$ac_cv_wl_z_defs" >&6; }
10172 test $ac_cv_wl_z_defs != yes || as_fn_append UNIXLDFLAGS " -Wl,-z,defs"
10174 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--export-dynamic" >&5
10175 printf %s "checking whether the compiler supports -Wl,--export-dynamic... " >&6; }
10176 if test ${ac_cv_cflags__Wl___export_dynamic+y}
10177 then :
10178 printf %s "(cached) " >&6
10179 else $as_nop
10180 ac_wine_try_cflags_saved=$CFLAGS
10181 CFLAGS="$CFLAGS -Wl,--export-dynamic"
10182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10183 /* end confdefs.h. */
10184 int main(int argc, char **argv) { return 0; }
10185 _ACEOF
10186 if ac_fn_c_try_link "$LINENO"
10187 then :
10188 ac_cv_cflags__Wl___export_dynamic=yes
10189 else $as_nop
10190 ac_cv_cflags__Wl___export_dynamic=no
10192 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10193 conftest$ac_exeext conftest.$ac_ext
10194 CFLAGS=$ac_wine_try_cflags_saved
10196 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___export_dynamic" >&5
10197 printf "%s\n" "$ac_cv_cflags__Wl___export_dynamic" >&6; }
10198 if test "x$ac_cv_cflags__Wl___export_dynamic" = xyes
10199 then :
10200 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
10202 WINEPRELOADER_LDFLAGS="-nostartfiles -nodefaultlibs"
10204 case $host_os in
10205 linux*)
10206 as_fn_append WINELOADER_LDFLAGS " -pie"
10207 case $HOST_ARCH in
10208 i386|arm)
10209 as_fn_append WINEPRELOADER_LDFLAGS " -static -Wl,-Ttext=0x7d400000" ;;
10211 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -static-pie" >&5
10212 printf %s "checking whether the compiler supports -static-pie... " >&6; }
10213 if test ${ac_cv_cflags__static_pie+y}
10214 then :
10215 printf %s "(cached) " >&6
10216 else $as_nop
10217 ac_wine_try_cflags_saved=$CFLAGS
10218 CFLAGS="$CFLAGS -static-pie"
10219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10220 /* end confdefs.h. */
10221 int main(int argc, char **argv) { return 0; }
10222 _ACEOF
10223 if ac_fn_c_try_link "$LINENO"
10224 then :
10225 ac_cv_cflags__static_pie=yes
10226 else $as_nop
10227 ac_cv_cflags__static_pie=no
10229 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10230 conftest$ac_exeext conftest.$ac_ext
10231 CFLAGS=$ac_wine_try_cflags_saved
10233 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__static_pie" >&5
10234 printf "%s\n" "$ac_cv_cflags__static_pie" >&6; }
10235 if test "x$ac_cv_cflags__static_pie" = xyes
10236 then :
10237 as_fn_append WINEPRELOADER_LDFLAGS " -static-pie"
10238 else $as_nop
10239 as_fn_append WINEPRELOADER_LDFLAGS " -static -Wl,-Ttext=0x7d7d00000000"
10242 esac
10245 case $HOST_ARCH in
10246 i386|arm)
10247 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x60000000" >&5
10248 printf %s "checking whether the compiler supports -Wl,-Ttext-segment=0x60000000... " >&6; }
10249 if test ${ac_cv_cflags__Wl__Ttext_segment_0x60000000+y}
10250 then :
10251 printf %s "(cached) " >&6
10252 else $as_nop
10253 ac_wine_try_cflags_saved=$CFLAGS
10254 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x60000000"
10255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10256 /* end confdefs.h. */
10257 int main(int argc, char **argv) { return 0; }
10258 _ACEOF
10259 if ac_fn_c_try_link "$LINENO"
10260 then :
10261 ac_cv_cflags__Wl__Ttext_segment_0x60000000=yes
10262 else $as_nop
10263 ac_cv_cflags__Wl__Ttext_segment_0x60000000=no
10265 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10266 conftest$ac_exeext conftest.$ac_ext
10267 CFLAGS=$ac_wine_try_cflags_saved
10269 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x60000000" >&5
10270 printf "%s\n" "$ac_cv_cflags__Wl__Ttext_segment_0x60000000" >&6; }
10271 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x60000000" = xyes
10272 then :
10273 as_fn_append WINELOADER_LDFLAGS " -Wl,-Ttext-segment=0x60000000"
10274 else $as_nop
10275 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x60000400" >&5
10276 printf %s "checking whether the compiler supports -Wl,--section-start,.interp=0x60000400... " >&6; }
10277 if test ${ac_cv_cflags__Wl___section_start__interp_0x60000400+y}
10278 then :
10279 printf %s "(cached) " >&6
10280 else $as_nop
10281 ac_wine_try_cflags_saved=$CFLAGS
10282 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x60000400"
10283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10284 /* end confdefs.h. */
10285 int main(int argc, char **argv) { return 0; }
10286 _ACEOF
10287 if ac_fn_c_try_link "$LINENO"
10288 then :
10289 ac_cv_cflags__Wl___section_start__interp_0x60000400=yes
10290 else $as_nop
10291 ac_cv_cflags__Wl___section_start__interp_0x60000400=no
10293 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10294 conftest$ac_exeext conftest.$ac_ext
10295 CFLAGS=$ac_wine_try_cflags_saved
10297 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x60000400" >&5
10298 printf "%s\n" "$ac_cv_cflags__Wl___section_start__interp_0x60000400" >&6; }
10299 if test "x$ac_cv_cflags__Wl___section_start__interp_0x60000400" = xyes
10300 then :
10301 as_fn_append WINELOADER_LDFLAGS " -Wl,--section-start,.interp=0x60000400"
10306 as_fn_append WINELOADER_LDFLAGS " -pie"
10308 esac
10310 esac
10312 esac
10314 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
10315 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
10316 enable_winemac_drv=${enable_winemac_drv:-no}
10318 PE_ARCHS=""
10320 cross_archs=
10321 if test ${enable_archs+y}
10322 then :
10323 test "x$with_system_dllpath" = "x" || as_fn_error $? "\"The --with-system-dllpath option is not compatible with --enable-archs\"" "$LINENO" 5
10324 ac_save_IFS=$IFS
10325 IFS=' ,'
10326 set x $enable_archs
10327 IFS=$ac_save_IFS
10328 shift
10329 for arch
10331 case $arch in
10332 i386|x86_64|arm|aarch64|arm64ec) cross_archs="$cross_archs $arch" ;;
10333 *) as_fn_error $? "Unknown cross-compilation architecture '$arch'" "$LINENO" 5 ;;
10334 esac
10335 done
10336 else $as_nop
10337 if test "x$with_mingw" != xno
10338 then
10339 test $HOST_ARCH = unknown || cross_archs=$HOST_ARCH
10343 saved_CC=$CC
10344 saved_CFLAGS=$CFLAGS
10345 saved_LDFLAGS=$LDFLAGS
10347 for wine_arch in $cross_archs
10349 case "x$with_mingw" in
10350 xclang|x*/clang) eval "${wine_arch}_CC=\$with_mingw" ;;
10351 esac
10352 if eval \${${wine_arch}_CC:+false} :
10353 then :
10354 case $wine_arch in
10355 aarch64)
10356 for ac_prog in aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc clang
10358 # Extract the first word of "$ac_prog", so it can be a program name with args.
10359 set dummy $ac_prog; ac_word=$2
10360 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10361 printf %s "checking for $ac_word... " >&6; }
10362 if test ${ac_cv_prog_aarch64_CC+y}
10363 then :
10364 printf %s "(cached) " >&6
10365 else $as_nop
10366 if test -n "$aarch64_CC"; then
10367 ac_cv_prog_aarch64_CC="$aarch64_CC" # Let the user override the test.
10368 else
10369 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10370 for as_dir in $PATH
10372 IFS=$as_save_IFS
10373 case $as_dir in #(((
10374 '') as_dir=./ ;;
10375 */) ;;
10376 *) as_dir=$as_dir/ ;;
10377 esac
10378 for ac_exec_ext in '' $ac_executable_extensions; do
10379 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10380 ac_cv_prog_aarch64_CC="$ac_prog"
10381 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10382 break 2
10384 done
10385 done
10386 IFS=$as_save_IFS
10390 aarch64_CC=$ac_cv_prog_aarch64_CC
10391 if test -n "$aarch64_CC"; then
10392 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $aarch64_CC" >&5
10393 printf "%s\n" "$aarch64_CC" >&6; }
10394 else
10395 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10396 printf "%s\n" "no" >&6; }
10400 test -n "$aarch64_CC" && break
10401 done
10402 test -n "$aarch64_CC" || aarch64_CC="false"
10405 arm64ec)
10406 for ac_prog in arm64ec-w64-mingw32-clang arm64ec-w64-mingw32-gcc clang
10408 # Extract the first word of "$ac_prog", so it can be a program name with args.
10409 set dummy $ac_prog; ac_word=$2
10410 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10411 printf %s "checking for $ac_word... " >&6; }
10412 if test ${ac_cv_prog_arm64ec_CC+y}
10413 then :
10414 printf %s "(cached) " >&6
10415 else $as_nop
10416 if test -n "$arm64ec_CC"; then
10417 ac_cv_prog_arm64ec_CC="$arm64ec_CC" # Let the user override the test.
10418 else
10419 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10420 for as_dir in $PATH
10422 IFS=$as_save_IFS
10423 case $as_dir in #(((
10424 '') as_dir=./ ;;
10425 */) ;;
10426 *) as_dir=$as_dir/ ;;
10427 esac
10428 for ac_exec_ext in '' $ac_executable_extensions; do
10429 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10430 ac_cv_prog_arm64ec_CC="$ac_prog"
10431 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10432 break 2
10434 done
10435 done
10436 IFS=$as_save_IFS
10440 arm64ec_CC=$ac_cv_prog_arm64ec_CC
10441 if test -n "$arm64ec_CC"; then
10442 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $arm64ec_CC" >&5
10443 printf "%s\n" "$arm64ec_CC" >&6; }
10444 else
10445 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10446 printf "%s\n" "no" >&6; }
10450 test -n "$arm64ec_CC" && break
10451 done
10452 test -n "$arm64ec_CC" || arm64ec_CC="false"
10455 arm)
10456 for ac_prog in armv7-w64-mingw32-clang armv7-w64-mingw32-gcc clang
10458 # Extract the first word of "$ac_prog", so it can be a program name with args.
10459 set dummy $ac_prog; ac_word=$2
10460 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10461 printf %s "checking for $ac_word... " >&6; }
10462 if test ${ac_cv_prog_arm_CC+y}
10463 then :
10464 printf %s "(cached) " >&6
10465 else $as_nop
10466 if test -n "$arm_CC"; then
10467 ac_cv_prog_arm_CC="$arm_CC" # Let the user override the test.
10468 else
10469 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10470 for as_dir in $PATH
10472 IFS=$as_save_IFS
10473 case $as_dir in #(((
10474 '') as_dir=./ ;;
10475 */) ;;
10476 *) as_dir=$as_dir/ ;;
10477 esac
10478 for ac_exec_ext in '' $ac_executable_extensions; do
10479 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10480 ac_cv_prog_arm_CC="$ac_prog"
10481 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10482 break 2
10484 done
10485 done
10486 IFS=$as_save_IFS
10490 arm_CC=$ac_cv_prog_arm_CC
10491 if test -n "$arm_CC"; then
10492 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $arm_CC" >&5
10493 printf "%s\n" "$arm_CC" >&6; }
10494 else
10495 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10496 printf "%s\n" "no" >&6; }
10500 test -n "$arm_CC" && break
10501 done
10502 test -n "$arm_CC" || arm_CC="false"
10505 i386)
10506 ac_prefix_list="i686-w64-mingw32-gcc i586-w64-mingw32-gcc i486-w64-mingw32-gcc i386-w64-mingw32-gcc i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang "
10507 for ac_prog in $ac_prefix_list clang
10509 # Extract the first word of "$ac_prog", so it can be a program name with args.
10510 set dummy $ac_prog; ac_word=$2
10511 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10512 printf %s "checking for $ac_word... " >&6; }
10513 if test ${ac_cv_prog_i386_CC+y}
10514 then :
10515 printf %s "(cached) " >&6
10516 else $as_nop
10517 if test -n "$i386_CC"; then
10518 ac_cv_prog_i386_CC="$i386_CC" # Let the user override the test.
10519 else
10520 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10521 for as_dir in $PATH
10523 IFS=$as_save_IFS
10524 case $as_dir in #(((
10525 '') as_dir=./ ;;
10526 */) ;;
10527 *) as_dir=$as_dir/ ;;
10528 esac
10529 for ac_exec_ext in '' $ac_executable_extensions; do
10530 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10531 ac_cv_prog_i386_CC="$ac_prog"
10532 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10533 break 2
10535 done
10536 done
10537 IFS=$as_save_IFS
10541 i386_CC=$ac_cv_prog_i386_CC
10542 if test -n "$i386_CC"; then
10543 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $i386_CC" >&5
10544 printf "%s\n" "$i386_CC" >&6; }
10545 else
10546 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10547 printf "%s\n" "no" >&6; }
10551 test -n "$i386_CC" && break
10552 done
10553 test -n "$i386_CC" || i386_CC="false"
10556 x86_64)
10557 ac_prefix_list="x86_64-w64-mingw32-gcc amd64-w64-mingw32-gcc x86_64-w64-mingw32-clang amd64-w64-mingw32-clang "
10558 for ac_prog in $ac_prefix_list clang
10560 # Extract the first word of "$ac_prog", so it can be a program name with args.
10561 set dummy $ac_prog; ac_word=$2
10562 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10563 printf %s "checking for $ac_word... " >&6; }
10564 if test ${ac_cv_prog_x86_64_CC+y}
10565 then :
10566 printf %s "(cached) " >&6
10567 else $as_nop
10568 if test -n "$x86_64_CC"; then
10569 ac_cv_prog_x86_64_CC="$x86_64_CC" # Let the user override the test.
10570 else
10571 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10572 for as_dir in $PATH
10574 IFS=$as_save_IFS
10575 case $as_dir in #(((
10576 '') as_dir=./ ;;
10577 */) ;;
10578 *) as_dir=$as_dir/ ;;
10579 esac
10580 for ac_exec_ext in '' $ac_executable_extensions; do
10581 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10582 ac_cv_prog_x86_64_CC="$ac_prog"
10583 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10584 break 2
10586 done
10587 done
10588 IFS=$as_save_IFS
10592 x86_64_CC=$ac_cv_prog_x86_64_CC
10593 if test -n "$x86_64_CC"; then
10594 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $x86_64_CC" >&5
10595 printf "%s\n" "$x86_64_CC" >&6; }
10596 else
10597 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10598 printf "%s\n" "no" >&6; }
10602 test -n "$x86_64_CC" && break
10603 done
10604 test -n "$x86_64_CC" || x86_64_CC="false"
10607 esac
10610 CFLAGS=${CROSSCFLAGS:-"-g -O2"}
10611 LDFLAGS=$CROSSLDFLAGS
10612 eval CC=\$${wine_arch}_CC
10613 eval ${wine_arch}_CFLAGS=\$CFLAGS
10614 eval ${wine_arch}_LDFLAGS=\$LDFLAGS
10615 eval "${wine_arch}_EXTRACFLAGS=\"-D__WINE_PE_BUILD -Wall\""
10617 target=""
10618 as_wine_cv_crosscc=`printf "%s\n" "ac_cv_${wine_arch}_crosscc" | $as_tr_sh`
10620 if eval test \"x\$"${wine_arch}_CC"\" = x"false"
10621 then :
10623 else $as_nop
10624 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
10625 printf %s "checking whether $CC works... " >&6; }
10626 if eval test \${$as_wine_cv_crosscc+y}
10627 then :
10628 printf %s "(cached) " >&6
10629 else $as_nop
10630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10631 /* end confdefs.h. */
10634 main (void)
10638 return 0;
10640 _ACEOF
10641 if ac_fn_c_try_compile "$LINENO"
10642 then :
10643 eval "$as_wine_cv_crosscc=yes"
10644 else $as_nop
10645 eval "$as_wine_cv_crosscc=no"
10647 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10649 eval ac_res=\$$as_wine_cv_crosscc
10650 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10651 printf "%s\n" "$ac_res" >&6; }
10653 if eval test \"x\$"$as_wine_cv_crosscc"\" = x"yes"
10654 then :
10655 set x $CC
10656 shift
10657 while test $# -ge 1
10659 case "$1" in
10660 */*-gcc) target=`expr "$1" : '.*/\(.*\)-gcc'` ;;
10661 */*-clang) target=`expr "$1" : '.*/\(.*\)-clang'` ;;
10662 *-gcc) target=`expr "$1" : '\(.*\)-gcc'` ;;
10663 *-clang) target=`expr "$1" : '\(.*\)-clang'` ;;
10664 esac
10665 shift
10666 done
10668 llvm_target=$target
10669 if test -z "$llvm_target"
10670 then
10671 case $wine_arch in
10672 i386) llvm_target=i686-windows ;;
10673 arm) llvm_target=armv7-windows ;;
10674 *) llvm_target=$wine_arch-windows ;;
10675 esac
10677 llvm_extra_cflags="-target $llvm_target -fuse-ld=lld"
10678 llvm_extra_ldflags=""
10679 case $llvm_target in
10680 *windows) llvm_cflags="-Wl,-subsystem:console -Wl,-WX" ;;
10681 esac
10682 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_$llvm_extra_cflags $llvm_cflags --no-default-config" | $as_tr_sh`
10683 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports $llvm_extra_cflags $llvm_cflags --no-default-config" >&5
10684 printf %s "checking whether $CC supports $llvm_extra_cflags $llvm_cflags --no-default-config... " >&6; }
10685 if eval test \${$as_ac_var+y}
10686 then :
10687 printf %s "(cached) " >&6
10688 else $as_nop
10689 ac_wine_try_cflags_saved=$CFLAGS
10690 ac_wine_try_cflags_saved_exeext=$ac_exeext
10691 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs $llvm_extra_cflags $llvm_cflags --no-default-config"
10692 ac_exeext=".exe"
10693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10694 /* end confdefs.h. */
10695 void *__os_arm64x_dispatch_ret = 0;
10696 int __cdecl mainCRTStartup(void) { return 0; }
10697 _ACEOF
10698 if ac_fn_c_try_link "$LINENO"
10699 then :
10700 eval "$as_ac_var=yes"
10701 else $as_nop
10702 eval "$as_ac_var=no"
10704 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10705 conftest$ac_exeext conftest.$ac_ext
10706 CFLAGS=$ac_wine_try_cflags_saved
10707 ac_exeext=$ac_wine_try_cflags_saved_exeext
10709 eval ac_res=\$$as_ac_var
10710 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10711 printf "%s\n" "$ac_res" >&6; }
10712 if eval test \"x\$"$as_ac_var"\" = x"yes"
10713 then :
10714 llvm_extra_cflags="$llvm_extra_cflags --no-default-config"
10715 llvm_extra_ldflags="--no-default-config"
10716 else $as_nop
10717 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_$llvm_extra_cflags $llvm_cflags" | $as_tr_sh`
10718 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports $llvm_extra_cflags $llvm_cflags" >&5
10719 printf %s "checking whether $CC supports $llvm_extra_cflags $llvm_cflags... " >&6; }
10720 if eval test \${$as_ac_var+y}
10721 then :
10722 printf %s "(cached) " >&6
10723 else $as_nop
10724 ac_wine_try_cflags_saved=$CFLAGS
10725 ac_wine_try_cflags_saved_exeext=$ac_exeext
10726 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs $llvm_extra_cflags $llvm_cflags"
10727 ac_exeext=".exe"
10728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10729 /* end confdefs.h. */
10730 void *__os_arm64x_dispatch_ret = 0;
10731 int __cdecl mainCRTStartup(void) { return 0; }
10732 _ACEOF
10733 if ac_fn_c_try_link "$LINENO"
10734 then :
10735 eval "$as_ac_var=yes"
10736 else $as_nop
10737 eval "$as_ac_var=no"
10739 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10740 conftest$ac_exeext conftest.$ac_ext
10741 CFLAGS=$ac_wine_try_cflags_saved
10742 ac_exeext=$ac_wine_try_cflags_saved_exeext
10744 eval ac_res=\$$as_ac_var
10745 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10746 printf "%s\n" "$ac_res" >&6; }
10747 if eval test \"x\$"$as_ac_var"\" = x"yes"
10748 then :
10750 else $as_nop
10751 llvm_extra_cflags=""
10752 fi }
10753 fi }
10754 if test -n "$llvm_extra_cflags"
10755 then
10756 target=$llvm_target
10757 eval "${wine_arch}_DELAYLOADFLAG=\"-Wl,-delayload,\""
10758 as_fn_append ${wine_arch}_EXTRACFLAGS " $llvm_extra_cflags"
10759 as_fn_append ${wine_arch}_LDFLAGS " $llvm_extra_ldflags"
10760 CFLAGS="$llvm_extra_cflags $llvm_cflags"
10762 eval "${wine_arch}_TARGET=\$target"
10766 if test -z "$target"
10767 then
10768 if test ${enable_archs+y}
10769 then :
10770 as_fn_error $? "$wine_arch PE cross-compiler not found.
10771 This is an error since --enable-archs=$wine_arch was requested." "$LINENO" 5
10773 continue
10776 as_wine_cv_crosscc_c99=`printf "%s\n" "ac_cv_${wine_arch}_crosscc_c99" | $as_tr_sh`
10778 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
10779 printf %s "checking for $CC option to enable C99 features... " >&6; }
10780 if eval test \${$as_wine_cv_crosscc_c99+y}
10781 then :
10782 printf %s "(cached) " >&6
10783 else $as_nop
10784 eval "$as_wine_cv_crosscc_c99=no"
10785 for arg in '' '-std=gnu99' '-D__STDC__'
10787 test -z "$arg" || CC="$CC $arg"
10788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10789 /* end confdefs.h. */
10790 $ac_c_conftest_c99_program
10791 _ACEOF
10792 if ac_fn_c_try_compile "$LINENO"
10793 then :
10794 eval "$as_wine_cv_crosscc_c99=\$arg"
10795 else $as_nop
10796 eval "$as_wine_cv_crosscc_c99=no"
10798 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10799 eval CC=\$${wine_arch}_CC
10800 if eval test \"x\$"$as_wine_cv_crosscc_c99"\" = x"no"
10801 then :
10803 else $as_nop
10804 break
10806 done
10809 eval res=\$$as_wine_cv_crosscc_c99
10811 case "x$res" in
10812 x) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
10813 printf "%s\n" "none needed" >&6; } ;;
10814 xno) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
10815 printf "%s\n" "unsupported" >&6; }
10816 if test ${enable_archs+y}
10817 then :
10818 as_fn_error $? "$wine_arch PE cross-compiler supporting C99 not found.
10819 This is an error since --enable-archs=$wine_arch was requested." "$LINENO" 5
10821 continue
10823 x*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $res" >&5
10824 printf "%s\n" "$res" >&6; }
10825 as_fn_append ${wine_arch}_CC " $res" ;;
10826 esac
10828 if test "x$wine_arch" = xi386
10829 then :
10831 else $as_nop
10832 as_wine_cv_seh_support=`printf "%s\n" "ac_cv_${wine_arch}_seh_support" | $as_tr_sh`
10834 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports SEH directives" >&5
10835 printf %s "checking whether $CC supports SEH directives... " >&6; }
10836 if eval test \${$as_wine_cv_seh_support+y}
10837 then :
10838 printf %s "(cached) " >&6
10839 else $as_nop
10840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10841 /* end confdefs.h. */
10842 asm(".text\nac_test:\t.seh_proc ac_test\n\tnop\n\t.seh_stackalloc 16\n\t.seh_endprologue\n\t.seh_endproc");
10844 main (void)
10848 return 0;
10850 _ACEOF
10851 if ac_fn_c_try_compile "$LINENO"
10852 then :
10853 eval "$as_wine_cv_seh_support=yes"
10854 else $as_nop
10855 eval "$as_wine_cv_seh_support=no"
10857 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10859 eval ac_res=\$$as_wine_cv_seh_support
10860 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10861 printf "%s\n" "$ac_res" >&6; }
10862 eval res=\$$as_wine_cv_seh_support
10864 if test "x$res" = xyes
10865 then :
10867 else $as_nop
10868 if test ${enable_archs+y}
10869 then :
10870 as_fn_error $? "The $wine_arch PE cross-compiler doesn't support SEH directives.
10871 This is an error since --enable-archs=$wine_arch was requested." "$LINENO" 5
10873 continue
10877 as_fn_append PE_ARCHS " $wine_arch"
10878 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-fno-strict-aliasing" | $as_tr_sh`
10879 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -fno-strict-aliasing" >&5
10880 printf %s "checking whether $CC supports -fno-strict-aliasing... " >&6; }
10881 if eval test \${$as_ac_var+y}
10882 then :
10883 printf %s "(cached) " >&6
10884 else $as_nop
10885 ac_wine_try_cflags_saved=$CFLAGS
10886 ac_wine_try_cflags_saved_exeext=$ac_exeext
10887 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -fno-strict-aliasing"
10888 ac_exeext=".exe"
10889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10890 /* end confdefs.h. */
10891 void *__os_arm64x_dispatch_ret = 0;
10892 int __cdecl mainCRTStartup(void) { return 0; }
10893 _ACEOF
10894 if ac_fn_c_try_link "$LINENO"
10895 then :
10896 eval "$as_ac_var=yes"
10897 else $as_nop
10898 eval "$as_ac_var=no"
10900 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10901 conftest$ac_exeext conftest.$ac_ext
10902 CFLAGS=$ac_wine_try_cflags_saved
10903 ac_exeext=$ac_wine_try_cflags_saved_exeext
10905 eval ac_res=\$$as_ac_var
10906 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10907 printf "%s\n" "$ac_res" >&6; }
10908 if eval test \"x\$"$as_ac_var"\" = x"yes"
10909 then :
10910 as_fn_append ${wine_arch}_EXTRACFLAGS " -fno-strict-aliasing"
10911 fi }
10912 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror=unknown-warning-option" | $as_tr_sh`
10913 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror=unknown-warning-option" >&5
10914 printf %s "checking whether $CC supports -Werror=unknown-warning-option... " >&6; }
10915 if eval test \${$as_ac_var+y}
10916 then :
10917 printf %s "(cached) " >&6
10918 else $as_nop
10919 ac_wine_try_cflags_saved=$CFLAGS
10920 ac_wine_try_cflags_saved_exeext=$ac_exeext
10921 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Werror=unknown-warning-option"
10922 ac_exeext=".exe"
10923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10924 /* end confdefs.h. */
10925 void *__os_arm64x_dispatch_ret = 0;
10926 int __cdecl mainCRTStartup(void) { return 0; }
10927 _ACEOF
10928 if ac_fn_c_try_link "$LINENO"
10929 then :
10930 eval "$as_ac_var=yes"
10931 else $as_nop
10932 eval "$as_ac_var=no"
10934 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10935 conftest$ac_exeext conftest.$ac_ext
10936 CFLAGS=$ac_wine_try_cflags_saved
10937 ac_exeext=$ac_wine_try_cflags_saved_exeext
10939 eval ac_res=\$$as_ac_var
10940 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10941 printf "%s\n" "$ac_res" >&6; }
10942 if eval test \"x\$"$as_ac_var"\" = x"yes"
10943 then :
10944 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
10945 fi }
10946 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror=ignored-optimization-argument" | $as_tr_sh`
10947 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror=ignored-optimization-argument" >&5
10948 printf %s "checking whether $CC supports -Werror=ignored-optimization-argument... " >&6; }
10949 if eval test \${$as_ac_var+y}
10950 then :
10951 printf %s "(cached) " >&6
10952 else $as_nop
10953 ac_wine_try_cflags_saved=$CFLAGS
10954 ac_wine_try_cflags_saved_exeext=$ac_exeext
10955 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Werror=ignored-optimization-argument"
10956 ac_exeext=".exe"
10957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10958 /* end confdefs.h. */
10959 void *__os_arm64x_dispatch_ret = 0;
10960 int __cdecl mainCRTStartup(void) { return 0; }
10961 _ACEOF
10962 if ac_fn_c_try_link "$LINENO"
10963 then :
10964 eval "$as_ac_var=yes"
10965 else $as_nop
10966 eval "$as_ac_var=no"
10968 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10969 conftest$ac_exeext conftest.$ac_ext
10970 CFLAGS=$ac_wine_try_cflags_saved
10971 ac_exeext=$ac_wine_try_cflags_saved_exeext
10973 eval ac_res=\$$as_ac_var
10974 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10975 printf "%s\n" "$ac_res" >&6; }
10976 if eval test \"x\$"$as_ac_var"\" = x"yes"
10977 then :
10978 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
10979 fi }
10980 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wdeclaration-after-statement" | $as_tr_sh`
10981 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wdeclaration-after-statement" >&5
10982 printf %s "checking whether $CC supports -Wdeclaration-after-statement... " >&6; }
10983 if eval test \${$as_ac_var+y}
10984 then :
10985 printf %s "(cached) " >&6
10986 else $as_nop
10987 ac_wine_try_cflags_saved=$CFLAGS
10988 ac_wine_try_cflags_saved_exeext=$ac_exeext
10989 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wdeclaration-after-statement"
10990 ac_exeext=".exe"
10991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10992 /* end confdefs.h. */
10993 void *__os_arm64x_dispatch_ret = 0;
10994 int __cdecl mainCRTStartup(void) { return 0; }
10995 _ACEOF
10996 if ac_fn_c_try_link "$LINENO"
10997 then :
10998 eval "$as_ac_var=yes"
10999 else $as_nop
11000 eval "$as_ac_var=no"
11002 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11003 conftest$ac_exeext conftest.$ac_ext
11004 CFLAGS=$ac_wine_try_cflags_saved
11005 ac_exeext=$ac_wine_try_cflags_saved_exeext
11007 eval ac_res=\$$as_ac_var
11008 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11009 printf "%s\n" "$ac_res" >&6; }
11010 if eval test \"x\$"$as_ac_var"\" = x"yes"
11011 then :
11012 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wdeclaration-after-statement"
11013 fi }
11014 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wempty-body" | $as_tr_sh`
11015 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wempty-body" >&5
11016 printf %s "checking whether $CC supports -Wempty-body... " >&6; }
11017 if eval test \${$as_ac_var+y}
11018 then :
11019 printf %s "(cached) " >&6
11020 else $as_nop
11021 ac_wine_try_cflags_saved=$CFLAGS
11022 ac_wine_try_cflags_saved_exeext=$ac_exeext
11023 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wempty-body"
11024 ac_exeext=".exe"
11025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11026 /* end confdefs.h. */
11027 void *__os_arm64x_dispatch_ret = 0;
11028 int __cdecl mainCRTStartup(void) { return 0; }
11029 _ACEOF
11030 if ac_fn_c_try_link "$LINENO"
11031 then :
11032 eval "$as_ac_var=yes"
11033 else $as_nop
11034 eval "$as_ac_var=no"
11036 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11037 conftest$ac_exeext conftest.$ac_ext
11038 CFLAGS=$ac_wine_try_cflags_saved
11039 ac_exeext=$ac_wine_try_cflags_saved_exeext
11041 eval ac_res=\$$as_ac_var
11042 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11043 printf "%s\n" "$ac_res" >&6; }
11044 if eval test \"x\$"$as_ac_var"\" = x"yes"
11045 then :
11046 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wempty-body"
11047 fi }
11048 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wignored-qualifiers" | $as_tr_sh`
11049 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wignored-qualifiers" >&5
11050 printf %s "checking whether $CC supports -Wignored-qualifiers... " >&6; }
11051 if eval test \${$as_ac_var+y}
11052 then :
11053 printf %s "(cached) " >&6
11054 else $as_nop
11055 ac_wine_try_cflags_saved=$CFLAGS
11056 ac_wine_try_cflags_saved_exeext=$ac_exeext
11057 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wignored-qualifiers"
11058 ac_exeext=".exe"
11059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11060 /* end confdefs.h. */
11061 void *__os_arm64x_dispatch_ret = 0;
11062 int __cdecl mainCRTStartup(void) { return 0; }
11063 _ACEOF
11064 if ac_fn_c_try_link "$LINENO"
11065 then :
11066 eval "$as_ac_var=yes"
11067 else $as_nop
11068 eval "$as_ac_var=no"
11070 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11071 conftest$ac_exeext conftest.$ac_ext
11072 CFLAGS=$ac_wine_try_cflags_saved
11073 ac_exeext=$ac_wine_try_cflags_saved_exeext
11075 eval ac_res=\$$as_ac_var
11076 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11077 printf "%s\n" "$ac_res" >&6; }
11078 if eval test \"x\$"$as_ac_var"\" = x"yes"
11079 then :
11080 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wignored-qualifiers"
11081 fi }
11082 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Winit-self" | $as_tr_sh`
11083 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Winit-self" >&5
11084 printf %s "checking whether $CC supports -Winit-self... " >&6; }
11085 if eval test \${$as_ac_var+y}
11086 then :
11087 printf %s "(cached) " >&6
11088 else $as_nop
11089 ac_wine_try_cflags_saved=$CFLAGS
11090 ac_wine_try_cflags_saved_exeext=$ac_exeext
11091 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Winit-self"
11092 ac_exeext=".exe"
11093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11094 /* end confdefs.h. */
11095 void *__os_arm64x_dispatch_ret = 0;
11096 int __cdecl mainCRTStartup(void) { return 0; }
11097 _ACEOF
11098 if ac_fn_c_try_link "$LINENO"
11099 then :
11100 eval "$as_ac_var=yes"
11101 else $as_nop
11102 eval "$as_ac_var=no"
11104 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11105 conftest$ac_exeext conftest.$ac_ext
11106 CFLAGS=$ac_wine_try_cflags_saved
11107 ac_exeext=$ac_wine_try_cflags_saved_exeext
11109 eval ac_res=\$$as_ac_var
11110 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11111 printf "%s\n" "$ac_res" >&6; }
11112 if eval test \"x\$"$as_ac_var"\" = x"yes"
11113 then :
11114 as_fn_append ${wine_arch}_EXTRACFLAGS " -Winit-self"
11115 fi }
11116 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpacked-not-aligned" | $as_tr_sh`
11117 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpacked-not-aligned" >&5
11118 printf %s "checking whether $CC supports -Wpacked-not-aligned... " >&6; }
11119 if eval test \${$as_ac_var+y}
11120 then :
11121 printf %s "(cached) " >&6
11122 else $as_nop
11123 ac_wine_try_cflags_saved=$CFLAGS
11124 ac_wine_try_cflags_saved_exeext=$ac_exeext
11125 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wpacked-not-aligned"
11126 ac_exeext=".exe"
11127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11128 /* end confdefs.h. */
11129 void *__os_arm64x_dispatch_ret = 0;
11130 int __cdecl mainCRTStartup(void) { return 0; }
11131 _ACEOF
11132 if ac_fn_c_try_link "$LINENO"
11133 then :
11134 eval "$as_ac_var=yes"
11135 else $as_nop
11136 eval "$as_ac_var=no"
11138 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11139 conftest$ac_exeext conftest.$ac_ext
11140 CFLAGS=$ac_wine_try_cflags_saved
11141 ac_exeext=$ac_wine_try_cflags_saved_exeext
11143 eval ac_res=\$$as_ac_var
11144 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11145 printf "%s\n" "$ac_res" >&6; }
11146 if eval test \"x\$"$as_ac_var"\" = x"yes"
11147 then :
11148 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-packed-not-aligned"
11149 fi }
11150 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpragma-pack" | $as_tr_sh`
11151 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpragma-pack" >&5
11152 printf %s "checking whether $CC supports -Wpragma-pack... " >&6; }
11153 if eval test \${$as_ac_var+y}
11154 then :
11155 printf %s "(cached) " >&6
11156 else $as_nop
11157 ac_wine_try_cflags_saved=$CFLAGS
11158 ac_wine_try_cflags_saved_exeext=$ac_exeext
11159 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wpragma-pack"
11160 ac_exeext=".exe"
11161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11162 /* end confdefs.h. */
11163 void *__os_arm64x_dispatch_ret = 0;
11164 int __cdecl mainCRTStartup(void) { return 0; }
11165 _ACEOF
11166 if ac_fn_c_try_link "$LINENO"
11167 then :
11168 eval "$as_ac_var=yes"
11169 else $as_nop
11170 eval "$as_ac_var=no"
11172 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11173 conftest$ac_exeext conftest.$ac_ext
11174 CFLAGS=$ac_wine_try_cflags_saved
11175 ac_exeext=$ac_wine_try_cflags_saved_exeext
11177 eval ac_res=\$$as_ac_var
11178 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11179 printf "%s\n" "$ac_res" >&6; }
11180 if eval test \"x\$"$as_ac_var"\" = x"yes"
11181 then :
11182 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-pragma-pack"
11183 fi }
11184 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wmicrosoft-enum-forward-reference" | $as_tr_sh`
11185 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wmicrosoft-enum-forward-reference" >&5
11186 printf %s "checking whether $CC supports -Wmicrosoft-enum-forward-reference... " >&6; }
11187 if eval test \${$as_ac_var+y}
11188 then :
11189 printf %s "(cached) " >&6
11190 else $as_nop
11191 ac_wine_try_cflags_saved=$CFLAGS
11192 ac_wine_try_cflags_saved_exeext=$ac_exeext
11193 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wmicrosoft-enum-forward-reference"
11194 ac_exeext=".exe"
11195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11196 /* end confdefs.h. */
11197 void *__os_arm64x_dispatch_ret = 0;
11198 int __cdecl mainCRTStartup(void) { return 0; }
11199 _ACEOF
11200 if ac_fn_c_try_link "$LINENO"
11201 then :
11202 eval "$as_ac_var=yes"
11203 else $as_nop
11204 eval "$as_ac_var=no"
11206 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11207 conftest$ac_exeext conftest.$ac_ext
11208 CFLAGS=$ac_wine_try_cflags_saved
11209 ac_exeext=$ac_wine_try_cflags_saved_exeext
11211 eval ac_res=\$$as_ac_var
11212 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11213 printf "%s\n" "$ac_res" >&6; }
11214 if eval test \"x\$"$as_ac_var"\" = x"yes"
11215 then :
11216 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-microsoft-enum-forward-reference"
11217 fi }
11218 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wshift-overflow=2" | $as_tr_sh`
11219 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wshift-overflow=2" >&5
11220 printf %s "checking whether $CC supports -Wshift-overflow=2... " >&6; }
11221 if eval test \${$as_ac_var+y}
11222 then :
11223 printf %s "(cached) " >&6
11224 else $as_nop
11225 ac_wine_try_cflags_saved=$CFLAGS
11226 ac_wine_try_cflags_saved_exeext=$ac_exeext
11227 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wshift-overflow=2"
11228 ac_exeext=".exe"
11229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11230 /* end confdefs.h. */
11231 void *__os_arm64x_dispatch_ret = 0;
11232 int __cdecl mainCRTStartup(void) { return 0; }
11233 _ACEOF
11234 if ac_fn_c_try_link "$LINENO"
11235 then :
11236 eval "$as_ac_var=yes"
11237 else $as_nop
11238 eval "$as_ac_var=no"
11240 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11241 conftest$ac_exeext conftest.$ac_ext
11242 CFLAGS=$ac_wine_try_cflags_saved
11243 ac_exeext=$ac_wine_try_cflags_saved_exeext
11245 eval ac_res=\$$as_ac_var
11246 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11247 printf "%s\n" "$ac_res" >&6; }
11248 if eval test \"x\$"$as_ac_var"\" = x"yes"
11249 then :
11250 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wshift-overflow=2"
11251 fi }
11252 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wstrict-prototypes" | $as_tr_sh`
11253 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wstrict-prototypes" >&5
11254 printf %s "checking whether $CC supports -Wstrict-prototypes... " >&6; }
11255 if eval test \${$as_ac_var+y}
11256 then :
11257 printf %s "(cached) " >&6
11258 else $as_nop
11259 ac_wine_try_cflags_saved=$CFLAGS
11260 ac_wine_try_cflags_saved_exeext=$ac_exeext
11261 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wstrict-prototypes"
11262 ac_exeext=".exe"
11263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11264 /* end confdefs.h. */
11265 void *__os_arm64x_dispatch_ret = 0;
11266 int __cdecl mainCRTStartup(void) { return 0; }
11267 _ACEOF
11268 if ac_fn_c_try_link "$LINENO"
11269 then :
11270 eval "$as_ac_var=yes"
11271 else $as_nop
11272 eval "$as_ac_var=no"
11274 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11275 conftest$ac_exeext conftest.$ac_ext
11276 CFLAGS=$ac_wine_try_cflags_saved
11277 ac_exeext=$ac_wine_try_cflags_saved_exeext
11279 eval ac_res=\$$as_ac_var
11280 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11281 printf "%s\n" "$ac_res" >&6; }
11282 if eval test \"x\$"$as_ac_var"\" = x"yes"
11283 then :
11284 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wstrict-prototypes"
11285 fi }
11286 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wtype-limits" | $as_tr_sh`
11287 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wtype-limits" >&5
11288 printf %s "checking whether $CC supports -Wtype-limits... " >&6; }
11289 if eval test \${$as_ac_var+y}
11290 then :
11291 printf %s "(cached) " >&6
11292 else $as_nop
11293 ac_wine_try_cflags_saved=$CFLAGS
11294 ac_wine_try_cflags_saved_exeext=$ac_exeext
11295 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wtype-limits"
11296 ac_exeext=".exe"
11297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11298 /* end confdefs.h. */
11299 void *__os_arm64x_dispatch_ret = 0;
11300 int __cdecl mainCRTStartup(void) { return 0; }
11301 _ACEOF
11302 if ac_fn_c_try_link "$LINENO"
11303 then :
11304 eval "$as_ac_var=yes"
11305 else $as_nop
11306 eval "$as_ac_var=no"
11308 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11309 conftest$ac_exeext conftest.$ac_ext
11310 CFLAGS=$ac_wine_try_cflags_saved
11311 ac_exeext=$ac_wine_try_cflags_saved_exeext
11313 eval ac_res=\$$as_ac_var
11314 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11315 printf "%s\n" "$ac_res" >&6; }
11316 if eval test \"x\$"$as_ac_var"\" = x"yes"
11317 then :
11318 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wtype-limits"
11319 fi }
11320 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wunused-but-set-parameter" | $as_tr_sh`
11321 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wunused-but-set-parameter" >&5
11322 printf %s "checking whether $CC supports -Wunused-but-set-parameter... " >&6; }
11323 if eval test \${$as_ac_var+y}
11324 then :
11325 printf %s "(cached) " >&6
11326 else $as_nop
11327 ac_wine_try_cflags_saved=$CFLAGS
11328 ac_wine_try_cflags_saved_exeext=$ac_exeext
11329 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wunused-but-set-parameter"
11330 ac_exeext=".exe"
11331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11332 /* end confdefs.h. */
11333 void *__os_arm64x_dispatch_ret = 0;
11334 int __cdecl mainCRTStartup(void) { return 0; }
11335 _ACEOF
11336 if ac_fn_c_try_link "$LINENO"
11337 then :
11338 eval "$as_ac_var=yes"
11339 else $as_nop
11340 eval "$as_ac_var=no"
11342 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11343 conftest$ac_exeext conftest.$ac_ext
11344 CFLAGS=$ac_wine_try_cflags_saved
11345 ac_exeext=$ac_wine_try_cflags_saved_exeext
11347 eval ac_res=\$$as_ac_var
11348 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11349 printf "%s\n" "$ac_res" >&6; }
11350 if eval test \"x\$"$as_ac_var"\" = x"yes"
11351 then :
11352 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wunused-but-set-parameter"
11353 fi }
11354 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wvla" | $as_tr_sh`
11355 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wvla" >&5
11356 printf %s "checking whether $CC supports -Wvla... " >&6; }
11357 if eval test \${$as_ac_var+y}
11358 then :
11359 printf %s "(cached) " >&6
11360 else $as_nop
11361 ac_wine_try_cflags_saved=$CFLAGS
11362 ac_wine_try_cflags_saved_exeext=$ac_exeext
11363 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wvla"
11364 ac_exeext=".exe"
11365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11366 /* end confdefs.h. */
11367 void *__os_arm64x_dispatch_ret = 0;
11368 int __cdecl mainCRTStartup(void) { return 0; }
11369 _ACEOF
11370 if ac_fn_c_try_link "$LINENO"
11371 then :
11372 eval "$as_ac_var=yes"
11373 else $as_nop
11374 eval "$as_ac_var=no"
11376 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11377 conftest$ac_exeext conftest.$ac_ext
11378 CFLAGS=$ac_wine_try_cflags_saved
11379 ac_exeext=$ac_wine_try_cflags_saved_exeext
11381 eval ac_res=\$$as_ac_var
11382 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11383 printf "%s\n" "$ac_res" >&6; }
11384 if eval test \"x\$"$as_ac_var"\" = x"yes"
11385 then :
11386 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wvla"
11387 fi }
11388 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wwrite-strings" | $as_tr_sh`
11389 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wwrite-strings" >&5
11390 printf %s "checking whether $CC supports -Wwrite-strings... " >&6; }
11391 if eval test \${$as_ac_var+y}
11392 then :
11393 printf %s "(cached) " >&6
11394 else $as_nop
11395 ac_wine_try_cflags_saved=$CFLAGS
11396 ac_wine_try_cflags_saved_exeext=$ac_exeext
11397 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wwrite-strings"
11398 ac_exeext=".exe"
11399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11400 /* end confdefs.h. */
11401 void *__os_arm64x_dispatch_ret = 0;
11402 int __cdecl mainCRTStartup(void) { return 0; }
11403 _ACEOF
11404 if ac_fn_c_try_link "$LINENO"
11405 then :
11406 eval "$as_ac_var=yes"
11407 else $as_nop
11408 eval "$as_ac_var=no"
11410 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11411 conftest$ac_exeext conftest.$ac_ext
11412 CFLAGS=$ac_wine_try_cflags_saved
11413 ac_exeext=$ac_wine_try_cflags_saved_exeext
11415 eval ac_res=\$$as_ac_var
11416 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11417 printf "%s\n" "$ac_res" >&6; }
11418 if eval test \"x\$"$as_ac_var"\" = x"yes"
11419 then :
11420 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wwrite-strings"
11421 fi }
11422 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpointer-arith" | $as_tr_sh`
11423 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpointer-arith" >&5
11424 printf %s "checking whether $CC supports -Wpointer-arith... " >&6; }
11425 if eval test \${$as_ac_var+y}
11426 then :
11427 printf %s "(cached) " >&6
11428 else $as_nop
11429 ac_wine_try_cflags_saved=$CFLAGS
11430 ac_wine_try_cflags_saved_exeext=$ac_exeext
11431 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wpointer-arith"
11432 ac_exeext=".exe"
11433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11434 /* end confdefs.h. */
11435 void *__os_arm64x_dispatch_ret = 0;
11436 int __cdecl mainCRTStartup(void) { return 0; }
11437 _ACEOF
11438 if ac_fn_c_try_link "$LINENO"
11439 then :
11440 eval "$as_ac_var=yes"
11441 else $as_nop
11442 eval "$as_ac_var=no"
11444 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11445 conftest$ac_exeext conftest.$ac_ext
11446 CFLAGS=$ac_wine_try_cflags_saved
11447 ac_exeext=$ac_wine_try_cflags_saved_exeext
11449 eval ac_res=\$$as_ac_var
11450 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11451 printf "%s\n" "$ac_res" >&6; }
11452 if eval test \"x\$"$as_ac_var"\" = x"yes"
11453 then :
11454 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wpointer-arith"
11455 fi }
11456 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wlogical-op" | $as_tr_sh`
11457 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wlogical-op" >&5
11458 printf %s "checking whether $CC supports -Wlogical-op... " >&6; }
11459 if eval test \${$as_ac_var+y}
11460 then :
11461 printf %s "(cached) " >&6
11462 else $as_nop
11463 ac_wine_try_cflags_saved=$CFLAGS
11464 ac_wine_try_cflags_saved_exeext=$ac_exeext
11465 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wlogical-op"
11466 ac_exeext=".exe"
11467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11468 /* end confdefs.h. */
11469 void *__os_arm64x_dispatch_ret = 0;
11470 int __cdecl mainCRTStartup(void) { return 0; }
11471 _ACEOF
11472 if ac_fn_c_try_link "$LINENO"
11473 then :
11474 eval "$as_ac_var=yes"
11475 else $as_nop
11476 eval "$as_ac_var=no"
11478 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11479 conftest$ac_exeext conftest.$ac_ext
11480 CFLAGS=$ac_wine_try_cflags_saved
11481 ac_exeext=$ac_wine_try_cflags_saved_exeext
11483 eval ac_res=\$$as_ac_var
11484 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11485 printf "%s\n" "$ac_res" >&6; }
11486 if eval test \"x\$"$as_ac_var"\" = x"yes"
11487 then :
11488 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wlogical-op"
11489 fi }
11490 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wabsolute-value" | $as_tr_sh`
11491 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wabsolute-value" >&5
11492 printf %s "checking whether $CC supports -Wabsolute-value... " >&6; }
11493 if eval test \${$as_ac_var+y}
11494 then :
11495 printf %s "(cached) " >&6
11496 else $as_nop
11497 ac_wine_try_cflags_saved=$CFLAGS
11498 ac_wine_try_cflags_saved_exeext=$ac_exeext
11499 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wabsolute-value"
11500 ac_exeext=".exe"
11501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11502 /* end confdefs.h. */
11503 void *__os_arm64x_dispatch_ret = 0;
11504 int __cdecl mainCRTStartup(void) { return 0; }
11505 _ACEOF
11506 if ac_fn_c_try_link "$LINENO"
11507 then :
11508 eval "$as_ac_var=yes"
11509 else $as_nop
11510 eval "$as_ac_var=no"
11512 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11513 conftest$ac_exeext conftest.$ac_ext
11514 CFLAGS=$ac_wine_try_cflags_saved
11515 ac_exeext=$ac_wine_try_cflags_saved_exeext
11517 eval ac_res=\$$as_ac_var
11518 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11519 printf "%s\n" "$ac_res" >&6; }
11520 if eval test \"x\$"$as_ac_var"\" = x"yes"
11521 then :
11522 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wabsolute-value"
11523 fi }
11524 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wenum-conversion" | $as_tr_sh`
11525 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wenum-conversion" >&5
11526 printf %s "checking whether $CC supports -Wenum-conversion... " >&6; }
11527 if eval test \${$as_ac_var+y}
11528 then :
11529 printf %s "(cached) " >&6
11530 else $as_nop
11531 ac_wine_try_cflags_saved=$CFLAGS
11532 ac_wine_try_cflags_saved_exeext=$ac_exeext
11533 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wenum-conversion"
11534 ac_exeext=".exe"
11535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11536 /* end confdefs.h. */
11537 void *__os_arm64x_dispatch_ret = 0;
11538 int __cdecl mainCRTStartup(void) { return 0; }
11539 _ACEOF
11540 if ac_fn_c_try_link "$LINENO"
11541 then :
11542 eval "$as_ac_var=yes"
11543 else $as_nop
11544 eval "$as_ac_var=no"
11546 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11547 conftest$ac_exeext conftest.$ac_ext
11548 CFLAGS=$ac_wine_try_cflags_saved
11549 ac_exeext=$ac_wine_try_cflags_saved_exeext
11551 eval ac_res=\$$as_ac_var
11552 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11553 printf "%s\n" "$ac_res" >&6; }
11554 if eval test \"x\$"$as_ac_var"\" = x"yes"
11555 then :
11556 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wenum-conversion"
11557 fi }
11559 case $wine_arch in
11560 i386) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-fno-omit-frame-pointer" | $as_tr_sh`
11561 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -fno-omit-frame-pointer" >&5
11562 printf %s "checking whether $CC supports -fno-omit-frame-pointer... " >&6; }
11563 if eval test \${$as_ac_var+y}
11564 then :
11565 printf %s "(cached) " >&6
11566 else $as_nop
11567 ac_wine_try_cflags_saved=$CFLAGS
11568 ac_wine_try_cflags_saved_exeext=$ac_exeext
11569 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -fno-omit-frame-pointer"
11570 ac_exeext=".exe"
11571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11572 /* end confdefs.h. */
11573 void *__os_arm64x_dispatch_ret = 0;
11574 int __cdecl mainCRTStartup(void) { return 0; }
11575 _ACEOF
11576 if ac_fn_c_try_link "$LINENO"
11577 then :
11578 eval "$as_ac_var=yes"
11579 else $as_nop
11580 eval "$as_ac_var=no"
11582 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11583 conftest$ac_exeext conftest.$ac_ext
11584 CFLAGS=$ac_wine_try_cflags_saved
11585 ac_exeext=$ac_wine_try_cflags_saved_exeext
11587 eval ac_res=\$$as_ac_var
11588 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11589 printf "%s\n" "$ac_res" >&6; }
11590 if eval test \"x\$"$as_ac_var"\" = x"yes"
11591 then :
11592 as_fn_append ${wine_arch}_EXTRACFLAGS " -fno-omit-frame-pointer"
11593 fi }
11594 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-mpreferred-stack-boundary=2" | $as_tr_sh`
11595 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mpreferred-stack-boundary=2" >&5
11596 printf %s "checking whether $CC supports -mpreferred-stack-boundary=2... " >&6; }
11597 if eval test \${$as_ac_var+y}
11598 then :
11599 printf %s "(cached) " >&6
11600 else $as_nop
11601 ac_wine_try_cflags_saved=$CFLAGS
11602 ac_wine_try_cflags_saved_exeext=$ac_exeext
11603 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -mpreferred-stack-boundary=2"
11604 ac_exeext=".exe"
11605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11606 /* end confdefs.h. */
11607 void *__os_arm64x_dispatch_ret = 0;
11608 int __cdecl mainCRTStartup(void) { return 0; }
11609 _ACEOF
11610 if ac_fn_c_try_link "$LINENO"
11611 then :
11612 eval "$as_ac_var=yes"
11613 else $as_nop
11614 eval "$as_ac_var=no"
11616 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11617 conftest$ac_exeext conftest.$ac_ext
11618 CFLAGS=$ac_wine_try_cflags_saved
11619 ac_exeext=$ac_wine_try_cflags_saved_exeext
11621 eval ac_res=\$$as_ac_var
11622 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11623 printf "%s\n" "$ac_res" >&6; }
11624 if eval test \"x\$"$as_ac_var"\" = x"yes"
11625 then :
11626 as_fn_append ${wine_arch}_EXTRACFLAGS " -mpreferred-stack-boundary=2"
11627 fi }
11628 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wl,--disable-stdcall-fixup" | $as_tr_sh`
11629 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wl,--disable-stdcall-fixup" >&5
11630 printf %s "checking whether $CC supports -Wl,--disable-stdcall-fixup... " >&6; }
11631 if eval test \${$as_ac_var+y}
11632 then :
11633 printf %s "(cached) " >&6
11634 else $as_nop
11635 ac_wine_try_cflags_saved=$CFLAGS
11636 ac_wine_try_cflags_saved_exeext=$ac_exeext
11637 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wl,--disable-stdcall-fixup"
11638 ac_exeext=".exe"
11639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11640 /* end confdefs.h. */
11641 void *__os_arm64x_dispatch_ret = 0;
11642 int __cdecl mainCRTStartup(void) { return 0; }
11643 _ACEOF
11644 if ac_fn_c_try_link "$LINENO"
11645 then :
11646 eval "$as_ac_var=yes"
11647 else $as_nop
11648 eval "$as_ac_var=no"
11650 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11651 conftest$ac_exeext conftest.$ac_ext
11652 CFLAGS=$ac_wine_try_cflags_saved
11653 ac_exeext=$ac_wine_try_cflags_saved_exeext
11655 eval ac_res=\$$as_ac_var
11656 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11657 printf "%s\n" "$ac_res" >&6; }
11658 if eval test \"x\$"$as_ac_var"\" = x"yes"
11659 then :
11660 as_fn_append ${wine_arch}_LDFLAGS " -Wl,--disable-stdcall-fixup"
11661 fi } ;;
11662 x86_64) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wformat-overflow" | $as_tr_sh`
11663 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wformat-overflow" >&5
11664 printf %s "checking whether $CC supports -Wformat-overflow... " >&6; }
11665 if eval test \${$as_ac_var+y}
11666 then :
11667 printf %s "(cached) " >&6
11668 else $as_nop
11669 ac_wine_try_cflags_saved=$CFLAGS
11670 ac_wine_try_cflags_saved_exeext=$ac_exeext
11671 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wformat-overflow"
11672 ac_exeext=".exe"
11673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11674 /* end confdefs.h. */
11675 void *__os_arm64x_dispatch_ret = 0;
11676 int __cdecl mainCRTStartup(void) { return 0; }
11677 _ACEOF
11678 if ac_fn_c_try_link "$LINENO"
11679 then :
11680 eval "$as_ac_var=yes"
11681 else $as_nop
11682 eval "$as_ac_var=no"
11684 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11685 conftest$ac_exeext conftest.$ac_ext
11686 CFLAGS=$ac_wine_try_cflags_saved
11687 ac_exeext=$ac_wine_try_cflags_saved_exeext
11689 eval ac_res=\$$as_ac_var
11690 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11691 printf "%s\n" "$ac_res" >&6; }
11692 if eval test \"x\$"$as_ac_var"\" = x"yes"
11693 then :
11694 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wformat-overflow"
11695 fi }
11696 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wnonnull" | $as_tr_sh`
11697 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wnonnull" >&5
11698 printf %s "checking whether $CC supports -Wnonnull... " >&6; }
11699 if eval test \${$as_ac_var+y}
11700 then :
11701 printf %s "(cached) " >&6
11702 else $as_nop
11703 ac_wine_try_cflags_saved=$CFLAGS
11704 ac_wine_try_cflags_saved_exeext=$ac_exeext
11705 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wnonnull"
11706 ac_exeext=".exe"
11707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11708 /* end confdefs.h. */
11709 void *__os_arm64x_dispatch_ret = 0;
11710 int __cdecl mainCRTStartup(void) { return 0; }
11711 _ACEOF
11712 if ac_fn_c_try_link "$LINENO"
11713 then :
11714 eval "$as_ac_var=yes"
11715 else $as_nop
11716 eval "$as_ac_var=no"
11718 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11719 conftest$ac_exeext conftest.$ac_ext
11720 CFLAGS=$ac_wine_try_cflags_saved
11721 ac_exeext=$ac_wine_try_cflags_saved_exeext
11723 eval ac_res=\$$as_ac_var
11724 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11725 printf "%s\n" "$ac_res" >&6; }
11726 if eval test \"x\$"$as_ac_var"\" = x"yes"
11727 then :
11728 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wnonnull"
11729 fi }
11730 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-mcx16" | $as_tr_sh`
11731 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mcx16" >&5
11732 printf %s "checking whether $CC supports -mcx16... " >&6; }
11733 if eval test \${$as_ac_var+y}
11734 then :
11735 printf %s "(cached) " >&6
11736 else $as_nop
11737 ac_wine_try_cflags_saved=$CFLAGS
11738 ac_wine_try_cflags_saved_exeext=$ac_exeext
11739 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -mcx16"
11740 ac_exeext=".exe"
11741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11742 /* end confdefs.h. */
11743 void *__os_arm64x_dispatch_ret = 0;
11744 int __cdecl mainCRTStartup(void) { return 0; }
11745 _ACEOF
11746 if ac_fn_c_try_link "$LINENO"
11747 then :
11748 eval "$as_ac_var=yes"
11749 else $as_nop
11750 eval "$as_ac_var=no"
11752 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11753 conftest$ac_exeext conftest.$ac_ext
11754 CFLAGS=$ac_wine_try_cflags_saved
11755 ac_exeext=$ac_wine_try_cflags_saved_exeext
11757 eval ac_res=\$$as_ac_var
11758 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11759 printf "%s\n" "$ac_res" >&6; }
11760 if eval test \"x\$"$as_ac_var"\" = x"yes"
11761 then :
11762 as_fn_append ${wine_arch}_EXTRACFLAGS " -mcx16"
11763 fi }
11764 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-mcmodel=small" | $as_tr_sh`
11765 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mcmodel=small" >&5
11766 printf %s "checking whether $CC supports -mcmodel=small... " >&6; }
11767 if eval test \${$as_ac_var+y}
11768 then :
11769 printf %s "(cached) " >&6
11770 else $as_nop
11771 ac_wine_try_cflags_saved=$CFLAGS
11772 ac_wine_try_cflags_saved_exeext=$ac_exeext
11773 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -mcmodel=small"
11774 ac_exeext=".exe"
11775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11776 /* end confdefs.h. */
11777 void *__os_arm64x_dispatch_ret = 0;
11778 int __cdecl mainCRTStartup(void) { return 0; }
11779 _ACEOF
11780 if ac_fn_c_try_link "$LINENO"
11781 then :
11782 eval "$as_ac_var=yes"
11783 else $as_nop
11784 eval "$as_ac_var=no"
11786 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11787 conftest$ac_exeext conftest.$ac_ext
11788 CFLAGS=$ac_wine_try_cflags_saved
11789 ac_exeext=$ac_wine_try_cflags_saved_exeext
11791 eval ac_res=\$$as_ac_var
11792 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11793 printf "%s\n" "$ac_res" >&6; }
11794 if eval test \"x\$"$as_ac_var"\" = x"yes"
11795 then :
11796 as_fn_append ${wine_arch}_EXTRACFLAGS " -mcmodel=small"
11797 fi } ;;
11798 esac
11800 wine_crossdebug=$CROSSDEBUG
11801 if test -z "$wine_crossdebug"
11802 then
11803 for ac_flag in $CFLAGS; do
11804 case $ac_flag in
11805 -gdwarf*) wine_crossdebug=dwarf ;;
11806 -gcodeview) wine_crossdebug=pdb ;;
11807 -g) wine_crossdebug=${wine_crossdebug:-dwarf} ;;
11808 esac
11809 done
11812 ac_debug_format_seen=""
11813 for ac_flag in $CFLAGS; do
11814 case $ac_flag in
11815 -gdwarf*|-gcodeview) ac_debug_format_seen=$ac_flag ;;
11816 esac
11817 done
11818 if test "x$ac_debug_format_seen" = x
11819 then
11820 case $wine_crossdebug in
11821 *dwarf) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-gdwarf-4" | $as_tr_sh`
11822 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -gdwarf-4" >&5
11823 printf %s "checking whether $CC supports -gdwarf-4... " >&6; }
11824 if eval test \${$as_ac_var+y}
11825 then :
11826 printf %s "(cached) " >&6
11827 else $as_nop
11828 ac_wine_try_cflags_saved=$CFLAGS
11829 ac_wine_try_cflags_saved_exeext=$ac_exeext
11830 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -gdwarf-4"
11831 ac_exeext=".exe"
11832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11833 /* end confdefs.h. */
11834 void *__os_arm64x_dispatch_ret = 0;
11835 int __cdecl mainCRTStartup(void) { return 0; }
11836 _ACEOF
11837 if ac_fn_c_try_link "$LINENO"
11838 then :
11839 eval "$as_ac_var=yes"
11840 else $as_nop
11841 eval "$as_ac_var=no"
11843 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11844 conftest$ac_exeext conftest.$ac_ext
11845 CFLAGS=$ac_wine_try_cflags_saved
11846 ac_exeext=$ac_wine_try_cflags_saved_exeext
11848 eval ac_res=\$$as_ac_var
11849 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11850 printf "%s\n" "$ac_res" >&6; }
11851 if eval test \"x\$"$as_ac_var"\" = x"yes"
11852 then :
11853 as_fn_append ${wine_arch}_EXTRACFLAGS " -gdwarf-4"
11854 fi } ;;
11855 pdb) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-gcodeview" | $as_tr_sh`
11856 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -gcodeview" >&5
11857 printf %s "checking whether $CC supports -gcodeview... " >&6; }
11858 if eval test \${$as_ac_var+y}
11859 then :
11860 printf %s "(cached) " >&6
11861 else $as_nop
11862 ac_wine_try_cflags_saved=$CFLAGS
11863 ac_wine_try_cflags_saved_exeext=$ac_exeext
11864 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -gcodeview"
11865 ac_exeext=".exe"
11866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11867 /* end confdefs.h. */
11868 void *__os_arm64x_dispatch_ret = 0;
11869 int __cdecl mainCRTStartup(void) { return 0; }
11870 _ACEOF
11871 if ac_fn_c_try_link "$LINENO"
11872 then :
11873 eval "$as_ac_var=yes"
11874 else $as_nop
11875 eval "$as_ac_var=no"
11877 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11878 conftest$ac_exeext conftest.$ac_ext
11879 CFLAGS=$ac_wine_try_cflags_saved
11880 ac_exeext=$ac_wine_try_cflags_saved_exeext
11882 eval ac_res=\$$as_ac_var
11883 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11884 printf "%s\n" "$ac_res" >&6; }
11885 if eval test \"x\$"$as_ac_var"\" = x"yes"
11886 then :
11887 as_fn_append ${wine_arch}_EXTRACFLAGS " -gcodeview"
11888 fi } ;;
11889 esac
11891 eval "${wine_arch}_DEBUG=\$wine_crossdebug"
11893 test "x$enable_werror" != xyes || { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror" | $as_tr_sh`
11894 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror" >&5
11895 printf %s "checking whether $CC supports -Werror... " >&6; }
11896 if eval test \${$as_ac_var+y}
11897 then :
11898 printf %s "(cached) " >&6
11899 else $as_nop
11900 ac_wine_try_cflags_saved=$CFLAGS
11901 ac_wine_try_cflags_saved_exeext=$ac_exeext
11902 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Werror"
11903 ac_exeext=".exe"
11904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11905 /* end confdefs.h. */
11906 void *__os_arm64x_dispatch_ret = 0;
11907 int __cdecl mainCRTStartup(void) { return 0; }
11908 _ACEOF
11909 if ac_fn_c_try_link "$LINENO"
11910 then :
11911 eval "$as_ac_var=yes"
11912 else $as_nop
11913 eval "$as_ac_var=no"
11915 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11916 conftest$ac_exeext conftest.$ac_ext
11917 CFLAGS=$ac_wine_try_cflags_saved
11918 ac_exeext=$ac_wine_try_cflags_saved_exeext
11920 eval ac_res=\$$as_ac_var
11921 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11922 printf "%s\n" "$ac_res" >&6; }
11923 if eval test \"x\$"$as_ac_var"\" = x"yes"
11924 then :
11925 as_fn_append ${wine_arch}_EXTRACFLAGS " -Werror"
11926 fi }
11927 test "x$enable_build_id" != xyes || { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wl,--build-id" | $as_tr_sh`
11928 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wl,--build-id" >&5
11929 printf %s "checking whether $CC supports -Wl,--build-id... " >&6; }
11930 if eval test \${$as_ac_var+y}
11931 then :
11932 printf %s "(cached) " >&6
11933 else $as_nop
11934 ac_wine_try_cflags_saved=$CFLAGS
11935 ac_wine_try_cflags_saved_exeext=$ac_exeext
11936 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wl,--build-id"
11937 ac_exeext=".exe"
11938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11939 /* end confdefs.h. */
11940 void *__os_arm64x_dispatch_ret = 0;
11941 int __cdecl mainCRTStartup(void) { return 0; }
11942 _ACEOF
11943 if ac_fn_c_try_link "$LINENO"
11944 then :
11945 eval "$as_ac_var=yes"
11946 else $as_nop
11947 eval "$as_ac_var=no"
11949 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11950 conftest$ac_exeext conftest.$ac_ext
11951 CFLAGS=$ac_wine_try_cflags_saved
11952 ac_exeext=$ac_wine_try_cflags_saved_exeext
11954 eval ac_res=\$$as_ac_var
11955 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11956 printf "%s\n" "$ac_res" >&6; }
11957 if eval test \"x\$"$as_ac_var"\" = x"yes"
11958 then :
11959 as_fn_append ${wine_arch}_CFLAGS " -Wl,--build-id"
11960 as_fn_append ${wine_arch}_LDFLAGS " -Wl,--build-id"
11961 fi }
11963 done
11965 CC=$saved_CC
11966 CFLAGS=$saved_CFLAGS
11967 LDFLAGS=$saved_LDFLAGS
11969 case $HOST_ARCH in
11970 arm|aarch64)
11971 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
11972 DLLEXT="" ;;
11973 esac
11976 if test "x$with_system_dllpath" != "x" -a -n "$PE_ARCHS"
11977 then
11978 if test "x$HOST_ARCH" = xi386
11979 then :
11980 ac_prefix_list="i686-w64-mingw32-pkg-config i586-w64-mingw32-pkg-config i486-w64-mingw32-pkg-config i386-w64-mingw32-pkg-config "
11981 else $as_nop
11982 ac_prefix_list="$host_cpu-w64-mingw32-pkg-config"
11984 for ac_prog in $ac_prefix_list
11986 # Extract the first word of "$ac_prog", so it can be a program name with args.
11987 set dummy $ac_prog; ac_word=$2
11988 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11989 printf %s "checking for $ac_word... " >&6; }
11990 if test ${ac_cv_prog_MINGW_PKG_CONFIG+y}
11991 then :
11992 printf %s "(cached) " >&6
11993 else $as_nop
11994 if test -n "$MINGW_PKG_CONFIG"; then
11995 ac_cv_prog_MINGW_PKG_CONFIG="$MINGW_PKG_CONFIG" # Let the user override the test.
11996 else
11997 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11998 for as_dir in $PATH
12000 IFS=$as_save_IFS
12001 case $as_dir in #(((
12002 '') as_dir=./ ;;
12003 */) ;;
12004 *) as_dir=$as_dir/ ;;
12005 esac
12006 for ac_exec_ext in '' $ac_executable_extensions; do
12007 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
12008 ac_cv_prog_MINGW_PKG_CONFIG="$ac_prog"
12009 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
12010 break 2
12012 done
12013 done
12014 IFS=$as_save_IFS
12018 MINGW_PKG_CONFIG=$ac_cv_prog_MINGW_PKG_CONFIG
12019 if test -n "$MINGW_PKG_CONFIG"; then
12020 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MINGW_PKG_CONFIG" >&5
12021 printf "%s\n" "$MINGW_PKG_CONFIG" >&6; }
12022 else
12023 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
12024 printf "%s\n" "no" >&6; }
12028 test -n "$MINGW_PKG_CONFIG" && break
12029 done
12030 test -n "$MINGW_PKG_CONFIG" || MINGW_PKG_CONFIG="false"
12032 if ${FAUDIO_PE_CFLAGS:+false} :
12033 then :
12034 if test ${MINGW_PKG_CONFIG+y}
12035 then :
12036 FAUDIO_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags FAudio 2>/dev/null`
12039 if ${FAUDIO_PE_LIBS:+false} :
12040 then :
12041 if test ${MINGW_PKG_CONFIG+y}
12042 then :
12043 FAUDIO_PE_LIBS=`$MINGW_PKG_CONFIG --libs FAudio 2>/dev/null`
12046 FAUDIO_PE_LIBS=${FAUDIO_PE_LIBS:-"-lFAudio"}
12047 ac_save_CPPFLAGS=$CPPFLAGS
12048 CPPFLAGS="$CPPFLAGS $FAUDIO_PE_CFLAGS"
12049 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW FAudio.h" >&5
12050 printf %s "checking for MinGW FAudio.h... " >&6; }
12051 if test ${ac_cv_mingw_header_FAudio_h+y}
12052 then :
12053 printf %s "(cached) " >&6
12054 else $as_nop
12055 ac_wine_check_headers_saved_cc=$CC
12056 ac_wine_check_headers_saved_exeext=$ac_exeext
12057 eval CC=\$${wine_arch}_CC
12058 ac_exeext=".exe"
12059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12060 /* end confdefs.h. */
12062 #include <FAudio.h>
12064 main (void)
12068 return 0;
12070 _ACEOF
12071 if ac_fn_c_try_compile "$LINENO"
12072 then :
12073 ac_cv_mingw_header_FAudio_h=yes
12074 else $as_nop
12075 ac_cv_mingw_header_FAudio_h=no
12077 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12078 CC=$ac_wine_check_headers_saved_cc
12079 ac_exeext=$ac_wine_check_headers_saved_exeext
12081 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_FAudio_h" >&5
12082 printf "%s\n" "$ac_cv_mingw_header_FAudio_h" >&6; }
12083 if test "x$ac_cv_mingw_header_FAudio_h" = xyes
12084 then :
12085 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for FAudio_CommitOperationSet in MinGW -lFAudio" >&5
12086 printf %s "checking for FAudio_CommitOperationSet in MinGW -lFAudio... " >&6; }
12087 if test ${ac_cv_mingw_lib_FAudio+y}
12088 then :
12089 printf %s "(cached) " >&6
12090 else $as_nop
12091 ac_wine_check_headers_saved_cc=$CC
12092 ac_wine_check_headers_saved_exeext=$ac_exeext
12093 ac_wine_check_headers_saved_libs=$LIBS
12094 eval CC=\$${wine_arch}_CC
12095 ac_exeext=".exe"
12096 LIBS="-lFAudio $FAUDIO_PE_LIBS $LIBS"
12097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12098 /* end confdefs.h. */
12100 /* Override any GCC internal prototype to avoid an error.
12101 Use char because int might match the return type of a GCC
12102 builtin and then its argument prototype would still apply. */
12103 char FAudio_CommitOperationSet ();
12105 main (void)
12107 return FAudio_CommitOperationSet ();
12109 return 0;
12111 _ACEOF
12112 if ac_fn_c_try_link "$LINENO"
12113 then :
12114 ac_cv_mingw_lib_FAudio=yes
12115 else $as_nop
12116 ac_cv_mingw_lib_FAudio=no
12118 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12119 conftest$ac_exeext conftest.$ac_ext
12120 CC=$ac_wine_check_headers_saved_cc
12121 ac_exeext=$ac_wine_check_headers_saved_exeext
12122 LIBS=$ac_wine_check_headers_saved_libs
12124 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_FAudio" >&5
12125 printf "%s\n" "$ac_cv_mingw_lib_FAudio" >&6; }
12126 if test "x$ac_cv_mingw_lib_FAudio" = xyes
12127 then :
12129 else $as_nop
12130 FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
12132 else $as_nop
12133 FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
12135 CPPFLAGS=$ac_save_CPPFLAGS
12137 if test "x$FAUDIO_PE_LIBS" = "x"
12138 then
12139 as_fn_append wine_notices "|FAudio ${notice_platform}MinGW development files not found (or too old); using bundled version."
12142 if ${FLUIDSYNTH_PE_CFLAGS:+false} :
12143 then :
12144 if test ${MINGW_PKG_CONFIG+y}
12145 then :
12146 FLUIDSYNTH_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags fluidsynth 2>/dev/null`
12149 if ${FLUIDSYNTH_PE_LIBS:+false} :
12150 then :
12151 if test ${MINGW_PKG_CONFIG+y}
12152 then :
12153 FLUIDSYNTH_PE_LIBS=`$MINGW_PKG_CONFIG --libs fluidsynth 2>/dev/null`
12156 FLUIDSYNTH_PE_LIBS=${FLUIDSYNTH_PE_LIBS:-"-lfluidsynth"}
12157 ac_save_CPPFLAGS=$CPPFLAGS
12158 CPPFLAGS="$CPPFLAGS $FLUIDSYNTH_PE_CFLAGS"
12159 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW fluidsynth.h" >&5
12160 printf %s "checking for MinGW fluidsynth.h... " >&6; }
12161 if test ${ac_cv_mingw_header_fluidsynth_h+y}
12162 then :
12163 printf %s "(cached) " >&6
12164 else $as_nop
12165 ac_wine_check_headers_saved_cc=$CC
12166 ac_wine_check_headers_saved_exeext=$ac_exeext
12167 eval CC=\$${wine_arch}_CC
12168 ac_exeext=".exe"
12169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12170 /* end confdefs.h. */
12172 #include <fluidsynth.h>
12174 main (void)
12178 return 0;
12180 _ACEOF
12181 if ac_fn_c_try_compile "$LINENO"
12182 then :
12183 ac_cv_mingw_header_fluidsynth_h=yes
12184 else $as_nop
12185 ac_cv_mingw_header_fluidsynth_h=no
12187 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12188 CC=$ac_wine_check_headers_saved_cc
12189 ac_exeext=$ac_wine_check_headers_saved_exeext
12191 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_fluidsynth_h" >&5
12192 printf "%s\n" "$ac_cv_mingw_header_fluidsynth_h" >&6; }
12193 if test "x$ac_cv_mingw_header_fluidsynth_h" = xyes
12194 then :
12195 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for new_fluid_synth in MinGW -lfluidsynth" >&5
12196 printf %s "checking for new_fluid_synth in MinGW -lfluidsynth... " >&6; }
12197 if test ${ac_cv_mingw_lib_fluidsynth+y}
12198 then :
12199 printf %s "(cached) " >&6
12200 else $as_nop
12201 ac_wine_check_headers_saved_cc=$CC
12202 ac_wine_check_headers_saved_exeext=$ac_exeext
12203 ac_wine_check_headers_saved_libs=$LIBS
12204 eval CC=\$${wine_arch}_CC
12205 ac_exeext=".exe"
12206 LIBS="-lfluidsynth $FLUIDSYNTH_PE_LIBS $LIBS"
12207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12208 /* end confdefs.h. */
12210 /* Override any GCC internal prototype to avoid an error.
12211 Use char because int might match the return type of a GCC
12212 builtin and then its argument prototype would still apply. */
12213 char new_fluid_synth ();
12215 main (void)
12217 return new_fluid_synth ();
12219 return 0;
12221 _ACEOF
12222 if ac_fn_c_try_link "$LINENO"
12223 then :
12224 ac_cv_mingw_lib_fluidsynth=yes
12225 else $as_nop
12226 ac_cv_mingw_lib_fluidsynth=no
12228 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12229 conftest$ac_exeext conftest.$ac_ext
12230 CC=$ac_wine_check_headers_saved_cc
12231 ac_exeext=$ac_wine_check_headers_saved_exeext
12232 LIBS=$ac_wine_check_headers_saved_libs
12234 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_fluidsynth" >&5
12235 printf "%s\n" "$ac_cv_mingw_lib_fluidsynth" >&6; }
12236 if test "x$ac_cv_mingw_lib_fluidsynth" = xyes
12237 then :
12239 else $as_nop
12240 FLUIDSYNTH_PE_CFLAGS=""; FLUIDSYNTH_PE_LIBS=""
12242 else $as_nop
12243 FLUIDSYNTH_PE_CFLAGS=""; FLUIDSYNTH_PE_LIBS=""
12245 CPPFLAGS=$ac_save_CPPFLAGS
12247 if test "x$FLUIDSYNTH_PE_LIBS" = "x"
12248 then
12249 as_fn_append wine_notices "|Fluidsynth ${notice_platform}MinGW development files not found (or too old); using bundled version."
12252 if ${JPEG_PE_CFLAGS:+false} :
12253 then :
12254 if test ${MINGW_PKG_CONFIG+y}
12255 then :
12256 JPEG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libjpeg 2>/dev/null`
12259 if ${JPEG_PE_LIBS:+false} :
12260 then :
12261 if test ${MINGW_PKG_CONFIG+y}
12262 then :
12263 JPEG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libjpeg 2>/dev/null`
12267 ac_save_CPPFLAGS=$CPPFLAGS
12268 CPPFLAGS="$CPPFLAGS $JPEG_PE_CFLAGS"
12269 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW jpeglib.h" >&5
12270 printf %s "checking for MinGW jpeglib.h... " >&6; }
12271 if test ${ac_cv_mingw_header_jpeglib_h+y}
12272 then :
12273 printf %s "(cached) " >&6
12274 else $as_nop
12275 ac_wine_check_headers_saved_cc=$CC
12276 ac_wine_check_headers_saved_exeext=$ac_exeext
12277 eval CC=\$${wine_arch}_CC
12278 ac_exeext=".exe"
12279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12280 /* end confdefs.h. */
12281 #include <stddef.h>
12282 #include <stdio.h>
12283 #include <jpeglib.h>
12285 main (void)
12289 return 0;
12291 _ACEOF
12292 if ac_fn_c_try_compile "$LINENO"
12293 then :
12294 ac_cv_mingw_header_jpeglib_h=yes
12295 else $as_nop
12296 ac_cv_mingw_header_jpeglib_h=no
12298 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12299 CC=$ac_wine_check_headers_saved_cc
12300 ac_exeext=$ac_wine_check_headers_saved_exeext
12302 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_jpeglib_h" >&5
12303 printf "%s\n" "$ac_cv_mingw_header_jpeglib_h" >&6; }
12304 if test "x$ac_cv_mingw_header_jpeglib_h" = xyes
12305 then :
12306 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for jpeg_start_decompress in MinGW -ljpeg" >&5
12307 printf %s "checking for jpeg_start_decompress in MinGW -ljpeg... " >&6; }
12308 if test ${ac_cv_mingw_lib_jpeg+y}
12309 then :
12310 printf %s "(cached) " >&6
12311 else $as_nop
12312 ac_wine_check_headers_saved_cc=$CC
12313 ac_wine_check_headers_saved_exeext=$ac_exeext
12314 ac_wine_check_headers_saved_libs=$LIBS
12315 eval CC=\$${wine_arch}_CC
12316 ac_exeext=".exe"
12317 LIBS="-ljpeg $JPEG_PE_LIBS $LIBS"
12318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12319 /* end confdefs.h. */
12321 /* Override any GCC internal prototype to avoid an error.
12322 Use char because int might match the return type of a GCC
12323 builtin and then its argument prototype would still apply. */
12324 char jpeg_start_decompress ();
12326 main (void)
12328 return jpeg_start_decompress ();
12330 return 0;
12332 _ACEOF
12333 if ac_fn_c_try_link "$LINENO"
12334 then :
12335 ac_cv_mingw_lib_jpeg=yes
12336 else $as_nop
12337 ac_cv_mingw_lib_jpeg=no
12339 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12340 conftest$ac_exeext conftest.$ac_ext
12341 CC=$ac_wine_check_headers_saved_cc
12342 ac_exeext=$ac_wine_check_headers_saved_exeext
12343 LIBS=$ac_wine_check_headers_saved_libs
12345 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_jpeg" >&5
12346 printf "%s\n" "$ac_cv_mingw_lib_jpeg" >&6; }
12347 if test "x$ac_cv_mingw_lib_jpeg" = xyes
12348 then :
12350 else $as_nop
12351 JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
12353 else $as_nop
12354 JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
12356 CPPFLAGS=$ac_save_CPPFLAGS
12358 if test "x$JPEG_PE_LIBS" = "x"
12359 then
12360 as_fn_append wine_notices "|libjpeg ${notice_platform}MinGW development files not found; using bundled version."
12363 if ${LCMS2_PE_CFLAGS:+false} :
12364 then :
12365 if test ${MINGW_PKG_CONFIG+y}
12366 then :
12367 LCMS2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags lcms2 2>/dev/null`
12370 if ${LCMS2_PE_LIBS:+false} :
12371 then :
12372 if test ${MINGW_PKG_CONFIG+y}
12373 then :
12374 LCMS2_PE_LIBS=`$MINGW_PKG_CONFIG --libs lcms2 2>/dev/null`
12377 LCMS2_PE_LIBS=${LCMS2_PE_LIBS:-"-llcms2"}
12378 ac_save_CPPFLAGS=$CPPFLAGS
12379 CPPFLAGS="$CPPFLAGS $LCMS2_PE_CFLAGS"
12380 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW lcms2.h" >&5
12381 printf %s "checking for MinGW lcms2.h... " >&6; }
12382 if test ${ac_cv_mingw_header_lcms2_h+y}
12383 then :
12384 printf %s "(cached) " >&6
12385 else $as_nop
12386 ac_wine_check_headers_saved_cc=$CC
12387 ac_wine_check_headers_saved_exeext=$ac_exeext
12388 eval CC=\$${wine_arch}_CC
12389 ac_exeext=".exe"
12390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12391 /* end confdefs.h. */
12393 #include <lcms2.h>
12395 main (void)
12399 return 0;
12401 _ACEOF
12402 if ac_fn_c_try_compile "$LINENO"
12403 then :
12404 ac_cv_mingw_header_lcms2_h=yes
12405 else $as_nop
12406 ac_cv_mingw_header_lcms2_h=no
12408 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12409 CC=$ac_wine_check_headers_saved_cc
12410 ac_exeext=$ac_wine_check_headers_saved_exeext
12412 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_lcms2_h" >&5
12413 printf "%s\n" "$ac_cv_mingw_header_lcms2_h" >&6; }
12414 if test "x$ac_cv_mingw_header_lcms2_h" = xyes
12415 then :
12416 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in MinGW -llcms2" >&5
12417 printf %s "checking for cmsOpenProfileFromFile in MinGW -llcms2... " >&6; }
12418 if test ${ac_cv_mingw_lib_lcms2+y}
12419 then :
12420 printf %s "(cached) " >&6
12421 else $as_nop
12422 ac_wine_check_headers_saved_cc=$CC
12423 ac_wine_check_headers_saved_exeext=$ac_exeext
12424 ac_wine_check_headers_saved_libs=$LIBS
12425 eval CC=\$${wine_arch}_CC
12426 ac_exeext=".exe"
12427 LIBS="-llcms2 $LCMS2_PE_LIBS $LIBS"
12428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12429 /* end confdefs.h. */
12431 /* Override any GCC internal prototype to avoid an error.
12432 Use char because int might match the return type of a GCC
12433 builtin and then its argument prototype would still apply. */
12434 char cmsOpenProfileFromFile ();
12436 main (void)
12438 return cmsOpenProfileFromFile ();
12440 return 0;
12442 _ACEOF
12443 if ac_fn_c_try_link "$LINENO"
12444 then :
12445 ac_cv_mingw_lib_lcms2=yes
12446 else $as_nop
12447 ac_cv_mingw_lib_lcms2=no
12449 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12450 conftest$ac_exeext conftest.$ac_ext
12451 CC=$ac_wine_check_headers_saved_cc
12452 ac_exeext=$ac_wine_check_headers_saved_exeext
12453 LIBS=$ac_wine_check_headers_saved_libs
12455 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_lcms2" >&5
12456 printf "%s\n" "$ac_cv_mingw_lib_lcms2" >&6; }
12457 if test "x$ac_cv_mingw_lib_lcms2" = xyes
12458 then :
12460 else $as_nop
12461 LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
12463 else $as_nop
12464 LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
12466 CPPFLAGS=$ac_save_CPPFLAGS
12468 if test "x$LCMS2_PE_LIBS" = "x"
12469 then
12470 as_fn_append wine_notices "|liblcms2 ${notice_platform}MinGW development files not found; using bundled version."
12473 if ${MPG123_PE_CFLAGS:+false} :
12474 then :
12475 if test ${MINGW_PKG_CONFIG+y}
12476 then :
12477 MPG123_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libmpg123 2>/dev/null`
12480 if ${MPG123_PE_LIBS:+false} :
12481 then :
12482 if test ${MINGW_PKG_CONFIG+y}
12483 then :
12484 MPG123_PE_LIBS=`$MINGW_PKG_CONFIG --libs libmpg123 2>/dev/null`
12487 MPG123_PE_LIBS=${MPG123_PE_LIBS:-"-lmpg123"}
12488 ac_save_CPPFLAGS=$CPPFLAGS
12489 CPPFLAGS="$CPPFLAGS $MPG123_PE_CFLAGS"
12490 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW mpg123.h" >&5
12491 printf %s "checking for MinGW mpg123.h... " >&6; }
12492 if test ${ac_cv_mingw_header_mpg123_h+y}
12493 then :
12494 printf %s "(cached) " >&6
12495 else $as_nop
12496 ac_wine_check_headers_saved_cc=$CC
12497 ac_wine_check_headers_saved_exeext=$ac_exeext
12498 eval CC=\$${wine_arch}_CC
12499 ac_exeext=".exe"
12500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12501 /* end confdefs.h. */
12503 #include <mpg123.h>
12505 main (void)
12509 return 0;
12511 _ACEOF
12512 if ac_fn_c_try_compile "$LINENO"
12513 then :
12514 ac_cv_mingw_header_mpg123_h=yes
12515 else $as_nop
12516 ac_cv_mingw_header_mpg123_h=no
12518 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12519 CC=$ac_wine_check_headers_saved_cc
12520 ac_exeext=$ac_wine_check_headers_saved_exeext
12522 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_mpg123_h" >&5
12523 printf "%s\n" "$ac_cv_mingw_header_mpg123_h" >&6; }
12524 if test "x$ac_cv_mingw_header_mpg123_h" = xyes
12525 then :
12526 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in MinGW -lmpg123" >&5
12527 printf %s "checking for mpg123_feed in MinGW -lmpg123... " >&6; }
12528 if test ${ac_cv_mingw_lib_mpg123+y}
12529 then :
12530 printf %s "(cached) " >&6
12531 else $as_nop
12532 ac_wine_check_headers_saved_cc=$CC
12533 ac_wine_check_headers_saved_exeext=$ac_exeext
12534 ac_wine_check_headers_saved_libs=$LIBS
12535 eval CC=\$${wine_arch}_CC
12536 ac_exeext=".exe"
12537 LIBS="-lmpg123 $MPG123_PE_LIBS $LIBS"
12538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12539 /* end confdefs.h. */
12541 /* Override any GCC internal prototype to avoid an error.
12542 Use char because int might match the return type of a GCC
12543 builtin and then its argument prototype would still apply. */
12544 char mpg123_feed ();
12546 main (void)
12548 return mpg123_feed ();
12550 return 0;
12552 _ACEOF
12553 if ac_fn_c_try_link "$LINENO"
12554 then :
12555 ac_cv_mingw_lib_mpg123=yes
12556 else $as_nop
12557 ac_cv_mingw_lib_mpg123=no
12559 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12560 conftest$ac_exeext conftest.$ac_ext
12561 CC=$ac_wine_check_headers_saved_cc
12562 ac_exeext=$ac_wine_check_headers_saved_exeext
12563 LIBS=$ac_wine_check_headers_saved_libs
12565 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_mpg123" >&5
12566 printf "%s\n" "$ac_cv_mingw_lib_mpg123" >&6; }
12567 if test "x$ac_cv_mingw_lib_mpg123" = xyes
12568 then :
12570 else $as_nop
12571 MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
12573 else $as_nop
12574 MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
12576 CPPFLAGS=$ac_save_CPPFLAGS
12578 if test "x$MPG123_PE_LIBS" = "x"
12579 then
12580 as_fn_append wine_notices "|libmpg123 ${notice_platform}MinGW development files not found (or too old); using bundled version."
12583 if ${PNG_PE_CFLAGS:+false} :
12584 then :
12585 if test ${MINGW_PKG_CONFIG+y}
12586 then :
12587 PNG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libpng 2>/dev/null`
12590 if ${PNG_PE_LIBS:+false} :
12591 then :
12592 if test ${MINGW_PKG_CONFIG+y}
12593 then :
12594 PNG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libpng 2>/dev/null`
12598 ac_save_CPPFLAGS=$CPPFLAGS
12599 CPPFLAGS="$CPPFLAGS $PNG_PE_CFLAGS"
12600 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW png.h" >&5
12601 printf %s "checking for MinGW png.h... " >&6; }
12602 if test ${ac_cv_mingw_header_png_h+y}
12603 then :
12604 printf %s "(cached) " >&6
12605 else $as_nop
12606 ac_wine_check_headers_saved_cc=$CC
12607 ac_wine_check_headers_saved_exeext=$ac_exeext
12608 eval CC=\$${wine_arch}_CC
12609 ac_exeext=".exe"
12610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12611 /* end confdefs.h. */
12613 #include <png.h>
12615 main (void)
12619 return 0;
12621 _ACEOF
12622 if ac_fn_c_try_compile "$LINENO"
12623 then :
12624 ac_cv_mingw_header_png_h=yes
12625 else $as_nop
12626 ac_cv_mingw_header_png_h=no
12628 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12629 CC=$ac_wine_check_headers_saved_cc
12630 ac_exeext=$ac_wine_check_headers_saved_exeext
12632 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_png_h" >&5
12633 printf "%s\n" "$ac_cv_mingw_header_png_h" >&6; }
12634 if test "x$ac_cv_mingw_header_png_h" = xyes
12635 then :
12636 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for png_create_read_struct in MinGW -lpng" >&5
12637 printf %s "checking for png_create_read_struct in MinGW -lpng... " >&6; }
12638 if test ${ac_cv_mingw_lib_png+y}
12639 then :
12640 printf %s "(cached) " >&6
12641 else $as_nop
12642 ac_wine_check_headers_saved_cc=$CC
12643 ac_wine_check_headers_saved_exeext=$ac_exeext
12644 ac_wine_check_headers_saved_libs=$LIBS
12645 eval CC=\$${wine_arch}_CC
12646 ac_exeext=".exe"
12647 LIBS="-lpng $PNG_PE_LIBS $LIBS"
12648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12649 /* end confdefs.h. */
12651 /* Override any GCC internal prototype to avoid an error.
12652 Use char because int might match the return type of a GCC
12653 builtin and then its argument prototype would still apply. */
12654 char png_create_read_struct ();
12656 main (void)
12658 return png_create_read_struct ();
12660 return 0;
12662 _ACEOF
12663 if ac_fn_c_try_link "$LINENO"
12664 then :
12665 ac_cv_mingw_lib_png=yes
12666 else $as_nop
12667 ac_cv_mingw_lib_png=no
12669 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12670 conftest$ac_exeext conftest.$ac_ext
12671 CC=$ac_wine_check_headers_saved_cc
12672 ac_exeext=$ac_wine_check_headers_saved_exeext
12673 LIBS=$ac_wine_check_headers_saved_libs
12675 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_png" >&5
12676 printf "%s\n" "$ac_cv_mingw_lib_png" >&6; }
12677 if test "x$ac_cv_mingw_lib_png" = xyes
12678 then :
12680 else $as_nop
12681 PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
12683 else $as_nop
12684 PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
12686 CPPFLAGS=$ac_save_CPPFLAGS
12688 if test "x$PNG_PE_LIBS" = "x"
12689 then
12690 as_fn_append wine_notices "|libpng ${notice_platform}MinGW development files not found; using bundled version."
12693 if ${TIFF_PE_CFLAGS:+false} :
12694 then :
12695 if test ${MINGW_PKG_CONFIG+y}
12696 then :
12697 TIFF_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libtiff-4 2>/dev/null`
12700 if ${TIFF_PE_LIBS:+false} :
12701 then :
12702 if test ${MINGW_PKG_CONFIG+y}
12703 then :
12704 TIFF_PE_LIBS=`$MINGW_PKG_CONFIG --libs libtiff-4 2>/dev/null`
12708 ac_save_CPPFLAGS=$CPPFLAGS
12709 CPPFLAGS="$CPPFLAGS $TIFF_PE_CFLAGS"
12710 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW tiffio.h" >&5
12711 printf %s "checking for MinGW tiffio.h... " >&6; }
12712 if test ${ac_cv_mingw_header_tiffio_h+y}
12713 then :
12714 printf %s "(cached) " >&6
12715 else $as_nop
12716 ac_wine_check_headers_saved_cc=$CC
12717 ac_wine_check_headers_saved_exeext=$ac_exeext
12718 eval CC=\$${wine_arch}_CC
12719 ac_exeext=".exe"
12720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12721 /* end confdefs.h. */
12723 #include <tiffio.h>
12725 main (void)
12729 return 0;
12731 _ACEOF
12732 if ac_fn_c_try_compile "$LINENO"
12733 then :
12734 ac_cv_mingw_header_tiffio_h=yes
12735 else $as_nop
12736 ac_cv_mingw_header_tiffio_h=no
12738 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12739 CC=$ac_wine_check_headers_saved_cc
12740 ac_exeext=$ac_wine_check_headers_saved_exeext
12742 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_tiffio_h" >&5
12743 printf "%s\n" "$ac_cv_mingw_header_tiffio_h" >&6; }
12744 if test "x$ac_cv_mingw_header_tiffio_h" = xyes
12745 then :
12746 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for TIFFClientOpen in MinGW -ltiff" >&5
12747 printf %s "checking for TIFFClientOpen in MinGW -ltiff... " >&6; }
12748 if test ${ac_cv_mingw_lib_tiff+y}
12749 then :
12750 printf %s "(cached) " >&6
12751 else $as_nop
12752 ac_wine_check_headers_saved_cc=$CC
12753 ac_wine_check_headers_saved_exeext=$ac_exeext
12754 ac_wine_check_headers_saved_libs=$LIBS
12755 eval CC=\$${wine_arch}_CC
12756 ac_exeext=".exe"
12757 LIBS="-ltiff $TIFF_PE_LIBS $LIBS"
12758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12759 /* end confdefs.h. */
12761 /* Override any GCC internal prototype to avoid an error.
12762 Use char because int might match the return type of a GCC
12763 builtin and then its argument prototype would still apply. */
12764 char TIFFClientOpen ();
12766 main (void)
12768 return TIFFClientOpen ();
12770 return 0;
12772 _ACEOF
12773 if ac_fn_c_try_link "$LINENO"
12774 then :
12775 ac_cv_mingw_lib_tiff=yes
12776 else $as_nop
12777 ac_cv_mingw_lib_tiff=no
12779 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12780 conftest$ac_exeext conftest.$ac_ext
12781 CC=$ac_wine_check_headers_saved_cc
12782 ac_exeext=$ac_wine_check_headers_saved_exeext
12783 LIBS=$ac_wine_check_headers_saved_libs
12785 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_tiff" >&5
12786 printf "%s\n" "$ac_cv_mingw_lib_tiff" >&6; }
12787 if test "x$ac_cv_mingw_lib_tiff" = xyes
12788 then :
12790 else $as_nop
12791 TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
12793 else $as_nop
12794 TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
12796 CPPFLAGS=$ac_save_CPPFLAGS
12798 if test "x$TIFF_PE_LIBS" = "x"
12799 then
12800 as_fn_append wine_notices "|libtiff ${notice_platform}MinGW development files not found; using bundled version."
12803 if ${XML2_PE_CFLAGS:+false} :
12804 then :
12805 if test ${MINGW_PKG_CONFIG+y}
12806 then :
12807 XML2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
12810 if ${XML2_PE_LIBS:+false} :
12811 then :
12812 if test ${MINGW_PKG_CONFIG+y}
12813 then :
12814 XML2_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxml-2.0 2>/dev/null`
12817 XML2_PE_LIBS=${XML2_PE_LIBS:-"-lxml2"}
12818 ac_save_CPPFLAGS=$CPPFLAGS
12819 CPPFLAGS="$CPPFLAGS $XML2_PE_CFLAGS"
12820 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/parser.h" >&5
12821 printf %s "checking for MinGW libxml/parser.h... " >&6; }
12822 if test ${ac_cv_mingw_header_libxml_parser_h+y}
12823 then :
12824 printf %s "(cached) " >&6
12825 else $as_nop
12826 ac_wine_check_headers_saved_cc=$CC
12827 ac_wine_check_headers_saved_exeext=$ac_exeext
12828 eval CC=\$${wine_arch}_CC
12829 ac_exeext=".exe"
12830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12831 /* end confdefs.h. */
12833 #include <libxml/parser.h>
12835 main (void)
12839 return 0;
12841 _ACEOF
12842 if ac_fn_c_try_compile "$LINENO"
12843 then :
12844 ac_cv_mingw_header_libxml_parser_h=yes
12845 else $as_nop
12846 ac_cv_mingw_header_libxml_parser_h=no
12848 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12849 CC=$ac_wine_check_headers_saved_cc
12850 ac_exeext=$ac_wine_check_headers_saved_exeext
12852 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_parser_h" >&5
12853 printf "%s\n" "$ac_cv_mingw_header_libxml_parser_h" >&6; }
12854 if test "x$ac_cv_mingw_header_libxml_parser_h" = xyes
12855 then :
12858 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/xmlsave.h" >&5
12859 printf %s "checking for MinGW libxml/xmlsave.h... " >&6; }
12860 if test ${ac_cv_mingw_header_libxml_xmlsave_h+y}
12861 then :
12862 printf %s "(cached) " >&6
12863 else $as_nop
12864 ac_wine_check_headers_saved_cc=$CC
12865 ac_wine_check_headers_saved_exeext=$ac_exeext
12866 eval CC=\$${wine_arch}_CC
12867 ac_exeext=".exe"
12868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12869 /* end confdefs.h. */
12871 #include <libxml/xmlsave.h>
12873 main (void)
12877 return 0;
12879 _ACEOF
12880 if ac_fn_c_try_compile "$LINENO"
12881 then :
12882 ac_cv_mingw_header_libxml_xmlsave_h=yes
12883 else $as_nop
12884 ac_cv_mingw_header_libxml_xmlsave_h=no
12886 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12887 CC=$ac_wine_check_headers_saved_cc
12888 ac_exeext=$ac_wine_check_headers_saved_exeext
12890 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_xmlsave_h" >&5
12891 printf "%s\n" "$ac_cv_mingw_header_libxml_xmlsave_h" >&6; }
12892 if test "x$ac_cv_mingw_header_libxml_xmlsave_h" = xyes
12893 then :
12896 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/SAX2.h" >&5
12897 printf %s "checking for MinGW libxml/SAX2.h... " >&6; }
12898 if test ${ac_cv_mingw_header_libxml_SAX2_h+y}
12899 then :
12900 printf %s "(cached) " >&6
12901 else $as_nop
12902 ac_wine_check_headers_saved_cc=$CC
12903 ac_wine_check_headers_saved_exeext=$ac_exeext
12904 eval CC=\$${wine_arch}_CC
12905 ac_exeext=".exe"
12906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12907 /* end confdefs.h. */
12909 #include <libxml/SAX2.h>
12911 main (void)
12915 return 0;
12917 _ACEOF
12918 if ac_fn_c_try_compile "$LINENO"
12919 then :
12920 ac_cv_mingw_header_libxml_SAX2_h=yes
12921 else $as_nop
12922 ac_cv_mingw_header_libxml_SAX2_h=no
12924 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12925 CC=$ac_wine_check_headers_saved_cc
12926 ac_exeext=$ac_wine_check_headers_saved_exeext
12928 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_SAX2_h" >&5
12929 printf "%s\n" "$ac_cv_mingw_header_libxml_SAX2_h" >&6; }
12930 if test "x$ac_cv_mingw_header_libxml_SAX2_h" = xyes
12931 then :
12934 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"
12935 then
12936 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in MinGW -lxml2" >&5
12937 printf %s "checking for xmlFirstElementChild in MinGW -lxml2... " >&6; }
12938 if test ${ac_cv_mingw_lib_xml2+y}
12939 then :
12940 printf %s "(cached) " >&6
12941 else $as_nop
12942 ac_wine_check_headers_saved_cc=$CC
12943 ac_wine_check_headers_saved_exeext=$ac_exeext
12944 ac_wine_check_headers_saved_libs=$LIBS
12945 eval CC=\$${wine_arch}_CC
12946 ac_exeext=".exe"
12947 LIBS="-lxml2 $XML2_PE_LIBS $LIBS"
12948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12949 /* end confdefs.h. */
12951 /* Override any GCC internal prototype to avoid an error.
12952 Use char because int might match the return type of a GCC
12953 builtin and then its argument prototype would still apply. */
12954 char xmlFirstElementChild ();
12956 main (void)
12958 return xmlFirstElementChild ();
12960 return 0;
12962 _ACEOF
12963 if ac_fn_c_try_link "$LINENO"
12964 then :
12965 ac_cv_mingw_lib_xml2=yes
12966 else $as_nop
12967 ac_cv_mingw_lib_xml2=no
12969 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12970 conftest$ac_exeext conftest.$ac_ext
12971 CC=$ac_wine_check_headers_saved_cc
12972 ac_exeext=$ac_wine_check_headers_saved_exeext
12973 LIBS=$ac_wine_check_headers_saved_libs
12975 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xml2" >&5
12976 printf "%s\n" "$ac_cv_mingw_lib_xml2" >&6; }
12977 if test "x$ac_cv_mingw_lib_xml2" = xyes
12978 then :
12980 else $as_nop
12981 XML2_PE_CFLAGS=""; XML2_PE_LIBS=""
12983 else
12984 XML2_PE_CFLAGS=""
12985 XML2_PE_LIBS=""
12987 CPPFLAGS=$ac_save_CPPFLAGS
12989 if test "x$XML2_PE_LIBS" = "x"
12990 then
12991 as_fn_append wine_notices "|libxml2 ${notice_platform}MinGW development files not found (or too old); using bundled version."
12994 if ${XSLT_PE_CFLAGS:+false} :
12995 then :
12996 if test ${MINGW_PKG_CONFIG+y}
12997 then :
12998 XSLT_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxslt 2>/dev/null`
13001 if ${XSLT_PE_LIBS:+false} :
13002 then :
13003 if test ${MINGW_PKG_CONFIG+y}
13004 then :
13005 XSLT_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxslt 2>/dev/null`
13008 XSLT_PE_LIBS=${XSLT_PE_LIBS:-"-lxslt"}
13009 ac_save_CPPFLAGS=$CPPFLAGS
13010 CPPFLAGS="$CPPFLAGS $XSLT_PE_CFLAGS"
13011 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/pattern.h" >&5
13012 printf %s "checking for MinGW libxslt/pattern.h... " >&6; }
13013 if test ${ac_cv_mingw_header_libxslt_pattern_h+y}
13014 then :
13015 printf %s "(cached) " >&6
13016 else $as_nop
13017 ac_wine_check_headers_saved_cc=$CC
13018 ac_wine_check_headers_saved_exeext=$ac_exeext
13019 eval CC=\$${wine_arch}_CC
13020 ac_exeext=".exe"
13021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13022 /* end confdefs.h. */
13024 #include <libxslt/pattern.h>
13026 main (void)
13030 return 0;
13032 _ACEOF
13033 if ac_fn_c_try_compile "$LINENO"
13034 then :
13035 ac_cv_mingw_header_libxslt_pattern_h=yes
13036 else $as_nop
13037 ac_cv_mingw_header_libxslt_pattern_h=no
13039 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13040 CC=$ac_wine_check_headers_saved_cc
13041 ac_exeext=$ac_wine_check_headers_saved_exeext
13043 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_pattern_h" >&5
13044 printf "%s\n" "$ac_cv_mingw_header_libxslt_pattern_h" >&6; }
13045 if test "x$ac_cv_mingw_header_libxslt_pattern_h" = xyes
13046 then :
13049 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/transform.h" >&5
13050 printf %s "checking for MinGW libxslt/transform.h... " >&6; }
13051 if test ${ac_cv_mingw_header_libxslt_transform_h+y}
13052 then :
13053 printf %s "(cached) " >&6
13054 else $as_nop
13055 ac_wine_check_headers_saved_cc=$CC
13056 ac_wine_check_headers_saved_exeext=$ac_exeext
13057 eval CC=\$${wine_arch}_CC
13058 ac_exeext=".exe"
13059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13060 /* end confdefs.h. */
13062 #include <libxslt/transform.h>
13064 main (void)
13068 return 0;
13070 _ACEOF
13071 if ac_fn_c_try_compile "$LINENO"
13072 then :
13073 ac_cv_mingw_header_libxslt_transform_h=yes
13074 else $as_nop
13075 ac_cv_mingw_header_libxslt_transform_h=no
13077 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13078 CC=$ac_wine_check_headers_saved_cc
13079 ac_exeext=$ac_wine_check_headers_saved_exeext
13081 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_transform_h" >&5
13082 printf "%s\n" "$ac_cv_mingw_header_libxslt_transform_h" >&6; }
13083 if test "x$ac_cv_mingw_header_libxslt_transform_h" = xyes
13084 then :
13087 if test "$ac_cv_mingw_header_libxslt_pattern_h" = "yes" -a "$ac_cv_mingw_header_libxslt_transform_h" = "yes"
13088 then
13089 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xsltCompilePattern in MinGW -lxslt" >&5
13090 printf %s "checking for xsltCompilePattern in MinGW -lxslt... " >&6; }
13091 if test ${ac_cv_mingw_lib_xslt+y}
13092 then :
13093 printf %s "(cached) " >&6
13094 else $as_nop
13095 ac_wine_check_headers_saved_cc=$CC
13096 ac_wine_check_headers_saved_exeext=$ac_exeext
13097 ac_wine_check_headers_saved_libs=$LIBS
13098 eval CC=\$${wine_arch}_CC
13099 ac_exeext=".exe"
13100 LIBS="-lxslt $XSLT_PE_LIBS $LIBS"
13101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13102 /* end confdefs.h. */
13104 /* Override any GCC internal prototype to avoid an error.
13105 Use char because int might match the return type of a GCC
13106 builtin and then its argument prototype would still apply. */
13107 char xsltCompilePattern ();
13109 main (void)
13111 return xsltCompilePattern ();
13113 return 0;
13115 _ACEOF
13116 if ac_fn_c_try_link "$LINENO"
13117 then :
13118 ac_cv_mingw_lib_xslt=yes
13119 else $as_nop
13120 ac_cv_mingw_lib_xslt=no
13122 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13123 conftest$ac_exeext conftest.$ac_ext
13124 CC=$ac_wine_check_headers_saved_cc
13125 ac_exeext=$ac_wine_check_headers_saved_exeext
13126 LIBS=$ac_wine_check_headers_saved_libs
13128 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xslt" >&5
13129 printf "%s\n" "$ac_cv_mingw_lib_xslt" >&6; }
13130 if test "x$ac_cv_mingw_lib_xslt" = xyes
13131 then :
13133 else $as_nop
13134 XSLT_PE_CFLAGS=""; XSLT_PE_LIBS=""
13136 else
13137 XSLT_PE_CFLAGS=""
13138 XSLT_PE_LIBS=""
13140 CPPFLAGS=$ac_save_CPPFLAGS
13142 if test "x$XSLT_PE_LIBS" = "x"
13143 then
13144 as_fn_append wine_notices "|libxslt ${notice_platform}MinGW development files not found; using bundled version."
13147 if ${VKD3D_PE_CFLAGS:+false} :
13148 then :
13149 if test ${MINGW_PKG_CONFIG+y}
13150 then :
13151 VKD3D_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libvkd3d libvkd3d-shader 2>/dev/null`
13154 if ${VKD3D_PE_LIBS:+false} :
13155 then :
13156 if test ${MINGW_PKG_CONFIG+y}
13157 then :
13158 VKD3D_PE_LIBS=`$MINGW_PKG_CONFIG --libs libvkd3d libvkd3d-shader 2>/dev/null`
13161 VKD3D_PE_LIBS=${VKD3D_PE_LIBS:-"-lvkd3d -lvkd3d-shader"}
13162 ac_save_CPPFLAGS=$CPPFLAGS
13163 CPPFLAGS="$CPPFLAGS $VKD3D_PE_CFLAGS"
13164 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW vkd3d.h" >&5
13165 printf %s "checking for MinGW vkd3d.h... " >&6; }
13166 if test ${ac_cv_mingw_header_vkd3d_h+y}
13167 then :
13168 printf %s "(cached) " >&6
13169 else $as_nop
13170 ac_wine_check_headers_saved_cc=$CC
13171 ac_wine_check_headers_saved_exeext=$ac_exeext
13172 eval CC=\$${wine_arch}_CC
13173 ac_exeext=".exe"
13174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13175 /* end confdefs.h. */
13177 #include <vkd3d.h>
13179 main (void)
13183 return 0;
13185 _ACEOF
13186 if ac_fn_c_try_compile "$LINENO"
13187 then :
13188 ac_cv_mingw_header_vkd3d_h=yes
13189 else $as_nop
13190 ac_cv_mingw_header_vkd3d_h=no
13192 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13193 CC=$ac_wine_check_headers_saved_cc
13194 ac_exeext=$ac_wine_check_headers_saved_exeext
13196 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_vkd3d_h" >&5
13197 printf "%s\n" "$ac_cv_mingw_header_vkd3d_h" >&6; }
13198 if test "x$ac_cv_mingw_header_vkd3d_h" = xyes
13199 then :
13202 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW vkd3d_shader.h" >&5
13203 printf %s "checking for MinGW vkd3d_shader.h... " >&6; }
13204 if test ${ac_cv_mingw_header_vkd3d_shader_h+y}
13205 then :
13206 printf %s "(cached) " >&6
13207 else $as_nop
13208 ac_wine_check_headers_saved_cc=$CC
13209 ac_wine_check_headers_saved_exeext=$ac_exeext
13210 eval CC=\$${wine_arch}_CC
13211 ac_exeext=".exe"
13212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13213 /* end confdefs.h. */
13215 #include <vkd3d_shader.h>
13217 main (void)
13221 return 0;
13223 _ACEOF
13224 if ac_fn_c_try_compile "$LINENO"
13225 then :
13226 ac_cv_mingw_header_vkd3d_shader_h=yes
13227 else $as_nop
13228 ac_cv_mingw_header_vkd3d_shader_h=no
13230 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13231 CC=$ac_wine_check_headers_saved_cc
13232 ac_exeext=$ac_wine_check_headers_saved_exeext
13234 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_vkd3d_shader_h" >&5
13235 printf "%s\n" "$ac_cv_mingw_header_vkd3d_shader_h" >&6; }
13236 if test "x$ac_cv_mingw_header_vkd3d_shader_h" = xyes
13237 then :
13240 if test "$ac_cv_mingw_header_vkd3d_h" = "yes" -a "$ac_cv_mingw_header_vkd3d_shader_h" = "yes"
13241 then
13242 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for vkd3d_set_log_callback in MinGW -lvkd3d" >&5
13243 printf %s "checking for vkd3d_set_log_callback in MinGW -lvkd3d... " >&6; }
13244 if test ${ac_cv_mingw_lib_vkd3d+y}
13245 then :
13246 printf %s "(cached) " >&6
13247 else $as_nop
13248 ac_wine_check_headers_saved_cc=$CC
13249 ac_wine_check_headers_saved_exeext=$ac_exeext
13250 ac_wine_check_headers_saved_libs=$LIBS
13251 eval CC=\$${wine_arch}_CC
13252 ac_exeext=".exe"
13253 LIBS="-lvkd3d $VKD3D_PE_LIBS $LIBS"
13254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13255 /* end confdefs.h. */
13257 /* Override any GCC internal prototype to avoid an error.
13258 Use char because int might match the return type of a GCC
13259 builtin and then its argument prototype would still apply. */
13260 char vkd3d_set_log_callback ();
13262 main (void)
13264 return vkd3d_set_log_callback ();
13266 return 0;
13268 _ACEOF
13269 if ac_fn_c_try_link "$LINENO"
13270 then :
13271 ac_cv_mingw_lib_vkd3d=yes
13272 else $as_nop
13273 ac_cv_mingw_lib_vkd3d=no
13275 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13276 conftest$ac_exeext conftest.$ac_ext
13277 CC=$ac_wine_check_headers_saved_cc
13278 ac_exeext=$ac_wine_check_headers_saved_exeext
13279 LIBS=$ac_wine_check_headers_saved_libs
13281 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_vkd3d" >&5
13282 printf "%s\n" "$ac_cv_mingw_lib_vkd3d" >&6; }
13283 if test "x$ac_cv_mingw_lib_vkd3d" = xyes
13284 then :
13286 else $as_nop
13289 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for vkd3d_shader_build_varying_map in MinGW -lvkd3d-shader" >&5
13290 printf %s "checking for vkd3d_shader_build_varying_map in MinGW -lvkd3d-shader... " >&6; }
13291 if test ${ac_cv_mingw_lib_vkd3d_shader+y}
13292 then :
13293 printf %s "(cached) " >&6
13294 else $as_nop
13295 ac_wine_check_headers_saved_cc=$CC
13296 ac_wine_check_headers_saved_exeext=$ac_exeext
13297 ac_wine_check_headers_saved_libs=$LIBS
13298 eval CC=\$${wine_arch}_CC
13299 ac_exeext=".exe"
13300 LIBS="-lvkd3d-shader $VKD3D_PE_LIBS $LIBS"
13301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13302 /* end confdefs.h. */
13304 /* Override any GCC internal prototype to avoid an error.
13305 Use char because int might match the return type of a GCC
13306 builtin and then its argument prototype would still apply. */
13307 char vkd3d_shader_build_varying_map ();
13309 main (void)
13311 return vkd3d_shader_build_varying_map ();
13313 return 0;
13315 _ACEOF
13316 if ac_fn_c_try_link "$LINENO"
13317 then :
13318 ac_cv_mingw_lib_vkd3d_shader=yes
13319 else $as_nop
13320 ac_cv_mingw_lib_vkd3d_shader=no
13322 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13323 conftest$ac_exeext conftest.$ac_ext
13324 CC=$ac_wine_check_headers_saved_cc
13325 ac_exeext=$ac_wine_check_headers_saved_exeext
13326 LIBS=$ac_wine_check_headers_saved_libs
13328 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_vkd3d_shader" >&5
13329 printf "%s\n" "$ac_cv_mingw_lib_vkd3d_shader" >&6; }
13330 if test "x$ac_cv_mingw_lib_vkd3d_shader" = xyes
13331 then :
13333 else $as_nop
13336 if test "$ac_cv_mingw_lib_vkd3d" = "no" -o "$ac_cv_mingw_lib_vkd3d_shader" = "no"
13337 then
13338 VKD3D_PE_CFLAGS=""
13339 VKD3D_PE_LIBS=""
13341 else
13342 VKD3D_PE_CFLAGS=""
13343 VKD3D_PE_LIBS=""
13345 CPPFLAGS=$ac_save_CPPFLAGS
13347 if test "x$VKD3D_PE_LIBS" = "x"
13348 then
13349 as_fn_append wine_notices "|libvkd3d ${notice_platform}MinGW development files not found (or too old); using bundled version."
13352 if ${ZLIB_PE_CFLAGS:+false} :
13353 then :
13354 if test ${MINGW_PKG_CONFIG+y}
13355 then :
13356 ZLIB_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags zlib 2>/dev/null`
13359 if ${ZLIB_PE_LIBS:+false} :
13360 then :
13361 if test ${MINGW_PKG_CONFIG+y}
13362 then :
13363 ZLIB_PE_LIBS=`$MINGW_PKG_CONFIG --libs zlib 2>/dev/null`
13366 ZLIB_PE_LIBS=${ZLIB_PE_LIBS:-"-lz"}
13367 ac_save_CPPFLAGS=$CPPFLAGS
13368 CPPFLAGS="$CPPFLAGS $ZLIB_PE_CFLAGS"
13369 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW zlib.h" >&5
13370 printf %s "checking for MinGW zlib.h... " >&6; }
13371 if test ${ac_cv_mingw_header_zlib_h+y}
13372 then :
13373 printf %s "(cached) " >&6
13374 else $as_nop
13375 ac_wine_check_headers_saved_cc=$CC
13376 ac_wine_check_headers_saved_exeext=$ac_exeext
13377 eval CC=\$${wine_arch}_CC
13378 ac_exeext=".exe"
13379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13380 /* end confdefs.h. */
13382 #include <zlib.h>
13384 main (void)
13388 return 0;
13390 _ACEOF
13391 if ac_fn_c_try_compile "$LINENO"
13392 then :
13393 ac_cv_mingw_header_zlib_h=yes
13394 else $as_nop
13395 ac_cv_mingw_header_zlib_h=no
13397 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13398 CC=$ac_wine_check_headers_saved_cc
13399 ac_exeext=$ac_wine_check_headers_saved_exeext
13401 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_zlib_h" >&5
13402 printf "%s\n" "$ac_cv_mingw_header_zlib_h" >&6; }
13403 if test "x$ac_cv_mingw_header_zlib_h" = xyes
13404 then :
13405 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inflate in MinGW -lz" >&5
13406 printf %s "checking for inflate in MinGW -lz... " >&6; }
13407 if test ${ac_cv_mingw_lib_z+y}
13408 then :
13409 printf %s "(cached) " >&6
13410 else $as_nop
13411 ac_wine_check_headers_saved_cc=$CC
13412 ac_wine_check_headers_saved_exeext=$ac_exeext
13413 ac_wine_check_headers_saved_libs=$LIBS
13414 eval CC=\$${wine_arch}_CC
13415 ac_exeext=".exe"
13416 LIBS="-lz $ZLIB_PE_LIBS $LIBS"
13417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13418 /* end confdefs.h. */
13420 /* Override any GCC internal prototype to avoid an error.
13421 Use char because int might match the return type of a GCC
13422 builtin and then its argument prototype would still apply. */
13423 char inflate ();
13425 main (void)
13427 return inflate ();
13429 return 0;
13431 _ACEOF
13432 if ac_fn_c_try_link "$LINENO"
13433 then :
13434 ac_cv_mingw_lib_z=yes
13435 else $as_nop
13436 ac_cv_mingw_lib_z=no
13438 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13439 conftest$ac_exeext conftest.$ac_ext
13440 CC=$ac_wine_check_headers_saved_cc
13441 ac_exeext=$ac_wine_check_headers_saved_exeext
13442 LIBS=$ac_wine_check_headers_saved_libs
13444 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_z" >&5
13445 printf "%s\n" "$ac_cv_mingw_lib_z" >&6; }
13446 if test "x$ac_cv_mingw_lib_z" = xyes
13447 then :
13449 else $as_nop
13450 ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
13452 else $as_nop
13453 ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
13455 CPPFLAGS=$ac_save_CPPFLAGS
13457 if test "x$ZLIB_PE_LIBS" = "x"
13458 then
13459 as_fn_append wine_notices "|zlib ${notice_platform}MinGW development files not found; using bundled version."
13463 if ${FAUDIO_PE_LIBS:+false} :
13464 then :
13465 FAUDIO_PE_LIBS="faudio mfplat mfreadwrite mfuuid propsys"
13466 if ${FAUDIO_PE_CFLAGS:+false} :
13467 then :
13468 FAUDIO_PE_CFLAGS="-I\$(top_srcdir)/libs/faudio/include"
13469 else $as_nop
13470 enable_faudio=no
13472 else $as_nop
13473 enable_faudio=no
13475 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio cflags: $FAUDIO_PE_CFLAGS" >&5
13476 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio libs: $FAUDIO_PE_LIBS" >&5
13478 if ${FLUIDSYNTH_PE_LIBS:+false} :
13479 then :
13480 FLUIDSYNTH_PE_LIBS="fluidsynth"
13481 if ${FLUIDSYNTH_PE_CFLAGS:+false} :
13482 then :
13483 FLUIDSYNTH_PE_CFLAGS="-I\$(top_srcdir)/libs/fluidsynth/include"
13484 else $as_nop
13485 enable_fluidsynth=no
13487 else $as_nop
13488 enable_fluidsynth=no
13490 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fluidsynth cflags: $FLUIDSYNTH_PE_CFLAGS" >&5
13491 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fluidsynth libs: $FLUIDSYNTH_PE_LIBS" >&5
13493 if ${GSM_PE_LIBS:+false} :
13494 then :
13495 GSM_PE_LIBS=gsm
13496 if ${GSM_PE_CFLAGS:+false} :
13497 then :
13498 GSM_PE_CFLAGS="-I\$(top_srcdir)/libs/gsm/inc"
13499 else $as_nop
13500 enable_gsm=no
13502 else $as_nop
13503 enable_gsm=no
13505 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm cflags: $GSM_PE_CFLAGS" >&5
13506 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm libs: $GSM_PE_LIBS" >&5
13508 if ${JPEG_PE_LIBS:+false} :
13509 then :
13510 JPEG_PE_LIBS=jpeg
13511 if ${JPEG_PE_CFLAGS:+false} :
13512 then :
13513 JPEG_PE_CFLAGS="-I\$(top_srcdir)/libs/jpeg"
13514 else $as_nop
13515 enable_jpeg=no
13517 else $as_nop
13518 enable_jpeg=no
13520 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg cflags: $JPEG_PE_CFLAGS" >&5
13521 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg libs: $JPEG_PE_LIBS" >&5
13523 if ${JXR_PE_LIBS:+false} :
13524 then :
13525 JXR_PE_LIBS=jxr
13526 if ${JXR_PE_CFLAGS:+false} :
13527 then :
13528 JXR_PE_CFLAGS="-I\$(top_srcdir)/libs/jxr/jxrgluelib -I\$(top_srcdir)/libs/jxr/image/sys"
13529 else $as_nop
13530 enable_jxr=no
13532 else $as_nop
13533 enable_jxr=no
13535 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr cflags: $JXR_PE_CFLAGS" >&5
13536 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr libs: $JXR_PE_LIBS" >&5
13538 if ${LCMS2_PE_LIBS:+false} :
13539 then :
13540 LCMS2_PE_LIBS=lcms2
13541 if ${LCMS2_PE_CFLAGS:+false} :
13542 then :
13543 LCMS2_PE_CFLAGS="-I\$(top_srcdir)/libs/lcms2/include"
13544 else $as_nop
13545 enable_lcms2=no
13547 else $as_nop
13548 enable_lcms2=no
13550 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_PE_CFLAGS" >&5
13551 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_PE_LIBS" >&5
13553 if ${LDAP_PE_LIBS:+false} :
13554 then :
13555 LDAP_PE_LIBS=ldap
13556 if ${LDAP_PE_CFLAGS:+false} :
13557 then :
13558 LDAP_PE_CFLAGS="-I\$(top_srcdir)/libs/ldap/include"
13559 else $as_nop
13560 enable_ldap=no
13562 else $as_nop
13563 enable_ldap=no
13565 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ldap cflags: $LDAP_PE_CFLAGS" >&5
13566 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ldap libs: $LDAP_PE_LIBS" >&5
13568 if ${MPG123_PE_LIBS:+false} :
13569 then :
13570 MPG123_PE_LIBS=mpg123
13571 if ${MPG123_PE_CFLAGS:+false} :
13572 then :
13573 MPG123_PE_CFLAGS="-I\$(top_srcdir)/libs/mpg123/src/libmpg123"
13574 else $as_nop
13575 enable_mpg123=no
13577 else $as_nop
13578 enable_mpg123=no
13580 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 cflags: $MPG123_PE_CFLAGS" >&5
13581 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 libs: $MPG123_PE_LIBS" >&5
13583 if ${MUSL_PE_LIBS:+false} :
13584 then :
13585 MUSL_PE_LIBS=musl
13586 if ${MUSL_PE_CFLAGS:+false} :
13587 then :
13588 MUSL_PE_CFLAGS=
13589 else $as_nop
13590 enable_musl=no
13592 else $as_nop
13593 enable_musl=no
13595 printf "%s\n" "$as_me:${as_lineno-$LINENO}: musl cflags: $MUSL_PE_CFLAGS" >&5
13596 printf "%s\n" "$as_me:${as_lineno-$LINENO}: musl libs: $MUSL_PE_LIBS" >&5
13598 if ${PNG_PE_LIBS:+false} :
13599 then :
13600 PNG_PE_LIBS="png \$(ZLIB_PE_LIBS)"
13601 if ${PNG_PE_CFLAGS:+false} :
13602 then :
13603 PNG_PE_CFLAGS="-I\$(top_srcdir)/libs/png"
13604 else $as_nop
13605 enable_png=no
13607 else $as_nop
13608 enable_png=no
13610 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png cflags: $PNG_PE_CFLAGS" >&5
13611 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png libs: $PNG_PE_LIBS" >&5
13613 if ${TIFF_PE_LIBS:+false} :
13614 then :
13615 TIFF_PE_LIBS="tiff \$(ZLIB_PE_LIBS)"
13616 if ${TIFF_PE_CFLAGS:+false} :
13617 then :
13618 TIFF_PE_CFLAGS="-I\$(top_srcdir)/libs/tiff/libtiff"
13619 else $as_nop
13620 enable_tiff=no
13622 else $as_nop
13623 enable_tiff=no
13625 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff cflags: $TIFF_PE_CFLAGS" >&5
13626 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff libs: $TIFF_PE_LIBS" >&5
13628 if ${VKD3D_PE_LIBS:+false} :
13629 then :
13630 VKD3D_PE_LIBS=vkd3d
13631 if ${VKD3D_PE_CFLAGS:+false} :
13632 then :
13633 VKD3D_PE_CFLAGS="-I\$(top_srcdir)/libs/vkd3d/include"
13634 else $as_nop
13635 enable_vkd3d=no
13637 else $as_nop
13638 enable_vkd3d=no
13640 printf "%s\n" "$as_me:${as_lineno-$LINENO}: vkd3d cflags: $VKD3D_PE_CFLAGS" >&5
13641 printf "%s\n" "$as_me:${as_lineno-$LINENO}: vkd3d libs: $VKD3D_PE_LIBS" >&5
13643 if ${XML2_PE_LIBS:+false} :
13644 then :
13645 XML2_PE_LIBS=xml2
13646 if ${XML2_PE_CFLAGS:+false} :
13647 then :
13648 XML2_PE_CFLAGS="-I\$(top_srcdir)/libs/xml2/include -DLIBXML_STATIC"
13649 else $as_nop
13650 enable_xml2=no
13652 else $as_nop
13653 enable_xml2=no
13655 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 cflags: $XML2_PE_CFLAGS" >&5
13656 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 libs: $XML2_PE_LIBS" >&5
13658 if ${XSLT_PE_LIBS:+false} :
13659 then :
13660 XSLT_PE_LIBS=xslt
13661 if ${XSLT_PE_CFLAGS:+false} :
13662 then :
13663 XSLT_PE_CFLAGS="-I\$(top_srcdir)/libs/xslt/libxslt -I\$(top_srcdir)/libs/xslt -DLIBXSLT_STATIC"
13664 else $as_nop
13665 enable_xslt=no
13667 else $as_nop
13668 enable_xslt=no
13670 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt cflags: $XSLT_PE_CFLAGS" >&5
13671 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt libs: $XSLT_PE_LIBS" >&5
13673 if ${ZLIB_PE_LIBS:+false} :
13674 then :
13675 ZLIB_PE_LIBS=z
13676 if ${ZLIB_PE_CFLAGS:+false} :
13677 then :
13678 ZLIB_PE_CFLAGS="-I\$(top_srcdir)/libs/zlib -DFAR= -DZ_SOLO"
13679 else $as_nop
13680 enable_zlib=no
13682 else $as_nop
13683 enable_zlib=no
13685 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib cflags: $ZLIB_PE_CFLAGS" >&5
13686 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib libs: $ZLIB_PE_LIBS" >&5
13688 if ${ZYDIS_PE_LIBS:+false} :
13689 then :
13690 ZYDIS_PE_LIBS=zydis
13691 if ${ZYDIS_PE_CFLAGS:+false} :
13692 then :
13693 ZYDIS_PE_CFLAGS="-I\$(top_srcdir)/libs/zydis/include"
13694 else $as_nop
13695 enable_zydis=no
13697 else $as_nop
13698 enable_zydis=no
13700 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zydis cflags: $ZYDIS_PE_CFLAGS" >&5
13701 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zydis libs: $ZYDIS_PE_LIBS" >&5
13705 if test "x$with_pthread" = xno
13706 then :
13708 else $as_nop
13709 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
13710 if test "x$ac_cv_func_pthread_create" = xyes
13711 then :
13713 else $as_nop
13714 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
13715 printf %s "checking for pthread_create in -lpthread... " >&6; }
13716 if test ${ac_cv_lib_pthread_pthread_create+y}
13717 then :
13718 printf %s "(cached) " >&6
13719 else $as_nop
13720 ac_check_lib_save_LIBS=$LIBS
13721 LIBS="-lpthread $LIBS"
13722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13723 /* end confdefs.h. */
13725 /* Override any GCC internal prototype to avoid an error.
13726 Use char because int might match the return type of a GCC
13727 builtin and then its argument prototype would still apply. */
13728 char pthread_create ();
13730 main (void)
13732 return pthread_create ();
13734 return 0;
13736 _ACEOF
13737 if ac_fn_c_try_link "$LINENO"
13738 then :
13739 ac_cv_lib_pthread_pthread_create=yes
13740 else $as_nop
13741 ac_cv_lib_pthread_pthread_create=no
13743 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13744 conftest$ac_exeext conftest.$ac_ext
13745 LIBS=$ac_check_lib_save_LIBS
13747 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
13748 printf "%s\n" "$ac_cv_lib_pthread_pthread_create" >&6; }
13749 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
13750 then :
13751 PTHREAD_LIBS="-lpthread"
13758 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x
13759 then :
13760 case "x$with_pthread" in
13761 xno) ;;
13762 *) as_fn_error $? "pthread ${notice_platform}development files not found.
13763 Wine cannot support threads without libpthread.
13764 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
13765 esac
13770 ac_ext=c
13771 ac_cpp='$CPP $CPPFLAGS'
13772 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13773 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13774 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13775 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
13776 printf %s "checking how to run the C preprocessor... " >&6; }
13777 # On Suns, sometimes $CPP names a directory.
13778 if test -n "$CPP" && test -d "$CPP"; then
13779 CPP=
13781 if test -z "$CPP"; then
13782 if test ${ac_cv_prog_CPP+y}
13783 then :
13784 printf %s "(cached) " >&6
13785 else $as_nop
13786 # Double quotes because $CC needs to be expanded
13787 for CPP in "$CC -E" "$CC -E -traditional-cpp" cpp /lib/cpp
13789 ac_preproc_ok=false
13790 for ac_c_preproc_warn_flag in '' yes
13792 # Use a header file that comes with gcc, so configuring glibc
13793 # with a fresh cross-compiler works.
13794 # On the NeXT, cc -E runs the code through the compiler's parser,
13795 # not just through cpp. "Syntax error" is here to catch this case.
13796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13797 /* end confdefs.h. */
13798 #include <limits.h>
13799 Syntax error
13800 _ACEOF
13801 if ac_fn_c_try_cpp "$LINENO"
13802 then :
13804 else $as_nop
13805 # Broken: fails on valid input.
13806 continue
13808 rm -f conftest.err conftest.i conftest.$ac_ext
13810 # OK, works on sane cases. Now check whether nonexistent headers
13811 # can be detected and how.
13812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13813 /* end confdefs.h. */
13814 #include <ac_nonexistent.h>
13815 _ACEOF
13816 if ac_fn_c_try_cpp "$LINENO"
13817 then :
13818 # Broken: success on invalid input.
13819 continue
13820 else $as_nop
13821 # Passes both tests.
13822 ac_preproc_ok=:
13823 break
13825 rm -f conftest.err conftest.i conftest.$ac_ext
13827 done
13828 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13829 rm -f conftest.i conftest.err conftest.$ac_ext
13830 if $ac_preproc_ok
13831 then :
13832 break
13835 done
13836 ac_cv_prog_CPP=$CPP
13839 CPP=$ac_cv_prog_CPP
13840 else
13841 ac_cv_prog_CPP=$CPP
13843 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
13844 printf "%s\n" "$CPP" >&6; }
13845 ac_preproc_ok=false
13846 for ac_c_preproc_warn_flag in '' yes
13848 # Use a header file that comes with gcc, so configuring glibc
13849 # with a fresh cross-compiler works.
13850 # On the NeXT, cc -E runs the code through the compiler's parser,
13851 # not just through cpp. "Syntax error" is here to catch this case.
13852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13853 /* end confdefs.h. */
13854 #include <limits.h>
13855 Syntax error
13856 _ACEOF
13857 if ac_fn_c_try_cpp "$LINENO"
13858 then :
13860 else $as_nop
13861 # Broken: fails on valid input.
13862 continue
13864 rm -f conftest.err conftest.i conftest.$ac_ext
13866 # OK, works on sane cases. Now check whether nonexistent headers
13867 # can be detected and how.
13868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13869 /* end confdefs.h. */
13870 #include <ac_nonexistent.h>
13871 _ACEOF
13872 if ac_fn_c_try_cpp "$LINENO"
13873 then :
13874 # Broken: success on invalid input.
13875 continue
13876 else $as_nop
13877 # Passes both tests.
13878 ac_preproc_ok=:
13879 break
13881 rm -f conftest.err conftest.i conftest.$ac_ext
13883 done
13884 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13885 rm -f conftest.i conftest.err conftest.$ac_ext
13886 if $ac_preproc_ok
13887 then :
13889 else $as_nop
13890 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13891 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
13892 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
13893 See \`config.log' for more details" "$LINENO" 5; }
13896 ac_ext=c
13897 ac_cpp='$CPP $CPPFLAGS'
13898 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13899 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13900 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13903 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for X" >&5
13904 printf %s "checking for X... " >&6; }
13907 # Check whether --with-x was given.
13908 if test ${with_x+y}
13909 then :
13910 withval=$with_x;
13913 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
13914 if test "x$with_x" = xno; then
13915 # The user explicitly disabled X.
13916 have_x=disabled
13917 else
13918 case $x_includes,$x_libraries in #(
13919 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
13920 *,NONE | NONE,*) if test ${ac_cv_have_x+y}
13921 then :
13922 printf %s "(cached) " >&6
13923 else $as_nop
13924 # One or both of the vars are not set, and there is no cached value.
13925 ac_x_includes=no
13926 ac_x_libraries=no
13927 # Do we need to do anything special at all?
13928 ac_save_LIBS=$LIBS
13929 LIBS="-lX11 $LIBS"
13930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13931 /* end confdefs.h. */
13932 #include <X11/Xlib.h>
13934 main (void)
13936 XrmInitialize ()
13938 return 0;
13940 _ACEOF
13941 if ac_fn_c_try_link "$LINENO"
13942 then :
13943 # We can compile and link X programs with no special options.
13944 ac_x_includes=
13945 ac_x_libraries=
13947 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13948 conftest$ac_exeext conftest.$ac_ext
13949 LIBS="$ac_save_LIBS"
13950 # If that didn't work, only try xmkmf and file system searches
13951 # for native compilation.
13952 if test x"$ac_x_includes" = xno && test "$cross_compiling" = no
13953 then :
13954 rm -f -r conftest.dir
13955 if mkdir conftest.dir; then
13956 cd conftest.dir
13957 cat >Imakefile <<'_ACEOF'
13958 incroot:
13959 @echo incroot='${INCROOT}'
13960 usrlibdir:
13961 @echo usrlibdir='${USRLIBDIR}'
13962 libdir:
13963 @echo libdir='${LIBDIR}'
13964 _ACEOF
13965 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
13966 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
13967 for ac_var in incroot usrlibdir libdir; do
13968 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
13969 done
13970 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
13971 for ac_extension in a so sl dylib la dll; do
13972 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
13973 test -f "$ac_im_libdir/libX11.$ac_extension"; then
13974 ac_im_usrlibdir=$ac_im_libdir; break
13976 done
13977 # Screen out bogus values from the imake configuration. They are
13978 # bogus both because they are the default anyway, and because
13979 # using them would break gcc on systems where it needs fixed includes.
13980 case $ac_im_incroot in
13981 /usr/include) ac_x_includes= ;;
13982 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
13983 esac
13984 case $ac_im_usrlibdir in
13985 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
13986 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
13987 esac
13989 cd ..
13990 rm -f -r conftest.dir
13993 # Standard set of common directories for X headers.
13994 # Check X11 before X11Rn because it is often a symlink to the current release.
13995 ac_x_header_dirs='
13996 /usr/X11/include
13997 /usr/X11R7/include
13998 /usr/X11R6/include
13999 /usr/X11R5/include
14000 /usr/X11R4/include
14002 /usr/include/X11
14003 /usr/include/X11R7
14004 /usr/include/X11R6
14005 /usr/include/X11R5
14006 /usr/include/X11R4
14008 /usr/local/X11/include
14009 /usr/local/X11R7/include
14010 /usr/local/X11R6/include
14011 /usr/local/X11R5/include
14012 /usr/local/X11R4/include
14014 /usr/local/include/X11
14015 /usr/local/include/X11R7
14016 /usr/local/include/X11R6
14017 /usr/local/include/X11R5
14018 /usr/local/include/X11R4
14020 /opt/X11/include
14022 /usr/X386/include
14023 /usr/x386/include
14024 /usr/XFree86/include/X11
14026 /usr/include
14027 /usr/local/include
14028 /usr/unsupported/include
14029 /usr/athena/include
14030 /usr/local/x11r5/include
14031 /usr/lpp/Xamples/include
14033 /usr/openwin/include
14034 /usr/openwin/share/include'
14036 if test "$ac_x_includes" = no; then
14037 # Guess where to find include files, by looking for Xlib.h.
14038 # First, try using that file with no special directory specified.
14039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14040 /* end confdefs.h. */
14041 #include <X11/Xlib.h>
14042 _ACEOF
14043 if ac_fn_c_try_cpp "$LINENO"
14044 then :
14045 # We can compile using X headers with no special include directory.
14046 ac_x_includes=
14047 else $as_nop
14048 for ac_dir in $ac_x_header_dirs; do
14049 if test -r "$ac_dir/X11/Xlib.h"; then
14050 ac_x_includes=$ac_dir
14051 break
14053 done
14055 rm -f conftest.err conftest.i conftest.$ac_ext
14056 fi # $ac_x_includes = no
14058 if test "$ac_x_libraries" = no; then
14059 # Check for the libraries.
14060 # See if we find them without any special options.
14061 # Don't add to $LIBS permanently.
14062 ac_save_LIBS=$LIBS
14063 LIBS="-lX11 $LIBS"
14064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14065 /* end confdefs.h. */
14066 #include <X11/Xlib.h>
14068 main (void)
14070 XrmInitialize ()
14072 return 0;
14074 _ACEOF
14075 if ac_fn_c_try_link "$LINENO"
14076 then :
14077 LIBS=$ac_save_LIBS
14078 # We can link X programs with no special library path.
14079 ac_x_libraries=
14080 else $as_nop
14081 LIBS=$ac_save_LIBS
14082 for ac_dir in `printf "%s\n" "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
14084 # Don't even attempt the hair of trying to link an X program!
14085 for ac_extension in a so sl dylib la dll; do
14086 if test -r "$ac_dir/libX11.$ac_extension"; then
14087 ac_x_libraries=$ac_dir
14088 break 2
14090 done
14091 done
14093 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14094 conftest$ac_exeext conftest.$ac_ext
14095 fi # $ac_x_libraries = no
14098 # Record the results.
14099 case $ac_x_includes,$ac_x_libraries in #(
14100 no,* | *,no | *\'*) :
14101 # Didn't find X, or a directory has "'" in its name.
14102 ac_cv_have_x="have_x=no" ;; #(
14103 *) :
14104 # Record where we found X for the cache.
14105 ac_cv_have_x="have_x=yes\
14106 ac_x_includes='$ac_x_includes'\
14107 ac_x_libraries='$ac_x_libraries'" ;;
14108 esac
14110 ;; #(
14111 *) have_x=yes;;
14112 esac
14113 eval "$ac_cv_have_x"
14114 fi # $with_x != no
14116 if test "$have_x" != yes; then
14117 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
14118 printf "%s\n" "$have_x" >&6; }
14119 no_x=yes
14120 else
14121 # If each of the values was on the command line, it overrides each guess.
14122 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
14123 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
14124 # Update the cache value to reflect the command line values.
14125 ac_cv_have_x="have_x=yes\
14126 ac_x_includes='$x_includes'\
14127 ac_x_libraries='$x_libraries'"
14128 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
14129 printf "%s\n" "libraries $x_libraries, headers $x_includes" >&6; }
14132 if test "$no_x" = yes; then
14133 # Not all programs may use this symbol, but it does not hurt to define it.
14135 printf "%s\n" "#define X_DISPLAY_MISSING 1" >>confdefs.h
14137 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
14138 else
14139 if test -n "$x_includes"; then
14140 X_CFLAGS="$X_CFLAGS -I$x_includes"
14143 # It would also be nice to do this for all -L options, not just this one.
14144 if test -n "$x_libraries"; then
14145 X_LIBS="$X_LIBS -L$x_libraries"
14146 # For Solaris; some versions of Sun CC require a space after -R and
14147 # others require no space. Words are not sufficient . . . .
14148 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
14149 printf %s "checking whether -R must be followed by a space... " >&6; }
14150 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
14151 ac_xsave_c_werror_flag=$ac_c_werror_flag
14152 ac_c_werror_flag=yes
14153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14154 /* end confdefs.h. */
14157 main (void)
14161 return 0;
14163 _ACEOF
14164 if ac_fn_c_try_link "$LINENO"
14165 then :
14166 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
14167 printf "%s\n" "no" >&6; }
14168 X_LIBS="$X_LIBS -R$x_libraries"
14169 else $as_nop
14170 LIBS="$ac_xsave_LIBS -R $x_libraries"
14171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14172 /* end confdefs.h. */
14175 main (void)
14179 return 0;
14181 _ACEOF
14182 if ac_fn_c_try_link "$LINENO"
14183 then :
14184 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14185 printf "%s\n" "yes" >&6; }
14186 X_LIBS="$X_LIBS -R $x_libraries"
14187 else $as_nop
14188 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
14189 printf "%s\n" "neither works" >&6; }
14191 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14192 conftest$ac_exeext conftest.$ac_ext
14194 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14195 conftest$ac_exeext conftest.$ac_ext
14196 ac_c_werror_flag=$ac_xsave_c_werror_flag
14197 LIBS=$ac_xsave_LIBS
14200 # Check for system-dependent libraries X programs must link with.
14201 # Do this before checking for the system-independent R6 libraries
14202 # (-lICE), since we may need -lsocket or whatever for X linking.
14204 if test "$ISC" = yes; then
14205 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
14206 else
14207 # Martyn Johnson says this is needed for Ultrix, if the X
14208 # libraries were built with DECnet support. And Karl Berry says
14209 # the Alpha needs dnet_stub (dnet does not exist).
14210 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
14211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14212 /* end confdefs.h. */
14214 /* Override any GCC internal prototype to avoid an error.
14215 Use char because int might match the return type of a GCC
14216 builtin and then its argument prototype would still apply. */
14217 char XOpenDisplay ();
14219 main (void)
14221 return XOpenDisplay ();
14223 return 0;
14225 _ACEOF
14226 if ac_fn_c_try_link "$LINENO"
14227 then :
14229 else $as_nop
14230 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
14231 printf %s "checking for dnet_ntoa in -ldnet... " >&6; }
14232 if test ${ac_cv_lib_dnet_dnet_ntoa+y}
14233 then :
14234 printf %s "(cached) " >&6
14235 else $as_nop
14236 ac_check_lib_save_LIBS=$LIBS
14237 LIBS="-ldnet $LIBS"
14238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14239 /* end confdefs.h. */
14241 /* Override any GCC internal prototype to avoid an error.
14242 Use char because int might match the return type of a GCC
14243 builtin and then its argument prototype would still apply. */
14244 char dnet_ntoa ();
14246 main (void)
14248 return dnet_ntoa ();
14250 return 0;
14252 _ACEOF
14253 if ac_fn_c_try_link "$LINENO"
14254 then :
14255 ac_cv_lib_dnet_dnet_ntoa=yes
14256 else $as_nop
14257 ac_cv_lib_dnet_dnet_ntoa=no
14259 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14260 conftest$ac_exeext conftest.$ac_ext
14261 LIBS=$ac_check_lib_save_LIBS
14263 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
14264 printf "%s\n" "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
14265 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
14266 then :
14267 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
14270 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
14271 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
14272 printf %s "checking for dnet_ntoa in -ldnet_stub... " >&6; }
14273 if test ${ac_cv_lib_dnet_stub_dnet_ntoa+y}
14274 then :
14275 printf %s "(cached) " >&6
14276 else $as_nop
14277 ac_check_lib_save_LIBS=$LIBS
14278 LIBS="-ldnet_stub $LIBS"
14279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14280 /* end confdefs.h. */
14282 /* Override any GCC internal prototype to avoid an error.
14283 Use char because int might match the return type of a GCC
14284 builtin and then its argument prototype would still apply. */
14285 char dnet_ntoa ();
14287 main (void)
14289 return dnet_ntoa ();
14291 return 0;
14293 _ACEOF
14294 if ac_fn_c_try_link "$LINENO"
14295 then :
14296 ac_cv_lib_dnet_stub_dnet_ntoa=yes
14297 else $as_nop
14298 ac_cv_lib_dnet_stub_dnet_ntoa=no
14300 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14301 conftest$ac_exeext conftest.$ac_ext
14302 LIBS=$ac_check_lib_save_LIBS
14304 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
14305 printf "%s\n" "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
14306 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
14307 then :
14308 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
14313 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14314 conftest$ac_exeext conftest.$ac_ext
14315 LIBS="$ac_xsave_LIBS"
14317 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
14318 # to get the SysV transport functions.
14319 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
14320 # needs -lnsl.
14321 # The nsl library prevents programs from opening the X display
14322 # on Irix 5.2, according to T.E. Dickey.
14323 # The functions gethostbyname, getservbyname, and inet_addr are
14324 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
14325 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
14326 if test "x$ac_cv_func_gethostbyname" = xyes
14327 then :
14331 if test $ac_cv_func_gethostbyname = no; then
14332 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
14333 printf %s "checking for gethostbyname in -lnsl... " >&6; }
14334 if test ${ac_cv_lib_nsl_gethostbyname+y}
14335 then :
14336 printf %s "(cached) " >&6
14337 else $as_nop
14338 ac_check_lib_save_LIBS=$LIBS
14339 LIBS="-lnsl $LIBS"
14340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14341 /* end confdefs.h. */
14343 /* Override any GCC internal prototype to avoid an error.
14344 Use char because int might match the return type of a GCC
14345 builtin and then its argument prototype would still apply. */
14346 char gethostbyname ();
14348 main (void)
14350 return gethostbyname ();
14352 return 0;
14354 _ACEOF
14355 if ac_fn_c_try_link "$LINENO"
14356 then :
14357 ac_cv_lib_nsl_gethostbyname=yes
14358 else $as_nop
14359 ac_cv_lib_nsl_gethostbyname=no
14361 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14362 conftest$ac_exeext conftest.$ac_ext
14363 LIBS=$ac_check_lib_save_LIBS
14365 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
14366 printf "%s\n" "$ac_cv_lib_nsl_gethostbyname" >&6; }
14367 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
14368 then :
14369 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
14372 if test $ac_cv_lib_nsl_gethostbyname = no; then
14373 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
14374 printf %s "checking for gethostbyname in -lbsd... " >&6; }
14375 if test ${ac_cv_lib_bsd_gethostbyname+y}
14376 then :
14377 printf %s "(cached) " >&6
14378 else $as_nop
14379 ac_check_lib_save_LIBS=$LIBS
14380 LIBS="-lbsd $LIBS"
14381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14382 /* end confdefs.h. */
14384 /* Override any GCC internal prototype to avoid an error.
14385 Use char because int might match the return type of a GCC
14386 builtin and then its argument prototype would still apply. */
14387 char gethostbyname ();
14389 main (void)
14391 return gethostbyname ();
14393 return 0;
14395 _ACEOF
14396 if ac_fn_c_try_link "$LINENO"
14397 then :
14398 ac_cv_lib_bsd_gethostbyname=yes
14399 else $as_nop
14400 ac_cv_lib_bsd_gethostbyname=no
14402 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14403 conftest$ac_exeext conftest.$ac_ext
14404 LIBS=$ac_check_lib_save_LIBS
14406 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
14407 printf "%s\n" "$ac_cv_lib_bsd_gethostbyname" >&6; }
14408 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
14409 then :
14410 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
14416 # lieder@skyler.mavd.honeywell.com says without -lsocket,
14417 # socket/setsockopt and other routines are undefined under SCO ODT
14418 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
14419 # on later versions), says Simon Leinen: it contains gethostby*
14420 # variants that don't use the name server (or something). -lsocket
14421 # must be given before -lnsl if both are needed. We assume that
14422 # if connect needs -lnsl, so does gethostbyname.
14423 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
14424 if test "x$ac_cv_func_connect" = xyes
14425 then :
14429 if test $ac_cv_func_connect = no; then
14430 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
14431 printf %s "checking for connect in -lsocket... " >&6; }
14432 if test ${ac_cv_lib_socket_connect+y}
14433 then :
14434 printf %s "(cached) " >&6
14435 else $as_nop
14436 ac_check_lib_save_LIBS=$LIBS
14437 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
14438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14439 /* end confdefs.h. */
14441 /* Override any GCC internal prototype to avoid an error.
14442 Use char because int might match the return type of a GCC
14443 builtin and then its argument prototype would still apply. */
14444 char connect ();
14446 main (void)
14448 return connect ();
14450 return 0;
14452 _ACEOF
14453 if ac_fn_c_try_link "$LINENO"
14454 then :
14455 ac_cv_lib_socket_connect=yes
14456 else $as_nop
14457 ac_cv_lib_socket_connect=no
14459 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14460 conftest$ac_exeext conftest.$ac_ext
14461 LIBS=$ac_check_lib_save_LIBS
14463 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
14464 printf "%s\n" "$ac_cv_lib_socket_connect" >&6; }
14465 if test "x$ac_cv_lib_socket_connect" = xyes
14466 then :
14467 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
14472 # Guillermo Gomez says -lposix is necessary on A/UX.
14473 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
14474 if test "x$ac_cv_func_remove" = xyes
14475 then :
14479 if test $ac_cv_func_remove = no; then
14480 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
14481 printf %s "checking for remove in -lposix... " >&6; }
14482 if test ${ac_cv_lib_posix_remove+y}
14483 then :
14484 printf %s "(cached) " >&6
14485 else $as_nop
14486 ac_check_lib_save_LIBS=$LIBS
14487 LIBS="-lposix $LIBS"
14488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14489 /* end confdefs.h. */
14491 /* Override any GCC internal prototype to avoid an error.
14492 Use char because int might match the return type of a GCC
14493 builtin and then its argument prototype would still apply. */
14494 char remove ();
14496 main (void)
14498 return remove ();
14500 return 0;
14502 _ACEOF
14503 if ac_fn_c_try_link "$LINENO"
14504 then :
14505 ac_cv_lib_posix_remove=yes
14506 else $as_nop
14507 ac_cv_lib_posix_remove=no
14509 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14510 conftest$ac_exeext conftest.$ac_ext
14511 LIBS=$ac_check_lib_save_LIBS
14513 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
14514 printf "%s\n" "$ac_cv_lib_posix_remove" >&6; }
14515 if test "x$ac_cv_lib_posix_remove" = xyes
14516 then :
14517 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
14522 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
14523 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
14524 if test "x$ac_cv_func_shmat" = xyes
14525 then :
14529 if test $ac_cv_func_shmat = no; then
14530 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
14531 printf %s "checking for shmat in -lipc... " >&6; }
14532 if test ${ac_cv_lib_ipc_shmat+y}
14533 then :
14534 printf %s "(cached) " >&6
14535 else $as_nop
14536 ac_check_lib_save_LIBS=$LIBS
14537 LIBS="-lipc $LIBS"
14538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14539 /* end confdefs.h. */
14541 /* Override any GCC internal prototype to avoid an error.
14542 Use char because int might match the return type of a GCC
14543 builtin and then its argument prototype would still apply. */
14544 char shmat ();
14546 main (void)
14548 return shmat ();
14550 return 0;
14552 _ACEOF
14553 if ac_fn_c_try_link "$LINENO"
14554 then :
14555 ac_cv_lib_ipc_shmat=yes
14556 else $as_nop
14557 ac_cv_lib_ipc_shmat=no
14559 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14560 conftest$ac_exeext conftest.$ac_ext
14561 LIBS=$ac_check_lib_save_LIBS
14563 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
14564 printf "%s\n" "$ac_cv_lib_ipc_shmat" >&6; }
14565 if test "x$ac_cv_lib_ipc_shmat" = xyes
14566 then :
14567 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
14573 # Check for libraries that X11R6 Xt/Xaw programs need.
14574 ac_save_LDFLAGS=$LDFLAGS
14575 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
14576 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
14577 # check for ICE first), but we must link in the order -lSM -lICE or
14578 # we get undefined symbols. So assume we have SM if we have ICE.
14579 # These have to be linked with before -lX11, unlike the other
14580 # libraries we check for below, so use a different variable.
14581 # John Interrante, Karl Berry
14582 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
14583 printf %s "checking for IceConnectionNumber in -lICE... " >&6; }
14584 if test ${ac_cv_lib_ICE_IceConnectionNumber+y}
14585 then :
14586 printf %s "(cached) " >&6
14587 else $as_nop
14588 ac_check_lib_save_LIBS=$LIBS
14589 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
14590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14591 /* end confdefs.h. */
14593 /* Override any GCC internal prototype to avoid an error.
14594 Use char because int might match the return type of a GCC
14595 builtin and then its argument prototype would still apply. */
14596 char IceConnectionNumber ();
14598 main (void)
14600 return IceConnectionNumber ();
14602 return 0;
14604 _ACEOF
14605 if ac_fn_c_try_link "$LINENO"
14606 then :
14607 ac_cv_lib_ICE_IceConnectionNumber=yes
14608 else $as_nop
14609 ac_cv_lib_ICE_IceConnectionNumber=no
14611 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14612 conftest$ac_exeext conftest.$ac_ext
14613 LIBS=$ac_check_lib_save_LIBS
14615 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
14616 printf "%s\n" "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
14617 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
14618 then :
14619 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
14622 LDFLAGS=$ac_save_LDFLAGS
14627 if test "$have_x" = "yes"
14628 then
14629 ac_save_CPPFLAGS="$CPPFLAGS"
14630 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
14632 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
14633 printf %s "checking for -lX11... " >&6; }
14634 if test ${ac_cv_lib_soname_X11+y}
14635 then :
14636 printf %s "(cached) " >&6
14637 else $as_nop
14638 ac_check_soname_save_LIBS=$LIBS
14639 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
14640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14641 /* end confdefs.h. */
14643 /* Override any GCC internal prototype to avoid an error.
14644 Use char because int might match the return type of a GCC
14645 builtin and then its argument prototype would still apply. */
14646 char XCreateWindow ();
14648 main (void)
14650 return XCreateWindow ();
14652 return 0;
14654 _ACEOF
14655 if ac_fn_c_try_link "$LINENO"
14656 then :
14657 case "$LIBEXT" in
14658 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14659 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'` ;;
14660 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14661 if ${ac_cv_lib_soname_X11:+false} :
14662 then :
14663 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14664 fi ;;
14665 esac
14666 else $as_nop
14667 ac_cv_lib_soname_X11=
14669 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14670 conftest$ac_exeext conftest.$ac_ext
14671 LIBS=$ac_check_soname_save_LIBS
14673 if ${ac_cv_lib_soname_X11:+false} :
14674 then :
14675 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14676 printf "%s\n" "not found" >&6; }
14678 else $as_nop
14679 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
14680 printf "%s\n" "$ac_cv_lib_soname_X11" >&6; }
14682 printf "%s\n" "#define SONAME_LIBX11 \"$ac_cv_lib_soname_X11\"" >>confdefs.h
14686 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
14687 printf %s "checking for -lXext... " >&6; }
14688 if test ${ac_cv_lib_soname_Xext+y}
14689 then :
14690 printf %s "(cached) " >&6
14691 else $as_nop
14692 ac_check_soname_save_LIBS=$LIBS
14693 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
14694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14695 /* end confdefs.h. */
14697 /* Override any GCC internal prototype to avoid an error.
14698 Use char because int might match the return type of a GCC
14699 builtin and then its argument prototype would still apply. */
14700 char XextCreateExtension ();
14702 main (void)
14704 return XextCreateExtension ();
14706 return 0;
14708 _ACEOF
14709 if ac_fn_c_try_link "$LINENO"
14710 then :
14711 case "$LIBEXT" in
14712 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14713 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'` ;;
14714 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14715 if ${ac_cv_lib_soname_Xext:+false} :
14716 then :
14717 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14718 fi ;;
14719 esac
14720 else $as_nop
14721 ac_cv_lib_soname_Xext=
14723 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14724 conftest$ac_exeext conftest.$ac_ext
14725 LIBS=$ac_check_soname_save_LIBS
14727 if ${ac_cv_lib_soname_Xext:+false} :
14728 then :
14729 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14730 printf "%s\n" "not found" >&6; }
14732 else $as_nop
14733 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
14734 printf "%s\n" "$ac_cv_lib_soname_Xext" >&6; }
14736 printf "%s\n" "#define SONAME_LIBXEXT \"$ac_cv_lib_soname_Xext\"" >>confdefs.h
14738 X_LIBS="$X_LIBS -lXext"
14740 X_LIBS="$X_LIBS -lX11"
14742 xlib_includes="#include <X11/Xlib.h>
14743 #include <X11/Xutil.h>"
14745 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/shape.h" "ac_cv_header_X11_extensions_shape_h" "$xlib_includes
14747 if test "x$ac_cv_header_X11_extensions_shape_h" = xyes
14748 then :
14749 printf "%s\n" "#define HAVE_X11_EXTENSIONS_SHAPE_H 1" >>confdefs.h
14752 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XInput2.h" "ac_cv_header_X11_extensions_XInput2_h" "$xlib_includes
14754 if test "x$ac_cv_header_X11_extensions_XInput2_h" = xyes
14755 then :
14756 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINPUT2_H 1" >>confdefs.h
14759 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XShm.h" "ac_cv_header_X11_extensions_XShm_h" "$xlib_includes
14761 if test "x$ac_cv_header_X11_extensions_XShm_h" = xyes
14762 then :
14763 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XSHM_H 1" >>confdefs.h
14766 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xfixes.h" "ac_cv_header_X11_extensions_Xfixes_h" "$xlib_includes
14768 if test "x$ac_cv_header_X11_extensions_Xfixes_h" = xyes
14769 then :
14770 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XFIXES_H 1" >>confdefs.h
14773 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xinerama.h" "ac_cv_header_X11_extensions_Xinerama_h" "$xlib_includes
14775 if test "x$ac_cv_header_X11_extensions_Xinerama_h" = xyes
14776 then :
14777 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINERAMA_H 1" >>confdefs.h
14780 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xrandr.h" "ac_cv_header_X11_extensions_Xrandr_h" "$xlib_includes
14782 if test "x$ac_cv_header_X11_extensions_Xrandr_h" = xyes
14783 then :
14784 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRANDR_H 1" >>confdefs.h
14787 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xrender.h" "ac_cv_header_X11_extensions_Xrender_h" "$xlib_includes
14789 if test "x$ac_cv_header_X11_extensions_Xrender_h" = xyes
14790 then :
14791 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRENDER_H 1" >>confdefs.h
14794 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/xf86vmode.h" "ac_cv_header_X11_extensions_xf86vmode_h" "$xlib_includes
14796 if test "x$ac_cv_header_X11_extensions_xf86vmode_h" = xyes
14797 then :
14798 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMODE_H 1" >>confdefs.h
14801 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/xf86vmproto.h" "ac_cv_header_X11_extensions_xf86vmproto_h" "$xlib_includes
14803 if test "x$ac_cv_header_X11_extensions_xf86vmproto_h" = xyes
14804 then :
14805 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMPROTO_H 1" >>confdefs.h
14810 ac_fn_c_check_header_compile "$LINENO" "X11/Xcursor/Xcursor.h" "ac_cv_header_X11_Xcursor_Xcursor_h" "$xlib_includes
14812 if test "x$ac_cv_header_X11_Xcursor_Xcursor_h" = xyes
14813 then :
14814 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
14815 printf %s "checking for -lXcursor... " >&6; }
14816 if test ${ac_cv_lib_soname_Xcursor+y}
14817 then :
14818 printf %s "(cached) " >&6
14819 else $as_nop
14820 ac_check_soname_save_LIBS=$LIBS
14821 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
14822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14823 /* end confdefs.h. */
14825 /* Override any GCC internal prototype to avoid an error.
14826 Use char because int might match the return type of a GCC
14827 builtin and then its argument prototype would still apply. */
14828 char XcursorImageLoadCursor ();
14830 main (void)
14832 return XcursorImageLoadCursor ();
14834 return 0;
14836 _ACEOF
14837 if ac_fn_c_try_link "$LINENO"
14838 then :
14839 case "$LIBEXT" in
14840 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14841 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'` ;;
14842 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14843 if ${ac_cv_lib_soname_Xcursor:+false} :
14844 then :
14845 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14846 fi ;;
14847 esac
14848 else $as_nop
14849 ac_cv_lib_soname_Xcursor=
14851 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14852 conftest$ac_exeext conftest.$ac_ext
14853 LIBS=$ac_check_soname_save_LIBS
14855 if ${ac_cv_lib_soname_Xcursor:+false} :
14856 then :
14857 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14858 printf "%s\n" "not found" >&6; }
14860 else $as_nop
14861 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
14862 printf "%s\n" "$ac_cv_lib_soname_Xcursor" >&6; }
14864 printf "%s\n" "#define SONAME_LIBXCURSOR \"$ac_cv_lib_soname_Xcursor\"" >>confdefs.h
14870 if test "x$ac_cv_lib_soname_Xcursor" = "x"
14871 then :
14872 case "x$with_xcursor" in
14873 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
14874 xno) ;;
14875 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
14876 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
14877 esac
14881 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XInput.h" "ac_cv_header_X11_extensions_XInput_h" "$xlib_includes
14883 if test "x$ac_cv_header_X11_extensions_XInput_h" = xyes
14884 then :
14885 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
14886 printf %s "checking for -lXi... " >&6; }
14887 if test ${ac_cv_lib_soname_Xi+y}
14888 then :
14889 printf %s "(cached) " >&6
14890 else $as_nop
14891 ac_check_soname_save_LIBS=$LIBS
14892 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
14893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14894 /* end confdefs.h. */
14896 /* Override any GCC internal prototype to avoid an error.
14897 Use char because int might match the return type of a GCC
14898 builtin and then its argument prototype would still apply. */
14899 char XOpenDevice ();
14901 main (void)
14903 return XOpenDevice ();
14905 return 0;
14907 _ACEOF
14908 if ac_fn_c_try_link "$LINENO"
14909 then :
14910 case "$LIBEXT" in
14911 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14912 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'` ;;
14913 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14914 if ${ac_cv_lib_soname_Xi:+false} :
14915 then :
14916 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14917 fi ;;
14918 esac
14919 else $as_nop
14920 ac_cv_lib_soname_Xi=
14922 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14923 conftest$ac_exeext conftest.$ac_ext
14924 LIBS=$ac_check_soname_save_LIBS
14926 if ${ac_cv_lib_soname_Xi:+false} :
14927 then :
14928 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14929 printf "%s\n" "not found" >&6; }
14931 else $as_nop
14932 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
14933 printf "%s\n" "$ac_cv_lib_soname_Xi" >&6; }
14935 printf "%s\n" "#define SONAME_LIBXI \"$ac_cv_lib_soname_Xi\"" >>confdefs.h
14941 if test "x$ac_cv_lib_soname_Xi" = "x"
14942 then :
14943 case "x$with_xinput" in
14944 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
14945 xno) ;;
14946 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
14947 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
14948 esac
14952 if test "x$ac_cv_lib_soname_Xi" != x
14953 then
14954 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"
14955 then :
14956 case "x$with_xinput2" in
14957 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
14958 xno) ;;
14959 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
14960 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
14961 esac
14966 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
14967 then
14968 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
14969 printf %s "checking for XShmQueryExtension in -lXext... " >&6; }
14970 if test ${ac_cv_lib_Xext_XShmQueryExtension+y}
14971 then :
14972 printf %s "(cached) " >&6
14973 else $as_nop
14974 ac_check_lib_save_LIBS=$LIBS
14975 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
14976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14977 /* end confdefs.h. */
14979 /* Override any GCC internal prototype to avoid an error.
14980 Use char because int might match the return type of a GCC
14981 builtin and then its argument prototype would still apply. */
14982 char XShmQueryExtension ();
14984 main (void)
14986 return XShmQueryExtension ();
14988 return 0;
14990 _ACEOF
14991 if ac_fn_c_try_link "$LINENO"
14992 then :
14993 ac_cv_lib_Xext_XShmQueryExtension=yes
14994 else $as_nop
14995 ac_cv_lib_Xext_XShmQueryExtension=no
14997 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14998 conftest$ac_exeext conftest.$ac_ext
14999 LIBS=$ac_check_lib_save_LIBS
15001 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
15002 printf "%s\n" "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
15003 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
15004 then :
15006 printf "%s\n" "#define HAVE_LIBXXSHM 1" >>confdefs.h
15011 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"
15012 then :
15013 case "x$with_xshm" in
15014 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
15015 xno) ;;
15016 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
15017 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
15018 esac
15022 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
15023 then
15024 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
15025 printf %s "checking for XShapeQueryExtension in -lXext... " >&6; }
15026 if test ${ac_cv_lib_Xext_XShapeQueryExtension+y}
15027 then :
15028 printf %s "(cached) " >&6
15029 else $as_nop
15030 ac_check_lib_save_LIBS=$LIBS
15031 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
15032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15033 /* end confdefs.h. */
15035 /* Override any GCC internal prototype to avoid an error.
15036 Use char because int might match the return type of a GCC
15037 builtin and then its argument prototype would still apply. */
15038 char XShapeQueryExtension ();
15040 main (void)
15042 return XShapeQueryExtension ();
15044 return 0;
15046 _ACEOF
15047 if ac_fn_c_try_link "$LINENO"
15048 then :
15049 ac_cv_lib_Xext_XShapeQueryExtension=yes
15050 else $as_nop
15051 ac_cv_lib_Xext_XShapeQueryExtension=no
15053 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15054 conftest$ac_exeext conftest.$ac_ext
15055 LIBS=$ac_check_lib_save_LIBS
15057 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
15058 printf "%s\n" "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
15059 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
15060 then :
15062 printf "%s\n" "#define HAVE_LIBXSHAPE 1" >>confdefs.h
15067 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"
15068 then :
15069 case "x$with_xshape" in
15070 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
15071 xno) ;;
15072 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
15073 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
15074 esac
15078 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
15079 then
15080 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
15081 printf %s "checking for -lXxf86vm... " >&6; }
15082 if test ${ac_cv_lib_soname_Xxf86vm+y}
15083 then :
15084 printf %s "(cached) " >&6
15085 else $as_nop
15086 ac_check_soname_save_LIBS=$LIBS
15087 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
15088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15089 /* end confdefs.h. */
15091 /* Override any GCC internal prototype to avoid an error.
15092 Use char because int might match the return type of a GCC
15093 builtin and then its argument prototype would still apply. */
15094 char XF86VidModeQueryExtension ();
15096 main (void)
15098 return XF86VidModeQueryExtension ();
15100 return 0;
15102 _ACEOF
15103 if ac_fn_c_try_link "$LINENO"
15104 then :
15105 case "$LIBEXT" in
15106 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15107 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'` ;;
15108 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15109 if ${ac_cv_lib_soname_Xxf86vm:+false} :
15110 then :
15111 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15112 fi ;;
15113 esac
15114 else $as_nop
15115 ac_cv_lib_soname_Xxf86vm=
15117 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15118 conftest$ac_exeext conftest.$ac_ext
15119 LIBS=$ac_check_soname_save_LIBS
15121 if ${ac_cv_lib_soname_Xxf86vm:+false} :
15122 then :
15123 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15124 printf "%s\n" "not found" >&6; }
15126 else $as_nop
15127 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
15128 printf "%s\n" "$ac_cv_lib_soname_Xxf86vm" >&6; }
15130 printf "%s\n" "#define SONAME_LIBXXF86VM \"$ac_cv_lib_soname_Xxf86vm\"" >>confdefs.h
15135 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"
15136 then :
15137 case "x$with_xxf86vm" in
15138 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
15139 xno) ;;
15140 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
15141 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
15142 esac
15146 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
15147 then
15148 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
15149 printf %s "checking for -lXrender... " >&6; }
15150 if test ${ac_cv_lib_soname_Xrender+y}
15151 then :
15152 printf %s "(cached) " >&6
15153 else $as_nop
15154 ac_check_soname_save_LIBS=$LIBS
15155 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
15156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15157 /* end confdefs.h. */
15159 /* Override any GCC internal prototype to avoid an error.
15160 Use char because int might match the return type of a GCC
15161 builtin and then its argument prototype would still apply. */
15162 char XRenderQueryExtension ();
15164 main (void)
15166 return XRenderQueryExtension ();
15168 return 0;
15170 _ACEOF
15171 if ac_fn_c_try_link "$LINENO"
15172 then :
15173 case "$LIBEXT" in
15174 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15175 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'` ;;
15176 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15177 if ${ac_cv_lib_soname_Xrender:+false} :
15178 then :
15179 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15180 fi ;;
15181 esac
15182 else $as_nop
15183 ac_cv_lib_soname_Xrender=
15185 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15186 conftest$ac_exeext conftest.$ac_ext
15187 LIBS=$ac_check_soname_save_LIBS
15189 if ${ac_cv_lib_soname_Xrender:+false} :
15190 then :
15191 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15192 printf "%s\n" "not found" >&6; }
15194 else $as_nop
15195 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
15196 printf "%s\n" "$ac_cv_lib_soname_Xrender" >&6; }
15198 printf "%s\n" "#define SONAME_LIBXRENDER \"$ac_cv_lib_soname_Xrender\"" >>confdefs.h
15200 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
15201 printf %s "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
15202 if test ${ac_cv_lib_Xrender_XRenderSetPictureTransform+y}
15203 then :
15204 printf %s "(cached) " >&6
15205 else $as_nop
15206 ac_check_lib_save_LIBS=$LIBS
15207 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
15208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15209 /* end confdefs.h. */
15211 /* Override any GCC internal prototype to avoid an error.
15212 Use char because int might match the return type of a GCC
15213 builtin and then its argument prototype would still apply. */
15214 char XRenderSetPictureTransform ();
15216 main (void)
15218 return XRenderSetPictureTransform ();
15220 return 0;
15222 _ACEOF
15223 if ac_fn_c_try_link "$LINENO"
15224 then :
15225 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
15226 else $as_nop
15227 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
15229 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15230 conftest$ac_exeext conftest.$ac_ext
15231 LIBS=$ac_check_lib_save_LIBS
15233 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
15234 printf "%s\n" "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
15235 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
15236 then :
15238 printf "%s\n" "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
15242 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
15243 printf %s "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
15244 if test ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+y}
15245 then :
15246 printf %s "(cached) " >&6
15247 else $as_nop
15248 ac_check_lib_save_LIBS=$LIBS
15249 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
15250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15251 /* end confdefs.h. */
15253 /* Override any GCC internal prototype to avoid an error.
15254 Use char because int might match the return type of a GCC
15255 builtin and then its argument prototype would still apply. */
15256 char XRenderCreateLinearGradient ();
15258 main (void)
15260 return XRenderCreateLinearGradient ();
15262 return 0;
15264 _ACEOF
15265 if ac_fn_c_try_link "$LINENO"
15266 then :
15267 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
15268 else $as_nop
15269 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
15271 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15272 conftest$ac_exeext conftest.$ac_ext
15273 LIBS=$ac_check_lib_save_LIBS
15275 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
15276 printf "%s\n" "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
15277 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes
15278 then :
15280 printf "%s\n" "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
15287 if test "x$ac_cv_lib_soname_Xrender" = "x"
15288 then :
15289 case "x$with_xrender" in
15290 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
15291 xno) ;;
15292 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
15293 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
15294 esac
15298 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
15299 then
15300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15301 /* end confdefs.h. */
15302 #include <X11/Xlib.h>
15303 #include <X11/extensions/Xrandr.h>
15305 main (void)
15307 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
15309 return 0;
15311 _ACEOF
15312 if ac_fn_c_try_compile "$LINENO"
15313 then :
15314 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
15315 printf %s "checking for -lXrandr... " >&6; }
15316 if test ${ac_cv_lib_soname_Xrandr+y}
15317 then :
15318 printf %s "(cached) " >&6
15319 else $as_nop
15320 ac_check_soname_save_LIBS=$LIBS
15321 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
15322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15323 /* end confdefs.h. */
15325 /* Override any GCC internal prototype to avoid an error.
15326 Use char because int might match the return type of a GCC
15327 builtin and then its argument prototype would still apply. */
15328 char XRRQueryExtension ();
15330 main (void)
15332 return XRRQueryExtension ();
15334 return 0;
15336 _ACEOF
15337 if ac_fn_c_try_link "$LINENO"
15338 then :
15339 case "$LIBEXT" in
15340 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15341 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'` ;;
15342 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15343 if ${ac_cv_lib_soname_Xrandr:+false} :
15344 then :
15345 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15346 fi ;;
15347 esac
15348 else $as_nop
15349 ac_cv_lib_soname_Xrandr=
15351 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15352 conftest$ac_exeext conftest.$ac_ext
15353 LIBS=$ac_check_soname_save_LIBS
15355 if ${ac_cv_lib_soname_Xrandr:+false} :
15356 then :
15357 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15358 printf "%s\n" "not found" >&6; }
15360 else $as_nop
15361 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
15362 printf "%s\n" "$ac_cv_lib_soname_Xrandr" >&6; }
15364 printf "%s\n" "#define SONAME_LIBXRANDR \"$ac_cv_lib_soname_Xrandr\"" >>confdefs.h
15366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15367 /* end confdefs.h. */
15368 #include <X11/Xlib.h>
15369 #include <X11/extensions/Xrandr.h>
15371 main (void)
15373 static typeof(XRRGetProviderResources) *f; if (f) return 0;
15375 return 0;
15377 _ACEOF
15378 if ac_fn_c_try_compile "$LINENO"
15379 then :
15381 printf "%s\n" "#define HAVE_XRRGETPROVIDERRESOURCES 1" >>confdefs.h
15383 else $as_nop
15384 as_fn_append wine_notices "|libxrandr ${notice_platform}development files too old, XRandR display device handler won't be supported."
15386 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15389 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15391 if test "x$ac_cv_lib_soname_Xrandr" = "x"
15392 then :
15393 case "x$with_xrandr" in
15394 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
15395 xno) ;;
15396 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
15397 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
15398 esac
15402 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
15403 then
15404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15405 /* end confdefs.h. */
15406 #include <X11/Xlib.h>
15407 #include <X11/extensions/Xfixes.h>
15409 main (void)
15411 static typeof(XFixesQueryVersion) * func; if (func) return 0;
15413 return 0;
15415 _ACEOF
15416 if ac_fn_c_try_compile "$LINENO"
15417 then :
15418 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
15419 printf %s "checking for -lXfixes... " >&6; }
15420 if test ${ac_cv_lib_soname_Xfixes+y}
15421 then :
15422 printf %s "(cached) " >&6
15423 else $as_nop
15424 ac_check_soname_save_LIBS=$LIBS
15425 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
15426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15427 /* end confdefs.h. */
15429 /* Override any GCC internal prototype to avoid an error.
15430 Use char because int might match the return type of a GCC
15431 builtin and then its argument prototype would still apply. */
15432 char XFixesQueryVersion ();
15434 main (void)
15436 return XFixesQueryVersion ();
15438 return 0;
15440 _ACEOF
15441 if ac_fn_c_try_link "$LINENO"
15442 then :
15443 case "$LIBEXT" in
15444 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15445 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'` ;;
15446 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15447 if ${ac_cv_lib_soname_Xfixes:+false} :
15448 then :
15449 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15450 fi ;;
15451 esac
15452 else $as_nop
15453 ac_cv_lib_soname_Xfixes=
15455 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15456 conftest$ac_exeext conftest.$ac_ext
15457 LIBS=$ac_check_soname_save_LIBS
15459 if ${ac_cv_lib_soname_Xfixes:+false} :
15460 then :
15461 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15462 printf "%s\n" "not found" >&6; }
15464 else $as_nop
15465 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
15466 printf "%s\n" "$ac_cv_lib_soname_Xfixes" >&6; }
15468 printf "%s\n" "#define SONAME_LIBXFIXES \"$ac_cv_lib_soname_Xfixes\"" >>confdefs.h
15473 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15475 if test "x$ac_cv_lib_soname_Xfixes" = "x"
15476 then :
15477 case "x$with_xfixes" in
15478 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
15479 xno) ;;
15480 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
15481 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
15482 esac
15486 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
15487 then
15488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15489 /* end confdefs.h. */
15490 #include <X11/Xlib.h>
15491 #include <X11/extensions/Xinerama.h>
15493 main (void)
15495 static typeof(XineramaQueryScreens) * func; if (func) return 0;
15497 return 0;
15499 _ACEOF
15500 if ac_fn_c_try_compile "$LINENO"
15501 then :
15502 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
15503 printf %s "checking for -lXinerama... " >&6; }
15504 if test ${ac_cv_lib_soname_Xinerama+y}
15505 then :
15506 printf %s "(cached) " >&6
15507 else $as_nop
15508 ac_check_soname_save_LIBS=$LIBS
15509 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
15510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15511 /* end confdefs.h. */
15513 /* Override any GCC internal prototype to avoid an error.
15514 Use char because int might match the return type of a GCC
15515 builtin and then its argument prototype would still apply. */
15516 char XineramaQueryScreens ();
15518 main (void)
15520 return XineramaQueryScreens ();
15522 return 0;
15524 _ACEOF
15525 if ac_fn_c_try_link "$LINENO"
15526 then :
15527 case "$LIBEXT" in
15528 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15529 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'` ;;
15530 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15531 if ${ac_cv_lib_soname_Xinerama:+false} :
15532 then :
15533 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15534 fi ;;
15535 esac
15536 else $as_nop
15537 ac_cv_lib_soname_Xinerama=
15539 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15540 conftest$ac_exeext conftest.$ac_ext
15541 LIBS=$ac_check_soname_save_LIBS
15543 if ${ac_cv_lib_soname_Xinerama:+false} :
15544 then :
15545 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15546 printf "%s\n" "not found" >&6; }
15548 else $as_nop
15549 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
15550 printf "%s\n" "$ac_cv_lib_soname_Xinerama" >&6; }
15552 printf "%s\n" "#define SONAME_LIBXINERAMA \"$ac_cv_lib_soname_Xinerama\"" >>confdefs.h
15557 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15559 if test "x$ac_cv_lib_soname_Xinerama" = "x"
15560 then :
15561 case "x$with_xinerama" in
15562 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
15563 xno) ;;
15564 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
15565 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
15566 esac
15570 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xcomposite.h" "ac_cv_header_X11_extensions_Xcomposite_h" "$xlib_includes
15572 if test "x$ac_cv_header_X11_extensions_Xcomposite_h" = xyes
15573 then :
15574 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
15575 printf %s "checking for -lXcomposite... " >&6; }
15576 if test ${ac_cv_lib_soname_Xcomposite+y}
15577 then :
15578 printf %s "(cached) " >&6
15579 else $as_nop
15580 ac_check_soname_save_LIBS=$LIBS
15581 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
15582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15583 /* end confdefs.h. */
15585 /* Override any GCC internal prototype to avoid an error.
15586 Use char because int might match the return type of a GCC
15587 builtin and then its argument prototype would still apply. */
15588 char XCompositeRedirectWindow ();
15590 main (void)
15592 return XCompositeRedirectWindow ();
15594 return 0;
15596 _ACEOF
15597 if ac_fn_c_try_link "$LINENO"
15598 then :
15599 case "$LIBEXT" in
15600 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15601 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'` ;;
15602 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15603 if ${ac_cv_lib_soname_Xcomposite:+false} :
15604 then :
15605 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15606 fi ;;
15607 esac
15608 else $as_nop
15609 ac_cv_lib_soname_Xcomposite=
15611 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15612 conftest$ac_exeext conftest.$ac_ext
15613 LIBS=$ac_check_soname_save_LIBS
15615 if ${ac_cv_lib_soname_Xcomposite:+false} :
15616 then :
15617 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15618 printf "%s\n" "not found" >&6; }
15620 else $as_nop
15621 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
15622 printf "%s\n" "$ac_cv_lib_soname_Xcomposite" >&6; }
15624 printf "%s\n" "#define SONAME_LIBXCOMPOSITE \"$ac_cv_lib_soname_Xcomposite\"" >>confdefs.h
15630 if test "x$ac_cv_lib_soname_Xcomposite" = "x"
15631 then :
15632 case "x$with_xcomposite" in
15633 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
15634 xno) ;;
15635 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
15636 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
15637 esac
15641 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "$xlib_includes
15643 if test "x$ac_cv_member_XICCallback_callback" = xyes
15644 then :
15646 printf "%s\n" "#define HAVE_XICCALLBACK_CALLBACK 1" >>confdefs.h
15650 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "$xlib_includes
15652 if test "x$ac_cv_member_XEvent_xcookie" = xyes
15653 then :
15655 printf "%s\n" "#define HAVE_XEVENT_XCOOKIE 1" >>confdefs.h
15662 opengl_msg=""
15663 if test "x$with_opengl" != "xno"
15664 then
15665 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
15666 printf %s "checking for -lGL... " >&6; }
15667 if test ${ac_cv_lib_soname_GL+y}
15668 then :
15669 printf %s "(cached) " >&6
15670 else $as_nop
15671 ac_check_soname_save_LIBS=$LIBS
15672 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
15673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15674 /* end confdefs.h. */
15676 /* Override any GCC internal prototype to avoid an error.
15677 Use char because int might match the return type of a GCC
15678 builtin and then its argument prototype would still apply. */
15679 char glXCreateContext ();
15681 main (void)
15683 return glXCreateContext ();
15685 return 0;
15687 _ACEOF
15688 if ac_fn_c_try_link "$LINENO"
15689 then :
15690 case "$LIBEXT" in
15691 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15692 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'` ;;
15693 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15694 if ${ac_cv_lib_soname_GL:+false} :
15695 then :
15696 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15697 fi ;;
15698 esac
15699 else $as_nop
15700 ac_cv_lib_soname_GL=
15702 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15703 conftest$ac_exeext conftest.$ac_ext
15704 LIBS=$ac_check_soname_save_LIBS
15706 if ${ac_cv_lib_soname_GL:+false} :
15707 then :
15708 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15709 printf "%s\n" "not found" >&6; }
15710 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
15711 printf %s "checking for -lGL... " >&6; }
15712 if test ${ac_cv_lib_soname_GL+y}
15713 then :
15714 printf %s "(cached) " >&6
15715 else $as_nop
15716 ac_check_soname_save_LIBS=$LIBS
15717 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"
15718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15719 /* end confdefs.h. */
15721 /* Override any GCC internal prototype to avoid an error.
15722 Use char because int might match the return type of a GCC
15723 builtin and then its argument prototype would still apply. */
15724 char glXCreateContext ();
15726 main (void)
15728 return glXCreateContext ();
15730 return 0;
15732 _ACEOF
15733 if ac_fn_c_try_link "$LINENO"
15734 then :
15735 case "$LIBEXT" in
15736 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15737 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'` ;;
15738 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15739 if ${ac_cv_lib_soname_GL:+false} :
15740 then :
15741 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15742 fi ;;
15743 esac
15744 else $as_nop
15745 ac_cv_lib_soname_GL=
15747 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15748 conftest$ac_exeext conftest.$ac_ext
15749 LIBS=$ac_check_soname_save_LIBS
15751 if ${ac_cv_lib_soname_GL:+false} :
15752 then :
15753 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15754 printf "%s\n" "not found" >&6; }
15755 if test -f /usr/X11R6/lib/libGL.a
15756 then
15757 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
15758 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
15759 else
15760 opengl_msg="No OpenGL library found on this system."
15762 else $as_nop
15763 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
15764 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
15766 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
15768 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"
15770 else $as_nop
15771 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
15772 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
15774 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
15776 OPENGL_LIBS="-lGL"
15778 if test "x$with_osmesa" != "xno"
15779 then
15780 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
15781 printf %s "checking for -lOSMesa... " >&6; }
15782 if test ${ac_cv_lib_soname_OSMesa+y}
15783 then :
15784 printf %s "(cached) " >&6
15785 else $as_nop
15786 ac_check_soname_save_LIBS=$LIBS
15787 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
15788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15789 /* end confdefs.h. */
15791 /* Override any GCC internal prototype to avoid an error.
15792 Use char because int might match the return type of a GCC
15793 builtin and then its argument prototype would still apply. */
15794 char OSMesaGetProcAddress ();
15796 main (void)
15798 return OSMesaGetProcAddress ();
15800 return 0;
15802 _ACEOF
15803 if ac_fn_c_try_link "$LINENO"
15804 then :
15805 case "$LIBEXT" in
15806 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15807 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'` ;;
15808 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15809 if ${ac_cv_lib_soname_OSMesa:+false} :
15810 then :
15811 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15812 fi ;;
15813 esac
15814 else $as_nop
15815 ac_cv_lib_soname_OSMesa=
15817 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15818 conftest$ac_exeext conftest.$ac_ext
15819 LIBS=$ac_check_soname_save_LIBS
15821 if ${ac_cv_lib_soname_OSMesa:+false} :
15822 then :
15823 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15824 printf "%s\n" "not found" >&6; }
15826 else $as_nop
15827 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
15828 printf "%s\n" "$ac_cv_lib_soname_OSMesa" >&6; }
15830 printf "%s\n" "#define SONAME_LIBOSMESA \"$ac_cv_lib_soname_OSMesa\"" >>confdefs.h
15834 if test "x$ac_cv_lib_soname_OSMesa" = "x"
15835 then :
15836 case "x$with_osmesa" in
15837 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
15838 xno) ;;
15839 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
15840 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
15841 esac
15846 if test -n "$opengl_msg"
15847 then :
15848 case "x$with_opengl" in
15849 x) as_fn_append wine_warnings "|$opengl_msg
15850 OpenGL and Direct3D won't be supported." ;;
15851 xno) ;;
15852 *) as_fn_error $? "$opengl_msg
15853 OpenGL and Direct3D won't be supported.
15854 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
15855 esac
15859 CPPFLAGS="$ac_save_CPPFLAGS"
15860 else
15861 X_CFLAGS=""
15862 X_LIBS=""
15865 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
15866 then
15867 if test "x$X_LIBS" = "x"
15868 then :
15869 case "x$with_x" in
15870 xno) ;;
15871 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
15872 without X support, which probably isn't what you want. You will need
15873 to install ${notice_platform}development packages of Xlib at the very least.
15874 Use the --without-x option if you really want this." "$LINENO" 5 ;;
15875 esac
15876 enable_winex11_drv=${enable_winex11_drv:-no}
15878 else
15879 if test "x$X_LIBS" = "x"
15880 then :
15881 case "x$with_x" in
15882 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
15883 xno) ;;
15884 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
15885 This is an error since --with-x was requested." "$LINENO" 5 ;;
15886 esac
15887 enable_winex11_drv=${enable_winex11_drv:-no}
15891 if test "x$with_wayland" != "xno"
15892 then
15893 rm -f conftest.err
15894 if ${WAYLAND_CLIENT_CFLAGS:+false} :
15895 then :
15896 if test ${PKG_CONFIG+y}
15897 then :
15898 WAYLAND_CLIENT_CFLAGS=`$PKG_CONFIG --cflags wayland-client 2>conftest.err`
15902 if ${WAYLAND_CLIENT_LIBS:+false} :
15903 then :
15904 if test ${PKG_CONFIG+y}
15905 then :
15906 WAYLAND_CLIENT_LIBS=`$PKG_CONFIG --libs wayland-client 2>/dev/null`
15911 printf "%s\n" "$as_me:${as_lineno-$LINENO}: wayland-client cflags: $WAYLAND_CLIENT_CFLAGS" >&5
15912 printf "%s\n" "$as_me:${as_lineno-$LINENO}: wayland-client libs: $WAYLAND_CLIENT_LIBS" >&5
15913 if test -s conftest.err; then
15914 printf %s "$as_me:${as_lineno-$LINENO}: wayland-client errors: " >&5
15915 cat conftest.err >&5
15917 rm -f conftest.err
15918 ac_save_CPPFLAGS=$CPPFLAGS
15919 CPPFLAGS="$CPPFLAGS $WAYLAND_CLIENT_CFLAGS"
15920 ac_fn_c_check_header_compile "$LINENO" "wayland-client.h" "ac_cv_header_wayland_client_h" "$ac_includes_default"
15921 if test "x$ac_cv_header_wayland_client_h" = xyes
15922 then :
15923 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for wl_display_connect in -lwayland-client" >&5
15924 printf %s "checking for wl_display_connect in -lwayland-client... " >&6; }
15925 if test ${ac_cv_lib_wayland_client_wl_display_connect+y}
15926 then :
15927 printf %s "(cached) " >&6
15928 else $as_nop
15929 ac_check_lib_save_LIBS=$LIBS
15930 LIBS="-lwayland-client $WAYLAND_CLIENT_LIBS $LIBS"
15931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15932 /* end confdefs.h. */
15934 /* Override any GCC internal prototype to avoid an error.
15935 Use char because int might match the return type of a GCC
15936 builtin and then its argument prototype would still apply. */
15937 char wl_display_connect ();
15939 main (void)
15941 return wl_display_connect ();
15943 return 0;
15945 _ACEOF
15946 if ac_fn_c_try_link "$LINENO"
15947 then :
15948 ac_cv_lib_wayland_client_wl_display_connect=yes
15949 else $as_nop
15950 ac_cv_lib_wayland_client_wl_display_connect=no
15952 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15953 conftest$ac_exeext conftest.$ac_ext
15954 LIBS=$ac_check_lib_save_LIBS
15956 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_wayland_client_wl_display_connect" >&5
15957 printf "%s\n" "$ac_cv_lib_wayland_client_wl_display_connect" >&6; }
15958 if test "x$ac_cv_lib_wayland_client_wl_display_connect" = xyes
15959 then :
15960 # Extract the first word of "wayland-scanner", so it can be a program name with args.
15961 set dummy wayland-scanner; ac_word=$2
15962 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15963 printf %s "checking for $ac_word... " >&6; }
15964 if test ${ac_cv_path_WAYLAND_SCANNER+y}
15965 then :
15966 printf %s "(cached) " >&6
15967 else $as_nop
15968 case $WAYLAND_SCANNER in
15969 [\\/]* | ?:[\\/]*)
15970 ac_cv_path_WAYLAND_SCANNER="$WAYLAND_SCANNER" # Let the user override the test with a path.
15973 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15974 for as_dir in $PATH
15976 IFS=$as_save_IFS
15977 case $as_dir in #(((
15978 '') as_dir=./ ;;
15979 */) ;;
15980 *) as_dir=$as_dir/ ;;
15981 esac
15982 for ac_exec_ext in '' $ac_executable_extensions; do
15983 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
15984 ac_cv_path_WAYLAND_SCANNER="$as_dir$ac_word$ac_exec_ext"
15985 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
15986 break 2
15988 done
15989 done
15990 IFS=$as_save_IFS
15992 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`"
15994 esac
15996 WAYLAND_SCANNER=$ac_cv_path_WAYLAND_SCANNER
15997 if test -n "$WAYLAND_SCANNER"; then
15998 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $WAYLAND_SCANNER" >&5
15999 printf "%s\n" "$WAYLAND_SCANNER" >&6; }
16000 else
16001 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
16002 printf "%s\n" "no" >&6; }
16006 else $as_nop
16007 WAYLAND_CLIENT_LIBS=""
16012 CPPFLAGS=$ac_save_CPPFLAGS
16014 rm -f conftest.err
16015 if ${XKBCOMMON_CFLAGS:+false} :
16016 then :
16017 if test ${PKG_CONFIG+y}
16018 then :
16019 XKBCOMMON_CFLAGS=`$PKG_CONFIG --cflags xkbcommon 2>conftest.err`
16023 if ${XKBCOMMON_LIBS:+false} :
16024 then :
16025 if test ${PKG_CONFIG+y}
16026 then :
16027 XKBCOMMON_LIBS=`$PKG_CONFIG --libs xkbcommon 2>/dev/null`
16032 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xkbcommon cflags: $XKBCOMMON_CFLAGS" >&5
16033 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xkbcommon libs: $XKBCOMMON_LIBS" >&5
16034 if test -s conftest.err; then
16035 printf %s "$as_me:${as_lineno-$LINENO}: xkbcommon errors: " >&5
16036 cat conftest.err >&5
16038 rm -f conftest.err
16039 ac_save_CPPFLAGS=$CPPFLAGS
16040 CPPFLAGS="$CPPFLAGS $XKBCOMMON_CFLAGS"
16041 ac_fn_c_check_header_compile "$LINENO" "xkbcommon/xkbcommon.h" "ac_cv_header_xkbcommon_xkbcommon_h" "$ac_includes_default"
16042 if test "x$ac_cv_header_xkbcommon_xkbcommon_h" = xyes
16043 then :
16044 printf "%s\n" "#define HAVE_XKBCOMMON_XKBCOMMON_H 1" >>confdefs.h
16048 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xkb_context_new in -lxkbcommon" >&5
16049 printf %s "checking for xkb_context_new in -lxkbcommon... " >&6; }
16050 if test ${ac_cv_lib_xkbcommon_xkb_context_new+y}
16051 then :
16052 printf %s "(cached) " >&6
16053 else $as_nop
16054 ac_check_lib_save_LIBS=$LIBS
16055 LIBS="-lxkbcommon $XKBCOMMON_LIBS $LIBS"
16056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16057 /* end confdefs.h. */
16059 /* Override any GCC internal prototype to avoid an error.
16060 Use char because int might match the return type of a GCC
16061 builtin and then its argument prototype would still apply. */
16062 char xkb_context_new ();
16064 main (void)
16066 return xkb_context_new ();
16068 return 0;
16070 _ACEOF
16071 if ac_fn_c_try_link "$LINENO"
16072 then :
16073 ac_cv_lib_xkbcommon_xkb_context_new=yes
16074 else $as_nop
16075 ac_cv_lib_xkbcommon_xkb_context_new=no
16077 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16078 conftest$ac_exeext conftest.$ac_ext
16079 LIBS=$ac_check_lib_save_LIBS
16081 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xkbcommon_xkb_context_new" >&5
16082 printf "%s\n" "$ac_cv_lib_xkbcommon_xkb_context_new" >&6; }
16083 if test "x$ac_cv_lib_xkbcommon_xkb_context_new" = xyes
16084 then :
16086 else $as_nop
16087 XKBCOMMON_LIBS=""
16090 CPPFLAGS=$ac_save_CPPFLAGS
16092 rm -f conftest.err
16093 if ${XKBREGISTRY_CFLAGS:+false} :
16094 then :
16095 if test ${PKG_CONFIG+y}
16096 then :
16097 XKBREGISTRY_CFLAGS=`$PKG_CONFIG --cflags xkbregistry 2>conftest.err`
16101 if ${XKBREGISTRY_LIBS:+false} :
16102 then :
16103 if test ${PKG_CONFIG+y}
16104 then :
16105 XKBREGISTRY_LIBS=`$PKG_CONFIG --libs xkbregistry 2>/dev/null`
16110 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xkbregistry cflags: $XKBREGISTRY_CFLAGS" >&5
16111 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xkbregistry libs: $XKBREGISTRY_LIBS" >&5
16112 if test -s conftest.err; then
16113 printf %s "$as_me:${as_lineno-$LINENO}: xkbregistry errors: " >&5
16114 cat conftest.err >&5
16116 rm -f conftest.err
16117 ac_save_CPPFLAGS=$CPPFLAGS
16118 CPPFLAGS="$CPPFLAGS $XKBREGISTRY_CFLAGS"
16119 ac_fn_c_check_header_compile "$LINENO" "xkbcommon/xkbregistry.h" "ac_cv_header_xkbcommon_xkbregistry_h" "$ac_includes_default"
16120 if test "x$ac_cv_header_xkbcommon_xkbregistry_h" = xyes
16121 then :
16122 printf "%s\n" "#define HAVE_XKBCOMMON_XKBREGISTRY_H 1" >>confdefs.h
16126 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for rxkb_context_new in -lxkbregistry" >&5
16127 printf %s "checking for rxkb_context_new in -lxkbregistry... " >&6; }
16128 if test ${ac_cv_lib_xkbregistry_rxkb_context_new+y}
16129 then :
16130 printf %s "(cached) " >&6
16131 else $as_nop
16132 ac_check_lib_save_LIBS=$LIBS
16133 LIBS="-lxkbregistry $XKBREGISTRY_LIBS $LIBS"
16134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16135 /* end confdefs.h. */
16137 /* Override any GCC internal prototype to avoid an error.
16138 Use char because int might match the return type of a GCC
16139 builtin and then its argument prototype would still apply. */
16140 char rxkb_context_new ();
16142 main (void)
16144 return rxkb_context_new ();
16146 return 0;
16148 _ACEOF
16149 if ac_fn_c_try_link "$LINENO"
16150 then :
16151 ac_cv_lib_xkbregistry_rxkb_context_new=yes
16152 else $as_nop
16153 ac_cv_lib_xkbregistry_rxkb_context_new=no
16155 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16156 conftest$ac_exeext conftest.$ac_ext
16157 LIBS=$ac_check_lib_save_LIBS
16159 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xkbregistry_rxkb_context_new" >&5
16160 printf "%s\n" "$ac_cv_lib_xkbregistry_rxkb_context_new" >&6; }
16161 if test "x$ac_cv_lib_xkbregistry_rxkb_context_new" = xyes
16162 then :
16164 else $as_nop
16165 XKBREGISTRY_LIBS=""
16168 CPPFLAGS=$ac_save_CPPFLAGS
16171 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"
16172 then :
16173 case "x$with_wayland" in
16174 x) as_fn_append wine_notices "|Wayland ${notice_platform}development files not found, the Wayland driver won't be supported." ;;
16175 xno) ;;
16176 *) as_fn_error $? "Wayland ${notice_platform}development files not found, the Wayland driver won't be supported.
16177 This is an error since --with-wayland was requested." "$LINENO" 5 ;;
16178 esac
16179 enable_winewayland_drv=${enable_winewayland_drv:-no}
16182 if test "$ac_cv_header_CL_cl_h" = "yes"
16183 then
16184 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
16185 printf %s "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
16186 if test ${ac_cv_lib_OpenCL_clGetPlatformInfo+y}
16187 then :
16188 printf %s "(cached) " >&6
16189 else $as_nop
16190 ac_check_lib_save_LIBS=$LIBS
16191 LIBS="-lOpenCL $LIBS"
16192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16193 /* end confdefs.h. */
16195 /* Override any GCC internal prototype to avoid an error.
16196 Use char because int might match the return type of a GCC
16197 builtin and then its argument prototype would still apply. */
16198 char clGetPlatformInfo ();
16200 main (void)
16202 return clGetPlatformInfo ();
16204 return 0;
16206 _ACEOF
16207 if ac_fn_c_try_link "$LINENO"
16208 then :
16209 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
16210 else $as_nop
16211 ac_cv_lib_OpenCL_clGetPlatformInfo=no
16213 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16214 conftest$ac_exeext conftest.$ac_ext
16215 LIBS=$ac_check_lib_save_LIBS
16217 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
16218 printf "%s\n" "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
16219 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
16220 then :
16221 OPENCL_LIBS="-lOpenCL"
16226 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
16227 then :
16228 case "x$with_opencl" in
16229 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
16230 xno) ;;
16231 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
16232 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
16233 esac
16234 enable_opencl=${enable_opencl:-no}
16237 if test "$ac_cv_header_pcap_pcap_h" = "yes"
16238 then
16239 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pcap_init in -lpcap" >&5
16240 printf %s "checking for pcap_init in -lpcap... " >&6; }
16241 if test ${ac_cv_lib_pcap_pcap_init+y}
16242 then :
16243 printf %s "(cached) " >&6
16244 else $as_nop
16245 ac_check_lib_save_LIBS=$LIBS
16246 LIBS="-lpcap $LIBS"
16247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16248 /* end confdefs.h. */
16250 /* Override any GCC internal prototype to avoid an error.
16251 Use char because int might match the return type of a GCC
16252 builtin and then its argument prototype would still apply. */
16253 char pcap_init ();
16255 main (void)
16257 return pcap_init ();
16259 return 0;
16261 _ACEOF
16262 if ac_fn_c_try_link "$LINENO"
16263 then :
16264 ac_cv_lib_pcap_pcap_init=yes
16265 else $as_nop
16266 ac_cv_lib_pcap_pcap_init=no
16268 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16269 conftest$ac_exeext conftest.$ac_ext
16270 LIBS=$ac_check_lib_save_LIBS
16272 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_init" >&5
16273 printf "%s\n" "$ac_cv_lib_pcap_pcap_init" >&6; }
16274 if test "x$ac_cv_lib_pcap_pcap_init" = xyes
16275 then :
16276 PCAP_LIBS="-lpcap"
16281 if test "x$ac_cv_lib_pcap_pcap_init" != xyes
16282 then :
16283 case "x$with_pcap" in
16284 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
16285 xno) ;;
16286 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
16287 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
16288 esac
16289 enable_wpcap=${enable_wpcap:-no}
16292 if test "x$with_pcsclite" != "xno"
16293 then
16294 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for SCardEstablishContext in -lpcsclite" >&5
16295 printf %s "checking for SCardEstablishContext in -lpcsclite... " >&6; }
16296 if test ${ac_cv_lib_pcsclite_SCardEstablishContext+y}
16297 then :
16298 printf %s "(cached) " >&6
16299 else $as_nop
16300 ac_check_lib_save_LIBS=$LIBS
16301 LIBS="-lpcsclite $LIBS"
16302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16303 /* end confdefs.h. */
16305 /* Override any GCC internal prototype to avoid an error.
16306 Use char because int might match the return type of a GCC
16307 builtin and then its argument prototype would still apply. */
16308 char SCardEstablishContext ();
16310 main (void)
16312 return SCardEstablishContext ();
16314 return 0;
16316 _ACEOF
16317 if ac_fn_c_try_link "$LINENO"
16318 then :
16319 ac_cv_lib_pcsclite_SCardEstablishContext=yes
16320 else $as_nop
16321 ac_cv_lib_pcsclite_SCardEstablishContext=no
16323 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16324 conftest$ac_exeext conftest.$ac_ext
16325 LIBS=$ac_check_lib_save_LIBS
16327 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcsclite_SCardEstablishContext" >&5
16328 printf "%s\n" "$ac_cv_lib_pcsclite_SCardEstablishContext" >&6; }
16329 if test "x$ac_cv_lib_pcsclite_SCardEstablishContext" = xyes
16330 then :
16331 PCSCLITE_LIBS="-lpcsclite"
16333 else $as_nop
16334 case $host_os in
16335 darwin*|macosx*) PCSCLITE_LIBS="-framework PCSC"
16337 esac
16341 if test "x$PCSCLITE_LIBS" = x
16342 then :
16343 case "x$with_pcsclite" in
16344 x) as_fn_append wine_notices "|libpcsclite not found, smart cards won't be supported." ;;
16345 xno) ;;
16346 *) as_fn_error $? "libpcsclite not found, smart cards won't be supported.
16347 This is an error since --with-pcsclite was requested." "$LINENO" 5 ;;
16348 esac
16349 enable_winscard=${enable_winscard:-no}
16352 if test "x$with_inotify" != "xno"
16353 then
16354 rm -f conftest.err
16355 if ${INOTIFY_CFLAGS:+false} :
16356 then :
16357 if test ${PKG_CONFIG+y}
16358 then :
16359 INOTIFY_CFLAGS=`$PKG_CONFIG --cflags libinotify 2>conftest.err`
16363 if ${INOTIFY_LIBS:+false} :
16364 then :
16365 if test ${PKG_CONFIG+y}
16366 then :
16367 INOTIFY_LIBS=`$PKG_CONFIG --libs libinotify 2>/dev/null`
16372 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
16373 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
16374 if test -s conftest.err; then
16375 printf %s "$as_me:${as_lineno-$LINENO}: libinotify errors: " >&5
16376 cat conftest.err >&5
16378 rm -f conftest.err
16379 ac_save_CPPFLAGS=$CPPFLAGS
16380 CPPFLAGS="$CPPFLAGS $INOTIFY_CFLAGS"
16381 ac_fn_c_check_header_compile "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
16382 if test "x$ac_cv_header_sys_inotify_h" = xyes
16383 then :
16384 printf "%s\n" "#define HAVE_SYS_INOTIFY_H 1" >>confdefs.h
16388 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
16389 printf %s "checking for inotify_add_watch in -linotify... " >&6; }
16390 if test ${ac_cv_lib_inotify_inotify_add_watch+y}
16391 then :
16392 printf %s "(cached) " >&6
16393 else $as_nop
16394 ac_check_lib_save_LIBS=$LIBS
16395 LIBS="-linotify $INOTIFY_LIBS $LIBS"
16396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16397 /* end confdefs.h. */
16399 /* Override any GCC internal prototype to avoid an error.
16400 Use char because int might match the return type of a GCC
16401 builtin and then its argument prototype would still apply. */
16402 char inotify_add_watch ();
16404 main (void)
16406 return inotify_add_watch ();
16408 return 0;
16410 _ACEOF
16411 if ac_fn_c_try_link "$LINENO"
16412 then :
16413 ac_cv_lib_inotify_inotify_add_watch=yes
16414 else $as_nop
16415 ac_cv_lib_inotify_inotify_add_watch=no
16417 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16418 conftest$ac_exeext conftest.$ac_ext
16419 LIBS=$ac_check_lib_save_LIBS
16421 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
16422 printf "%s\n" "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
16423 if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes
16424 then :
16426 else $as_nop
16427 INOTIFY_LIBS=""
16430 CPPFLAGS=$ac_save_CPPFLAGS
16433 if test "$ac_cv_header_sys_inotify_h" != "yes"
16434 then :
16435 case "x$with_inotify" in
16436 x) as_fn_append wine_notices "|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
16437 xno) ;;
16438 *) as_fn_error $? "libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
16439 This is an error since --with-inotify was requested." "$LINENO" 5 ;;
16440 esac
16444 if test "x$with_dbus" != "xno"
16445 then
16446 rm -f conftest.err
16447 if ${DBUS_CFLAGS:+false} :
16448 then :
16449 if test ${PKG_CONFIG+y}
16450 then :
16451 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>conftest.err`
16455 if ${DBUS_LIBS:+false} :
16456 then :
16457 if test ${PKG_CONFIG+y}
16458 then :
16459 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
16464 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
16465 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
16466 if test -s conftest.err; then
16467 printf %s "$as_me:${as_lineno-$LINENO}: dbus-1 errors: " >&5
16468 cat conftest.err >&5
16470 rm -f conftest.err
16471 ac_save_CPPFLAGS=$CPPFLAGS
16472 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
16473 ac_fn_c_check_header_compile "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
16474 if test "x$ac_cv_header_dbus_dbus_h" = xyes
16475 then :
16476 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
16477 printf %s "checking for -ldbus-1... " >&6; }
16478 if test ${ac_cv_lib_soname_dbus_1+y}
16479 then :
16480 printf %s "(cached) " >&6
16481 else $as_nop
16482 ac_check_soname_save_LIBS=$LIBS
16483 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
16484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16485 /* end confdefs.h. */
16487 /* Override any GCC internal prototype to avoid an error.
16488 Use char because int might match the return type of a GCC
16489 builtin and then its argument prototype would still apply. */
16490 char dbus_connection_close ();
16492 main (void)
16494 return dbus_connection_close ();
16496 return 0;
16498 _ACEOF
16499 if ac_fn_c_try_link "$LINENO"
16500 then :
16501 case "$LIBEXT" in
16502 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16503 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'` ;;
16504 *) 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'`
16505 if ${ac_cv_lib_soname_dbus_1:+false} :
16506 then :
16507 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16508 fi ;;
16509 esac
16510 else $as_nop
16511 ac_cv_lib_soname_dbus_1=
16513 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16514 conftest$ac_exeext conftest.$ac_ext
16515 LIBS=$ac_check_soname_save_LIBS
16517 if ${ac_cv_lib_soname_dbus_1:+false} :
16518 then :
16519 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16520 printf "%s\n" "not found" >&6; }
16521 DBUS_CFLAGS=""
16522 else $as_nop
16523 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
16524 printf "%s\n" "$ac_cv_lib_soname_dbus_1" >&6; }
16526 printf "%s\n" "#define SONAME_LIBDBUS_1 \"$ac_cv_lib_soname_dbus_1\"" >>confdefs.h
16530 else $as_nop
16531 DBUS_CFLAGS=""
16534 CPPFLAGS=$ac_save_CPPFLAGS
16537 case $host_os in
16538 darwin*|macosx*) ;;
16539 *) if test "x$ac_cv_lib_soname_dbus_1" = "x"
16540 then :
16541 case "x$with_dbus" in
16542 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
16543 xno) ;;
16544 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
16545 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
16546 esac
16548 fi ;;
16549 esac
16551 if test "x$with_gnutls" != "xno"
16552 then
16553 rm -f conftest.err
16554 if ${GNUTLS_CFLAGS:+false} :
16555 then :
16556 if test ${PKG_CONFIG+y}
16557 then :
16558 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>conftest.err`
16562 if ${GNUTLS_LIBS:+false} :
16563 then :
16564 if test ${PKG_CONFIG+y}
16565 then :
16566 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
16570 GNUTLS_LIBS=${GNUTLS_LIBS:-"-lgnutls"}
16571 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
16572 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
16573 if test -s conftest.err; then
16574 printf %s "$as_me:${as_lineno-$LINENO}: gnutls errors: " >&5
16575 cat conftest.err >&5
16577 rm -f conftest.err
16578 ac_save_CPPFLAGS=$CPPFLAGS
16579 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
16580 ac_fn_c_check_header_compile "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
16581 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
16582 then :
16583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16584 /* end confdefs.h. */
16585 #include <gnutls/gnutls.h>
16586 #include <gnutls/crypto.h>
16588 main (void)
16590 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
16592 return 0;
16594 _ACEOF
16595 if ac_fn_c_try_compile "$LINENO"
16596 then :
16597 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
16598 printf %s "checking for -lgnutls... " >&6; }
16599 if test ${ac_cv_lib_soname_gnutls+y}
16600 then :
16601 printf %s "(cached) " >&6
16602 else $as_nop
16603 ac_check_soname_save_LIBS=$LIBS
16604 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
16605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16606 /* end confdefs.h. */
16608 /* Override any GCC internal prototype to avoid an error.
16609 Use char because int might match the return type of a GCC
16610 builtin and then its argument prototype would still apply. */
16611 char gnutls_global_init ();
16613 main (void)
16615 return gnutls_global_init ();
16617 return 0;
16619 _ACEOF
16620 if ac_fn_c_try_link "$LINENO"
16621 then :
16622 case "$LIBEXT" in
16623 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16624 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'` ;;
16625 *) 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'`
16626 if ${ac_cv_lib_soname_gnutls:+false} :
16627 then :
16628 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'`
16629 fi ;;
16630 esac
16631 else $as_nop
16632 ac_cv_lib_soname_gnutls=
16634 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16635 conftest$ac_exeext conftest.$ac_ext
16636 LIBS=$ac_check_soname_save_LIBS
16638 if ${ac_cv_lib_soname_gnutls:+false} :
16639 then :
16640 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16641 printf "%s\n" "not found" >&6; }
16642 GNUTLS_CFLAGS=""
16643 else $as_nop
16644 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
16645 printf "%s\n" "$ac_cv_lib_soname_gnutls" >&6; }
16647 printf "%s\n" "#define SONAME_LIBGNUTLS \"$ac_cv_lib_soname_gnutls\"" >>confdefs.h
16651 ac_wine_check_funcs_save_LIBS="$LIBS"
16652 LIBS="$LIBS $GNUTLS_LIBS"
16654 for ac_func in gnutls_cipher_init
16655 do :
16656 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
16657 if test "x$ac_cv_func_gnutls_cipher_init" = xyes
16658 then :
16659 printf "%s\n" "#define HAVE_GNUTLS_CIPHER_INIT 1" >>confdefs.h
16661 else $as_nop
16662 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
16665 done
16666 LIBS="$ac_wine_check_funcs_save_LIBS"
16668 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
16669 else $as_nop
16670 GNUTLS_CFLAGS=""
16673 CPPFLAGS=$ac_save_CPPFLAGS
16676 if test "x$ac_cv_lib_soname_gnutls" = "x"
16677 then :
16678 case "x$with_gnutls" in
16679 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
16680 xno) ;;
16681 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
16682 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
16683 esac
16687 if test "x$with_sane" != "xno"
16688 then
16689 rm -f conftest.err
16690 if ${SANE_CFLAGS:+false} :
16691 then :
16692 if test ${PKG_CONFIG+y}
16693 then :
16694 SANE_CFLAGS=`$PKG_CONFIG --cflags sane-backends 2>conftest.err`
16697 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
16698 if ${SANE_LIBS:+false} :
16699 then :
16700 if test ${PKG_CONFIG+y}
16701 then :
16702 SANE_LIBS=`$PKG_CONFIG --libs sane-backends 2>/dev/null`
16705 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
16707 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends cflags: $SANE_CFLAGS" >&5
16708 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends libs: $SANE_LIBS" >&5
16709 if test -s conftest.err; then
16710 printf %s "$as_me:${as_lineno-$LINENO}: sane-backends errors: " >&5
16711 cat conftest.err >&5
16713 rm -f conftest.err
16714 ac_save_CPPFLAGS=$CPPFLAGS
16715 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
16716 ac_fn_c_check_header_compile "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
16717 if test "x$ac_cv_header_sane_sane_h" = xyes
16718 then :
16719 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sane_init in -lsane" >&5
16720 printf %s "checking for sane_init in -lsane... " >&6; }
16721 if test ${ac_cv_lib_sane_sane_init+y}
16722 then :
16723 printf %s "(cached) " >&6
16724 else $as_nop
16725 ac_check_lib_save_LIBS=$LIBS
16726 LIBS="-lsane $SANE_LIBS $LIBS"
16727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16728 /* end confdefs.h. */
16730 /* Override any GCC internal prototype to avoid an error.
16731 Use char because int might match the return type of a GCC
16732 builtin and then its argument prototype would still apply. */
16733 char sane_init ();
16735 main (void)
16737 return sane_init ();
16739 return 0;
16741 _ACEOF
16742 if ac_fn_c_try_link "$LINENO"
16743 then :
16744 ac_cv_lib_sane_sane_init=yes
16745 else $as_nop
16746 ac_cv_lib_sane_sane_init=no
16748 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16749 conftest$ac_exeext conftest.$ac_ext
16750 LIBS=$ac_check_lib_save_LIBS
16752 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sane_sane_init" >&5
16753 printf "%s\n" "$ac_cv_lib_sane_sane_init" >&6; }
16754 if test "x$ac_cv_lib_sane_sane_init" = xyes
16755 then :
16761 CPPFLAGS=$ac_save_CPPFLAGS
16764 if test "$ac_cv_lib_sane_sane_init" != "yes"
16765 then :
16766 case "x$with_sane" in
16767 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
16768 xno) ;;
16769 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
16770 This is an error since --with-sane was requested." "$LINENO" 5 ;;
16771 esac
16772 enable_sane_ds=${enable_sane_ds:-no}
16775 if test "x$with_usb" != "xno"
16776 then
16777 rm -f conftest.err
16778 if ${USB_CFLAGS:+false} :
16779 then :
16780 if test ${PKG_CONFIG+y}
16781 then :
16782 USB_CFLAGS=`$PKG_CONFIG --cflags libusb-1.0 2>conftest.err`
16786 if ${USB_LIBS:+false} :
16787 then :
16788 if test ${PKG_CONFIG+y}
16789 then :
16790 USB_LIBS=`$PKG_CONFIG --libs libusb-1.0 2>/dev/null`
16794 USB_LIBS=${USB_LIBS:-"-lusb-1.0"}
16795 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 cflags: $USB_CFLAGS" >&5
16796 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 libs: $USB_LIBS" >&5
16797 if test -s conftest.err; then
16798 printf %s "$as_me:${as_lineno-$LINENO}: libusb-1.0 errors: " >&5
16799 cat conftest.err >&5
16801 rm -f conftest.err
16802 ac_save_CPPFLAGS=$CPPFLAGS
16803 CPPFLAGS="$CPPFLAGS $USB_CFLAGS"
16804 ac_fn_c_check_header_compile "$LINENO" "libusb.h" "ac_cv_header_libusb_h" "$ac_includes_default"
16805 if test "x$ac_cv_header_libusb_h" = xyes
16806 then :
16807 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libusb_interrupt_event_handler in -lusb-1.0" >&5
16808 printf %s "checking for libusb_interrupt_event_handler in -lusb-1.0... " >&6; }
16809 if test ${ac_cv_lib_usb_1_0_libusb_interrupt_event_handler+y}
16810 then :
16811 printf %s "(cached) " >&6
16812 else $as_nop
16813 ac_check_lib_save_LIBS=$LIBS
16814 LIBS="-lusb-1.0 $USB_LIBS $LIBS"
16815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16816 /* end confdefs.h. */
16818 /* Override any GCC internal prototype to avoid an error.
16819 Use char because int might match the return type of a GCC
16820 builtin and then its argument prototype would still apply. */
16821 char libusb_interrupt_event_handler ();
16823 main (void)
16825 return libusb_interrupt_event_handler ();
16827 return 0;
16829 _ACEOF
16830 if ac_fn_c_try_link "$LINENO"
16831 then :
16832 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=yes
16833 else $as_nop
16834 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=no
16836 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16837 conftest$ac_exeext conftest.$ac_ext
16838 LIBS=$ac_check_lib_save_LIBS
16840 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&5
16841 printf "%s\n" "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&6; }
16842 if test "x$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" = xyes
16843 then :
16845 else $as_nop
16846 USB_LIBS=""
16849 else $as_nop
16850 USB_LIBS=""
16853 CPPFLAGS=$ac_save_CPPFLAGS
16856 if test "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" != "yes"
16857 then :
16858 case "x$with_usb" in
16859 x) as_fn_append wine_notices "|libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported." ;;
16860 xno) ;;
16861 *) as_fn_error $? "libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported.
16862 This is an error since --with-usb was requested." "$LINENO" 5 ;;
16863 esac
16864 enable_wineusb_sys=${enable_wineusb_sys:-no}
16867 if test "x$with_v4l2" != "xno"
16868 then
16869 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
16870 printf %s "checking for -lv4l2... " >&6; }
16871 if test ${ac_cv_lib_soname_v4l2+y}
16872 then :
16873 printf %s "(cached) " >&6
16874 else $as_nop
16875 ac_check_soname_save_LIBS=$LIBS
16876 LIBS="-lv4l2 $LIBS"
16877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16878 /* end confdefs.h. */
16880 /* Override any GCC internal prototype to avoid an error.
16881 Use char because int might match the return type of a GCC
16882 builtin and then its argument prototype would still apply. */
16883 char v4l2_open ();
16885 main (void)
16887 return v4l2_open ();
16889 return 0;
16891 _ACEOF
16892 if ac_fn_c_try_link "$LINENO"
16893 then :
16894 case "$LIBEXT" in
16895 dll) ac_cv_lib_soname_v4l2=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16896 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'` ;;
16897 *) ac_cv_lib_soname_v4l2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16898 if ${ac_cv_lib_soname_v4l2:+false} :
16899 then :
16900 ac_cv_lib_soname_v4l2=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16901 fi ;;
16902 esac
16903 else $as_nop
16904 ac_cv_lib_soname_v4l2=
16906 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16907 conftest$ac_exeext conftest.$ac_ext
16908 LIBS=$ac_check_soname_save_LIBS
16910 if ${ac_cv_lib_soname_v4l2:+false} :
16911 then :
16912 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16913 printf "%s\n" "not found" >&6; }
16915 else $as_nop
16916 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
16917 printf "%s\n" "$ac_cv_lib_soname_v4l2" >&6; }
16919 printf "%s\n" "#define SONAME_LIBV4L2 \"$ac_cv_lib_soname_v4l2\"" >>confdefs.h
16924 if test "x$ac_cv_lib_soname_v4l2" = "x"
16925 then :
16926 case "x$with_v4l2" in
16927 x) as_fn_append wine_notices "|libv4l2 ${notice_platform}development files not found." ;;
16928 xno) ;;
16929 *) as_fn_error $? "libv4l2 ${notice_platform}development files not found.
16930 This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
16931 esac
16935 if test "x$with_gphoto" != "xno"
16936 then
16937 rm -f conftest.err
16938 if ${GPHOTO2_CFLAGS:+false} :
16939 then :
16940 if test ${PKG_CONFIG+y}
16941 then :
16942 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>conftest.err`
16945 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
16946 if ${GPHOTO2_LIBS:+false} :
16947 then :
16948 if test ${PKG_CONFIG+y}
16949 then :
16950 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
16953 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
16954 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
16955 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
16956 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
16957 if test -s conftest.err; then
16958 printf %s "$as_me:${as_lineno-$LINENO}: libgphoto2 errors: " >&5
16959 cat conftest.err >&5
16961 rm -f conftest.err
16962 ac_save_CPPFLAGS=$CPPFLAGS
16963 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
16964 ac_fn_c_check_header_compile "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
16965 if test "x$ac_cv_header_gphoto2_camera_h" = xyes
16966 then :
16967 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
16968 printf %s "checking for gp_camera_new in -lgphoto2... " >&6; }
16969 if test ${ac_cv_lib_gphoto2_gp_camera_new+y}
16970 then :
16971 printf %s "(cached) " >&6
16972 else $as_nop
16973 ac_check_lib_save_LIBS=$LIBS
16974 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
16975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16976 /* end confdefs.h. */
16978 /* Override any GCC internal prototype to avoid an error.
16979 Use char because int might match the return type of a GCC
16980 builtin and then its argument prototype would still apply. */
16981 char gp_camera_new ();
16983 main (void)
16985 return gp_camera_new ();
16987 return 0;
16989 _ACEOF
16990 if ac_fn_c_try_link "$LINENO"
16991 then :
16992 ac_cv_lib_gphoto2_gp_camera_new=yes
16993 else $as_nop
16994 ac_cv_lib_gphoto2_gp_camera_new=no
16996 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16997 conftest$ac_exeext conftest.$ac_ext
16998 LIBS=$ac_check_lib_save_LIBS
17000 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
17001 printf "%s\n" "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
17002 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
17003 then :
17009 CPPFLAGS=$ac_save_CPPFLAGS
17011 rm -f conftest.err
17012 if ${GPHOTO2_PORT_CFLAGS:+false} :
17013 then :
17014 if test ${PKG_CONFIG+y}
17015 then :
17016 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>conftest.err`
17019 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
17020 if ${GPHOTO2_PORT_LIBS:+false} :
17021 then :
17022 if test ${PKG_CONFIG+y}
17023 then :
17024 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
17027 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
17028 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
17029 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
17030 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
17031 if test -s conftest.err; then
17032 printf %s "$as_me:${as_lineno-$LINENO}: libgphoto2_port errors: " >&5
17033 cat conftest.err >&5
17035 rm -f conftest.err
17036 ac_save_CPPFLAGS=$CPPFLAGS
17037 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
17038 ac_fn_c_check_header_compile "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
17039 if test "x$ac_cv_header_gphoto2_port_h" = xyes
17040 then :
17041 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
17042 printf %s "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
17043 if test ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+y}
17044 then :
17045 printf %s "(cached) " >&6
17046 else $as_nop
17047 ac_check_lib_save_LIBS=$LIBS
17048 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
17049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17050 /* end confdefs.h. */
17052 /* Override any GCC internal prototype to avoid an error.
17053 Use char because int might match the return type of a GCC
17054 builtin and then its argument prototype would still apply. */
17055 char gp_port_info_list_new ();
17057 main (void)
17059 return gp_port_info_list_new ();
17061 return 0;
17063 _ACEOF
17064 if ac_fn_c_try_link "$LINENO"
17065 then :
17066 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
17067 else $as_nop
17068 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
17070 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17071 conftest$ac_exeext conftest.$ac_ext
17072 LIBS=$ac_check_lib_save_LIBS
17074 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
17075 printf "%s\n" "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
17076 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes
17077 then :
17079 printf "%s\n" "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
17081 else $as_nop
17082 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
17085 else $as_nop
17086 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
17089 CPPFLAGS=$ac_save_CPPFLAGS
17092 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"
17093 then :
17094 case "x$with_gphoto" in
17095 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
17096 xno) ;;
17097 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
17098 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
17099 esac
17100 enable_gphoto2_ds=${enable_gphoto2_ds:-no}
17102 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"
17103 then :
17104 case "x$with_gphoto" in
17105 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
17106 xno) ;;
17107 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
17108 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
17109 esac
17114 if test "$ac_cv_header_resolv_h" = "yes"
17115 then
17116 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
17117 printf %s "checking for resolver library... " >&6; }
17118 if test ${ac_cv_have_resolv+y}
17119 then :
17120 printf %s "(cached) " >&6
17121 else $as_nop
17122 ac_save_LIBS="$LIBS"
17123 for lib in '' -lresolv
17125 LIBS="$lib $ac_save_LIBS"
17126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17127 /* end confdefs.h. */
17128 #ifdef HAVE_NETINET_IN_H
17129 #include <netinet/in.h>
17130 #endif
17131 #include <resolv.h>
17133 main (void)
17135 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0); ns_initparse(0,0,0)
17137 return 0;
17139 _ACEOF
17140 if ac_fn_c_try_link "$LINENO"
17141 then :
17142 ac_cv_have_resolv=${lib:-"none required"}
17143 else $as_nop
17144 ac_cv_have_resolv="not found"
17146 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17147 conftest$ac_exeext conftest.$ac_ext
17148 test "x$ac_cv_have_resolv" = "xnot found" || break
17149 done
17150 LIBS="$ac_save_LIBS"
17152 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
17153 printf "%s\n" "$ac_cv_have_resolv" >&6; }
17155 case "$ac_cv_have_resolv" in
17156 "not found") ;;
17157 "none required")
17159 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
17162 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
17164 RESOLV_LIBS=$ac_cv_have_resolv
17166 esac
17168 if test "x$ac_cv_have_resolv" != "xnot found"
17169 then
17170 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for res_getservers" >&5
17171 printf %s "checking for res_getservers... " >&6; }
17172 if test ${ac_cv_have_res_getservers+y}
17173 then :
17174 printf %s "(cached) " >&6
17175 else $as_nop
17176 ac_save_LIBS="$LIBS"
17177 LIBS="$RESOLV_LIBS $LIBS"
17178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17179 /* end confdefs.h. */
17180 #include <resolv.h>
17182 main (void)
17184 res_getservers(NULL, NULL, 0);
17186 return 0;
17188 _ACEOF
17189 if ac_fn_c_try_link "$LINENO"
17190 then :
17191 ac_cv_have_res_getservers=yes
17192 else $as_nop
17193 ac_cv_have_res_getservers=no
17195 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17196 conftest$ac_exeext conftest.$ac_ext
17197 LIBS="$ac_save_LIBS"
17199 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_res_getservers" >&5
17200 printf "%s\n" "$ac_cv_have_res_getservers" >&6; }
17201 if test "$ac_cv_have_res_getservers" = "yes"
17202 then
17204 printf "%s\n" "#define HAVE_RES_GETSERVERS 1" >>confdefs.h
17210 if test "x$with_freetype" != "xno"
17211 then
17212 rm -f conftest.err
17213 if ${FREETYPE_CFLAGS:+false} :
17214 then :
17215 if test ${PKG_CONFIG+y}
17216 then :
17217 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>conftest.err`
17220 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
17221 if ${FREETYPE_LIBS:+false} :
17222 then :
17223 if test ${PKG_CONFIG+y}
17224 then :
17225 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
17228 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
17229 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
17230 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
17231 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
17232 if test -s conftest.err; then
17233 printf %s "$as_me:${as_lineno-$LINENO}: freetype2 errors: " >&5
17234 cat conftest.err >&5
17236 rm -f conftest.err
17237 ac_save_CPPFLAGS=$CPPFLAGS
17238 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
17239 ac_fn_c_check_header_compile "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
17240 if test "x$ac_cv_header_ft2build_h" = xyes
17241 then :
17242 printf "%s\n" "#define HAVE_FT2BUILD_H 1" >>confdefs.h
17246 if test "$ac_cv_header_ft2build_h" = "yes"
17247 then
17248 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
17249 printf %s "checking for -lfreetype... " >&6; }
17250 if test ${ac_cv_lib_soname_freetype+y}
17251 then :
17252 printf %s "(cached) " >&6
17253 else $as_nop
17254 ac_check_soname_save_LIBS=$LIBS
17255 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
17256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17257 /* end confdefs.h. */
17259 /* Override any GCC internal prototype to avoid an error.
17260 Use char because int might match the return type of a GCC
17261 builtin and then its argument prototype would still apply. */
17262 char FT_Init_FreeType ();
17264 main (void)
17266 return FT_Init_FreeType ();
17268 return 0;
17270 _ACEOF
17271 if ac_fn_c_try_link "$LINENO"
17272 then :
17273 case "$LIBEXT" in
17274 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17275 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'` ;;
17276 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17277 if ${ac_cv_lib_soname_freetype:+false} :
17278 then :
17279 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17280 fi ;;
17281 esac
17282 else $as_nop
17283 ac_cv_lib_soname_freetype=
17285 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17286 conftest$ac_exeext conftest.$ac_ext
17287 LIBS=$ac_check_soname_save_LIBS
17289 if ${ac_cv_lib_soname_freetype:+false} :
17290 then :
17291 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17292 printf "%s\n" "not found" >&6; }
17293 FREETYPE_LIBS=""
17294 else $as_nop
17295 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
17296 printf "%s\n" "$ac_cv_lib_soname_freetype" >&6; }
17298 printf "%s\n" "#define SONAME_LIBFREETYPE \"$ac_cv_lib_soname_freetype\"" >>confdefs.h
17301 printf "%s\n" "#define HAVE_FREETYPE 1" >>confdefs.h
17303 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
17304 #include FT_MODULE_H
17306 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
17307 then :
17309 printf "%s\n" "#define HAVE_FT_TRUETYPEENGINETYPE 1" >>confdefs.h
17315 else
17316 FREETYPE_CFLAGS=""
17317 FREETYPE_LIBS=""
17319 CPPFLAGS=$ac_save_CPPFLAGS
17322 if test "x$ac_cv_lib_soname_freetype" = x
17323 then :
17324 case "x$with_freetype" in
17325 xno) ;;
17326 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
17327 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
17328 esac
17329 enable_fonts=${enable_fonts:-no}
17332 ac_wine_check_funcs_save_LIBS="$LIBS"
17333 LIBS="$LIBS $PTHREAD_LIBS"
17334 ac_fn_c_check_func "$LINENO" "pthread_getthreadid_np" "ac_cv_func_pthread_getthreadid_np"
17335 if test "x$ac_cv_func_pthread_getthreadid_np" = xyes
17336 then :
17337 printf "%s\n" "#define HAVE_PTHREAD_GETTHREADID_NP 1" >>confdefs.h
17341 LIBS="$ac_wine_check_funcs_save_LIBS"
17343 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
17344 then
17345 if test "$ac_cv_header_gettext_po_h" = "yes"
17346 then
17347 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
17348 printf %s "checking for po_message_msgctxt in -lgettextpo... " >&6; }
17349 if test ${ac_cv_lib_gettextpo_po_message_msgctxt+y}
17350 then :
17351 printf %s "(cached) " >&6
17352 else $as_nop
17353 ac_check_lib_save_LIBS=$LIBS
17354 LIBS="-lgettextpo $LIBS"
17355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17356 /* end confdefs.h. */
17358 /* Override any GCC internal prototype to avoid an error.
17359 Use char because int might match the return type of a GCC
17360 builtin and then its argument prototype would still apply. */
17361 char po_message_msgctxt ();
17363 main (void)
17365 return po_message_msgctxt ();
17367 return 0;
17369 _ACEOF
17370 if ac_fn_c_try_link "$LINENO"
17371 then :
17372 ac_cv_lib_gettextpo_po_message_msgctxt=yes
17373 else $as_nop
17374 ac_cv_lib_gettextpo_po_message_msgctxt=no
17376 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17377 conftest$ac_exeext conftest.$ac_ext
17378 LIBS=$ac_check_lib_save_LIBS
17380 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
17381 printf "%s\n" "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
17382 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
17383 then :
17385 printf "%s\n" "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
17387 GETTEXTPO_LIBS="-lgettextpo"
17392 if test "x$GETTEXTPO_LIBS" = "x"
17393 then :
17394 case "x$with_gettextpo" in
17395 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
17396 xno) ;;
17397 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
17398 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
17399 esac
17402 if test "$srcdir" != .
17403 then :
17404 case "x$with_gettextpo" in
17405 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
17406 xno) ;;
17407 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
17408 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
17409 esac
17414 if test "x$with_pulse" != "xno";
17415 then
17416 rm -f conftest.err
17417 if ${PULSE_CFLAGS:+false} :
17418 then :
17419 if test ${PKG_CONFIG+y}
17420 then :
17421 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>conftest.err`
17425 if ${PULSE_LIBS:+false} :
17426 then :
17427 if test ${PKG_CONFIG+y}
17428 then :
17429 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
17434 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
17435 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
17436 if test -s conftest.err; then
17437 printf %s "$as_me:${as_lineno-$LINENO}: libpulse errors: " >&5
17438 cat conftest.err >&5
17440 rm -f conftest.err
17441 ac_save_CPPFLAGS=$CPPFLAGS
17442 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
17443 ac_fn_c_check_header_compile "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
17444 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes
17445 then :
17446 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
17447 printf %s "checking for pa_stream_is_corked in -lpulse... " >&6; }
17448 if test ${ac_cv_lib_pulse_pa_stream_is_corked+y}
17449 then :
17450 printf %s "(cached) " >&6
17451 else $as_nop
17452 ac_check_lib_save_LIBS=$LIBS
17453 LIBS="-lpulse $PULSE_LIBS $LIBS"
17454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17455 /* end confdefs.h. */
17457 /* Override any GCC internal prototype to avoid an error.
17458 Use char because int might match the return type of a GCC
17459 builtin and then its argument prototype would still apply. */
17460 char pa_stream_is_corked ();
17462 main (void)
17464 return pa_stream_is_corked ();
17466 return 0;
17468 _ACEOF
17469 if ac_fn_c_try_link "$LINENO"
17470 then :
17471 ac_cv_lib_pulse_pa_stream_is_corked=yes
17472 else $as_nop
17473 ac_cv_lib_pulse_pa_stream_is_corked=no
17475 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17476 conftest$ac_exeext conftest.$ac_ext
17477 LIBS=$ac_check_lib_save_LIBS
17479 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
17480 printf "%s\n" "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
17481 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes
17482 then :
17484 else $as_nop
17485 PULSE_LIBS=""
17488 else $as_nop
17489 PULSE_LIBS=""
17492 CPPFLAGS=$ac_save_CPPFLAGS
17495 if test -z "$PULSE_LIBS"
17496 then :
17497 case "x$with_pulse" in
17498 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
17499 xno) ;;
17500 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
17501 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
17502 esac
17503 enable_winepulse_drv=${enable_winepulse_drv:-no}
17506 if test "x$with_gstreamer" != "xno"
17507 then
17508 rm -f conftest.err
17509 if ${GSTREAMER_CFLAGS:+false} :
17510 then :
17511 if test ${PKG_CONFIG+y}
17512 then :
17513 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 2>conftest.err`
17517 if ${GSTREAMER_LIBS:+false} :
17518 then :
17519 if test ${PKG_CONFIG+y}
17520 then :
17521 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 2>/dev/null`
17526 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
17527 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
17528 if test -s conftest.err; then
17529 printf %s "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 errors: " >&5
17530 cat conftest.err >&5
17532 rm -f conftest.err
17533 ac_save_CPPFLAGS=$CPPFLAGS
17534 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
17535 ac_fn_c_check_header_compile "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
17536 if test "x$ac_cv_header_gst_gst_h" = xyes
17537 then :
17538 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
17539 printf %s "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
17540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17541 /* end confdefs.h. */
17542 #include <gst/gst.h>
17544 main (void)
17546 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
17548 return 0;
17550 _ACEOF
17551 if ac_fn_c_try_compile "$LINENO"
17552 then :
17553 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17554 printf "%s\n" "yes" >&6; }
17555 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
17556 printf %s "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
17557 if test ${ac_cv_lib_gstreamer_1_0_gst_pad_new+y}
17558 then :
17559 printf %s "(cached) " >&6
17560 else $as_nop
17561 ac_check_lib_save_LIBS=$LIBS
17562 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
17563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17564 /* end confdefs.h. */
17566 /* Override any GCC internal prototype to avoid an error.
17567 Use char because int might match the return type of a GCC
17568 builtin and then its argument prototype would still apply. */
17569 char gst_pad_new ();
17571 main (void)
17573 return gst_pad_new ();
17575 return 0;
17577 _ACEOF
17578 if ac_fn_c_try_link "$LINENO"
17579 then :
17580 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
17581 else $as_nop
17582 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
17584 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17585 conftest$ac_exeext conftest.$ac_ext
17586 LIBS=$ac_check_lib_save_LIBS
17588 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
17589 printf "%s\n" "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
17590 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes
17591 then :
17595 else $as_nop
17596 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
17597 printf "%s\n" "no" >&6; }
17598 ac_glib2_broken=yes
17599 enable_winegstreamer=${enable_winegstreamer:-no}
17600 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
17602 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
17605 CPPFLAGS=$ac_save_CPPFLAGS
17608 if test "x$ac_glib2_broken" != xyes -a "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" != xyes
17609 then :
17610 case "x$with_gstreamer" in
17611 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
17612 xno) ;;
17613 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
17614 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
17615 esac
17616 enable_winegstreamer=${enable_winegstreamer:-no}
17619 ALSA_LIBS=""
17621 if test "x$with_alsa" != "xno"
17622 then
17623 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
17624 printf %s "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
17625 if test ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+y}
17626 then :
17627 printf %s "(cached) " >&6
17628 else $as_nop
17629 ac_check_lib_save_LIBS=$LIBS
17630 LIBS="-lasound $LIBS"
17631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17632 /* end confdefs.h. */
17634 /* Override any GCC internal prototype to avoid an error.
17635 Use char because int might match the return type of a GCC
17636 builtin and then its argument prototype would still apply. */
17637 char snd_pcm_hw_params_get_access_mask ();
17639 main (void)
17641 return snd_pcm_hw_params_get_access_mask ();
17643 return 0;
17645 _ACEOF
17646 if ac_fn_c_try_link "$LINENO"
17647 then :
17648 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
17649 else $as_nop
17650 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
17652 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17653 conftest$ac_exeext conftest.$ac_ext
17654 LIBS=$ac_check_lib_save_LIBS
17656 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
17657 printf "%s\n" "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
17658 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
17659 then :
17660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17661 /* end confdefs.h. */
17662 #include <alsa/asoundlib.h>
17664 main (void)
17666 snd_pcm_hw_params_get_access_mask(NULL, NULL)
17668 return 0;
17670 _ACEOF
17671 if ac_fn_c_try_compile "$LINENO"
17672 then :
17673 ALSA_LIBS="-lasound"
17675 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
17679 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
17681 if test "x$with_oss" != xno
17682 then
17683 ac_save_CPPFLAGS="$CPPFLAGS"
17684 if test -f /etc/oss.conf
17685 then
17686 . /etc/oss.conf
17688 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
17689 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
17690 ac_fn_c_check_header_compile "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
17691 if test "x$ac_cv_header_sys_soundcard_h" = xyes
17692 then :
17693 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
17695 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
17696 then :
17698 printf "%s\n" "#define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1" >>confdefs.h
17700 OSS4_CFLAGS="$ac_oss_incl"
17702 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
17703 printf %s "checking for _oss_ioctl in -lossaudio... " >&6; }
17704 if test ${ac_cv_lib_ossaudio__oss_ioctl+y}
17705 then :
17706 printf %s "(cached) " >&6
17707 else $as_nop
17708 ac_check_lib_save_LIBS=$LIBS
17709 LIBS="-lossaudio $LIBS"
17710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17711 /* end confdefs.h. */
17713 /* Override any GCC internal prototype to avoid an error.
17714 Use char because int might match the return type of a GCC
17715 builtin and then its argument prototype would still apply. */
17716 char _oss_ioctl ();
17718 main (void)
17720 return _oss_ioctl ();
17722 return 0;
17724 _ACEOF
17725 if ac_fn_c_try_link "$LINENO"
17726 then :
17727 ac_cv_lib_ossaudio__oss_ioctl=yes
17728 else $as_nop
17729 ac_cv_lib_ossaudio__oss_ioctl=no
17731 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17732 conftest$ac_exeext conftest.$ac_ext
17733 LIBS=$ac_check_lib_save_LIBS
17735 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
17736 printf "%s\n" "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
17737 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
17738 then :
17739 OSS4_LIBS="-lossaudio"
17747 CPPFLAGS="$ac_save_CPPFLAGS"
17749 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
17750 then :
17751 case "x$with_oss" in
17752 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
17753 xno) ;;
17754 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
17755 This is an error since --with-oss was requested." "$LINENO" 5 ;;
17756 esac
17757 enable_wineoss_drv=${enable_wineoss_drv:-no}
17760 if test "x$with_udev" != "xno"
17761 then
17762 rm -f conftest.err
17763 if ${UDEV_CFLAGS:+false} :
17764 then :
17765 if test ${PKG_CONFIG+y}
17766 then :
17767 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>conftest.err`
17771 if ${UDEV_LIBS:+false} :
17772 then :
17773 if test ${PKG_CONFIG+y}
17774 then :
17775 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
17779 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
17780 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
17781 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
17782 if test -s conftest.err; then
17783 printf %s "$as_me:${as_lineno-$LINENO}: libudev errors: " >&5
17784 cat conftest.err >&5
17786 rm -f conftest.err
17787 ac_save_CPPFLAGS=$CPPFLAGS
17788 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
17789 for ac_header in libudev.h
17790 do :
17791 ac_fn_c_check_header_compile "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
17792 if test "x$ac_cv_header_libudev_h" = xyes
17793 then :
17794 printf "%s\n" "#define HAVE_LIBUDEV_H 1" >>confdefs.h
17795 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
17796 printf %s "checking for udev_new in -ludev... " >&6; }
17797 if test ${ac_cv_lib_udev_udev_new+y}
17798 then :
17799 printf %s "(cached) " >&6
17800 else $as_nop
17801 ac_check_lib_save_LIBS=$LIBS
17802 LIBS="-ludev $UDEV_LIBS $LIBS"
17803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17804 /* end confdefs.h. */
17806 /* Override any GCC internal prototype to avoid an error.
17807 Use char because int might match the return type of a GCC
17808 builtin and then its argument prototype would still apply. */
17809 char udev_new ();
17811 main (void)
17813 return udev_new ();
17815 return 0;
17817 _ACEOF
17818 if ac_fn_c_try_link "$LINENO"
17819 then :
17820 ac_cv_lib_udev_udev_new=yes
17821 else $as_nop
17822 ac_cv_lib_udev_udev_new=no
17824 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17825 conftest$ac_exeext conftest.$ac_ext
17826 LIBS=$ac_check_lib_save_LIBS
17828 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
17829 printf "%s\n" "$ac_cv_lib_udev_udev_new" >&6; }
17830 if test "x$ac_cv_lib_udev_udev_new" = xyes
17831 then :
17833 printf "%s\n" "#define HAVE_UDEV 1" >>confdefs.h
17835 else $as_nop
17836 UDEV_LIBS=""
17839 else $as_nop
17840 UDEV_LIBS=""
17843 done
17844 CPPFLAGS=$ac_save_CPPFLAGS
17847 if test "x$UDEV_LIBS" = "x"
17848 then :
17849 case "x$with_udev" in
17850 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
17851 xno) ;;
17852 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
17853 This is an error since --with-udev was requested." "$LINENO" 5 ;;
17854 esac
17858 if test $HOST_ARCH = x86_64
17859 then
17860 if test "x$with_unwind" != xno
17861 then
17862 rm -f conftest.err
17863 if ${UNWIND_CFLAGS:+false} :
17864 then :
17865 if test ${PKG_CONFIG+y}
17866 then :
17867 UNWIND_CFLAGS=`$PKG_CONFIG --cflags libunwind 2>conftest.err`
17871 if ${UNWIND_LIBS:+false} :
17872 then :
17873 if test ${PKG_CONFIG+y}
17874 then :
17875 UNWIND_LIBS=`$PKG_CONFIG --libs libunwind 2>/dev/null`
17879 UNWIND_LIBS=${UNWIND_LIBS:-"-lunwind"}
17880 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind cflags: $UNWIND_CFLAGS" >&5
17881 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind libs: $UNWIND_LIBS" >&5
17882 if test -s conftest.err; then
17883 printf %s "$as_me:${as_lineno-$LINENO}: libunwind errors: " >&5
17884 cat conftest.err >&5
17886 rm -f conftest.err
17887 ac_save_CPPFLAGS=$CPPFLAGS
17888 CPPFLAGS="$CPPFLAGS $UNWIND_CFLAGS"
17889 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step" >&5
17890 printf %s "checking for unw_step... " >&6; }
17891 if test ${wine_cv_have_unw_step+y}
17892 then :
17893 printf %s "(cached) " >&6
17894 else $as_nop
17895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17896 /* end confdefs.h. */
17897 #define UNW_LOCAL_ONLY
17898 #include <libunwind.h>
17900 main (void)
17902 unw_cursor_t cursor; unw_step( &cursor );
17904 return 0;
17906 _ACEOF
17907 if ac_fn_c_try_link "$LINENO"
17908 then :
17909 wine_cv_have_unw_step="yes"
17910 else $as_nop
17911 wine_cv_have_unw_step="no"
17913 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17914 conftest$ac_exeext conftest.$ac_ext
17916 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_unw_step" >&5
17917 printf "%s\n" "$wine_cv_have_unw_step" >&6; }
17918 if test "$wine_cv_have_unw_step" = no -a -n "$UNWIND_LIBS"
17919 then
17920 save_libs=$LIBS
17921 UNWIND_LIBS="-static-libgcc $UNWIND_LIBS"
17922 LIBS="$UNWIND_LIBS $LIBS"
17923 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step in libunwind" >&5
17924 printf %s "checking for unw_step in libunwind... " >&6; }
17925 if test ${wine_cv_have_libunwind_unw_step+y}
17926 then :
17927 printf %s "(cached) " >&6
17928 else $as_nop
17929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17930 /* end confdefs.h. */
17931 #define UNW_LOCAL_ONLY
17932 #include <libunwind.h>
17934 main (void)
17936 unw_cursor_t cursor; unw_step( &cursor );
17938 return 0;
17940 _ACEOF
17941 if ac_fn_c_try_link "$LINENO"
17942 then :
17943 wine_cv_have_libunwind_unw_step="yes"
17944 else $as_nop
17945 wine_cv_have_libunwind_unw_step="no"
17947 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17948 conftest$ac_exeext conftest.$ac_ext
17950 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_libunwind_unw_step" >&5
17951 printf "%s\n" "$wine_cv_have_libunwind_unw_step" >&6; }
17952 LIBS=$save_libs
17954 test "$wine_cv_have_libunwind_unw_step" = yes || UNWIND_LIBS=""
17955 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" != xnono
17956 then
17958 printf "%s\n" "#define HAVE_LIBUNWIND 1" >>confdefs.h
17961 CPPFLAGS=$ac_save_CPPFLAGS
17964 case $host in
17965 *-darwin*)
17966 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" = xnono
17967 then :
17968 case "x$with_unwind" in
17969 x) as_fn_append wine_notices "|libunwind ${notice_platform}development files not found, stack unwinding won't work." ;;
17970 xno) ;;
17971 *) as_fn_error $? "libunwind ${notice_platform}development files not found, stack unwinding won't work.
17972 This is an error since --with-unwind was requested." "$LINENO" 5 ;;
17973 esac
17975 fi ;;
17976 esac
17979 if test "x$with_sdl" != "xno"
17980 then
17981 rm -f conftest.err
17982 if ${SDL2_CFLAGS:+false} :
17983 then :
17984 if test ${PKG_CONFIG+y}
17985 then :
17986 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>conftest.err`
17990 if ${SDL2_LIBS:+false} :
17991 then :
17992 if test ${PKG_CONFIG+y}
17993 then :
17994 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
17998 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
17999 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
18000 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
18001 if test -s conftest.err; then
18002 printf %s "$as_me:${as_lineno-$LINENO}: sdl2 errors: " >&5
18003 cat conftest.err >&5
18005 rm -f conftest.err
18006 ac_save_CPPFLAGS=$CPPFLAGS
18007 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
18008 for ac_header in SDL.h
18009 do :
18010 ac_fn_c_check_header_compile "$LINENO" "SDL.h" "ac_cv_header_SDL_h" "$ac_includes_default"
18011 if test "x$ac_cv_header_SDL_h" = xyes
18012 then :
18013 printf "%s\n" "#define HAVE_SDL_H 1" >>confdefs.h
18014 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
18015 printf %s "checking for -lSDL2... " >&6; }
18016 if test ${ac_cv_lib_soname_SDL2+y}
18017 then :
18018 printf %s "(cached) " >&6
18019 else $as_nop
18020 ac_check_soname_save_LIBS=$LIBS
18021 LIBS="-lSDL2 $SDL2_LIBS $LIBS"
18022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18023 /* end confdefs.h. */
18025 /* Override any GCC internal prototype to avoid an error.
18026 Use char because int might match the return type of a GCC
18027 builtin and then its argument prototype would still apply. */
18028 char SDL_Init ();
18030 main (void)
18032 return SDL_Init ();
18034 return 0;
18036 _ACEOF
18037 if ac_fn_c_try_link "$LINENO"
18038 then :
18039 case "$LIBEXT" in
18040 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18041 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'` ;;
18042 *) 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'`
18043 if ${ac_cv_lib_soname_SDL2:+false} :
18044 then :
18045 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18046 fi ;;
18047 esac
18048 else $as_nop
18049 ac_cv_lib_soname_SDL2=
18051 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18052 conftest$ac_exeext conftest.$ac_ext
18053 LIBS=$ac_check_soname_save_LIBS
18055 if ${ac_cv_lib_soname_SDL2:+false} :
18056 then :
18057 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18058 printf "%s\n" "not found" >&6; }
18060 else $as_nop
18061 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
18062 printf "%s\n" "$ac_cv_lib_soname_SDL2" >&6; }
18064 printf "%s\n" "#define SONAME_LIBSDL2 \"$ac_cv_lib_soname_SDL2\"" >>confdefs.h
18070 done
18071 CPPFLAGS=$ac_save_CPPFLAGS
18074 if test "x$ac_cv_lib_soname_SDL2" = "x"
18075 then :
18076 case "x$with_sdl" in
18077 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
18078 xno) ;;
18079 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
18080 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
18081 esac
18085 if test "x$with_capi" != "xno"
18086 then
18087 rm -f conftest.err
18088 if ${CAPI20_CFLAGS:+false} :
18089 then :
18090 if test ${PKG_CONFIG+y}
18091 then :
18092 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>conftest.err`
18096 if ${CAPI20_LIBS:+false} :
18097 then :
18098 if test ${PKG_CONFIG+y}
18099 then :
18100 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
18105 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
18106 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
18107 if test -s conftest.err; then
18108 printf %s "$as_me:${as_lineno-$LINENO}: capi20 errors: " >&5
18109 cat conftest.err >&5
18111 rm -f conftest.err
18112 ac_save_CPPFLAGS=$CPPFLAGS
18113 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
18114 ac_fn_c_check_header_compile "$LINENO" "capi20.h" "ac_cv_header_capi20_h" "#define __user
18116 if test "x$ac_cv_header_capi20_h" = xyes
18117 then :
18118 printf "%s\n" "#define HAVE_CAPI20_H 1" >>confdefs.h
18121 ac_fn_c_check_header_compile "$LINENO" "linux/capi.h" "ac_cv_header_linux_capi_h" "#define __user
18123 if test "x$ac_cv_header_linux_capi_h" = xyes
18124 then :
18125 printf "%s\n" "#define HAVE_LINUX_CAPI_H 1" >>confdefs.h
18129 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
18130 then
18131 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for capi20_register in -lcapi20" >&5
18132 printf %s "checking for capi20_register in -lcapi20... " >&6; }
18133 if test ${ac_cv_lib_capi20_capi20_register+y}
18134 then :
18135 printf %s "(cached) " >&6
18136 else $as_nop
18137 ac_check_lib_save_LIBS=$LIBS
18138 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
18139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18140 /* end confdefs.h. */
18142 /* Override any GCC internal prototype to avoid an error.
18143 Use char because int might match the return type of a GCC
18144 builtin and then its argument prototype would still apply. */
18145 char capi20_register ();
18147 main (void)
18149 return capi20_register ();
18151 return 0;
18153 _ACEOF
18154 if ac_fn_c_try_link "$LINENO"
18155 then :
18156 ac_cv_lib_capi20_capi20_register=yes
18157 else $as_nop
18158 ac_cv_lib_capi20_capi20_register=no
18160 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18161 conftest$ac_exeext conftest.$ac_ext
18162 LIBS=$ac_check_lib_save_LIBS
18164 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_capi20_capi20_register" >&5
18165 printf "%s\n" "$ac_cv_lib_capi20_capi20_register" >&6; }
18166 if test "x$ac_cv_lib_capi20_capi20_register" = xyes
18167 then :
18169 else $as_nop
18170 CAPI20_LIBS=""
18174 CPPFLAGS=$ac_save_CPPFLAGS
18177 if test "x$ac_cv_lib_capi20_capi20_register" != xyes
18178 then :
18179 case "x$with_capi" in
18180 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
18181 xno) ;;
18182 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
18183 This is an error since --with-capi was requested." "$LINENO" 5 ;;
18184 esac
18185 enable_capi2032=${enable_capi2032:-no}
18188 if test "x$with_cups" != "xno"
18189 then
18190 rm -f conftest.err
18191 if ${CUPS_CFLAGS:+false} :
18192 then :
18193 if test ${PKG_CONFIG+y}
18194 then :
18195 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>conftest.err`
18198 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
18199 if ${CUPS_LIBS:+false} :
18200 then :
18201 if test ${PKG_CONFIG+y}
18202 then :
18203 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
18206 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
18207 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
18208 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
18209 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
18210 if test -s conftest.err; then
18211 printf %s "$as_me:${as_lineno-$LINENO}: cups errors: " >&5
18212 cat conftest.err >&5
18214 rm -f conftest.err
18215 ac_save_CPPFLAGS=$CPPFLAGS
18216 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
18217 ac_fn_c_check_header_compile "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
18218 if test "x$ac_cv_header_cups_cups_h" = xyes
18219 then :
18220 printf "%s\n" "#define HAVE_CUPS_CUPS_H 1" >>confdefs.h
18223 ac_fn_c_check_header_compile "$LINENO" "cups/ppd.h" "ac_cv_header_cups_ppd_h" "$ac_includes_default"
18224 if test "x$ac_cv_header_cups_ppd_h" = xyes
18225 then :
18226 printf "%s\n" "#define HAVE_CUPS_PPD_H 1" >>confdefs.h
18230 if test "$ac_cv_header_cups_cups_h" = "yes"
18231 then
18232 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
18233 printf %s "checking for -lcups... " >&6; }
18234 if test ${ac_cv_lib_soname_cups+y}
18235 then :
18236 printf %s "(cached) " >&6
18237 else $as_nop
18238 ac_check_soname_save_LIBS=$LIBS
18239 LIBS="-lcups $CUPS_LIBS $LIBS"
18240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18241 /* end confdefs.h. */
18243 /* Override any GCC internal prototype to avoid an error.
18244 Use char because int might match the return type of a GCC
18245 builtin and then its argument prototype would still apply. */
18246 char cupsGetDefault ();
18248 main (void)
18250 return cupsGetDefault ();
18252 return 0;
18254 _ACEOF
18255 if ac_fn_c_try_link "$LINENO"
18256 then :
18257 case "$LIBEXT" in
18258 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18259 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'` ;;
18260 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18261 if ${ac_cv_lib_soname_cups:+false} :
18262 then :
18263 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18264 fi ;;
18265 esac
18266 else $as_nop
18267 ac_cv_lib_soname_cups=
18269 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18270 conftest$ac_exeext conftest.$ac_ext
18271 LIBS=$ac_check_soname_save_LIBS
18273 if ${ac_cv_lib_soname_cups:+false} :
18274 then :
18275 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18276 printf "%s\n" "not found" >&6; }
18277 CUPS_LIBS=""
18278 else $as_nop
18279 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
18280 printf "%s\n" "$ac_cv_lib_soname_cups" >&6; }
18282 printf "%s\n" "#define SONAME_LIBCUPS \"$ac_cv_lib_soname_cups\"" >>confdefs.h
18286 else
18287 CUPS_CFLAGS=""
18288 CUPS_LIBS=""
18290 CPPFLAGS=$ac_save_CPPFLAGS
18293 if test "x$ac_cv_lib_soname_cups" = "x"
18294 then :
18295 case "x$with_cups" in
18296 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
18297 xno) ;;
18298 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
18299 This is an error since --with-cups was requested." "$LINENO" 5 ;;
18300 esac
18304 if test "x$with_fontconfig" != "xno"
18305 then
18306 rm -f conftest.err
18307 if ${FONTCONFIG_CFLAGS:+false} :
18308 then :
18309 if test ${PKG_CONFIG+y}
18310 then :
18311 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>conftest.err`
18314 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
18315 if ${FONTCONFIG_LIBS:+false} :
18316 then :
18317 if test ${PKG_CONFIG+y}
18318 then :
18319 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
18322 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
18324 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
18325 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
18326 if test -s conftest.err; then
18327 printf %s "$as_me:${as_lineno-$LINENO}: fontconfig errors: " >&5
18328 cat conftest.err >&5
18330 rm -f conftest.err
18331 ac_save_CPPFLAGS=$CPPFLAGS
18332 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
18333 ac_fn_c_check_header_compile "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
18334 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
18335 then :
18336 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
18337 printf %s "checking for -lfontconfig... " >&6; }
18338 if test ${ac_cv_lib_soname_fontconfig+y}
18339 then :
18340 printf %s "(cached) " >&6
18341 else $as_nop
18342 ac_check_soname_save_LIBS=$LIBS
18343 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
18344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18345 /* end confdefs.h. */
18347 /* Override any GCC internal prototype to avoid an error.
18348 Use char because int might match the return type of a GCC
18349 builtin and then its argument prototype would still apply. */
18350 char FcInit ();
18352 main (void)
18354 return FcInit ();
18356 return 0;
18358 _ACEOF
18359 if ac_fn_c_try_link "$LINENO"
18360 then :
18361 case "$LIBEXT" in
18362 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18363 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'` ;;
18364 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18365 if ${ac_cv_lib_soname_fontconfig:+false} :
18366 then :
18367 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18368 fi ;;
18369 esac
18370 else $as_nop
18371 ac_cv_lib_soname_fontconfig=
18373 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18374 conftest$ac_exeext conftest.$ac_ext
18375 LIBS=$ac_check_soname_save_LIBS
18377 if ${ac_cv_lib_soname_fontconfig:+false} :
18378 then :
18379 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18380 printf "%s\n" "not found" >&6; }
18381 FONTCONFIG_CFLAGS=""
18382 else $as_nop
18383 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
18384 printf "%s\n" "$ac_cv_lib_soname_fontconfig" >&6; }
18386 printf "%s\n" "#define SONAME_LIBFONTCONFIG \"$ac_cv_lib_soname_fontconfig\"" >>confdefs.h
18390 else $as_nop
18391 FONTCONFIG_CFLAGS=""
18394 CPPFLAGS=$ac_save_CPPFLAGS
18397 if test "x$ac_cv_lib_soname_fontconfig" = "x"
18398 then :
18399 case "x$with_fontconfig" in
18400 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
18401 xno) ;;
18402 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
18403 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
18404 esac
18408 if test "x$with_krb5" != "xno"
18409 then
18410 rm -f conftest.err
18411 if ${KRB5_CFLAGS:+false} :
18412 then :
18413 if test ${PKG_CONFIG+y}
18414 then :
18415 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>conftest.err`
18418 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
18419 if ${KRB5_LIBS:+false} :
18420 then :
18421 if test ${PKG_CONFIG+y}
18422 then :
18423 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
18426 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
18428 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
18429 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
18430 if test -s conftest.err; then
18431 printf %s "$as_me:${as_lineno-$LINENO}: krb5 errors: " >&5
18432 cat conftest.err >&5
18434 rm -f conftest.err
18435 ac_save_CPPFLAGS=$CPPFLAGS
18436 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
18437 ac_fn_c_check_header_compile "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
18438 if test "x$ac_cv_header_krb5_krb5_h" = xyes
18439 then :
18440 printf "%s\n" "#define HAVE_KRB5_KRB5_H 1" >>confdefs.h
18444 if test "$ac_cv_header_krb5_krb5_h" = "yes"
18445 then
18446 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
18447 printf %s "checking for -lkrb5... " >&6; }
18448 if test ${ac_cv_lib_soname_krb5+y}
18449 then :
18450 printf %s "(cached) " >&6
18451 else $as_nop
18452 ac_check_soname_save_LIBS=$LIBS
18453 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
18454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18455 /* end confdefs.h. */
18457 /* Override any GCC internal prototype to avoid an error.
18458 Use char because int might match the return type of a GCC
18459 builtin and then its argument prototype would still apply. */
18460 char krb5_is_config_principal ();
18462 main (void)
18464 return krb5_is_config_principal ();
18466 return 0;
18468 _ACEOF
18469 if ac_fn_c_try_link "$LINENO"
18470 then :
18471 case "$LIBEXT" in
18472 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18473 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'` ;;
18474 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18475 if ${ac_cv_lib_soname_krb5:+false} :
18476 then :
18477 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18478 fi ;;
18479 esac
18480 else $as_nop
18481 ac_cv_lib_soname_krb5=
18483 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18484 conftest$ac_exeext conftest.$ac_ext
18485 LIBS=$ac_check_soname_save_LIBS
18487 if ${ac_cv_lib_soname_krb5:+false} :
18488 then :
18489 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18490 printf "%s\n" "not found" >&6; }
18491 KRB5_CFLAGS=""
18492 else $as_nop
18493 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
18494 printf "%s\n" "$ac_cv_lib_soname_krb5" >&6; }
18496 printf "%s\n" "#define SONAME_LIBKRB5 \"$ac_cv_lib_soname_krb5\"" >>confdefs.h
18500 else
18501 KRB5_CFLAGS=""
18503 CPPFLAGS=$ac_save_CPPFLAGS
18506 if test "x$ac_cv_lib_soname_krb5" = "x"
18507 then :
18508 case "x$with_krb5" in
18509 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
18510 xno) ;;
18511 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
18512 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
18513 esac
18516 test "x$ac_cv_lib_soname_krb5" != "x" || with_gssapi=${with_gssapi:-no}
18518 if test "x$with_gssapi" != "xno"
18519 then
18520 rm -f conftest.err
18521 if ${GSSAPI_CFLAGS:+false} :
18522 then :
18523 if test ${PKG_CONFIG+y}
18524 then :
18525 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>conftest.err`
18528 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
18529 if ${GSSAPI_LIBS:+false} :
18530 then :
18531 if test ${PKG_CONFIG+y}
18532 then :
18533 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
18536 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
18538 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
18539 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
18540 if test -s conftest.err; then
18541 printf %s "$as_me:${as_lineno-$LINENO}: krb5-gssapi errors: " >&5
18542 cat conftest.err >&5
18544 rm -f conftest.err
18545 ac_save_CPPFLAGS=$CPPFLAGS
18546 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
18547 ac_fn_c_check_header_compile "$LINENO" "gssapi/gssapi.h" "ac_cv_header_gssapi_gssapi_h" "$ac_includes_default"
18548 if test "x$ac_cv_header_gssapi_gssapi_h" = xyes
18549 then :
18550 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_H 1" >>confdefs.h
18553 ac_fn_c_check_header_compile "$LINENO" "gssapi/gssapi_ext.h" "ac_cv_header_gssapi_gssapi_ext_h" "$ac_includes_default"
18554 if test "x$ac_cv_header_gssapi_gssapi_ext_h" = xyes
18555 then :
18556 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_EXT_H 1" >>confdefs.h
18560 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
18561 then
18562 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
18563 printf %s "checking for -lgssapi_krb5... " >&6; }
18564 if test ${ac_cv_lib_soname_gssapi_krb5+y}
18565 then :
18566 printf %s "(cached) " >&6
18567 else $as_nop
18568 ac_check_soname_save_LIBS=$LIBS
18569 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
18570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18571 /* end confdefs.h. */
18573 /* Override any GCC internal prototype to avoid an error.
18574 Use char because int might match the return type of a GCC
18575 builtin and then its argument prototype would still apply. */
18576 char gss_init_sec_context ();
18578 main (void)
18580 return gss_init_sec_context ();
18582 return 0;
18584 _ACEOF
18585 if ac_fn_c_try_link "$LINENO"
18586 then :
18587 case "$LIBEXT" in
18588 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18589 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'` ;;
18590 *) 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'`
18591 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
18592 then :
18593 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18594 fi ;;
18595 esac
18596 else $as_nop
18597 ac_cv_lib_soname_gssapi_krb5=
18599 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18600 conftest$ac_exeext conftest.$ac_ext
18601 LIBS=$ac_check_soname_save_LIBS
18603 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
18604 then :
18605 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18606 printf "%s\n" "not found" >&6; }
18607 GSSAPI_CFLAGS=""
18608 else $as_nop
18609 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
18610 printf "%s\n" "$ac_cv_lib_soname_gssapi_krb5" >&6; }
18612 printf "%s\n" "#define SONAME_LIBGSSAPI_KRB5 \"$ac_cv_lib_soname_gssapi_krb5\"" >>confdefs.h
18616 else
18617 GSSAPI_CFLAGS=""
18619 CPPFLAGS=$ac_save_CPPFLAGS
18622 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"
18623 then :
18624 case "x$with_gssapi" in
18625 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
18626 xno) ;;
18627 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
18628 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
18629 esac
18633 if test "$ac_cv_header_libprocstat_h" = "yes"
18634 then
18635 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
18636 printf %s "checking for procstat_open_sysctl in -lprocstat... " >&6; }
18637 if test ${ac_cv_lib_procstat_procstat_open_sysctl+y}
18638 then :
18639 printf %s "(cached) " >&6
18640 else $as_nop
18641 ac_check_lib_save_LIBS=$LIBS
18642 LIBS="-lprocstat $LIBS"
18643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18644 /* end confdefs.h. */
18646 /* Override any GCC internal prototype to avoid an error.
18647 Use char because int might match the return type of a GCC
18648 builtin and then its argument prototype would still apply. */
18649 char procstat_open_sysctl ();
18651 main (void)
18653 return procstat_open_sysctl ();
18655 return 0;
18657 _ACEOF
18658 if ac_fn_c_try_link "$LINENO"
18659 then :
18660 ac_cv_lib_procstat_procstat_open_sysctl=yes
18661 else $as_nop
18662 ac_cv_lib_procstat_procstat_open_sysctl=no
18664 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18665 conftest$ac_exeext conftest.$ac_ext
18666 LIBS=$ac_check_lib_save_LIBS
18668 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
18669 printf "%s\n" "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
18670 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes
18671 then :
18673 printf "%s\n" "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
18675 PROCSTAT_LIBS="-lprocstat"
18681 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
18682 printf %s "checking for -lodbc... " >&6; }
18683 if test ${ac_cv_lib_soname_odbc+y}
18684 then :
18685 printf %s "(cached) " >&6
18686 else $as_nop
18687 ac_check_soname_save_LIBS=$LIBS
18688 LIBS="-lodbc $LIBS"
18689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18690 /* end confdefs.h. */
18692 /* Override any GCC internal prototype to avoid an error.
18693 Use char because int might match the return type of a GCC
18694 builtin and then its argument prototype would still apply. */
18695 char SQLConnect ();
18697 main (void)
18699 return SQLConnect ();
18701 return 0;
18703 _ACEOF
18704 if ac_fn_c_try_link "$LINENO"
18705 then :
18706 case "$LIBEXT" in
18707 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18708 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'` ;;
18709 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18710 if ${ac_cv_lib_soname_odbc:+false} :
18711 then :
18712 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18713 fi ;;
18714 esac
18715 else $as_nop
18716 ac_cv_lib_soname_odbc=
18718 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18719 conftest$ac_exeext conftest.$ac_ext
18720 LIBS=$ac_check_soname_save_LIBS
18722 if ${ac_cv_lib_soname_odbc:+false} :
18723 then :
18724 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18725 printf "%s\n" "not found" >&6; }
18726 printf "%s\n" "#define SONAME_LIBODBC \"libodbc.$LIBEXT\"" >>confdefs.h
18728 else $as_nop
18729 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
18730 printf "%s\n" "$ac_cv_lib_soname_odbc" >&6; }
18732 printf "%s\n" "#define SONAME_LIBODBC \"$ac_cv_lib_soname_odbc\"" >>confdefs.h
18737 if test "x$with_netapi" != "xno"
18738 then
18739 rm -f conftest.err
18740 if ${NETAPI_CFLAGS:+false} :
18741 then :
18742 if test ${PKG_CONFIG+y}
18743 then :
18744 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>conftest.err`
18748 if ${NETAPI_LIBS:+false} :
18749 then :
18750 if test ${PKG_CONFIG+y}
18751 then :
18752 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
18757 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
18758 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
18759 if test -s conftest.err; then
18760 printf %s "$as_me:${as_lineno-$LINENO}: netapi errors: " >&5
18761 cat conftest.err >&5
18763 rm -f conftest.err
18764 ac_save_CPPFLAGS=$CPPFLAGS
18765 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
18766 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
18767 printf %s "checking for -lnetapi... " >&6; }
18768 if test ${ac_cv_lib_soname_netapi+y}
18769 then :
18770 printf %s "(cached) " >&6
18771 else $as_nop
18772 ac_check_soname_save_LIBS=$LIBS
18773 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
18774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18775 /* end confdefs.h. */
18777 /* Override any GCC internal prototype to avoid an error.
18778 Use char because int might match the return type of a GCC
18779 builtin and then its argument prototype would still apply. */
18780 char libnetapi_init ();
18782 main (void)
18784 return libnetapi_init ();
18786 return 0;
18788 _ACEOF
18789 if ac_fn_c_try_link "$LINENO"
18790 then :
18791 case "$LIBEXT" in
18792 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18793 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'` ;;
18794 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18795 if ${ac_cv_lib_soname_netapi:+false} :
18796 then :
18797 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18798 fi ;;
18799 esac
18800 else $as_nop
18801 ac_cv_lib_soname_netapi=
18803 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18804 conftest$ac_exeext conftest.$ac_ext
18805 LIBS=$ac_check_soname_save_LIBS
18807 if ${ac_cv_lib_soname_netapi:+false} :
18808 then :
18809 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18810 printf "%s\n" "not found" >&6; }
18811 printf "%s\n" "#define SONAME_LIBNETAPI \"libnetapi.$LIBEXT\"" >>confdefs.h
18813 else $as_nop
18814 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
18815 printf "%s\n" "$ac_cv_lib_soname_netapi" >&6; }
18817 printf "%s\n" "#define SONAME_LIBNETAPI \"$ac_cv_lib_soname_netapi\"" >>confdefs.h
18821 CPPFLAGS=$ac_save_CPPFLAGS
18824 if test "x$ac_cv_lib_soname_netapi" = "x"
18825 then :
18826 case "x$with_netapi" in
18827 x) as_fn_append wine_notices "|libnetapi not found, Samba NetAPI won't be supported." ;;
18828 xno) ;;
18829 *) as_fn_error $? "libnetapi not found, Samba NetAPI won't be supported.
18830 This is an error since --with-netapi was requested." "$LINENO" 5 ;;
18831 esac
18832 enable_netapi=${enable_netapi:-no}
18836 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
18837 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
18838 then
18839 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
18842 if test "x$with_vulkan" != "xno"
18843 then
18844 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
18845 printf %s "checking for -lvulkan... " >&6; }
18846 if test ${ac_cv_lib_soname_vulkan+y}
18847 then :
18848 printf %s "(cached) " >&6
18849 else $as_nop
18850 ac_check_soname_save_LIBS=$LIBS
18851 LIBS="-lvulkan $LIBS"
18852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18853 /* end confdefs.h. */
18855 /* Override any GCC internal prototype to avoid an error.
18856 Use char because int might match the return type of a GCC
18857 builtin and then its argument prototype would still apply. */
18858 char vkGetInstanceProcAddr ();
18860 main (void)
18862 return vkGetInstanceProcAddr ();
18864 return 0;
18866 _ACEOF
18867 if ac_fn_c_try_link "$LINENO"
18868 then :
18869 case "$LIBEXT" in
18870 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18871 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'` ;;
18872 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18873 if ${ac_cv_lib_soname_vulkan:+false} :
18874 then :
18875 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18876 fi ;;
18877 esac
18878 else $as_nop
18879 ac_cv_lib_soname_vulkan=
18881 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18882 conftest$ac_exeext conftest.$ac_ext
18883 LIBS=$ac_check_soname_save_LIBS
18885 if ${ac_cv_lib_soname_vulkan:+false} :
18886 then :
18887 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18888 printf "%s\n" "not found" >&6; }
18890 else $as_nop
18891 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
18892 printf "%s\n" "$ac_cv_lib_soname_vulkan" >&6; }
18894 printf "%s\n" "#define SONAME_LIBVULKAN \"$ac_cv_lib_soname_vulkan\"" >>confdefs.h
18898 if test "x$ac_cv_lib_soname_vulkan" = "x"
18899 then
18900 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
18901 printf %s "checking for -lMoltenVK... " >&6; }
18902 if test ${ac_cv_lib_soname_MoltenVK+y}
18903 then :
18904 printf %s "(cached) " >&6
18905 else $as_nop
18906 ac_check_soname_save_LIBS=$LIBS
18907 LIBS="-lMoltenVK $LIBS"
18908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18909 /* end confdefs.h. */
18911 /* Override any GCC internal prototype to avoid an error.
18912 Use char because int might match the return type of a GCC
18913 builtin and then its argument prototype would still apply. */
18914 char vkGetInstanceProcAddr ();
18916 main (void)
18918 return vkGetInstanceProcAddr ();
18920 return 0;
18922 _ACEOF
18923 if ac_fn_c_try_link "$LINENO"
18924 then :
18925 case "$LIBEXT" in
18926 dll) ac_cv_lib_soname_MoltenVK=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18927 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'` ;;
18928 *) ac_cv_lib_soname_MoltenVK=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18929 if ${ac_cv_lib_soname_MoltenVK:+false} :
18930 then :
18931 ac_cv_lib_soname_MoltenVK=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18932 fi ;;
18933 esac
18934 else $as_nop
18935 ac_cv_lib_soname_MoltenVK=
18937 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18938 conftest$ac_exeext conftest.$ac_ext
18939 LIBS=$ac_check_soname_save_LIBS
18941 if ${ac_cv_lib_soname_MoltenVK:+false} :
18942 then :
18943 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18944 printf "%s\n" "not found" >&6; }
18946 else $as_nop
18947 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
18948 printf "%s\n" "$ac_cv_lib_soname_MoltenVK" >&6; }
18950 printf "%s\n" "#define SONAME_LIBMOLTENVK \"$ac_cv_lib_soname_MoltenVK\"" >>confdefs.h
18956 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"
18957 then :
18958 case "x$with_vulkan" in
18959 x) as_fn_append wine_notices "|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
18960 xno) ;;
18961 *) as_fn_error $? "libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
18962 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
18963 esac
18968 if test "x${GCC}" = "xyes"
18969 then
18970 EXTRACFLAGS="$EXTRACFLAGS -Wall -pipe"
18972 saved_CFLAGS=$CFLAGS
18973 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
18974 printf %s "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
18975 if test ${ac_cv_cflags__Werror_unknown_warning_option+y}
18976 then :
18977 printf %s "(cached) " >&6
18978 else $as_nop
18979 ac_wine_try_cflags_saved=$CFLAGS
18980 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
18981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18982 /* end confdefs.h. */
18983 int main(int argc, char **argv) { return 0; }
18984 _ACEOF
18985 if ac_fn_c_try_link "$LINENO"
18986 then :
18987 ac_cv_cflags__Werror_unknown_warning_option=yes
18988 else $as_nop
18989 ac_cv_cflags__Werror_unknown_warning_option=no
18991 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18992 conftest$ac_exeext conftest.$ac_ext
18993 CFLAGS=$ac_wine_try_cflags_saved
18995 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
18996 printf "%s\n" "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
18997 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes
18998 then :
18999 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
19001 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unused-command-line-argument" >&5
19002 printf %s "checking whether the compiler supports -Werror=unused-command-line-argument... " >&6; }
19003 if test ${ac_cv_cflags__Werror_unused_command_line_argument+y}
19004 then :
19005 printf %s "(cached) " >&6
19006 else $as_nop
19007 ac_wine_try_cflags_saved=$CFLAGS
19008 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
19009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19010 /* end confdefs.h. */
19011 int main(int argc, char **argv) { return 0; }
19012 _ACEOF
19013 if ac_fn_c_try_link "$LINENO"
19014 then :
19015 ac_cv_cflags__Werror_unused_command_line_argument=yes
19016 else $as_nop
19017 ac_cv_cflags__Werror_unused_command_line_argument=no
19019 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19020 conftest$ac_exeext conftest.$ac_ext
19021 CFLAGS=$ac_wine_try_cflags_saved
19023 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unused_command_line_argument" >&5
19024 printf "%s\n" "$ac_cv_cflags__Werror_unused_command_line_argument" >&6; }
19025 if test "x$ac_cv_cflags__Werror_unused_command_line_argument" = xyes
19026 then :
19027 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
19029 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=ignored-optimization-argument" >&5
19030 printf %s "checking whether the compiler supports -Werror=ignored-optimization-argument... " >&6; }
19031 if test ${ac_cv_cflags__Werror_ignored_optimization_argument+y}
19032 then :
19033 printf %s "(cached) " >&6
19034 else $as_nop
19035 ac_wine_try_cflags_saved=$CFLAGS
19036 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
19037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19038 /* end confdefs.h. */
19039 int main(int argc, char **argv) { return 0; }
19040 _ACEOF
19041 if ac_fn_c_try_link "$LINENO"
19042 then :
19043 ac_cv_cflags__Werror_ignored_optimization_argument=yes
19044 else $as_nop
19045 ac_cv_cflags__Werror_ignored_optimization_argument=no
19047 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19048 conftest$ac_exeext conftest.$ac_ext
19049 CFLAGS=$ac_wine_try_cflags_saved
19051 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_ignored_optimization_argument" >&5
19052 printf "%s\n" "$ac_cv_cflags__Werror_ignored_optimization_argument" >&6; }
19053 if test "x$ac_cv_cflags__Werror_ignored_optimization_argument" = xyes
19054 then :
19055 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
19057 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fcf-protection=none" >&5
19058 printf %s "checking whether the compiler supports -fcf-protection=none... " >&6; }
19059 if test ${ac_cv_cflags__fcf_protection_none+y}
19060 then :
19061 printf %s "(cached) " >&6
19062 else $as_nop
19063 ac_wine_try_cflags_saved=$CFLAGS
19064 CFLAGS="$CFLAGS -fcf-protection=none"
19065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19066 /* end confdefs.h. */
19067 int main(int argc, char **argv) { return 0; }
19068 _ACEOF
19069 if ac_fn_c_try_link "$LINENO"
19070 then :
19071 ac_cv_cflags__fcf_protection_none=yes
19072 else $as_nop
19073 ac_cv_cflags__fcf_protection_none=no
19075 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19076 conftest$ac_exeext conftest.$ac_ext
19077 CFLAGS=$ac_wine_try_cflags_saved
19079 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fcf_protection_none" >&5
19080 printf "%s\n" "$ac_cv_cflags__fcf_protection_none" >&6; }
19081 if test "x$ac_cv_cflags__fcf_protection_none" = xyes
19082 then :
19083 EXTRACFLAGS="$EXTRACFLAGS -fcf-protection=none"
19085 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fvisibility=hidden" >&5
19086 printf %s "checking whether the compiler supports -fvisibility=hidden... " >&6; }
19087 if test ${ac_cv_cflags__fvisibility_hidden+y}
19088 then :
19089 printf %s "(cached) " >&6
19090 else $as_nop
19091 ac_wine_try_cflags_saved=$CFLAGS
19092 CFLAGS="$CFLAGS -fvisibility=hidden"
19093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19094 /* end confdefs.h. */
19095 int main(int argc, char **argv) { return 0; }
19096 _ACEOF
19097 if ac_fn_c_try_link "$LINENO"
19098 then :
19099 ac_cv_cflags__fvisibility_hidden=yes
19100 else $as_nop
19101 ac_cv_cflags__fvisibility_hidden=no
19103 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19104 conftest$ac_exeext conftest.$ac_ext
19105 CFLAGS=$ac_wine_try_cflags_saved
19107 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fvisibility_hidden" >&5
19108 printf "%s\n" "$ac_cv_cflags__fvisibility_hidden" >&6; }
19109 if test "x$ac_cv_cflags__fvisibility_hidden" = xyes
19110 then :
19111 EXTRACFLAGS="$EXTRACFLAGS -fvisibility=hidden"
19113 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-stack-protector" >&5
19114 printf %s "checking whether the compiler supports -fno-stack-protector... " >&6; }
19115 if test ${ac_cv_cflags__fno_stack_protector+y}
19116 then :
19117 printf %s "(cached) " >&6
19118 else $as_nop
19119 ac_wine_try_cflags_saved=$CFLAGS
19120 CFLAGS="$CFLAGS -fno-stack-protector"
19121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19122 /* end confdefs.h. */
19123 int main(int argc, char **argv) { return 0; }
19124 _ACEOF
19125 if ac_fn_c_try_link "$LINENO"
19126 then :
19127 ac_cv_cflags__fno_stack_protector=yes
19128 else $as_nop
19129 ac_cv_cflags__fno_stack_protector=no
19131 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19132 conftest$ac_exeext conftest.$ac_ext
19133 CFLAGS=$ac_wine_try_cflags_saved
19135 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_stack_protector" >&5
19136 printf "%s\n" "$ac_cv_cflags__fno_stack_protector" >&6; }
19137 if test "x$ac_cv_cflags__fno_stack_protector" = xyes
19138 then :
19139 EXTRACFLAGS="$EXTRACFLAGS -fno-stack-protector"
19141 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
19142 printf %s "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
19143 if test ${ac_cv_cflags__fno_strict_aliasing+y}
19144 then :
19145 printf %s "(cached) " >&6
19146 else $as_nop
19147 ac_wine_try_cflags_saved=$CFLAGS
19148 CFLAGS="$CFLAGS -fno-strict-aliasing"
19149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19150 /* end confdefs.h. */
19151 int main(int argc, char **argv) { return 0; }
19152 _ACEOF
19153 if ac_fn_c_try_link "$LINENO"
19154 then :
19155 ac_cv_cflags__fno_strict_aliasing=yes
19156 else $as_nop
19157 ac_cv_cflags__fno_strict_aliasing=no
19159 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19160 conftest$ac_exeext conftest.$ac_ext
19161 CFLAGS=$ac_wine_try_cflags_saved
19163 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
19164 printf "%s\n" "$ac_cv_cflags__fno_strict_aliasing" >&6; }
19165 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes
19166 then :
19167 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
19169 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
19170 printf %s "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
19171 if test ${ac_cv_cflags__Wdeclaration_after_statement+y}
19172 then :
19173 printf %s "(cached) " >&6
19174 else $as_nop
19175 ac_wine_try_cflags_saved=$CFLAGS
19176 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
19177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19178 /* end confdefs.h. */
19179 int main(int argc, char **argv) { return 0; }
19180 _ACEOF
19181 if ac_fn_c_try_link "$LINENO"
19182 then :
19183 ac_cv_cflags__Wdeclaration_after_statement=yes
19184 else $as_nop
19185 ac_cv_cflags__Wdeclaration_after_statement=no
19187 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19188 conftest$ac_exeext conftest.$ac_ext
19189 CFLAGS=$ac_wine_try_cflags_saved
19191 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
19192 printf "%s\n" "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
19193 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes
19194 then :
19195 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
19197 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
19198 printf %s "checking whether the compiler supports -Wempty-body... " >&6; }
19199 if test ${ac_cv_cflags__Wempty_body+y}
19200 then :
19201 printf %s "(cached) " >&6
19202 else $as_nop
19203 ac_wine_try_cflags_saved=$CFLAGS
19204 CFLAGS="$CFLAGS -Wempty-body"
19205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19206 /* end confdefs.h. */
19207 int main(int argc, char **argv) { return 0; }
19208 _ACEOF
19209 if ac_fn_c_try_link "$LINENO"
19210 then :
19211 ac_cv_cflags__Wempty_body=yes
19212 else $as_nop
19213 ac_cv_cflags__Wempty_body=no
19215 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19216 conftest$ac_exeext conftest.$ac_ext
19217 CFLAGS=$ac_wine_try_cflags_saved
19219 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
19220 printf "%s\n" "$ac_cv_cflags__Wempty_body" >&6; }
19221 if test "x$ac_cv_cflags__Wempty_body" = xyes
19222 then :
19223 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
19225 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
19226 printf %s "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
19227 if test ${ac_cv_cflags__Wignored_qualifiers+y}
19228 then :
19229 printf %s "(cached) " >&6
19230 else $as_nop
19231 ac_wine_try_cflags_saved=$CFLAGS
19232 CFLAGS="$CFLAGS -Wignored-qualifiers"
19233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19234 /* end confdefs.h. */
19235 int main(int argc, char **argv) { return 0; }
19236 _ACEOF
19237 if ac_fn_c_try_link "$LINENO"
19238 then :
19239 ac_cv_cflags__Wignored_qualifiers=yes
19240 else $as_nop
19241 ac_cv_cflags__Wignored_qualifiers=no
19243 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19244 conftest$ac_exeext conftest.$ac_ext
19245 CFLAGS=$ac_wine_try_cflags_saved
19247 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
19248 printf "%s\n" "$ac_cv_cflags__Wignored_qualifiers" >&6; }
19249 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes
19250 then :
19251 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
19253 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Winit-self" >&5
19254 printf %s "checking whether the compiler supports -Winit-self... " >&6; }
19255 if test ${ac_cv_cflags__Winit_self+y}
19256 then :
19257 printf %s "(cached) " >&6
19258 else $as_nop
19259 ac_wine_try_cflags_saved=$CFLAGS
19260 CFLAGS="$CFLAGS -Winit-self"
19261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19262 /* end confdefs.h. */
19263 int main(int argc, char **argv) { return 0; }
19264 _ACEOF
19265 if ac_fn_c_try_link "$LINENO"
19266 then :
19267 ac_cv_cflags__Winit_self=yes
19268 else $as_nop
19269 ac_cv_cflags__Winit_self=no
19271 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19272 conftest$ac_exeext conftest.$ac_ext
19273 CFLAGS=$ac_wine_try_cflags_saved
19275 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Winit_self" >&5
19276 printf "%s\n" "$ac_cv_cflags__Winit_self" >&6; }
19277 if test "x$ac_cv_cflags__Winit_self" = xyes
19278 then :
19279 EXTRACFLAGS="$EXTRACFLAGS -Winit-self"
19281 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
19282 printf %s "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
19283 if test ${ac_cv_cflags__Wpacked_not_aligned+y}
19284 then :
19285 printf %s "(cached) " >&6
19286 else $as_nop
19287 ac_wine_try_cflags_saved=$CFLAGS
19288 CFLAGS="$CFLAGS -Wpacked-not-aligned"
19289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19290 /* end confdefs.h. */
19291 int main(int argc, char **argv) { return 0; }
19292 _ACEOF
19293 if ac_fn_c_try_link "$LINENO"
19294 then :
19295 ac_cv_cflags__Wpacked_not_aligned=yes
19296 else $as_nop
19297 ac_cv_cflags__Wpacked_not_aligned=no
19299 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19300 conftest$ac_exeext conftest.$ac_ext
19301 CFLAGS=$ac_wine_try_cflags_saved
19303 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
19304 printf "%s\n" "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
19305 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes
19306 then :
19307 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
19309 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
19310 printf %s "checking whether the compiler supports -Wpragma-pack... " >&6; }
19311 if test ${ac_cv_cflags__Wpragma_pack+y}
19312 then :
19313 printf %s "(cached) " >&6
19314 else $as_nop
19315 ac_wine_try_cflags_saved=$CFLAGS
19316 CFLAGS="$CFLAGS -Wpragma-pack"
19317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19318 /* end confdefs.h. */
19319 int main(int argc, char **argv) { return 0; }
19320 _ACEOF
19321 if ac_fn_c_try_link "$LINENO"
19322 then :
19323 ac_cv_cflags__Wpragma_pack=yes
19324 else $as_nop
19325 ac_cv_cflags__Wpragma_pack=no
19327 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19328 conftest$ac_exeext conftest.$ac_ext
19329 CFLAGS=$ac_wine_try_cflags_saved
19331 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
19332 printf "%s\n" "$ac_cv_cflags__Wpragma_pack" >&6; }
19333 if test "x$ac_cv_cflags__Wpragma_pack" = xyes
19334 then :
19335 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
19337 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
19338 printf %s "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
19339 if test ${ac_cv_cflags__Wshift_overflow_2+y}
19340 then :
19341 printf %s "(cached) " >&6
19342 else $as_nop
19343 ac_wine_try_cflags_saved=$CFLAGS
19344 CFLAGS="$CFLAGS -Wshift-overflow=2"
19345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19346 /* end confdefs.h. */
19347 int main(int argc, char **argv) { return 0; }
19348 _ACEOF
19349 if ac_fn_c_try_link "$LINENO"
19350 then :
19351 ac_cv_cflags__Wshift_overflow_2=yes
19352 else $as_nop
19353 ac_cv_cflags__Wshift_overflow_2=no
19355 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19356 conftest$ac_exeext conftest.$ac_ext
19357 CFLAGS=$ac_wine_try_cflags_saved
19359 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
19360 printf "%s\n" "$ac_cv_cflags__Wshift_overflow_2" >&6; }
19361 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes
19362 then :
19363 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
19365 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
19366 printf %s "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
19367 if test ${ac_cv_cflags__Wstrict_prototypes+y}
19368 then :
19369 printf %s "(cached) " >&6
19370 else $as_nop
19371 ac_wine_try_cflags_saved=$CFLAGS
19372 CFLAGS="$CFLAGS -Wstrict-prototypes"
19373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19374 /* end confdefs.h. */
19375 int main(int argc, char **argv) { return 0; }
19376 _ACEOF
19377 if ac_fn_c_try_link "$LINENO"
19378 then :
19379 ac_cv_cflags__Wstrict_prototypes=yes
19380 else $as_nop
19381 ac_cv_cflags__Wstrict_prototypes=no
19383 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19384 conftest$ac_exeext conftest.$ac_ext
19385 CFLAGS=$ac_wine_try_cflags_saved
19387 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
19388 printf "%s\n" "$ac_cv_cflags__Wstrict_prototypes" >&6; }
19389 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes
19390 then :
19391 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
19393 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
19394 printf %s "checking whether the compiler supports -Wtype-limits... " >&6; }
19395 if test ${ac_cv_cflags__Wtype_limits+y}
19396 then :
19397 printf %s "(cached) " >&6
19398 else $as_nop
19399 ac_wine_try_cflags_saved=$CFLAGS
19400 CFLAGS="$CFLAGS -Wtype-limits"
19401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19402 /* end confdefs.h. */
19403 int main(int argc, char **argv) { return 0; }
19404 _ACEOF
19405 if ac_fn_c_try_link "$LINENO"
19406 then :
19407 ac_cv_cflags__Wtype_limits=yes
19408 else $as_nop
19409 ac_cv_cflags__Wtype_limits=no
19411 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19412 conftest$ac_exeext conftest.$ac_ext
19413 CFLAGS=$ac_wine_try_cflags_saved
19415 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
19416 printf "%s\n" "$ac_cv_cflags__Wtype_limits" >&6; }
19417 if test "x$ac_cv_cflags__Wtype_limits" = xyes
19418 then :
19419 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
19421 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
19422 printf %s "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
19423 if test ${ac_cv_cflags__Wunused_but_set_parameter+y}
19424 then :
19425 printf %s "(cached) " >&6
19426 else $as_nop
19427 ac_wine_try_cflags_saved=$CFLAGS
19428 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
19429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19430 /* end confdefs.h. */
19431 int main(int argc, char **argv) { return 0; }
19432 _ACEOF
19433 if ac_fn_c_try_link "$LINENO"
19434 then :
19435 ac_cv_cflags__Wunused_but_set_parameter=yes
19436 else $as_nop
19437 ac_cv_cflags__Wunused_but_set_parameter=no
19439 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19440 conftest$ac_exeext conftest.$ac_ext
19441 CFLAGS=$ac_wine_try_cflags_saved
19443 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
19444 printf "%s\n" "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
19445 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes
19446 then :
19447 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
19449 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
19450 printf %s "checking whether the compiler supports -Wvla... " >&6; }
19451 if test ${ac_cv_cflags__Wvla+y}
19452 then :
19453 printf %s "(cached) " >&6
19454 else $as_nop
19455 ac_wine_try_cflags_saved=$CFLAGS
19456 CFLAGS="$CFLAGS -Wvla"
19457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19458 /* end confdefs.h. */
19459 int main(int argc, char **argv) { return 0; }
19460 _ACEOF
19461 if ac_fn_c_try_link "$LINENO"
19462 then :
19463 ac_cv_cflags__Wvla=yes
19464 else $as_nop
19465 ac_cv_cflags__Wvla=no
19467 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19468 conftest$ac_exeext conftest.$ac_ext
19469 CFLAGS=$ac_wine_try_cflags_saved
19471 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
19472 printf "%s\n" "$ac_cv_cflags__Wvla" >&6; }
19473 if test "x$ac_cv_cflags__Wvla" = xyes
19474 then :
19475 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
19477 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
19478 printf %s "checking whether the compiler supports -Wwrite-strings... " >&6; }
19479 if test ${ac_cv_cflags__Wwrite_strings+y}
19480 then :
19481 printf %s "(cached) " >&6
19482 else $as_nop
19483 ac_wine_try_cflags_saved=$CFLAGS
19484 CFLAGS="$CFLAGS -Wwrite-strings"
19485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19486 /* end confdefs.h. */
19487 int main(int argc, char **argv) { return 0; }
19488 _ACEOF
19489 if ac_fn_c_try_link "$LINENO"
19490 then :
19491 ac_cv_cflags__Wwrite_strings=yes
19492 else $as_nop
19493 ac_cv_cflags__Wwrite_strings=no
19495 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19496 conftest$ac_exeext conftest.$ac_ext
19497 CFLAGS=$ac_wine_try_cflags_saved
19499 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
19500 printf "%s\n" "$ac_cv_cflags__Wwrite_strings" >&6; }
19501 if test "x$ac_cv_cflags__Wwrite_strings" = xyes
19502 then :
19503 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
19506 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
19507 printf %s "checking whether the compiler supports -Wpointer-arith... " >&6; }
19508 if test ${ac_cv_cflags__Wpointer_arith+y}
19509 then :
19510 printf %s "(cached) " >&6
19511 else $as_nop
19512 ac_wine_try_cflags_saved=$CFLAGS
19513 CFLAGS="$CFLAGS -Wpointer-arith"
19514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19515 /* end confdefs.h. */
19516 int main(int argc, char **argv) { return 0; }
19517 _ACEOF
19518 if ac_fn_c_try_link "$LINENO"
19519 then :
19520 ac_cv_cflags__Wpointer_arith=yes
19521 else $as_nop
19522 ac_cv_cflags__Wpointer_arith=no
19524 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19525 conftest$ac_exeext conftest.$ac_ext
19526 CFLAGS=$ac_wine_try_cflags_saved
19528 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
19529 printf "%s\n" "$ac_cv_cflags__Wpointer_arith" >&6; }
19530 if test "x$ac_cv_cflags__Wpointer_arith" = xyes
19531 then :
19532 saved_string_h_CFLAGS=$CFLAGS
19533 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
19534 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
19535 printf %s "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
19536 if test ${ac_cv_c_string_h_warnings+y}
19537 then :
19538 printf %s "(cached) " >&6
19539 else $as_nop
19540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19541 /* end confdefs.h. */
19542 #include <string.h>
19544 main (void)
19548 return 0;
19550 _ACEOF
19551 if ac_fn_c_try_compile "$LINENO"
19552 then :
19553 ac_cv_c_string_h_warnings=no
19554 else $as_nop
19555 ac_cv_c_string_h_warnings=yes
19557 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19559 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
19560 printf "%s\n" "$ac_cv_c_string_h_warnings" >&6; }
19561 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
19562 CFLAGS=$saved_string_h_CFLAGS
19565 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
19566 printf %s "checking whether the compiler supports -Wlogical-op... " >&6; }
19567 if test ${ac_cv_cflags__Wlogical_op+y}
19568 then :
19569 printf %s "(cached) " >&6
19570 else $as_nop
19571 ac_wine_try_cflags_saved=$CFLAGS
19572 CFLAGS="$CFLAGS -Wlogical-op"
19573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19574 /* end confdefs.h. */
19575 int main(int argc, char **argv) { return 0; }
19576 _ACEOF
19577 if ac_fn_c_try_link "$LINENO"
19578 then :
19579 ac_cv_cflags__Wlogical_op=yes
19580 else $as_nop
19581 ac_cv_cflags__Wlogical_op=no
19583 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19584 conftest$ac_exeext conftest.$ac_ext
19585 CFLAGS=$ac_wine_try_cflags_saved
19587 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
19588 printf "%s\n" "$ac_cv_cflags__Wlogical_op" >&6; }
19589 if test "x$ac_cv_cflags__Wlogical_op" = xyes
19590 then :
19591 saved_string_h_CFLAGS=$CFLAGS
19592 CFLAGS="$CFLAGS -Wlogical-op -Werror"
19593 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
19594 printf %s "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
19595 if test ${ac_cv_c_logicalop_noisy+y}
19596 then :
19597 printf %s "(cached) " >&6
19598 else $as_nop
19599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19600 /* end confdefs.h. */
19601 #include <string.h>
19602 char*f(const char *h,char n) {return strchr(h,n);}
19604 main (void)
19608 return 0;
19610 _ACEOF
19611 if ac_fn_c_try_compile "$LINENO"
19612 then :
19613 ac_cv_c_logicalop_noisy=no
19614 else $as_nop
19615 ac_cv_c_logicalop_noisy=yes
19617 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19619 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
19620 printf "%s\n" "$ac_cv_c_logicalop_noisy" >&6; }
19621 CFLAGS=$saved_string_h_CFLAGS
19622 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
19625 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for flags needed for 64-bit compare-and-swap support" >&5
19626 printf %s "checking for flags needed for 64-bit compare-and-swap support... " >&6; }
19627 if test ${wine_cv_64bit_compare_swap+y}
19628 then :
19629 printf %s "(cached) " >&6
19630 else $as_nop
19631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19632 /* end confdefs.h. */
19633 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
19634 #error no
19635 #endif
19637 main (void)
19641 return 0;
19643 _ACEOF
19644 if ac_fn_c_try_compile "$LINENO"
19645 then :
19646 wine_cv_64bit_compare_swap="none needed"
19647 else $as_nop
19648 case $HOST_ARCH in
19649 i386) wine_cv_64bit_compare_swap="-march=i586" ;;
19650 arm) wine_cv_64bit_compare_swap="-march=armv7-a" ;;
19651 *) wine_cv_64bit_compare_swap="unknown" ;;
19652 esac
19653 if test "x$wine_cv_64bit_compare_swap" != xunknown
19654 then
19655 CFLAGS="$CFLAGS $wine_cv_64bit_compare_swap"
19656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19657 /* end confdefs.h. */
19658 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
19659 #error no
19660 #endif
19662 main (void)
19666 return 0;
19668 _ACEOF
19669 if ac_fn_c_try_compile "$LINENO"
19670 then :
19672 else $as_nop
19673 wine_cv_64bit_compare_swap="unknown"
19675 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19676 CFLAGS=$saved_CFLAGS
19679 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19681 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_64bit_compare_swap" >&5
19682 printf "%s\n" "$wine_cv_64bit_compare_swap" >&6; }
19683 case "$wine_cv_64bit_compare_swap" in
19684 unknown) as_fn_error $? "gcc doesn't support 64-bit compare-and-swap on this platform" "$LINENO" 5 ;;
19685 "none needed") ;;
19686 *) EXTRACFLAGS="$EXTRACFLAGS $wine_cv_64bit_compare_swap" ;;
19687 esac
19689 ac_debug_format_seen=""
19690 for ac_flag in $CFLAGS; do
19691 case $ac_flag in
19692 -gdwarf*) ac_debug_format_seen=yes ;;
19693 -g) ac_debug_format_seen=${ac_debug_format_seen:-default} ;;
19694 esac
19695 done
19696 if test "x$ac_debug_format_seen" = xdefault
19697 then
19698 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-4" >&5
19699 printf %s "checking whether the compiler supports -gdwarf-4... " >&6; }
19700 if test ${ac_cv_cflags__gdwarf_4+y}
19701 then :
19702 printf %s "(cached) " >&6
19703 else $as_nop
19704 ac_wine_try_cflags_saved=$CFLAGS
19705 CFLAGS="$CFLAGS -gdwarf-4"
19706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19707 /* end confdefs.h. */
19708 int main(int argc, char **argv) { return 0; }
19709 _ACEOF
19710 if ac_fn_c_try_link "$LINENO"
19711 then :
19712 ac_cv_cflags__gdwarf_4=yes
19713 else $as_nop
19714 ac_cv_cflags__gdwarf_4=no
19716 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19717 conftest$ac_exeext conftest.$ac_ext
19718 CFLAGS=$ac_wine_try_cflags_saved
19720 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_4" >&5
19721 printf "%s\n" "$ac_cv_cflags__gdwarf_4" >&6; }
19722 if test "x$ac_cv_cflags__gdwarf_4" = xyes
19723 then :
19724 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-4"
19728 MSVCRTFLAGS=""
19730 case $host_os in
19731 mingw32*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-delayload,autoconftest.dll" >&5
19732 printf %s "checking whether the compiler supports -Wl,-delayload,autoconftest.dll... " >&6; }
19733 if test ${ac_cv_cflags__Wl__delayload_autoconftest_dll+y}
19734 then :
19735 printf %s "(cached) " >&6
19736 else $as_nop
19737 ac_wine_try_cflags_saved=$CFLAGS
19738 CFLAGS="$CFLAGS -Wl,-delayload,autoconftest.dll"
19739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19740 /* end confdefs.h. */
19741 int main(int argc, char **argv) { return 0; }
19742 _ACEOF
19743 if ac_fn_c_try_link "$LINENO"
19744 then :
19745 ac_cv_cflags__Wl__delayload_autoconftest_dll=yes
19746 else $as_nop
19747 ac_cv_cflags__Wl__delayload_autoconftest_dll=no
19749 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19750 conftest$ac_exeext conftest.$ac_ext
19751 CFLAGS=$ac_wine_try_cflags_saved
19753 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__delayload_autoconftest_dll" >&5
19754 printf "%s\n" "$ac_cv_cflags__Wl__delayload_autoconftest_dll" >&6; }
19755 if test "x$ac_cv_cflags__Wl__delayload_autoconftest_dll" = xyes
19756 then :
19757 DELAYLOADFLAG="-Wl,-delayload,"
19759 fi ;;
19760 *) MSVCRTFLAGS="-D_WIN32"
19761 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
19762 printf %s "checking whether the compiler supports -fno-builtin... " >&6; }
19763 if test ${ac_cv_cflags__fno_builtin+y}
19764 then :
19765 printf %s "(cached) " >&6
19766 else $as_nop
19767 ac_wine_try_cflags_saved=$CFLAGS
19768 CFLAGS="$CFLAGS -fno-builtin"
19769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19770 /* end confdefs.h. */
19771 int main(int argc, char **argv) { return 0; }
19772 _ACEOF
19773 if ac_fn_c_try_link "$LINENO"
19774 then :
19775 ac_cv_cflags__fno_builtin=yes
19776 else $as_nop
19777 ac_cv_cflags__fno_builtin=no
19779 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19780 conftest$ac_exeext conftest.$ac_ext
19781 CFLAGS=$ac_wine_try_cflags_saved
19783 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
19784 printf "%s\n" "$ac_cv_cflags__fno_builtin" >&6; }
19785 if test "x$ac_cv_cflags__fno_builtin" = xyes
19786 then :
19787 MSVCRTFLAGS="$MSVCRTFLAGS -fno-builtin"
19789 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
19790 printf %s "checking whether the compiler supports -fshort-wchar... " >&6; }
19791 if test ${ac_cv_cflags__fshort_wchar+y}
19792 then :
19793 printf %s "(cached) " >&6
19794 else $as_nop
19795 ac_wine_try_cflags_saved=$CFLAGS
19796 CFLAGS="$CFLAGS -fshort-wchar"
19797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19798 /* end confdefs.h. */
19799 int main(int argc, char **argv) { return 0; }
19800 _ACEOF
19801 if ac_fn_c_try_link "$LINENO"
19802 then :
19803 ac_cv_cflags__fshort_wchar=yes
19804 else $as_nop
19805 ac_cv_cflags__fshort_wchar=no
19807 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19808 conftest$ac_exeext conftest.$ac_ext
19809 CFLAGS=$ac_wine_try_cflags_saved
19811 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fshort_wchar" >&5
19812 printf "%s\n" "$ac_cv_cflags__fshort_wchar" >&6; }
19813 if test "x$ac_cv_cflags__fshort_wchar" = xyes
19814 then :
19815 MSVCRTFLAGS="$MSVCRTFLAGS -fshort-wchar"
19817 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
19818 printf %s "checking whether the compiler supports -Wno-format... " >&6; }
19819 if test ${ac_cv_cflags__Wno_format+y}
19820 then :
19821 printf %s "(cached) " >&6
19822 else $as_nop
19823 ac_wine_try_cflags_saved=$CFLAGS
19824 CFLAGS="$CFLAGS -Wno-format"
19825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19826 /* end confdefs.h. */
19827 int main(int argc, char **argv) { return 0; }
19828 _ACEOF
19829 if ac_fn_c_try_link "$LINENO"
19830 then :
19831 ac_cv_cflags__Wno_format=yes
19832 else $as_nop
19833 ac_cv_cflags__Wno_format=no
19835 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19836 conftest$ac_exeext conftest.$ac_ext
19837 CFLAGS=$ac_wine_try_cflags_saved
19839 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
19840 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
19841 if test "x$ac_cv_cflags__Wno_format" = xyes
19842 then :
19843 MSVCRTFLAGS="$MSVCRTFLAGS -Wno-format"
19844 fi ;;
19845 esac
19847 case $HOST_ARCH in
19848 i386) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
19849 printf %s "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
19850 if test ${ac_cv_cflags__fno_omit_frame_pointer+y}
19851 then :
19852 printf %s "(cached) " >&6
19853 else $as_nop
19854 ac_wine_try_cflags_saved=$CFLAGS
19855 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
19856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19857 /* end confdefs.h. */
19858 int main(int argc, char **argv) { return 0; }
19859 _ACEOF
19860 if ac_fn_c_try_link "$LINENO"
19861 then :
19862 ac_cv_cflags__fno_omit_frame_pointer=yes
19863 else $as_nop
19864 ac_cv_cflags__fno_omit_frame_pointer=no
19866 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19867 conftest$ac_exeext conftest.$ac_ext
19868 CFLAGS=$ac_wine_try_cflags_saved
19870 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
19871 printf "%s\n" "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
19872 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes
19873 then :
19874 MSVCRTFLAGS="$MSVCRTFLAGS -fno-omit-frame-pointer"
19875 fi ;;
19876 x86_64)
19877 case $host_os in
19878 cygwin*|mingw32*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
19879 printf %s "checking whether the compiler supports -Wno-format... " >&6; }
19880 if test ${ac_cv_cflags__Wno_format+y}
19881 then :
19882 printf %s "(cached) " >&6
19883 else $as_nop
19884 ac_wine_try_cflags_saved=$CFLAGS
19885 CFLAGS="$CFLAGS -Wno-format"
19886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19887 /* end confdefs.h. */
19888 int main(int argc, char **argv) { return 0; }
19889 _ACEOF
19890 if ac_fn_c_try_link "$LINENO"
19891 then :
19892 ac_cv_cflags__Wno_format=yes
19893 else $as_nop
19894 ac_cv_cflags__Wno_format=no
19896 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19897 conftest$ac_exeext conftest.$ac_ext
19898 CFLAGS=$ac_wine_try_cflags_saved
19900 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
19901 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
19902 if test "x$ac_cv_cflags__Wno_format" = xyes
19903 then :
19904 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
19905 fi ;;
19906 *) if test -z "$PE_ARCHS"
19907 then
19908 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working -mabi=ms" >&5
19909 printf %s "checking for working -mabi=ms... " >&6; }
19910 if test ${ac_cv_mabi_ms+y}
19911 then :
19912 printf %s "(cached) " >&6
19913 else $as_nop
19914 CFLAGS="$CFLAGS -mabi=ms"
19915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19916 /* end confdefs.h. */
19917 #include <stdarg.h>
19918 int a(int b, ...) { __builtin_ms_va_list list; __builtin_ms_va_start(list,b); }
19920 main (void)
19924 return 0;
19926 _ACEOF
19927 if ac_fn_c_try_compile "$LINENO"
19928 then :
19929 ac_cv_mabi_ms=yes
19930 else $as_nop
19931 ac_cv_mabi_ms=no
19933 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19934 CFLAGS=$saved_CFLAGS
19936 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mabi_ms" >&5
19937 printf "%s\n" "$ac_cv_mabi_ms" >&6; }
19938 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
19940 MSVCRTFLAGS="$MSVCRTFLAGS -mabi=ms" ;;
19941 esac ;;
19942 arm)
19943 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wincompatible-function-pointer-types" >&5
19944 printf %s "checking whether the compiler supports -Wincompatible-function-pointer-types... " >&6; }
19945 if test ${ac_cv_cflags__Wincompatible_function_pointer_types+y}
19946 then :
19947 printf %s "(cached) " >&6
19948 else $as_nop
19949 ac_wine_try_cflags_saved=$CFLAGS
19950 CFLAGS="$CFLAGS -Wincompatible-function-pointer-types"
19951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19952 /* end confdefs.h. */
19953 int main(int argc, char **argv) { return 0; }
19954 _ACEOF
19955 if ac_fn_c_try_link "$LINENO"
19956 then :
19957 ac_cv_cflags__Wincompatible_function_pointer_types=yes
19958 else $as_nop
19959 ac_cv_cflags__Wincompatible_function_pointer_types=no
19961 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19962 conftest$ac_exeext conftest.$ac_ext
19963 CFLAGS=$ac_wine_try_cflags_saved
19965 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wincompatible_function_pointer_types" >&5
19966 printf "%s\n" "$ac_cv_cflags__Wincompatible_function_pointer_types" >&6; }
19967 if test "x$ac_cv_cflags__Wincompatible_function_pointer_types" = xyes
19968 then :
19969 EXTRACFLAGS="$EXTRACFLAGS -Wno-error=incompatible-function-pointer-types"
19970 fi ;;
19971 esac
19973 CFLAGS=$saved_CFLAGS
19975 if test "x$enable_werror" = "xyes"
19976 then
19977 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
19978 printf %s "checking whether the compiler supports -Werror... " >&6; }
19979 if test ${ac_cv_cflags__Werror+y}
19980 then :
19981 printf %s "(cached) " >&6
19982 else $as_nop
19983 ac_wine_try_cflags_saved=$CFLAGS
19984 CFLAGS="$CFLAGS -Werror"
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__Werror=yes
19992 else $as_nop
19993 ac_cv_cflags__Werror=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__Werror" >&5
20000 printf "%s\n" "$ac_cv_cflags__Werror" >&6; }
20001 if test "x$ac_cv_cflags__Werror" = xyes
20002 then :
20003 EXTRACFLAGS="$EXTRACFLAGS -Werror"
20006 if test "x$enable_build_id" = "xyes"
20007 then
20008 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--build-id" >&5
20009 printf %s "checking whether the compiler supports -Wl,--build-id... " >&6; }
20010 if test ${ac_cv_cflags__Wl___build_id+y}
20011 then :
20012 printf %s "(cached) " >&6
20013 else $as_nop
20014 ac_wine_try_cflags_saved=$CFLAGS
20015 CFLAGS="$CFLAGS -Wl,--build-id"
20016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20017 /* end confdefs.h. */
20018 int main(int argc, char **argv) { return 0; }
20019 _ACEOF
20020 if ac_fn_c_try_link "$LINENO"
20021 then :
20022 ac_cv_cflags__Wl___build_id=yes
20023 else $as_nop
20024 ac_cv_cflags__Wl___build_id=no
20026 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20027 conftest$ac_exeext conftest.$ac_ext
20028 CFLAGS=$ac_wine_try_cflags_saved
20030 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___build_id" >&5
20031 printf "%s\n" "$ac_cv_cflags__Wl___build_id" >&6; }
20032 if test "x$ac_cv_cflags__Wl___build_id" = xyes
20033 then :
20034 CFLAGS="$CFLAGS -Wl,--build-id"
20035 LDFLAGS="$LDFLAGS -Wl,--build-id"
20041 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
20042 printf %s "checking for the need to disable Fortify... " >&6; }
20043 if test ${ac_cv_c_fortify_enabled+y}
20044 then :
20045 printf %s "(cached) " >&6
20046 else $as_nop
20047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20048 /* end confdefs.h. */
20049 #include <string.h>
20051 main (void)
20053 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
20054 #error Fortify enabled
20055 #endif
20057 return 0;
20059 _ACEOF
20060 if ac_fn_c_try_compile "$LINENO"
20061 then :
20062 ac_cv_c_fortify_enabled=no
20063 else $as_nop
20064 ac_cv_c_fortify_enabled=yes
20066 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
20068 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
20069 printf "%s\n" "$ac_cv_c_fortify_enabled" >&6; }
20070 if test "$ac_cv_c_fortify_enabled" = yes
20071 then
20072 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
20076 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
20077 printf %s "checking whether CFI directives are supported in assembly code... " >&6; }
20078 if test ${ac_cv_c_cfi_support+y}
20079 then :
20080 printf %s "(cached) " >&6
20081 else $as_nop
20082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20083 /* end confdefs.h. */
20084 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
20086 main (void)
20090 return 0;
20092 _ACEOF
20093 if ac_fn_c_try_compile "$LINENO"
20094 then :
20095 ac_cv_c_cfi_support="yes"
20096 else $as_nop
20097 ac_cv_c_cfi_support="no"
20099 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
20101 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
20102 printf "%s\n" "$ac_cv_c_cfi_support" >&6; }
20103 if test "$ac_cv_c_cfi_support" = "yes"
20104 then
20105 DLLFLAGS="$DLLFLAGS -fasynchronous-unwind-tables"
20106 LDDLLFLAGS="$LDDLLFLAGS -fasynchronous-unwind-tables"
20107 UNIXDLLFLAGS="$UNIXDLLFLAGS -fasynchronous-unwind-tables"
20108 elif test $HOST_ARCH = x86_64
20109 then
20110 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
20114 case "$HOST_ARCH,$PE_ARCHS" in
20115 x86_64,*i386*) wine_binary="wine" ;;
20116 x86_64,*) wine_binary="wine64" ;;
20117 *) wine_binary="wine" ;;
20118 esac
20119 WINELOADER_PROGRAMS="$wine_binary"
20122 case $host_os in
20123 linux*)
20124 if test $HOST_ARCH != unknown
20125 then
20126 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS " loader/wine-preloader"
20127 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
20130 darwin*|macosx*)
20131 if test "$wine_can_build_preloader" = "yes"
20132 then
20133 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS " loader/wine-preloader"
20134 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
20137 esac
20140 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
20141 printf %s "checking for library containing dlopen... " >&6; }
20142 if test ${ac_cv_search_dlopen+y}
20143 then :
20144 printf %s "(cached) " >&6
20145 else $as_nop
20146 ac_func_search_save_LIBS=$LIBS
20147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20148 /* end confdefs.h. */
20150 /* Override any GCC internal prototype to avoid an error.
20151 Use char because int might match the return type of a GCC
20152 builtin and then its argument prototype would still apply. */
20153 char dlopen ();
20155 main (void)
20157 return dlopen ();
20159 return 0;
20161 _ACEOF
20162 for ac_lib in '' dl
20164 if test -z "$ac_lib"; then
20165 ac_res="none required"
20166 else
20167 ac_res=-l$ac_lib
20168 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20170 if ac_fn_c_try_link "$LINENO"
20171 then :
20172 ac_cv_search_dlopen=$ac_res
20174 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20175 conftest$ac_exeext
20176 if test ${ac_cv_search_dlopen+y}
20177 then :
20178 break
20180 done
20181 if test ${ac_cv_search_dlopen+y}
20182 then :
20184 else $as_nop
20185 ac_cv_search_dlopen=no
20187 rm conftest.$ac_ext
20188 LIBS=$ac_func_search_save_LIBS
20190 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
20191 printf "%s\n" "$ac_cv_search_dlopen" >&6; }
20192 ac_res=$ac_cv_search_dlopen
20193 if test "$ac_res" != no
20194 then :
20195 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20200 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
20201 printf %s "checking for library containing gethostbyname... " >&6; }
20202 if test ${ac_cv_search_gethostbyname+y}
20203 then :
20204 printf %s "(cached) " >&6
20205 else $as_nop
20206 ac_func_search_save_LIBS=$LIBS
20207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20208 /* end confdefs.h. */
20210 /* Override any GCC internal prototype to avoid an error.
20211 Use char because int might match the return type of a GCC
20212 builtin and then its argument prototype would still apply. */
20213 char gethostbyname ();
20215 main (void)
20217 return gethostbyname ();
20219 return 0;
20221 _ACEOF
20222 for ac_lib in '' nsl
20224 if test -z "$ac_lib"; then
20225 ac_res="none required"
20226 else
20227 ac_res=-l$ac_lib
20228 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20230 if ac_fn_c_try_link "$LINENO"
20231 then :
20232 ac_cv_search_gethostbyname=$ac_res
20234 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20235 conftest$ac_exeext
20236 if test ${ac_cv_search_gethostbyname+y}
20237 then :
20238 break
20240 done
20241 if test ${ac_cv_search_gethostbyname+y}
20242 then :
20244 else $as_nop
20245 ac_cv_search_gethostbyname=no
20247 rm conftest.$ac_ext
20248 LIBS=$ac_func_search_save_LIBS
20250 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
20251 printf "%s\n" "$ac_cv_search_gethostbyname" >&6; }
20252 ac_res=$ac_cv_search_gethostbyname
20253 if test "$ac_res" != no
20254 then :
20255 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20260 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
20261 printf %s "checking for library containing connect... " >&6; }
20262 if test ${ac_cv_search_connect+y}
20263 then :
20264 printf %s "(cached) " >&6
20265 else $as_nop
20266 ac_func_search_save_LIBS=$LIBS
20267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20268 /* end confdefs.h. */
20270 /* Override any GCC internal prototype to avoid an error.
20271 Use char because int might match the return type of a GCC
20272 builtin and then its argument prototype would still apply. */
20273 char connect ();
20275 main (void)
20277 return connect ();
20279 return 0;
20281 _ACEOF
20282 for ac_lib in '' socket
20284 if test -z "$ac_lib"; then
20285 ac_res="none required"
20286 else
20287 ac_res=-l$ac_lib
20288 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20290 if ac_fn_c_try_link "$LINENO"
20291 then :
20292 ac_cv_search_connect=$ac_res
20294 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20295 conftest$ac_exeext
20296 if test ${ac_cv_search_connect+y}
20297 then :
20298 break
20300 done
20301 if test ${ac_cv_search_connect+y}
20302 then :
20304 else $as_nop
20305 ac_cv_search_connect=no
20307 rm conftest.$ac_ext
20308 LIBS=$ac_func_search_save_LIBS
20310 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
20311 printf "%s\n" "$ac_cv_search_connect" >&6; }
20312 ac_res=$ac_cv_search_connect
20313 if test "$ac_res" != no
20314 then :
20315 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20320 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
20321 printf %s "checking for library containing inet_aton... " >&6; }
20322 if test ${ac_cv_search_inet_aton+y}
20323 then :
20324 printf %s "(cached) " >&6
20325 else $as_nop
20326 ac_func_search_save_LIBS=$LIBS
20327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20328 /* end confdefs.h. */
20330 /* Override any GCC internal prototype to avoid an error.
20331 Use char because int might match the return type of a GCC
20332 builtin and then its argument prototype would still apply. */
20333 char inet_aton ();
20335 main (void)
20337 return inet_aton ();
20339 return 0;
20341 _ACEOF
20342 for ac_lib in '' resolv
20344 if test -z "$ac_lib"; then
20345 ac_res="none required"
20346 else
20347 ac_res=-l$ac_lib
20348 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20350 if ac_fn_c_try_link "$LINENO"
20351 then :
20352 ac_cv_search_inet_aton=$ac_res
20354 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20355 conftest$ac_exeext
20356 if test ${ac_cv_search_inet_aton+y}
20357 then :
20358 break
20360 done
20361 if test ${ac_cv_search_inet_aton+y}
20362 then :
20364 else $as_nop
20365 ac_cv_search_inet_aton=no
20367 rm conftest.$ac_ext
20368 LIBS=$ac_func_search_save_LIBS
20370 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
20371 printf "%s\n" "$ac_cv_search_inet_aton" >&6; }
20372 ac_res=$ac_cv_search_inet_aton
20373 if test "$ac_res" != no
20374 then :
20375 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20380 ac_save_CFLAGS="$CFLAGS"
20381 CFLAGS="$CFLAGS $BUILTINFLAG"
20382 ac_fn_c_check_func "$LINENO" "dladdr1" "ac_cv_func_dladdr1"
20383 if test "x$ac_cv_func_dladdr1" = xyes
20384 then :
20385 printf "%s\n" "#define HAVE_DLADDR1 1" >>confdefs.h
20388 ac_fn_c_check_func "$LINENO" "dlinfo" "ac_cv_func_dlinfo"
20389 if test "x$ac_cv_func_dlinfo" = xyes
20390 then :
20391 printf "%s\n" "#define HAVE_DLINFO 1" >>confdefs.h
20394 ac_fn_c_check_func "$LINENO" "epoll_create" "ac_cv_func_epoll_create"
20395 if test "x$ac_cv_func_epoll_create" = xyes
20396 then :
20397 printf "%s\n" "#define HAVE_EPOLL_CREATE 1" >>confdefs.h
20400 ac_fn_c_check_func "$LINENO" "fstatfs" "ac_cv_func_fstatfs"
20401 if test "x$ac_cv_func_fstatfs" = xyes
20402 then :
20403 printf "%s\n" "#define HAVE_FSTATFS 1" >>confdefs.h
20406 ac_fn_c_check_func "$LINENO" "futimens" "ac_cv_func_futimens"
20407 if test "x$ac_cv_func_futimens" = xyes
20408 then :
20409 printf "%s\n" "#define HAVE_FUTIMENS 1" >>confdefs.h
20412 ac_fn_c_check_func "$LINENO" "futimes" "ac_cv_func_futimes"
20413 if test "x$ac_cv_func_futimes" = xyes
20414 then :
20415 printf "%s\n" "#define HAVE_FUTIMES 1" >>confdefs.h
20418 ac_fn_c_check_func "$LINENO" "futimesat" "ac_cv_func_futimesat"
20419 if test "x$ac_cv_func_futimesat" = xyes
20420 then :
20421 printf "%s\n" "#define HAVE_FUTIMESAT 1" >>confdefs.h
20424 ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
20425 if test "x$ac_cv_func_getaddrinfo" = xyes
20426 then :
20427 printf "%s\n" "#define HAVE_GETADDRINFO 1" >>confdefs.h
20430 ac_fn_c_check_func "$LINENO" "getattrlist" "ac_cv_func_getattrlist"
20431 if test "x$ac_cv_func_getattrlist" = xyes
20432 then :
20433 printf "%s\n" "#define HAVE_GETATTRLIST 1" >>confdefs.h
20436 ac_fn_c_check_func "$LINENO" "getauxval" "ac_cv_func_getauxval"
20437 if test "x$ac_cv_func_getauxval" = xyes
20438 then :
20439 printf "%s\n" "#define HAVE_GETAUXVAL 1" >>confdefs.h
20442 ac_fn_c_check_func "$LINENO" "getifaddrs" "ac_cv_func_getifaddrs"
20443 if test "x$ac_cv_func_getifaddrs" = xyes
20444 then :
20445 printf "%s\n" "#define HAVE_GETIFADDRS 1" >>confdefs.h
20448 ac_fn_c_check_func "$LINENO" "getrandom" "ac_cv_func_getrandom"
20449 if test "x$ac_cv_func_getrandom" = xyes
20450 then :
20451 printf "%s\n" "#define HAVE_GETRANDOM 1" >>confdefs.h
20454 ac_fn_c_check_func "$LINENO" "kqueue" "ac_cv_func_kqueue"
20455 if test "x$ac_cv_func_kqueue" = xyes
20456 then :
20457 printf "%s\n" "#define HAVE_KQUEUE 1" >>confdefs.h
20460 ac_fn_c_check_func "$LINENO" "mach_continuous_time" "ac_cv_func_mach_continuous_time"
20461 if test "x$ac_cv_func_mach_continuous_time" = xyes
20462 then :
20463 printf "%s\n" "#define HAVE_MACH_CONTINUOUS_TIME 1" >>confdefs.h
20466 ac_fn_c_check_func "$LINENO" "pipe2" "ac_cv_func_pipe2"
20467 if test "x$ac_cv_func_pipe2" = xyes
20468 then :
20469 printf "%s\n" "#define HAVE_PIPE2 1" >>confdefs.h
20472 ac_fn_c_check_func "$LINENO" "port_create" "ac_cv_func_port_create"
20473 if test "x$ac_cv_func_port_create" = xyes
20474 then :
20475 printf "%s\n" "#define HAVE_PORT_CREATE 1" >>confdefs.h
20478 ac_fn_c_check_func "$LINENO" "posix_fadvise" "ac_cv_func_posix_fadvise"
20479 if test "x$ac_cv_func_posix_fadvise" = xyes
20480 then :
20481 printf "%s\n" "#define HAVE_POSIX_FADVISE 1" >>confdefs.h
20484 ac_fn_c_check_func "$LINENO" "posix_fallocate" "ac_cv_func_posix_fallocate"
20485 if test "x$ac_cv_func_posix_fallocate" = xyes
20486 then :
20487 printf "%s\n" "#define HAVE_POSIX_FALLOCATE 1" >>confdefs.h
20490 ac_fn_c_check_func "$LINENO" "prctl" "ac_cv_func_prctl"
20491 if test "x$ac_cv_func_prctl" = xyes
20492 then :
20493 printf "%s\n" "#define HAVE_PRCTL 1" >>confdefs.h
20496 ac_fn_c_check_func "$LINENO" "proc_pidinfo" "ac_cv_func_proc_pidinfo"
20497 if test "x$ac_cv_func_proc_pidinfo" = xyes
20498 then :
20499 printf "%s\n" "#define HAVE_PROC_PIDINFO 1" >>confdefs.h
20502 ac_fn_c_check_func "$LINENO" "sched_yield" "ac_cv_func_sched_yield"
20503 if test "x$ac_cv_func_sched_yield" = xyes
20504 then :
20505 printf "%s\n" "#define HAVE_SCHED_YIELD 1" >>confdefs.h
20508 ac_fn_c_check_func "$LINENO" "setproctitle" "ac_cv_func_setproctitle"
20509 if test "x$ac_cv_func_setproctitle" = xyes
20510 then :
20511 printf "%s\n" "#define HAVE_SETPROCTITLE 1" >>confdefs.h
20514 ac_fn_c_check_func "$LINENO" "setprogname" "ac_cv_func_setprogname"
20515 if test "x$ac_cv_func_setprogname" = xyes
20516 then :
20517 printf "%s\n" "#define HAVE_SETPROGNAME 1" >>confdefs.h
20520 ac_fn_c_check_func "$LINENO" "sigprocmask" "ac_cv_func_sigprocmask"
20521 if test "x$ac_cv_func_sigprocmask" = xyes
20522 then :
20523 printf "%s\n" "#define HAVE_SIGPROCMASK 1" >>confdefs.h
20526 ac_fn_c_check_func "$LINENO" "sysinfo" "ac_cv_func_sysinfo"
20527 if test "x$ac_cv_func_sysinfo" = xyes
20528 then :
20529 printf "%s\n" "#define HAVE_SYSINFO 1" >>confdefs.h
20532 ac_fn_c_check_func "$LINENO" "tcdrain" "ac_cv_func_tcdrain"
20533 if test "x$ac_cv_func_tcdrain" = xyes
20534 then :
20535 printf "%s\n" "#define HAVE_TCDRAIN 1" >>confdefs.h
20538 ac_fn_c_check_func "$LINENO" "thr_kill2" "ac_cv_func_thr_kill2"
20539 if test "x$ac_cv_func_thr_kill2" = xyes
20540 then :
20541 printf "%s\n" "#define HAVE_THR_KILL2 1" >>confdefs.h
20545 CFLAGS="$ac_save_CFLAGS"
20547 case $host_os in
20548 darwin*|macosx*) ;;
20549 *) ac_save_LIBS=$LIBS
20550 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
20551 printf %s "checking for library containing clock_gettime... " >&6; }
20552 if test ${ac_cv_search_clock_gettime+y}
20553 then :
20554 printf %s "(cached) " >&6
20555 else $as_nop
20556 ac_func_search_save_LIBS=$LIBS
20557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20558 /* end confdefs.h. */
20560 /* Override any GCC internal prototype to avoid an error.
20561 Use char because int might match the return type of a GCC
20562 builtin and then its argument prototype would still apply. */
20563 char clock_gettime ();
20565 main (void)
20567 return clock_gettime ();
20569 return 0;
20571 _ACEOF
20572 for ac_lib in '' rt
20574 if test -z "$ac_lib"; then
20575 ac_res="none required"
20576 else
20577 ac_res=-l$ac_lib
20578 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20580 if ac_fn_c_try_link "$LINENO"
20581 then :
20582 ac_cv_search_clock_gettime=$ac_res
20584 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20585 conftest$ac_exeext
20586 if test ${ac_cv_search_clock_gettime+y}
20587 then :
20588 break
20590 done
20591 if test ${ac_cv_search_clock_gettime+y}
20592 then :
20594 else $as_nop
20595 ac_cv_search_clock_gettime=no
20597 rm conftest.$ac_ext
20598 LIBS=$ac_func_search_save_LIBS
20600 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
20601 printf "%s\n" "$ac_cv_search_clock_gettime" >&6; }
20602 ac_res=$ac_cv_search_clock_gettime
20603 if test "$ac_res" != no
20604 then :
20605 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20607 printf "%s\n" "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
20609 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
20613 LIBS=$ac_save_LIBS
20615 esac
20617 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
20618 printf %s "checking for sched_setaffinity... " >&6; }
20619 if test ${wine_cv_have_sched_setaffinity+y}
20620 then :
20621 printf %s "(cached) " >&6
20622 else $as_nop
20623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20624 /* end confdefs.h. */
20625 #include <sched.h>
20627 main (void)
20629 sched_setaffinity(0, 0, 0);
20631 return 0;
20633 _ACEOF
20634 if ac_fn_c_try_link "$LINENO"
20635 then :
20636 wine_cv_have_sched_setaffinity=yes
20637 else $as_nop
20638 wine_cv_have_sched_setaffinity=no
20640 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20641 conftest$ac_exeext conftest.$ac_ext
20643 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
20644 printf "%s\n" "$wine_cv_have_sched_setaffinity" >&6; }
20645 if test "$wine_cv_have_sched_setaffinity" = "yes"
20646 then
20648 printf "%s\n" "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
20653 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
20654 printf %s "checking for inline... " >&6; }
20655 if test ${ac_cv_c_inline+y}
20656 then :
20657 printf %s "(cached) " >&6
20658 else $as_nop
20659 ac_cv_c_inline=no
20660 for ac_kw in inline __inline__ __inline; do
20661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20662 /* end confdefs.h. */
20663 #ifndef __cplusplus
20664 typedef int foo_t;
20665 static $ac_kw foo_t static_foo (void) {return 0; }
20666 $ac_kw foo_t foo (void) {return 0; }
20667 #endif
20669 _ACEOF
20670 if ac_fn_c_try_compile "$LINENO"
20671 then :
20672 ac_cv_c_inline=$ac_kw
20674 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
20675 test "$ac_cv_c_inline" != no && break
20676 done
20679 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
20680 printf "%s\n" "$ac_cv_c_inline" >&6; }
20682 case $ac_cv_c_inline in
20683 inline | yes) ;;
20685 case $ac_cv_c_inline in
20686 no) ac_val=;;
20687 *) ac_val=$ac_cv_c_inline;;
20688 esac
20689 cat >>confdefs.h <<_ACEOF
20690 #ifndef __cplusplus
20691 #define inline $ac_val
20692 #endif
20693 _ACEOF
20695 esac
20697 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
20699 if test "x$ac_cv_type_request_sense" = xyes
20700 then :
20702 printf "%s\n" "#define HAVE_REQUEST_SENSE 1" >>confdefs.h
20708 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
20709 #include <sys/socket.h>
20710 #ifdef HAVE_SYS_SOCKETVAR_H
20711 #include <sys/socketvar.h>
20712 #endif
20713 #ifdef HAVE_NET_ROUTE_H
20714 #include <net/route.h>
20715 #endif
20716 #ifdef HAVE_NETINET_IN_H
20717 #include <netinet/in.h>
20718 #endif
20719 #ifdef HAVE_NETINET_IN_SYSTM_H
20720 #include <netinet/in_systm.h>
20721 #endif
20722 #ifdef HAVE_NETINET_IP_H
20723 #include <netinet/ip.h>
20724 #endif
20725 #ifdef HAVE_NETINET_IN_PCB_H
20726 #include <netinet/in_pcb.h>
20727 #endif
20729 if test "x$ac_cv_type_struct_xinpgen" = xyes
20730 then :
20732 printf "%s\n" "#define HAVE_STRUCT_XINPGEN 1" >>confdefs.h
20738 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
20739 printf %s "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
20740 if test ${wine_cv_linux_gethostbyname_r_6+y}
20741 then :
20742 printf %s "(cached) " >&6
20743 else $as_nop
20744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20745 /* end confdefs.h. */
20746 #include <netdb.h>
20748 main (void)
20751 char *name=0;
20752 struct hostent he;
20753 struct hostent *result;
20754 char *buf=0;
20755 int bufsize=0;
20756 int errnr;
20757 char *addr=0;
20758 int addrlen=0;
20759 int addrtype=0;
20760 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
20761 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
20764 return 0;
20766 _ACEOF
20767 if ac_fn_c_try_link "$LINENO"
20768 then :
20769 wine_cv_linux_gethostbyname_r_6=yes
20770 else $as_nop
20771 wine_cv_linux_gethostbyname_r_6=no
20774 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20775 conftest$ac_exeext conftest.$ac_ext
20778 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
20779 printf "%s\n" "$wine_cv_linux_gethostbyname_r_6" >&6; }
20780 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
20781 then
20783 printf "%s\n" "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
20787 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
20788 #include <sys/socket.h>
20789 #ifdef HAVE_SYS_UN_H
20790 # include <sys/un.h>
20791 #endif
20793 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes
20794 then :
20796 printf "%s\n" "#define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1" >>confdefs.h
20800 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
20801 #include <sys/socket.h>
20802 #ifdef HAVE_SYS_UN_H
20803 # include <sys/un.h>
20804 #endif
20806 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
20807 then :
20809 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1" >>confdefs.h
20815 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
20816 #ifdef HAVE_SCSI_SG_H
20817 #include <scsi/sg.h>
20818 #endif
20820 if test "x$ac_cv_member_scsireq_t_cmd" = xyes
20821 then :
20823 printf "%s\n" "#define HAVE_SCSIREQ_T_CMD 1" >>confdefs.h
20827 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>
20828 #ifdef HAVE_SCSI_SG_H
20829 #include <scsi/sg.h>
20830 #endif
20832 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
20833 then :
20835 printf "%s\n" "#define HAVE_SG_IO_HDR_T_INTERFACE_ID 1" >>confdefs.h
20841 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
20843 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
20844 then :
20846 printf "%s\n" "#define HAVE_SIGINFO_T_SI_FD 1" >>confdefs.h
20852 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
20853 #ifdef HAVE_SYS_MTIO_H
20854 #include <sys/mtio.h>
20855 #endif
20857 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes
20858 then :
20860 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKSIZ 1" >>confdefs.h
20864 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
20865 #ifdef HAVE_SYS_MTIO_H
20866 #include <sys/mtio.h>
20867 #endif
20869 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes
20870 then :
20872 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_GSTAT 1" >>confdefs.h
20876 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
20877 #ifdef HAVE_SYS_MTIO_H
20878 #include <sys/mtio.h>
20879 #endif
20881 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
20882 then :
20884 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKNO 1" >>confdefs.h
20890 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
20891 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
20892 then :
20894 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIM 1" >>confdefs.h
20898 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
20899 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes
20900 then :
20902 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIMESPEC 1" >>confdefs.h
20906 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
20907 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
20908 then :
20910 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIM 1" >>confdefs.h
20914 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
20915 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes
20916 then :
20918 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIMESPEC 1" >>confdefs.h
20922 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
20923 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
20924 then :
20926 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIM 1" >>confdefs.h
20930 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
20931 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes
20932 then :
20934 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIMESPEC 1" >>confdefs.h
20938 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
20939 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes
20940 then :
20942 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIME 1" >>confdefs.h
20946 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
20947 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes
20948 then :
20950 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIM 1" >>confdefs.h
20954 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
20955 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes
20956 then :
20958 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1" >>confdefs.h
20962 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
20963 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes
20964 then :
20966 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIME 1" >>confdefs.h
20970 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
20971 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes
20972 then :
20974 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIM 1" >>confdefs.h
20980 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>
20981 #ifdef HAVE_NETINET_IN_H
20982 #include <netinet/in.h>
20983 #endif
20985 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
20986 then :
20988 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1" >>confdefs.h
20994 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
20995 #include <resolv.h>
20996 #endif
20998 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes
20999 then :
21001 printf "%s\n" "#define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1" >>confdefs.h
21007 ac_fn_c_check_member "$LINENO" "struct in6_pktinfo" "ipi6_addr" "ac_cv_member_struct_in6_pktinfo_ipi6_addr" "#ifdef HAVE_NETINET_IN_H
21008 #include <netinet/in.h>
21009 #endif
21011 if test "x$ac_cv_member_struct_in6_pktinfo_ipi6_addr" = xyes
21012 then :
21014 printf "%s\n" "#define HAVE_STRUCT_IN6_PKTINFO_IPI6_ADDR 1" >>confdefs.h
21020 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#include <sys/types.h>
21021 #ifdef HAVE_SYS_SOCKETVAR_H
21022 #include <sys/socketvar.h>
21023 #endif
21024 #ifdef HAVE_NETINET_IN_H
21025 #include <netinet/in.h>
21026 #endif
21027 #ifdef HAVE_NETINET_IP_VAR_H
21028 #include <netinet/ip_var.h>
21029 #endif
21031 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes
21032 then :
21034 printf "%s\n" "#define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1" >>confdefs.h
21040 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
21041 #include <netinet/ip_var.h>
21042 #endif
21044 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes
21045 then :
21047 printf "%s\n" "#define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1" >>confdefs.h
21053 ac_fn_c_check_member "$LINENO" "struct ip6stat" "ip6s_total" "ac_cv_member_struct_ip6stat_ip6s_total" "#include <sys/types.h>
21054 #ifdef HAVE_SYS_SOCKETVAR_H
21055 #include <sys/socketvar.h>
21056 #endif
21057 #ifdef HAVE_NETINET_IN_H
21058 #include <netinet/in.h>
21059 #endif
21060 #ifdef HAVE_NETINET6_IP6_VAR_H
21061 #include <netinet6/ip6_var.h>
21062 #endif
21064 if test "x$ac_cv_member_struct_ip6stat_ip6s_total" = xyes
21065 then :
21067 printf "%s\n" "#define HAVE_STRUCT_IP6STAT_IP6S_TOTAL 1" >>confdefs.h
21073 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_error" "ac_cv_member_struct_icmpstat_icps_error" "#include <sys/types.h>
21074 #ifdef HAVE_SYS_SOCKETVAR_H
21075 #include <sys/socketvar.h>
21076 #endif
21077 #ifdef HAVE_NETINET_IN_H
21078 #include <netinet/in.h>
21079 #endif
21080 #ifdef HAVE_NETINET_IP_H
21081 #include <netinet/ip.h>
21082 #endif
21083 #ifdef HAVE_NETINET_IP_ICMP_H
21084 #include <netinet/ip_icmp.h>
21085 #endif
21086 #ifdef HAVE_NETINET_ICMP_VAR_H
21087 #include <netinet/icmp_var.h>
21088 #endif
21090 if test "x$ac_cv_member_struct_icmpstat_icps_error" = xyes
21091 then :
21093 printf "%s\n" "#define HAVE_STRUCT_ICMPSTAT_ICPS_ERROR 1" >>confdefs.h
21099 ac_fn_c_check_member "$LINENO" "struct icmp6stat" "icp6s_error" "ac_cv_member_struct_icmp6stat_icp6s_error" "#include <sys/types.h>
21100 #ifdef HAVE_SYS_SOCKETVAR_H
21101 #include <sys/socketvar.h>
21102 #endif
21103 #ifdef HAVE_NETINET_IN_H
21104 #include <netinet/in.h>
21105 #endif
21106 #ifdef HAVE_NETINET_ICMP6_H
21107 #include <netinet/icmp6.h>
21108 #endif
21110 if test "x$ac_cv_member_struct_icmp6stat_icp6s_error" = xyes
21111 then :
21113 printf "%s\n" "#define HAVE_STRUCT_ICMP6STAT_ICP6S_ERROR 1" >>confdefs.h
21119 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#include <sys/types.h>
21120 #ifdef HAVE_SYS_SOCKETVAR_H
21121 #include <sys/socketvar.h>
21122 #endif
21123 #ifdef HAVE_NETINET_IN_H
21124 #include <netinet/in.h>
21125 #endif
21126 #ifdef HAVE_NETINET_TCP_H
21127 #include <netinet/tcp.h>
21128 #endif
21129 #ifdef HAVE_NETINET_TCP_VAR_H
21130 #include <netinet/tcp_var.h>
21131 #endif
21133 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes
21134 then :
21136 printf "%s\n" "#define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1" >>confdefs.h
21142 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
21143 #include <netinet/tcp_var.h>
21144 #endif
21146 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes
21147 then :
21149 printf "%s\n" "#define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1" >>confdefs.h
21155 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#include <sys/types.h>
21156 #ifdef HAVE_NETINET_IN_H
21157 #include <netinet/in.h>
21158 #endif
21159 #ifdef HAVE_NETINET_IP_VAR_H
21160 #include <netinet/ip_var.h>
21161 #endif
21162 #ifdef HAVE_NETINET_UDP_H
21163 #include <netinet/udp.h>
21164 #endif
21165 #ifdef HAVE_NETINET_UDP_VAR_H
21166 #include <netinet/udp_var.h>
21167 #endif
21169 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes
21170 then :
21172 printf "%s\n" "#define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1" >>confdefs.h
21178 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#include <sys/types.h>
21179 #ifdef HAVE_NET_IF_H
21180 # include <net/if.h>
21181 #endif
21183 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
21184 then :
21186 printf "%s\n" "#define HAVE_STRUCT_IFREQ_IFR_HWADDR 1" >>confdefs.h
21192 ac_fn_c_check_member "$LINENO" "struct sysinfo" "totalram" "ac_cv_member_struct_sysinfo_totalram" "#ifdef HAVE_SYS_SYSINFO_H
21193 # include <sys/sysinfo.h>
21194 #endif
21196 if test "x$ac_cv_member_struct_sysinfo_totalram" = xyes
21197 then :
21199 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_TOTALRAM 1" >>confdefs.h
21203 ac_fn_c_check_member "$LINENO" "struct sysinfo" "mem_unit" "ac_cv_member_struct_sysinfo_mem_unit" "#ifdef HAVE_SYS_SYSINFO_H
21204 # include <sys/sysinfo.h>
21205 #endif
21207 if test "x$ac_cv_member_struct_sysinfo_mem_unit" = xyes
21208 then :
21210 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_MEM_UNIT 1" >>confdefs.h
21216 LIBS="$ac_save_LIBS"
21218 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
21219 printf %s "checking for __builtin_popcount... " >&6; }
21220 if test ${ac_cv_have___builtin_popcount+y}
21221 then :
21222 printf %s "(cached) " >&6
21223 else $as_nop
21224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21225 /* end confdefs.h. */
21228 main (void)
21230 return __builtin_popcount(1)
21232 return 0;
21234 _ACEOF
21235 if ac_fn_c_try_link "$LINENO"
21236 then :
21237 ac_cv_have___builtin_popcount="yes"
21238 else $as_nop
21239 ac_cv_have___builtin_popcount="no"
21241 rm -f core conftest.err conftest.$ac_objext conftest.beam \
21242 conftest$ac_exeext conftest.$ac_ext
21244 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
21245 printf "%s\n" "$ac_cv_have___builtin_popcount" >&6; }
21246 if test "$ac_cv_have___builtin_popcount" = "yes"
21247 then
21249 printf "%s\n" "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
21253 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
21254 printf %s "checking for __clear_cache... " >&6; }
21255 if test ${ac_cv_have___clear_cache+y}
21256 then :
21257 printf %s "(cached) " >&6
21258 else $as_nop
21259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21260 /* end confdefs.h. */
21263 main (void)
21265 __clear_cache((void*)0, (void*)0); return 0;
21267 return 0;
21269 _ACEOF
21270 if ac_fn_c_try_link "$LINENO"
21271 then :
21272 ac_cv_have___clear_cache="yes"
21273 else $as_nop
21274 ac_cv_have___clear_cache="no"
21276 rm -f core conftest.err conftest.$ac_objext conftest.beam \
21277 conftest$ac_exeext conftest.$ac_ext
21279 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
21280 printf "%s\n" "$ac_cv_have___clear_cache" >&6; }
21281 if test "$ac_cv_have___clear_cache" = "yes"
21282 then
21284 printf "%s\n" "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
21289 case $host_cpu in
21290 *i[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
21291 printf %s "checking whether we need to define __i386__... " >&6; }
21292 if test ${ac_cv_cpp_def___i386__+y}
21293 then :
21294 printf %s "(cached) " >&6
21295 else $as_nop
21296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21297 /* end confdefs.h. */
21298 #ifndef __i386__
21300 #endif
21301 _ACEOF
21302 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21303 $EGREP "yes" >/dev/null 2>&1
21304 then :
21305 ac_cv_cpp_def___i386__=yes
21306 else $as_nop
21307 ac_cv_cpp_def___i386__=no
21309 rm -rf conftest*
21312 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
21313 printf "%s\n" "$ac_cv_cpp_def___i386__" >&6; }
21314 if test "x$ac_cv_cpp_def___i386__" = xyes
21315 then :
21316 CFLAGS="$CFLAGS -D__i386__"
21317 LINTFLAGS="$LINTFLAGS -D__i386__"
21318 fi ;;
21319 *x86_64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
21320 printf %s "checking whether we need to define __x86_64__... " >&6; }
21321 if test ${ac_cv_cpp_def___x86_64__+y}
21322 then :
21323 printf %s "(cached) " >&6
21324 else $as_nop
21325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21326 /* end confdefs.h. */
21327 #ifndef __x86_64__
21329 #endif
21330 _ACEOF
21331 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21332 $EGREP "yes" >/dev/null 2>&1
21333 then :
21334 ac_cv_cpp_def___x86_64__=yes
21335 else $as_nop
21336 ac_cv_cpp_def___x86_64__=no
21338 rm -rf conftest*
21341 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
21342 printf "%s\n" "$ac_cv_cpp_def___x86_64__" >&6; }
21343 if test "x$ac_cv_cpp_def___x86_64__" = xyes
21344 then :
21345 CFLAGS="$CFLAGS -D__x86_64__"
21346 LINTFLAGS="$LINTFLAGS -D__x86_64__"
21347 fi ;;
21348 *sparc64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
21349 printf %s "checking whether we need to define __sparc64__... " >&6; }
21350 if test ${ac_cv_cpp_def___sparc64__+y}
21351 then :
21352 printf %s "(cached) " >&6
21353 else $as_nop
21354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21355 /* end confdefs.h. */
21356 #ifndef __sparc64__
21358 #endif
21359 _ACEOF
21360 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21361 $EGREP "yes" >/dev/null 2>&1
21362 then :
21363 ac_cv_cpp_def___sparc64__=yes
21364 else $as_nop
21365 ac_cv_cpp_def___sparc64__=no
21367 rm -rf conftest*
21370 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
21371 printf "%s\n" "$ac_cv_cpp_def___sparc64__" >&6; }
21372 if test "x$ac_cv_cpp_def___sparc64__" = xyes
21373 then :
21374 CFLAGS="$CFLAGS -D__sparc64__"
21375 LINTFLAGS="$LINTFLAGS -D__sparc64__"
21376 fi ;;
21377 *sparc*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
21378 printf %s "checking whether we need to define __sparc__... " >&6; }
21379 if test ${ac_cv_cpp_def___sparc__+y}
21380 then :
21381 printf %s "(cached) " >&6
21382 else $as_nop
21383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21384 /* end confdefs.h. */
21385 #ifndef __sparc__
21387 #endif
21388 _ACEOF
21389 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21390 $EGREP "yes" >/dev/null 2>&1
21391 then :
21392 ac_cv_cpp_def___sparc__=yes
21393 else $as_nop
21394 ac_cv_cpp_def___sparc__=no
21396 rm -rf conftest*
21399 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
21400 printf "%s\n" "$ac_cv_cpp_def___sparc__" >&6; }
21401 if test "x$ac_cv_cpp_def___sparc__" = xyes
21402 then :
21403 CFLAGS="$CFLAGS -D__sparc__"
21404 LINTFLAGS="$LINTFLAGS -D__sparc__"
21405 fi ;;
21406 *powerpc64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
21407 printf %s "checking whether we need to define __powerpc64__... " >&6; }
21408 if test ${ac_cv_cpp_def___powerpc64__+y}
21409 then :
21410 printf %s "(cached) " >&6
21411 else $as_nop
21412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21413 /* end confdefs.h. */
21414 #ifndef __powerpc64__
21416 #endif
21417 _ACEOF
21418 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21419 $EGREP "yes" >/dev/null 2>&1
21420 then :
21421 ac_cv_cpp_def___powerpc64__=yes
21422 else $as_nop
21423 ac_cv_cpp_def___powerpc64__=no
21425 rm -rf conftest*
21428 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
21429 printf "%s\n" "$ac_cv_cpp_def___powerpc64__" >&6; }
21430 if test "x$ac_cv_cpp_def___powerpc64__" = xyes
21431 then :
21432 CFLAGS="$CFLAGS -D__powerpc64__"
21433 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
21434 fi ;;
21435 *powerpc*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
21436 printf %s "checking whether we need to define __powerpc__... " >&6; }
21437 if test ${ac_cv_cpp_def___powerpc__+y}
21438 then :
21439 printf %s "(cached) " >&6
21440 else $as_nop
21441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21442 /* end confdefs.h. */
21443 #ifndef __powerpc__
21445 #endif
21446 _ACEOF
21447 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21448 $EGREP "yes" >/dev/null 2>&1
21449 then :
21450 ac_cv_cpp_def___powerpc__=yes
21451 else $as_nop
21452 ac_cv_cpp_def___powerpc__=no
21454 rm -rf conftest*
21457 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
21458 printf "%s\n" "$ac_cv_cpp_def___powerpc__" >&6; }
21459 if test "x$ac_cv_cpp_def___powerpc__" = xyes
21460 then :
21461 CFLAGS="$CFLAGS -D__powerpc__"
21462 LINTFLAGS="$LINTFLAGS -D__powerpc__"
21463 fi ;;
21464 *aarch64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
21465 printf %s "checking whether we need to define __aarch64__... " >&6; }
21466 if test ${ac_cv_cpp_def___aarch64__+y}
21467 then :
21468 printf %s "(cached) " >&6
21469 else $as_nop
21470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21471 /* end confdefs.h. */
21472 #ifndef __aarch64__
21474 #endif
21475 _ACEOF
21476 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21477 $EGREP "yes" >/dev/null 2>&1
21478 then :
21479 ac_cv_cpp_def___aarch64__=yes
21480 else $as_nop
21481 ac_cv_cpp_def___aarch64__=no
21483 rm -rf conftest*
21486 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
21487 printf "%s\n" "$ac_cv_cpp_def___aarch64__" >&6; }
21488 if test "x$ac_cv_cpp_def___aarch64__" = xyes
21489 then :
21490 CFLAGS="$CFLAGS -D__aarch64__"
21491 LINTFLAGS="$LINTFLAGS -D__aarch64__"
21492 fi ;;
21493 *arm*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
21494 printf %s "checking whether we need to define __arm__... " >&6; }
21495 if test ${ac_cv_cpp_def___arm__+y}
21496 then :
21497 printf %s "(cached) " >&6
21498 else $as_nop
21499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21500 /* end confdefs.h. */
21501 #ifndef __arm__
21503 #endif
21504 _ACEOF
21505 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21506 $EGREP "yes" >/dev/null 2>&1
21507 then :
21508 ac_cv_cpp_def___arm__=yes
21509 else $as_nop
21510 ac_cv_cpp_def___arm__=no
21512 rm -rf conftest*
21515 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
21516 printf "%s\n" "$ac_cv_cpp_def___arm__" >&6; }
21517 if test "x$ac_cv_cpp_def___arm__" = xyes
21518 then :
21519 CFLAGS="$CFLAGS -D__arm__"
21520 LINTFLAGS="$LINTFLAGS -D__arm__"
21521 fi ;;
21522 esac
21524 case $host_vendor in
21525 *sun*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
21526 printf %s "checking whether we need to define __sun__... " >&6; }
21527 if test ${ac_cv_cpp_def___sun__+y}
21528 then :
21529 printf %s "(cached) " >&6
21530 else $as_nop
21531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21532 /* end confdefs.h. */
21533 #ifndef __sun__
21535 #endif
21536 _ACEOF
21537 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21538 $EGREP "yes" >/dev/null 2>&1
21539 then :
21540 ac_cv_cpp_def___sun__=yes
21541 else $as_nop
21542 ac_cv_cpp_def___sun__=no
21544 rm -rf conftest*
21547 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
21548 printf "%s\n" "$ac_cv_cpp_def___sun__" >&6; }
21549 if test "x$ac_cv_cpp_def___sun__" = xyes
21550 then :
21551 CFLAGS="$CFLAGS -D__sun__"
21552 LINTFLAGS="$LINTFLAGS -D__sun__"
21553 fi ;;
21554 esac
21560 ac_config_commands="$ac_config_commands include/stamp-h"
21562 printf %s "creating Makefile rules..." >&6
21564 makedep_flags=""
21565 test "x$enable_silent_rules" = xyes && makedep_flags="$makedep_flags -S"
21567 wine_srcdir=
21568 test "$srcdir" = . || wine_srcdir="$srcdir/"
21570 ac_config_links="$ac_config_links wine:tools/winewrapper"
21571 wine_fn_config_symlink wine
21572 if test "$wine_binary" = wine64 -o -n "$with_wine64"; then
21573 ac_config_links="$ac_config_links wine64:tools/winewrapper"
21574 wine_fn_config_symlink wine64
21577 wine_fn_config_makefile dlls/acledit enable_acledit
21578 wine_fn_config_makefile dlls/aclui enable_aclui
21579 wine_fn_config_makefile dlls/activeds.tlb enable_activeds_tlb
21580 wine_fn_config_makefile dlls/activeds enable_activeds
21581 wine_fn_config_makefile dlls/activeds/tests enable_tests
21582 wine_fn_config_makefile dlls/actxprxy enable_actxprxy
21583 wine_fn_config_makefile dlls/adsldp enable_adsldp
21584 wine_fn_config_makefile dlls/adsldp/tests enable_tests
21585 wine_fn_config_makefile dlls/adsldpc enable_adsldpc
21586 wine_fn_config_makefile dlls/advapi32 enable_advapi32
21587 wine_fn_config_makefile dlls/advapi32/tests enable_tests
21588 wine_fn_config_makefile dlls/advpack enable_advpack
21589 wine_fn_config_makefile dlls/advpack/tests enable_tests
21590 wine_fn_config_makefile dlls/amsi enable_amsi
21591 wine_fn_config_makefile dlls/amstream enable_amstream
21592 wine_fn_config_makefile dlls/amstream/tests enable_tests
21593 wine_fn_config_makefile dlls/apisetschema enable_apisetschema
21594 wine_fn_config_makefile dlls/apphelp enable_apphelp
21595 wine_fn_config_makefile dlls/apphelp/tests enable_tests
21596 wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
21597 wine_fn_config_makefile dlls/appxdeploymentclient enable_appxdeploymentclient
21598 wine_fn_config_makefile dlls/atl enable_atl
21599 wine_fn_config_makefile dlls/atl/tests enable_tests
21600 wine_fn_config_makefile dlls/atl100 enable_atl100
21601 wine_fn_config_makefile dlls/atl100/tests enable_tests
21602 wine_fn_config_makefile dlls/atl110 enable_atl110
21603 wine_fn_config_makefile dlls/atl110/tests enable_tests
21604 wine_fn_config_makefile dlls/atl80 enable_atl80
21605 wine_fn_config_makefile dlls/atl80/tests enable_tests
21606 wine_fn_config_makefile dlls/atl90 enable_atl90
21607 wine_fn_config_makefile dlls/atlthunk enable_atlthunk
21608 wine_fn_config_makefile dlls/atlthunk/tests enable_tests
21609 wine_fn_config_makefile dlls/atmlib enable_atmlib
21610 wine_fn_config_makefile dlls/authz enable_authz
21611 wine_fn_config_makefile dlls/avicap32 enable_avicap32
21612 wine_fn_config_makefile dlls/avifil32 enable_avifil32
21613 wine_fn_config_makefile dlls/avifil32/tests enable_tests
21614 wine_fn_config_makefile dlls/avifile.dll16 enable_win16
21615 wine_fn_config_makefile dlls/avrt enable_avrt
21616 wine_fn_config_makefile dlls/bcrypt enable_bcrypt
21617 wine_fn_config_makefile dlls/bcrypt/tests enable_tests
21618 wine_fn_config_makefile dlls/bcryptprimitives enable_bcryptprimitives
21619 wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
21620 wine_fn_config_makefile dlls/browseui enable_browseui
21621 wine_fn_config_makefile dlls/browseui/tests enable_tests
21622 wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
21623 wine_fn_config_makefile dlls/cabinet enable_cabinet
21624 wine_fn_config_makefile dlls/cabinet/tests enable_tests
21625 wine_fn_config_makefile dlls/capi2032 enable_capi2032
21626 wine_fn_config_makefile dlls/cards enable_cards
21627 wine_fn_config_makefile dlls/cdosys enable_cdosys
21628 wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
21629 wine_fn_config_makefile dlls/cfgmgr32/tests enable_tests
21630 wine_fn_config_makefile dlls/clusapi enable_clusapi
21631 wine_fn_config_makefile dlls/cng.sys enable_cng_sys
21632 wine_fn_config_makefile dlls/combase enable_combase
21633 wine_fn_config_makefile dlls/combase/tests enable_tests
21634 wine_fn_config_makefile dlls/comcat enable_comcat
21635 wine_fn_config_makefile dlls/comcat/tests enable_tests
21636 wine_fn_config_makefile dlls/comctl32 enable_comctl32
21637 wine_fn_config_makefile dlls/comctl32/tests enable_tests
21638 wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
21639 wine_fn_config_makefile dlls/comdlg32/tests enable_tests
21640 wine_fn_config_makefile dlls/coml2 enable_coml2
21641 wine_fn_config_makefile dlls/comm.drv16 enable_win16
21642 wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
21643 wine_fn_config_makefile dlls/compobj.dll16 enable_win16
21644 wine_fn_config_makefile dlls/compstui enable_compstui
21645 wine_fn_config_makefile dlls/compstui/tests enable_tests
21646 wine_fn_config_makefile dlls/comsvcs enable_comsvcs
21647 wine_fn_config_makefile dlls/comsvcs/tests enable_tests
21648 wine_fn_config_makefile dlls/concrt140 enable_concrt140
21649 wine_fn_config_makefile dlls/concrt140/tests enable_tests
21650 wine_fn_config_makefile dlls/connect enable_connect
21651 wine_fn_config_makefile dlls/credui enable_credui
21652 wine_fn_config_makefile dlls/credui/tests enable_tests
21653 wine_fn_config_makefile dlls/crtdll enable_crtdll
21654 wine_fn_config_makefile dlls/crypt32 enable_crypt32
21655 wine_fn_config_makefile dlls/crypt32/tests enable_tests
21656 wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
21657 wine_fn_config_makefile dlls/cryptdll enable_cryptdll
21658 wine_fn_config_makefile dlls/cryptext enable_cryptext
21659 wine_fn_config_makefile dlls/cryptnet enable_cryptnet
21660 wine_fn_config_makefile dlls/cryptnet/tests enable_tests
21661 wine_fn_config_makefile dlls/cryptowinrt enable_cryptowinrt
21662 wine_fn_config_makefile dlls/cryptowinrt/tests enable_tests
21663 wine_fn_config_makefile dlls/cryptsp enable_cryptsp
21664 wine_fn_config_makefile dlls/cryptui enable_cryptui
21665 wine_fn_config_makefile dlls/cryptui/tests enable_tests
21666 wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
21667 wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
21668 wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
21669 wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
21670 wine_fn_config_makefile dlls/d2d1 enable_d2d1
21671 wine_fn_config_makefile dlls/d2d1/tests enable_tests
21672 wine_fn_config_makefile dlls/d3d10 enable_d3d10
21673 wine_fn_config_makefile dlls/d3d10/tests enable_tests
21674 wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
21675 wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
21676 wine_fn_config_makefile dlls/d3d10core enable_d3d10core
21677 wine_fn_config_makefile dlls/d3d10core/tests enable_tests
21678 wine_fn_config_makefile dlls/d3d11 enable_d3d11
21679 wine_fn_config_makefile dlls/d3d11/tests enable_tests
21680 wine_fn_config_makefile dlls/d3d12 enable_d3d12
21681 wine_fn_config_makefile dlls/d3d12/tests enable_tests
21682 wine_fn_config_makefile dlls/d3d12core enable_d3d12core
21683 wine_fn_config_makefile dlls/d3d8 enable_d3d8
21684 wine_fn_config_makefile dlls/d3d8/tests enable_tests
21685 wine_fn_config_makefile dlls/d3d8thk enable_d3d8thk
21686 wine_fn_config_makefile dlls/d3d9 enable_d3d9
21687 wine_fn_config_makefile dlls/d3d9/tests enable_tests
21688 wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
21689 wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
21690 wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
21691 wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
21692 wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
21693 wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
21694 wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
21695 wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
21696 wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
21697 wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
21698 wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
21699 wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
21700 wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
21701 wine_fn_config_makefile dlls/d3dcompiler_46/tests enable_tests
21702 wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
21703 wine_fn_config_makefile dlls/d3dcompiler_47/tests enable_tests
21704 wine_fn_config_makefile dlls/d3dim enable_d3dim
21705 wine_fn_config_makefile dlls/d3dim700 enable_d3dim700
21706 wine_fn_config_makefile dlls/d3drm enable_d3drm
21707 wine_fn_config_makefile dlls/d3drm/tests enable_tests
21708 wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
21709 wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
21710 wine_fn_config_makefile dlls/d3dx10_34/tests enable_tests
21711 wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
21712 wine_fn_config_makefile dlls/d3dx10_35/tests enable_tests
21713 wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
21714 wine_fn_config_makefile dlls/d3dx10_36/tests enable_tests
21715 wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
21716 wine_fn_config_makefile dlls/d3dx10_37/tests enable_tests
21717 wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
21718 wine_fn_config_makefile dlls/d3dx10_38/tests enable_tests
21719 wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
21720 wine_fn_config_makefile dlls/d3dx10_39/tests enable_tests
21721 wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
21722 wine_fn_config_makefile dlls/d3dx10_40/tests enable_tests
21723 wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
21724 wine_fn_config_makefile dlls/d3dx10_41/tests enable_tests
21725 wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
21726 wine_fn_config_makefile dlls/d3dx10_42/tests enable_tests
21727 wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
21728 wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
21729 wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
21730 wine_fn_config_makefile dlls/d3dx11_42/tests enable_tests
21731 wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
21732 wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
21733 wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
21734 wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
21735 wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
21736 wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
21737 wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
21738 wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
21739 wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
21740 wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
21741 wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
21742 wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
21743 wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
21744 wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
21745 wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
21746 wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
21747 wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
21748 wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
21749 wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
21750 wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
21751 wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
21752 wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
21753 wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
21754 wine_fn_config_makefile dlls/d3dxof enable_d3dxof
21755 wine_fn_config_makefile dlls/d3dxof/tests enable_tests
21756 wine_fn_config_makefile dlls/davclnt enable_davclnt
21757 wine_fn_config_makefile dlls/dbgeng enable_dbgeng
21758 wine_fn_config_makefile dlls/dbgeng/tests enable_tests
21759 wine_fn_config_makefile dlls/dbghelp enable_dbghelp
21760 wine_fn_config_makefile dlls/dbghelp/tests enable_tests
21761 wine_fn_config_makefile dlls/dciman32 enable_dciman32
21762 wine_fn_config_makefile dlls/dcomp enable_dcomp
21763 wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
21764 wine_fn_config_makefile dlls/ddraw enable_ddraw
21765 wine_fn_config_makefile dlls/ddraw/tests enable_tests
21766 wine_fn_config_makefile dlls/ddrawex enable_ddrawex
21767 wine_fn_config_makefile dlls/ddrawex/tests enable_tests
21768 wine_fn_config_makefile dlls/devenum enable_devenum
21769 wine_fn_config_makefile dlls/devenum/tests enable_tests
21770 wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
21771 wine_fn_config_makefile dlls/dhcpcsvc/tests enable_tests
21772 wine_fn_config_makefile dlls/dhcpcsvc6 enable_dhcpcsvc6
21773 wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
21774 wine_fn_config_makefile dlls/diasymreader enable_diasymreader
21775 wine_fn_config_makefile dlls/difxapi enable_difxapi
21776 wine_fn_config_makefile dlls/dinput enable_dinput
21777 wine_fn_config_makefile dlls/dinput/tests enable_tests
21778 wine_fn_config_makefile dlls/dinput8 enable_dinput8
21779 wine_fn_config_makefile dlls/directmanipulation enable_directmanipulation
21780 wine_fn_config_makefile dlls/directmanipulation/tests enable_tests
21781 wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
21782 wine_fn_config_makefile dlls/dispex enable_dispex
21783 wine_fn_config_makefile dlls/dispex/tests enable_tests
21784 wine_fn_config_makefile dlls/display.drv16 enable_win16
21785 wine_fn_config_makefile dlls/dmband enable_dmband
21786 wine_fn_config_makefile dlls/dmband/tests enable_tests
21787 wine_fn_config_makefile dlls/dmcompos enable_dmcompos
21788 wine_fn_config_makefile dlls/dmcompos/tests enable_tests
21789 wine_fn_config_makefile dlls/dmime enable_dmime
21790 wine_fn_config_makefile dlls/dmime/tests enable_tests
21791 wine_fn_config_makefile dlls/dmloader enable_dmloader
21792 wine_fn_config_makefile dlls/dmloader/tests enable_tests
21793 wine_fn_config_makefile dlls/dmscript enable_dmscript
21794 wine_fn_config_makefile dlls/dmscript/tests enable_tests
21795 wine_fn_config_makefile dlls/dmstyle enable_dmstyle
21796 wine_fn_config_makefile dlls/dmstyle/tests enable_tests
21797 wine_fn_config_makefile dlls/dmsynth enable_dmsynth
21798 wine_fn_config_makefile dlls/dmsynth/tests enable_tests
21799 wine_fn_config_makefile dlls/dmusic enable_dmusic
21800 wine_fn_config_makefile dlls/dmusic/tests enable_tests
21801 wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
21802 wine_fn_config_makefile dlls/dnsapi enable_dnsapi
21803 wine_fn_config_makefile dlls/dnsapi/tests enable_tests
21804 wine_fn_config_makefile dlls/dplay enable_dplay
21805 wine_fn_config_makefile dlls/dplayx enable_dplayx
21806 wine_fn_config_makefile dlls/dplayx/tests enable_tests
21807 wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
21808 wine_fn_config_makefile dlls/dpnet enable_dpnet
21809 wine_fn_config_makefile dlls/dpnet/tests enable_tests
21810 wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
21811 wine_fn_config_makefile dlls/dpnhupnp enable_dpnhupnp
21812 wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
21813 wine_fn_config_makefile dlls/dpvoice enable_dpvoice
21814 wine_fn_config_makefile dlls/dpvoice/tests enable_tests
21815 wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
21816 wine_fn_config_makefile dlls/drmclien enable_drmclien
21817 wine_fn_config_makefile dlls/dsdmo enable_dsdmo
21818 wine_fn_config_makefile dlls/dsdmo/tests enable_tests
21819 wine_fn_config_makefile dlls/dsound enable_dsound
21820 wine_fn_config_makefile dlls/dsound/tests enable_tests
21821 wine_fn_config_makefile dlls/dsquery enable_dsquery
21822 wine_fn_config_makefile dlls/dssenh enable_dssenh
21823 wine_fn_config_makefile dlls/dssenh/tests enable_tests
21824 wine_fn_config_makefile dlls/dsuiext enable_dsuiext
21825 wine_fn_config_makefile dlls/dswave enable_dswave
21826 wine_fn_config_makefile dlls/dswave/tests enable_tests
21827 wine_fn_config_makefile dlls/dwmapi enable_dwmapi
21828 wine_fn_config_makefile dlls/dwmapi/tests enable_tests
21829 wine_fn_config_makefile dlls/dwrite enable_dwrite
21830 wine_fn_config_makefile dlls/dwrite/tests enable_tests
21831 wine_fn_config_makefile dlls/dx8vb enable_dx8vb
21832 wine_fn_config_makefile dlls/dxcore enable_dxcore
21833 wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
21834 wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
21835 wine_fn_config_makefile dlls/dxgi enable_dxgi
21836 wine_fn_config_makefile dlls/dxgi/tests enable_tests
21837 wine_fn_config_makefile dlls/dxtrans enable_dxtrans
21838 wine_fn_config_makefile dlls/dxva2 enable_dxva2
21839 wine_fn_config_makefile dlls/dxva2/tests enable_tests
21840 wine_fn_config_makefile dlls/esent enable_esent
21841 wine_fn_config_makefile dlls/evr enable_evr
21842 wine_fn_config_makefile dlls/evr/tests enable_tests
21843 wine_fn_config_makefile dlls/explorerframe enable_explorerframe
21844 wine_fn_config_makefile dlls/explorerframe/tests enable_tests
21845 wine_fn_config_makefile dlls/faultrep enable_faultrep
21846 wine_fn_config_makefile dlls/faultrep/tests enable_tests
21847 wine_fn_config_makefile dlls/feclient enable_feclient
21848 wine_fn_config_makefile dlls/fltlib enable_fltlib
21849 wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
21850 wine_fn_config_makefile dlls/fntcache enable_fntcache
21851 wine_fn_config_makefile dlls/fontsub enable_fontsub
21852 wine_fn_config_makefile dlls/fusion enable_fusion
21853 wine_fn_config_makefile dlls/fusion/tests enable_tests
21854 wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
21855 wine_fn_config_makefile dlls/gameux enable_gameux
21856 wine_fn_config_makefile dlls/gameux/tests enable_tests
21857 wine_fn_config_makefile dlls/gamingtcui enable_gamingtcui
21858 wine_fn_config_makefile dlls/gdi.exe16 enable_win16
21859 wine_fn_config_makefile dlls/gdi32 enable_gdi32
21860 wine_fn_config_makefile dlls/gdi32/tests enable_tests
21861 wine_fn_config_makefile dlls/gdiplus enable_gdiplus
21862 wine_fn_config_makefile dlls/gdiplus/tests enable_tests
21863 wine_fn_config_makefile dlls/geolocation enable_geolocation
21864 wine_fn_config_makefile dlls/geolocation/tests enable_tests
21865 wine_fn_config_makefile dlls/glu32 enable_glu32
21866 wine_fn_config_makefile dlls/glu32/tests enable_tests
21867 wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
21868 wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
21869 wine_fn_config_makefile dlls/graphicscapture enable_graphicscapture
21870 wine_fn_config_makefile dlls/graphicscapture/tests enable_tests
21871 wine_fn_config_makefile dlls/hal enable_hal
21872 wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
21873 wine_fn_config_makefile dlls/hid enable_hid
21874 wine_fn_config_makefile dlls/hid/tests enable_tests
21875 wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
21876 wine_fn_config_makefile dlls/hidparse.sys enable_hidparse_sys
21877 wine_fn_config_makefile dlls/hlink enable_hlink
21878 wine_fn_config_makefile dlls/hlink/tests enable_tests
21879 wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
21880 wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
21881 wine_fn_config_makefile dlls/hrtfapo enable_hrtfapo
21882 wine_fn_config_makefile dlls/http.sys enable_http_sys
21883 wine_fn_config_makefile dlls/httpapi enable_httpapi
21884 wine_fn_config_makefile dlls/httpapi/tests enable_tests
21885 wine_fn_config_makefile dlls/hvsimanagementapi enable_hvsimanagementapi
21886 wine_fn_config_makefile dlls/hvsimanagementapi/tests enable_tests
21887 wine_fn_config_makefile dlls/ia2comproxy enable_ia2comproxy
21888 wine_fn_config_makefile dlls/iccvid enable_iccvid
21889 wine_fn_config_makefile dlls/icmp enable_icmp
21890 wine_fn_config_makefile dlls/ieframe enable_ieframe
21891 wine_fn_config_makefile dlls/ieframe/tests enable_tests
21892 wine_fn_config_makefile dlls/ieproxy enable_ieproxy
21893 wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
21894 wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
21895 wine_fn_config_makefile dlls/imagehlp enable_imagehlp
21896 wine_fn_config_makefile dlls/imagehlp/tests enable_tests
21897 wine_fn_config_makefile dlls/imm.dll16 enable_win16
21898 wine_fn_config_makefile dlls/imm32 enable_imm32
21899 wine_fn_config_makefile dlls/imm32/tests enable_tests
21900 wine_fn_config_makefile dlls/inetcomm enable_inetcomm
21901 wine_fn_config_makefile dlls/inetcomm/tests enable_tests
21902 wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
21903 wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
21904 wine_fn_config_makefile dlls/inetmib1/tests enable_tests
21905 wine_fn_config_makefile dlls/infosoft enable_infosoft
21906 wine_fn_config_makefile dlls/infosoft/tests enable_tests
21907 wine_fn_config_makefile dlls/initpki enable_initpki
21908 wine_fn_config_makefile dlls/inkobj enable_inkobj
21909 wine_fn_config_makefile dlls/inseng enable_inseng
21910 wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
21911 wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
21912 wine_fn_config_makefile dlls/iprop enable_iprop
21913 wine_fn_config_makefile dlls/ir50_32 enable_ir50_32
21914 wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
21915 wine_fn_config_makefile dlls/itircl enable_itircl
21916 wine_fn_config_makefile dlls/itss enable_itss
21917 wine_fn_config_makefile dlls/itss/tests enable_tests
21918 wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
21919 wine_fn_config_makefile dlls/jscript enable_jscript
21920 wine_fn_config_makefile dlls/jscript/tests enable_tests
21921 wine_fn_config_makefile dlls/jsproxy enable_jsproxy
21922 wine_fn_config_makefile dlls/jsproxy/tests enable_tests
21923 wine_fn_config_makefile dlls/kerberos enable_kerberos
21924 wine_fn_config_makefile dlls/kernel32 enable_kernel32
21925 wine_fn_config_makefile dlls/kernel32/tests enable_tests
21926 wine_fn_config_makefile dlls/kernelbase enable_kernelbase
21927 wine_fn_config_makefile dlls/kernelbase/tests enable_tests
21928 wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
21929 wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
21930 wine_fn_config_makefile dlls/ksecdd.sys enable_ksecdd_sys
21931 wine_fn_config_makefile dlls/ksproxy.ax enable_ksproxy_ax
21932 wine_fn_config_makefile dlls/ksuser enable_ksuser
21933 wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
21934 wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
21935 wine_fn_config_makefile dlls/light.msstyles enable_light_msstyles
21936 wine_fn_config_makefile dlls/loadperf enable_loadperf
21937 wine_fn_config_makefile dlls/localspl enable_localspl
21938 wine_fn_config_makefile dlls/localspl/tests enable_tests
21939 wine_fn_config_makefile dlls/localui enable_localui
21940 wine_fn_config_makefile dlls/localui/tests enable_tests
21941 wine_fn_config_makefile dlls/lz32 enable_lz32
21942 wine_fn_config_makefile dlls/lz32/tests enable_tests
21943 wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
21944 wine_fn_config_makefile dlls/magnification enable_magnification
21945 wine_fn_config_makefile dlls/mapi32 enable_mapi32
21946 wine_fn_config_makefile dlls/mapi32/tests enable_tests
21947 wine_fn_config_makefile dlls/mapistub enable_mapistub
21948 wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
21949 wine_fn_config_makefile dlls/mcicda enable_mcicda
21950 wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
21951 wine_fn_config_makefile dlls/mciseq enable_mciseq
21952 wine_fn_config_makefile dlls/mciwave enable_mciwave
21953 wine_fn_config_makefile dlls/mf enable_mf
21954 wine_fn_config_makefile dlls/mf/tests enable_tests
21955 wine_fn_config_makefile dlls/mf3216 enable_mf3216
21956 wine_fn_config_makefile dlls/mferror enable_mferror
21957 wine_fn_config_makefile dlls/mfmediaengine enable_mfmediaengine
21958 wine_fn_config_makefile dlls/mfmediaengine/tests enable_tests
21959 wine_fn_config_makefile dlls/mfplat enable_mfplat
21960 wine_fn_config_makefile dlls/mfplat/tests enable_tests
21961 wine_fn_config_makefile dlls/mfplay enable_mfplay
21962 wine_fn_config_makefile dlls/mfplay/tests enable_tests
21963 wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
21964 wine_fn_config_makefile dlls/mfreadwrite/tests enable_tests
21965 wine_fn_config_makefile dlls/mfsrcsnk enable_mfsrcsnk
21966 wine_fn_config_makefile dlls/mfsrcsnk/tests enable_tests
21967 wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
21968 wine_fn_config_makefile dlls/midimap enable_midimap
21969 wine_fn_config_makefile dlls/mlang enable_mlang
21970 wine_fn_config_makefile dlls/mlang/tests enable_tests
21971 wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
21972 wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
21973 wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
21974 wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
21975 wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
21976 wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
21977 wine_fn_config_makefile dlls/monodebg.vxd enable_win16
21978 wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
21979 wine_fn_config_makefile dlls/mouse.drv16 enable_win16
21980 wine_fn_config_makefile dlls/mp3dmod enable_mp3dmod
21981 wine_fn_config_makefile dlls/mp3dmod/tests enable_tests
21982 wine_fn_config_makefile dlls/mpr enable_mpr
21983 wine_fn_config_makefile dlls/mpr/tests enable_tests
21984 wine_fn_config_makefile dlls/mprapi enable_mprapi
21985 wine_fn_config_makefile dlls/msacm.dll16 enable_win16
21986 wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
21987 wine_fn_config_makefile dlls/msacm32 enable_msacm32
21988 wine_fn_config_makefile dlls/msacm32/tests enable_tests
21989 wine_fn_config_makefile dlls/msado15 enable_msado15
21990 wine_fn_config_makefile dlls/msado15/tests enable_tests
21991 wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
21992 wine_fn_config_makefile dlls/msasn1 enable_msasn1
21993 wine_fn_config_makefile dlls/msasn1/tests enable_tests
21994 wine_fn_config_makefile dlls/msauddecmft enable_msauddecmft
21995 wine_fn_config_makefile dlls/mscat32 enable_mscat32
21996 wine_fn_config_makefile dlls/mscms enable_mscms
21997 wine_fn_config_makefile dlls/mscms/tests enable_tests
21998 wine_fn_config_makefile dlls/mscoree enable_mscoree
21999 wine_fn_config_makefile dlls/mscoree/tests enable_tests
22000 wine_fn_config_makefile dlls/mscorwks enable_mscorwks
22001 wine_fn_config_makefile dlls/msctf enable_msctf
22002 wine_fn_config_makefile dlls/msctf/tests enable_tests
22003 wine_fn_config_makefile dlls/msctfmonitor enable_msctfmonitor
22004 wine_fn_config_makefile dlls/msctfp enable_msctfp
22005 wine_fn_config_makefile dlls/msdaps enable_msdaps
22006 wine_fn_config_makefile dlls/msdasql enable_msdasql
22007 wine_fn_config_makefile dlls/msdasql/tests enable_tests
22008 wine_fn_config_makefile dlls/msdelta enable_msdelta
22009 wine_fn_config_makefile dlls/msdmo enable_msdmo
22010 wine_fn_config_makefile dlls/msdmo/tests enable_tests
22011 wine_fn_config_makefile dlls/msdrm enable_msdrm
22012 wine_fn_config_makefile dlls/msftedit enable_msftedit
22013 wine_fn_config_makefile dlls/msftedit/tests enable_tests
22014 wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
22015 wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
22016 wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
22017 wine_fn_config_makefile dlls/mshtml enable_mshtml
22018 wine_fn_config_makefile dlls/mshtml/tests enable_tests
22019 wine_fn_config_makefile dlls/msi enable_msi
22020 wine_fn_config_makefile dlls/msi/tests enable_tests
22021 wine_fn_config_makefile dlls/msident enable_msident
22022 wine_fn_config_makefile dlls/msimg32 enable_msimg32
22023 wine_fn_config_makefile dlls/msimsg enable_msimsg
22024 wine_fn_config_makefile dlls/msimtf enable_msimtf
22025 wine_fn_config_makefile dlls/msisip enable_msisip
22026 wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
22027 wine_fn_config_makefile dlls/msls31 enable_msls31
22028 wine_fn_config_makefile dlls/msmpeg2vdec enable_msmpeg2vdec
22029 wine_fn_config_makefile dlls/msnet32 enable_msnet32
22030 wine_fn_config_makefile dlls/mspatcha enable_mspatcha
22031 wine_fn_config_makefile dlls/mspatcha/tests enable_tests
22032 wine_fn_config_makefile dlls/msports enable_msports
22033 wine_fn_config_makefile dlls/msrle32 enable_msrle32
22034 wine_fn_config_makefile dlls/msrle32/tests enable_tests
22035 wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
22036 wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
22037 wine_fn_config_makefile dlls/mssign32 enable_mssign32
22038 wine_fn_config_makefile dlls/mssip32 enable_mssip32
22039 wine_fn_config_makefile dlls/mstask enable_mstask
22040 wine_fn_config_makefile dlls/mstask/tests enable_tests
22041 wine_fn_config_makefile dlls/msttsengine enable_msttsengine
22042 wine_fn_config_makefile dlls/msv1_0 enable_msv1_0
22043 wine_fn_config_makefile dlls/msvcirt enable_msvcirt
22044 wine_fn_config_makefile dlls/msvcirt/tests enable_tests
22045 wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
22046 wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
22047 wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
22048 wine_fn_config_makefile dlls/msvcp100/tests enable_tests
22049 wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
22050 wine_fn_config_makefile dlls/msvcp110/tests enable_tests
22051 wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
22052 wine_fn_config_makefile dlls/msvcp120/tests enable_tests
22053 wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
22054 wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
22055 wine_fn_config_makefile dlls/msvcp140/tests enable_tests
22056 wine_fn_config_makefile dlls/msvcp140_1 enable_msvcp140_1
22057 wine_fn_config_makefile dlls/msvcp140_1/tests enable_tests
22058 wine_fn_config_makefile dlls/msvcp140_2 enable_msvcp140_2
22059 wine_fn_config_makefile dlls/msvcp140_2/tests enable_tests
22060 wine_fn_config_makefile dlls/msvcp140_atomic_wait enable_msvcp140_atomic_wait
22061 wine_fn_config_makefile dlls/msvcp140_atomic_wait/tests enable_tests
22062 wine_fn_config_makefile dlls/msvcp140_codecvt_ids enable_msvcp140_codecvt_ids
22063 wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
22064 wine_fn_config_makefile dlls/msvcp60/tests enable_tests
22065 wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
22066 wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
22067 wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
22068 wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
22069 wine_fn_config_makefile dlls/msvcp90/tests enable_tests
22070 wine_fn_config_makefile dlls/msvcp_win enable_msvcp_win
22071 wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
22072 wine_fn_config_makefile dlls/msvcr100/tests enable_tests
22073 wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
22074 wine_fn_config_makefile dlls/msvcr110/tests enable_tests
22075 wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
22076 wine_fn_config_makefile dlls/msvcr120/tests enable_tests
22077 wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
22078 wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
22079 wine_fn_config_makefile dlls/msvcr70/tests enable_tests
22080 wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
22081 wine_fn_config_makefile dlls/msvcr71/tests enable_tests
22082 wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
22083 wine_fn_config_makefile dlls/msvcr80/tests enable_tests
22084 wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
22085 wine_fn_config_makefile dlls/msvcr90/tests enable_tests
22086 wine_fn_config_makefile dlls/msvcrt enable_msvcrt
22087 wine_fn_config_makefile dlls/msvcrt/tests enable_tests
22088 wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
22089 wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
22090 wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
22091 wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
22092 wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
22093 wine_fn_config_makefile dlls/msvfw32/tests enable_tests
22094 wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
22095 wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
22096 wine_fn_config_makefile dlls/mswsock enable_mswsock
22097 wine_fn_config_makefile dlls/msxml enable_msxml
22098 wine_fn_config_makefile dlls/msxml2 enable_msxml2
22099 wine_fn_config_makefile dlls/msxml3 enable_msxml3
22100 wine_fn_config_makefile dlls/msxml3/tests enable_tests
22101 wine_fn_config_makefile dlls/msxml4 enable_msxml4
22102 wine_fn_config_makefile dlls/msxml4/tests enable_tests
22103 wine_fn_config_makefile dlls/msxml6 enable_msxml6
22104 wine_fn_config_makefile dlls/msxml6/tests enable_tests
22105 wine_fn_config_makefile dlls/mtxdm enable_mtxdm
22106 wine_fn_config_makefile dlls/ncrypt enable_ncrypt
22107 wine_fn_config_makefile dlls/ncrypt/tests enable_tests
22108 wine_fn_config_makefile dlls/nddeapi enable_nddeapi
22109 wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
22110 wine_fn_config_makefile dlls/ndis.sys/tests enable_tests
22111 wine_fn_config_makefile dlls/netapi32 enable_netapi32
22112 wine_fn_config_makefile dlls/netapi32/tests enable_tests
22113 wine_fn_config_makefile dlls/netcfgx enable_netcfgx
22114 wine_fn_config_makefile dlls/netcfgx/tests enable_tests
22115 wine_fn_config_makefile dlls/netio.sys enable_netio_sys
22116 wine_fn_config_makefile dlls/netprofm enable_netprofm
22117 wine_fn_config_makefile dlls/netprofm/tests enable_tests
22118 wine_fn_config_makefile dlls/netutils enable_netutils
22119 wine_fn_config_makefile dlls/newdev enable_newdev
22120 wine_fn_config_makefile dlls/ninput enable_ninput
22121 wine_fn_config_makefile dlls/ninput/tests enable_tests
22122 wine_fn_config_makefile dlls/normaliz enable_normaliz
22123 wine_fn_config_makefile dlls/npmshtml enable_npmshtml
22124 wine_fn_config_makefile dlls/npptools enable_npptools
22125 wine_fn_config_makefile dlls/nsi enable_nsi
22126 wine_fn_config_makefile dlls/nsi/tests enable_tests
22127 wine_fn_config_makefile dlls/nsiproxy.sys enable_nsiproxy_sys
22128 wine_fn_config_makefile dlls/ntdll enable_ntdll
22129 wine_fn_config_makefile dlls/ntdll/tests enable_tests
22130 wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
22131 wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
22132 wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
22133 wine_fn_config_makefile dlls/ntoskrnl.exe/tests enable_tests
22134 wine_fn_config_makefile dlls/ntprint enable_ntprint
22135 wine_fn_config_makefile dlls/ntprint/tests enable_tests
22136 wine_fn_config_makefile dlls/objsel enable_objsel
22137 wine_fn_config_makefile dlls/odbc32 enable_odbc32
22138 wine_fn_config_makefile dlls/odbcbcp enable_odbcbcp
22139 wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
22140 wine_fn_config_makefile dlls/odbccp32/tests enable_tests
22141 wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
22142 wine_fn_config_makefile dlls/ole2.dll16 enable_win16
22143 wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
22144 wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
22145 wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
22146 wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
22147 wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
22148 wine_fn_config_makefile dlls/ole32 enable_ole32
22149 wine_fn_config_makefile dlls/ole32/tests enable_tests
22150 wine_fn_config_makefile dlls/oleacc enable_oleacc
22151 wine_fn_config_makefile dlls/oleacc/tests enable_tests
22152 wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
22153 wine_fn_config_makefile dlls/oleaut32/tests enable_tests
22154 wine_fn_config_makefile dlls/olecli.dll16 enable_win16
22155 wine_fn_config_makefile dlls/olecli32 enable_olecli32
22156 wine_fn_config_makefile dlls/oledb32 enable_oledb32
22157 wine_fn_config_makefile dlls/oledb32/tests enable_tests
22158 wine_fn_config_makefile dlls/oledlg enable_oledlg
22159 wine_fn_config_makefile dlls/oledlg/tests enable_tests
22160 wine_fn_config_makefile dlls/olepro32 enable_olepro32
22161 wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
22162 wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
22163 wine_fn_config_makefile dlls/olethk32 enable_olethk32
22164 wine_fn_config_makefile dlls/opcservices enable_opcservices
22165 wine_fn_config_makefile dlls/opcservices/tests enable_tests
22166 wine_fn_config_makefile dlls/opencl enable_opencl
22167 wine_fn_config_makefile dlls/opengl32 enable_opengl32
22168 wine_fn_config_makefile dlls/opengl32/tests enable_tests
22169 wine_fn_config_makefile dlls/packager enable_packager
22170 wine_fn_config_makefile dlls/packager/tests enable_tests
22171 wine_fn_config_makefile dlls/pdh enable_pdh
22172 wine_fn_config_makefile dlls/pdh/tests enable_tests
22173 wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
22174 wine_fn_config_makefile dlls/pidgen enable_pidgen
22175 wine_fn_config_makefile dlls/powrprof enable_powrprof
22176 wine_fn_config_makefile dlls/printui enable_printui
22177 wine_fn_config_makefile dlls/prntvpt enable_prntvpt
22178 wine_fn_config_makefile dlls/prntvpt/tests enable_tests
22179 wine_fn_config_makefile dlls/propsys enable_propsys
22180 wine_fn_config_makefile dlls/propsys/tests enable_tests
22181 wine_fn_config_makefile dlls/psapi enable_psapi
22182 wine_fn_config_makefile dlls/psapi/tests enable_tests
22183 wine_fn_config_makefile dlls/pstorec enable_pstorec
22184 wine_fn_config_makefile dlls/pstorec/tests enable_tests
22185 wine_fn_config_makefile dlls/pwrshplugin enable_pwrshplugin
22186 wine_fn_config_makefile dlls/qasf enable_qasf
22187 wine_fn_config_makefile dlls/qasf/tests enable_tests
22188 wine_fn_config_makefile dlls/qcap enable_qcap
22189 wine_fn_config_makefile dlls/qcap/tests enable_tests
22190 wine_fn_config_makefile dlls/qdvd enable_qdvd
22191 wine_fn_config_makefile dlls/qdvd/tests enable_tests
22192 wine_fn_config_makefile dlls/qedit enable_qedit
22193 wine_fn_config_makefile dlls/qedit/tests enable_tests
22194 wine_fn_config_makefile dlls/qmgr enable_qmgr
22195 wine_fn_config_makefile dlls/qmgr/tests enable_tests
22196 wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
22197 wine_fn_config_makefile dlls/quartz enable_quartz
22198 wine_fn_config_makefile dlls/quartz/tests enable_tests
22199 wine_fn_config_makefile dlls/query enable_query
22200 wine_fn_config_makefile dlls/qwave enable_qwave
22201 wine_fn_config_makefile dlls/qwave/tests enable_tests
22202 wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
22203 wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
22204 wine_fn_config_makefile dlls/rasapi32/tests enable_tests
22205 wine_fn_config_makefile dlls/rasdlg enable_rasdlg
22206 wine_fn_config_makefile dlls/regapi enable_regapi
22207 wine_fn_config_makefile dlls/resutils enable_resutils
22208 wine_fn_config_makefile dlls/riched20 enable_riched20
22209 wine_fn_config_makefile dlls/riched20/tests enable_tests
22210 wine_fn_config_makefile dlls/riched32 enable_riched32
22211 wine_fn_config_makefile dlls/riched32/tests enable_tests
22212 wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
22213 wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
22214 wine_fn_config_makefile dlls/rsabase enable_rsabase
22215 wine_fn_config_makefile dlls/rsaenh enable_rsaenh
22216 wine_fn_config_makefile dlls/rsaenh/tests enable_tests
22217 wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
22218 wine_fn_config_makefile dlls/rtutils enable_rtutils
22219 wine_fn_config_makefile dlls/rtworkq enable_rtworkq
22220 wine_fn_config_makefile dlls/rtworkq/tests enable_tests
22221 wine_fn_config_makefile dlls/samlib enable_samlib
22222 wine_fn_config_makefile dlls/sane.ds enable_sane_ds
22223 wine_fn_config_makefile dlls/sapi enable_sapi
22224 wine_fn_config_makefile dlls/sapi/tests enable_tests
22225 wine_fn_config_makefile dlls/sas enable_sas
22226 wine_fn_config_makefile dlls/scarddlg enable_scarddlg
22227 wine_fn_config_makefile dlls/scardsvr enable_scardsvr
22228 wine_fn_config_makefile dlls/sccbase enable_sccbase
22229 wine_fn_config_makefile dlls/schannel enable_schannel
22230 wine_fn_config_makefile dlls/schannel/tests enable_tests
22231 wine_fn_config_makefile dlls/schedsvc enable_schedsvc
22232 wine_fn_config_makefile dlls/schedsvc/tests enable_tests
22233 wine_fn_config_makefile dlls/scrobj enable_scrobj
22234 wine_fn_config_makefile dlls/scrobj/tests enable_tests
22235 wine_fn_config_makefile dlls/scrrun enable_scrrun
22236 wine_fn_config_makefile dlls/scrrun/tests enable_tests
22237 wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
22238 wine_fn_config_makefile dlls/sechost enable_sechost
22239 wine_fn_config_makefile dlls/secur32 enable_secur32
22240 wine_fn_config_makefile dlls/secur32/tests enable_tests
22241 wine_fn_config_makefile dlls/security enable_security
22242 wine_fn_config_makefile dlls/sensapi enable_sensapi
22243 wine_fn_config_makefile dlls/serialui enable_serialui
22244 wine_fn_config_makefile dlls/serialui/tests enable_tests
22245 wine_fn_config_makefile dlls/setupapi enable_setupapi
22246 wine_fn_config_makefile dlls/setupapi/tests enable_tests
22247 wine_fn_config_makefile dlls/setupx.dll16 enable_win16
22248 wine_fn_config_makefile dlls/sfc enable_sfc
22249 wine_fn_config_makefile dlls/sfc_os enable_sfc_os
22250 wine_fn_config_makefile dlls/shcore enable_shcore
22251 wine_fn_config_makefile dlls/shcore/tests enable_tests
22252 wine_fn_config_makefile dlls/shdoclc enable_shdoclc
22253 wine_fn_config_makefile dlls/shdocvw enable_shdocvw
22254 wine_fn_config_makefile dlls/shdocvw/tests enable_tests
22255 wine_fn_config_makefile dlls/shell.dll16 enable_win16
22256 wine_fn_config_makefile dlls/shell32 enable_shell32
22257 wine_fn_config_makefile dlls/shell32/tests enable_tests
22258 wine_fn_config_makefile dlls/shfolder enable_shfolder
22259 wine_fn_config_makefile dlls/shlwapi enable_shlwapi
22260 wine_fn_config_makefile dlls/shlwapi/tests enable_tests
22261 wine_fn_config_makefile dlls/slbcsp enable_slbcsp
22262 wine_fn_config_makefile dlls/slc enable_slc
22263 wine_fn_config_makefile dlls/slc/tests enable_tests
22264 wine_fn_config_makefile dlls/snmpapi enable_snmpapi
22265 wine_fn_config_makefile dlls/snmpapi/tests enable_tests
22266 wine_fn_config_makefile dlls/softpub enable_softpub
22267 wine_fn_config_makefile dlls/sound.drv16 enable_win16
22268 wine_fn_config_makefile dlls/spoolss enable_spoolss
22269 wine_fn_config_makefile dlls/spoolss/tests enable_tests
22270 wine_fn_config_makefile dlls/sppc enable_sppc
22271 wine_fn_config_makefile dlls/srclient enable_srclient
22272 wine_fn_config_makefile dlls/srvcli enable_srvcli
22273 wine_fn_config_makefile dlls/srvsvc enable_srvsvc
22274 wine_fn_config_makefile dlls/sspicli enable_sspicli
22275 wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
22276 wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
22277 wine_fn_config_makefile dlls/sti enable_sti
22278 wine_fn_config_makefile dlls/sti/tests enable_tests
22279 wine_fn_config_makefile dlls/storage.dll16 enable_win16
22280 wine_fn_config_makefile dlls/stress.dll16 enable_win16
22281 wine_fn_config_makefile dlls/strmdll enable_strmdll
22282 wine_fn_config_makefile dlls/svrapi enable_svrapi
22283 wine_fn_config_makefile dlls/sxs enable_sxs
22284 wine_fn_config_makefile dlls/sxs/tests enable_tests
22285 wine_fn_config_makefile dlls/system.drv16 enable_win16
22286 wine_fn_config_makefile dlls/t2embed enable_t2embed
22287 wine_fn_config_makefile dlls/t2embed/tests enable_tests
22288 wine_fn_config_makefile dlls/tapi32 enable_tapi32
22289 wine_fn_config_makefile dlls/tapi32/tests enable_tests
22290 wine_fn_config_makefile dlls/taskschd enable_taskschd
22291 wine_fn_config_makefile dlls/taskschd/tests enable_tests
22292 wine_fn_config_makefile dlls/tbs enable_tbs
22293 wine_fn_config_makefile dlls/tdh enable_tdh
22294 wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
22295 wine_fn_config_makefile dlls/threadpoolwinrt enable_threadpoolwinrt
22296 wine_fn_config_makefile dlls/threadpoolwinrt/tests enable_tests
22297 wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
22298 wine_fn_config_makefile dlls/traffic enable_traffic
22299 wine_fn_config_makefile dlls/twain.dll16 enable_win16
22300 wine_fn_config_makefile dlls/twain_32 enable_twain_32
22301 wine_fn_config_makefile dlls/twain_32/tests enable_tests
22302 wine_fn_config_makefile dlls/twinapi.appcore enable_twinapi_appcore
22303 wine_fn_config_makefile dlls/twinapi.appcore/tests enable_tests
22304 wine_fn_config_makefile dlls/typelib.dll16 enable_win16
22305 wine_fn_config_makefile dlls/tzres enable_tzres
22306 wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
22307 wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
22308 wine_fn_config_makefile dlls/uianimation enable_uianimation
22309 wine_fn_config_makefile dlls/uianimation/tests enable_tests
22310 wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
22311 wine_fn_config_makefile dlls/uiautomationcore/tests enable_tests
22312 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
22313 wine_fn_config_makefile dlls/unicows enable_unicows
22314 wine_fn_config_makefile dlls/updspapi enable_updspapi
22315 wine_fn_config_makefile dlls/url enable_url
22316 wine_fn_config_makefile dlls/urlmon enable_urlmon
22317 wine_fn_config_makefile dlls/urlmon/tests enable_tests
22318 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
22319 wine_fn_config_makefile dlls/user.exe16 enable_win16
22320 wine_fn_config_makefile dlls/user32 enable_user32
22321 wine_fn_config_makefile dlls/user32/tests enable_tests
22322 wine_fn_config_makefile dlls/userenv enable_userenv
22323 wine_fn_config_makefile dlls/userenv/tests enable_tests
22324 wine_fn_config_makefile dlls/usp10 enable_usp10
22325 wine_fn_config_makefile dlls/usp10/tests enable_tests
22326 wine_fn_config_makefile dlls/utildll enable_utildll
22327 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
22328 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
22329 wine_fn_config_makefile dlls/vbscript enable_vbscript
22330 wine_fn_config_makefile dlls/vbscript/tests enable_tests
22331 wine_fn_config_makefile dlls/vcomp enable_vcomp
22332 wine_fn_config_makefile dlls/vcomp/tests enable_tests
22333 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
22334 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
22335 wine_fn_config_makefile dlls/vcomp110/tests enable_tests
22336 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
22337 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
22338 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
22339 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
22340 wine_fn_config_makefile dlls/vcruntime140_1 enable_vcruntime140_1
22341 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
22342 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
22343 wine_fn_config_makefile dlls/ver.dll16 enable_win16
22344 wine_fn_config_makefile dlls/version enable_version
22345 wine_fn_config_makefile dlls/version/tests enable_tests
22346 wine_fn_config_makefile dlls/vga enable_vga
22347 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
22348 wine_fn_config_makefile dlls/virtdisk/tests enable_tests
22349 wine_fn_config_makefile dlls/vmm.vxd enable_win16
22350 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
22351 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
22352 wine_fn_config_makefile dlls/vssapi enable_vssapi
22353 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
22354 wine_fn_config_makefile dlls/vulkan-1 enable_vulkan_1
22355 wine_fn_config_makefile dlls/vulkan-1/tests enable_tests
22356 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
22357 wine_fn_config_makefile dlls/w32skrnl enable_win16
22358 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
22359 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
22360 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
22361 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
22362 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
22363 wine_fn_config_makefile dlls/wdscore enable_wdscore
22364 wine_fn_config_makefile dlls/webservices enable_webservices
22365 wine_fn_config_makefile dlls/webservices/tests enable_tests
22366 wine_fn_config_makefile dlls/websocket enable_websocket
22367 wine_fn_config_makefile dlls/wer enable_wer
22368 wine_fn_config_makefile dlls/wer/tests enable_tests
22369 wine_fn_config_makefile dlls/wevtapi enable_wevtapi
22370 wine_fn_config_makefile dlls/wevtapi/tests enable_tests
22371 wine_fn_config_makefile dlls/wevtsvc enable_wevtsvc
22372 wine_fn_config_makefile dlls/wiaservc enable_wiaservc
22373 wine_fn_config_makefile dlls/wiaservc/tests enable_tests
22374 wine_fn_config_makefile dlls/wimgapi enable_wimgapi
22375 wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
22376 wine_fn_config_makefile dlls/win32u enable_win32u
22377 wine_fn_config_makefile dlls/win32u/tests enable_tests
22378 wine_fn_config_makefile dlls/win87em.dll16 enable_win16
22379 wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
22380 wine_fn_config_makefile dlls/windebug.dll16 enable_win16
22381 wine_fn_config_makefile dlls/windows.applicationmodel enable_windows_applicationmodel
22382 wine_fn_config_makefile dlls/windows.applicationmodel/tests enable_tests
22383 wine_fn_config_makefile dlls/windows.devices.bluetooth enable_windows_devices_bluetooth
22384 wine_fn_config_makefile dlls/windows.devices.bluetooth/tests enable_tests
22385 wine_fn_config_makefile dlls/windows.devices.enumeration enable_windows_devices_enumeration
22386 wine_fn_config_makefile dlls/windows.devices.enumeration/tests enable_tests
22387 wine_fn_config_makefile dlls/windows.devices.usb enable_windows_devices_usb
22388 wine_fn_config_makefile dlls/windows.devices.usb/tests enable_tests
22389 wine_fn_config_makefile dlls/windows.gaming.input enable_windows_gaming_input
22390 wine_fn_config_makefile dlls/windows.gaming.input/tests enable_tests
22391 wine_fn_config_makefile dlls/windows.gaming.ui.gamebar enable_windows_gaming_ui_gamebar
22392 wine_fn_config_makefile dlls/windows.gaming.ui.gamebar/tests enable_tests
22393 wine_fn_config_makefile dlls/windows.globalization enable_windows_globalization
22394 wine_fn_config_makefile dlls/windows.globalization/tests enable_tests
22395 wine_fn_config_makefile dlls/windows.media.devices enable_windows_media_devices
22396 wine_fn_config_makefile dlls/windows.media.devices/tests enable_tests
22397 wine_fn_config_makefile dlls/windows.media.mediacontrol enable_windows_media_mediacontrol
22398 wine_fn_config_makefile dlls/windows.media.mediacontrol/tests enable_tests
22399 wine_fn_config_makefile dlls/windows.media.speech enable_windows_media_speech
22400 wine_fn_config_makefile dlls/windows.media.speech/tests enable_tests
22401 wine_fn_config_makefile dlls/windows.media enable_windows_media
22402 wine_fn_config_makefile dlls/windows.media/tests enable_tests
22403 wine_fn_config_makefile dlls/windows.networking.hostname enable_windows_networking_hostname
22404 wine_fn_config_makefile dlls/windows.networking.hostname/tests enable_tests
22405 wine_fn_config_makefile dlls/windows.networking enable_windows_networking
22406 wine_fn_config_makefile dlls/windows.perception.stub enable_windows_perception_stub
22407 wine_fn_config_makefile dlls/windows.perception.stub/tests enable_tests
22408 wine_fn_config_makefile dlls/windows.security.credentials.ui.userconsentverifier enable_windows_security_credentials_ui_userconsentverifier
22409 wine_fn_config_makefile dlls/windows.security.credentials.ui.userconsentverifier/tests enable_tests
22410 wine_fn_config_makefile dlls/windows.storage.applicationdata enable_windows_storage_applicationdata
22411 wine_fn_config_makefile dlls/windows.storage.applicationdata/tests enable_tests
22412 wine_fn_config_makefile dlls/windows.system.profile.systemmanufacturers enable_windows_system_profile_systemmanufacturers
22413 wine_fn_config_makefile dlls/windows.system.profile.systemmanufacturers/tests enable_tests
22414 wine_fn_config_makefile dlls/windows.ui enable_windows_ui
22415 wine_fn_config_makefile dlls/windows.ui/tests enable_tests
22416 wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
22417 wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
22418 wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
22419 wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
22420 wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
22421 wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
22422 wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
22423 wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
22424 wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
22425 wine_fn_config_makefile dlls/wined3d enable_wined3d
22426 wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
22427 wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
22428 wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
22429 wine_fn_config_makefile dlls/winemapi enable_winemapi
22430 wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
22431 wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
22432 wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
22433 wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
22434 wine_fn_config_makefile dlls/wineusb.sys enable_wineusb_sys
22435 wine_fn_config_makefile dlls/winevulkan enable_winevulkan
22436 wine_fn_config_makefile dlls/winewayland.drv enable_winewayland_drv
22437 wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
22438 wine_fn_config_makefile dlls/winexinput.sys enable_winexinput_sys
22439 wine_fn_config_makefile dlls/wing.dll16 enable_win16
22440 wine_fn_config_makefile dlls/wing32 enable_wing32
22441 wine_fn_config_makefile dlls/wing32/tests enable_tests
22442 wine_fn_config_makefile dlls/winhttp enable_winhttp
22443 wine_fn_config_makefile dlls/winhttp/tests enable_tests
22444 wine_fn_config_makefile dlls/wininet enable_wininet
22445 wine_fn_config_makefile dlls/wininet/tests enable_tests
22446 wine_fn_config_makefile dlls/winmm enable_winmm
22447 wine_fn_config_makefile dlls/winmm/tests enable_tests
22448 wine_fn_config_makefile dlls/winnls.dll16 enable_win16
22449 wine_fn_config_makefile dlls/winnls32 enable_winnls32
22450 wine_fn_config_makefile dlls/winprint enable_winprint
22451 wine_fn_config_makefile dlls/winscard enable_winscard
22452 wine_fn_config_makefile dlls/winscard/tests enable_tests
22453 wine_fn_config_makefile dlls/winsock.dll16 enable_win16
22454 wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
22455 wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
22456 wine_fn_config_makefile dlls/winsta enable_winsta
22457 wine_fn_config_makefile dlls/wintab.dll16 enable_win16
22458 wine_fn_config_makefile dlls/wintab32 enable_wintab32
22459 wine_fn_config_makefile dlls/wintab32/tests enable_tests
22460 wine_fn_config_makefile dlls/wintrust enable_wintrust
22461 wine_fn_config_makefile dlls/wintrust/tests enable_tests
22462 wine_fn_config_makefile dlls/wintypes enable_wintypes
22463 wine_fn_config_makefile dlls/wintypes/tests enable_tests
22464 wine_fn_config_makefile dlls/winusb enable_winusb
22465 wine_fn_config_makefile dlls/wlanapi enable_wlanapi
22466 wine_fn_config_makefile dlls/wlanapi/tests enable_tests
22467 wine_fn_config_makefile dlls/wlanui enable_wlanui
22468 wine_fn_config_makefile dlls/wldap32 enable_wldap32
22469 wine_fn_config_makefile dlls/wldap32/tests enable_tests
22470 wine_fn_config_makefile dlls/wldp enable_wldp
22471 wine_fn_config_makefile dlls/wldp/tests enable_tests
22472 wine_fn_config_makefile dlls/wmasf enable_wmasf
22473 wine_fn_config_makefile dlls/wmi enable_wmi
22474 wine_fn_config_makefile dlls/wmiutils enable_wmiutils
22475 wine_fn_config_makefile dlls/wmiutils/tests enable_tests
22476 wine_fn_config_makefile dlls/wmp enable_wmp
22477 wine_fn_config_makefile dlls/wmp/tests enable_tests
22478 wine_fn_config_makefile dlls/wmphoto enable_wmphoto
22479 wine_fn_config_makefile dlls/wmvcore enable_wmvcore
22480 wine_fn_config_makefile dlls/wmvcore/tests enable_tests
22481 wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
22482 wine_fn_config_makefile dlls/wofutil enable_wofutil
22483 wine_fn_config_makefile dlls/wow32 enable_win16
22484 wine_fn_config_makefile dlls/wow64 enable_wow64
22485 wine_fn_config_makefile dlls/wow64cpu enable_wow64cpu
22486 wine_fn_config_makefile dlls/wow64win enable_wow64win
22487 wine_fn_config_makefile dlls/wpc enable_wpc
22488 wine_fn_config_makefile dlls/wpc/tests enable_tests
22489 wine_fn_config_makefile dlls/wpcap enable_wpcap
22490 wine_fn_config_makefile dlls/wpcap/tests enable_tests
22491 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
22492 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
22493 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
22494 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
22495 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
22496 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
22497 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
22498 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
22499 wine_fn_config_makefile dlls/wsock32 enable_wsock32
22500 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
22501 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
22502 wine_fn_config_makefile dlls/wuapi enable_wuapi
22503 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
22504 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
22505 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
22506 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
22507 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
22508 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
22509 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
22510 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
22511 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
22512 wine_fn_config_makefile dlls/xactengine2_0 enable_xactengine2_0
22513 wine_fn_config_makefile dlls/xactengine2_4 enable_xactengine2_4
22514 wine_fn_config_makefile dlls/xactengine2_7 enable_xactengine2_7
22515 wine_fn_config_makefile dlls/xactengine2_9 enable_xactengine2_9
22516 wine_fn_config_makefile dlls/xactengine3_0 enable_xactengine3_0
22517 wine_fn_config_makefile dlls/xactengine3_1 enable_xactengine3_1
22518 wine_fn_config_makefile dlls/xactengine3_2 enable_xactengine3_2
22519 wine_fn_config_makefile dlls/xactengine3_3 enable_xactengine3_3
22520 wine_fn_config_makefile dlls/xactengine3_4 enable_xactengine3_4
22521 wine_fn_config_makefile dlls/xactengine3_5 enable_xactengine3_5
22522 wine_fn_config_makefile dlls/xactengine3_6 enable_xactengine3_6
22523 wine_fn_config_makefile dlls/xactengine3_7 enable_xactengine3_7
22524 wine_fn_config_makefile dlls/xactengine3_7/tests enable_tests
22525 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
22526 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
22527 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
22528 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
22529 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
22530 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
22531 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
22532 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
22533 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
22534 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
22535 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
22536 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
22537 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
22538 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
22539 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
22540 wine_fn_config_makefile dlls/xaudio2_8/tests enable_tests
22541 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
22542 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
22543 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
22544 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
22545 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
22546 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
22547 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
22548 wine_fn_config_makefile dlls/xinputuap enable_xinputuap
22549 wine_fn_config_makefile dlls/xmllite enable_xmllite
22550 wine_fn_config_makefile dlls/xmllite/tests enable_tests
22551 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
22552 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
22553 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
22554 wine_fn_config_makefile fonts enable_fonts
22555 wine_fn_config_makefile include enable_include
22556 wine_fn_config_makefile libs/adsiid enable_adsiid
22557 wine_fn_config_makefile libs/dmoguids enable_dmoguids
22558 wine_fn_config_makefile libs/dxerr8 enable_dxerr8
22559 wine_fn_config_makefile libs/dxerr9 enable_dxerr9
22560 wine_fn_config_makefile libs/dxguid enable_dxguid
22561 wine_fn_config_makefile libs/faudio enable_faudio
22562 wine_fn_config_makefile libs/fluidsynth enable_fluidsynth
22563 wine_fn_config_makefile libs/gsm enable_gsm
22564 wine_fn_config_makefile libs/jpeg enable_jpeg
22565 wine_fn_config_makefile libs/jxr enable_jxr
22566 wine_fn_config_makefile libs/lcms2 enable_lcms2
22567 wine_fn_config_makefile libs/ldap enable_ldap
22568 wine_fn_config_makefile libs/mfuuid enable_mfuuid
22569 wine_fn_config_makefile libs/mpg123 enable_mpg123
22570 wine_fn_config_makefile libs/musl enable_musl
22571 wine_fn_config_makefile libs/png enable_png
22572 wine_fn_config_makefile libs/strmbase enable_strmbase
22573 wine_fn_config_makefile libs/strmiids enable_strmiids
22574 wine_fn_config_makefile libs/tiff enable_tiff
22575 wine_fn_config_makefile libs/uuid enable_uuid
22576 wine_fn_config_makefile libs/vkd3d enable_vkd3d
22577 wine_fn_config_makefile libs/wbemuuid enable_wbemuuid
22578 wine_fn_config_makefile libs/wmcodecdspuuid enable_wmcodecdspuuid
22579 wine_fn_config_makefile libs/xml2 enable_xml2
22580 wine_fn_config_makefile libs/xslt enable_xslt
22581 wine_fn_config_makefile libs/zlib enable_zlib
22582 wine_fn_config_makefile libs/zydis enable_zydis
22583 wine_fn_config_makefile loader enable_loader
22584 wine_fn_config_makefile nls enable_nls
22585 wine_fn_config_makefile po enable_po
22586 wine_fn_config_makefile programs/arp enable_arp
22587 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
22588 wine_fn_config_makefile programs/attrib enable_attrib
22589 wine_fn_config_makefile programs/cabarc enable_cabarc
22590 wine_fn_config_makefile programs/cacls enable_cacls
22591 wine_fn_config_makefile programs/certutil enable_certutil
22592 wine_fn_config_makefile programs/chcp.com enable_chcp_com
22593 wine_fn_config_makefile programs/clock enable_clock
22594 wine_fn_config_makefile programs/cmd enable_cmd
22595 wine_fn_config_makefile programs/cmd/tests enable_tests
22596 wine_fn_config_makefile programs/conhost enable_conhost
22597 wine_fn_config_makefile programs/conhost/tests enable_tests
22598 wine_fn_config_makefile programs/control enable_control
22599 wine_fn_config_makefile programs/cscript enable_cscript
22600 wine_fn_config_makefile programs/dism enable_dism
22601 wine_fn_config_makefile programs/dllhost enable_dllhost
22602 wine_fn_config_makefile programs/dplaysvr enable_dplaysvr
22603 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
22604 wine_fn_config_makefile programs/dpvsetup enable_dpvsetup
22605 wine_fn_config_makefile programs/dxdiag enable_dxdiag
22606 wine_fn_config_makefile programs/eject enable_eject
22607 wine_fn_config_makefile programs/expand enable_expand
22608 wine_fn_config_makefile programs/explorer enable_explorer
22609 wine_fn_config_makefile programs/explorer/tests enable_tests
22610 wine_fn_config_makefile programs/extrac32 enable_extrac32
22611 wine_fn_config_makefile programs/fc enable_fc
22612 wine_fn_config_makefile programs/find enable_find
22613 wine_fn_config_makefile programs/find/tests enable_tests
22614 wine_fn_config_makefile programs/findstr enable_findstr
22615 wine_fn_config_makefile programs/findstr/tests enable_tests
22616 wine_fn_config_makefile programs/fsutil enable_fsutil
22617 wine_fn_config_makefile programs/fsutil/tests enable_tests
22618 wine_fn_config_makefile programs/hh enable_hh
22619 wine_fn_config_makefile programs/hostname enable_hostname
22620 wine_fn_config_makefile programs/icacls enable_icacls
22621 wine_fn_config_makefile programs/icinfo enable_icinfo
22622 wine_fn_config_makefile programs/iexplore enable_iexplore
22623 wine_fn_config_makefile programs/ipconfig enable_ipconfig
22624 wine_fn_config_makefile programs/klist enable_klist
22625 wine_fn_config_makefile programs/lodctr enable_lodctr
22626 wine_fn_config_makefile programs/mofcomp enable_mofcomp
22627 wine_fn_config_makefile programs/mshta enable_mshta
22628 wine_fn_config_makefile programs/msidb enable_msidb
22629 wine_fn_config_makefile programs/msiexec enable_msiexec
22630 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
22631 wine_fn_config_makefile programs/net enable_net
22632 wine_fn_config_makefile programs/netsh enable_netsh
22633 wine_fn_config_makefile programs/netstat enable_netstat
22634 wine_fn_config_makefile programs/ngen enable_ngen
22635 wine_fn_config_makefile programs/notepad enable_notepad
22636 wine_fn_config_makefile programs/oleview enable_oleview
22637 wine_fn_config_makefile programs/ping enable_ping
22638 wine_fn_config_makefile programs/plugplay enable_plugplay
22639 wine_fn_config_makefile programs/pnputil enable_pnputil
22640 wine_fn_config_makefile programs/powershell enable_powershell
22641 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
22642 wine_fn_config_makefile programs/progman enable_progman
22643 wine_fn_config_makefile programs/reg enable_reg
22644 wine_fn_config_makefile programs/reg/tests enable_tests
22645 wine_fn_config_makefile programs/regasm enable_regasm
22646 wine_fn_config_makefile programs/regedit enable_regedit
22647 wine_fn_config_makefile programs/regedit/tests enable_tests
22648 wine_fn_config_makefile programs/regini enable_regini
22649 wine_fn_config_makefile programs/regsvcs enable_regsvcs
22650 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
22651 wine_fn_config_makefile programs/robocopy enable_robocopy
22652 wine_fn_config_makefile programs/rpcss enable_rpcss
22653 wine_fn_config_makefile programs/rundll.exe16 enable_win16
22654 wine_fn_config_makefile programs/rundll32 enable_rundll32
22655 wine_fn_config_makefile programs/sc enable_sc
22656 wine_fn_config_makefile programs/sc/tests enable_tests
22657 wine_fn_config_makefile programs/schtasks enable_schtasks
22658 wine_fn_config_makefile programs/schtasks/tests enable_tests
22659 wine_fn_config_makefile programs/sdbinst enable_sdbinst
22660 wine_fn_config_makefile programs/secedit enable_secedit
22661 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
22662 wine_fn_config_makefile programs/services enable_services
22663 wine_fn_config_makefile programs/services/tests enable_tests
22664 wine_fn_config_makefile programs/setx enable_setx
22665 wine_fn_config_makefile programs/shutdown enable_shutdown
22666 wine_fn_config_makefile programs/spoolsv enable_spoolsv
22667 wine_fn_config_makefile programs/start enable_start
22668 wine_fn_config_makefile programs/subst enable_subst
22669 wine_fn_config_makefile programs/svchost enable_svchost
22670 wine_fn_config_makefile programs/systeminfo enable_systeminfo
22671 wine_fn_config_makefile programs/taskkill enable_taskkill
22672 wine_fn_config_makefile programs/tasklist enable_tasklist
22673 wine_fn_config_makefile programs/tasklist/tests enable_tests
22674 wine_fn_config_makefile programs/taskmgr enable_taskmgr
22675 wine_fn_config_makefile programs/termsv enable_termsv
22676 wine_fn_config_makefile programs/uninstaller enable_uninstaller
22677 wine_fn_config_makefile programs/unlodctr enable_unlodctr
22678 wine_fn_config_makefile programs/view enable_view
22679 wine_fn_config_makefile programs/wevtutil enable_wevtutil
22680 wine_fn_config_makefile programs/where enable_where
22681 wine_fn_config_makefile programs/whoami enable_whoami
22682 wine_fn_config_makefile programs/wineboot enable_wineboot
22683 wine_fn_config_makefile programs/winebrowser enable_winebrowser
22684 wine_fn_config_makefile programs/winecfg enable_winecfg
22685 wine_fn_config_makefile programs/wineconsole enable_wineconsole
22686 wine_fn_config_makefile programs/winedbg enable_winedbg
22687 wine_fn_config_makefile programs/winedevice enable_winedevice
22688 wine_fn_config_makefile programs/winefile enable_winefile
22689 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
22690 wine_fn_config_makefile programs/winemine enable_winemine
22691 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
22692 wine_fn_config_makefile programs/winepath enable_winepath
22693 wine_fn_config_makefile programs/winetest enable_winetest
22694 wine_fn_config_makefile programs/winevdm enable_win16
22695 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
22696 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
22697 wine_fn_config_makefile programs/winmgmt enable_winmgmt
22698 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
22699 wine_fn_config_makefile programs/winver enable_winver
22700 wine_fn_config_makefile programs/wmic enable_wmic
22701 wine_fn_config_makefile programs/wmplayer enable_wmplayer
22702 wine_fn_config_makefile programs/wordpad enable_wordpad
22703 wine_fn_config_makefile programs/write enable_write
22704 wine_fn_config_makefile programs/wscript enable_wscript
22705 wine_fn_config_makefile programs/wscript/tests enable_tests
22706 wine_fn_config_makefile programs/wuauserv enable_wuauserv
22707 wine_fn_config_makefile programs/wusa enable_wusa
22708 wine_fn_config_makefile programs/xcopy enable_xcopy
22709 wine_fn_config_makefile programs/xcopy/tests enable_tests
22710 wine_fn_config_makefile server enable_server
22711 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
22712 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
22713 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
22714 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
22715 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
22716 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
22717 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
22718 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
22719 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
22722 as_fn_append CONFIGURE_TARGETS " TAGS"
22723 as_fn_append CONFIGURE_TARGETS " tags"
22724 as_fn_append CONFIGURE_TARGETS " autom4te.cache"
22725 as_fn_append CONFIGURE_TARGETS " config.log"
22726 as_fn_append CONFIGURE_TARGETS " config.status"
22727 as_fn_append CONFIGURE_TARGETS " include/config.h"
22728 as_fn_append CONFIGURE_TARGETS " include/stamp-h"
22729 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS " loader/wine"
22731 if test "x$enable_tools" != xno
22732 then
22733 as_fn_append CONFIGURE_TARGETS " tools/makedep$ac_exeext"
22734 ac_config_commands="$ac_config_commands tools/makedep"
22738 ac_config_commands="$ac_config_commands Makefile"
22742 SHELL=/bin/sh
22745 as_fn_append wine_rules "
22746 all: wine
22747 @echo \"Wine build complete.\"
22748 .INIT: Makefile
22749 .MAKEFILEDEPS:
22750 all: Makefile
22751 Makefile: config.status \$(MAKEDEP)
22752 @./config.status Makefile
22753 depend: \$(MAKEDEP)
22754 \$(MAKEDEP)$makedep_flags"
22757 as_fn_append wine_rules "
22758 config.status: ${wine_srcdir}configure
22759 @./config.status --recheck
22760 include/config.h: include/stamp-h
22761 include/stamp-h: ${wine_srcdir}include/config.h.in config.status
22762 @./config.status include/config.h include/stamp-h"
22764 if test "x$enable_maintainer_mode" = xyes
22765 then
22766 as_fn_append wine_rules "
22767 configure: configure.ac aclocal.m4
22768 autoconf --warnings=all
22769 include/config.h.in: include/stamp-h.in
22770 include/stamp-h.in: configure.ac aclocal.m4
22771 autoheader --warnings=all
22772 @echo timestamp > \$@"
22775 if test "x$enable_tools" != xno
22776 then
22777 as_fn_append wine_rules "
22778 tools/makedep$ac_exeext: ${wine_srcdir}tools/makedep.c include/config.h config.status
22779 @./config.status tools/makedep
22780 Makefile: tools/makedep$ac_exeext"
22781 else
22782 as_fn_append wine_rules "
22783 \$(MAKEDEP):
22784 @echo \"You need to run make in $toolsdir first\" && false"
22788 if test -n "$with_wine64"
22789 then
22790 case "$with_wine64" in
22791 /*) reldir="" ;;
22792 *) reldir="../" ;;
22793 esac
22794 rm -f fonts server 2>/dev/null
22795 as_fn_append wine_rules "
22796 all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
22797 loader/wine64 loader/wine64-preloader:
22798 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
22799 $with_wine64/loader/wine:
22800 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
22801 $with_wine64/loader/wine-preloader:
22802 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
22803 clean::
22804 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
22805 else
22806 TOP_INSTALL_DEV="$TOP_INSTALL_DEV include"
22807 TOP_INSTALL_LIB="$TOP_INSTALL_LIB \
22808 fonts \
22809 loader/wine.inf \
22810 nls \
22811 programs/msidb/msidb \
22812 programs/msiexec/msiexec \
22813 programs/notepad/notepad \
22814 programs/regedit/regedit \
22815 programs/regsvr32/regsvr32 \
22816 programs/wineboot/wineboot \
22817 programs/winecfg/winecfg \
22818 programs/wineconsole/wineconsole \
22819 programs/winedbg/winedbg \
22820 programs/winefile/winefile \
22821 programs/winemine/winemine \
22822 programs/winepath/winepath \
22823 server/wineserver"
22825 case $host_os in
22826 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
22827 *) TOP_INSTALL_LIB="$TOP_INSTALL_LIB loader/wine.desktop" ;;
22828 esac
22832 as_fn_append wine_rules "
22833 distclean:: clean
22834 rm -rf autom4te.cache
22835 maintainer-clean::
22836 rm -f configure include/config.h.in"
22839 as_fn_append wine_rules "
22840 dlls/ntdll/unix/version.c: dummy
22841 @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)
22842 programs/winetest/build.rc: dummy
22843 @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)
22844 programs/winetest/build.nfo:
22845 @-\$(CC) -v 2>\$@
22846 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
22847 cd dlls/wineandroid.drv && gradle -q -Psrcdir=$srcdir assembleDebug
22848 mv dlls/wineandroid.drv/build/outputs/apk/wine-debug.apk \$@"
22851 TAGSFLAGS="--langmap='c:+.idl.l.rh,make:(Make*.in)'"
22853 as_fn_append wine_rules "
22854 TAGS etags:
22855 rm -f TAGS
22856 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs etags -a \$(TAGSFLAGS)
22857 tags ctags:
22858 rm -f tags
22859 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs ctags -a \$(TAGSFLAGS)
22860 dummy:
22861 .PHONY: depend dummy install-manpages"
22863 printf "%s\n" " done" >&6
22864 cat >confcache <<\_ACEOF
22865 # This file is a shell script that caches the results of configure
22866 # tests run on this system so they can be shared between configure
22867 # scripts and configure runs, see configure's option --config-cache.
22868 # It is not useful on other systems. If it contains results you don't
22869 # want to keep, you may remove or edit it.
22871 # config.status only pays attention to the cache file if you give it
22872 # the --recheck option to rerun configure.
22874 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22875 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22876 # following values.
22878 _ACEOF
22880 # The following way of writing the cache mishandles newlines in values,
22881 # but we know of no workaround that is simple, portable, and efficient.
22882 # So, we kill variables containing newlines.
22883 # Ultrix sh set writes to stderr and can't be redirected directly,
22884 # and sets the high bit in the cache file unless we assign to the vars.
22886 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
22887 eval ac_val=\$$ac_var
22888 case $ac_val in #(
22889 *${as_nl}*)
22890 case $ac_var in #(
22891 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
22892 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
22893 esac
22894 case $ac_var in #(
22895 _ | IFS | as_nl) ;; #(
22896 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
22897 *) { eval $ac_var=; unset $ac_var;} ;;
22898 esac ;;
22899 esac
22900 done
22902 (set) 2>&1 |
22903 case $as_nl`(ac_space=' '; set) 2>&1` in #(
22904 *${as_nl}ac_space=\ *)
22905 # `set' does not quote correctly, so add quotes: double-quote
22906 # substitution turns \\\\ into \\, and sed turns \\ into \.
22907 sed -n \
22908 "s/'/'\\\\''/g;
22909 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22910 ;; #(
22912 # `set' quotes correctly as required by POSIX, so do not add quotes.
22913 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22915 esac |
22916 sort
22918 sed '
22919 /^ac_cv_env_/b end
22920 t clear
22921 :clear
22922 s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
22923 t end
22924 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22925 :end' >>confcache
22926 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
22927 if test -w "$cache_file"; then
22928 if test "x$cache_file" != "x/dev/null"; then
22929 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
22930 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
22931 if test ! -f "$cache_file" || test -h "$cache_file"; then
22932 cat confcache >"$cache_file"
22933 else
22934 case $cache_file in #(
22935 */* | ?:*)
22936 mv -f confcache "$cache_file"$$ &&
22937 mv -f "$cache_file"$$ "$cache_file" ;; #(
22939 mv -f confcache "$cache_file" ;;
22940 esac
22943 else
22944 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
22945 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
22948 rm -f confcache
22950 test "x$prefix" = xNONE && prefix=$ac_default_prefix
22951 # Let make expand exec_prefix.
22952 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
22954 DEFS=-DHAVE_CONFIG_H
22956 ac_libobjs=
22957 ac_ltlibobjs=
22959 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
22960 # 1. Remove the extension, and $U if already installed.
22961 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
22962 ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
22963 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
22964 # will be set to the directory where LIBOBJS objects are built.
22965 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
22966 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
22967 done
22968 LIBOBJS=$ac_libobjs
22970 LTLIBOBJS=$ac_ltlibobjs
22974 : "${CONFIG_STATUS=./config.status}"
22975 ac_write_fail=0
22976 ac_clean_files_save=$ac_clean_files
22977 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
22978 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
22979 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
22980 as_write_fail=0
22981 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
22982 #! $SHELL
22983 # Generated by $as_me.
22984 # Run this file to recreate the current configuration.
22985 # Compiler output produced by configure, useful for debugging
22986 # configure, is in config.log if it exists.
22988 debug=false
22989 ac_cs_recheck=false
22990 ac_cs_silent=false
22992 SHELL=\${CONFIG_SHELL-$SHELL}
22993 export SHELL
22994 _ASEOF
22995 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
22996 ## -------------------- ##
22997 ## M4sh Initialization. ##
22998 ## -------------------- ##
23000 # Be more Bourne compatible
23001 DUALCASE=1; export DUALCASE # for MKS sh
23002 as_nop=:
23003 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
23004 then :
23005 emulate sh
23006 NULLCMD=:
23007 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23008 # is contrary to our usage. Disable this feature.
23009 alias -g '${1+"$@"}'='"$@"'
23010 setopt NO_GLOB_SUBST
23011 else $as_nop
23012 case `(set -o) 2>/dev/null` in #(
23013 *posix*) :
23014 set -o posix ;; #(
23015 *) :
23017 esac
23022 # Reset variables that may have inherited troublesome values from
23023 # the environment.
23025 # IFS needs to be set, to space, tab, and newline, in precisely that order.
23026 # (If _AS_PATH_WALK were called with IFS unset, it would have the
23027 # side effect of setting IFS to empty, thus disabling word splitting.)
23028 # Quoting is to prevent editors from complaining about space-tab.
23029 as_nl='
23031 export as_nl
23032 IFS=" "" $as_nl"
23034 PS1='$ '
23035 PS2='> '
23036 PS4='+ '
23038 # Ensure predictable behavior from utilities with locale-dependent output.
23039 LC_ALL=C
23040 export LC_ALL
23041 LANGUAGE=C
23042 export LANGUAGE
23044 # We cannot yet rely on "unset" to work, but we need these variables
23045 # to be unset--not just set to an empty or harmless value--now, to
23046 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
23047 # also avoids known problems related to "unset" and subshell syntax
23048 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
23049 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
23050 do eval test \${$as_var+y} \
23051 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
23052 done
23054 # Ensure that fds 0, 1, and 2 are open.
23055 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
23056 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
23057 if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
23059 # The user is always right.
23060 if ${PATH_SEPARATOR+false} :; then
23061 PATH_SEPARATOR=:
23062 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
23063 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
23064 PATH_SEPARATOR=';'
23069 # Find who we are. Look in the path if we contain no directory separator.
23070 as_myself=
23071 case $0 in #((
23072 *[\\/]* ) as_myself=$0 ;;
23073 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23074 for as_dir in $PATH
23076 IFS=$as_save_IFS
23077 case $as_dir in #(((
23078 '') as_dir=./ ;;
23079 */) ;;
23080 *) as_dir=$as_dir/ ;;
23081 esac
23082 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
23083 done
23084 IFS=$as_save_IFS
23087 esac
23088 # We did not find ourselves, most probably we were run as `sh COMMAND'
23089 # in which case we are not to be found in the path.
23090 if test "x$as_myself" = x; then
23091 as_myself=$0
23093 if test ! -f "$as_myself"; then
23094 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
23095 exit 1
23100 # as_fn_error STATUS ERROR [LINENO LOG_FD]
23101 # ----------------------------------------
23102 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
23103 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
23104 # script with STATUS, using 1 if that was 0.
23105 as_fn_error ()
23107 as_status=$1; test $as_status -eq 0 && as_status=1
23108 if test "$4"; then
23109 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
23110 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
23112 printf "%s\n" "$as_me: error: $2" >&2
23113 as_fn_exit $as_status
23114 } # as_fn_error
23118 # as_fn_set_status STATUS
23119 # -----------------------
23120 # Set $? to STATUS, without forking.
23121 as_fn_set_status ()
23123 return $1
23124 } # as_fn_set_status
23126 # as_fn_exit STATUS
23127 # -----------------
23128 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
23129 as_fn_exit ()
23131 set +e
23132 as_fn_set_status $1
23133 exit $1
23134 } # as_fn_exit
23136 # as_fn_unset VAR
23137 # ---------------
23138 # Portably unset VAR.
23139 as_fn_unset ()
23141 { eval $1=; unset $1;}
23143 as_unset=as_fn_unset
23145 # as_fn_append VAR VALUE
23146 # ----------------------
23147 # Append the text in VALUE to the end of the definition contained in VAR. Take
23148 # advantage of any shell optimizations that allow amortized linear growth over
23149 # repeated appends, instead of the typical quadratic growth present in naive
23150 # implementations.
23151 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
23152 then :
23153 eval 'as_fn_append ()
23155 eval $1+=\$2
23157 else $as_nop
23158 as_fn_append ()
23160 eval $1=\$$1\$2
23162 fi # as_fn_append
23164 # as_fn_arith ARG...
23165 # ------------------
23166 # Perform arithmetic evaluation on the ARGs, and store the result in the
23167 # global $as_val. Take advantage of shells that can avoid forks. The arguments
23168 # must be portable across $(()) and expr.
23169 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
23170 then :
23171 eval 'as_fn_arith ()
23173 as_val=$(( $* ))
23175 else $as_nop
23176 as_fn_arith ()
23178 as_val=`expr "$@" || test $? -eq 1`
23180 fi # as_fn_arith
23183 if expr a : '\(a\)' >/dev/null 2>&1 &&
23184 test "X`expr 00001 : '.*\(...\)'`" = X001; then
23185 as_expr=expr
23186 else
23187 as_expr=false
23190 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
23191 as_basename=basename
23192 else
23193 as_basename=false
23196 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
23197 as_dirname=dirname
23198 else
23199 as_dirname=false
23202 as_me=`$as_basename -- "$0" ||
23203 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
23204 X"$0" : 'X\(//\)$' \| \
23205 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
23206 printf "%s\n" X/"$0" |
23207 sed '/^.*\/\([^/][^/]*\)\/*$/{
23208 s//\1/
23211 /^X\/\(\/\/\)$/{
23212 s//\1/
23215 /^X\/\(\/\).*/{
23216 s//\1/
23219 s/.*/./; q'`
23221 # Avoid depending upon Character Ranges.
23222 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
23223 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
23224 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
23225 as_cr_digits='0123456789'
23226 as_cr_alnum=$as_cr_Letters$as_cr_digits
23229 # Determine whether it's possible to make 'echo' print without a newline.
23230 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
23231 # for compatibility with existing Makefiles.
23232 ECHO_C= ECHO_N= ECHO_T=
23233 case `echo -n x` in #(((((
23234 -n*)
23235 case `echo 'xy\c'` in
23236 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
23237 xy) ECHO_C='\c';;
23238 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
23239 ECHO_T=' ';;
23240 esac;;
23242 ECHO_N='-n';;
23243 esac
23245 # For backward compatibility with old third-party macros, we provide
23246 # the shell variables $as_echo and $as_echo_n. New code should use
23247 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
23248 as_echo='printf %s\n'
23249 as_echo_n='printf %s'
23251 rm -f conf$$ conf$$.exe conf$$.file
23252 if test -d conf$$.dir; then
23253 rm -f conf$$.dir/conf$$.file
23254 else
23255 rm -f conf$$.dir
23256 mkdir conf$$.dir 2>/dev/null
23258 if (echo >conf$$.file) 2>/dev/null; then
23259 if ln -s conf$$.file conf$$ 2>/dev/null; then
23260 as_ln_s='ln -s'
23261 # ... but there are two gotchas:
23262 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
23263 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
23264 # In both cases, we have to default to `cp -pR'.
23265 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
23266 as_ln_s='cp -pR'
23267 elif ln conf$$.file conf$$ 2>/dev/null; then
23268 as_ln_s=ln
23269 else
23270 as_ln_s='cp -pR'
23272 else
23273 as_ln_s='cp -pR'
23275 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
23276 rmdir conf$$.dir 2>/dev/null
23279 # as_fn_mkdir_p
23280 # -------------
23281 # Create "$as_dir" as a directory, including parents if necessary.
23282 as_fn_mkdir_p ()
23285 case $as_dir in #(
23286 -*) as_dir=./$as_dir;;
23287 esac
23288 test -d "$as_dir" || eval $as_mkdir_p || {
23289 as_dirs=
23290 while :; do
23291 case $as_dir in #(
23292 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
23293 *) as_qdir=$as_dir;;
23294 esac
23295 as_dirs="'$as_qdir' $as_dirs"
23296 as_dir=`$as_dirname -- "$as_dir" ||
23297 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23298 X"$as_dir" : 'X\(//\)[^/]' \| \
23299 X"$as_dir" : 'X\(//\)$' \| \
23300 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
23301 printf "%s\n" X"$as_dir" |
23302 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23303 s//\1/
23306 /^X\(\/\/\)[^/].*/{
23307 s//\1/
23310 /^X\(\/\/\)$/{
23311 s//\1/
23314 /^X\(\/\).*/{
23315 s//\1/
23318 s/.*/./; q'`
23319 test -d "$as_dir" && break
23320 done
23321 test -z "$as_dirs" || eval "mkdir $as_dirs"
23322 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
23325 } # as_fn_mkdir_p
23326 if mkdir -p . 2>/dev/null; then
23327 as_mkdir_p='mkdir -p "$as_dir"'
23328 else
23329 test -d ./-p && rmdir ./-p
23330 as_mkdir_p=false
23334 # as_fn_executable_p FILE
23335 # -----------------------
23336 # Test if FILE is an executable regular file.
23337 as_fn_executable_p ()
23339 test -f "$1" && test -x "$1"
23340 } # as_fn_executable_p
23341 as_test_x='test -x'
23342 as_executable_p=as_fn_executable_p
23344 # Sed expression to map a string onto a valid CPP name.
23345 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
23347 # Sed expression to map a string onto a valid variable name.
23348 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
23351 exec 6>&1
23352 ## ----------------------------------- ##
23353 ## Main body of $CONFIG_STATUS script. ##
23354 ## ----------------------------------- ##
23355 _ASEOF
23356 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
23358 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23359 # Save the log message, to keep $0 and so on meaningful, and to
23360 # report actual input values of CONFIG_FILES etc. instead of their
23361 # values after options handling.
23362 ac_log="
23363 This file was extended by Wine $as_me 9.2, which was
23364 generated by GNU Autoconf 2.71. Invocation command line was
23366 CONFIG_FILES = $CONFIG_FILES
23367 CONFIG_HEADERS = $CONFIG_HEADERS
23368 CONFIG_LINKS = $CONFIG_LINKS
23369 CONFIG_COMMANDS = $CONFIG_COMMANDS
23370 $ $0 $@
23372 on `(hostname || uname -n) 2>/dev/null | sed 1q`
23375 _ACEOF
23378 case $ac_config_headers in *"
23379 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
23380 esac
23383 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23384 # Files that config.status was made for.
23385 config_headers="$ac_config_headers"
23386 config_links="$ac_config_links"
23387 config_commands="$ac_config_commands"
23389 _ACEOF
23391 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23392 ac_cs_usage="\
23393 \`$as_me' instantiates files and other configuration actions
23394 from templates according to the current configuration. Unless the files
23395 and actions are specified as TAGs, all are instantiated by default.
23397 Usage: $0 [OPTION]... [TAG]...
23399 -h, --help print this help, then exit
23400 -V, --version print version number and configuration settings, then exit
23401 --config print configuration, then exit
23402 -q, --quiet, --silent
23403 do not print progress messages
23404 -d, --debug don't remove temporary files
23405 --recheck update $as_me by reconfiguring in the same conditions
23406 --header=FILE[:TEMPLATE]
23407 instantiate the configuration header FILE
23409 Configuration headers:
23410 $config_headers
23412 Configuration links:
23413 $config_links
23415 Configuration commands:
23416 $config_commands
23418 Report bugs to <wine-devel@winehq.org>.
23419 Wine home page: <https://www.winehq.org>."
23421 _ACEOF
23422 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
23423 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
23424 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23425 ac_cs_config='$ac_cs_config_escaped'
23426 ac_cs_version="\\
23427 Wine config.status 9.2
23428 configured by $0, generated by GNU Autoconf 2.71,
23429 with options \\"\$ac_cs_config\\"
23431 Copyright (C) 2021 Free Software Foundation, Inc.
23432 This config.status script is free software; the Free Software Foundation
23433 gives unlimited permission to copy, distribute and modify it."
23435 ac_pwd='$ac_pwd'
23436 srcdir='$srcdir'
23437 test -n "\$AWK" || AWK=awk
23438 _ACEOF
23440 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23441 # The default lists apply if the user does not specify any file.
23442 ac_need_defaults=:
23443 while test $# != 0
23445 case $1 in
23446 --*=?*)
23447 ac_option=`expr "X$1" : 'X\([^=]*\)='`
23448 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
23449 ac_shift=:
23451 --*=)
23452 ac_option=`expr "X$1" : 'X\([^=]*\)='`
23453 ac_optarg=
23454 ac_shift=:
23457 ac_option=$1
23458 ac_optarg=$2
23459 ac_shift=shift
23461 esac
23463 case $ac_option in
23464 # Handling of the options.
23465 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
23466 ac_cs_recheck=: ;;
23467 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
23468 printf "%s\n" "$ac_cs_version"; exit ;;
23469 --config | --confi | --conf | --con | --co | --c )
23470 printf "%s\n" "$ac_cs_config"; exit ;;
23471 --debug | --debu | --deb | --de | --d | -d )
23472 debug=: ;;
23473 --header | --heade | --head | --hea )
23474 $ac_shift
23475 case $ac_optarg in
23476 *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
23477 esac
23478 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
23479 ac_need_defaults=false;;
23480 --he | --h)
23481 # Conflict between --help and --header
23482 as_fn_error $? "ambiguous option: \`$1'
23483 Try \`$0 --help' for more information.";;
23484 --help | --hel | -h )
23485 printf "%s\n" "$ac_cs_usage"; exit ;;
23486 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
23487 | -silent | --silent | --silen | --sile | --sil | --si | --s)
23488 ac_cs_silent=: ;;
23490 # This is an error.
23491 -*) as_fn_error $? "unrecognized option: \`$1'
23492 Try \`$0 --help' for more information." ;;
23494 *) as_fn_append ac_config_targets " $1"
23495 ac_need_defaults=false ;;
23497 esac
23498 shift
23499 done
23501 ac_configure_extra_args=
23503 if $ac_cs_silent; then
23504 exec 6>/dev/null
23505 ac_configure_extra_args="$ac_configure_extra_args --silent"
23508 _ACEOF
23509 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23510 if \$ac_cs_recheck; then
23511 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
23512 shift
23513 \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
23514 CONFIG_SHELL='$SHELL'
23515 export CONFIG_SHELL
23516 exec "\$@"
23519 _ACEOF
23520 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23521 exec 5>>config.log
23523 echo
23524 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
23525 ## Running $as_me. ##
23526 _ASBOX
23527 printf "%s\n" "$ac_log"
23528 } >&5
23530 _ACEOF
23531 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23533 # INIT-COMMANDS
23535 wine_fn_output_makedep ()
23537 as_dir=tools; as_fn_mkdir_p
23538 $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
23540 wine_fn_output_makefile ()
23542 cat <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && "$wine_makedep"$makedep_flags && return
23543 # This Makefile understands the following targets:
23545 # all (default): build wine
23546 # clean: remove all intermediate files
23547 # distclean: also remove all files created by configure
23548 # test: run tests
23549 # testclean: clean test results to force running all tests again
23550 # install-lib: install libraries needed to run applications
23551 # install-dev: install development environment
23552 # install: install everything
23553 # uninstall: uninstall everything
23554 # ctags: create a tags file for vim and others.
23555 # etags: create a TAGS file for Emacs.
23557 SHELL = $SHELL
23558 PATH_SEPARATOR = $PATH_SEPARATOR
23559 PACKAGE_NAME = $PACKAGE_NAME
23560 PACKAGE_TARNAME = $PACKAGE_TARNAME
23561 PACKAGE_VERSION = $PACKAGE_VERSION
23562 PACKAGE_STRING = $PACKAGE_STRING
23563 PACKAGE_BUGREPORT = $PACKAGE_BUGREPORT
23564 PACKAGE_URL = $PACKAGE_URL
23565 exec_prefix = $exec_prefix
23566 prefix = $prefix
23567 program_transform_name = $program_transform_name
23568 bindir = $bindir
23569 sbindir = $sbindir
23570 libexecdir = $libexecdir
23571 datarootdir = $datarootdir
23572 datadir = $datadir
23573 sysconfdir = $sysconfdir
23574 sharedstatedir = $sharedstatedir
23575 localstatedir = $localstatedir
23576 runstatedir = $runstatedir
23577 includedir = $includedir
23578 oldincludedir = $oldincludedir
23579 docdir = $docdir
23580 infodir = $infodir
23581 htmldir = $htmldir
23582 dvidir = $dvidir
23583 pdfdir = $pdfdir
23584 psdir = $psdir
23585 libdir = $libdir
23586 localedir = $localedir
23587 mandir = $mandir
23588 DEFS = $DEFS
23589 ECHO_C = $ECHO_C
23590 ECHO_N = $ECHO_N
23591 ECHO_T = $ECHO_T
23592 LIBS = $LIBS
23593 build_alias = $build_alias
23594 host_alias = $host_alias
23595 target_alias = $target_alias
23596 system_dllpath = $system_dllpath
23597 build = $build
23598 build_cpu = $build_cpu
23599 build_vendor = $build_vendor
23600 build_os = $build_os
23601 host = $host
23602 host_cpu = $host_cpu
23603 host_vendor = $host_vendor
23604 host_os = $host_os
23605 dlldir = $dlldir
23606 fontdir = $fontdir
23607 nlsdir = $nlsdir
23608 srcdir = $srcdir
23609 SET_MAKE = $SET_MAKE
23610 CC = $CC
23611 CFLAGS = $CFLAGS
23612 LDFLAGS = $LDFLAGS
23613 CPPFLAGS = $CPPFLAGS
23614 ac_ct_CC = $ac_ct_CC
23615 EXEEXT = $EXEEXT
23616 OBJEXT = $OBJEXT
23617 CXX = $CXX
23618 CXXFLAGS = $CXXFLAGS
23619 ac_ct_CXX = $ac_ct_CXX
23620 CPPBIN = $CPPBIN
23621 LD = $LD
23622 TARGETFLAGS = $TARGETFLAGS
23623 toolsext = $toolsext
23624 HOST_ARCH = $HOST_ARCH
23625 aarch64_CC = $aarch64_CC
23626 aarch64_CFLAGS = $aarch64_CFLAGS
23627 aarch64_EXTRACFLAGS = $aarch64_EXTRACFLAGS
23628 aarch64_LDFLAGS = $aarch64_LDFLAGS
23629 aarch64_DEBUG = $aarch64_DEBUG
23630 aarch64_TARGET = $aarch64_TARGET
23631 aarch64_DELAYLOADFLAG = $aarch64_DELAYLOADFLAG
23632 aarch64_DISABLED_SUBDIRS = $aarch64_DISABLED_SUBDIRS
23633 arm_CC = $arm_CC
23634 arm_CFLAGS = $arm_CFLAGS
23635 arm_EXTRACFLAGS = $arm_EXTRACFLAGS
23636 arm_LDFLAGS = $arm_LDFLAGS
23637 arm_DEBUG = $arm_DEBUG
23638 arm_TARGET = $arm_TARGET
23639 arm_DELAYLOADFLAG = $arm_DELAYLOADFLAG
23640 arm_DISABLED_SUBDIRS = $arm_DISABLED_SUBDIRS
23641 arm64ec_CC = $arm64ec_CC
23642 arm64ec_CFLAGS = $arm64ec_CFLAGS
23643 arm64ec_EXTRACFLAGS = $arm64ec_EXTRACFLAGS
23644 arm64ec_LDFLAGS = $arm64ec_LDFLAGS
23645 arm64ec_DEBUG = $arm64ec_DEBUG
23646 arm64ec_TARGET = $arm64ec_TARGET
23647 arm64ec_DELAYLOADFLAG = $arm64ec_DELAYLOADFLAG
23648 arm64ec_DISABLED_SUBDIRS = $arm64ec_DISABLED_SUBDIRS
23649 i386_CC = $i386_CC
23650 i386_CFLAGS = $i386_CFLAGS
23651 i386_EXTRACFLAGS = $i386_EXTRACFLAGS
23652 i386_LDFLAGS = $i386_LDFLAGS
23653 i386_DEBUG = $i386_DEBUG
23654 i386_TARGET = $i386_TARGET
23655 i386_DELAYLOADFLAG = $i386_DELAYLOADFLAG
23656 i386_DISABLED_SUBDIRS = $i386_DISABLED_SUBDIRS
23657 x86_64_CC = $x86_64_CC
23658 x86_64_CFLAGS = $x86_64_CFLAGS
23659 x86_64_EXTRACFLAGS = $x86_64_EXTRACFLAGS
23660 x86_64_LDFLAGS = $x86_64_LDFLAGS
23661 x86_64_DEBUG = $x86_64_DEBUG
23662 x86_64_TARGET = $x86_64_TARGET
23663 x86_64_DELAYLOADFLAG = $x86_64_DELAYLOADFLAG
23664 x86_64_DISABLED_SUBDIRS = $x86_64_DISABLED_SUBDIRS
23665 toolsdir = $toolsdir
23666 MAKEDEP = $MAKEDEP
23667 RUNTESTFLAGS = $RUNTESTFLAGS
23668 SED_CMD = $SED_CMD
23669 FLEX = $FLEX
23670 BISON = $BISON
23671 AR = $AR
23672 ac_ct_AR = $ac_ct_AR
23673 STRIP = $STRIP
23674 RANLIB = $RANLIB
23675 LN_S = $LN_S
23676 GREP = $GREP
23677 EGREP = $EGREP
23678 LDCONFIG = $LDCONFIG
23679 MSGFMT = $MSGFMT
23680 PKG_CONFIG = $PKG_CONFIG
23681 FONTFORGE = $FONTFORGE
23682 RSVG = $RSVG
23683 CONVERT = $CONVERT
23684 ICOTOOL = $ICOTOOL
23685 I386_LIBS = $I386_LIBS
23686 OPENGL_LIBS = $OPENGL_LIBS
23687 DLLFLAGS = $DLLFLAGS
23688 LDDLLFLAGS = $LDDLLFLAGS
23689 LDEXECFLAGS = $LDEXECFLAGS
23690 EXTRACFLAGS = $EXTRACFLAGS
23691 UNIXDLLFLAGS = $UNIXDLLFLAGS
23692 UNIXLDFLAGS = $UNIXLDFLAGS
23693 TOP_INSTALL_LIB = $TOP_INSTALL_LIB
23694 TOP_INSTALL_DEV = $TOP_INSTALL_DEV
23695 WINELOADER_LDFLAGS = $WINELOADER_LDFLAGS
23696 WINEPRELOADER_LDFLAGS = $WINEPRELOADER_LDFLAGS
23697 DLLEXT = $DLLEXT
23698 LDD = $LDD
23699 OTOOL = $OTOOL
23700 READELF = $READELF
23701 SUBDIRS = $SUBDIRS
23702 DISABLED_SUBDIRS = $DISABLED_SUBDIRS
23703 CONFIGURE_TARGETS = $CONFIGURE_TARGETS
23704 CARBON_LIBS = $CARBON_LIBS
23705 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
23706 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
23707 IOKIT_LIBS = $IOKIT_LIBS
23708 METAL_LIBS = $METAL_LIBS
23709 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
23710 CORESERVICES_LIBS = $CORESERVICES_LIBS
23711 APPKIT_LIBS = $APPKIT_LIBS
23712 SECURITY_LIBS = $SECURITY_LIBS
23713 SYSTEMCONFIGURATION_LIBS = $SYSTEMCONFIGURATION_LIBS
23714 COREAUDIO_LIBS = $COREAUDIO_LIBS
23715 OPENCL_LIBS = $OPENCL_LIBS
23716 OBJC = $OBJC
23717 OBJCFLAGS = $OBJCFLAGS
23718 ac_ct_OBJC = $ac_ct_OBJC
23719 WINELOADER_DEPENDS = $WINELOADER_DEPENDS
23720 PE_ARCHS = $PE_ARCHS
23721 MINGW_PKG_CONFIG = $MINGW_PKG_CONFIG
23722 FAUDIO_PE_CFLAGS = $FAUDIO_PE_CFLAGS
23723 FAUDIO_PE_LIBS = $FAUDIO_PE_LIBS
23724 FLUIDSYNTH_PE_CFLAGS = $FLUIDSYNTH_PE_CFLAGS
23725 FLUIDSYNTH_PE_LIBS = $FLUIDSYNTH_PE_LIBS
23726 GSM_PE_CFLAGS = $GSM_PE_CFLAGS
23727 GSM_PE_LIBS = $GSM_PE_LIBS
23728 JPEG_PE_CFLAGS = $JPEG_PE_CFLAGS
23729 JPEG_PE_LIBS = $JPEG_PE_LIBS
23730 JXR_PE_CFLAGS = $JXR_PE_CFLAGS
23731 JXR_PE_LIBS = $JXR_PE_LIBS
23732 LCMS2_PE_CFLAGS = $LCMS2_PE_CFLAGS
23733 LCMS2_PE_LIBS = $LCMS2_PE_LIBS
23734 LDAP_PE_CFLAGS = $LDAP_PE_CFLAGS
23735 LDAP_PE_LIBS = $LDAP_PE_LIBS
23736 MPG123_PE_CFLAGS = $MPG123_PE_CFLAGS
23737 MPG123_PE_LIBS = $MPG123_PE_LIBS
23738 MUSL_PE_CFLAGS = $MUSL_PE_CFLAGS
23739 MUSL_PE_LIBS = $MUSL_PE_LIBS
23740 PNG_PE_CFLAGS = $PNG_PE_CFLAGS
23741 PNG_PE_LIBS = $PNG_PE_LIBS
23742 TIFF_PE_CFLAGS = $TIFF_PE_CFLAGS
23743 TIFF_PE_LIBS = $TIFF_PE_LIBS
23744 VKD3D_PE_CFLAGS = $VKD3D_PE_CFLAGS
23745 VKD3D_PE_LIBS = $VKD3D_PE_LIBS
23746 XML2_PE_CFLAGS = $XML2_PE_CFLAGS
23747 XML2_PE_LIBS = $XML2_PE_LIBS
23748 XSLT_PE_CFLAGS = $XSLT_PE_CFLAGS
23749 XSLT_PE_LIBS = $XSLT_PE_LIBS
23750 ZLIB_PE_CFLAGS = $ZLIB_PE_CFLAGS
23751 ZLIB_PE_LIBS = $ZLIB_PE_LIBS
23752 ZYDIS_PE_CFLAGS = $ZYDIS_PE_CFLAGS
23753 ZYDIS_PE_LIBS = $ZYDIS_PE_LIBS
23754 PTHREAD_LIBS = $PTHREAD_LIBS
23755 XMKMF = $XMKMF
23756 CPP = $CPP
23757 X_CFLAGS = $X_CFLAGS
23758 X_PRE_LIBS = $X_PRE_LIBS
23759 X_LIBS = $X_LIBS
23760 X_EXTRA_LIBS = $X_EXTRA_LIBS
23761 WAYLAND_CLIENT_CFLAGS = $WAYLAND_CLIENT_CFLAGS
23762 WAYLAND_CLIENT_LIBS = $WAYLAND_CLIENT_LIBS
23763 WAYLAND_SCANNER = $WAYLAND_SCANNER
23764 XKBCOMMON_CFLAGS = $XKBCOMMON_CFLAGS
23765 XKBCOMMON_LIBS = $XKBCOMMON_LIBS
23766 XKBREGISTRY_CFLAGS = $XKBREGISTRY_CFLAGS
23767 XKBREGISTRY_LIBS = $XKBREGISTRY_LIBS
23768 PCAP_LIBS = $PCAP_LIBS
23769 PCSCLITE_LIBS = $PCSCLITE_LIBS
23770 INOTIFY_CFLAGS = $INOTIFY_CFLAGS
23771 INOTIFY_LIBS = $INOTIFY_LIBS
23772 DBUS_CFLAGS = $DBUS_CFLAGS
23773 DBUS_LIBS = $DBUS_LIBS
23774 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
23775 GNUTLS_LIBS = $GNUTLS_LIBS
23776 SANE_CFLAGS = $SANE_CFLAGS
23777 SANE_LIBS = $SANE_LIBS
23778 USB_CFLAGS = $USB_CFLAGS
23779 USB_LIBS = $USB_LIBS
23780 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
23781 GPHOTO2_LIBS = $GPHOTO2_LIBS
23782 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
23783 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
23784 RESOLV_LIBS = $RESOLV_LIBS
23785 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
23786 FREETYPE_LIBS = $FREETYPE_LIBS
23787 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
23788 PULSE_CFLAGS = $PULSE_CFLAGS
23789 PULSE_LIBS = $PULSE_LIBS
23790 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
23791 GSTREAMER_LIBS = $GSTREAMER_LIBS
23792 ALSA_LIBS = $ALSA_LIBS
23793 OSS4_CFLAGS = $OSS4_CFLAGS
23794 OSS4_LIBS = $OSS4_LIBS
23795 UDEV_CFLAGS = $UDEV_CFLAGS
23796 UDEV_LIBS = $UDEV_LIBS
23797 UNWIND_CFLAGS = $UNWIND_CFLAGS
23798 UNWIND_LIBS = $UNWIND_LIBS
23799 SDL2_CFLAGS = $SDL2_CFLAGS
23800 SDL2_LIBS = $SDL2_LIBS
23801 CAPI20_CFLAGS = $CAPI20_CFLAGS
23802 CAPI20_LIBS = $CAPI20_LIBS
23803 CUPS_CFLAGS = $CUPS_CFLAGS
23804 CUPS_LIBS = $CUPS_LIBS
23805 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
23806 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
23807 KRB5_CFLAGS = $KRB5_CFLAGS
23808 KRB5_LIBS = $KRB5_LIBS
23809 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
23810 GSSAPI_LIBS = $GSSAPI_LIBS
23811 PROCSTAT_LIBS = $PROCSTAT_LIBS
23812 NETAPI_CFLAGS = $NETAPI_CFLAGS
23813 NETAPI_LIBS = $NETAPI_LIBS
23814 MSVCRTFLAGS = $MSVCRTFLAGS
23815 DELAYLOADFLAG = $DELAYLOADFLAG
23816 WINELOADER_PROGRAMS = $WINELOADER_PROGRAMS
23817 RT_LIBS = $RT_LIBS
23818 TAGSFLAGS = $TAGSFLAGS
23819 LIBOBJS = $LIBOBJS
23820 LTLIBOBJS = $LTLIBOBJS
23821 $SET_MAKE
23822 $wine_rules
23823 _WINE_EOF
23824 as_fn_error $? "could not create Makefile" "$LINENO" 5
23827 _ACEOF
23829 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23831 # Handling of arguments.
23832 for ac_config_target in $ac_config_targets
23834 case $ac_config_target in
23835 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
23836 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
23837 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
23838 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
23839 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
23840 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
23842 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
23843 esac
23844 done
23847 # If the user did not use the arguments to specify the items to instantiate,
23848 # then the envvar interface is used. Set only those that are not.
23849 # We use the long form for the default assignment because of an extremely
23850 # bizarre bug on SunOS 4.1.3.
23851 if $ac_need_defaults; then
23852 test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
23853 test ${CONFIG_LINKS+y} || CONFIG_LINKS=$config_links
23854 test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
23857 # Have a temporary directory for convenience. Make it in the build tree
23858 # simply because there is no reason against having it here, and in addition,
23859 # creating and moving files from /tmp can sometimes cause problems.
23860 # Hook for its removal unless debugging.
23861 # Note that there is a small window in which the directory will not be cleaned:
23862 # after its creation but before its name has been assigned to `$tmp'.
23863 $debug ||
23865 tmp= ac_tmp=
23866 trap 'exit_status=$?
23867 : "${ac_tmp:=$tmp}"
23868 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
23870 trap 'as_fn_exit 1' 1 2 13 15
23872 # Create a (secure) tmp directory for tmp files.
23875 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
23876 test -d "$tmp"
23877 } ||
23879 tmp=./conf$$-$RANDOM
23880 (umask 077 && mkdir "$tmp")
23881 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
23882 ac_tmp=$tmp
23884 # Set up the scripts for CONFIG_HEADERS section.
23885 # No need to generate them if there are no CONFIG_HEADERS.
23886 # This happens for instance with `./config.status Makefile'.
23887 if test -n "$CONFIG_HEADERS"; then
23888 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
23889 BEGIN {
23890 _ACEOF
23892 # Transform confdefs.h into an awk script `defines.awk', embedded as
23893 # here-document in config.status, that substitutes the proper values into
23894 # config.h.in to produce config.h.
23896 # Create a delimiter string that does not exist in confdefs.h, to ease
23897 # handling of long lines.
23898 ac_delim='%!_!# '
23899 for ac_last_try in false false :; do
23900 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
23901 if test -z "$ac_tt"; then
23902 break
23903 elif $ac_last_try; then
23904 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
23905 else
23906 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
23908 done
23910 # For the awk script, D is an array of macro values keyed by name,
23911 # likewise P contains macro parameters if any. Preserve backslash
23912 # newline sequences.
23914 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
23915 sed -n '
23916 s/.\{148\}/&'"$ac_delim"'/g
23917 t rset
23918 :rset
23919 s/^[ ]*#[ ]*define[ ][ ]*/ /
23920 t def
23922 :def
23923 s/\\$//
23924 t bsnl
23925 s/["\\]/\\&/g
23926 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
23927 D["\1"]=" \3"/p
23928 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
23930 :bsnl
23931 s/["\\]/\\&/g
23932 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
23933 D["\1"]=" \3\\\\\\n"\\/p
23934 t cont
23935 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
23936 t cont
23938 :cont
23940 s/.\{148\}/&'"$ac_delim"'/g
23941 t clear
23942 :clear
23943 s/\\$//
23944 t bsnlc
23945 s/["\\]/\\&/g; s/^/"/; s/$/"/p
23947 :bsnlc
23948 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
23949 b cont
23950 ' <confdefs.h | sed '
23951 s/'"$ac_delim"'/"\\\
23952 "/g' >>$CONFIG_STATUS || ac_write_fail=1
23954 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23955 for (key in D) D_is_set[key] = 1
23956 FS = "\a"
23958 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
23959 line = \$ 0
23960 split(line, arg, " ")
23961 if (arg[1] == "#") {
23962 defundef = arg[2]
23963 mac1 = arg[3]
23964 } else {
23965 defundef = substr(arg[1], 2)
23966 mac1 = arg[2]
23968 split(mac1, mac2, "(") #)
23969 macro = mac2[1]
23970 prefix = substr(line, 1, index(line, defundef) - 1)
23971 if (D_is_set[macro]) {
23972 # Preserve the white space surrounding the "#".
23973 print prefix "define", macro P[macro] D[macro]
23974 next
23975 } else {
23976 # Replace #undef with comments. This is necessary, for example,
23977 # in the case of _POSIX_SOURCE, which is predefined and required
23978 # on some systems where configure will not decide to define it.
23979 if (defundef == "undef") {
23980 print "/*", prefix defundef, macro, "*/"
23981 next
23985 { print }
23986 _ACAWK
23987 _ACEOF
23988 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23989 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
23990 fi # test -n "$CONFIG_HEADERS"
23993 eval set X " :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
23994 shift
23995 for ac_tag
23997 case $ac_tag in
23998 :[FHLC]) ac_mode=$ac_tag; continue;;
23999 esac
24000 case $ac_mode$ac_tag in
24001 :[FHL]*:*);;
24002 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
24003 :[FH]-) ac_tag=-:-;;
24004 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
24005 esac
24006 ac_save_IFS=$IFS
24007 IFS=:
24008 set x $ac_tag
24009 IFS=$ac_save_IFS
24010 shift
24011 ac_file=$1
24012 shift
24014 case $ac_mode in
24015 :L) ac_source=$1;;
24016 :[FH])
24017 ac_file_inputs=
24018 for ac_f
24020 case $ac_f in
24021 -) ac_f="$ac_tmp/stdin";;
24022 *) # Look for the file first in the build tree, then in the source tree
24023 # (if the path is not absolute). The absolute path cannot be DOS-style,
24024 # because $ac_f cannot contain `:'.
24025 test -f "$ac_f" ||
24026 case $ac_f in
24027 [\\/$]*) false;;
24028 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
24029 esac ||
24030 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
24031 esac
24032 case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
24033 as_fn_append ac_file_inputs " '$ac_f'"
24034 done
24036 # Let's still pretend it is `configure' which instantiates (i.e., don't
24037 # use $as_me), people would be surprised to read:
24038 # /* config.h. Generated by config.status. */
24039 configure_input='Generated from '`
24040 printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
24041 `' by configure.'
24042 if test x"$ac_file" != x-; then
24043 configure_input="$ac_file. $configure_input"
24044 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
24045 printf "%s\n" "$as_me: creating $ac_file" >&6;}
24047 # Neutralize special characters interpreted by sed in replacement strings.
24048 case $configure_input in #(
24049 *\&* | *\|* | *\\* )
24050 ac_sed_conf_input=`printf "%s\n" "$configure_input" |
24051 sed 's/[\\\\&|]/\\\\&/g'`;; #(
24052 *) ac_sed_conf_input=$configure_input;;
24053 esac
24055 case $ac_tag in
24056 *:-:* | *:-) cat >"$ac_tmp/stdin" \
24057 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
24058 esac
24060 esac
24062 ac_dir=`$as_dirname -- "$ac_file" ||
24063 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24064 X"$ac_file" : 'X\(//\)[^/]' \| \
24065 X"$ac_file" : 'X\(//\)$' \| \
24066 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
24067 printf "%s\n" X"$ac_file" |
24068 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
24069 s//\1/
24072 /^X\(\/\/\)[^/].*/{
24073 s//\1/
24076 /^X\(\/\/\)$/{
24077 s//\1/
24080 /^X\(\/\).*/{
24081 s//\1/
24084 s/.*/./; q'`
24085 as_dir="$ac_dir"; as_fn_mkdir_p
24086 ac_builddir=.
24088 case "$ac_dir" in
24089 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
24091 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
24092 # A ".." for each directory in $ac_dir_suffix.
24093 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
24094 case $ac_top_builddir_sub in
24095 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
24096 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
24097 esac ;;
24098 esac
24099 ac_abs_top_builddir=$ac_pwd
24100 ac_abs_builddir=$ac_pwd$ac_dir_suffix
24101 # for backward compatibility:
24102 ac_top_builddir=$ac_top_build_prefix
24104 case $srcdir in
24105 .) # We are building in place.
24106 ac_srcdir=.
24107 ac_top_srcdir=$ac_top_builddir_sub
24108 ac_abs_top_srcdir=$ac_pwd ;;
24109 [\\/]* | ?:[\\/]* ) # Absolute name.
24110 ac_srcdir=$srcdir$ac_dir_suffix;
24111 ac_top_srcdir=$srcdir
24112 ac_abs_top_srcdir=$srcdir ;;
24113 *) # Relative name.
24114 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
24115 ac_top_srcdir=$ac_top_build_prefix$srcdir
24116 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
24117 esac
24118 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
24121 case $ac_mode in
24125 # CONFIG_HEADER
24127 if test x"$ac_file" != x-; then
24129 printf "%s\n" "/* $configure_input */" >&1 \
24130 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
24131 } >"$ac_tmp/config.h" \
24132 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
24133 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
24134 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
24135 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
24136 else
24137 rm -f "$ac_file"
24138 mv "$ac_tmp/config.h" "$ac_file" \
24139 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
24141 else
24142 printf "%s\n" "/* $configure_input */" >&1 \
24143 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
24144 || as_fn_error $? "could not create -" "$LINENO" 5
24149 # CONFIG_LINK
24152 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
24154 else
24155 # Prefer the file from the source tree if names are identical.
24156 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
24157 ac_source=$srcdir/$ac_source
24160 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
24161 printf "%s\n" "$as_me: linking $ac_source to $ac_file" >&6;}
24163 if test ! -r "$ac_source"; then
24164 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
24166 rm -f "$ac_file"
24168 # Try a relative symlink, then a hard link, then a copy.
24169 case $ac_source in
24170 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
24171 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
24172 esac
24173 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
24174 ln "$ac_source" "$ac_file" 2>/dev/null ||
24175 cp -p "$ac_source" "$ac_file" ||
24176 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
24179 :C) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
24180 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
24182 esac
24185 case $ac_file$ac_mode in
24186 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
24187 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
24188 "Makefile":C) wine_fn_output_makefile Makefile ;;
24190 esac
24191 done # for ac_tag
24194 as_fn_exit 0
24195 _ACEOF
24196 ac_clean_files=$ac_clean_files_save
24198 test $ac_write_fail = 0 ||
24199 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
24202 # configure is writing to config.log, and then calls config.status.
24203 # config.status does its own redirection, appending to config.log.
24204 # Unfortunately, on DOS this fails, as config.log is still kept open
24205 # by configure, so config.status won't be able to write to it; its
24206 # output is simply discarded. So we exec the FD to /dev/null,
24207 # effectively closing config.log, so it can be properly (re)opened and
24208 # appended to by config.status. When coming back to configure, we
24209 # need to make the FD available again.
24210 if test "$no_create" != yes; then
24211 ac_cs_success=:
24212 ac_config_status_args=
24213 test "$silent" = yes &&
24214 ac_config_status_args="$ac_config_status_args --quiet"
24215 exec 5>/dev/null
24216 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
24217 exec 5>>config.log
24218 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
24219 # would make configure fail if this is the last instruction.
24220 $ac_cs_success || as_fn_exit 1
24222 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
24223 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
24224 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
24228 if test "$no_create" = "yes"
24229 then
24230 exit 0
24233 ac_save_IFS="$IFS"
24234 if test "x$wine_notices" != x; then
24235 echo >&6
24236 IFS="|"
24237 for msg in $wine_notices; do
24238 IFS="$ac_save_IFS"
24239 if ${msg:+false} :
24240 then :
24242 else $as_nop
24243 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $msg" >&5
24244 printf "%s\n" "$as_me: $msg" >&6;}
24246 done
24248 IFS="|"
24249 for msg in $wine_warnings; do
24250 IFS="$ac_save_IFS"
24251 if ${msg:+false} :
24252 then :
24254 else $as_nop
24255 echo >&2
24256 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
24257 printf "%s\n" "$as_me: WARNING: $msg" >&2;}
24259 done
24260 IFS="$ac_save_IFS"
24262 printf "%s\n" "
24263 $as_me: Finished. Do '${ac_make}' to compile Wine.
24264 " >&6