wined3d: Do not load UAV locations when clearing if not necessary.
[wine.git] / configure
blob9c15f952298e639081557f9d3a8fc2f6d6cc529f
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.71 for Wine 8.13.
5 # Report bugs to <wine-devel@winehq.org>.
8 # Copyright (C) 1992-1996, 1998-2017, 2020-2021 Free Software Foundation,
9 # Inc.
12 # This configure script is free software; the Free Software Foundation
13 # gives unlimited permission to copy, distribute and modify it.
14 ## -------------------- ##
15 ## M4sh Initialization. ##
16 ## -------------------- ##
18 # Be more Bourne compatible
19 DUALCASE=1; export DUALCASE # for MKS sh
20 as_nop=:
21 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
22 then :
23 emulate sh
24 NULLCMD=:
25 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
26 # is contrary to our usage. Disable this feature.
27 alias -g '${1+"$@"}'='"$@"'
28 setopt NO_GLOB_SUBST
29 else $as_nop
30 case `(set -o) 2>/dev/null` in #(
31 *posix*) :
32 set -o posix ;; #(
33 *) :
35 esac
40 # Reset variables that may have inherited troublesome values from
41 # the environment.
43 # IFS needs to be set, to space, tab, and newline, in precisely that order.
44 # (If _AS_PATH_WALK were called with IFS unset, it would have the
45 # side effect of setting IFS to empty, thus disabling word splitting.)
46 # Quoting is to prevent editors from complaining about space-tab.
47 as_nl='
49 export as_nl
50 IFS=" "" $as_nl"
52 PS1='$ '
53 PS2='> '
54 PS4='+ '
56 # Ensure predictable behavior from utilities with locale-dependent output.
57 LC_ALL=C
58 export LC_ALL
59 LANGUAGE=C
60 export LANGUAGE
62 # We cannot yet rely on "unset" to work, but we need these variables
63 # to be unset--not just set to an empty or harmless value--now, to
64 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
65 # also avoids known problems related to "unset" and subshell syntax
66 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
67 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
68 do eval test \${$as_var+y} \
69 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
70 done
72 # Ensure that fds 0, 1, and 2 are open.
73 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
74 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
75 if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
77 # The user is always right.
78 if ${PATH_SEPARATOR+false} :; then
79 PATH_SEPARATOR=:
80 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
81 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
82 PATH_SEPARATOR=';'
87 # Find who we are. Look in the path if we contain no directory separator.
88 as_myself=
89 case $0 in #((
90 *[\\/]* ) as_myself=$0 ;;
91 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
92 for as_dir in $PATH
94 IFS=$as_save_IFS
95 case $as_dir in #(((
96 '') as_dir=./ ;;
97 */) ;;
98 *) as_dir=$as_dir/ ;;
99 esac
100 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
101 done
102 IFS=$as_save_IFS
105 esac
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
109 as_myself=$0
111 if test ! -f "$as_myself"; then
112 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 exit 1
117 # Use a proper internal environment variable to ensure we don't fall
118 # into an infinite loop, continuously re-executing ourselves.
119 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
120 _as_can_reexec=no; export _as_can_reexec;
121 # We cannot yet assume a decent shell, so we have to provide a
122 # neutralization value for shells without unset; and this also
123 # works around shells that cannot unset nonexistent variables.
124 # Preserve -v and -x to the replacement shell.
125 BASH_ENV=/dev/null
126 ENV=/dev/null
127 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
128 case $- in # ((((
129 *v*x* | *x*v* ) as_opts=-vx ;;
130 *v* ) as_opts=-v ;;
131 *x* ) as_opts=-x ;;
132 * ) as_opts= ;;
133 esac
134 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
135 # Admittedly, this is quite paranoid, since all the known shells bail
136 # out after a failed `exec'.
137 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
138 exit 255
140 # We don't want this to propagate to other subprocesses.
141 { _as_can_reexec=; unset _as_can_reexec;}
142 if test "x$CONFIG_SHELL" = x; then
143 as_bourne_compatible="as_nop=:
144 if test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
145 then :
146 emulate sh
147 NULLCMD=:
148 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
149 # is contrary to our usage. Disable this feature.
150 alias -g '\${1+\"\$@\"}'='\"\$@\"'
151 setopt NO_GLOB_SUBST
152 else \$as_nop
153 case \`(set -o) 2>/dev/null\` in #(
154 *posix*) :
155 set -o posix ;; #(
156 *) :
158 esac
161 as_required="as_fn_return () { (exit \$1); }
162 as_fn_success () { as_fn_return 0; }
163 as_fn_failure () { as_fn_return 1; }
164 as_fn_ret_success () { return 0; }
165 as_fn_ret_failure () { return 1; }
167 exitcode=0
168 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
169 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
170 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
171 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
172 if ( set x; as_fn_ret_success y && test x = \"\$1\" )
173 then :
175 else \$as_nop
176 exitcode=1; echo positional parameters were not saved.
178 test x\$exitcode = x0 || exit 1
179 blah=\$(echo \$(echo blah))
180 test x\"\$blah\" = xblah || exit 1
181 test -x / || exit 1"
182 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
183 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
184 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
185 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
186 test \$(( 1 + 1 )) = 2 || exit 1"
187 if (eval "$as_required") 2>/dev/null
188 then :
189 as_have_required=yes
190 else $as_nop
191 as_have_required=no
193 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null
194 then :
196 else $as_nop
197 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
198 as_found=false
199 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
201 IFS=$as_save_IFS
202 case $as_dir in #(((
203 '') as_dir=./ ;;
204 */) ;;
205 *) as_dir=$as_dir/ ;;
206 esac
207 as_found=:
208 case $as_dir in #(
210 for as_base in sh bash ksh sh5; do
211 # Try only shells that exist, to save several forks.
212 as_shell=$as_dir$as_base
213 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
214 as_run=a "$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev/null
215 then :
216 CONFIG_SHELL=$as_shell as_have_required=yes
217 if as_run=a "$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev/null
218 then :
219 break 2
222 done;;
223 esac
224 as_found=false
225 done
226 IFS=$as_save_IFS
227 if $as_found
228 then :
230 else $as_nop
231 if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
232 as_run=a "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev/null
233 then :
234 CONFIG_SHELL=$SHELL as_have_required=yes
239 if test "x$CONFIG_SHELL" != x
240 then :
241 export CONFIG_SHELL
242 # We cannot yet assume a decent shell, so we have to provide a
243 # neutralization value for shells without unset; and this also
244 # works around shells that cannot unset nonexistent variables.
245 # Preserve -v and -x to the replacement shell.
246 BASH_ENV=/dev/null
247 ENV=/dev/null
248 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
249 case $- in # ((((
250 *v*x* | *x*v* ) as_opts=-vx ;;
251 *v* ) as_opts=-v ;;
252 *x* ) as_opts=-x ;;
253 * ) as_opts= ;;
254 esac
255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
256 # Admittedly, this is quite paranoid, since all the known shells bail
257 # out after a failed `exec'.
258 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
259 exit 255
262 if test x$as_have_required = xno
263 then :
264 printf "%s\n" "$0: This script requires a shell more modern than all"
265 printf "%s\n" "$0: the shells that I found on your system."
266 if test ${ZSH_VERSION+y} ; then
267 printf "%s\n" "$0: In particular, zsh $ZSH_VERSION has bugs and should"
268 printf "%s\n" "$0: be upgraded to zsh 4.3.4 or later."
269 else
270 printf "%s\n" "$0: Please tell bug-autoconf@gnu.org and
271 $0: wine-devel@winehq.org about your system, including any
272 $0: error possibly output before this message. Then install
273 $0: a modern shell, or manually run the script under such a
274 $0: shell if you do have one."
276 exit 1
280 SHELL=${CONFIG_SHELL-/bin/sh}
281 export SHELL
282 # Unset more variables known to interfere with behavior of common tools.
283 CLICOLOR_FORCE= GREP_OPTIONS=
284 unset CLICOLOR_FORCE GREP_OPTIONS
286 ## --------------------- ##
287 ## M4sh Shell Functions. ##
288 ## --------------------- ##
289 # as_fn_unset VAR
290 # ---------------
291 # Portably unset VAR.
292 as_fn_unset ()
294 { eval $1=; unset $1;}
296 as_unset=as_fn_unset
299 # as_fn_set_status STATUS
300 # -----------------------
301 # Set $? to STATUS, without forking.
302 as_fn_set_status ()
304 return $1
305 } # as_fn_set_status
307 # as_fn_exit STATUS
308 # -----------------
309 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
310 as_fn_exit ()
312 set +e
313 as_fn_set_status $1
314 exit $1
315 } # as_fn_exit
316 # as_fn_nop
317 # ---------
318 # Do nothing but, unlike ":", preserve the value of $?.
319 as_fn_nop ()
321 return $?
323 as_nop=as_fn_nop
325 # as_fn_mkdir_p
326 # -------------
327 # Create "$as_dir" as a directory, including parents if necessary.
328 as_fn_mkdir_p ()
331 case $as_dir in #(
332 -*) as_dir=./$as_dir;;
333 esac
334 test -d "$as_dir" || eval $as_mkdir_p || {
335 as_dirs=
336 while :; do
337 case $as_dir in #(
338 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
339 *) as_qdir=$as_dir;;
340 esac
341 as_dirs="'$as_qdir' $as_dirs"
342 as_dir=`$as_dirname -- "$as_dir" ||
343 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
344 X"$as_dir" : 'X\(//\)[^/]' \| \
345 X"$as_dir" : 'X\(//\)$' \| \
346 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
347 printf "%s\n" X"$as_dir" |
348 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
349 s//\1/
352 /^X\(\/\/\)[^/].*/{
353 s//\1/
356 /^X\(\/\/\)$/{
357 s//\1/
360 /^X\(\/\).*/{
361 s//\1/
364 s/.*/./; q'`
365 test -d "$as_dir" && break
366 done
367 test -z "$as_dirs" || eval "mkdir $as_dirs"
368 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
371 } # as_fn_mkdir_p
373 # as_fn_executable_p FILE
374 # -----------------------
375 # Test if FILE is an executable regular file.
376 as_fn_executable_p ()
378 test -f "$1" && test -x "$1"
379 } # as_fn_executable_p
380 # as_fn_append VAR VALUE
381 # ----------------------
382 # Append the text in VALUE to the end of the definition contained in VAR. Take
383 # advantage of any shell optimizations that allow amortized linear growth over
384 # repeated appends, instead of the typical quadratic growth present in naive
385 # implementations.
386 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
387 then :
388 eval 'as_fn_append ()
390 eval $1+=\$2
392 else $as_nop
393 as_fn_append ()
395 eval $1=\$$1\$2
397 fi # as_fn_append
399 # as_fn_arith ARG...
400 # ------------------
401 # Perform arithmetic evaluation on the ARGs, and store the result in the
402 # global $as_val. Take advantage of shells that can avoid forks. The arguments
403 # must be portable across $(()) and expr.
404 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
405 then :
406 eval 'as_fn_arith ()
408 as_val=$(( $* ))
410 else $as_nop
411 as_fn_arith ()
413 as_val=`expr "$@" || test $? -eq 1`
415 fi # as_fn_arith
417 # as_fn_nop
418 # ---------
419 # Do nothing but, unlike ":", preserve the value of $?.
420 as_fn_nop ()
422 return $?
424 as_nop=as_fn_nop
426 # as_fn_error STATUS ERROR [LINENO LOG_FD]
427 # ----------------------------------------
428 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
429 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
430 # script with STATUS, using 1 if that was 0.
431 as_fn_error ()
433 as_status=$1; test $as_status -eq 0 && as_status=1
434 if test "$4"; then
435 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
436 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
438 printf "%s\n" "$as_me: error: $2" >&2
439 as_fn_exit $as_status
440 } # as_fn_error
442 if expr a : '\(a\)' >/dev/null 2>&1 &&
443 test "X`expr 00001 : '.*\(...\)'`" = X001; then
444 as_expr=expr
445 else
446 as_expr=false
449 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
450 as_basename=basename
451 else
452 as_basename=false
455 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
456 as_dirname=dirname
457 else
458 as_dirname=false
461 as_me=`$as_basename -- "$0" ||
462 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
463 X"$0" : 'X\(//\)$' \| \
464 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
465 printf "%s\n" X/"$0" |
466 sed '/^.*\/\([^/][^/]*\)\/*$/{
467 s//\1/
470 /^X\/\(\/\/\)$/{
471 s//\1/
474 /^X\/\(\/\).*/{
475 s//\1/
478 s/.*/./; q'`
480 # Avoid depending upon Character Ranges.
481 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
482 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
483 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
484 as_cr_digits='0123456789'
485 as_cr_alnum=$as_cr_Letters$as_cr_digits
488 as_lineno_1=$LINENO as_lineno_1a=$LINENO
489 as_lineno_2=$LINENO as_lineno_2a=$LINENO
490 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
491 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
492 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
493 sed -n '
495 /[$]LINENO/=
496 ' <$as_myself |
497 sed '
498 s/[$]LINENO.*/&-/
499 t lineno
501 :lineno
503 :loop
504 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
505 t loop
506 s/-\n.*//
507 ' >$as_me.lineno &&
508 chmod +x "$as_me.lineno" ||
509 { printf "%s\n" "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
511 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
512 # already done that, so ensure we don't try to do so again and fall
513 # in an infinite loop. This has already happened in practice.
514 _as_can_reexec=no; export _as_can_reexec
515 # Don't try to exec as it changes $[0], causing all sort of problems
516 # (the dirname of $[0] is not the place where we might find the
517 # original and so on. Autoconf is especially sensitive to this).
518 . "./$as_me.lineno"
519 # Exit status is that of the last command.
520 exit
524 # Determine whether it's possible to make 'echo' print without a newline.
525 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
526 # for compatibility with existing Makefiles.
527 ECHO_C= ECHO_N= ECHO_T=
528 case `echo -n x` in #(((((
529 -n*)
530 case `echo 'xy\c'` in
531 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
532 xy) ECHO_C='\c';;
533 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
534 ECHO_T=' ';;
535 esac;;
537 ECHO_N='-n';;
538 esac
540 # For backward compatibility with old third-party macros, we provide
541 # the shell variables $as_echo and $as_echo_n. New code should use
542 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
543 as_echo='printf %s\n'
544 as_echo_n='printf %s'
547 rm -f conf$$ conf$$.exe conf$$.file
548 if test -d conf$$.dir; then
549 rm -f conf$$.dir/conf$$.file
550 else
551 rm -f conf$$.dir
552 mkdir conf$$.dir 2>/dev/null
554 if (echo >conf$$.file) 2>/dev/null; then
555 if ln -s conf$$.file conf$$ 2>/dev/null; then
556 as_ln_s='ln -s'
557 # ... but there are two gotchas:
558 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
559 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
560 # In both cases, we have to default to `cp -pR'.
561 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
562 as_ln_s='cp -pR'
563 elif ln conf$$.file conf$$ 2>/dev/null; then
564 as_ln_s=ln
565 else
566 as_ln_s='cp -pR'
568 else
569 as_ln_s='cp -pR'
571 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
572 rmdir conf$$.dir 2>/dev/null
574 if mkdir -p . 2>/dev/null; then
575 as_mkdir_p='mkdir -p "$as_dir"'
576 else
577 test -d ./-p && rmdir ./-p
578 as_mkdir_p=false
581 as_test_x='test -x'
582 as_executable_p=as_fn_executable_p
584 # Sed expression to map a string onto a valid CPP name.
585 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
587 # Sed expression to map a string onto a valid variable name.
588 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
591 test -n "$DJDIR" || exec 7<&0 </dev/null
592 exec 6>&1
594 # Name of the host.
595 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
596 # so uname gets run too.
597 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
600 # Initializations.
602 ac_default_prefix=/usr/local
603 ac_clean_files=
604 ac_config_libobj_dir=.
605 LIBOBJS=
606 cross_compiling=no
607 subdirs=
608 MFLAGS=
609 MAKEFLAGS=
611 # Identity of this package.
612 PACKAGE_NAME='Wine'
613 PACKAGE_TARNAME='wine'
614 PACKAGE_VERSION='8.13'
615 PACKAGE_STRING='Wine 8.13'
616 PACKAGE_BUGREPORT='wine-devel@winehq.org'
617 PACKAGE_URL='https://www.winehq.org'
619 ac_unique_file="server/atom.c"
620 # Factoring default headers for most tests.
621 ac_includes_default="\
622 #include <stddef.h>
623 #ifdef HAVE_STDIO_H
624 # include <stdio.h>
625 #endif
626 #ifdef HAVE_STDLIB_H
627 # include <stdlib.h>
628 #endif
629 #ifdef HAVE_STRING_H
630 # include <string.h>
631 #endif
632 #ifdef HAVE_INTTYPES_H
633 # include <inttypes.h>
634 #endif
635 #ifdef HAVE_STDINT_H
636 # include <stdint.h>
637 #endif
638 #ifdef HAVE_STRINGS_H
639 # include <strings.h>
640 #endif
641 #ifdef HAVE_SYS_TYPES_H
642 # include <sys/types.h>
643 #endif
644 #ifdef HAVE_SYS_STAT_H
645 # include <sys/stat.h>
646 #endif
647 #ifdef HAVE_UNISTD_H
648 # include <unistd.h>
649 #endif"
651 ac_header_c_list=
652 ac_subst_vars='LTLIBOBJS
653 LIBOBJS
654 TAGSFLAGS
655 RT_LIBS
656 WINELOADER_PROGRAMS
657 DELAYLOADFLAG
658 MSVCRTFLAGS
659 NETAPI_LIBS
660 NETAPI_CFLAGS
661 PROCSTAT_LIBS
662 GSSAPI_LIBS
663 GSSAPI_CFLAGS
664 KRB5_LIBS
665 KRB5_CFLAGS
666 FONTCONFIG_LIBS
667 FONTCONFIG_CFLAGS
668 CUPS_LIBS
669 CUPS_CFLAGS
670 CAPI20_LIBS
671 CAPI20_CFLAGS
672 SDL2_LIBS
673 SDL2_CFLAGS
674 UNWIND_LIBS
675 UNWIND_CFLAGS
676 UDEV_LIBS
677 UDEV_CFLAGS
678 OSS4_LIBS
679 OSS4_CFLAGS
680 ALSA_LIBS
681 GSTREAMER_LIBS
682 GSTREAMER_CFLAGS
683 PULSE_LIBS
684 PULSE_CFLAGS
685 GETTEXTPO_LIBS
686 FREETYPE_LIBS
687 FREETYPE_CFLAGS
688 RESOLV_LIBS
689 GPHOTO2_PORT_LIBS
690 GPHOTO2_PORT_CFLAGS
691 GPHOTO2_LIBS
692 GPHOTO2_CFLAGS
693 USB_LIBS
694 USB_CFLAGS
695 SANE_LIBS
696 SANE_CFLAGS
697 GNUTLS_LIBS
698 GNUTLS_CFLAGS
699 DBUS_LIBS
700 DBUS_CFLAGS
701 INOTIFY_LIBS
702 INOTIFY_CFLAGS
703 PCSCLITE_LIBS
704 PCAP_LIBS
705 WAYLAND_SCANNER
706 WAYLAND_CLIENT_LIBS
707 WAYLAND_CLIENT_CFLAGS
708 X_EXTRA_LIBS
709 X_LIBS
710 X_PRE_LIBS
711 X_CFLAGS
713 XMKMF
714 PTHREAD_LIBS
715 ZYDIS_PE_LIBS
716 ZYDIS_PE_CFLAGS
717 ZLIB_PE_LIBS
718 ZLIB_PE_CFLAGS
719 XSLT_PE_LIBS
720 XSLT_PE_CFLAGS
721 XML2_PE_LIBS
722 XML2_PE_CFLAGS
723 VKD3D_PE_LIBS
724 VKD3D_PE_CFLAGS
725 TIFF_PE_LIBS
726 TIFF_PE_CFLAGS
727 PNG_PE_LIBS
728 PNG_PE_CFLAGS
729 MUSL_PE_LIBS
730 MUSL_PE_CFLAGS
731 MPG123_PE_LIBS
732 MPG123_PE_CFLAGS
733 LDAP_PE_LIBS
734 LDAP_PE_CFLAGS
735 LCMS2_PE_LIBS
736 LCMS2_PE_CFLAGS
737 JXR_PE_LIBS
738 JXR_PE_CFLAGS
739 JPEG_PE_LIBS
740 JPEG_PE_CFLAGS
741 GSM_PE_LIBS
742 GSM_PE_CFLAGS
743 FAUDIO_PE_LIBS
744 FAUDIO_PE_CFLAGS
745 MINGW_PKG_CONFIG
746 PE_ARCHS
747 WINELOADER_DEPENDS
748 ac_ct_OBJC
749 OBJCFLAGS
750 OBJC
751 OPENCL_LIBS
752 COREAUDIO_LIBS
753 SYSTEMCONFIGURATION_LIBS
754 SECURITY_LIBS
755 APPKIT_LIBS
756 CORESERVICES_LIBS
757 APPLICATIONSERVICES_LIBS
758 METAL_LIBS
759 IOKIT_LIBS
760 DISKARBITRATION_LIBS
761 COREFOUNDATION_LIBS
762 CARBON_LIBS
763 CONFIGURE_TARGETS
764 DISABLED_SUBDIRS
765 SUBDIRS
766 READELF
767 OTOOL
769 DLLEXT
770 WINEPRELOADER_LDFLAGS
771 WINELOADER_LDFLAGS
772 TOP_INSTALL_DEV
773 TOP_INSTALL_LIB
774 UNIXLDFLAGS
775 UNIXDLLFLAGS
776 EXTRACFLAGS
777 LDEXECFLAGS
778 LDDLLFLAGS
779 DLLFLAGS
780 OPENGL_LIBS
781 I386_LIBS
782 ICOTOOL
783 CONVERT
784 RSVG
785 FONTFORGE
786 PKG_CONFIG
787 MSGFMT
788 LDCONFIG
789 EGREP
790 GREP
791 LN_S
792 RANLIB
793 STRIP
794 ac_ct_AR
796 BISON
797 FLEX
798 SED_CMD
799 RUNTESTFLAGS
800 MAKEDEP
801 toolsdir
802 x86_64_DISABLED_SUBDIRS
803 x86_64_DELAYLOADFLAG
804 x86_64_TARGET
805 x86_64_DEBUG
806 x86_64_LDFLAGS
807 x86_64_EXTRACFLAGS
808 x86_64_CFLAGS
809 x86_64_CC
810 i386_DISABLED_SUBDIRS
811 i386_DELAYLOADFLAG
812 i386_TARGET
813 i386_DEBUG
814 i386_LDFLAGS
815 i386_EXTRACFLAGS
816 i386_CFLAGS
817 i386_CC
818 arm_DISABLED_SUBDIRS
819 arm_DELAYLOADFLAG
820 arm_TARGET
821 arm_DEBUG
822 arm_LDFLAGS
823 arm_EXTRACFLAGS
824 arm_CFLAGS
825 arm_CC
826 aarch64_DISABLED_SUBDIRS
827 aarch64_DELAYLOADFLAG
828 aarch64_TARGET
829 aarch64_DEBUG
830 aarch64_LDFLAGS
831 aarch64_EXTRACFLAGS
832 aarch64_CFLAGS
833 aarch64_CC
834 HOST_ARCH
835 toolsext
836 TARGETFLAGS
838 CPPBIN
839 ac_ct_CXX
840 CXXFLAGS
842 OBJEXT
843 EXEEXT
844 ac_ct_CC
845 CPPFLAGS
846 LDFLAGS
847 CFLAGS
849 SET_MAKE
850 srcdir
851 nlsdir
852 fontdir
853 dlldir
854 host_os
855 host_vendor
856 host_cpu
857 host
858 build_os
859 build_vendor
860 build_cpu
861 build
862 system_dllpath
863 target_alias
864 host_alias
865 build_alias
866 LIBS
867 ECHO_T
868 ECHO_N
869 ECHO_C
870 DEFS
871 mandir
872 localedir
873 libdir
874 psdir
875 pdfdir
876 dvidir
877 htmldir
878 infodir
879 docdir
880 oldincludedir
881 includedir
882 runstatedir
883 localstatedir
884 sharedstatedir
885 sysconfdir
886 datadir
887 datarootdir
888 libexecdir
889 sbindir
890 bindir
891 program_transform_name
892 prefix
893 exec_prefix
894 PACKAGE_URL
895 PACKAGE_BUGREPORT
896 PACKAGE_STRING
897 PACKAGE_VERSION
898 PACKAGE_TARNAME
899 PACKAGE_NAME
900 PATH_SEPARATOR
901 SHELL'
902 ac_subst_files=''
903 ac_user_opts='
904 enable_option_checking
905 enable_archs
906 enable_win16
907 enable_win64
908 enable_tests
909 enable_build_id
910 enable_maintainer_mode
911 enable_silent_rules
912 enable_werror
913 with_alsa
914 with_capi
915 with_coreaudio
916 with_cups
917 with_dbus
918 with_float_abi
919 with_fontconfig
920 with_freetype
921 with_gettext
922 with_gettextpo
923 with_gphoto
924 with_gnutls
925 with_gssapi
926 with_gstreamer
927 with_inotify
928 with_krb5
929 with_mingw
930 with_netapi
931 with_opencl
932 with_opengl
933 with_osmesa
934 with_oss
935 with_pcap
936 with_pcsclite
937 with_pthread
938 with_pulse
939 with_sane
940 with_sdl
941 with_udev
942 with_unwind
943 with_usb
944 with_v4l2
945 with_vulkan
946 with_wayland
947 with_xcomposite
948 with_xcursor
949 with_xfixes
950 with_xinerama
951 with_xinput
952 with_xinput2
953 with_xrandr
954 with_xrender
955 with_xshape
956 with_xshm
957 with_xxf86vm
958 with_system_dllpath
959 with_wine_tools
960 with_wine64
961 enable_largefile
962 with_x
963 enable_acledit
964 enable_aclui
965 enable_activeds_tlb
966 enable_activeds
967 enable_actxprxy
968 enable_adsldp
969 enable_adsldpc
970 enable_advapi32
971 enable_advpack
972 enable_amsi
973 enable_amstream
974 enable_apisetschema
975 enable_apphelp
976 enable_appwiz_cpl
977 enable_atl
978 enable_atl100
979 enable_atl110
980 enable_atl80
981 enable_atl90
982 enable_atlthunk
983 enable_atmlib
984 enable_authz
985 enable_avicap32
986 enable_avifil32
987 enable_avrt
988 enable_bcrypt
989 enable_bcryptprimitives
990 enable_bluetoothapis
991 enable_browseui
992 enable_bthprops_cpl
993 enable_cabinet
994 enable_capi2032
995 enable_cards
996 enable_cdosys
997 enable_cfgmgr32
998 enable_clusapi
999 enable_cng_sys
1000 enable_combase
1001 enable_comcat
1002 enable_comctl32
1003 enable_comdlg32
1004 enable_compstui
1005 enable_comsvcs
1006 enable_concrt140
1007 enable_connect
1008 enable_credui
1009 enable_crtdll
1010 enable_crypt32
1011 enable_cryptdlg
1012 enable_cryptdll
1013 enable_cryptext
1014 enable_cryptnet
1015 enable_cryptowinrt
1016 enable_cryptsp
1017 enable_cryptui
1018 enable_ctapi32
1019 enable_ctl3d32
1020 enable_d2d1
1021 enable_d3d10
1022 enable_d3d10_1
1023 enable_d3d10core
1024 enable_d3d11
1025 enable_d3d12
1026 enable_d3d12core
1027 enable_d3d8
1028 enable_d3d8thk
1029 enable_d3d9
1030 enable_d3dcompiler_33
1031 enable_d3dcompiler_34
1032 enable_d3dcompiler_35
1033 enable_d3dcompiler_36
1034 enable_d3dcompiler_37
1035 enable_d3dcompiler_38
1036 enable_d3dcompiler_39
1037 enable_d3dcompiler_40
1038 enable_d3dcompiler_41
1039 enable_d3dcompiler_42
1040 enable_d3dcompiler_43
1041 enable_d3dcompiler_46
1042 enable_d3dcompiler_47
1043 enable_d3dim
1044 enable_d3dim700
1045 enable_d3drm
1046 enable_d3dx10_33
1047 enable_d3dx10_34
1048 enable_d3dx10_35
1049 enable_d3dx10_36
1050 enable_d3dx10_37
1051 enable_d3dx10_38
1052 enable_d3dx10_39
1053 enable_d3dx10_40
1054 enable_d3dx10_41
1055 enable_d3dx10_42
1056 enable_d3dx10_43
1057 enable_d3dx11_42
1058 enable_d3dx11_43
1059 enable_d3dx9_24
1060 enable_d3dx9_25
1061 enable_d3dx9_26
1062 enable_d3dx9_27
1063 enable_d3dx9_28
1064 enable_d3dx9_29
1065 enable_d3dx9_30
1066 enable_d3dx9_31
1067 enable_d3dx9_32
1068 enable_d3dx9_33
1069 enable_d3dx9_34
1070 enable_d3dx9_35
1071 enable_d3dx9_36
1072 enable_d3dx9_37
1073 enable_d3dx9_38
1074 enable_d3dx9_39
1075 enable_d3dx9_40
1076 enable_d3dx9_41
1077 enable_d3dx9_42
1078 enable_d3dx9_43
1079 enable_d3dxof
1080 enable_davclnt
1081 enable_dbgeng
1082 enable_dbghelp
1083 enable_dciman32
1084 enable_dcomp
1085 enable_ddraw
1086 enable_ddrawex
1087 enable_devenum
1088 enable_dhcpcsvc
1089 enable_dhcpcsvc6
1090 enable_dhtmled_ocx
1091 enable_diasymreader
1092 enable_difxapi
1093 enable_dinput
1094 enable_dinput8
1095 enable_directmanipulation
1096 enable_dispex
1097 enable_dmband
1098 enable_dmcompos
1099 enable_dmime
1100 enable_dmloader
1101 enable_dmscript
1102 enable_dmstyle
1103 enable_dmsynth
1104 enable_dmusic
1105 enable_dmusic32
1106 enable_dnsapi
1107 enable_dplay
1108 enable_dplayx
1109 enable_dpnaddr
1110 enable_dpnet
1111 enable_dpnhpast
1112 enable_dpnhupnp
1113 enable_dpnlobby
1114 enable_dpvoice
1115 enable_dpwsockx
1116 enable_drmclien
1117 enable_dsdmo
1118 enable_dsound
1119 enable_dsquery
1120 enable_dssenh
1121 enable_dsuiext
1122 enable_dswave
1123 enable_dwmapi
1124 enable_dwrite
1125 enable_dx8vb
1126 enable_dxdiagn
1127 enable_dxgi
1128 enable_dxtrans
1129 enable_dxva2
1130 enable_esent
1131 enable_evr
1132 enable_explorerframe
1133 enable_faultrep
1134 enable_feclient
1135 enable_fltlib
1136 enable_fltmgr_sys
1137 enable_fntcache
1138 enable_fontsub
1139 enable_fusion
1140 enable_fwpuclnt
1141 enable_gameux
1142 enable_gamingtcui
1143 enable_gdi32
1144 enable_gdiplus
1145 enable_geolocation
1146 enable_glu32
1147 enable_gphoto2_ds
1148 enable_gpkcsp
1149 enable_graphicscapture
1150 enable_hal
1151 enable_hhctrl_ocx
1152 enable_hid
1153 enable_hidclass_sys
1154 enable_hidparse_sys
1155 enable_hlink
1156 enable_hnetcfg
1157 enable_hrtfapo
1158 enable_http_sys
1159 enable_httpapi
1160 enable_ia2comproxy
1161 enable_iccvid
1162 enable_icmp
1163 enable_ieframe
1164 enable_ieproxy
1165 enable_imaadp32_acm
1166 enable_imagehlp
1167 enable_imm32
1168 enable_inetcomm
1169 enable_inetcpl_cpl
1170 enable_inetmib1
1171 enable_infosoft
1172 enable_initpki
1173 enable_inkobj
1174 enable_inseng
1175 enable_iphlpapi
1176 enable_iprop
1177 enable_ir50_32
1178 enable_irprops_cpl
1179 enable_itircl
1180 enable_itss
1181 enable_joy_cpl
1182 enable_jscript
1183 enable_jsproxy
1184 enable_kerberos
1185 enable_kernel32
1186 enable_kernelbase
1187 enable_ksecdd_sys
1188 enable_ksproxy_ax
1189 enable_ksuser
1190 enable_ktmw32
1191 enable_l3codeca_acm
1192 enable_light_msstyles
1193 enable_loadperf
1194 enable_localspl
1195 enable_localui
1196 enable_lz32
1197 enable_mapi32
1198 enable_mapistub
1199 enable_mciavi32
1200 enable_mcicda
1201 enable_mciqtz32
1202 enable_mciseq
1203 enable_mciwave
1204 enable_mf
1205 enable_mf3216
1206 enable_mferror
1207 enable_mfmediaengine
1208 enable_mfplat
1209 enable_mfplay
1210 enable_mfreadwrite
1211 enable_mfsrcsnk
1212 enable_mgmtapi
1213 enable_midimap
1214 enable_mlang
1215 enable_mmcndmgr
1216 enable_mmdevapi
1217 enable_mountmgr_sys
1218 enable_mp3dmod
1219 enable_mpr
1220 enable_mprapi
1221 enable_msacm32_drv
1222 enable_msacm32
1223 enable_msado15
1224 enable_msadp32_acm
1225 enable_msasn1
1226 enable_msauddecmft
1227 enable_mscat32
1228 enable_mscms
1229 enable_mscoree
1230 enable_mscorwks
1231 enable_msctf
1232 enable_msctfmonitor
1233 enable_msctfp
1234 enable_msdaps
1235 enable_msdasql
1236 enable_msdelta
1237 enable_msdmo
1238 enable_msdrm
1239 enable_msftedit
1240 enable_msg711_acm
1241 enable_msgsm32_acm
1242 enable_mshtml_tlb
1243 enable_mshtml
1244 enable_msi
1245 enable_msident
1246 enable_msimg32
1247 enable_msimsg
1248 enable_msimtf
1249 enable_msisip
1250 enable_msisys_ocx
1251 enable_msls31
1252 enable_msmpeg2vdec
1253 enable_msnet32
1254 enable_mspatcha
1255 enable_msports
1256 enable_msrle32
1257 enable_msscript_ocx
1258 enable_mssign32
1259 enable_mssip32
1260 enable_mstask
1261 enable_msv1_0
1262 enable_msvcirt
1263 enable_msvcm80
1264 enable_msvcm90
1265 enable_msvcp100
1266 enable_msvcp110
1267 enable_msvcp120
1268 enable_msvcp120_app
1269 enable_msvcp140
1270 enable_msvcp140_1
1271 enable_msvcp140_2
1272 enable_msvcp140_atomic_wait
1273 enable_msvcp60
1274 enable_msvcp70
1275 enable_msvcp71
1276 enable_msvcp80
1277 enable_msvcp90
1278 enable_msvcp_win
1279 enable_msvcr100
1280 enable_msvcr110
1281 enable_msvcr120
1282 enable_msvcr120_app
1283 enable_msvcr70
1284 enable_msvcr71
1285 enable_msvcr80
1286 enable_msvcr90
1287 enable_msvcrt
1288 enable_msvcrt20
1289 enable_msvcrt40
1290 enable_msvcrtd
1291 enable_msvfw32
1292 enable_msvidc32
1293 enable_mswsock
1294 enable_msxml
1295 enable_msxml2
1296 enable_msxml3
1297 enable_msxml4
1298 enable_msxml6
1299 enable_mtxdm
1300 enable_ncrypt
1301 enable_nddeapi
1302 enable_ndis_sys
1303 enable_netapi32
1304 enable_netcfgx
1305 enable_netio_sys
1306 enable_netprofm
1307 enable_netutils
1308 enable_newdev
1309 enable_ninput
1310 enable_normaliz
1311 enable_npmshtml
1312 enable_npptools
1313 enable_nsi
1314 enable_nsiproxy_sys
1315 enable_ntdll
1316 enable_ntdsapi
1317 enable_ntoskrnl_exe
1318 enable_ntprint
1319 enable_objsel
1320 enable_odbc32
1321 enable_odbcbcp
1322 enable_odbccp32
1323 enable_odbccu32
1324 enable_ole32
1325 enable_oleacc
1326 enable_oleaut32
1327 enable_olecli32
1328 enable_oledb32
1329 enable_oledlg
1330 enable_olepro32
1331 enable_olesvr32
1332 enable_olethk32
1333 enable_opcservices
1334 enable_opencl
1335 enable_opengl32
1336 enable_packager
1337 enable_pdh
1338 enable_photometadatahandler
1339 enable_pidgen
1340 enable_powrprof
1341 enable_printui
1342 enable_prntvpt
1343 enable_propsys
1344 enable_psapi
1345 enable_pstorec
1346 enable_pwrshplugin
1347 enable_qasf
1348 enable_qcap
1349 enable_qdvd
1350 enable_qedit
1351 enable_qmgr
1352 enable_qmgrprxy
1353 enable_quartz
1354 enable_query
1355 enable_qwave
1356 enable_rasapi32
1357 enable_rasdlg
1358 enable_regapi
1359 enable_resutils
1360 enable_riched20
1361 enable_riched32
1362 enable_rpcrt4
1363 enable_rsabase
1364 enable_rsaenh
1365 enable_rstrtmgr
1366 enable_rtutils
1367 enable_rtworkq
1368 enable_samlib
1369 enable_sane_ds
1370 enable_sapi
1371 enable_sas
1372 enable_scarddlg
1373 enable_scardsvr
1374 enable_sccbase
1375 enable_schannel
1376 enable_schedsvc
1377 enable_scrobj
1378 enable_scrrun
1379 enable_scsiport_sys
1380 enable_sechost
1381 enable_secur32
1382 enable_security
1383 enable_sensapi
1384 enable_serialui
1385 enable_setupapi
1386 enable_sfc
1387 enable_sfc_os
1388 enable_shcore
1389 enable_shdoclc
1390 enable_shdocvw
1391 enable_shell32
1392 enable_shfolder
1393 enable_shlwapi
1394 enable_slbcsp
1395 enable_slc
1396 enable_snmpapi
1397 enable_softpub
1398 enable_spoolss
1399 enable_sppc
1400 enable_srclient
1401 enable_srvcli
1402 enable_sspicli
1403 enable_stdole2_tlb
1404 enable_stdole32_tlb
1405 enable_sti
1406 enable_strmdll
1407 enable_svrapi
1408 enable_sxs
1409 enable_t2embed
1410 enable_tapi32
1411 enable_taskschd
1412 enable_tbs
1413 enable_tdh
1414 enable_tdi_sys
1415 enable_threadpoolwinrt
1416 enable_traffic
1417 enable_twain_32
1418 enable_twinapi_appcore
1419 enable_tzres
1420 enable_ucrtbase
1421 enable_uianimation
1422 enable_uiautomationcore
1423 enable_uiribbon
1424 enable_unicows
1425 enable_updspapi
1426 enable_url
1427 enable_urlmon
1428 enable_usbd_sys
1429 enable_user32
1430 enable_userenv
1431 enable_usp10
1432 enable_utildll
1433 enable_uxtheme
1434 enable_vbscript
1435 enable_vcomp
1436 enable_vcomp100
1437 enable_vcomp110
1438 enable_vcomp120
1439 enable_vcomp140
1440 enable_vcomp90
1441 enable_vcruntime140
1442 enable_vcruntime140_1
1443 enable_vdmdbg
1444 enable_version
1445 enable_vga
1446 enable_virtdisk
1447 enable_vssapi
1448 enable_vulkan_1
1449 enable_wbemdisp
1450 enable_wbemprox
1451 enable_wdscore
1452 enable_webservices
1453 enable_websocket
1454 enable_wer
1455 enable_wevtapi
1456 enable_wevtsvc
1457 enable_wiaservc
1458 enable_wimgapi
1459 enable_win32u
1460 enable_windows_devices_bluetooth
1461 enable_windows_devices_enumeration
1462 enable_windows_devices_usb
1463 enable_windows_gaming_input
1464 enable_windows_gaming_ui_gamebar
1465 enable_windows_globalization
1466 enable_windows_media_devices
1467 enable_windows_media_speech
1468 enable_windows_media
1469 enable_windows_networking_hostname
1470 enable_windows_networking
1471 enable_windows_perception_stub
1472 enable_windows_system_profile_systemmanufacturers
1473 enable_windows_ui
1474 enable_windowscodecs
1475 enable_windowscodecsext
1476 enable_winealsa_drv
1477 enable_wineandroid_drv
1478 enable_winebus_sys
1479 enable_winecoreaudio_drv
1480 enable_winecrt0
1481 enable_wined3d
1482 enable_winegstreamer
1483 enable_winehid_sys
1484 enable_winemac_drv
1485 enable_winemapi
1486 enable_wineoss_drv
1487 enable_wineps_drv
1488 enable_winepulse_drv
1489 enable_wineusb_sys
1490 enable_winevulkan
1491 enable_winewayland_drv
1492 enable_winex11_drv
1493 enable_winexinput_sys
1494 enable_wing32
1495 enable_winhttp
1496 enable_wininet
1497 enable_winmm
1498 enable_winnls32
1499 enable_winprint
1500 enable_winscard
1501 enable_winspool_drv
1502 enable_winsta
1503 enable_wintab32
1504 enable_wintrust
1505 enable_wintypes
1506 enable_winusb
1507 enable_wlanapi
1508 enable_wlanui
1509 enable_wldap32
1510 enable_wmasf
1511 enable_wmi
1512 enable_wmiutils
1513 enable_wmp
1514 enable_wmphoto
1515 enable_wmvcore
1516 enable_wnaspi32
1517 enable_wofutil
1518 enable_wow64
1519 enable_wow64cpu
1520 enable_wow64win
1521 enable_wpc
1522 enable_wpcap
1523 enable_ws2_32
1524 enable_wsdapi
1525 enable_wshom_ocx
1526 enable_wsnmp32
1527 enable_wsock32
1528 enable_wtsapi32
1529 enable_wuapi
1530 enable_wuaueng
1531 enable_x3daudio1_0
1532 enable_x3daudio1_1
1533 enable_x3daudio1_2
1534 enable_x3daudio1_3
1535 enable_x3daudio1_4
1536 enable_x3daudio1_5
1537 enable_x3daudio1_6
1538 enable_x3daudio1_7
1539 enable_xactengine2_0
1540 enable_xactengine2_4
1541 enable_xactengine2_7
1542 enable_xactengine2_9
1543 enable_xactengine3_0
1544 enable_xactengine3_1
1545 enable_xactengine3_2
1546 enable_xactengine3_3
1547 enable_xactengine3_4
1548 enable_xactengine3_5
1549 enable_xactengine3_6
1550 enable_xactengine3_7
1551 enable_xapofx1_1
1552 enable_xapofx1_2
1553 enable_xapofx1_3
1554 enable_xapofx1_4
1555 enable_xapofx1_5
1556 enable_xaudio2_0
1557 enable_xaudio2_1
1558 enable_xaudio2_2
1559 enable_xaudio2_3
1560 enable_xaudio2_4
1561 enable_xaudio2_5
1562 enable_xaudio2_6
1563 enable_xaudio2_7
1564 enable_xaudio2_8
1565 enable_xaudio2_9
1566 enable_xinput1_1
1567 enable_xinput1_2
1568 enable_xinput1_3
1569 enable_xinput1_4
1570 enable_xinput9_1_0
1571 enable_xinputuap
1572 enable_xmllite
1573 enable_xolehlp
1574 enable_xpsprint
1575 enable_xpssvcs
1576 enable_fonts
1577 enable_include
1578 enable_adsiid
1579 enable_dmoguids
1580 enable_dxerr8
1581 enable_dxerr9
1582 enable_dxguid
1583 enable_faudio
1584 enable_gsm
1585 enable_jpeg
1586 enable_jxr
1587 enable_lcms2
1588 enable_ldap
1589 enable_mfuuid
1590 enable_mpg123
1591 enable_musl
1592 enable_png
1593 enable_strmbase
1594 enable_strmiids
1595 enable_tiff
1596 enable_uuid
1597 enable_vkd3d
1598 enable_wbemuuid
1599 enable_wmcodecdspuuid
1600 enable_xml2
1601 enable_xslt
1602 enable_zlib
1603 enable_zydis
1604 enable_loader
1605 enable_nls
1606 enable_po
1607 enable_arp
1608 enable_aspnet_regiis
1609 enable_attrib
1610 enable_cabarc
1611 enable_cacls
1612 enable_certutil
1613 enable_chcp_com
1614 enable_clock
1615 enable_cmd
1616 enable_conhost
1617 enable_control
1618 enable_cscript
1619 enable_dism
1620 enable_dllhost
1621 enable_dplaysvr
1622 enable_dpnsvr
1623 enable_dpvsetup
1624 enable_dxdiag
1625 enable_eject
1626 enable_expand
1627 enable_explorer
1628 enable_extrac32
1629 enable_fc
1630 enable_find
1631 enable_findstr
1632 enable_fsutil
1633 enable_hh
1634 enable_hostname
1635 enable_icacls
1636 enable_icinfo
1637 enable_iexplore
1638 enable_ipconfig
1639 enable_klist
1640 enable_lodctr
1641 enable_mofcomp
1642 enable_mshta
1643 enable_msidb
1644 enable_msiexec
1645 enable_msinfo32
1646 enable_net
1647 enable_netsh
1648 enable_netstat
1649 enable_ngen
1650 enable_notepad
1651 enable_oleview
1652 enable_ping
1653 enable_plugplay
1654 enable_pnputil
1655 enable_powershell
1656 enable_presentationfontcache
1657 enable_progman
1658 enable_reg
1659 enable_regasm
1660 enable_regedit
1661 enable_regini
1662 enable_regsvcs
1663 enable_regsvr32
1664 enable_robocopy
1665 enable_rpcss
1666 enable_rundll32
1667 enable_sc
1668 enable_schtasks
1669 enable_sdbinst
1670 enable_secedit
1671 enable_servicemodelreg
1672 enable_services
1673 enable_setx
1674 enable_shutdown
1675 enable_spoolsv
1676 enable_start
1677 enable_subst
1678 enable_svchost
1679 enable_systeminfo
1680 enable_taskkill
1681 enable_tasklist
1682 enable_taskmgr
1683 enable_termsv
1684 enable_uninstaller
1685 enable_unlodctr
1686 enable_view
1687 enable_wevtutil
1688 enable_where
1689 enable_whoami
1690 enable_wineboot
1691 enable_winebrowser
1692 enable_winecfg
1693 enable_wineconsole
1694 enable_winedbg
1695 enable_winedevice
1696 enable_winefile
1697 enable_winemenubuilder
1698 enable_winemine
1699 enable_winemsibuilder
1700 enable_winepath
1701 enable_winetest
1702 enable_winhlp32
1703 enable_winmgmt
1704 enable_winver
1705 enable_wmic
1706 enable_wmplayer
1707 enable_wordpad
1708 enable_write
1709 enable_wscript
1710 enable_wuauserv
1711 enable_wusa
1712 enable_xcopy
1713 enable_server
1714 enable_tools
1715 enable_sfnt2fon
1716 enable_widl
1717 enable_winebuild
1718 enable_winedump
1719 enable_winegcc
1720 enable_winemaker
1721 enable_wmc
1722 enable_wrc
1724 ac_precious_vars='build_alias
1725 host_alias
1726 target_alias
1728 CFLAGS
1729 LDFLAGS
1730 LIBS
1731 CPPFLAGS
1733 CXXFLAGS
1735 OBJC
1736 OBJCFLAGS
1737 FAUDIO_PE_CFLAGS
1738 FAUDIO_PE_LIBS
1739 GSM_PE_CFLAGS
1740 GSM_PE_LIBS
1741 JPEG_PE_CFLAGS
1742 JPEG_PE_LIBS
1743 JXR_PE_CFLAGS
1744 JXR_PE_LIBS
1745 LCMS2_PE_CFLAGS
1746 LCMS2_PE_LIBS
1747 LDAP_PE_CFLAGS
1748 LDAP_PE_LIBS
1749 MPG123_PE_CFLAGS
1750 MPG123_PE_LIBS
1751 MUSL_PE_CFLAGS
1752 MUSL_PE_LIBS
1753 PNG_PE_CFLAGS
1754 PNG_PE_LIBS
1755 TIFF_PE_CFLAGS
1756 TIFF_PE_LIBS
1757 VKD3D_PE_CFLAGS
1758 VKD3D_PE_LIBS
1759 XML2_PE_CFLAGS
1760 XML2_PE_LIBS
1761 XSLT_PE_CFLAGS
1762 XSLT_PE_LIBS
1763 ZLIB_PE_CFLAGS
1764 ZLIB_PE_LIBS
1765 ZYDIS_PE_CFLAGS
1766 ZYDIS_PE_LIBS
1767 XMKMF
1769 WAYLAND_CLIENT_CFLAGS
1770 WAYLAND_CLIENT_LIBS
1771 INOTIFY_CFLAGS
1772 INOTIFY_LIBS
1773 DBUS_CFLAGS
1774 DBUS_LIBS
1775 GNUTLS_CFLAGS
1776 GNUTLS_LIBS
1777 SANE_CFLAGS
1778 SANE_LIBS
1779 USB_CFLAGS
1780 USB_LIBS
1781 GPHOTO2_CFLAGS
1782 GPHOTO2_LIBS
1783 GPHOTO2_PORT_CFLAGS
1784 GPHOTO2_PORT_LIBS
1785 FREETYPE_CFLAGS
1786 FREETYPE_LIBS
1787 PULSE_CFLAGS
1788 PULSE_LIBS
1789 GSTREAMER_CFLAGS
1790 GSTREAMER_LIBS
1791 UDEV_CFLAGS
1792 UDEV_LIBS
1793 UNWIND_CFLAGS
1794 UNWIND_LIBS
1795 SDL2_CFLAGS
1796 SDL2_LIBS
1797 CAPI20_CFLAGS
1798 CAPI20_LIBS
1799 CUPS_CFLAGS
1800 CUPS_LIBS
1801 FONTCONFIG_CFLAGS
1802 FONTCONFIG_LIBS
1803 KRB5_CFLAGS
1804 KRB5_LIBS
1805 GSSAPI_CFLAGS
1806 GSSAPI_LIBS
1807 NETAPI_CFLAGS
1808 NETAPI_LIBS'
1811 # Initialize some variables set by options.
1812 ac_init_help=
1813 ac_init_version=false
1814 ac_unrecognized_opts=
1815 ac_unrecognized_sep=
1816 # The variables have the same names as the options, with
1817 # dashes changed to underlines.
1818 cache_file=/dev/null
1819 exec_prefix=NONE
1820 no_create=
1821 no_recursion=
1822 prefix=NONE
1823 program_prefix=NONE
1824 program_suffix=NONE
1825 program_transform_name=s,x,x,
1826 silent=
1827 site=
1828 srcdir=
1829 verbose=
1830 x_includes=NONE
1831 x_libraries=NONE
1833 # Installation directory options.
1834 # These are left unexpanded so users can "make install exec_prefix=/foo"
1835 # and all the variables that are supposed to be based on exec_prefix
1836 # by default will actually change.
1837 # Use braces instead of parens because sh, perl, etc. also accept them.
1838 # (The list follows the same order as the GNU Coding Standards.)
1839 bindir='${exec_prefix}/bin'
1840 sbindir='${exec_prefix}/sbin'
1841 libexecdir='${exec_prefix}/libexec'
1842 datarootdir='${prefix}/share'
1843 datadir='${datarootdir}'
1844 sysconfdir='${prefix}/etc'
1845 sharedstatedir='${prefix}/com'
1846 localstatedir='${prefix}/var'
1847 runstatedir='${localstatedir}/run'
1848 includedir='${prefix}/include'
1849 oldincludedir='/usr/include'
1850 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1851 infodir='${datarootdir}/info'
1852 htmldir='${docdir}'
1853 dvidir='${docdir}'
1854 pdfdir='${docdir}'
1855 psdir='${docdir}'
1856 libdir='${exec_prefix}/lib'
1857 localedir='${datarootdir}/locale'
1858 mandir='${datarootdir}/man'
1860 ac_prev=
1861 ac_dashdash=
1862 for ac_option
1864 # If the previous option needs an argument, assign it.
1865 if test -n "$ac_prev"; then
1866 eval $ac_prev=\$ac_option
1867 ac_prev=
1868 continue
1871 case $ac_option in
1872 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1873 *=) ac_optarg= ;;
1874 *) ac_optarg=yes ;;
1875 esac
1877 case $ac_dashdash$ac_option in
1879 ac_dashdash=yes ;;
1881 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1882 ac_prev=bindir ;;
1883 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1884 bindir=$ac_optarg ;;
1886 -build | --build | --buil | --bui | --bu)
1887 ac_prev=build_alias ;;
1888 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1889 build_alias=$ac_optarg ;;
1891 -cache-file | --cache-file | --cache-fil | --cache-fi \
1892 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1893 ac_prev=cache_file ;;
1894 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1895 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1896 cache_file=$ac_optarg ;;
1898 --config-cache | -C)
1899 cache_file=config.cache ;;
1901 -datadir | --datadir | --datadi | --datad)
1902 ac_prev=datadir ;;
1903 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1904 datadir=$ac_optarg ;;
1906 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1907 | --dataroo | --dataro | --datar)
1908 ac_prev=datarootdir ;;
1909 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1910 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1911 datarootdir=$ac_optarg ;;
1913 -disable-* | --disable-*)
1914 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1915 # Reject names that are not valid shell variable names.
1916 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1917 as_fn_error $? "invalid feature name: \`$ac_useropt'"
1918 ac_useropt_orig=$ac_useropt
1919 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1920 case $ac_user_opts in
1922 "enable_$ac_useropt"
1923 "*) ;;
1924 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1925 ac_unrecognized_sep=', ';;
1926 esac
1927 eval enable_$ac_useropt=no ;;
1929 -docdir | --docdir | --docdi | --doc | --do)
1930 ac_prev=docdir ;;
1931 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1932 docdir=$ac_optarg ;;
1934 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1935 ac_prev=dvidir ;;
1936 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1937 dvidir=$ac_optarg ;;
1939 -enable-* | --enable-*)
1940 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1941 # Reject names that are not valid shell variable names.
1942 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1943 as_fn_error $? "invalid feature name: \`$ac_useropt'"
1944 ac_useropt_orig=$ac_useropt
1945 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1946 case $ac_user_opts in
1948 "enable_$ac_useropt"
1949 "*) ;;
1950 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1951 ac_unrecognized_sep=', ';;
1952 esac
1953 eval enable_$ac_useropt=\$ac_optarg ;;
1955 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1956 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1957 | --exec | --exe | --ex)
1958 ac_prev=exec_prefix ;;
1959 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1960 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1961 | --exec=* | --exe=* | --ex=*)
1962 exec_prefix=$ac_optarg ;;
1964 -gas | --gas | --ga | --g)
1965 # Obsolete; use --with-gas.
1966 with_gas=yes ;;
1968 -help | --help | --hel | --he | -h)
1969 ac_init_help=long ;;
1970 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1971 ac_init_help=recursive ;;
1972 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1973 ac_init_help=short ;;
1975 -host | --host | --hos | --ho)
1976 ac_prev=host_alias ;;
1977 -host=* | --host=* | --hos=* | --ho=*)
1978 host_alias=$ac_optarg ;;
1980 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1981 ac_prev=htmldir ;;
1982 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1983 | --ht=*)
1984 htmldir=$ac_optarg ;;
1986 -includedir | --includedir | --includedi | --included | --include \
1987 | --includ | --inclu | --incl | --inc)
1988 ac_prev=includedir ;;
1989 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1990 | --includ=* | --inclu=* | --incl=* | --inc=*)
1991 includedir=$ac_optarg ;;
1993 -infodir | --infodir | --infodi | --infod | --info | --inf)
1994 ac_prev=infodir ;;
1995 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1996 infodir=$ac_optarg ;;
1998 -libdir | --libdir | --libdi | --libd)
1999 ac_prev=libdir ;;
2000 -libdir=* | --libdir=* | --libdi=* | --libd=*)
2001 libdir=$ac_optarg ;;
2003 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
2004 | --libexe | --libex | --libe)
2005 ac_prev=libexecdir ;;
2006 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
2007 | --libexe=* | --libex=* | --libe=*)
2008 libexecdir=$ac_optarg ;;
2010 -localedir | --localedir | --localedi | --localed | --locale)
2011 ac_prev=localedir ;;
2012 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
2013 localedir=$ac_optarg ;;
2015 -localstatedir | --localstatedir | --localstatedi | --localstated \
2016 | --localstate | --localstat | --localsta | --localst | --locals)
2017 ac_prev=localstatedir ;;
2018 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
2019 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
2020 localstatedir=$ac_optarg ;;
2022 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
2023 ac_prev=mandir ;;
2024 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
2025 mandir=$ac_optarg ;;
2027 -nfp | --nfp | --nf)
2028 # Obsolete; use --without-fp.
2029 with_fp=no ;;
2031 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
2032 | --no-cr | --no-c | -n)
2033 no_create=yes ;;
2035 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
2036 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
2037 no_recursion=yes ;;
2039 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
2040 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
2041 | --oldin | --oldi | --old | --ol | --o)
2042 ac_prev=oldincludedir ;;
2043 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
2044 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
2045 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
2046 oldincludedir=$ac_optarg ;;
2048 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2049 ac_prev=prefix ;;
2050 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2051 prefix=$ac_optarg ;;
2053 -program-prefix | --program-prefix | --program-prefi | --program-pref \
2054 | --program-pre | --program-pr | --program-p)
2055 ac_prev=program_prefix ;;
2056 -program-prefix=* | --program-prefix=* | --program-prefi=* \
2057 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2058 program_prefix=$ac_optarg ;;
2060 -program-suffix | --program-suffix | --program-suffi | --program-suff \
2061 | --program-suf | --program-su | --program-s)
2062 ac_prev=program_suffix ;;
2063 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2064 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2065 program_suffix=$ac_optarg ;;
2067 -program-transform-name | --program-transform-name \
2068 | --program-transform-nam | --program-transform-na \
2069 | --program-transform-n | --program-transform- \
2070 | --program-transform | --program-transfor \
2071 | --program-transfo | --program-transf \
2072 | --program-trans | --program-tran \
2073 | --progr-tra | --program-tr | --program-t)
2074 ac_prev=program_transform_name ;;
2075 -program-transform-name=* | --program-transform-name=* \
2076 | --program-transform-nam=* | --program-transform-na=* \
2077 | --program-transform-n=* | --program-transform-=* \
2078 | --program-transform=* | --program-transfor=* \
2079 | --program-transfo=* | --program-transf=* \
2080 | --program-trans=* | --program-tran=* \
2081 | --progr-tra=* | --program-tr=* | --program-t=*)
2082 program_transform_name=$ac_optarg ;;
2084 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2085 ac_prev=pdfdir ;;
2086 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2087 pdfdir=$ac_optarg ;;
2089 -psdir | --psdir | --psdi | --psd | --ps)
2090 ac_prev=psdir ;;
2091 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2092 psdir=$ac_optarg ;;
2094 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2095 | -silent | --silent | --silen | --sile | --sil)
2096 silent=yes ;;
2098 -runstatedir | --runstatedir | --runstatedi | --runstated \
2099 | --runstate | --runstat | --runsta | --runst | --runs \
2100 | --run | --ru | --r)
2101 ac_prev=runstatedir ;;
2102 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2103 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2104 | --run=* | --ru=* | --r=*)
2105 runstatedir=$ac_optarg ;;
2107 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2108 ac_prev=sbindir ;;
2109 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2110 | --sbi=* | --sb=*)
2111 sbindir=$ac_optarg ;;
2113 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2114 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2115 | --sharedst | --shareds | --shared | --share | --shar \
2116 | --sha | --sh)
2117 ac_prev=sharedstatedir ;;
2118 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2119 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2120 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2121 | --sha=* | --sh=*)
2122 sharedstatedir=$ac_optarg ;;
2124 -site | --site | --sit)
2125 ac_prev=site ;;
2126 -site=* | --site=* | --sit=*)
2127 site=$ac_optarg ;;
2129 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2130 ac_prev=srcdir ;;
2131 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2132 srcdir=$ac_optarg ;;
2134 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2135 | --syscon | --sysco | --sysc | --sys | --sy)
2136 ac_prev=sysconfdir ;;
2137 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2138 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2139 sysconfdir=$ac_optarg ;;
2141 -target | --target | --targe | --targ | --tar | --ta | --t)
2142 ac_prev=target_alias ;;
2143 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2144 target_alias=$ac_optarg ;;
2146 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2147 verbose=yes ;;
2149 -version | --version | --versio | --versi | --vers | -V)
2150 ac_init_version=: ;;
2152 -with-* | --with-*)
2153 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2154 # Reject names that are not valid shell variable names.
2155 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2156 as_fn_error $? "invalid package name: \`$ac_useropt'"
2157 ac_useropt_orig=$ac_useropt
2158 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2159 case $ac_user_opts in
2161 "with_$ac_useropt"
2162 "*) ;;
2163 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2164 ac_unrecognized_sep=', ';;
2165 esac
2166 eval with_$ac_useropt=\$ac_optarg ;;
2168 -without-* | --without-*)
2169 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2170 # Reject names that are not valid shell variable names.
2171 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2172 as_fn_error $? "invalid package name: \`$ac_useropt'"
2173 ac_useropt_orig=$ac_useropt
2174 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2175 case $ac_user_opts in
2177 "with_$ac_useropt"
2178 "*) ;;
2179 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2180 ac_unrecognized_sep=', ';;
2181 esac
2182 eval with_$ac_useropt=no ;;
2184 --x)
2185 # Obsolete; use --with-x.
2186 with_x=yes ;;
2188 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2189 | --x-incl | --x-inc | --x-in | --x-i)
2190 ac_prev=x_includes ;;
2191 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2192 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2193 x_includes=$ac_optarg ;;
2195 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2196 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2197 ac_prev=x_libraries ;;
2198 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2199 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2200 x_libraries=$ac_optarg ;;
2202 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2203 Try \`$0 --help' for more information"
2206 *=*)
2207 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2208 # Reject names that are not valid shell variable names.
2209 case $ac_envvar in #(
2210 '' | [0-9]* | *[!_$as_cr_alnum]* )
2211 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2212 esac
2213 eval $ac_envvar=\$ac_optarg
2214 export $ac_envvar ;;
2217 # FIXME: should be removed in autoconf 3.0.
2218 printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
2219 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2220 printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
2221 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2224 esac
2225 done
2227 if test -n "$ac_prev"; then
2228 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2229 as_fn_error $? "missing argument to $ac_option"
2232 if test -n "$ac_unrecognized_opts"; then
2233 case $enable_option_checking in
2234 no) ;;
2235 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2236 *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2237 esac
2240 # Check all directory arguments for consistency.
2241 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2242 datadir sysconfdir sharedstatedir localstatedir includedir \
2243 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2244 libdir localedir mandir runstatedir
2246 eval ac_val=\$$ac_var
2247 # Remove trailing slashes.
2248 case $ac_val in
2249 */ )
2250 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2251 eval $ac_var=\$ac_val;;
2252 esac
2253 # Be sure to have absolute directory names.
2254 case $ac_val in
2255 [\\/$]* | ?:[\\/]* ) continue;;
2256 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2257 esac
2258 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2259 done
2261 # There might be people who depend on the old broken behavior: `$host'
2262 # used to hold the argument of --host etc.
2263 # FIXME: To remove some day.
2264 build=$build_alias
2265 host=$host_alias
2266 target=$target_alias
2268 # FIXME: To remove some day.
2269 if test "x$host_alias" != x; then
2270 if test "x$build_alias" = x; then
2271 cross_compiling=maybe
2272 elif test "x$build_alias" != "x$host_alias"; then
2273 cross_compiling=yes
2277 ac_tool_prefix=
2278 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2280 test "$silent" = yes && exec 6>/dev/null
2283 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2284 ac_ls_di=`ls -di .` &&
2285 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2286 as_fn_error $? "working directory cannot be determined"
2287 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2288 as_fn_error $? "pwd does not report name of working directory"
2291 # Find the source files, if location was not specified.
2292 if test -z "$srcdir"; then
2293 ac_srcdir_defaulted=yes
2294 # Try the directory containing this script, then the parent directory.
2295 ac_confdir=`$as_dirname -- "$as_myself" ||
2296 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2297 X"$as_myself" : 'X\(//\)[^/]' \| \
2298 X"$as_myself" : 'X\(//\)$' \| \
2299 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2300 printf "%s\n" X"$as_myself" |
2301 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2302 s//\1/
2305 /^X\(\/\/\)[^/].*/{
2306 s//\1/
2309 /^X\(\/\/\)$/{
2310 s//\1/
2313 /^X\(\/\).*/{
2314 s//\1/
2317 s/.*/./; q'`
2318 srcdir=$ac_confdir
2319 if test ! -r "$srcdir/$ac_unique_file"; then
2320 srcdir=..
2322 else
2323 ac_srcdir_defaulted=no
2325 if test ! -r "$srcdir/$ac_unique_file"; then
2326 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2327 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2329 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2330 ac_abs_confdir=`(
2331 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2332 pwd)`
2333 # When building in place, set srcdir=.
2334 if test "$ac_abs_confdir" = "$ac_pwd"; then
2335 srcdir=.
2337 # Remove unnecessary trailing slashes from srcdir.
2338 # Double slashes in file names in object file debugging info
2339 # mess up M-x gdb in Emacs.
2340 case $srcdir in
2341 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2342 esac
2343 for ac_var in $ac_precious_vars; do
2344 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2345 eval ac_env_${ac_var}_value=\$${ac_var}
2346 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2347 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2348 done
2351 # Report the --help message.
2353 if test "$ac_init_help" = "long"; then
2354 # Omit some internal or obsolete options to make the list less imposing.
2355 # This message is too long to be a string in the A/UX 3.1 sh.
2356 cat <<_ACEOF
2357 \`configure' configures Wine 8.13 to adapt to many kinds of systems.
2359 Usage: $0 [OPTION]... [VAR=VALUE]...
2361 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2362 VAR=VALUE. See below for descriptions of some of the useful variables.
2364 Defaults for the options are specified in brackets.
2366 Configuration:
2367 -h, --help display this help and exit
2368 --help=short display options specific to this package
2369 --help=recursive display the short help of all the included packages
2370 -V, --version display version information and exit
2371 -q, --quiet, --silent do not print \`checking ...' messages
2372 --cache-file=FILE cache test results in FILE [disabled]
2373 -C, --config-cache alias for \`--cache-file=config.cache'
2374 -n, --no-create do not create output files
2375 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2377 Installation directories:
2378 --prefix=PREFIX install architecture-independent files in PREFIX
2379 [$ac_default_prefix]
2380 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2381 [PREFIX]
2383 By default, \`make install' will install all the files in
2384 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2385 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2386 for instance \`--prefix=\$HOME'.
2388 For better control, use the options below.
2390 Fine tuning of the installation directories:
2391 --bindir=DIR user executables [EPREFIX/bin]
2392 --sbindir=DIR system admin executables [EPREFIX/sbin]
2393 --libexecdir=DIR program executables [EPREFIX/libexec]
2394 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2395 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2396 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2397 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2398 --libdir=DIR object code libraries [EPREFIX/lib]
2399 --includedir=DIR C header files [PREFIX/include]
2400 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2401 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2402 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2403 --infodir=DIR info documentation [DATAROOTDIR/info]
2404 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2405 --mandir=DIR man documentation [DATAROOTDIR/man]
2406 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2407 --htmldir=DIR html documentation [DOCDIR]
2408 --dvidir=DIR dvi documentation [DOCDIR]
2409 --pdfdir=DIR pdf documentation [DOCDIR]
2410 --psdir=DIR ps documentation [DOCDIR]
2411 _ACEOF
2413 cat <<\_ACEOF
2415 X features:
2416 --x-includes=DIR X include files are in DIR
2417 --x-libraries=DIR X library files are in DIR
2419 System types:
2420 --build=BUILD configure for building on BUILD [guessed]
2421 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2422 _ACEOF
2425 if test -n "$ac_init_help"; then
2426 case $ac_init_help in
2427 short | recursive ) echo "Configuration of Wine 8.13:";;
2428 esac
2429 cat <<\_ACEOF
2431 Optional Features:
2432 --disable-option-checking ignore unrecognized --enable/--with options
2433 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2434 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2435 --enable-archs={i386,x86_64,arm,aarch64}
2436 enable multiple architectures for PE compilation
2437 --disable-win16 do not include Win16 support
2438 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2439 binaries)
2440 --disable-tests do not build the regression tests
2441 --enable-build-id include .buildid section in output objects
2442 --enable-maintainer-mode
2443 enable maintainer-specific build rules
2444 --enable-silent-rules use silent build rules (override: "make V=1")
2445 --enable-werror treat compilation warnings as errors
2446 --disable-largefile omit support for large files
2448 Optional Packages:
2449 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2450 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2451 --without-alsa do not use the Alsa sound support
2452 --without-capi do not use CAPI (ISDN support)
2453 --without-coreaudio do not use the CoreAudio sound support
2454 --without-cups do not use CUPS
2455 --without-dbus do not use DBus (dynamic device support)
2456 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2457 --without-fontconfig do not use fontconfig
2458 --without-freetype do not use the FreeType library
2459 --without-gettext do not use gettext
2460 --with-gettextpo use the GetTextPO library to rebuild po files
2461 --without-gphoto do not use gphoto (Digital Camera support)
2462 --without-gnutls do not use GnuTLS (schannel support)
2463 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2464 --without-gstreamer do not use GStreamer (codecs support)
2465 --without-inotify do not use inotify (filesystem change notifications)
2466 --without-krb5 do not use krb5 (Kerberos)
2467 --without-mingw do not use the MinGW cross-compiler
2468 --without-netapi do not use the Samba NetAPI library
2469 --without-opencl do not use OpenCL
2470 --without-opengl do not use OpenGL
2471 --without-osmesa do not use the OSMesa library
2472 --without-oss do not use the OSS sound support
2473 --without-pcap do not use the Packet Capture library
2474 --without-pcsclite do not use PCSC lite
2475 --without-pthread do not use the pthread library
2476 --without-pulse do not use PulseAudio sound support
2477 --without-sane do not use SANE (scanner support)
2478 --without-sdl do not use SDL
2479 --without-udev do not use udev (plug and play support)
2480 --without-unwind do not use the libunwind library (exception
2481 handling)
2482 --without-usb do not use the libusb library
2483 --without-v4l2 do not use v4l2 (video capture)
2484 --without-vulkan do not use Vulkan
2485 --without-wayland do not build the Wayland driver
2486 --without-xcomposite do not use the Xcomposite extension
2487 --without-xcursor do not use the Xcursor extension
2488 --without-xfixes do not use Xfixes for clipboard change notifications
2489 --without-xinerama do not use Xinerama (legacy multi-monitor support)
2490 --without-xinput do not use the Xinput extension
2491 --without-xinput2 do not use the Xinput 2 extension
2492 --without-xrandr do not use Xrandr (multi-monitor support)
2493 --without-xrender do not use the Xrender extension
2494 --without-xshape do not use the Xshape extension
2495 --without-xshm do not use XShm (shared memory extension)
2496 --without-xxf86vm do not use XFree video mode extension
2497 --with-system-dllpath=PATH
2498 load external PE dependencies from colon-separated
2499 path PATH
2500 --with-wine-tools=DIR use Wine tools from directory DIR
2501 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2502 --with-x use the X Window System
2504 Some influential environment variables:
2505 CC C compiler command
2506 CFLAGS C compiler flags
2507 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2508 nonstandard directory <lib dir>
2509 LIBS libraries to pass to the linker, e.g. -l<library>
2510 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2511 you have headers in a nonstandard directory <include dir>
2512 CXX C++ compiler command
2513 CXXFLAGS C++ compiler flags
2514 OBJC Objective C compiler command
2515 OBJCFLAGS Objective C compiler flags
2516 FAUDIO_PE_CFLAGS
2517 C compiler flags for the PE faudio, overriding the bundled
2518 version
2519 FAUDIO_PE_LIBS
2520 Linker flags for the PE faudio, overriding the bundled version
2521 GSM_PE_CFLAGS
2522 C compiler flags for the PE gsm, overriding the bundled version
2523 GSM_PE_LIBS Linker flags for the PE gsm, overriding the bundled version
2524 JPEG_PE_CFLAGS
2525 C compiler flags for the PE jpeg, overriding the bundled version
2526 JPEG_PE_LIBS
2527 Linker flags for the PE jpeg, overriding the bundled version
2528 JXR_PE_CFLAGS
2529 C compiler flags for the PE jxr, overriding the bundled version
2530 JXR_PE_LIBS Linker flags for the PE jxr, overriding the bundled version
2531 LCMS2_PE_CFLAGS
2532 C compiler flags for the PE lcms2, overriding the bundled
2533 version
2534 LCMS2_PE_LIBS
2535 Linker flags for the PE lcms2, overriding the bundled version
2536 LDAP_PE_CFLAGS
2537 C compiler flags for the PE ldap, overriding the bundled version
2538 LDAP_PE_LIBS
2539 Linker flags for the PE ldap, overriding the bundled version
2540 MPG123_PE_CFLAGS
2541 C compiler flags for the PE mpg123, overriding the bundled
2542 version
2543 MPG123_PE_LIBS
2544 Linker flags for the PE mpg123, overriding the bundled version
2545 MUSL_PE_CFLAGS
2546 C compiler flags for the PE musl, overriding the bundled version
2547 MUSL_PE_LIBS
2548 Linker flags for the PE musl, overriding the bundled version
2549 PNG_PE_CFLAGS
2550 C compiler flags for the PE png, overriding the bundled version
2551 PNG_PE_LIBS Linker flags for the PE png, overriding the bundled version
2552 TIFF_PE_CFLAGS
2553 C compiler flags for the PE tiff, overriding the bundled version
2554 TIFF_PE_LIBS
2555 Linker flags for the PE tiff, overriding the bundled version
2556 VKD3D_PE_CFLAGS
2557 C compiler flags for the PE vkd3d, overriding the bundled
2558 version
2559 VKD3D_PE_LIBS
2560 Linker flags for the PE vkd3d, overriding the bundled version
2561 XML2_PE_CFLAGS
2562 C compiler flags for the PE xml2, overriding the bundled version
2563 XML2_PE_LIBS
2564 Linker flags for the PE xml2, overriding the bundled version
2565 XSLT_PE_CFLAGS
2566 C compiler flags for the PE xslt, overriding the bundled version
2567 XSLT_PE_LIBS
2568 Linker flags for the PE xslt, overriding the bundled version
2569 ZLIB_PE_CFLAGS
2570 C compiler flags for the PE zlib, overriding the bundled version
2571 ZLIB_PE_LIBS
2572 Linker flags for the PE zlib, overriding the bundled version
2573 ZYDIS_PE_CFLAGS
2574 C compiler flags for the PE zydis, overriding the bundled
2575 version
2576 ZYDIS_PE_LIBS
2577 Linker flags for the PE zydis, overriding the bundled version
2578 XMKMF Path to xmkmf, Makefile generator for X Window System
2579 CPP C preprocessor
2580 WAYLAND_CLIENT_CFLAGS
2581 C compiler flags for wayland-client, overriding pkg-config
2582 WAYLAND_CLIENT_LIBS
2583 Linker flags for wayland-client, overriding pkg-config
2584 INOTIFY_CFLAGS
2585 C compiler flags for libinotify, overriding pkg-config
2586 INOTIFY_LIBS
2587 Linker flags for libinotify, overriding pkg-config
2588 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2589 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2590 GNUTLS_CFLAGS
2591 C compiler flags for gnutls, overriding pkg-config
2592 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2593 SANE_CFLAGS C compiler flags for sane-backends, overriding pkg-config
2594 SANE_LIBS Linker flags for sane-backends, overriding pkg-config
2595 USB_CFLAGS C compiler flags for libusb-1.0, overriding pkg-config
2596 USB_LIBS Linker flags for libusb-1.0, overriding pkg-config
2597 GPHOTO2_CFLAGS
2598 C compiler flags for libgphoto2, overriding pkg-config
2599 GPHOTO2_LIBS
2600 Linker flags for libgphoto2, overriding pkg-config
2601 GPHOTO2_PORT_CFLAGS
2602 C compiler flags for libgphoto2_port, overriding pkg-config
2603 GPHOTO2_PORT_LIBS
2604 Linker flags for libgphoto2_port, overriding pkg-config
2605 FREETYPE_CFLAGS
2606 C compiler flags for freetype2, overriding pkg-config
2607 FREETYPE_LIBS
2608 Linker flags for freetype2, overriding pkg-config
2609 PULSE_CFLAGS
2610 C compiler flags for libpulse, overriding pkg-config
2611 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2612 GSTREAMER_CFLAGS
2613 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2614 gstreamer-audio-1.0 gstreamer-tag-1.0, overriding pkg-config
2615 GSTREAMER_LIBS
2616 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2617 gstreamer-audio-1.0 gstreamer-tag-1.0, overriding pkg-config
2618 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2619 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2620 UNWIND_CFLAGS
2621 C compiler flags for libunwind, overriding pkg-config
2622 UNWIND_LIBS Linker flags for libunwind, overriding pkg-config
2623 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2624 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2625 CAPI20_CFLAGS
2626 C compiler flags for capi20, overriding pkg-config
2627 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2628 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2629 CUPS_LIBS Linker flags for cups, overriding pkg-config
2630 FONTCONFIG_CFLAGS
2631 C compiler flags for fontconfig, overriding pkg-config
2632 FONTCONFIG_LIBS
2633 Linker flags for fontconfig, overriding pkg-config
2634 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2635 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2636 GSSAPI_CFLAGS
2637 C compiler flags for krb5-gssapi, overriding pkg-config
2638 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2639 NETAPI_CFLAGS
2640 C compiler flags for netapi, overriding pkg-config
2641 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2643 Use these variables to override the choices made by `configure' or to help
2644 it to find libraries and programs with nonstandard names/locations.
2646 Report bugs to <wine-devel@winehq.org>.
2647 Wine home page: <https://www.winehq.org>.
2648 _ACEOF
2649 ac_status=$?
2652 if test "$ac_init_help" = "recursive"; then
2653 # If there are subdirs, report their specific --help.
2654 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2655 test -d "$ac_dir" ||
2656 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2657 continue
2658 ac_builddir=.
2660 case "$ac_dir" in
2661 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2663 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
2664 # A ".." for each directory in $ac_dir_suffix.
2665 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2666 case $ac_top_builddir_sub in
2667 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2668 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2669 esac ;;
2670 esac
2671 ac_abs_top_builddir=$ac_pwd
2672 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2673 # for backward compatibility:
2674 ac_top_builddir=$ac_top_build_prefix
2676 case $srcdir in
2677 .) # We are building in place.
2678 ac_srcdir=.
2679 ac_top_srcdir=$ac_top_builddir_sub
2680 ac_abs_top_srcdir=$ac_pwd ;;
2681 [\\/]* | ?:[\\/]* ) # Absolute name.
2682 ac_srcdir=$srcdir$ac_dir_suffix;
2683 ac_top_srcdir=$srcdir
2684 ac_abs_top_srcdir=$srcdir ;;
2685 *) # Relative name.
2686 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2687 ac_top_srcdir=$ac_top_build_prefix$srcdir
2688 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2689 esac
2690 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2692 cd "$ac_dir" || { ac_status=$?; continue; }
2693 # Check for configure.gnu first; this name is used for a wrapper for
2694 # Metaconfig's "Configure" on case-insensitive file systems.
2695 if test -f "$ac_srcdir/configure.gnu"; then
2696 echo &&
2697 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2698 elif test -f "$ac_srcdir/configure"; then
2699 echo &&
2700 $SHELL "$ac_srcdir/configure" --help=recursive
2701 else
2702 printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2703 fi || ac_status=$?
2704 cd "$ac_pwd" || { ac_status=$?; break; }
2705 done
2708 test -n "$ac_init_help" && exit $ac_status
2709 if $ac_init_version; then
2710 cat <<\_ACEOF
2711 Wine configure 8.13
2712 generated by GNU Autoconf 2.71
2714 Copyright (C) 2021 Free Software Foundation, Inc.
2715 This configure script is free software; the Free Software Foundation
2716 gives unlimited permission to copy, distribute and modify it.
2717 _ACEOF
2718 exit
2721 ## ------------------------ ##
2722 ## Autoconf initialization. ##
2723 ## ------------------------ ##
2725 # ac_fn_c_try_compile LINENO
2726 # --------------------------
2727 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2728 ac_fn_c_try_compile ()
2730 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2731 rm -f conftest.$ac_objext conftest.beam
2732 if { { ac_try="$ac_compile"
2733 case "(($ac_try" in
2734 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2735 *) ac_try_echo=$ac_try;;
2736 esac
2737 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2738 printf "%s\n" "$ac_try_echo"; } >&5
2739 (eval "$ac_compile") 2>conftest.err
2740 ac_status=$?
2741 if test -s conftest.err; then
2742 grep -v '^ *+' conftest.err >conftest.er1
2743 cat conftest.er1 >&5
2744 mv -f conftest.er1 conftest.err
2746 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2747 test $ac_status = 0; } && {
2748 test -z "$ac_c_werror_flag" ||
2749 test ! -s conftest.err
2750 } && test -s conftest.$ac_objext
2751 then :
2752 ac_retval=0
2753 else $as_nop
2754 printf "%s\n" "$as_me: failed program was:" >&5
2755 sed 's/^/| /' conftest.$ac_ext >&5
2757 ac_retval=1
2759 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2760 as_fn_set_status $ac_retval
2762 } # ac_fn_c_try_compile
2764 # ac_fn_cxx_try_compile LINENO
2765 # ----------------------------
2766 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2767 ac_fn_cxx_try_compile ()
2769 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2770 rm -f conftest.$ac_objext conftest.beam
2771 if { { ac_try="$ac_compile"
2772 case "(($ac_try" in
2773 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2774 *) ac_try_echo=$ac_try;;
2775 esac
2776 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2777 printf "%s\n" "$ac_try_echo"; } >&5
2778 (eval "$ac_compile") 2>conftest.err
2779 ac_status=$?
2780 if test -s conftest.err; then
2781 grep -v '^ *+' conftest.err >conftest.er1
2782 cat conftest.er1 >&5
2783 mv -f conftest.er1 conftest.err
2785 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2786 test $ac_status = 0; } && {
2787 test -z "$ac_cxx_werror_flag" ||
2788 test ! -s conftest.err
2789 } && test -s conftest.$ac_objext
2790 then :
2791 ac_retval=0
2792 else $as_nop
2793 printf "%s\n" "$as_me: failed program was:" >&5
2794 sed 's/^/| /' conftest.$ac_ext >&5
2796 ac_retval=1
2798 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2799 as_fn_set_status $ac_retval
2801 } # ac_fn_cxx_try_compile
2803 # ac_fn_c_try_link LINENO
2804 # -----------------------
2805 # Try to link conftest.$ac_ext, and return whether this succeeded.
2806 ac_fn_c_try_link ()
2808 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2809 rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
2810 if { { ac_try="$ac_link"
2811 case "(($ac_try" in
2812 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2813 *) ac_try_echo=$ac_try;;
2814 esac
2815 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2816 printf "%s\n" "$ac_try_echo"; } >&5
2817 (eval "$ac_link") 2>conftest.err
2818 ac_status=$?
2819 if test -s conftest.err; then
2820 grep -v '^ *+' conftest.err >conftest.er1
2821 cat conftest.er1 >&5
2822 mv -f conftest.er1 conftest.err
2824 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2825 test $ac_status = 0; } && {
2826 test -z "$ac_c_werror_flag" ||
2827 test ! -s conftest.err
2828 } && test -s conftest$ac_exeext && {
2829 test "$cross_compiling" = yes ||
2830 test -x conftest$ac_exeext
2832 then :
2833 ac_retval=0
2834 else $as_nop
2835 printf "%s\n" "$as_me: failed program was:" >&5
2836 sed 's/^/| /' conftest.$ac_ext >&5
2838 ac_retval=1
2840 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2841 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2842 # interfere with the next link command; also delete a directory that is
2843 # left behind by Apple's compiler. We do this before executing the actions.
2844 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2845 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2846 as_fn_set_status $ac_retval
2848 } # ac_fn_c_try_link
2850 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2851 # -------------------------------------------------------
2852 # Tests whether HEADER exists and can be compiled using the include files in
2853 # INCLUDES, setting the cache variable VAR accordingly.
2854 ac_fn_c_check_header_compile ()
2856 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2857 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2858 printf %s "checking for $2... " >&6; }
2859 if eval test \${$3+y}
2860 then :
2861 printf %s "(cached) " >&6
2862 else $as_nop
2863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2864 /* end confdefs.h. */
2866 #include <$2>
2867 _ACEOF
2868 if ac_fn_c_try_compile "$LINENO"
2869 then :
2870 eval "$3=yes"
2871 else $as_nop
2872 eval "$3=no"
2874 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2876 eval ac_res=\$$3
2877 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2878 printf "%s\n" "$ac_res" >&6; }
2879 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2881 } # ac_fn_c_check_header_compile
2883 # ac_fn_objc_try_compile LINENO
2884 # -----------------------------
2885 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2886 ac_fn_objc_try_compile ()
2888 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2889 rm -f conftest.$ac_objext conftest.beam
2890 if { { ac_try="$ac_compile"
2891 case "(($ac_try" in
2892 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2893 *) ac_try_echo=$ac_try;;
2894 esac
2895 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2896 printf "%s\n" "$ac_try_echo"; } >&5
2897 (eval "$ac_compile") 2>conftest.err
2898 ac_status=$?
2899 if test -s conftest.err; then
2900 grep -v '^ *+' conftest.err >conftest.er1
2901 cat conftest.er1 >&5
2902 mv -f conftest.er1 conftest.err
2904 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2905 test $ac_status = 0; } && {
2906 test -z "$ac_objc_werror_flag" ||
2907 test ! -s conftest.err
2908 } && test -s conftest.$ac_objext
2909 then :
2910 ac_retval=0
2911 else $as_nop
2912 printf "%s\n" "$as_me: failed program was:" >&5
2913 sed 's/^/| /' conftest.$ac_ext >&5
2915 ac_retval=1
2917 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2918 as_fn_set_status $ac_retval
2920 } # ac_fn_objc_try_compile
2922 # ac_fn_c_check_func LINENO FUNC VAR
2923 # ----------------------------------
2924 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2925 ac_fn_c_check_func ()
2927 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2928 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2929 printf %s "checking for $2... " >&6; }
2930 if eval test \${$3+y}
2931 then :
2932 printf %s "(cached) " >&6
2933 else $as_nop
2934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2935 /* end confdefs.h. */
2936 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2937 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2938 #define $2 innocuous_$2
2940 /* System header to define __stub macros and hopefully few prototypes,
2941 which can conflict with char $2 (); below. */
2943 #include <limits.h>
2944 #undef $2
2946 /* Override any GCC internal prototype to avoid an error.
2947 Use char because int might match the return type of a GCC
2948 builtin and then its argument prototype would still apply. */
2949 #ifdef __cplusplus
2950 extern "C"
2951 #endif
2952 char $2 ();
2953 /* The GNU C library defines this for functions which it implements
2954 to always fail with ENOSYS. Some functions are actually named
2955 something starting with __ and the normal name is an alias. */
2956 #if defined __stub_$2 || defined __stub___$2
2957 choke me
2958 #endif
2961 main (void)
2963 return $2 ();
2965 return 0;
2967 _ACEOF
2968 if ac_fn_c_try_link "$LINENO"
2969 then :
2970 eval "$3=yes"
2971 else $as_nop
2972 eval "$3=no"
2974 rm -f core conftest.err conftest.$ac_objext conftest.beam \
2975 conftest$ac_exeext conftest.$ac_ext
2977 eval ac_res=\$$3
2978 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2979 printf "%s\n" "$ac_res" >&6; }
2980 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2982 } # ac_fn_c_check_func
2984 # ac_fn_c_try_cpp LINENO
2985 # ----------------------
2986 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2987 ac_fn_c_try_cpp ()
2989 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2990 if { { ac_try="$ac_cpp conftest.$ac_ext"
2991 case "(($ac_try" in
2992 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2993 *) ac_try_echo=$ac_try;;
2994 esac
2995 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2996 printf "%s\n" "$ac_try_echo"; } >&5
2997 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2998 ac_status=$?
2999 if test -s conftest.err; then
3000 grep -v '^ *+' conftest.err >conftest.er1
3001 cat conftest.er1 >&5
3002 mv -f conftest.er1 conftest.err
3004 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3005 test $ac_status = 0; } > conftest.i && {
3006 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3007 test ! -s conftest.err
3009 then :
3010 ac_retval=0
3011 else $as_nop
3012 printf "%s\n" "$as_me: failed program was:" >&5
3013 sed 's/^/| /' conftest.$ac_ext >&5
3015 ac_retval=1
3017 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3018 as_fn_set_status $ac_retval
3020 } # ac_fn_c_try_cpp
3022 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3023 # ----------------------------------------------------
3024 # Tries to find if the field MEMBER exists in type AGGR, after including
3025 # INCLUDES, setting cache variable VAR accordingly.
3026 ac_fn_c_check_member ()
3028 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3029 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3030 printf %s "checking for $2.$3... " >&6; }
3031 if eval test \${$4+y}
3032 then :
3033 printf %s "(cached) " >&6
3034 else $as_nop
3035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3036 /* end confdefs.h. */
3039 main (void)
3041 static $2 ac_aggr;
3042 if (ac_aggr.$3)
3043 return 0;
3045 return 0;
3047 _ACEOF
3048 if ac_fn_c_try_compile "$LINENO"
3049 then :
3050 eval "$4=yes"
3051 else $as_nop
3052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3053 /* end confdefs.h. */
3056 main (void)
3058 static $2 ac_aggr;
3059 if (sizeof ac_aggr.$3)
3060 return 0;
3062 return 0;
3064 _ACEOF
3065 if ac_fn_c_try_compile "$LINENO"
3066 then :
3067 eval "$4=yes"
3068 else $as_nop
3069 eval "$4=no"
3071 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3073 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3075 eval ac_res=\$$4
3076 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3077 printf "%s\n" "$ac_res" >&6; }
3078 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3080 } # ac_fn_c_check_member
3082 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3083 # -------------------------------------------
3084 # Tests whether TYPE exists after having included INCLUDES, setting cache
3085 # variable VAR accordingly.
3086 ac_fn_c_check_type ()
3088 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3089 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3090 printf %s "checking for $2... " >&6; }
3091 if eval test \${$3+y}
3092 then :
3093 printf %s "(cached) " >&6
3094 else $as_nop
3095 eval "$3=no"
3096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3097 /* end confdefs.h. */
3100 main (void)
3102 if (sizeof ($2))
3103 return 0;
3105 return 0;
3107 _ACEOF
3108 if ac_fn_c_try_compile "$LINENO"
3109 then :
3110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3111 /* end confdefs.h. */
3114 main (void)
3116 if (sizeof (($2)))
3117 return 0;
3119 return 0;
3121 _ACEOF
3122 if ac_fn_c_try_compile "$LINENO"
3123 then :
3125 else $as_nop
3126 eval "$3=yes"
3128 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3130 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3132 eval ac_res=\$$3
3133 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3134 printf "%s\n" "$ac_res" >&6; }
3135 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3137 } # ac_fn_c_check_type
3138 ac_configure_args_raw=
3139 for ac_arg
3141 case $ac_arg in
3142 *\'*)
3143 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3144 esac
3145 as_fn_append ac_configure_args_raw " '$ac_arg'"
3146 done
3148 case $ac_configure_args_raw in
3149 *$as_nl*)
3150 ac_safe_unquote= ;;
3152 ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab.
3153 ac_unsafe_a="$ac_unsafe_z#~"
3154 ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
3155 ac_configure_args_raw=` printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
3156 esac
3158 cat >config.log <<_ACEOF
3159 This file contains any messages produced by compilers while
3160 running configure, to aid debugging if configure makes a mistake.
3162 It was created by Wine $as_me 8.13, which was
3163 generated by GNU Autoconf 2.71. Invocation command line was
3165 $ $0$ac_configure_args_raw
3167 _ACEOF
3168 exec 5>>config.log
3170 cat <<_ASUNAME
3171 ## --------- ##
3172 ## Platform. ##
3173 ## --------- ##
3175 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3176 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3177 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3178 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3179 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3181 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3182 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3184 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3185 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3186 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3187 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3188 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3189 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3190 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3192 _ASUNAME
3194 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3195 for as_dir in $PATH
3197 IFS=$as_save_IFS
3198 case $as_dir in #(((
3199 '') as_dir=./ ;;
3200 */) ;;
3201 *) as_dir=$as_dir/ ;;
3202 esac
3203 printf "%s\n" "PATH: $as_dir"
3204 done
3205 IFS=$as_save_IFS
3207 } >&5
3209 cat >&5 <<_ACEOF
3212 ## ----------- ##
3213 ## Core tests. ##
3214 ## ----------- ##
3216 _ACEOF
3219 # Keep a trace of the command line.
3220 # Strip out --no-create and --no-recursion so they do not pile up.
3221 # Strip out --silent because we don't want to record it for future runs.
3222 # Also quote any args containing shell meta-characters.
3223 # Make two passes to allow for proper duplicate-argument suppression.
3224 ac_configure_args=
3225 ac_configure_args0=
3226 ac_configure_args1=
3227 ac_must_keep_next=false
3228 for ac_pass in 1 2
3230 for ac_arg
3232 case $ac_arg in
3233 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3234 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3235 | -silent | --silent | --silen | --sile | --sil)
3236 continue ;;
3237 *\'*)
3238 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3239 esac
3240 case $ac_pass in
3241 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3243 as_fn_append ac_configure_args1 " '$ac_arg'"
3244 if test $ac_must_keep_next = true; then
3245 ac_must_keep_next=false # Got value, back to normal.
3246 else
3247 case $ac_arg in
3248 *=* | --config-cache | -C | -disable-* | --disable-* \
3249 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3250 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3251 | -with-* | --with-* | -without-* | --without-* | --x)
3252 case "$ac_configure_args0 " in
3253 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3254 esac
3256 -* ) ac_must_keep_next=true ;;
3257 esac
3259 as_fn_append ac_configure_args " '$ac_arg'"
3261 esac
3262 done
3263 done
3264 { ac_configure_args0=; unset ac_configure_args0;}
3265 { ac_configure_args1=; unset ac_configure_args1;}
3267 # When interrupted or exit'd, cleanup temporary files, and complete
3268 # config.log. We remove comments because anyway the quotes in there
3269 # would cause problems or look ugly.
3270 # WARNING: Use '\'' to represent an apostrophe within the trap.
3271 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3272 trap 'exit_status=$?
3273 # Sanitize IFS.
3274 IFS=" "" $as_nl"
3275 # Save into config.log some information that might help in debugging.
3277 echo
3279 printf "%s\n" "## ---------------- ##
3280 ## Cache variables. ##
3281 ## ---------------- ##"
3282 echo
3283 # The following way of writing the cache mishandles newlines in values,
3285 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3286 eval ac_val=\$$ac_var
3287 case $ac_val in #(
3288 *${as_nl}*)
3289 case $ac_var in #(
3290 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3291 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3292 esac
3293 case $ac_var in #(
3294 _ | IFS | as_nl) ;; #(
3295 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3296 *) { eval $ac_var=; unset $ac_var;} ;;
3297 esac ;;
3298 esac
3299 done
3300 (set) 2>&1 |
3301 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3302 *${as_nl}ac_space=\ *)
3303 sed -n \
3304 "s/'\''/'\''\\\\'\'''\''/g;
3305 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3306 ;; #(
3308 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3310 esac |
3311 sort
3313 echo
3315 printf "%s\n" "## ----------------- ##
3316 ## Output variables. ##
3317 ## ----------------- ##"
3318 echo
3319 for ac_var in $ac_subst_vars
3321 eval ac_val=\$$ac_var
3322 case $ac_val in
3323 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3324 esac
3325 printf "%s\n" "$ac_var='\''$ac_val'\''"
3326 done | sort
3327 echo
3329 if test -n "$ac_subst_files"; then
3330 printf "%s\n" "## ------------------- ##
3331 ## File substitutions. ##
3332 ## ------------------- ##"
3333 echo
3334 for ac_var in $ac_subst_files
3336 eval ac_val=\$$ac_var
3337 case $ac_val in
3338 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3339 esac
3340 printf "%s\n" "$ac_var='\''$ac_val'\''"
3341 done | sort
3342 echo
3345 if test -s confdefs.h; then
3346 printf "%s\n" "## ----------- ##
3347 ## confdefs.h. ##
3348 ## ----------- ##"
3349 echo
3350 cat confdefs.h
3351 echo
3353 test "$ac_signal" != 0 &&
3354 printf "%s\n" "$as_me: caught signal $ac_signal"
3355 printf "%s\n" "$as_me: exit $exit_status"
3356 } >&5
3357 rm -f core *.core core.conftest.* &&
3358 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3359 exit $exit_status
3361 for ac_signal in 1 2 13 15; do
3362 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3363 done
3364 ac_signal=0
3366 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3367 rm -f -r conftest* confdefs.h
3369 printf "%s\n" "/* confdefs.h */" > confdefs.h
3371 # Predefined preprocessor variables.
3373 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
3375 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
3377 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
3379 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
3381 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
3383 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
3386 # Let the site file select an alternate cache file if it wants to.
3387 # Prefer an explicitly selected file to automatically selected ones.
3388 if test -n "$CONFIG_SITE"; then
3389 ac_site_files="$CONFIG_SITE"
3390 elif test "x$prefix" != xNONE; then
3391 ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
3392 else
3393 ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
3396 for ac_site_file in $ac_site_files
3398 case $ac_site_file in #(
3399 */*) :
3400 ;; #(
3401 *) :
3402 ac_site_file=./$ac_site_file ;;
3403 esac
3404 if test -f "$ac_site_file" && test -r "$ac_site_file"; then
3405 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3406 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
3407 sed 's/^/| /' "$ac_site_file" >&5
3408 . "$ac_site_file" \
3409 || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3410 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
3411 as_fn_error $? "failed to load site script $ac_site_file
3412 See \`config.log' for more details" "$LINENO" 5; }
3414 done
3416 if test -r "$cache_file"; then
3417 # Some versions of bash will fail to source /dev/null (special files
3418 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3419 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3420 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3421 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
3422 case $cache_file in
3423 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3424 *) . "./$cache_file";;
3425 esac
3427 else
3428 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3429 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
3430 >$cache_file
3433 # Test code for whether the C compiler supports C89 (global declarations)
3434 ac_c_conftest_c89_globals='
3435 /* Does the compiler advertise C89 conformance?
3436 Do not test the value of __STDC__, because some compilers set it to 0
3437 while being otherwise adequately conformant. */
3438 #if !defined __STDC__
3439 # error "Compiler does not advertise C89 conformance"
3440 #endif
3442 #include <stddef.h>
3443 #include <stdarg.h>
3444 struct stat;
3445 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */
3446 struct buf { int x; };
3447 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
3448 static char *e (p, i)
3449 char **p;
3450 int i;
3452 return p[i];
3454 static char *f (char * (*g) (char **, int), char **p, ...)
3456 char *s;
3457 va_list v;
3458 va_start (v,p);
3459 s = g (p, va_arg (v,int));
3460 va_end (v);
3461 return s;
3464 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3465 function prototypes and stuff, but not \xHH hex character constants.
3466 These do not provoke an error unfortunately, instead are silently treated
3467 as an "x". The following induces an error, until -std is added to get
3468 proper ANSI mode. Curiously \x00 != x always comes out true, for an
3469 array size at least. It is necessary to write \x00 == 0 to get something
3470 that is true only with -std. */
3471 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
3473 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3474 inside strings and character constants. */
3475 #define FOO(x) '\''x'\''
3476 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
3478 int test (int i, double x);
3479 struct s1 {int (*f) (int a);};
3480 struct s2 {int (*f) (double a);};
3481 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
3482 int, int);'
3484 # Test code for whether the C compiler supports C89 (body of main).
3485 ac_c_conftest_c89_main='
3486 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
3489 # Test code for whether the C compiler supports C99 (global declarations)
3490 ac_c_conftest_c99_globals='
3491 // Does the compiler advertise C99 conformance?
3492 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
3493 # error "Compiler does not advertise C99 conformance"
3494 #endif
3496 #include <stdbool.h>
3497 extern int puts (const char *);
3498 extern int printf (const char *, ...);
3499 extern int dprintf (int, const char *, ...);
3500 extern void *malloc (size_t);
3502 // Check varargs macros. These examples are taken from C99 6.10.3.5.
3503 // dprintf is used instead of fprintf to avoid needing to declare
3504 // FILE and stderr.
3505 #define debug(...) dprintf (2, __VA_ARGS__)
3506 #define showlist(...) puts (#__VA_ARGS__)
3507 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3508 static void
3509 test_varargs_macros (void)
3511 int x = 1234;
3512 int y = 5678;
3513 debug ("Flag");
3514 debug ("X = %d\n", x);
3515 showlist (The first, second, and third items.);
3516 report (x>y, "x is %d but y is %d", x, y);
3519 // Check long long types.
3520 #define BIG64 18446744073709551615ull
3521 #define BIG32 4294967295ul
3522 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3523 #if !BIG_OK
3524 #error "your preprocessor is broken"
3525 #endif
3526 #if BIG_OK
3527 #else
3528 #error "your preprocessor is broken"
3529 #endif
3530 static long long int bignum = -9223372036854775807LL;
3531 static unsigned long long int ubignum = BIG64;
3533 struct incomplete_array
3535 int datasize;
3536 double data[];
3539 struct named_init {
3540 int number;
3541 const wchar_t *name;
3542 double average;
3545 typedef const char *ccp;
3547 static inline int
3548 test_restrict (ccp restrict text)
3550 // See if C++-style comments work.
3551 // Iterate through items via the restricted pointer.
3552 // Also check for declarations in for loops.
3553 for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
3554 continue;
3555 return 0;
3558 // Check varargs and va_copy.
3559 static bool
3560 test_varargs (const char *format, ...)
3562 va_list args;
3563 va_start (args, format);
3564 va_list args_copy;
3565 va_copy (args_copy, args);
3567 const char *str = "";
3568 int number = 0;
3569 float fnumber = 0;
3571 while (*format)
3573 switch (*format++)
3575 case '\''s'\'': // string
3576 str = va_arg (args_copy, const char *);
3577 break;
3578 case '\''d'\'': // int
3579 number = va_arg (args_copy, int);
3580 break;
3581 case '\''f'\'': // float
3582 fnumber = va_arg (args_copy, double);
3583 break;
3584 default:
3585 break;
3588 va_end (args_copy);
3589 va_end (args);
3591 return *str && number && fnumber;
3595 # Test code for whether the C compiler supports C99 (body of main).
3596 ac_c_conftest_c99_main='
3597 // Check bool.
3598 _Bool success = false;
3599 success |= (argc != 0);
3601 // Check restrict.
3602 if (test_restrict ("String literal") == 0)
3603 success = true;
3604 char *restrict newvar = "Another string";
3606 // Check varargs.
3607 success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
3608 test_varargs_macros ();
3610 // Check flexible array members.
3611 struct incomplete_array *ia =
3612 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
3613 ia->datasize = 10;
3614 for (int i = 0; i < ia->datasize; ++i)
3615 ia->data[i] = i * 1.234;
3617 // Check named initializers.
3618 struct named_init ni = {
3619 .number = 34,
3620 .name = L"Test wide string",
3621 .average = 543.34343,
3624 ni.number = 58;
3626 int dynamic_array[ni.number];
3627 dynamic_array[0] = argv[0][0];
3628 dynamic_array[ni.number - 1] = 543;
3630 // work around unused variable warnings
3631 ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
3632 || dynamic_array[ni.number - 1] != 543);
3635 # Test code for whether the C compiler supports C11 (global declarations)
3636 ac_c_conftest_c11_globals='
3637 // Does the compiler advertise C11 conformance?
3638 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
3639 # error "Compiler does not advertise C11 conformance"
3640 #endif
3642 // Check _Alignas.
3643 char _Alignas (double) aligned_as_double;
3644 char _Alignas (0) no_special_alignment;
3645 extern char aligned_as_int;
3646 char _Alignas (0) _Alignas (int) aligned_as_int;
3648 // Check _Alignof.
3649 enum
3651 int_alignment = _Alignof (int),
3652 int_array_alignment = _Alignof (int[100]),
3653 char_alignment = _Alignof (char)
3655 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
3657 // Check _Noreturn.
3658 int _Noreturn does_not_return (void) { for (;;) continue; }
3660 // Check _Static_assert.
3661 struct test_static_assert
3663 int x;
3664 _Static_assert (sizeof (int) <= sizeof (long int),
3665 "_Static_assert does not work in struct");
3666 long int y;
3669 // Check UTF-8 literals.
3670 #define u8 syntax error!
3671 char const utf8_literal[] = u8"happens to be ASCII" "another string";
3673 // Check duplicate typedefs.
3674 typedef long *long_ptr;
3675 typedef long int *long_ptr;
3676 typedef long_ptr long_ptr;
3678 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
3679 struct anonymous
3681 union {
3682 struct { int i; int j; };
3683 struct { int k; long int l; } w;
3685 int m;
3686 } v1;
3689 # Test code for whether the C compiler supports C11 (body of main).
3690 ac_c_conftest_c11_main='
3691 _Static_assert ((offsetof (struct anonymous, i)
3692 == offsetof (struct anonymous, w.k)),
3693 "Anonymous union alignment botch");
3694 v1.i = 2;
3695 v1.w.k = 5;
3696 ok |= v1.i != 5;
3699 # Test code for whether the C compiler supports C11 (complete).
3700 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
3701 ${ac_c_conftest_c99_globals}
3702 ${ac_c_conftest_c11_globals}
3705 main (int argc, char **argv)
3707 int ok = 0;
3708 ${ac_c_conftest_c89_main}
3709 ${ac_c_conftest_c99_main}
3710 ${ac_c_conftest_c11_main}
3711 return ok;
3715 # Test code for whether the C compiler supports C99 (complete).
3716 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
3717 ${ac_c_conftest_c99_globals}
3720 main (int argc, char **argv)
3722 int ok = 0;
3723 ${ac_c_conftest_c89_main}
3724 ${ac_c_conftest_c99_main}
3725 return ok;
3729 # Test code for whether the C compiler supports C89 (complete).
3730 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
3733 main (int argc, char **argv)
3735 int ok = 0;
3736 ${ac_c_conftest_c89_main}
3737 return ok;
3741 # Test code for whether the C++ compiler supports C++98 (global declarations)
3742 ac_cxx_conftest_cxx98_globals='
3743 // Does the compiler advertise C++98 conformance?
3744 #if !defined __cplusplus || __cplusplus < 199711L
3745 # error "Compiler does not advertise C++98 conformance"
3746 #endif
3748 // These inclusions are to reject old compilers that
3749 // lack the unsuffixed header files.
3750 #include <cstdlib>
3751 #include <exception>
3753 // <cassert> and <cstring> are *not* freestanding headers in C++98.
3754 extern void assert (int);
3755 namespace std {
3756 extern int strcmp (const char *, const char *);
3759 // Namespaces, exceptions, and templates were all added after "C++ 2.0".
3760 using std::exception;
3761 using std::strcmp;
3763 namespace {
3765 void test_exception_syntax()
3767 try {
3768 throw "test";
3769 } catch (const char *s) {
3770 // Extra parentheses suppress a warning when building autoconf itself,
3771 // due to lint rules shared with more typical C programs.
3772 assert (!(strcmp) (s, "test"));
3776 template <typename T> struct test_template
3778 T const val;
3779 explicit test_template(T t) : val(t) {}
3780 template <typename U> T add(U u) { return static_cast<T>(u) + val; }
3783 } // anonymous namespace
3786 # Test code for whether the C++ compiler supports C++98 (body of main)
3787 ac_cxx_conftest_cxx98_main='
3788 assert (argc);
3789 assert (! argv[0]);
3791 test_exception_syntax ();
3792 test_template<double> tt (2.0);
3793 assert (tt.add (4) == 6.0);
3794 assert (true && !false);
3798 # Test code for whether the C++ compiler supports C++11 (global declarations)
3799 ac_cxx_conftest_cxx11_globals='
3800 // Does the compiler advertise C++ 2011 conformance?
3801 #if !defined __cplusplus || __cplusplus < 201103L
3802 # error "Compiler does not advertise C++11 conformance"
3803 #endif
3805 namespace cxx11test
3807 constexpr int get_val() { return 20; }
3809 struct testinit
3811 int i;
3812 double d;
3815 class delegate
3817 public:
3818 delegate(int n) : n(n) {}
3819 delegate(): delegate(2354) {}
3821 virtual int getval() { return this->n; };
3822 protected:
3823 int n;
3826 class overridden : public delegate
3828 public:
3829 overridden(int n): delegate(n) {}
3830 virtual int getval() override final { return this->n * 2; }
3833 class nocopy
3835 public:
3836 nocopy(int i): i(i) {}
3837 nocopy() = default;
3838 nocopy(const nocopy&) = delete;
3839 nocopy & operator=(const nocopy&) = delete;
3840 private:
3841 int i;
3844 // for testing lambda expressions
3845 template <typename Ret, typename Fn> Ret eval(Fn f, Ret v)
3847 return f(v);
3850 // for testing variadic templates and trailing return types
3851 template <typename V> auto sum(V first) -> V
3853 return first;
3855 template <typename V, typename... Args> auto sum(V first, Args... rest) -> V
3857 return first + sum(rest...);
3862 # Test code for whether the C++ compiler supports C++11 (body of main)
3863 ac_cxx_conftest_cxx11_main='
3865 // Test auto and decltype
3866 auto a1 = 6538;
3867 auto a2 = 48573953.4;
3868 auto a3 = "String literal";
3870 int total = 0;
3871 for (auto i = a3; *i; ++i) { total += *i; }
3873 decltype(a2) a4 = 34895.034;
3876 // Test constexpr
3877 short sa[cxx11test::get_val()] = { 0 };
3880 // Test initializer lists
3881 cxx11test::testinit il = { 4323, 435234.23544 };
3884 // Test range-based for
3885 int array[] = {9, 7, 13, 15, 4, 18, 12, 10, 5, 3,
3886 14, 19, 17, 8, 6, 20, 16, 2, 11, 1};
3887 for (auto &x : array) { x += 23; }
3890 // Test lambda expressions
3891 using cxx11test::eval;
3892 assert (eval ([](int x) { return x*2; }, 21) == 42);
3893 double d = 2.0;
3894 assert (eval ([&](double x) { return d += x; }, 3.0) == 5.0);
3895 assert (d == 5.0);
3896 assert (eval ([=](double x) mutable { return d += x; }, 4.0) == 9.0);
3897 assert (d == 5.0);
3900 // Test use of variadic templates
3901 using cxx11test::sum;
3902 auto a = sum(1);
3903 auto b = sum(1, 2);
3904 auto c = sum(1.0, 2.0, 3.0);
3907 // Test constructor delegation
3908 cxx11test::delegate d1;
3909 cxx11test::delegate d2();
3910 cxx11test::delegate d3(45);
3913 // Test override and final
3914 cxx11test::overridden o1(55464);
3917 // Test nullptr
3918 char *c = nullptr;
3921 // Test template brackets
3922 test_template<::test_template<int>> v(test_template<int>(12));
3925 // Unicode literals
3926 char const *utf8 = u8"UTF-8 string \u2500";
3927 char16_t const *utf16 = u"UTF-8 string \u2500";
3928 char32_t const *utf32 = U"UTF-32 string \u2500";
3932 # Test code for whether the C compiler supports C++11 (complete).
3933 ac_cxx_conftest_cxx11_program="${ac_cxx_conftest_cxx98_globals}
3934 ${ac_cxx_conftest_cxx11_globals}
3937 main (int argc, char **argv)
3939 int ok = 0;
3940 ${ac_cxx_conftest_cxx98_main}
3941 ${ac_cxx_conftest_cxx11_main}
3942 return ok;
3946 # Test code for whether the C compiler supports C++98 (complete).
3947 ac_cxx_conftest_cxx98_program="${ac_cxx_conftest_cxx98_globals}
3949 main (int argc, char **argv)
3951 int ok = 0;
3952 ${ac_cxx_conftest_cxx98_main}
3953 return ok;
3957 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
3958 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
3959 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
3960 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
3961 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
3962 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
3963 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
3964 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
3965 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
3967 # Auxiliary files required by this configure script.
3968 ac_aux_files="config.guess config.sub"
3970 # Locations in which to look for auxiliary files.
3971 ac_aux_dir_candidates="${srcdir}/tools"
3973 # Search for a directory containing all of the required auxiliary files,
3974 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
3975 # If we don't find one directory that contains all the files we need,
3976 # we report the set of missing files from the *first* directory in
3977 # $ac_aux_dir_candidates and give up.
3978 ac_missing_aux_files=""
3979 ac_first_candidate=:
3980 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
3981 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3982 as_found=false
3983 for as_dir in $ac_aux_dir_candidates
3985 IFS=$as_save_IFS
3986 case $as_dir in #(((
3987 '') as_dir=./ ;;
3988 */) ;;
3989 *) as_dir=$as_dir/ ;;
3990 esac
3991 as_found=:
3993 printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5
3994 ac_aux_dir_found=yes
3995 ac_install_sh=
3996 for ac_aux in $ac_aux_files
3998 # As a special case, if "install-sh" is required, that requirement
3999 # can be satisfied by any of "install-sh", "install.sh", or "shtool",
4000 # and $ac_install_sh is set appropriately for whichever one is found.
4001 if test x"$ac_aux" = x"install-sh"
4002 then
4003 if test -f "${as_dir}install-sh"; then
4004 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5
4005 ac_install_sh="${as_dir}install-sh -c"
4006 elif test -f "${as_dir}install.sh"; then
4007 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5
4008 ac_install_sh="${as_dir}install.sh -c"
4009 elif test -f "${as_dir}shtool"; then
4010 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5
4011 ac_install_sh="${as_dir}shtool install -c"
4012 else
4013 ac_aux_dir_found=no
4014 if $ac_first_candidate; then
4015 ac_missing_aux_files="${ac_missing_aux_files} install-sh"
4016 else
4017 break
4020 else
4021 if test -f "${as_dir}${ac_aux}"; then
4022 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5
4023 else
4024 ac_aux_dir_found=no
4025 if $ac_first_candidate; then
4026 ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
4027 else
4028 break
4032 done
4033 if test "$ac_aux_dir_found" = yes; then
4034 ac_aux_dir="$as_dir"
4035 break
4037 ac_first_candidate=false
4039 as_found=false
4040 done
4041 IFS=$as_save_IFS
4042 if $as_found
4043 then :
4045 else $as_nop
4046 as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
4050 # These three variables are undocumented and unsupported,
4051 # and are intended to be withdrawn in a future Autoconf release.
4052 # They can cause serious problems if a builder's source tree is in a directory
4053 # whose full name contains unusual characters.
4054 if test -f "${ac_aux_dir}config.guess"; then
4055 ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
4057 if test -f "${ac_aux_dir}config.sub"; then
4058 ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
4060 if test -f "$ac_aux_dir/configure"; then
4061 ac_configure="$SHELL ${ac_aux_dir}configure"
4064 # Check that the precious variables saved in the cache have kept the same
4065 # value.
4066 ac_cache_corrupted=false
4067 for ac_var in $ac_precious_vars; do
4068 eval ac_old_set=\$ac_cv_env_${ac_var}_set
4069 eval ac_new_set=\$ac_env_${ac_var}_set
4070 eval ac_old_val=\$ac_cv_env_${ac_var}_value
4071 eval ac_new_val=\$ac_env_${ac_var}_value
4072 case $ac_old_set,$ac_new_set in
4073 set,)
4074 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
4075 printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
4076 ac_cache_corrupted=: ;;
4077 ,set)
4078 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
4079 printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
4080 ac_cache_corrupted=: ;;
4081 ,);;
4083 if test "x$ac_old_val" != "x$ac_new_val"; then
4084 # differences in whitespace do not lead to failure.
4085 ac_old_val_w=`echo x $ac_old_val`
4086 ac_new_val_w=`echo x $ac_new_val`
4087 if test "$ac_old_val_w" != "$ac_new_val_w"; then
4088 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
4089 printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
4090 ac_cache_corrupted=:
4091 else
4092 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
4093 printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
4094 eval $ac_var=\$ac_old_val
4096 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
4097 printf "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;}
4098 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
4099 printf "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;}
4100 fi;;
4101 esac
4102 # Pass precious variables to config.status.
4103 if test "$ac_new_set" = set; then
4104 case $ac_new_val in
4105 *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
4106 *) ac_arg=$ac_var=$ac_new_val ;;
4107 esac
4108 case " $ac_configure_args " in
4109 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
4110 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
4111 esac
4113 done
4114 if $ac_cache_corrupted; then
4115 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4116 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
4117 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
4118 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
4119 as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
4120 and start over" "$LINENO" 5
4122 ## -------------------- ##
4123 ## Main body of script. ##
4124 ## -------------------- ##
4126 ac_ext=c
4127 ac_cpp='$CPP $CPPFLAGS'
4128 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4129 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4130 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4134 ac_config_headers="$ac_config_headers include/config.h"
4138 libwine_version="1.0"
4141 # Check whether --enable-archs was given.
4142 if test ${enable_archs+y}
4143 then :
4144 enableval=$enable_archs;
4147 # Check whether --enable-win16 was given.
4148 if test ${enable_win16+y}
4149 then :
4150 enableval=$enable_win16;
4153 # Check whether --enable-win64 was given.
4154 if test ${enable_win64+y}
4155 then :
4156 enableval=$enable_win64;
4159 # Check whether --enable-tests was given.
4160 if test ${enable_tests+y}
4161 then :
4162 enableval=$enable_tests;
4165 # Check whether --enable-build-id was given.
4166 if test ${enable_build_id+y}
4167 then :
4168 enableval=$enable_build_id;
4171 # Check whether --enable-maintainer-mode was given.
4172 if test ${enable_maintainer_mode+y}
4173 then :
4174 enableval=$enable_maintainer_mode;
4177 # Check whether --enable-silent-rules was given.
4178 if test ${enable_silent_rules+y}
4179 then :
4180 enableval=$enable_silent_rules;
4183 # Check whether --enable-werror was given.
4184 if test ${enable_werror+y}
4185 then :
4186 enableval=$enable_werror;
4191 # Check whether --with-alsa was given.
4192 if test ${with_alsa+y}
4193 then :
4194 withval=$with_alsa;
4198 # Check whether --with-capi was given.
4199 if test ${with_capi+y}
4200 then :
4201 withval=$with_capi;
4205 # Check whether --with-coreaudio was given.
4206 if test ${with_coreaudio+y}
4207 then :
4208 withval=$with_coreaudio;
4212 # Check whether --with-cups was given.
4213 if test ${with_cups+y}
4214 then :
4215 withval=$with_cups;
4219 # Check whether --with-dbus was given.
4220 if test ${with_dbus+y}
4221 then :
4222 withval=$with_dbus;
4226 # Check whether --with-float-abi was given.
4227 if test ${with_float_abi+y}
4228 then :
4229 withval=$with_float_abi;
4233 # Check whether --with-fontconfig was given.
4234 if test ${with_fontconfig+y}
4235 then :
4236 withval=$with_fontconfig;
4240 # Check whether --with-freetype was given.
4241 if test ${with_freetype+y}
4242 then :
4243 withval=$with_freetype;
4247 # Check whether --with-gettext was given.
4248 if test ${with_gettext+y}
4249 then :
4250 withval=$with_gettext;
4254 # Check whether --with-gettextpo was given.
4255 if test ${with_gettextpo+y}
4256 then :
4257 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
4261 # Check whether --with-gphoto was given.
4262 if test ${with_gphoto+y}
4263 then :
4264 withval=$with_gphoto;
4268 # Check whether --with-gnutls was given.
4269 if test ${with_gnutls+y}
4270 then :
4271 withval=$with_gnutls;
4275 # Check whether --with-gssapi was given.
4276 if test ${with_gssapi+y}
4277 then :
4278 withval=$with_gssapi;
4282 # Check whether --with-gstreamer was given.
4283 if test ${with_gstreamer+y}
4284 then :
4285 withval=$with_gstreamer;
4289 # Check whether --with-inotify was given.
4290 if test ${with_inotify+y}
4291 then :
4292 withval=$with_inotify;
4296 # Check whether --with-krb5 was given.
4297 if test ${with_krb5+y}
4298 then :
4299 withval=$with_krb5;
4303 # Check whether --with-mingw was given.
4304 if test ${with_mingw+y}
4305 then :
4306 withval=$with_mingw;
4310 # Check whether --with-netapi was given.
4311 if test ${with_netapi+y}
4312 then :
4313 withval=$with_netapi;
4317 # Check whether --with-opencl was given.
4318 if test ${with_opencl+y}
4319 then :
4320 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
4324 # Check whether --with-opengl was given.
4325 if test ${with_opengl+y}
4326 then :
4327 withval=$with_opengl;
4331 # Check whether --with-osmesa was given.
4332 if test ${with_osmesa+y}
4333 then :
4334 withval=$with_osmesa;
4338 # Check whether --with-oss was given.
4339 if test ${with_oss+y}
4340 then :
4341 withval=$with_oss;
4345 # Check whether --with-pcap was given.
4346 if test ${with_pcap+y}
4347 then :
4348 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
4352 # Check whether --with-pcsclite was given.
4353 if test ${with_pcsclite+y}
4354 then :
4355 withval=$with_pcsclite;
4359 # Check whether --with-pthread was given.
4360 if test ${with_pthread+y}
4361 then :
4362 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
4366 # Check whether --with-pulse was given.
4367 if test ${with_pulse+y}
4368 then :
4369 withval=$with_pulse;
4373 # Check whether --with-sane was given.
4374 if test ${with_sane+y}
4375 then :
4376 withval=$with_sane;
4380 # Check whether --with-sdl was given.
4381 if test ${with_sdl+y}
4382 then :
4383 withval=$with_sdl;
4387 # Check whether --with-udev was given.
4388 if test ${with_udev+y}
4389 then :
4390 withval=$with_udev;
4394 # Check whether --with-unwind was given.
4395 if test ${with_unwind+y}
4396 then :
4397 withval=$with_unwind;
4401 # Check whether --with-usb was given.
4402 if test ${with_usb+y}
4403 then :
4404 withval=$with_usb;
4408 # Check whether --with-v4l2 was given.
4409 if test ${with_v4l2+y}
4410 then :
4411 withval=$with_v4l2;
4415 # Check whether --with-vulkan was given.
4416 if test ${with_vulkan+y}
4417 then :
4418 withval=$with_vulkan;
4422 # Check whether --with-wayland was given.
4423 if test ${with_wayland+y}
4424 then :
4425 withval=$with_wayland;
4429 # Check whether --with-xcomposite was given.
4430 if test ${with_xcomposite+y}
4431 then :
4432 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
4436 # Check whether --with-xcursor was given.
4437 if test ${with_xcursor+y}
4438 then :
4439 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
4443 # Check whether --with-xfixes was given.
4444 if test ${with_xfixes+y}
4445 then :
4446 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
4450 # Check whether --with-xinerama was given.
4451 if test ${with_xinerama+y}
4452 then :
4453 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
4457 # Check whether --with-xinput was given.
4458 if test ${with_xinput+y}
4459 then :
4460 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
4464 # Check whether --with-xinput2 was given.
4465 if test ${with_xinput2+y}
4466 then :
4467 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
4471 # Check whether --with-xrandr was given.
4472 if test ${with_xrandr+y}
4473 then :
4474 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
4478 # Check whether --with-xrender was given.
4479 if test ${with_xrender+y}
4480 then :
4481 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
4485 # Check whether --with-xshape was given.
4486 if test ${with_xshape+y}
4487 then :
4488 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
4492 # Check whether --with-xshm was given.
4493 if test ${with_xshm+y}
4494 then :
4495 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
4499 # Check whether --with-xxf86vm was given.
4500 if test ${with_xxf86vm+y}
4501 then :
4502 withval=$with_xxf86vm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_xf86vmode_h=no; ac_cv_header_X11_extensions_xf86vmproto_h=no; fi
4507 # Check whether --with-system-dllpath was given.
4508 if test ${with_system_dllpath+y}
4509 then :
4510 withval=$with_system_dllpath; system_dllpath=$withval
4515 # Check whether --with-wine-tools was given.
4516 if test ${with_wine_tools+y}
4517 then :
4518 withval=$with_wine_tools;
4522 # Check whether --with-wine64 was given.
4523 if test ${with_wine64+y}
4524 then :
4525 withval=$with_wine64;
4532 # Make sure we can run config.sub.
4533 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
4534 as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
4536 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4537 printf %s "checking build system type... " >&6; }
4538 if test ${ac_cv_build+y}
4539 then :
4540 printf %s "(cached) " >&6
4541 else $as_nop
4542 ac_build_alias=$build_alias
4543 test "x$ac_build_alias" = x &&
4544 ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
4545 test "x$ac_build_alias" = x &&
4546 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4547 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
4548 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
4551 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4552 printf "%s\n" "$ac_cv_build" >&6; }
4553 case $ac_cv_build in
4554 *-*-*) ;;
4555 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4556 esac
4557 build=$ac_cv_build
4558 ac_save_IFS=$IFS; IFS='-'
4559 set x $ac_cv_build
4560 shift
4561 build_cpu=$1
4562 build_vendor=$2
4563 shift; shift
4564 # Remember, the first character of IFS is used to create $*,
4565 # except with old shells:
4566 build_os=$*
4567 IFS=$ac_save_IFS
4568 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4571 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4572 printf %s "checking host system type... " >&6; }
4573 if test ${ac_cv_host+y}
4574 then :
4575 printf %s "(cached) " >&6
4576 else $as_nop
4577 if test "x$host_alias" = x; then
4578 ac_cv_host=$ac_cv_build
4579 else
4580 ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
4581 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
4585 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4586 printf "%s\n" "$ac_cv_host" >&6; }
4587 case $ac_cv_host in
4588 *-*-*) ;;
4589 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4590 esac
4591 host=$ac_cv_host
4592 ac_save_IFS=$IFS; IFS='-'
4593 set x $ac_cv_host
4594 shift
4595 host_cpu=$1
4596 host_vendor=$2
4597 shift; shift
4598 # Remember, the first character of IFS is used to create $*,
4599 # except with old shells:
4600 host_os=$*
4601 IFS=$ac_save_IFS
4602 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4606 dlldir=\${libdir}/wine
4608 fontdir=\${datadir}/wine/fonts
4610 nlsdir=\${datadir}/wine/nls
4615 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4616 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4617 set x ${MAKE-make}
4618 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4619 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
4620 then :
4621 printf %s "(cached) " >&6
4622 else $as_nop
4623 cat >conftest.make <<\_ACEOF
4624 SHELL = /bin/sh
4625 all:
4626 @echo '@@@%%%=$(MAKE)=@@@%%%'
4627 _ACEOF
4628 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4629 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4630 *@@@%%%=?*=@@@%%%*)
4631 eval ac_cv_prog_make_${ac_make}_set=yes;;
4633 eval ac_cv_prog_make_${ac_make}_set=no;;
4634 esac
4635 rm -f conftest.make
4637 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4638 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4639 printf "%s\n" "yes" >&6; }
4640 SET_MAKE=
4641 else
4642 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4643 printf "%s\n" "no" >&6; }
4644 SET_MAKE="MAKE=${MAKE-make}"
4656 ac_ext=c
4657 ac_cpp='$CPP $CPPFLAGS'
4658 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4659 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4660 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4661 if test -n "$ac_tool_prefix"; then
4662 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4663 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4664 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4665 printf %s "checking for $ac_word... " >&6; }
4666 if test ${ac_cv_prog_CC+y}
4667 then :
4668 printf %s "(cached) " >&6
4669 else $as_nop
4670 if test -n "$CC"; then
4671 ac_cv_prog_CC="$CC" # Let the user override the test.
4672 else
4673 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4674 for as_dir in $PATH
4676 IFS=$as_save_IFS
4677 case $as_dir in #(((
4678 '') as_dir=./ ;;
4679 */) ;;
4680 *) as_dir=$as_dir/ ;;
4681 esac
4682 for ac_exec_ext in '' $ac_executable_extensions; do
4683 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4684 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4685 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4686 break 2
4688 done
4689 done
4690 IFS=$as_save_IFS
4694 CC=$ac_cv_prog_CC
4695 if test -n "$CC"; then
4696 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4697 printf "%s\n" "$CC" >&6; }
4698 else
4699 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4700 printf "%s\n" "no" >&6; }
4705 if test -z "$ac_cv_prog_CC"; then
4706 ac_ct_CC=$CC
4707 # Extract the first word of "gcc", so it can be a program name with args.
4708 set dummy gcc; ac_word=$2
4709 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4710 printf %s "checking for $ac_word... " >&6; }
4711 if test ${ac_cv_prog_ac_ct_CC+y}
4712 then :
4713 printf %s "(cached) " >&6
4714 else $as_nop
4715 if test -n "$ac_ct_CC"; then
4716 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4717 else
4718 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4719 for as_dir in $PATH
4721 IFS=$as_save_IFS
4722 case $as_dir in #(((
4723 '') as_dir=./ ;;
4724 */) ;;
4725 *) as_dir=$as_dir/ ;;
4726 esac
4727 for ac_exec_ext in '' $ac_executable_extensions; do
4728 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4729 ac_cv_prog_ac_ct_CC="gcc"
4730 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4731 break 2
4733 done
4734 done
4735 IFS=$as_save_IFS
4739 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4740 if test -n "$ac_ct_CC"; then
4741 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4742 printf "%s\n" "$ac_ct_CC" >&6; }
4743 else
4744 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4745 printf "%s\n" "no" >&6; }
4748 if test "x$ac_ct_CC" = x; then
4749 CC=""
4750 else
4751 case $cross_compiling:$ac_tool_warned in
4752 yes:)
4753 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4754 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4755 ac_tool_warned=yes ;;
4756 esac
4757 CC=$ac_ct_CC
4759 else
4760 CC="$ac_cv_prog_CC"
4763 if test -z "$CC"; then
4764 if test -n "$ac_tool_prefix"; then
4765 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4766 set dummy ${ac_tool_prefix}cc; ac_word=$2
4767 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4768 printf %s "checking for $ac_word... " >&6; }
4769 if test ${ac_cv_prog_CC+y}
4770 then :
4771 printf %s "(cached) " >&6
4772 else $as_nop
4773 if test -n "$CC"; then
4774 ac_cv_prog_CC="$CC" # Let the user override the test.
4775 else
4776 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4777 for as_dir in $PATH
4779 IFS=$as_save_IFS
4780 case $as_dir in #(((
4781 '') as_dir=./ ;;
4782 */) ;;
4783 *) as_dir=$as_dir/ ;;
4784 esac
4785 for ac_exec_ext in '' $ac_executable_extensions; do
4786 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4787 ac_cv_prog_CC="${ac_tool_prefix}cc"
4788 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4789 break 2
4791 done
4792 done
4793 IFS=$as_save_IFS
4797 CC=$ac_cv_prog_CC
4798 if test -n "$CC"; then
4799 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4800 printf "%s\n" "$CC" >&6; }
4801 else
4802 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4803 printf "%s\n" "no" >&6; }
4809 if test -z "$CC"; then
4810 # Extract the first word of "cc", so it can be a program name with args.
4811 set dummy cc; ac_word=$2
4812 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4813 printf %s "checking for $ac_word... " >&6; }
4814 if test ${ac_cv_prog_CC+y}
4815 then :
4816 printf %s "(cached) " >&6
4817 else $as_nop
4818 if test -n "$CC"; then
4819 ac_cv_prog_CC="$CC" # Let the user override the test.
4820 else
4821 ac_prog_rejected=no
4822 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4823 for as_dir in $PATH
4825 IFS=$as_save_IFS
4826 case $as_dir in #(((
4827 '') as_dir=./ ;;
4828 */) ;;
4829 *) as_dir=$as_dir/ ;;
4830 esac
4831 for ac_exec_ext in '' $ac_executable_extensions; do
4832 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4833 if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4834 ac_prog_rejected=yes
4835 continue
4837 ac_cv_prog_CC="cc"
4838 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4839 break 2
4841 done
4842 done
4843 IFS=$as_save_IFS
4845 if test $ac_prog_rejected = yes; then
4846 # We found a bogon in the path, so make sure we never use it.
4847 set dummy $ac_cv_prog_CC
4848 shift
4849 if test $# != 0; then
4850 # We chose a different compiler from the bogus one.
4851 # However, it has the same basename, so the bogon will be chosen
4852 # first if we set CC to just the basename; use the full file name.
4853 shift
4854 ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
4859 CC=$ac_cv_prog_CC
4860 if test -n "$CC"; then
4861 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4862 printf "%s\n" "$CC" >&6; }
4863 else
4864 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4865 printf "%s\n" "no" >&6; }
4870 if test -z "$CC"; then
4871 if test -n "$ac_tool_prefix"; then
4872 for ac_prog in cl.exe
4874 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4875 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4876 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4877 printf %s "checking for $ac_word... " >&6; }
4878 if test ${ac_cv_prog_CC+y}
4879 then :
4880 printf %s "(cached) " >&6
4881 else $as_nop
4882 if test -n "$CC"; then
4883 ac_cv_prog_CC="$CC" # Let the user override the test.
4884 else
4885 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4886 for as_dir in $PATH
4888 IFS=$as_save_IFS
4889 case $as_dir in #(((
4890 '') as_dir=./ ;;
4891 */) ;;
4892 *) as_dir=$as_dir/ ;;
4893 esac
4894 for ac_exec_ext in '' $ac_executable_extensions; do
4895 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4896 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4897 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4898 break 2
4900 done
4901 done
4902 IFS=$as_save_IFS
4906 CC=$ac_cv_prog_CC
4907 if test -n "$CC"; then
4908 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4909 printf "%s\n" "$CC" >&6; }
4910 else
4911 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4912 printf "%s\n" "no" >&6; }
4916 test -n "$CC" && break
4917 done
4919 if test -z "$CC"; then
4920 ac_ct_CC=$CC
4921 for ac_prog in cl.exe
4923 # Extract the first word of "$ac_prog", so it can be a program name with args.
4924 set dummy $ac_prog; ac_word=$2
4925 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4926 printf %s "checking for $ac_word... " >&6; }
4927 if test ${ac_cv_prog_ac_ct_CC+y}
4928 then :
4929 printf %s "(cached) " >&6
4930 else $as_nop
4931 if test -n "$ac_ct_CC"; then
4932 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4933 else
4934 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4935 for as_dir in $PATH
4937 IFS=$as_save_IFS
4938 case $as_dir in #(((
4939 '') as_dir=./ ;;
4940 */) ;;
4941 *) as_dir=$as_dir/ ;;
4942 esac
4943 for ac_exec_ext in '' $ac_executable_extensions; do
4944 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4945 ac_cv_prog_ac_ct_CC="$ac_prog"
4946 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4947 break 2
4949 done
4950 done
4951 IFS=$as_save_IFS
4955 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4956 if test -n "$ac_ct_CC"; then
4957 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4958 printf "%s\n" "$ac_ct_CC" >&6; }
4959 else
4960 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4961 printf "%s\n" "no" >&6; }
4965 test -n "$ac_ct_CC" && break
4966 done
4968 if test "x$ac_ct_CC" = x; then
4969 CC=""
4970 else
4971 case $cross_compiling:$ac_tool_warned in
4972 yes:)
4973 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4974 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4975 ac_tool_warned=yes ;;
4976 esac
4977 CC=$ac_ct_CC
4982 if test -z "$CC"; then
4983 if test -n "$ac_tool_prefix"; then
4984 # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
4985 set dummy ${ac_tool_prefix}clang; ac_word=$2
4986 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4987 printf %s "checking for $ac_word... " >&6; }
4988 if test ${ac_cv_prog_CC+y}
4989 then :
4990 printf %s "(cached) " >&6
4991 else $as_nop
4992 if test -n "$CC"; then
4993 ac_cv_prog_CC="$CC" # Let the user override the test.
4994 else
4995 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4996 for as_dir in $PATH
4998 IFS=$as_save_IFS
4999 case $as_dir in #(((
5000 '') as_dir=./ ;;
5001 */) ;;
5002 *) as_dir=$as_dir/ ;;
5003 esac
5004 for ac_exec_ext in '' $ac_executable_extensions; do
5005 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5006 ac_cv_prog_CC="${ac_tool_prefix}clang"
5007 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5008 break 2
5010 done
5011 done
5012 IFS=$as_save_IFS
5016 CC=$ac_cv_prog_CC
5017 if test -n "$CC"; then
5018 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5019 printf "%s\n" "$CC" >&6; }
5020 else
5021 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5022 printf "%s\n" "no" >&6; }
5027 if test -z "$ac_cv_prog_CC"; then
5028 ac_ct_CC=$CC
5029 # Extract the first word of "clang", so it can be a program name with args.
5030 set dummy clang; ac_word=$2
5031 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5032 printf %s "checking for $ac_word... " >&6; }
5033 if test ${ac_cv_prog_ac_ct_CC+y}
5034 then :
5035 printf %s "(cached) " >&6
5036 else $as_nop
5037 if test -n "$ac_ct_CC"; then
5038 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5039 else
5040 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5041 for as_dir in $PATH
5043 IFS=$as_save_IFS
5044 case $as_dir in #(((
5045 '') as_dir=./ ;;
5046 */) ;;
5047 *) as_dir=$as_dir/ ;;
5048 esac
5049 for ac_exec_ext in '' $ac_executable_extensions; do
5050 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5051 ac_cv_prog_ac_ct_CC="clang"
5052 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5053 break 2
5055 done
5056 done
5057 IFS=$as_save_IFS
5061 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5062 if test -n "$ac_ct_CC"; then
5063 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5064 printf "%s\n" "$ac_ct_CC" >&6; }
5065 else
5066 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5067 printf "%s\n" "no" >&6; }
5070 if test "x$ac_ct_CC" = x; then
5071 CC=""
5072 else
5073 case $cross_compiling:$ac_tool_warned in
5074 yes:)
5075 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5076 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5077 ac_tool_warned=yes ;;
5078 esac
5079 CC=$ac_ct_CC
5081 else
5082 CC="$ac_cv_prog_CC"
5088 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5089 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5090 as_fn_error $? "no acceptable C compiler found in \$PATH
5091 See \`config.log' for more details" "$LINENO" 5; }
5093 # Provide some information about the compiler.
5094 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5095 set X $ac_compile
5096 ac_compiler=$2
5097 for ac_option in --version -v -V -qversion -version; do
5098 { { ac_try="$ac_compiler $ac_option >&5"
5099 case "(($ac_try" in
5100 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5101 *) ac_try_echo=$ac_try;;
5102 esac
5103 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5104 printf "%s\n" "$ac_try_echo"; } >&5
5105 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5106 ac_status=$?
5107 if test -s conftest.err; then
5108 sed '10a\
5109 ... rest of stderr output deleted ...
5110 10q' conftest.err >conftest.er1
5111 cat conftest.er1 >&5
5113 rm -f conftest.er1 conftest.err
5114 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5115 test $ac_status = 0; }
5116 done
5118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5119 /* end confdefs.h. */
5122 main (void)
5126 return 0;
5128 _ACEOF
5129 ac_clean_files_save=$ac_clean_files
5130 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
5131 # Try to create an executable without -o first, disregard a.out.
5132 # It will help us diagnose broken compilers, and finding out an intuition
5133 # of exeext.
5134 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
5135 printf %s "checking whether the C compiler works... " >&6; }
5136 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
5138 # The possible output files:
5139 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
5141 ac_rmfiles=
5142 for ac_file in $ac_files
5144 case $ac_file in
5145 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5146 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
5147 esac
5148 done
5149 rm -f $ac_rmfiles
5151 if { { ac_try="$ac_link_default"
5152 case "(($ac_try" in
5153 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5154 *) ac_try_echo=$ac_try;;
5155 esac
5156 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5157 printf "%s\n" "$ac_try_echo"; } >&5
5158 (eval "$ac_link_default") 2>&5
5159 ac_status=$?
5160 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5161 test $ac_status = 0; }
5162 then :
5163 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
5164 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
5165 # in a Makefile. We should not override ac_cv_exeext if it was cached,
5166 # so that the user can short-circuit this test for compilers unknown to
5167 # Autoconf.
5168 for ac_file in $ac_files ''
5170 test -f "$ac_file" || continue
5171 case $ac_file in
5172 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
5174 [ab].out )
5175 # We found the default executable, but exeext='' is most
5176 # certainly right.
5177 break;;
5178 *.* )
5179 if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
5180 then :; else
5181 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
5183 # We set ac_cv_exeext here because the later test for it is not
5184 # safe: cross compilers may not add the suffix if given an `-o'
5185 # argument, so we may need to know it at that point already.
5186 # Even if this section looks crufty: it has the advantage of
5187 # actually working.
5188 break;;
5190 break;;
5191 esac
5192 done
5193 test "$ac_cv_exeext" = no && ac_cv_exeext=
5195 else $as_nop
5196 ac_file=''
5198 if test -z "$ac_file"
5199 then :
5200 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5201 printf "%s\n" "no" >&6; }
5202 printf "%s\n" "$as_me: failed program was:" >&5
5203 sed 's/^/| /' conftest.$ac_ext >&5
5205 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5206 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5207 as_fn_error 77 "C compiler cannot create executables
5208 See \`config.log' for more details" "$LINENO" 5; }
5209 else $as_nop
5210 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5211 printf "%s\n" "yes" >&6; }
5213 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
5214 printf %s "checking for C compiler default output file name... " >&6; }
5215 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
5216 printf "%s\n" "$ac_file" >&6; }
5217 ac_exeext=$ac_cv_exeext
5219 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
5220 ac_clean_files=$ac_clean_files_save
5221 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
5222 printf %s "checking for suffix of executables... " >&6; }
5223 if { { ac_try="$ac_link"
5224 case "(($ac_try" in
5225 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5226 *) ac_try_echo=$ac_try;;
5227 esac
5228 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5229 printf "%s\n" "$ac_try_echo"; } >&5
5230 (eval "$ac_link") 2>&5
5231 ac_status=$?
5232 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5233 test $ac_status = 0; }
5234 then :
5235 # If both `conftest.exe' and `conftest' are `present' (well, observable)
5236 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
5237 # work properly (i.e., refer to `conftest.exe'), while it won't with
5238 # `rm'.
5239 for ac_file in conftest.exe conftest conftest.*; do
5240 test -f "$ac_file" || continue
5241 case $ac_file in
5242 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5243 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
5244 break;;
5245 * ) break;;
5246 esac
5247 done
5248 else $as_nop
5249 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5250 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5251 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
5252 See \`config.log' for more details" "$LINENO" 5; }
5254 rm -f conftest conftest$ac_cv_exeext
5255 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
5256 printf "%s\n" "$ac_cv_exeext" >&6; }
5258 rm -f conftest.$ac_ext
5259 EXEEXT=$ac_cv_exeext
5260 ac_exeext=$EXEEXT
5261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5262 /* end confdefs.h. */
5263 #include <stdio.h>
5265 main (void)
5267 FILE *f = fopen ("conftest.out", "w");
5268 return ferror (f) || fclose (f) != 0;
5271 return 0;
5273 _ACEOF
5274 ac_clean_files="$ac_clean_files conftest.out"
5275 # Check that the compiler produces executables we can run. If not, either
5276 # the compiler is broken, or we cross compile.
5277 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
5278 printf %s "checking whether we are cross compiling... " >&6; }
5279 if test "$cross_compiling" != yes; then
5280 { { ac_try="$ac_link"
5281 case "(($ac_try" in
5282 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5283 *) ac_try_echo=$ac_try;;
5284 esac
5285 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5286 printf "%s\n" "$ac_try_echo"; } >&5
5287 (eval "$ac_link") 2>&5
5288 ac_status=$?
5289 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5290 test $ac_status = 0; }
5291 if { ac_try='./conftest$ac_cv_exeext'
5292 { { case "(($ac_try" in
5293 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5294 *) ac_try_echo=$ac_try;;
5295 esac
5296 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5297 printf "%s\n" "$ac_try_echo"; } >&5
5298 (eval "$ac_try") 2>&5
5299 ac_status=$?
5300 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5301 test $ac_status = 0; }; }; then
5302 cross_compiling=no
5303 else
5304 if test "$cross_compiling" = maybe; then
5305 cross_compiling=yes
5306 else
5307 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5308 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5309 as_fn_error 77 "cannot run C compiled programs.
5310 If you meant to cross compile, use \`--host'.
5311 See \`config.log' for more details" "$LINENO" 5; }
5315 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
5316 printf "%s\n" "$cross_compiling" >&6; }
5318 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
5319 ac_clean_files=$ac_clean_files_save
5320 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
5321 printf %s "checking for suffix of object files... " >&6; }
5322 if test ${ac_cv_objext+y}
5323 then :
5324 printf %s "(cached) " >&6
5325 else $as_nop
5326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5327 /* end confdefs.h. */
5330 main (void)
5334 return 0;
5336 _ACEOF
5337 rm -f conftest.o conftest.obj
5338 if { { ac_try="$ac_compile"
5339 case "(($ac_try" in
5340 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5341 *) ac_try_echo=$ac_try;;
5342 esac
5343 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5344 printf "%s\n" "$ac_try_echo"; } >&5
5345 (eval "$ac_compile") 2>&5
5346 ac_status=$?
5347 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5348 test $ac_status = 0; }
5349 then :
5350 for ac_file in conftest.o conftest.obj conftest.*; do
5351 test -f "$ac_file" || continue;
5352 case $ac_file in
5353 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
5354 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
5355 break;;
5356 esac
5357 done
5358 else $as_nop
5359 printf "%s\n" "$as_me: failed program was:" >&5
5360 sed 's/^/| /' conftest.$ac_ext >&5
5362 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5363 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5364 as_fn_error $? "cannot compute suffix of object files: cannot compile
5365 See \`config.log' for more details" "$LINENO" 5; }
5367 rm -f conftest.$ac_cv_objext conftest.$ac_ext
5369 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
5370 printf "%s\n" "$ac_cv_objext" >&6; }
5371 OBJEXT=$ac_cv_objext
5372 ac_objext=$OBJEXT
5373 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
5374 printf %s "checking whether the compiler supports GNU C... " >&6; }
5375 if test ${ac_cv_c_compiler_gnu+y}
5376 then :
5377 printf %s "(cached) " >&6
5378 else $as_nop
5379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5380 /* end confdefs.h. */
5383 main (void)
5385 #ifndef __GNUC__
5386 choke me
5387 #endif
5390 return 0;
5392 _ACEOF
5393 if ac_fn_c_try_compile "$LINENO"
5394 then :
5395 ac_compiler_gnu=yes
5396 else $as_nop
5397 ac_compiler_gnu=no
5399 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5400 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5403 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5404 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
5405 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5407 if test $ac_compiler_gnu = yes; then
5408 GCC=yes
5409 else
5410 GCC=
5412 ac_test_CFLAGS=${CFLAGS+y}
5413 ac_save_CFLAGS=$CFLAGS
5414 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5415 printf %s "checking whether $CC accepts -g... " >&6; }
5416 if test ${ac_cv_prog_cc_g+y}
5417 then :
5418 printf %s "(cached) " >&6
5419 else $as_nop
5420 ac_save_c_werror_flag=$ac_c_werror_flag
5421 ac_c_werror_flag=yes
5422 ac_cv_prog_cc_g=no
5423 CFLAGS="-g"
5424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5425 /* end confdefs.h. */
5428 main (void)
5432 return 0;
5434 _ACEOF
5435 if ac_fn_c_try_compile "$LINENO"
5436 then :
5437 ac_cv_prog_cc_g=yes
5438 else $as_nop
5439 CFLAGS=""
5440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5441 /* end confdefs.h. */
5444 main (void)
5448 return 0;
5450 _ACEOF
5451 if ac_fn_c_try_compile "$LINENO"
5452 then :
5454 else $as_nop
5455 ac_c_werror_flag=$ac_save_c_werror_flag
5456 CFLAGS="-g"
5457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5458 /* end confdefs.h. */
5461 main (void)
5465 return 0;
5467 _ACEOF
5468 if ac_fn_c_try_compile "$LINENO"
5469 then :
5470 ac_cv_prog_cc_g=yes
5472 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5474 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5476 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5477 ac_c_werror_flag=$ac_save_c_werror_flag
5479 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5480 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
5481 if test $ac_test_CFLAGS; then
5482 CFLAGS=$ac_save_CFLAGS
5483 elif test $ac_cv_prog_cc_g = yes; then
5484 if test "$GCC" = yes; then
5485 CFLAGS="-g -O2"
5486 else
5487 CFLAGS="-g"
5489 else
5490 if test "$GCC" = yes; then
5491 CFLAGS="-O2"
5492 else
5493 CFLAGS=
5496 ac_prog_cc_stdc=no
5497 if test x$ac_prog_cc_stdc = xno
5498 then :
5499 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
5500 printf %s "checking for $CC option to enable C11 features... " >&6; }
5501 if test ${ac_cv_prog_cc_c11+y}
5502 then :
5503 printf %s "(cached) " >&6
5504 else $as_nop
5505 ac_cv_prog_cc_c11=no
5506 ac_save_CC=$CC
5507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5508 /* end confdefs.h. */
5509 $ac_c_conftest_c11_program
5510 _ACEOF
5511 for ac_arg in '' -std=gnu11
5513 CC="$ac_save_CC $ac_arg"
5514 if ac_fn_c_try_compile "$LINENO"
5515 then :
5516 ac_cv_prog_cc_c11=$ac_arg
5518 rm -f core conftest.err conftest.$ac_objext conftest.beam
5519 test "x$ac_cv_prog_cc_c11" != "xno" && break
5520 done
5521 rm -f conftest.$ac_ext
5522 CC=$ac_save_CC
5525 if test "x$ac_cv_prog_cc_c11" = xno
5526 then :
5527 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5528 printf "%s\n" "unsupported" >&6; }
5529 else $as_nop
5530 if test "x$ac_cv_prog_cc_c11" = x
5531 then :
5532 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5533 printf "%s\n" "none needed" >&6; }
5534 else $as_nop
5535 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
5536 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
5537 CC="$CC $ac_cv_prog_cc_c11"
5539 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
5540 ac_prog_cc_stdc=c11
5543 if test x$ac_prog_cc_stdc = xno
5544 then :
5545 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
5546 printf %s "checking for $CC option to enable C99 features... " >&6; }
5547 if test ${ac_cv_prog_cc_c99+y}
5548 then :
5549 printf %s "(cached) " >&6
5550 else $as_nop
5551 ac_cv_prog_cc_c99=no
5552 ac_save_CC=$CC
5553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5554 /* end confdefs.h. */
5555 $ac_c_conftest_c99_program
5556 _ACEOF
5557 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
5559 CC="$ac_save_CC $ac_arg"
5560 if ac_fn_c_try_compile "$LINENO"
5561 then :
5562 ac_cv_prog_cc_c99=$ac_arg
5564 rm -f core conftest.err conftest.$ac_objext conftest.beam
5565 test "x$ac_cv_prog_cc_c99" != "xno" && break
5566 done
5567 rm -f conftest.$ac_ext
5568 CC=$ac_save_CC
5571 if test "x$ac_cv_prog_cc_c99" = xno
5572 then :
5573 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5574 printf "%s\n" "unsupported" >&6; }
5575 else $as_nop
5576 if test "x$ac_cv_prog_cc_c99" = x
5577 then :
5578 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5579 printf "%s\n" "none needed" >&6; }
5580 else $as_nop
5581 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
5582 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
5583 CC="$CC $ac_cv_prog_cc_c99"
5585 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
5586 ac_prog_cc_stdc=c99
5589 if test x$ac_prog_cc_stdc = xno
5590 then :
5591 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
5592 printf %s "checking for $CC option to enable C89 features... " >&6; }
5593 if test ${ac_cv_prog_cc_c89+y}
5594 then :
5595 printf %s "(cached) " >&6
5596 else $as_nop
5597 ac_cv_prog_cc_c89=no
5598 ac_save_CC=$CC
5599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5600 /* end confdefs.h. */
5601 $ac_c_conftest_c89_program
5602 _ACEOF
5603 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5605 CC="$ac_save_CC $ac_arg"
5606 if ac_fn_c_try_compile "$LINENO"
5607 then :
5608 ac_cv_prog_cc_c89=$ac_arg
5610 rm -f core conftest.err conftest.$ac_objext conftest.beam
5611 test "x$ac_cv_prog_cc_c89" != "xno" && break
5612 done
5613 rm -f conftest.$ac_ext
5614 CC=$ac_save_CC
5617 if test "x$ac_cv_prog_cc_c89" = xno
5618 then :
5619 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5620 printf "%s\n" "unsupported" >&6; }
5621 else $as_nop
5622 if test "x$ac_cv_prog_cc_c89" = x
5623 then :
5624 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5625 printf "%s\n" "none needed" >&6; }
5626 else $as_nop
5627 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5628 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
5629 CC="$CC $ac_cv_prog_cc_c89"
5631 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
5632 ac_prog_cc_stdc=c89
5636 ac_ext=c
5637 ac_cpp='$CPP $CPPFLAGS'
5638 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5639 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5640 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5648 ac_ext=cpp
5649 ac_cpp='$CXXCPP $CPPFLAGS'
5650 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5651 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5652 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5653 if test -z "$CXX"; then
5654 if test -n "$CCC"; then
5655 CXX=$CCC
5656 else
5657 if test -n "$ac_tool_prefix"; then
5658 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5660 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5661 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5662 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5663 printf %s "checking for $ac_word... " >&6; }
5664 if test ${ac_cv_prog_CXX+y}
5665 then :
5666 printf %s "(cached) " >&6
5667 else $as_nop
5668 if test -n "$CXX"; then
5669 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5670 else
5671 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5672 for as_dir in $PATH
5674 IFS=$as_save_IFS
5675 case $as_dir in #(((
5676 '') as_dir=./ ;;
5677 */) ;;
5678 *) as_dir=$as_dir/ ;;
5679 esac
5680 for ac_exec_ext in '' $ac_executable_extensions; do
5681 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5682 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5683 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5684 break 2
5686 done
5687 done
5688 IFS=$as_save_IFS
5692 CXX=$ac_cv_prog_CXX
5693 if test -n "$CXX"; then
5694 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5695 printf "%s\n" "$CXX" >&6; }
5696 else
5697 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5698 printf "%s\n" "no" >&6; }
5702 test -n "$CXX" && break
5703 done
5705 if test -z "$CXX"; then
5706 ac_ct_CXX=$CXX
5707 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5709 # Extract the first word of "$ac_prog", so it can be a program name with args.
5710 set dummy $ac_prog; ac_word=$2
5711 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5712 printf %s "checking for $ac_word... " >&6; }
5713 if test ${ac_cv_prog_ac_ct_CXX+y}
5714 then :
5715 printf %s "(cached) " >&6
5716 else $as_nop
5717 if test -n "$ac_ct_CXX"; then
5718 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5719 else
5720 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5721 for as_dir in $PATH
5723 IFS=$as_save_IFS
5724 case $as_dir in #(((
5725 '') as_dir=./ ;;
5726 */) ;;
5727 *) as_dir=$as_dir/ ;;
5728 esac
5729 for ac_exec_ext in '' $ac_executable_extensions; do
5730 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5731 ac_cv_prog_ac_ct_CXX="$ac_prog"
5732 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5733 break 2
5735 done
5736 done
5737 IFS=$as_save_IFS
5741 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5742 if test -n "$ac_ct_CXX"; then
5743 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5744 printf "%s\n" "$ac_ct_CXX" >&6; }
5745 else
5746 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5747 printf "%s\n" "no" >&6; }
5751 test -n "$ac_ct_CXX" && break
5752 done
5754 if test "x$ac_ct_CXX" = x; then
5755 CXX="g++"
5756 else
5757 case $cross_compiling:$ac_tool_warned in
5758 yes:)
5759 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5760 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5761 ac_tool_warned=yes ;;
5762 esac
5763 CXX=$ac_ct_CXX
5769 # Provide some information about the compiler.
5770 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5771 set X $ac_compile
5772 ac_compiler=$2
5773 for ac_option in --version -v -V -qversion; do
5774 { { ac_try="$ac_compiler $ac_option >&5"
5775 case "(($ac_try" in
5776 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5777 *) ac_try_echo=$ac_try;;
5778 esac
5779 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5780 printf "%s\n" "$ac_try_echo"; } >&5
5781 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5782 ac_status=$?
5783 if test -s conftest.err; then
5784 sed '10a\
5785 ... rest of stderr output deleted ...
5786 10q' conftest.err >conftest.er1
5787 cat conftest.er1 >&5
5789 rm -f conftest.er1 conftest.err
5790 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5791 test $ac_status = 0; }
5792 done
5794 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C++" >&5
5795 printf %s "checking whether the compiler supports GNU C++... " >&6; }
5796 if test ${ac_cv_cxx_compiler_gnu+y}
5797 then :
5798 printf %s "(cached) " >&6
5799 else $as_nop
5800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5801 /* end confdefs.h. */
5804 main (void)
5806 #ifndef __GNUC__
5807 choke me
5808 #endif
5811 return 0;
5813 _ACEOF
5814 if ac_fn_cxx_try_compile "$LINENO"
5815 then :
5816 ac_compiler_gnu=yes
5817 else $as_nop
5818 ac_compiler_gnu=no
5820 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5821 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5824 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5825 printf "%s\n" "$ac_cv_cxx_compiler_gnu" >&6; }
5826 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5828 if test $ac_compiler_gnu = yes; then
5829 GXX=yes
5830 else
5831 GXX=
5833 ac_test_CXXFLAGS=${CXXFLAGS+y}
5834 ac_save_CXXFLAGS=$CXXFLAGS
5835 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5836 printf %s "checking whether $CXX accepts -g... " >&6; }
5837 if test ${ac_cv_prog_cxx_g+y}
5838 then :
5839 printf %s "(cached) " >&6
5840 else $as_nop
5841 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5842 ac_cxx_werror_flag=yes
5843 ac_cv_prog_cxx_g=no
5844 CXXFLAGS="-g"
5845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5846 /* end confdefs.h. */
5849 main (void)
5853 return 0;
5855 _ACEOF
5856 if ac_fn_cxx_try_compile "$LINENO"
5857 then :
5858 ac_cv_prog_cxx_g=yes
5859 else $as_nop
5860 CXXFLAGS=""
5861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5862 /* end confdefs.h. */
5865 main (void)
5869 return 0;
5871 _ACEOF
5872 if ac_fn_cxx_try_compile "$LINENO"
5873 then :
5875 else $as_nop
5876 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5877 CXXFLAGS="-g"
5878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5879 /* end confdefs.h. */
5882 main (void)
5886 return 0;
5888 _ACEOF
5889 if ac_fn_cxx_try_compile "$LINENO"
5890 then :
5891 ac_cv_prog_cxx_g=yes
5893 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5895 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5897 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5898 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5900 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5901 printf "%s\n" "$ac_cv_prog_cxx_g" >&6; }
5902 if test $ac_test_CXXFLAGS; then
5903 CXXFLAGS=$ac_save_CXXFLAGS
5904 elif test $ac_cv_prog_cxx_g = yes; then
5905 if test "$GXX" = yes; then
5906 CXXFLAGS="-g -O2"
5907 else
5908 CXXFLAGS="-g"
5910 else
5911 if test "$GXX" = yes; then
5912 CXXFLAGS="-O2"
5913 else
5914 CXXFLAGS=
5917 ac_prog_cxx_stdcxx=no
5918 if test x$ac_prog_cxx_stdcxx = xno
5919 then :
5920 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++11 features" >&5
5921 printf %s "checking for $CXX option to enable C++11 features... " >&6; }
5922 if test ${ac_cv_prog_cxx_cxx11+y}
5923 then :
5924 printf %s "(cached) " >&6
5925 else $as_nop
5926 ac_cv_prog_cxx_cxx11=no
5927 ac_save_CXX=$CXX
5928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5929 /* end confdefs.h. */
5930 $ac_cxx_conftest_cxx11_program
5931 _ACEOF
5932 for ac_arg in '' -std=gnu++11 -std=gnu++0x -std=c++11 -std=c++0x -qlanglvl=extended0x -AA
5934 CXX="$ac_save_CXX $ac_arg"
5935 if ac_fn_cxx_try_compile "$LINENO"
5936 then :
5937 ac_cv_prog_cxx_cxx11=$ac_arg
5939 rm -f core conftest.err conftest.$ac_objext conftest.beam
5940 test "x$ac_cv_prog_cxx_cxx11" != "xno" && break
5941 done
5942 rm -f conftest.$ac_ext
5943 CXX=$ac_save_CXX
5946 if test "x$ac_cv_prog_cxx_cxx11" = xno
5947 then :
5948 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5949 printf "%s\n" "unsupported" >&6; }
5950 else $as_nop
5951 if test "x$ac_cv_prog_cxx_cxx11" = x
5952 then :
5953 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5954 printf "%s\n" "none needed" >&6; }
5955 else $as_nop
5956 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx11" >&5
5957 printf "%s\n" "$ac_cv_prog_cxx_cxx11" >&6; }
5958 CXX="$CXX $ac_cv_prog_cxx_cxx11"
5960 ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx11
5961 ac_prog_cxx_stdcxx=cxx11
5964 if test x$ac_prog_cxx_stdcxx = xno
5965 then :
5966 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++98 features" >&5
5967 printf %s "checking for $CXX option to enable C++98 features... " >&6; }
5968 if test ${ac_cv_prog_cxx_cxx98+y}
5969 then :
5970 printf %s "(cached) " >&6
5971 else $as_nop
5972 ac_cv_prog_cxx_cxx98=no
5973 ac_save_CXX=$CXX
5974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5975 /* end confdefs.h. */
5976 $ac_cxx_conftest_cxx98_program
5977 _ACEOF
5978 for ac_arg in '' -std=gnu++98 -std=c++98 -qlanglvl=extended -AA
5980 CXX="$ac_save_CXX $ac_arg"
5981 if ac_fn_cxx_try_compile "$LINENO"
5982 then :
5983 ac_cv_prog_cxx_cxx98=$ac_arg
5985 rm -f core conftest.err conftest.$ac_objext conftest.beam
5986 test "x$ac_cv_prog_cxx_cxx98" != "xno" && break
5987 done
5988 rm -f conftest.$ac_ext
5989 CXX=$ac_save_CXX
5992 if test "x$ac_cv_prog_cxx_cxx98" = xno
5993 then :
5994 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5995 printf "%s\n" "unsupported" >&6; }
5996 else $as_nop
5997 if test "x$ac_cv_prog_cxx_cxx98" = x
5998 then :
5999 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
6000 printf "%s\n" "none needed" >&6; }
6001 else $as_nop
6002 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx98" >&5
6003 printf "%s\n" "$ac_cv_prog_cxx_cxx98" >&6; }
6004 CXX="$CXX $ac_cv_prog_cxx_cxx98"
6006 ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx98
6007 ac_prog_cxx_stdcxx=cxx98
6011 ac_ext=c
6012 ac_cpp='$CPP $CPPFLAGS'
6013 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6014 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6015 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6017 if test -n "$ac_tool_prefix"; then
6018 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
6019 set dummy ${ac_tool_prefix}cpp; ac_word=$2
6020 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6021 printf %s "checking for $ac_word... " >&6; }
6022 if test ${ac_cv_prog_CPPBIN+y}
6023 then :
6024 printf %s "(cached) " >&6
6025 else $as_nop
6026 if test -n "$CPPBIN"; then
6027 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
6028 else
6029 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6030 for as_dir in $PATH
6032 IFS=$as_save_IFS
6033 case $as_dir in #(((
6034 '') as_dir=./ ;;
6035 */) ;;
6036 *) as_dir=$as_dir/ ;;
6037 esac
6038 for ac_exec_ext in '' $ac_executable_extensions; do
6039 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6040 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
6041 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6042 break 2
6044 done
6045 done
6046 IFS=$as_save_IFS
6050 CPPBIN=$ac_cv_prog_CPPBIN
6051 if test -n "$CPPBIN"; then
6052 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
6053 printf "%s\n" "$CPPBIN" >&6; }
6054 else
6055 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6056 printf "%s\n" "no" >&6; }
6061 if test -z "$ac_cv_prog_CPPBIN"; then
6062 ac_ct_CPPBIN=$CPPBIN
6063 # Extract the first word of "cpp", so it can be a program name with args.
6064 set dummy cpp; ac_word=$2
6065 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6066 printf %s "checking for $ac_word... " >&6; }
6067 if test ${ac_cv_prog_ac_ct_CPPBIN+y}
6068 then :
6069 printf %s "(cached) " >&6
6070 else $as_nop
6071 if test -n "$ac_ct_CPPBIN"; then
6072 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
6073 else
6074 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6075 for as_dir in $PATH
6077 IFS=$as_save_IFS
6078 case $as_dir in #(((
6079 '') as_dir=./ ;;
6080 */) ;;
6081 *) as_dir=$as_dir/ ;;
6082 esac
6083 for ac_exec_ext in '' $ac_executable_extensions; do
6084 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6085 ac_cv_prog_ac_ct_CPPBIN="cpp"
6086 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6087 break 2
6089 done
6090 done
6091 IFS=$as_save_IFS
6095 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
6096 if test -n "$ac_ct_CPPBIN"; then
6097 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
6098 printf "%s\n" "$ac_ct_CPPBIN" >&6; }
6099 else
6100 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6101 printf "%s\n" "no" >&6; }
6104 if test "x$ac_ct_CPPBIN" = x; then
6105 CPPBIN="cpp"
6106 else
6107 case $cross_compiling:$ac_tool_warned in
6108 yes:)
6109 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6110 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6111 ac_tool_warned=yes ;;
6112 esac
6113 CPPBIN=$ac_ct_CPPBIN
6115 else
6116 CPPBIN="$ac_cv_prog_CPPBIN"
6120 printf "%s\n" "#define EXEEXT \"$ac_exeext\"" >>confdefs.h
6122 if test -n "$ac_tool_prefix"; then
6123 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
6124 set dummy ${ac_tool_prefix}ld; ac_word=$2
6125 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6126 printf %s "checking for $ac_word... " >&6; }
6127 if test ${ac_cv_prog_LD+y}
6128 then :
6129 printf %s "(cached) " >&6
6130 else $as_nop
6131 if test -n "$LD"; then
6132 ac_cv_prog_LD="$LD" # Let the user override the test.
6133 else
6134 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6135 for as_dir in $PATH
6137 IFS=$as_save_IFS
6138 case $as_dir in #(((
6139 '') as_dir=./ ;;
6140 */) ;;
6141 *) as_dir=$as_dir/ ;;
6142 esac
6143 for ac_exec_ext in '' $ac_executable_extensions; do
6144 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6145 ac_cv_prog_LD="${ac_tool_prefix}ld"
6146 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6147 break 2
6149 done
6150 done
6151 IFS=$as_save_IFS
6155 LD=$ac_cv_prog_LD
6156 if test -n "$LD"; then
6157 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6158 printf "%s\n" "$LD" >&6; }
6159 else
6160 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6161 printf "%s\n" "no" >&6; }
6166 if test -z "$ac_cv_prog_LD"; then
6167 ac_ct_LD=$LD
6168 # Extract the first word of "ld", so it can be a program name with args.
6169 set dummy ld; ac_word=$2
6170 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6171 printf %s "checking for $ac_word... " >&6; }
6172 if test ${ac_cv_prog_ac_ct_LD+y}
6173 then :
6174 printf %s "(cached) " >&6
6175 else $as_nop
6176 if test -n "$ac_ct_LD"; then
6177 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
6178 else
6179 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6180 for as_dir in $PATH
6182 IFS=$as_save_IFS
6183 case $as_dir in #(((
6184 '') as_dir=./ ;;
6185 */) ;;
6186 *) as_dir=$as_dir/ ;;
6187 esac
6188 for ac_exec_ext in '' $ac_executable_extensions; do
6189 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6190 ac_cv_prog_ac_ct_LD="ld"
6191 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6192 break 2
6194 done
6195 done
6196 IFS=$as_save_IFS
6200 ac_ct_LD=$ac_cv_prog_ac_ct_LD
6201 if test -n "$ac_ct_LD"; then
6202 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
6203 printf "%s\n" "$ac_ct_LD" >&6; }
6204 else
6205 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6206 printf "%s\n" "no" >&6; }
6209 if test "x$ac_ct_LD" = x; then
6210 LD=""
6211 else
6212 case $cross_compiling:$ac_tool_warned in
6213 yes:)
6214 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6215 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6216 ac_tool_warned=yes ;;
6217 esac
6218 LD=$ac_ct_LD
6220 else
6221 LD="$ac_cv_prog_LD"
6225 case $host in
6226 *-darwin*)
6227 with_fontconfig=${with_fontconfig:-no}
6229 *-mingw32*|*-cygwin*)
6230 enable_win16=${enable_win16:-no}
6231 with_mingw=${with_mingw:-no}
6233 esac
6236 case $host in
6237 x86_64*|amd64*)
6238 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes" -a x"$enable_archs" = x
6239 then
6240 CC="$CC -m32"
6241 CXX="$CXX -m32"
6243 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
6244 printf %s "checking whether $CC works... " >&6; }
6245 if test ${wine_cv_cc_m32+y}
6246 then :
6247 printf %s "(cached) " >&6
6248 else $as_nop
6249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6250 /* end confdefs.h. */
6253 main (void)
6257 return 0;
6259 _ACEOF
6260 if ac_fn_c_try_link "$LINENO"
6261 then :
6262 wine_cv_cc_m32=yes
6263 else $as_nop
6264 wine_cv_cc_m32=no
6266 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6267 conftest$ac_exeext conftest.$ac_ext
6269 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_cc_m32" >&5
6270 printf "%s\n" "$wine_cv_cc_m32" >&6; }
6271 test $wine_cv_cc_m32 != no || as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
6272 host_cpu="i386"
6273 notice_platform="32-bit "
6274 TARGETFLAGS="$TARGETFLAGS -m32"
6275 PKG_CONFIG_LIBDIR=${PKG_CONFIG_LIBDIR:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib32/pkgconfig:/usr/lib/pkgconfig}
6276 export PKG_CONFIG_LIBDIR
6277 with_unwind=${with_unwind:-no}
6278 else
6279 CC="$CC -m64"
6280 CXX="$CXX -m64"
6281 host_cpu="x86_64"
6282 notice_platform="64-bit "
6283 TARGETFLAGS="$TARGETFLAGS -m64"
6286 arm*)
6287 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb-2" >&5
6288 printf %s "checking whether $CC supports Thumb-2... " >&6; }
6289 if test ${wine_cv_thumb2+y}
6290 then :
6291 printf %s "(cached) " >&6
6292 else $as_nop
6293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6294 /* end confdefs.h. */
6297 main (void)
6299 asm(".syntax unified\n\t.thumb\n\tldm r0,{r0-r8}");
6301 return 0;
6303 _ACEOF
6304 if ac_fn_c_try_link "$LINENO"
6305 then :
6306 wine_cv_thumb2=yes
6307 else $as_nop
6308 wine_cv_thumb2=no
6310 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6311 conftest$ac_exeext conftest.$ac_ext
6313 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_thumb2" >&5
6314 printf "%s\n" "$wine_cv_thumb2" >&6; }
6315 if test x"$wine_cv_thumb2" = xyes
6316 then
6317 CFLAGS="$CFLAGS -mthumb"
6318 TARGETFLAGS="$TARGETFLAGS -mthumb"
6319 else
6320 CFLAGS="$CFLAGS -marm"
6321 TARGETFLAGS="$TARGETFLAGS -marm"
6323 case $with_float_abi in
6324 soft|softfp|hard)
6325 float_abi=$with_float_abi ;;
6327 case $host_os in
6328 *eabihf)
6329 float_abi=hard ;;
6331 float_abi=softfp
6332 saved_CFLAGS=$CFLAGS
6333 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
6334 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
6335 printf %s "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
6336 if test ${wine_cv_float_abi+y}
6337 then :
6338 printf %s "(cached) " >&6
6339 else $as_nop
6340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6341 /* end confdefs.h. */
6344 main (void)
6346 asm("vmrs r2,fpscr");
6348 return 0;
6350 _ACEOF
6351 if ac_fn_c_try_link "$LINENO"
6352 then :
6353 wine_cv_float_abi=yes
6354 else $as_nop
6355 wine_cv_float_abi=no
6357 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6358 conftest$ac_exeext conftest.$ac_ext
6360 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_float_abi" >&5
6361 printf "%s\n" "$wine_cv_float_abi" >&6; }
6362 if test $wine_cv_float_abi = no
6363 then
6364 float_abi=soft
6365 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
6367 CFLAGS=$saved_CFLAGS
6368 esac
6370 esac
6371 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
6372 TARGETFLAGS="$TARGETFLAGS -mfloat-abi=$float_abi"
6374 i[3456789]86*)
6375 with_unwind=${with_unwind:-no}
6377 esac
6379 enable_win16=${enable_win16:-i386}
6380 enable_win64=${enable_win64:-no}
6381 enable_wow64=${enable_wow64:-aarch64,x86_64}
6382 enable_wow64win=${enable_wow64win:-aarch64,x86_64}
6383 enable_wow64cpu=${enable_wow64cpu:-x86_64}
6385 enable_winetest=${enable_winetest:-$enable_tests}
6387 if test "x$enable_win64" = "xyes"
6388 then
6389 test -z "$with_wine64" || as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
6390 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
6393 case $build_os in
6394 cygwin*|mingw32*) toolsext=".exe"
6396 *) toolsext=""
6398 esac
6400 HOST_ARCH=unknown
6401 case "$host_cpu" in
6402 aarch64*) HOST_ARCH=aarch64 ;;
6403 arm*) HOST_ARCH=arm ;;
6404 i[3456789]86*) HOST_ARCH=i386 ;;
6405 x86_64) HOST_ARCH=x86_64 ;;
6406 esac
6409 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
6410 printf %s "checking for the directory containing the Wine tools... " >&6; }
6411 if test ${wine_cv_toolsdir+y}
6412 then :
6413 printf %s "(cached) " >&6
6414 else $as_nop
6415 wine_cv_toolsdir="$with_wine_tools"
6416 if test -z "$with_wine_tools"; then
6417 if test "$cross_compiling" = "yes"; then
6418 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
6419 elif test -n "$with_wine64"; then
6420 wine_cv_toolsdir="$with_wine64"
6424 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
6425 printf "%s\n" "$wine_cv_toolsdir" >&6; }
6426 if test -z "$wine_cv_toolsdir"; then
6427 wine_makedep=tools/makedep$toolsext
6428 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
6429 wine_makedep=$wine_cv_toolsdir/tools/makedep$toolsext
6430 enable_tools=${enable_tools:-no}
6431 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
6432 else
6433 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
6435 toolsdir=$wine_cv_toolsdir
6437 MAKEDEP=$wine_makedep
6439 RUNTESTFLAGS="-q -P wine"
6441 SED_CMD="LC_ALL=C sed -e 's,@bindir@,\${bindir},g' -e 's,@dlldir@,\${dlldir},g' -e 's,@PACKAGE_STRING@,$PACKAGE_STRING,g' -e 's,@PACKAGE_VERSION@,$PACKAGE_VERSION,g'"
6444 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
6445 then
6446 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
6449 for ac_prog in flex
6451 # Extract the first word of "$ac_prog", so it can be a program name with args.
6452 set dummy $ac_prog; ac_word=$2
6453 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6454 printf %s "checking for $ac_word... " >&6; }
6455 if test ${ac_cv_prog_FLEX+y}
6456 then :
6457 printf %s "(cached) " >&6
6458 else $as_nop
6459 if test -n "$FLEX"; then
6460 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
6461 else
6462 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6463 for as_dir in $PATH
6465 IFS=$as_save_IFS
6466 case $as_dir in #(((
6467 '') as_dir=./ ;;
6468 */) ;;
6469 *) as_dir=$as_dir/ ;;
6470 esac
6471 for ac_exec_ext in '' $ac_executable_extensions; do
6472 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6473 ac_cv_prog_FLEX="$ac_prog"
6474 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6475 break 2
6477 done
6478 done
6479 IFS=$as_save_IFS
6483 FLEX=$ac_cv_prog_FLEX
6484 if test -n "$FLEX"; then
6485 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
6486 printf "%s\n" "$FLEX" >&6; }
6487 else
6488 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6489 printf "%s\n" "no" >&6; }
6493 test -n "$FLEX" && break
6494 done
6495 test -n "$FLEX" || FLEX="none"
6497 if test "$FLEX" = "none"
6498 then
6499 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
6501 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
6502 printf %s "checking whether flex is recent enough... " >&6; }
6503 if test ${wine_cv_recent_flex+y}
6504 then :
6505 printf %s "(cached) " >&6
6506 else $as_nop
6507 cat >conftest.l <<EOF
6508 %top{
6509 #include "prediluvian.h"
6513 if $FLEX -t conftest.l >/dev/null 2>&5
6514 then
6515 wine_cv_recent_flex=yes
6516 else
6517 wine_cv_recent_flex=no
6520 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_flex" >&5
6521 printf "%s\n" "$wine_cv_recent_flex" >&6; }
6522 test $wine_cv_recent_flex != no || as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
6524 for ac_prog in bison
6526 # Extract the first word of "$ac_prog", so it can be a program name with args.
6527 set dummy $ac_prog; ac_word=$2
6528 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6529 printf %s "checking for $ac_word... " >&6; }
6530 if test ${ac_cv_prog_BISON+y}
6531 then :
6532 printf %s "(cached) " >&6
6533 else $as_nop
6534 if test -n "$BISON"; then
6535 ac_cv_prog_BISON="$BISON" # Let the user override the test.
6536 else
6537 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6538 for as_dir in $PATH
6540 IFS=$as_save_IFS
6541 case $as_dir in #(((
6542 '') as_dir=./ ;;
6543 */) ;;
6544 *) as_dir=$as_dir/ ;;
6545 esac
6546 for ac_exec_ext in '' $ac_executable_extensions; do
6547 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6548 ac_cv_prog_BISON="$ac_prog"
6549 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6550 break 2
6552 done
6553 done
6554 IFS=$as_save_IFS
6558 BISON=$ac_cv_prog_BISON
6559 if test -n "$BISON"; then
6560 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
6561 printf "%s\n" "$BISON" >&6; }
6562 else
6563 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6564 printf "%s\n" "no" >&6; }
6568 test -n "$BISON" && break
6569 done
6570 test -n "$BISON" || BISON="none"
6572 if test "$BISON" = "none"
6573 then
6574 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
6576 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether bison is recent enough" >&5
6577 printf %s "checking whether bison is recent enough... " >&6; }
6578 if test ${wine_cv_recent_bison+y}
6579 then :
6580 printf %s "(cached) " >&6
6581 else $as_nop
6582 cat >conftest.y <<EOF
6583 %define parse.error verbose
6585 empty: ;
6587 if $BISON conftest.y >/dev/null 2>&5
6588 then
6589 wine_cv_recent_bison=yes
6590 else
6591 wine_cv_recent_bison=no
6594 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_bison" >&5
6595 printf "%s\n" "$wine_cv_recent_bison" >&6; }
6596 test $wine_cv_recent_bison != no || as_fn_error $? "Your bison version is too old. Please install bison version 3.0 or newer." "$LINENO" 5
6598 if test -n "$ac_tool_prefix"; then
6599 for ac_prog in ar gar
6601 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6602 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6603 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6604 printf %s "checking for $ac_word... " >&6; }
6605 if test ${ac_cv_prog_AR+y}
6606 then :
6607 printf %s "(cached) " >&6
6608 else $as_nop
6609 if test -n "$AR"; then
6610 ac_cv_prog_AR="$AR" # Let the user override the test.
6611 else
6612 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6613 for as_dir in $PATH
6615 IFS=$as_save_IFS
6616 case $as_dir in #(((
6617 '') as_dir=./ ;;
6618 */) ;;
6619 *) as_dir=$as_dir/ ;;
6620 esac
6621 for ac_exec_ext in '' $ac_executable_extensions; do
6622 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6623 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6624 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6625 break 2
6627 done
6628 done
6629 IFS=$as_save_IFS
6633 AR=$ac_cv_prog_AR
6634 if test -n "$AR"; then
6635 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6636 printf "%s\n" "$AR" >&6; }
6637 else
6638 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6639 printf "%s\n" "no" >&6; }
6643 test -n "$AR" && break
6644 done
6646 if test -z "$AR"; then
6647 ac_ct_AR=$AR
6648 for ac_prog in ar gar
6650 # Extract the first word of "$ac_prog", so it can be a program name with args.
6651 set dummy $ac_prog; ac_word=$2
6652 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6653 printf %s "checking for $ac_word... " >&6; }
6654 if test ${ac_cv_prog_ac_ct_AR+y}
6655 then :
6656 printf %s "(cached) " >&6
6657 else $as_nop
6658 if test -n "$ac_ct_AR"; then
6659 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6660 else
6661 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6662 for as_dir in $PATH
6664 IFS=$as_save_IFS
6665 case $as_dir in #(((
6666 '') as_dir=./ ;;
6667 */) ;;
6668 *) as_dir=$as_dir/ ;;
6669 esac
6670 for ac_exec_ext in '' $ac_executable_extensions; do
6671 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6672 ac_cv_prog_ac_ct_AR="$ac_prog"
6673 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6674 break 2
6676 done
6677 done
6678 IFS=$as_save_IFS
6682 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6683 if test -n "$ac_ct_AR"; then
6684 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6685 printf "%s\n" "$ac_ct_AR" >&6; }
6686 else
6687 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6688 printf "%s\n" "no" >&6; }
6692 test -n "$ac_ct_AR" && break
6693 done
6695 if test "x$ac_ct_AR" = x; then
6696 AR="ar"
6697 else
6698 case $cross_compiling:$ac_tool_warned in
6699 yes:)
6700 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6701 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6702 ac_tool_warned=yes ;;
6703 esac
6704 AR=$ac_ct_AR
6708 if test -n "$ac_tool_prefix"; then
6709 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6710 set dummy ${ac_tool_prefix}strip; ac_word=$2
6711 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6712 printf %s "checking for $ac_word... " >&6; }
6713 if test ${ac_cv_prog_STRIP+y}
6714 then :
6715 printf %s "(cached) " >&6
6716 else $as_nop
6717 if test -n "$STRIP"; then
6718 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6719 else
6720 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6721 for as_dir in $PATH
6723 IFS=$as_save_IFS
6724 case $as_dir in #(((
6725 '') as_dir=./ ;;
6726 */) ;;
6727 *) as_dir=$as_dir/ ;;
6728 esac
6729 for ac_exec_ext in '' $ac_executable_extensions; do
6730 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6731 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6732 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6733 break 2
6735 done
6736 done
6737 IFS=$as_save_IFS
6741 STRIP=$ac_cv_prog_STRIP
6742 if test -n "$STRIP"; then
6743 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6744 printf "%s\n" "$STRIP" >&6; }
6745 else
6746 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6747 printf "%s\n" "no" >&6; }
6752 if test -z "$ac_cv_prog_STRIP"; then
6753 ac_ct_STRIP=$STRIP
6754 # Extract the first word of "strip", so it can be a program name with args.
6755 set dummy strip; ac_word=$2
6756 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6757 printf %s "checking for $ac_word... " >&6; }
6758 if test ${ac_cv_prog_ac_ct_STRIP+y}
6759 then :
6760 printf %s "(cached) " >&6
6761 else $as_nop
6762 if test -n "$ac_ct_STRIP"; then
6763 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6764 else
6765 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6766 for as_dir in $PATH
6768 IFS=$as_save_IFS
6769 case $as_dir in #(((
6770 '') as_dir=./ ;;
6771 */) ;;
6772 *) as_dir=$as_dir/ ;;
6773 esac
6774 for ac_exec_ext in '' $ac_executable_extensions; do
6775 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6776 ac_cv_prog_ac_ct_STRIP="strip"
6777 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6778 break 2
6780 done
6781 done
6782 IFS=$as_save_IFS
6786 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6787 if test -n "$ac_ct_STRIP"; then
6788 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6789 printf "%s\n" "$ac_ct_STRIP" >&6; }
6790 else
6791 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6792 printf "%s\n" "no" >&6; }
6795 if test "x$ac_ct_STRIP" = x; then
6796 STRIP="strip"
6797 else
6798 case $cross_compiling:$ac_tool_warned in
6799 yes:)
6800 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6801 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6802 ac_tool_warned=yes ;;
6803 esac
6804 STRIP=$ac_ct_STRIP
6806 else
6807 STRIP="$ac_cv_prog_STRIP"
6810 if test -n "$ac_tool_prefix"; then
6811 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6812 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6813 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6814 printf %s "checking for $ac_word... " >&6; }
6815 if test ${ac_cv_prog_RANLIB+y}
6816 then :
6817 printf %s "(cached) " >&6
6818 else $as_nop
6819 if test -n "$RANLIB"; then
6820 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6821 else
6822 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6823 for as_dir in $PATH
6825 IFS=$as_save_IFS
6826 case $as_dir in #(((
6827 '') as_dir=./ ;;
6828 */) ;;
6829 *) as_dir=$as_dir/ ;;
6830 esac
6831 for ac_exec_ext in '' $ac_executable_extensions; do
6832 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6833 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6834 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6835 break 2
6837 done
6838 done
6839 IFS=$as_save_IFS
6843 RANLIB=$ac_cv_prog_RANLIB
6844 if test -n "$RANLIB"; then
6845 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6846 printf "%s\n" "$RANLIB" >&6; }
6847 else
6848 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6849 printf "%s\n" "no" >&6; }
6854 if test -z "$ac_cv_prog_RANLIB"; then
6855 ac_ct_RANLIB=$RANLIB
6856 # Extract the first word of "ranlib", so it can be a program name with args.
6857 set dummy ranlib; ac_word=$2
6858 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6859 printf %s "checking for $ac_word... " >&6; }
6860 if test ${ac_cv_prog_ac_ct_RANLIB+y}
6861 then :
6862 printf %s "(cached) " >&6
6863 else $as_nop
6864 if test -n "$ac_ct_RANLIB"; then
6865 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6866 else
6867 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6868 for as_dir in $PATH
6870 IFS=$as_save_IFS
6871 case $as_dir in #(((
6872 '') as_dir=./ ;;
6873 */) ;;
6874 *) as_dir=$as_dir/ ;;
6875 esac
6876 for ac_exec_ext in '' $ac_executable_extensions; do
6877 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6878 ac_cv_prog_ac_ct_RANLIB="ranlib"
6879 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6880 break 2
6882 done
6883 done
6884 IFS=$as_save_IFS
6888 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6889 if test -n "$ac_ct_RANLIB"; then
6890 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6891 printf "%s\n" "$ac_ct_RANLIB" >&6; }
6892 else
6893 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6894 printf "%s\n" "no" >&6; }
6897 if test "x$ac_ct_RANLIB" = x; then
6898 RANLIB=":"
6899 else
6900 case $cross_compiling:$ac_tool_warned in
6901 yes:)
6902 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6903 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6904 ac_tool_warned=yes ;;
6905 esac
6906 RANLIB=$ac_ct_RANLIB
6908 else
6909 RANLIB="$ac_cv_prog_RANLIB"
6912 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6913 printf %s "checking whether ln -s works... " >&6; }
6914 LN_S=$as_ln_s
6915 if test "$LN_S" = "ln -s"; then
6916 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6917 printf "%s\n" "yes" >&6; }
6918 else
6919 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6920 printf "%s\n" "no, using $LN_S" >&6; }
6923 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6924 printf %s "checking for grep that handles long lines and -e... " >&6; }
6925 if test ${ac_cv_path_GREP+y}
6926 then :
6927 printf %s "(cached) " >&6
6928 else $as_nop
6929 if test -z "$GREP"; then
6930 ac_path_GREP_found=false
6931 # Loop through the user's path and test for each of PROGNAME-LIST
6932 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6933 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6935 IFS=$as_save_IFS
6936 case $as_dir in #(((
6937 '') as_dir=./ ;;
6938 */) ;;
6939 *) as_dir=$as_dir/ ;;
6940 esac
6941 for ac_prog in grep ggrep
6943 for ac_exec_ext in '' $ac_executable_extensions; do
6944 ac_path_GREP="$as_dir$ac_prog$ac_exec_ext"
6945 as_fn_executable_p "$ac_path_GREP" || continue
6946 # Check for GNU ac_path_GREP and select it if it is found.
6947 # Check for GNU $ac_path_GREP
6948 case `"$ac_path_GREP" --version 2>&1` in
6949 *GNU*)
6950 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6952 ac_count=0
6953 printf %s 0123456789 >"conftest.in"
6954 while :
6956 cat "conftest.in" "conftest.in" >"conftest.tmp"
6957 mv "conftest.tmp" "conftest.in"
6958 cp "conftest.in" "conftest.nl"
6959 printf "%s\n" 'GREP' >> "conftest.nl"
6960 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6961 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6962 as_fn_arith $ac_count + 1 && ac_count=$as_val
6963 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6964 # Best one so far, save it but keep looking for a better one
6965 ac_cv_path_GREP="$ac_path_GREP"
6966 ac_path_GREP_max=$ac_count
6968 # 10*(2^10) chars as input seems more than enough
6969 test $ac_count -gt 10 && break
6970 done
6971 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6972 esac
6974 $ac_path_GREP_found && break 3
6975 done
6976 done
6977 done
6978 IFS=$as_save_IFS
6979 if test -z "$ac_cv_path_GREP"; then
6980 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6982 else
6983 ac_cv_path_GREP=$GREP
6987 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6988 printf "%s\n" "$ac_cv_path_GREP" >&6; }
6989 GREP="$ac_cv_path_GREP"
6992 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6993 printf %s "checking for egrep... " >&6; }
6994 if test ${ac_cv_path_EGREP+y}
6995 then :
6996 printf %s "(cached) " >&6
6997 else $as_nop
6998 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6999 then ac_cv_path_EGREP="$GREP -E"
7000 else
7001 if test -z "$EGREP"; then
7002 ac_path_EGREP_found=false
7003 # Loop through the user's path and test for each of PROGNAME-LIST
7004 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7005 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
7007 IFS=$as_save_IFS
7008 case $as_dir in #(((
7009 '') as_dir=./ ;;
7010 */) ;;
7011 *) as_dir=$as_dir/ ;;
7012 esac
7013 for ac_prog in egrep
7015 for ac_exec_ext in '' $ac_executable_extensions; do
7016 ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext"
7017 as_fn_executable_p "$ac_path_EGREP" || continue
7018 # Check for GNU ac_path_EGREP and select it if it is found.
7019 # Check for GNU $ac_path_EGREP
7020 case `"$ac_path_EGREP" --version 2>&1` in
7021 *GNU*)
7022 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
7024 ac_count=0
7025 printf %s 0123456789 >"conftest.in"
7026 while :
7028 cat "conftest.in" "conftest.in" >"conftest.tmp"
7029 mv "conftest.tmp" "conftest.in"
7030 cp "conftest.in" "conftest.nl"
7031 printf "%s\n" 'EGREP' >> "conftest.nl"
7032 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
7033 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
7034 as_fn_arith $ac_count + 1 && ac_count=$as_val
7035 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
7036 # Best one so far, save it but keep looking for a better one
7037 ac_cv_path_EGREP="$ac_path_EGREP"
7038 ac_path_EGREP_max=$ac_count
7040 # 10*(2^10) chars as input seems more than enough
7041 test $ac_count -gt 10 && break
7042 done
7043 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7044 esac
7046 $ac_path_EGREP_found && break 3
7047 done
7048 done
7049 done
7050 IFS=$as_save_IFS
7051 if test -z "$ac_cv_path_EGREP"; then
7052 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7054 else
7055 ac_cv_path_EGREP=$EGREP
7060 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
7061 printf "%s\n" "$ac_cv_path_EGREP" >&6; }
7062 EGREP="$ac_cv_path_EGREP"
7065 # Extract the first word of "ldconfig", so it can be a program name with args.
7066 set dummy ldconfig; ac_word=$2
7067 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7068 printf %s "checking for $ac_word... " >&6; }
7069 if test ${ac_cv_path_LDCONFIG+y}
7070 then :
7071 printf %s "(cached) " >&6
7072 else $as_nop
7073 case $LDCONFIG in
7074 [\\/]* | ?:[\\/]*)
7075 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
7078 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7079 for as_dir in /sbin /usr/sbin $PATH
7081 IFS=$as_save_IFS
7082 case $as_dir in #(((
7083 '') as_dir=./ ;;
7084 */) ;;
7085 *) as_dir=$as_dir/ ;;
7086 esac
7087 for ac_exec_ext in '' $ac_executable_extensions; do
7088 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7089 ac_cv_path_LDCONFIG="$as_dir$ac_word$ac_exec_ext"
7090 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7091 break 2
7093 done
7094 done
7095 IFS=$as_save_IFS
7097 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
7099 esac
7101 LDCONFIG=$ac_cv_path_LDCONFIG
7102 if test -n "$LDCONFIG"; then
7103 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
7104 printf "%s\n" "$LDCONFIG" >&6; }
7105 else
7106 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7107 printf "%s\n" "no" >&6; }
7111 for ac_prog in msgfmt
7113 # Extract the first word of "$ac_prog", so it can be a program name with args.
7114 set dummy $ac_prog; ac_word=$2
7115 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7116 printf %s "checking for $ac_word... " >&6; }
7117 if test ${ac_cv_prog_MSGFMT+y}
7118 then :
7119 printf %s "(cached) " >&6
7120 else $as_nop
7121 if test -n "$MSGFMT"; then
7122 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
7123 else
7124 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7125 for as_dir in $PATH
7127 IFS=$as_save_IFS
7128 case $as_dir in #(((
7129 '') as_dir=./ ;;
7130 */) ;;
7131 *) as_dir=$as_dir/ ;;
7132 esac
7133 for ac_exec_ext in '' $ac_executable_extensions; do
7134 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7135 ac_cv_prog_MSGFMT="$ac_prog"
7136 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7137 break 2
7139 done
7140 done
7141 IFS=$as_save_IFS
7145 MSGFMT=$ac_cv_prog_MSGFMT
7146 if test -n "$MSGFMT"; then
7147 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
7148 printf "%s\n" "$MSGFMT" >&6; }
7149 else
7150 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7151 printf "%s\n" "no" >&6; }
7155 test -n "$MSGFMT" && break
7156 done
7157 test -n "$MSGFMT" || MSGFMT="false"
7159 if test ${ac_tool_prefix+y}
7160 then :
7161 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
7162 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
7163 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7164 printf %s "checking for $ac_word... " >&6; }
7165 if test ${ac_cv_prog_PKG_CONFIG+y}
7166 then :
7167 printf %s "(cached) " >&6
7168 else $as_nop
7169 if test -n "$PKG_CONFIG"; then
7170 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
7171 else
7172 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7173 for as_dir in $PATH
7175 IFS=$as_save_IFS
7176 case $as_dir in #(((
7177 '') as_dir=./ ;;
7178 */) ;;
7179 *) as_dir=$as_dir/ ;;
7180 esac
7181 for ac_exec_ext in '' $ac_executable_extensions; do
7182 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7183 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
7184 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7185 break 2
7187 done
7188 done
7189 IFS=$as_save_IFS
7193 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7194 if test -n "$PKG_CONFIG"; then
7195 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7196 printf "%s\n" "$PKG_CONFIG" >&6; }
7197 else
7198 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7199 printf "%s\n" "no" >&6; }
7204 if ${ac_cv_prog_PKG_CONFIG:+false} :
7205 then :
7206 if test "x$cross_compiling" = xyes
7207 then :
7209 else $as_nop
7210 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
7211 # Extract the first word of "pkg-config", so it can be a program name with args.
7212 set dummy pkg-config; ac_word=$2
7213 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7214 printf %s "checking for $ac_word... " >&6; }
7215 if test ${ac_cv_prog_PKG_CONFIG+y}
7216 then :
7217 printf %s "(cached) " >&6
7218 else $as_nop
7219 if test -n "$PKG_CONFIG"; then
7220 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
7221 else
7222 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7223 for as_dir in $PATH
7225 IFS=$as_save_IFS
7226 case $as_dir in #(((
7227 '') as_dir=./ ;;
7228 */) ;;
7229 *) as_dir=$as_dir/ ;;
7230 esac
7231 for ac_exec_ext in '' $ac_executable_extensions; do
7232 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7233 ac_cv_prog_PKG_CONFIG="pkg-config"
7234 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7235 break 2
7237 done
7238 done
7239 IFS=$as_save_IFS
7243 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7244 if test -n "$PKG_CONFIG"; then
7245 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7246 printf "%s\n" "$PKG_CONFIG" >&6; }
7247 else
7248 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7249 printf "%s\n" "no" >&6; }
7254 else $as_nop
7255 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7258 if test "x$enable_maintainer_mode" != "xyes"
7259 then
7260 FONTFORGE=""
7261 RSVG=""
7262 CONVERT=""
7263 ICOTOOL=""
7264 else
7265 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
7266 for ac_prog in fontforge
7268 # Extract the first word of "$ac_prog", so it can be a program name with args.
7269 set dummy $ac_prog; ac_word=$2
7270 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7271 printf %s "checking for $ac_word... " >&6; }
7272 if test ${ac_cv_prog_FONTFORGE+y}
7273 then :
7274 printf %s "(cached) " >&6
7275 else $as_nop
7276 if test -n "$FONTFORGE"; then
7277 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
7278 else
7279 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7280 for as_dir in $PATH
7282 IFS=$as_save_IFS
7283 case $as_dir in #(((
7284 '') as_dir=./ ;;
7285 */) ;;
7286 *) as_dir=$as_dir/ ;;
7287 esac
7288 for ac_exec_ext in '' $ac_executable_extensions; do
7289 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7290 ac_cv_prog_FONTFORGE="$ac_prog"
7291 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7292 break 2
7294 done
7295 done
7296 IFS=$as_save_IFS
7300 FONTFORGE=$ac_cv_prog_FONTFORGE
7301 if test -n "$FONTFORGE"; then
7302 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
7303 printf "%s\n" "$FONTFORGE" >&6; }
7304 else
7305 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7306 printf "%s\n" "no" >&6; }
7310 test -n "$FONTFORGE" && break
7311 done
7312 test -n "$FONTFORGE" || FONTFORGE="false"
7314 for ac_prog in rsvg-convert rsvg
7316 # Extract the first word of "$ac_prog", so it can be a program name with args.
7317 set dummy $ac_prog; ac_word=$2
7318 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7319 printf %s "checking for $ac_word... " >&6; }
7320 if test ${ac_cv_prog_RSVG+y}
7321 then :
7322 printf %s "(cached) " >&6
7323 else $as_nop
7324 if test -n "$RSVG"; then
7325 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
7326 else
7327 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7328 for as_dir in $PATH
7330 IFS=$as_save_IFS
7331 case $as_dir in #(((
7332 '') as_dir=./ ;;
7333 */) ;;
7334 *) as_dir=$as_dir/ ;;
7335 esac
7336 for ac_exec_ext in '' $ac_executable_extensions; do
7337 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7338 ac_cv_prog_RSVG="$ac_prog"
7339 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7340 break 2
7342 done
7343 done
7344 IFS=$as_save_IFS
7348 RSVG=$ac_cv_prog_RSVG
7349 if test -n "$RSVG"; then
7350 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
7351 printf "%s\n" "$RSVG" >&6; }
7352 else
7353 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7354 printf "%s\n" "no" >&6; }
7358 test -n "$RSVG" && break
7359 done
7360 test -n "$RSVG" || RSVG="false"
7362 for ac_prog in convert
7364 # Extract the first word of "$ac_prog", so it can be a program name with args.
7365 set dummy $ac_prog; ac_word=$2
7366 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7367 printf %s "checking for $ac_word... " >&6; }
7368 if test ${ac_cv_prog_CONVERT+y}
7369 then :
7370 printf %s "(cached) " >&6
7371 else $as_nop
7372 if test -n "$CONVERT"; then
7373 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
7374 else
7375 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7376 for as_dir in $PATH
7378 IFS=$as_save_IFS
7379 case $as_dir in #(((
7380 '') as_dir=./ ;;
7381 */) ;;
7382 *) as_dir=$as_dir/ ;;
7383 esac
7384 for ac_exec_ext in '' $ac_executable_extensions; do
7385 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7386 ac_cv_prog_CONVERT="$ac_prog"
7387 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7388 break 2
7390 done
7391 done
7392 IFS=$as_save_IFS
7396 CONVERT=$ac_cv_prog_CONVERT
7397 if test -n "$CONVERT"; then
7398 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
7399 printf "%s\n" "$CONVERT" >&6; }
7400 else
7401 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7402 printf "%s\n" "no" >&6; }
7406 test -n "$CONVERT" && break
7407 done
7408 test -n "$CONVERT" || CONVERT="false"
7410 for ac_prog in icotool
7412 # Extract the first word of "$ac_prog", so it can be a program name with args.
7413 set dummy $ac_prog; ac_word=$2
7414 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7415 printf %s "checking for $ac_word... " >&6; }
7416 if test ${ac_cv_prog_ICOTOOL+y}
7417 then :
7418 printf %s "(cached) " >&6
7419 else $as_nop
7420 if test -n "$ICOTOOL"; then
7421 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
7422 else
7423 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7424 for as_dir in $PATH
7426 IFS=$as_save_IFS
7427 case $as_dir in #(((
7428 '') as_dir=./ ;;
7429 */) ;;
7430 *) as_dir=$as_dir/ ;;
7431 esac
7432 for ac_exec_ext in '' $ac_executable_extensions; do
7433 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7434 ac_cv_prog_ICOTOOL="$ac_prog"
7435 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7436 break 2
7438 done
7439 done
7440 IFS=$as_save_IFS
7444 ICOTOOL=$ac_cv_prog_ICOTOOL
7445 if test -n "$ICOTOOL"; then
7446 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
7447 printf "%s\n" "$ICOTOOL" >&6; }
7448 else
7449 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7450 printf "%s\n" "no" >&6; }
7454 test -n "$ICOTOOL" && break
7455 done
7456 test -n "$ICOTOOL" || ICOTOOL="false"
7458 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
7459 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
7461 if test "$CONVERT" = false
7462 then
7463 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
7464 else
7465 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
7466 printf %s "checking for recent enough imagemagick... " >&6; }
7467 convert_version=`convert --version | head -n1`
7468 if test "x$convert_version" != "x"
7469 then
7470 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
7471 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
7472 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
7473 then
7474 CONVERT=false
7477 if test "$CONVERT" = false
7478 then
7479 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
7480 printf "%s\n" "no ($convert_version_major.$convert_version_minor)" >&6; }
7481 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7482 else
7483 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
7484 printf "%s\n" "yes ($convert_version_major.$convert_version_minor)" >&6; }
7488 if test "$ICOTOOL" = false
7489 then
7490 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
7491 else
7492 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
7493 printf %s "checking for recent enough icotool... " >&6; }
7494 icotool_version=`icotool --version | head -n1`
7495 if test "x$icotool_version" != "x"
7496 then
7497 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
7498 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
7499 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
7500 then
7501 ICOTOOL=false
7502 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
7505 if test "$ICOTOOL" = false
7506 then
7507 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
7508 printf "%s\n" "no ($icotool_version_major.$icotool_version_minor)" >&6; }
7509 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7510 else
7511 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
7512 printf "%s\n" "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
7516 with_gettext=yes
7517 with_gettextpo=yes
7519 enable_werror=yes
7522 test "x$with_gettext" != xno || MSGFMT=false
7523 if test "$MSGFMT" != "false"
7524 then
7525 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
7526 printf %s "checking whether msgfmt supports contexts... " >&6; }
7527 if test ${wine_cv_msgfmt_contexts+y}
7528 then :
7529 printf %s "(cached) " >&6
7530 else $as_nop
7531 cat >conftest.po <<EOF
7532 # comment
7533 msgctxt "ctxt"
7534 msgid "id"
7535 msgstr "str"
7537 if $MSGFMT -o /dev/null conftest.po 2>&5
7538 then
7539 wine_cv_msgfmt_contexts=yes
7540 else
7541 wine_cv_msgfmt_contexts=no
7544 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_msgfmt_contexts" >&5
7545 printf "%s\n" "$wine_cv_msgfmt_contexts" >&6; }
7546 test $wine_cv_msgfmt_contexts != no || MSGFMT=false
7548 if test "$MSGFMT" = false
7549 then :
7550 case "x$with_gettext" in
7551 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
7552 xno) ;;
7553 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
7554 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
7555 esac
7556 enable_po=${enable_po:-no}
7560 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
7561 printf %s "checking for i386_set_ldt in -li386... " >&6; }
7562 if test ${ac_cv_lib_i386_i386_set_ldt+y}
7563 then :
7564 printf %s "(cached) " >&6
7565 else $as_nop
7566 ac_check_lib_save_LIBS=$LIBS
7567 LIBS="-li386 $LIBS"
7568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7569 /* end confdefs.h. */
7571 /* Override any GCC internal prototype to avoid an error.
7572 Use char because int might match the return type of a GCC
7573 builtin and then its argument prototype would still apply. */
7574 char i386_set_ldt ();
7576 main (void)
7578 return i386_set_ldt ();
7580 return 0;
7582 _ACEOF
7583 if ac_fn_c_try_link "$LINENO"
7584 then :
7585 ac_cv_lib_i386_i386_set_ldt=yes
7586 else $as_nop
7587 ac_cv_lib_i386_i386_set_ldt=no
7589 rm -f core conftest.err conftest.$ac_objext conftest.beam \
7590 conftest$ac_exeext conftest.$ac_ext
7591 LIBS=$ac_check_lib_save_LIBS
7593 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
7594 printf "%s\n" "$ac_cv_lib_i386_i386_set_ldt" >&6; }
7595 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes
7596 then :
7597 I386_LIBS="-li386"
7602 OPENGL_LIBS=""
7606 # Check whether --enable-largefile was given.
7607 if test ${enable_largefile+y}
7608 then :
7609 enableval=$enable_largefile;
7612 if test "$enable_largefile" != no; then
7614 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
7615 printf %s "checking for special C compiler options needed for large files... " >&6; }
7616 if test ${ac_cv_sys_largefile_CC+y}
7617 then :
7618 printf %s "(cached) " >&6
7619 else $as_nop
7620 ac_cv_sys_largefile_CC=no
7621 if test "$GCC" != yes; then
7622 ac_save_CC=$CC
7623 while :; do
7624 # IRIX 6.2 and later do not support large files by default,
7625 # so use the C compiler's -n32 option if that helps.
7626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7627 /* end confdefs.h. */
7628 #include <sys/types.h>
7629 /* Check that off_t can represent 2**63 - 1 correctly.
7630 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7631 since some C++ compilers masquerading as C compilers
7632 incorrectly reject 9223372036854775807. */
7633 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7634 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7635 && LARGE_OFF_T % 2147483647 == 1)
7636 ? 1 : -1];
7638 main (void)
7642 return 0;
7644 _ACEOF
7645 if ac_fn_c_try_compile "$LINENO"
7646 then :
7647 break
7649 rm -f core conftest.err conftest.$ac_objext conftest.beam
7650 CC="$CC -n32"
7651 if ac_fn_c_try_compile "$LINENO"
7652 then :
7653 ac_cv_sys_largefile_CC=' -n32'; break
7655 rm -f core conftest.err conftest.$ac_objext conftest.beam
7656 break
7657 done
7658 CC=$ac_save_CC
7659 rm -f conftest.$ac_ext
7662 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
7663 printf "%s\n" "$ac_cv_sys_largefile_CC" >&6; }
7664 if test "$ac_cv_sys_largefile_CC" != no; then
7665 CC=$CC$ac_cv_sys_largefile_CC
7668 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
7669 printf %s "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
7670 if test ${ac_cv_sys_file_offset_bits+y}
7671 then :
7672 printf %s "(cached) " >&6
7673 else $as_nop
7674 while :; do
7675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7676 /* end confdefs.h. */
7677 #include <sys/types.h>
7678 /* Check that off_t can represent 2**63 - 1 correctly.
7679 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7680 since some C++ compilers masquerading as C compilers
7681 incorrectly reject 9223372036854775807. */
7682 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7683 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7684 && LARGE_OFF_T % 2147483647 == 1)
7685 ? 1 : -1];
7687 main (void)
7691 return 0;
7693 _ACEOF
7694 if ac_fn_c_try_compile "$LINENO"
7695 then :
7696 ac_cv_sys_file_offset_bits=no; break
7698 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7700 /* end confdefs.h. */
7701 #define _FILE_OFFSET_BITS 64
7702 #include <sys/types.h>
7703 /* Check that off_t can represent 2**63 - 1 correctly.
7704 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7705 since some C++ compilers masquerading as C compilers
7706 incorrectly reject 9223372036854775807. */
7707 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7708 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7709 && LARGE_OFF_T % 2147483647 == 1)
7710 ? 1 : -1];
7712 main (void)
7716 return 0;
7718 _ACEOF
7719 if ac_fn_c_try_compile "$LINENO"
7720 then :
7721 ac_cv_sys_file_offset_bits=64; break
7723 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7724 ac_cv_sys_file_offset_bits=unknown
7725 break
7726 done
7728 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
7729 printf "%s\n" "$ac_cv_sys_file_offset_bits" >&6; }
7730 case $ac_cv_sys_file_offset_bits in #(
7731 no | unknown) ;;
7733 printf "%s\n" "#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits" >>confdefs.h
7735 esac
7736 rm -rf conftest*
7737 if test $ac_cv_sys_file_offset_bits = unknown; then
7738 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
7739 printf %s "checking for _LARGE_FILES value needed for large files... " >&6; }
7740 if test ${ac_cv_sys_large_files+y}
7741 then :
7742 printf %s "(cached) " >&6
7743 else $as_nop
7744 while :; do
7745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7746 /* end confdefs.h. */
7747 #include <sys/types.h>
7748 /* Check that off_t can represent 2**63 - 1 correctly.
7749 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7750 since some C++ compilers masquerading as C compilers
7751 incorrectly reject 9223372036854775807. */
7752 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7753 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7754 && LARGE_OFF_T % 2147483647 == 1)
7755 ? 1 : -1];
7757 main (void)
7761 return 0;
7763 _ACEOF
7764 if ac_fn_c_try_compile "$LINENO"
7765 then :
7766 ac_cv_sys_large_files=no; break
7768 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7770 /* end confdefs.h. */
7771 #define _LARGE_FILES 1
7772 #include <sys/types.h>
7773 /* Check that off_t can represent 2**63 - 1 correctly.
7774 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7775 since some C++ compilers masquerading as C compilers
7776 incorrectly reject 9223372036854775807. */
7777 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7778 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7779 && LARGE_OFF_T % 2147483647 == 1)
7780 ? 1 : -1];
7782 main (void)
7786 return 0;
7788 _ACEOF
7789 if ac_fn_c_try_compile "$LINENO"
7790 then :
7791 ac_cv_sys_large_files=1; break
7793 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7794 ac_cv_sys_large_files=unknown
7795 break
7796 done
7798 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
7799 printf "%s\n" "$ac_cv_sys_large_files" >&6; }
7800 case $ac_cv_sys_large_files in #(
7801 no | unknown) ;;
7803 printf "%s\n" "#define _LARGE_FILES $ac_cv_sys_large_files" >>confdefs.h
7805 esac
7806 rm -rf conftest*
7811 ac_header= ac_cache=
7812 for ac_item in $ac_header_c_list
7814 if test $ac_cache; then
7815 ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
7816 if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
7817 printf "%s\n" "#define $ac_item 1" >> confdefs.h
7819 ac_header= ac_cache=
7820 elif test $ac_header; then
7821 ac_cache=$ac_item
7822 else
7823 ac_header=$ac_item
7825 done
7834 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
7835 then :
7837 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
7840 ac_fn_c_check_header_compile "$LINENO" "CL/cl.h" "ac_cv_header_CL_cl_h" "$ac_includes_default"
7841 if test "x$ac_cv_header_CL_cl_h" = xyes
7842 then :
7843 printf "%s\n" "#define HAVE_CL_CL_H 1" >>confdefs.h
7846 ac_fn_c_check_header_compile "$LINENO" "EGL/egl.h" "ac_cv_header_EGL_egl_h" "$ac_includes_default"
7847 if test "x$ac_cv_header_EGL_egl_h" = xyes
7848 then :
7849 printf "%s\n" "#define HAVE_EGL_EGL_H 1" >>confdefs.h
7852 ac_fn_c_check_header_compile "$LINENO" "OpenCL/opencl.h" "ac_cv_header_OpenCL_opencl_h" "$ac_includes_default"
7853 if test "x$ac_cv_header_OpenCL_opencl_h" = xyes
7854 then :
7855 printf "%s\n" "#define HAVE_OPENCL_OPENCL_H 1" >>confdefs.h
7858 ac_fn_c_check_header_compile "$LINENO" "PCSC/pcsclite.h" "ac_cv_header_PCSC_pcsclite_h" "$ac_includes_default"
7859 if test "x$ac_cv_header_PCSC_pcsclite_h" = xyes
7860 then :
7861 printf "%s\n" "#define HAVE_PCSC_PCSCLITE_H 1" >>confdefs.h
7864 ac_fn_c_check_header_compile "$LINENO" "arpa/inet.h" "ac_cv_header_arpa_inet_h" "$ac_includes_default"
7865 if test "x$ac_cv_header_arpa_inet_h" = xyes
7866 then :
7867 printf "%s\n" "#define HAVE_ARPA_INET_H 1" >>confdefs.h
7870 ac_fn_c_check_header_compile "$LINENO" "arpa/nameser.h" "ac_cv_header_arpa_nameser_h" "$ac_includes_default"
7871 if test "x$ac_cv_header_arpa_nameser_h" = xyes
7872 then :
7873 printf "%s\n" "#define HAVE_ARPA_NAMESER_H 1" >>confdefs.h
7876 ac_fn_c_check_header_compile "$LINENO" "asm/types.h" "ac_cv_header_asm_types_h" "$ac_includes_default"
7877 if test "x$ac_cv_header_asm_types_h" = xyes
7878 then :
7879 printf "%s\n" "#define HAVE_ASM_TYPES_H 1" >>confdefs.h
7882 ac_fn_c_check_header_compile "$LINENO" "asm/user.h" "ac_cv_header_asm_user_h" "$ac_includes_default"
7883 if test "x$ac_cv_header_asm_user_h" = xyes
7884 then :
7885 printf "%s\n" "#define HAVE_ASM_USER_H 1" >>confdefs.h
7888 ac_fn_c_check_header_compile "$LINENO" "elf.h" "ac_cv_header_elf_h" "$ac_includes_default"
7889 if test "x$ac_cv_header_elf_h" = xyes
7890 then :
7891 printf "%s\n" "#define HAVE_ELF_H 1" >>confdefs.h
7894 ac_fn_c_check_header_compile "$LINENO" "float.h" "ac_cv_header_float_h" "$ac_includes_default"
7895 if test "x$ac_cv_header_float_h" = xyes
7896 then :
7897 printf "%s\n" "#define HAVE_FLOAT_H 1" >>confdefs.h
7900 ac_fn_c_check_header_compile "$LINENO" "gettext-po.h" "ac_cv_header_gettext_po_h" "$ac_includes_default"
7901 if test "x$ac_cv_header_gettext_po_h" = xyes
7902 then :
7903 printf "%s\n" "#define HAVE_GETTEXT_PO_H 1" >>confdefs.h
7906 ac_fn_c_check_header_compile "$LINENO" "libproc.h" "ac_cv_header_libproc_h" "$ac_includes_default"
7907 if test "x$ac_cv_header_libproc_h" = xyes
7908 then :
7909 printf "%s\n" "#define HAVE_LIBPROC_H 1" >>confdefs.h
7912 ac_fn_c_check_header_compile "$LINENO" "link.h" "ac_cv_header_link_h" "$ac_includes_default"
7913 if test "x$ac_cv_header_link_h" = xyes
7914 then :
7915 printf "%s\n" "#define HAVE_LINK_H 1" >>confdefs.h
7918 ac_fn_c_check_header_compile "$LINENO" "linux/cdrom.h" "ac_cv_header_linux_cdrom_h" "$ac_includes_default"
7919 if test "x$ac_cv_header_linux_cdrom_h" = xyes
7920 then :
7921 printf "%s\n" "#define HAVE_LINUX_CDROM_H 1" >>confdefs.h
7924 ac_fn_c_check_header_compile "$LINENO" "linux/filter.h" "ac_cv_header_linux_filter_h" "$ac_includes_default"
7925 if test "x$ac_cv_header_linux_filter_h" = xyes
7926 then :
7927 printf "%s\n" "#define HAVE_LINUX_FILTER_H 1" >>confdefs.h
7930 ac_fn_c_check_header_compile "$LINENO" "linux/hdreg.h" "ac_cv_header_linux_hdreg_h" "$ac_includes_default"
7931 if test "x$ac_cv_header_linux_hdreg_h" = xyes
7932 then :
7933 printf "%s\n" "#define HAVE_LINUX_HDREG_H 1" >>confdefs.h
7936 ac_fn_c_check_header_compile "$LINENO" "linux/hidraw.h" "ac_cv_header_linux_hidraw_h" "$ac_includes_default"
7937 if test "x$ac_cv_header_linux_hidraw_h" = xyes
7938 then :
7939 printf "%s\n" "#define HAVE_LINUX_HIDRAW_H 1" >>confdefs.h
7942 ac_fn_c_check_header_compile "$LINENO" "linux/input.h" "ac_cv_header_linux_input_h" "$ac_includes_default"
7943 if test "x$ac_cv_header_linux_input_h" = xyes
7944 then :
7945 printf "%s\n" "#define HAVE_LINUX_INPUT_H 1" >>confdefs.h
7948 ac_fn_c_check_header_compile "$LINENO" "linux/ioctl.h" "ac_cv_header_linux_ioctl_h" "$ac_includes_default"
7949 if test "x$ac_cv_header_linux_ioctl_h" = xyes
7950 then :
7951 printf "%s\n" "#define HAVE_LINUX_IOCTL_H 1" >>confdefs.h
7954 ac_fn_c_check_header_compile "$LINENO" "linux/major.h" "ac_cv_header_linux_major_h" "$ac_includes_default"
7955 if test "x$ac_cv_header_linux_major_h" = xyes
7956 then :
7957 printf "%s\n" "#define HAVE_LINUX_MAJOR_H 1" >>confdefs.h
7960 ac_fn_c_check_header_compile "$LINENO" "linux/param.h" "ac_cv_header_linux_param_h" "$ac_includes_default"
7961 if test "x$ac_cv_header_linux_param_h" = xyes
7962 then :
7963 printf "%s\n" "#define HAVE_LINUX_PARAM_H 1" >>confdefs.h
7966 ac_fn_c_check_header_compile "$LINENO" "linux/serial.h" "ac_cv_header_linux_serial_h" "$ac_includes_default"
7967 if test "x$ac_cv_header_linux_serial_h" = xyes
7968 then :
7969 printf "%s\n" "#define HAVE_LINUX_SERIAL_H 1" >>confdefs.h
7972 ac_fn_c_check_header_compile "$LINENO" "linux/types.h" "ac_cv_header_linux_types_h" "$ac_includes_default"
7973 if test "x$ac_cv_header_linux_types_h" = xyes
7974 then :
7975 printf "%s\n" "#define HAVE_LINUX_TYPES_H 1" >>confdefs.h
7978 ac_fn_c_check_header_compile "$LINENO" "linux/ucdrom.h" "ac_cv_header_linux_ucdrom_h" "$ac_includes_default"
7979 if test "x$ac_cv_header_linux_ucdrom_h" = xyes
7980 then :
7981 printf "%s\n" "#define HAVE_LINUX_UCDROM_H 1" >>confdefs.h
7984 ac_fn_c_check_header_compile "$LINENO" "linux/wireless.h" "ac_cv_header_linux_wireless_h" "$ac_includes_default"
7985 if test "x$ac_cv_header_linux_wireless_h" = xyes
7986 then :
7987 printf "%s\n" "#define HAVE_LINUX_WIRELESS_H 1" >>confdefs.h
7990 ac_fn_c_check_header_compile "$LINENO" "lwp.h" "ac_cv_header_lwp_h" "$ac_includes_default"
7991 if test "x$ac_cv_header_lwp_h" = xyes
7992 then :
7993 printf "%s\n" "#define HAVE_LWP_H 1" >>confdefs.h
7996 ac_fn_c_check_header_compile "$LINENO" "mach-o/loader.h" "ac_cv_header_mach_o_loader_h" "$ac_includes_default"
7997 if test "x$ac_cv_header_mach_o_loader_h" = xyes
7998 then :
7999 printf "%s\n" "#define HAVE_MACH_O_LOADER_H 1" >>confdefs.h
8002 ac_fn_c_check_header_compile "$LINENO" "mach/mach.h" "ac_cv_header_mach_mach_h" "$ac_includes_default"
8003 if test "x$ac_cv_header_mach_mach_h" = xyes
8004 then :
8005 printf "%s\n" "#define HAVE_MACH_MACH_H 1" >>confdefs.h
8008 ac_fn_c_check_header_compile "$LINENO" "machine/cpu.h" "ac_cv_header_machine_cpu_h" "$ac_includes_default"
8009 if test "x$ac_cv_header_machine_cpu_h" = xyes
8010 then :
8011 printf "%s\n" "#define HAVE_MACHINE_CPU_H 1" >>confdefs.h
8014 ac_fn_c_check_header_compile "$LINENO" "machine/sysarch.h" "ac_cv_header_machine_sysarch_h" "$ac_includes_default"
8015 if test "x$ac_cv_header_machine_sysarch_h" = xyes
8016 then :
8017 printf "%s\n" "#define HAVE_MACHINE_SYSARCH_H 1" >>confdefs.h
8020 ac_fn_c_check_header_compile "$LINENO" "mntent.h" "ac_cv_header_mntent_h" "$ac_includes_default"
8021 if test "x$ac_cv_header_mntent_h" = xyes
8022 then :
8023 printf "%s\n" "#define HAVE_MNTENT_H 1" >>confdefs.h
8026 ac_fn_c_check_header_compile "$LINENO" "netdb.h" "ac_cv_header_netdb_h" "$ac_includes_default"
8027 if test "x$ac_cv_header_netdb_h" = xyes
8028 then :
8029 printf "%s\n" "#define HAVE_NETDB_H 1" >>confdefs.h
8032 ac_fn_c_check_header_compile "$LINENO" "netinet/in.h" "ac_cv_header_netinet_in_h" "$ac_includes_default"
8033 if test "x$ac_cv_header_netinet_in_h" = xyes
8034 then :
8035 printf "%s\n" "#define HAVE_NETINET_IN_H 1" >>confdefs.h
8038 ac_fn_c_check_header_compile "$LINENO" "netinet/in_systm.h" "ac_cv_header_netinet_in_systm_h" "$ac_includes_default"
8039 if test "x$ac_cv_header_netinet_in_systm_h" = xyes
8040 then :
8041 printf "%s\n" "#define HAVE_NETINET_IN_SYSTM_H 1" >>confdefs.h
8044 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp.h" "ac_cv_header_netinet_tcp_h" "$ac_includes_default"
8045 if test "x$ac_cv_header_netinet_tcp_h" = xyes
8046 then :
8047 printf "%s\n" "#define HAVE_NETINET_TCP_H 1" >>confdefs.h
8050 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp_fsm.h" "ac_cv_header_netinet_tcp_fsm_h" "$ac_includes_default"
8051 if test "x$ac_cv_header_netinet_tcp_fsm_h" = xyes
8052 then :
8053 printf "%s\n" "#define HAVE_NETINET_TCP_FSM_H 1" >>confdefs.h
8056 ac_fn_c_check_header_compile "$LINENO" "pcap/pcap.h" "ac_cv_header_pcap_pcap_h" "$ac_includes_default"
8057 if test "x$ac_cv_header_pcap_pcap_h" = xyes
8058 then :
8059 printf "%s\n" "#define HAVE_PCAP_PCAP_H 1" >>confdefs.h
8062 ac_fn_c_check_header_compile "$LINENO" "port.h" "ac_cv_header_port_h" "$ac_includes_default"
8063 if test "x$ac_cv_header_port_h" = xyes
8064 then :
8065 printf "%s\n" "#define HAVE_PORT_H 1" >>confdefs.h
8068 ac_fn_c_check_header_compile "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"
8069 if test "x$ac_cv_header_pthread_h" = xyes
8070 then :
8071 printf "%s\n" "#define HAVE_PTHREAD_H 1" >>confdefs.h
8074 ac_fn_c_check_header_compile "$LINENO" "pwd.h" "ac_cv_header_pwd_h" "$ac_includes_default"
8075 if test "x$ac_cv_header_pwd_h" = xyes
8076 then :
8077 printf "%s\n" "#define HAVE_PWD_H 1" >>confdefs.h
8080 ac_fn_c_check_header_compile "$LINENO" "sched.h" "ac_cv_header_sched_h" "$ac_includes_default"
8081 if test "x$ac_cv_header_sched_h" = xyes
8082 then :
8083 printf "%s\n" "#define HAVE_SCHED_H 1" >>confdefs.h
8086 ac_fn_c_check_header_compile "$LINENO" "scsi/scsi.h" "ac_cv_header_scsi_scsi_h" "$ac_includes_default"
8087 if test "x$ac_cv_header_scsi_scsi_h" = xyes
8088 then :
8089 printf "%s\n" "#define HAVE_SCSI_SCSI_H 1" >>confdefs.h
8092 ac_fn_c_check_header_compile "$LINENO" "scsi/scsi_ioctl.h" "ac_cv_header_scsi_scsi_ioctl_h" "$ac_includes_default"
8093 if test "x$ac_cv_header_scsi_scsi_ioctl_h" = xyes
8094 then :
8095 printf "%s\n" "#define HAVE_SCSI_SCSI_IOCTL_H 1" >>confdefs.h
8098 ac_fn_c_check_header_compile "$LINENO" "scsi/sg.h" "ac_cv_header_scsi_sg_h" "$ac_includes_default"
8099 if test "x$ac_cv_header_scsi_sg_h" = xyes
8100 then :
8101 printf "%s\n" "#define HAVE_SCSI_SG_H 1" >>confdefs.h
8104 ac_fn_c_check_header_compile "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
8105 if test "x$ac_cv_header_stdint_h" = xyes
8106 then :
8107 printf "%s\n" "#define HAVE_STDINT_H 1" >>confdefs.h
8110 ac_fn_c_check_header_compile "$LINENO" "sys/attr.h" "ac_cv_header_sys_attr_h" "$ac_includes_default"
8111 if test "x$ac_cv_header_sys_attr_h" = xyes
8112 then :
8113 printf "%s\n" "#define HAVE_SYS_ATTR_H 1" >>confdefs.h
8116 ac_fn_c_check_header_compile "$LINENO" "sys/auxv.h" "ac_cv_header_sys_auxv_h" "$ac_includes_default"
8117 if test "x$ac_cv_header_sys_auxv_h" = xyes
8118 then :
8119 printf "%s\n" "#define HAVE_SYS_AUXV_H 1" >>confdefs.h
8122 ac_fn_c_check_header_compile "$LINENO" "sys/cdio.h" "ac_cv_header_sys_cdio_h" "$ac_includes_default"
8123 if test "x$ac_cv_header_sys_cdio_h" = xyes
8124 then :
8125 printf "%s\n" "#define HAVE_SYS_CDIO_H 1" >>confdefs.h
8128 ac_fn_c_check_header_compile "$LINENO" "sys/epoll.h" "ac_cv_header_sys_epoll_h" "$ac_includes_default"
8129 if test "x$ac_cv_header_sys_epoll_h" = xyes
8130 then :
8131 printf "%s\n" "#define HAVE_SYS_EPOLL_H 1" >>confdefs.h
8134 ac_fn_c_check_header_compile "$LINENO" "sys/event.h" "ac_cv_header_sys_event_h" "$ac_includes_default"
8135 if test "x$ac_cv_header_sys_event_h" = xyes
8136 then :
8137 printf "%s\n" "#define HAVE_SYS_EVENT_H 1" >>confdefs.h
8140 ac_fn_c_check_header_compile "$LINENO" "sys/extattr.h" "ac_cv_header_sys_extattr_h" "$ac_includes_default"
8141 if test "x$ac_cv_header_sys_extattr_h" = xyes
8142 then :
8143 printf "%s\n" "#define HAVE_SYS_EXTATTR_H 1" >>confdefs.h
8146 ac_fn_c_check_header_compile "$LINENO" "sys/filio.h" "ac_cv_header_sys_filio_h" "$ac_includes_default"
8147 if test "x$ac_cv_header_sys_filio_h" = xyes
8148 then :
8149 printf "%s\n" "#define HAVE_SYS_FILIO_H 1" >>confdefs.h
8152 ac_fn_c_check_header_compile "$LINENO" "sys/ipc.h" "ac_cv_header_sys_ipc_h" "$ac_includes_default"
8153 if test "x$ac_cv_header_sys_ipc_h" = xyes
8154 then :
8155 printf "%s\n" "#define HAVE_SYS_IPC_H 1" >>confdefs.h
8158 ac_fn_c_check_header_compile "$LINENO" "sys/link.h" "ac_cv_header_sys_link_h" "$ac_includes_default"
8159 if test "x$ac_cv_header_sys_link_h" = xyes
8160 then :
8161 printf "%s\n" "#define HAVE_SYS_LINK_H 1" >>confdefs.h
8164 ac_fn_c_check_header_compile "$LINENO" "sys/modem.h" "ac_cv_header_sys_modem_h" "$ac_includes_default"
8165 if test "x$ac_cv_header_sys_modem_h" = xyes
8166 then :
8167 printf "%s\n" "#define HAVE_SYS_MODEM_H 1" >>confdefs.h
8170 ac_fn_c_check_header_compile "$LINENO" "sys/mtio.h" "ac_cv_header_sys_mtio_h" "$ac_includes_default"
8171 if test "x$ac_cv_header_sys_mtio_h" = xyes
8172 then :
8173 printf "%s\n" "#define HAVE_SYS_MTIO_H 1" >>confdefs.h
8176 ac_fn_c_check_header_compile "$LINENO" "sys/param.h" "ac_cv_header_sys_param_h" "$ac_includes_default"
8177 if test "x$ac_cv_header_sys_param_h" = xyes
8178 then :
8179 printf "%s\n" "#define HAVE_SYS_PARAM_H 1" >>confdefs.h
8182 ac_fn_c_check_header_compile "$LINENO" "sys/prctl.h" "ac_cv_header_sys_prctl_h" "$ac_includes_default"
8183 if test "x$ac_cv_header_sys_prctl_h" = xyes
8184 then :
8185 printf "%s\n" "#define HAVE_SYS_PRCTL_H 1" >>confdefs.h
8188 ac_fn_c_check_header_compile "$LINENO" "sys/ptrace.h" "ac_cv_header_sys_ptrace_h" "$ac_includes_default"
8189 if test "x$ac_cv_header_sys_ptrace_h" = xyes
8190 then :
8191 printf "%s\n" "#define HAVE_SYS_PTRACE_H 1" >>confdefs.h
8194 ac_fn_c_check_header_compile "$LINENO" "sys/queue.h" "ac_cv_header_sys_queue_h" "$ac_includes_default"
8195 if test "x$ac_cv_header_sys_queue_h" = xyes
8196 then :
8197 printf "%s\n" "#define HAVE_SYS_QUEUE_H 1" >>confdefs.h
8200 ac_fn_c_check_header_compile "$LINENO" "sys/random.h" "ac_cv_header_sys_random_h" "$ac_includes_default"
8201 if test "x$ac_cv_header_sys_random_h" = xyes
8202 then :
8203 printf "%s\n" "#define HAVE_SYS_RANDOM_H 1" >>confdefs.h
8206 ac_fn_c_check_header_compile "$LINENO" "sys/resource.h" "ac_cv_header_sys_resource_h" "$ac_includes_default"
8207 if test "x$ac_cv_header_sys_resource_h" = xyes
8208 then :
8209 printf "%s\n" "#define HAVE_SYS_RESOURCE_H 1" >>confdefs.h
8212 ac_fn_c_check_header_compile "$LINENO" "sys/scsiio.h" "ac_cv_header_sys_scsiio_h" "$ac_includes_default"
8213 if test "x$ac_cv_header_sys_scsiio_h" = xyes
8214 then :
8215 printf "%s\n" "#define HAVE_SYS_SCSIIO_H 1" >>confdefs.h
8218 ac_fn_c_check_header_compile "$LINENO" "sys/shm.h" "ac_cv_header_sys_shm_h" "$ac_includes_default"
8219 if test "x$ac_cv_header_sys_shm_h" = xyes
8220 then :
8221 printf "%s\n" "#define HAVE_SYS_SHM_H 1" >>confdefs.h
8224 ac_fn_c_check_header_compile "$LINENO" "sys/signal.h" "ac_cv_header_sys_signal_h" "$ac_includes_default"
8225 if test "x$ac_cv_header_sys_signal_h" = xyes
8226 then :
8227 printf "%s\n" "#define HAVE_SYS_SIGNAL_H 1" >>confdefs.h
8230 ac_fn_c_check_header_compile "$LINENO" "sys/socketvar.h" "ac_cv_header_sys_socketvar_h" "$ac_includes_default"
8231 if test "x$ac_cv_header_sys_socketvar_h" = xyes
8232 then :
8233 printf "%s\n" "#define HAVE_SYS_SOCKETVAR_H 1" >>confdefs.h
8236 ac_fn_c_check_header_compile "$LINENO" "sys/sockio.h" "ac_cv_header_sys_sockio_h" "$ac_includes_default"
8237 if test "x$ac_cv_header_sys_sockio_h" = xyes
8238 then :
8239 printf "%s\n" "#define HAVE_SYS_SOCKIO_H 1" >>confdefs.h
8242 ac_fn_c_check_header_compile "$LINENO" "sys/statvfs.h" "ac_cv_header_sys_statvfs_h" "$ac_includes_default"
8243 if test "x$ac_cv_header_sys_statvfs_h" = xyes
8244 then :
8245 printf "%s\n" "#define HAVE_SYS_STATVFS_H 1" >>confdefs.h
8248 ac_fn_c_check_header_compile "$LINENO" "sys/strtio.h" "ac_cv_header_sys_strtio_h" "$ac_includes_default"
8249 if test "x$ac_cv_header_sys_strtio_h" = xyes
8250 then :
8251 printf "%s\n" "#define HAVE_SYS_STRTIO_H 1" >>confdefs.h
8254 ac_fn_c_check_header_compile "$LINENO" "sys/syscall.h" "ac_cv_header_sys_syscall_h" "$ac_includes_default"
8255 if test "x$ac_cv_header_sys_syscall_h" = xyes
8256 then :
8257 printf "%s\n" "#define HAVE_SYS_SYSCALL_H 1" >>confdefs.h
8260 ac_fn_c_check_header_compile "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
8261 if test "x$ac_cv_header_sys_sysinfo_h" = xyes
8262 then :
8263 printf "%s\n" "#define HAVE_SYS_SYSINFO_H 1" >>confdefs.h
8266 ac_fn_c_check_header_compile "$LINENO" "sys/times.h" "ac_cv_header_sys_times_h" "$ac_includes_default"
8267 if test "x$ac_cv_header_sys_times_h" = xyes
8268 then :
8269 printf "%s\n" "#define HAVE_SYS_TIMES_H 1" >>confdefs.h
8272 ac_fn_c_check_header_compile "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
8273 if test "x$ac_cv_header_sys_uio_h" = xyes
8274 then :
8275 printf "%s\n" "#define HAVE_SYS_UIO_H 1" >>confdefs.h
8278 ac_fn_c_check_header_compile "$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "$ac_includes_default"
8279 if test "x$ac_cv_header_sys_user_h" = xyes
8280 then :
8281 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8284 ac_fn_c_check_header_compile "$LINENO" "sys/utsname.h" "ac_cv_header_sys_utsname_h" "$ac_includes_default"
8285 if test "x$ac_cv_header_sys_utsname_h" = xyes
8286 then :
8287 printf "%s\n" "#define HAVE_SYS_UTSNAME_H 1" >>confdefs.h
8290 ac_fn_c_check_header_compile "$LINENO" "sys/vnode.h" "ac_cv_header_sys_vnode_h" "$ac_includes_default"
8291 if test "x$ac_cv_header_sys_vnode_h" = xyes
8292 then :
8293 printf "%s\n" "#define HAVE_SYS_VNODE_H 1" >>confdefs.h
8296 ac_fn_c_check_header_compile "$LINENO" "sys/xattr.h" "ac_cv_header_sys_xattr_h" "$ac_includes_default"
8297 if test "x$ac_cv_header_sys_xattr_h" = xyes
8298 then :
8299 printf "%s\n" "#define HAVE_SYS_XATTR_H 1" >>confdefs.h
8302 ac_fn_c_check_header_compile "$LINENO" "syscall.h" "ac_cv_header_syscall_h" "$ac_includes_default"
8303 if test "x$ac_cv_header_syscall_h" = xyes
8304 then :
8305 printf "%s\n" "#define HAVE_SYSCALL_H 1" >>confdefs.h
8308 ac_fn_c_check_header_compile "$LINENO" "utime.h" "ac_cv_header_utime_h" "$ac_includes_default"
8309 if test "x$ac_cv_header_utime_h" = xyes
8310 then :
8311 printf "%s\n" "#define HAVE_UTIME_H 1" >>confdefs.h
8314 ac_fn_c_check_header_compile "$LINENO" "valgrind/memcheck.h" "ac_cv_header_valgrind_memcheck_h" "$ac_includes_default"
8315 if test "x$ac_cv_header_valgrind_memcheck_h" = xyes
8316 then :
8317 printf "%s\n" "#define HAVE_VALGRIND_MEMCHECK_H 1" >>confdefs.h
8320 ac_fn_c_check_header_compile "$LINENO" "valgrind/valgrind.h" "ac_cv_header_valgrind_valgrind_h" "$ac_includes_default"
8321 if test "x$ac_cv_header_valgrind_valgrind_h" = xyes
8322 then :
8323 printf "%s\n" "#define HAVE_VALGRIND_VALGRIND_H 1" >>confdefs.h
8327 ac_fn_c_check_header_compile "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
8328 if test "x$ac_cv_header_sys_mkdev_h" = xyes
8329 then :
8331 printf "%s\n" "#define MAJOR_IN_MKDEV 1" >>confdefs.h
8335 if test $ac_cv_header_sys_mkdev_h = no; then
8336 ac_fn_c_check_header_compile "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
8337 if test "x$ac_cv_header_sys_sysmacros_h" = xyes
8338 then :
8340 printf "%s\n" "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
8345 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
8346 printf %s "checking whether stat file-mode macros are broken... " >&6; }
8347 if test ${ac_cv_header_stat_broken+y}
8348 then :
8349 printf %s "(cached) " >&6
8350 else $as_nop
8351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8352 /* end confdefs.h. */
8353 #include <sys/types.h>
8354 #include <sys/stat.h>
8356 #if defined S_ISBLK && defined S_IFDIR
8357 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
8358 #endif
8360 #if defined S_ISBLK && defined S_IFCHR
8361 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
8362 #endif
8364 #if defined S_ISLNK && defined S_IFREG
8365 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
8366 #endif
8368 #if defined S_ISSOCK && defined S_IFREG
8369 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
8370 #endif
8372 _ACEOF
8373 if ac_fn_c_try_compile "$LINENO"
8374 then :
8375 ac_cv_header_stat_broken=no
8376 else $as_nop
8377 ac_cv_header_stat_broken=yes
8379 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8381 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
8382 printf "%s\n" "$ac_cv_header_stat_broken" >&6; }
8383 if test $ac_cv_header_stat_broken = yes; then
8385 printf "%s\n" "#define STAT_MACROS_BROKEN 1" >>confdefs.h
8391 ac_fn_c_check_header_compile "$LINENO" "sys/conf.h" "ac_cv_header_sys_conf_h" "#include <sys/types.h>
8392 #ifdef HAVE_SYS_PARAM_H
8393 # include <sys/param.h>
8394 #endif
8396 if test "x$ac_cv_header_sys_conf_h" = xyes
8397 then :
8398 printf "%s\n" "#define HAVE_SYS_CONF_H 1" >>confdefs.h
8401 ac_fn_c_check_header_compile "$LINENO" "sys/mount.h" "ac_cv_header_sys_mount_h" "#include <sys/types.h>
8402 #ifdef HAVE_SYS_PARAM_H
8403 # include <sys/param.h>
8404 #endif
8406 if test "x$ac_cv_header_sys_mount_h" = xyes
8407 then :
8408 printf "%s\n" "#define HAVE_SYS_MOUNT_H 1" >>confdefs.h
8411 ac_fn_c_check_header_compile "$LINENO" "sys/statfs.h" "ac_cv_header_sys_statfs_h" "#include <sys/types.h>
8412 #ifdef HAVE_SYS_PARAM_H
8413 # include <sys/param.h>
8414 #endif
8416 if test "x$ac_cv_header_sys_statfs_h" = xyes
8417 then :
8418 printf "%s\n" "#define HAVE_SYS_STATFS_H 1" >>confdefs.h
8421 ac_fn_c_check_header_compile "$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "#include <sys/types.h>
8422 #ifdef HAVE_SYS_PARAM_H
8423 # include <sys/param.h>
8424 #endif
8426 if test "x$ac_cv_header_sys_user_h" = xyes
8427 then :
8428 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8431 ac_fn_c_check_header_compile "$LINENO" "sys/vfs.h" "ac_cv_header_sys_vfs_h" "#include <sys/types.h>
8432 #ifdef HAVE_SYS_PARAM_H
8433 # include <sys/param.h>
8434 #endif
8436 if test "x$ac_cv_header_sys_vfs_h" = xyes
8437 then :
8438 printf "%s\n" "#define HAVE_SYS_VFS_H 1" >>confdefs.h
8443 saved_sysctl_h_CFLAGS=$CFLAGS
8444 test "x${GCC}" != xyes || CFLAGS="$CFLAGS -Werror"
8445 ac_fn_c_check_header_compile "$LINENO" "sys/sysctl.h" "ac_cv_header_sys_sysctl_h" "#include <sys/types.h>
8446 #ifdef HAVE_SYS_PARAM_H
8447 # include <sys/param.h>
8448 #endif
8450 if test "x$ac_cv_header_sys_sysctl_h" = xyes
8451 then :
8452 printf "%s\n" "#define HAVE_SYS_SYSCTL_H 1" >>confdefs.h
8456 CFLAGS=$saved_sysctl_h_CFLAGS
8458 ac_fn_c_check_header_compile "$LINENO" "netinet/ip.h" "ac_cv_header_netinet_ip_h" "#include <sys/types.h>
8459 #include <sys/socket.h>
8460 #ifdef HAVE_SYS_SOCKETVAR_H
8461 # include <sys/socketvar.h>
8462 #endif
8463 #ifdef HAVE_NET_ROUTE_H
8464 # include <net/route.h>
8465 #endif
8466 #ifdef HAVE_NETINET_IN_H
8467 # include <netinet/in.h>
8468 #endif
8469 #ifdef HAVE_NETINET_IN_SYSTM_H
8470 # include <netinet/in_systm.h>
8471 #endif
8472 #ifdef HAVE_NET_IF_H
8473 # include <net/if.h>
8474 #endif
8475 #ifdef HAVE_NETINET_IP_H
8476 # include <netinet/ip.h>
8477 #endif
8479 if test "x$ac_cv_header_netinet_ip_h" = xyes
8480 then :
8481 printf "%s\n" "#define HAVE_NETINET_IP_H 1" >>confdefs.h
8484 ac_fn_c_check_header_compile "$LINENO" "net/if.h" "ac_cv_header_net_if_h" "#include <sys/types.h>
8485 #include <sys/socket.h>
8486 #ifdef HAVE_SYS_SOCKETVAR_H
8487 # include <sys/socketvar.h>
8488 #endif
8489 #ifdef HAVE_NET_ROUTE_H
8490 # include <net/route.h>
8491 #endif
8492 #ifdef HAVE_NETINET_IN_H
8493 # include <netinet/in.h>
8494 #endif
8495 #ifdef HAVE_NETINET_IN_SYSTM_H
8496 # include <netinet/in_systm.h>
8497 #endif
8498 #ifdef HAVE_NET_IF_H
8499 # include <net/if.h>
8500 #endif
8501 #ifdef HAVE_NETINET_IP_H
8502 # include <netinet/ip.h>
8503 #endif
8505 if test "x$ac_cv_header_net_if_h" = xyes
8506 then :
8507 printf "%s\n" "#define HAVE_NET_IF_H 1" >>confdefs.h
8510 ac_fn_c_check_header_compile "$LINENO" "net/if_arp.h" "ac_cv_header_net_if_arp_h" "#include <sys/types.h>
8511 #include <sys/socket.h>
8512 #ifdef HAVE_SYS_SOCKETVAR_H
8513 # include <sys/socketvar.h>
8514 #endif
8515 #ifdef HAVE_NET_ROUTE_H
8516 # include <net/route.h>
8517 #endif
8518 #ifdef HAVE_NETINET_IN_H
8519 # include <netinet/in.h>
8520 #endif
8521 #ifdef HAVE_NETINET_IN_SYSTM_H
8522 # include <netinet/in_systm.h>
8523 #endif
8524 #ifdef HAVE_NET_IF_H
8525 # include <net/if.h>
8526 #endif
8527 #ifdef HAVE_NETINET_IP_H
8528 # include <netinet/ip.h>
8529 #endif
8531 if test "x$ac_cv_header_net_if_arp_h" = xyes
8532 then :
8533 printf "%s\n" "#define HAVE_NET_IF_ARP_H 1" >>confdefs.h
8536 ac_fn_c_check_header_compile "$LINENO" "net/if_dl.h" "ac_cv_header_net_if_dl_h" "#include <sys/types.h>
8537 #include <sys/socket.h>
8538 #ifdef HAVE_SYS_SOCKETVAR_H
8539 # include <sys/socketvar.h>
8540 #endif
8541 #ifdef HAVE_NET_ROUTE_H
8542 # include <net/route.h>
8543 #endif
8544 #ifdef HAVE_NETINET_IN_H
8545 # include <netinet/in.h>
8546 #endif
8547 #ifdef HAVE_NETINET_IN_SYSTM_H
8548 # include <netinet/in_systm.h>
8549 #endif
8550 #ifdef HAVE_NET_IF_H
8551 # include <net/if.h>
8552 #endif
8553 #ifdef HAVE_NETINET_IP_H
8554 # include <netinet/ip.h>
8555 #endif
8557 if test "x$ac_cv_header_net_if_dl_h" = xyes
8558 then :
8559 printf "%s\n" "#define HAVE_NET_IF_DL_H 1" >>confdefs.h
8562 ac_fn_c_check_header_compile "$LINENO" "net/if_types.h" "ac_cv_header_net_if_types_h" "#include <sys/types.h>
8563 #include <sys/socket.h>
8564 #ifdef HAVE_SYS_SOCKETVAR_H
8565 # include <sys/socketvar.h>
8566 #endif
8567 #ifdef HAVE_NET_ROUTE_H
8568 # include <net/route.h>
8569 #endif
8570 #ifdef HAVE_NETINET_IN_H
8571 # include <netinet/in.h>
8572 #endif
8573 #ifdef HAVE_NETINET_IN_SYSTM_H
8574 # include <netinet/in_systm.h>
8575 #endif
8576 #ifdef HAVE_NET_IF_H
8577 # include <net/if.h>
8578 #endif
8579 #ifdef HAVE_NETINET_IP_H
8580 # include <netinet/ip.h>
8581 #endif
8583 if test "x$ac_cv_header_net_if_types_h" = xyes
8584 then :
8585 printf "%s\n" "#define HAVE_NET_IF_TYPES_H 1" >>confdefs.h
8588 ac_fn_c_check_header_compile "$LINENO" "net/route.h" "ac_cv_header_net_route_h" "#include <sys/types.h>
8589 #include <sys/socket.h>
8590 #ifdef HAVE_SYS_SOCKETVAR_H
8591 # include <sys/socketvar.h>
8592 #endif
8593 #ifdef HAVE_NET_ROUTE_H
8594 # include <net/route.h>
8595 #endif
8596 #ifdef HAVE_NETINET_IN_H
8597 # include <netinet/in.h>
8598 #endif
8599 #ifdef HAVE_NETINET_IN_SYSTM_H
8600 # include <netinet/in_systm.h>
8601 #endif
8602 #ifdef HAVE_NET_IF_H
8603 # include <net/if.h>
8604 #endif
8605 #ifdef HAVE_NETINET_IP_H
8606 # include <netinet/ip.h>
8607 #endif
8609 if test "x$ac_cv_header_net_route_h" = xyes
8610 then :
8611 printf "%s\n" "#define HAVE_NET_ROUTE_H 1" >>confdefs.h
8614 ac_fn_c_check_header_compile "$LINENO" "netinet/if_ether.h" "ac_cv_header_netinet_if_ether_h" "#include <sys/types.h>
8615 #include <sys/socket.h>
8616 #ifdef HAVE_SYS_SOCKETVAR_H
8617 # include <sys/socketvar.h>
8618 #endif
8619 #ifdef HAVE_NET_ROUTE_H
8620 # include <net/route.h>
8621 #endif
8622 #ifdef HAVE_NETINET_IN_H
8623 # include <netinet/in.h>
8624 #endif
8625 #ifdef HAVE_NETINET_IN_SYSTM_H
8626 # include <netinet/in_systm.h>
8627 #endif
8628 #ifdef HAVE_NET_IF_H
8629 # include <net/if.h>
8630 #endif
8631 #ifdef HAVE_NETINET_IP_H
8632 # include <netinet/ip.h>
8633 #endif
8635 if test "x$ac_cv_header_netinet_if_ether_h" = xyes
8636 then :
8637 printf "%s\n" "#define HAVE_NETINET_IF_ETHER_H 1" >>confdefs.h
8640 ac_fn_c_check_header_compile "$LINENO" "netinet/in_pcb.h" "ac_cv_header_netinet_in_pcb_h" "#include <sys/types.h>
8641 #include <sys/socket.h>
8642 #ifdef HAVE_SYS_SOCKETVAR_H
8643 # include <sys/socketvar.h>
8644 #endif
8645 #ifdef HAVE_NET_ROUTE_H
8646 # include <net/route.h>
8647 #endif
8648 #ifdef HAVE_NETINET_IN_H
8649 # include <netinet/in.h>
8650 #endif
8651 #ifdef HAVE_NETINET_IN_SYSTM_H
8652 # include <netinet/in_systm.h>
8653 #endif
8654 #ifdef HAVE_NET_IF_H
8655 # include <net/if.h>
8656 #endif
8657 #ifdef HAVE_NETINET_IP_H
8658 # include <netinet/ip.h>
8659 #endif
8661 if test "x$ac_cv_header_netinet_in_pcb_h" = xyes
8662 then :
8663 printf "%s\n" "#define HAVE_NETINET_IN_PCB_H 1" >>confdefs.h
8666 ac_fn_c_check_header_compile "$LINENO" "netinet/ip_icmp.h" "ac_cv_header_netinet_ip_icmp_h" "#include <sys/types.h>
8667 #include <sys/socket.h>
8668 #ifdef HAVE_SYS_SOCKETVAR_H
8669 # include <sys/socketvar.h>
8670 #endif
8671 #ifdef HAVE_NET_ROUTE_H
8672 # include <net/route.h>
8673 #endif
8674 #ifdef HAVE_NETINET_IN_H
8675 # include <netinet/in.h>
8676 #endif
8677 #ifdef HAVE_NETINET_IN_SYSTM_H
8678 # include <netinet/in_systm.h>
8679 #endif
8680 #ifdef HAVE_NET_IF_H
8681 # include <net/if.h>
8682 #endif
8683 #ifdef HAVE_NETINET_IP_H
8684 # include <netinet/ip.h>
8685 #endif
8687 if test "x$ac_cv_header_netinet_ip_icmp_h" = xyes
8688 then :
8689 printf "%s\n" "#define HAVE_NETINET_IP_ICMP_H 1" >>confdefs.h
8692 ac_fn_c_check_header_compile "$LINENO" "netinet/ip_var.h" "ac_cv_header_netinet_ip_var_h" "#include <sys/types.h>
8693 #include <sys/socket.h>
8694 #ifdef HAVE_SYS_SOCKETVAR_H
8695 # include <sys/socketvar.h>
8696 #endif
8697 #ifdef HAVE_NET_ROUTE_H
8698 # include <net/route.h>
8699 #endif
8700 #ifdef HAVE_NETINET_IN_H
8701 # include <netinet/in.h>
8702 #endif
8703 #ifdef HAVE_NETINET_IN_SYSTM_H
8704 # include <netinet/in_systm.h>
8705 #endif
8706 #ifdef HAVE_NET_IF_H
8707 # include <net/if.h>
8708 #endif
8709 #ifdef HAVE_NETINET_IP_H
8710 # include <netinet/ip.h>
8711 #endif
8713 if test "x$ac_cv_header_netinet_ip_var_h" = xyes
8714 then :
8715 printf "%s\n" "#define HAVE_NETINET_IP_VAR_H 1" >>confdefs.h
8718 ac_fn_c_check_header_compile "$LINENO" "netinet/udp.h" "ac_cv_header_netinet_udp_h" "#include <sys/types.h>
8719 #include <sys/socket.h>
8720 #ifdef HAVE_SYS_SOCKETVAR_H
8721 # include <sys/socketvar.h>
8722 #endif
8723 #ifdef HAVE_NET_ROUTE_H
8724 # include <net/route.h>
8725 #endif
8726 #ifdef HAVE_NETINET_IN_H
8727 # include <netinet/in.h>
8728 #endif
8729 #ifdef HAVE_NETINET_IN_SYSTM_H
8730 # include <netinet/in_systm.h>
8731 #endif
8732 #ifdef HAVE_NET_IF_H
8733 # include <net/if.h>
8734 #endif
8735 #ifdef HAVE_NETINET_IP_H
8736 # include <netinet/ip.h>
8737 #endif
8739 if test "x$ac_cv_header_netinet_udp_h" = xyes
8740 then :
8741 printf "%s\n" "#define HAVE_NETINET_UDP_H 1" >>confdefs.h
8744 ac_fn_c_check_header_compile "$LINENO" "netinet6/ip6_var.h" "ac_cv_header_netinet6_ip6_var_h" "#include <sys/types.h>
8745 #include <sys/socket.h>
8746 #ifdef HAVE_SYS_SOCKETVAR_H
8747 # include <sys/socketvar.h>
8748 #endif
8749 #ifdef HAVE_NET_ROUTE_H
8750 # include <net/route.h>
8751 #endif
8752 #ifdef HAVE_NETINET_IN_H
8753 # include <netinet/in.h>
8754 #endif
8755 #ifdef HAVE_NETINET_IN_SYSTM_H
8756 # include <netinet/in_systm.h>
8757 #endif
8758 #ifdef HAVE_NET_IF_H
8759 # include <net/if.h>
8760 #endif
8761 #ifdef HAVE_NETINET_IP_H
8762 # include <netinet/ip.h>
8763 #endif
8765 if test "x$ac_cv_header_netinet6_ip6_var_h" = xyes
8766 then :
8767 printf "%s\n" "#define HAVE_NETINET6_IP6_VAR_H 1" >>confdefs.h
8770 ac_fn_c_check_header_compile "$LINENO" "netipx/ipx.h" "ac_cv_header_netipx_ipx_h" "#include <sys/types.h>
8771 #include <sys/socket.h>
8772 #ifdef HAVE_SYS_SOCKETVAR_H
8773 # include <sys/socketvar.h>
8774 #endif
8775 #ifdef HAVE_NET_ROUTE_H
8776 # include <net/route.h>
8777 #endif
8778 #ifdef HAVE_NETINET_IN_H
8779 # include <netinet/in.h>
8780 #endif
8781 #ifdef HAVE_NETINET_IN_SYSTM_H
8782 # include <netinet/in_systm.h>
8783 #endif
8784 #ifdef HAVE_NET_IF_H
8785 # include <net/if.h>
8786 #endif
8787 #ifdef HAVE_NETINET_IP_H
8788 # include <netinet/ip.h>
8789 #endif
8791 if test "x$ac_cv_header_netipx_ipx_h" = xyes
8792 then :
8793 printf "%s\n" "#define HAVE_NETIPX_IPX_H 1" >>confdefs.h
8796 ac_fn_c_check_header_compile "$LINENO" "sys/un.h" "ac_cv_header_sys_un_h" "#include <sys/types.h>
8797 #include <sys/socket.h>
8798 #ifdef HAVE_SYS_SOCKETVAR_H
8799 # include <sys/socketvar.h>
8800 #endif
8801 #ifdef HAVE_NET_ROUTE_H
8802 # include <net/route.h>
8803 #endif
8804 #ifdef HAVE_NETINET_IN_H
8805 # include <netinet/in.h>
8806 #endif
8807 #ifdef HAVE_NETINET_IN_SYSTM_H
8808 # include <netinet/in_systm.h>
8809 #endif
8810 #ifdef HAVE_NET_IF_H
8811 # include <net/if.h>
8812 #endif
8813 #ifdef HAVE_NETINET_IP_H
8814 # include <netinet/ip.h>
8815 #endif
8817 if test "x$ac_cv_header_sys_un_h" = xyes
8818 then :
8819 printf "%s\n" "#define HAVE_SYS_UN_H 1" >>confdefs.h
8824 ac_fn_c_check_header_compile "$LINENO" "netinet/udp_var.h" "ac_cv_header_netinet_udp_var_h" "#include <sys/types.h>
8825 #include <sys/socket.h>
8826 #ifdef HAVE_SYS_SOCKETVAR_H
8827 # include <sys/socketvar.h>
8828 #endif
8829 #ifdef HAVE_NETINET_IN_H
8830 # include <netinet/in.h>
8831 #endif
8832 #ifdef HAVE_NETINET_IN_SYSTM_H
8833 # include <netinet/in_systm.h>
8834 #endif
8835 #ifdef HAVE_NETINET_IP_H
8836 # include <netinet/ip.h>
8837 #endif
8838 #ifdef HAVE_NETINET_IP_VAR_H
8839 # include <netinet/ip_var.h>
8840 #endif
8841 #ifdef HAVE_NETINET_IP_ICMP_H
8842 # include <netinet/ip_icmp.h>
8843 #endif
8844 #ifdef HAVE_NETINET_UDP_H
8845 # include <netinet/udp.h>
8846 #endif
8847 #ifdef HAVE_NETINET_TCP_H
8848 # include <netinet/tcp.h>
8849 #endif
8851 if test "x$ac_cv_header_netinet_udp_var_h" = xyes
8852 then :
8853 printf "%s\n" "#define HAVE_NETINET_UDP_VAR_H 1" >>confdefs.h
8856 ac_fn_c_check_header_compile "$LINENO" "netinet/icmp_var.h" "ac_cv_header_netinet_icmp_var_h" "#include <sys/types.h>
8857 #include <sys/socket.h>
8858 #ifdef HAVE_SYS_SOCKETVAR_H
8859 # include <sys/socketvar.h>
8860 #endif
8861 #ifdef HAVE_NETINET_IN_H
8862 # include <netinet/in.h>
8863 #endif
8864 #ifdef HAVE_NETINET_IN_SYSTM_H
8865 # include <netinet/in_systm.h>
8866 #endif
8867 #ifdef HAVE_NETINET_IP_H
8868 # include <netinet/ip.h>
8869 #endif
8870 #ifdef HAVE_NETINET_IP_VAR_H
8871 # include <netinet/ip_var.h>
8872 #endif
8873 #ifdef HAVE_NETINET_IP_ICMP_H
8874 # include <netinet/ip_icmp.h>
8875 #endif
8876 #ifdef HAVE_NETINET_UDP_H
8877 # include <netinet/udp.h>
8878 #endif
8879 #ifdef HAVE_NETINET_TCP_H
8880 # include <netinet/tcp.h>
8881 #endif
8883 if test "x$ac_cv_header_netinet_icmp_var_h" = xyes
8884 then :
8885 printf "%s\n" "#define HAVE_NETINET_ICMP_VAR_H 1" >>confdefs.h
8888 ac_fn_c_check_header_compile "$LINENO" "netinet/icmp6.h" "ac_cv_header_netinet_icmp6_h" "#include <sys/types.h>
8889 #include <sys/socket.h>
8890 #ifdef HAVE_SYS_SOCKETVAR_H
8891 # include <sys/socketvar.h>
8892 #endif
8893 #ifdef HAVE_NETINET_IN_H
8894 # include <netinet/in.h>
8895 #endif
8896 #ifdef HAVE_NETINET_IN_SYSTM_H
8897 # include <netinet/in_systm.h>
8898 #endif
8899 #ifdef HAVE_NETINET_IP_H
8900 # include <netinet/ip.h>
8901 #endif
8902 #ifdef HAVE_NETINET_IP_VAR_H
8903 # include <netinet/ip_var.h>
8904 #endif
8905 #ifdef HAVE_NETINET_IP_ICMP_H
8906 # include <netinet/ip_icmp.h>
8907 #endif
8908 #ifdef HAVE_NETINET_UDP_H
8909 # include <netinet/udp.h>
8910 #endif
8911 #ifdef HAVE_NETINET_TCP_H
8912 # include <netinet/tcp.h>
8913 #endif
8915 if test "x$ac_cv_header_netinet_icmp6_h" = xyes
8916 then :
8917 printf "%s\n" "#define HAVE_NETINET_ICMP6_H 1" >>confdefs.h
8920 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp_var.h" "ac_cv_header_netinet_tcp_var_h" "#include <sys/types.h>
8921 #include <sys/socket.h>
8922 #ifdef HAVE_SYS_SOCKETVAR_H
8923 # include <sys/socketvar.h>
8924 #endif
8925 #ifdef HAVE_NETINET_IN_H
8926 # include <netinet/in.h>
8927 #endif
8928 #ifdef HAVE_NETINET_IN_SYSTM_H
8929 # include <netinet/in_systm.h>
8930 #endif
8931 #ifdef HAVE_NETINET_IP_H
8932 # include <netinet/ip.h>
8933 #endif
8934 #ifdef HAVE_NETINET_IP_VAR_H
8935 # include <netinet/ip_var.h>
8936 #endif
8937 #ifdef HAVE_NETINET_IP_ICMP_H
8938 # include <netinet/ip_icmp.h>
8939 #endif
8940 #ifdef HAVE_NETINET_UDP_H
8941 # include <netinet/udp.h>
8942 #endif
8943 #ifdef HAVE_NETINET_TCP_H
8944 # include <netinet/tcp.h>
8945 #endif
8947 if test "x$ac_cv_header_netinet_tcp_var_h" = xyes
8948 then :
8949 printf "%s\n" "#define HAVE_NETINET_TCP_VAR_H 1" >>confdefs.h
8954 ac_fn_c_check_header_compile "$LINENO" "linux/ipx.h" "ac_cv_header_linux_ipx_h" "#include <sys/types.h>
8955 #include <sys/socket.h>
8956 #ifdef HAVE_ASM_TYPES_H
8957 # include <asm/types.h>
8958 #endif
8959 #ifdef HAVE_LINUX_TYPES_H
8960 # include <linux/types.h>
8961 #endif
8963 if test "x$ac_cv_header_linux_ipx_h" = xyes
8964 then :
8965 printf "%s\n" "#define HAVE_LINUX_IPX_H 1" >>confdefs.h
8968 ac_fn_c_check_header_compile "$LINENO" "linux/irda.h" "ac_cv_header_linux_irda_h" "#include <sys/types.h>
8969 #include <sys/socket.h>
8970 #ifdef HAVE_ASM_TYPES_H
8971 # include <asm/types.h>
8972 #endif
8973 #ifdef HAVE_LINUX_TYPES_H
8974 # include <linux/types.h>
8975 #endif
8977 if test "x$ac_cv_header_linux_irda_h" = xyes
8978 then :
8979 printf "%s\n" "#define HAVE_LINUX_IRDA_H 1" >>confdefs.h
8982 ac_fn_c_check_header_compile "$LINENO" "linux/rtnetlink.h" "ac_cv_header_linux_rtnetlink_h" "#include <sys/types.h>
8983 #include <sys/socket.h>
8984 #ifdef HAVE_ASM_TYPES_H
8985 # include <asm/types.h>
8986 #endif
8987 #ifdef HAVE_LINUX_TYPES_H
8988 # include <linux/types.h>
8989 #endif
8991 if test "x$ac_cv_header_linux_rtnetlink_h" = xyes
8992 then :
8993 printf "%s\n" "#define HAVE_LINUX_RTNETLINK_H 1" >>confdefs.h
8998 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
8999 #include <sys/socket.h>
9000 #ifdef HAVE_NETINET_IN_H
9001 # include <netinet/in.h>
9002 #endif
9003 #ifdef HAVE_ARPA_NAMESER_H
9004 # include <arpa/nameser.h>
9005 #endif
9007 if test "x$ac_cv_header_resolv_h" = xyes
9008 then :
9009 printf "%s\n" "#define HAVE_RESOLV_H 1" >>confdefs.h
9014 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
9016 if test "x$ac_cv_header_ifaddrs_h" = xyes
9017 then :
9018 printf "%s\n" "#define HAVE_IFADDRS_H 1" >>confdefs.h
9023 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
9025 if test "x$ac_cv_header_sys_ucontext_h" = xyes
9026 then :
9027 printf "%s\n" "#define HAVE_SYS_UCONTEXT_H 1" >>confdefs.h
9032 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
9033 #ifdef HAVE_SYS_UCONTEXT_H
9034 #include <sys/ucontext.h>
9035 #endif
9037 if test "x$ac_cv_header_sys_thr_h" = xyes
9038 then :
9039 printf "%s\n" "#define HAVE_SYS_THR_H 1" >>confdefs.h
9044 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
9045 #include <pthread.h>
9046 #endif
9048 if test "x$ac_cv_header_pthread_np_h" = xyes
9049 then :
9050 printf "%s\n" "#define HAVE_PTHREAD_NP_H 1" >>confdefs.h
9055 ac_fn_c_check_header_compile "$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "#include <sys/time.h>
9056 #include <sys/types.h>
9057 #ifdef HAVE_ASM_TYPES_H
9058 #include <asm/types.h>
9059 #endif
9061 if test "x$ac_cv_header_linux_videodev2_h" = xyes
9062 then :
9063 printf "%s\n" "#define HAVE_LINUX_VIDEODEV2_H 1" >>confdefs.h
9068 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
9069 #include <sys/param.h>
9070 #endif
9071 #include <sys/socket.h>
9072 #ifdef HAVE_SYS_QUEUE_H
9073 #include <sys/queue.h>
9074 #endif
9076 if test "x$ac_cv_header_libprocstat_h" = xyes
9077 then :
9078 printf "%s\n" "#define HAVE_LIBPROCSTAT_H 1" >>confdefs.h
9083 if test "x$ac_cv_header_sys_xattr_h" = xyes
9084 then
9085 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether getxattr takes additional arguments" >&5
9086 printf %s "checking whether getxattr takes additional arguments... " >&6; }
9087 if test ${wine_cv_xattr_extra_args+y}
9088 then :
9089 printf %s "(cached) " >&6
9090 else $as_nop
9091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9092 /* end confdefs.h. */
9093 #include <sys/xattr.h>
9095 main (void)
9097 getxattr("", "", "", 0, 0, 0);
9099 return 0;
9101 _ACEOF
9102 if ac_fn_c_try_compile "$LINENO"
9103 then :
9104 wine_cv_xattr_extra_args=yes
9105 else $as_nop
9106 wine_cv_xattr_extra_args=no
9108 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9110 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_xattr_extra_args" >&5
9111 printf "%s\n" "$wine_cv_xattr_extra_args" >&6; }
9112 test $wine_cv_xattr_extra_args != yes ||
9113 printf "%s\n" "#define XATTR_ADDITIONAL_OPTIONS 1" >>confdefs.h
9118 DLLFLAGS=""
9120 LDDLLFLAGS=""
9122 LDEXECFLAGS=""
9124 EXTRACFLAGS=""
9126 UNIXDLLFLAGS="-fPIC"
9128 UNIXLDFLAGS="-shared -Wl,-Bsymbolic -Wl,-soname,\$(UNIXLIB)"
9130 TOP_INSTALL_LIB=""
9132 TOP_INSTALL_DEV=""
9134 WINELOADER_LDFLAGS=""
9136 WINEPRELOADER_LDFLAGS=""
9138 DLLEXT=".so"
9140 LIBEXT="so"
9141 # Extract the first word of "ldd", so it can be a program name with args.
9142 set dummy ldd; ac_word=$2
9143 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9144 printf %s "checking for $ac_word... " >&6; }
9145 if test ${ac_cv_path_LDD+y}
9146 then :
9147 printf %s "(cached) " >&6
9148 else $as_nop
9149 case $LDD in
9150 [\\/]* | ?:[\\/]*)
9151 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
9154 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9155 as_dummy="/sbin:/usr/sbin:$PATH"
9156 for as_dir in $as_dummy
9158 IFS=$as_save_IFS
9159 case $as_dir in #(((
9160 '') as_dir=./ ;;
9161 */) ;;
9162 *) as_dir=$as_dir/ ;;
9163 esac
9164 for ac_exec_ext in '' $ac_executable_extensions; do
9165 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9166 ac_cv_path_LDD="$as_dir$ac_word$ac_exec_ext"
9167 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9168 break 2
9170 done
9171 done
9172 IFS=$as_save_IFS
9174 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
9176 esac
9178 LDD=$ac_cv_path_LDD
9179 if test -n "$LDD"; then
9180 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
9181 printf "%s\n" "$LDD" >&6; }
9182 else
9183 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9184 printf "%s\n" "no" >&6; }
9188 if test -n "$ac_tool_prefix"; then
9189 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
9190 set dummy ${ac_tool_prefix}otool; ac_word=$2
9191 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9192 printf %s "checking for $ac_word... " >&6; }
9193 if test ${ac_cv_prog_OTOOL+y}
9194 then :
9195 printf %s "(cached) " >&6
9196 else $as_nop
9197 if test -n "$OTOOL"; then
9198 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
9199 else
9200 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9201 for as_dir in $PATH
9203 IFS=$as_save_IFS
9204 case $as_dir in #(((
9205 '') as_dir=./ ;;
9206 */) ;;
9207 *) as_dir=$as_dir/ ;;
9208 esac
9209 for ac_exec_ext in '' $ac_executable_extensions; do
9210 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9211 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
9212 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9213 break 2
9215 done
9216 done
9217 IFS=$as_save_IFS
9221 OTOOL=$ac_cv_prog_OTOOL
9222 if test -n "$OTOOL"; then
9223 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
9224 printf "%s\n" "$OTOOL" >&6; }
9225 else
9226 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9227 printf "%s\n" "no" >&6; }
9232 if test -z "$ac_cv_prog_OTOOL"; then
9233 ac_ct_OTOOL=$OTOOL
9234 # Extract the first word of "otool", so it can be a program name with args.
9235 set dummy otool; ac_word=$2
9236 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9237 printf %s "checking for $ac_word... " >&6; }
9238 if test ${ac_cv_prog_ac_ct_OTOOL+y}
9239 then :
9240 printf %s "(cached) " >&6
9241 else $as_nop
9242 if test -n "$ac_ct_OTOOL"; then
9243 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
9244 else
9245 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9246 for as_dir in $PATH
9248 IFS=$as_save_IFS
9249 case $as_dir in #(((
9250 '') as_dir=./ ;;
9251 */) ;;
9252 *) as_dir=$as_dir/ ;;
9253 esac
9254 for ac_exec_ext in '' $ac_executable_extensions; do
9255 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9256 ac_cv_prog_ac_ct_OTOOL="otool"
9257 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9258 break 2
9260 done
9261 done
9262 IFS=$as_save_IFS
9266 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
9267 if test -n "$ac_ct_OTOOL"; then
9268 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
9269 printf "%s\n" "$ac_ct_OTOOL" >&6; }
9270 else
9271 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9272 printf "%s\n" "no" >&6; }
9275 if test "x$ac_ct_OTOOL" = x; then
9276 OTOOL="otool"
9277 else
9278 case $cross_compiling:$ac_tool_warned in
9279 yes:)
9280 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9281 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9282 ac_tool_warned=yes ;;
9283 esac
9284 OTOOL=$ac_ct_OTOOL
9286 else
9287 OTOOL="$ac_cv_prog_OTOOL"
9290 if test -n "$ac_tool_prefix"; then
9291 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
9292 set dummy ${ac_tool_prefix}readelf; ac_word=$2
9293 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9294 printf %s "checking for $ac_word... " >&6; }
9295 if test ${ac_cv_prog_READELF+y}
9296 then :
9297 printf %s "(cached) " >&6
9298 else $as_nop
9299 if test -n "$READELF"; then
9300 ac_cv_prog_READELF="$READELF" # Let the user override the test.
9301 else
9302 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9303 for as_dir in $PATH
9305 IFS=$as_save_IFS
9306 case $as_dir in #(((
9307 '') as_dir=./ ;;
9308 */) ;;
9309 *) as_dir=$as_dir/ ;;
9310 esac
9311 for ac_exec_ext in '' $ac_executable_extensions; do
9312 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9313 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
9314 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9315 break 2
9317 done
9318 done
9319 IFS=$as_save_IFS
9323 READELF=$ac_cv_prog_READELF
9324 if test -n "$READELF"; then
9325 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
9326 printf "%s\n" "$READELF" >&6; }
9327 else
9328 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9329 printf "%s\n" "no" >&6; }
9334 if test -z "$ac_cv_prog_READELF"; then
9335 ac_ct_READELF=$READELF
9336 # Extract the first word of "readelf", so it can be a program name with args.
9337 set dummy readelf; ac_word=$2
9338 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9339 printf %s "checking for $ac_word... " >&6; }
9340 if test ${ac_cv_prog_ac_ct_READELF+y}
9341 then :
9342 printf %s "(cached) " >&6
9343 else $as_nop
9344 if test -n "$ac_ct_READELF"; then
9345 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
9346 else
9347 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9348 for as_dir in $PATH
9350 IFS=$as_save_IFS
9351 case $as_dir in #(((
9352 '') as_dir=./ ;;
9353 */) ;;
9354 *) as_dir=$as_dir/ ;;
9355 esac
9356 for ac_exec_ext in '' $ac_executable_extensions; do
9357 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9358 ac_cv_prog_ac_ct_READELF="readelf"
9359 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9360 break 2
9362 done
9363 done
9364 IFS=$as_save_IFS
9368 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
9369 if test -n "$ac_ct_READELF"; then
9370 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
9371 printf "%s\n" "$ac_ct_READELF" >&6; }
9372 else
9373 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9374 printf "%s\n" "no" >&6; }
9377 if test "x$ac_ct_READELF" = x; then
9378 READELF="true"
9379 else
9380 case $cross_compiling:$ac_tool_warned in
9381 yes:)
9382 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9383 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9384 ac_tool_warned=yes ;;
9385 esac
9386 READELF=$ac_ct_READELF
9388 else
9389 READELF="$ac_cv_prog_READELF"
9392 wine_rules="all:"
9393 SUBDIRS=""
9395 DISABLED_SUBDIRS=""
9397 CONFIGURE_TARGETS=""
9400 wine_fn_config_makefile ()
9402 as_fn_append SUBDIRS " \\$as_nl $1"
9403 eval enable=\$$2
9404 case "$enable" in
9405 no) as_fn_append DISABLED_SUBDIRS " $1" ;;
9406 *aarch64*|*arm*|*i386*|*x86_64*)
9407 if test -n "$PE_ARCHS"
9408 then
9409 for i in $PE_ARCHS
9411 test $(expr ",$enable," : ".*,$i,") -gt 0 || as_fn_append ${i}_DISABLED_SUBDIRS " $1"
9412 done
9413 else
9414 test $(expr ",$enable," : ".*,$HOST_ARCH,") -gt 0 || as_fn_append DISABLED_SUBDIRS " $1"
9415 fi;;
9416 esac
9419 wine_fn_config_symlink ()
9421 ac_links=$@
9422 as_fn_append wine_rules "
9423 $ac_links:
9424 @./config.status \$@"
9425 for f in $ac_links; do as_fn_append CONFIGURE_TARGETS " $f"; done
9428 case $host_os in
9429 cygwin*|mingw32*)
9430 LIBEXT="dll"
9431 DLLEXT=""
9432 EXTRACFLAGS="-D__WINE_PE_BUILD"
9433 case $host_cpu in
9434 *i[3456]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--disable-stdcall-fixup" >&5
9435 printf %s "checking whether the compiler supports -Wl,--disable-stdcall-fixup... " >&6; }
9436 if test ${ac_cv_cflags__Wl___disable_stdcall_fixup+y}
9437 then :
9438 printf %s "(cached) " >&6
9439 else $as_nop
9440 ac_wine_try_cflags_saved=$CFLAGS
9441 CFLAGS="$CFLAGS -Wl,--disable-stdcall-fixup"
9442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9443 /* end confdefs.h. */
9444 int main(int argc, char **argv) { return 0; }
9445 _ACEOF
9446 if ac_fn_c_try_link "$LINENO"
9447 then :
9448 ac_cv_cflags__Wl___disable_stdcall_fixup=yes
9449 else $as_nop
9450 ac_cv_cflags__Wl___disable_stdcall_fixup=no
9452 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9453 conftest$ac_exeext conftest.$ac_ext
9454 CFLAGS=$ac_wine_try_cflags_saved
9456 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___disable_stdcall_fixup" >&5
9457 printf "%s\n" "$ac_cv_cflags__Wl___disable_stdcall_fixup" >&6; }
9458 if test "x$ac_cv_cflags__Wl___disable_stdcall_fixup" = xyes
9459 then :
9460 LDDLLFLAGS="-Wl,--disable-stdcall-fixup"
9461 fi ;;
9462 esac
9463 enable_loader=${enable_loader:-no}
9464 enable_server=${enable_server:-no}
9465 with_x=${with_x:-no}
9466 with_pthread=${with_pthread:-no}
9469 darwin*|macosx*)
9470 LIBEXT="dylib"
9471 DLLFLAGS="$DLLFLAGS -fPIC"
9472 LDDLLFLAGS="-fPIC"
9473 enable_winemac_drv=${enable_winemac_drv:-yes}
9474 CARBON_LIBS="-framework Carbon"
9476 COREFOUNDATION_LIBS="-framework CoreFoundation"
9478 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
9480 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
9482 METAL_LIBS="-framework Metal"
9484 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
9486 CORESERVICES_LIBS="-framework CoreServices"
9488 APPKIT_LIBS="-framework AppKit"
9490 SECURITY_LIBS="-framework Security -framework CoreFoundation"
9492 SYSTEMCONFIGURATION_LIBS="-framework SystemConfiguration"
9495 WINELOADER_LDFLAGS="-Wl,-pie,-segalign,0x1000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist"
9497 case $host_cpu in
9498 *i[3456]86*|*x86_64*) wine_can_build_preloader=yes ;;
9499 *) wine_can_build_preloader=no ;;
9500 esac
9502 if test "$wine_can_build_preloader" = "yes"
9503 then
9504 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"
9505 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
9506 printf %s "checking whether the compiler supports -Wl,-no_pie... " >&6; }
9507 if test ${ac_cv_cflags__Wl__no_pie+y}
9508 then :
9509 printf %s "(cached) " >&6
9510 else $as_nop
9511 ac_wine_try_cflags_saved=$CFLAGS
9512 CFLAGS="$CFLAGS -Wl,-no_pie"
9513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9514 /* end confdefs.h. */
9515 int main(int argc, char **argv) { return 0; }
9516 _ACEOF
9517 if ac_fn_c_try_link "$LINENO"
9518 then :
9519 ac_cv_cflags__Wl__no_pie=yes
9520 else $as_nop
9521 ac_cv_cflags__Wl__no_pie=no
9523 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9524 conftest$ac_exeext conftest.$ac_ext
9525 CFLAGS=$ac_wine_try_cflags_saved
9527 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
9528 printf "%s\n" "$ac_cv_cflags__Wl__no_pie" >&6; }
9529 if test "x$ac_cv_cflags__Wl__no_pie" = xyes
9530 then :
9531 WINEPRELOADER_LDFLAGS="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
9533 case $host_cpu in
9534 *i[3456]86*)
9535 WINEPRELOADER_LDFLAGS="-Wl,-image_base,0x7d400000 $WINEPRELOADER_LDFLAGS"
9537 *x86_64*)
9538 WINEPRELOADER_LDFLAGS="-Wl,-image_base,0x200000000,-segalign,0x1000,-segaddr,WINE_RESERVE,0x1000 $WINEPRELOADER_LDFLAGS"
9540 esac
9541 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -mmacosx-version-min=10.7"
9542 else
9543 as_fn_append wine_warnings "|can't build Wine preloader; many programs won't work"
9546 if test "x$with_coreaudio" != "xno";
9547 then
9548 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
9550 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
9552 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
9553 then
9554 OPENCL_LIBS="-framework OpenCL"
9556 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
9559 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether MTLDevice protocol supports registryID property" >&5
9560 printf %s "checking whether MTLDevice protocol supports registryID property... " >&6; }
9561 ac_ext=m
9562 ac_cpp='$OBJCPP $CPPFLAGS'
9563 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9564 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9565 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9567 ac_ext=m
9568 ac_cpp='$OBJCPP $CPPFLAGS'
9569 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9570 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9571 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9572 if test -n "$ac_tool_prefix"; then
9573 for ac_prog in gcc objcc objc cc CC clang
9575 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
9576 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
9577 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9578 printf %s "checking for $ac_word... " >&6; }
9579 if test ${ac_cv_prog_OBJC+y}
9580 then :
9581 printf %s "(cached) " >&6
9582 else $as_nop
9583 if test -n "$OBJC"; then
9584 ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
9585 else
9586 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9587 for as_dir in $PATH
9589 IFS=$as_save_IFS
9590 case $as_dir in #(((
9591 '') as_dir=./ ;;
9592 */) ;;
9593 *) as_dir=$as_dir/ ;;
9594 esac
9595 for ac_exec_ext in '' $ac_executable_extensions; do
9596 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9597 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
9598 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9599 break 2
9601 done
9602 done
9603 IFS=$as_save_IFS
9607 OBJC=$ac_cv_prog_OBJC
9608 if test -n "$OBJC"; then
9609 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
9610 printf "%s\n" "$OBJC" >&6; }
9611 else
9612 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9613 printf "%s\n" "no" >&6; }
9617 test -n "$OBJC" && break
9618 done
9620 if test -z "$OBJC"; then
9621 ac_ct_OBJC=$OBJC
9622 for ac_prog in gcc objcc objc cc CC clang
9624 # Extract the first word of "$ac_prog", so it can be a program name with args.
9625 set dummy $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_ac_ct_OBJC+y}
9629 then :
9630 printf %s "(cached) " >&6
9631 else $as_nop
9632 if test -n "$ac_ct_OBJC"; then
9633 ac_cv_prog_ac_ct_OBJC="$ac_ct_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_ac_ct_OBJC="$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 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
9657 if test -n "$ac_ct_OBJC"; then
9658 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
9659 printf "%s\n" "$ac_ct_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 "$ac_ct_OBJC" && break
9667 done
9669 if test "x$ac_ct_OBJC" = x; then
9670 OBJC="gcc"
9671 else
9672 case $cross_compiling:$ac_tool_warned in
9673 yes:)
9674 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9675 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9676 ac_tool_warned=yes ;;
9677 esac
9678 OBJC=$ac_ct_OBJC
9682 # Provide some information about the compiler.
9683 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
9684 set X $ac_compile
9685 ac_compiler=$2
9686 for ac_option in --version -v -V -qversion; do
9687 { { ac_try="$ac_compiler $ac_option >&5"
9688 case "(($ac_try" in
9689 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9690 *) ac_try_echo=$ac_try;;
9691 esac
9692 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
9693 printf "%s\n" "$ac_try_echo"; } >&5
9694 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
9695 ac_status=$?
9696 if test -s conftest.err; then
9697 sed '10a\
9698 ... rest of stderr output deleted ...
9699 10q' conftest.err >conftest.er1
9700 cat conftest.er1 >&5
9702 rm -f conftest.er1 conftest.err
9703 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9704 test $ac_status = 0; }
9705 done
9707 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU Objective C" >&5
9708 printf %s "checking whether the compiler supports GNU Objective C... " >&6; }
9709 if test ${ac_cv_objc_compiler_gnu+y}
9710 then :
9711 printf %s "(cached) " >&6
9712 else $as_nop
9713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9714 /* end confdefs.h. */
9717 main (void)
9719 #ifndef __GNUC__
9720 choke me
9721 #endif
9724 return 0;
9726 _ACEOF
9727 if ac_fn_objc_try_compile "$LINENO"
9728 then :
9729 ac_compiler_gnu=yes
9730 else $as_nop
9731 ac_compiler_gnu=no
9733 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9734 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
9737 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
9738 printf "%s\n" "$ac_cv_objc_compiler_gnu" >&6; }
9739 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9741 if test $ac_compiler_gnu = yes; then
9742 GOBJC=yes
9743 else
9744 GOBJC=
9746 ac_test_OBJCFLAGS=${OBJCFLAGS+y}
9747 ac_save_OBJCFLAGS=$OBJCFLAGS
9748 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
9749 printf %s "checking whether $OBJC accepts -g... " >&6; }
9750 if test ${ac_cv_prog_objc_g+y}
9751 then :
9752 printf %s "(cached) " >&6
9753 else $as_nop
9754 ac_save_objc_werror_flag=$ac_objc_werror_flag
9755 ac_objc_werror_flag=yes
9756 ac_cv_prog_objc_g=no
9757 OBJCFLAGS="-g"
9758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9759 /* end confdefs.h. */
9762 main (void)
9766 return 0;
9768 _ACEOF
9769 if ac_fn_objc_try_compile "$LINENO"
9770 then :
9771 ac_cv_prog_objc_g=yes
9772 else $as_nop
9773 OBJCFLAGS=""
9774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9775 /* end confdefs.h. */
9778 main (void)
9782 return 0;
9784 _ACEOF
9785 if ac_fn_objc_try_compile "$LINENO"
9786 then :
9788 else $as_nop
9789 ac_objc_werror_flag=$ac_save_objc_werror_flag
9790 OBJCFLAGS="-g"
9791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9792 /* end confdefs.h. */
9795 main (void)
9799 return 0;
9801 _ACEOF
9802 if ac_fn_objc_try_compile "$LINENO"
9803 then :
9804 ac_cv_prog_objc_g=yes
9806 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9808 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9810 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9811 ac_objc_werror_flag=$ac_save_objc_werror_flag
9813 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
9814 printf "%s\n" "$ac_cv_prog_objc_g" >&6; }
9815 if test $ac_test_OBJCFLAGS; then
9816 OBJCFLAGS=$ac_save_OBJCFLAGS
9817 elif test $ac_cv_prog_objc_g = yes; then
9818 if test "$GOBJC" = yes; then
9819 OBJCFLAGS="-g -O2"
9820 else
9821 OBJCFLAGS="-g"
9823 else
9824 if test "$GOBJC" = yes; then
9825 OBJCFLAGS="-O2"
9826 else
9827 OBJCFLAGS=
9830 ac_ext=m
9831 ac_cpp='$OBJCPP $CPPFLAGS'
9832 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9833 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9834 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9838 /* end confdefs.h. */
9839 #include <Metal/Metal.h>
9841 main (void)
9843 id<MTLDevice> device; device.registryID;
9845 return 0;
9847 _ACEOF
9848 if ac_fn_objc_try_compile "$LINENO"
9849 then :
9850 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9851 printf "%s\n" "yes" >&6; }
9853 printf "%s\n" "#define HAVE_MTLDEVICE_REGISTRYID 1" >>confdefs.h
9855 else $as_nop
9856 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9857 printf "%s\n" "no" >&6; }
9859 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9860 ac_ext=c
9861 ac_cpp='$CPP $CPPFLAGS'
9862 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9863 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9864 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9867 UNIXLDFLAGS="-dynamiclib -install_name @rpath/\$(UNIXLIB) -Wl,-rpath,@loader_path\/"
9868 WINELOADER_DEPENDS="wine_info.plist"
9872 linux-android*)
9874 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
9876 DLLFLAGS="$DLLFLAGS -fPIC"
9877 LDDLLFLAGS="-fPIC"
9878 LDEXECFLAGS="-Wl,-pie"
9879 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
9880 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
9881 printf %s "checking whether the compiler supports -Wl,-z,defs... " >&6; }
9882 if test ${ac_cv_cflags__Wl__z_defs+y}
9883 then :
9884 printf %s "(cached) " >&6
9885 else $as_nop
9886 ac_wine_try_cflags_saved=$CFLAGS
9887 CFLAGS="$CFLAGS -Wl,-z,defs"
9888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9889 /* end confdefs.h. */
9890 int main(int argc, char **argv) { return 0; }
9891 _ACEOF
9892 if ac_fn_c_try_link "$LINENO"
9893 then :
9894 ac_cv_cflags__Wl__z_defs=yes
9895 else $as_nop
9896 ac_cv_cflags__Wl__z_defs=no
9898 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9899 conftest$ac_exeext conftest.$ac_ext
9900 CFLAGS=$ac_wine_try_cflags_saved
9902 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
9903 printf "%s\n" "$ac_cv_cflags__Wl__z_defs" >&6; }
9904 if test "x$ac_cv_cflags__Wl__z_defs" = xyes
9905 then :
9906 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
9908 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
9909 printf %s "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
9910 if test ${ac_cv_cflags__fPIC__Wl___export_dynamic+y}
9911 then :
9912 printf %s "(cached) " >&6
9913 else $as_nop
9914 ac_wine_try_cflags_saved=$CFLAGS
9915 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
9916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9917 /* end confdefs.h. */
9918 int main(int argc, char **argv) { return 0; }
9919 _ACEOF
9920 if ac_fn_c_try_link "$LINENO"
9921 then :
9922 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
9923 else $as_nop
9924 ac_cv_cflags__fPIC__Wl___export_dynamic=no
9926 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9927 conftest$ac_exeext conftest.$ac_ext
9928 CFLAGS=$ac_wine_try_cflags_saved
9930 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
9931 printf "%s\n" "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
9932 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
9933 then :
9934 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9936 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
9938 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
9939 printf %s "checking for -lEGL... " >&6; }
9940 if test ${ac_cv_lib_soname_EGL+y}
9941 then :
9942 printf %s "(cached) " >&6
9943 else $as_nop
9944 ac_check_soname_save_LIBS=$LIBS
9945 LIBS="-lEGL $LIBS"
9946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9947 /* end confdefs.h. */
9949 /* Override any GCC internal prototype to avoid an error.
9950 Use char because int might match the return type of a GCC
9951 builtin and then its argument prototype would still apply. */
9952 char eglGetProcAddress ();
9954 main (void)
9956 return eglGetProcAddress ();
9958 return 0;
9960 _ACEOF
9961 if ac_fn_c_try_link "$LINENO"
9962 then :
9963 case "$LIBEXT" in
9964 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9965 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'` ;;
9966 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9967 if ${ac_cv_lib_soname_EGL:+false} :
9968 then :
9969 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9970 fi ;;
9971 esac
9972 else $as_nop
9973 ac_cv_lib_soname_EGL=
9975 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9976 conftest$ac_exeext conftest.$ac_ext
9977 LIBS=$ac_check_soname_save_LIBS
9979 if ${ac_cv_lib_soname_EGL:+false} :
9980 then :
9981 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9982 printf "%s\n" "not found" >&6; }
9984 else $as_nop
9985 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
9986 printf "%s\n" "$ac_cv_lib_soname_EGL" >&6; }
9988 printf "%s\n" "#define SONAME_LIBEGL \"$ac_cv_lib_soname_EGL\"" >>confdefs.h
9992 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
9993 printf %s "checking for -lGLESv2... " >&6; }
9994 if test ${ac_cv_lib_soname_GLESv2+y}
9995 then :
9996 printf %s "(cached) " >&6
9997 else $as_nop
9998 ac_check_soname_save_LIBS=$LIBS
9999 LIBS="-lGLESv2 $LIBS"
10000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10001 /* end confdefs.h. */
10003 /* Override any GCC internal prototype to avoid an error.
10004 Use char because int might match the return type of a GCC
10005 builtin and then its argument prototype would still apply. */
10006 char glFlush ();
10008 main (void)
10010 return glFlush ();
10012 return 0;
10014 _ACEOF
10015 if ac_fn_c_try_link "$LINENO"
10016 then :
10017 case "$LIBEXT" in
10018 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10019 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'` ;;
10020 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10021 if ${ac_cv_lib_soname_GLESv2:+false} :
10022 then :
10023 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10024 fi ;;
10025 esac
10026 else $as_nop
10027 ac_cv_lib_soname_GLESv2=
10029 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10030 conftest$ac_exeext conftest.$ac_ext
10031 LIBS=$ac_check_soname_save_LIBS
10033 if ${ac_cv_lib_soname_GLESv2:+false} :
10034 then :
10035 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10036 printf "%s\n" "not found" >&6; }
10038 else $as_nop
10039 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
10040 printf "%s\n" "$ac_cv_lib_soname_GLESv2" >&6; }
10042 printf "%s\n" "#define SONAME_LIBGLESV2 \"$ac_cv_lib_soname_GLESv2\"" >>confdefs.h
10047 if test "x$exec_prefix" = xNONE
10048 then
10049 case $host_cpu in
10050 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
10051 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
10052 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
10053 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
10054 esac
10060 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
10062 test "$ac_cv_sys_file_offset_bits" = 64 &&
10063 printf "%s\n" "#define _TIME_BITS 64" >>confdefs.h
10065 case $host_cpu in
10066 *i[3456789]86*)
10067 DLLFLAGS="$DLLFLAGS -fno-PIC"
10068 LDDLLFLAGS="-fno-PIC"
10069 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-PIC -Wl,-z,notext" >&5
10070 printf %s "checking whether the compiler supports -fno-PIC -Wl,-z,notext... " >&6; }
10071 if test ${ac_cv_cflags__fno_PIC__Wl__z_notext+y}
10072 then :
10073 printf %s "(cached) " >&6
10074 else $as_nop
10075 ac_wine_try_cflags_saved=$CFLAGS
10076 CFLAGS="$CFLAGS -fno-PIC -Wl,-z,notext"
10077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10078 /* end confdefs.h. */
10079 int main(int argc, char **argv) { return 0; }
10080 _ACEOF
10081 if ac_fn_c_try_link "$LINENO"
10082 then :
10083 ac_cv_cflags__fno_PIC__Wl__z_notext=yes
10084 else $as_nop
10085 ac_cv_cflags__fno_PIC__Wl__z_notext=no
10087 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10088 conftest$ac_exeext conftest.$ac_ext
10089 CFLAGS=$ac_wine_try_cflags_saved
10091 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_PIC__Wl__z_notext" >&5
10092 printf "%s\n" "$ac_cv_cflags__fno_PIC__Wl__z_notext" >&6; }
10093 if test "x$ac_cv_cflags__fno_PIC__Wl__z_notext" = xyes
10094 then :
10095 LDDLLFLAGS="$LDDLLFLAGS -Wl,-z,notext"
10099 DLLFLAGS="$DLLFLAGS -fPIC"
10100 LDDLLFLAGS="-fPIC" ;;
10101 esac
10103 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
10104 printf %s "checking whether the compiler supports -Wl,-z,defs... " >&6; }
10105 if test ${ac_cv_cflags__Wl__z_defs+y}
10106 then :
10107 printf %s "(cached) " >&6
10108 else $as_nop
10109 ac_wine_try_cflags_saved=$CFLAGS
10110 CFLAGS="$CFLAGS -Wl,-z,defs"
10111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10112 /* end confdefs.h. */
10113 int main(int argc, char **argv) { return 0; }
10114 _ACEOF
10115 if ac_fn_c_try_link "$LINENO"
10116 then :
10117 ac_cv_cflags__Wl__z_defs=yes
10118 else $as_nop
10119 ac_cv_cflags__Wl__z_defs=no
10121 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10122 conftest$ac_exeext conftest.$ac_ext
10123 CFLAGS=$ac_wine_try_cflags_saved
10125 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
10126 printf "%s\n" "$ac_cv_cflags__Wl__z_defs" >&6; }
10127 if test "x$ac_cv_cflags__Wl__z_defs" = xyes
10128 then :
10129 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
10131 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--export-dynamic" >&5
10132 printf %s "checking whether the compiler supports -Wl,--export-dynamic... " >&6; }
10133 if test ${ac_cv_cflags__Wl___export_dynamic+y}
10134 then :
10135 printf %s "(cached) " >&6
10136 else $as_nop
10137 ac_wine_try_cflags_saved=$CFLAGS
10138 CFLAGS="$CFLAGS -Wl,--export-dynamic"
10139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10140 /* end confdefs.h. */
10141 int main(int argc, char **argv) { return 0; }
10142 _ACEOF
10143 if ac_fn_c_try_link "$LINENO"
10144 then :
10145 ac_cv_cflags__Wl___export_dynamic=yes
10146 else $as_nop
10147 ac_cv_cflags__Wl___export_dynamic=no
10149 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10150 conftest$ac_exeext conftest.$ac_ext
10151 CFLAGS=$ac_wine_try_cflags_saved
10153 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___export_dynamic" >&5
10154 printf "%s\n" "$ac_cv_cflags__Wl___export_dynamic" >&6; }
10155 if test "x$ac_cv_cflags__Wl___export_dynamic" = xyes
10156 then :
10157 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
10159 WINEPRELOADER_LDFLAGS="-nostartfiles -nodefaultlibs"
10161 case $host_os in
10162 linux*)
10163 as_fn_append WINELOADER_LDFLAGS " -pie"
10164 case $HOST_ARCH in
10165 i386|arm)
10166 as_fn_append WINEPRELOADER_LDFLAGS " -static -Wl,-Ttext=0x7d400000" ;;
10168 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -static-pie" >&5
10169 printf %s "checking whether the compiler supports -static-pie... " >&6; }
10170 if test ${ac_cv_cflags__static_pie+y}
10171 then :
10172 printf %s "(cached) " >&6
10173 else $as_nop
10174 ac_wine_try_cflags_saved=$CFLAGS
10175 CFLAGS="$CFLAGS -static-pie"
10176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10177 /* end confdefs.h. */
10178 int main(int argc, char **argv) { return 0; }
10179 _ACEOF
10180 if ac_fn_c_try_link "$LINENO"
10181 then :
10182 ac_cv_cflags__static_pie=yes
10183 else $as_nop
10184 ac_cv_cflags__static_pie=no
10186 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10187 conftest$ac_exeext conftest.$ac_ext
10188 CFLAGS=$ac_wine_try_cflags_saved
10190 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__static_pie" >&5
10191 printf "%s\n" "$ac_cv_cflags__static_pie" >&6; }
10192 if test "x$ac_cv_cflags__static_pie" = xyes
10193 then :
10194 as_fn_append WINEPRELOADER_LDFLAGS " -static-pie"
10195 else $as_nop
10196 as_fn_append WINEPRELOADER_LDFLAGS " -static -Wl,-Ttext=0x7d7d00000000"
10199 esac
10202 case $HOST_ARCH in
10203 i386|arm)
10204 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x60000000" >&5
10205 printf %s "checking whether the compiler supports -Wl,-Ttext-segment=0x60000000... " >&6; }
10206 if test ${ac_cv_cflags__Wl__Ttext_segment_0x60000000+y}
10207 then :
10208 printf %s "(cached) " >&6
10209 else $as_nop
10210 ac_wine_try_cflags_saved=$CFLAGS
10211 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x60000000"
10212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10213 /* end confdefs.h. */
10214 int main(int argc, char **argv) { return 0; }
10215 _ACEOF
10216 if ac_fn_c_try_link "$LINENO"
10217 then :
10218 ac_cv_cflags__Wl__Ttext_segment_0x60000000=yes
10219 else $as_nop
10220 ac_cv_cflags__Wl__Ttext_segment_0x60000000=no
10222 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10223 conftest$ac_exeext conftest.$ac_ext
10224 CFLAGS=$ac_wine_try_cflags_saved
10226 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x60000000" >&5
10227 printf "%s\n" "$ac_cv_cflags__Wl__Ttext_segment_0x60000000" >&6; }
10228 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x60000000" = xyes
10229 then :
10230 as_fn_append WINELOADER_LDFLAGS " -Wl,-Ttext-segment=0x60000000"
10231 else $as_nop
10232 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x60000400" >&5
10233 printf %s "checking whether the compiler supports -Wl,--section-start,.interp=0x60000400... " >&6; }
10234 if test ${ac_cv_cflags__Wl___section_start__interp_0x60000400+y}
10235 then :
10236 printf %s "(cached) " >&6
10237 else $as_nop
10238 ac_wine_try_cflags_saved=$CFLAGS
10239 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x60000400"
10240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10241 /* end confdefs.h. */
10242 int main(int argc, char **argv) { return 0; }
10243 _ACEOF
10244 if ac_fn_c_try_link "$LINENO"
10245 then :
10246 ac_cv_cflags__Wl___section_start__interp_0x60000400=yes
10247 else $as_nop
10248 ac_cv_cflags__Wl___section_start__interp_0x60000400=no
10250 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10251 conftest$ac_exeext conftest.$ac_ext
10252 CFLAGS=$ac_wine_try_cflags_saved
10254 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x60000400" >&5
10255 printf "%s\n" "$ac_cv_cflags__Wl___section_start__interp_0x60000400" >&6; }
10256 if test "x$ac_cv_cflags__Wl___section_start__interp_0x60000400" = xyes
10257 then :
10258 as_fn_append WINELOADER_LDFLAGS " -Wl,--section-start,.interp=0x60000400"
10263 as_fn_append WINELOADER_LDFLAGS " -pie"
10265 esac
10267 esac
10269 esac
10271 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
10272 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
10273 enable_winemac_drv=${enable_winemac_drv:-no}
10275 PE_ARCHS=""
10277 cross_archs=
10278 if test ${enable_archs+y}
10279 then :
10280 test "x$with_system_dllpath" = "x" || as_fn_error $? "\"The --with-system-dllpath option is not compatible with --enable-archs\"" "$LINENO" 5
10281 ac_save_IFS=$IFS
10282 IFS=' ,'
10283 set x $enable_archs
10284 IFS=$ac_save_IFS
10285 shift
10286 for arch
10288 case $arch in
10289 i386|x86_64|arm|aarch64) cross_archs="$cross_archs $arch" ;;
10290 *) as_fn_error $? "Unknown cross-compilation architecture '$arch'" "$LINENO" 5 ;;
10291 esac
10292 done
10293 else $as_nop
10294 if test "x$with_mingw" != xno
10295 then
10296 test $HOST_ARCH = unknown || cross_archs=$HOST_ARCH
10300 for wine_arch in $cross_archs
10302 case "x$with_mingw" in
10303 xclang|x*/clang) eval "${wine_arch}_CC=\$with_mingw" ;;
10304 esac
10305 if eval \${${wine_arch}_CC:+false} :
10306 then :
10307 case $wine_arch in
10308 aarch64)
10309 for ac_prog in aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc clang
10311 # Extract the first word of "$ac_prog", so it can be a program name with args.
10312 set dummy $ac_prog; ac_word=$2
10313 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10314 printf %s "checking for $ac_word... " >&6; }
10315 if test ${ac_cv_prog_aarch64_CC+y}
10316 then :
10317 printf %s "(cached) " >&6
10318 else $as_nop
10319 if test -n "$aarch64_CC"; then
10320 ac_cv_prog_aarch64_CC="$aarch64_CC" # Let the user override the test.
10321 else
10322 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10323 for as_dir in $PATH
10325 IFS=$as_save_IFS
10326 case $as_dir in #(((
10327 '') as_dir=./ ;;
10328 */) ;;
10329 *) as_dir=$as_dir/ ;;
10330 esac
10331 for ac_exec_ext in '' $ac_executable_extensions; do
10332 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10333 ac_cv_prog_aarch64_CC="$ac_prog"
10334 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10335 break 2
10337 done
10338 done
10339 IFS=$as_save_IFS
10343 aarch64_CC=$ac_cv_prog_aarch64_CC
10344 if test -n "$aarch64_CC"; then
10345 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $aarch64_CC" >&5
10346 printf "%s\n" "$aarch64_CC" >&6; }
10347 else
10348 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10349 printf "%s\n" "no" >&6; }
10353 test -n "$aarch64_CC" && break
10354 done
10355 test -n "$aarch64_CC" || aarch64_CC="false"
10358 arm)
10359 for ac_prog in armv7-w64-mingw32-clang armv7-w64-mingw32-gcc clang
10361 # Extract the first word of "$ac_prog", so it can be a program name with args.
10362 set dummy $ac_prog; ac_word=$2
10363 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10364 printf %s "checking for $ac_word... " >&6; }
10365 if test ${ac_cv_prog_arm_CC+y}
10366 then :
10367 printf %s "(cached) " >&6
10368 else $as_nop
10369 if test -n "$arm_CC"; then
10370 ac_cv_prog_arm_CC="$arm_CC" # Let the user override the test.
10371 else
10372 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10373 for as_dir in $PATH
10375 IFS=$as_save_IFS
10376 case $as_dir in #(((
10377 '') as_dir=./ ;;
10378 */) ;;
10379 *) as_dir=$as_dir/ ;;
10380 esac
10381 for ac_exec_ext in '' $ac_executable_extensions; do
10382 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10383 ac_cv_prog_arm_CC="$ac_prog"
10384 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10385 break 2
10387 done
10388 done
10389 IFS=$as_save_IFS
10393 arm_CC=$ac_cv_prog_arm_CC
10394 if test -n "$arm_CC"; then
10395 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $arm_CC" >&5
10396 printf "%s\n" "$arm_CC" >&6; }
10397 else
10398 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10399 printf "%s\n" "no" >&6; }
10403 test -n "$arm_CC" && break
10404 done
10405 test -n "$arm_CC" || arm_CC="false"
10408 i386)
10409 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 "
10410 for ac_prog in $ac_prefix_list clang
10412 # Extract the first word of "$ac_prog", so it can be a program name with args.
10413 set dummy $ac_prog; ac_word=$2
10414 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10415 printf %s "checking for $ac_word... " >&6; }
10416 if test ${ac_cv_prog_i386_CC+y}
10417 then :
10418 printf %s "(cached) " >&6
10419 else $as_nop
10420 if test -n "$i386_CC"; then
10421 ac_cv_prog_i386_CC="$i386_CC" # Let the user override the test.
10422 else
10423 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10424 for as_dir in $PATH
10426 IFS=$as_save_IFS
10427 case $as_dir in #(((
10428 '') as_dir=./ ;;
10429 */) ;;
10430 *) as_dir=$as_dir/ ;;
10431 esac
10432 for ac_exec_ext in '' $ac_executable_extensions; do
10433 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10434 ac_cv_prog_i386_CC="$ac_prog"
10435 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10436 break 2
10438 done
10439 done
10440 IFS=$as_save_IFS
10444 i386_CC=$ac_cv_prog_i386_CC
10445 if test -n "$i386_CC"; then
10446 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $i386_CC" >&5
10447 printf "%s\n" "$i386_CC" >&6; }
10448 else
10449 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10450 printf "%s\n" "no" >&6; }
10454 test -n "$i386_CC" && break
10455 done
10456 test -n "$i386_CC" || i386_CC="false"
10459 x86_64)
10460 ac_prefix_list="x86_64-w64-mingw32-gcc amd64-w64-mingw32-gcc x86_64-w64-mingw32-clang amd64-w64-mingw32-clang "
10461 for ac_prog in $ac_prefix_list clang
10463 # Extract the first word of "$ac_prog", so it can be a program name with args.
10464 set dummy $ac_prog; ac_word=$2
10465 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10466 printf %s "checking for $ac_word... " >&6; }
10467 if test ${ac_cv_prog_x86_64_CC+y}
10468 then :
10469 printf %s "(cached) " >&6
10470 else $as_nop
10471 if test -n "$x86_64_CC"; then
10472 ac_cv_prog_x86_64_CC="$x86_64_CC" # Let the user override the test.
10473 else
10474 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10475 for as_dir in $PATH
10477 IFS=$as_save_IFS
10478 case $as_dir in #(((
10479 '') as_dir=./ ;;
10480 */) ;;
10481 *) as_dir=$as_dir/ ;;
10482 esac
10483 for ac_exec_ext in '' $ac_executable_extensions; do
10484 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10485 ac_cv_prog_x86_64_CC="$ac_prog"
10486 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10487 break 2
10489 done
10490 done
10491 IFS=$as_save_IFS
10495 x86_64_CC=$ac_cv_prog_x86_64_CC
10496 if test -n "$x86_64_CC"; then
10497 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $x86_64_CC" >&5
10498 printf "%s\n" "$x86_64_CC" >&6; }
10499 else
10500 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10501 printf "%s\n" "no" >&6; }
10505 test -n "$x86_64_CC" && break
10506 done
10507 test -n "$x86_64_CC" || x86_64_CC="false"
10510 esac
10513 if eval test \"x\$"${wine_arch}_CC"\" = x"false"
10514 then :
10515 continue
10518 saved_CC=$CC
10519 saved_CFLAGS=$CFLAGS
10520 saved_LDFLAGS=$LDFLAGS
10522 CFLAGS=${CROSSCFLAGS:-"-g -O2"}
10523 LDFLAGS=$CROSSLDFLAGS
10524 eval CC=\$${wine_arch}_CC
10525 eval ${wine_arch}_CFLAGS=\$CFLAGS
10526 eval ${wine_arch}_LDFLAGS=\$LDFLAGS
10527 eval "${wine_arch}_EXTRACFLAGS=\"-D__WINE_PE_BUILD -Wall\""
10529 target=""
10530 as_wine_cv_crosscc=`printf "%s\n" "ac_cv_${wine_arch}_crosscc" | $as_tr_sh`
10532 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
10533 printf %s "checking whether $CC works... " >&6; }
10534 if eval test \${$as_wine_cv_crosscc+y}
10535 then :
10536 printf %s "(cached) " >&6
10537 else $as_nop
10538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10539 /* end confdefs.h. */
10542 main (void)
10546 return 0;
10548 _ACEOF
10549 if ac_fn_c_try_compile "$LINENO"
10550 then :
10551 eval "$as_wine_cv_crosscc=yes"
10552 else $as_nop
10553 eval "$as_wine_cv_crosscc=no"
10555 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10557 eval ac_res=\$$as_wine_cv_crosscc
10558 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10559 printf "%s\n" "$ac_res" >&6; }
10560 if eval test \"x\$"$as_wine_cv_crosscc"\" = x"yes"
10561 then :
10562 set x $CC
10563 shift
10564 while test $# -ge 1
10566 case "$1" in
10567 *-gcc) target=`expr "$1" : '\(.*\)-gcc'` ;;
10568 *-clang) target=`expr "$1" : '\(.*\)-clang'` ;;
10569 esac
10570 shift
10571 done
10573 llvm_target=$target
10574 if test -z "$llvm_target"
10575 then
10576 case $wine_arch in
10577 i386) llvm_target=i686-windows ;;
10578 arm) llvm_target=armv7-windows ;;
10579 *) llvm_target=$wine_arch-windows ;;
10580 esac
10582 llvm_extra_cflags="-target $llvm_target -fuse-ld=lld"
10583 case $llvm_target in
10584 *windows) llvm_cflags="-Wl,-subsystem:console -Wl,-WX" ;;
10585 esac
10586 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_$llvm_extra_cflags $llvm_cflags" | $as_tr_sh`
10587 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports $llvm_extra_cflags $llvm_cflags" >&5
10588 printf %s "checking whether $CC supports $llvm_extra_cflags $llvm_cflags... " >&6; }
10589 if eval test \${$as_ac_var+y}
10590 then :
10591 printf %s "(cached) " >&6
10592 else $as_nop
10593 ac_wine_try_cflags_saved=$CFLAGS
10594 ac_wine_try_cflags_saved_exeext=$ac_exeext
10595 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs $llvm_extra_cflags $llvm_cflags"
10596 ac_exeext=".exe"
10597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10598 /* end confdefs.h. */
10599 int __cdecl mainCRTStartup(void) { return 0; }
10600 _ACEOF
10601 if ac_fn_c_try_link "$LINENO"
10602 then :
10603 eval "$as_ac_var=yes"
10604 else $as_nop
10605 eval "$as_ac_var=no"
10607 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10608 conftest$ac_exeext conftest.$ac_ext
10609 CFLAGS=$ac_wine_try_cflags_saved
10610 ac_exeext=$ac_wine_try_cflags_saved_exeext
10612 eval ac_res=\$$as_ac_var
10613 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10614 printf "%s\n" "$ac_res" >&6; }
10615 if eval test \"x\$"$as_ac_var"\" = x"yes"
10616 then :
10617 target=$llvm_target
10618 eval "${wine_arch}_DELAYLOADFLAG=\"-Wl,-delayload,\""
10619 as_fn_append ${wine_arch}_EXTRACFLAGS " $llvm_extra_cflags"
10620 CFLAGS="$llvm_extra_cflags $llvm_cflags"
10621 fi }
10622 eval "${wine_arch}_TARGET=\$target"
10626 if test -z "$target"
10627 then
10628 CC=$saved_CC
10629 CFLAGS=$saved_CFLAGS
10630 LDFLAGS=$saved_LDFLAGS
10631 continue
10634 as_wine_cv_crosscc_c99=`printf "%s\n" "ac_cv_${wine_arch}_crosscc_c99" | $as_tr_sh`
10636 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
10637 printf %s "checking for $CC option to enable C99 features... " >&6; }
10638 if eval test \${$as_wine_cv_crosscc_c99+y}
10639 then :
10640 printf %s "(cached) " >&6
10641 else $as_nop
10642 eval "$as_wine_cv_crosscc_c99=no"
10643 for arg in '' '-std=gnu99' '-D__STDC__'
10645 test -z "$arg" || CC="$CC $arg"
10646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10647 /* end confdefs.h. */
10648 $ac_c_conftest_c99_program
10649 _ACEOF
10650 if ac_fn_c_try_compile "$LINENO"
10651 then :
10652 eval "$as_wine_cv_crosscc_c99=\$arg"
10653 else $as_nop
10654 eval "$as_wine_cv_crosscc_c99=no"
10656 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10657 eval CC=\$${wine_arch}_CC
10658 if eval test \"x\$"$as_wine_cv_crosscc_c99"\" = x"no"
10659 then :
10661 else $as_nop
10662 break
10664 done
10667 eval res=\$$as_wine_cv_crosscc_c99
10669 case "x$res" in
10670 x) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
10671 printf "%s\n" "none needed" >&6; } ;;
10672 xno) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
10673 printf "%s\n" "unsupported" >&6; }
10674 CC=$saved_CC
10675 CFLAGS=$saved_CFLAGS
10676 LDFLAGS=$saved_LDFLAGS
10677 continue
10679 x*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $res" >&5
10680 printf "%s\n" "$res" >&6; }
10681 as_fn_append ${wine_arch}_CC " $res" ;;
10682 esac
10684 as_fn_append PE_ARCHS " $wine_arch"
10685 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-fno-strict-aliasing" | $as_tr_sh`
10686 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -fno-strict-aliasing" >&5
10687 printf %s "checking whether $CC supports -fno-strict-aliasing... " >&6; }
10688 if eval test \${$as_ac_var+y}
10689 then :
10690 printf %s "(cached) " >&6
10691 else $as_nop
10692 ac_wine_try_cflags_saved=$CFLAGS
10693 ac_wine_try_cflags_saved_exeext=$ac_exeext
10694 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -fno-strict-aliasing"
10695 ac_exeext=".exe"
10696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10697 /* end confdefs.h. */
10698 int __cdecl mainCRTStartup(void) { return 0; }
10699 _ACEOF
10700 if ac_fn_c_try_link "$LINENO"
10701 then :
10702 eval "$as_ac_var=yes"
10703 else $as_nop
10704 eval "$as_ac_var=no"
10706 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10707 conftest$ac_exeext conftest.$ac_ext
10708 CFLAGS=$ac_wine_try_cflags_saved
10709 ac_exeext=$ac_wine_try_cflags_saved_exeext
10711 eval ac_res=\$$as_ac_var
10712 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10713 printf "%s\n" "$ac_res" >&6; }
10714 if eval test \"x\$"$as_ac_var"\" = x"yes"
10715 then :
10716 as_fn_append ${wine_arch}_EXTRACFLAGS " -fno-strict-aliasing"
10717 fi }
10718 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror=unknown-warning-option" | $as_tr_sh`
10719 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror=unknown-warning-option" >&5
10720 printf %s "checking whether $CC supports -Werror=unknown-warning-option... " >&6; }
10721 if eval test \${$as_ac_var+y}
10722 then :
10723 printf %s "(cached) " >&6
10724 else $as_nop
10725 ac_wine_try_cflags_saved=$CFLAGS
10726 ac_wine_try_cflags_saved_exeext=$ac_exeext
10727 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Werror=unknown-warning-option"
10728 ac_exeext=".exe"
10729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10730 /* end confdefs.h. */
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 :
10749 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
10750 fi }
10751 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror=ignored-optimization-argument" | $as_tr_sh`
10752 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror=ignored-optimization-argument" >&5
10753 printf %s "checking whether $CC supports -Werror=ignored-optimization-argument... " >&6; }
10754 if eval test \${$as_ac_var+y}
10755 then :
10756 printf %s "(cached) " >&6
10757 else $as_nop
10758 ac_wine_try_cflags_saved=$CFLAGS
10759 ac_wine_try_cflags_saved_exeext=$ac_exeext
10760 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Werror=ignored-optimization-argument"
10761 ac_exeext=".exe"
10762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10763 /* end confdefs.h. */
10764 int __cdecl mainCRTStartup(void) { return 0; }
10765 _ACEOF
10766 if ac_fn_c_try_link "$LINENO"
10767 then :
10768 eval "$as_ac_var=yes"
10769 else $as_nop
10770 eval "$as_ac_var=no"
10772 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10773 conftest$ac_exeext conftest.$ac_ext
10774 CFLAGS=$ac_wine_try_cflags_saved
10775 ac_exeext=$ac_wine_try_cflags_saved_exeext
10777 eval ac_res=\$$as_ac_var
10778 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10779 printf "%s\n" "$ac_res" >&6; }
10780 if eval test \"x\$"$as_ac_var"\" = x"yes"
10781 then :
10782 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
10783 fi }
10784 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wdeclaration-after-statement" | $as_tr_sh`
10785 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wdeclaration-after-statement" >&5
10786 printf %s "checking whether $CC supports -Wdeclaration-after-statement... " >&6; }
10787 if eval test \${$as_ac_var+y}
10788 then :
10789 printf %s "(cached) " >&6
10790 else $as_nop
10791 ac_wine_try_cflags_saved=$CFLAGS
10792 ac_wine_try_cflags_saved_exeext=$ac_exeext
10793 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wdeclaration-after-statement"
10794 ac_exeext=".exe"
10795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10796 /* end confdefs.h. */
10797 int __cdecl mainCRTStartup(void) { return 0; }
10798 _ACEOF
10799 if ac_fn_c_try_link "$LINENO"
10800 then :
10801 eval "$as_ac_var=yes"
10802 else $as_nop
10803 eval "$as_ac_var=no"
10805 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10806 conftest$ac_exeext conftest.$ac_ext
10807 CFLAGS=$ac_wine_try_cflags_saved
10808 ac_exeext=$ac_wine_try_cflags_saved_exeext
10810 eval ac_res=\$$as_ac_var
10811 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10812 printf "%s\n" "$ac_res" >&6; }
10813 if eval test \"x\$"$as_ac_var"\" = x"yes"
10814 then :
10815 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wdeclaration-after-statement"
10816 fi }
10817 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wempty-body" | $as_tr_sh`
10818 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wempty-body" >&5
10819 printf %s "checking whether $CC supports -Wempty-body... " >&6; }
10820 if eval test \${$as_ac_var+y}
10821 then :
10822 printf %s "(cached) " >&6
10823 else $as_nop
10824 ac_wine_try_cflags_saved=$CFLAGS
10825 ac_wine_try_cflags_saved_exeext=$ac_exeext
10826 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wempty-body"
10827 ac_exeext=".exe"
10828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10829 /* end confdefs.h. */
10830 int __cdecl mainCRTStartup(void) { return 0; }
10831 _ACEOF
10832 if ac_fn_c_try_link "$LINENO"
10833 then :
10834 eval "$as_ac_var=yes"
10835 else $as_nop
10836 eval "$as_ac_var=no"
10838 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10839 conftest$ac_exeext conftest.$ac_ext
10840 CFLAGS=$ac_wine_try_cflags_saved
10841 ac_exeext=$ac_wine_try_cflags_saved_exeext
10843 eval ac_res=\$$as_ac_var
10844 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10845 printf "%s\n" "$ac_res" >&6; }
10846 if eval test \"x\$"$as_ac_var"\" = x"yes"
10847 then :
10848 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wempty-body"
10849 fi }
10850 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wignored-qualifiers" | $as_tr_sh`
10851 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wignored-qualifiers" >&5
10852 printf %s "checking whether $CC supports -Wignored-qualifiers... " >&6; }
10853 if eval test \${$as_ac_var+y}
10854 then :
10855 printf %s "(cached) " >&6
10856 else $as_nop
10857 ac_wine_try_cflags_saved=$CFLAGS
10858 ac_wine_try_cflags_saved_exeext=$ac_exeext
10859 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wignored-qualifiers"
10860 ac_exeext=".exe"
10861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10862 /* end confdefs.h. */
10863 int __cdecl mainCRTStartup(void) { return 0; }
10864 _ACEOF
10865 if ac_fn_c_try_link "$LINENO"
10866 then :
10867 eval "$as_ac_var=yes"
10868 else $as_nop
10869 eval "$as_ac_var=no"
10871 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10872 conftest$ac_exeext conftest.$ac_ext
10873 CFLAGS=$ac_wine_try_cflags_saved
10874 ac_exeext=$ac_wine_try_cflags_saved_exeext
10876 eval ac_res=\$$as_ac_var
10877 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10878 printf "%s\n" "$ac_res" >&6; }
10879 if eval test \"x\$"$as_ac_var"\" = x"yes"
10880 then :
10881 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wignored-qualifiers"
10882 fi }
10883 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Winit-self" | $as_tr_sh`
10884 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Winit-self" >&5
10885 printf %s "checking whether $CC supports -Winit-self... " >&6; }
10886 if eval test \${$as_ac_var+y}
10887 then :
10888 printf %s "(cached) " >&6
10889 else $as_nop
10890 ac_wine_try_cflags_saved=$CFLAGS
10891 ac_wine_try_cflags_saved_exeext=$ac_exeext
10892 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Winit-self"
10893 ac_exeext=".exe"
10894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10895 /* end confdefs.h. */
10896 int __cdecl mainCRTStartup(void) { return 0; }
10897 _ACEOF
10898 if ac_fn_c_try_link "$LINENO"
10899 then :
10900 eval "$as_ac_var=yes"
10901 else $as_nop
10902 eval "$as_ac_var=no"
10904 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10905 conftest$ac_exeext conftest.$ac_ext
10906 CFLAGS=$ac_wine_try_cflags_saved
10907 ac_exeext=$ac_wine_try_cflags_saved_exeext
10909 eval ac_res=\$$as_ac_var
10910 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10911 printf "%s\n" "$ac_res" >&6; }
10912 if eval test \"x\$"$as_ac_var"\" = x"yes"
10913 then :
10914 as_fn_append ${wine_arch}_EXTRACFLAGS " -Winit-self"
10915 fi }
10916 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpacked-not-aligned" | $as_tr_sh`
10917 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpacked-not-aligned" >&5
10918 printf %s "checking whether $CC supports -Wpacked-not-aligned... " >&6; }
10919 if eval test \${$as_ac_var+y}
10920 then :
10921 printf %s "(cached) " >&6
10922 else $as_nop
10923 ac_wine_try_cflags_saved=$CFLAGS
10924 ac_wine_try_cflags_saved_exeext=$ac_exeext
10925 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wpacked-not-aligned"
10926 ac_exeext=".exe"
10927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10928 /* end confdefs.h. */
10929 int __cdecl mainCRTStartup(void) { return 0; }
10930 _ACEOF
10931 if ac_fn_c_try_link "$LINENO"
10932 then :
10933 eval "$as_ac_var=yes"
10934 else $as_nop
10935 eval "$as_ac_var=no"
10937 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10938 conftest$ac_exeext conftest.$ac_ext
10939 CFLAGS=$ac_wine_try_cflags_saved
10940 ac_exeext=$ac_wine_try_cflags_saved_exeext
10942 eval ac_res=\$$as_ac_var
10943 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10944 printf "%s\n" "$ac_res" >&6; }
10945 if eval test \"x\$"$as_ac_var"\" = x"yes"
10946 then :
10947 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-packed-not-aligned"
10948 fi }
10949 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpragma-pack" | $as_tr_sh`
10950 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpragma-pack" >&5
10951 printf %s "checking whether $CC supports -Wpragma-pack... " >&6; }
10952 if eval test \${$as_ac_var+y}
10953 then :
10954 printf %s "(cached) " >&6
10955 else $as_nop
10956 ac_wine_try_cflags_saved=$CFLAGS
10957 ac_wine_try_cflags_saved_exeext=$ac_exeext
10958 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wpragma-pack"
10959 ac_exeext=".exe"
10960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10961 /* end confdefs.h. */
10962 int __cdecl mainCRTStartup(void) { return 0; }
10963 _ACEOF
10964 if ac_fn_c_try_link "$LINENO"
10965 then :
10966 eval "$as_ac_var=yes"
10967 else $as_nop
10968 eval "$as_ac_var=no"
10970 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10971 conftest$ac_exeext conftest.$ac_ext
10972 CFLAGS=$ac_wine_try_cflags_saved
10973 ac_exeext=$ac_wine_try_cflags_saved_exeext
10975 eval ac_res=\$$as_ac_var
10976 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10977 printf "%s\n" "$ac_res" >&6; }
10978 if eval test \"x\$"$as_ac_var"\" = x"yes"
10979 then :
10980 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-pragma-pack"
10981 fi }
10982 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wshift-overflow=2" | $as_tr_sh`
10983 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wshift-overflow=2" >&5
10984 printf %s "checking whether $CC supports -Wshift-overflow=2... " >&6; }
10985 if eval test \${$as_ac_var+y}
10986 then :
10987 printf %s "(cached) " >&6
10988 else $as_nop
10989 ac_wine_try_cflags_saved=$CFLAGS
10990 ac_wine_try_cflags_saved_exeext=$ac_exeext
10991 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wshift-overflow=2"
10992 ac_exeext=".exe"
10993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10994 /* end confdefs.h. */
10995 int __cdecl mainCRTStartup(void) { return 0; }
10996 _ACEOF
10997 if ac_fn_c_try_link "$LINENO"
10998 then :
10999 eval "$as_ac_var=yes"
11000 else $as_nop
11001 eval "$as_ac_var=no"
11003 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11004 conftest$ac_exeext conftest.$ac_ext
11005 CFLAGS=$ac_wine_try_cflags_saved
11006 ac_exeext=$ac_wine_try_cflags_saved_exeext
11008 eval ac_res=\$$as_ac_var
11009 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11010 printf "%s\n" "$ac_res" >&6; }
11011 if eval test \"x\$"$as_ac_var"\" = x"yes"
11012 then :
11013 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wshift-overflow=2"
11014 fi }
11015 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wstrict-prototypes" | $as_tr_sh`
11016 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wstrict-prototypes" >&5
11017 printf %s "checking whether $CC supports -Wstrict-prototypes... " >&6; }
11018 if eval test \${$as_ac_var+y}
11019 then :
11020 printf %s "(cached) " >&6
11021 else $as_nop
11022 ac_wine_try_cflags_saved=$CFLAGS
11023 ac_wine_try_cflags_saved_exeext=$ac_exeext
11024 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wstrict-prototypes"
11025 ac_exeext=".exe"
11026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11027 /* end confdefs.h. */
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 " -Wstrict-prototypes"
11047 fi }
11048 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wtype-limits" | $as_tr_sh`
11049 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wtype-limits" >&5
11050 printf %s "checking whether $CC supports -Wtype-limits... " >&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 -Wtype-limits"
11058 ac_exeext=".exe"
11059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11060 /* end confdefs.h. */
11061 int __cdecl mainCRTStartup(void) { return 0; }
11062 _ACEOF
11063 if ac_fn_c_try_link "$LINENO"
11064 then :
11065 eval "$as_ac_var=yes"
11066 else $as_nop
11067 eval "$as_ac_var=no"
11069 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11070 conftest$ac_exeext conftest.$ac_ext
11071 CFLAGS=$ac_wine_try_cflags_saved
11072 ac_exeext=$ac_wine_try_cflags_saved_exeext
11074 eval ac_res=\$$as_ac_var
11075 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11076 printf "%s\n" "$ac_res" >&6; }
11077 if eval test \"x\$"$as_ac_var"\" = x"yes"
11078 then :
11079 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wtype-limits"
11080 fi }
11081 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wunused-but-set-parameter" | $as_tr_sh`
11082 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wunused-but-set-parameter" >&5
11083 printf %s "checking whether $CC supports -Wunused-but-set-parameter... " >&6; }
11084 if eval test \${$as_ac_var+y}
11085 then :
11086 printf %s "(cached) " >&6
11087 else $as_nop
11088 ac_wine_try_cflags_saved=$CFLAGS
11089 ac_wine_try_cflags_saved_exeext=$ac_exeext
11090 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wunused-but-set-parameter"
11091 ac_exeext=".exe"
11092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11093 /* end confdefs.h. */
11094 int __cdecl mainCRTStartup(void) { return 0; }
11095 _ACEOF
11096 if ac_fn_c_try_link "$LINENO"
11097 then :
11098 eval "$as_ac_var=yes"
11099 else $as_nop
11100 eval "$as_ac_var=no"
11102 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11103 conftest$ac_exeext conftest.$ac_ext
11104 CFLAGS=$ac_wine_try_cflags_saved
11105 ac_exeext=$ac_wine_try_cflags_saved_exeext
11107 eval ac_res=\$$as_ac_var
11108 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11109 printf "%s\n" "$ac_res" >&6; }
11110 if eval test \"x\$"$as_ac_var"\" = x"yes"
11111 then :
11112 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wunused-but-set-parameter"
11113 fi }
11114 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wvla" | $as_tr_sh`
11115 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wvla" >&5
11116 printf %s "checking whether $CC supports -Wvla... " >&6; }
11117 if eval test \${$as_ac_var+y}
11118 then :
11119 printf %s "(cached) " >&6
11120 else $as_nop
11121 ac_wine_try_cflags_saved=$CFLAGS
11122 ac_wine_try_cflags_saved_exeext=$ac_exeext
11123 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wvla"
11124 ac_exeext=".exe"
11125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11126 /* end confdefs.h. */
11127 int __cdecl mainCRTStartup(void) { return 0; }
11128 _ACEOF
11129 if ac_fn_c_try_link "$LINENO"
11130 then :
11131 eval "$as_ac_var=yes"
11132 else $as_nop
11133 eval "$as_ac_var=no"
11135 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11136 conftest$ac_exeext conftest.$ac_ext
11137 CFLAGS=$ac_wine_try_cflags_saved
11138 ac_exeext=$ac_wine_try_cflags_saved_exeext
11140 eval ac_res=\$$as_ac_var
11141 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11142 printf "%s\n" "$ac_res" >&6; }
11143 if eval test \"x\$"$as_ac_var"\" = x"yes"
11144 then :
11145 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wvla"
11146 fi }
11147 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wwrite-strings" | $as_tr_sh`
11148 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wwrite-strings" >&5
11149 printf %s "checking whether $CC supports -Wwrite-strings... " >&6; }
11150 if eval test \${$as_ac_var+y}
11151 then :
11152 printf %s "(cached) " >&6
11153 else $as_nop
11154 ac_wine_try_cflags_saved=$CFLAGS
11155 ac_wine_try_cflags_saved_exeext=$ac_exeext
11156 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wwrite-strings"
11157 ac_exeext=".exe"
11158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11159 /* end confdefs.h. */
11160 int __cdecl mainCRTStartup(void) { return 0; }
11161 _ACEOF
11162 if ac_fn_c_try_link "$LINENO"
11163 then :
11164 eval "$as_ac_var=yes"
11165 else $as_nop
11166 eval "$as_ac_var=no"
11168 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11169 conftest$ac_exeext conftest.$ac_ext
11170 CFLAGS=$ac_wine_try_cflags_saved
11171 ac_exeext=$ac_wine_try_cflags_saved_exeext
11173 eval ac_res=\$$as_ac_var
11174 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11175 printf "%s\n" "$ac_res" >&6; }
11176 if eval test \"x\$"$as_ac_var"\" = x"yes"
11177 then :
11178 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wwrite-strings"
11179 fi }
11180 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpointer-arith" | $as_tr_sh`
11181 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpointer-arith" >&5
11182 printf %s "checking whether $CC supports -Wpointer-arith... " >&6; }
11183 if eval test \${$as_ac_var+y}
11184 then :
11185 printf %s "(cached) " >&6
11186 else $as_nop
11187 ac_wine_try_cflags_saved=$CFLAGS
11188 ac_wine_try_cflags_saved_exeext=$ac_exeext
11189 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wpointer-arith"
11190 ac_exeext=".exe"
11191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11192 /* end confdefs.h. */
11193 int __cdecl mainCRTStartup(void) { return 0; }
11194 _ACEOF
11195 if ac_fn_c_try_link "$LINENO"
11196 then :
11197 eval "$as_ac_var=yes"
11198 else $as_nop
11199 eval "$as_ac_var=no"
11201 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11202 conftest$ac_exeext conftest.$ac_ext
11203 CFLAGS=$ac_wine_try_cflags_saved
11204 ac_exeext=$ac_wine_try_cflags_saved_exeext
11206 eval ac_res=\$$as_ac_var
11207 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11208 printf "%s\n" "$ac_res" >&6; }
11209 if eval test \"x\$"$as_ac_var"\" = x"yes"
11210 then :
11211 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wpointer-arith"
11212 fi }
11213 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wlogical-op" | $as_tr_sh`
11214 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wlogical-op" >&5
11215 printf %s "checking whether $CC supports -Wlogical-op... " >&6; }
11216 if eval test \${$as_ac_var+y}
11217 then :
11218 printf %s "(cached) " >&6
11219 else $as_nop
11220 ac_wine_try_cflags_saved=$CFLAGS
11221 ac_wine_try_cflags_saved_exeext=$ac_exeext
11222 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wlogical-op"
11223 ac_exeext=".exe"
11224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11225 /* end confdefs.h. */
11226 int __cdecl mainCRTStartup(void) { return 0; }
11227 _ACEOF
11228 if ac_fn_c_try_link "$LINENO"
11229 then :
11230 eval "$as_ac_var=yes"
11231 else $as_nop
11232 eval "$as_ac_var=no"
11234 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11235 conftest$ac_exeext conftest.$ac_ext
11236 CFLAGS=$ac_wine_try_cflags_saved
11237 ac_exeext=$ac_wine_try_cflags_saved_exeext
11239 eval ac_res=\$$as_ac_var
11240 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11241 printf "%s\n" "$ac_res" >&6; }
11242 if eval test \"x\$"$as_ac_var"\" = x"yes"
11243 then :
11244 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wlogical-op"
11245 fi }
11246 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wabsolute-value" | $as_tr_sh`
11247 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wabsolute-value" >&5
11248 printf %s "checking whether $CC supports -Wabsolute-value... " >&6; }
11249 if eval test \${$as_ac_var+y}
11250 then :
11251 printf %s "(cached) " >&6
11252 else $as_nop
11253 ac_wine_try_cflags_saved=$CFLAGS
11254 ac_wine_try_cflags_saved_exeext=$ac_exeext
11255 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wabsolute-value"
11256 ac_exeext=".exe"
11257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11258 /* end confdefs.h. */
11259 int __cdecl mainCRTStartup(void) { return 0; }
11260 _ACEOF
11261 if ac_fn_c_try_link "$LINENO"
11262 then :
11263 eval "$as_ac_var=yes"
11264 else $as_nop
11265 eval "$as_ac_var=no"
11267 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11268 conftest$ac_exeext conftest.$ac_ext
11269 CFLAGS=$ac_wine_try_cflags_saved
11270 ac_exeext=$ac_wine_try_cflags_saved_exeext
11272 eval ac_res=\$$as_ac_var
11273 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11274 printf "%s\n" "$ac_res" >&6; }
11275 if eval test \"x\$"$as_ac_var"\" = x"yes"
11276 then :
11277 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wabsolute-value"
11278 fi }
11280 case $wine_arch in
11281 i386) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-fno-omit-frame-pointer" | $as_tr_sh`
11282 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -fno-omit-frame-pointer" >&5
11283 printf %s "checking whether $CC supports -fno-omit-frame-pointer... " >&6; }
11284 if eval test \${$as_ac_var+y}
11285 then :
11286 printf %s "(cached) " >&6
11287 else $as_nop
11288 ac_wine_try_cflags_saved=$CFLAGS
11289 ac_wine_try_cflags_saved_exeext=$ac_exeext
11290 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -fno-omit-frame-pointer"
11291 ac_exeext=".exe"
11292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11293 /* end confdefs.h. */
11294 int __cdecl mainCRTStartup(void) { return 0; }
11295 _ACEOF
11296 if ac_fn_c_try_link "$LINENO"
11297 then :
11298 eval "$as_ac_var=yes"
11299 else $as_nop
11300 eval "$as_ac_var=no"
11302 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11303 conftest$ac_exeext conftest.$ac_ext
11304 CFLAGS=$ac_wine_try_cflags_saved
11305 ac_exeext=$ac_wine_try_cflags_saved_exeext
11307 eval ac_res=\$$as_ac_var
11308 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11309 printf "%s\n" "$ac_res" >&6; }
11310 if eval test \"x\$"$as_ac_var"\" = x"yes"
11311 then :
11312 as_fn_append ${wine_arch}_EXTRACFLAGS " -fno-omit-frame-pointer"
11313 fi }
11314 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wl,--disable-stdcall-fixup" | $as_tr_sh`
11315 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wl,--disable-stdcall-fixup" >&5
11316 printf %s "checking whether $CC supports -Wl,--disable-stdcall-fixup... " >&6; }
11317 if eval test \${$as_ac_var+y}
11318 then :
11319 printf %s "(cached) " >&6
11320 else $as_nop
11321 ac_wine_try_cflags_saved=$CFLAGS
11322 ac_wine_try_cflags_saved_exeext=$ac_exeext
11323 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wl,--disable-stdcall-fixup"
11324 ac_exeext=".exe"
11325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11326 /* end confdefs.h. */
11327 int __cdecl mainCRTStartup(void) { return 0; }
11328 _ACEOF
11329 if ac_fn_c_try_link "$LINENO"
11330 then :
11331 eval "$as_ac_var=yes"
11332 else $as_nop
11333 eval "$as_ac_var=no"
11335 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11336 conftest$ac_exeext conftest.$ac_ext
11337 CFLAGS=$ac_wine_try_cflags_saved
11338 ac_exeext=$ac_wine_try_cflags_saved_exeext
11340 eval ac_res=\$$as_ac_var
11341 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11342 printf "%s\n" "$ac_res" >&6; }
11343 if eval test \"x\$"$as_ac_var"\" = x"yes"
11344 then :
11345 as_fn_append ${wine_arch}_LDFLAGS " -Wl,--disable-stdcall-fixup"
11346 fi } ;;
11347 x86_64) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wformat-overflow" | $as_tr_sh`
11348 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wformat-overflow" >&5
11349 printf %s "checking whether $CC supports -Wformat-overflow... " >&6; }
11350 if eval test \${$as_ac_var+y}
11351 then :
11352 printf %s "(cached) " >&6
11353 else $as_nop
11354 ac_wine_try_cflags_saved=$CFLAGS
11355 ac_wine_try_cflags_saved_exeext=$ac_exeext
11356 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wformat-overflow"
11357 ac_exeext=".exe"
11358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11359 /* end confdefs.h. */
11360 int __cdecl mainCRTStartup(void) { return 0; }
11361 _ACEOF
11362 if ac_fn_c_try_link "$LINENO"
11363 then :
11364 eval "$as_ac_var=yes"
11365 else $as_nop
11366 eval "$as_ac_var=no"
11368 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11369 conftest$ac_exeext conftest.$ac_ext
11370 CFLAGS=$ac_wine_try_cflags_saved
11371 ac_exeext=$ac_wine_try_cflags_saved_exeext
11373 eval ac_res=\$$as_ac_var
11374 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11375 printf "%s\n" "$ac_res" >&6; }
11376 if eval test \"x\$"$as_ac_var"\" = x"yes"
11377 then :
11378 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wformat-overflow"
11379 fi }
11380 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wnonnull" | $as_tr_sh`
11381 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wnonnull" >&5
11382 printf %s "checking whether $CC supports -Wnonnull... " >&6; }
11383 if eval test \${$as_ac_var+y}
11384 then :
11385 printf %s "(cached) " >&6
11386 else $as_nop
11387 ac_wine_try_cflags_saved=$CFLAGS
11388 ac_wine_try_cflags_saved_exeext=$ac_exeext
11389 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wnonnull"
11390 ac_exeext=".exe"
11391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11392 /* end confdefs.h. */
11393 int __cdecl mainCRTStartup(void) { return 0; }
11394 _ACEOF
11395 if ac_fn_c_try_link "$LINENO"
11396 then :
11397 eval "$as_ac_var=yes"
11398 else $as_nop
11399 eval "$as_ac_var=no"
11401 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11402 conftest$ac_exeext conftest.$ac_ext
11403 CFLAGS=$ac_wine_try_cflags_saved
11404 ac_exeext=$ac_wine_try_cflags_saved_exeext
11406 eval ac_res=\$$as_ac_var
11407 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11408 printf "%s\n" "$ac_res" >&6; }
11409 if eval test \"x\$"$as_ac_var"\" = x"yes"
11410 then :
11411 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wnonnull"
11412 fi }
11413 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-mcx16" | $as_tr_sh`
11414 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mcx16" >&5
11415 printf %s "checking whether $CC supports -mcx16... " >&6; }
11416 if eval test \${$as_ac_var+y}
11417 then :
11418 printf %s "(cached) " >&6
11419 else $as_nop
11420 ac_wine_try_cflags_saved=$CFLAGS
11421 ac_wine_try_cflags_saved_exeext=$ac_exeext
11422 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -mcx16"
11423 ac_exeext=".exe"
11424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11425 /* end confdefs.h. */
11426 int __cdecl mainCRTStartup(void) { return 0; }
11427 _ACEOF
11428 if ac_fn_c_try_link "$LINENO"
11429 then :
11430 eval "$as_ac_var=yes"
11431 else $as_nop
11432 eval "$as_ac_var=no"
11434 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11435 conftest$ac_exeext conftest.$ac_ext
11436 CFLAGS=$ac_wine_try_cflags_saved
11437 ac_exeext=$ac_wine_try_cflags_saved_exeext
11439 eval ac_res=\$$as_ac_var
11440 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11441 printf "%s\n" "$ac_res" >&6; }
11442 if eval test \"x\$"$as_ac_var"\" = x"yes"
11443 then :
11444 as_fn_append ${wine_arch}_EXTRACFLAGS " -mcx16"
11445 fi }
11446 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-mcmodel=small" | $as_tr_sh`
11447 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mcmodel=small" >&5
11448 printf %s "checking whether $CC supports -mcmodel=small... " >&6; }
11449 if eval test \${$as_ac_var+y}
11450 then :
11451 printf %s "(cached) " >&6
11452 else $as_nop
11453 ac_wine_try_cflags_saved=$CFLAGS
11454 ac_wine_try_cflags_saved_exeext=$ac_exeext
11455 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -mcmodel=small"
11456 ac_exeext=".exe"
11457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11458 /* end confdefs.h. */
11459 int __cdecl mainCRTStartup(void) { return 0; }
11460 _ACEOF
11461 if ac_fn_c_try_link "$LINENO"
11462 then :
11463 eval "$as_ac_var=yes"
11464 else $as_nop
11465 eval "$as_ac_var=no"
11467 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11468 conftest$ac_exeext conftest.$ac_ext
11469 CFLAGS=$ac_wine_try_cflags_saved
11470 ac_exeext=$ac_wine_try_cflags_saved_exeext
11472 eval ac_res=\$$as_ac_var
11473 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11474 printf "%s\n" "$ac_res" >&6; }
11475 if eval test \"x\$"$as_ac_var"\" = x"yes"
11476 then :
11477 as_fn_append ${wine_arch}_EXTRACFLAGS " -mcmodel=small"
11478 fi } ;;
11479 esac
11481 wine_crossdebug=$CROSSDEBUG
11482 if test -z "$wine_crossdebug"
11483 then
11484 for ac_flag in $CFLAGS; do
11485 case $ac_flag in
11486 -gdwarf*) wine_crossdebug=dwarf ;;
11487 -gcodeview) wine_crossdebug=pdb ;;
11488 -g) wine_crossdebug=${wine_crossdebug:-dwarf} ;;
11489 esac
11490 done
11493 ac_debug_format_seen=""
11494 for ac_flag in $CFLAGS; do
11495 case $ac_flag in
11496 -gdwarf*|-gcodeview) ac_debug_format_seen=$ac_flag ;;
11497 esac
11498 done
11499 if test "x$ac_debug_format_seen" = x
11500 then
11501 case $wine_crossdebug in
11502 *dwarf) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-gdwarf-4" | $as_tr_sh`
11503 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -gdwarf-4" >&5
11504 printf %s "checking whether $CC supports -gdwarf-4... " >&6; }
11505 if eval test \${$as_ac_var+y}
11506 then :
11507 printf %s "(cached) " >&6
11508 else $as_nop
11509 ac_wine_try_cflags_saved=$CFLAGS
11510 ac_wine_try_cflags_saved_exeext=$ac_exeext
11511 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -gdwarf-4"
11512 ac_exeext=".exe"
11513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11514 /* end confdefs.h. */
11515 int __cdecl mainCRTStartup(void) { return 0; }
11516 _ACEOF
11517 if ac_fn_c_try_link "$LINENO"
11518 then :
11519 eval "$as_ac_var=yes"
11520 else $as_nop
11521 eval "$as_ac_var=no"
11523 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11524 conftest$ac_exeext conftest.$ac_ext
11525 CFLAGS=$ac_wine_try_cflags_saved
11526 ac_exeext=$ac_wine_try_cflags_saved_exeext
11528 eval ac_res=\$$as_ac_var
11529 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11530 printf "%s\n" "$ac_res" >&6; }
11531 if eval test \"x\$"$as_ac_var"\" = x"yes"
11532 then :
11533 as_fn_append ${wine_arch}_EXTRACFLAGS " -gdwarf-4"
11534 fi } ;;
11535 pdb) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-gcodeview" | $as_tr_sh`
11536 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -gcodeview" >&5
11537 printf %s "checking whether $CC supports -gcodeview... " >&6; }
11538 if eval test \${$as_ac_var+y}
11539 then :
11540 printf %s "(cached) " >&6
11541 else $as_nop
11542 ac_wine_try_cflags_saved=$CFLAGS
11543 ac_wine_try_cflags_saved_exeext=$ac_exeext
11544 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -gcodeview"
11545 ac_exeext=".exe"
11546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11547 /* end confdefs.h. */
11548 int __cdecl mainCRTStartup(void) { return 0; }
11549 _ACEOF
11550 if ac_fn_c_try_link "$LINENO"
11551 then :
11552 eval "$as_ac_var=yes"
11553 else $as_nop
11554 eval "$as_ac_var=no"
11556 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11557 conftest$ac_exeext conftest.$ac_ext
11558 CFLAGS=$ac_wine_try_cflags_saved
11559 ac_exeext=$ac_wine_try_cflags_saved_exeext
11561 eval ac_res=\$$as_ac_var
11562 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11563 printf "%s\n" "$ac_res" >&6; }
11564 if eval test \"x\$"$as_ac_var"\" = x"yes"
11565 then :
11566 as_fn_append ${wine_arch}_EXTRACFLAGS " -gcodeview"
11567 fi } ;;
11568 esac
11570 eval "${wine_arch}_DEBUG=\$wine_crossdebug"
11572 test "x$enable_werror" != xyes || { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror" | $as_tr_sh`
11573 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror" >&5
11574 printf %s "checking whether $CC supports -Werror... " >&6; }
11575 if eval test \${$as_ac_var+y}
11576 then :
11577 printf %s "(cached) " >&6
11578 else $as_nop
11579 ac_wine_try_cflags_saved=$CFLAGS
11580 ac_wine_try_cflags_saved_exeext=$ac_exeext
11581 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Werror"
11582 ac_exeext=".exe"
11583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11584 /* end confdefs.h. */
11585 int __cdecl mainCRTStartup(void) { return 0; }
11586 _ACEOF
11587 if ac_fn_c_try_link "$LINENO"
11588 then :
11589 eval "$as_ac_var=yes"
11590 else $as_nop
11591 eval "$as_ac_var=no"
11593 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11594 conftest$ac_exeext conftest.$ac_ext
11595 CFLAGS=$ac_wine_try_cflags_saved
11596 ac_exeext=$ac_wine_try_cflags_saved_exeext
11598 eval ac_res=\$$as_ac_var
11599 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11600 printf "%s\n" "$ac_res" >&6; }
11601 if eval test \"x\$"$as_ac_var"\" = x"yes"
11602 then :
11603 as_fn_append ${wine_arch}_EXTRACFLAGS " -Werror"
11604 fi }
11605 test "x$enable_build_id" != xyes || { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wl,--build-id" | $as_tr_sh`
11606 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wl,--build-id" >&5
11607 printf %s "checking whether $CC supports -Wl,--build-id... " >&6; }
11608 if eval test \${$as_ac_var+y}
11609 then :
11610 printf %s "(cached) " >&6
11611 else $as_nop
11612 ac_wine_try_cflags_saved=$CFLAGS
11613 ac_wine_try_cflags_saved_exeext=$ac_exeext
11614 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wl,--build-id"
11615 ac_exeext=".exe"
11616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11617 /* end confdefs.h. */
11618 int __cdecl mainCRTStartup(void) { return 0; }
11619 _ACEOF
11620 if ac_fn_c_try_link "$LINENO"
11621 then :
11622 eval "$as_ac_var=yes"
11623 else $as_nop
11624 eval "$as_ac_var=no"
11626 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11627 conftest$ac_exeext conftest.$ac_ext
11628 CFLAGS=$ac_wine_try_cflags_saved
11629 ac_exeext=$ac_wine_try_cflags_saved_exeext
11631 eval ac_res=\$$as_ac_var
11632 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11633 printf "%s\n" "$ac_res" >&6; }
11634 if eval test \"x\$"$as_ac_var"\" = x"yes"
11635 then :
11636 as_fn_append ${wine_arch}_CFLAGS " -Wl,--build-id"
11637 as_fn_append ${wine_arch}_LDFLAGS " -Wl,--build-id"
11638 fi }
11640 CC=$saved_CC
11641 CFLAGS=$saved_CFLAGS
11642 LDFLAGS=$saved_LDFLAGS
11643 done
11645 if test $HOST_ARCH = aarch64
11646 then
11647 test "x$PE_ARCHS" != x || as_fn_error $? "PE cross-compilation is required for ARM64, please install clang/llvm-dlltool/lld, or llvm-mingw." "$LINENO" 5
11648 DLLEXT=""
11649 else
11650 if test "x$PE_ARCHS" = "x"
11651 then :
11652 case "x$with_mingw" in
11653 x) as_fn_append wine_notices "|MinGW compiler not found, cross-compiling PE files won't be supported." ;;
11654 xno) ;;
11655 *) as_fn_error $? "MinGW compiler not found, cross-compiling PE files won't be supported.
11656 This is an error since --with-mingw was requested." "$LINENO" 5 ;;
11657 esac
11663 if test "x$with_system_dllpath" != "x" -a -n "$PE_ARCHS"
11664 then
11665 case "$host_cpu" in
11666 i[3456789]86*)
11667 ac_prefix_list="i686-w64-mingw32-pkg-config i586-w64-mingw32-pkg-config i486-w64-mingw32-pkg-config i386-w64-mingw32-pkg-config " ;;
11669 ac_prefix_list="$host_cpu-w64-mingw32-pkg-config" ;;
11670 esac
11671 for ac_prog in $ac_prefix_list
11673 # Extract the first word of "$ac_prog", so it can be a program name with args.
11674 set dummy $ac_prog; ac_word=$2
11675 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11676 printf %s "checking for $ac_word... " >&6; }
11677 if test ${ac_cv_prog_MINGW_PKG_CONFIG+y}
11678 then :
11679 printf %s "(cached) " >&6
11680 else $as_nop
11681 if test -n "$MINGW_PKG_CONFIG"; then
11682 ac_cv_prog_MINGW_PKG_CONFIG="$MINGW_PKG_CONFIG" # Let the user override the test.
11683 else
11684 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11685 for as_dir in $PATH
11687 IFS=$as_save_IFS
11688 case $as_dir in #(((
11689 '') as_dir=./ ;;
11690 */) ;;
11691 *) as_dir=$as_dir/ ;;
11692 esac
11693 for ac_exec_ext in '' $ac_executable_extensions; do
11694 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
11695 ac_cv_prog_MINGW_PKG_CONFIG="$ac_prog"
11696 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
11697 break 2
11699 done
11700 done
11701 IFS=$as_save_IFS
11705 MINGW_PKG_CONFIG=$ac_cv_prog_MINGW_PKG_CONFIG
11706 if test -n "$MINGW_PKG_CONFIG"; then
11707 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MINGW_PKG_CONFIG" >&5
11708 printf "%s\n" "$MINGW_PKG_CONFIG" >&6; }
11709 else
11710 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11711 printf "%s\n" "no" >&6; }
11715 test -n "$MINGW_PKG_CONFIG" && break
11716 done
11717 test -n "$MINGW_PKG_CONFIG" || MINGW_PKG_CONFIG="false"
11719 if ${FAUDIO_PE_CFLAGS:+false} :
11720 then :
11721 if test ${MINGW_PKG_CONFIG+y}
11722 then :
11723 FAUDIO_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags FAudio 2>/dev/null`
11726 if ${FAUDIO_PE_LIBS:+false} :
11727 then :
11728 if test ${MINGW_PKG_CONFIG+y}
11729 then :
11730 FAUDIO_PE_LIBS=`$MINGW_PKG_CONFIG --libs FAudio 2>/dev/null`
11733 FAUDIO_PE_LIBS=${FAUDIO_PE_LIBS:-"-lFAudio"}
11734 ac_save_CPPFLAGS=$CPPFLAGS
11735 CPPFLAGS="$CPPFLAGS $FAUDIO_PE_CFLAGS"
11736 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW FAudio.h" >&5
11737 printf %s "checking for MinGW FAudio.h... " >&6; }
11738 if test ${ac_cv_mingw_header_FAudio_h+y}
11739 then :
11740 printf %s "(cached) " >&6
11741 else $as_nop
11742 ac_wine_check_headers_saved_cc=$CC
11743 ac_wine_check_headers_saved_exeext=$ac_exeext
11744 eval CC=\$${wine_arch}_CC
11745 ac_exeext=".exe"
11746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11747 /* end confdefs.h. */
11749 #include <FAudio.h>
11751 main (void)
11755 return 0;
11757 _ACEOF
11758 if ac_fn_c_try_compile "$LINENO"
11759 then :
11760 ac_cv_mingw_header_FAudio_h=yes
11761 else $as_nop
11762 ac_cv_mingw_header_FAudio_h=no
11764 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
11765 CC=$ac_wine_check_headers_saved_cc
11766 ac_exeext=$ac_wine_check_headers_saved_exeext
11768 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_FAudio_h" >&5
11769 printf "%s\n" "$ac_cv_mingw_header_FAudio_h" >&6; }
11770 if test "x$ac_cv_mingw_header_FAudio_h" = xyes
11771 then :
11772 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for FAudio_CommitOperationSet in MinGW -lFAudio" >&5
11773 printf %s "checking for FAudio_CommitOperationSet in MinGW -lFAudio... " >&6; }
11774 if test ${ac_cv_mingw_lib_FAudio+y}
11775 then :
11776 printf %s "(cached) " >&6
11777 else $as_nop
11778 ac_wine_check_headers_saved_cc=$CC
11779 ac_wine_check_headers_saved_exeext=$ac_exeext
11780 ac_wine_check_headers_saved_libs=$LIBS
11781 eval CC=\$${wine_arch}_CC
11782 ac_exeext=".exe"
11783 LIBS="-lFAudio $FAUDIO_PE_LIBS $LIBS"
11784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11785 /* end confdefs.h. */
11787 /* Override any GCC internal prototype to avoid an error.
11788 Use char because int might match the return type of a GCC
11789 builtin and then its argument prototype would still apply. */
11790 char FAudio_CommitOperationSet ();
11792 main (void)
11794 return FAudio_CommitOperationSet ();
11796 return 0;
11798 _ACEOF
11799 if ac_fn_c_try_link "$LINENO"
11800 then :
11801 ac_cv_mingw_lib_FAudio=yes
11802 else $as_nop
11803 ac_cv_mingw_lib_FAudio=no
11805 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11806 conftest$ac_exeext conftest.$ac_ext
11807 CC=$ac_wine_check_headers_saved_cc
11808 ac_exeext=$ac_wine_check_headers_saved_exeext
11809 LIBS=$ac_wine_check_headers_saved_libs
11811 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_FAudio" >&5
11812 printf "%s\n" "$ac_cv_mingw_lib_FAudio" >&6; }
11813 if test "x$ac_cv_mingw_lib_FAudio" = xyes
11814 then :
11816 else $as_nop
11817 FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
11819 else $as_nop
11820 FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
11822 CPPFLAGS=$ac_save_CPPFLAGS
11824 if test "x$FAUDIO_PE_LIBS" = "x"
11825 then
11826 as_fn_append wine_notices "|FAudio ${notice_platform}MinGW development files not found (or too old); using bundled version."
11829 if ${JPEG_PE_CFLAGS:+false} :
11830 then :
11831 if test ${MINGW_PKG_CONFIG+y}
11832 then :
11833 JPEG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libjpeg 2>/dev/null`
11836 if ${JPEG_PE_LIBS:+false} :
11837 then :
11838 if test ${MINGW_PKG_CONFIG+y}
11839 then :
11840 JPEG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libjpeg 2>/dev/null`
11844 ac_save_CPPFLAGS=$CPPFLAGS
11845 CPPFLAGS="$CPPFLAGS $JPEG_PE_CFLAGS"
11846 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW jpeglib.h" >&5
11847 printf %s "checking for MinGW jpeglib.h... " >&6; }
11848 if test ${ac_cv_mingw_header_jpeglib_h+y}
11849 then :
11850 printf %s "(cached) " >&6
11851 else $as_nop
11852 ac_wine_check_headers_saved_cc=$CC
11853 ac_wine_check_headers_saved_exeext=$ac_exeext
11854 eval CC=\$${wine_arch}_CC
11855 ac_exeext=".exe"
11856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11857 /* end confdefs.h. */
11858 #include <stddef.h>
11859 #include <stdio.h>
11860 #include <jpeglib.h>
11862 main (void)
11866 return 0;
11868 _ACEOF
11869 if ac_fn_c_try_compile "$LINENO"
11870 then :
11871 ac_cv_mingw_header_jpeglib_h=yes
11872 else $as_nop
11873 ac_cv_mingw_header_jpeglib_h=no
11875 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
11876 CC=$ac_wine_check_headers_saved_cc
11877 ac_exeext=$ac_wine_check_headers_saved_exeext
11879 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_jpeglib_h" >&5
11880 printf "%s\n" "$ac_cv_mingw_header_jpeglib_h" >&6; }
11881 if test "x$ac_cv_mingw_header_jpeglib_h" = xyes
11882 then :
11883 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for jpeg_start_decompress in MinGW -ljpeg" >&5
11884 printf %s "checking for jpeg_start_decompress in MinGW -ljpeg... " >&6; }
11885 if test ${ac_cv_mingw_lib_jpeg+y}
11886 then :
11887 printf %s "(cached) " >&6
11888 else $as_nop
11889 ac_wine_check_headers_saved_cc=$CC
11890 ac_wine_check_headers_saved_exeext=$ac_exeext
11891 ac_wine_check_headers_saved_libs=$LIBS
11892 eval CC=\$${wine_arch}_CC
11893 ac_exeext=".exe"
11894 LIBS="-ljpeg $JPEG_PE_LIBS $LIBS"
11895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11896 /* end confdefs.h. */
11898 /* Override any GCC internal prototype to avoid an error.
11899 Use char because int might match the return type of a GCC
11900 builtin and then its argument prototype would still apply. */
11901 char jpeg_start_decompress ();
11903 main (void)
11905 return jpeg_start_decompress ();
11907 return 0;
11909 _ACEOF
11910 if ac_fn_c_try_link "$LINENO"
11911 then :
11912 ac_cv_mingw_lib_jpeg=yes
11913 else $as_nop
11914 ac_cv_mingw_lib_jpeg=no
11916 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11917 conftest$ac_exeext conftest.$ac_ext
11918 CC=$ac_wine_check_headers_saved_cc
11919 ac_exeext=$ac_wine_check_headers_saved_exeext
11920 LIBS=$ac_wine_check_headers_saved_libs
11922 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_jpeg" >&5
11923 printf "%s\n" "$ac_cv_mingw_lib_jpeg" >&6; }
11924 if test "x$ac_cv_mingw_lib_jpeg" = xyes
11925 then :
11927 else $as_nop
11928 JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
11930 else $as_nop
11931 JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
11933 CPPFLAGS=$ac_save_CPPFLAGS
11935 if test "x$JPEG_PE_LIBS" = "x"
11936 then
11937 as_fn_append wine_notices "|libjpeg ${notice_platform}MinGW development files not found; using bundled version."
11940 if ${LCMS2_PE_CFLAGS:+false} :
11941 then :
11942 if test ${MINGW_PKG_CONFIG+y}
11943 then :
11944 LCMS2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags lcms2 2>/dev/null`
11947 if ${LCMS2_PE_LIBS:+false} :
11948 then :
11949 if test ${MINGW_PKG_CONFIG+y}
11950 then :
11951 LCMS2_PE_LIBS=`$MINGW_PKG_CONFIG --libs lcms2 2>/dev/null`
11954 LCMS2_PE_LIBS=${LCMS2_PE_LIBS:-"-llcms2"}
11955 ac_save_CPPFLAGS=$CPPFLAGS
11956 CPPFLAGS="$CPPFLAGS $LCMS2_PE_CFLAGS"
11957 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW lcms2.h" >&5
11958 printf %s "checking for MinGW lcms2.h... " >&6; }
11959 if test ${ac_cv_mingw_header_lcms2_h+y}
11960 then :
11961 printf %s "(cached) " >&6
11962 else $as_nop
11963 ac_wine_check_headers_saved_cc=$CC
11964 ac_wine_check_headers_saved_exeext=$ac_exeext
11965 eval CC=\$${wine_arch}_CC
11966 ac_exeext=".exe"
11967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11968 /* end confdefs.h. */
11970 #include <lcms2.h>
11972 main (void)
11976 return 0;
11978 _ACEOF
11979 if ac_fn_c_try_compile "$LINENO"
11980 then :
11981 ac_cv_mingw_header_lcms2_h=yes
11982 else $as_nop
11983 ac_cv_mingw_header_lcms2_h=no
11985 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
11986 CC=$ac_wine_check_headers_saved_cc
11987 ac_exeext=$ac_wine_check_headers_saved_exeext
11989 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_lcms2_h" >&5
11990 printf "%s\n" "$ac_cv_mingw_header_lcms2_h" >&6; }
11991 if test "x$ac_cv_mingw_header_lcms2_h" = xyes
11992 then :
11993 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in MinGW -llcms2" >&5
11994 printf %s "checking for cmsOpenProfileFromFile in MinGW -llcms2... " >&6; }
11995 if test ${ac_cv_mingw_lib_lcms2+y}
11996 then :
11997 printf %s "(cached) " >&6
11998 else $as_nop
11999 ac_wine_check_headers_saved_cc=$CC
12000 ac_wine_check_headers_saved_exeext=$ac_exeext
12001 ac_wine_check_headers_saved_libs=$LIBS
12002 eval CC=\$${wine_arch}_CC
12003 ac_exeext=".exe"
12004 LIBS="-llcms2 $LCMS2_PE_LIBS $LIBS"
12005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12006 /* end confdefs.h. */
12008 /* Override any GCC internal prototype to avoid an error.
12009 Use char because int might match the return type of a GCC
12010 builtin and then its argument prototype would still apply. */
12011 char cmsOpenProfileFromFile ();
12013 main (void)
12015 return cmsOpenProfileFromFile ();
12017 return 0;
12019 _ACEOF
12020 if ac_fn_c_try_link "$LINENO"
12021 then :
12022 ac_cv_mingw_lib_lcms2=yes
12023 else $as_nop
12024 ac_cv_mingw_lib_lcms2=no
12026 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12027 conftest$ac_exeext conftest.$ac_ext
12028 CC=$ac_wine_check_headers_saved_cc
12029 ac_exeext=$ac_wine_check_headers_saved_exeext
12030 LIBS=$ac_wine_check_headers_saved_libs
12032 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_lcms2" >&5
12033 printf "%s\n" "$ac_cv_mingw_lib_lcms2" >&6; }
12034 if test "x$ac_cv_mingw_lib_lcms2" = xyes
12035 then :
12037 else $as_nop
12038 LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
12040 else $as_nop
12041 LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
12043 CPPFLAGS=$ac_save_CPPFLAGS
12045 if test "x$LCMS2_PE_LIBS" = "x"
12046 then
12047 as_fn_append wine_notices "|liblcms2 ${notice_platform}MinGW development files not found; using bundled version."
12050 if ${MPG123_PE_CFLAGS:+false} :
12051 then :
12052 if test ${MINGW_PKG_CONFIG+y}
12053 then :
12054 MPG123_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libmpg123 2>/dev/null`
12057 if ${MPG123_PE_LIBS:+false} :
12058 then :
12059 if test ${MINGW_PKG_CONFIG+y}
12060 then :
12061 MPG123_PE_LIBS=`$MINGW_PKG_CONFIG --libs libmpg123 2>/dev/null`
12064 MPG123_PE_LIBS=${MPG123_PE_LIBS:-"-lmpg123"}
12065 ac_save_CPPFLAGS=$CPPFLAGS
12066 CPPFLAGS="$CPPFLAGS $MPG123_PE_CFLAGS"
12067 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW mpg123.h" >&5
12068 printf %s "checking for MinGW mpg123.h... " >&6; }
12069 if test ${ac_cv_mingw_header_mpg123_h+y}
12070 then :
12071 printf %s "(cached) " >&6
12072 else $as_nop
12073 ac_wine_check_headers_saved_cc=$CC
12074 ac_wine_check_headers_saved_exeext=$ac_exeext
12075 eval CC=\$${wine_arch}_CC
12076 ac_exeext=".exe"
12077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12078 /* end confdefs.h. */
12080 #include <mpg123.h>
12082 main (void)
12086 return 0;
12088 _ACEOF
12089 if ac_fn_c_try_compile "$LINENO"
12090 then :
12091 ac_cv_mingw_header_mpg123_h=yes
12092 else $as_nop
12093 ac_cv_mingw_header_mpg123_h=no
12095 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12096 CC=$ac_wine_check_headers_saved_cc
12097 ac_exeext=$ac_wine_check_headers_saved_exeext
12099 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_mpg123_h" >&5
12100 printf "%s\n" "$ac_cv_mingw_header_mpg123_h" >&6; }
12101 if test "x$ac_cv_mingw_header_mpg123_h" = xyes
12102 then :
12103 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in MinGW -lmpg123" >&5
12104 printf %s "checking for mpg123_feed in MinGW -lmpg123... " >&6; }
12105 if test ${ac_cv_mingw_lib_mpg123+y}
12106 then :
12107 printf %s "(cached) " >&6
12108 else $as_nop
12109 ac_wine_check_headers_saved_cc=$CC
12110 ac_wine_check_headers_saved_exeext=$ac_exeext
12111 ac_wine_check_headers_saved_libs=$LIBS
12112 eval CC=\$${wine_arch}_CC
12113 ac_exeext=".exe"
12114 LIBS="-lmpg123 $MPG123_PE_LIBS $LIBS"
12115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12116 /* end confdefs.h. */
12118 /* Override any GCC internal prototype to avoid an error.
12119 Use char because int might match the return type of a GCC
12120 builtin and then its argument prototype would still apply. */
12121 char mpg123_feed ();
12123 main (void)
12125 return mpg123_feed ();
12127 return 0;
12129 _ACEOF
12130 if ac_fn_c_try_link "$LINENO"
12131 then :
12132 ac_cv_mingw_lib_mpg123=yes
12133 else $as_nop
12134 ac_cv_mingw_lib_mpg123=no
12136 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12137 conftest$ac_exeext conftest.$ac_ext
12138 CC=$ac_wine_check_headers_saved_cc
12139 ac_exeext=$ac_wine_check_headers_saved_exeext
12140 LIBS=$ac_wine_check_headers_saved_libs
12142 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_mpg123" >&5
12143 printf "%s\n" "$ac_cv_mingw_lib_mpg123" >&6; }
12144 if test "x$ac_cv_mingw_lib_mpg123" = xyes
12145 then :
12147 else $as_nop
12148 MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
12150 else $as_nop
12151 MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
12153 CPPFLAGS=$ac_save_CPPFLAGS
12155 if test "x$MPG123_PE_LIBS" = "x"
12156 then
12157 as_fn_append wine_notices "|libmpg123 ${notice_platform}MinGW development files not found (or too old); using bundled version."
12160 if ${PNG_PE_CFLAGS:+false} :
12161 then :
12162 if test ${MINGW_PKG_CONFIG+y}
12163 then :
12164 PNG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libpng 2>/dev/null`
12167 if ${PNG_PE_LIBS:+false} :
12168 then :
12169 if test ${MINGW_PKG_CONFIG+y}
12170 then :
12171 PNG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libpng 2>/dev/null`
12175 ac_save_CPPFLAGS=$CPPFLAGS
12176 CPPFLAGS="$CPPFLAGS $PNG_PE_CFLAGS"
12177 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW png.h" >&5
12178 printf %s "checking for MinGW png.h... " >&6; }
12179 if test ${ac_cv_mingw_header_png_h+y}
12180 then :
12181 printf %s "(cached) " >&6
12182 else $as_nop
12183 ac_wine_check_headers_saved_cc=$CC
12184 ac_wine_check_headers_saved_exeext=$ac_exeext
12185 eval CC=\$${wine_arch}_CC
12186 ac_exeext=".exe"
12187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12188 /* end confdefs.h. */
12190 #include <png.h>
12192 main (void)
12196 return 0;
12198 _ACEOF
12199 if ac_fn_c_try_compile "$LINENO"
12200 then :
12201 ac_cv_mingw_header_png_h=yes
12202 else $as_nop
12203 ac_cv_mingw_header_png_h=no
12205 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12206 CC=$ac_wine_check_headers_saved_cc
12207 ac_exeext=$ac_wine_check_headers_saved_exeext
12209 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_png_h" >&5
12210 printf "%s\n" "$ac_cv_mingw_header_png_h" >&6; }
12211 if test "x$ac_cv_mingw_header_png_h" = xyes
12212 then :
12213 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for png_create_read_struct in MinGW -lpng" >&5
12214 printf %s "checking for png_create_read_struct in MinGW -lpng... " >&6; }
12215 if test ${ac_cv_mingw_lib_png+y}
12216 then :
12217 printf %s "(cached) " >&6
12218 else $as_nop
12219 ac_wine_check_headers_saved_cc=$CC
12220 ac_wine_check_headers_saved_exeext=$ac_exeext
12221 ac_wine_check_headers_saved_libs=$LIBS
12222 eval CC=\$${wine_arch}_CC
12223 ac_exeext=".exe"
12224 LIBS="-lpng $PNG_PE_LIBS $LIBS"
12225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12226 /* end confdefs.h. */
12228 /* Override any GCC internal prototype to avoid an error.
12229 Use char because int might match the return type of a GCC
12230 builtin and then its argument prototype would still apply. */
12231 char png_create_read_struct ();
12233 main (void)
12235 return png_create_read_struct ();
12237 return 0;
12239 _ACEOF
12240 if ac_fn_c_try_link "$LINENO"
12241 then :
12242 ac_cv_mingw_lib_png=yes
12243 else $as_nop
12244 ac_cv_mingw_lib_png=no
12246 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12247 conftest$ac_exeext conftest.$ac_ext
12248 CC=$ac_wine_check_headers_saved_cc
12249 ac_exeext=$ac_wine_check_headers_saved_exeext
12250 LIBS=$ac_wine_check_headers_saved_libs
12252 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_png" >&5
12253 printf "%s\n" "$ac_cv_mingw_lib_png" >&6; }
12254 if test "x$ac_cv_mingw_lib_png" = xyes
12255 then :
12257 else $as_nop
12258 PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
12260 else $as_nop
12261 PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
12263 CPPFLAGS=$ac_save_CPPFLAGS
12265 if test "x$PNG_PE_LIBS" = "x"
12266 then
12267 as_fn_append wine_notices "|libpng ${notice_platform}MinGW development files not found; using bundled version."
12270 if ${TIFF_PE_CFLAGS:+false} :
12271 then :
12272 if test ${MINGW_PKG_CONFIG+y}
12273 then :
12274 TIFF_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libtiff-4 2>/dev/null`
12277 if ${TIFF_PE_LIBS:+false} :
12278 then :
12279 if test ${MINGW_PKG_CONFIG+y}
12280 then :
12281 TIFF_PE_LIBS=`$MINGW_PKG_CONFIG --libs libtiff-4 2>/dev/null`
12285 ac_save_CPPFLAGS=$CPPFLAGS
12286 CPPFLAGS="$CPPFLAGS $TIFF_PE_CFLAGS"
12287 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW tiffio.h" >&5
12288 printf %s "checking for MinGW tiffio.h... " >&6; }
12289 if test ${ac_cv_mingw_header_tiffio_h+y}
12290 then :
12291 printf %s "(cached) " >&6
12292 else $as_nop
12293 ac_wine_check_headers_saved_cc=$CC
12294 ac_wine_check_headers_saved_exeext=$ac_exeext
12295 eval CC=\$${wine_arch}_CC
12296 ac_exeext=".exe"
12297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12298 /* end confdefs.h. */
12300 #include <tiffio.h>
12302 main (void)
12306 return 0;
12308 _ACEOF
12309 if ac_fn_c_try_compile "$LINENO"
12310 then :
12311 ac_cv_mingw_header_tiffio_h=yes
12312 else $as_nop
12313 ac_cv_mingw_header_tiffio_h=no
12315 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12316 CC=$ac_wine_check_headers_saved_cc
12317 ac_exeext=$ac_wine_check_headers_saved_exeext
12319 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_tiffio_h" >&5
12320 printf "%s\n" "$ac_cv_mingw_header_tiffio_h" >&6; }
12321 if test "x$ac_cv_mingw_header_tiffio_h" = xyes
12322 then :
12323 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for TIFFClientOpen in MinGW -ltiff" >&5
12324 printf %s "checking for TIFFClientOpen in MinGW -ltiff... " >&6; }
12325 if test ${ac_cv_mingw_lib_tiff+y}
12326 then :
12327 printf %s "(cached) " >&6
12328 else $as_nop
12329 ac_wine_check_headers_saved_cc=$CC
12330 ac_wine_check_headers_saved_exeext=$ac_exeext
12331 ac_wine_check_headers_saved_libs=$LIBS
12332 eval CC=\$${wine_arch}_CC
12333 ac_exeext=".exe"
12334 LIBS="-ltiff $TIFF_PE_LIBS $LIBS"
12335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12336 /* end confdefs.h. */
12338 /* Override any GCC internal prototype to avoid an error.
12339 Use char because int might match the return type of a GCC
12340 builtin and then its argument prototype would still apply. */
12341 char TIFFClientOpen ();
12343 main (void)
12345 return TIFFClientOpen ();
12347 return 0;
12349 _ACEOF
12350 if ac_fn_c_try_link "$LINENO"
12351 then :
12352 ac_cv_mingw_lib_tiff=yes
12353 else $as_nop
12354 ac_cv_mingw_lib_tiff=no
12356 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12357 conftest$ac_exeext conftest.$ac_ext
12358 CC=$ac_wine_check_headers_saved_cc
12359 ac_exeext=$ac_wine_check_headers_saved_exeext
12360 LIBS=$ac_wine_check_headers_saved_libs
12362 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_tiff" >&5
12363 printf "%s\n" "$ac_cv_mingw_lib_tiff" >&6; }
12364 if test "x$ac_cv_mingw_lib_tiff" = xyes
12365 then :
12367 else $as_nop
12368 TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
12370 else $as_nop
12371 TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
12373 CPPFLAGS=$ac_save_CPPFLAGS
12375 if test "x$TIFF_PE_LIBS" = "x"
12376 then
12377 as_fn_append wine_notices "|libtiff ${notice_platform}MinGW development files not found; using bundled version."
12380 if ${XML2_PE_CFLAGS:+false} :
12381 then :
12382 if test ${MINGW_PKG_CONFIG+y}
12383 then :
12384 XML2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
12387 if ${XML2_PE_LIBS:+false} :
12388 then :
12389 if test ${MINGW_PKG_CONFIG+y}
12390 then :
12391 XML2_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxml-2.0 2>/dev/null`
12394 XML2_PE_LIBS=${XML2_PE_LIBS:-"-lxml2"}
12395 ac_save_CPPFLAGS=$CPPFLAGS
12396 CPPFLAGS="$CPPFLAGS $XML2_PE_CFLAGS"
12397 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/parser.h" >&5
12398 printf %s "checking for MinGW libxml/parser.h... " >&6; }
12399 if test ${ac_cv_mingw_header_libxml_parser_h+y}
12400 then :
12401 printf %s "(cached) " >&6
12402 else $as_nop
12403 ac_wine_check_headers_saved_cc=$CC
12404 ac_wine_check_headers_saved_exeext=$ac_exeext
12405 eval CC=\$${wine_arch}_CC
12406 ac_exeext=".exe"
12407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12408 /* end confdefs.h. */
12410 #include <libxml/parser.h>
12412 main (void)
12416 return 0;
12418 _ACEOF
12419 if ac_fn_c_try_compile "$LINENO"
12420 then :
12421 ac_cv_mingw_header_libxml_parser_h=yes
12422 else $as_nop
12423 ac_cv_mingw_header_libxml_parser_h=no
12425 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12426 CC=$ac_wine_check_headers_saved_cc
12427 ac_exeext=$ac_wine_check_headers_saved_exeext
12429 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_parser_h" >&5
12430 printf "%s\n" "$ac_cv_mingw_header_libxml_parser_h" >&6; }
12431 if test "x$ac_cv_mingw_header_libxml_parser_h" = xyes
12432 then :
12435 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/xmlsave.h" >&5
12436 printf %s "checking for MinGW libxml/xmlsave.h... " >&6; }
12437 if test ${ac_cv_mingw_header_libxml_xmlsave_h+y}
12438 then :
12439 printf %s "(cached) " >&6
12440 else $as_nop
12441 ac_wine_check_headers_saved_cc=$CC
12442 ac_wine_check_headers_saved_exeext=$ac_exeext
12443 eval CC=\$${wine_arch}_CC
12444 ac_exeext=".exe"
12445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12446 /* end confdefs.h. */
12448 #include <libxml/xmlsave.h>
12450 main (void)
12454 return 0;
12456 _ACEOF
12457 if ac_fn_c_try_compile "$LINENO"
12458 then :
12459 ac_cv_mingw_header_libxml_xmlsave_h=yes
12460 else $as_nop
12461 ac_cv_mingw_header_libxml_xmlsave_h=no
12463 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12464 CC=$ac_wine_check_headers_saved_cc
12465 ac_exeext=$ac_wine_check_headers_saved_exeext
12467 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_xmlsave_h" >&5
12468 printf "%s\n" "$ac_cv_mingw_header_libxml_xmlsave_h" >&6; }
12469 if test "x$ac_cv_mingw_header_libxml_xmlsave_h" = xyes
12470 then :
12473 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/SAX2.h" >&5
12474 printf %s "checking for MinGW libxml/SAX2.h... " >&6; }
12475 if test ${ac_cv_mingw_header_libxml_SAX2_h+y}
12476 then :
12477 printf %s "(cached) " >&6
12478 else $as_nop
12479 ac_wine_check_headers_saved_cc=$CC
12480 ac_wine_check_headers_saved_exeext=$ac_exeext
12481 eval CC=\$${wine_arch}_CC
12482 ac_exeext=".exe"
12483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12484 /* end confdefs.h. */
12486 #include <libxml/SAX2.h>
12488 main (void)
12492 return 0;
12494 _ACEOF
12495 if ac_fn_c_try_compile "$LINENO"
12496 then :
12497 ac_cv_mingw_header_libxml_SAX2_h=yes
12498 else $as_nop
12499 ac_cv_mingw_header_libxml_SAX2_h=no
12501 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12502 CC=$ac_wine_check_headers_saved_cc
12503 ac_exeext=$ac_wine_check_headers_saved_exeext
12505 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_SAX2_h" >&5
12506 printf "%s\n" "$ac_cv_mingw_header_libxml_SAX2_h" >&6; }
12507 if test "x$ac_cv_mingw_header_libxml_SAX2_h" = xyes
12508 then :
12511 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"
12512 then
12513 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in MinGW -lxml2" >&5
12514 printf %s "checking for xmlFirstElementChild in MinGW -lxml2... " >&6; }
12515 if test ${ac_cv_mingw_lib_xml2+y}
12516 then :
12517 printf %s "(cached) " >&6
12518 else $as_nop
12519 ac_wine_check_headers_saved_cc=$CC
12520 ac_wine_check_headers_saved_exeext=$ac_exeext
12521 ac_wine_check_headers_saved_libs=$LIBS
12522 eval CC=\$${wine_arch}_CC
12523 ac_exeext=".exe"
12524 LIBS="-lxml2 $XML2_PE_LIBS $LIBS"
12525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12526 /* end confdefs.h. */
12528 /* Override any GCC internal prototype to avoid an error.
12529 Use char because int might match the return type of a GCC
12530 builtin and then its argument prototype would still apply. */
12531 char xmlFirstElementChild ();
12533 main (void)
12535 return xmlFirstElementChild ();
12537 return 0;
12539 _ACEOF
12540 if ac_fn_c_try_link "$LINENO"
12541 then :
12542 ac_cv_mingw_lib_xml2=yes
12543 else $as_nop
12544 ac_cv_mingw_lib_xml2=no
12546 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12547 conftest$ac_exeext conftest.$ac_ext
12548 CC=$ac_wine_check_headers_saved_cc
12549 ac_exeext=$ac_wine_check_headers_saved_exeext
12550 LIBS=$ac_wine_check_headers_saved_libs
12552 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xml2" >&5
12553 printf "%s\n" "$ac_cv_mingw_lib_xml2" >&6; }
12554 if test "x$ac_cv_mingw_lib_xml2" = xyes
12555 then :
12557 else $as_nop
12558 XML2_PE_CFLAGS=""; XML2_PE_LIBS=""
12560 else
12561 XML2_PE_CFLAGS=""
12562 XML2_PE_LIBS=""
12564 CPPFLAGS=$ac_save_CPPFLAGS
12566 if test "x$XML2_PE_LIBS" = "x"
12567 then
12568 as_fn_append wine_notices "|libxml2 ${notice_platform}MinGW development files not found (or too old); using bundled version."
12571 if ${XSLT_PE_CFLAGS:+false} :
12572 then :
12573 if test ${MINGW_PKG_CONFIG+y}
12574 then :
12575 XSLT_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxslt 2>/dev/null`
12578 if ${XSLT_PE_LIBS:+false} :
12579 then :
12580 if test ${MINGW_PKG_CONFIG+y}
12581 then :
12582 XSLT_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxslt 2>/dev/null`
12585 XSLT_PE_LIBS=${XSLT_PE_LIBS:-"-lxslt"}
12586 ac_save_CPPFLAGS=$CPPFLAGS
12587 CPPFLAGS="$CPPFLAGS $XSLT_PE_CFLAGS"
12588 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/pattern.h" >&5
12589 printf %s "checking for MinGW libxslt/pattern.h... " >&6; }
12590 if test ${ac_cv_mingw_header_libxslt_pattern_h+y}
12591 then :
12592 printf %s "(cached) " >&6
12593 else $as_nop
12594 ac_wine_check_headers_saved_cc=$CC
12595 ac_wine_check_headers_saved_exeext=$ac_exeext
12596 eval CC=\$${wine_arch}_CC
12597 ac_exeext=".exe"
12598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12599 /* end confdefs.h. */
12601 #include <libxslt/pattern.h>
12603 main (void)
12607 return 0;
12609 _ACEOF
12610 if ac_fn_c_try_compile "$LINENO"
12611 then :
12612 ac_cv_mingw_header_libxslt_pattern_h=yes
12613 else $as_nop
12614 ac_cv_mingw_header_libxslt_pattern_h=no
12616 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12617 CC=$ac_wine_check_headers_saved_cc
12618 ac_exeext=$ac_wine_check_headers_saved_exeext
12620 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_pattern_h" >&5
12621 printf "%s\n" "$ac_cv_mingw_header_libxslt_pattern_h" >&6; }
12622 if test "x$ac_cv_mingw_header_libxslt_pattern_h" = xyes
12623 then :
12626 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/transform.h" >&5
12627 printf %s "checking for MinGW libxslt/transform.h... " >&6; }
12628 if test ${ac_cv_mingw_header_libxslt_transform_h+y}
12629 then :
12630 printf %s "(cached) " >&6
12631 else $as_nop
12632 ac_wine_check_headers_saved_cc=$CC
12633 ac_wine_check_headers_saved_exeext=$ac_exeext
12634 eval CC=\$${wine_arch}_CC
12635 ac_exeext=".exe"
12636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12637 /* end confdefs.h. */
12639 #include <libxslt/transform.h>
12641 main (void)
12645 return 0;
12647 _ACEOF
12648 if ac_fn_c_try_compile "$LINENO"
12649 then :
12650 ac_cv_mingw_header_libxslt_transform_h=yes
12651 else $as_nop
12652 ac_cv_mingw_header_libxslt_transform_h=no
12654 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12655 CC=$ac_wine_check_headers_saved_cc
12656 ac_exeext=$ac_wine_check_headers_saved_exeext
12658 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_transform_h" >&5
12659 printf "%s\n" "$ac_cv_mingw_header_libxslt_transform_h" >&6; }
12660 if test "x$ac_cv_mingw_header_libxslt_transform_h" = xyes
12661 then :
12664 if test "$ac_cv_mingw_header_libxslt_pattern_h" = "yes" -a "$ac_cv_mingw_header_libxslt_transform_h" = "yes"
12665 then
12666 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xsltCompilePattern in MinGW -lxslt" >&5
12667 printf %s "checking for xsltCompilePattern in MinGW -lxslt... " >&6; }
12668 if test ${ac_cv_mingw_lib_xslt+y}
12669 then :
12670 printf %s "(cached) " >&6
12671 else $as_nop
12672 ac_wine_check_headers_saved_cc=$CC
12673 ac_wine_check_headers_saved_exeext=$ac_exeext
12674 ac_wine_check_headers_saved_libs=$LIBS
12675 eval CC=\$${wine_arch}_CC
12676 ac_exeext=".exe"
12677 LIBS="-lxslt $XSLT_PE_LIBS $LIBS"
12678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12679 /* end confdefs.h. */
12681 /* Override any GCC internal prototype to avoid an error.
12682 Use char because int might match the return type of a GCC
12683 builtin and then its argument prototype would still apply. */
12684 char xsltCompilePattern ();
12686 main (void)
12688 return xsltCompilePattern ();
12690 return 0;
12692 _ACEOF
12693 if ac_fn_c_try_link "$LINENO"
12694 then :
12695 ac_cv_mingw_lib_xslt=yes
12696 else $as_nop
12697 ac_cv_mingw_lib_xslt=no
12699 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12700 conftest$ac_exeext conftest.$ac_ext
12701 CC=$ac_wine_check_headers_saved_cc
12702 ac_exeext=$ac_wine_check_headers_saved_exeext
12703 LIBS=$ac_wine_check_headers_saved_libs
12705 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xslt" >&5
12706 printf "%s\n" "$ac_cv_mingw_lib_xslt" >&6; }
12707 if test "x$ac_cv_mingw_lib_xslt" = xyes
12708 then :
12710 else $as_nop
12711 XSLT_PE_CFLAGS=""; XSLT_PE_LIBS=""
12713 else
12714 XSLT_PE_CFLAGS=""
12715 XSLT_PE_LIBS=""
12717 CPPFLAGS=$ac_save_CPPFLAGS
12719 if test "x$XSLT_PE_LIBS" = "x"
12720 then
12721 as_fn_append wine_notices "|libxslt ${notice_platform}MinGW development files not found; using bundled version."
12724 if ${VKD3D_PE_CFLAGS:+false} :
12725 then :
12726 if test ${MINGW_PKG_CONFIG+y}
12727 then :
12728 VKD3D_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libvkd3d libvkd3d-shader 2>/dev/null`
12731 if ${VKD3D_PE_LIBS:+false} :
12732 then :
12733 if test ${MINGW_PKG_CONFIG+y}
12734 then :
12735 VKD3D_PE_LIBS=`$MINGW_PKG_CONFIG --libs libvkd3d libvkd3d-shader 2>/dev/null`
12738 VKD3D_PE_LIBS=${VKD3D_PE_LIBS:-"-lvkd3d -lvkd3d-shader"}
12739 ac_save_CPPFLAGS=$CPPFLAGS
12740 CPPFLAGS="$CPPFLAGS $VKD3D_PE_CFLAGS"
12741 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW vkd3d.h" >&5
12742 printf %s "checking for MinGW vkd3d.h... " >&6; }
12743 if test ${ac_cv_mingw_header_vkd3d_h+y}
12744 then :
12745 printf %s "(cached) " >&6
12746 else $as_nop
12747 ac_wine_check_headers_saved_cc=$CC
12748 ac_wine_check_headers_saved_exeext=$ac_exeext
12749 eval CC=\$${wine_arch}_CC
12750 ac_exeext=".exe"
12751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12752 /* end confdefs.h. */
12754 #include <vkd3d.h>
12756 main (void)
12760 return 0;
12762 _ACEOF
12763 if ac_fn_c_try_compile "$LINENO"
12764 then :
12765 ac_cv_mingw_header_vkd3d_h=yes
12766 else $as_nop
12767 ac_cv_mingw_header_vkd3d_h=no
12769 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12770 CC=$ac_wine_check_headers_saved_cc
12771 ac_exeext=$ac_wine_check_headers_saved_exeext
12773 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_vkd3d_h" >&5
12774 printf "%s\n" "$ac_cv_mingw_header_vkd3d_h" >&6; }
12775 if test "x$ac_cv_mingw_header_vkd3d_h" = xyes
12776 then :
12779 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW vkd3d_shader.h" >&5
12780 printf %s "checking for MinGW vkd3d_shader.h... " >&6; }
12781 if test ${ac_cv_mingw_header_vkd3d_shader_h+y}
12782 then :
12783 printf %s "(cached) " >&6
12784 else $as_nop
12785 ac_wine_check_headers_saved_cc=$CC
12786 ac_wine_check_headers_saved_exeext=$ac_exeext
12787 eval CC=\$${wine_arch}_CC
12788 ac_exeext=".exe"
12789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12790 /* end confdefs.h. */
12792 #include <vkd3d_shader.h>
12794 main (void)
12798 return 0;
12800 _ACEOF
12801 if ac_fn_c_try_compile "$LINENO"
12802 then :
12803 ac_cv_mingw_header_vkd3d_shader_h=yes
12804 else $as_nop
12805 ac_cv_mingw_header_vkd3d_shader_h=no
12807 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12808 CC=$ac_wine_check_headers_saved_cc
12809 ac_exeext=$ac_wine_check_headers_saved_exeext
12811 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_vkd3d_shader_h" >&5
12812 printf "%s\n" "$ac_cv_mingw_header_vkd3d_shader_h" >&6; }
12813 if test "x$ac_cv_mingw_header_vkd3d_shader_h" = xyes
12814 then :
12817 if test "$ac_cv_mingw_header_vkd3d_h" = "yes" -a "$ac_cv_mingw_header_vkd3d_shader_h" = "yes"
12818 then
12819 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for vkd3d_set_log_callback in MinGW -lvkd3d" >&5
12820 printf %s "checking for vkd3d_set_log_callback in MinGW -lvkd3d... " >&6; }
12821 if test ${ac_cv_mingw_lib_vkd3d+y}
12822 then :
12823 printf %s "(cached) " >&6
12824 else $as_nop
12825 ac_wine_check_headers_saved_cc=$CC
12826 ac_wine_check_headers_saved_exeext=$ac_exeext
12827 ac_wine_check_headers_saved_libs=$LIBS
12828 eval CC=\$${wine_arch}_CC
12829 ac_exeext=".exe"
12830 LIBS="-lvkd3d $VKD3D_PE_LIBS $LIBS"
12831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12832 /* end confdefs.h. */
12834 /* Override any GCC internal prototype to avoid an error.
12835 Use char because int might match the return type of a GCC
12836 builtin and then its argument prototype would still apply. */
12837 char vkd3d_set_log_callback ();
12839 main (void)
12841 return vkd3d_set_log_callback ();
12843 return 0;
12845 _ACEOF
12846 if ac_fn_c_try_link "$LINENO"
12847 then :
12848 ac_cv_mingw_lib_vkd3d=yes
12849 else $as_nop
12850 ac_cv_mingw_lib_vkd3d=no
12852 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12853 conftest$ac_exeext conftest.$ac_ext
12854 CC=$ac_wine_check_headers_saved_cc
12855 ac_exeext=$ac_wine_check_headers_saved_exeext
12856 LIBS=$ac_wine_check_headers_saved_libs
12858 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_vkd3d" >&5
12859 printf "%s\n" "$ac_cv_mingw_lib_vkd3d" >&6; }
12860 if test "x$ac_cv_mingw_lib_vkd3d" = xyes
12861 then :
12863 else $as_nop
12866 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for vkd3d_shader_serialize_dxbc in MinGW -lvkd3d-shader" >&5
12867 printf %s "checking for vkd3d_shader_serialize_dxbc in MinGW -lvkd3d-shader... " >&6; }
12868 if test ${ac_cv_mingw_lib_vkd3d_shader+y}
12869 then :
12870 printf %s "(cached) " >&6
12871 else $as_nop
12872 ac_wine_check_headers_saved_cc=$CC
12873 ac_wine_check_headers_saved_exeext=$ac_exeext
12874 ac_wine_check_headers_saved_libs=$LIBS
12875 eval CC=\$${wine_arch}_CC
12876 ac_exeext=".exe"
12877 LIBS="-lvkd3d-shader $VKD3D_PE_LIBS $LIBS"
12878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12879 /* end confdefs.h. */
12881 /* Override any GCC internal prototype to avoid an error.
12882 Use char because int might match the return type of a GCC
12883 builtin and then its argument prototype would still apply. */
12884 char vkd3d_shader_serialize_dxbc ();
12886 main (void)
12888 return vkd3d_shader_serialize_dxbc ();
12890 return 0;
12892 _ACEOF
12893 if ac_fn_c_try_link "$LINENO"
12894 then :
12895 ac_cv_mingw_lib_vkd3d_shader=yes
12896 else $as_nop
12897 ac_cv_mingw_lib_vkd3d_shader=no
12899 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12900 conftest$ac_exeext conftest.$ac_ext
12901 CC=$ac_wine_check_headers_saved_cc
12902 ac_exeext=$ac_wine_check_headers_saved_exeext
12903 LIBS=$ac_wine_check_headers_saved_libs
12905 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_vkd3d_shader" >&5
12906 printf "%s\n" "$ac_cv_mingw_lib_vkd3d_shader" >&6; }
12907 if test "x$ac_cv_mingw_lib_vkd3d_shader" = xyes
12908 then :
12910 else $as_nop
12913 if test "$ac_cv_mingw_lib_vkd3d" = "no" -o "$ac_cv_mingw_lib_vkd3d_shader" = "no"
12914 then
12915 VKD3D_PE_CFLAGS=""
12916 VKD3D_PE_LIBS=""
12918 else
12919 VKD3D_PE_CFLAGS=""
12920 VKD3D_PE_LIBS=""
12922 CPPFLAGS=$ac_save_CPPFLAGS
12924 if test "x$VKD3D_PE_LIBS" = "x"
12925 then
12926 as_fn_append wine_notices "|libvkd3d ${notice_platform}MinGW development files not found (or too old); using bundled version."
12929 if ${ZLIB_PE_CFLAGS:+false} :
12930 then :
12931 if test ${MINGW_PKG_CONFIG+y}
12932 then :
12933 ZLIB_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags zlib 2>/dev/null`
12936 if ${ZLIB_PE_LIBS:+false} :
12937 then :
12938 if test ${MINGW_PKG_CONFIG+y}
12939 then :
12940 ZLIB_PE_LIBS=`$MINGW_PKG_CONFIG --libs zlib 2>/dev/null`
12943 ZLIB_PE_LIBS=${ZLIB_PE_LIBS:-"-lz"}
12944 ac_save_CPPFLAGS=$CPPFLAGS
12945 CPPFLAGS="$CPPFLAGS $ZLIB_PE_CFLAGS"
12946 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW zlib.h" >&5
12947 printf %s "checking for MinGW zlib.h... " >&6; }
12948 if test ${ac_cv_mingw_header_zlib_h+y}
12949 then :
12950 printf %s "(cached) " >&6
12951 else $as_nop
12952 ac_wine_check_headers_saved_cc=$CC
12953 ac_wine_check_headers_saved_exeext=$ac_exeext
12954 eval CC=\$${wine_arch}_CC
12955 ac_exeext=".exe"
12956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12957 /* end confdefs.h. */
12959 #include <zlib.h>
12961 main (void)
12965 return 0;
12967 _ACEOF
12968 if ac_fn_c_try_compile "$LINENO"
12969 then :
12970 ac_cv_mingw_header_zlib_h=yes
12971 else $as_nop
12972 ac_cv_mingw_header_zlib_h=no
12974 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12975 CC=$ac_wine_check_headers_saved_cc
12976 ac_exeext=$ac_wine_check_headers_saved_exeext
12978 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_zlib_h" >&5
12979 printf "%s\n" "$ac_cv_mingw_header_zlib_h" >&6; }
12980 if test "x$ac_cv_mingw_header_zlib_h" = xyes
12981 then :
12982 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inflate in MinGW -lz" >&5
12983 printf %s "checking for inflate in MinGW -lz... " >&6; }
12984 if test ${ac_cv_mingw_lib_z+y}
12985 then :
12986 printf %s "(cached) " >&6
12987 else $as_nop
12988 ac_wine_check_headers_saved_cc=$CC
12989 ac_wine_check_headers_saved_exeext=$ac_exeext
12990 ac_wine_check_headers_saved_libs=$LIBS
12991 eval CC=\$${wine_arch}_CC
12992 ac_exeext=".exe"
12993 LIBS="-lz $ZLIB_PE_LIBS $LIBS"
12994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12995 /* end confdefs.h. */
12997 /* Override any GCC internal prototype to avoid an error.
12998 Use char because int might match the return type of a GCC
12999 builtin and then its argument prototype would still apply. */
13000 char inflate ();
13002 main (void)
13004 return inflate ();
13006 return 0;
13008 _ACEOF
13009 if ac_fn_c_try_link "$LINENO"
13010 then :
13011 ac_cv_mingw_lib_z=yes
13012 else $as_nop
13013 ac_cv_mingw_lib_z=no
13015 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13016 conftest$ac_exeext conftest.$ac_ext
13017 CC=$ac_wine_check_headers_saved_cc
13018 ac_exeext=$ac_wine_check_headers_saved_exeext
13019 LIBS=$ac_wine_check_headers_saved_libs
13021 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_z" >&5
13022 printf "%s\n" "$ac_cv_mingw_lib_z" >&6; }
13023 if test "x$ac_cv_mingw_lib_z" = xyes
13024 then :
13026 else $as_nop
13027 ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
13029 else $as_nop
13030 ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
13032 CPPFLAGS=$ac_save_CPPFLAGS
13034 if test "x$ZLIB_PE_LIBS" = "x"
13035 then
13036 as_fn_append wine_notices "|zlib ${notice_platform}MinGW development files not found; using bundled version."
13040 if ${FAUDIO_PE_LIBS:+false} :
13041 then :
13042 FAUDIO_PE_LIBS="faudio mfplat mfreadwrite mfuuid propsys"
13043 if ${FAUDIO_PE_CFLAGS:+false} :
13044 then :
13045 FAUDIO_PE_CFLAGS="-I\$(top_srcdir)/libs/faudio/include"
13046 else $as_nop
13047 enable_faudio=no
13049 else $as_nop
13050 enable_faudio=no
13052 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio cflags: $FAUDIO_PE_CFLAGS" >&5
13053 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio libs: $FAUDIO_PE_LIBS" >&5
13055 if ${GSM_PE_LIBS:+false} :
13056 then :
13057 GSM_PE_LIBS=gsm
13058 if ${GSM_PE_CFLAGS:+false} :
13059 then :
13060 GSM_PE_CFLAGS="-I\$(top_srcdir)/libs/gsm/inc"
13061 else $as_nop
13062 enable_gsm=no
13064 else $as_nop
13065 enable_gsm=no
13067 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm cflags: $GSM_PE_CFLAGS" >&5
13068 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm libs: $GSM_PE_LIBS" >&5
13070 if ${JPEG_PE_LIBS:+false} :
13071 then :
13072 JPEG_PE_LIBS=jpeg
13073 if ${JPEG_PE_CFLAGS:+false} :
13074 then :
13075 JPEG_PE_CFLAGS="-I\$(top_srcdir)/libs/jpeg"
13076 else $as_nop
13077 enable_jpeg=no
13079 else $as_nop
13080 enable_jpeg=no
13082 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg cflags: $JPEG_PE_CFLAGS" >&5
13083 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg libs: $JPEG_PE_LIBS" >&5
13085 if ${JXR_PE_LIBS:+false} :
13086 then :
13087 JXR_PE_LIBS=jxr
13088 if ${JXR_PE_CFLAGS:+false} :
13089 then :
13090 JXR_PE_CFLAGS="-I\$(top_srcdir)/libs/jxr/jxrgluelib -I\$(top_srcdir)/libs/jxr/image/sys"
13091 else $as_nop
13092 enable_jxr=no
13094 else $as_nop
13095 enable_jxr=no
13097 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr cflags: $JXR_PE_CFLAGS" >&5
13098 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr libs: $JXR_PE_LIBS" >&5
13100 if ${LCMS2_PE_LIBS:+false} :
13101 then :
13102 LCMS2_PE_LIBS=lcms2
13103 if ${LCMS2_PE_CFLAGS:+false} :
13104 then :
13105 LCMS2_PE_CFLAGS="-I\$(top_srcdir)/libs/lcms2/include"
13106 else $as_nop
13107 enable_lcms2=no
13109 else $as_nop
13110 enable_lcms2=no
13112 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_PE_CFLAGS" >&5
13113 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_PE_LIBS" >&5
13115 if ${LDAP_PE_LIBS:+false} :
13116 then :
13117 LDAP_PE_LIBS=ldap
13118 if ${LDAP_PE_CFLAGS:+false} :
13119 then :
13120 LDAP_PE_CFLAGS="-I\$(top_srcdir)/libs/ldap/include"
13121 else $as_nop
13122 enable_ldap=no
13124 else $as_nop
13125 enable_ldap=no
13127 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ldap cflags: $LDAP_PE_CFLAGS" >&5
13128 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ldap libs: $LDAP_PE_LIBS" >&5
13130 if ${MPG123_PE_LIBS:+false} :
13131 then :
13132 MPG123_PE_LIBS=mpg123
13133 if ${MPG123_PE_CFLAGS:+false} :
13134 then :
13135 MPG123_PE_CFLAGS="-I\$(top_srcdir)/libs/mpg123/src/libmpg123"
13136 else $as_nop
13137 enable_mpg123=no
13139 else $as_nop
13140 enable_mpg123=no
13142 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 cflags: $MPG123_PE_CFLAGS" >&5
13143 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 libs: $MPG123_PE_LIBS" >&5
13145 if ${MUSL_PE_LIBS:+false} :
13146 then :
13147 MUSL_PE_LIBS=musl
13148 if ${MUSL_PE_CFLAGS:+false} :
13149 then :
13150 MUSL_PE_CFLAGS=
13151 else $as_nop
13152 enable_musl=no
13154 else $as_nop
13155 enable_musl=no
13157 printf "%s\n" "$as_me:${as_lineno-$LINENO}: musl cflags: $MUSL_PE_CFLAGS" >&5
13158 printf "%s\n" "$as_me:${as_lineno-$LINENO}: musl libs: $MUSL_PE_LIBS" >&5
13160 if ${PNG_PE_LIBS:+false} :
13161 then :
13162 PNG_PE_LIBS="png \$(ZLIB_PE_LIBS)"
13163 if ${PNG_PE_CFLAGS:+false} :
13164 then :
13165 PNG_PE_CFLAGS="-I\$(top_srcdir)/libs/png"
13166 else $as_nop
13167 enable_png=no
13169 else $as_nop
13170 enable_png=no
13172 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png cflags: $PNG_PE_CFLAGS" >&5
13173 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png libs: $PNG_PE_LIBS" >&5
13175 if ${TIFF_PE_LIBS:+false} :
13176 then :
13177 TIFF_PE_LIBS="tiff \$(ZLIB_PE_LIBS)"
13178 if ${TIFF_PE_CFLAGS:+false} :
13179 then :
13180 TIFF_PE_CFLAGS="-I\$(top_srcdir)/libs/tiff/libtiff"
13181 else $as_nop
13182 enable_tiff=no
13184 else $as_nop
13185 enable_tiff=no
13187 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff cflags: $TIFF_PE_CFLAGS" >&5
13188 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff libs: $TIFF_PE_LIBS" >&5
13190 if ${VKD3D_PE_LIBS:+false} :
13191 then :
13192 VKD3D_PE_LIBS=vkd3d
13193 if ${VKD3D_PE_CFLAGS:+false} :
13194 then :
13195 VKD3D_PE_CFLAGS="-I\$(top_srcdir)/libs/vkd3d/include"
13196 else $as_nop
13197 enable_vkd3d=no
13199 else $as_nop
13200 enable_vkd3d=no
13202 printf "%s\n" "$as_me:${as_lineno-$LINENO}: vkd3d cflags: $VKD3D_PE_CFLAGS" >&5
13203 printf "%s\n" "$as_me:${as_lineno-$LINENO}: vkd3d libs: $VKD3D_PE_LIBS" >&5
13205 if ${XML2_PE_LIBS:+false} :
13206 then :
13207 XML2_PE_LIBS=xml2
13208 if ${XML2_PE_CFLAGS:+false} :
13209 then :
13210 XML2_PE_CFLAGS="-I\$(top_srcdir)/libs/xml2/include -DLIBXML_STATIC"
13211 else $as_nop
13212 enable_xml2=no
13214 else $as_nop
13215 enable_xml2=no
13217 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 cflags: $XML2_PE_CFLAGS" >&5
13218 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 libs: $XML2_PE_LIBS" >&5
13220 if ${XSLT_PE_LIBS:+false} :
13221 then :
13222 XSLT_PE_LIBS=xslt
13223 if ${XSLT_PE_CFLAGS:+false} :
13224 then :
13225 XSLT_PE_CFLAGS="-I\$(top_srcdir)/libs/xslt/libxslt -I\$(top_srcdir)/libs/xslt -DLIBXSLT_STATIC"
13226 else $as_nop
13227 enable_xslt=no
13229 else $as_nop
13230 enable_xslt=no
13232 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt cflags: $XSLT_PE_CFLAGS" >&5
13233 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt libs: $XSLT_PE_LIBS" >&5
13235 if ${ZLIB_PE_LIBS:+false} :
13236 then :
13237 ZLIB_PE_LIBS=z
13238 if ${ZLIB_PE_CFLAGS:+false} :
13239 then :
13240 ZLIB_PE_CFLAGS="-I\$(top_srcdir)/libs/zlib -DFAR= -DZ_SOLO"
13241 else $as_nop
13242 enable_zlib=no
13244 else $as_nop
13245 enable_zlib=no
13247 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib cflags: $ZLIB_PE_CFLAGS" >&5
13248 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib libs: $ZLIB_PE_LIBS" >&5
13250 if ${ZYDIS_PE_LIBS:+false} :
13251 then :
13252 ZYDIS_PE_LIBS=zydis
13253 if ${ZYDIS_PE_CFLAGS:+false} :
13254 then :
13255 ZYDIS_PE_CFLAGS="-I\$(top_srcdir)/libs/zydis/include"
13256 else $as_nop
13257 enable_zydis=no
13259 else $as_nop
13260 enable_zydis=no
13262 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zydis cflags: $ZYDIS_PE_CFLAGS" >&5
13263 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zydis libs: $ZYDIS_PE_LIBS" >&5
13267 if test "$ac_cv_header_pthread_h" = "yes"
13268 then
13269 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
13270 if test "x$ac_cv_func_pthread_create" = xyes
13271 then :
13273 else $as_nop
13274 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
13275 printf %s "checking for pthread_create in -lpthread... " >&6; }
13276 if test ${ac_cv_lib_pthread_pthread_create+y}
13277 then :
13278 printf %s "(cached) " >&6
13279 else $as_nop
13280 ac_check_lib_save_LIBS=$LIBS
13281 LIBS="-lpthread $LIBS"
13282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13283 /* end confdefs.h. */
13285 /* Override any GCC internal prototype to avoid an error.
13286 Use char because int might match the return type of a GCC
13287 builtin and then its argument prototype would still apply. */
13288 char pthread_create ();
13290 main (void)
13292 return pthread_create ();
13294 return 0;
13296 _ACEOF
13297 if ac_fn_c_try_link "$LINENO"
13298 then :
13299 ac_cv_lib_pthread_pthread_create=yes
13300 else $as_nop
13301 ac_cv_lib_pthread_pthread_create=no
13303 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13304 conftest$ac_exeext conftest.$ac_ext
13305 LIBS=$ac_check_lib_save_LIBS
13307 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
13308 printf "%s\n" "$ac_cv_lib_pthread_pthread_create" >&6; }
13309 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
13310 then :
13311 PTHREAD_LIBS="-lpthread"
13318 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x
13319 then :
13320 case "x$with_pthread" in
13321 xno) ;;
13322 *) as_fn_error $? "pthread ${notice_platform}development files not found.
13323 Wine cannot support threads without libpthread.
13324 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
13325 esac
13330 ac_ext=c
13331 ac_cpp='$CPP $CPPFLAGS'
13332 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13333 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13334 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13335 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
13336 printf %s "checking how to run the C preprocessor... " >&6; }
13337 # On Suns, sometimes $CPP names a directory.
13338 if test -n "$CPP" && test -d "$CPP"; then
13339 CPP=
13341 if test -z "$CPP"; then
13342 if test ${ac_cv_prog_CPP+y}
13343 then :
13344 printf %s "(cached) " >&6
13345 else $as_nop
13346 # Double quotes because $CC needs to be expanded
13347 for CPP in "$CC -E" "$CC -E -traditional-cpp" cpp /lib/cpp
13349 ac_preproc_ok=false
13350 for ac_c_preproc_warn_flag in '' yes
13352 # Use a header file that comes with gcc, so configuring glibc
13353 # with a fresh cross-compiler works.
13354 # On the NeXT, cc -E runs the code through the compiler's parser,
13355 # not just through cpp. "Syntax error" is here to catch this case.
13356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13357 /* end confdefs.h. */
13358 #include <limits.h>
13359 Syntax error
13360 _ACEOF
13361 if ac_fn_c_try_cpp "$LINENO"
13362 then :
13364 else $as_nop
13365 # Broken: fails on valid input.
13366 continue
13368 rm -f conftest.err conftest.i conftest.$ac_ext
13370 # OK, works on sane cases. Now check whether nonexistent headers
13371 # can be detected and how.
13372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13373 /* end confdefs.h. */
13374 #include <ac_nonexistent.h>
13375 _ACEOF
13376 if ac_fn_c_try_cpp "$LINENO"
13377 then :
13378 # Broken: success on invalid input.
13379 continue
13380 else $as_nop
13381 # Passes both tests.
13382 ac_preproc_ok=:
13383 break
13385 rm -f conftest.err conftest.i conftest.$ac_ext
13387 done
13388 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13389 rm -f conftest.i conftest.err conftest.$ac_ext
13390 if $ac_preproc_ok
13391 then :
13392 break
13395 done
13396 ac_cv_prog_CPP=$CPP
13399 CPP=$ac_cv_prog_CPP
13400 else
13401 ac_cv_prog_CPP=$CPP
13403 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
13404 printf "%s\n" "$CPP" >&6; }
13405 ac_preproc_ok=false
13406 for ac_c_preproc_warn_flag in '' yes
13408 # Use a header file that comes with gcc, so configuring glibc
13409 # with a fresh cross-compiler works.
13410 # On the NeXT, cc -E runs the code through the compiler's parser,
13411 # not just through cpp. "Syntax error" is here to catch this case.
13412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13413 /* end confdefs.h. */
13414 #include <limits.h>
13415 Syntax error
13416 _ACEOF
13417 if ac_fn_c_try_cpp "$LINENO"
13418 then :
13420 else $as_nop
13421 # Broken: fails on valid input.
13422 continue
13424 rm -f conftest.err conftest.i conftest.$ac_ext
13426 # OK, works on sane cases. Now check whether nonexistent headers
13427 # can be detected and how.
13428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13429 /* end confdefs.h. */
13430 #include <ac_nonexistent.h>
13431 _ACEOF
13432 if ac_fn_c_try_cpp "$LINENO"
13433 then :
13434 # Broken: success on invalid input.
13435 continue
13436 else $as_nop
13437 # Passes both tests.
13438 ac_preproc_ok=:
13439 break
13441 rm -f conftest.err conftest.i conftest.$ac_ext
13443 done
13444 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13445 rm -f conftest.i conftest.err conftest.$ac_ext
13446 if $ac_preproc_ok
13447 then :
13449 else $as_nop
13450 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13451 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
13452 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
13453 See \`config.log' for more details" "$LINENO" 5; }
13456 ac_ext=c
13457 ac_cpp='$CPP $CPPFLAGS'
13458 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13459 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13460 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13463 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for X" >&5
13464 printf %s "checking for X... " >&6; }
13467 # Check whether --with-x was given.
13468 if test ${with_x+y}
13469 then :
13470 withval=$with_x;
13473 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
13474 if test "x$with_x" = xno; then
13475 # The user explicitly disabled X.
13476 have_x=disabled
13477 else
13478 case $x_includes,$x_libraries in #(
13479 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
13480 *,NONE | NONE,*) if test ${ac_cv_have_x+y}
13481 then :
13482 printf %s "(cached) " >&6
13483 else $as_nop
13484 # One or both of the vars are not set, and there is no cached value.
13485 ac_x_includes=no
13486 ac_x_libraries=no
13487 # Do we need to do anything special at all?
13488 ac_save_LIBS=$LIBS
13489 LIBS="-lX11 $LIBS"
13490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13491 /* end confdefs.h. */
13492 #include <X11/Xlib.h>
13494 main (void)
13496 XrmInitialize ()
13498 return 0;
13500 _ACEOF
13501 if ac_fn_c_try_link "$LINENO"
13502 then :
13503 # We can compile and link X programs with no special options.
13504 ac_x_includes=
13505 ac_x_libraries=
13507 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13508 conftest$ac_exeext conftest.$ac_ext
13509 LIBS="$ac_save_LIBS"
13510 # If that didn't work, only try xmkmf and file system searches
13511 # for native compilation.
13512 if test x"$ac_x_includes" = xno && test "$cross_compiling" = no
13513 then :
13514 rm -f -r conftest.dir
13515 if mkdir conftest.dir; then
13516 cd conftest.dir
13517 cat >Imakefile <<'_ACEOF'
13518 incroot:
13519 @echo incroot='${INCROOT}'
13520 usrlibdir:
13521 @echo usrlibdir='${USRLIBDIR}'
13522 libdir:
13523 @echo libdir='${LIBDIR}'
13524 _ACEOF
13525 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
13526 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
13527 for ac_var in incroot usrlibdir libdir; do
13528 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
13529 done
13530 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
13531 for ac_extension in a so sl dylib la dll; do
13532 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
13533 test -f "$ac_im_libdir/libX11.$ac_extension"; then
13534 ac_im_usrlibdir=$ac_im_libdir; break
13536 done
13537 # Screen out bogus values from the imake configuration. They are
13538 # bogus both because they are the default anyway, and because
13539 # using them would break gcc on systems where it needs fixed includes.
13540 case $ac_im_incroot in
13541 /usr/include) ac_x_includes= ;;
13542 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
13543 esac
13544 case $ac_im_usrlibdir in
13545 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
13546 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
13547 esac
13549 cd ..
13550 rm -f -r conftest.dir
13553 # Standard set of common directories for X headers.
13554 # Check X11 before X11Rn because it is often a symlink to the current release.
13555 ac_x_header_dirs='
13556 /usr/X11/include
13557 /usr/X11R7/include
13558 /usr/X11R6/include
13559 /usr/X11R5/include
13560 /usr/X11R4/include
13562 /usr/include/X11
13563 /usr/include/X11R7
13564 /usr/include/X11R6
13565 /usr/include/X11R5
13566 /usr/include/X11R4
13568 /usr/local/X11/include
13569 /usr/local/X11R7/include
13570 /usr/local/X11R6/include
13571 /usr/local/X11R5/include
13572 /usr/local/X11R4/include
13574 /usr/local/include/X11
13575 /usr/local/include/X11R7
13576 /usr/local/include/X11R6
13577 /usr/local/include/X11R5
13578 /usr/local/include/X11R4
13580 /opt/X11/include
13582 /usr/X386/include
13583 /usr/x386/include
13584 /usr/XFree86/include/X11
13586 /usr/include
13587 /usr/local/include
13588 /usr/unsupported/include
13589 /usr/athena/include
13590 /usr/local/x11r5/include
13591 /usr/lpp/Xamples/include
13593 /usr/openwin/include
13594 /usr/openwin/share/include'
13596 if test "$ac_x_includes" = no; then
13597 # Guess where to find include files, by looking for Xlib.h.
13598 # First, try using that file with no special directory specified.
13599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13600 /* end confdefs.h. */
13601 #include <X11/Xlib.h>
13602 _ACEOF
13603 if ac_fn_c_try_cpp "$LINENO"
13604 then :
13605 # We can compile using X headers with no special include directory.
13606 ac_x_includes=
13607 else $as_nop
13608 for ac_dir in $ac_x_header_dirs; do
13609 if test -r "$ac_dir/X11/Xlib.h"; then
13610 ac_x_includes=$ac_dir
13611 break
13613 done
13615 rm -f conftest.err conftest.i conftest.$ac_ext
13616 fi # $ac_x_includes = no
13618 if test "$ac_x_libraries" = no; then
13619 # Check for the libraries.
13620 # See if we find them without any special options.
13621 # Don't add to $LIBS permanently.
13622 ac_save_LIBS=$LIBS
13623 LIBS="-lX11 $LIBS"
13624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13625 /* end confdefs.h. */
13626 #include <X11/Xlib.h>
13628 main (void)
13630 XrmInitialize ()
13632 return 0;
13634 _ACEOF
13635 if ac_fn_c_try_link "$LINENO"
13636 then :
13637 LIBS=$ac_save_LIBS
13638 # We can link X programs with no special library path.
13639 ac_x_libraries=
13640 else $as_nop
13641 LIBS=$ac_save_LIBS
13642 for ac_dir in `printf "%s\n" "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
13644 # Don't even attempt the hair of trying to link an X program!
13645 for ac_extension in a so sl dylib la dll; do
13646 if test -r "$ac_dir/libX11.$ac_extension"; then
13647 ac_x_libraries=$ac_dir
13648 break 2
13650 done
13651 done
13653 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13654 conftest$ac_exeext conftest.$ac_ext
13655 fi # $ac_x_libraries = no
13658 # Record the results.
13659 case $ac_x_includes,$ac_x_libraries in #(
13660 no,* | *,no | *\'*) :
13661 # Didn't find X, or a directory has "'" in its name.
13662 ac_cv_have_x="have_x=no" ;; #(
13663 *) :
13664 # Record where we found X for the cache.
13665 ac_cv_have_x="have_x=yes\
13666 ac_x_includes='$ac_x_includes'\
13667 ac_x_libraries='$ac_x_libraries'" ;;
13668 esac
13670 ;; #(
13671 *) have_x=yes;;
13672 esac
13673 eval "$ac_cv_have_x"
13674 fi # $with_x != no
13676 if test "$have_x" != yes; then
13677 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
13678 printf "%s\n" "$have_x" >&6; }
13679 no_x=yes
13680 else
13681 # If each of the values was on the command line, it overrides each guess.
13682 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
13683 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
13684 # Update the cache value to reflect the command line values.
13685 ac_cv_have_x="have_x=yes\
13686 ac_x_includes='$x_includes'\
13687 ac_x_libraries='$x_libraries'"
13688 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
13689 printf "%s\n" "libraries $x_libraries, headers $x_includes" >&6; }
13692 if test "$no_x" = yes; then
13693 # Not all programs may use this symbol, but it does not hurt to define it.
13695 printf "%s\n" "#define X_DISPLAY_MISSING 1" >>confdefs.h
13697 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
13698 else
13699 if test -n "$x_includes"; then
13700 X_CFLAGS="$X_CFLAGS -I$x_includes"
13703 # It would also be nice to do this for all -L options, not just this one.
13704 if test -n "$x_libraries"; then
13705 X_LIBS="$X_LIBS -L$x_libraries"
13706 # For Solaris; some versions of Sun CC require a space after -R and
13707 # others require no space. Words are not sufficient . . . .
13708 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
13709 printf %s "checking whether -R must be followed by a space... " >&6; }
13710 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
13711 ac_xsave_c_werror_flag=$ac_c_werror_flag
13712 ac_c_werror_flag=yes
13713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13714 /* end confdefs.h. */
13717 main (void)
13721 return 0;
13723 _ACEOF
13724 if ac_fn_c_try_link "$LINENO"
13725 then :
13726 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
13727 printf "%s\n" "no" >&6; }
13728 X_LIBS="$X_LIBS -R$x_libraries"
13729 else $as_nop
13730 LIBS="$ac_xsave_LIBS -R $x_libraries"
13731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13732 /* end confdefs.h. */
13735 main (void)
13739 return 0;
13741 _ACEOF
13742 if ac_fn_c_try_link "$LINENO"
13743 then :
13744 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13745 printf "%s\n" "yes" >&6; }
13746 X_LIBS="$X_LIBS -R $x_libraries"
13747 else $as_nop
13748 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
13749 printf "%s\n" "neither works" >&6; }
13751 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13752 conftest$ac_exeext conftest.$ac_ext
13754 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13755 conftest$ac_exeext conftest.$ac_ext
13756 ac_c_werror_flag=$ac_xsave_c_werror_flag
13757 LIBS=$ac_xsave_LIBS
13760 # Check for system-dependent libraries X programs must link with.
13761 # Do this before checking for the system-independent R6 libraries
13762 # (-lICE), since we may need -lsocket or whatever for X linking.
13764 if test "$ISC" = yes; then
13765 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
13766 else
13767 # Martyn Johnson says this is needed for Ultrix, if the X
13768 # libraries were built with DECnet support. And Karl Berry says
13769 # the Alpha needs dnet_stub (dnet does not exist).
13770 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
13771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13772 /* end confdefs.h. */
13774 /* Override any GCC internal prototype to avoid an error.
13775 Use char because int might match the return type of a GCC
13776 builtin and then its argument prototype would still apply. */
13777 char XOpenDisplay ();
13779 main (void)
13781 return XOpenDisplay ();
13783 return 0;
13785 _ACEOF
13786 if ac_fn_c_try_link "$LINENO"
13787 then :
13789 else $as_nop
13790 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
13791 printf %s "checking for dnet_ntoa in -ldnet... " >&6; }
13792 if test ${ac_cv_lib_dnet_dnet_ntoa+y}
13793 then :
13794 printf %s "(cached) " >&6
13795 else $as_nop
13796 ac_check_lib_save_LIBS=$LIBS
13797 LIBS="-ldnet $LIBS"
13798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13799 /* end confdefs.h. */
13801 /* Override any GCC internal prototype to avoid an error.
13802 Use char because int might match the return type of a GCC
13803 builtin and then its argument prototype would still apply. */
13804 char dnet_ntoa ();
13806 main (void)
13808 return dnet_ntoa ();
13810 return 0;
13812 _ACEOF
13813 if ac_fn_c_try_link "$LINENO"
13814 then :
13815 ac_cv_lib_dnet_dnet_ntoa=yes
13816 else $as_nop
13817 ac_cv_lib_dnet_dnet_ntoa=no
13819 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13820 conftest$ac_exeext conftest.$ac_ext
13821 LIBS=$ac_check_lib_save_LIBS
13823 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
13824 printf "%s\n" "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
13825 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
13826 then :
13827 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
13830 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
13831 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
13832 printf %s "checking for dnet_ntoa in -ldnet_stub... " >&6; }
13833 if test ${ac_cv_lib_dnet_stub_dnet_ntoa+y}
13834 then :
13835 printf %s "(cached) " >&6
13836 else $as_nop
13837 ac_check_lib_save_LIBS=$LIBS
13838 LIBS="-ldnet_stub $LIBS"
13839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13840 /* end confdefs.h. */
13842 /* Override any GCC internal prototype to avoid an error.
13843 Use char because int might match the return type of a GCC
13844 builtin and then its argument prototype would still apply. */
13845 char dnet_ntoa ();
13847 main (void)
13849 return dnet_ntoa ();
13851 return 0;
13853 _ACEOF
13854 if ac_fn_c_try_link "$LINENO"
13855 then :
13856 ac_cv_lib_dnet_stub_dnet_ntoa=yes
13857 else $as_nop
13858 ac_cv_lib_dnet_stub_dnet_ntoa=no
13860 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13861 conftest$ac_exeext conftest.$ac_ext
13862 LIBS=$ac_check_lib_save_LIBS
13864 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
13865 printf "%s\n" "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
13866 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
13867 then :
13868 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
13873 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13874 conftest$ac_exeext conftest.$ac_ext
13875 LIBS="$ac_xsave_LIBS"
13877 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
13878 # to get the SysV transport functions.
13879 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
13880 # needs -lnsl.
13881 # The nsl library prevents programs from opening the X display
13882 # on Irix 5.2, according to T.E. Dickey.
13883 # The functions gethostbyname, getservbyname, and inet_addr are
13884 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
13885 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
13886 if test "x$ac_cv_func_gethostbyname" = xyes
13887 then :
13891 if test $ac_cv_func_gethostbyname = no; then
13892 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
13893 printf %s "checking for gethostbyname in -lnsl... " >&6; }
13894 if test ${ac_cv_lib_nsl_gethostbyname+y}
13895 then :
13896 printf %s "(cached) " >&6
13897 else $as_nop
13898 ac_check_lib_save_LIBS=$LIBS
13899 LIBS="-lnsl $LIBS"
13900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13901 /* end confdefs.h. */
13903 /* Override any GCC internal prototype to avoid an error.
13904 Use char because int might match the return type of a GCC
13905 builtin and then its argument prototype would still apply. */
13906 char gethostbyname ();
13908 main (void)
13910 return gethostbyname ();
13912 return 0;
13914 _ACEOF
13915 if ac_fn_c_try_link "$LINENO"
13916 then :
13917 ac_cv_lib_nsl_gethostbyname=yes
13918 else $as_nop
13919 ac_cv_lib_nsl_gethostbyname=no
13921 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13922 conftest$ac_exeext conftest.$ac_ext
13923 LIBS=$ac_check_lib_save_LIBS
13925 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
13926 printf "%s\n" "$ac_cv_lib_nsl_gethostbyname" >&6; }
13927 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
13928 then :
13929 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
13932 if test $ac_cv_lib_nsl_gethostbyname = no; then
13933 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
13934 printf %s "checking for gethostbyname in -lbsd... " >&6; }
13935 if test ${ac_cv_lib_bsd_gethostbyname+y}
13936 then :
13937 printf %s "(cached) " >&6
13938 else $as_nop
13939 ac_check_lib_save_LIBS=$LIBS
13940 LIBS="-lbsd $LIBS"
13941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13942 /* end confdefs.h. */
13944 /* Override any GCC internal prototype to avoid an error.
13945 Use char because int might match the return type of a GCC
13946 builtin and then its argument prototype would still apply. */
13947 char gethostbyname ();
13949 main (void)
13951 return gethostbyname ();
13953 return 0;
13955 _ACEOF
13956 if ac_fn_c_try_link "$LINENO"
13957 then :
13958 ac_cv_lib_bsd_gethostbyname=yes
13959 else $as_nop
13960 ac_cv_lib_bsd_gethostbyname=no
13962 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13963 conftest$ac_exeext conftest.$ac_ext
13964 LIBS=$ac_check_lib_save_LIBS
13966 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
13967 printf "%s\n" "$ac_cv_lib_bsd_gethostbyname" >&6; }
13968 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
13969 then :
13970 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
13976 # lieder@skyler.mavd.honeywell.com says without -lsocket,
13977 # socket/setsockopt and other routines are undefined under SCO ODT
13978 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
13979 # on later versions), says Simon Leinen: it contains gethostby*
13980 # variants that don't use the name server (or something). -lsocket
13981 # must be given before -lnsl if both are needed. We assume that
13982 # if connect needs -lnsl, so does gethostbyname.
13983 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
13984 if test "x$ac_cv_func_connect" = xyes
13985 then :
13989 if test $ac_cv_func_connect = no; then
13990 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
13991 printf %s "checking for connect in -lsocket... " >&6; }
13992 if test ${ac_cv_lib_socket_connect+y}
13993 then :
13994 printf %s "(cached) " >&6
13995 else $as_nop
13996 ac_check_lib_save_LIBS=$LIBS
13997 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
13998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13999 /* end confdefs.h. */
14001 /* Override any GCC internal prototype to avoid an error.
14002 Use char because int might match the return type of a GCC
14003 builtin and then its argument prototype would still apply. */
14004 char connect ();
14006 main (void)
14008 return connect ();
14010 return 0;
14012 _ACEOF
14013 if ac_fn_c_try_link "$LINENO"
14014 then :
14015 ac_cv_lib_socket_connect=yes
14016 else $as_nop
14017 ac_cv_lib_socket_connect=no
14019 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14020 conftest$ac_exeext conftest.$ac_ext
14021 LIBS=$ac_check_lib_save_LIBS
14023 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
14024 printf "%s\n" "$ac_cv_lib_socket_connect" >&6; }
14025 if test "x$ac_cv_lib_socket_connect" = xyes
14026 then :
14027 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
14032 # Guillermo Gomez says -lposix is necessary on A/UX.
14033 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
14034 if test "x$ac_cv_func_remove" = xyes
14035 then :
14039 if test $ac_cv_func_remove = no; then
14040 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
14041 printf %s "checking for remove in -lposix... " >&6; }
14042 if test ${ac_cv_lib_posix_remove+y}
14043 then :
14044 printf %s "(cached) " >&6
14045 else $as_nop
14046 ac_check_lib_save_LIBS=$LIBS
14047 LIBS="-lposix $LIBS"
14048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14049 /* end confdefs.h. */
14051 /* Override any GCC internal prototype to avoid an error.
14052 Use char because int might match the return type of a GCC
14053 builtin and then its argument prototype would still apply. */
14054 char remove ();
14056 main (void)
14058 return remove ();
14060 return 0;
14062 _ACEOF
14063 if ac_fn_c_try_link "$LINENO"
14064 then :
14065 ac_cv_lib_posix_remove=yes
14066 else $as_nop
14067 ac_cv_lib_posix_remove=no
14069 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14070 conftest$ac_exeext conftest.$ac_ext
14071 LIBS=$ac_check_lib_save_LIBS
14073 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
14074 printf "%s\n" "$ac_cv_lib_posix_remove" >&6; }
14075 if test "x$ac_cv_lib_posix_remove" = xyes
14076 then :
14077 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
14082 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
14083 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
14084 if test "x$ac_cv_func_shmat" = xyes
14085 then :
14089 if test $ac_cv_func_shmat = no; then
14090 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
14091 printf %s "checking for shmat in -lipc... " >&6; }
14092 if test ${ac_cv_lib_ipc_shmat+y}
14093 then :
14094 printf %s "(cached) " >&6
14095 else $as_nop
14096 ac_check_lib_save_LIBS=$LIBS
14097 LIBS="-lipc $LIBS"
14098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14099 /* end confdefs.h. */
14101 /* Override any GCC internal prototype to avoid an error.
14102 Use char because int might match the return type of a GCC
14103 builtin and then its argument prototype would still apply. */
14104 char shmat ();
14106 main (void)
14108 return shmat ();
14110 return 0;
14112 _ACEOF
14113 if ac_fn_c_try_link "$LINENO"
14114 then :
14115 ac_cv_lib_ipc_shmat=yes
14116 else $as_nop
14117 ac_cv_lib_ipc_shmat=no
14119 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14120 conftest$ac_exeext conftest.$ac_ext
14121 LIBS=$ac_check_lib_save_LIBS
14123 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
14124 printf "%s\n" "$ac_cv_lib_ipc_shmat" >&6; }
14125 if test "x$ac_cv_lib_ipc_shmat" = xyes
14126 then :
14127 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
14133 # Check for libraries that X11R6 Xt/Xaw programs need.
14134 ac_save_LDFLAGS=$LDFLAGS
14135 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
14136 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
14137 # check for ICE first), but we must link in the order -lSM -lICE or
14138 # we get undefined symbols. So assume we have SM if we have ICE.
14139 # These have to be linked with before -lX11, unlike the other
14140 # libraries we check for below, so use a different variable.
14141 # John Interrante, Karl Berry
14142 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
14143 printf %s "checking for IceConnectionNumber in -lICE... " >&6; }
14144 if test ${ac_cv_lib_ICE_IceConnectionNumber+y}
14145 then :
14146 printf %s "(cached) " >&6
14147 else $as_nop
14148 ac_check_lib_save_LIBS=$LIBS
14149 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
14150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14151 /* end confdefs.h. */
14153 /* Override any GCC internal prototype to avoid an error.
14154 Use char because int might match the return type of a GCC
14155 builtin and then its argument prototype would still apply. */
14156 char IceConnectionNumber ();
14158 main (void)
14160 return IceConnectionNumber ();
14162 return 0;
14164 _ACEOF
14165 if ac_fn_c_try_link "$LINENO"
14166 then :
14167 ac_cv_lib_ICE_IceConnectionNumber=yes
14168 else $as_nop
14169 ac_cv_lib_ICE_IceConnectionNumber=no
14171 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14172 conftest$ac_exeext conftest.$ac_ext
14173 LIBS=$ac_check_lib_save_LIBS
14175 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
14176 printf "%s\n" "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
14177 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
14178 then :
14179 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
14182 LDFLAGS=$ac_save_LDFLAGS
14187 if test "$have_x" = "yes"
14188 then
14189 ac_save_CPPFLAGS="$CPPFLAGS"
14190 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
14192 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
14193 printf %s "checking for -lX11... " >&6; }
14194 if test ${ac_cv_lib_soname_X11+y}
14195 then :
14196 printf %s "(cached) " >&6
14197 else $as_nop
14198 ac_check_soname_save_LIBS=$LIBS
14199 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
14200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14201 /* end confdefs.h. */
14203 /* Override any GCC internal prototype to avoid an error.
14204 Use char because int might match the return type of a GCC
14205 builtin and then its argument prototype would still apply. */
14206 char XCreateWindow ();
14208 main (void)
14210 return XCreateWindow ();
14212 return 0;
14214 _ACEOF
14215 if ac_fn_c_try_link "$LINENO"
14216 then :
14217 case "$LIBEXT" in
14218 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14219 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'` ;;
14220 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14221 if ${ac_cv_lib_soname_X11:+false} :
14222 then :
14223 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14224 fi ;;
14225 esac
14226 else $as_nop
14227 ac_cv_lib_soname_X11=
14229 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14230 conftest$ac_exeext conftest.$ac_ext
14231 LIBS=$ac_check_soname_save_LIBS
14233 if ${ac_cv_lib_soname_X11:+false} :
14234 then :
14235 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14236 printf "%s\n" "not found" >&6; }
14238 else $as_nop
14239 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
14240 printf "%s\n" "$ac_cv_lib_soname_X11" >&6; }
14242 printf "%s\n" "#define SONAME_LIBX11 \"$ac_cv_lib_soname_X11\"" >>confdefs.h
14246 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
14247 printf %s "checking for -lXext... " >&6; }
14248 if test ${ac_cv_lib_soname_Xext+y}
14249 then :
14250 printf %s "(cached) " >&6
14251 else $as_nop
14252 ac_check_soname_save_LIBS=$LIBS
14253 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
14254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14255 /* end confdefs.h. */
14257 /* Override any GCC internal prototype to avoid an error.
14258 Use char because int might match the return type of a GCC
14259 builtin and then its argument prototype would still apply. */
14260 char XextCreateExtension ();
14262 main (void)
14264 return XextCreateExtension ();
14266 return 0;
14268 _ACEOF
14269 if ac_fn_c_try_link "$LINENO"
14270 then :
14271 case "$LIBEXT" in
14272 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14273 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'` ;;
14274 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14275 if ${ac_cv_lib_soname_Xext:+false} :
14276 then :
14277 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14278 fi ;;
14279 esac
14280 else $as_nop
14281 ac_cv_lib_soname_Xext=
14283 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14284 conftest$ac_exeext conftest.$ac_ext
14285 LIBS=$ac_check_soname_save_LIBS
14287 if ${ac_cv_lib_soname_Xext:+false} :
14288 then :
14289 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14290 printf "%s\n" "not found" >&6; }
14292 else $as_nop
14293 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
14294 printf "%s\n" "$ac_cv_lib_soname_Xext" >&6; }
14296 printf "%s\n" "#define SONAME_LIBXEXT \"$ac_cv_lib_soname_Xext\"" >>confdefs.h
14298 X_LIBS="$X_LIBS -lXext"
14300 X_LIBS="$X_LIBS -lX11"
14302 ac_fn_c_check_header_compile "$LINENO" "X11/Xlib.h" "ac_cv_header_X11_Xlib_h" "#ifdef HAVE_X11_XLIB_H
14303 # include <X11/Xlib.h>
14304 #endif
14305 #ifdef HAVE_X11_XUTIL_H
14306 # include <X11/Xutil.h>
14307 #endif
14309 if test "x$ac_cv_header_X11_Xlib_h" = xyes
14310 then :
14311 printf "%s\n" "#define HAVE_X11_XLIB_H 1" >>confdefs.h
14314 ac_fn_c_check_header_compile "$LINENO" "X11/XKBlib.h" "ac_cv_header_X11_XKBlib_h" "#ifdef HAVE_X11_XLIB_H
14315 # include <X11/Xlib.h>
14316 #endif
14317 #ifdef HAVE_X11_XUTIL_H
14318 # include <X11/Xutil.h>
14319 #endif
14321 if test "x$ac_cv_header_X11_XKBlib_h" = xyes
14322 then :
14323 printf "%s\n" "#define HAVE_X11_XKBLIB_H 1" >>confdefs.h
14326 ac_fn_c_check_header_compile "$LINENO" "X11/Xutil.h" "ac_cv_header_X11_Xutil_h" "#ifdef HAVE_X11_XLIB_H
14327 # include <X11/Xlib.h>
14328 #endif
14329 #ifdef HAVE_X11_XUTIL_H
14330 # include <X11/Xutil.h>
14331 #endif
14333 if test "x$ac_cv_header_X11_Xutil_h" = xyes
14334 then :
14335 printf "%s\n" "#define HAVE_X11_XUTIL_H 1" >>confdefs.h
14338 ac_fn_c_check_header_compile "$LINENO" "X11/Xcursor/Xcursor.h" "ac_cv_header_X11_Xcursor_Xcursor_h" "#ifdef HAVE_X11_XLIB_H
14339 # include <X11/Xlib.h>
14340 #endif
14341 #ifdef HAVE_X11_XUTIL_H
14342 # include <X11/Xutil.h>
14343 #endif
14345 if test "x$ac_cv_header_X11_Xcursor_Xcursor_h" = xyes
14346 then :
14347 printf "%s\n" "#define HAVE_X11_XCURSOR_XCURSOR_H 1" >>confdefs.h
14350 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/shape.h" "ac_cv_header_X11_extensions_shape_h" "#ifdef HAVE_X11_XLIB_H
14351 # include <X11/Xlib.h>
14352 #endif
14353 #ifdef HAVE_X11_XUTIL_H
14354 # include <X11/Xutil.h>
14355 #endif
14357 if test "x$ac_cv_header_X11_extensions_shape_h" = xyes
14358 then :
14359 printf "%s\n" "#define HAVE_X11_EXTENSIONS_SHAPE_H 1" >>confdefs.h
14362 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XInput.h" "ac_cv_header_X11_extensions_XInput_h" "#ifdef HAVE_X11_XLIB_H
14363 # include <X11/Xlib.h>
14364 #endif
14365 #ifdef HAVE_X11_XUTIL_H
14366 # include <X11/Xutil.h>
14367 #endif
14369 if test "x$ac_cv_header_X11_extensions_XInput_h" = xyes
14370 then :
14371 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINPUT_H 1" >>confdefs.h
14374 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XInput2.h" "ac_cv_header_X11_extensions_XInput2_h" "#ifdef HAVE_X11_XLIB_H
14375 # include <X11/Xlib.h>
14376 #endif
14377 #ifdef HAVE_X11_XUTIL_H
14378 # include <X11/Xutil.h>
14379 #endif
14381 if test "x$ac_cv_header_X11_extensions_XInput2_h" = xyes
14382 then :
14383 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINPUT2_H 1" >>confdefs.h
14386 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XShm.h" "ac_cv_header_X11_extensions_XShm_h" "#ifdef HAVE_X11_XLIB_H
14387 # include <X11/Xlib.h>
14388 #endif
14389 #ifdef HAVE_X11_XUTIL_H
14390 # include <X11/Xutil.h>
14391 #endif
14393 if test "x$ac_cv_header_X11_extensions_XShm_h" = xyes
14394 then :
14395 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XSHM_H 1" >>confdefs.h
14398 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xcomposite.h" "ac_cv_header_X11_extensions_Xcomposite_h" "#ifdef HAVE_X11_XLIB_H
14399 # include <X11/Xlib.h>
14400 #endif
14401 #ifdef HAVE_X11_XUTIL_H
14402 # include <X11/Xutil.h>
14403 #endif
14405 if test "x$ac_cv_header_X11_extensions_Xcomposite_h" = xyes
14406 then :
14407 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XCOMPOSITE_H 1" >>confdefs.h
14410 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xfixes.h" "ac_cv_header_X11_extensions_Xfixes_h" "#ifdef HAVE_X11_XLIB_H
14411 # include <X11/Xlib.h>
14412 #endif
14413 #ifdef HAVE_X11_XUTIL_H
14414 # include <X11/Xutil.h>
14415 #endif
14417 if test "x$ac_cv_header_X11_extensions_Xfixes_h" = xyes
14418 then :
14419 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XFIXES_H 1" >>confdefs.h
14422 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xinerama.h" "ac_cv_header_X11_extensions_Xinerama_h" "#ifdef HAVE_X11_XLIB_H
14423 # include <X11/Xlib.h>
14424 #endif
14425 #ifdef HAVE_X11_XUTIL_H
14426 # include <X11/Xutil.h>
14427 #endif
14429 if test "x$ac_cv_header_X11_extensions_Xinerama_h" = xyes
14430 then :
14431 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINERAMA_H 1" >>confdefs.h
14434 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xrandr.h" "ac_cv_header_X11_extensions_Xrandr_h" "#ifdef HAVE_X11_XLIB_H
14435 # include <X11/Xlib.h>
14436 #endif
14437 #ifdef HAVE_X11_XUTIL_H
14438 # include <X11/Xutil.h>
14439 #endif
14441 if test "x$ac_cv_header_X11_extensions_Xrandr_h" = xyes
14442 then :
14443 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRANDR_H 1" >>confdefs.h
14446 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xrender.h" "ac_cv_header_X11_extensions_Xrender_h" "#ifdef HAVE_X11_XLIB_H
14447 # include <X11/Xlib.h>
14448 #endif
14449 #ifdef HAVE_X11_XUTIL_H
14450 # include <X11/Xutil.h>
14451 #endif
14453 if test "x$ac_cv_header_X11_extensions_Xrender_h" = xyes
14454 then :
14455 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRENDER_H 1" >>confdefs.h
14458 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/xf86vmode.h" "ac_cv_header_X11_extensions_xf86vmode_h" "#ifdef HAVE_X11_XLIB_H
14459 # include <X11/Xlib.h>
14460 #endif
14461 #ifdef HAVE_X11_XUTIL_H
14462 # include <X11/Xutil.h>
14463 #endif
14465 if test "x$ac_cv_header_X11_extensions_xf86vmode_h" = xyes
14466 then :
14467 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMODE_H 1" >>confdefs.h
14470 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/xf86vmproto.h" "ac_cv_header_X11_extensions_xf86vmproto_h" "#ifdef HAVE_X11_XLIB_H
14471 # include <X11/Xlib.h>
14472 #endif
14473 #ifdef HAVE_X11_XUTIL_H
14474 # include <X11/Xutil.h>
14475 #endif
14477 if test "x$ac_cv_header_X11_extensions_xf86vmproto_h" = xyes
14478 then :
14479 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMPROTO_H 1" >>confdefs.h
14484 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
14485 then
14486 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
14487 printf %s "checking for -lXcursor... " >&6; }
14488 if test ${ac_cv_lib_soname_Xcursor+y}
14489 then :
14490 printf %s "(cached) " >&6
14491 else $as_nop
14492 ac_check_soname_save_LIBS=$LIBS
14493 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
14494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14495 /* end confdefs.h. */
14497 /* Override any GCC internal prototype to avoid an error.
14498 Use char because int might match the return type of a GCC
14499 builtin and then its argument prototype would still apply. */
14500 char XcursorImageLoadCursor ();
14502 main (void)
14504 return XcursorImageLoadCursor ();
14506 return 0;
14508 _ACEOF
14509 if ac_fn_c_try_link "$LINENO"
14510 then :
14511 case "$LIBEXT" in
14512 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14513 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'` ;;
14514 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14515 if ${ac_cv_lib_soname_Xcursor:+false} :
14516 then :
14517 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14518 fi ;;
14519 esac
14520 else $as_nop
14521 ac_cv_lib_soname_Xcursor=
14523 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14524 conftest$ac_exeext conftest.$ac_ext
14525 LIBS=$ac_check_soname_save_LIBS
14527 if ${ac_cv_lib_soname_Xcursor:+false} :
14528 then :
14529 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14530 printf "%s\n" "not found" >&6; }
14532 else $as_nop
14533 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
14534 printf "%s\n" "$ac_cv_lib_soname_Xcursor" >&6; }
14536 printf "%s\n" "#define SONAME_LIBXCURSOR \"$ac_cv_lib_soname_Xcursor\"" >>confdefs.h
14541 if test "x$ac_cv_lib_soname_Xcursor" = "x"
14542 then :
14543 case "x$with_xcursor" in
14544 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
14545 xno) ;;
14546 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
14547 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
14548 esac
14552 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
14553 then
14554 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
14555 printf %s "checking for -lXi... " >&6; }
14556 if test ${ac_cv_lib_soname_Xi+y}
14557 then :
14558 printf %s "(cached) " >&6
14559 else $as_nop
14560 ac_check_soname_save_LIBS=$LIBS
14561 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
14562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14563 /* end confdefs.h. */
14565 /* Override any GCC internal prototype to avoid an error.
14566 Use char because int might match the return type of a GCC
14567 builtin and then its argument prototype would still apply. */
14568 char XOpenDevice ();
14570 main (void)
14572 return XOpenDevice ();
14574 return 0;
14576 _ACEOF
14577 if ac_fn_c_try_link "$LINENO"
14578 then :
14579 case "$LIBEXT" in
14580 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14581 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'` ;;
14582 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14583 if ${ac_cv_lib_soname_Xi:+false} :
14584 then :
14585 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14586 fi ;;
14587 esac
14588 else $as_nop
14589 ac_cv_lib_soname_Xi=
14591 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14592 conftest$ac_exeext conftest.$ac_ext
14593 LIBS=$ac_check_soname_save_LIBS
14595 if ${ac_cv_lib_soname_Xi:+false} :
14596 then :
14597 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14598 printf "%s\n" "not found" >&6; }
14600 else $as_nop
14601 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
14602 printf "%s\n" "$ac_cv_lib_soname_Xi" >&6; }
14604 printf "%s\n" "#define SONAME_LIBXI \"$ac_cv_lib_soname_Xi\"" >>confdefs.h
14609 if test "x$ac_cv_lib_soname_Xi" = "x"
14610 then :
14611 case "x$with_xinput" in
14612 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
14613 xno) ;;
14614 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
14615 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
14616 esac
14620 if test "x$ac_cv_lib_soname_Xi" != x
14621 then
14622 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"
14623 then :
14624 case "x$with_xinput2" in
14625 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
14626 xno) ;;
14627 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
14628 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
14629 esac
14634 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
14635 then
14636 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
14637 printf %s "checking for XShmQueryExtension in -lXext... " >&6; }
14638 if test ${ac_cv_lib_Xext_XShmQueryExtension+y}
14639 then :
14640 printf %s "(cached) " >&6
14641 else $as_nop
14642 ac_check_lib_save_LIBS=$LIBS
14643 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
14644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14645 /* end confdefs.h. */
14647 /* Override any GCC internal prototype to avoid an error.
14648 Use char because int might match the return type of a GCC
14649 builtin and then its argument prototype would still apply. */
14650 char XShmQueryExtension ();
14652 main (void)
14654 return XShmQueryExtension ();
14656 return 0;
14658 _ACEOF
14659 if ac_fn_c_try_link "$LINENO"
14660 then :
14661 ac_cv_lib_Xext_XShmQueryExtension=yes
14662 else $as_nop
14663 ac_cv_lib_Xext_XShmQueryExtension=no
14665 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14666 conftest$ac_exeext conftest.$ac_ext
14667 LIBS=$ac_check_lib_save_LIBS
14669 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
14670 printf "%s\n" "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
14671 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
14672 then :
14674 printf "%s\n" "#define HAVE_LIBXXSHM 1" >>confdefs.h
14679 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"
14680 then :
14681 case "x$with_xshm" in
14682 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
14683 xno) ;;
14684 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
14685 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
14686 esac
14690 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
14691 then
14692 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
14693 printf %s "checking for XShapeQueryExtension in -lXext... " >&6; }
14694 if test ${ac_cv_lib_Xext_XShapeQueryExtension+y}
14695 then :
14696 printf %s "(cached) " >&6
14697 else $as_nop
14698 ac_check_lib_save_LIBS=$LIBS
14699 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
14700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14701 /* end confdefs.h. */
14703 /* Override any GCC internal prototype to avoid an error.
14704 Use char because int might match the return type of a GCC
14705 builtin and then its argument prototype would still apply. */
14706 char XShapeQueryExtension ();
14708 main (void)
14710 return XShapeQueryExtension ();
14712 return 0;
14714 _ACEOF
14715 if ac_fn_c_try_link "$LINENO"
14716 then :
14717 ac_cv_lib_Xext_XShapeQueryExtension=yes
14718 else $as_nop
14719 ac_cv_lib_Xext_XShapeQueryExtension=no
14721 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14722 conftest$ac_exeext conftest.$ac_ext
14723 LIBS=$ac_check_lib_save_LIBS
14725 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
14726 printf "%s\n" "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
14727 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
14728 then :
14730 printf "%s\n" "#define HAVE_LIBXSHAPE 1" >>confdefs.h
14735 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"
14736 then :
14737 case "x$with_xshape" in
14738 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
14739 xno) ;;
14740 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
14741 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
14742 esac
14746 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
14747 then
14748 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
14749 printf %s "checking for -lXxf86vm... " >&6; }
14750 if test ${ac_cv_lib_soname_Xxf86vm+y}
14751 then :
14752 printf %s "(cached) " >&6
14753 else $as_nop
14754 ac_check_soname_save_LIBS=$LIBS
14755 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
14756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14757 /* end confdefs.h. */
14759 /* Override any GCC internal prototype to avoid an error.
14760 Use char because int might match the return type of a GCC
14761 builtin and then its argument prototype would still apply. */
14762 char XF86VidModeQueryExtension ();
14764 main (void)
14766 return XF86VidModeQueryExtension ();
14768 return 0;
14770 _ACEOF
14771 if ac_fn_c_try_link "$LINENO"
14772 then :
14773 case "$LIBEXT" in
14774 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14775 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'` ;;
14776 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14777 if ${ac_cv_lib_soname_Xxf86vm:+false} :
14778 then :
14779 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14780 fi ;;
14781 esac
14782 else $as_nop
14783 ac_cv_lib_soname_Xxf86vm=
14785 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14786 conftest$ac_exeext conftest.$ac_ext
14787 LIBS=$ac_check_soname_save_LIBS
14789 if ${ac_cv_lib_soname_Xxf86vm:+false} :
14790 then :
14791 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14792 printf "%s\n" "not found" >&6; }
14794 else $as_nop
14795 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
14796 printf "%s\n" "$ac_cv_lib_soname_Xxf86vm" >&6; }
14798 printf "%s\n" "#define SONAME_LIBXXF86VM \"$ac_cv_lib_soname_Xxf86vm\"" >>confdefs.h
14803 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"
14804 then :
14805 case "x$with_xxf86vm" in
14806 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
14807 xno) ;;
14808 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
14809 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
14810 esac
14814 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
14815 then
14816 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
14817 printf %s "checking for -lXrender... " >&6; }
14818 if test ${ac_cv_lib_soname_Xrender+y}
14819 then :
14820 printf %s "(cached) " >&6
14821 else $as_nop
14822 ac_check_soname_save_LIBS=$LIBS
14823 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
14824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14825 /* end confdefs.h. */
14827 /* Override any GCC internal prototype to avoid an error.
14828 Use char because int might match the return type of a GCC
14829 builtin and then its argument prototype would still apply. */
14830 char XRenderQueryExtension ();
14832 main (void)
14834 return XRenderQueryExtension ();
14836 return 0;
14838 _ACEOF
14839 if ac_fn_c_try_link "$LINENO"
14840 then :
14841 case "$LIBEXT" in
14842 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14843 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'` ;;
14844 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14845 if ${ac_cv_lib_soname_Xrender:+false} :
14846 then :
14847 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14848 fi ;;
14849 esac
14850 else $as_nop
14851 ac_cv_lib_soname_Xrender=
14853 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14854 conftest$ac_exeext conftest.$ac_ext
14855 LIBS=$ac_check_soname_save_LIBS
14857 if ${ac_cv_lib_soname_Xrender:+false} :
14858 then :
14859 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14860 printf "%s\n" "not found" >&6; }
14862 else $as_nop
14863 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
14864 printf "%s\n" "$ac_cv_lib_soname_Xrender" >&6; }
14866 printf "%s\n" "#define SONAME_LIBXRENDER \"$ac_cv_lib_soname_Xrender\"" >>confdefs.h
14868 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
14869 printf %s "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
14870 if test ${ac_cv_lib_Xrender_XRenderSetPictureTransform+y}
14871 then :
14872 printf %s "(cached) " >&6
14873 else $as_nop
14874 ac_check_lib_save_LIBS=$LIBS
14875 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
14876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14877 /* end confdefs.h. */
14879 /* Override any GCC internal prototype to avoid an error.
14880 Use char because int might match the return type of a GCC
14881 builtin and then its argument prototype would still apply. */
14882 char XRenderSetPictureTransform ();
14884 main (void)
14886 return XRenderSetPictureTransform ();
14888 return 0;
14890 _ACEOF
14891 if ac_fn_c_try_link "$LINENO"
14892 then :
14893 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
14894 else $as_nop
14895 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
14897 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14898 conftest$ac_exeext conftest.$ac_ext
14899 LIBS=$ac_check_lib_save_LIBS
14901 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
14902 printf "%s\n" "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
14903 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
14904 then :
14906 printf "%s\n" "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
14910 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
14911 printf %s "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
14912 if test ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+y}
14913 then :
14914 printf %s "(cached) " >&6
14915 else $as_nop
14916 ac_check_lib_save_LIBS=$LIBS
14917 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
14918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14919 /* end confdefs.h. */
14921 /* Override any GCC internal prototype to avoid an error.
14922 Use char because int might match the return type of a GCC
14923 builtin and then its argument prototype would still apply. */
14924 char XRenderCreateLinearGradient ();
14926 main (void)
14928 return XRenderCreateLinearGradient ();
14930 return 0;
14932 _ACEOF
14933 if ac_fn_c_try_link "$LINENO"
14934 then :
14935 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
14936 else $as_nop
14937 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
14939 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14940 conftest$ac_exeext conftest.$ac_ext
14941 LIBS=$ac_check_lib_save_LIBS
14943 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
14944 printf "%s\n" "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
14945 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes
14946 then :
14948 printf "%s\n" "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
14955 if test "x$ac_cv_lib_soname_Xrender" = "x"
14956 then :
14957 case "x$with_xrender" in
14958 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
14959 xno) ;;
14960 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
14961 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
14962 esac
14966 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
14967 then
14968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14969 /* end confdefs.h. */
14970 #include <X11/Xlib.h>
14971 #include <X11/extensions/Xrandr.h>
14973 main (void)
14975 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
14977 return 0;
14979 _ACEOF
14980 if ac_fn_c_try_compile "$LINENO"
14981 then :
14982 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
14983 printf %s "checking for -lXrandr... " >&6; }
14984 if test ${ac_cv_lib_soname_Xrandr+y}
14985 then :
14986 printf %s "(cached) " >&6
14987 else $as_nop
14988 ac_check_soname_save_LIBS=$LIBS
14989 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
14990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14991 /* end confdefs.h. */
14993 /* Override any GCC internal prototype to avoid an error.
14994 Use char because int might match the return type of a GCC
14995 builtin and then its argument prototype would still apply. */
14996 char XRRQueryExtension ();
14998 main (void)
15000 return XRRQueryExtension ();
15002 return 0;
15004 _ACEOF
15005 if ac_fn_c_try_link "$LINENO"
15006 then :
15007 case "$LIBEXT" in
15008 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15009 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'` ;;
15010 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15011 if ${ac_cv_lib_soname_Xrandr:+false} :
15012 then :
15013 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15014 fi ;;
15015 esac
15016 else $as_nop
15017 ac_cv_lib_soname_Xrandr=
15019 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15020 conftest$ac_exeext conftest.$ac_ext
15021 LIBS=$ac_check_soname_save_LIBS
15023 if ${ac_cv_lib_soname_Xrandr:+false} :
15024 then :
15025 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15026 printf "%s\n" "not found" >&6; }
15028 else $as_nop
15029 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
15030 printf "%s\n" "$ac_cv_lib_soname_Xrandr" >&6; }
15032 printf "%s\n" "#define SONAME_LIBXRANDR \"$ac_cv_lib_soname_Xrandr\"" >>confdefs.h
15034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15035 /* end confdefs.h. */
15036 #include <X11/Xlib.h>
15037 #include <X11/extensions/Xrandr.h>
15039 main (void)
15041 static typeof(XRRGetProviderResources) *f; if (f) return 0;
15043 return 0;
15045 _ACEOF
15046 if ac_fn_c_try_compile "$LINENO"
15047 then :
15049 printf "%s\n" "#define HAVE_XRRGETPROVIDERRESOURCES 1" >>confdefs.h
15051 else $as_nop
15052 as_fn_append wine_notices "|libxrandr ${notice_platform}development files too old, XRandR display device handler won't be supported."
15054 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15057 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15059 if test "x$ac_cv_lib_soname_Xrandr" = "x"
15060 then :
15061 case "x$with_xrandr" in
15062 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
15063 xno) ;;
15064 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
15065 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
15066 esac
15070 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
15071 then
15072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15073 /* end confdefs.h. */
15074 #include <X11/Xlib.h>
15075 #include <X11/extensions/Xfixes.h>
15077 main (void)
15079 static typeof(XFixesQueryVersion) * func; if (func) return 0;
15081 return 0;
15083 _ACEOF
15084 if ac_fn_c_try_compile "$LINENO"
15085 then :
15086 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
15087 printf %s "checking for -lXfixes... " >&6; }
15088 if test ${ac_cv_lib_soname_Xfixes+y}
15089 then :
15090 printf %s "(cached) " >&6
15091 else $as_nop
15092 ac_check_soname_save_LIBS=$LIBS
15093 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
15094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15095 /* end confdefs.h. */
15097 /* Override any GCC internal prototype to avoid an error.
15098 Use char because int might match the return type of a GCC
15099 builtin and then its argument prototype would still apply. */
15100 char XFixesQueryVersion ();
15102 main (void)
15104 return XFixesQueryVersion ();
15106 return 0;
15108 _ACEOF
15109 if ac_fn_c_try_link "$LINENO"
15110 then :
15111 case "$LIBEXT" in
15112 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15113 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'` ;;
15114 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15115 if ${ac_cv_lib_soname_Xfixes:+false} :
15116 then :
15117 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15118 fi ;;
15119 esac
15120 else $as_nop
15121 ac_cv_lib_soname_Xfixes=
15123 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15124 conftest$ac_exeext conftest.$ac_ext
15125 LIBS=$ac_check_soname_save_LIBS
15127 if ${ac_cv_lib_soname_Xfixes:+false} :
15128 then :
15129 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15130 printf "%s\n" "not found" >&6; }
15132 else $as_nop
15133 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
15134 printf "%s\n" "$ac_cv_lib_soname_Xfixes" >&6; }
15136 printf "%s\n" "#define SONAME_LIBXFIXES \"$ac_cv_lib_soname_Xfixes\"" >>confdefs.h
15141 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15143 if test "x$ac_cv_lib_soname_Xfixes" = "x"
15144 then :
15145 case "x$with_xfixes" in
15146 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
15147 xno) ;;
15148 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
15149 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
15150 esac
15154 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
15155 then
15156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15157 /* end confdefs.h. */
15158 #include <X11/Xlib.h>
15159 #include <X11/extensions/Xinerama.h>
15161 main (void)
15163 static typeof(XineramaQueryScreens) * func; if (func) return 0;
15165 return 0;
15167 _ACEOF
15168 if ac_fn_c_try_compile "$LINENO"
15169 then :
15170 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
15171 printf %s "checking for -lXinerama... " >&6; }
15172 if test ${ac_cv_lib_soname_Xinerama+y}
15173 then :
15174 printf %s "(cached) " >&6
15175 else $as_nop
15176 ac_check_soname_save_LIBS=$LIBS
15177 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
15178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15179 /* end confdefs.h. */
15181 /* Override any GCC internal prototype to avoid an error.
15182 Use char because int might match the return type of a GCC
15183 builtin and then its argument prototype would still apply. */
15184 char XineramaQueryScreens ();
15186 main (void)
15188 return XineramaQueryScreens ();
15190 return 0;
15192 _ACEOF
15193 if ac_fn_c_try_link "$LINENO"
15194 then :
15195 case "$LIBEXT" in
15196 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15197 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'` ;;
15198 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15199 if ${ac_cv_lib_soname_Xinerama:+false} :
15200 then :
15201 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15202 fi ;;
15203 esac
15204 else $as_nop
15205 ac_cv_lib_soname_Xinerama=
15207 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15208 conftest$ac_exeext conftest.$ac_ext
15209 LIBS=$ac_check_soname_save_LIBS
15211 if ${ac_cv_lib_soname_Xinerama:+false} :
15212 then :
15213 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15214 printf "%s\n" "not found" >&6; }
15216 else $as_nop
15217 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
15218 printf "%s\n" "$ac_cv_lib_soname_Xinerama" >&6; }
15220 printf "%s\n" "#define SONAME_LIBXINERAMA \"$ac_cv_lib_soname_Xinerama\"" >>confdefs.h
15225 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15227 if test "x$ac_cv_lib_soname_Xinerama" = "x"
15228 then :
15229 case "x$with_xinerama" in
15230 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
15231 xno) ;;
15232 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
15233 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
15234 esac
15238 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
15239 then
15240 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
15241 printf %s "checking for -lXcomposite... " >&6; }
15242 if test ${ac_cv_lib_soname_Xcomposite+y}
15243 then :
15244 printf %s "(cached) " >&6
15245 else $as_nop
15246 ac_check_soname_save_LIBS=$LIBS
15247 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
15248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15249 /* end confdefs.h. */
15251 /* Override any GCC internal prototype to avoid an error.
15252 Use char because int might match the return type of a GCC
15253 builtin and then its argument prototype would still apply. */
15254 char XCompositeRedirectWindow ();
15256 main (void)
15258 return XCompositeRedirectWindow ();
15260 return 0;
15262 _ACEOF
15263 if ac_fn_c_try_link "$LINENO"
15264 then :
15265 case "$LIBEXT" in
15266 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15267 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'` ;;
15268 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15269 if ${ac_cv_lib_soname_Xcomposite:+false} :
15270 then :
15271 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15272 fi ;;
15273 esac
15274 else $as_nop
15275 ac_cv_lib_soname_Xcomposite=
15277 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15278 conftest$ac_exeext conftest.$ac_ext
15279 LIBS=$ac_check_soname_save_LIBS
15281 if ${ac_cv_lib_soname_Xcomposite:+false} :
15282 then :
15283 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15284 printf "%s\n" "not found" >&6; }
15286 else $as_nop
15287 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
15288 printf "%s\n" "$ac_cv_lib_soname_Xcomposite" >&6; }
15290 printf "%s\n" "#define SONAME_LIBXCOMPOSITE \"$ac_cv_lib_soname_Xcomposite\"" >>confdefs.h
15295 if test "x$ac_cv_lib_soname_Xcomposite" = "x"
15296 then :
15297 case "x$with_xcomposite" in
15298 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
15299 xno) ;;
15300 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
15301 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
15302 esac
15306 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
15307 #include <X11/Xlib.h>
15308 #endif
15310 if test "x$ac_cv_member_XICCallback_callback" = xyes
15311 then :
15313 printf "%s\n" "#define HAVE_XICCALLBACK_CALLBACK 1" >>confdefs.h
15317 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
15318 #include <X11/Xlib.h>
15319 #endif
15321 if test "x$ac_cv_member_XEvent_xcookie" = xyes
15322 then :
15324 printf "%s\n" "#define HAVE_XEVENT_XCOOKIE 1" >>confdefs.h
15331 opengl_msg=""
15332 if test "x$with_opengl" != "xno"
15333 then
15334 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
15335 printf %s "checking for -lGL... " >&6; }
15336 if test ${ac_cv_lib_soname_GL+y}
15337 then :
15338 printf %s "(cached) " >&6
15339 else $as_nop
15340 ac_check_soname_save_LIBS=$LIBS
15341 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
15342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15343 /* end confdefs.h. */
15345 /* Override any GCC internal prototype to avoid an error.
15346 Use char because int might match the return type of a GCC
15347 builtin and then its argument prototype would still apply. */
15348 char glXCreateContext ();
15350 main (void)
15352 return glXCreateContext ();
15354 return 0;
15356 _ACEOF
15357 if ac_fn_c_try_link "$LINENO"
15358 then :
15359 case "$LIBEXT" in
15360 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15361 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'` ;;
15362 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15363 if ${ac_cv_lib_soname_GL:+false} :
15364 then :
15365 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15366 fi ;;
15367 esac
15368 else $as_nop
15369 ac_cv_lib_soname_GL=
15371 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15372 conftest$ac_exeext conftest.$ac_ext
15373 LIBS=$ac_check_soname_save_LIBS
15375 if ${ac_cv_lib_soname_GL:+false} :
15376 then :
15377 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15378 printf "%s\n" "not found" >&6; }
15379 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
15380 printf %s "checking for -lGL... " >&6; }
15381 if test ${ac_cv_lib_soname_GL+y}
15382 then :
15383 printf %s "(cached) " >&6
15384 else $as_nop
15385 ac_check_soname_save_LIBS=$LIBS
15386 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"
15387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15388 /* end confdefs.h. */
15390 /* Override any GCC internal prototype to avoid an error.
15391 Use char because int might match the return type of a GCC
15392 builtin and then its argument prototype would still apply. */
15393 char glXCreateContext ();
15395 main (void)
15397 return glXCreateContext ();
15399 return 0;
15401 _ACEOF
15402 if ac_fn_c_try_link "$LINENO"
15403 then :
15404 case "$LIBEXT" in
15405 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15406 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'` ;;
15407 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15408 if ${ac_cv_lib_soname_GL:+false} :
15409 then :
15410 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15411 fi ;;
15412 esac
15413 else $as_nop
15414 ac_cv_lib_soname_GL=
15416 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15417 conftest$ac_exeext conftest.$ac_ext
15418 LIBS=$ac_check_soname_save_LIBS
15420 if ${ac_cv_lib_soname_GL:+false} :
15421 then :
15422 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15423 printf "%s\n" "not found" >&6; }
15424 if test -f /usr/X11R6/lib/libGL.a
15425 then
15426 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
15427 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
15428 else
15429 opengl_msg="No OpenGL library found on this system."
15431 else $as_nop
15432 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
15433 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
15435 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
15437 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"
15439 else $as_nop
15440 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
15441 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
15443 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
15445 OPENGL_LIBS="-lGL"
15447 if test "x$with_osmesa" != "xno"
15448 then
15449 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
15450 printf %s "checking for -lOSMesa... " >&6; }
15451 if test ${ac_cv_lib_soname_OSMesa+y}
15452 then :
15453 printf %s "(cached) " >&6
15454 else $as_nop
15455 ac_check_soname_save_LIBS=$LIBS
15456 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
15457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15458 /* end confdefs.h. */
15460 /* Override any GCC internal prototype to avoid an error.
15461 Use char because int might match the return type of a GCC
15462 builtin and then its argument prototype would still apply. */
15463 char OSMesaGetProcAddress ();
15465 main (void)
15467 return OSMesaGetProcAddress ();
15469 return 0;
15471 _ACEOF
15472 if ac_fn_c_try_link "$LINENO"
15473 then :
15474 case "$LIBEXT" in
15475 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15476 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'` ;;
15477 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15478 if ${ac_cv_lib_soname_OSMesa:+false} :
15479 then :
15480 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15481 fi ;;
15482 esac
15483 else $as_nop
15484 ac_cv_lib_soname_OSMesa=
15486 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15487 conftest$ac_exeext conftest.$ac_ext
15488 LIBS=$ac_check_soname_save_LIBS
15490 if ${ac_cv_lib_soname_OSMesa:+false} :
15491 then :
15492 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15493 printf "%s\n" "not found" >&6; }
15495 else $as_nop
15496 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
15497 printf "%s\n" "$ac_cv_lib_soname_OSMesa" >&6; }
15499 printf "%s\n" "#define SONAME_LIBOSMESA \"$ac_cv_lib_soname_OSMesa\"" >>confdefs.h
15503 if test "x$ac_cv_lib_soname_OSMesa" = "x"
15504 then :
15505 case "x$with_osmesa" in
15506 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
15507 xno) ;;
15508 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
15509 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
15510 esac
15515 if test -n "$opengl_msg"
15516 then :
15517 case "x$with_opengl" in
15518 x) as_fn_append wine_warnings "|$opengl_msg
15519 OpenGL and Direct3D won't be supported." ;;
15520 xno) ;;
15521 *) as_fn_error $? "$opengl_msg
15522 OpenGL and Direct3D won't be supported.
15523 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
15524 esac
15528 CPPFLAGS="$ac_save_CPPFLAGS"
15529 else
15530 X_CFLAGS=""
15531 X_LIBS=""
15534 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
15535 then
15536 if test "x$X_LIBS" = "x"
15537 then :
15538 case "x$with_x" in
15539 xno) ;;
15540 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
15541 without X support, which probably isn't what you want. You will need
15542 to install ${notice_platform}development packages of Xlib at the very least.
15543 Use the --without-x option if you really want this." "$LINENO" 5 ;;
15544 esac
15545 enable_winex11_drv=${enable_winex11_drv:-no}
15547 else
15548 if test "x$X_LIBS" = "x"
15549 then :
15550 case "x$with_x" in
15551 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
15552 xno) ;;
15553 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
15554 This is an error since --with-x was requested." "$LINENO" 5 ;;
15555 esac
15556 enable_winex11_drv=${enable_winex11_drv:-no}
15560 if test "x$with_wayland" != "xno"
15561 then
15562 rm -f conftest.err
15563 if ${WAYLAND_CLIENT_CFLAGS:+false} :
15564 then :
15565 if test ${PKG_CONFIG+y}
15566 then :
15567 WAYLAND_CLIENT_CFLAGS=`$PKG_CONFIG --cflags wayland-client 2>conftest.err`
15571 if ${WAYLAND_CLIENT_LIBS:+false} :
15572 then :
15573 if test ${PKG_CONFIG+y}
15574 then :
15575 WAYLAND_CLIENT_LIBS=`$PKG_CONFIG --libs wayland-client 2>/dev/null`
15580 printf "%s\n" "$as_me:${as_lineno-$LINENO}: wayland-client cflags: $WAYLAND_CLIENT_CFLAGS" >&5
15581 printf "%s\n" "$as_me:${as_lineno-$LINENO}: wayland-client libs: $WAYLAND_CLIENT_LIBS" >&5
15582 if test -s conftest.err; then
15583 printf %s "$as_me:${as_lineno-$LINENO}: wayland-client errors: " >&5
15584 cat conftest.err >&5
15586 rm -f conftest.err
15587 ac_save_CPPFLAGS=$CPPFLAGS
15588 CPPFLAGS="$CPPFLAGS $WAYLAND_CLIENT_CFLAGS"
15589 for ac_header in wayland-client.h
15590 do :
15591 ac_fn_c_check_header_compile "$LINENO" "wayland-client.h" "ac_cv_header_wayland_client_h" "$ac_includes_default"
15592 if test "x$ac_cv_header_wayland_client_h" = xyes
15593 then :
15594 printf "%s\n" "#define HAVE_WAYLAND_CLIENT_H 1" >>confdefs.h
15595 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for wl_display_connect in -lwayland-client" >&5
15596 printf %s "checking for wl_display_connect in -lwayland-client... " >&6; }
15597 if test ${ac_cv_lib_wayland_client_wl_display_connect+y}
15598 then :
15599 printf %s "(cached) " >&6
15600 else $as_nop
15601 ac_check_lib_save_LIBS=$LIBS
15602 LIBS="-lwayland-client $WAYLAND_CLIENT_LIBS $LIBS"
15603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15604 /* end confdefs.h. */
15606 /* Override any GCC internal prototype to avoid an error.
15607 Use char because int might match the return type of a GCC
15608 builtin and then its argument prototype would still apply. */
15609 char wl_display_connect ();
15611 main (void)
15613 return wl_display_connect ();
15615 return 0;
15617 _ACEOF
15618 if ac_fn_c_try_link "$LINENO"
15619 then :
15620 ac_cv_lib_wayland_client_wl_display_connect=yes
15621 else $as_nop
15622 ac_cv_lib_wayland_client_wl_display_connect=no
15624 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15625 conftest$ac_exeext conftest.$ac_ext
15626 LIBS=$ac_check_lib_save_LIBS
15628 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_wayland_client_wl_display_connect" >&5
15629 printf "%s\n" "$ac_cv_lib_wayland_client_wl_display_connect" >&6; }
15630 if test "x$ac_cv_lib_wayland_client_wl_display_connect" = xyes
15631 then :
15632 # Extract the first word of "wayland-scanner", so it can be a program name with args.
15633 set dummy wayland-scanner; ac_word=$2
15634 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15635 printf %s "checking for $ac_word... " >&6; }
15636 if test ${ac_cv_path_WAYLAND_SCANNER+y}
15637 then :
15638 printf %s "(cached) " >&6
15639 else $as_nop
15640 case $WAYLAND_SCANNER in
15641 [\\/]* | ?:[\\/]*)
15642 ac_cv_path_WAYLAND_SCANNER="$WAYLAND_SCANNER" # Let the user override the test with a path.
15645 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15646 for as_dir in $PATH
15648 IFS=$as_save_IFS
15649 case $as_dir in #(((
15650 '') as_dir=./ ;;
15651 */) ;;
15652 *) as_dir=$as_dir/ ;;
15653 esac
15654 for ac_exec_ext in '' $ac_executable_extensions; do
15655 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
15656 ac_cv_path_WAYLAND_SCANNER="$as_dir$ac_word$ac_exec_ext"
15657 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
15658 break 2
15660 done
15661 done
15662 IFS=$as_save_IFS
15664 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`"
15666 esac
15668 WAYLAND_SCANNER=$ac_cv_path_WAYLAND_SCANNER
15669 if test -n "$WAYLAND_SCANNER"; then
15670 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $WAYLAND_SCANNER" >&5
15671 printf "%s\n" "$WAYLAND_SCANNER" >&6; }
15672 else
15673 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
15674 printf "%s\n" "no" >&6; }
15678 else $as_nop
15679 WAYLAND_CLIENT_LIBS=""
15684 done
15685 CPPFLAGS=$ac_save_CPPFLAGS
15688 if test -z "$WAYLAND_CLIENT_LIBS" -o -z "$WAYLAND_SCANNER"
15689 then :
15690 case "x$with_wayland" in
15691 x) as_fn_append wine_notices "|Wayland ${notice_platform}development files not found, the Wayland driver won't be supported." ;;
15692 xno) ;;
15693 *) as_fn_error $? "Wayland ${notice_platform}development files not found, the Wayland driver won't be supported.
15694 This is an error since --with-wayland was requested." "$LINENO" 5 ;;
15695 esac
15696 enable_winewayland_drv=${enable_winewayland_drv:-no}
15699 if test "$ac_cv_header_CL_cl_h" = "yes"
15700 then
15701 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
15702 printf %s "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
15703 if test ${ac_cv_lib_OpenCL_clGetPlatformInfo+y}
15704 then :
15705 printf %s "(cached) " >&6
15706 else $as_nop
15707 ac_check_lib_save_LIBS=$LIBS
15708 LIBS="-lOpenCL $LIBS"
15709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15710 /* end confdefs.h. */
15712 /* Override any GCC internal prototype to avoid an error.
15713 Use char because int might match the return type of a GCC
15714 builtin and then its argument prototype would still apply. */
15715 char clGetPlatformInfo ();
15717 main (void)
15719 return clGetPlatformInfo ();
15721 return 0;
15723 _ACEOF
15724 if ac_fn_c_try_link "$LINENO"
15725 then :
15726 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
15727 else $as_nop
15728 ac_cv_lib_OpenCL_clGetPlatformInfo=no
15730 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15731 conftest$ac_exeext conftest.$ac_ext
15732 LIBS=$ac_check_lib_save_LIBS
15734 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
15735 printf "%s\n" "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
15736 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
15737 then :
15738 OPENCL_LIBS="-lOpenCL"
15743 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
15744 then :
15745 case "x$with_opencl" in
15746 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
15747 xno) ;;
15748 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
15749 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
15750 esac
15751 enable_opencl=${enable_opencl:-no}
15754 if test "$ac_cv_header_pcap_pcap_h" = "yes"
15755 then
15756 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pcap_init in -lpcap" >&5
15757 printf %s "checking for pcap_init in -lpcap... " >&6; }
15758 if test ${ac_cv_lib_pcap_pcap_init+y}
15759 then :
15760 printf %s "(cached) " >&6
15761 else $as_nop
15762 ac_check_lib_save_LIBS=$LIBS
15763 LIBS="-lpcap $LIBS"
15764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15765 /* end confdefs.h. */
15767 /* Override any GCC internal prototype to avoid an error.
15768 Use char because int might match the return type of a GCC
15769 builtin and then its argument prototype would still apply. */
15770 char pcap_init ();
15772 main (void)
15774 return pcap_init ();
15776 return 0;
15778 _ACEOF
15779 if ac_fn_c_try_link "$LINENO"
15780 then :
15781 ac_cv_lib_pcap_pcap_init=yes
15782 else $as_nop
15783 ac_cv_lib_pcap_pcap_init=no
15785 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15786 conftest$ac_exeext conftest.$ac_ext
15787 LIBS=$ac_check_lib_save_LIBS
15789 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_init" >&5
15790 printf "%s\n" "$ac_cv_lib_pcap_pcap_init" >&6; }
15791 if test "x$ac_cv_lib_pcap_pcap_init" = xyes
15792 then :
15793 PCAP_LIBS="-lpcap"
15798 if test "x$ac_cv_lib_pcap_pcap_init" != xyes
15799 then :
15800 case "x$with_pcap" in
15801 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
15802 xno) ;;
15803 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
15804 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
15805 esac
15806 enable_wpcap=${enable_wpcap:-no}
15809 if test "x$with_pcsclite" != "xno"
15810 then
15811 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for SCardEstablishContext in -lpcsclite" >&5
15812 printf %s "checking for SCardEstablishContext in -lpcsclite... " >&6; }
15813 if test ${ac_cv_lib_pcsclite_SCardEstablishContext+y}
15814 then :
15815 printf %s "(cached) " >&6
15816 else $as_nop
15817 ac_check_lib_save_LIBS=$LIBS
15818 LIBS="-lpcsclite $LIBS"
15819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15820 /* end confdefs.h. */
15822 /* Override any GCC internal prototype to avoid an error.
15823 Use char because int might match the return type of a GCC
15824 builtin and then its argument prototype would still apply. */
15825 char SCardEstablishContext ();
15827 main (void)
15829 return SCardEstablishContext ();
15831 return 0;
15833 _ACEOF
15834 if ac_fn_c_try_link "$LINENO"
15835 then :
15836 ac_cv_lib_pcsclite_SCardEstablishContext=yes
15837 else $as_nop
15838 ac_cv_lib_pcsclite_SCardEstablishContext=no
15840 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15841 conftest$ac_exeext conftest.$ac_ext
15842 LIBS=$ac_check_lib_save_LIBS
15844 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcsclite_SCardEstablishContext" >&5
15845 printf "%s\n" "$ac_cv_lib_pcsclite_SCardEstablishContext" >&6; }
15846 if test "x$ac_cv_lib_pcsclite_SCardEstablishContext" = xyes
15847 then :
15848 PCSCLITE_LIBS="-lpcsclite"
15852 if test "x$ac_cv_lib_pcsclite_SCardEstablishContext" != xyes && test "$ac_cv_header_PCSC_pcsclite_h" = "yes"
15853 then
15854 PCSCLITE_LIBS="-framework PCSC"
15856 ac_cv_lib_pcsclite_SCardEstablishContext=yes
15859 if test "x$ac_cv_lib_pcsclite_SCardEstablishContext" != xyes
15860 then :
15861 case "x$with_pcsclite" in
15862 x) as_fn_append wine_notices "|libpcsclite not found, smart cards won't be supported." ;;
15863 xno) ;;
15864 *) as_fn_error $? "libpcsclite not found, smart cards won't be supported.
15865 This is an error since --with-pcsclite was requested." "$LINENO" 5 ;;
15866 esac
15867 enable_winscard=${enable_winscard:-no}
15870 if test "x$with_inotify" != "xno"
15871 then
15872 rm -f conftest.err
15873 if ${INOTIFY_CFLAGS:+false} :
15874 then :
15875 if test ${PKG_CONFIG+y}
15876 then :
15877 INOTIFY_CFLAGS=`$PKG_CONFIG --cflags libinotify 2>conftest.err`
15881 if ${INOTIFY_LIBS:+false} :
15882 then :
15883 if test ${PKG_CONFIG+y}
15884 then :
15885 INOTIFY_LIBS=`$PKG_CONFIG --libs libinotify 2>/dev/null`
15890 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
15891 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
15892 if test -s conftest.err; then
15893 printf %s "$as_me:${as_lineno-$LINENO}: libinotify errors: " >&5
15894 cat conftest.err >&5
15896 rm -f conftest.err
15897 ac_save_CPPFLAGS=$CPPFLAGS
15898 CPPFLAGS="$CPPFLAGS $INOTIFY_CFLAGS"
15899 ac_fn_c_check_header_compile "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
15900 if test "x$ac_cv_header_sys_inotify_h" = xyes
15901 then :
15902 printf "%s\n" "#define HAVE_SYS_INOTIFY_H 1" >>confdefs.h
15906 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
15907 printf %s "checking for inotify_add_watch in -linotify... " >&6; }
15908 if test ${ac_cv_lib_inotify_inotify_add_watch+y}
15909 then :
15910 printf %s "(cached) " >&6
15911 else $as_nop
15912 ac_check_lib_save_LIBS=$LIBS
15913 LIBS="-linotify $INOTIFY_LIBS $LIBS"
15914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15915 /* end confdefs.h. */
15917 /* Override any GCC internal prototype to avoid an error.
15918 Use char because int might match the return type of a GCC
15919 builtin and then its argument prototype would still apply. */
15920 char inotify_add_watch ();
15922 main (void)
15924 return inotify_add_watch ();
15926 return 0;
15928 _ACEOF
15929 if ac_fn_c_try_link "$LINENO"
15930 then :
15931 ac_cv_lib_inotify_inotify_add_watch=yes
15932 else $as_nop
15933 ac_cv_lib_inotify_inotify_add_watch=no
15935 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15936 conftest$ac_exeext conftest.$ac_ext
15937 LIBS=$ac_check_lib_save_LIBS
15939 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
15940 printf "%s\n" "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
15941 if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes
15942 then :
15944 else $as_nop
15945 INOTIFY_LIBS=""
15948 CPPFLAGS=$ac_save_CPPFLAGS
15951 if test "$ac_cv_header_sys_inotify_h" != "yes"
15952 then :
15953 case "x$with_inotify" in
15954 x) as_fn_append wine_notices "|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
15955 xno) ;;
15956 *) as_fn_error $? "libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
15957 This is an error since --with-inotify was requested." "$LINENO" 5 ;;
15958 esac
15962 if test "x$with_dbus" != "xno"
15963 then
15964 rm -f conftest.err
15965 if ${DBUS_CFLAGS:+false} :
15966 then :
15967 if test ${PKG_CONFIG+y}
15968 then :
15969 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>conftest.err`
15973 if ${DBUS_LIBS:+false} :
15974 then :
15975 if test ${PKG_CONFIG+y}
15976 then :
15977 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
15982 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
15983 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
15984 if test -s conftest.err; then
15985 printf %s "$as_me:${as_lineno-$LINENO}: dbus-1 errors: " >&5
15986 cat conftest.err >&5
15988 rm -f conftest.err
15989 ac_save_CPPFLAGS=$CPPFLAGS
15990 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
15991 ac_fn_c_check_header_compile "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
15992 if test "x$ac_cv_header_dbus_dbus_h" = xyes
15993 then :
15994 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
15995 printf %s "checking for -ldbus-1... " >&6; }
15996 if test ${ac_cv_lib_soname_dbus_1+y}
15997 then :
15998 printf %s "(cached) " >&6
15999 else $as_nop
16000 ac_check_soname_save_LIBS=$LIBS
16001 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
16002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16003 /* end confdefs.h. */
16005 /* Override any GCC internal prototype to avoid an error.
16006 Use char because int might match the return type of a GCC
16007 builtin and then its argument prototype would still apply. */
16008 char dbus_connection_close ();
16010 main (void)
16012 return dbus_connection_close ();
16014 return 0;
16016 _ACEOF
16017 if ac_fn_c_try_link "$LINENO"
16018 then :
16019 case "$LIBEXT" in
16020 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16021 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'` ;;
16022 *) 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'`
16023 if ${ac_cv_lib_soname_dbus_1:+false} :
16024 then :
16025 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16026 fi ;;
16027 esac
16028 else $as_nop
16029 ac_cv_lib_soname_dbus_1=
16031 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16032 conftest$ac_exeext conftest.$ac_ext
16033 LIBS=$ac_check_soname_save_LIBS
16035 if ${ac_cv_lib_soname_dbus_1:+false} :
16036 then :
16037 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16038 printf "%s\n" "not found" >&6; }
16039 DBUS_CFLAGS=""
16040 else $as_nop
16041 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
16042 printf "%s\n" "$ac_cv_lib_soname_dbus_1" >&6; }
16044 printf "%s\n" "#define SONAME_LIBDBUS_1 \"$ac_cv_lib_soname_dbus_1\"" >>confdefs.h
16048 else $as_nop
16049 DBUS_CFLAGS=""
16052 CPPFLAGS=$ac_save_CPPFLAGS
16055 case $host_os in
16056 darwin*|macosx*) ;;
16057 *) if test "x$ac_cv_lib_soname_dbus_1" = "x"
16058 then :
16059 case "x$with_dbus" in
16060 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
16061 xno) ;;
16062 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
16063 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
16064 esac
16066 fi ;;
16067 esac
16069 if test "x$with_gnutls" != "xno"
16070 then
16071 rm -f conftest.err
16072 if ${GNUTLS_CFLAGS:+false} :
16073 then :
16074 if test ${PKG_CONFIG+y}
16075 then :
16076 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>conftest.err`
16080 if ${GNUTLS_LIBS:+false} :
16081 then :
16082 if test ${PKG_CONFIG+y}
16083 then :
16084 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
16088 GNUTLS_LIBS=${GNUTLS_LIBS:-"-lgnutls"}
16089 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
16090 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
16091 if test -s conftest.err; then
16092 printf %s "$as_me:${as_lineno-$LINENO}: gnutls errors: " >&5
16093 cat conftest.err >&5
16095 rm -f conftest.err
16096 ac_save_CPPFLAGS=$CPPFLAGS
16097 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
16098 ac_fn_c_check_header_compile "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
16099 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
16100 then :
16101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16102 /* end confdefs.h. */
16103 #include <gnutls/gnutls.h>
16104 #include <gnutls/crypto.h>
16106 main (void)
16108 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
16110 return 0;
16112 _ACEOF
16113 if ac_fn_c_try_compile "$LINENO"
16114 then :
16115 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
16116 printf %s "checking for -lgnutls... " >&6; }
16117 if test ${ac_cv_lib_soname_gnutls+y}
16118 then :
16119 printf %s "(cached) " >&6
16120 else $as_nop
16121 ac_check_soname_save_LIBS=$LIBS
16122 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
16123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16124 /* end confdefs.h. */
16126 /* Override any GCC internal prototype to avoid an error.
16127 Use char because int might match the return type of a GCC
16128 builtin and then its argument prototype would still apply. */
16129 char gnutls_global_init ();
16131 main (void)
16133 return gnutls_global_init ();
16135 return 0;
16137 _ACEOF
16138 if ac_fn_c_try_link "$LINENO"
16139 then :
16140 case "$LIBEXT" in
16141 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16142 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'` ;;
16143 *) 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'`
16144 if ${ac_cv_lib_soname_gnutls:+false} :
16145 then :
16146 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'`
16147 fi ;;
16148 esac
16149 else $as_nop
16150 ac_cv_lib_soname_gnutls=
16152 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16153 conftest$ac_exeext conftest.$ac_ext
16154 LIBS=$ac_check_soname_save_LIBS
16156 if ${ac_cv_lib_soname_gnutls:+false} :
16157 then :
16158 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16159 printf "%s\n" "not found" >&6; }
16160 GNUTLS_CFLAGS=""
16161 else $as_nop
16162 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
16163 printf "%s\n" "$ac_cv_lib_soname_gnutls" >&6; }
16165 printf "%s\n" "#define SONAME_LIBGNUTLS \"$ac_cv_lib_soname_gnutls\"" >>confdefs.h
16169 ac_wine_check_funcs_save_LIBS="$LIBS"
16170 LIBS="$LIBS $GNUTLS_LIBS"
16172 for ac_func in gnutls_cipher_init
16173 do :
16174 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
16175 if test "x$ac_cv_func_gnutls_cipher_init" = xyes
16176 then :
16177 printf "%s\n" "#define HAVE_GNUTLS_CIPHER_INIT 1" >>confdefs.h
16179 else $as_nop
16180 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
16183 done
16184 LIBS="$ac_wine_check_funcs_save_LIBS"
16186 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
16187 else $as_nop
16188 GNUTLS_CFLAGS=""
16191 CPPFLAGS=$ac_save_CPPFLAGS
16194 if test "x$ac_cv_lib_soname_gnutls" = "x"
16195 then :
16196 case "x$with_gnutls" in
16197 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
16198 xno) ;;
16199 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
16200 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
16201 esac
16205 if test "x$with_sane" != "xno"
16206 then
16207 rm -f conftest.err
16208 if ${SANE_CFLAGS:+false} :
16209 then :
16210 if test ${PKG_CONFIG+y}
16211 then :
16212 SANE_CFLAGS=`$PKG_CONFIG --cflags sane-backends 2>conftest.err`
16215 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
16216 if ${SANE_LIBS:+false} :
16217 then :
16218 if test ${PKG_CONFIG+y}
16219 then :
16220 SANE_LIBS=`$PKG_CONFIG --libs sane-backends 2>/dev/null`
16223 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
16225 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends cflags: $SANE_CFLAGS" >&5
16226 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends libs: $SANE_LIBS" >&5
16227 if test -s conftest.err; then
16228 printf %s "$as_me:${as_lineno-$LINENO}: sane-backends errors: " >&5
16229 cat conftest.err >&5
16231 rm -f conftest.err
16232 ac_save_CPPFLAGS=$CPPFLAGS
16233 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
16234 ac_fn_c_check_header_compile "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
16235 if test "x$ac_cv_header_sane_sane_h" = xyes
16236 then :
16237 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sane_init in -lsane" >&5
16238 printf %s "checking for sane_init in -lsane... " >&6; }
16239 if test ${ac_cv_lib_sane_sane_init+y}
16240 then :
16241 printf %s "(cached) " >&6
16242 else $as_nop
16243 ac_check_lib_save_LIBS=$LIBS
16244 LIBS="-lsane $SANE_LIBS $LIBS"
16245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16246 /* end confdefs.h. */
16248 /* Override any GCC internal prototype to avoid an error.
16249 Use char because int might match the return type of a GCC
16250 builtin and then its argument prototype would still apply. */
16251 char sane_init ();
16253 main (void)
16255 return sane_init ();
16257 return 0;
16259 _ACEOF
16260 if ac_fn_c_try_link "$LINENO"
16261 then :
16262 ac_cv_lib_sane_sane_init=yes
16263 else $as_nop
16264 ac_cv_lib_sane_sane_init=no
16266 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16267 conftest$ac_exeext conftest.$ac_ext
16268 LIBS=$ac_check_lib_save_LIBS
16270 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sane_sane_init" >&5
16271 printf "%s\n" "$ac_cv_lib_sane_sane_init" >&6; }
16272 if test "x$ac_cv_lib_sane_sane_init" = xyes
16273 then :
16279 CPPFLAGS=$ac_save_CPPFLAGS
16282 if test "$ac_cv_lib_sane_sane_init" != "yes"
16283 then :
16284 case "x$with_sane" in
16285 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
16286 xno) ;;
16287 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
16288 This is an error since --with-sane was requested." "$LINENO" 5 ;;
16289 esac
16290 enable_sane_ds=${enable_sane_ds:-no}
16293 if test "x$with_usb" != "xno"
16294 then
16295 rm -f conftest.err
16296 if ${USB_CFLAGS:+false} :
16297 then :
16298 if test ${PKG_CONFIG+y}
16299 then :
16300 USB_CFLAGS=`$PKG_CONFIG --cflags libusb-1.0 2>conftest.err`
16304 if ${USB_LIBS:+false} :
16305 then :
16306 if test ${PKG_CONFIG+y}
16307 then :
16308 USB_LIBS=`$PKG_CONFIG --libs libusb-1.0 2>/dev/null`
16312 USB_LIBS=${USB_LIBS:-"-lusb-1.0"}
16313 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 cflags: $USB_CFLAGS" >&5
16314 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 libs: $USB_LIBS" >&5
16315 if test -s conftest.err; then
16316 printf %s "$as_me:${as_lineno-$LINENO}: libusb-1.0 errors: " >&5
16317 cat conftest.err >&5
16319 rm -f conftest.err
16320 ac_save_CPPFLAGS=$CPPFLAGS
16321 CPPFLAGS="$CPPFLAGS $USB_CFLAGS"
16322 ac_fn_c_check_header_compile "$LINENO" "libusb.h" "ac_cv_header_libusb_h" "$ac_includes_default"
16323 if test "x$ac_cv_header_libusb_h" = xyes
16324 then :
16325 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libusb_interrupt_event_handler in -lusb-1.0" >&5
16326 printf %s "checking for libusb_interrupt_event_handler in -lusb-1.0... " >&6; }
16327 if test ${ac_cv_lib_usb_1_0_libusb_interrupt_event_handler+y}
16328 then :
16329 printf %s "(cached) " >&6
16330 else $as_nop
16331 ac_check_lib_save_LIBS=$LIBS
16332 LIBS="-lusb-1.0 $USB_LIBS $LIBS"
16333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16334 /* end confdefs.h. */
16336 /* Override any GCC internal prototype to avoid an error.
16337 Use char because int might match the return type of a GCC
16338 builtin and then its argument prototype would still apply. */
16339 char libusb_interrupt_event_handler ();
16341 main (void)
16343 return libusb_interrupt_event_handler ();
16345 return 0;
16347 _ACEOF
16348 if ac_fn_c_try_link "$LINENO"
16349 then :
16350 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=yes
16351 else $as_nop
16352 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=no
16354 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16355 conftest$ac_exeext conftest.$ac_ext
16356 LIBS=$ac_check_lib_save_LIBS
16358 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&5
16359 printf "%s\n" "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&6; }
16360 if test "x$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" = xyes
16361 then :
16363 else $as_nop
16364 USB_LIBS=""
16367 else $as_nop
16368 USB_LIBS=""
16371 CPPFLAGS=$ac_save_CPPFLAGS
16374 if test "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" != "yes"
16375 then :
16376 case "x$with_usb" in
16377 x) as_fn_append wine_notices "|libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported." ;;
16378 xno) ;;
16379 *) as_fn_error $? "libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported.
16380 This is an error since --with-usb was requested." "$LINENO" 5 ;;
16381 esac
16382 enable_wineusb_sys=${enable_wineusb_sys:-no}
16385 if test "x$with_v4l2" != "xno"
16386 then
16387 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
16388 printf %s "checking for -lv4l2... " >&6; }
16389 if test ${ac_cv_lib_soname_v4l2+y}
16390 then :
16391 printf %s "(cached) " >&6
16392 else $as_nop
16393 ac_check_soname_save_LIBS=$LIBS
16394 LIBS="-lv4l2 $LIBS"
16395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16396 /* end confdefs.h. */
16398 /* Override any GCC internal prototype to avoid an error.
16399 Use char because int might match the return type of a GCC
16400 builtin and then its argument prototype would still apply. */
16401 char v4l2_open ();
16403 main (void)
16405 return v4l2_open ();
16407 return 0;
16409 _ACEOF
16410 if ac_fn_c_try_link "$LINENO"
16411 then :
16412 case "$LIBEXT" in
16413 dll) ac_cv_lib_soname_v4l2=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16414 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'` ;;
16415 *) ac_cv_lib_soname_v4l2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16416 if ${ac_cv_lib_soname_v4l2:+false} :
16417 then :
16418 ac_cv_lib_soname_v4l2=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16419 fi ;;
16420 esac
16421 else $as_nop
16422 ac_cv_lib_soname_v4l2=
16424 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16425 conftest$ac_exeext conftest.$ac_ext
16426 LIBS=$ac_check_soname_save_LIBS
16428 if ${ac_cv_lib_soname_v4l2:+false} :
16429 then :
16430 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16431 printf "%s\n" "not found" >&6; }
16433 else $as_nop
16434 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
16435 printf "%s\n" "$ac_cv_lib_soname_v4l2" >&6; }
16437 printf "%s\n" "#define SONAME_LIBV4L2 \"$ac_cv_lib_soname_v4l2\"" >>confdefs.h
16442 if test "x$ac_cv_lib_soname_v4l2" = "x"
16443 then :
16444 case "x$with_v4l2" in
16445 x) as_fn_append wine_notices "|libv4l2 ${notice_platform}development files not found." ;;
16446 xno) ;;
16447 *) as_fn_error $? "libv4l2 ${notice_platform}development files not found.
16448 This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
16449 esac
16453 if test "x$with_gphoto" != "xno"
16454 then
16455 rm -f conftest.err
16456 if ${GPHOTO2_CFLAGS:+false} :
16457 then :
16458 if test ${PKG_CONFIG+y}
16459 then :
16460 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>conftest.err`
16463 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
16464 if ${GPHOTO2_LIBS:+false} :
16465 then :
16466 if test ${PKG_CONFIG+y}
16467 then :
16468 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
16471 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
16472 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
16473 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
16474 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
16475 if test -s conftest.err; then
16476 printf %s "$as_me:${as_lineno-$LINENO}: libgphoto2 errors: " >&5
16477 cat conftest.err >&5
16479 rm -f conftest.err
16480 ac_save_CPPFLAGS=$CPPFLAGS
16481 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
16482 ac_fn_c_check_header_compile "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
16483 if test "x$ac_cv_header_gphoto2_camera_h" = xyes
16484 then :
16485 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
16486 printf %s "checking for gp_camera_new in -lgphoto2... " >&6; }
16487 if test ${ac_cv_lib_gphoto2_gp_camera_new+y}
16488 then :
16489 printf %s "(cached) " >&6
16490 else $as_nop
16491 ac_check_lib_save_LIBS=$LIBS
16492 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
16493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16494 /* end confdefs.h. */
16496 /* Override any GCC internal prototype to avoid an error.
16497 Use char because int might match the return type of a GCC
16498 builtin and then its argument prototype would still apply. */
16499 char gp_camera_new ();
16501 main (void)
16503 return gp_camera_new ();
16505 return 0;
16507 _ACEOF
16508 if ac_fn_c_try_link "$LINENO"
16509 then :
16510 ac_cv_lib_gphoto2_gp_camera_new=yes
16511 else $as_nop
16512 ac_cv_lib_gphoto2_gp_camera_new=no
16514 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16515 conftest$ac_exeext conftest.$ac_ext
16516 LIBS=$ac_check_lib_save_LIBS
16518 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
16519 printf "%s\n" "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
16520 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
16521 then :
16527 CPPFLAGS=$ac_save_CPPFLAGS
16529 rm -f conftest.err
16530 if ${GPHOTO2_PORT_CFLAGS:+false} :
16531 then :
16532 if test ${PKG_CONFIG+y}
16533 then :
16534 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>conftest.err`
16537 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
16538 if ${GPHOTO2_PORT_LIBS:+false} :
16539 then :
16540 if test ${PKG_CONFIG+y}
16541 then :
16542 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
16545 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
16546 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
16547 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
16548 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
16549 if test -s conftest.err; then
16550 printf %s "$as_me:${as_lineno-$LINENO}: libgphoto2_port errors: " >&5
16551 cat conftest.err >&5
16553 rm -f conftest.err
16554 ac_save_CPPFLAGS=$CPPFLAGS
16555 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
16556 ac_fn_c_check_header_compile "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
16557 if test "x$ac_cv_header_gphoto2_port_h" = xyes
16558 then :
16559 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
16560 printf %s "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
16561 if test ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+y}
16562 then :
16563 printf %s "(cached) " >&6
16564 else $as_nop
16565 ac_check_lib_save_LIBS=$LIBS
16566 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
16567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16568 /* end confdefs.h. */
16570 /* Override any GCC internal prototype to avoid an error.
16571 Use char because int might match the return type of a GCC
16572 builtin and then its argument prototype would still apply. */
16573 char gp_port_info_list_new ();
16575 main (void)
16577 return gp_port_info_list_new ();
16579 return 0;
16581 _ACEOF
16582 if ac_fn_c_try_link "$LINENO"
16583 then :
16584 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
16585 else $as_nop
16586 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
16588 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16589 conftest$ac_exeext conftest.$ac_ext
16590 LIBS=$ac_check_lib_save_LIBS
16592 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
16593 printf "%s\n" "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
16594 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes
16595 then :
16597 printf "%s\n" "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
16599 else $as_nop
16600 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
16603 else $as_nop
16604 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
16607 CPPFLAGS=$ac_save_CPPFLAGS
16610 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"
16611 then :
16612 case "x$with_gphoto" in
16613 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
16614 xno) ;;
16615 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
16616 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
16617 esac
16618 enable_gphoto2_ds=${enable_gphoto2_ds:-no}
16620 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"
16621 then :
16622 case "x$with_gphoto" in
16623 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
16624 xno) ;;
16625 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
16626 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
16627 esac
16632 if test "$ac_cv_header_resolv_h" = "yes"
16633 then
16634 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
16635 printf %s "checking for resolver library... " >&6; }
16636 if test ${ac_cv_have_resolv+y}
16637 then :
16638 printf %s "(cached) " >&6
16639 else $as_nop
16640 ac_save_LIBS="$LIBS"
16641 for lib in '' -lresolv
16643 LIBS="$lib $ac_save_LIBS"
16644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16645 /* end confdefs.h. */
16646 #ifdef HAVE_NETINET_IN_H
16647 #include <netinet/in.h>
16648 #endif
16649 #include <resolv.h>
16651 main (void)
16653 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0); ns_initparse(0,0,0)
16655 return 0;
16657 _ACEOF
16658 if ac_fn_c_try_link "$LINENO"
16659 then :
16660 ac_cv_have_resolv=${lib:-"none required"}
16661 else $as_nop
16662 ac_cv_have_resolv="not found"
16664 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16665 conftest$ac_exeext conftest.$ac_ext
16666 test "x$ac_cv_have_resolv" = "xnot found" || break
16667 done
16668 LIBS="$ac_save_LIBS"
16670 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
16671 printf "%s\n" "$ac_cv_have_resolv" >&6; }
16673 case "$ac_cv_have_resolv" in
16674 "not found") ;;
16675 "none required")
16677 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
16680 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
16682 RESOLV_LIBS=$ac_cv_have_resolv
16684 esac
16686 if test "x$ac_cv_have_resolv" != "xnot found"
16687 then
16688 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for res_getservers" >&5
16689 printf %s "checking for res_getservers... " >&6; }
16690 if test ${ac_cv_have_res_getservers+y}
16691 then :
16692 printf %s "(cached) " >&6
16693 else $as_nop
16694 ac_save_LIBS="$LIBS"
16695 LIBS="$RESOLV_LIBS $LIBS"
16696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16697 /* end confdefs.h. */
16698 #include <resolv.h>
16700 main (void)
16702 res_getservers(NULL, NULL, 0);
16704 return 0;
16706 _ACEOF
16707 if ac_fn_c_try_link "$LINENO"
16708 then :
16709 ac_cv_have_res_getservers=yes
16710 else $as_nop
16711 ac_cv_have_res_getservers=no
16713 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16714 conftest$ac_exeext conftest.$ac_ext
16715 LIBS="$ac_save_LIBS"
16717 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_res_getservers" >&5
16718 printf "%s\n" "$ac_cv_have_res_getservers" >&6; }
16719 if test "$ac_cv_have_res_getservers" = "yes"
16720 then
16722 printf "%s\n" "#define HAVE_RES_GETSERVERS 1" >>confdefs.h
16728 if test "x$with_freetype" != "xno"
16729 then
16730 rm -f conftest.err
16731 if ${FREETYPE_CFLAGS:+false} :
16732 then :
16733 if test ${PKG_CONFIG+y}
16734 then :
16735 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>conftest.err`
16738 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
16739 if ${FREETYPE_LIBS:+false} :
16740 then :
16741 if test ${PKG_CONFIG+y}
16742 then :
16743 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
16746 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
16747 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
16748 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
16749 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
16750 if test -s conftest.err; then
16751 printf %s "$as_me:${as_lineno-$LINENO}: freetype2 errors: " >&5
16752 cat conftest.err >&5
16754 rm -f conftest.err
16755 ac_save_CPPFLAGS=$CPPFLAGS
16756 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
16757 ac_fn_c_check_header_compile "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
16758 if test "x$ac_cv_header_ft2build_h" = xyes
16759 then :
16760 printf "%s\n" "#define HAVE_FT2BUILD_H 1" >>confdefs.h
16764 if test "$ac_cv_header_ft2build_h" = "yes"
16765 then
16766 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
16767 printf %s "checking for -lfreetype... " >&6; }
16768 if test ${ac_cv_lib_soname_freetype+y}
16769 then :
16770 printf %s "(cached) " >&6
16771 else $as_nop
16772 ac_check_soname_save_LIBS=$LIBS
16773 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
16774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16775 /* end confdefs.h. */
16777 /* Override any GCC internal prototype to avoid an error.
16778 Use char because int might match the return type of a GCC
16779 builtin and then its argument prototype would still apply. */
16780 char FT_Init_FreeType ();
16782 main (void)
16784 return FT_Init_FreeType ();
16786 return 0;
16788 _ACEOF
16789 if ac_fn_c_try_link "$LINENO"
16790 then :
16791 case "$LIBEXT" in
16792 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16793 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'` ;;
16794 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16795 if ${ac_cv_lib_soname_freetype:+false} :
16796 then :
16797 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16798 fi ;;
16799 esac
16800 else $as_nop
16801 ac_cv_lib_soname_freetype=
16803 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16804 conftest$ac_exeext conftest.$ac_ext
16805 LIBS=$ac_check_soname_save_LIBS
16807 if ${ac_cv_lib_soname_freetype:+false} :
16808 then :
16809 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16810 printf "%s\n" "not found" >&6; }
16811 FREETYPE_LIBS=""
16812 else $as_nop
16813 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
16814 printf "%s\n" "$ac_cv_lib_soname_freetype" >&6; }
16816 printf "%s\n" "#define SONAME_LIBFREETYPE \"$ac_cv_lib_soname_freetype\"" >>confdefs.h
16819 printf "%s\n" "#define HAVE_FREETYPE 1" >>confdefs.h
16821 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
16822 #include FT_MODULE_H
16824 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
16825 then :
16827 printf "%s\n" "#define HAVE_FT_TRUETYPEENGINETYPE 1" >>confdefs.h
16833 else
16834 FREETYPE_CFLAGS=""
16835 FREETYPE_LIBS=""
16837 CPPFLAGS=$ac_save_CPPFLAGS
16840 if test "x$ac_cv_lib_soname_freetype" = x
16841 then :
16842 case "x$with_freetype" in
16843 xno) ;;
16844 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
16845 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
16846 esac
16847 enable_fonts=${enable_fonts:-no}
16850 ac_wine_check_funcs_save_LIBS="$LIBS"
16851 LIBS="$LIBS $PTHREAD_LIBS"
16852 ac_fn_c_check_func "$LINENO" "pthread_getthreadid_np" "ac_cv_func_pthread_getthreadid_np"
16853 if test "x$ac_cv_func_pthread_getthreadid_np" = xyes
16854 then :
16855 printf "%s\n" "#define HAVE_PTHREAD_GETTHREADID_NP 1" >>confdefs.h
16859 LIBS="$ac_wine_check_funcs_save_LIBS"
16861 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
16862 then
16863 if test "$ac_cv_header_gettext_po_h" = "yes"
16864 then
16865 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
16866 printf %s "checking for po_message_msgctxt in -lgettextpo... " >&6; }
16867 if test ${ac_cv_lib_gettextpo_po_message_msgctxt+y}
16868 then :
16869 printf %s "(cached) " >&6
16870 else $as_nop
16871 ac_check_lib_save_LIBS=$LIBS
16872 LIBS="-lgettextpo $LIBS"
16873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16874 /* end confdefs.h. */
16876 /* Override any GCC internal prototype to avoid an error.
16877 Use char because int might match the return type of a GCC
16878 builtin and then its argument prototype would still apply. */
16879 char po_message_msgctxt ();
16881 main (void)
16883 return po_message_msgctxt ();
16885 return 0;
16887 _ACEOF
16888 if ac_fn_c_try_link "$LINENO"
16889 then :
16890 ac_cv_lib_gettextpo_po_message_msgctxt=yes
16891 else $as_nop
16892 ac_cv_lib_gettextpo_po_message_msgctxt=no
16894 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16895 conftest$ac_exeext conftest.$ac_ext
16896 LIBS=$ac_check_lib_save_LIBS
16898 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
16899 printf "%s\n" "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
16900 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
16901 then :
16903 printf "%s\n" "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
16905 GETTEXTPO_LIBS="-lgettextpo"
16910 if test "x$GETTEXTPO_LIBS" = "x"
16911 then :
16912 case "x$with_gettextpo" in
16913 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
16914 xno) ;;
16915 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
16916 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
16917 esac
16920 if test "$srcdir" != .
16921 then :
16922 case "x$with_gettextpo" in
16923 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
16924 xno) ;;
16925 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
16926 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
16927 esac
16932 if test "x$with_pulse" != "xno";
16933 then
16934 rm -f conftest.err
16935 if ${PULSE_CFLAGS:+false} :
16936 then :
16937 if test ${PKG_CONFIG+y}
16938 then :
16939 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>conftest.err`
16943 if ${PULSE_LIBS:+false} :
16944 then :
16945 if test ${PKG_CONFIG+y}
16946 then :
16947 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
16952 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
16953 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
16954 if test -s conftest.err; then
16955 printf %s "$as_me:${as_lineno-$LINENO}: libpulse errors: " >&5
16956 cat conftest.err >&5
16958 rm -f conftest.err
16959 ac_save_CPPFLAGS=$CPPFLAGS
16960 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
16961 for ac_header in pulse/pulseaudio.h
16962 do :
16963 ac_fn_c_check_header_compile "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
16964 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes
16965 then :
16966 printf "%s\n" "#define HAVE_PULSE_PULSEAUDIO_H 1" >>confdefs.h
16967 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
16968 printf %s "checking for pa_stream_is_corked in -lpulse... " >&6; }
16969 if test ${ac_cv_lib_pulse_pa_stream_is_corked+y}
16970 then :
16971 printf %s "(cached) " >&6
16972 else $as_nop
16973 ac_check_lib_save_LIBS=$LIBS
16974 LIBS="-lpulse $PULSE_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 pa_stream_is_corked ();
16983 main (void)
16985 return pa_stream_is_corked ();
16987 return 0;
16989 _ACEOF
16990 if ac_fn_c_try_link "$LINENO"
16991 then :
16992 ac_cv_lib_pulse_pa_stream_is_corked=yes
16993 else $as_nop
16994 ac_cv_lib_pulse_pa_stream_is_corked=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_pulse_pa_stream_is_corked" >&5
17001 printf "%s\n" "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
17002 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes
17003 then :
17005 else $as_nop
17006 PULSE_LIBS=""
17009 else $as_nop
17010 PULSE_LIBS=""
17013 done
17014 CPPFLAGS=$ac_save_CPPFLAGS
17017 if test -z "$PULSE_LIBS"
17018 then :
17019 case "x$with_pulse" in
17020 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
17021 xno) ;;
17022 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
17023 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
17024 esac
17025 enable_winepulse_drv=${enable_winepulse_drv:-no}
17028 if test "x$with_gstreamer" != "xno"
17029 then
17030 rm -f conftest.err
17031 if ${GSTREAMER_CFLAGS:+false} :
17032 then :
17033 if test ${PKG_CONFIG+y}
17034 then :
17035 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 2>conftest.err`
17039 if ${GSTREAMER_LIBS:+false} :
17040 then :
17041 if test ${PKG_CONFIG+y}
17042 then :
17043 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 2>/dev/null`
17048 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
17049 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
17050 if test -s conftest.err; then
17051 printf %s "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 errors: " >&5
17052 cat conftest.err >&5
17054 rm -f conftest.err
17055 ac_save_CPPFLAGS=$CPPFLAGS
17056 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
17057 ac_fn_c_check_header_compile "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
17058 if test "x$ac_cv_header_gst_gst_h" = xyes
17059 then :
17060 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
17061 printf %s "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
17062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17063 /* end confdefs.h. */
17064 #include <gst/gst.h>
17066 main (void)
17068 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
17070 return 0;
17072 _ACEOF
17073 if ac_fn_c_try_compile "$LINENO"
17074 then :
17075 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17076 printf "%s\n" "yes" >&6; }
17077 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
17078 printf %s "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
17079 if test ${ac_cv_lib_gstreamer_1_0_gst_pad_new+y}
17080 then :
17081 printf %s "(cached) " >&6
17082 else $as_nop
17083 ac_check_lib_save_LIBS=$LIBS
17084 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
17085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17086 /* end confdefs.h. */
17088 /* Override any GCC internal prototype to avoid an error.
17089 Use char because int might match the return type of a GCC
17090 builtin and then its argument prototype would still apply. */
17091 char gst_pad_new ();
17093 main (void)
17095 return gst_pad_new ();
17097 return 0;
17099 _ACEOF
17100 if ac_fn_c_try_link "$LINENO"
17101 then :
17102 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
17103 else $as_nop
17104 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
17106 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17107 conftest$ac_exeext conftest.$ac_ext
17108 LIBS=$ac_check_lib_save_LIBS
17110 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
17111 printf "%s\n" "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
17112 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes
17113 then :
17117 else $as_nop
17118 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
17119 printf "%s\n" "no" >&6; }
17120 ac_glib2_broken=yes
17121 enable_winegstreamer=${enable_winegstreamer:-no}
17122 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
17124 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
17127 CPPFLAGS=$ac_save_CPPFLAGS
17130 if test "x$ac_glib2_broken" != xyes -a "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" != xyes
17131 then :
17132 case "x$with_gstreamer" in
17133 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
17134 xno) ;;
17135 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
17136 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
17137 esac
17138 enable_winegstreamer=${enable_winegstreamer:-no}
17141 ALSA_LIBS=""
17143 if test "x$with_alsa" != "xno"
17144 then
17145 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
17146 printf %s "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
17147 if test ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+y}
17148 then :
17149 printf %s "(cached) " >&6
17150 else $as_nop
17151 ac_check_lib_save_LIBS=$LIBS
17152 LIBS="-lasound $LIBS"
17153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17154 /* end confdefs.h. */
17156 /* Override any GCC internal prototype to avoid an error.
17157 Use char because int might match the return type of a GCC
17158 builtin and then its argument prototype would still apply. */
17159 char snd_pcm_hw_params_get_access_mask ();
17161 main (void)
17163 return snd_pcm_hw_params_get_access_mask ();
17165 return 0;
17167 _ACEOF
17168 if ac_fn_c_try_link "$LINENO"
17169 then :
17170 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
17171 else $as_nop
17172 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
17174 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17175 conftest$ac_exeext conftest.$ac_ext
17176 LIBS=$ac_check_lib_save_LIBS
17178 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
17179 printf "%s\n" "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
17180 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
17181 then :
17182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17183 /* end confdefs.h. */
17184 #include <alsa/asoundlib.h>
17186 main (void)
17188 snd_pcm_hw_params_get_access_mask(NULL, NULL)
17190 return 0;
17192 _ACEOF
17193 if ac_fn_c_try_compile "$LINENO"
17194 then :
17195 ALSA_LIBS="-lasound"
17197 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
17201 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
17203 if test "x$with_oss" != xno
17204 then
17205 ac_save_CPPFLAGS="$CPPFLAGS"
17206 if test -f /etc/oss.conf
17207 then
17208 . /etc/oss.conf
17210 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
17211 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
17212 ac_fn_c_check_header_compile "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
17213 if test "x$ac_cv_header_sys_soundcard_h" = xyes
17214 then :
17215 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
17217 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
17218 then :
17220 printf "%s\n" "#define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1" >>confdefs.h
17222 OSS4_CFLAGS="$ac_oss_incl"
17224 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
17225 printf %s "checking for _oss_ioctl in -lossaudio... " >&6; }
17226 if test ${ac_cv_lib_ossaudio__oss_ioctl+y}
17227 then :
17228 printf %s "(cached) " >&6
17229 else $as_nop
17230 ac_check_lib_save_LIBS=$LIBS
17231 LIBS="-lossaudio $LIBS"
17232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17233 /* end confdefs.h. */
17235 /* Override any GCC internal prototype to avoid an error.
17236 Use char because int might match the return type of a GCC
17237 builtin and then its argument prototype would still apply. */
17238 char _oss_ioctl ();
17240 main (void)
17242 return _oss_ioctl ();
17244 return 0;
17246 _ACEOF
17247 if ac_fn_c_try_link "$LINENO"
17248 then :
17249 ac_cv_lib_ossaudio__oss_ioctl=yes
17250 else $as_nop
17251 ac_cv_lib_ossaudio__oss_ioctl=no
17253 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17254 conftest$ac_exeext conftest.$ac_ext
17255 LIBS=$ac_check_lib_save_LIBS
17257 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
17258 printf "%s\n" "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
17259 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
17260 then :
17261 OSS4_LIBS="-lossaudio"
17269 CPPFLAGS="$ac_save_CPPFLAGS"
17271 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
17272 then :
17273 case "x$with_oss" in
17274 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
17275 xno) ;;
17276 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
17277 This is an error since --with-oss was requested." "$LINENO" 5 ;;
17278 esac
17279 enable_wineoss_drv=${enable_wineoss_drv:-no}
17282 if test "x$with_udev" != "xno"
17283 then
17284 rm -f conftest.err
17285 if ${UDEV_CFLAGS:+false} :
17286 then :
17287 if test ${PKG_CONFIG+y}
17288 then :
17289 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>conftest.err`
17293 if ${UDEV_LIBS:+false} :
17294 then :
17295 if test ${PKG_CONFIG+y}
17296 then :
17297 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
17301 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
17302 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
17303 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
17304 if test -s conftest.err; then
17305 printf %s "$as_me:${as_lineno-$LINENO}: libudev errors: " >&5
17306 cat conftest.err >&5
17308 rm -f conftest.err
17309 ac_save_CPPFLAGS=$CPPFLAGS
17310 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
17311 for ac_header in libudev.h
17312 do :
17313 ac_fn_c_check_header_compile "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
17314 if test "x$ac_cv_header_libudev_h" = xyes
17315 then :
17316 printf "%s\n" "#define HAVE_LIBUDEV_H 1" >>confdefs.h
17317 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
17318 printf %s "checking for udev_new in -ludev... " >&6; }
17319 if test ${ac_cv_lib_udev_udev_new+y}
17320 then :
17321 printf %s "(cached) " >&6
17322 else $as_nop
17323 ac_check_lib_save_LIBS=$LIBS
17324 LIBS="-ludev $UDEV_LIBS $LIBS"
17325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17326 /* end confdefs.h. */
17328 /* Override any GCC internal prototype to avoid an error.
17329 Use char because int might match the return type of a GCC
17330 builtin and then its argument prototype would still apply. */
17331 char udev_new ();
17333 main (void)
17335 return udev_new ();
17337 return 0;
17339 _ACEOF
17340 if ac_fn_c_try_link "$LINENO"
17341 then :
17342 ac_cv_lib_udev_udev_new=yes
17343 else $as_nop
17344 ac_cv_lib_udev_udev_new=no
17346 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17347 conftest$ac_exeext conftest.$ac_ext
17348 LIBS=$ac_check_lib_save_LIBS
17350 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
17351 printf "%s\n" "$ac_cv_lib_udev_udev_new" >&6; }
17352 if test "x$ac_cv_lib_udev_udev_new" = xyes
17353 then :
17355 printf "%s\n" "#define HAVE_UDEV 1" >>confdefs.h
17357 else $as_nop
17358 UDEV_LIBS=""
17361 else $as_nop
17362 UDEV_LIBS=""
17365 done
17366 CPPFLAGS=$ac_save_CPPFLAGS
17369 if test "x$UDEV_LIBS" = "x"
17370 then :
17371 case "x$with_udev" in
17372 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
17373 xno) ;;
17374 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
17375 This is an error since --with-udev was requested." "$LINENO" 5 ;;
17376 esac
17380 if test "x$with_unwind" != xno
17381 then
17382 rm -f conftest.err
17383 if ${UNWIND_CFLAGS:+false} :
17384 then :
17385 if test ${PKG_CONFIG+y}
17386 then :
17387 UNWIND_CFLAGS=`$PKG_CONFIG --cflags libunwind 2>conftest.err`
17391 if ${UNWIND_LIBS:+false} :
17392 then :
17393 if test ${PKG_CONFIG+y}
17394 then :
17395 UNWIND_LIBS=`$PKG_CONFIG --libs libunwind 2>/dev/null`
17399 UNWIND_LIBS=${UNWIND_LIBS:-"-lunwind"}
17400 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind cflags: $UNWIND_CFLAGS" >&5
17401 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind libs: $UNWIND_LIBS" >&5
17402 if test -s conftest.err; then
17403 printf %s "$as_me:${as_lineno-$LINENO}: libunwind errors: " >&5
17404 cat conftest.err >&5
17406 rm -f conftest.err
17407 ac_save_CPPFLAGS=$CPPFLAGS
17408 CPPFLAGS="$CPPFLAGS $UNWIND_CFLAGS"
17409 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step" >&5
17410 printf %s "checking for unw_step... " >&6; }
17411 if test ${wine_cv_have_unw_step+y}
17412 then :
17413 printf %s "(cached) " >&6
17414 else $as_nop
17415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17416 /* end confdefs.h. */
17417 #define UNW_LOCAL_ONLY
17418 #include <libunwind.h>
17420 main (void)
17422 unw_cursor_t cursor; unw_step( &cursor );
17424 return 0;
17426 _ACEOF
17427 if ac_fn_c_try_link "$LINENO"
17428 then :
17429 wine_cv_have_unw_step="yes"
17430 else $as_nop
17431 wine_cv_have_unw_step="no"
17433 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17434 conftest$ac_exeext conftest.$ac_ext
17436 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_unw_step" >&5
17437 printf "%s\n" "$wine_cv_have_unw_step" >&6; }
17438 if test "$wine_cv_have_unw_step" = no -a -n "$UNWIND_LIBS"
17439 then
17440 save_libs=$LIBS
17441 UNWIND_LIBS="-static-libgcc $UNWIND_LIBS"
17442 LIBS="$UNWIND_LIBS $LIBS"
17443 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step in libunwind" >&5
17444 printf %s "checking for unw_step in libunwind... " >&6; }
17445 if test ${wine_cv_have_libunwind_unw_step+y}
17446 then :
17447 printf %s "(cached) " >&6
17448 else $as_nop
17449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17450 /* end confdefs.h. */
17451 #define UNW_LOCAL_ONLY
17452 #include <libunwind.h>
17454 main (void)
17456 unw_cursor_t cursor; unw_step( &cursor );
17458 return 0;
17460 _ACEOF
17461 if ac_fn_c_try_link "$LINENO"
17462 then :
17463 wine_cv_have_libunwind_unw_step="yes"
17464 else $as_nop
17465 wine_cv_have_libunwind_unw_step="no"
17467 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17468 conftest$ac_exeext conftest.$ac_ext
17470 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_libunwind_unw_step" >&5
17471 printf "%s\n" "$wine_cv_have_libunwind_unw_step" >&6; }
17472 LIBS=$save_libs
17474 test "$wine_cv_have_libunwind_unw_step" = yes || UNWIND_LIBS=""
17475 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" != xnono
17476 then
17478 printf "%s\n" "#define HAVE_LIBUNWIND 1" >>confdefs.h
17481 CPPFLAGS=$ac_save_CPPFLAGS
17484 case $host in
17485 aarch64*|*-darwin*)
17486 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" = xnono
17487 then :
17488 case "x$with_unwind" in
17489 x) as_fn_append wine_notices "|libunwind ${notice_platform}development files not found, stack unwinding won't work." ;;
17490 xno) ;;
17491 *) as_fn_error $? "libunwind ${notice_platform}development files not found, stack unwinding won't work.
17492 This is an error since --with-unwind was requested." "$LINENO" 5 ;;
17493 esac
17495 fi ;;
17496 esac
17498 if test "x$with_sdl" != "xno"
17499 then
17500 rm -f conftest.err
17501 if ${SDL2_CFLAGS:+false} :
17502 then :
17503 if test ${PKG_CONFIG+y}
17504 then :
17505 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>conftest.err`
17509 if ${SDL2_LIBS:+false} :
17510 then :
17511 if test ${PKG_CONFIG+y}
17512 then :
17513 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
17517 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
17518 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
17519 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
17520 if test -s conftest.err; then
17521 printf %s "$as_me:${as_lineno-$LINENO}: sdl2 errors: " >&5
17522 cat conftest.err >&5
17524 rm -f conftest.err
17525 ac_save_CPPFLAGS=$CPPFLAGS
17526 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
17527 for ac_header in SDL.h
17528 do :
17529 ac_fn_c_check_header_compile "$LINENO" "SDL.h" "ac_cv_header_SDL_h" "$ac_includes_default"
17530 if test "x$ac_cv_header_SDL_h" = xyes
17531 then :
17532 printf "%s\n" "#define HAVE_SDL_H 1" >>confdefs.h
17533 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
17534 printf %s "checking for -lSDL2... " >&6; }
17535 if test ${ac_cv_lib_soname_SDL2+y}
17536 then :
17537 printf %s "(cached) " >&6
17538 else $as_nop
17539 ac_check_soname_save_LIBS=$LIBS
17540 LIBS="-lSDL2 $SDL2_LIBS $LIBS"
17541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17542 /* end confdefs.h. */
17544 /* Override any GCC internal prototype to avoid an error.
17545 Use char because int might match the return type of a GCC
17546 builtin and then its argument prototype would still apply. */
17547 char SDL_Init ();
17549 main (void)
17551 return SDL_Init ();
17553 return 0;
17555 _ACEOF
17556 if ac_fn_c_try_link "$LINENO"
17557 then :
17558 case "$LIBEXT" in
17559 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17560 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'` ;;
17561 *) 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'`
17562 if ${ac_cv_lib_soname_SDL2:+false} :
17563 then :
17564 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17565 fi ;;
17566 esac
17567 else $as_nop
17568 ac_cv_lib_soname_SDL2=
17570 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17571 conftest$ac_exeext conftest.$ac_ext
17572 LIBS=$ac_check_soname_save_LIBS
17574 if ${ac_cv_lib_soname_SDL2:+false} :
17575 then :
17576 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17577 printf "%s\n" "not found" >&6; }
17579 else $as_nop
17580 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
17581 printf "%s\n" "$ac_cv_lib_soname_SDL2" >&6; }
17583 printf "%s\n" "#define SONAME_LIBSDL2 \"$ac_cv_lib_soname_SDL2\"" >>confdefs.h
17589 done
17590 CPPFLAGS=$ac_save_CPPFLAGS
17593 if test "x$ac_cv_lib_soname_SDL2" = "x"
17594 then :
17595 case "x$with_sdl" in
17596 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
17597 xno) ;;
17598 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
17599 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
17600 esac
17604 if test "x$with_capi" != "xno"
17605 then
17606 rm -f conftest.err
17607 if ${CAPI20_CFLAGS:+false} :
17608 then :
17609 if test ${PKG_CONFIG+y}
17610 then :
17611 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>conftest.err`
17615 if ${CAPI20_LIBS:+false} :
17616 then :
17617 if test ${PKG_CONFIG+y}
17618 then :
17619 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
17624 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
17625 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
17626 if test -s conftest.err; then
17627 printf %s "$as_me:${as_lineno-$LINENO}: capi20 errors: " >&5
17628 cat conftest.err >&5
17630 rm -f conftest.err
17631 ac_save_CPPFLAGS=$CPPFLAGS
17632 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
17633 ac_fn_c_check_header_compile "$LINENO" "capi20.h" "ac_cv_header_capi20_h" "#define __user
17635 if test "x$ac_cv_header_capi20_h" = xyes
17636 then :
17637 printf "%s\n" "#define HAVE_CAPI20_H 1" >>confdefs.h
17640 ac_fn_c_check_header_compile "$LINENO" "linux/capi.h" "ac_cv_header_linux_capi_h" "#define __user
17642 if test "x$ac_cv_header_linux_capi_h" = xyes
17643 then :
17644 printf "%s\n" "#define HAVE_LINUX_CAPI_H 1" >>confdefs.h
17648 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
17649 then
17650 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for capi20_register in -lcapi20" >&5
17651 printf %s "checking for capi20_register in -lcapi20... " >&6; }
17652 if test ${ac_cv_lib_capi20_capi20_register+y}
17653 then :
17654 printf %s "(cached) " >&6
17655 else $as_nop
17656 ac_check_lib_save_LIBS=$LIBS
17657 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
17658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17659 /* end confdefs.h. */
17661 /* Override any GCC internal prototype to avoid an error.
17662 Use char because int might match the return type of a GCC
17663 builtin and then its argument prototype would still apply. */
17664 char capi20_register ();
17666 main (void)
17668 return capi20_register ();
17670 return 0;
17672 _ACEOF
17673 if ac_fn_c_try_link "$LINENO"
17674 then :
17675 ac_cv_lib_capi20_capi20_register=yes
17676 else $as_nop
17677 ac_cv_lib_capi20_capi20_register=no
17679 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17680 conftest$ac_exeext conftest.$ac_ext
17681 LIBS=$ac_check_lib_save_LIBS
17683 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_capi20_capi20_register" >&5
17684 printf "%s\n" "$ac_cv_lib_capi20_capi20_register" >&6; }
17685 if test "x$ac_cv_lib_capi20_capi20_register" = xyes
17686 then :
17688 else $as_nop
17689 CAPI20_LIBS=""
17693 CPPFLAGS=$ac_save_CPPFLAGS
17696 if test "x$ac_cv_lib_capi20_capi20_register" != xyes
17697 then :
17698 case "x$with_capi" in
17699 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
17700 xno) ;;
17701 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
17702 This is an error since --with-capi was requested." "$LINENO" 5 ;;
17703 esac
17704 enable_capi2032=${enable_capi2032:-no}
17707 if test "x$with_cups" != "xno"
17708 then
17709 rm -f conftest.err
17710 if ${CUPS_CFLAGS:+false} :
17711 then :
17712 if test ${PKG_CONFIG+y}
17713 then :
17714 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>conftest.err`
17717 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
17718 if ${CUPS_LIBS:+false} :
17719 then :
17720 if test ${PKG_CONFIG+y}
17721 then :
17722 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
17725 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
17726 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
17727 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
17728 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
17729 if test -s conftest.err; then
17730 printf %s "$as_me:${as_lineno-$LINENO}: cups errors: " >&5
17731 cat conftest.err >&5
17733 rm -f conftest.err
17734 ac_save_CPPFLAGS=$CPPFLAGS
17735 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
17736 ac_fn_c_check_header_compile "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
17737 if test "x$ac_cv_header_cups_cups_h" = xyes
17738 then :
17739 printf "%s\n" "#define HAVE_CUPS_CUPS_H 1" >>confdefs.h
17742 ac_fn_c_check_header_compile "$LINENO" "cups/ppd.h" "ac_cv_header_cups_ppd_h" "$ac_includes_default"
17743 if test "x$ac_cv_header_cups_ppd_h" = xyes
17744 then :
17745 printf "%s\n" "#define HAVE_CUPS_PPD_H 1" >>confdefs.h
17749 if test "$ac_cv_header_cups_cups_h" = "yes"
17750 then
17751 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
17752 printf %s "checking for -lcups... " >&6; }
17753 if test ${ac_cv_lib_soname_cups+y}
17754 then :
17755 printf %s "(cached) " >&6
17756 else $as_nop
17757 ac_check_soname_save_LIBS=$LIBS
17758 LIBS="-lcups $CUPS_LIBS $LIBS"
17759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17760 /* end confdefs.h. */
17762 /* Override any GCC internal prototype to avoid an error.
17763 Use char because int might match the return type of a GCC
17764 builtin and then its argument prototype would still apply. */
17765 char cupsGetDefault ();
17767 main (void)
17769 return cupsGetDefault ();
17771 return 0;
17773 _ACEOF
17774 if ac_fn_c_try_link "$LINENO"
17775 then :
17776 case "$LIBEXT" in
17777 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17778 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'` ;;
17779 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17780 if ${ac_cv_lib_soname_cups:+false} :
17781 then :
17782 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17783 fi ;;
17784 esac
17785 else $as_nop
17786 ac_cv_lib_soname_cups=
17788 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17789 conftest$ac_exeext conftest.$ac_ext
17790 LIBS=$ac_check_soname_save_LIBS
17792 if ${ac_cv_lib_soname_cups:+false} :
17793 then :
17794 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17795 printf "%s\n" "not found" >&6; }
17796 CUPS_LIBS=""
17797 else $as_nop
17798 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
17799 printf "%s\n" "$ac_cv_lib_soname_cups" >&6; }
17801 printf "%s\n" "#define SONAME_LIBCUPS \"$ac_cv_lib_soname_cups\"" >>confdefs.h
17805 else
17806 CUPS_CFLAGS=""
17807 CUPS_LIBS=""
17809 CPPFLAGS=$ac_save_CPPFLAGS
17812 if test "x$ac_cv_lib_soname_cups" = "x"
17813 then :
17814 case "x$with_cups" in
17815 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
17816 xno) ;;
17817 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
17818 This is an error since --with-cups was requested." "$LINENO" 5 ;;
17819 esac
17823 if test "x$with_fontconfig" != "xno"
17824 then
17825 rm -f conftest.err
17826 if ${FONTCONFIG_CFLAGS:+false} :
17827 then :
17828 if test ${PKG_CONFIG+y}
17829 then :
17830 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>conftest.err`
17833 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
17834 if ${FONTCONFIG_LIBS:+false} :
17835 then :
17836 if test ${PKG_CONFIG+y}
17837 then :
17838 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
17841 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
17843 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
17844 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
17845 if test -s conftest.err; then
17846 printf %s "$as_me:${as_lineno-$LINENO}: fontconfig errors: " >&5
17847 cat conftest.err >&5
17849 rm -f conftest.err
17850 ac_save_CPPFLAGS=$CPPFLAGS
17851 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
17852 ac_fn_c_check_header_compile "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
17853 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
17854 then :
17855 printf "%s\n" "#define HAVE_FONTCONFIG_FONTCONFIG_H 1" >>confdefs.h
17859 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
17860 then
17861 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
17862 printf %s "checking for -lfontconfig... " >&6; }
17863 if test ${ac_cv_lib_soname_fontconfig+y}
17864 then :
17865 printf %s "(cached) " >&6
17866 else $as_nop
17867 ac_check_soname_save_LIBS=$LIBS
17868 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
17869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17870 /* end confdefs.h. */
17872 /* Override any GCC internal prototype to avoid an error.
17873 Use char because int might match the return type of a GCC
17874 builtin and then its argument prototype would still apply. */
17875 char FcInit ();
17877 main (void)
17879 return FcInit ();
17881 return 0;
17883 _ACEOF
17884 if ac_fn_c_try_link "$LINENO"
17885 then :
17886 case "$LIBEXT" in
17887 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17888 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'` ;;
17889 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17890 if ${ac_cv_lib_soname_fontconfig:+false} :
17891 then :
17892 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17893 fi ;;
17894 esac
17895 else $as_nop
17896 ac_cv_lib_soname_fontconfig=
17898 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17899 conftest$ac_exeext conftest.$ac_ext
17900 LIBS=$ac_check_soname_save_LIBS
17902 if ${ac_cv_lib_soname_fontconfig:+false} :
17903 then :
17904 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17905 printf "%s\n" "not found" >&6; }
17906 FONTCONFIG_CFLAGS=""
17907 else $as_nop
17908 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
17909 printf "%s\n" "$ac_cv_lib_soname_fontconfig" >&6; }
17911 printf "%s\n" "#define SONAME_LIBFONTCONFIG \"$ac_cv_lib_soname_fontconfig\"" >>confdefs.h
17915 else
17916 FONTCONFIG_CFLAGS=""
17918 CPPFLAGS=$ac_save_CPPFLAGS
17921 if test "x$ac_cv_lib_soname_fontconfig" = "x"
17922 then :
17923 case "x$with_fontconfig" in
17924 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
17925 xno) ;;
17926 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
17927 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
17928 esac
17932 if test "x$with_krb5" != "xno"
17933 then
17934 rm -f conftest.err
17935 if ${KRB5_CFLAGS:+false} :
17936 then :
17937 if test ${PKG_CONFIG+y}
17938 then :
17939 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>conftest.err`
17942 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
17943 if ${KRB5_LIBS:+false} :
17944 then :
17945 if test ${PKG_CONFIG+y}
17946 then :
17947 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
17950 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
17952 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
17953 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
17954 if test -s conftest.err; then
17955 printf %s "$as_me:${as_lineno-$LINENO}: krb5 errors: " >&5
17956 cat conftest.err >&5
17958 rm -f conftest.err
17959 ac_save_CPPFLAGS=$CPPFLAGS
17960 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
17961 ac_fn_c_check_header_compile "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
17962 if test "x$ac_cv_header_krb5_krb5_h" = xyes
17963 then :
17964 printf "%s\n" "#define HAVE_KRB5_KRB5_H 1" >>confdefs.h
17968 if test "$ac_cv_header_krb5_krb5_h" = "yes"
17969 then
17970 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
17971 printf %s "checking for -lkrb5... " >&6; }
17972 if test ${ac_cv_lib_soname_krb5+y}
17973 then :
17974 printf %s "(cached) " >&6
17975 else $as_nop
17976 ac_check_soname_save_LIBS=$LIBS
17977 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
17978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17979 /* end confdefs.h. */
17981 /* Override any GCC internal prototype to avoid an error.
17982 Use char because int might match the return type of a GCC
17983 builtin and then its argument prototype would still apply. */
17984 char krb5_is_config_principal ();
17986 main (void)
17988 return krb5_is_config_principal ();
17990 return 0;
17992 _ACEOF
17993 if ac_fn_c_try_link "$LINENO"
17994 then :
17995 case "$LIBEXT" in
17996 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17997 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'` ;;
17998 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17999 if ${ac_cv_lib_soname_krb5:+false} :
18000 then :
18001 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18002 fi ;;
18003 esac
18004 else $as_nop
18005 ac_cv_lib_soname_krb5=
18007 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18008 conftest$ac_exeext conftest.$ac_ext
18009 LIBS=$ac_check_soname_save_LIBS
18011 if ${ac_cv_lib_soname_krb5:+false} :
18012 then :
18013 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18014 printf "%s\n" "not found" >&6; }
18015 KRB5_CFLAGS=""
18016 else $as_nop
18017 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
18018 printf "%s\n" "$ac_cv_lib_soname_krb5" >&6; }
18020 printf "%s\n" "#define SONAME_LIBKRB5 \"$ac_cv_lib_soname_krb5\"" >>confdefs.h
18024 else
18025 KRB5_CFLAGS=""
18027 CPPFLAGS=$ac_save_CPPFLAGS
18030 if test "x$ac_cv_lib_soname_krb5" = "x"
18031 then :
18032 case "x$with_krb5" in
18033 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
18034 xno) ;;
18035 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
18036 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
18037 esac
18040 test "x$ac_cv_lib_soname_krb5" != "x" || with_gssapi=${with_gssapi:-no}
18042 if test "x$with_gssapi" != "xno"
18043 then
18044 rm -f conftest.err
18045 if ${GSSAPI_CFLAGS:+false} :
18046 then :
18047 if test ${PKG_CONFIG+y}
18048 then :
18049 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>conftest.err`
18052 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
18053 if ${GSSAPI_LIBS:+false} :
18054 then :
18055 if test ${PKG_CONFIG+y}
18056 then :
18057 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
18060 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
18062 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
18063 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
18064 if test -s conftest.err; then
18065 printf %s "$as_me:${as_lineno-$LINENO}: krb5-gssapi errors: " >&5
18066 cat conftest.err >&5
18068 rm -f conftest.err
18069 ac_save_CPPFLAGS=$CPPFLAGS
18070 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
18071 ac_fn_c_check_header_compile "$LINENO" "gssapi/gssapi.h" "ac_cv_header_gssapi_gssapi_h" "$ac_includes_default"
18072 if test "x$ac_cv_header_gssapi_gssapi_h" = xyes
18073 then :
18074 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_H 1" >>confdefs.h
18077 ac_fn_c_check_header_compile "$LINENO" "gssapi/gssapi_ext.h" "ac_cv_header_gssapi_gssapi_ext_h" "$ac_includes_default"
18078 if test "x$ac_cv_header_gssapi_gssapi_ext_h" = xyes
18079 then :
18080 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_EXT_H 1" >>confdefs.h
18084 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
18085 then
18086 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
18087 printf %s "checking for -lgssapi_krb5... " >&6; }
18088 if test ${ac_cv_lib_soname_gssapi_krb5+y}
18089 then :
18090 printf %s "(cached) " >&6
18091 else $as_nop
18092 ac_check_soname_save_LIBS=$LIBS
18093 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
18094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18095 /* end confdefs.h. */
18097 /* Override any GCC internal prototype to avoid an error.
18098 Use char because int might match the return type of a GCC
18099 builtin and then its argument prototype would still apply. */
18100 char gss_init_sec_context ();
18102 main (void)
18104 return gss_init_sec_context ();
18106 return 0;
18108 _ACEOF
18109 if ac_fn_c_try_link "$LINENO"
18110 then :
18111 case "$LIBEXT" in
18112 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18113 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'` ;;
18114 *) 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'`
18115 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
18116 then :
18117 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18118 fi ;;
18119 esac
18120 else $as_nop
18121 ac_cv_lib_soname_gssapi_krb5=
18123 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18124 conftest$ac_exeext conftest.$ac_ext
18125 LIBS=$ac_check_soname_save_LIBS
18127 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
18128 then :
18129 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18130 printf "%s\n" "not found" >&6; }
18131 GSSAPI_CFLAGS=""
18132 else $as_nop
18133 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
18134 printf "%s\n" "$ac_cv_lib_soname_gssapi_krb5" >&6; }
18136 printf "%s\n" "#define SONAME_LIBGSSAPI_KRB5 \"$ac_cv_lib_soname_gssapi_krb5\"" >>confdefs.h
18140 else
18141 GSSAPI_CFLAGS=""
18143 CPPFLAGS=$ac_save_CPPFLAGS
18146 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"
18147 then :
18148 case "x$with_gssapi" in
18149 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
18150 xno) ;;
18151 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
18152 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
18153 esac
18157 if test "$ac_cv_header_libprocstat_h" = "yes"
18158 then
18159 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
18160 printf %s "checking for procstat_open_sysctl in -lprocstat... " >&6; }
18161 if test ${ac_cv_lib_procstat_procstat_open_sysctl+y}
18162 then :
18163 printf %s "(cached) " >&6
18164 else $as_nop
18165 ac_check_lib_save_LIBS=$LIBS
18166 LIBS="-lprocstat $LIBS"
18167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18168 /* end confdefs.h. */
18170 /* Override any GCC internal prototype to avoid an error.
18171 Use char because int might match the return type of a GCC
18172 builtin and then its argument prototype would still apply. */
18173 char procstat_open_sysctl ();
18175 main (void)
18177 return procstat_open_sysctl ();
18179 return 0;
18181 _ACEOF
18182 if ac_fn_c_try_link "$LINENO"
18183 then :
18184 ac_cv_lib_procstat_procstat_open_sysctl=yes
18185 else $as_nop
18186 ac_cv_lib_procstat_procstat_open_sysctl=no
18188 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18189 conftest$ac_exeext conftest.$ac_ext
18190 LIBS=$ac_check_lib_save_LIBS
18192 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
18193 printf "%s\n" "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
18194 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes
18195 then :
18197 printf "%s\n" "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
18199 PROCSTAT_LIBS="-lprocstat"
18205 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
18206 printf %s "checking for -lodbc... " >&6; }
18207 if test ${ac_cv_lib_soname_odbc+y}
18208 then :
18209 printf %s "(cached) " >&6
18210 else $as_nop
18211 ac_check_soname_save_LIBS=$LIBS
18212 LIBS="-lodbc $LIBS"
18213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18214 /* end confdefs.h. */
18216 /* Override any GCC internal prototype to avoid an error.
18217 Use char because int might match the return type of a GCC
18218 builtin and then its argument prototype would still apply. */
18219 char SQLConnect ();
18221 main (void)
18223 return SQLConnect ();
18225 return 0;
18227 _ACEOF
18228 if ac_fn_c_try_link "$LINENO"
18229 then :
18230 case "$LIBEXT" in
18231 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18232 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'` ;;
18233 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18234 if ${ac_cv_lib_soname_odbc:+false} :
18235 then :
18236 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18237 fi ;;
18238 esac
18239 else $as_nop
18240 ac_cv_lib_soname_odbc=
18242 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18243 conftest$ac_exeext conftest.$ac_ext
18244 LIBS=$ac_check_soname_save_LIBS
18246 if ${ac_cv_lib_soname_odbc:+false} :
18247 then :
18248 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18249 printf "%s\n" "not found" >&6; }
18250 printf "%s\n" "#define SONAME_LIBODBC \"libodbc.$LIBEXT\"" >>confdefs.h
18252 else $as_nop
18253 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
18254 printf "%s\n" "$ac_cv_lib_soname_odbc" >&6; }
18256 printf "%s\n" "#define SONAME_LIBODBC \"$ac_cv_lib_soname_odbc\"" >>confdefs.h
18261 if test "x$with_netapi" != "xno"
18262 then
18263 rm -f conftest.err
18264 if ${NETAPI_CFLAGS:+false} :
18265 then :
18266 if test ${PKG_CONFIG+y}
18267 then :
18268 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>conftest.err`
18272 if ${NETAPI_LIBS:+false} :
18273 then :
18274 if test ${PKG_CONFIG+y}
18275 then :
18276 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
18281 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
18282 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
18283 if test -s conftest.err; then
18284 printf %s "$as_me:${as_lineno-$LINENO}: netapi errors: " >&5
18285 cat conftest.err >&5
18287 rm -f conftest.err
18288 ac_save_CPPFLAGS=$CPPFLAGS
18289 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
18290 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
18291 printf %s "checking for -lnetapi... " >&6; }
18292 if test ${ac_cv_lib_soname_netapi+y}
18293 then :
18294 printf %s "(cached) " >&6
18295 else $as_nop
18296 ac_check_soname_save_LIBS=$LIBS
18297 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
18298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18299 /* end confdefs.h. */
18301 /* Override any GCC internal prototype to avoid an error.
18302 Use char because int might match the return type of a GCC
18303 builtin and then its argument prototype would still apply. */
18304 char libnetapi_init ();
18306 main (void)
18308 return libnetapi_init ();
18310 return 0;
18312 _ACEOF
18313 if ac_fn_c_try_link "$LINENO"
18314 then :
18315 case "$LIBEXT" in
18316 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18317 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'` ;;
18318 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18319 if ${ac_cv_lib_soname_netapi:+false} :
18320 then :
18321 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18322 fi ;;
18323 esac
18324 else $as_nop
18325 ac_cv_lib_soname_netapi=
18327 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18328 conftest$ac_exeext conftest.$ac_ext
18329 LIBS=$ac_check_soname_save_LIBS
18331 if ${ac_cv_lib_soname_netapi:+false} :
18332 then :
18333 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18334 printf "%s\n" "not found" >&6; }
18335 printf "%s\n" "#define SONAME_LIBNETAPI \"libnetapi.$LIBEXT\"" >>confdefs.h
18337 else $as_nop
18338 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
18339 printf "%s\n" "$ac_cv_lib_soname_netapi" >&6; }
18341 printf "%s\n" "#define SONAME_LIBNETAPI \"$ac_cv_lib_soname_netapi\"" >>confdefs.h
18345 CPPFLAGS=$ac_save_CPPFLAGS
18348 if test "x$ac_cv_lib_soname_netapi" = "x"
18349 then :
18350 case "x$with_netapi" in
18351 x) as_fn_append wine_notices "|libnetapi not found, Samba NetAPI won't be supported." ;;
18352 xno) ;;
18353 *) as_fn_error $? "libnetapi not found, Samba NetAPI won't be supported.
18354 This is an error since --with-netapi was requested." "$LINENO" 5 ;;
18355 esac
18356 enable_netapi=${enable_netapi:-no}
18360 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
18361 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
18362 then
18363 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
18366 if test "x$with_vulkan" != "xno"
18367 then
18368 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
18369 printf %s "checking for -lvulkan... " >&6; }
18370 if test ${ac_cv_lib_soname_vulkan+y}
18371 then :
18372 printf %s "(cached) " >&6
18373 else $as_nop
18374 ac_check_soname_save_LIBS=$LIBS
18375 LIBS="-lvulkan $LIBS"
18376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18377 /* end confdefs.h. */
18379 /* Override any GCC internal prototype to avoid an error.
18380 Use char because int might match the return type of a GCC
18381 builtin and then its argument prototype would still apply. */
18382 char vkGetInstanceProcAddr ();
18384 main (void)
18386 return vkGetInstanceProcAddr ();
18388 return 0;
18390 _ACEOF
18391 if ac_fn_c_try_link "$LINENO"
18392 then :
18393 case "$LIBEXT" in
18394 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18395 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'` ;;
18396 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18397 if ${ac_cv_lib_soname_vulkan:+false} :
18398 then :
18399 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18400 fi ;;
18401 esac
18402 else $as_nop
18403 ac_cv_lib_soname_vulkan=
18405 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18406 conftest$ac_exeext conftest.$ac_ext
18407 LIBS=$ac_check_soname_save_LIBS
18409 if ${ac_cv_lib_soname_vulkan:+false} :
18410 then :
18411 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18412 printf "%s\n" "not found" >&6; }
18414 else $as_nop
18415 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
18416 printf "%s\n" "$ac_cv_lib_soname_vulkan" >&6; }
18418 printf "%s\n" "#define SONAME_LIBVULKAN \"$ac_cv_lib_soname_vulkan\"" >>confdefs.h
18422 if test "x$ac_cv_lib_soname_vulkan" = "x"
18423 then
18424 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
18425 printf %s "checking for -lMoltenVK... " >&6; }
18426 if test ${ac_cv_lib_soname_MoltenVK+y}
18427 then :
18428 printf %s "(cached) " >&6
18429 else $as_nop
18430 ac_check_soname_save_LIBS=$LIBS
18431 LIBS="-lMoltenVK $LIBS"
18432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18433 /* end confdefs.h. */
18435 /* Override any GCC internal prototype to avoid an error.
18436 Use char because int might match the return type of a GCC
18437 builtin and then its argument prototype would still apply. */
18438 char vkGetInstanceProcAddr ();
18440 main (void)
18442 return vkGetInstanceProcAddr ();
18444 return 0;
18446 _ACEOF
18447 if ac_fn_c_try_link "$LINENO"
18448 then :
18449 case "$LIBEXT" in
18450 dll) ac_cv_lib_soname_MoltenVK=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18451 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'` ;;
18452 *) ac_cv_lib_soname_MoltenVK=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18453 if ${ac_cv_lib_soname_MoltenVK:+false} :
18454 then :
18455 ac_cv_lib_soname_MoltenVK=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18456 fi ;;
18457 esac
18458 else $as_nop
18459 ac_cv_lib_soname_MoltenVK=
18461 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18462 conftest$ac_exeext conftest.$ac_ext
18463 LIBS=$ac_check_soname_save_LIBS
18465 if ${ac_cv_lib_soname_MoltenVK:+false} :
18466 then :
18467 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18468 printf "%s\n" "not found" >&6; }
18470 else $as_nop
18471 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
18472 printf "%s\n" "$ac_cv_lib_soname_MoltenVK" >&6; }
18474 printf "%s\n" "#define SONAME_LIBMOLTENVK \"$ac_cv_lib_soname_MoltenVK\"" >>confdefs.h
18480 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"
18481 then :
18482 case "x$with_vulkan" in
18483 x) as_fn_append wine_notices "|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
18484 xno) ;;
18485 *) as_fn_error $? "libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
18486 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
18487 esac
18492 if test "x${GCC}" = "xyes"
18493 then
18494 EXTRACFLAGS="$EXTRACFLAGS -Wall -pipe"
18496 saved_CFLAGS=$CFLAGS
18497 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
18498 printf %s "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
18499 if test ${ac_cv_cflags__Werror_unknown_warning_option+y}
18500 then :
18501 printf %s "(cached) " >&6
18502 else $as_nop
18503 ac_wine_try_cflags_saved=$CFLAGS
18504 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
18505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18506 /* end confdefs.h. */
18507 int main(int argc, char **argv) { return 0; }
18508 _ACEOF
18509 if ac_fn_c_try_link "$LINENO"
18510 then :
18511 ac_cv_cflags__Werror_unknown_warning_option=yes
18512 else $as_nop
18513 ac_cv_cflags__Werror_unknown_warning_option=no
18515 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18516 conftest$ac_exeext conftest.$ac_ext
18517 CFLAGS=$ac_wine_try_cflags_saved
18519 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
18520 printf "%s\n" "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
18521 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes
18522 then :
18523 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
18525 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unused-command-line-argument" >&5
18526 printf %s "checking whether the compiler supports -Werror=unused-command-line-argument... " >&6; }
18527 if test ${ac_cv_cflags__Werror_unused_command_line_argument+y}
18528 then :
18529 printf %s "(cached) " >&6
18530 else $as_nop
18531 ac_wine_try_cflags_saved=$CFLAGS
18532 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
18533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18534 /* end confdefs.h. */
18535 int main(int argc, char **argv) { return 0; }
18536 _ACEOF
18537 if ac_fn_c_try_link "$LINENO"
18538 then :
18539 ac_cv_cflags__Werror_unused_command_line_argument=yes
18540 else $as_nop
18541 ac_cv_cflags__Werror_unused_command_line_argument=no
18543 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18544 conftest$ac_exeext conftest.$ac_ext
18545 CFLAGS=$ac_wine_try_cflags_saved
18547 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unused_command_line_argument" >&5
18548 printf "%s\n" "$ac_cv_cflags__Werror_unused_command_line_argument" >&6; }
18549 if test "x$ac_cv_cflags__Werror_unused_command_line_argument" = xyes
18550 then :
18551 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
18553 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=ignored-optimization-argument" >&5
18554 printf %s "checking whether the compiler supports -Werror=ignored-optimization-argument... " >&6; }
18555 if test ${ac_cv_cflags__Werror_ignored_optimization_argument+y}
18556 then :
18557 printf %s "(cached) " >&6
18558 else $as_nop
18559 ac_wine_try_cflags_saved=$CFLAGS
18560 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
18561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18562 /* end confdefs.h. */
18563 int main(int argc, char **argv) { return 0; }
18564 _ACEOF
18565 if ac_fn_c_try_link "$LINENO"
18566 then :
18567 ac_cv_cflags__Werror_ignored_optimization_argument=yes
18568 else $as_nop
18569 ac_cv_cflags__Werror_ignored_optimization_argument=no
18571 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18572 conftest$ac_exeext conftest.$ac_ext
18573 CFLAGS=$ac_wine_try_cflags_saved
18575 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_ignored_optimization_argument" >&5
18576 printf "%s\n" "$ac_cv_cflags__Werror_ignored_optimization_argument" >&6; }
18577 if test "x$ac_cv_cflags__Werror_ignored_optimization_argument" = xyes
18578 then :
18579 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
18581 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fcf-protection=none" >&5
18582 printf %s "checking whether the compiler supports -fcf-protection=none... " >&6; }
18583 if test ${ac_cv_cflags__fcf_protection_none+y}
18584 then :
18585 printf %s "(cached) " >&6
18586 else $as_nop
18587 ac_wine_try_cflags_saved=$CFLAGS
18588 CFLAGS="$CFLAGS -fcf-protection=none"
18589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18590 /* end confdefs.h. */
18591 int main(int argc, char **argv) { return 0; }
18592 _ACEOF
18593 if ac_fn_c_try_link "$LINENO"
18594 then :
18595 ac_cv_cflags__fcf_protection_none=yes
18596 else $as_nop
18597 ac_cv_cflags__fcf_protection_none=no
18599 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18600 conftest$ac_exeext conftest.$ac_ext
18601 CFLAGS=$ac_wine_try_cflags_saved
18603 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fcf_protection_none" >&5
18604 printf "%s\n" "$ac_cv_cflags__fcf_protection_none" >&6; }
18605 if test "x$ac_cv_cflags__fcf_protection_none" = xyes
18606 then :
18607 EXTRACFLAGS="$EXTRACFLAGS -fcf-protection=none"
18609 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-stack-protector" >&5
18610 printf %s "checking whether the compiler supports -fno-stack-protector... " >&6; }
18611 if test ${ac_cv_cflags__fno_stack_protector+y}
18612 then :
18613 printf %s "(cached) " >&6
18614 else $as_nop
18615 ac_wine_try_cflags_saved=$CFLAGS
18616 CFLAGS="$CFLAGS -fno-stack-protector"
18617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18618 /* end confdefs.h. */
18619 int main(int argc, char **argv) { return 0; }
18620 _ACEOF
18621 if ac_fn_c_try_link "$LINENO"
18622 then :
18623 ac_cv_cflags__fno_stack_protector=yes
18624 else $as_nop
18625 ac_cv_cflags__fno_stack_protector=no
18627 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18628 conftest$ac_exeext conftest.$ac_ext
18629 CFLAGS=$ac_wine_try_cflags_saved
18631 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_stack_protector" >&5
18632 printf "%s\n" "$ac_cv_cflags__fno_stack_protector" >&6; }
18633 if test "x$ac_cv_cflags__fno_stack_protector" = xyes
18634 then :
18635 EXTRACFLAGS="$EXTRACFLAGS -fno-stack-protector"
18637 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
18638 printf %s "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
18639 if test ${ac_cv_cflags__fno_strict_aliasing+y}
18640 then :
18641 printf %s "(cached) " >&6
18642 else $as_nop
18643 ac_wine_try_cflags_saved=$CFLAGS
18644 CFLAGS="$CFLAGS -fno-strict-aliasing"
18645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18646 /* end confdefs.h. */
18647 int main(int argc, char **argv) { return 0; }
18648 _ACEOF
18649 if ac_fn_c_try_link "$LINENO"
18650 then :
18651 ac_cv_cflags__fno_strict_aliasing=yes
18652 else $as_nop
18653 ac_cv_cflags__fno_strict_aliasing=no
18655 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18656 conftest$ac_exeext conftest.$ac_ext
18657 CFLAGS=$ac_wine_try_cflags_saved
18659 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
18660 printf "%s\n" "$ac_cv_cflags__fno_strict_aliasing" >&6; }
18661 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes
18662 then :
18663 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
18665 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
18666 printf %s "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
18667 if test ${ac_cv_cflags__Wdeclaration_after_statement+y}
18668 then :
18669 printf %s "(cached) " >&6
18670 else $as_nop
18671 ac_wine_try_cflags_saved=$CFLAGS
18672 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
18673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18674 /* end confdefs.h. */
18675 int main(int argc, char **argv) { return 0; }
18676 _ACEOF
18677 if ac_fn_c_try_link "$LINENO"
18678 then :
18679 ac_cv_cflags__Wdeclaration_after_statement=yes
18680 else $as_nop
18681 ac_cv_cflags__Wdeclaration_after_statement=no
18683 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18684 conftest$ac_exeext conftest.$ac_ext
18685 CFLAGS=$ac_wine_try_cflags_saved
18687 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
18688 printf "%s\n" "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
18689 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes
18690 then :
18691 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
18693 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
18694 printf %s "checking whether the compiler supports -Wempty-body... " >&6; }
18695 if test ${ac_cv_cflags__Wempty_body+y}
18696 then :
18697 printf %s "(cached) " >&6
18698 else $as_nop
18699 ac_wine_try_cflags_saved=$CFLAGS
18700 CFLAGS="$CFLAGS -Wempty-body"
18701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18702 /* end confdefs.h. */
18703 int main(int argc, char **argv) { return 0; }
18704 _ACEOF
18705 if ac_fn_c_try_link "$LINENO"
18706 then :
18707 ac_cv_cflags__Wempty_body=yes
18708 else $as_nop
18709 ac_cv_cflags__Wempty_body=no
18711 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18712 conftest$ac_exeext conftest.$ac_ext
18713 CFLAGS=$ac_wine_try_cflags_saved
18715 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
18716 printf "%s\n" "$ac_cv_cflags__Wempty_body" >&6; }
18717 if test "x$ac_cv_cflags__Wempty_body" = xyes
18718 then :
18719 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
18721 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
18722 printf %s "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
18723 if test ${ac_cv_cflags__Wignored_qualifiers+y}
18724 then :
18725 printf %s "(cached) " >&6
18726 else $as_nop
18727 ac_wine_try_cflags_saved=$CFLAGS
18728 CFLAGS="$CFLAGS -Wignored-qualifiers"
18729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18730 /* end confdefs.h. */
18731 int main(int argc, char **argv) { return 0; }
18732 _ACEOF
18733 if ac_fn_c_try_link "$LINENO"
18734 then :
18735 ac_cv_cflags__Wignored_qualifiers=yes
18736 else $as_nop
18737 ac_cv_cflags__Wignored_qualifiers=no
18739 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18740 conftest$ac_exeext conftest.$ac_ext
18741 CFLAGS=$ac_wine_try_cflags_saved
18743 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
18744 printf "%s\n" "$ac_cv_cflags__Wignored_qualifiers" >&6; }
18745 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes
18746 then :
18747 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
18749 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Winit-self" >&5
18750 printf %s "checking whether the compiler supports -Winit-self... " >&6; }
18751 if test ${ac_cv_cflags__Winit_self+y}
18752 then :
18753 printf %s "(cached) " >&6
18754 else $as_nop
18755 ac_wine_try_cflags_saved=$CFLAGS
18756 CFLAGS="$CFLAGS -Winit-self"
18757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18758 /* end confdefs.h. */
18759 int main(int argc, char **argv) { return 0; }
18760 _ACEOF
18761 if ac_fn_c_try_link "$LINENO"
18762 then :
18763 ac_cv_cflags__Winit_self=yes
18764 else $as_nop
18765 ac_cv_cflags__Winit_self=no
18767 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18768 conftest$ac_exeext conftest.$ac_ext
18769 CFLAGS=$ac_wine_try_cflags_saved
18771 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Winit_self" >&5
18772 printf "%s\n" "$ac_cv_cflags__Winit_self" >&6; }
18773 if test "x$ac_cv_cflags__Winit_self" = xyes
18774 then :
18775 EXTRACFLAGS="$EXTRACFLAGS -Winit-self"
18777 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
18778 printf %s "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
18779 if test ${ac_cv_cflags__Wpacked_not_aligned+y}
18780 then :
18781 printf %s "(cached) " >&6
18782 else $as_nop
18783 ac_wine_try_cflags_saved=$CFLAGS
18784 CFLAGS="$CFLAGS -Wpacked-not-aligned"
18785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18786 /* end confdefs.h. */
18787 int main(int argc, char **argv) { return 0; }
18788 _ACEOF
18789 if ac_fn_c_try_link "$LINENO"
18790 then :
18791 ac_cv_cflags__Wpacked_not_aligned=yes
18792 else $as_nop
18793 ac_cv_cflags__Wpacked_not_aligned=no
18795 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18796 conftest$ac_exeext conftest.$ac_ext
18797 CFLAGS=$ac_wine_try_cflags_saved
18799 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
18800 printf "%s\n" "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
18801 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes
18802 then :
18803 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
18805 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
18806 printf %s "checking whether the compiler supports -Wpragma-pack... " >&6; }
18807 if test ${ac_cv_cflags__Wpragma_pack+y}
18808 then :
18809 printf %s "(cached) " >&6
18810 else $as_nop
18811 ac_wine_try_cflags_saved=$CFLAGS
18812 CFLAGS="$CFLAGS -Wpragma-pack"
18813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18814 /* end confdefs.h. */
18815 int main(int argc, char **argv) { return 0; }
18816 _ACEOF
18817 if ac_fn_c_try_link "$LINENO"
18818 then :
18819 ac_cv_cflags__Wpragma_pack=yes
18820 else $as_nop
18821 ac_cv_cflags__Wpragma_pack=no
18823 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18824 conftest$ac_exeext conftest.$ac_ext
18825 CFLAGS=$ac_wine_try_cflags_saved
18827 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
18828 printf "%s\n" "$ac_cv_cflags__Wpragma_pack" >&6; }
18829 if test "x$ac_cv_cflags__Wpragma_pack" = xyes
18830 then :
18831 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
18833 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
18834 printf %s "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
18835 if test ${ac_cv_cflags__Wshift_overflow_2+y}
18836 then :
18837 printf %s "(cached) " >&6
18838 else $as_nop
18839 ac_wine_try_cflags_saved=$CFLAGS
18840 CFLAGS="$CFLAGS -Wshift-overflow=2"
18841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18842 /* end confdefs.h. */
18843 int main(int argc, char **argv) { return 0; }
18844 _ACEOF
18845 if ac_fn_c_try_link "$LINENO"
18846 then :
18847 ac_cv_cflags__Wshift_overflow_2=yes
18848 else $as_nop
18849 ac_cv_cflags__Wshift_overflow_2=no
18851 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18852 conftest$ac_exeext conftest.$ac_ext
18853 CFLAGS=$ac_wine_try_cflags_saved
18855 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
18856 printf "%s\n" "$ac_cv_cflags__Wshift_overflow_2" >&6; }
18857 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes
18858 then :
18859 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
18861 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
18862 printf %s "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
18863 if test ${ac_cv_cflags__Wstrict_prototypes+y}
18864 then :
18865 printf %s "(cached) " >&6
18866 else $as_nop
18867 ac_wine_try_cflags_saved=$CFLAGS
18868 CFLAGS="$CFLAGS -Wstrict-prototypes"
18869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18870 /* end confdefs.h. */
18871 int main(int argc, char **argv) { return 0; }
18872 _ACEOF
18873 if ac_fn_c_try_link "$LINENO"
18874 then :
18875 ac_cv_cflags__Wstrict_prototypes=yes
18876 else $as_nop
18877 ac_cv_cflags__Wstrict_prototypes=no
18879 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18880 conftest$ac_exeext conftest.$ac_ext
18881 CFLAGS=$ac_wine_try_cflags_saved
18883 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
18884 printf "%s\n" "$ac_cv_cflags__Wstrict_prototypes" >&6; }
18885 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes
18886 then :
18887 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
18889 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
18890 printf %s "checking whether the compiler supports -Wtype-limits... " >&6; }
18891 if test ${ac_cv_cflags__Wtype_limits+y}
18892 then :
18893 printf %s "(cached) " >&6
18894 else $as_nop
18895 ac_wine_try_cflags_saved=$CFLAGS
18896 CFLAGS="$CFLAGS -Wtype-limits"
18897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18898 /* end confdefs.h. */
18899 int main(int argc, char **argv) { return 0; }
18900 _ACEOF
18901 if ac_fn_c_try_link "$LINENO"
18902 then :
18903 ac_cv_cflags__Wtype_limits=yes
18904 else $as_nop
18905 ac_cv_cflags__Wtype_limits=no
18907 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18908 conftest$ac_exeext conftest.$ac_ext
18909 CFLAGS=$ac_wine_try_cflags_saved
18911 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
18912 printf "%s\n" "$ac_cv_cflags__Wtype_limits" >&6; }
18913 if test "x$ac_cv_cflags__Wtype_limits" = xyes
18914 then :
18915 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
18917 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
18918 printf %s "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
18919 if test ${ac_cv_cflags__Wunused_but_set_parameter+y}
18920 then :
18921 printf %s "(cached) " >&6
18922 else $as_nop
18923 ac_wine_try_cflags_saved=$CFLAGS
18924 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
18925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18926 /* end confdefs.h. */
18927 int main(int argc, char **argv) { return 0; }
18928 _ACEOF
18929 if ac_fn_c_try_link "$LINENO"
18930 then :
18931 ac_cv_cflags__Wunused_but_set_parameter=yes
18932 else $as_nop
18933 ac_cv_cflags__Wunused_but_set_parameter=no
18935 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18936 conftest$ac_exeext conftest.$ac_ext
18937 CFLAGS=$ac_wine_try_cflags_saved
18939 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
18940 printf "%s\n" "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
18941 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes
18942 then :
18943 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
18945 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
18946 printf %s "checking whether the compiler supports -Wvla... " >&6; }
18947 if test ${ac_cv_cflags__Wvla+y}
18948 then :
18949 printf %s "(cached) " >&6
18950 else $as_nop
18951 ac_wine_try_cflags_saved=$CFLAGS
18952 CFLAGS="$CFLAGS -Wvla"
18953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18954 /* end confdefs.h. */
18955 int main(int argc, char **argv) { return 0; }
18956 _ACEOF
18957 if ac_fn_c_try_link "$LINENO"
18958 then :
18959 ac_cv_cflags__Wvla=yes
18960 else $as_nop
18961 ac_cv_cflags__Wvla=no
18963 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18964 conftest$ac_exeext conftest.$ac_ext
18965 CFLAGS=$ac_wine_try_cflags_saved
18967 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
18968 printf "%s\n" "$ac_cv_cflags__Wvla" >&6; }
18969 if test "x$ac_cv_cflags__Wvla" = xyes
18970 then :
18971 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
18973 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
18974 printf %s "checking whether the compiler supports -Wwrite-strings... " >&6; }
18975 if test ${ac_cv_cflags__Wwrite_strings+y}
18976 then :
18977 printf %s "(cached) " >&6
18978 else $as_nop
18979 ac_wine_try_cflags_saved=$CFLAGS
18980 CFLAGS="$CFLAGS -Wwrite-strings"
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__Wwrite_strings=yes
18988 else $as_nop
18989 ac_cv_cflags__Wwrite_strings=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__Wwrite_strings" >&5
18996 printf "%s\n" "$ac_cv_cflags__Wwrite_strings" >&6; }
18997 if test "x$ac_cv_cflags__Wwrite_strings" = xyes
18998 then :
18999 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
19002 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
19003 printf %s "checking whether the compiler supports -Wpointer-arith... " >&6; }
19004 if test ${ac_cv_cflags__Wpointer_arith+y}
19005 then :
19006 printf %s "(cached) " >&6
19007 else $as_nop
19008 ac_wine_try_cflags_saved=$CFLAGS
19009 CFLAGS="$CFLAGS -Wpointer-arith"
19010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19011 /* end confdefs.h. */
19012 int main(int argc, char **argv) { return 0; }
19013 _ACEOF
19014 if ac_fn_c_try_link "$LINENO"
19015 then :
19016 ac_cv_cflags__Wpointer_arith=yes
19017 else $as_nop
19018 ac_cv_cflags__Wpointer_arith=no
19020 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19021 conftest$ac_exeext conftest.$ac_ext
19022 CFLAGS=$ac_wine_try_cflags_saved
19024 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
19025 printf "%s\n" "$ac_cv_cflags__Wpointer_arith" >&6; }
19026 if test "x$ac_cv_cflags__Wpointer_arith" = xyes
19027 then :
19028 saved_string_h_CFLAGS=$CFLAGS
19029 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
19030 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
19031 printf %s "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
19032 if test ${ac_cv_c_string_h_warnings+y}
19033 then :
19034 printf %s "(cached) " >&6
19035 else $as_nop
19036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19037 /* end confdefs.h. */
19038 #include <string.h>
19040 main (void)
19044 return 0;
19046 _ACEOF
19047 if ac_fn_c_try_compile "$LINENO"
19048 then :
19049 ac_cv_c_string_h_warnings=no
19050 else $as_nop
19051 ac_cv_c_string_h_warnings=yes
19053 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19055 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
19056 printf "%s\n" "$ac_cv_c_string_h_warnings" >&6; }
19057 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
19058 CFLAGS=$saved_string_h_CFLAGS
19061 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
19062 printf %s "checking whether the compiler supports -Wlogical-op... " >&6; }
19063 if test ${ac_cv_cflags__Wlogical_op+y}
19064 then :
19065 printf %s "(cached) " >&6
19066 else $as_nop
19067 ac_wine_try_cflags_saved=$CFLAGS
19068 CFLAGS="$CFLAGS -Wlogical-op"
19069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19070 /* end confdefs.h. */
19071 int main(int argc, char **argv) { return 0; }
19072 _ACEOF
19073 if ac_fn_c_try_link "$LINENO"
19074 then :
19075 ac_cv_cflags__Wlogical_op=yes
19076 else $as_nop
19077 ac_cv_cflags__Wlogical_op=no
19079 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19080 conftest$ac_exeext conftest.$ac_ext
19081 CFLAGS=$ac_wine_try_cflags_saved
19083 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
19084 printf "%s\n" "$ac_cv_cflags__Wlogical_op" >&6; }
19085 if test "x$ac_cv_cflags__Wlogical_op" = xyes
19086 then :
19087 saved_string_h_CFLAGS=$CFLAGS
19088 CFLAGS="$CFLAGS -Wlogical-op -Werror"
19089 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
19090 printf %s "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
19091 if test ${ac_cv_c_logicalop_noisy+y}
19092 then :
19093 printf %s "(cached) " >&6
19094 else $as_nop
19095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19096 /* end confdefs.h. */
19097 #include <string.h>
19098 char*f(const char *h,char n) {return strchr(h,n);}
19100 main (void)
19104 return 0;
19106 _ACEOF
19107 if ac_fn_c_try_compile "$LINENO"
19108 then :
19109 ac_cv_c_logicalop_noisy=no
19110 else $as_nop
19111 ac_cv_c_logicalop_noisy=yes
19113 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19115 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
19116 printf "%s\n" "$ac_cv_c_logicalop_noisy" >&6; }
19117 CFLAGS=$saved_string_h_CFLAGS
19118 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
19121 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for flags needed for 64-bit compare-and-swap support" >&5
19122 printf %s "checking for flags needed for 64-bit compare-and-swap support... " >&6; }
19123 if test ${wine_cv_64bit_compare_swap+y}
19124 then :
19125 printf %s "(cached) " >&6
19126 else $as_nop
19127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19128 /* end confdefs.h. */
19129 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
19130 #error no
19131 #endif
19133 main (void)
19137 return 0;
19139 _ACEOF
19140 if ac_fn_c_try_compile "$LINENO"
19141 then :
19142 wine_cv_64bit_compare_swap="none needed"
19143 else $as_nop
19144 case $host_cpu in
19145 *i[3456]86*) wine_cv_64bit_compare_swap="-march=i586" ;;
19146 *arm*) wine_cv_64bit_compare_swap="-march=armv7-a" ;;
19147 *) wine_cv_64bit_compare_swap="unknown" ;;
19148 esac
19149 if test "x$wine_cv_64bit_compare_swap" != xunknown
19150 then
19151 CFLAGS="$CFLAGS $wine_cv_64bit_compare_swap"
19152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19153 /* end confdefs.h. */
19154 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
19155 #error no
19156 #endif
19158 main (void)
19162 return 0;
19164 _ACEOF
19165 if ac_fn_c_try_compile "$LINENO"
19166 then :
19168 else $as_nop
19169 wine_cv_64bit_compare_swap="unknown"
19171 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19172 CFLAGS=$saved_CFLAGS
19175 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19177 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_64bit_compare_swap" >&5
19178 printf "%s\n" "$wine_cv_64bit_compare_swap" >&6; }
19179 case "$wine_cv_64bit_compare_swap" in
19180 unknown) as_fn_error $? "gcc doesn't support 64-bit compare-and-swap on this platform" "$LINENO" 5 ;;
19181 "none needed") ;;
19182 *) EXTRACFLAGS="$EXTRACFLAGS $wine_cv_64bit_compare_swap" ;;
19183 esac
19185 ac_debug_format_seen=""
19186 for ac_flag in $CFLAGS; do
19187 case $ac_flag in
19188 -gdwarf*) ac_debug_format_seen=yes ;;
19189 -g) ac_debug_format_seen=${ac_debug_format_seen:-default} ;;
19190 esac
19191 done
19192 if test "x$ac_debug_format_seen" = xdefault
19193 then
19194 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-4" >&5
19195 printf %s "checking whether the compiler supports -gdwarf-4... " >&6; }
19196 if test ${ac_cv_cflags__gdwarf_4+y}
19197 then :
19198 printf %s "(cached) " >&6
19199 else $as_nop
19200 ac_wine_try_cflags_saved=$CFLAGS
19201 CFLAGS="$CFLAGS -gdwarf-4"
19202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19203 /* end confdefs.h. */
19204 int main(int argc, char **argv) { return 0; }
19205 _ACEOF
19206 if ac_fn_c_try_link "$LINENO"
19207 then :
19208 ac_cv_cflags__gdwarf_4=yes
19209 else $as_nop
19210 ac_cv_cflags__gdwarf_4=no
19212 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19213 conftest$ac_exeext conftest.$ac_ext
19214 CFLAGS=$ac_wine_try_cflags_saved
19216 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_4" >&5
19217 printf "%s\n" "$ac_cv_cflags__gdwarf_4" >&6; }
19218 if test "x$ac_cv_cflags__gdwarf_4" = xyes
19219 then :
19220 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-4"
19224 MSVCRTFLAGS=""
19226 case $host_os in
19227 mingw32*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-delayload,autoconftest.dll" >&5
19228 printf %s "checking whether the compiler supports -Wl,-delayload,autoconftest.dll... " >&6; }
19229 if test ${ac_cv_cflags__Wl__delayload_autoconftest_dll+y}
19230 then :
19231 printf %s "(cached) " >&6
19232 else $as_nop
19233 ac_wine_try_cflags_saved=$CFLAGS
19234 CFLAGS="$CFLAGS -Wl,-delayload,autoconftest.dll"
19235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19236 /* end confdefs.h. */
19237 int main(int argc, char **argv) { return 0; }
19238 _ACEOF
19239 if ac_fn_c_try_link "$LINENO"
19240 then :
19241 ac_cv_cflags__Wl__delayload_autoconftest_dll=yes
19242 else $as_nop
19243 ac_cv_cflags__Wl__delayload_autoconftest_dll=no
19245 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19246 conftest$ac_exeext conftest.$ac_ext
19247 CFLAGS=$ac_wine_try_cflags_saved
19249 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__delayload_autoconftest_dll" >&5
19250 printf "%s\n" "$ac_cv_cflags__Wl__delayload_autoconftest_dll" >&6; }
19251 if test "x$ac_cv_cflags__Wl__delayload_autoconftest_dll" = xyes
19252 then :
19253 DELAYLOADFLAG="-Wl,-delayload,"
19255 fi ;;
19256 *) MSVCRTFLAGS="-D_WIN32"
19257 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
19258 printf %s "checking whether the compiler supports -fno-builtin... " >&6; }
19259 if test ${ac_cv_cflags__fno_builtin+y}
19260 then :
19261 printf %s "(cached) " >&6
19262 else $as_nop
19263 ac_wine_try_cflags_saved=$CFLAGS
19264 CFLAGS="$CFLAGS -fno-builtin"
19265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19266 /* end confdefs.h. */
19267 int main(int argc, char **argv) { return 0; }
19268 _ACEOF
19269 if ac_fn_c_try_link "$LINENO"
19270 then :
19271 ac_cv_cflags__fno_builtin=yes
19272 else $as_nop
19273 ac_cv_cflags__fno_builtin=no
19275 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19276 conftest$ac_exeext conftest.$ac_ext
19277 CFLAGS=$ac_wine_try_cflags_saved
19279 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
19280 printf "%s\n" "$ac_cv_cflags__fno_builtin" >&6; }
19281 if test "x$ac_cv_cflags__fno_builtin" = xyes
19282 then :
19283 MSVCRTFLAGS="$MSVCRTFLAGS -fno-builtin"
19285 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
19286 printf %s "checking whether the compiler supports -fshort-wchar... " >&6; }
19287 if test ${ac_cv_cflags__fshort_wchar+y}
19288 then :
19289 printf %s "(cached) " >&6
19290 else $as_nop
19291 ac_wine_try_cflags_saved=$CFLAGS
19292 CFLAGS="$CFLAGS -fshort-wchar"
19293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19294 /* end confdefs.h. */
19295 int main(int argc, char **argv) { return 0; }
19296 _ACEOF
19297 if ac_fn_c_try_link "$LINENO"
19298 then :
19299 ac_cv_cflags__fshort_wchar=yes
19300 else $as_nop
19301 ac_cv_cflags__fshort_wchar=no
19303 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19304 conftest$ac_exeext conftest.$ac_ext
19305 CFLAGS=$ac_wine_try_cflags_saved
19307 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fshort_wchar" >&5
19308 printf "%s\n" "$ac_cv_cflags__fshort_wchar" >&6; }
19309 if test "x$ac_cv_cflags__fshort_wchar" = xyes
19310 then :
19311 MSVCRTFLAGS="$MSVCRTFLAGS -fshort-wchar"
19313 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fvisibility=hidden" >&5
19314 printf %s "checking whether the compiler supports -fvisibility=hidden... " >&6; }
19315 if test ${ac_cv_cflags__fvisibility_hidden+y}
19316 then :
19317 printf %s "(cached) " >&6
19318 else $as_nop
19319 ac_wine_try_cflags_saved=$CFLAGS
19320 CFLAGS="$CFLAGS -fvisibility=hidden"
19321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19322 /* end confdefs.h. */
19323 int main(int argc, char **argv) { return 0; }
19324 _ACEOF
19325 if ac_fn_c_try_link "$LINENO"
19326 then :
19327 ac_cv_cflags__fvisibility_hidden=yes
19328 else $as_nop
19329 ac_cv_cflags__fvisibility_hidden=no
19331 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19332 conftest$ac_exeext conftest.$ac_ext
19333 CFLAGS=$ac_wine_try_cflags_saved
19335 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fvisibility_hidden" >&5
19336 printf "%s\n" "$ac_cv_cflags__fvisibility_hidden" >&6; }
19337 if test "x$ac_cv_cflags__fvisibility_hidden" = xyes
19338 then :
19339 MSVCRTFLAGS="$MSVCRTFLAGS -fvisibility=hidden"
19341 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
19342 printf %s "checking whether the compiler supports -Wno-format... " >&6; }
19343 if test ${ac_cv_cflags__Wno_format+y}
19344 then :
19345 printf %s "(cached) " >&6
19346 else $as_nop
19347 ac_wine_try_cflags_saved=$CFLAGS
19348 CFLAGS="$CFLAGS -Wno-format"
19349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19350 /* end confdefs.h. */
19351 int main(int argc, char **argv) { return 0; }
19352 _ACEOF
19353 if ac_fn_c_try_link "$LINENO"
19354 then :
19355 ac_cv_cflags__Wno_format=yes
19356 else $as_nop
19357 ac_cv_cflags__Wno_format=no
19359 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19360 conftest$ac_exeext conftest.$ac_ext
19361 CFLAGS=$ac_wine_try_cflags_saved
19363 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
19364 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
19365 if test "x$ac_cv_cflags__Wno_format" = xyes
19366 then :
19367 MSVCRTFLAGS="$MSVCRTFLAGS -Wno-format"
19368 fi ;;
19369 esac
19371 case $host_cpu in
19372 *i[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
19373 printf %s "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
19374 if test ${ac_cv_cflags__fno_omit_frame_pointer+y}
19375 then :
19376 printf %s "(cached) " >&6
19377 else $as_nop
19378 ac_wine_try_cflags_saved=$CFLAGS
19379 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
19380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19381 /* end confdefs.h. */
19382 int main(int argc, char **argv) { return 0; }
19383 _ACEOF
19384 if ac_fn_c_try_link "$LINENO"
19385 then :
19386 ac_cv_cflags__fno_omit_frame_pointer=yes
19387 else $as_nop
19388 ac_cv_cflags__fno_omit_frame_pointer=no
19390 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19391 conftest$ac_exeext conftest.$ac_ext
19392 CFLAGS=$ac_wine_try_cflags_saved
19394 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
19395 printf "%s\n" "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
19396 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes
19397 then :
19398 MSVCRTFLAGS="$MSVCRTFLAGS -fno-omit-frame-pointer"
19399 fi ;;
19400 *x86_64*)
19401 case $host_os in
19402 cygwin*|mingw32*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
19403 printf %s "checking whether the compiler supports -Wno-format... " >&6; }
19404 if test ${ac_cv_cflags__Wno_format+y}
19405 then :
19406 printf %s "(cached) " >&6
19407 else $as_nop
19408 ac_wine_try_cflags_saved=$CFLAGS
19409 CFLAGS="$CFLAGS -Wno-format"
19410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19411 /* end confdefs.h. */
19412 int main(int argc, char **argv) { return 0; }
19413 _ACEOF
19414 if ac_fn_c_try_link "$LINENO"
19415 then :
19416 ac_cv_cflags__Wno_format=yes
19417 else $as_nop
19418 ac_cv_cflags__Wno_format=no
19420 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19421 conftest$ac_exeext conftest.$ac_ext
19422 CFLAGS=$ac_wine_try_cflags_saved
19424 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
19425 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
19426 if test "x$ac_cv_cflags__Wno_format" = xyes
19427 then :
19428 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
19429 fi ;;
19430 *) if test -z "$PE_ARCHS"
19431 then
19432 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working -mabi=ms" >&5
19433 printf %s "checking for working -mabi=ms... " >&6; }
19434 if test ${ac_cv_mabi_ms+y}
19435 then :
19436 printf %s "(cached) " >&6
19437 else $as_nop
19438 CFLAGS="$CFLAGS -mabi=ms"
19439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19440 /* end confdefs.h. */
19441 #include <stdarg.h>
19442 int a(int b, ...) { __builtin_ms_va_list list; __builtin_ms_va_start(list,b); }
19444 main (void)
19448 return 0;
19450 _ACEOF
19451 if ac_fn_c_try_compile "$LINENO"
19452 then :
19453 ac_cv_mabi_ms=yes
19454 else $as_nop
19455 ac_cv_mabi_ms=no
19457 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19458 CFLAGS=$saved_CFLAGS
19460 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mabi_ms" >&5
19461 printf "%s\n" "$ac_cv_mabi_ms" >&6; }
19462 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
19464 MSVCRTFLAGS="$MSVCRTFLAGS -mabi=ms" ;;
19465 esac ;;
19466 arm*)
19467 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wincompatible-function-pointer-types" >&5
19468 printf %s "checking whether the compiler supports -Wincompatible-function-pointer-types... " >&6; }
19469 if test ${ac_cv_cflags__Wincompatible_function_pointer_types+y}
19470 then :
19471 printf %s "(cached) " >&6
19472 else $as_nop
19473 ac_wine_try_cflags_saved=$CFLAGS
19474 CFLAGS="$CFLAGS -Wincompatible-function-pointer-types"
19475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19476 /* end confdefs.h. */
19477 int main(int argc, char **argv) { return 0; }
19478 _ACEOF
19479 if ac_fn_c_try_link "$LINENO"
19480 then :
19481 ac_cv_cflags__Wincompatible_function_pointer_types=yes
19482 else $as_nop
19483 ac_cv_cflags__Wincompatible_function_pointer_types=no
19485 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19486 conftest$ac_exeext conftest.$ac_ext
19487 CFLAGS=$ac_wine_try_cflags_saved
19489 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wincompatible_function_pointer_types" >&5
19490 printf "%s\n" "$ac_cv_cflags__Wincompatible_function_pointer_types" >&6; }
19491 if test "x$ac_cv_cflags__Wincompatible_function_pointer_types" = xyes
19492 then :
19493 EXTRACFLAGS="$EXTRACFLAGS -Wno-error=incompatible-function-pointer-types"
19494 fi ;;
19495 esac
19497 CFLAGS=$saved_CFLAGS
19499 if test "x$enable_werror" = "xyes"
19500 then
19501 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
19502 printf %s "checking whether the compiler supports -Werror... " >&6; }
19503 if test ${ac_cv_cflags__Werror+y}
19504 then :
19505 printf %s "(cached) " >&6
19506 else $as_nop
19507 ac_wine_try_cflags_saved=$CFLAGS
19508 CFLAGS="$CFLAGS -Werror"
19509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19510 /* end confdefs.h. */
19511 int main(int argc, char **argv) { return 0; }
19512 _ACEOF
19513 if ac_fn_c_try_link "$LINENO"
19514 then :
19515 ac_cv_cflags__Werror=yes
19516 else $as_nop
19517 ac_cv_cflags__Werror=no
19519 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19520 conftest$ac_exeext conftest.$ac_ext
19521 CFLAGS=$ac_wine_try_cflags_saved
19523 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
19524 printf "%s\n" "$ac_cv_cflags__Werror" >&6; }
19525 if test "x$ac_cv_cflags__Werror" = xyes
19526 then :
19527 EXTRACFLAGS="$EXTRACFLAGS -Werror"
19530 if test "x$enable_build_id" = "xyes"
19531 then
19532 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--build-id" >&5
19533 printf %s "checking whether the compiler supports -Wl,--build-id... " >&6; }
19534 if test ${ac_cv_cflags__Wl___build_id+y}
19535 then :
19536 printf %s "(cached) " >&6
19537 else $as_nop
19538 ac_wine_try_cflags_saved=$CFLAGS
19539 CFLAGS="$CFLAGS -Wl,--build-id"
19540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19541 /* end confdefs.h. */
19542 int main(int argc, char **argv) { return 0; }
19543 _ACEOF
19544 if ac_fn_c_try_link "$LINENO"
19545 then :
19546 ac_cv_cflags__Wl___build_id=yes
19547 else $as_nop
19548 ac_cv_cflags__Wl___build_id=no
19550 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19551 conftest$ac_exeext conftest.$ac_ext
19552 CFLAGS=$ac_wine_try_cflags_saved
19554 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___build_id" >&5
19555 printf "%s\n" "$ac_cv_cflags__Wl___build_id" >&6; }
19556 if test "x$ac_cv_cflags__Wl___build_id" = xyes
19557 then :
19558 CFLAGS="$CFLAGS -Wl,--build-id"
19559 LDFLAGS="$LDFLAGS -Wl,--build-id"
19565 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
19566 printf %s "checking for the need to disable Fortify... " >&6; }
19567 if test ${ac_cv_c_fortify_enabled+y}
19568 then :
19569 printf %s "(cached) " >&6
19570 else $as_nop
19571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19572 /* end confdefs.h. */
19573 #include <string.h>
19575 main (void)
19577 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
19578 #error Fortify enabled
19579 #endif
19581 return 0;
19583 _ACEOF
19584 if ac_fn_c_try_compile "$LINENO"
19585 then :
19586 ac_cv_c_fortify_enabled=no
19587 else $as_nop
19588 ac_cv_c_fortify_enabled=yes
19590 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19592 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
19593 printf "%s\n" "$ac_cv_c_fortify_enabled" >&6; }
19594 if test "$ac_cv_c_fortify_enabled" = yes
19595 then
19596 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
19600 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
19601 printf %s "checking whether CFI directives are supported in assembly code... " >&6; }
19602 if test ${ac_cv_c_cfi_support+y}
19603 then :
19604 printf %s "(cached) " >&6
19605 else $as_nop
19606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19607 /* end confdefs.h. */
19608 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
19610 main (void)
19614 return 0;
19616 _ACEOF
19617 if ac_fn_c_try_compile "$LINENO"
19618 then :
19619 ac_cv_c_cfi_support="yes"
19620 else $as_nop
19621 ac_cv_c_cfi_support="no"
19623 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19625 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
19626 printf "%s\n" "$ac_cv_c_cfi_support" >&6; }
19627 if test "$ac_cv_c_cfi_support" = "yes"
19628 then
19629 DLLFLAGS="$DLLFLAGS -fasynchronous-unwind-tables"
19630 LDDLLFLAGS="$LDDLLFLAGS -fasynchronous-unwind-tables"
19631 UNIXDLLFLAGS="$UNIXDLLFLAGS -fasynchronous-unwind-tables"
19632 elif test $HOST_ARCH = x86_64
19633 then
19634 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
19638 case "$HOST_ARCH,$PE_ARCHS" in
19639 x86_64,*i386*) wine_binary="wine" ;;
19640 x86_64,*) wine_binary="wine64" ;;
19641 *) wine_binary="wine" ;;
19642 esac
19643 WINELOADER_PROGRAMS="$wine_binary"
19646 case $host_os in
19647 linux*)
19648 case $host_cpu in
19649 *i[3456789]86*|x86_64*|*aarch64*|arm*)
19650 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS " loader/wine-preloader"
19651 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
19653 esac
19655 darwin*|macosx*)
19656 if test "$wine_can_build_preloader" = "yes"
19657 then
19658 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS " loader/wine-preloader"
19659 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
19662 esac
19665 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
19666 printf %s "checking for library containing dlopen... " >&6; }
19667 if test ${ac_cv_search_dlopen+y}
19668 then :
19669 printf %s "(cached) " >&6
19670 else $as_nop
19671 ac_func_search_save_LIBS=$LIBS
19672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19673 /* end confdefs.h. */
19675 /* Override any GCC internal prototype to avoid an error.
19676 Use char because int might match the return type of a GCC
19677 builtin and then its argument prototype would still apply. */
19678 char dlopen ();
19680 main (void)
19682 return dlopen ();
19684 return 0;
19686 _ACEOF
19687 for ac_lib in '' dl
19689 if test -z "$ac_lib"; then
19690 ac_res="none required"
19691 else
19692 ac_res=-l$ac_lib
19693 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19695 if ac_fn_c_try_link "$LINENO"
19696 then :
19697 ac_cv_search_dlopen=$ac_res
19699 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19700 conftest$ac_exeext
19701 if test ${ac_cv_search_dlopen+y}
19702 then :
19703 break
19705 done
19706 if test ${ac_cv_search_dlopen+y}
19707 then :
19709 else $as_nop
19710 ac_cv_search_dlopen=no
19712 rm conftest.$ac_ext
19713 LIBS=$ac_func_search_save_LIBS
19715 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
19716 printf "%s\n" "$ac_cv_search_dlopen" >&6; }
19717 ac_res=$ac_cv_search_dlopen
19718 if test "$ac_res" != no
19719 then :
19720 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19725 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
19726 printf %s "checking for library containing gethostbyname... " >&6; }
19727 if test ${ac_cv_search_gethostbyname+y}
19728 then :
19729 printf %s "(cached) " >&6
19730 else $as_nop
19731 ac_func_search_save_LIBS=$LIBS
19732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19733 /* end confdefs.h. */
19735 /* Override any GCC internal prototype to avoid an error.
19736 Use char because int might match the return type of a GCC
19737 builtin and then its argument prototype would still apply. */
19738 char gethostbyname ();
19740 main (void)
19742 return gethostbyname ();
19744 return 0;
19746 _ACEOF
19747 for ac_lib in '' nsl
19749 if test -z "$ac_lib"; then
19750 ac_res="none required"
19751 else
19752 ac_res=-l$ac_lib
19753 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19755 if ac_fn_c_try_link "$LINENO"
19756 then :
19757 ac_cv_search_gethostbyname=$ac_res
19759 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19760 conftest$ac_exeext
19761 if test ${ac_cv_search_gethostbyname+y}
19762 then :
19763 break
19765 done
19766 if test ${ac_cv_search_gethostbyname+y}
19767 then :
19769 else $as_nop
19770 ac_cv_search_gethostbyname=no
19772 rm conftest.$ac_ext
19773 LIBS=$ac_func_search_save_LIBS
19775 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
19776 printf "%s\n" "$ac_cv_search_gethostbyname" >&6; }
19777 ac_res=$ac_cv_search_gethostbyname
19778 if test "$ac_res" != no
19779 then :
19780 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19785 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
19786 printf %s "checking for library containing connect... " >&6; }
19787 if test ${ac_cv_search_connect+y}
19788 then :
19789 printf %s "(cached) " >&6
19790 else $as_nop
19791 ac_func_search_save_LIBS=$LIBS
19792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19793 /* end confdefs.h. */
19795 /* Override any GCC internal prototype to avoid an error.
19796 Use char because int might match the return type of a GCC
19797 builtin and then its argument prototype would still apply. */
19798 char connect ();
19800 main (void)
19802 return connect ();
19804 return 0;
19806 _ACEOF
19807 for ac_lib in '' socket
19809 if test -z "$ac_lib"; then
19810 ac_res="none required"
19811 else
19812 ac_res=-l$ac_lib
19813 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19815 if ac_fn_c_try_link "$LINENO"
19816 then :
19817 ac_cv_search_connect=$ac_res
19819 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19820 conftest$ac_exeext
19821 if test ${ac_cv_search_connect+y}
19822 then :
19823 break
19825 done
19826 if test ${ac_cv_search_connect+y}
19827 then :
19829 else $as_nop
19830 ac_cv_search_connect=no
19832 rm conftest.$ac_ext
19833 LIBS=$ac_func_search_save_LIBS
19835 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
19836 printf "%s\n" "$ac_cv_search_connect" >&6; }
19837 ac_res=$ac_cv_search_connect
19838 if test "$ac_res" != no
19839 then :
19840 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19845 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
19846 printf %s "checking for library containing inet_aton... " >&6; }
19847 if test ${ac_cv_search_inet_aton+y}
19848 then :
19849 printf %s "(cached) " >&6
19850 else $as_nop
19851 ac_func_search_save_LIBS=$LIBS
19852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19853 /* end confdefs.h. */
19855 /* Override any GCC internal prototype to avoid an error.
19856 Use char because int might match the return type of a GCC
19857 builtin and then its argument prototype would still apply. */
19858 char inet_aton ();
19860 main (void)
19862 return inet_aton ();
19864 return 0;
19866 _ACEOF
19867 for ac_lib in '' resolv
19869 if test -z "$ac_lib"; then
19870 ac_res="none required"
19871 else
19872 ac_res=-l$ac_lib
19873 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19875 if ac_fn_c_try_link "$LINENO"
19876 then :
19877 ac_cv_search_inet_aton=$ac_res
19879 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19880 conftest$ac_exeext
19881 if test ${ac_cv_search_inet_aton+y}
19882 then :
19883 break
19885 done
19886 if test ${ac_cv_search_inet_aton+y}
19887 then :
19889 else $as_nop
19890 ac_cv_search_inet_aton=no
19892 rm conftest.$ac_ext
19893 LIBS=$ac_func_search_save_LIBS
19895 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
19896 printf "%s\n" "$ac_cv_search_inet_aton" >&6; }
19897 ac_res=$ac_cv_search_inet_aton
19898 if test "$ac_res" != no
19899 then :
19900 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19905 ac_save_CFLAGS="$CFLAGS"
19906 CFLAGS="$CFLAGS $BUILTINFLAG"
19907 ac_fn_c_check_func "$LINENO" "dladdr1" "ac_cv_func_dladdr1"
19908 if test "x$ac_cv_func_dladdr1" = xyes
19909 then :
19910 printf "%s\n" "#define HAVE_DLADDR1 1" >>confdefs.h
19913 ac_fn_c_check_func "$LINENO" "dlinfo" "ac_cv_func_dlinfo"
19914 if test "x$ac_cv_func_dlinfo" = xyes
19915 then :
19916 printf "%s\n" "#define HAVE_DLINFO 1" >>confdefs.h
19919 ac_fn_c_check_func "$LINENO" "epoll_create" "ac_cv_func_epoll_create"
19920 if test "x$ac_cv_func_epoll_create" = xyes
19921 then :
19922 printf "%s\n" "#define HAVE_EPOLL_CREATE 1" >>confdefs.h
19925 ac_fn_c_check_func "$LINENO" "fstatfs" "ac_cv_func_fstatfs"
19926 if test "x$ac_cv_func_fstatfs" = xyes
19927 then :
19928 printf "%s\n" "#define HAVE_FSTATFS 1" >>confdefs.h
19931 ac_fn_c_check_func "$LINENO" "futimens" "ac_cv_func_futimens"
19932 if test "x$ac_cv_func_futimens" = xyes
19933 then :
19934 printf "%s\n" "#define HAVE_FUTIMENS 1" >>confdefs.h
19937 ac_fn_c_check_func "$LINENO" "futimes" "ac_cv_func_futimes"
19938 if test "x$ac_cv_func_futimes" = xyes
19939 then :
19940 printf "%s\n" "#define HAVE_FUTIMES 1" >>confdefs.h
19943 ac_fn_c_check_func "$LINENO" "futimesat" "ac_cv_func_futimesat"
19944 if test "x$ac_cv_func_futimesat" = xyes
19945 then :
19946 printf "%s\n" "#define HAVE_FUTIMESAT 1" >>confdefs.h
19949 ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
19950 if test "x$ac_cv_func_getaddrinfo" = xyes
19951 then :
19952 printf "%s\n" "#define HAVE_GETADDRINFO 1" >>confdefs.h
19955 ac_fn_c_check_func "$LINENO" "getattrlist" "ac_cv_func_getattrlist"
19956 if test "x$ac_cv_func_getattrlist" = xyes
19957 then :
19958 printf "%s\n" "#define HAVE_GETATTRLIST 1" >>confdefs.h
19961 ac_fn_c_check_func "$LINENO" "getauxval" "ac_cv_func_getauxval"
19962 if test "x$ac_cv_func_getauxval" = xyes
19963 then :
19964 printf "%s\n" "#define HAVE_GETAUXVAL 1" >>confdefs.h
19967 ac_fn_c_check_func "$LINENO" "getifaddrs" "ac_cv_func_getifaddrs"
19968 if test "x$ac_cv_func_getifaddrs" = xyes
19969 then :
19970 printf "%s\n" "#define HAVE_GETIFADDRS 1" >>confdefs.h
19973 ac_fn_c_check_func "$LINENO" "getrandom" "ac_cv_func_getrandom"
19974 if test "x$ac_cv_func_getrandom" = xyes
19975 then :
19976 printf "%s\n" "#define HAVE_GETRANDOM 1" >>confdefs.h
19979 ac_fn_c_check_func "$LINENO" "kqueue" "ac_cv_func_kqueue"
19980 if test "x$ac_cv_func_kqueue" = xyes
19981 then :
19982 printf "%s\n" "#define HAVE_KQUEUE 1" >>confdefs.h
19985 ac_fn_c_check_func "$LINENO" "mach_continuous_time" "ac_cv_func_mach_continuous_time"
19986 if test "x$ac_cv_func_mach_continuous_time" = xyes
19987 then :
19988 printf "%s\n" "#define HAVE_MACH_CONTINUOUS_TIME 1" >>confdefs.h
19991 ac_fn_c_check_func "$LINENO" "pipe2" "ac_cv_func_pipe2"
19992 if test "x$ac_cv_func_pipe2" = xyes
19993 then :
19994 printf "%s\n" "#define HAVE_PIPE2 1" >>confdefs.h
19997 ac_fn_c_check_func "$LINENO" "port_create" "ac_cv_func_port_create"
19998 if test "x$ac_cv_func_port_create" = xyes
19999 then :
20000 printf "%s\n" "#define HAVE_PORT_CREATE 1" >>confdefs.h
20003 ac_fn_c_check_func "$LINENO" "posix_fadvise" "ac_cv_func_posix_fadvise"
20004 if test "x$ac_cv_func_posix_fadvise" = xyes
20005 then :
20006 printf "%s\n" "#define HAVE_POSIX_FADVISE 1" >>confdefs.h
20009 ac_fn_c_check_func "$LINENO" "posix_fallocate" "ac_cv_func_posix_fallocate"
20010 if test "x$ac_cv_func_posix_fallocate" = xyes
20011 then :
20012 printf "%s\n" "#define HAVE_POSIX_FALLOCATE 1" >>confdefs.h
20015 ac_fn_c_check_func "$LINENO" "prctl" "ac_cv_func_prctl"
20016 if test "x$ac_cv_func_prctl" = xyes
20017 then :
20018 printf "%s\n" "#define HAVE_PRCTL 1" >>confdefs.h
20021 ac_fn_c_check_func "$LINENO" "proc_pidinfo" "ac_cv_func_proc_pidinfo"
20022 if test "x$ac_cv_func_proc_pidinfo" = xyes
20023 then :
20024 printf "%s\n" "#define HAVE_PROC_PIDINFO 1" >>confdefs.h
20027 ac_fn_c_check_func "$LINENO" "sched_yield" "ac_cv_func_sched_yield"
20028 if test "x$ac_cv_func_sched_yield" = xyes
20029 then :
20030 printf "%s\n" "#define HAVE_SCHED_YIELD 1" >>confdefs.h
20033 ac_fn_c_check_func "$LINENO" "setproctitle" "ac_cv_func_setproctitle"
20034 if test "x$ac_cv_func_setproctitle" = xyes
20035 then :
20036 printf "%s\n" "#define HAVE_SETPROCTITLE 1" >>confdefs.h
20039 ac_fn_c_check_func "$LINENO" "setprogname" "ac_cv_func_setprogname"
20040 if test "x$ac_cv_func_setprogname" = xyes
20041 then :
20042 printf "%s\n" "#define HAVE_SETPROGNAME 1" >>confdefs.h
20045 ac_fn_c_check_func "$LINENO" "sigprocmask" "ac_cv_func_sigprocmask"
20046 if test "x$ac_cv_func_sigprocmask" = xyes
20047 then :
20048 printf "%s\n" "#define HAVE_SIGPROCMASK 1" >>confdefs.h
20051 ac_fn_c_check_func "$LINENO" "sysinfo" "ac_cv_func_sysinfo"
20052 if test "x$ac_cv_func_sysinfo" = xyes
20053 then :
20054 printf "%s\n" "#define HAVE_SYSINFO 1" >>confdefs.h
20057 ac_fn_c_check_func "$LINENO" "tcdrain" "ac_cv_func_tcdrain"
20058 if test "x$ac_cv_func_tcdrain" = xyes
20059 then :
20060 printf "%s\n" "#define HAVE_TCDRAIN 1" >>confdefs.h
20063 ac_fn_c_check_func "$LINENO" "thr_kill2" "ac_cv_func_thr_kill2"
20064 if test "x$ac_cv_func_thr_kill2" = xyes
20065 then :
20066 printf "%s\n" "#define HAVE_THR_KILL2 1" >>confdefs.h
20070 CFLAGS="$ac_save_CFLAGS"
20072 case $host_os in
20073 darwin*|macosx*) ;;
20074 *) ac_save_LIBS=$LIBS
20075 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
20076 printf %s "checking for library containing clock_gettime... " >&6; }
20077 if test ${ac_cv_search_clock_gettime+y}
20078 then :
20079 printf %s "(cached) " >&6
20080 else $as_nop
20081 ac_func_search_save_LIBS=$LIBS
20082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20083 /* end confdefs.h. */
20085 /* Override any GCC internal prototype to avoid an error.
20086 Use char because int might match the return type of a GCC
20087 builtin and then its argument prototype would still apply. */
20088 char clock_gettime ();
20090 main (void)
20092 return clock_gettime ();
20094 return 0;
20096 _ACEOF
20097 for ac_lib in '' rt
20099 if test -z "$ac_lib"; then
20100 ac_res="none required"
20101 else
20102 ac_res=-l$ac_lib
20103 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20105 if ac_fn_c_try_link "$LINENO"
20106 then :
20107 ac_cv_search_clock_gettime=$ac_res
20109 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20110 conftest$ac_exeext
20111 if test ${ac_cv_search_clock_gettime+y}
20112 then :
20113 break
20115 done
20116 if test ${ac_cv_search_clock_gettime+y}
20117 then :
20119 else $as_nop
20120 ac_cv_search_clock_gettime=no
20122 rm conftest.$ac_ext
20123 LIBS=$ac_func_search_save_LIBS
20125 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
20126 printf "%s\n" "$ac_cv_search_clock_gettime" >&6; }
20127 ac_res=$ac_cv_search_clock_gettime
20128 if test "$ac_res" != no
20129 then :
20130 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20132 printf "%s\n" "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
20134 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
20138 LIBS=$ac_save_LIBS
20140 esac
20142 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
20143 printf %s "checking for sched_setaffinity... " >&6; }
20144 if test ${wine_cv_have_sched_setaffinity+y}
20145 then :
20146 printf %s "(cached) " >&6
20147 else $as_nop
20148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20149 /* end confdefs.h. */
20150 #include <sched.h>
20152 main (void)
20154 sched_setaffinity(0, 0, 0);
20156 return 0;
20158 _ACEOF
20159 if ac_fn_c_try_link "$LINENO"
20160 then :
20161 wine_cv_have_sched_setaffinity=yes
20162 else $as_nop
20163 wine_cv_have_sched_setaffinity=no
20165 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20166 conftest$ac_exeext conftest.$ac_ext
20168 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
20169 printf "%s\n" "$wine_cv_have_sched_setaffinity" >&6; }
20170 if test "$wine_cv_have_sched_setaffinity" = "yes"
20171 then
20173 printf "%s\n" "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
20178 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
20179 printf %s "checking for inline... " >&6; }
20180 if test ${ac_cv_c_inline+y}
20181 then :
20182 printf %s "(cached) " >&6
20183 else $as_nop
20184 ac_cv_c_inline=no
20185 for ac_kw in inline __inline__ __inline; do
20186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20187 /* end confdefs.h. */
20188 #ifndef __cplusplus
20189 typedef int foo_t;
20190 static $ac_kw foo_t static_foo (void) {return 0; }
20191 $ac_kw foo_t foo (void) {return 0; }
20192 #endif
20194 _ACEOF
20195 if ac_fn_c_try_compile "$LINENO"
20196 then :
20197 ac_cv_c_inline=$ac_kw
20199 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
20200 test "$ac_cv_c_inline" != no && break
20201 done
20204 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
20205 printf "%s\n" "$ac_cv_c_inline" >&6; }
20207 case $ac_cv_c_inline in
20208 inline | yes) ;;
20210 case $ac_cv_c_inline in
20211 no) ac_val=;;
20212 *) ac_val=$ac_cv_c_inline;;
20213 esac
20214 cat >>confdefs.h <<_ACEOF
20215 #ifndef __cplusplus
20216 #define inline $ac_val
20217 #endif
20218 _ACEOF
20220 esac
20222 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
20224 if test "x$ac_cv_type_request_sense" = xyes
20225 then :
20227 printf "%s\n" "#define HAVE_REQUEST_SENSE 1" >>confdefs.h
20233 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
20234 #include <sys/socket.h>
20235 #ifdef HAVE_SYS_SOCKETVAR_H
20236 #include <sys/socketvar.h>
20237 #endif
20238 #ifdef HAVE_NET_ROUTE_H
20239 #include <net/route.h>
20240 #endif
20241 #ifdef HAVE_NETINET_IN_H
20242 #include <netinet/in.h>
20243 #endif
20244 #ifdef HAVE_NETINET_IN_SYSTM_H
20245 #include <netinet/in_systm.h>
20246 #endif
20247 #ifdef HAVE_NETINET_IP_H
20248 #include <netinet/ip.h>
20249 #endif
20250 #ifdef HAVE_NETINET_IN_PCB_H
20251 #include <netinet/in_pcb.h>
20252 #endif
20254 if test "x$ac_cv_type_struct_xinpgen" = xyes
20255 then :
20257 printf "%s\n" "#define HAVE_STRUCT_XINPGEN 1" >>confdefs.h
20263 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
20264 printf %s "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
20265 if test ${wine_cv_linux_gethostbyname_r_6+y}
20266 then :
20267 printf %s "(cached) " >&6
20268 else $as_nop
20269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20270 /* end confdefs.h. */
20271 #include <netdb.h>
20273 main (void)
20276 char *name=0;
20277 struct hostent he;
20278 struct hostent *result;
20279 char *buf=0;
20280 int bufsize=0;
20281 int errnr;
20282 char *addr=0;
20283 int addrlen=0;
20284 int addrtype=0;
20285 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
20286 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
20289 return 0;
20291 _ACEOF
20292 if ac_fn_c_try_link "$LINENO"
20293 then :
20294 wine_cv_linux_gethostbyname_r_6=yes
20295 else $as_nop
20296 wine_cv_linux_gethostbyname_r_6=no
20299 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20300 conftest$ac_exeext conftest.$ac_ext
20303 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
20304 printf "%s\n" "$wine_cv_linux_gethostbyname_r_6" >&6; }
20305 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
20306 then
20308 printf "%s\n" "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
20312 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
20313 #include <sys/socket.h>
20314 #ifdef HAVE_SYS_UN_H
20315 # include <sys/un.h>
20316 #endif
20318 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes
20319 then :
20321 printf "%s\n" "#define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1" >>confdefs.h
20325 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
20326 #include <sys/socket.h>
20327 #ifdef HAVE_SYS_UN_H
20328 # include <sys/un.h>
20329 #endif
20331 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
20332 then :
20334 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1" >>confdefs.h
20340 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
20341 #ifdef HAVE_SCSI_SG_H
20342 #include <scsi/sg.h>
20343 #endif
20345 if test "x$ac_cv_member_scsireq_t_cmd" = xyes
20346 then :
20348 printf "%s\n" "#define HAVE_SCSIREQ_T_CMD 1" >>confdefs.h
20352 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>
20353 #ifdef HAVE_SCSI_SG_H
20354 #include <scsi/sg.h>
20355 #endif
20357 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
20358 then :
20360 printf "%s\n" "#define HAVE_SG_IO_HDR_T_INTERFACE_ID 1" >>confdefs.h
20366 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
20368 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
20369 then :
20371 printf "%s\n" "#define HAVE_SIGINFO_T_SI_FD 1" >>confdefs.h
20377 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
20378 #ifdef HAVE_SYS_MTIO_H
20379 #include <sys/mtio.h>
20380 #endif
20382 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes
20383 then :
20385 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKSIZ 1" >>confdefs.h
20389 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
20390 #ifdef HAVE_SYS_MTIO_H
20391 #include <sys/mtio.h>
20392 #endif
20394 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes
20395 then :
20397 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_GSTAT 1" >>confdefs.h
20401 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
20402 #ifdef HAVE_SYS_MTIO_H
20403 #include <sys/mtio.h>
20404 #endif
20406 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
20407 then :
20409 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKNO 1" >>confdefs.h
20415 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
20416 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
20417 then :
20419 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIM 1" >>confdefs.h
20423 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
20424 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes
20425 then :
20427 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIMESPEC 1" >>confdefs.h
20431 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
20432 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
20433 then :
20435 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIM 1" >>confdefs.h
20439 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
20440 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes
20441 then :
20443 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIMESPEC 1" >>confdefs.h
20447 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
20448 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
20449 then :
20451 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIM 1" >>confdefs.h
20455 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
20456 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes
20457 then :
20459 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIMESPEC 1" >>confdefs.h
20463 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
20464 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes
20465 then :
20467 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIME 1" >>confdefs.h
20471 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
20472 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes
20473 then :
20475 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIM 1" >>confdefs.h
20479 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
20480 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes
20481 then :
20483 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1" >>confdefs.h
20487 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
20488 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes
20489 then :
20491 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIME 1" >>confdefs.h
20495 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
20496 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes
20497 then :
20499 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIM 1" >>confdefs.h
20505 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>
20506 #ifdef HAVE_NETINET_IN_H
20507 #include <netinet/in.h>
20508 #endif
20510 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
20511 then :
20513 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1" >>confdefs.h
20519 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
20520 #include <resolv.h>
20521 #endif
20523 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes
20524 then :
20526 printf "%s\n" "#define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1" >>confdefs.h
20532 ac_fn_c_check_member "$LINENO" "struct in6_pktinfo" "ipi6_addr" "ac_cv_member_struct_in6_pktinfo_ipi6_addr" "#ifdef HAVE_NETINET_IN_H
20533 #include <netinet/in.h>
20534 #endif
20536 if test "x$ac_cv_member_struct_in6_pktinfo_ipi6_addr" = xyes
20537 then :
20539 printf "%s\n" "#define HAVE_STRUCT_IN6_PKTINFO_IPI6_ADDR 1" >>confdefs.h
20545 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#include <sys/types.h>
20546 #ifdef HAVE_SYS_SOCKETVAR_H
20547 #include <sys/socketvar.h>
20548 #endif
20549 #ifdef HAVE_NETINET_IN_H
20550 #include <netinet/in.h>
20551 #endif
20552 #ifdef HAVE_NETINET_IP_VAR_H
20553 #include <netinet/ip_var.h>
20554 #endif
20556 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes
20557 then :
20559 printf "%s\n" "#define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1" >>confdefs.h
20565 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
20566 #include <netinet/ip_var.h>
20567 #endif
20569 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes
20570 then :
20572 printf "%s\n" "#define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1" >>confdefs.h
20578 ac_fn_c_check_member "$LINENO" "struct ip6stat" "ip6s_total" "ac_cv_member_struct_ip6stat_ip6s_total" "#include <sys/types.h>
20579 #ifdef HAVE_SYS_SOCKETVAR_H
20580 #include <sys/socketvar.h>
20581 #endif
20582 #ifdef HAVE_NETINET_IN_H
20583 #include <netinet/in.h>
20584 #endif
20585 #ifdef HAVE_NETINET6_IP6_VAR_H
20586 #include <netinet6/ip6_var.h>
20587 #endif
20589 if test "x$ac_cv_member_struct_ip6stat_ip6s_total" = xyes
20590 then :
20592 printf "%s\n" "#define HAVE_STRUCT_IP6STAT_IP6S_TOTAL 1" >>confdefs.h
20598 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_error" "ac_cv_member_struct_icmpstat_icps_error" "#include <sys/types.h>
20599 #ifdef HAVE_SYS_SOCKETVAR_H
20600 #include <sys/socketvar.h>
20601 #endif
20602 #ifdef HAVE_NETINET_IN_H
20603 #include <netinet/in.h>
20604 #endif
20605 #ifdef HAVE_NETINET_IP_H
20606 #include <netinet/ip.h>
20607 #endif
20608 #ifdef HAVE_NETINET_IP_ICMP_H
20609 #include <netinet/ip_icmp.h>
20610 #endif
20611 #ifdef HAVE_NETINET_ICMP_VAR_H
20612 #include <netinet/icmp_var.h>
20613 #endif
20615 if test "x$ac_cv_member_struct_icmpstat_icps_error" = xyes
20616 then :
20618 printf "%s\n" "#define HAVE_STRUCT_ICMPSTAT_ICPS_ERROR 1" >>confdefs.h
20624 ac_fn_c_check_member "$LINENO" "struct icmp6stat" "icp6s_error" "ac_cv_member_struct_icmp6stat_icp6s_error" "#include <sys/types.h>
20625 #ifdef HAVE_SYS_SOCKETVAR_H
20626 #include <sys/socketvar.h>
20627 #endif
20628 #ifdef HAVE_NETINET_IN_H
20629 #include <netinet/in.h>
20630 #endif
20631 #ifdef HAVE_NETINET_ICMP6_H
20632 #include <netinet/icmp6.h>
20633 #endif
20635 if test "x$ac_cv_member_struct_icmp6stat_icp6s_error" = xyes
20636 then :
20638 printf "%s\n" "#define HAVE_STRUCT_ICMP6STAT_ICP6S_ERROR 1" >>confdefs.h
20644 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#include <sys/types.h>
20645 #ifdef HAVE_SYS_SOCKETVAR_H
20646 #include <sys/socketvar.h>
20647 #endif
20648 #ifdef HAVE_NETINET_IN_H
20649 #include <netinet/in.h>
20650 #endif
20651 #ifdef HAVE_NETINET_TCP_H
20652 #include <netinet/tcp.h>
20653 #endif
20654 #ifdef HAVE_NETINET_TCP_VAR_H
20655 #include <netinet/tcp_var.h>
20656 #endif
20658 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes
20659 then :
20661 printf "%s\n" "#define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1" >>confdefs.h
20667 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
20668 #include <netinet/tcp_var.h>
20669 #endif
20671 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes
20672 then :
20674 printf "%s\n" "#define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1" >>confdefs.h
20680 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#include <sys/types.h>
20681 #ifdef HAVE_NETINET_IN_H
20682 #include <netinet/in.h>
20683 #endif
20684 #ifdef HAVE_NETINET_IP_VAR_H
20685 #include <netinet/ip_var.h>
20686 #endif
20687 #ifdef HAVE_NETINET_UDP_H
20688 #include <netinet/udp.h>
20689 #endif
20690 #ifdef HAVE_NETINET_UDP_VAR_H
20691 #include <netinet/udp_var.h>
20692 #endif
20694 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes
20695 then :
20697 printf "%s\n" "#define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1" >>confdefs.h
20703 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#include <sys/types.h>
20704 #ifdef HAVE_NET_IF_H
20705 # include <net/if.h>
20706 #endif
20708 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
20709 then :
20711 printf "%s\n" "#define HAVE_STRUCT_IFREQ_IFR_HWADDR 1" >>confdefs.h
20717 ac_fn_c_check_member "$LINENO" "struct sysinfo" "totalram" "ac_cv_member_struct_sysinfo_totalram" "#ifdef HAVE_SYS_SYSINFO_H
20718 # include <sys/sysinfo.h>
20719 #endif
20721 if test "x$ac_cv_member_struct_sysinfo_totalram" = xyes
20722 then :
20724 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_TOTALRAM 1" >>confdefs.h
20728 ac_fn_c_check_member "$LINENO" "struct sysinfo" "mem_unit" "ac_cv_member_struct_sysinfo_mem_unit" "#ifdef HAVE_SYS_SYSINFO_H
20729 # include <sys/sysinfo.h>
20730 #endif
20732 if test "x$ac_cv_member_struct_sysinfo_mem_unit" = xyes
20733 then :
20735 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_MEM_UNIT 1" >>confdefs.h
20741 LIBS="$ac_save_LIBS"
20743 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
20744 printf %s "checking for __builtin_popcount... " >&6; }
20745 if test ${ac_cv_have___builtin_popcount+y}
20746 then :
20747 printf %s "(cached) " >&6
20748 else $as_nop
20749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20750 /* end confdefs.h. */
20753 main (void)
20755 return __builtin_popcount(1)
20757 return 0;
20759 _ACEOF
20760 if ac_fn_c_try_link "$LINENO"
20761 then :
20762 ac_cv_have___builtin_popcount="yes"
20763 else $as_nop
20764 ac_cv_have___builtin_popcount="no"
20766 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20767 conftest$ac_exeext conftest.$ac_ext
20769 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
20770 printf "%s\n" "$ac_cv_have___builtin_popcount" >&6; }
20771 if test "$ac_cv_have___builtin_popcount" = "yes"
20772 then
20774 printf "%s\n" "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
20778 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
20779 printf %s "checking for __clear_cache... " >&6; }
20780 if test ${ac_cv_have___clear_cache+y}
20781 then :
20782 printf %s "(cached) " >&6
20783 else $as_nop
20784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20785 /* end confdefs.h. */
20788 main (void)
20790 __clear_cache((void*)0, (void*)0); return 0;
20792 return 0;
20794 _ACEOF
20795 if ac_fn_c_try_link "$LINENO"
20796 then :
20797 ac_cv_have___clear_cache="yes"
20798 else $as_nop
20799 ac_cv_have___clear_cache="no"
20801 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20802 conftest$ac_exeext conftest.$ac_ext
20804 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
20805 printf "%s\n" "$ac_cv_have___clear_cache" >&6; }
20806 if test "$ac_cv_have___clear_cache" = "yes"
20807 then
20809 printf "%s\n" "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
20814 case $host_cpu in
20815 *i[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
20816 printf %s "checking whether we need to define __i386__... " >&6; }
20817 if test ${ac_cv_cpp_def___i386__+y}
20818 then :
20819 printf %s "(cached) " >&6
20820 else $as_nop
20821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20822 /* end confdefs.h. */
20823 #ifndef __i386__
20825 #endif
20826 _ACEOF
20827 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20828 $EGREP "yes" >/dev/null 2>&1
20829 then :
20830 ac_cv_cpp_def___i386__=yes
20831 else $as_nop
20832 ac_cv_cpp_def___i386__=no
20834 rm -rf conftest*
20837 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
20838 printf "%s\n" "$ac_cv_cpp_def___i386__" >&6; }
20839 if test "x$ac_cv_cpp_def___i386__" = xyes
20840 then :
20841 CFLAGS="$CFLAGS -D__i386__"
20842 LINTFLAGS="$LINTFLAGS -D__i386__"
20843 fi ;;
20844 *x86_64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
20845 printf %s "checking whether we need to define __x86_64__... " >&6; }
20846 if test ${ac_cv_cpp_def___x86_64__+y}
20847 then :
20848 printf %s "(cached) " >&6
20849 else $as_nop
20850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20851 /* end confdefs.h. */
20852 #ifndef __x86_64__
20854 #endif
20855 _ACEOF
20856 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20857 $EGREP "yes" >/dev/null 2>&1
20858 then :
20859 ac_cv_cpp_def___x86_64__=yes
20860 else $as_nop
20861 ac_cv_cpp_def___x86_64__=no
20863 rm -rf conftest*
20866 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
20867 printf "%s\n" "$ac_cv_cpp_def___x86_64__" >&6; }
20868 if test "x$ac_cv_cpp_def___x86_64__" = xyes
20869 then :
20870 CFLAGS="$CFLAGS -D__x86_64__"
20871 LINTFLAGS="$LINTFLAGS -D__x86_64__"
20872 fi ;;
20873 *sparc64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
20874 printf %s "checking whether we need to define __sparc64__... " >&6; }
20875 if test ${ac_cv_cpp_def___sparc64__+y}
20876 then :
20877 printf %s "(cached) " >&6
20878 else $as_nop
20879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20880 /* end confdefs.h. */
20881 #ifndef __sparc64__
20883 #endif
20884 _ACEOF
20885 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20886 $EGREP "yes" >/dev/null 2>&1
20887 then :
20888 ac_cv_cpp_def___sparc64__=yes
20889 else $as_nop
20890 ac_cv_cpp_def___sparc64__=no
20892 rm -rf conftest*
20895 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
20896 printf "%s\n" "$ac_cv_cpp_def___sparc64__" >&6; }
20897 if test "x$ac_cv_cpp_def___sparc64__" = xyes
20898 then :
20899 CFLAGS="$CFLAGS -D__sparc64__"
20900 LINTFLAGS="$LINTFLAGS -D__sparc64__"
20901 fi ;;
20902 *sparc*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
20903 printf %s "checking whether we need to define __sparc__... " >&6; }
20904 if test ${ac_cv_cpp_def___sparc__+y}
20905 then :
20906 printf %s "(cached) " >&6
20907 else $as_nop
20908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20909 /* end confdefs.h. */
20910 #ifndef __sparc__
20912 #endif
20913 _ACEOF
20914 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20915 $EGREP "yes" >/dev/null 2>&1
20916 then :
20917 ac_cv_cpp_def___sparc__=yes
20918 else $as_nop
20919 ac_cv_cpp_def___sparc__=no
20921 rm -rf conftest*
20924 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
20925 printf "%s\n" "$ac_cv_cpp_def___sparc__" >&6; }
20926 if test "x$ac_cv_cpp_def___sparc__" = xyes
20927 then :
20928 CFLAGS="$CFLAGS -D__sparc__"
20929 LINTFLAGS="$LINTFLAGS -D__sparc__"
20930 fi ;;
20931 *powerpc64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
20932 printf %s "checking whether we need to define __powerpc64__... " >&6; }
20933 if test ${ac_cv_cpp_def___powerpc64__+y}
20934 then :
20935 printf %s "(cached) " >&6
20936 else $as_nop
20937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20938 /* end confdefs.h. */
20939 #ifndef __powerpc64__
20941 #endif
20942 _ACEOF
20943 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20944 $EGREP "yes" >/dev/null 2>&1
20945 then :
20946 ac_cv_cpp_def___powerpc64__=yes
20947 else $as_nop
20948 ac_cv_cpp_def___powerpc64__=no
20950 rm -rf conftest*
20953 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
20954 printf "%s\n" "$ac_cv_cpp_def___powerpc64__" >&6; }
20955 if test "x$ac_cv_cpp_def___powerpc64__" = xyes
20956 then :
20957 CFLAGS="$CFLAGS -D__powerpc64__"
20958 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
20959 fi ;;
20960 *powerpc*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
20961 printf %s "checking whether we need to define __powerpc__... " >&6; }
20962 if test ${ac_cv_cpp_def___powerpc__+y}
20963 then :
20964 printf %s "(cached) " >&6
20965 else $as_nop
20966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20967 /* end confdefs.h. */
20968 #ifndef __powerpc__
20970 #endif
20971 _ACEOF
20972 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20973 $EGREP "yes" >/dev/null 2>&1
20974 then :
20975 ac_cv_cpp_def___powerpc__=yes
20976 else $as_nop
20977 ac_cv_cpp_def___powerpc__=no
20979 rm -rf conftest*
20982 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
20983 printf "%s\n" "$ac_cv_cpp_def___powerpc__" >&6; }
20984 if test "x$ac_cv_cpp_def___powerpc__" = xyes
20985 then :
20986 CFLAGS="$CFLAGS -D__powerpc__"
20987 LINTFLAGS="$LINTFLAGS -D__powerpc__"
20988 fi ;;
20989 *aarch64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
20990 printf %s "checking whether we need to define __aarch64__... " >&6; }
20991 if test ${ac_cv_cpp_def___aarch64__+y}
20992 then :
20993 printf %s "(cached) " >&6
20994 else $as_nop
20995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20996 /* end confdefs.h. */
20997 #ifndef __aarch64__
20999 #endif
21000 _ACEOF
21001 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21002 $EGREP "yes" >/dev/null 2>&1
21003 then :
21004 ac_cv_cpp_def___aarch64__=yes
21005 else $as_nop
21006 ac_cv_cpp_def___aarch64__=no
21008 rm -rf conftest*
21011 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
21012 printf "%s\n" "$ac_cv_cpp_def___aarch64__" >&6; }
21013 if test "x$ac_cv_cpp_def___aarch64__" = xyes
21014 then :
21015 CFLAGS="$CFLAGS -D__aarch64__"
21016 LINTFLAGS="$LINTFLAGS -D__aarch64__"
21017 fi ;;
21018 *arm*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
21019 printf %s "checking whether we need to define __arm__... " >&6; }
21020 if test ${ac_cv_cpp_def___arm__+y}
21021 then :
21022 printf %s "(cached) " >&6
21023 else $as_nop
21024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21025 /* end confdefs.h. */
21026 #ifndef __arm__
21028 #endif
21029 _ACEOF
21030 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21031 $EGREP "yes" >/dev/null 2>&1
21032 then :
21033 ac_cv_cpp_def___arm__=yes
21034 else $as_nop
21035 ac_cv_cpp_def___arm__=no
21037 rm -rf conftest*
21040 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
21041 printf "%s\n" "$ac_cv_cpp_def___arm__" >&6; }
21042 if test "x$ac_cv_cpp_def___arm__" = xyes
21043 then :
21044 CFLAGS="$CFLAGS -D__arm__"
21045 LINTFLAGS="$LINTFLAGS -D__arm__"
21046 fi ;;
21047 esac
21049 case $host_vendor in
21050 *sun*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
21051 printf %s "checking whether we need to define __sun__... " >&6; }
21052 if test ${ac_cv_cpp_def___sun__+y}
21053 then :
21054 printf %s "(cached) " >&6
21055 else $as_nop
21056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21057 /* end confdefs.h. */
21058 #ifndef __sun__
21060 #endif
21061 _ACEOF
21062 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21063 $EGREP "yes" >/dev/null 2>&1
21064 then :
21065 ac_cv_cpp_def___sun__=yes
21066 else $as_nop
21067 ac_cv_cpp_def___sun__=no
21069 rm -rf conftest*
21072 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
21073 printf "%s\n" "$ac_cv_cpp_def___sun__" >&6; }
21074 if test "x$ac_cv_cpp_def___sun__" = xyes
21075 then :
21076 CFLAGS="$CFLAGS -D__sun__"
21077 LINTFLAGS="$LINTFLAGS -D__sun__"
21078 fi ;;
21079 esac
21085 ac_config_commands="$ac_config_commands include/stamp-h"
21087 printf %s "creating Makefile rules..." >&6
21089 makedep_flags=""
21090 test "x$enable_silent_rules" = xyes && makedep_flags="$makedep_flags -S"
21092 wine_srcdir=
21093 test "$srcdir" = . || wine_srcdir="$srcdir/"
21095 ac_config_links="$ac_config_links wine:tools/winewrapper"
21096 wine_fn_config_symlink wine
21097 if test "$wine_binary" = wine64 -o -n "$with_wine64"; then
21098 ac_config_links="$ac_config_links wine64:tools/winewrapper"
21099 wine_fn_config_symlink wine64
21102 wine_fn_config_makefile dlls/acledit enable_acledit
21103 wine_fn_config_makefile dlls/aclui enable_aclui
21104 wine_fn_config_makefile dlls/activeds.tlb enable_activeds_tlb
21105 wine_fn_config_makefile dlls/activeds enable_activeds
21106 wine_fn_config_makefile dlls/activeds/tests enable_tests
21107 wine_fn_config_makefile dlls/actxprxy enable_actxprxy
21108 wine_fn_config_makefile dlls/adsldp enable_adsldp
21109 wine_fn_config_makefile dlls/adsldp/tests enable_tests
21110 wine_fn_config_makefile dlls/adsldpc enable_adsldpc
21111 wine_fn_config_makefile dlls/advapi32 enable_advapi32
21112 wine_fn_config_makefile dlls/advapi32/tests enable_tests
21113 wine_fn_config_makefile dlls/advpack enable_advpack
21114 wine_fn_config_makefile dlls/advpack/tests enable_tests
21115 wine_fn_config_makefile dlls/amsi enable_amsi
21116 wine_fn_config_makefile dlls/amstream enable_amstream
21117 wine_fn_config_makefile dlls/amstream/tests enable_tests
21118 wine_fn_config_makefile dlls/apisetschema enable_apisetschema
21119 wine_fn_config_makefile dlls/apphelp enable_apphelp
21120 wine_fn_config_makefile dlls/apphelp/tests enable_tests
21121 wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
21122 wine_fn_config_makefile dlls/atl enable_atl
21123 wine_fn_config_makefile dlls/atl/tests enable_tests
21124 wine_fn_config_makefile dlls/atl100 enable_atl100
21125 wine_fn_config_makefile dlls/atl100/tests enable_tests
21126 wine_fn_config_makefile dlls/atl110 enable_atl110
21127 wine_fn_config_makefile dlls/atl110/tests enable_tests
21128 wine_fn_config_makefile dlls/atl80 enable_atl80
21129 wine_fn_config_makefile dlls/atl80/tests enable_tests
21130 wine_fn_config_makefile dlls/atl90 enable_atl90
21131 wine_fn_config_makefile dlls/atlthunk enable_atlthunk
21132 wine_fn_config_makefile dlls/atlthunk/tests enable_tests
21133 wine_fn_config_makefile dlls/atmlib enable_atmlib
21134 wine_fn_config_makefile dlls/authz enable_authz
21135 wine_fn_config_makefile dlls/avicap32 enable_avicap32
21136 wine_fn_config_makefile dlls/avifil32 enable_avifil32
21137 wine_fn_config_makefile dlls/avifil32/tests enable_tests
21138 wine_fn_config_makefile dlls/avifile.dll16 enable_win16
21139 wine_fn_config_makefile dlls/avrt enable_avrt
21140 wine_fn_config_makefile dlls/bcrypt enable_bcrypt
21141 wine_fn_config_makefile dlls/bcrypt/tests enable_tests
21142 wine_fn_config_makefile dlls/bcryptprimitives enable_bcryptprimitives
21143 wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
21144 wine_fn_config_makefile dlls/browseui enable_browseui
21145 wine_fn_config_makefile dlls/browseui/tests enable_tests
21146 wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
21147 wine_fn_config_makefile dlls/cabinet enable_cabinet
21148 wine_fn_config_makefile dlls/cabinet/tests enable_tests
21149 wine_fn_config_makefile dlls/capi2032 enable_capi2032
21150 wine_fn_config_makefile dlls/cards enable_cards
21151 wine_fn_config_makefile dlls/cdosys enable_cdosys
21152 wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
21153 wine_fn_config_makefile dlls/cfgmgr32/tests enable_tests
21154 wine_fn_config_makefile dlls/clusapi enable_clusapi
21155 wine_fn_config_makefile dlls/cng.sys enable_cng_sys
21156 wine_fn_config_makefile dlls/combase enable_combase
21157 wine_fn_config_makefile dlls/combase/tests enable_tests
21158 wine_fn_config_makefile dlls/comcat enable_comcat
21159 wine_fn_config_makefile dlls/comcat/tests enable_tests
21160 wine_fn_config_makefile dlls/comctl32 enable_comctl32
21161 wine_fn_config_makefile dlls/comctl32/tests enable_tests
21162 wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
21163 wine_fn_config_makefile dlls/comdlg32/tests enable_tests
21164 wine_fn_config_makefile dlls/comm.drv16 enable_win16
21165 wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
21166 wine_fn_config_makefile dlls/compobj.dll16 enable_win16
21167 wine_fn_config_makefile dlls/compstui enable_compstui
21168 wine_fn_config_makefile dlls/compstui/tests enable_tests
21169 wine_fn_config_makefile dlls/comsvcs enable_comsvcs
21170 wine_fn_config_makefile dlls/comsvcs/tests enable_tests
21171 wine_fn_config_makefile dlls/concrt140 enable_concrt140
21172 wine_fn_config_makefile dlls/concrt140/tests enable_tests
21173 wine_fn_config_makefile dlls/connect enable_connect
21174 wine_fn_config_makefile dlls/credui enable_credui
21175 wine_fn_config_makefile dlls/credui/tests enable_tests
21176 wine_fn_config_makefile dlls/crtdll enable_crtdll
21177 wine_fn_config_makefile dlls/crypt32 enable_crypt32
21178 wine_fn_config_makefile dlls/crypt32/tests enable_tests
21179 wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
21180 wine_fn_config_makefile dlls/cryptdll enable_cryptdll
21181 wine_fn_config_makefile dlls/cryptext enable_cryptext
21182 wine_fn_config_makefile dlls/cryptnet enable_cryptnet
21183 wine_fn_config_makefile dlls/cryptnet/tests enable_tests
21184 wine_fn_config_makefile dlls/cryptowinrt enable_cryptowinrt
21185 wine_fn_config_makefile dlls/cryptowinrt/tests enable_tests
21186 wine_fn_config_makefile dlls/cryptsp enable_cryptsp
21187 wine_fn_config_makefile dlls/cryptui enable_cryptui
21188 wine_fn_config_makefile dlls/cryptui/tests enable_tests
21189 wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
21190 wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
21191 wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
21192 wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
21193 wine_fn_config_makefile dlls/d2d1 enable_d2d1
21194 wine_fn_config_makefile dlls/d2d1/tests enable_tests
21195 wine_fn_config_makefile dlls/d3d10 enable_d3d10
21196 wine_fn_config_makefile dlls/d3d10/tests enable_tests
21197 wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
21198 wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
21199 wine_fn_config_makefile dlls/d3d10core enable_d3d10core
21200 wine_fn_config_makefile dlls/d3d10core/tests enable_tests
21201 wine_fn_config_makefile dlls/d3d11 enable_d3d11
21202 wine_fn_config_makefile dlls/d3d11/tests enable_tests
21203 wine_fn_config_makefile dlls/d3d12 enable_d3d12
21204 wine_fn_config_makefile dlls/d3d12/tests enable_tests
21205 wine_fn_config_makefile dlls/d3d12core enable_d3d12core
21206 wine_fn_config_makefile dlls/d3d8 enable_d3d8
21207 wine_fn_config_makefile dlls/d3d8/tests enable_tests
21208 wine_fn_config_makefile dlls/d3d8thk enable_d3d8thk
21209 wine_fn_config_makefile dlls/d3d9 enable_d3d9
21210 wine_fn_config_makefile dlls/d3d9/tests enable_tests
21211 wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
21212 wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
21213 wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
21214 wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
21215 wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
21216 wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
21217 wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
21218 wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
21219 wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
21220 wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
21221 wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
21222 wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
21223 wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
21224 wine_fn_config_makefile dlls/d3dcompiler_46/tests enable_tests
21225 wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
21226 wine_fn_config_makefile dlls/d3dcompiler_47/tests enable_tests
21227 wine_fn_config_makefile dlls/d3dim enable_d3dim
21228 wine_fn_config_makefile dlls/d3dim700 enable_d3dim700
21229 wine_fn_config_makefile dlls/d3drm enable_d3drm
21230 wine_fn_config_makefile dlls/d3drm/tests enable_tests
21231 wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
21232 wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
21233 wine_fn_config_makefile dlls/d3dx10_34/tests enable_tests
21234 wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
21235 wine_fn_config_makefile dlls/d3dx10_35/tests enable_tests
21236 wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
21237 wine_fn_config_makefile dlls/d3dx10_36/tests enable_tests
21238 wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
21239 wine_fn_config_makefile dlls/d3dx10_37/tests enable_tests
21240 wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
21241 wine_fn_config_makefile dlls/d3dx10_38/tests enable_tests
21242 wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
21243 wine_fn_config_makefile dlls/d3dx10_39/tests enable_tests
21244 wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
21245 wine_fn_config_makefile dlls/d3dx10_40/tests enable_tests
21246 wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
21247 wine_fn_config_makefile dlls/d3dx10_41/tests enable_tests
21248 wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
21249 wine_fn_config_makefile dlls/d3dx10_42/tests enable_tests
21250 wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
21251 wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
21252 wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
21253 wine_fn_config_makefile dlls/d3dx11_42/tests enable_tests
21254 wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
21255 wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
21256 wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
21257 wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
21258 wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
21259 wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
21260 wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
21261 wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
21262 wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
21263 wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
21264 wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
21265 wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
21266 wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
21267 wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
21268 wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
21269 wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
21270 wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
21271 wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
21272 wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
21273 wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
21274 wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
21275 wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
21276 wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
21277 wine_fn_config_makefile dlls/d3dxof enable_d3dxof
21278 wine_fn_config_makefile dlls/d3dxof/tests enable_tests
21279 wine_fn_config_makefile dlls/davclnt enable_davclnt
21280 wine_fn_config_makefile dlls/dbgeng enable_dbgeng
21281 wine_fn_config_makefile dlls/dbgeng/tests enable_tests
21282 wine_fn_config_makefile dlls/dbghelp enable_dbghelp
21283 wine_fn_config_makefile dlls/dbghelp/tests enable_tests
21284 wine_fn_config_makefile dlls/dciman32 enable_dciman32
21285 wine_fn_config_makefile dlls/dcomp enable_dcomp
21286 wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
21287 wine_fn_config_makefile dlls/ddraw enable_ddraw
21288 wine_fn_config_makefile dlls/ddraw/tests enable_tests
21289 wine_fn_config_makefile dlls/ddrawex enable_ddrawex
21290 wine_fn_config_makefile dlls/ddrawex/tests enable_tests
21291 wine_fn_config_makefile dlls/devenum enable_devenum
21292 wine_fn_config_makefile dlls/devenum/tests enable_tests
21293 wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
21294 wine_fn_config_makefile dlls/dhcpcsvc/tests enable_tests
21295 wine_fn_config_makefile dlls/dhcpcsvc6 enable_dhcpcsvc6
21296 wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
21297 wine_fn_config_makefile dlls/diasymreader enable_diasymreader
21298 wine_fn_config_makefile dlls/difxapi enable_difxapi
21299 wine_fn_config_makefile dlls/dinput enable_dinput
21300 wine_fn_config_makefile dlls/dinput/tests enable_tests
21301 wine_fn_config_makefile dlls/dinput8 enable_dinput8
21302 wine_fn_config_makefile dlls/directmanipulation enable_directmanipulation
21303 wine_fn_config_makefile dlls/directmanipulation/tests enable_tests
21304 wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
21305 wine_fn_config_makefile dlls/dispex enable_dispex
21306 wine_fn_config_makefile dlls/dispex/tests enable_tests
21307 wine_fn_config_makefile dlls/display.drv16 enable_win16
21308 wine_fn_config_makefile dlls/dmband enable_dmband
21309 wine_fn_config_makefile dlls/dmband/tests enable_tests
21310 wine_fn_config_makefile dlls/dmcompos enable_dmcompos
21311 wine_fn_config_makefile dlls/dmcompos/tests enable_tests
21312 wine_fn_config_makefile dlls/dmime enable_dmime
21313 wine_fn_config_makefile dlls/dmime/tests enable_tests
21314 wine_fn_config_makefile dlls/dmloader enable_dmloader
21315 wine_fn_config_makefile dlls/dmloader/tests enable_tests
21316 wine_fn_config_makefile dlls/dmscript enable_dmscript
21317 wine_fn_config_makefile dlls/dmscript/tests enable_tests
21318 wine_fn_config_makefile dlls/dmstyle enable_dmstyle
21319 wine_fn_config_makefile dlls/dmstyle/tests enable_tests
21320 wine_fn_config_makefile dlls/dmsynth enable_dmsynth
21321 wine_fn_config_makefile dlls/dmsynth/tests enable_tests
21322 wine_fn_config_makefile dlls/dmusic enable_dmusic
21323 wine_fn_config_makefile dlls/dmusic/tests enable_tests
21324 wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
21325 wine_fn_config_makefile dlls/dnsapi enable_dnsapi
21326 wine_fn_config_makefile dlls/dnsapi/tests enable_tests
21327 wine_fn_config_makefile dlls/dplay enable_dplay
21328 wine_fn_config_makefile dlls/dplayx enable_dplayx
21329 wine_fn_config_makefile dlls/dplayx/tests enable_tests
21330 wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
21331 wine_fn_config_makefile dlls/dpnet enable_dpnet
21332 wine_fn_config_makefile dlls/dpnet/tests enable_tests
21333 wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
21334 wine_fn_config_makefile dlls/dpnhupnp enable_dpnhupnp
21335 wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
21336 wine_fn_config_makefile dlls/dpvoice enable_dpvoice
21337 wine_fn_config_makefile dlls/dpvoice/tests enable_tests
21338 wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
21339 wine_fn_config_makefile dlls/drmclien enable_drmclien
21340 wine_fn_config_makefile dlls/dsdmo enable_dsdmo
21341 wine_fn_config_makefile dlls/dsdmo/tests enable_tests
21342 wine_fn_config_makefile dlls/dsound enable_dsound
21343 wine_fn_config_makefile dlls/dsound/tests enable_tests
21344 wine_fn_config_makefile dlls/dsquery enable_dsquery
21345 wine_fn_config_makefile dlls/dssenh enable_dssenh
21346 wine_fn_config_makefile dlls/dssenh/tests enable_tests
21347 wine_fn_config_makefile dlls/dsuiext enable_dsuiext
21348 wine_fn_config_makefile dlls/dswave enable_dswave
21349 wine_fn_config_makefile dlls/dswave/tests enable_tests
21350 wine_fn_config_makefile dlls/dwmapi enable_dwmapi
21351 wine_fn_config_makefile dlls/dwmapi/tests enable_tests
21352 wine_fn_config_makefile dlls/dwrite enable_dwrite
21353 wine_fn_config_makefile dlls/dwrite/tests enable_tests
21354 wine_fn_config_makefile dlls/dx8vb enable_dx8vb
21355 wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
21356 wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
21357 wine_fn_config_makefile dlls/dxgi enable_dxgi
21358 wine_fn_config_makefile dlls/dxgi/tests enable_tests
21359 wine_fn_config_makefile dlls/dxtrans enable_dxtrans
21360 wine_fn_config_makefile dlls/dxva2 enable_dxva2
21361 wine_fn_config_makefile dlls/dxva2/tests enable_tests
21362 wine_fn_config_makefile dlls/esent enable_esent
21363 wine_fn_config_makefile dlls/evr enable_evr
21364 wine_fn_config_makefile dlls/evr/tests enable_tests
21365 wine_fn_config_makefile dlls/explorerframe enable_explorerframe
21366 wine_fn_config_makefile dlls/explorerframe/tests enable_tests
21367 wine_fn_config_makefile dlls/faultrep enable_faultrep
21368 wine_fn_config_makefile dlls/faultrep/tests enable_tests
21369 wine_fn_config_makefile dlls/feclient enable_feclient
21370 wine_fn_config_makefile dlls/fltlib enable_fltlib
21371 wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
21372 wine_fn_config_makefile dlls/fntcache enable_fntcache
21373 wine_fn_config_makefile dlls/fontsub enable_fontsub
21374 wine_fn_config_makefile dlls/fusion enable_fusion
21375 wine_fn_config_makefile dlls/fusion/tests enable_tests
21376 wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
21377 wine_fn_config_makefile dlls/gameux enable_gameux
21378 wine_fn_config_makefile dlls/gameux/tests enable_tests
21379 wine_fn_config_makefile dlls/gamingtcui enable_gamingtcui
21380 wine_fn_config_makefile dlls/gdi.exe16 enable_win16
21381 wine_fn_config_makefile dlls/gdi32 enable_gdi32
21382 wine_fn_config_makefile dlls/gdi32/tests enable_tests
21383 wine_fn_config_makefile dlls/gdiplus enable_gdiplus
21384 wine_fn_config_makefile dlls/gdiplus/tests enable_tests
21385 wine_fn_config_makefile dlls/geolocation enable_geolocation
21386 wine_fn_config_makefile dlls/geolocation/tests enable_tests
21387 wine_fn_config_makefile dlls/glu32 enable_glu32
21388 wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
21389 wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
21390 wine_fn_config_makefile dlls/graphicscapture enable_graphicscapture
21391 wine_fn_config_makefile dlls/graphicscapture/tests enable_tests
21392 wine_fn_config_makefile dlls/hal enable_hal
21393 wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
21394 wine_fn_config_makefile dlls/hid enable_hid
21395 wine_fn_config_makefile dlls/hid/tests enable_tests
21396 wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
21397 wine_fn_config_makefile dlls/hidparse.sys enable_hidparse_sys
21398 wine_fn_config_makefile dlls/hlink enable_hlink
21399 wine_fn_config_makefile dlls/hlink/tests enable_tests
21400 wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
21401 wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
21402 wine_fn_config_makefile dlls/hrtfapo enable_hrtfapo
21403 wine_fn_config_makefile dlls/http.sys enable_http_sys
21404 wine_fn_config_makefile dlls/httpapi enable_httpapi
21405 wine_fn_config_makefile dlls/httpapi/tests enable_tests
21406 wine_fn_config_makefile dlls/ia2comproxy enable_ia2comproxy
21407 wine_fn_config_makefile dlls/iccvid enable_iccvid
21408 wine_fn_config_makefile dlls/icmp enable_icmp
21409 wine_fn_config_makefile dlls/ieframe enable_ieframe
21410 wine_fn_config_makefile dlls/ieframe/tests enable_tests
21411 wine_fn_config_makefile dlls/ieproxy enable_ieproxy
21412 wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
21413 wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
21414 wine_fn_config_makefile dlls/imagehlp enable_imagehlp
21415 wine_fn_config_makefile dlls/imagehlp/tests enable_tests
21416 wine_fn_config_makefile dlls/imm.dll16 enable_win16
21417 wine_fn_config_makefile dlls/imm32 enable_imm32
21418 wine_fn_config_makefile dlls/imm32/tests enable_tests
21419 wine_fn_config_makefile dlls/inetcomm enable_inetcomm
21420 wine_fn_config_makefile dlls/inetcomm/tests enable_tests
21421 wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
21422 wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
21423 wine_fn_config_makefile dlls/inetmib1/tests enable_tests
21424 wine_fn_config_makefile dlls/infosoft enable_infosoft
21425 wine_fn_config_makefile dlls/infosoft/tests enable_tests
21426 wine_fn_config_makefile dlls/initpki enable_initpki
21427 wine_fn_config_makefile dlls/inkobj enable_inkobj
21428 wine_fn_config_makefile dlls/inseng enable_inseng
21429 wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
21430 wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
21431 wine_fn_config_makefile dlls/iprop enable_iprop
21432 wine_fn_config_makefile dlls/ir50_32 enable_ir50_32
21433 wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
21434 wine_fn_config_makefile dlls/itircl enable_itircl
21435 wine_fn_config_makefile dlls/itss enable_itss
21436 wine_fn_config_makefile dlls/itss/tests enable_tests
21437 wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
21438 wine_fn_config_makefile dlls/jscript enable_jscript
21439 wine_fn_config_makefile dlls/jscript/tests enable_tests
21440 wine_fn_config_makefile dlls/jsproxy enable_jsproxy
21441 wine_fn_config_makefile dlls/jsproxy/tests enable_tests
21442 wine_fn_config_makefile dlls/kerberos enable_kerberos
21443 wine_fn_config_makefile dlls/kernel32 enable_kernel32
21444 wine_fn_config_makefile dlls/kernel32/tests enable_tests
21445 wine_fn_config_makefile dlls/kernelbase enable_kernelbase
21446 wine_fn_config_makefile dlls/kernelbase/tests enable_tests
21447 wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
21448 wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
21449 wine_fn_config_makefile dlls/ksecdd.sys enable_ksecdd_sys
21450 wine_fn_config_makefile dlls/ksproxy.ax enable_ksproxy_ax
21451 wine_fn_config_makefile dlls/ksuser enable_ksuser
21452 wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
21453 wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
21454 wine_fn_config_makefile dlls/light.msstyles enable_light_msstyles
21455 wine_fn_config_makefile dlls/loadperf enable_loadperf
21456 wine_fn_config_makefile dlls/localspl enable_localspl
21457 wine_fn_config_makefile dlls/localspl/tests enable_tests
21458 wine_fn_config_makefile dlls/localui enable_localui
21459 wine_fn_config_makefile dlls/localui/tests enable_tests
21460 wine_fn_config_makefile dlls/lz32 enable_lz32
21461 wine_fn_config_makefile dlls/lz32/tests enable_tests
21462 wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
21463 wine_fn_config_makefile dlls/mapi32 enable_mapi32
21464 wine_fn_config_makefile dlls/mapi32/tests enable_tests
21465 wine_fn_config_makefile dlls/mapistub enable_mapistub
21466 wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
21467 wine_fn_config_makefile dlls/mcicda enable_mcicda
21468 wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
21469 wine_fn_config_makefile dlls/mciseq enable_mciseq
21470 wine_fn_config_makefile dlls/mciwave enable_mciwave
21471 wine_fn_config_makefile dlls/mf enable_mf
21472 wine_fn_config_makefile dlls/mf/tests enable_tests
21473 wine_fn_config_makefile dlls/mf3216 enable_mf3216
21474 wine_fn_config_makefile dlls/mferror enable_mferror
21475 wine_fn_config_makefile dlls/mfmediaengine enable_mfmediaengine
21476 wine_fn_config_makefile dlls/mfmediaengine/tests enable_tests
21477 wine_fn_config_makefile dlls/mfplat enable_mfplat
21478 wine_fn_config_makefile dlls/mfplat/tests enable_tests
21479 wine_fn_config_makefile dlls/mfplay enable_mfplay
21480 wine_fn_config_makefile dlls/mfplay/tests enable_tests
21481 wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
21482 wine_fn_config_makefile dlls/mfreadwrite/tests enable_tests
21483 wine_fn_config_makefile dlls/mfsrcsnk enable_mfsrcsnk
21484 wine_fn_config_makefile dlls/mfsrcsnk/tests enable_tests
21485 wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
21486 wine_fn_config_makefile dlls/midimap enable_midimap
21487 wine_fn_config_makefile dlls/mlang enable_mlang
21488 wine_fn_config_makefile dlls/mlang/tests enable_tests
21489 wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
21490 wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
21491 wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
21492 wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
21493 wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
21494 wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
21495 wine_fn_config_makefile dlls/monodebg.vxd enable_win16
21496 wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
21497 wine_fn_config_makefile dlls/mouse.drv16 enable_win16
21498 wine_fn_config_makefile dlls/mp3dmod enable_mp3dmod
21499 wine_fn_config_makefile dlls/mp3dmod/tests enable_tests
21500 wine_fn_config_makefile dlls/mpr enable_mpr
21501 wine_fn_config_makefile dlls/mpr/tests enable_tests
21502 wine_fn_config_makefile dlls/mprapi enable_mprapi
21503 wine_fn_config_makefile dlls/msacm.dll16 enable_win16
21504 wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
21505 wine_fn_config_makefile dlls/msacm32 enable_msacm32
21506 wine_fn_config_makefile dlls/msacm32/tests enable_tests
21507 wine_fn_config_makefile dlls/msado15 enable_msado15
21508 wine_fn_config_makefile dlls/msado15/tests enable_tests
21509 wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
21510 wine_fn_config_makefile dlls/msasn1 enable_msasn1
21511 wine_fn_config_makefile dlls/msasn1/tests enable_tests
21512 wine_fn_config_makefile dlls/msauddecmft enable_msauddecmft
21513 wine_fn_config_makefile dlls/mscat32 enable_mscat32
21514 wine_fn_config_makefile dlls/mscms enable_mscms
21515 wine_fn_config_makefile dlls/mscms/tests enable_tests
21516 wine_fn_config_makefile dlls/mscoree enable_mscoree
21517 wine_fn_config_makefile dlls/mscoree/tests enable_tests
21518 wine_fn_config_makefile dlls/mscorwks enable_mscorwks
21519 wine_fn_config_makefile dlls/msctf enable_msctf
21520 wine_fn_config_makefile dlls/msctf/tests enable_tests
21521 wine_fn_config_makefile dlls/msctfmonitor enable_msctfmonitor
21522 wine_fn_config_makefile dlls/msctfp enable_msctfp
21523 wine_fn_config_makefile dlls/msdaps enable_msdaps
21524 wine_fn_config_makefile dlls/msdasql enable_msdasql
21525 wine_fn_config_makefile dlls/msdasql/tests enable_tests
21526 wine_fn_config_makefile dlls/msdelta enable_msdelta
21527 wine_fn_config_makefile dlls/msdmo enable_msdmo
21528 wine_fn_config_makefile dlls/msdmo/tests enable_tests
21529 wine_fn_config_makefile dlls/msdrm enable_msdrm
21530 wine_fn_config_makefile dlls/msftedit enable_msftedit
21531 wine_fn_config_makefile dlls/msftedit/tests enable_tests
21532 wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
21533 wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
21534 wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
21535 wine_fn_config_makefile dlls/mshtml enable_mshtml
21536 wine_fn_config_makefile dlls/mshtml/tests enable_tests
21537 wine_fn_config_makefile dlls/msi enable_msi
21538 wine_fn_config_makefile dlls/msi/tests enable_tests
21539 wine_fn_config_makefile dlls/msident enable_msident
21540 wine_fn_config_makefile dlls/msimg32 enable_msimg32
21541 wine_fn_config_makefile dlls/msimsg enable_msimsg
21542 wine_fn_config_makefile dlls/msimtf enable_msimtf
21543 wine_fn_config_makefile dlls/msisip enable_msisip
21544 wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
21545 wine_fn_config_makefile dlls/msls31 enable_msls31
21546 wine_fn_config_makefile dlls/msmpeg2vdec enable_msmpeg2vdec
21547 wine_fn_config_makefile dlls/msnet32 enable_msnet32
21548 wine_fn_config_makefile dlls/mspatcha enable_mspatcha
21549 wine_fn_config_makefile dlls/mspatcha/tests enable_tests
21550 wine_fn_config_makefile dlls/msports enable_msports
21551 wine_fn_config_makefile dlls/msrle32 enable_msrle32
21552 wine_fn_config_makefile dlls/msrle32/tests enable_tests
21553 wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
21554 wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
21555 wine_fn_config_makefile dlls/mssign32 enable_mssign32
21556 wine_fn_config_makefile dlls/mssip32 enable_mssip32
21557 wine_fn_config_makefile dlls/mstask enable_mstask
21558 wine_fn_config_makefile dlls/mstask/tests enable_tests
21559 wine_fn_config_makefile dlls/msv1_0 enable_msv1_0
21560 wine_fn_config_makefile dlls/msvcirt enable_msvcirt
21561 wine_fn_config_makefile dlls/msvcirt/tests enable_tests
21562 wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
21563 wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
21564 wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
21565 wine_fn_config_makefile dlls/msvcp100/tests enable_tests
21566 wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
21567 wine_fn_config_makefile dlls/msvcp110/tests enable_tests
21568 wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
21569 wine_fn_config_makefile dlls/msvcp120/tests enable_tests
21570 wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
21571 wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
21572 wine_fn_config_makefile dlls/msvcp140/tests enable_tests
21573 wine_fn_config_makefile dlls/msvcp140_1 enable_msvcp140_1
21574 wine_fn_config_makefile dlls/msvcp140_1/tests enable_tests
21575 wine_fn_config_makefile dlls/msvcp140_2 enable_msvcp140_2
21576 wine_fn_config_makefile dlls/msvcp140_atomic_wait enable_msvcp140_atomic_wait
21577 wine_fn_config_makefile dlls/msvcp140_atomic_wait/tests enable_tests
21578 wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
21579 wine_fn_config_makefile dlls/msvcp60/tests enable_tests
21580 wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
21581 wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
21582 wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
21583 wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
21584 wine_fn_config_makefile dlls/msvcp90/tests enable_tests
21585 wine_fn_config_makefile dlls/msvcp_win enable_msvcp_win
21586 wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
21587 wine_fn_config_makefile dlls/msvcr100/tests enable_tests
21588 wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
21589 wine_fn_config_makefile dlls/msvcr110/tests enable_tests
21590 wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
21591 wine_fn_config_makefile dlls/msvcr120/tests enable_tests
21592 wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
21593 wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
21594 wine_fn_config_makefile dlls/msvcr70/tests enable_tests
21595 wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
21596 wine_fn_config_makefile dlls/msvcr71/tests enable_tests
21597 wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
21598 wine_fn_config_makefile dlls/msvcr80/tests enable_tests
21599 wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
21600 wine_fn_config_makefile dlls/msvcr90/tests enable_tests
21601 wine_fn_config_makefile dlls/msvcrt enable_msvcrt
21602 wine_fn_config_makefile dlls/msvcrt/tests enable_tests
21603 wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
21604 wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
21605 wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
21606 wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
21607 wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
21608 wine_fn_config_makefile dlls/msvfw32/tests enable_tests
21609 wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
21610 wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
21611 wine_fn_config_makefile dlls/mswsock enable_mswsock
21612 wine_fn_config_makefile dlls/msxml enable_msxml
21613 wine_fn_config_makefile dlls/msxml2 enable_msxml2
21614 wine_fn_config_makefile dlls/msxml3 enable_msxml3
21615 wine_fn_config_makefile dlls/msxml3/tests enable_tests
21616 wine_fn_config_makefile dlls/msxml4 enable_msxml4
21617 wine_fn_config_makefile dlls/msxml6 enable_msxml6
21618 wine_fn_config_makefile dlls/mtxdm enable_mtxdm
21619 wine_fn_config_makefile dlls/ncrypt enable_ncrypt
21620 wine_fn_config_makefile dlls/ncrypt/tests enable_tests
21621 wine_fn_config_makefile dlls/nddeapi enable_nddeapi
21622 wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
21623 wine_fn_config_makefile dlls/ndis.sys/tests enable_tests
21624 wine_fn_config_makefile dlls/netapi32 enable_netapi32
21625 wine_fn_config_makefile dlls/netapi32/tests enable_tests
21626 wine_fn_config_makefile dlls/netcfgx enable_netcfgx
21627 wine_fn_config_makefile dlls/netcfgx/tests enable_tests
21628 wine_fn_config_makefile dlls/netio.sys enable_netio_sys
21629 wine_fn_config_makefile dlls/netprofm enable_netprofm
21630 wine_fn_config_makefile dlls/netprofm/tests enable_tests
21631 wine_fn_config_makefile dlls/netutils enable_netutils
21632 wine_fn_config_makefile dlls/newdev enable_newdev
21633 wine_fn_config_makefile dlls/ninput enable_ninput
21634 wine_fn_config_makefile dlls/ninput/tests enable_tests
21635 wine_fn_config_makefile dlls/normaliz enable_normaliz
21636 wine_fn_config_makefile dlls/npmshtml enable_npmshtml
21637 wine_fn_config_makefile dlls/npptools enable_npptools
21638 wine_fn_config_makefile dlls/nsi enable_nsi
21639 wine_fn_config_makefile dlls/nsi/tests enable_tests
21640 wine_fn_config_makefile dlls/nsiproxy.sys enable_nsiproxy_sys
21641 wine_fn_config_makefile dlls/ntdll enable_ntdll
21642 wine_fn_config_makefile dlls/ntdll/tests enable_tests
21643 wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
21644 wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
21645 wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
21646 wine_fn_config_makefile dlls/ntoskrnl.exe/tests enable_tests
21647 wine_fn_config_makefile dlls/ntprint enable_ntprint
21648 wine_fn_config_makefile dlls/ntprint/tests enable_tests
21649 wine_fn_config_makefile dlls/objsel enable_objsel
21650 wine_fn_config_makefile dlls/odbc32 enable_odbc32
21651 wine_fn_config_makefile dlls/odbcbcp enable_odbcbcp
21652 wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
21653 wine_fn_config_makefile dlls/odbccp32/tests enable_tests
21654 wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
21655 wine_fn_config_makefile dlls/ole2.dll16 enable_win16
21656 wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
21657 wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
21658 wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
21659 wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
21660 wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
21661 wine_fn_config_makefile dlls/ole32 enable_ole32
21662 wine_fn_config_makefile dlls/ole32/tests enable_tests
21663 wine_fn_config_makefile dlls/oleacc enable_oleacc
21664 wine_fn_config_makefile dlls/oleacc/tests enable_tests
21665 wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
21666 wine_fn_config_makefile dlls/oleaut32/tests enable_tests
21667 wine_fn_config_makefile dlls/olecli.dll16 enable_win16
21668 wine_fn_config_makefile dlls/olecli32 enable_olecli32
21669 wine_fn_config_makefile dlls/oledb32 enable_oledb32
21670 wine_fn_config_makefile dlls/oledb32/tests enable_tests
21671 wine_fn_config_makefile dlls/oledlg enable_oledlg
21672 wine_fn_config_makefile dlls/oledlg/tests enable_tests
21673 wine_fn_config_makefile dlls/olepro32 enable_olepro32
21674 wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
21675 wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
21676 wine_fn_config_makefile dlls/olethk32 enable_olethk32
21677 wine_fn_config_makefile dlls/opcservices enable_opcservices
21678 wine_fn_config_makefile dlls/opcservices/tests enable_tests
21679 wine_fn_config_makefile dlls/opencl enable_opencl
21680 wine_fn_config_makefile dlls/opengl32 enable_opengl32
21681 wine_fn_config_makefile dlls/opengl32/tests enable_tests
21682 wine_fn_config_makefile dlls/packager enable_packager
21683 wine_fn_config_makefile dlls/packager/tests enable_tests
21684 wine_fn_config_makefile dlls/pdh enable_pdh
21685 wine_fn_config_makefile dlls/pdh/tests enable_tests
21686 wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
21687 wine_fn_config_makefile dlls/pidgen enable_pidgen
21688 wine_fn_config_makefile dlls/powrprof enable_powrprof
21689 wine_fn_config_makefile dlls/printui enable_printui
21690 wine_fn_config_makefile dlls/prntvpt enable_prntvpt
21691 wine_fn_config_makefile dlls/prntvpt/tests enable_tests
21692 wine_fn_config_makefile dlls/propsys enable_propsys
21693 wine_fn_config_makefile dlls/propsys/tests enable_tests
21694 wine_fn_config_makefile dlls/psapi enable_psapi
21695 wine_fn_config_makefile dlls/psapi/tests enable_tests
21696 wine_fn_config_makefile dlls/pstorec enable_pstorec
21697 wine_fn_config_makefile dlls/pstorec/tests enable_tests
21698 wine_fn_config_makefile dlls/pwrshplugin enable_pwrshplugin
21699 wine_fn_config_makefile dlls/qasf enable_qasf
21700 wine_fn_config_makefile dlls/qasf/tests enable_tests
21701 wine_fn_config_makefile dlls/qcap enable_qcap
21702 wine_fn_config_makefile dlls/qcap/tests enable_tests
21703 wine_fn_config_makefile dlls/qdvd enable_qdvd
21704 wine_fn_config_makefile dlls/qdvd/tests enable_tests
21705 wine_fn_config_makefile dlls/qedit enable_qedit
21706 wine_fn_config_makefile dlls/qedit/tests enable_tests
21707 wine_fn_config_makefile dlls/qmgr enable_qmgr
21708 wine_fn_config_makefile dlls/qmgr/tests enable_tests
21709 wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
21710 wine_fn_config_makefile dlls/quartz enable_quartz
21711 wine_fn_config_makefile dlls/quartz/tests enable_tests
21712 wine_fn_config_makefile dlls/query enable_query
21713 wine_fn_config_makefile dlls/qwave enable_qwave
21714 wine_fn_config_makefile dlls/qwave/tests enable_tests
21715 wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
21716 wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
21717 wine_fn_config_makefile dlls/rasapi32/tests enable_tests
21718 wine_fn_config_makefile dlls/rasdlg enable_rasdlg
21719 wine_fn_config_makefile dlls/regapi enable_regapi
21720 wine_fn_config_makefile dlls/resutils enable_resutils
21721 wine_fn_config_makefile dlls/riched20 enable_riched20
21722 wine_fn_config_makefile dlls/riched20/tests enable_tests
21723 wine_fn_config_makefile dlls/riched32 enable_riched32
21724 wine_fn_config_makefile dlls/riched32/tests enable_tests
21725 wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
21726 wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
21727 wine_fn_config_makefile dlls/rsabase enable_rsabase
21728 wine_fn_config_makefile dlls/rsaenh enable_rsaenh
21729 wine_fn_config_makefile dlls/rsaenh/tests enable_tests
21730 wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
21731 wine_fn_config_makefile dlls/rtutils enable_rtutils
21732 wine_fn_config_makefile dlls/rtworkq enable_rtworkq
21733 wine_fn_config_makefile dlls/rtworkq/tests enable_tests
21734 wine_fn_config_makefile dlls/samlib enable_samlib
21735 wine_fn_config_makefile dlls/sane.ds enable_sane_ds
21736 wine_fn_config_makefile dlls/sapi enable_sapi
21737 wine_fn_config_makefile dlls/sapi/tests enable_tests
21738 wine_fn_config_makefile dlls/sas enable_sas
21739 wine_fn_config_makefile dlls/scarddlg enable_scarddlg
21740 wine_fn_config_makefile dlls/scardsvr enable_scardsvr
21741 wine_fn_config_makefile dlls/sccbase enable_sccbase
21742 wine_fn_config_makefile dlls/schannel enable_schannel
21743 wine_fn_config_makefile dlls/schannel/tests enable_tests
21744 wine_fn_config_makefile dlls/schedsvc enable_schedsvc
21745 wine_fn_config_makefile dlls/schedsvc/tests enable_tests
21746 wine_fn_config_makefile dlls/scrobj enable_scrobj
21747 wine_fn_config_makefile dlls/scrobj/tests enable_tests
21748 wine_fn_config_makefile dlls/scrrun enable_scrrun
21749 wine_fn_config_makefile dlls/scrrun/tests enable_tests
21750 wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
21751 wine_fn_config_makefile dlls/sechost enable_sechost
21752 wine_fn_config_makefile dlls/secur32 enable_secur32
21753 wine_fn_config_makefile dlls/secur32/tests enable_tests
21754 wine_fn_config_makefile dlls/security enable_security
21755 wine_fn_config_makefile dlls/sensapi enable_sensapi
21756 wine_fn_config_makefile dlls/serialui enable_serialui
21757 wine_fn_config_makefile dlls/serialui/tests enable_tests
21758 wine_fn_config_makefile dlls/setupapi enable_setupapi
21759 wine_fn_config_makefile dlls/setupapi/tests enable_tests
21760 wine_fn_config_makefile dlls/setupx.dll16 enable_win16
21761 wine_fn_config_makefile dlls/sfc enable_sfc
21762 wine_fn_config_makefile dlls/sfc_os enable_sfc_os
21763 wine_fn_config_makefile dlls/shcore enable_shcore
21764 wine_fn_config_makefile dlls/shcore/tests enable_tests
21765 wine_fn_config_makefile dlls/shdoclc enable_shdoclc
21766 wine_fn_config_makefile dlls/shdocvw enable_shdocvw
21767 wine_fn_config_makefile dlls/shdocvw/tests enable_tests
21768 wine_fn_config_makefile dlls/shell.dll16 enable_win16
21769 wine_fn_config_makefile dlls/shell32 enable_shell32
21770 wine_fn_config_makefile dlls/shell32/tests enable_tests
21771 wine_fn_config_makefile dlls/shfolder enable_shfolder
21772 wine_fn_config_makefile dlls/shlwapi enable_shlwapi
21773 wine_fn_config_makefile dlls/shlwapi/tests enable_tests
21774 wine_fn_config_makefile dlls/slbcsp enable_slbcsp
21775 wine_fn_config_makefile dlls/slc enable_slc
21776 wine_fn_config_makefile dlls/slc/tests enable_tests
21777 wine_fn_config_makefile dlls/snmpapi enable_snmpapi
21778 wine_fn_config_makefile dlls/snmpapi/tests enable_tests
21779 wine_fn_config_makefile dlls/softpub enable_softpub
21780 wine_fn_config_makefile dlls/sound.drv16 enable_win16
21781 wine_fn_config_makefile dlls/spoolss enable_spoolss
21782 wine_fn_config_makefile dlls/spoolss/tests enable_tests
21783 wine_fn_config_makefile dlls/sppc enable_sppc
21784 wine_fn_config_makefile dlls/srclient enable_srclient
21785 wine_fn_config_makefile dlls/srvcli enable_srvcli
21786 wine_fn_config_makefile dlls/sspicli enable_sspicli
21787 wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
21788 wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
21789 wine_fn_config_makefile dlls/sti enable_sti
21790 wine_fn_config_makefile dlls/sti/tests enable_tests
21791 wine_fn_config_makefile dlls/storage.dll16 enable_win16
21792 wine_fn_config_makefile dlls/stress.dll16 enable_win16
21793 wine_fn_config_makefile dlls/strmdll enable_strmdll
21794 wine_fn_config_makefile dlls/svrapi enable_svrapi
21795 wine_fn_config_makefile dlls/sxs enable_sxs
21796 wine_fn_config_makefile dlls/sxs/tests enable_tests
21797 wine_fn_config_makefile dlls/system.drv16 enable_win16
21798 wine_fn_config_makefile dlls/t2embed enable_t2embed
21799 wine_fn_config_makefile dlls/t2embed/tests enable_tests
21800 wine_fn_config_makefile dlls/tapi32 enable_tapi32
21801 wine_fn_config_makefile dlls/tapi32/tests enable_tests
21802 wine_fn_config_makefile dlls/taskschd enable_taskschd
21803 wine_fn_config_makefile dlls/taskschd/tests enable_tests
21804 wine_fn_config_makefile dlls/tbs enable_tbs
21805 wine_fn_config_makefile dlls/tdh enable_tdh
21806 wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
21807 wine_fn_config_makefile dlls/threadpoolwinrt enable_threadpoolwinrt
21808 wine_fn_config_makefile dlls/threadpoolwinrt/tests enable_tests
21809 wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
21810 wine_fn_config_makefile dlls/traffic enable_traffic
21811 wine_fn_config_makefile dlls/twain.dll16 enable_win16
21812 wine_fn_config_makefile dlls/twain_32 enable_twain_32
21813 wine_fn_config_makefile dlls/twain_32/tests enable_tests
21814 wine_fn_config_makefile dlls/twinapi.appcore enable_twinapi_appcore
21815 wine_fn_config_makefile dlls/typelib.dll16 enable_win16
21816 wine_fn_config_makefile dlls/tzres enable_tzres
21817 wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
21818 wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
21819 wine_fn_config_makefile dlls/uianimation enable_uianimation
21820 wine_fn_config_makefile dlls/uianimation/tests enable_tests
21821 wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
21822 wine_fn_config_makefile dlls/uiautomationcore/tests enable_tests
21823 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
21824 wine_fn_config_makefile dlls/unicows enable_unicows
21825 wine_fn_config_makefile dlls/updspapi enable_updspapi
21826 wine_fn_config_makefile dlls/url enable_url
21827 wine_fn_config_makefile dlls/urlmon enable_urlmon
21828 wine_fn_config_makefile dlls/urlmon/tests enable_tests
21829 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
21830 wine_fn_config_makefile dlls/user.exe16 enable_win16
21831 wine_fn_config_makefile dlls/user32 enable_user32
21832 wine_fn_config_makefile dlls/user32/tests enable_tests
21833 wine_fn_config_makefile dlls/userenv enable_userenv
21834 wine_fn_config_makefile dlls/userenv/tests enable_tests
21835 wine_fn_config_makefile dlls/usp10 enable_usp10
21836 wine_fn_config_makefile dlls/usp10/tests enable_tests
21837 wine_fn_config_makefile dlls/utildll enable_utildll
21838 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
21839 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
21840 wine_fn_config_makefile dlls/vbscript enable_vbscript
21841 wine_fn_config_makefile dlls/vbscript/tests enable_tests
21842 wine_fn_config_makefile dlls/vcomp enable_vcomp
21843 wine_fn_config_makefile dlls/vcomp/tests enable_tests
21844 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
21845 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
21846 wine_fn_config_makefile dlls/vcomp110/tests enable_tests
21847 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
21848 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
21849 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
21850 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
21851 wine_fn_config_makefile dlls/vcruntime140_1 enable_vcruntime140_1
21852 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
21853 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
21854 wine_fn_config_makefile dlls/ver.dll16 enable_win16
21855 wine_fn_config_makefile dlls/version enable_version
21856 wine_fn_config_makefile dlls/version/tests enable_tests
21857 wine_fn_config_makefile dlls/vga enable_vga
21858 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
21859 wine_fn_config_makefile dlls/virtdisk/tests enable_tests
21860 wine_fn_config_makefile dlls/vmm.vxd enable_win16
21861 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
21862 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
21863 wine_fn_config_makefile dlls/vssapi enable_vssapi
21864 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
21865 wine_fn_config_makefile dlls/vulkan-1 enable_vulkan_1
21866 wine_fn_config_makefile dlls/vulkan-1/tests enable_tests
21867 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
21868 wine_fn_config_makefile dlls/w32skrnl enable_win16
21869 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
21870 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
21871 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
21872 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
21873 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
21874 wine_fn_config_makefile dlls/wdscore enable_wdscore
21875 wine_fn_config_makefile dlls/webservices enable_webservices
21876 wine_fn_config_makefile dlls/webservices/tests enable_tests
21877 wine_fn_config_makefile dlls/websocket enable_websocket
21878 wine_fn_config_makefile dlls/wer enable_wer
21879 wine_fn_config_makefile dlls/wer/tests enable_tests
21880 wine_fn_config_makefile dlls/wevtapi enable_wevtapi
21881 wine_fn_config_makefile dlls/wevtapi/tests enable_tests
21882 wine_fn_config_makefile dlls/wevtsvc enable_wevtsvc
21883 wine_fn_config_makefile dlls/wiaservc enable_wiaservc
21884 wine_fn_config_makefile dlls/wiaservc/tests enable_tests
21885 wine_fn_config_makefile dlls/wimgapi enable_wimgapi
21886 wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
21887 wine_fn_config_makefile dlls/win32u enable_win32u
21888 wine_fn_config_makefile dlls/win32u/tests enable_tests
21889 wine_fn_config_makefile dlls/win87em.dll16 enable_win16
21890 wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
21891 wine_fn_config_makefile dlls/windebug.dll16 enable_win16
21892 wine_fn_config_makefile dlls/windows.devices.bluetooth enable_windows_devices_bluetooth
21893 wine_fn_config_makefile dlls/windows.devices.bluetooth/tests enable_tests
21894 wine_fn_config_makefile dlls/windows.devices.enumeration enable_windows_devices_enumeration
21895 wine_fn_config_makefile dlls/windows.devices.enumeration/tests enable_tests
21896 wine_fn_config_makefile dlls/windows.devices.usb enable_windows_devices_usb
21897 wine_fn_config_makefile dlls/windows.devices.usb/tests enable_tests
21898 wine_fn_config_makefile dlls/windows.gaming.input enable_windows_gaming_input
21899 wine_fn_config_makefile dlls/windows.gaming.input/tests enable_tests
21900 wine_fn_config_makefile dlls/windows.gaming.ui.gamebar enable_windows_gaming_ui_gamebar
21901 wine_fn_config_makefile dlls/windows.gaming.ui.gamebar/tests enable_tests
21902 wine_fn_config_makefile dlls/windows.globalization enable_windows_globalization
21903 wine_fn_config_makefile dlls/windows.globalization/tests enable_tests
21904 wine_fn_config_makefile dlls/windows.media.devices enable_windows_media_devices
21905 wine_fn_config_makefile dlls/windows.media.devices/tests enable_tests
21906 wine_fn_config_makefile dlls/windows.media.speech enable_windows_media_speech
21907 wine_fn_config_makefile dlls/windows.media.speech/tests enable_tests
21908 wine_fn_config_makefile dlls/windows.media enable_windows_media
21909 wine_fn_config_makefile dlls/windows.media/tests enable_tests
21910 wine_fn_config_makefile dlls/windows.networking.hostname enable_windows_networking_hostname
21911 wine_fn_config_makefile dlls/windows.networking.hostname/tests enable_tests
21912 wine_fn_config_makefile dlls/windows.networking enable_windows_networking
21913 wine_fn_config_makefile dlls/windows.perception.stub enable_windows_perception_stub
21914 wine_fn_config_makefile dlls/windows.perception.stub/tests enable_tests
21915 wine_fn_config_makefile dlls/windows.system.profile.systemmanufacturers enable_windows_system_profile_systemmanufacturers
21916 wine_fn_config_makefile dlls/windows.system.profile.systemmanufacturers/tests enable_tests
21917 wine_fn_config_makefile dlls/windows.ui enable_windows_ui
21918 wine_fn_config_makefile dlls/windows.ui/tests enable_tests
21919 wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
21920 wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
21921 wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
21922 wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
21923 wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
21924 wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
21925 wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
21926 wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
21927 wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
21928 wine_fn_config_makefile dlls/wined3d enable_wined3d
21929 wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
21930 wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
21931 wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
21932 wine_fn_config_makefile dlls/winemapi enable_winemapi
21933 wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
21934 wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
21935 wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
21936 wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
21937 wine_fn_config_makefile dlls/wineusb.sys enable_wineusb_sys
21938 wine_fn_config_makefile dlls/winevulkan enable_winevulkan
21939 wine_fn_config_makefile dlls/winewayland.drv enable_winewayland_drv
21940 wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
21941 wine_fn_config_makefile dlls/winexinput.sys enable_winexinput_sys
21942 wine_fn_config_makefile dlls/wing.dll16 enable_win16
21943 wine_fn_config_makefile dlls/wing32 enable_wing32
21944 wine_fn_config_makefile dlls/winhttp enable_winhttp
21945 wine_fn_config_makefile dlls/winhttp/tests enable_tests
21946 wine_fn_config_makefile dlls/wininet enable_wininet
21947 wine_fn_config_makefile dlls/wininet/tests enable_tests
21948 wine_fn_config_makefile dlls/winmm enable_winmm
21949 wine_fn_config_makefile dlls/winmm/tests enable_tests
21950 wine_fn_config_makefile dlls/winnls.dll16 enable_win16
21951 wine_fn_config_makefile dlls/winnls32 enable_winnls32
21952 wine_fn_config_makefile dlls/winprint enable_winprint
21953 wine_fn_config_makefile dlls/winscard enable_winscard
21954 wine_fn_config_makefile dlls/winscard/tests enable_tests
21955 wine_fn_config_makefile dlls/winsock.dll16 enable_win16
21956 wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
21957 wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
21958 wine_fn_config_makefile dlls/winsta enable_winsta
21959 wine_fn_config_makefile dlls/wintab.dll16 enable_win16
21960 wine_fn_config_makefile dlls/wintab32 enable_wintab32
21961 wine_fn_config_makefile dlls/wintab32/tests enable_tests
21962 wine_fn_config_makefile dlls/wintrust enable_wintrust
21963 wine_fn_config_makefile dlls/wintrust/tests enable_tests
21964 wine_fn_config_makefile dlls/wintypes enable_wintypes
21965 wine_fn_config_makefile dlls/wintypes/tests enable_tests
21966 wine_fn_config_makefile dlls/winusb enable_winusb
21967 wine_fn_config_makefile dlls/wlanapi enable_wlanapi
21968 wine_fn_config_makefile dlls/wlanapi/tests enable_tests
21969 wine_fn_config_makefile dlls/wlanui enable_wlanui
21970 wine_fn_config_makefile dlls/wldap32 enable_wldap32
21971 wine_fn_config_makefile dlls/wldap32/tests enable_tests
21972 wine_fn_config_makefile dlls/wmasf enable_wmasf
21973 wine_fn_config_makefile dlls/wmi enable_wmi
21974 wine_fn_config_makefile dlls/wmiutils enable_wmiutils
21975 wine_fn_config_makefile dlls/wmiutils/tests enable_tests
21976 wine_fn_config_makefile dlls/wmp enable_wmp
21977 wine_fn_config_makefile dlls/wmp/tests enable_tests
21978 wine_fn_config_makefile dlls/wmphoto enable_wmphoto
21979 wine_fn_config_makefile dlls/wmvcore enable_wmvcore
21980 wine_fn_config_makefile dlls/wmvcore/tests enable_tests
21981 wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
21982 wine_fn_config_makefile dlls/wofutil enable_wofutil
21983 wine_fn_config_makefile dlls/wow32 enable_win16
21984 wine_fn_config_makefile dlls/wow64 enable_wow64
21985 wine_fn_config_makefile dlls/wow64cpu enable_wow64cpu
21986 wine_fn_config_makefile dlls/wow64win enable_wow64win
21987 wine_fn_config_makefile dlls/wpc enable_wpc
21988 wine_fn_config_makefile dlls/wpc/tests enable_tests
21989 wine_fn_config_makefile dlls/wpcap enable_wpcap
21990 wine_fn_config_makefile dlls/wpcap/tests enable_tests
21991 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
21992 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
21993 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
21994 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
21995 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
21996 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
21997 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
21998 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
21999 wine_fn_config_makefile dlls/wsock32 enable_wsock32
22000 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
22001 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
22002 wine_fn_config_makefile dlls/wuapi enable_wuapi
22003 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
22004 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
22005 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
22006 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
22007 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
22008 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
22009 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
22010 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
22011 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
22012 wine_fn_config_makefile dlls/xactengine2_0 enable_xactengine2_0
22013 wine_fn_config_makefile dlls/xactengine2_4 enable_xactengine2_4
22014 wine_fn_config_makefile dlls/xactengine2_7 enable_xactengine2_7
22015 wine_fn_config_makefile dlls/xactengine2_9 enable_xactengine2_9
22016 wine_fn_config_makefile dlls/xactengine3_0 enable_xactengine3_0
22017 wine_fn_config_makefile dlls/xactengine3_1 enable_xactengine3_1
22018 wine_fn_config_makefile dlls/xactengine3_2 enable_xactengine3_2
22019 wine_fn_config_makefile dlls/xactengine3_3 enable_xactengine3_3
22020 wine_fn_config_makefile dlls/xactengine3_4 enable_xactengine3_4
22021 wine_fn_config_makefile dlls/xactengine3_5 enable_xactengine3_5
22022 wine_fn_config_makefile dlls/xactengine3_6 enable_xactengine3_6
22023 wine_fn_config_makefile dlls/xactengine3_7 enable_xactengine3_7
22024 wine_fn_config_makefile dlls/xactengine3_7/tests enable_tests
22025 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
22026 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
22027 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
22028 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
22029 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
22030 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
22031 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
22032 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
22033 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
22034 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
22035 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
22036 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
22037 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
22038 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
22039 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
22040 wine_fn_config_makefile dlls/xaudio2_8/tests enable_tests
22041 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
22042 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
22043 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
22044 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
22045 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
22046 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
22047 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
22048 wine_fn_config_makefile dlls/xinputuap enable_xinputuap
22049 wine_fn_config_makefile dlls/xmllite enable_xmllite
22050 wine_fn_config_makefile dlls/xmllite/tests enable_tests
22051 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
22052 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
22053 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
22054 wine_fn_config_makefile fonts enable_fonts
22055 wine_fn_config_makefile include enable_include
22056 wine_fn_config_makefile libs/adsiid enable_adsiid
22057 wine_fn_config_makefile libs/dmoguids enable_dmoguids
22058 wine_fn_config_makefile libs/dxerr8 enable_dxerr8
22059 wine_fn_config_makefile libs/dxerr9 enable_dxerr9
22060 wine_fn_config_makefile libs/dxguid enable_dxguid
22061 wine_fn_config_makefile libs/faudio enable_faudio
22062 wine_fn_config_makefile libs/gsm enable_gsm
22063 wine_fn_config_makefile libs/jpeg enable_jpeg
22064 wine_fn_config_makefile libs/jxr enable_jxr
22065 wine_fn_config_makefile libs/lcms2 enable_lcms2
22066 wine_fn_config_makefile libs/ldap enable_ldap
22067 wine_fn_config_makefile libs/mfuuid enable_mfuuid
22068 wine_fn_config_makefile libs/mpg123 enable_mpg123
22069 wine_fn_config_makefile libs/musl enable_musl
22070 wine_fn_config_makefile libs/png enable_png
22071 wine_fn_config_makefile libs/strmbase enable_strmbase
22072 wine_fn_config_makefile libs/strmiids enable_strmiids
22073 wine_fn_config_makefile libs/tiff enable_tiff
22074 wine_fn_config_makefile libs/uuid enable_uuid
22075 wine_fn_config_makefile libs/vkd3d enable_vkd3d
22076 wine_fn_config_makefile libs/wbemuuid enable_wbemuuid
22077 wine_fn_config_makefile libs/wmcodecdspuuid enable_wmcodecdspuuid
22078 wine_fn_config_makefile libs/xml2 enable_xml2
22079 wine_fn_config_makefile libs/xslt enable_xslt
22080 wine_fn_config_makefile libs/zlib enable_zlib
22081 wine_fn_config_makefile libs/zydis enable_zydis
22082 wine_fn_config_makefile loader enable_loader
22083 wine_fn_config_makefile nls enable_nls
22084 wine_fn_config_makefile po enable_po
22085 wine_fn_config_makefile programs/arp enable_arp
22086 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
22087 wine_fn_config_makefile programs/attrib enable_attrib
22088 wine_fn_config_makefile programs/cabarc enable_cabarc
22089 wine_fn_config_makefile programs/cacls enable_cacls
22090 wine_fn_config_makefile programs/certutil enable_certutil
22091 wine_fn_config_makefile programs/chcp.com enable_chcp_com
22092 wine_fn_config_makefile programs/clock enable_clock
22093 wine_fn_config_makefile programs/cmd enable_cmd
22094 wine_fn_config_makefile programs/cmd/tests enable_tests
22095 wine_fn_config_makefile programs/conhost enable_conhost
22096 wine_fn_config_makefile programs/conhost/tests enable_tests
22097 wine_fn_config_makefile programs/control enable_control
22098 wine_fn_config_makefile programs/cscript enable_cscript
22099 wine_fn_config_makefile programs/dism enable_dism
22100 wine_fn_config_makefile programs/dllhost enable_dllhost
22101 wine_fn_config_makefile programs/dplaysvr enable_dplaysvr
22102 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
22103 wine_fn_config_makefile programs/dpvsetup enable_dpvsetup
22104 wine_fn_config_makefile programs/dxdiag enable_dxdiag
22105 wine_fn_config_makefile programs/eject enable_eject
22106 wine_fn_config_makefile programs/expand enable_expand
22107 wine_fn_config_makefile programs/explorer enable_explorer
22108 wine_fn_config_makefile programs/explorer/tests enable_tests
22109 wine_fn_config_makefile programs/extrac32 enable_extrac32
22110 wine_fn_config_makefile programs/fc enable_fc
22111 wine_fn_config_makefile programs/find enable_find
22112 wine_fn_config_makefile programs/find/tests enable_tests
22113 wine_fn_config_makefile programs/findstr enable_findstr
22114 wine_fn_config_makefile programs/findstr/tests enable_tests
22115 wine_fn_config_makefile programs/fsutil enable_fsutil
22116 wine_fn_config_makefile programs/fsutil/tests enable_tests
22117 wine_fn_config_makefile programs/hh enable_hh
22118 wine_fn_config_makefile programs/hostname enable_hostname
22119 wine_fn_config_makefile programs/icacls enable_icacls
22120 wine_fn_config_makefile programs/icinfo enable_icinfo
22121 wine_fn_config_makefile programs/iexplore enable_iexplore
22122 wine_fn_config_makefile programs/ipconfig enable_ipconfig
22123 wine_fn_config_makefile programs/klist enable_klist
22124 wine_fn_config_makefile programs/lodctr enable_lodctr
22125 wine_fn_config_makefile programs/mofcomp enable_mofcomp
22126 wine_fn_config_makefile programs/mshta enable_mshta
22127 wine_fn_config_makefile programs/msidb enable_msidb
22128 wine_fn_config_makefile programs/msiexec enable_msiexec
22129 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
22130 wine_fn_config_makefile programs/net enable_net
22131 wine_fn_config_makefile programs/netsh enable_netsh
22132 wine_fn_config_makefile programs/netstat enable_netstat
22133 wine_fn_config_makefile programs/ngen enable_ngen
22134 wine_fn_config_makefile programs/notepad enable_notepad
22135 wine_fn_config_makefile programs/oleview enable_oleview
22136 wine_fn_config_makefile programs/ping enable_ping
22137 wine_fn_config_makefile programs/plugplay enable_plugplay
22138 wine_fn_config_makefile programs/pnputil enable_pnputil
22139 wine_fn_config_makefile programs/powershell enable_powershell
22140 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
22141 wine_fn_config_makefile programs/progman enable_progman
22142 wine_fn_config_makefile programs/reg enable_reg
22143 wine_fn_config_makefile programs/reg/tests enable_tests
22144 wine_fn_config_makefile programs/regasm enable_regasm
22145 wine_fn_config_makefile programs/regedit enable_regedit
22146 wine_fn_config_makefile programs/regedit/tests enable_tests
22147 wine_fn_config_makefile programs/regini enable_regini
22148 wine_fn_config_makefile programs/regsvcs enable_regsvcs
22149 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
22150 wine_fn_config_makefile programs/robocopy enable_robocopy
22151 wine_fn_config_makefile programs/rpcss enable_rpcss
22152 wine_fn_config_makefile programs/rundll.exe16 enable_win16
22153 wine_fn_config_makefile programs/rundll32 enable_rundll32
22154 wine_fn_config_makefile programs/sc enable_sc
22155 wine_fn_config_makefile programs/sc/tests enable_tests
22156 wine_fn_config_makefile programs/schtasks enable_schtasks
22157 wine_fn_config_makefile programs/schtasks/tests enable_tests
22158 wine_fn_config_makefile programs/sdbinst enable_sdbinst
22159 wine_fn_config_makefile programs/secedit enable_secedit
22160 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
22161 wine_fn_config_makefile programs/services enable_services
22162 wine_fn_config_makefile programs/services/tests enable_tests
22163 wine_fn_config_makefile programs/setx enable_setx
22164 wine_fn_config_makefile programs/shutdown enable_shutdown
22165 wine_fn_config_makefile programs/spoolsv enable_spoolsv
22166 wine_fn_config_makefile programs/start enable_start
22167 wine_fn_config_makefile programs/subst enable_subst
22168 wine_fn_config_makefile programs/svchost enable_svchost
22169 wine_fn_config_makefile programs/systeminfo enable_systeminfo
22170 wine_fn_config_makefile programs/taskkill enable_taskkill
22171 wine_fn_config_makefile programs/tasklist enable_tasklist
22172 wine_fn_config_makefile programs/tasklist/tests enable_tests
22173 wine_fn_config_makefile programs/taskmgr enable_taskmgr
22174 wine_fn_config_makefile programs/termsv enable_termsv
22175 wine_fn_config_makefile programs/uninstaller enable_uninstaller
22176 wine_fn_config_makefile programs/unlodctr enable_unlodctr
22177 wine_fn_config_makefile programs/view enable_view
22178 wine_fn_config_makefile programs/wevtutil enable_wevtutil
22179 wine_fn_config_makefile programs/where enable_where
22180 wine_fn_config_makefile programs/whoami enable_whoami
22181 wine_fn_config_makefile programs/wineboot enable_wineboot
22182 wine_fn_config_makefile programs/winebrowser enable_winebrowser
22183 wine_fn_config_makefile programs/winecfg enable_winecfg
22184 wine_fn_config_makefile programs/wineconsole enable_wineconsole
22185 wine_fn_config_makefile programs/winedbg enable_winedbg
22186 wine_fn_config_makefile programs/winedevice enable_winedevice
22187 wine_fn_config_makefile programs/winefile enable_winefile
22188 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
22189 wine_fn_config_makefile programs/winemine enable_winemine
22190 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
22191 wine_fn_config_makefile programs/winepath enable_winepath
22192 wine_fn_config_makefile programs/winetest enable_winetest
22193 wine_fn_config_makefile programs/winevdm enable_win16
22194 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
22195 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
22196 wine_fn_config_makefile programs/winmgmt enable_winmgmt
22197 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
22198 wine_fn_config_makefile programs/winver enable_winver
22199 wine_fn_config_makefile programs/wmic enable_wmic
22200 wine_fn_config_makefile programs/wmplayer enable_wmplayer
22201 wine_fn_config_makefile programs/wordpad enable_wordpad
22202 wine_fn_config_makefile programs/write enable_write
22203 wine_fn_config_makefile programs/wscript enable_wscript
22204 wine_fn_config_makefile programs/wscript/tests enable_tests
22205 wine_fn_config_makefile programs/wuauserv enable_wuauserv
22206 wine_fn_config_makefile programs/wusa enable_wusa
22207 wine_fn_config_makefile programs/xcopy enable_xcopy
22208 wine_fn_config_makefile programs/xcopy/tests enable_tests
22209 wine_fn_config_makefile server enable_server
22210 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
22211 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
22212 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
22213 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
22214 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
22215 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
22216 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
22217 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
22218 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
22221 as_fn_append CONFIGURE_TARGETS " TAGS"
22222 as_fn_append CONFIGURE_TARGETS " tags"
22223 as_fn_append CONFIGURE_TARGETS " autom4te.cache"
22224 as_fn_append CONFIGURE_TARGETS " config.log"
22225 as_fn_append CONFIGURE_TARGETS " config.status"
22226 as_fn_append CONFIGURE_TARGETS " include/config.h"
22227 as_fn_append CONFIGURE_TARGETS " include/stamp-h"
22228 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS " loader/wine"
22230 if test "x$enable_tools" != xno
22231 then
22232 as_fn_append CONFIGURE_TARGETS " tools/makedep$ac_exeext"
22233 ac_config_commands="$ac_config_commands tools/makedep"
22237 ac_config_commands="$ac_config_commands Makefile"
22241 SHELL=/bin/sh
22244 as_fn_append wine_rules "
22245 all: wine
22246 @echo \"Wine build complete.\"
22247 .INIT: Makefile
22248 .MAKEFILEDEPS:
22249 all: Makefile
22250 Makefile: config.status \$(MAKEDEP)
22251 @./config.status Makefile
22252 depend: \$(MAKEDEP)
22253 \$(MAKEDEP)$makedep_flags"
22256 as_fn_append wine_rules "
22257 config.status: ${wine_srcdir}configure
22258 @./config.status --recheck
22259 include/config.h: include/stamp-h
22260 include/stamp-h: ${wine_srcdir}include/config.h.in config.status
22261 @./config.status include/config.h include/stamp-h"
22263 if test "x$enable_maintainer_mode" = xyes
22264 then
22265 as_fn_append wine_rules "
22266 configure: configure.ac aclocal.m4
22267 autoconf --warnings=all
22268 include/config.h.in: include/stamp-h.in
22269 include/stamp-h.in: configure.ac aclocal.m4
22270 autoheader --warnings=all
22271 @echo timestamp > \$@"
22274 if test "x$enable_tools" != xno
22275 then
22276 as_fn_append wine_rules "
22277 tools/makedep$ac_exeext: ${wine_srcdir}tools/makedep.c include/config.h config.status
22278 @./config.status tools/makedep
22279 Makefile: tools/makedep$ac_exeext"
22280 else
22281 as_fn_append wine_rules "
22282 \$(MAKEDEP):
22283 @echo \"You need to run make in $toolsdir first\" && false"
22287 if test -n "$with_wine64"
22288 then
22289 case "$with_wine64" in
22290 /*) reldir="" ;;
22291 *) reldir="../" ;;
22292 esac
22293 rm -f fonts server 2>/dev/null
22294 as_fn_append wine_rules "
22295 all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
22296 loader/wine64 loader/wine64-preloader:
22297 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
22298 $with_wine64/loader/wine:
22299 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
22300 $with_wine64/loader/wine-preloader:
22301 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
22302 clean::
22303 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
22304 else
22305 TOP_INSTALL_DEV="$TOP_INSTALL_DEV include"
22306 TOP_INSTALL_LIB="$TOP_INSTALL_LIB \
22307 fonts \
22308 loader/wine.inf \
22309 nls \
22310 programs/msidb/msidb \
22311 programs/msiexec/msiexec \
22312 programs/notepad/notepad \
22313 programs/regedit/regedit \
22314 programs/regsvr32/regsvr32 \
22315 programs/wineboot/wineboot \
22316 programs/winecfg/winecfg \
22317 programs/wineconsole/wineconsole \
22318 programs/winedbg/winedbg \
22319 programs/winefile/winefile \
22320 programs/winemine/winemine \
22321 programs/winepath/winepath \
22322 server/wineserver"
22324 case $host_os in
22325 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
22326 *) TOP_INSTALL_LIB="$TOP_INSTALL_LIB loader/wine.desktop" ;;
22327 esac
22331 as_fn_append wine_rules "
22332 distclean:: clean
22333 rm -rf autom4te.cache
22334 maintainer-clean::
22335 rm -f configure include/config.h.in"
22338 as_fn_append wine_rules "
22339 dlls/ntdll/unix/version.c: dummy
22340 @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)
22341 programs/winetest/build.rc: dummy
22342 @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)
22343 programs/winetest/build.nfo:
22344 @-\$(CC) -v 2>\$@
22345 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
22346 cd dlls/wineandroid.drv && gradle -q -Psrcdir=$srcdir assembleDebug
22347 mv dlls/wineandroid.drv/build/outputs/apk/wine-debug.apk \$@"
22350 TAGSFLAGS="--langmap='c:+.idl.l.rh,make:(Make*.in)'"
22352 as_fn_append wine_rules "
22353 TAGS etags:
22354 rm -f TAGS
22355 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs etags -a \$(TAGSFLAGS)
22356 tags ctags:
22357 rm -f tags
22358 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs ctags -a \$(TAGSFLAGS)
22359 dummy:
22360 .PHONY: depend dummy install-manpages"
22362 printf "%s\n" " done" >&6
22363 cat >confcache <<\_ACEOF
22364 # This file is a shell script that caches the results of configure
22365 # tests run on this system so they can be shared between configure
22366 # scripts and configure runs, see configure's option --config-cache.
22367 # It is not useful on other systems. If it contains results you don't
22368 # want to keep, you may remove or edit it.
22370 # config.status only pays attention to the cache file if you give it
22371 # the --recheck option to rerun configure.
22373 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22374 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22375 # following values.
22377 _ACEOF
22379 # The following way of writing the cache mishandles newlines in values,
22380 # but we know of no workaround that is simple, portable, and efficient.
22381 # So, we kill variables containing newlines.
22382 # Ultrix sh set writes to stderr and can't be redirected directly,
22383 # and sets the high bit in the cache file unless we assign to the vars.
22385 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
22386 eval ac_val=\$$ac_var
22387 case $ac_val in #(
22388 *${as_nl}*)
22389 case $ac_var in #(
22390 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
22391 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
22392 esac
22393 case $ac_var in #(
22394 _ | IFS | as_nl) ;; #(
22395 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
22396 *) { eval $ac_var=; unset $ac_var;} ;;
22397 esac ;;
22398 esac
22399 done
22401 (set) 2>&1 |
22402 case $as_nl`(ac_space=' '; set) 2>&1` in #(
22403 *${as_nl}ac_space=\ *)
22404 # `set' does not quote correctly, so add quotes: double-quote
22405 # substitution turns \\\\ into \\, and sed turns \\ into \.
22406 sed -n \
22407 "s/'/'\\\\''/g;
22408 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22409 ;; #(
22411 # `set' quotes correctly as required by POSIX, so do not add quotes.
22412 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22414 esac |
22415 sort
22417 sed '
22418 /^ac_cv_env_/b end
22419 t clear
22420 :clear
22421 s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
22422 t end
22423 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22424 :end' >>confcache
22425 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
22426 if test -w "$cache_file"; then
22427 if test "x$cache_file" != "x/dev/null"; then
22428 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
22429 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
22430 if test ! -f "$cache_file" || test -h "$cache_file"; then
22431 cat confcache >"$cache_file"
22432 else
22433 case $cache_file in #(
22434 */* | ?:*)
22435 mv -f confcache "$cache_file"$$ &&
22436 mv -f "$cache_file"$$ "$cache_file" ;; #(
22438 mv -f confcache "$cache_file" ;;
22439 esac
22442 else
22443 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
22444 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
22447 rm -f confcache
22449 test "x$prefix" = xNONE && prefix=$ac_default_prefix
22450 # Let make expand exec_prefix.
22451 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
22453 DEFS=-DHAVE_CONFIG_H
22455 ac_libobjs=
22456 ac_ltlibobjs=
22458 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
22459 # 1. Remove the extension, and $U if already installed.
22460 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
22461 ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
22462 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
22463 # will be set to the directory where LIBOBJS objects are built.
22464 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
22465 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
22466 done
22467 LIBOBJS=$ac_libobjs
22469 LTLIBOBJS=$ac_ltlibobjs
22473 : "${CONFIG_STATUS=./config.status}"
22474 ac_write_fail=0
22475 ac_clean_files_save=$ac_clean_files
22476 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
22477 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
22478 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
22479 as_write_fail=0
22480 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
22481 #! $SHELL
22482 # Generated by $as_me.
22483 # Run this file to recreate the current configuration.
22484 # Compiler output produced by configure, useful for debugging
22485 # configure, is in config.log if it exists.
22487 debug=false
22488 ac_cs_recheck=false
22489 ac_cs_silent=false
22491 SHELL=\${CONFIG_SHELL-$SHELL}
22492 export SHELL
22493 _ASEOF
22494 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
22495 ## -------------------- ##
22496 ## M4sh Initialization. ##
22497 ## -------------------- ##
22499 # Be more Bourne compatible
22500 DUALCASE=1; export DUALCASE # for MKS sh
22501 as_nop=:
22502 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
22503 then :
22504 emulate sh
22505 NULLCMD=:
22506 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
22507 # is contrary to our usage. Disable this feature.
22508 alias -g '${1+"$@"}'='"$@"'
22509 setopt NO_GLOB_SUBST
22510 else $as_nop
22511 case `(set -o) 2>/dev/null` in #(
22512 *posix*) :
22513 set -o posix ;; #(
22514 *) :
22516 esac
22521 # Reset variables that may have inherited troublesome values from
22522 # the environment.
22524 # IFS needs to be set, to space, tab, and newline, in precisely that order.
22525 # (If _AS_PATH_WALK were called with IFS unset, it would have the
22526 # side effect of setting IFS to empty, thus disabling word splitting.)
22527 # Quoting is to prevent editors from complaining about space-tab.
22528 as_nl='
22530 export as_nl
22531 IFS=" "" $as_nl"
22533 PS1='$ '
22534 PS2='> '
22535 PS4='+ '
22537 # Ensure predictable behavior from utilities with locale-dependent output.
22538 LC_ALL=C
22539 export LC_ALL
22540 LANGUAGE=C
22541 export LANGUAGE
22543 # We cannot yet rely on "unset" to work, but we need these variables
22544 # to be unset--not just set to an empty or harmless value--now, to
22545 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
22546 # also avoids known problems related to "unset" and subshell syntax
22547 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
22548 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
22549 do eval test \${$as_var+y} \
22550 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
22551 done
22553 # Ensure that fds 0, 1, and 2 are open.
22554 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
22555 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
22556 if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
22558 # The user is always right.
22559 if ${PATH_SEPARATOR+false} :; then
22560 PATH_SEPARATOR=:
22561 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
22562 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
22563 PATH_SEPARATOR=';'
22568 # Find who we are. Look in the path if we contain no directory separator.
22569 as_myself=
22570 case $0 in #((
22571 *[\\/]* ) as_myself=$0 ;;
22572 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22573 for as_dir in $PATH
22575 IFS=$as_save_IFS
22576 case $as_dir in #(((
22577 '') as_dir=./ ;;
22578 */) ;;
22579 *) as_dir=$as_dir/ ;;
22580 esac
22581 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
22582 done
22583 IFS=$as_save_IFS
22586 esac
22587 # We did not find ourselves, most probably we were run as `sh COMMAND'
22588 # in which case we are not to be found in the path.
22589 if test "x$as_myself" = x; then
22590 as_myself=$0
22592 if test ! -f "$as_myself"; then
22593 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
22594 exit 1
22599 # as_fn_error STATUS ERROR [LINENO LOG_FD]
22600 # ----------------------------------------
22601 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
22602 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
22603 # script with STATUS, using 1 if that was 0.
22604 as_fn_error ()
22606 as_status=$1; test $as_status -eq 0 && as_status=1
22607 if test "$4"; then
22608 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
22609 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
22611 printf "%s\n" "$as_me: error: $2" >&2
22612 as_fn_exit $as_status
22613 } # as_fn_error
22617 # as_fn_set_status STATUS
22618 # -----------------------
22619 # Set $? to STATUS, without forking.
22620 as_fn_set_status ()
22622 return $1
22623 } # as_fn_set_status
22625 # as_fn_exit STATUS
22626 # -----------------
22627 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
22628 as_fn_exit ()
22630 set +e
22631 as_fn_set_status $1
22632 exit $1
22633 } # as_fn_exit
22635 # as_fn_unset VAR
22636 # ---------------
22637 # Portably unset VAR.
22638 as_fn_unset ()
22640 { eval $1=; unset $1;}
22642 as_unset=as_fn_unset
22644 # as_fn_append VAR VALUE
22645 # ----------------------
22646 # Append the text in VALUE to the end of the definition contained in VAR. Take
22647 # advantage of any shell optimizations that allow amortized linear growth over
22648 # repeated appends, instead of the typical quadratic growth present in naive
22649 # implementations.
22650 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
22651 then :
22652 eval 'as_fn_append ()
22654 eval $1+=\$2
22656 else $as_nop
22657 as_fn_append ()
22659 eval $1=\$$1\$2
22661 fi # as_fn_append
22663 # as_fn_arith ARG...
22664 # ------------------
22665 # Perform arithmetic evaluation on the ARGs, and store the result in the
22666 # global $as_val. Take advantage of shells that can avoid forks. The arguments
22667 # must be portable across $(()) and expr.
22668 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
22669 then :
22670 eval 'as_fn_arith ()
22672 as_val=$(( $* ))
22674 else $as_nop
22675 as_fn_arith ()
22677 as_val=`expr "$@" || test $? -eq 1`
22679 fi # as_fn_arith
22682 if expr a : '\(a\)' >/dev/null 2>&1 &&
22683 test "X`expr 00001 : '.*\(...\)'`" = X001; then
22684 as_expr=expr
22685 else
22686 as_expr=false
22689 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
22690 as_basename=basename
22691 else
22692 as_basename=false
22695 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
22696 as_dirname=dirname
22697 else
22698 as_dirname=false
22701 as_me=`$as_basename -- "$0" ||
22702 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22703 X"$0" : 'X\(//\)$' \| \
22704 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
22705 printf "%s\n" X/"$0" |
22706 sed '/^.*\/\([^/][^/]*\)\/*$/{
22707 s//\1/
22710 /^X\/\(\/\/\)$/{
22711 s//\1/
22714 /^X\/\(\/\).*/{
22715 s//\1/
22718 s/.*/./; q'`
22720 # Avoid depending upon Character Ranges.
22721 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
22722 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22723 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
22724 as_cr_digits='0123456789'
22725 as_cr_alnum=$as_cr_Letters$as_cr_digits
22728 # Determine whether it's possible to make 'echo' print without a newline.
22729 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
22730 # for compatibility with existing Makefiles.
22731 ECHO_C= ECHO_N= ECHO_T=
22732 case `echo -n x` in #(((((
22733 -n*)
22734 case `echo 'xy\c'` in
22735 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
22736 xy) ECHO_C='\c';;
22737 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
22738 ECHO_T=' ';;
22739 esac;;
22741 ECHO_N='-n';;
22742 esac
22744 # For backward compatibility with old third-party macros, we provide
22745 # the shell variables $as_echo and $as_echo_n. New code should use
22746 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
22747 as_echo='printf %s\n'
22748 as_echo_n='printf %s'
22750 rm -f conf$$ conf$$.exe conf$$.file
22751 if test -d conf$$.dir; then
22752 rm -f conf$$.dir/conf$$.file
22753 else
22754 rm -f conf$$.dir
22755 mkdir conf$$.dir 2>/dev/null
22757 if (echo >conf$$.file) 2>/dev/null; then
22758 if ln -s conf$$.file conf$$ 2>/dev/null; then
22759 as_ln_s='ln -s'
22760 # ... but there are two gotchas:
22761 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
22762 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
22763 # In both cases, we have to default to `cp -pR'.
22764 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
22765 as_ln_s='cp -pR'
22766 elif ln conf$$.file conf$$ 2>/dev/null; then
22767 as_ln_s=ln
22768 else
22769 as_ln_s='cp -pR'
22771 else
22772 as_ln_s='cp -pR'
22774 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
22775 rmdir conf$$.dir 2>/dev/null
22778 # as_fn_mkdir_p
22779 # -------------
22780 # Create "$as_dir" as a directory, including parents if necessary.
22781 as_fn_mkdir_p ()
22784 case $as_dir in #(
22785 -*) as_dir=./$as_dir;;
22786 esac
22787 test -d "$as_dir" || eval $as_mkdir_p || {
22788 as_dirs=
22789 while :; do
22790 case $as_dir in #(
22791 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
22792 *) as_qdir=$as_dir;;
22793 esac
22794 as_dirs="'$as_qdir' $as_dirs"
22795 as_dir=`$as_dirname -- "$as_dir" ||
22796 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22797 X"$as_dir" : 'X\(//\)[^/]' \| \
22798 X"$as_dir" : 'X\(//\)$' \| \
22799 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22800 printf "%s\n" X"$as_dir" |
22801 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22802 s//\1/
22805 /^X\(\/\/\)[^/].*/{
22806 s//\1/
22809 /^X\(\/\/\)$/{
22810 s//\1/
22813 /^X\(\/\).*/{
22814 s//\1/
22817 s/.*/./; q'`
22818 test -d "$as_dir" && break
22819 done
22820 test -z "$as_dirs" || eval "mkdir $as_dirs"
22821 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
22824 } # as_fn_mkdir_p
22825 if mkdir -p . 2>/dev/null; then
22826 as_mkdir_p='mkdir -p "$as_dir"'
22827 else
22828 test -d ./-p && rmdir ./-p
22829 as_mkdir_p=false
22833 # as_fn_executable_p FILE
22834 # -----------------------
22835 # Test if FILE is an executable regular file.
22836 as_fn_executable_p ()
22838 test -f "$1" && test -x "$1"
22839 } # as_fn_executable_p
22840 as_test_x='test -x'
22841 as_executable_p=as_fn_executable_p
22843 # Sed expression to map a string onto a valid CPP name.
22844 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
22846 # Sed expression to map a string onto a valid variable name.
22847 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
22850 exec 6>&1
22851 ## ----------------------------------- ##
22852 ## Main body of $CONFIG_STATUS script. ##
22853 ## ----------------------------------- ##
22854 _ASEOF
22855 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
22857 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22858 # Save the log message, to keep $0 and so on meaningful, and to
22859 # report actual input values of CONFIG_FILES etc. instead of their
22860 # values after options handling.
22861 ac_log="
22862 This file was extended by Wine $as_me 8.13, which was
22863 generated by GNU Autoconf 2.71. Invocation command line was
22865 CONFIG_FILES = $CONFIG_FILES
22866 CONFIG_HEADERS = $CONFIG_HEADERS
22867 CONFIG_LINKS = $CONFIG_LINKS
22868 CONFIG_COMMANDS = $CONFIG_COMMANDS
22869 $ $0 $@
22871 on `(hostname || uname -n) 2>/dev/null | sed 1q`
22874 _ACEOF
22877 case $ac_config_headers in *"
22878 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
22879 esac
22882 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22883 # Files that config.status was made for.
22884 config_headers="$ac_config_headers"
22885 config_links="$ac_config_links"
22886 config_commands="$ac_config_commands"
22888 _ACEOF
22890 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22891 ac_cs_usage="\
22892 \`$as_me' instantiates files and other configuration actions
22893 from templates according to the current configuration. Unless the files
22894 and actions are specified as TAGs, all are instantiated by default.
22896 Usage: $0 [OPTION]... [TAG]...
22898 -h, --help print this help, then exit
22899 -V, --version print version number and configuration settings, then exit
22900 --config print configuration, then exit
22901 -q, --quiet, --silent
22902 do not print progress messages
22903 -d, --debug don't remove temporary files
22904 --recheck update $as_me by reconfiguring in the same conditions
22905 --header=FILE[:TEMPLATE]
22906 instantiate the configuration header FILE
22908 Configuration headers:
22909 $config_headers
22911 Configuration links:
22912 $config_links
22914 Configuration commands:
22915 $config_commands
22917 Report bugs to <wine-devel@winehq.org>.
22918 Wine home page: <https://www.winehq.org>."
22920 _ACEOF
22921 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
22922 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
22923 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22924 ac_cs_config='$ac_cs_config_escaped'
22925 ac_cs_version="\\
22926 Wine config.status 8.13
22927 configured by $0, generated by GNU Autoconf 2.71,
22928 with options \\"\$ac_cs_config\\"
22930 Copyright (C) 2021 Free Software Foundation, Inc.
22931 This config.status script is free software; the Free Software Foundation
22932 gives unlimited permission to copy, distribute and modify it."
22934 ac_pwd='$ac_pwd'
22935 srcdir='$srcdir'
22936 test -n "\$AWK" || AWK=awk
22937 _ACEOF
22939 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22940 # The default lists apply if the user does not specify any file.
22941 ac_need_defaults=:
22942 while test $# != 0
22944 case $1 in
22945 --*=?*)
22946 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22947 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
22948 ac_shift=:
22950 --*=)
22951 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22952 ac_optarg=
22953 ac_shift=:
22956 ac_option=$1
22957 ac_optarg=$2
22958 ac_shift=shift
22960 esac
22962 case $ac_option in
22963 # Handling of the options.
22964 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
22965 ac_cs_recheck=: ;;
22966 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
22967 printf "%s\n" "$ac_cs_version"; exit ;;
22968 --config | --confi | --conf | --con | --co | --c )
22969 printf "%s\n" "$ac_cs_config"; exit ;;
22970 --debug | --debu | --deb | --de | --d | -d )
22971 debug=: ;;
22972 --header | --heade | --head | --hea )
22973 $ac_shift
22974 case $ac_optarg in
22975 *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
22976 esac
22977 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
22978 ac_need_defaults=false;;
22979 --he | --h)
22980 # Conflict between --help and --header
22981 as_fn_error $? "ambiguous option: \`$1'
22982 Try \`$0 --help' for more information.";;
22983 --help | --hel | -h )
22984 printf "%s\n" "$ac_cs_usage"; exit ;;
22985 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
22986 | -silent | --silent | --silen | --sile | --sil | --si | --s)
22987 ac_cs_silent=: ;;
22989 # This is an error.
22990 -*) as_fn_error $? "unrecognized option: \`$1'
22991 Try \`$0 --help' for more information." ;;
22993 *) as_fn_append ac_config_targets " $1"
22994 ac_need_defaults=false ;;
22996 esac
22997 shift
22998 done
23000 ac_configure_extra_args=
23002 if $ac_cs_silent; then
23003 exec 6>/dev/null
23004 ac_configure_extra_args="$ac_configure_extra_args --silent"
23007 _ACEOF
23008 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23009 if \$ac_cs_recheck; then
23010 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
23011 shift
23012 \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
23013 CONFIG_SHELL='$SHELL'
23014 export CONFIG_SHELL
23015 exec "\$@"
23018 _ACEOF
23019 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23020 exec 5>>config.log
23022 echo
23023 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
23024 ## Running $as_me. ##
23025 _ASBOX
23026 printf "%s\n" "$ac_log"
23027 } >&5
23029 _ACEOF
23030 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23032 # INIT-COMMANDS
23034 wine_fn_output_makedep ()
23036 as_dir=tools; as_fn_mkdir_p
23037 $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
23039 wine_fn_output_makefile ()
23041 cat <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && "$wine_makedep"$makedep_flags && return
23042 # This Makefile understands the following targets:
23044 # all (default): build wine
23045 # clean: remove all intermediate files
23046 # distclean: also remove all files created by configure
23047 # test: run tests
23048 # testclean: clean test results to force running all tests again
23049 # install-lib: install libraries needed to run applications
23050 # install-dev: install development environment
23051 # install: install everything
23052 # uninstall: uninstall everything
23053 # ctags: create a tags file for vim and others.
23054 # etags: create a TAGS file for Emacs.
23056 SHELL = $SHELL
23057 PATH_SEPARATOR = $PATH_SEPARATOR
23058 PACKAGE_NAME = $PACKAGE_NAME
23059 PACKAGE_TARNAME = $PACKAGE_TARNAME
23060 PACKAGE_VERSION = $PACKAGE_VERSION
23061 PACKAGE_STRING = $PACKAGE_STRING
23062 PACKAGE_BUGREPORT = $PACKAGE_BUGREPORT
23063 PACKAGE_URL = $PACKAGE_URL
23064 exec_prefix = $exec_prefix
23065 prefix = $prefix
23066 program_transform_name = $program_transform_name
23067 bindir = $bindir
23068 sbindir = $sbindir
23069 libexecdir = $libexecdir
23070 datarootdir = $datarootdir
23071 datadir = $datadir
23072 sysconfdir = $sysconfdir
23073 sharedstatedir = $sharedstatedir
23074 localstatedir = $localstatedir
23075 runstatedir = $runstatedir
23076 includedir = $includedir
23077 oldincludedir = $oldincludedir
23078 docdir = $docdir
23079 infodir = $infodir
23080 htmldir = $htmldir
23081 dvidir = $dvidir
23082 pdfdir = $pdfdir
23083 psdir = $psdir
23084 libdir = $libdir
23085 localedir = $localedir
23086 mandir = $mandir
23087 DEFS = $DEFS
23088 ECHO_C = $ECHO_C
23089 ECHO_N = $ECHO_N
23090 ECHO_T = $ECHO_T
23091 LIBS = $LIBS
23092 build_alias = $build_alias
23093 host_alias = $host_alias
23094 target_alias = $target_alias
23095 system_dllpath = $system_dllpath
23096 build = $build
23097 build_cpu = $build_cpu
23098 build_vendor = $build_vendor
23099 build_os = $build_os
23100 host = $host
23101 host_cpu = $host_cpu
23102 host_vendor = $host_vendor
23103 host_os = $host_os
23104 dlldir = $dlldir
23105 fontdir = $fontdir
23106 nlsdir = $nlsdir
23107 srcdir = $srcdir
23108 SET_MAKE = $SET_MAKE
23109 CC = $CC
23110 CFLAGS = $CFLAGS
23111 LDFLAGS = $LDFLAGS
23112 CPPFLAGS = $CPPFLAGS
23113 ac_ct_CC = $ac_ct_CC
23114 EXEEXT = $EXEEXT
23115 OBJEXT = $OBJEXT
23116 CXX = $CXX
23117 CXXFLAGS = $CXXFLAGS
23118 ac_ct_CXX = $ac_ct_CXX
23119 CPPBIN = $CPPBIN
23120 LD = $LD
23121 TARGETFLAGS = $TARGETFLAGS
23122 toolsext = $toolsext
23123 HOST_ARCH = $HOST_ARCH
23124 aarch64_CC = $aarch64_CC
23125 aarch64_CFLAGS = $aarch64_CFLAGS
23126 aarch64_EXTRACFLAGS = $aarch64_EXTRACFLAGS
23127 aarch64_LDFLAGS = $aarch64_LDFLAGS
23128 aarch64_DEBUG = $aarch64_DEBUG
23129 aarch64_TARGET = $aarch64_TARGET
23130 aarch64_DELAYLOADFLAG = $aarch64_DELAYLOADFLAG
23131 aarch64_DISABLED_SUBDIRS = $aarch64_DISABLED_SUBDIRS
23132 arm_CC = $arm_CC
23133 arm_CFLAGS = $arm_CFLAGS
23134 arm_EXTRACFLAGS = $arm_EXTRACFLAGS
23135 arm_LDFLAGS = $arm_LDFLAGS
23136 arm_DEBUG = $arm_DEBUG
23137 arm_TARGET = $arm_TARGET
23138 arm_DELAYLOADFLAG = $arm_DELAYLOADFLAG
23139 arm_DISABLED_SUBDIRS = $arm_DISABLED_SUBDIRS
23140 i386_CC = $i386_CC
23141 i386_CFLAGS = $i386_CFLAGS
23142 i386_EXTRACFLAGS = $i386_EXTRACFLAGS
23143 i386_LDFLAGS = $i386_LDFLAGS
23144 i386_DEBUG = $i386_DEBUG
23145 i386_TARGET = $i386_TARGET
23146 i386_DELAYLOADFLAG = $i386_DELAYLOADFLAG
23147 i386_DISABLED_SUBDIRS = $i386_DISABLED_SUBDIRS
23148 x86_64_CC = $x86_64_CC
23149 x86_64_CFLAGS = $x86_64_CFLAGS
23150 x86_64_EXTRACFLAGS = $x86_64_EXTRACFLAGS
23151 x86_64_LDFLAGS = $x86_64_LDFLAGS
23152 x86_64_DEBUG = $x86_64_DEBUG
23153 x86_64_TARGET = $x86_64_TARGET
23154 x86_64_DELAYLOADFLAG = $x86_64_DELAYLOADFLAG
23155 x86_64_DISABLED_SUBDIRS = $x86_64_DISABLED_SUBDIRS
23156 toolsdir = $toolsdir
23157 MAKEDEP = $MAKEDEP
23158 RUNTESTFLAGS = $RUNTESTFLAGS
23159 SED_CMD = $SED_CMD
23160 FLEX = $FLEX
23161 BISON = $BISON
23162 AR = $AR
23163 ac_ct_AR = $ac_ct_AR
23164 STRIP = $STRIP
23165 RANLIB = $RANLIB
23166 LN_S = $LN_S
23167 GREP = $GREP
23168 EGREP = $EGREP
23169 LDCONFIG = $LDCONFIG
23170 MSGFMT = $MSGFMT
23171 PKG_CONFIG = $PKG_CONFIG
23172 FONTFORGE = $FONTFORGE
23173 RSVG = $RSVG
23174 CONVERT = $CONVERT
23175 ICOTOOL = $ICOTOOL
23176 I386_LIBS = $I386_LIBS
23177 OPENGL_LIBS = $OPENGL_LIBS
23178 DLLFLAGS = $DLLFLAGS
23179 LDDLLFLAGS = $LDDLLFLAGS
23180 LDEXECFLAGS = $LDEXECFLAGS
23181 EXTRACFLAGS = $EXTRACFLAGS
23182 UNIXDLLFLAGS = $UNIXDLLFLAGS
23183 UNIXLDFLAGS = $UNIXLDFLAGS
23184 TOP_INSTALL_LIB = $TOP_INSTALL_LIB
23185 TOP_INSTALL_DEV = $TOP_INSTALL_DEV
23186 WINELOADER_LDFLAGS = $WINELOADER_LDFLAGS
23187 WINEPRELOADER_LDFLAGS = $WINEPRELOADER_LDFLAGS
23188 DLLEXT = $DLLEXT
23189 LDD = $LDD
23190 OTOOL = $OTOOL
23191 READELF = $READELF
23192 SUBDIRS = $SUBDIRS
23193 DISABLED_SUBDIRS = $DISABLED_SUBDIRS
23194 CONFIGURE_TARGETS = $CONFIGURE_TARGETS
23195 CARBON_LIBS = $CARBON_LIBS
23196 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
23197 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
23198 IOKIT_LIBS = $IOKIT_LIBS
23199 METAL_LIBS = $METAL_LIBS
23200 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
23201 CORESERVICES_LIBS = $CORESERVICES_LIBS
23202 APPKIT_LIBS = $APPKIT_LIBS
23203 SECURITY_LIBS = $SECURITY_LIBS
23204 SYSTEMCONFIGURATION_LIBS = $SYSTEMCONFIGURATION_LIBS
23205 COREAUDIO_LIBS = $COREAUDIO_LIBS
23206 OPENCL_LIBS = $OPENCL_LIBS
23207 OBJC = $OBJC
23208 OBJCFLAGS = $OBJCFLAGS
23209 ac_ct_OBJC = $ac_ct_OBJC
23210 WINELOADER_DEPENDS = $WINELOADER_DEPENDS
23211 PE_ARCHS = $PE_ARCHS
23212 MINGW_PKG_CONFIG = $MINGW_PKG_CONFIG
23213 FAUDIO_PE_CFLAGS = $FAUDIO_PE_CFLAGS
23214 FAUDIO_PE_LIBS = $FAUDIO_PE_LIBS
23215 GSM_PE_CFLAGS = $GSM_PE_CFLAGS
23216 GSM_PE_LIBS = $GSM_PE_LIBS
23217 JPEG_PE_CFLAGS = $JPEG_PE_CFLAGS
23218 JPEG_PE_LIBS = $JPEG_PE_LIBS
23219 JXR_PE_CFLAGS = $JXR_PE_CFLAGS
23220 JXR_PE_LIBS = $JXR_PE_LIBS
23221 LCMS2_PE_CFLAGS = $LCMS2_PE_CFLAGS
23222 LCMS2_PE_LIBS = $LCMS2_PE_LIBS
23223 LDAP_PE_CFLAGS = $LDAP_PE_CFLAGS
23224 LDAP_PE_LIBS = $LDAP_PE_LIBS
23225 MPG123_PE_CFLAGS = $MPG123_PE_CFLAGS
23226 MPG123_PE_LIBS = $MPG123_PE_LIBS
23227 MUSL_PE_CFLAGS = $MUSL_PE_CFLAGS
23228 MUSL_PE_LIBS = $MUSL_PE_LIBS
23229 PNG_PE_CFLAGS = $PNG_PE_CFLAGS
23230 PNG_PE_LIBS = $PNG_PE_LIBS
23231 TIFF_PE_CFLAGS = $TIFF_PE_CFLAGS
23232 TIFF_PE_LIBS = $TIFF_PE_LIBS
23233 VKD3D_PE_CFLAGS = $VKD3D_PE_CFLAGS
23234 VKD3D_PE_LIBS = $VKD3D_PE_LIBS
23235 XML2_PE_CFLAGS = $XML2_PE_CFLAGS
23236 XML2_PE_LIBS = $XML2_PE_LIBS
23237 XSLT_PE_CFLAGS = $XSLT_PE_CFLAGS
23238 XSLT_PE_LIBS = $XSLT_PE_LIBS
23239 ZLIB_PE_CFLAGS = $ZLIB_PE_CFLAGS
23240 ZLIB_PE_LIBS = $ZLIB_PE_LIBS
23241 ZYDIS_PE_CFLAGS = $ZYDIS_PE_CFLAGS
23242 ZYDIS_PE_LIBS = $ZYDIS_PE_LIBS
23243 PTHREAD_LIBS = $PTHREAD_LIBS
23244 XMKMF = $XMKMF
23245 CPP = $CPP
23246 X_CFLAGS = $X_CFLAGS
23247 X_PRE_LIBS = $X_PRE_LIBS
23248 X_LIBS = $X_LIBS
23249 X_EXTRA_LIBS = $X_EXTRA_LIBS
23250 WAYLAND_CLIENT_CFLAGS = $WAYLAND_CLIENT_CFLAGS
23251 WAYLAND_CLIENT_LIBS = $WAYLAND_CLIENT_LIBS
23252 WAYLAND_SCANNER = $WAYLAND_SCANNER
23253 PCAP_LIBS = $PCAP_LIBS
23254 PCSCLITE_LIBS = $PCSCLITE_LIBS
23255 INOTIFY_CFLAGS = $INOTIFY_CFLAGS
23256 INOTIFY_LIBS = $INOTIFY_LIBS
23257 DBUS_CFLAGS = $DBUS_CFLAGS
23258 DBUS_LIBS = $DBUS_LIBS
23259 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
23260 GNUTLS_LIBS = $GNUTLS_LIBS
23261 SANE_CFLAGS = $SANE_CFLAGS
23262 SANE_LIBS = $SANE_LIBS
23263 USB_CFLAGS = $USB_CFLAGS
23264 USB_LIBS = $USB_LIBS
23265 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
23266 GPHOTO2_LIBS = $GPHOTO2_LIBS
23267 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
23268 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
23269 RESOLV_LIBS = $RESOLV_LIBS
23270 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
23271 FREETYPE_LIBS = $FREETYPE_LIBS
23272 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
23273 PULSE_CFLAGS = $PULSE_CFLAGS
23274 PULSE_LIBS = $PULSE_LIBS
23275 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
23276 GSTREAMER_LIBS = $GSTREAMER_LIBS
23277 ALSA_LIBS = $ALSA_LIBS
23278 OSS4_CFLAGS = $OSS4_CFLAGS
23279 OSS4_LIBS = $OSS4_LIBS
23280 UDEV_CFLAGS = $UDEV_CFLAGS
23281 UDEV_LIBS = $UDEV_LIBS
23282 UNWIND_CFLAGS = $UNWIND_CFLAGS
23283 UNWIND_LIBS = $UNWIND_LIBS
23284 SDL2_CFLAGS = $SDL2_CFLAGS
23285 SDL2_LIBS = $SDL2_LIBS
23286 CAPI20_CFLAGS = $CAPI20_CFLAGS
23287 CAPI20_LIBS = $CAPI20_LIBS
23288 CUPS_CFLAGS = $CUPS_CFLAGS
23289 CUPS_LIBS = $CUPS_LIBS
23290 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
23291 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
23292 KRB5_CFLAGS = $KRB5_CFLAGS
23293 KRB5_LIBS = $KRB5_LIBS
23294 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
23295 GSSAPI_LIBS = $GSSAPI_LIBS
23296 PROCSTAT_LIBS = $PROCSTAT_LIBS
23297 NETAPI_CFLAGS = $NETAPI_CFLAGS
23298 NETAPI_LIBS = $NETAPI_LIBS
23299 MSVCRTFLAGS = $MSVCRTFLAGS
23300 DELAYLOADFLAG = $DELAYLOADFLAG
23301 WINELOADER_PROGRAMS = $WINELOADER_PROGRAMS
23302 RT_LIBS = $RT_LIBS
23303 TAGSFLAGS = $TAGSFLAGS
23304 LIBOBJS = $LIBOBJS
23305 LTLIBOBJS = $LTLIBOBJS
23306 $SET_MAKE
23307 $wine_rules
23308 _WINE_EOF
23309 as_fn_error $? "could not create Makefile" "$LINENO" 5
23312 _ACEOF
23314 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23316 # Handling of arguments.
23317 for ac_config_target in $ac_config_targets
23319 case $ac_config_target in
23320 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
23321 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
23322 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
23323 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
23324 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
23325 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
23327 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
23328 esac
23329 done
23332 # If the user did not use the arguments to specify the items to instantiate,
23333 # then the envvar interface is used. Set only those that are not.
23334 # We use the long form for the default assignment because of an extremely
23335 # bizarre bug on SunOS 4.1.3.
23336 if $ac_need_defaults; then
23337 test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
23338 test ${CONFIG_LINKS+y} || CONFIG_LINKS=$config_links
23339 test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
23342 # Have a temporary directory for convenience. Make it in the build tree
23343 # simply because there is no reason against having it here, and in addition,
23344 # creating and moving files from /tmp can sometimes cause problems.
23345 # Hook for its removal unless debugging.
23346 # Note that there is a small window in which the directory will not be cleaned:
23347 # after its creation but before its name has been assigned to `$tmp'.
23348 $debug ||
23350 tmp= ac_tmp=
23351 trap 'exit_status=$?
23352 : "${ac_tmp:=$tmp}"
23353 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
23355 trap 'as_fn_exit 1' 1 2 13 15
23357 # Create a (secure) tmp directory for tmp files.
23360 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
23361 test -d "$tmp"
23362 } ||
23364 tmp=./conf$$-$RANDOM
23365 (umask 077 && mkdir "$tmp")
23366 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
23367 ac_tmp=$tmp
23369 # Set up the scripts for CONFIG_HEADERS section.
23370 # No need to generate them if there are no CONFIG_HEADERS.
23371 # This happens for instance with `./config.status Makefile'.
23372 if test -n "$CONFIG_HEADERS"; then
23373 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
23374 BEGIN {
23375 _ACEOF
23377 # Transform confdefs.h into an awk script `defines.awk', embedded as
23378 # here-document in config.status, that substitutes the proper values into
23379 # config.h.in to produce config.h.
23381 # Create a delimiter string that does not exist in confdefs.h, to ease
23382 # handling of long lines.
23383 ac_delim='%!_!# '
23384 for ac_last_try in false false :; do
23385 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
23386 if test -z "$ac_tt"; then
23387 break
23388 elif $ac_last_try; then
23389 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
23390 else
23391 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
23393 done
23395 # For the awk script, D is an array of macro values keyed by name,
23396 # likewise P contains macro parameters if any. Preserve backslash
23397 # newline sequences.
23399 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
23400 sed -n '
23401 s/.\{148\}/&'"$ac_delim"'/g
23402 t rset
23403 :rset
23404 s/^[ ]*#[ ]*define[ ][ ]*/ /
23405 t def
23407 :def
23408 s/\\$//
23409 t bsnl
23410 s/["\\]/\\&/g
23411 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
23412 D["\1"]=" \3"/p
23413 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
23415 :bsnl
23416 s/["\\]/\\&/g
23417 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
23418 D["\1"]=" \3\\\\\\n"\\/p
23419 t cont
23420 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
23421 t cont
23423 :cont
23425 s/.\{148\}/&'"$ac_delim"'/g
23426 t clear
23427 :clear
23428 s/\\$//
23429 t bsnlc
23430 s/["\\]/\\&/g; s/^/"/; s/$/"/p
23432 :bsnlc
23433 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
23434 b cont
23435 ' <confdefs.h | sed '
23436 s/'"$ac_delim"'/"\\\
23437 "/g' >>$CONFIG_STATUS || ac_write_fail=1
23439 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23440 for (key in D) D_is_set[key] = 1
23441 FS = "\a"
23443 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
23444 line = \$ 0
23445 split(line, arg, " ")
23446 if (arg[1] == "#") {
23447 defundef = arg[2]
23448 mac1 = arg[3]
23449 } else {
23450 defundef = substr(arg[1], 2)
23451 mac1 = arg[2]
23453 split(mac1, mac2, "(") #)
23454 macro = mac2[1]
23455 prefix = substr(line, 1, index(line, defundef) - 1)
23456 if (D_is_set[macro]) {
23457 # Preserve the white space surrounding the "#".
23458 print prefix "define", macro P[macro] D[macro]
23459 next
23460 } else {
23461 # Replace #undef with comments. This is necessary, for example,
23462 # in the case of _POSIX_SOURCE, which is predefined and required
23463 # on some systems where configure will not decide to define it.
23464 if (defundef == "undef") {
23465 print "/*", prefix defundef, macro, "*/"
23466 next
23470 { print }
23471 _ACAWK
23472 _ACEOF
23473 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23474 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
23475 fi # test -n "$CONFIG_HEADERS"
23478 eval set X " :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
23479 shift
23480 for ac_tag
23482 case $ac_tag in
23483 :[FHLC]) ac_mode=$ac_tag; continue;;
23484 esac
23485 case $ac_mode$ac_tag in
23486 :[FHL]*:*);;
23487 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
23488 :[FH]-) ac_tag=-:-;;
23489 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
23490 esac
23491 ac_save_IFS=$IFS
23492 IFS=:
23493 set x $ac_tag
23494 IFS=$ac_save_IFS
23495 shift
23496 ac_file=$1
23497 shift
23499 case $ac_mode in
23500 :L) ac_source=$1;;
23501 :[FH])
23502 ac_file_inputs=
23503 for ac_f
23505 case $ac_f in
23506 -) ac_f="$ac_tmp/stdin";;
23507 *) # Look for the file first in the build tree, then in the source tree
23508 # (if the path is not absolute). The absolute path cannot be DOS-style,
23509 # because $ac_f cannot contain `:'.
23510 test -f "$ac_f" ||
23511 case $ac_f in
23512 [\\/$]*) false;;
23513 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
23514 esac ||
23515 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
23516 esac
23517 case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
23518 as_fn_append ac_file_inputs " '$ac_f'"
23519 done
23521 # Let's still pretend it is `configure' which instantiates (i.e., don't
23522 # use $as_me), people would be surprised to read:
23523 # /* config.h. Generated by config.status. */
23524 configure_input='Generated from '`
23525 printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
23526 `' by configure.'
23527 if test x"$ac_file" != x-; then
23528 configure_input="$ac_file. $configure_input"
23529 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
23530 printf "%s\n" "$as_me: creating $ac_file" >&6;}
23532 # Neutralize special characters interpreted by sed in replacement strings.
23533 case $configure_input in #(
23534 *\&* | *\|* | *\\* )
23535 ac_sed_conf_input=`printf "%s\n" "$configure_input" |
23536 sed 's/[\\\\&|]/\\\\&/g'`;; #(
23537 *) ac_sed_conf_input=$configure_input;;
23538 esac
23540 case $ac_tag in
23541 *:-:* | *:-) cat >"$ac_tmp/stdin" \
23542 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
23543 esac
23545 esac
23547 ac_dir=`$as_dirname -- "$ac_file" ||
23548 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23549 X"$ac_file" : 'X\(//\)[^/]' \| \
23550 X"$ac_file" : 'X\(//\)$' \| \
23551 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
23552 printf "%s\n" X"$ac_file" |
23553 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23554 s//\1/
23557 /^X\(\/\/\)[^/].*/{
23558 s//\1/
23561 /^X\(\/\/\)$/{
23562 s//\1/
23565 /^X\(\/\).*/{
23566 s//\1/
23569 s/.*/./; q'`
23570 as_dir="$ac_dir"; as_fn_mkdir_p
23571 ac_builddir=.
23573 case "$ac_dir" in
23574 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
23576 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
23577 # A ".." for each directory in $ac_dir_suffix.
23578 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
23579 case $ac_top_builddir_sub in
23580 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
23581 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
23582 esac ;;
23583 esac
23584 ac_abs_top_builddir=$ac_pwd
23585 ac_abs_builddir=$ac_pwd$ac_dir_suffix
23586 # for backward compatibility:
23587 ac_top_builddir=$ac_top_build_prefix
23589 case $srcdir in
23590 .) # We are building in place.
23591 ac_srcdir=.
23592 ac_top_srcdir=$ac_top_builddir_sub
23593 ac_abs_top_srcdir=$ac_pwd ;;
23594 [\\/]* | ?:[\\/]* ) # Absolute name.
23595 ac_srcdir=$srcdir$ac_dir_suffix;
23596 ac_top_srcdir=$srcdir
23597 ac_abs_top_srcdir=$srcdir ;;
23598 *) # Relative name.
23599 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
23600 ac_top_srcdir=$ac_top_build_prefix$srcdir
23601 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
23602 esac
23603 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
23606 case $ac_mode in
23610 # CONFIG_HEADER
23612 if test x"$ac_file" != x-; then
23614 printf "%s\n" "/* $configure_input */" >&1 \
23615 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
23616 } >"$ac_tmp/config.h" \
23617 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
23618 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
23619 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
23620 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
23621 else
23622 rm -f "$ac_file"
23623 mv "$ac_tmp/config.h" "$ac_file" \
23624 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
23626 else
23627 printf "%s\n" "/* $configure_input */" >&1 \
23628 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
23629 || as_fn_error $? "could not create -" "$LINENO" 5
23634 # CONFIG_LINK
23637 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
23639 else
23640 # Prefer the file from the source tree if names are identical.
23641 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
23642 ac_source=$srcdir/$ac_source
23645 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
23646 printf "%s\n" "$as_me: linking $ac_source to $ac_file" >&6;}
23648 if test ! -r "$ac_source"; then
23649 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
23651 rm -f "$ac_file"
23653 # Try a relative symlink, then a hard link, then a copy.
23654 case $ac_source in
23655 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
23656 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
23657 esac
23658 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
23659 ln "$ac_source" "$ac_file" 2>/dev/null ||
23660 cp -p "$ac_source" "$ac_file" ||
23661 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
23664 :C) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
23665 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
23667 esac
23670 case $ac_file$ac_mode in
23671 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
23672 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
23673 "Makefile":C) wine_fn_output_makefile Makefile ;;
23675 esac
23676 done # for ac_tag
23679 as_fn_exit 0
23680 _ACEOF
23681 ac_clean_files=$ac_clean_files_save
23683 test $ac_write_fail = 0 ||
23684 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
23687 # configure is writing to config.log, and then calls config.status.
23688 # config.status does its own redirection, appending to config.log.
23689 # Unfortunately, on DOS this fails, as config.log is still kept open
23690 # by configure, so config.status won't be able to write to it; its
23691 # output is simply discarded. So we exec the FD to /dev/null,
23692 # effectively closing config.log, so it can be properly (re)opened and
23693 # appended to by config.status. When coming back to configure, we
23694 # need to make the FD available again.
23695 if test "$no_create" != yes; then
23696 ac_cs_success=:
23697 ac_config_status_args=
23698 test "$silent" = yes &&
23699 ac_config_status_args="$ac_config_status_args --quiet"
23700 exec 5>/dev/null
23701 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
23702 exec 5>>config.log
23703 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
23704 # would make configure fail if this is the last instruction.
23705 $ac_cs_success || as_fn_exit 1
23707 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
23708 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
23709 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
23713 if test "$no_create" = "yes"
23714 then
23715 exit 0
23718 ac_save_IFS="$IFS"
23719 if test "x$wine_notices" != x; then
23720 echo >&6
23721 IFS="|"
23722 for msg in $wine_notices; do
23723 IFS="$ac_save_IFS"
23724 if ${msg:+false} :
23725 then :
23727 else $as_nop
23728 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $msg" >&5
23729 printf "%s\n" "$as_me: $msg" >&6;}
23731 done
23733 IFS="|"
23734 for msg in $wine_warnings; do
23735 IFS="$ac_save_IFS"
23736 if ${msg:+false} :
23737 then :
23739 else $as_nop
23740 echo >&2
23741 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
23742 printf "%s\n" "$as_me: WARNING: $msg" >&2;}
23744 done
23745 IFS="$ac_save_IFS"
23747 printf "%s\n" "
23748 $as_me: Finished. Do '${ac_make}' to compile Wine.
23749 " >&6